orion-design 0.1.15 → 0.1.16

Sign up to get free protection for your applications and to get access to all the features.
Files changed (105) hide show
  1. package/README.md +5 -5
  2. package/dist/components/Form/FileInput/FileInput.vue.d.ts +2 -2
  3. package/dist/components/Form/LovInput/LovInput.d.ts +2 -0
  4. package/dist/components/Form/LovInput/LovInput.js.map +1 -1
  5. package/dist/components/Form/index.js +291 -283
  6. package/dist/components/Form/index.js.map +1 -1
  7. package/dist/components/LovTable/LovPagetable.vue.d.ts +16 -0
  8. package/dist/components/LovTable/LovQuerytable.vue.d.ts +16 -0
  9. package/dist/components/LovTable/index.d.ts +34 -2
  10. package/dist/components/LovTable/index.js +34 -44
  11. package/dist/components/LovTable/index.js.map +1 -1
  12. package/dist/components/Tabs/constants.d.ts +19 -0
  13. package/dist/components/Tabs/constants.js +5 -0
  14. package/dist/components/Tabs/constants.js.map +1 -0
  15. package/dist/components/Tabs/index.d.ts +74 -0
  16. package/dist/components/Tabs/index.js +367 -0
  17. package/dist/components/Tabs/index.js.map +1 -0
  18. package/dist/components/Tabs/tab-bar.d.ts +59 -0
  19. package/dist/components/Tabs/tab-bar.js +15 -0
  20. package/dist/components/Tabs/tab-bar.js.map +1 -0
  21. package/dist/components/Tabs/tab-bar.vue.d.ts +131 -0
  22. package/dist/components/Tabs/tab-nav.d.ts +237 -0
  23. package/dist/components/Tabs/tab-pane.d.ts +16 -0
  24. package/dist/components/Tabs/tab-pane.js +35 -0
  25. package/dist/components/Tabs/tab-pane.js.map +1 -0
  26. package/dist/components/Tabs/tab-pane.vue.d.ts +43 -0
  27. package/dist/components/Tabs/tabs.d.ts +101 -0
  28. package/dist/components/_constants/aria.d.ts +17 -0
  29. package/dist/components/_constants/aria.js +25 -0
  30. package/dist/components/_constants/aria.js.map +1 -0
  31. package/dist/components/_constants/event.d.ts +3 -0
  32. package/dist/components/_constants/event.js +7 -0
  33. package/dist/components/_constants/event.js.map +1 -0
  34. package/dist/components/_constants/index.d.ts +2 -0
  35. package/dist/components/_constants/index.js +9 -0
  36. package/dist/components/_constants/index.js.map +1 -0
  37. package/dist/components/_hooks/index.d.ts +2 -0
  38. package/dist/components/_hooks/index.js +10 -0
  39. package/dist/components/_hooks/index.js.map +1 -0
  40. package/dist/components/_hooks/use-namespace/index.d.ts +23 -0
  41. package/dist/components/_hooks/use-namespace/index.js +46 -0
  42. package/dist/components/_hooks/use-namespace/index.js.map +1 -0
  43. package/dist/components/_hooks/use-ordered-children/index.d.ts +8 -0
  44. package/dist/components/_hooks/use-ordered-children/index.js +27 -0
  45. package/dist/components/_hooks/use-ordered-children/index.js.map +1 -0
  46. package/dist/components/_util/arrays.js.map +1 -1
  47. package/dist/components/_util/browser.js +2 -2
  48. package/dist/components/_util/browser.js.map +1 -1
  49. package/dist/components/_util/dom/aria.js.map +1 -1
  50. package/dist/components/_util/dom/element.js +1 -1
  51. package/dist/components/_util/dom/element.js.map +1 -1
  52. package/dist/components/_util/dom/event.js.map +1 -1
  53. package/dist/components/_util/dom/position.js +1 -1
  54. package/dist/components/_util/dom/position.js.map +1 -1
  55. package/dist/components/_util/dom/scroll.js +1 -1
  56. package/dist/components/_util/dom/scroll.js.map +1 -1
  57. package/dist/components/_util/dom/style.js +1 -1
  58. package/dist/components/_util/dom/style.js.map +1 -1
  59. package/dist/components/_util/easings.js.map +1 -1
  60. package/dist/components/_util/error.js.map +1 -1
  61. package/dist/components/_util/i18n.js.map +1 -1
  62. package/dist/components/_util/index.js +1 -1
  63. package/dist/components/_util/objects.js.map +1 -1
  64. package/dist/components/_util/raf.js +1 -1
  65. package/dist/components/_util/raf.js.map +1 -1
  66. package/dist/components/_util/rand.js.map +1 -1
  67. package/dist/components/_util/strings.js.map +1 -1
  68. package/dist/components/_util/throttleByRaf.js.map +1 -1
  69. package/dist/components/_util/types.js.map +1 -1
  70. package/dist/components/_util/typescript.js.map +1 -1
  71. package/dist/components/_util/vue/global-node.js +1 -1
  72. package/dist/components/_util/vue/global-node.js.map +1 -1
  73. package/dist/components/_util/vue/icon.js +24 -146
  74. package/dist/components/_util/vue/icon.js.map +1 -1
  75. package/dist/components/_util/vue/install.js.map +1 -1
  76. package/dist/components/_util/vue/props/runtime.js.map +1 -1
  77. package/dist/components/_util/vue/refs.js.map +1 -1
  78. package/dist/components/_util/vue/size.js.map +1 -1
  79. package/dist/components/_util/vue/validator.js.map +1 -1
  80. package/dist/components/_util/vue/vnode.js.map +1 -1
  81. package/dist/components/components.d.ts +2 -0
  82. package/dist/components/components.js +13 -11
  83. package/dist/components/components.js.map +1 -1
  84. package/dist/components/index.js +21 -19
  85. package/dist/components/index.js.map +1 -1
  86. package/dist/components-0PErqPHo.js +72 -0
  87. package/dist/{components-DXZmD0GT.js.map → components-0PErqPHo.js.map} +1 -1
  88. package/dist/index-BwWeqwHB.js +164 -0
  89. package/dist/index-BwWeqwHB.js.map +1 -0
  90. package/dist/index-DG_8kbAs.js +45 -0
  91. package/dist/{index-C8JNJPWW.js.map → index-DG_8kbAs.js.map} +1 -1
  92. package/dist/index-DLvlyWAh.js +127 -0
  93. package/dist/index-DLvlyWAh.js.map +1 -0
  94. package/dist/index.css +1 -1
  95. package/dist/index.js +21 -19
  96. package/dist/index.js.map +1 -1
  97. package/dist/version/version.d.ts +1 -1
  98. package/dist/version/version.js +1 -1
  99. package/dist/version/version.js.map +1 -1
  100. package/global.d.ts +6 -1
  101. package/package.json +3 -1
  102. package/dist/components/LovTable/LovPagetable.d.ts +0 -2
  103. package/dist/components/LovTable/LovQuerytable.d.ts +0 -2
  104. package/dist/components-DXZmD0GT.js +0 -70
  105. package/dist/index-C8JNJPWW.js +0 -8
