@nubisco/ui 1.14.0 → 1.15.1

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.
@@ -1 +1 @@
1
- {"version":3,"file":"Menu.vue.d.ts","sourceRoot":"","sources":["../../src/components/Menu.vue"],"names":[],"mappings":"AAyPA,OAAO,KAAK,EAAE,UAAU,EAAgB,MAAM,UAAU,CAAA;AA+BxD,iBAAS,WAAW,CAAC,IAAI,EAAE;IACzB,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,MAAM,CAAA;CACd,QAGA;AAED,iBAAS,aAAa,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,QAG1C;AAED,iBAAS,KAAK,SAGb;AAmMD,QAAA,IAAI,QAAQ,IAAY,CAAE;AAC1B,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAOhD,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;6EAKd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"Menu.vue.d.ts","sourceRoot":"","sources":["../../src/components/Menu.vue"],"names":[],"mappings":"AA4PA,OAAO,KAAK,EAAE,UAAU,EAAgB,MAAM,UAAU,CAAA;AA+BxD,iBAAS,WAAW,CAAC,IAAI,EAAE;IACzB,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,MAAM,CAAA;CACd,QAGA;AAED,iBAAS,aAAa,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,QAG1C;AAED,iBAAS,KAAK,SAGb;AAsMD,QAAA,IAAI,QAAQ,IAAY,CAAE;AAC1B,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAOhD,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;6EAKd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -0,0 +1,41 @@
1
+ import type { ITreeProps, ITreeDropEvent } from './Tree.d';
2
+ /**
3
+ * Expand a set of node IDs programmatically.
4
+ */
5
+ declare function expandIds(ids: string[]): void;
6
+ /**
7
+ * Collapse all expanded nodes.
8
+ */
9
+ declare function collapseAll(): void;
10
+ declare var __VLS_1: {};
11
+ type __VLS_Slots = {} & {
12
+ default?: (props: typeof __VLS_1) => any;
13
+ };
14
+ declare const __VLS_base: import("vue").DefineComponent<ITreeProps, {
15
+ expandIds: typeof expandIds;
16
+ collapseAll: typeof collapseAll;
17
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
18
+ select: (id: string) => any;
19
+ drop: (event: ITreeDropEvent) => any;
20
+ toggle: (id: string, expanded: boolean) => any;
21
+ "update:modelValue": (id: string) => any;
22
+ }, string, import("vue").PublicProps, Readonly<ITreeProps> & Readonly<{
23
+ onSelect?: ((id: string) => any) | undefined;
24
+ onDrop?: ((event: ITreeDropEvent) => any) | undefined;
25
+ onToggle?: ((id: string, expanded: boolean) => any) | undefined;
26
+ "onUpdate:modelValue"?: ((id: string) => any) | undefined;
27
+ }>, {
28
+ size: "sm" | "md";
29
+ modelValue: string | null;
30
+ compact: boolean;
31
+ draggable: boolean;
32
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
33
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
34
+ declare const _default: typeof __VLS_export;
35
+ export default _default;
36
+ type __VLS_WithSlots<T, S> = T & {
37
+ new (): {
38
+ $slots: S;
39
+ };
40
+ };
41
+ //# sourceMappingURL=Tree.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Tree.vue.d.ts","sourceRoot":"","sources":["../../src/components/Tree.vue"],"names":[],"mappings":"AAoNA,OAAO,KAAK,EACV,UAAU,EAGV,cAAc,EAEf,MAAM,UAAU,CAAA;AA0FjB;;GAEG;AACH,iBAAS,SAAS,CAAC,GAAG,EAAE,MAAM,EAAE,QAE/B;AAED;;GAEG;AACH,iBAAS,WAAW,SAEnB;AA2GD,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAO/C,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;6EAKd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -0,0 +1,5 @@
1
+ import type { InjectionKey } from 'vue';
2
+ import type { ITreeContext } from './Tree.d';
3
+ export declare const NB_TREE_KEY: InjectionKey<ITreeContext>;
4
+ export declare const NB_TREE_DEPTH_KEY: InjectionKey<number>;
5
+ //# sourceMappingURL=TreeContext.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TreeContext.d.ts","sourceRoot":"","sources":["../../src/components/TreeContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,KAAK,CAAA;AACvC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AAE5C,eAAO,MAAM,WAAW,EAAwB,YAAY,CAAC,YAAY,CAAC,CAAA;AAC1E,eAAO,MAAM,iBAAiB,EAA8B,YAAY,CAAC,MAAM,CAAC,CAAA"}
@@ -0,0 +1,34 @@
1
+ import type { ITreeNodeProps } from './Tree.d';
2
+ declare var __VLS_11: {}, __VLS_13: {}, __VLS_15: {};
3
+ type __VLS_Slots = {} & {
4
+ label?: (props: typeof __VLS_11) => any;
5
+ } & {
6
+ actions?: (props: typeof __VLS_13) => any;
7
+ } & {
8
+ default?: (props: typeof __VLS_15) => any;
9
+ };
10
+ declare const __VLS_base: import("vue").DefineComponent<ITreeNodeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
+ select: (id: string) => any;
12
+ contextmenu: (e: MouseEvent, id: string) => any;
13
+ dblclick: (id: string) => any;
14
+ toggle: (id: string, expanded: boolean) => any;
15
+ }, string, import("vue").PublicProps, Readonly<ITreeNodeProps> & Readonly<{
16
+ onSelect?: ((id: string) => any) | undefined;
17
+ onContextmenu?: ((e: MouseEvent, id: string) => any) | undefined;
18
+ onDblclick?: ((id: string) => any) | undefined;
19
+ onToggle?: ((id: string, expanded: boolean) => any) | undefined;
20
+ }>, {
21
+ disabled: boolean;
22
+ icon: string;
23
+ draggable: boolean | null;
24
+ depth: number | null;
25
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
26
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
27
+ declare const _default: typeof __VLS_export;
28
+ export default _default;
29
+ type __VLS_WithSlots<T, S> = T & {
30
+ new (): {
31
+ $slots: S;
32
+ };
33
+ };
34
+ //# sourceMappingURL=TreeNode.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TreeNode.vue.d.ts","sourceRoot":"","sources":["../../src/components/TreeNode.vue"],"names":[],"mappings":"AA+bA,OAAO,KAAK,EAAE,cAAc,EAAmC,MAAM,UAAU,CAAA;AAkU/E,QAAA,IAAI,QAAQ,IAAW,EAAE,QAAQ,IAAW,EAAE,QAAQ,IAAY,CAAE;AACpE,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC3C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC7C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAKhD,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;6EAId,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;;iBAsFf,GAAG;;AADlB,wBAMC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;;iBA0Ff,GAAG;;AADlB,wBAMC"}