vue-context-storage 0.1.11 → 0.1.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +13 -13
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue4 from "vue";
|
|
2
2
|
import { InjectionKey, MaybeRefOrGetter, Plugin, PropType, UnwrapNestedRefs, WatchHandle } from "vue";
|
|
3
3
|
import { LocationQuery, LocationQueryValue } from "vue-router";
|
|
4
4
|
|
|
5
5
|
//#region src/components/ContextStorageActivator.vue.d.ts
|
|
6
6
|
declare const _default$1: typeof __VLS_export$3;
|
|
7
|
-
declare const __VLS_export$3:
|
|
7
|
+
declare const __VLS_export$3: vue4.DefineComponent<{}, () => vue4.VNode<vue4.RendererNode, vue4.RendererElement, {
|
|
8
8
|
[key: string]: any;
|
|
9
|
-
}>, {}, {}, {},
|
|
9
|
+
}>, {}, {}, {}, vue4.ComponentOptionsMixin, vue4.ComponentOptionsMixin, {}, string, vue4.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue4.ComponentProvideOptions, true, {}, any>;
|
|
10
10
|
//#endregion
|
|
11
11
|
//#region src/handlers.d.ts
|
|
12
12
|
interface ContextStorageHandlerConstructor {
|
|
@@ -26,47 +26,47 @@ interface ContextStorageHandler {
|
|
|
26
26
|
//#endregion
|
|
27
27
|
//#region src/components/ContextStorageCollection.vue.d.ts
|
|
28
28
|
declare const _default$2: typeof __VLS_export$2;
|
|
29
|
-
declare const __VLS_export$2:
|
|
29
|
+
declare const __VLS_export$2: vue4.DefineComponent<vue4.ExtractPropTypes<{
|
|
30
30
|
handlers: {
|
|
31
31
|
type: PropType<ContextStorageHandlerConstructor[]>;
|
|
32
32
|
default: () => ContextStorageHandlerConstructor[];
|
|
33
33
|
};
|
|
34
|
-
}>, () =>
|
|
34
|
+
}>, () => vue4.VNode<vue4.RendererNode, vue4.RendererElement, {
|
|
35
35
|
[key: string]: any;
|
|
36
|
-
}>[] | undefined, {}, {}, {},
|
|
36
|
+
}>[] | undefined, {}, {}, {}, vue4.ComponentOptionsMixin, vue4.ComponentOptionsMixin, {}, string, vue4.PublicProps, Readonly<vue4.ExtractPropTypes<{
|
|
37
37
|
handlers: {
|
|
38
38
|
type: PropType<ContextStorageHandlerConstructor[]>;
|
|
39
39
|
default: () => ContextStorageHandlerConstructor[];
|
|
40
40
|
};
|
|
41
41
|
}>> & Readonly<{}>, {
|
|
42
42
|
handlers: ContextStorageHandlerConstructor[];
|
|
43
|
-
}, {}, {}, {}, string,
|
|
43
|
+
}, {}, {}, {}, string, vue4.ComponentProvideOptions, true, {}, any>;
|
|
44
44
|
//#endregion
|
|
45
45
|
//#region src/components/ContextStorageProvider.vue.d.ts
|
|
46
46
|
declare const _default$3: typeof __VLS_export$1;
|
|
47
|
-
declare const __VLS_export$1:
|
|
47
|
+
declare const __VLS_export$1: vue4.DefineComponent<vue4.ExtractPropTypes<{
|
|
48
48
|
itemKey: {
|
|
49
49
|
type: StringConstructor;
|
|
50
50
|
required: true;
|
|
51
51
|
};
|
|
52
|
-
}>, () =>
|
|
52
|
+
}>, () => vue4.VNode<vue4.RendererNode, vue4.RendererElement, {
|
|
53
53
|
[key: string]: any;
|
|
54
|
-
}>[] | undefined, {}, {}, {},
|
|
54
|
+
}>[] | undefined, {}, {}, {}, vue4.ComponentOptionsMixin, vue4.ComponentOptionsMixin, {}, string, vue4.PublicProps, Readonly<vue4.ExtractPropTypes<{
|
|
55
55
|
itemKey: {
|
|
56
56
|
type: StringConstructor;
|
|
57
57
|
required: true;
|
|
58
58
|
};
|
|
59
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string,
|
|
59
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, vue4.ComponentProvideOptions, true, {}, any>;
|
|
60
60
|
//#endregion
|
|
61
61
|
//#region src/components/ContextStorage.vue.d.ts
|
|
62
62
|
interface Props {
|
|
63
|
-
handlers
|
|
63
|
+
handlers?: ContextStorageHandlerConstructor[];
|
|
64
64
|
}
|
|
65
65
|
declare var __VLS_20: {};
|
|
66
66
|
type __VLS_Slots = {} & {
|
|
67
67
|
default?: (props: typeof __VLS_20) => any;
|
|
68
68
|
};
|
|
69
|
-
declare const __VLS_base:
|
|
69
|
+
declare const __VLS_base: vue4.DefineComponent<Props, {}, {}, {}, {}, vue4.ComponentOptionsMixin, vue4.ComponentOptionsMixin, {}, string, vue4.PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, vue4.ComponentProvideOptions, false, {}, any>;
|
|
70
70
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
71
71
|
declare const _default: typeof __VLS_export;
|
|
72
72
|
type __VLS_WithSlots<T, S> = T & {
|
package/dist/index.js
CHANGED
|
@@ -450,7 +450,7 @@ var ContextStorage_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */
|
|
|
450
450
|
__name: "ContextStorage",
|
|
451
451
|
props: { handlers: {
|
|
452
452
|
type: Array,
|
|
453
|
-
required:
|
|
453
|
+
required: false,
|
|
454
454
|
default: () => defaultHandlers
|
|
455
455
|
} },
|
|
456
456
|
setup(__props) {
|