@@ -0,0 +1,237 @@
1
+ import { ExtractPropTypes } from 'vue';
2
+ import { TabsPaneContext } from './constants';
3
+ import { TabPaneName } from './tabs';
4
+ export declare const tabNavProps: {
5
+ readonly panes: import('../_util').EpPropFinalized<(new (...args: any[]) => {
6
+ uid: number;
7
+ slots: import('vue').Slots;
8
+ props: {
9
+ readonly label: string;
10
+ readonly disabled: boolean;
11
+ readonly closable: boolean;
12
+ readonly lazy: boolean;
13
+ readonly name?: import('../_util').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
14
+ };
15
+ paneName: string | number | undefined;
16
+ active: boolean;
17
+ index: string | undefined;
18
+ }[]) | (() => {
19
+ uid: number;
20
+ slots: import('vue').Slots;
21
+ props: {
22
+ readonly label: string;
23
+ readonly disabled: boolean;
24
+ readonly closable: boolean;
25
+ readonly lazy: boolean;
26
+ readonly name?: import('../_util').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
27
+ };
28
+ paneName: string | number | undefined;
29
+ active: boolean;
30
+ index: string | undefined;
31
+ }[]) | (((new (...args: any[]) => {
32
+ uid: number;
33
+ slots: import('vue').Slots;
34
+ props: {
35
+ readonly label: string;
36
+ readonly disabled: boolean;
37
+ readonly closable: boolean;
38
+ readonly lazy: boolean;
39
+ readonly name?: import('../_util').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
40
+ };
41
+ paneName: string | number | undefined;
42
+ active: boolean;
43
+ index: string | undefined;
44
+ }[]) | (() => {
45
+ uid: number;
46
+ slots: import('vue').Slots;
47
+ props: {
48
+ readonly label: string;
49
+ readonly disabled: boolean;
50
+ readonly closable: boolean;
51
+ readonly lazy: boolean;
52
+ readonly name?: import('../_util').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
53
+ };
54
+ paneName: string | number | undefined;
55
+ active: boolean;
56
+ index: string | undefined;
57
+ }[])) | null)[], unknown, unknown, () => [], boolean>;
58
+ readonly currentName: import('../_util').EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
59
+ readonly type: import('../_util').EpPropFinalized<StringConstructor, "" | "card" | "border-card", unknown, "card", boolean>;
60
+ readonly stretch: BooleanConstructor;
61
+ };
62
+ export declare const tabNavEmits: {
63
+ tabClick: (tab: TabsPaneContext, tabName: TabPaneName, ev: Event) => boolean;
64
+ tabRemove: (tab: TabsPaneContext, ev: Event) => boolean;
65
+ };
66
+ export type TabNavProps = ExtractPropTypes<typeof tabNavProps>;
67
+ export type TabNavEmits = typeof tabNavEmits;
68
+ declare const TabNav: import('vue').DefineComponent<ExtractPropTypes<{
69
+ readonly panes: import('../_util').EpPropFinalized<(new (...args: any[]) => {
70
+ uid: number;
71
+ slots: import('vue').Slots;
72
+ props: {
73
+ readonly label: string;
74
+ readonly disabled: boolean;
75
+ readonly closable: boolean;
76
+ readonly lazy: boolean;
77
+ readonly name?: import('../_util').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
78
+ };
79
+ paneName: string | number | undefined;
80
+ active: boolean;
81
+ index: string | undefined;
82
+ }[]) | (() => {
83
+ uid: number;
84
+ slots: import('vue').Slots;
85
+ props: {
86
+ readonly label: string;
87
+ readonly disabled: boolean;
88
+ readonly closable: boolean;
89
+ readonly lazy: boolean;
90
+ readonly name?: import('../_util').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
91
+ };
92
+ paneName: string | number | undefined;
93
+ active: boolean;
94
+ index: string | undefined;
95
+ }[]) | (((new (...args: any[]) => {
96
+ uid: number;
97
+ slots: import('vue').Slots;
98
+ props: {
99
+ readonly label: string;
100
+ readonly disabled: boolean;
101
+ readonly closable: boolean;
102
+ readonly lazy: boolean;
103
+ readonly name?: import('../_util').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
104
+ };
105
+ paneName: string | number | undefined;
106
+ active: boolean;
107
+ index: string | undefined;
108
+ }[]) | (() => {
109
+ uid: number;
110
+ slots: import('vue').Slots;
111
+ props: {
112
+ readonly label: string;
113
+ readonly disabled: boolean;
114
+ readonly closable: boolean;
115
+ readonly lazy: boolean;
116
+ readonly name?: import('../_util').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
117
+ };
118
+ paneName: string | number | undefined;
119
+ active: boolean;
120
+ index: string | undefined;
121
+ }[])) | null)[], unknown, unknown, () => [], boolean>;
122
+ readonly currentName: import('../_util').EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
123
+ readonly type: import('../_util').EpPropFinalized<StringConstructor, "" | "card" | "border-card", unknown, "card", boolean>;
124
+ readonly stretch: BooleanConstructor;
125
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
126
+ tabClick: (tab: TabsPaneContext, tabName: TabPaneName, ev: Event) => boolean;
127
+ tabRemove: (tab: TabsPaneContext, ev: Event) => boolean;
128
+ }, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
129
+ readonly panes: import('../_util').EpPropFinalized<(new (...args: any[]) => {
130
+ uid: number;
131
+ slots: import('vue').Slots;
132
+ props: {
133
+ readonly label: string;
134
+ readonly disabled: boolean;
135
+ readonly closable: boolean;
136
+ readonly lazy: boolean;
137
+ readonly name?: import('../_util').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
138
+ };
139
+ paneName: string | number | undefined;
140
+ active: boolean;
141
+ index: string | undefined;
142
+ }[]) | (() => {
143
+ uid: number;
144
+ slots: import('vue').Slots;
145
+ props: {
146
+ readonly label: string;
147
+ readonly disabled: boolean;
148
+ readonly closable: boolean;
149
+ readonly lazy: boolean;
150
+ readonly name?: import('../_util').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
151
+ };
152
+ paneName: string | number | undefined;
153
+ active: boolean;
154
+ index: string | undefined;
155
+ }[]) | (((new (...args: any[]) => {
156
+ uid: number;
157
+ slots: import('vue').Slots;
158
+ props: {
159
+ readonly label: string;
160
+ readonly disabled: boolean;
161
+ readonly closable: boolean;
162
+ readonly lazy: boolean;
163
+ readonly name?: import('../_util').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
164
+ };
165
+ paneName: string | number | undefined;
166
+ active: boolean;
167
+ index: string | undefined;
168
+ }[]) | (() => {
169
+ uid: number;
170
+ slots: import('vue').Slots;
171
+ props: {
172
+ readonly label: string;
173
+ readonly disabled: boolean;
174
+ readonly closable: boolean;
175
+ readonly lazy: boolean;
176
+ readonly name?: import('../_util').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
177
+ };
178
+ paneName: string | number | undefined;
179
+ active: boolean;
180
+ index: string | undefined;
181
+ }[])) | null)[], unknown, unknown, () => [], boolean>;
182
+ readonly currentName: import('../_util').EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
183
+ readonly type: import('../_util').EpPropFinalized<StringConstructor, "" | "card" | "border-card", unknown, "card", boolean>;
184
+ readonly stretch: BooleanConstructor;
185
+ }>> & Readonly<{
186
+ onTabClick?: ((tab: {
187
+ uid: number;
188
+ slots: import('vue').Slots;
189
+ props: {
190
+ readonly label: string;
191
+ readonly disabled: boolean;
192
+ readonly closable: boolean;
193
+ readonly lazy: boolean;
194
+ readonly name?: import('../_util').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
195
+ };
196
+ paneName: string | number | undefined;
197
+ active: boolean;
198
+ index: string | undefined;
199
+ }, tabName: TabPaneName, ev: Event) => any) | undefined;
200
+ onTabRemove?: ((tab: {
201
+ uid: number;
202
+ slots: import('vue').Slots;
203
+ props: {
204
+ readonly label: string;
205
+ readonly disabled: boolean;
206
+ readonly closable: boolean;
207
+ readonly lazy: boolean;
208
+ readonly name?: import('../_util').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
209
+ };
210
+ paneName: string | number | undefined;
211
+ active: boolean;
212
+ index: string | undefined;
213
+ }, ev: Event) => any) | undefined;
214
+ }>, {
215
+ readonly stretch: boolean;
216
+ readonly type: import('../_util').EpPropMergeType<StringConstructor, "" | "card" | "border-card", unknown>;
217
+ readonly panes: {
218
+ uid: number;
219
+ slots: import('vue').Slots;
220
+ props: {
221
+ readonly label: string;
222
+ readonly disabled: boolean;
223
+ readonly closable: boolean;
224
+ readonly lazy: boolean;
225
+ readonly name?: import('../_util').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
226
+ };
227
+ paneName: string | number | undefined;
228
+ active: boolean;
229
+ index: string | undefined;
230
+ }[];
231
+ readonly currentName: import('../_util').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
232
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
233
+ export type TabNavInstance = InstanceType<typeof TabNav> & {
234
+ scrollToActiveTab: () => Promise<void>;
235
+ removeFocus: () => void;
236
+ };
237
+ export default TabNav;
@@ -0,0 +1,16 @@
1
+ import { ExtractPropTypes } from 'vue';
2
+ import { default as TabPane } from './tab-pane.vue';
3
+ export declare const tabPaneProps: {
4
+ readonly label: import('../_util').EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
5
+ readonly name: {
6
+ readonly type: import('vue').PropType<import('../_util').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
7
+ readonly required: false;
8
+ readonly validator: ((val: unknown) => boolean) | undefined;
9
+ __epPropKey: true;
10
+ };
11
+ readonly closable: BooleanConstructor;
12
+ readonly disabled: BooleanConstructor;
13
+ readonly lazy: BooleanConstructor;
14
+ };
15
+ export type TabPaneProps = ExtractPropTypes<typeof tabPaneProps>;
16
+ export type TabPaneInstance = InstanceType<typeof TabPane>;
@@ -0,0 +1,35 @@
1
+ import "lodash-es";
2
+ import "vue";
3
+ import { buildProps as o } from "../_util/vue/props/runtime.js";
4
+ import "element-plus";
5
+ const r = o({
6
+ /**
7
+ * @description title of the tab
8
+ */
9
+ label: {
10
+ type: String,
11
+ default: ""
12
+ },
13
+ /**
14
+ * @description identifier corresponding to the name of Tabs, representing the alias of the tab-pane, the default is ordinal number of the tab-pane in the sequence, e.g. the first tab-pane is '0'
15
+ */
16
+ name: {
17
+ type: [String, Number]
18
+ },
19
+ /**
20
+ * @description whether Tab is closable
21
+ */
22
+ closable: Boolean,
23
+ /**
24
+ * @description whether Tab is disabled
25
+ */
26
+ disabled: Boolean,
27
+ /**
28
+ * @description whether Tab is lazily rendered
29
+ */
30
+ lazy: Boolean
31
+ });
32
+ export {
33
+ r as tabPaneProps
34
+ };
35
+ //# sourceMappingURL=tab-pane.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tab-pane.js","sources":["../../../src/components/Tabs/tab-pane.ts"],"sourcesContent":["import { buildProps } from '../_util'\r\nimport type { ExtractPropTypes } from 'vue'\r\nimport type TabPane from './tab-pane.vue'\r\n\r\nexport const tabPaneProps = buildProps({\r\n /**\r\n * @description title of the tab\r\n */\r\n label: {\r\n type: String,\r\n default: '',\r\n },\r\n /**\r\n * @description identifier corresponding to the name of Tabs, representing the alias of the tab-pane, the default is ordinal number of the tab-pane in the sequence, e.g. the first tab-pane is '0'\r\n */\r\n name: {\r\n type: [String, Number],\r\n },\r\n /**\r\n * @description whether Tab is closable\r\n */\r\n closable: Boolean,\r\n /**\r\n * @description whether Tab is disabled\r\n */\r\n disabled: Boolean,\r\n /**\r\n * @description whether Tab is lazily rendered\r\n */\r\n lazy: Boolean,\r\n} as const)\r\n\r\nexport type TabPaneProps = ExtractPropTypes<typeof tabPaneProps>\r\n\r\nexport type TabPaneInstance = InstanceType<typeof TabPane>\r\n"],"names":["tabPaneProps","buildProps"],"mappings":";;;;AAIO,MAAMA,IAAeC,EAAW;AAAA;AAAA;AAAA;AAAA,EAIrC,OAAO;AAAA,IACL,MAAM;AAAA,IACN,SAAS;AAAA,EACX;AAAA;AAAA;AAAA;AAAA,EAIA,MAAM;AAAA,IACJ,MAAM,CAAC,QAAQ,MAAM;AAAA,EACvB;AAAA;AAAA;AAAA;AAAA,EAIA,UAAU;AAAA;AAAA;AAAA;AAAA,EAIV,UAAU;AAAA;AAAA;AAAA;AAAA,EAIV,MAAM;AACR,CAAU;"}
@@ -0,0 +1,43 @@
1
+ declare function __VLS_template(): {
2
+ slots: {
3
+ default?(_: {}): any;
4
+ };
5
+ refs: {};
6
+ attrs: Partial<{}>;
7
+ };
8
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
9
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
10
+ readonly label: import('../_util').EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
11
+ readonly name: {
12
+ readonly type: import('vue').PropType<import('../_util').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
13
+ readonly required: false;
14
+ readonly validator: ((val: unknown) => boolean) | undefined;
15
+ __epPropKey: true;
16
+ };
17
+ readonly closable: BooleanConstructor;
18
+ readonly disabled: BooleanConstructor;
19
+ readonly lazy: BooleanConstructor;
20
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
21
+ readonly label: import('../_util').EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
22
+ readonly name: {
23
+ readonly type: import('vue').PropType<import('../_util').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
24
+ readonly required: false;
25
+ readonly validator: ((val: unknown) => boolean) | undefined;
26
+ __epPropKey: true;
27
+ };
28
+ readonly closable: BooleanConstructor;
29
+ readonly disabled: BooleanConstructor;
30
+ readonly lazy: BooleanConstructor;
31
+ }>> & Readonly<{}>, {
32
+ readonly label: string;
33
+ readonly disabled: boolean;
34
+ readonly closable: boolean;
35
+ readonly lazy: boolean;
36
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
37
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
38
+ export default _default;
39
+ type __VLS_WithTemplateSlots<T, S> = T & {
40
+ new (): {
41
+ $slots: S;
42
+ };
43
+ };
@@ -0,0 +1,101 @@
1
+ import { TabsPaneContext } from './constants';
2
+ import { ExtractPropTypes } from 'vue';
3
+ import { Awaitable } from '../_util';
4
+ export type TabPaneName = string | number;
5
+ export declare const tabsProps: {
6
+ readonly type: import('../_util').EpPropFinalized<StringConstructor, "" | "card" | "border-card", unknown, "card", boolean>;
7
+ readonly modelValue: {
8
+ readonly type: import('vue').PropType<import('../_util').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
9
+ readonly required: false;
10
+ readonly validator: ((val: unknown) => boolean) | undefined;
11
+ __epPropKey: true;
12
+ };
13
+ readonly tabPosition: import('../_util').EpPropFinalized<StringConstructor, "top" | "bottom" | "left" | "right", unknown, "top", boolean>;
14
+ readonly beforeLeave: import('../_util').EpPropFinalized<(new (...args: any[]) => (newName: TabPaneName, oldName: TabPaneName) => Awaitable<void | boolean>) | (() => (newName: TabPaneName, oldName: TabPaneName) => Awaitable<void | boolean>) | {
15
+ (): (newName: TabPaneName, oldName: TabPaneName) => Awaitable<void | boolean>;
16
+ new (): any;
17
+ readonly prototype: any;
18
+ } | (((new (...args: any[]) => (newName: TabPaneName, oldName: TabPaneName) => Awaitable<void | boolean>) | (() => (newName: TabPaneName, oldName: TabPaneName) => Awaitable<void | boolean>) | {
19
+ (): (newName: TabPaneName, oldName: TabPaneName) => Awaitable<void | boolean>;
20
+ new (): any;
21
+ readonly prototype: any;
22
+ }) | null)[], unknown, unknown, () => true, boolean>;
23
+ readonly stretch: BooleanConstructor;
24
+ };
25
+ export type TabsProps = ExtractPropTypes<typeof tabsProps>;
26
+ export declare const tabsEmits: {
27
+ "update:modelValue": (name: TabPaneName) => name is string | number;
28
+ tabClick: (pane: TabsPaneContext, ev: Event) => boolean;
29
+ tabChange: (name: TabPaneName) => name is string | number;
30
+ };
31
+ export type TabsEmits = typeof tabsEmits;
32
+ export type TabsPanes = Record<number, TabsPaneContext>;
33
+ declare const Tabs: import('vue').DefineComponent<ExtractPropTypes<{
34
+ readonly type: import('../_util').EpPropFinalized<StringConstructor, "" | "card" | "border-card", unknown, "card", boolean>;
35
+ readonly modelValue: {
36
+ readonly type: import('vue').PropType<import('../_util').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
37
+ readonly required: false;
38
+ readonly validator: ((val: unknown) => boolean) | undefined;
39
+ __epPropKey: true;
40
+ };
41
+ readonly tabPosition: import('../_util').EpPropFinalized<StringConstructor, "top" | "bottom" | "left" | "right", unknown, "top", boolean>;
42
+ readonly beforeLeave: import('../_util').EpPropFinalized<(new (...args: any[]) => (newName: TabPaneName, oldName: TabPaneName) => Awaitable<void | boolean>) | (() => (newName: TabPaneName, oldName: TabPaneName) => Awaitable<void | boolean>) | {
43
+ (): (newName: TabPaneName, oldName: TabPaneName) => Awaitable<void | boolean>;
44
+ new (): any;
45
+ readonly prototype: any;
46
+ } | (((new (...args: any[]) => (newName: TabPaneName, oldName: TabPaneName) => Awaitable<void | boolean>) | (() => (newName: TabPaneName, oldName: TabPaneName) => Awaitable<void | boolean>) | {
47
+ (): (newName: TabPaneName, oldName: TabPaneName) => Awaitable<void | boolean>;
48
+ new (): any;
49
+ readonly prototype: any;
50
+ }) | null)[], unknown, unknown, () => true, boolean>;
51
+ readonly stretch: BooleanConstructor;
52
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
53
+ "update:modelValue": (name: TabPaneName) => name is string | number;
54
+ tabClick: (pane: TabsPaneContext, ev: Event) => boolean;
55
+ tabChange: (name: TabPaneName) => name is string | number;
56
+ }, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
57
+ readonly type: import('../_util').EpPropFinalized<StringConstructor, "" | "card" | "border-card", unknown, "card", boolean>;
58
+ readonly modelValue: {
59
+ readonly type: import('vue').PropType<import('../_util').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
60
+ readonly required: false;
61
+ readonly validator: ((val: unknown) => boolean) | undefined;
62
+ __epPropKey: true;
63
+ };
64
+ readonly tabPosition: import('../_util').EpPropFinalized<StringConstructor, "top" | "bottom" | "left" | "right", unknown, "top", boolean>;
65
+ readonly beforeLeave: import('../_util').EpPropFinalized<(new (...args: any[]) => (newName: TabPaneName, oldName: TabPaneName) => Awaitable<void | boolean>) | (() => (newName: TabPaneName, oldName: TabPaneName) => Awaitable<void | boolean>) | {
66
+ (): (newName: TabPaneName, oldName: TabPaneName) => Awaitable<void | boolean>;
67
+ new (): any;
68
+ readonly prototype: any;
69
+ } | (((new (...args: any[]) => (newName: TabPaneName, oldName: TabPaneName) => Awaitable<void | boolean>) | (() => (newName: TabPaneName, oldName: TabPaneName) => Awaitable<void | boolean>) | {
70
+ (): (newName: TabPaneName, oldName: TabPaneName) => Awaitable<void | boolean>;
71
+ new (): any;
72
+ readonly prototype: any;
73
+ }) | null)[], unknown, unknown, () => true, boolean>;
74
+ readonly stretch: BooleanConstructor;
75
+ }>> & Readonly<{
76
+ "onUpdate:modelValue"?: ((name: TabPaneName) => any) | undefined;
77
+ onTabClick?: ((pane: {
78
+ uid: number;
79
+ slots: import('vue').Slots;
80
+ props: {
81
+ readonly label: string;
82
+ readonly disabled: boolean;
83
+ readonly closable: boolean;
84
+ readonly lazy: boolean;
85
+ readonly name?: import('../_util').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
86
+ };
87
+ paneName: string | number | undefined;
88
+ active: boolean;
89
+ index: string | undefined;
90
+ }, ev: Event) => any) | undefined;
91
+ onTabChange?: ((name: TabPaneName) => any) | undefined;
92
+ }>, {
93
+ readonly stretch: boolean;
94
+ readonly type: import('../_util').EpPropMergeType<StringConstructor, "" | "card" | "border-card", unknown>;
95
+ readonly tabPosition: import('../_util').EpPropMergeType<StringConstructor, "top" | "bottom" | "left" | "right", unknown>;
96
+ readonly beforeLeave: (newName: TabPaneName, oldName: TabPaneName) => Awaitable<void | boolean>;
97
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
98
+ export type TabsInstance = InstanceType<typeof Tabs> & {
99
+ currentName: TabPaneName;
100
+ };
101
+ export default Tabs;
@@ -0,0 +1,17 @@
1
+ export declare const EVENT_CODE: {
2
+ tab: string;
3
+ enter: string;
4
+ space: string;
5
+ left: string;
6
+ up: string;
7
+ right: string;
8
+ down: string;
9
+ esc: string;
10
+ delete: string;
11
+ backspace: string;
12
+ numpadEnter: string;
13
+ pageUp: string;
14
+ pageDown: string;
15
+ home: string;
16
+ end: string;
17
+ };
@@ -0,0 +1,25 @@
1
+ const e = {
2
+ tab: "Tab",
3
+ enter: "Enter",
4
+ space: "Space",
5
+ left: "ArrowLeft",
6
+ // 37
7
+ up: "ArrowUp",
8
+ // 38
9
+ right: "ArrowRight",
10
+ // 39
11
+ down: "ArrowDown",
12
+ // 40
13
+ esc: "Escape",
14
+ delete: "Delete",
15
+ backspace: "Backspace",
16
+ numpadEnter: "NumpadEnter",
17
+ pageUp: "PageUp",
18
+ pageDown: "PageDown",
19
+ home: "Home",
20
+ end: "End"
21
+ };
22
+ export {
23
+ e as EVENT_CODE
24
+ };
25
+ //# sourceMappingURL=aria.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aria.js","sources":["../../../src/components/_constants/aria.ts"],"sourcesContent":["export const EVENT_CODE = {\r\n tab: 'Tab',\r\n enter: 'Enter',\r\n space: 'Space',\r\n left: 'ArrowLeft', // 37\r\n up: 'ArrowUp', // 38\r\n right: 'ArrowRight', // 39\r\n down: 'ArrowDown', // 40\r\n esc: 'Escape',\r\n delete: 'Delete',\r\n backspace: 'Backspace',\r\n numpadEnter: 'NumpadEnter',\r\n pageUp: 'PageUp',\r\n pageDown: 'PageDown',\r\n home: 'Home',\r\n end: 'End',\r\n}\r\n"],"names":["EVENT_CODE"],"mappings":"AAAO,MAAMA,IAAa;AAAA,EACxB,KAAK;AAAA,EACL,OAAO;AAAA,EACP,OAAO;AAAA,EACP,MAAM;AAAA;AAAA,EACN,IAAI;AAAA;AAAA,EACJ,OAAO;AAAA;AAAA,EACP,MAAM;AAAA;AAAA,EACN,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,WAAW;AAAA,EACX,aAAa;AAAA,EACb,QAAQ;AAAA,EACR,UAAU;AAAA,EACV,MAAM;AAAA,EACN,KAAK;AACP;"}
@@ -0,0 +1,3 @@
1
+ export declare const UPDATE_MODEL_EVENT = "update:modelValue";
2
+ export declare const CHANGE_EVENT = "change";
3
+ export declare const INPUT_EVENT = "input";
@@ -0,0 +1,7 @@
1
+ const E = "update:modelValue", t = "change", e = "input";
2
+ export {
3
+ t as CHANGE_EVENT,
4
+ e as INPUT_EVENT,
5
+ E as UPDATE_MODEL_EVENT
6
+ };
7
+ //# sourceMappingURL=event.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"event.js","sources":["../../../src/components/_constants/event.ts"],"sourcesContent":["export const UPDATE_MODEL_EVENT = 'update:modelValue'\r\nexport const CHANGE_EVENT = 'change'\r\nexport const INPUT_EVENT = 'input'\r\n"],"names":["UPDATE_MODEL_EVENT","CHANGE_EVENT","INPUT_EVENT"],"mappings":"AAAO,MAAMA,IAAqB,qBACrBC,IAAe,UACfC,IAAc;"}
@@ -0,0 +1,2 @@
1
+ export * from './aria';
2
+ export * from './event';
@@ -0,0 +1,9 @@
1
+ import { EVENT_CODE as T } from "./aria.js";
2
+ import { CHANGE_EVENT as o, INPUT_EVENT as r, UPDATE_MODEL_EVENT as V } from "./event.js";
3
+ export {
4
+ o as CHANGE_EVENT,
5
+ T as EVENT_CODE,
6
+ r as INPUT_EVENT,
7
+ V as UPDATE_MODEL_EVENT
8
+ };
9
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
@@ -0,0 +1,2 @@
1
+ export * from './use-namespace';
2
+ export * from './use-ordered-children';
@@ -0,0 +1,10 @@
1
+ import { defaultNamespace as r, namespaceContextKey as s, useGetDerivedNamespace as m, useNamespace as p } from "./use-namespace/index.js";
2
+ import { useOrderedChildren as d } from "./use-ordered-children/index.js";
3
+ export {
4
+ r as defaultNamespace,
5
+ s as namespaceContextKey,
6
+ m as useGetDerivedNamespace,
7
+ p as useNamespace,
8
+ d as useOrderedChildren
9
+ };
10
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
@@ -0,0 +1,23 @@
1
+ import { InjectionKey, Ref } from 'vue';
2
+ export declare const defaultNamespace = "orion";
3
+ export declare const namespaceContextKey: InjectionKey<Ref<string | undefined>>;
4
+ export declare const useGetDerivedNamespace: (namespaceOverrides?: Ref<string | undefined>) => import('vue').ComputedRef<string>;
5
+ export declare const useNamespace: (block: string, namespaceOverrides?: Ref<string | undefined>) => {
6
+ namespace: import('vue').ComputedRef<string>;
7
+ b: (blockSuffix?: string) => string;
8
+ e: (element?: string) => string;
9
+ m: (modifier?: string) => string;
10
+ be: (blockSuffix?: string, element?: string) => string;
11
+ em: (element?: string, modifier?: string) => string;
12
+ bm: (blockSuffix?: string, modifier?: string) => string;
13
+ bem: (blockSuffix?: string, element?: string, modifier?: string) => string;
14
+ is: {
15
+ (name: string, state: boolean | undefined): string;
16
+ (name: string): string;
17
+ };
18
+ cssVar: (object: Record<string, string>) => Record<string, string>;
19
+ cssVarName: (name: string) => string;
20
+ cssVarBlock: (object: Record<string, string>) => Record<string, string>;
21
+ cssVarBlockName: (name: string) => string;
22
+ };
23
+ export type UseNamespaceReturn = ReturnType<typeof useNamespace>;
@@ -0,0 +1,46 @@
1
+ import { getCurrentInstance as p, inject as N, ref as v, computed as V, unref as y } from "vue";
2
+ const m = "orion", l = "is-", c = (a, r, t, o, $) => {
3
+ let u = `${a}-${r}`;
4
+ return t && (u += `-${t}`), o && (u += `__${o}`), $ && (u += `--${$}`), u;
5
+ }, B = Symbol("namespaceContextKey"), C = (a) => {
6
+ const r = a || (p() ? N(B, v(m)) : v(m));
7
+ return V(() => y(r) || m);
8
+ }, q = (a, r) => {
9
+ const t = C(r);
10
+ return {
11
+ namespace: t,
12
+ b: (s = "") => c(t.value, a, s, "", ""),
13
+ e: (s) => s ? c(t.value, a, "", s, "") : "",
14
+ m: (s) => s ? c(t.value, a, "", "", s) : "",
15
+ be: (s, e) => s && e ? c(t.value, a, s, e, "") : "",
16
+ em: (s, e) => s && e ? c(t.value, a, "", s, e) : "",
17
+ bm: (s, e) => s && e ? c(t.value, a, s, "", e) : "",
18
+ bem: (s, e, n) => s && e && n ? c(t.value, a, s, e, n) : "",
19
+ is: (s, ...e) => {
20
+ const n = e.length >= 1 ? e[0] : !0;
21
+ return s && n ? `${l}${s}` : "";
22
+ },
23
+ // css
24
+ cssVar: (s) => {
25
+ const e = {};
26
+ for (const n in s)
27
+ s[n] && (e[`--${t.value}-${n}`] = s[n]);
28
+ return e;
29
+ },
30
+ cssVarName: (s) => `--${t.value}-${s}`,
31
+ cssVarBlock: (s) => {
32
+ const e = {};
33
+ for (const n in s)
34
+ s[n] && (e[`--${t.value}-${a}-${n}`] = s[n]);
35
+ return e;
36
+ },
37
+ cssVarBlockName: (s) => `--${t.value}-${a}-${s}`
38
+ };
39
+ };
40
+ export {
41
+ m as defaultNamespace,
42
+ B as namespaceContextKey,
43
+ C as useGetDerivedNamespace,
44
+ q as useNamespace
45
+ };
46
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../src/components/_hooks/use-namespace/index.ts"],"sourcesContent":["import { computed, getCurrentInstance, inject, ref, unref } from 'vue'\r\n\r\nimport type { InjectionKey, Ref } from 'vue'\r\n\r\nexport const defaultNamespace = 'orion'\r\nconst statePrefix = 'is-'\r\n\r\nconst _bem = (\r\n namespace: string,\r\n block: string,\r\n blockSuffix: string,\r\n element: string,\r\n modifier: string\r\n) => {\r\n let cls = `${namespace}-${block}`\r\n if (blockSuffix) {\r\n cls += `-${blockSuffix}`\r\n }\r\n if (element) {\r\n cls += `__${element}`\r\n }\r\n if (modifier) {\r\n cls += `--${modifier}`\r\n }\r\n return cls\r\n}\r\n\r\nexport const namespaceContextKey: InjectionKey<Ref<string | undefined>> =\r\n Symbol('namespaceContextKey')\r\n\r\nexport const useGetDerivedNamespace = (\r\n namespaceOverrides?: Ref<string | undefined>\r\n) => {\r\n const derivedNamespace =\r\n namespaceOverrides ||\r\n (getCurrentInstance()\r\n ? inject(namespaceContextKey, ref(defaultNamespace))\r\n : ref(defaultNamespace))\r\n const namespace = computed(() => {\r\n return unref(derivedNamespace) || defaultNamespace\r\n })\r\n return namespace\r\n}\r\n\r\nexport const useNamespace = (\r\n block: string,\r\n namespaceOverrides?: Ref<string | undefined>\r\n) => {\r\n const namespace = useGetDerivedNamespace(namespaceOverrides)\r\n const b = (blockSuffix = '') =>\r\n _bem(namespace.value, block, blockSuffix, '', '')\r\n const e = (element?: string) =>\r\n element ? _bem(namespace.value, block, '', element, '') : ''\r\n const m = (modifier?: string) =>\r\n modifier ? _bem(namespace.value, block, '', '', modifier) : ''\r\n const be = (blockSuffix?: string, element?: string) =>\r\n blockSuffix && element\r\n ? _bem(namespace.value, block, blockSuffix, element, '')\r\n : ''\r\n const em = (element?: string, modifier?: string) =>\r\n element && modifier\r\n ? _bem(namespace.value, block, '', element, modifier)\r\n : ''\r\n const bm = (blockSuffix?: string, modifier?: string) =>\r\n blockSuffix && modifier\r\n ? _bem(namespace.value, block, blockSuffix, '', modifier)\r\n : ''\r\n const bem = (blockSuffix?: string, element?: string, modifier?: string) =>\r\n blockSuffix && element && modifier\r\n ? _bem(namespace.value, block, blockSuffix, element, modifier)\r\n : ''\r\n const is: {\r\n (name: string, state: boolean | undefined): string\r\n (name: string): string\r\n } = (name: string, ...args: [boolean | undefined] | []) => {\r\n const state = args.length >= 1 ? args[0]! : true\r\n return name && state ? `${statePrefix}${name}` : ''\r\n }\r\n\r\n // for css var\r\n // --el-xxx: value;\r\n const cssVar = (object: Record<string, string>) => {\r\n const styles: Record<string, string> = {}\r\n for (const key in object) {\r\n if (object[key]) {\r\n styles[`--${namespace.value}-${key}`] = object[key]\r\n }\r\n }\r\n return styles\r\n }\r\n // with block\r\n const cssVarBlock = (object: Record<string, string>) => {\r\n const styles: Record<string, string> = {}\r\n for (const key in object) {\r\n if (object[key]) {\r\n styles[`--${namespace.value}-${block}-${key}`] = object[key]\r\n }\r\n }\r\n return styles\r\n }\r\n\r\n const cssVarName = (name: string) => `--${namespace.value}-${name}`\r\n const cssVarBlockName = (name: string) =>\r\n `--${namespace.value}-${block}-${name}`\r\n\r\n return {\r\n namespace,\r\n b,\r\n e,\r\n m,\r\n be,\r\n em,\r\n bm,\r\n bem,\r\n is,\r\n // css\r\n cssVar,\r\n cssVarName,\r\n cssVarBlock,\r\n cssVarBlockName,\r\n }\r\n}\r\n\r\nexport type UseNamespaceReturn = ReturnType<typeof useNamespace>\r\n"],"names":["defaultNamespace","statePrefix","_bem","namespace","block","blockSuffix","element","modifier","cls","namespaceContextKey","useGetDerivedNamespace","namespaceOverrides","derivedNamespace","getCurrentInstance","inject","ref","computed","unref","useNamespace","name","args","state","object","styles","key"],"mappings":";AAIO,MAAMA,IAAmB,SAC1BC,IAAc,OAEdC,IAAO,CACXC,GACAC,GACAC,GACAC,GACAC,MACG;AACH,MAAIC,IAAM,GAAGL,CAAS,IAAIC,CAAK;AAC/B,SAAIC,MACFG,KAAO,IAAIH,CAAW,KAEpBC,MACFE,KAAO,KAAKF,CAAO,KAEjBC,MACFC,KAAO,KAAKD,CAAQ,KAEfC;AACT,GAEaC,IACX,OAAO,qBAAqB,GAEjBC,IAAyB,CACpCC,MACG;AACG,QAAAC,IACJD,MACCE,EAAA,IACGC,EAAOL,GAAqBM,EAAIf,CAAgB,CAAC,IACjDe,EAAIf,CAAgB;AAInB,SAHWgB,EAAS,MAClBC,EAAML,CAAgB,KAAKZ,CACnC;AAEH,GAEakB,IAAe,CAC1Bd,GACAO,MACG;AACG,QAAAR,IAAYO,EAAuBC,CAAkB;AAyDpD,SAAA;AAAA,IACL,WAAAR;AAAA,IACA,GA1DQ,CAACE,IAAc,OACvBH,EAAKC,EAAU,OAAOC,GAAOC,GAAa,IAAI,EAAE;AAAA,IA0DhD,GAzDQ,CAACC,MACTA,IAAUJ,EAAKC,EAAU,OAAOC,GAAO,IAAIE,GAAS,EAAE,IAAI;AAAA,IAyD1D,GAxDQ,CAACC,MACTA,IAAWL,EAAKC,EAAU,OAAOC,GAAO,IAAI,IAAIG,CAAQ,IAAI;AAAA,IAwD5D,IAvDS,CAACF,GAAsBC,MAChCD,KAAeC,IACXJ,EAAKC,EAAU,OAAOC,GAAOC,GAAaC,GAAS,EAAE,IACrD;AAAA,IAqDJ,IApDS,CAACA,GAAkBC,MAC5BD,KAAWC,IACPL,EAAKC,EAAU,OAAOC,GAAO,IAAIE,GAASC,CAAQ,IAClD;AAAA,IAkDJ,IAjDS,CAACF,GAAsBE,MAChCF,KAAeE,IACXL,EAAKC,EAAU,OAAOC,GAAOC,GAAa,IAAIE,CAAQ,IACtD;AAAA,IA+CJ,KA9CU,CAACF,GAAsBC,GAAkBC,MACnDF,KAAeC,KAAWC,IACtBL,EAAKC,EAAU,OAAOC,GAAOC,GAAaC,GAASC,CAAQ,IAC3D;AAAA,IA4CJ,IAxCE,CAACY,MAAiBC,MAAqC;AACzD,YAAMC,IAAQD,EAAK,UAAU,IAAIA,EAAK,CAAC,IAAK;AAC5C,aAAOD,KAAQE,IAAQ,GAAGpB,CAAW,GAAGkB,CAAI,KAAK;AAAA,IAAA;AAAA;AAAA,IAwCjD,QAnCa,CAACG,MAAmC;AACjD,YAAMC,IAAiC,CAAA;AACvC,iBAAWC,KAAOF;AACZ,QAAAA,EAAOE,CAAG,MACLD,EAAA,KAAKpB,EAAU,KAAK,IAAIqB,CAAG,EAAE,IAAIF,EAAOE,CAAG;AAG/C,aAAAD;AAAA,IAAA;AAAA,IA6BP,YAhBiB,CAACJ,MAAiB,KAAKhB,EAAU,KAAK,IAAIgB,CAAI;AAAA,IAiB/D,aA3BkB,CAACG,MAAmC;AACtD,YAAMC,IAAiC,CAAA;AACvC,iBAAWC,KAAOF;AACZ,QAAAA,EAAOE,CAAG,MACLD,EAAA,KAAKpB,EAAU,KAAK,IAAIC,CAAK,IAAIoB,CAAG,EAAE,IAAIF,EAAOE,CAAG;AAGxD,aAAAD;AAAA,IAAA;AAAA,IAqBP,iBAjBsB,CAACJ,MACvB,KAAKhB,EAAU,KAAK,IAAIC,CAAK,IAAIe,CAAI;AAAA,EAgBrC;AAEJ;"}
@@ -0,0 +1,8 @@
1
+ import { ComponentInternalInstance } from 'vue';
2
+ export declare const useOrderedChildren: <T extends {
3
+ uid: number;
4
+ }>(vm: ComponentInternalInstance, childComponentName: string) => {
5
+ children: import('vue').ShallowRef<T[], T[]>;
6
+ addChild: (child: T) => void;
7
+ removeChild: (uid: number) => void;
8
+ };