• Returns a store, creates it if necessary.

    Parameters

    • Optionalpinia: null | Pinia

      Pinia instance to retrieve the store

    • Optionalhot: StoreGeneric

      dev only hot module replacement

    Returns Store<"wizard", _UnwrapAll<Pick<{
        currStep: Ref<WizardStep, WizardStep>;
        fileData: Ref<null | {
            [toStringTag]: string;
            byteLength: number;
            slice(begin: number, end?: number): ArrayBuffer;
        }, null | ArrayBuffer | {
            [toStringTag]: string;
            byteLength: number;
            slice(begin: number, end?: number): ArrayBuffer;
        }>;
        goToStep: ((step: WizardStep) => void);
        layerInfo: Ref<{
            config: {
                id: string;
                layerType: LayerType;
                url: string;
            };
            configOptions: string[];
        }, {
            config: {
                id: string;
                layerType: LayerType;
                url: string;
            };
            configOptions: string[];
        } | {
            config: {
                id: string;
                layerType: LayerType;
                url: string;
            };
            configOptions: string[];
        }>;
        layerSource: Ref<undefined | LayerSource, undefined | LayerSource>;
        nested: Ref<boolean, boolean>;
        typeSelection: Ref<string, string>;
        url: Ref<string, string>;
    },
        | "url"
        | "layerSource"
        | "typeSelection"
        | "nested"
        | "fileData"
        | "layerInfo"
        | "currStep">>, Pick<{
        currStep: Ref<WizardStep, WizardStep>;
        fileData: Ref<null | {
            [toStringTag]: string;
            byteLength: number;
            slice(begin: number, end?: number): ArrayBuffer;
        }, null | ArrayBuffer | {
            [toStringTag]: string;
            byteLength: number;
            slice(begin: number, end?: number): ArrayBuffer;
        }>;
        goToStep: ((step: WizardStep) => void);
        layerInfo: Ref<{
            config: {
                id: string;
                layerType: LayerType;
                url: string;
            };
            configOptions: string[];
        }, {
            config: {
                id: string;
                layerType: LayerType;
                url: string;
            };
            configOptions: string[];
        } | {
            config: {
                id: string;
                layerType: LayerType;
                url: string;
            };
            configOptions: string[];
        }>;
        layerSource: Ref<undefined | LayerSource, undefined | LayerSource>;
        nested: Ref<boolean, boolean>;
        typeSelection: Ref<string, string>;
        url: Ref<string, string>;
    }, never>, Pick<{
        currStep: Ref<WizardStep, WizardStep>;
        fileData: Ref<null | {
            [toStringTag]: string;
            byteLength: number;
            slice(begin: number, end?: number): ArrayBuffer;
        }, null | ArrayBuffer | {
            [toStringTag]: string;
            byteLength: number;
            slice(begin: number, end?: number): ArrayBuffer;
        }>;
        goToStep: ((step: WizardStep) => void);
        layerInfo: Ref<{
            config: {
                id: string;
                layerType: LayerType;
                url: string;
            };
            configOptions: string[];
        }, {
            config: {
                id: string;
                layerType: LayerType;
                url: string;
            };
            configOptions: string[];
        } | {
            config: {
                id: string;
                layerType: LayerType;
                url: string;
            };
            configOptions: string[];
        }>;
        layerSource: Ref<undefined | LayerSource, undefined | LayerSource>;
        nested: Ref<boolean, boolean>;
        typeSelection: Ref<string, string>;
        url: Ref<string, string>;
    }, "goToStep">>

Properties

Properties

$id: "wizard"

Id of the store. Used by map helpers.