primitive-app 2.1.6 → 2.1.7
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/components/ui/native-select/NativeSelectOptGroup.vue.d.ts +48 -48
- package/dist/components/ui/native-select/NativeSelectOption.vue.d.ts +50 -50
- package/dist/dev-tools/test-harness/lib.d.ts.map +1 -1
- package/dist/dev-tools/vite-plugin/DevToolsFloatingButton.vue.d.ts +0 -1
- package/dist/dev-tools/vite-plugin/DevToolsFloatingButton.vue.d.ts.map +1 -1
- package/dist/dev-tools/vite-plugin/DevToolsRoot.vue.d.ts +0 -1
- package/dist/dev-tools/vite-plugin/DevToolsRoot.vue.d.ts.map +1 -1
- package/dist/dev-tools/vite-plugin/index.cjs +9 -10
- package/dist/dev-tools/vite-plugin/index.js +17 -19
- package/dist/dev-tools/vite-plugin/plugin.d.ts +0 -6
- package/dist/dev-tools/vite-plugin/plugin.d.ts.map +1 -1
- package/dist/index.cjs +47 -5
- package/dist/index.js +5174 -5072
- package/package.json +1 -1
|
@@ -4,24 +4,24 @@ type __VLS_Slots = {} & {
|
|
|
4
4
|
};
|
|
5
5
|
declare const __VLS_base: import("vue").DefineComponent<{
|
|
6
6
|
class?: any;
|
|
7
|
-
disabled?: (boolean | "
|
|
7
|
+
disabled?: (boolean | "false" | "true") | undefined;
|
|
8
8
|
label?: string | undefined | undefined;
|
|
9
9
|
"data-slot"?: string | undefined;
|
|
10
10
|
innerHTML?: string | undefined | undefined;
|
|
11
11
|
style?: import("vue").StyleValue;
|
|
12
12
|
accesskey?: string | undefined | undefined;
|
|
13
|
-
contenteditable?: "inherit" | (boolean | "
|
|
13
|
+
contenteditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
|
|
14
14
|
contextmenu?: string | undefined | undefined;
|
|
15
15
|
dir?: string | undefined | undefined;
|
|
16
|
-
draggable?: (boolean | "
|
|
16
|
+
draggable?: (boolean | "false" | "true") | undefined;
|
|
17
17
|
enterkeyhint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
|
|
18
18
|
enterKeyHint?: "search" | "done" | "enter" | "go" | "next" | "previous" | "send" | undefined;
|
|
19
|
-
hidden?: "" |
|
|
19
|
+
hidden?: "" | "hidden" | (boolean | "false" | "true") | "until-found" | undefined;
|
|
20
20
|
id?: string | undefined | undefined;
|
|
21
|
-
inert?: (boolean | "
|
|
21
|
+
inert?: (boolean | "false" | "true") | undefined;
|
|
22
22
|
lang?: string | undefined | undefined;
|
|
23
23
|
placeholder?: string | undefined | undefined;
|
|
24
|
-
spellcheck?: (boolean | "
|
|
24
|
+
spellcheck?: (boolean | "false" | "true") | undefined;
|
|
25
25
|
tabindex?: (string | number) | undefined;
|
|
26
26
|
title?: string | undefined | undefined;
|
|
27
27
|
translate?: "yes" | "no" | undefined | undefined;
|
|
@@ -40,7 +40,7 @@ declare const __VLS_base: import("vue").DefineComponent<{
|
|
|
40
40
|
autosave?: string | undefined | undefined;
|
|
41
41
|
color?: string | undefined | undefined;
|
|
42
42
|
itemprop?: string | undefined | undefined;
|
|
43
|
-
itemscope?: (boolean | "
|
|
43
|
+
itemscope?: (boolean | "false" | "true") | undefined;
|
|
44
44
|
itemtype?: string | undefined | undefined;
|
|
45
45
|
itemid?: string | undefined | undefined;
|
|
46
46
|
itemref?: string | undefined | undefined;
|
|
@@ -52,47 +52,47 @@ declare const __VLS_base: import("vue").DefineComponent<{
|
|
|
52
52
|
exportparts?: string | undefined;
|
|
53
53
|
part?: string | undefined;
|
|
54
54
|
'aria-activedescendant'?: string | undefined | undefined;
|
|
55
|
-
'aria-atomic'?: (boolean | "
|
|
55
|
+
'aria-atomic'?: (boolean | "false" | "true") | undefined;
|
|
56
56
|
'aria-autocomplete'?: "none" | "inline" | "list" | "both" | undefined | undefined;
|
|
57
|
-
'aria-busy'?: (boolean | "
|
|
58
|
-
'aria-checked'?: (boolean | "
|
|
57
|
+
'aria-busy'?: (boolean | "false" | "true") | undefined;
|
|
58
|
+
'aria-checked'?: (boolean | "false" | "true") | "mixed" | undefined;
|
|
59
59
|
'aria-colcount'?: (string | number) | undefined;
|
|
60
60
|
'aria-colindex'?: (string | number) | undefined;
|
|
61
61
|
'aria-colspan'?: (string | number) | undefined;
|
|
62
62
|
'aria-controls'?: string | undefined | undefined;
|
|
63
|
-
'aria-current'?: "time" | (boolean | "
|
|
63
|
+
'aria-current'?: "time" | (boolean | "false" | "true") | "date" | "page" | "step" | "location" | undefined;
|
|
64
64
|
'aria-describedby'?: string | undefined | undefined;
|
|
65
65
|
'aria-details'?: string | undefined | undefined;
|
|
66
|
-
'aria-disabled'?: (boolean | "
|
|
66
|
+
'aria-disabled'?: (boolean | "false" | "true") | undefined;
|
|
67
67
|
'aria-dropeffect'?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined | undefined;
|
|
68
68
|
'aria-errormessage'?: string | undefined | undefined;
|
|
69
|
-
'aria-expanded'?: (boolean | "
|
|
69
|
+
'aria-expanded'?: (boolean | "false" | "true") | undefined;
|
|
70
70
|
'aria-flowto'?: string | undefined | undefined;
|
|
71
|
-
'aria-grabbed'?: (boolean | "
|
|
72
|
-
'aria-haspopup'?: "dialog" | "menu" | (boolean | "
|
|
73
|
-
'aria-hidden'?: (boolean | "
|
|
74
|
-
'aria-invalid'?: (boolean | "
|
|
71
|
+
'aria-grabbed'?: (boolean | "false" | "true") | undefined;
|
|
72
|
+
'aria-haspopup'?: "dialog" | "menu" | (boolean | "false" | "true") | "listbox" | "tree" | "grid" | undefined;
|
|
73
|
+
'aria-hidden'?: (boolean | "false" | "true") | undefined;
|
|
74
|
+
'aria-invalid'?: (boolean | "false" | "true") | "grammar" | "spelling" | undefined;
|
|
75
75
|
'aria-keyshortcuts'?: string | undefined | undefined;
|
|
76
76
|
'aria-label'?: string | undefined | undefined;
|
|
77
77
|
'aria-labelledby'?: string | undefined | undefined;
|
|
78
78
|
'aria-level'?: (string | number) | undefined;
|
|
79
79
|
'aria-live'?: "off" | "assertive" | "polite" | undefined | undefined;
|
|
80
|
-
'aria-modal'?: (boolean | "
|
|
81
|
-
'aria-multiline'?: (boolean | "
|
|
82
|
-
'aria-multiselectable'?: (boolean | "
|
|
80
|
+
'aria-modal'?: (boolean | "false" | "true") | undefined;
|
|
81
|
+
'aria-multiline'?: (boolean | "false" | "true") | undefined;
|
|
82
|
+
'aria-multiselectable'?: (boolean | "false" | "true") | undefined;
|
|
83
83
|
'aria-orientation'?: "horizontal" | "vertical" | undefined | undefined;
|
|
84
84
|
'aria-owns'?: string | undefined | undefined;
|
|
85
85
|
'aria-placeholder'?: string | undefined | undefined;
|
|
86
86
|
'aria-posinset'?: (string | number) | undefined;
|
|
87
|
-
'aria-pressed'?: (boolean | "
|
|
88
|
-
'aria-readonly'?: (boolean | "
|
|
87
|
+
'aria-pressed'?: (boolean | "false" | "true") | "mixed" | undefined;
|
|
88
|
+
'aria-readonly'?: (boolean | "false" | "true") | undefined;
|
|
89
89
|
'aria-relevant'?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined | undefined;
|
|
90
|
-
'aria-required'?: (boolean | "
|
|
90
|
+
'aria-required'?: (boolean | "false" | "true") | undefined;
|
|
91
91
|
'aria-roledescription'?: string | undefined | undefined;
|
|
92
92
|
'aria-rowcount'?: (string | number) | undefined;
|
|
93
93
|
'aria-rowindex'?: (string | number) | undefined;
|
|
94
94
|
'aria-rowspan'?: (string | number) | undefined;
|
|
95
|
-
'aria-selected'?: (boolean | "
|
|
95
|
+
'aria-selected'?: (boolean | "false" | "true") | undefined;
|
|
96
96
|
'aria-setsize'?: (string | number) | undefined;
|
|
97
97
|
'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined | undefined;
|
|
98
98
|
'aria-valuemax'?: (string | number) | undefined;
|
|
@@ -199,24 +199,24 @@ declare const __VLS_base: import("vue").DefineComponent<{
|
|
|
199
199
|
ref_key?: string | undefined | undefined;
|
|
200
200
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
201
201
|
class?: any;
|
|
202
|
-
disabled?: (boolean | "
|
|
202
|
+
disabled?: (boolean | "false" | "true") | undefined;
|
|
203
203
|
label?: string | undefined | undefined;
|
|
204
204
|
"data-slot"?: string | undefined;
|
|
205
205
|
innerHTML?: string | undefined | undefined;
|
|
206
206
|
style?: import("vue").StyleValue;
|
|
207
207
|
accesskey?: string | undefined | undefined;
|
|
208
|
-
contenteditable?: "inherit" | (boolean | "
|
|
208
|
+
contenteditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
|
|
209
209
|
contextmenu?: string | undefined | undefined;
|
|
210
210
|
dir?: string | undefined | undefined;
|
|
211
|
-
draggable?: (boolean | "
|
|
211
|
+
draggable?: (boolean | "false" | "true") | undefined;
|
|
212
212
|
enterkeyhint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
|
|
213
213
|
enterKeyHint?: "search" | "done" | "enter" | "go" | "next" | "previous" | "send" | undefined;
|
|
214
|
-
hidden?: "" |
|
|
214
|
+
hidden?: "" | "hidden" | (boolean | "false" | "true") | "until-found" | undefined;
|
|
215
215
|
id?: string | undefined | undefined;
|
|
216
|
-
inert?: (boolean | "
|
|
216
|
+
inert?: (boolean | "false" | "true") | undefined;
|
|
217
217
|
lang?: string | undefined | undefined;
|
|
218
218
|
placeholder?: string | undefined | undefined;
|
|
219
|
-
spellcheck?: (boolean | "
|
|
219
|
+
spellcheck?: (boolean | "false" | "true") | undefined;
|
|
220
220
|
tabindex?: (string | number) | undefined;
|
|
221
221
|
title?: string | undefined | undefined;
|
|
222
222
|
translate?: "yes" | "no" | undefined | undefined;
|
|
@@ -235,7 +235,7 @@ declare const __VLS_base: import("vue").DefineComponent<{
|
|
|
235
235
|
autosave?: string | undefined | undefined;
|
|
236
236
|
color?: string | undefined | undefined;
|
|
237
237
|
itemprop?: string | undefined | undefined;
|
|
238
|
-
itemscope?: (boolean | "
|
|
238
|
+
itemscope?: (boolean | "false" | "true") | undefined;
|
|
239
239
|
itemtype?: string | undefined | undefined;
|
|
240
240
|
itemid?: string | undefined | undefined;
|
|
241
241
|
itemref?: string | undefined | undefined;
|
|
@@ -247,47 +247,47 @@ declare const __VLS_base: import("vue").DefineComponent<{
|
|
|
247
247
|
exportparts?: string | undefined;
|
|
248
248
|
part?: string | undefined;
|
|
249
249
|
'aria-activedescendant'?: string | undefined | undefined;
|
|
250
|
-
'aria-atomic'?: (boolean | "
|
|
250
|
+
'aria-atomic'?: (boolean | "false" | "true") | undefined;
|
|
251
251
|
'aria-autocomplete'?: "none" | "inline" | "list" | "both" | undefined | undefined;
|
|
252
|
-
'aria-busy'?: (boolean | "
|
|
253
|
-
'aria-checked'?: (boolean | "
|
|
252
|
+
'aria-busy'?: (boolean | "false" | "true") | undefined;
|
|
253
|
+
'aria-checked'?: (boolean | "false" | "true") | "mixed" | undefined;
|
|
254
254
|
'aria-colcount'?: (string | number) | undefined;
|
|
255
255
|
'aria-colindex'?: (string | number) | undefined;
|
|
256
256
|
'aria-colspan'?: (string | number) | undefined;
|
|
257
257
|
'aria-controls'?: string | undefined | undefined;
|
|
258
|
-
'aria-current'?: "time" | (boolean | "
|
|
258
|
+
'aria-current'?: "time" | (boolean | "false" | "true") | "date" | "page" | "step" | "location" | undefined;
|
|
259
259
|
'aria-describedby'?: string | undefined | undefined;
|
|
260
260
|
'aria-details'?: string | undefined | undefined;
|
|
261
|
-
'aria-disabled'?: (boolean | "
|
|
261
|
+
'aria-disabled'?: (boolean | "false" | "true") | undefined;
|
|
262
262
|
'aria-dropeffect'?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined | undefined;
|
|
263
263
|
'aria-errormessage'?: string | undefined | undefined;
|
|
264
|
-
'aria-expanded'?: (boolean | "
|
|
264
|
+
'aria-expanded'?: (boolean | "false" | "true") | undefined;
|
|
265
265
|
'aria-flowto'?: string | undefined | undefined;
|
|
266
|
-
'aria-grabbed'?: (boolean | "
|
|
267
|
-
'aria-haspopup'?: "dialog" | "menu" | (boolean | "
|
|
268
|
-
'aria-hidden'?: (boolean | "
|
|
269
|
-
'aria-invalid'?: (boolean | "
|
|
266
|
+
'aria-grabbed'?: (boolean | "false" | "true") | undefined;
|
|
267
|
+
'aria-haspopup'?: "dialog" | "menu" | (boolean | "false" | "true") | "listbox" | "tree" | "grid" | undefined;
|
|
268
|
+
'aria-hidden'?: (boolean | "false" | "true") | undefined;
|
|
269
|
+
'aria-invalid'?: (boolean | "false" | "true") | "grammar" | "spelling" | undefined;
|
|
270
270
|
'aria-keyshortcuts'?: string | undefined | undefined;
|
|
271
271
|
'aria-label'?: string | undefined | undefined;
|
|
272
272
|
'aria-labelledby'?: string | undefined | undefined;
|
|
273
273
|
'aria-level'?: (string | number) | undefined;
|
|
274
274
|
'aria-live'?: "off" | "assertive" | "polite" | undefined | undefined;
|
|
275
|
-
'aria-modal'?: (boolean | "
|
|
276
|
-
'aria-multiline'?: (boolean | "
|
|
277
|
-
'aria-multiselectable'?: (boolean | "
|
|
275
|
+
'aria-modal'?: (boolean | "false" | "true") | undefined;
|
|
276
|
+
'aria-multiline'?: (boolean | "false" | "true") | undefined;
|
|
277
|
+
'aria-multiselectable'?: (boolean | "false" | "true") | undefined;
|
|
278
278
|
'aria-orientation'?: "horizontal" | "vertical" | undefined | undefined;
|
|
279
279
|
'aria-owns'?: string | undefined | undefined;
|
|
280
280
|
'aria-placeholder'?: string | undefined | undefined;
|
|
281
281
|
'aria-posinset'?: (string | number) | undefined;
|
|
282
|
-
'aria-pressed'?: (boolean | "
|
|
283
|
-
'aria-readonly'?: (boolean | "
|
|
282
|
+
'aria-pressed'?: (boolean | "false" | "true") | "mixed" | undefined;
|
|
283
|
+
'aria-readonly'?: (boolean | "false" | "true") | undefined;
|
|
284
284
|
'aria-relevant'?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined | undefined;
|
|
285
|
-
'aria-required'?: (boolean | "
|
|
285
|
+
'aria-required'?: (boolean | "false" | "true") | undefined;
|
|
286
286
|
'aria-roledescription'?: string | undefined | undefined;
|
|
287
287
|
'aria-rowcount'?: (string | number) | undefined;
|
|
288
288
|
'aria-rowindex'?: (string | number) | undefined;
|
|
289
289
|
'aria-rowspan'?: (string | number) | undefined;
|
|
290
|
-
'aria-selected'?: (boolean | "
|
|
290
|
+
'aria-selected'?: (boolean | "false" | "true") | undefined;
|
|
291
291
|
'aria-setsize'?: (string | number) | undefined;
|
|
292
292
|
'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined | undefined;
|
|
293
293
|
'aria-valuemax'?: (string | number) | undefined;
|
|
@@ -4,26 +4,26 @@ type __VLS_Slots = {} & {
|
|
|
4
4
|
};
|
|
5
5
|
declare const __VLS_base: import("vue").DefineComponent<{
|
|
6
6
|
class?: any;
|
|
7
|
-
disabled?: (boolean | "
|
|
7
|
+
disabled?: (boolean | "false" | "true") | undefined;
|
|
8
8
|
label?: string | undefined | undefined;
|
|
9
|
-
selected?: (boolean | "
|
|
9
|
+
selected?: (boolean | "false" | "true") | undefined;
|
|
10
10
|
value?: any;
|
|
11
11
|
"data-slot"?: string | undefined;
|
|
12
12
|
innerHTML?: string | undefined | undefined;
|
|
13
13
|
style?: import("vue").StyleValue;
|
|
14
14
|
accesskey?: string | undefined | undefined;
|
|
15
|
-
contenteditable?: "inherit" | (boolean | "
|
|
15
|
+
contenteditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
|
|
16
16
|
contextmenu?: string | undefined | undefined;
|
|
17
17
|
dir?: string | undefined | undefined;
|
|
18
|
-
draggable?: (boolean | "
|
|
18
|
+
draggable?: (boolean | "false" | "true") | undefined;
|
|
19
19
|
enterkeyhint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
|
|
20
20
|
enterKeyHint?: "search" | "done" | "enter" | "go" | "next" | "previous" | "send" | undefined;
|
|
21
|
-
hidden?: "" |
|
|
21
|
+
hidden?: "" | "hidden" | (boolean | "false" | "true") | "until-found" | undefined;
|
|
22
22
|
id?: string | undefined | undefined;
|
|
23
|
-
inert?: (boolean | "
|
|
23
|
+
inert?: (boolean | "false" | "true") | undefined;
|
|
24
24
|
lang?: string | undefined | undefined;
|
|
25
25
|
placeholder?: string | undefined | undefined;
|
|
26
|
-
spellcheck?: (boolean | "
|
|
26
|
+
spellcheck?: (boolean | "false" | "true") | undefined;
|
|
27
27
|
tabindex?: (string | number) | undefined;
|
|
28
28
|
title?: string | undefined | undefined;
|
|
29
29
|
translate?: "yes" | "no" | undefined | undefined;
|
|
@@ -42,7 +42,7 @@ declare const __VLS_base: import("vue").DefineComponent<{
|
|
|
42
42
|
autosave?: string | undefined | undefined;
|
|
43
43
|
color?: string | undefined | undefined;
|
|
44
44
|
itemprop?: string | undefined | undefined;
|
|
45
|
-
itemscope?: (boolean | "
|
|
45
|
+
itemscope?: (boolean | "false" | "true") | undefined;
|
|
46
46
|
itemtype?: string | undefined | undefined;
|
|
47
47
|
itemid?: string | undefined | undefined;
|
|
48
48
|
itemref?: string | undefined | undefined;
|
|
@@ -54,47 +54,47 @@ declare const __VLS_base: import("vue").DefineComponent<{
|
|
|
54
54
|
exportparts?: string | undefined;
|
|
55
55
|
part?: string | undefined;
|
|
56
56
|
'aria-activedescendant'?: string | undefined | undefined;
|
|
57
|
-
'aria-atomic'?: (boolean | "
|
|
57
|
+
'aria-atomic'?: (boolean | "false" | "true") | undefined;
|
|
58
58
|
'aria-autocomplete'?: "none" | "inline" | "list" | "both" | undefined | undefined;
|
|
59
|
-
'aria-busy'?: (boolean | "
|
|
60
|
-
'aria-checked'?: (boolean | "
|
|
59
|
+
'aria-busy'?: (boolean | "false" | "true") | undefined;
|
|
60
|
+
'aria-checked'?: (boolean | "false" | "true") | "mixed" | undefined;
|
|
61
61
|
'aria-colcount'?: (string | number) | undefined;
|
|
62
62
|
'aria-colindex'?: (string | number) | undefined;
|
|
63
63
|
'aria-colspan'?: (string | number) | undefined;
|
|
64
64
|
'aria-controls'?: string | undefined | undefined;
|
|
65
|
-
'aria-current'?: "time" | (boolean | "
|
|
65
|
+
'aria-current'?: "time" | (boolean | "false" | "true") | "date" | "page" | "step" | "location" | undefined;
|
|
66
66
|
'aria-describedby'?: string | undefined | undefined;
|
|
67
67
|
'aria-details'?: string | undefined | undefined;
|
|
68
|
-
'aria-disabled'?: (boolean | "
|
|
68
|
+
'aria-disabled'?: (boolean | "false" | "true") | undefined;
|
|
69
69
|
'aria-dropeffect'?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined | undefined;
|
|
70
70
|
'aria-errormessage'?: string | undefined | undefined;
|
|
71
|
-
'aria-expanded'?: (boolean | "
|
|
71
|
+
'aria-expanded'?: (boolean | "false" | "true") | undefined;
|
|
72
72
|
'aria-flowto'?: string | undefined | undefined;
|
|
73
|
-
'aria-grabbed'?: (boolean | "
|
|
74
|
-
'aria-haspopup'?: "dialog" | "menu" | (boolean | "
|
|
75
|
-
'aria-hidden'?: (boolean | "
|
|
76
|
-
'aria-invalid'?: (boolean | "
|
|
73
|
+
'aria-grabbed'?: (boolean | "false" | "true") | undefined;
|
|
74
|
+
'aria-haspopup'?: "dialog" | "menu" | (boolean | "false" | "true") | "listbox" | "tree" | "grid" | undefined;
|
|
75
|
+
'aria-hidden'?: (boolean | "false" | "true") | undefined;
|
|
76
|
+
'aria-invalid'?: (boolean | "false" | "true") | "grammar" | "spelling" | undefined;
|
|
77
77
|
'aria-keyshortcuts'?: string | undefined | undefined;
|
|
78
78
|
'aria-label'?: string | undefined | undefined;
|
|
79
79
|
'aria-labelledby'?: string | undefined | undefined;
|
|
80
80
|
'aria-level'?: (string | number) | undefined;
|
|
81
81
|
'aria-live'?: "off" | "assertive" | "polite" | undefined | undefined;
|
|
82
|
-
'aria-modal'?: (boolean | "
|
|
83
|
-
'aria-multiline'?: (boolean | "
|
|
84
|
-
'aria-multiselectable'?: (boolean | "
|
|
82
|
+
'aria-modal'?: (boolean | "false" | "true") | undefined;
|
|
83
|
+
'aria-multiline'?: (boolean | "false" | "true") | undefined;
|
|
84
|
+
'aria-multiselectable'?: (boolean | "false" | "true") | undefined;
|
|
85
85
|
'aria-orientation'?: "horizontal" | "vertical" | undefined | undefined;
|
|
86
86
|
'aria-owns'?: string | undefined | undefined;
|
|
87
87
|
'aria-placeholder'?: string | undefined | undefined;
|
|
88
88
|
'aria-posinset'?: (string | number) | undefined;
|
|
89
|
-
'aria-pressed'?: (boolean | "
|
|
90
|
-
'aria-readonly'?: (boolean | "
|
|
89
|
+
'aria-pressed'?: (boolean | "false" | "true") | "mixed" | undefined;
|
|
90
|
+
'aria-readonly'?: (boolean | "false" | "true") | undefined;
|
|
91
91
|
'aria-relevant'?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined | undefined;
|
|
92
|
-
'aria-required'?: (boolean | "
|
|
92
|
+
'aria-required'?: (boolean | "false" | "true") | undefined;
|
|
93
93
|
'aria-roledescription'?: string | undefined | undefined;
|
|
94
94
|
'aria-rowcount'?: (string | number) | undefined;
|
|
95
95
|
'aria-rowindex'?: (string | number) | undefined;
|
|
96
96
|
'aria-rowspan'?: (string | number) | undefined;
|
|
97
|
-
'aria-selected'?: (boolean | "
|
|
97
|
+
'aria-selected'?: (boolean | "false" | "true") | undefined;
|
|
98
98
|
'aria-setsize'?: (string | number) | undefined;
|
|
99
99
|
'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined | undefined;
|
|
100
100
|
'aria-valuemax'?: (string | number) | undefined;
|
|
@@ -201,26 +201,26 @@ declare const __VLS_base: import("vue").DefineComponent<{
|
|
|
201
201
|
ref_key?: string | undefined | undefined;
|
|
202
202
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
203
203
|
class?: any;
|
|
204
|
-
disabled?: (boolean | "
|
|
204
|
+
disabled?: (boolean | "false" | "true") | undefined;
|
|
205
205
|
label?: string | undefined | undefined;
|
|
206
|
-
selected?: (boolean | "
|
|
206
|
+
selected?: (boolean | "false" | "true") | undefined;
|
|
207
207
|
value?: any;
|
|
208
208
|
"data-slot"?: string | undefined;
|
|
209
209
|
innerHTML?: string | undefined | undefined;
|
|
210
210
|
style?: import("vue").StyleValue;
|
|
211
211
|
accesskey?: string | undefined | undefined;
|
|
212
|
-
contenteditable?: "inherit" | (boolean | "
|
|
212
|
+
contenteditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
|
|
213
213
|
contextmenu?: string | undefined | undefined;
|
|
214
214
|
dir?: string | undefined | undefined;
|
|
215
|
-
draggable?: (boolean | "
|
|
215
|
+
draggable?: (boolean | "false" | "true") | undefined;
|
|
216
216
|
enterkeyhint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
|
|
217
217
|
enterKeyHint?: "search" | "done" | "enter" | "go" | "next" | "previous" | "send" | undefined;
|
|
218
|
-
hidden?: "" |
|
|
218
|
+
hidden?: "" | "hidden" | (boolean | "false" | "true") | "until-found" | undefined;
|
|
219
219
|
id?: string | undefined | undefined;
|
|
220
|
-
inert?: (boolean | "
|
|
220
|
+
inert?: (boolean | "false" | "true") | undefined;
|
|
221
221
|
lang?: string | undefined | undefined;
|
|
222
222
|
placeholder?: string | undefined | undefined;
|
|
223
|
-
spellcheck?: (boolean | "
|
|
223
|
+
spellcheck?: (boolean | "false" | "true") | undefined;
|
|
224
224
|
tabindex?: (string | number) | undefined;
|
|
225
225
|
title?: string | undefined | undefined;
|
|
226
226
|
translate?: "yes" | "no" | undefined | undefined;
|
|
@@ -239,7 +239,7 @@ declare const __VLS_base: import("vue").DefineComponent<{
|
|
|
239
239
|
autosave?: string | undefined | undefined;
|
|
240
240
|
color?: string | undefined | undefined;
|
|
241
241
|
itemprop?: string | undefined | undefined;
|
|
242
|
-
itemscope?: (boolean | "
|
|
242
|
+
itemscope?: (boolean | "false" | "true") | undefined;
|
|
243
243
|
itemtype?: string | undefined | undefined;
|
|
244
244
|
itemid?: string | undefined | undefined;
|
|
245
245
|
itemref?: string | undefined | undefined;
|
|
@@ -251,47 +251,47 @@ declare const __VLS_base: import("vue").DefineComponent<{
|
|
|
251
251
|
exportparts?: string | undefined;
|
|
252
252
|
part?: string | undefined;
|
|
253
253
|
'aria-activedescendant'?: string | undefined | undefined;
|
|
254
|
-
'aria-atomic'?: (boolean | "
|
|
254
|
+
'aria-atomic'?: (boolean | "false" | "true") | undefined;
|
|
255
255
|
'aria-autocomplete'?: "none" | "inline" | "list" | "both" | undefined | undefined;
|
|
256
|
-
'aria-busy'?: (boolean | "
|
|
257
|
-
'aria-checked'?: (boolean | "
|
|
256
|
+
'aria-busy'?: (boolean | "false" | "true") | undefined;
|
|
257
|
+
'aria-checked'?: (boolean | "false" | "true") | "mixed" | undefined;
|
|
258
258
|
'aria-colcount'?: (string | number) | undefined;
|
|
259
259
|
'aria-colindex'?: (string | number) | undefined;
|
|
260
260
|
'aria-colspan'?: (string | number) | undefined;
|
|
261
261
|
'aria-controls'?: string | undefined | undefined;
|
|
262
|
-
'aria-current'?: "time" | (boolean | "
|
|
262
|
+
'aria-current'?: "time" | (boolean | "false" | "true") | "date" | "page" | "step" | "location" | undefined;
|
|
263
263
|
'aria-describedby'?: string | undefined | undefined;
|
|
264
264
|
'aria-details'?: string | undefined | undefined;
|
|
265
|
-
'aria-disabled'?: (boolean | "
|
|
265
|
+
'aria-disabled'?: (boolean | "false" | "true") | undefined;
|
|
266
266
|
'aria-dropeffect'?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined | undefined;
|
|
267
267
|
'aria-errormessage'?: string | undefined | undefined;
|
|
268
|
-
'aria-expanded'?: (boolean | "
|
|
268
|
+
'aria-expanded'?: (boolean | "false" | "true") | undefined;
|
|
269
269
|
'aria-flowto'?: string | undefined | undefined;
|
|
270
|
-
'aria-grabbed'?: (boolean | "
|
|
271
|
-
'aria-haspopup'?: "dialog" | "menu" | (boolean | "
|
|
272
|
-
'aria-hidden'?: (boolean | "
|
|
273
|
-
'aria-invalid'?: (boolean | "
|
|
270
|
+
'aria-grabbed'?: (boolean | "false" | "true") | undefined;
|
|
271
|
+
'aria-haspopup'?: "dialog" | "menu" | (boolean | "false" | "true") | "listbox" | "tree" | "grid" | undefined;
|
|
272
|
+
'aria-hidden'?: (boolean | "false" | "true") | undefined;
|
|
273
|
+
'aria-invalid'?: (boolean | "false" | "true") | "grammar" | "spelling" | undefined;
|
|
274
274
|
'aria-keyshortcuts'?: string | undefined | undefined;
|
|
275
275
|
'aria-label'?: string | undefined | undefined;
|
|
276
276
|
'aria-labelledby'?: string | undefined | undefined;
|
|
277
277
|
'aria-level'?: (string | number) | undefined;
|
|
278
278
|
'aria-live'?: "off" | "assertive" | "polite" | undefined | undefined;
|
|
279
|
-
'aria-modal'?: (boolean | "
|
|
280
|
-
'aria-multiline'?: (boolean | "
|
|
281
|
-
'aria-multiselectable'?: (boolean | "
|
|
279
|
+
'aria-modal'?: (boolean | "false" | "true") | undefined;
|
|
280
|
+
'aria-multiline'?: (boolean | "false" | "true") | undefined;
|
|
281
|
+
'aria-multiselectable'?: (boolean | "false" | "true") | undefined;
|
|
282
282
|
'aria-orientation'?: "horizontal" | "vertical" | undefined | undefined;
|
|
283
283
|
'aria-owns'?: string | undefined | undefined;
|
|
284
284
|
'aria-placeholder'?: string | undefined | undefined;
|
|
285
285
|
'aria-posinset'?: (string | number) | undefined;
|
|
286
|
-
'aria-pressed'?: (boolean | "
|
|
287
|
-
'aria-readonly'?: (boolean | "
|
|
286
|
+
'aria-pressed'?: (boolean | "false" | "true") | "mixed" | undefined;
|
|
287
|
+
'aria-readonly'?: (boolean | "false" | "true") | undefined;
|
|
288
288
|
'aria-relevant'?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined | undefined;
|
|
289
|
-
'aria-required'?: (boolean | "
|
|
289
|
+
'aria-required'?: (boolean | "false" | "true") | undefined;
|
|
290
290
|
'aria-roledescription'?: string | undefined | undefined;
|
|
291
291
|
'aria-rowcount'?: (string | number) | undefined;
|
|
292
292
|
'aria-rowindex'?: (string | number) | undefined;
|
|
293
293
|
'aria-rowspan'?: (string | number) | undefined;
|
|
294
|
-
'aria-selected'?: (boolean | "
|
|
294
|
+
'aria-selected'?: (boolean | "false" | "true") | undefined;
|
|
295
295
|
'aria-setsize'?: (string | number) | undefined;
|
|
296
296
|
'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined | undefined;
|
|
297
297
|
'aria-valuemax'?: (string | number) | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lib.d.ts","sourceRoot":"","sources":["../../../src/dev-tools/test-harness/lib.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EACV,YAAY,EAEZ,SAAS,EAEV,MAAM,SAAS,CAAC;AAMjB;;GAEG;AACH,eAAO,MAAM,oBAAoB,eAAe,CAAC;AAiBjD;;;;GAIG;AACH,wBAAsB,YAAY,IAAI,OAAO,CAAC,MAAM,CAAC,CA6BpD;AAED;;;;GAIG;AACH,wBAAsB,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC,CAsBhD;
|
|
1
|
+
{"version":3,"file":"lib.d.ts","sourceRoot":"","sources":["../../../src/dev-tools/test-harness/lib.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EACV,YAAY,EAEZ,SAAS,EAEV,MAAM,SAAS,CAAC;AAMjB;;GAEG;AACH,eAAO,MAAM,oBAAoB,eAAe,CAAC;AAiBjD;;;;GAIG;AACH,wBAAsB,YAAY,IAAI,OAAO,CAAC,MAAM,CAAC,CA6BpD;AAED;;;;GAIG;AACH,wBAAsB,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC,CAsBhD;AA8FD;;;;;;GAMG;AACH,wBAAsB,sBAAsB,IAAI,OAAO,CAAC,MAAM,CAAC,CAkF9D;AAoCD;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,SAAS,EAAE,GAAG,YAAY,EAAE,CAStE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DevToolsFloatingButton.vue.d.ts","sourceRoot":"","sources":["../../../src/dev-tools/vite-plugin/DevToolsFloatingButton.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DevToolsFloatingButton.vue.d.ts","sourceRoot":"","sources":["../../../src/dev-tools/vite-plugin/DevToolsFloatingButton.vue"],"names":[],"mappings":"AAwPA,UAAU,KAAK;IACb,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAoPD,QAAA,MAAM,YAAY;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -2,7 +2,6 @@ import type { TestGroup } from "../test-harness/types";
|
|
|
2
2
|
interface Props {
|
|
3
3
|
testGroups: TestGroup[];
|
|
4
4
|
appName: string;
|
|
5
|
-
buttonStyle?: Record<string, string>;
|
|
6
5
|
keyboardShortcut?: string;
|
|
7
6
|
}
|
|
8
7
|
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DevToolsRoot.vue.d.ts","sourceRoot":"","sources":["../../../src/dev-tools/vite-plugin/DevToolsRoot.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DevToolsRoot.vue.d.ts","sourceRoot":"","sources":["../../../src/dev-tools/vite-plugin/DevToolsRoot.vue"],"names":[],"mappings":"AAmRA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAQvD,UAAU,KAAK;IACb,UAAU,EAAE,SAAS,EAAE,CAAC;IACxB,OAAO,EAAE,MAAM,CAAC;IAChB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAwSD,QAAA,MAAM,YAAY,sRAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,20 +1,19 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
2
|
-
`),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const C=require("node:fs"),w=require("node:module"),I=require("glob"),f=require("path");var l=typeof document<"u"?document.currentScript:null;async function g(r,s="src/tests",p="**/*.primitive-test.ts"){const a=f.join(r,s);return(await I.glob(p,{cwd:a,ignore:["**/node_modules/**","**/dist/**"],absolute:!0})).map(n=>({absolutePath:n,relativePath:f.relative(r,n)}))}const y="virtual:primitive-devtools",c="\0"+y,_="virtual:primitive-devtools-init",h="\0"+_;function A(r={}){const{testsDir:s="src/tests",testPattern:p="**/*.primitive-test.ts",appName:a="Primitive App",enabled:u=!0,keyboardShortcut:n}=r;let d,v;const b=w.createRequire(typeof document>"u"?require("url").pathToFileURL(__filename).href:l&&l.tagName.toUpperCase()==="SCRIPT"&&l.src||new URL("dev-tools/vite-plugin/index.cjs",document.baseURI).href).resolve("vue-sonner/style.css"),S=C.readFileSync(b,"utf-8");return{name:"primitive-devtools",configResolved(e){d=e.root,v=e.command==="serve"},resolveId(e){if(e===y)return c;if(e===_)return h},async load(e){if(e===c){const t=await g(d,s,p),o=t.map((m,i)=>`import testGroup${i} from '${m.absolutePath}';`).join(`
|
|
2
|
+
`),T=t.map((m,i)=>`...(Array.isArray(testGroup${i}) ? testGroup${i} : [testGroup${i}])`).join(`,
|
|
3
3
|
`);return`
|
|
4
4
|
${o}
|
|
5
5
|
|
|
6
6
|
export const testGroups = [
|
|
7
|
-
${t.length>0?
|
|
7
|
+
${t.length>0?T:""}
|
|
8
8
|
];
|
|
9
9
|
|
|
10
10
|
export const appName = ${JSON.stringify(a)};
|
|
11
|
-
export const
|
|
12
|
-
|
|
13
|
-
`}if(e===y)return`
|
|
11
|
+
export const keyboardShortcut = ${JSON.stringify(n)};
|
|
12
|
+
`}if(e===h)return`
|
|
14
13
|
import { createApp, h } from 'vue';
|
|
15
14
|
import { createPinia } from 'pinia';
|
|
16
15
|
import { DevToolsRoot, jsBaoClientService } from 'primitive-app';
|
|
17
|
-
import { testGroups, appName,
|
|
16
|
+
import { testGroups, appName, keyboardShortcut } from 'virtual:primitive-devtools';
|
|
18
17
|
|
|
19
18
|
// Wait for the host app to register its client on window.__primitiveAppClient
|
|
20
19
|
async function waitForAppClient() {
|
|
@@ -49,7 +48,7 @@ const observer = new MutationObserver(async (mutations, obs) => {
|
|
|
49
48
|
// The jsBaoClientService is linked to the app's client above
|
|
50
49
|
const devToolsApp = createApp({
|
|
51
50
|
render() {
|
|
52
|
-
return h(DevToolsRoot, { testGroups, appName,
|
|
51
|
+
return h(DevToolsRoot, { testGroups, appName, keyboardShortcut });
|
|
53
52
|
}
|
|
54
53
|
});
|
|
55
54
|
devToolsApp.use(createPinia());
|
|
@@ -58,6 +57,6 @@ const observer = new MutationObserver(async (mutations, obs) => {
|
|
|
58
57
|
});
|
|
59
58
|
|
|
60
59
|
observer.observe(document.body, { childList: true, subtree: true });
|
|
61
|
-
`},transformIndexHtml(e){if(!v||!u)return e;const t=`<style data-primitive-devtools-sonner>${
|
|
60
|
+
`},transformIndexHtml(e){if(!v||!u)return e;const t=`<style data-primitive-devtools-sonner>${S}</style>`;return e.replace("</body>",`${t}
|
|
62
61
|
<script type="module" src="/@id/__x00__virtual:primitive-devtools-init"><\/script>
|
|
63
|
-
</body>`)},hotUpdate({file:e,server:t}){if(e.endsWith(".primitive-test.ts")){const o=t.moduleGraph.getModuleById(c);o&&(t.moduleGraph.invalidateModule(o),t.ws.send({type:"full-reload"}))}}}}exports.primitiveDevTools=
|
|
62
|
+
</body>`)},hotUpdate({file:e,server:t}){if(e.endsWith(".primitive-test.ts")){const o=t.moduleGraph.getModuleById(c);o&&(t.moduleGraph.invalidateModule(o),t.ws.send({type:"full-reload"}))}}}}exports.primitiveDevTools=A;
|