@poveste/controls 0.14.0 → 0.16.0
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/README.md +1 -1
- package/dist/HstColor-DHgxKTkm.es.js +2405 -0
- package/dist/HstDate-Ct5Jp_ZD.es.js +4954 -0
- package/dist/{HstJson-Dz6cYiFP.es.js → HstJson-D83KEa9o.es.js} +2846 -2554
- package/dist/HstWrapper-Bm5H3_to.es.js +2835 -0
- package/dist/PopoverTrigger-BVAfE9fE.es.js +974 -0
- package/dist/VisuallyHiddenInput-0it-_FH2.es.js +183 -0
- package/dist/components/HstCopyIcon.story.vue.d.ts +2 -1
- package/dist/components/HstCopyIcon.vue.d.ts +3 -2
- package/dist/components/HstTooltip.vue.d.ts +39 -0
- package/dist/components/HstWrapper.vue.d.ts +10 -9
- package/dist/components/button/HstButton.story.vue.d.ts +2 -1
- package/dist/components/button/HstButton.vue.d.ts +6 -5
- package/dist/components/button/HstButtonGroup.story.vue.d.ts +2 -1
- package/dist/components/button/HstButtonGroup.vue.d.ts +3 -2
- package/dist/components/checkbox/CheckboxVisual.vue.d.ts +7 -0
- package/dist/components/checkbox/HstCheckbox.story.vue.d.ts +2 -1
- package/dist/components/checkbox/HstCheckbox.vue.d.ts +4 -3
- package/dist/components/checkbox/HstCheckboxList.story.vue.d.ts +2 -1
- package/dist/components/checkbox/HstCheckboxList.vue.d.ts +3 -2
- package/dist/components/checkbox/HstSimpleCheckbox.story.vue.d.ts +2 -1
- package/dist/components/checkbox/HstSimpleCheckbox.vue.d.ts +8 -7
- package/dist/components/color/HstColor.story.vue.d.ts +3 -0
- package/dist/components/color/HstColor.vue.d.ts +25 -0
- package/dist/components/colorselect/HstColorSelect.story.vue.d.ts +2 -1
- package/dist/components/colorselect/HstColorSelect.vue.d.ts +4 -3
- package/dist/components/date/HstDate.story.vue.d.ts +3 -0
- package/dist/components/date/HstDate.vue.d.ts +30 -0
- package/dist/components/date/iso.d.ts +5 -0
- package/dist/components/design-tokens/HstColorShades.story.vue.d.ts +2 -1
- package/dist/components/design-tokens/HstColorShades.vue.d.ts +3 -2
- package/dist/components/design-tokens/HstTokenGrid.story.vue.d.ts +2 -1
- package/dist/components/design-tokens/HstTokenGrid.vue.d.ts +3 -3
- package/dist/components/design-tokens/HstTokenList.story.vue.d.ts +2 -1
- package/dist/components/design-tokens/HstTokenList.vue.d.ts +3 -2
- package/dist/components/json/HstJson.story.vue.d.ts +2 -1
- package/dist/components/json/HstJson.vue.d.ts +3 -2
- package/dist/components/json/serialize.d.ts +10 -12
- package/dist/components/number/HstNumber.story.vue.d.ts +2 -1
- package/dist/components/number/HstNumber.vue.d.ts +4 -3
- package/dist/components/radio/HstRadio.story.vue.d.ts +2 -1
- package/dist/components/radio/HstRadio.vue.d.ts +3 -2
- package/dist/components/select/CustomSelect.vue.d.ts +4 -3
- package/dist/components/select/HstSelect.story.vue.d.ts +2 -1
- package/dist/components/select/HstSelect.vue.d.ts +3 -2
- package/dist/components/slider/HstSlider.story.vue.d.ts +2 -1
- package/dist/components/slider/HstSlider.vue.d.ts +3 -2
- package/dist/components/text/HstText.story.vue.d.ts +2 -1
- package/dist/components/text/HstText.vue.d.ts +4 -3
- package/dist/components/textarea/HstTextarea.story.vue.d.ts +2 -1
- package/dist/components/textarea/HstTextarea.vue.d.ts +4 -3
- package/dist/index.d.ts +332 -50
- package/dist/index.es.css +1 -1
- package/dist/index.es.js +2179 -414
- package/dist/portal-target.d.ts +13 -0
- package/dist/style-standalone.css +126 -447
- package/dist/useKbd-DQM4Oqri.es.js +41 -0
- package/dist/useLocale-Dr4PRYn1.es.js +27 -0
- package/package.json +24 -22
- package/dist/HstWrapper-C557fRoN.es.js +0 -22
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const HstButton: {
|
|
2
2
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
3
|
-
color?: "
|
|
4
|
-
}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {},
|
|
3
|
+
color?: "default" | "primary" | "flat";
|
|
4
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
5
5
|
P: {};
|
|
6
6
|
B: {};
|
|
7
7
|
D: {};
|
|
@@ -9,13 +9,13 @@ export declare const HstButton: {
|
|
|
9
9
|
M: {};
|
|
10
10
|
Defaults: {};
|
|
11
11
|
}, Readonly<{
|
|
12
|
-
color?: "
|
|
12
|
+
color?: "default" | "primary" | "flat";
|
|
13
13
|
}> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
14
14
|
__isFragment?: never;
|
|
15
15
|
__isTeleport?: never;
|
|
16
16
|
__isSuspense?: never;
|
|
17
17
|
} & import("vue").ComponentOptionsBase<Readonly<{
|
|
18
|
-
color?: "
|
|
18
|
+
color?: "default" | "primary" | "flat";
|
|
19
19
|
}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
20
20
|
$slots: {
|
|
21
21
|
default?: (props: {}) => any;
|
|
@@ -25,7 +25,7 @@ export declare const HstButtonGroup: {
|
|
|
25
25
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
26
26
|
title?: string;
|
|
27
27
|
modelValue?: string;
|
|
28
|
-
options: string[] | number[] | import("./types").HstControlOption[] | Record<string, string | number>;
|
|
28
|
+
options: string[] | number[] | import("./types.js").HstControlOption[] | Record<string, string | number>;
|
|
29
29
|
}> & Readonly<{
|
|
30
30
|
"onUpdate:modelValue"?: (value: string) => any;
|
|
31
31
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
@@ -40,7 +40,7 @@ export declare const HstButtonGroup: {
|
|
|
40
40
|
}, Readonly<{
|
|
41
41
|
title?: string;
|
|
42
42
|
modelValue?: string;
|
|
43
|
-
options: string[] | number[] | import("./types").HstControlOption[] | Record<string, string | number>;
|
|
43
|
+
options: string[] | number[] | import("./types.js").HstControlOption[] | Record<string, string | number>;
|
|
44
44
|
}> & Readonly<{
|
|
45
45
|
"onUpdate:modelValue"?: (value: string) => any;
|
|
46
46
|
}>, {}, {}, {}, {}, {}>;
|
|
@@ -50,7 +50,7 @@ export declare const HstButtonGroup: {
|
|
|
50
50
|
} & import("vue").ComponentOptionsBase<Readonly<{
|
|
51
51
|
title?: string;
|
|
52
52
|
modelValue?: string;
|
|
53
|
-
options: string[] | number[] | import("./types").HstControlOption[] | Record<string, string | number>;
|
|
53
|
+
options: string[] | number[] | import("./types.js").HstControlOption[] | Record<string, string | number>;
|
|
54
54
|
}> & Readonly<{
|
|
55
55
|
"onUpdate:modelValue"?: (value: string) => any;
|
|
56
56
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
@@ -68,7 +68,7 @@ export declare const HstCheckbox: {
|
|
|
68
68
|
"onUpdate:modelValue"?: (newValue: boolean | "true" | "false") => any;
|
|
69
69
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
70
70
|
"update:modelValue": (newValue: boolean | "true" | "false") => void;
|
|
71
|
-
}, import("vue").PublicProps, {},
|
|
71
|
+
}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
72
72
|
P: {};
|
|
73
73
|
B: {};
|
|
74
74
|
D: {};
|
|
@@ -100,7 +100,7 @@ export declare const HstCheckboxList: {
|
|
|
100
100
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
101
101
|
title?: string;
|
|
102
102
|
modelValue: Array<string>;
|
|
103
|
-
options: string[] | import("./types").HstControlOption[];
|
|
103
|
+
options: string[] | import("./types.js").HstControlOption[];
|
|
104
104
|
}> & Readonly<{
|
|
105
105
|
"onUpdate:modelValue"?: (value: string[]) => any;
|
|
106
106
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
@@ -115,7 +115,7 @@ export declare const HstCheckboxList: {
|
|
|
115
115
|
}, Readonly<{
|
|
116
116
|
title?: string;
|
|
117
117
|
modelValue: Array<string>;
|
|
118
|
-
options: string[] | import("./types").HstControlOption[];
|
|
118
|
+
options: string[] | import("./types.js").HstControlOption[];
|
|
119
119
|
}> & Readonly<{
|
|
120
120
|
"onUpdate:modelValue"?: (value: string[]) => any;
|
|
121
121
|
}>, {}, {}, {}, {}, {}>;
|
|
@@ -125,7 +125,7 @@ export declare const HstCheckboxList: {
|
|
|
125
125
|
} & import("vue").ComponentOptionsBase<Readonly<{
|
|
126
126
|
title?: string;
|
|
127
127
|
modelValue: Array<string>;
|
|
128
|
-
options: string[] | import("./types").HstControlOption[];
|
|
128
|
+
options: string[] | import("./types.js").HstControlOption[];
|
|
129
129
|
}> & Readonly<{
|
|
130
130
|
"onUpdate:modelValue"?: (value: string[]) => any;
|
|
131
131
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
@@ -143,7 +143,7 @@ export declare const HstText: {
|
|
|
143
143
|
"onUpdate:modelValue"?: (newValue: string) => any;
|
|
144
144
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
145
145
|
"update:modelValue": (newValue: string) => void;
|
|
146
|
-
}, import("vue").PublicProps, {},
|
|
146
|
+
}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
147
147
|
P: {};
|
|
148
148
|
B: {};
|
|
149
149
|
D: {};
|
|
@@ -179,7 +179,7 @@ export declare const HstNumber: {
|
|
|
179
179
|
"onUpdate:modelValue"?: (newValue: number) => any;
|
|
180
180
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
181
181
|
"update:modelValue": (newValue: number) => void;
|
|
182
|
-
}, import("vue").PublicProps, {},
|
|
182
|
+
}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
183
183
|
P: {};
|
|
184
184
|
B: {};
|
|
185
185
|
D: {};
|
|
@@ -230,7 +230,7 @@ export declare const HstTextarea: {
|
|
|
230
230
|
"onUpdate:modelValue"?: (newValue: string) => any;
|
|
231
231
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
232
232
|
"update:modelValue": (newValue: string) => void;
|
|
233
|
-
}, import("vue").PublicProps, {},
|
|
233
|
+
}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
234
234
|
P: {};
|
|
235
235
|
B: {};
|
|
236
236
|
D: {};
|
|
@@ -262,7 +262,7 @@ export declare const HstSelect: {
|
|
|
262
262
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
263
263
|
title?: string;
|
|
264
264
|
modelValue?: any;
|
|
265
|
-
options: Record<string, any> | string[] | import("./types").HstControlOption[];
|
|
265
|
+
options: Record<string, any> | string[] | import("./types.js").HstControlOption[];
|
|
266
266
|
}> & Readonly<{
|
|
267
267
|
"onUpdate:modelValue"?: (value: any) => any;
|
|
268
268
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
@@ -277,7 +277,7 @@ export declare const HstSelect: {
|
|
|
277
277
|
}, Readonly<{
|
|
278
278
|
title?: string;
|
|
279
279
|
modelValue?: any;
|
|
280
|
-
options: Record<string, any> | string[] | import("./types").HstControlOption[];
|
|
280
|
+
options: Record<string, any> | string[] | import("./types.js").HstControlOption[];
|
|
281
281
|
}> & Readonly<{
|
|
282
282
|
"onUpdate:modelValue"?: (value: any) => any;
|
|
283
283
|
}>, {}, {}, {}, {}, {}>;
|
|
@@ -287,7 +287,7 @@ export declare const HstSelect: {
|
|
|
287
287
|
} & import("vue").ComponentOptionsBase<Readonly<{
|
|
288
288
|
title?: string;
|
|
289
289
|
modelValue?: any;
|
|
290
|
-
options: Record<string, any> | string[] | import("./types").HstControlOption[];
|
|
290
|
+
options: Record<string, any> | string[] | import("./types.js").HstControlOption[];
|
|
291
291
|
}> & Readonly<{
|
|
292
292
|
"onUpdate:modelValue"?: (value: any) => any;
|
|
293
293
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
@@ -366,7 +366,6 @@ export declare const HstTokenGrid: {
|
|
|
366
366
|
colSize?: number;
|
|
367
367
|
getName?: (key: string, value: string | number | any[] | Record<string, any>) => string;
|
|
368
368
|
}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
369
|
-
getName: (key: string, value: string | number | any[] | Record<string, any>) => string;
|
|
370
369
|
colSize: number;
|
|
371
370
|
}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
372
371
|
P: {};
|
|
@@ -380,7 +379,6 @@ export declare const HstTokenGrid: {
|
|
|
380
379
|
colSize?: number;
|
|
381
380
|
getName?: (key: string, value: string | number | any[] | Record<string, any>) => string;
|
|
382
381
|
}> & Readonly<{}>, {}, {}, {}, {}, {
|
|
383
|
-
getName: (key: string, value: string | number | any[] | Record<string, any>) => string;
|
|
384
382
|
colSize: number;
|
|
385
383
|
}>;
|
|
386
384
|
__isFragment?: never;
|
|
@@ -391,7 +389,6 @@ export declare const HstTokenGrid: {
|
|
|
391
389
|
colSize?: number;
|
|
392
390
|
getName?: (key: string, value: string | number | any[] | Record<string, any>) => string;
|
|
393
391
|
}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
394
|
-
getName: (key: string, value: string | number | any[] | Record<string, any>) => string;
|
|
395
392
|
colSize: number;
|
|
396
393
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
397
394
|
$slots: {
|
|
@@ -409,11 +406,68 @@ export declare const HstCopyIcon: import("vue").DefineComponent<{
|
|
|
409
406
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
410
407
|
content: string | (() => import("@poveste/shared").Awaitable<string>);
|
|
411
408
|
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
409
|
+
/**
|
|
410
|
+
* Public because `@poveste/app` uses it too: one wrapper for the whole chrome
|
|
411
|
+
* rather than one per package, which is what floating-vue's single theme was.
|
|
412
|
+
*
|
|
413
|
+
* Deliberately absent from `components` below. That list is the controls a story
|
|
414
|
+
* book registers globally and the Svelte bridge mirrors as `Hst.*`; a tooltip is
|
|
415
|
+
* not a control and has no state to bind.
|
|
416
|
+
*/
|
|
417
|
+
export declare const HstTooltip: {
|
|
418
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
419
|
+
content?: string | null | undefined;
|
|
420
|
+
side?: "top" | "right" | "bottom" | "left";
|
|
421
|
+
offset?: number;
|
|
422
|
+
open?: boolean | undefined;
|
|
423
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
424
|
+
content: string | null | undefined;
|
|
425
|
+
side: "top" | "right" | "bottom" | "left";
|
|
426
|
+
offset: number;
|
|
427
|
+
open: boolean | undefined;
|
|
428
|
+
}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
429
|
+
P: {};
|
|
430
|
+
B: {};
|
|
431
|
+
D: {};
|
|
432
|
+
C: {};
|
|
433
|
+
M: {};
|
|
434
|
+
Defaults: {};
|
|
435
|
+
}, Readonly<{
|
|
436
|
+
content?: string | null | undefined;
|
|
437
|
+
side?: "top" | "right" | "bottom" | "left";
|
|
438
|
+
offset?: number;
|
|
439
|
+
open?: boolean | undefined;
|
|
440
|
+
}> & Readonly<{}>, {}, {}, {}, {}, {
|
|
441
|
+
content: string | null | undefined;
|
|
442
|
+
side: "top" | "right" | "bottom" | "left";
|
|
443
|
+
offset: number;
|
|
444
|
+
open: boolean | undefined;
|
|
445
|
+
}>;
|
|
446
|
+
__isFragment?: never;
|
|
447
|
+
__isTeleport?: never;
|
|
448
|
+
__isSuspense?: never;
|
|
449
|
+
} & import("vue").ComponentOptionsBase<Readonly<{
|
|
450
|
+
content?: string | null | undefined;
|
|
451
|
+
side?: "top" | "right" | "bottom" | "left";
|
|
452
|
+
offset?: number;
|
|
453
|
+
open?: boolean | undefined;
|
|
454
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
455
|
+
content: string | null | undefined;
|
|
456
|
+
side: "top" | "right" | "bottom" | "left";
|
|
457
|
+
offset: number;
|
|
458
|
+
open: boolean | undefined;
|
|
459
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
460
|
+
$slots: {
|
|
461
|
+
default?: (props: {}) => any;
|
|
462
|
+
} & {
|
|
463
|
+
content?: (props: {}) => any;
|
|
464
|
+
};
|
|
465
|
+
});
|
|
412
466
|
export declare const HstRadio: {
|
|
413
467
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
414
468
|
title?: string;
|
|
415
469
|
modelValue?: string | null;
|
|
416
|
-
options: import("./types").HstControlOption[];
|
|
470
|
+
options: import("./types.js").HstControlOption[];
|
|
417
471
|
}> & Readonly<{
|
|
418
472
|
"onUpdate:modelValue"?: (value: string) => any;
|
|
419
473
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
@@ -428,7 +482,7 @@ export declare const HstRadio: {
|
|
|
428
482
|
}, Readonly<{
|
|
429
483
|
title?: string;
|
|
430
484
|
modelValue?: string | null;
|
|
431
|
-
options: import("./types").HstControlOption[];
|
|
485
|
+
options: import("./types.js").HstControlOption[];
|
|
432
486
|
}> & Readonly<{
|
|
433
487
|
"onUpdate:modelValue"?: (value: string) => any;
|
|
434
488
|
}>, {}, {}, {}, {}, {}>;
|
|
@@ -438,7 +492,7 @@ export declare const HstRadio: {
|
|
|
438
492
|
} & import("vue").ComponentOptionsBase<Readonly<{
|
|
439
493
|
title?: string;
|
|
440
494
|
modelValue?: string | null;
|
|
441
|
-
options: import("./types").HstControlOption[];
|
|
495
|
+
options: import("./types.js").HstControlOption[];
|
|
442
496
|
}> & Readonly<{
|
|
443
497
|
"onUpdate:modelValue"?: (value: string) => any;
|
|
444
498
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
@@ -449,9 +503,25 @@ export declare const HstRadio: {
|
|
|
449
503
|
};
|
|
450
504
|
});
|
|
451
505
|
/**
|
|
452
|
-
*
|
|
506
|
+
* The three controls a book pays for only when it uses one.
|
|
507
|
+
*
|
|
508
|
+
* `HstJson` is a CodeMirror editor — 430 KB of this package's 460 (#374).
|
|
509
|
+
* `HstDate` and `HstColor` are Reka's date and colour stacks, 215 KB and 101 KB
|
|
510
|
+
* of a built book, and a book with no date in it was downloading both.
|
|
511
|
+
*
|
|
453
512
|
* Needs `inlineDynamicImports: false` in the build config to mean anything: a
|
|
454
513
|
* single-entry lib build flattens dynamic imports back into one file.
|
|
514
|
+
*
|
|
515
|
+
* Nothing renders until the chunk arrives — no spinner, no reserved box. That is
|
|
516
|
+
* what `HstJson` has always done, and a controls panel is already laid out one
|
|
517
|
+
* row at a time, so a row appearing is the same motion as a row of a longer
|
|
518
|
+
* panel arriving.
|
|
519
|
+
*
|
|
520
|
+
* `name` and `emits` are put back on each wrapper, which carries neither.
|
|
521
|
+
* `@poveste/plugin-svelte`'s Wrap.svelte reads both: it builds its Vue listeners
|
|
522
|
+
* by iterating `controlComponent.emits`, so without this the control renders and
|
|
523
|
+
* edits in a Svelte book and never writes back. `index.spec.ts` pins them against
|
|
524
|
+
* the real components so these copies cannot drift.
|
|
455
525
|
*/
|
|
456
526
|
export declare const HstJson: {
|
|
457
527
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
@@ -492,6 +562,108 @@ export declare const HstJson: {
|
|
|
492
562
|
name: string;
|
|
493
563
|
emits: string[];
|
|
494
564
|
};
|
|
565
|
+
export declare const HstDate: {
|
|
566
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
567
|
+
title?: string | undefined;
|
|
568
|
+
modelValue?: string | null | undefined;
|
|
569
|
+
time?: boolean;
|
|
570
|
+
}> & Readonly<{
|
|
571
|
+
"onUpdate:modelValue"?: (value: string) => any;
|
|
572
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
573
|
+
"update:modelValue": (value: string) => any;
|
|
574
|
+
}, import("vue").PublicProps, {
|
|
575
|
+
time: boolean;
|
|
576
|
+
title: string | undefined;
|
|
577
|
+
modelValue: string | null | undefined;
|
|
578
|
+
}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
579
|
+
P: {};
|
|
580
|
+
B: {};
|
|
581
|
+
D: {};
|
|
582
|
+
C: {};
|
|
583
|
+
M: {};
|
|
584
|
+
Defaults: {};
|
|
585
|
+
}, Readonly<{
|
|
586
|
+
title?: string | undefined;
|
|
587
|
+
modelValue?: string | null | undefined;
|
|
588
|
+
time?: boolean;
|
|
589
|
+
}> & Readonly<{
|
|
590
|
+
"onUpdate:modelValue"?: (value: string) => any;
|
|
591
|
+
}>, {}, {}, {}, {}, {
|
|
592
|
+
time: boolean;
|
|
593
|
+
title: string | undefined;
|
|
594
|
+
modelValue: string | null | undefined;
|
|
595
|
+
}>;
|
|
596
|
+
__isFragment?: never;
|
|
597
|
+
__isTeleport?: never;
|
|
598
|
+
__isSuspense?: never;
|
|
599
|
+
} & import("vue").ComponentOptionsBase<Readonly<{
|
|
600
|
+
title?: string | undefined;
|
|
601
|
+
modelValue?: string | null | undefined;
|
|
602
|
+
time?: boolean;
|
|
603
|
+
}> & Readonly<{
|
|
604
|
+
"onUpdate:modelValue"?: (value: string) => any;
|
|
605
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
606
|
+
"update:modelValue": (value: string) => any;
|
|
607
|
+
}, string, {
|
|
608
|
+
time: boolean;
|
|
609
|
+
title: string | undefined;
|
|
610
|
+
modelValue: string | null | undefined;
|
|
611
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
612
|
+
$slots: {
|
|
613
|
+
actions?: (props: {}) => any;
|
|
614
|
+
};
|
|
615
|
+
}) & {
|
|
616
|
+
name: string;
|
|
617
|
+
emits: string[];
|
|
618
|
+
};
|
|
619
|
+
export declare const HstColor: {
|
|
620
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
621
|
+
title?: string | undefined;
|
|
622
|
+
modelValue?: string | null | undefined;
|
|
623
|
+
}> & Readonly<{
|
|
624
|
+
"onUpdate:modelValue"?: (value: string) => any;
|
|
625
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
626
|
+
"update:modelValue": (value: string) => any;
|
|
627
|
+
}, import("vue").PublicProps, {
|
|
628
|
+
title: string | undefined;
|
|
629
|
+
modelValue: string | null | undefined;
|
|
630
|
+
}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
631
|
+
P: {};
|
|
632
|
+
B: {};
|
|
633
|
+
D: {};
|
|
634
|
+
C: {};
|
|
635
|
+
M: {};
|
|
636
|
+
Defaults: {};
|
|
637
|
+
}, Readonly<{
|
|
638
|
+
title?: string | undefined;
|
|
639
|
+
modelValue?: string | null | undefined;
|
|
640
|
+
}> & Readonly<{
|
|
641
|
+
"onUpdate:modelValue"?: (value: string) => any;
|
|
642
|
+
}>, {}, {}, {}, {}, {
|
|
643
|
+
title: string | undefined;
|
|
644
|
+
modelValue: string | null | undefined;
|
|
645
|
+
}>;
|
|
646
|
+
__isFragment?: never;
|
|
647
|
+
__isTeleport?: never;
|
|
648
|
+
__isSuspense?: never;
|
|
649
|
+
} & import("vue").ComponentOptionsBase<Readonly<{
|
|
650
|
+
title?: string | undefined;
|
|
651
|
+
modelValue?: string | null | undefined;
|
|
652
|
+
}> & Readonly<{
|
|
653
|
+
"onUpdate:modelValue"?: (value: string) => any;
|
|
654
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
655
|
+
"update:modelValue": (value: string) => any;
|
|
656
|
+
}, string, {
|
|
657
|
+
title: string | undefined;
|
|
658
|
+
modelValue: string | null | undefined;
|
|
659
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
660
|
+
$slots: {
|
|
661
|
+
actions?: (props: {}) => any;
|
|
662
|
+
};
|
|
663
|
+
}) & {
|
|
664
|
+
name: string;
|
|
665
|
+
emits: string[];
|
|
666
|
+
};
|
|
495
667
|
export declare const HstColorSelect: {
|
|
496
668
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
497
669
|
title?: string;
|
|
@@ -500,7 +672,7 @@ export declare const HstColorSelect: {
|
|
|
500
672
|
"onUpdate:modelValue"?: (newValue: string) => any;
|
|
501
673
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
502
674
|
"update:modelValue": (newValue: string) => void;
|
|
503
|
-
}, import("vue").PublicProps, {},
|
|
675
|
+
}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
504
676
|
P: {};
|
|
505
677
|
B: {};
|
|
506
678
|
D: {};
|
|
@@ -531,8 +703,8 @@ export declare const HstColorSelect: {
|
|
|
531
703
|
export declare const components: {
|
|
532
704
|
HstButton: {
|
|
533
705
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
534
|
-
color?: "
|
|
535
|
-
}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {},
|
|
706
|
+
color?: "default" | "primary" | "flat";
|
|
707
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
536
708
|
P: {};
|
|
537
709
|
B: {};
|
|
538
710
|
D: {};
|
|
@@ -540,13 +712,13 @@ export declare const components: {
|
|
|
540
712
|
M: {};
|
|
541
713
|
Defaults: {};
|
|
542
714
|
}, Readonly<{
|
|
543
|
-
color?: "
|
|
715
|
+
color?: "default" | "primary" | "flat";
|
|
544
716
|
}> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
545
717
|
__isFragment?: never;
|
|
546
718
|
__isTeleport?: never;
|
|
547
719
|
__isSuspense?: never;
|
|
548
720
|
} & import("vue").ComponentOptionsBase<Readonly<{
|
|
549
|
-
color?: "
|
|
721
|
+
color?: "default" | "primary" | "flat";
|
|
550
722
|
}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
551
723
|
$slots: {
|
|
552
724
|
default?: (props: {}) => any;
|
|
@@ -556,7 +728,7 @@ export declare const components: {
|
|
|
556
728
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
557
729
|
title?: string;
|
|
558
730
|
modelValue?: string;
|
|
559
|
-
options: string[] | number[] | import("./types").HstControlOption[] | Record<string, string | number>;
|
|
731
|
+
options: string[] | number[] | import("./types.js").HstControlOption[] | Record<string, string | number>;
|
|
560
732
|
}> & Readonly<{
|
|
561
733
|
"onUpdate:modelValue"?: (value: string) => any;
|
|
562
734
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
@@ -571,7 +743,7 @@ export declare const components: {
|
|
|
571
743
|
}, Readonly<{
|
|
572
744
|
title?: string;
|
|
573
745
|
modelValue?: string;
|
|
574
|
-
options: string[] | number[] | import("./types").HstControlOption[] | Record<string, string | number>;
|
|
746
|
+
options: string[] | number[] | import("./types.js").HstControlOption[] | Record<string, string | number>;
|
|
575
747
|
}> & Readonly<{
|
|
576
748
|
"onUpdate:modelValue"?: (value: string) => any;
|
|
577
749
|
}>, {}, {}, {}, {}, {}>;
|
|
@@ -581,7 +753,7 @@ export declare const components: {
|
|
|
581
753
|
} & import("vue").ComponentOptionsBase<Readonly<{
|
|
582
754
|
title?: string;
|
|
583
755
|
modelValue?: string;
|
|
584
|
-
options: string[] | number[] | import("./types").HstControlOption[] | Record<string, string | number>;
|
|
756
|
+
options: string[] | number[] | import("./types.js").HstControlOption[] | Record<string, string | number>;
|
|
585
757
|
}> & Readonly<{
|
|
586
758
|
"onUpdate:modelValue"?: (value: string) => any;
|
|
587
759
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
@@ -599,7 +771,7 @@ export declare const components: {
|
|
|
599
771
|
"onUpdate:modelValue"?: (newValue: boolean | "true" | "false") => any;
|
|
600
772
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
601
773
|
"update:modelValue": (newValue: boolean | "true" | "false") => void;
|
|
602
|
-
}, import("vue").PublicProps, {},
|
|
774
|
+
}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
603
775
|
P: {};
|
|
604
776
|
B: {};
|
|
605
777
|
D: {};
|
|
@@ -631,7 +803,7 @@ export declare const components: {
|
|
|
631
803
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
632
804
|
title?: string;
|
|
633
805
|
modelValue: Array<string>;
|
|
634
|
-
options: string[] | import("./types").HstControlOption[];
|
|
806
|
+
options: string[] | import("./types.js").HstControlOption[];
|
|
635
807
|
}> & Readonly<{
|
|
636
808
|
"onUpdate:modelValue"?: (value: string[]) => any;
|
|
637
809
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
@@ -646,7 +818,7 @@ export declare const components: {
|
|
|
646
818
|
}, Readonly<{
|
|
647
819
|
title?: string;
|
|
648
820
|
modelValue: Array<string>;
|
|
649
|
-
options: string[] | import("./types").HstControlOption[];
|
|
821
|
+
options: string[] | import("./types.js").HstControlOption[];
|
|
650
822
|
}> & Readonly<{
|
|
651
823
|
"onUpdate:modelValue"?: (value: string[]) => any;
|
|
652
824
|
}>, {}, {}, {}, {}, {}>;
|
|
@@ -656,7 +828,7 @@ export declare const components: {
|
|
|
656
828
|
} & import("vue").ComponentOptionsBase<Readonly<{
|
|
657
829
|
title?: string;
|
|
658
830
|
modelValue: Array<string>;
|
|
659
|
-
options: string[] | import("./types").HstControlOption[];
|
|
831
|
+
options: string[] | import("./types.js").HstControlOption[];
|
|
660
832
|
}> & Readonly<{
|
|
661
833
|
"onUpdate:modelValue"?: (value: string[]) => any;
|
|
662
834
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
@@ -674,7 +846,7 @@ export declare const components: {
|
|
|
674
846
|
"onUpdate:modelValue"?: (newValue: string) => any;
|
|
675
847
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
676
848
|
"update:modelValue": (newValue: string) => void;
|
|
677
|
-
}, import("vue").PublicProps, {},
|
|
849
|
+
}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
678
850
|
P: {};
|
|
679
851
|
B: {};
|
|
680
852
|
D: {};
|
|
@@ -710,7 +882,7 @@ export declare const components: {
|
|
|
710
882
|
"onUpdate:modelValue"?: (newValue: number) => any;
|
|
711
883
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
712
884
|
"update:modelValue": (newValue: number) => void;
|
|
713
|
-
}, import("vue").PublicProps, {},
|
|
885
|
+
}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
714
886
|
P: {};
|
|
715
887
|
B: {};
|
|
716
888
|
D: {};
|
|
@@ -761,7 +933,7 @@ export declare const components: {
|
|
|
761
933
|
"onUpdate:modelValue"?: (newValue: string) => any;
|
|
762
934
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
763
935
|
"update:modelValue": (newValue: string) => void;
|
|
764
|
-
}, import("vue").PublicProps, {},
|
|
936
|
+
}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
765
937
|
P: {};
|
|
766
938
|
B: {};
|
|
767
939
|
D: {};
|
|
@@ -793,7 +965,7 @@ export declare const components: {
|
|
|
793
965
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
794
966
|
title?: string;
|
|
795
967
|
modelValue?: any;
|
|
796
|
-
options: Record<string, any> | string[] | import("./types").HstControlOption[];
|
|
968
|
+
options: Record<string, any> | string[] | import("./types.js").HstControlOption[];
|
|
797
969
|
}> & Readonly<{
|
|
798
970
|
"onUpdate:modelValue"?: (value: any) => any;
|
|
799
971
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
@@ -808,7 +980,7 @@ export declare const components: {
|
|
|
808
980
|
}, Readonly<{
|
|
809
981
|
title?: string;
|
|
810
982
|
modelValue?: any;
|
|
811
|
-
options: Record<string, any> | string[] | import("./types").HstControlOption[];
|
|
983
|
+
options: Record<string, any> | string[] | import("./types.js").HstControlOption[];
|
|
812
984
|
}> & Readonly<{
|
|
813
985
|
"onUpdate:modelValue"?: (value: any) => any;
|
|
814
986
|
}>, {}, {}, {}, {}, {}>;
|
|
@@ -818,7 +990,7 @@ export declare const components: {
|
|
|
818
990
|
} & import("vue").ComponentOptionsBase<Readonly<{
|
|
819
991
|
title?: string;
|
|
820
992
|
modelValue?: any;
|
|
821
|
-
options: Record<string, any> | string[] | import("./types").HstControlOption[];
|
|
993
|
+
options: Record<string, any> | string[] | import("./types.js").HstControlOption[];
|
|
822
994
|
}> & Readonly<{
|
|
823
995
|
"onUpdate:modelValue"?: (value: any) => any;
|
|
824
996
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
@@ -832,7 +1004,7 @@ export declare const components: {
|
|
|
832
1004
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
833
1005
|
title?: string;
|
|
834
1006
|
modelValue?: string | null;
|
|
835
|
-
options: import("./types").HstControlOption[];
|
|
1007
|
+
options: import("./types.js").HstControlOption[];
|
|
836
1008
|
}> & Readonly<{
|
|
837
1009
|
"onUpdate:modelValue"?: (value: string) => any;
|
|
838
1010
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
@@ -847,7 +1019,7 @@ export declare const components: {
|
|
|
847
1019
|
}, Readonly<{
|
|
848
1020
|
title?: string;
|
|
849
1021
|
modelValue?: string | null;
|
|
850
|
-
options: import("./types").HstControlOption[];
|
|
1022
|
+
options: import("./types.js").HstControlOption[];
|
|
851
1023
|
}> & Readonly<{
|
|
852
1024
|
"onUpdate:modelValue"?: (value: string) => any;
|
|
853
1025
|
}>, {}, {}, {}, {}, {}>;
|
|
@@ -857,7 +1029,7 @@ export declare const components: {
|
|
|
857
1029
|
} & import("vue").ComponentOptionsBase<Readonly<{
|
|
858
1030
|
title?: string;
|
|
859
1031
|
modelValue?: string | null;
|
|
860
|
-
options: import("./types").HstControlOption[];
|
|
1032
|
+
options: import("./types.js").HstControlOption[];
|
|
861
1033
|
}> & Readonly<{
|
|
862
1034
|
"onUpdate:modelValue"?: (value: string) => any;
|
|
863
1035
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
@@ -867,6 +1039,108 @@ export declare const components: {
|
|
|
867
1039
|
actions?: (props: {}) => any;
|
|
868
1040
|
};
|
|
869
1041
|
});
|
|
1042
|
+
HstColor: {
|
|
1043
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
1044
|
+
title?: string | undefined;
|
|
1045
|
+
modelValue?: string | null | undefined;
|
|
1046
|
+
}> & Readonly<{
|
|
1047
|
+
"onUpdate:modelValue"?: (value: string) => any;
|
|
1048
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
1049
|
+
"update:modelValue": (value: string) => any;
|
|
1050
|
+
}, import("vue").PublicProps, {
|
|
1051
|
+
title: string | undefined;
|
|
1052
|
+
modelValue: string | null | undefined;
|
|
1053
|
+
}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
1054
|
+
P: {};
|
|
1055
|
+
B: {};
|
|
1056
|
+
D: {};
|
|
1057
|
+
C: {};
|
|
1058
|
+
M: {};
|
|
1059
|
+
Defaults: {};
|
|
1060
|
+
}, Readonly<{
|
|
1061
|
+
title?: string | undefined;
|
|
1062
|
+
modelValue?: string | null | undefined;
|
|
1063
|
+
}> & Readonly<{
|
|
1064
|
+
"onUpdate:modelValue"?: (value: string) => any;
|
|
1065
|
+
}>, {}, {}, {}, {}, {
|
|
1066
|
+
title: string | undefined;
|
|
1067
|
+
modelValue: string | null | undefined;
|
|
1068
|
+
}>;
|
|
1069
|
+
__isFragment?: never;
|
|
1070
|
+
__isTeleport?: never;
|
|
1071
|
+
__isSuspense?: never;
|
|
1072
|
+
} & import("vue").ComponentOptionsBase<Readonly<{
|
|
1073
|
+
title?: string | undefined;
|
|
1074
|
+
modelValue?: string | null | undefined;
|
|
1075
|
+
}> & Readonly<{
|
|
1076
|
+
"onUpdate:modelValue"?: (value: string) => any;
|
|
1077
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
1078
|
+
"update:modelValue": (value: string) => any;
|
|
1079
|
+
}, string, {
|
|
1080
|
+
title: string | undefined;
|
|
1081
|
+
modelValue: string | null | undefined;
|
|
1082
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
1083
|
+
$slots: {
|
|
1084
|
+
actions?: (props: {}) => any;
|
|
1085
|
+
};
|
|
1086
|
+
}) & {
|
|
1087
|
+
name: string;
|
|
1088
|
+
emits: string[];
|
|
1089
|
+
};
|
|
1090
|
+
HstDate: {
|
|
1091
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
1092
|
+
title?: string | undefined;
|
|
1093
|
+
modelValue?: string | null | undefined;
|
|
1094
|
+
time?: boolean;
|
|
1095
|
+
}> & Readonly<{
|
|
1096
|
+
"onUpdate:modelValue"?: (value: string) => any;
|
|
1097
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
1098
|
+
"update:modelValue": (value: string) => any;
|
|
1099
|
+
}, import("vue").PublicProps, {
|
|
1100
|
+
time: boolean;
|
|
1101
|
+
title: string | undefined;
|
|
1102
|
+
modelValue: string | null | undefined;
|
|
1103
|
+
}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
1104
|
+
P: {};
|
|
1105
|
+
B: {};
|
|
1106
|
+
D: {};
|
|
1107
|
+
C: {};
|
|
1108
|
+
M: {};
|
|
1109
|
+
Defaults: {};
|
|
1110
|
+
}, Readonly<{
|
|
1111
|
+
title?: string | undefined;
|
|
1112
|
+
modelValue?: string | null | undefined;
|
|
1113
|
+
time?: boolean;
|
|
1114
|
+
}> & Readonly<{
|
|
1115
|
+
"onUpdate:modelValue"?: (value: string) => any;
|
|
1116
|
+
}>, {}, {}, {}, {}, {
|
|
1117
|
+
time: boolean;
|
|
1118
|
+
title: string | undefined;
|
|
1119
|
+
modelValue: string | null | undefined;
|
|
1120
|
+
}>;
|
|
1121
|
+
__isFragment?: never;
|
|
1122
|
+
__isTeleport?: never;
|
|
1123
|
+
__isSuspense?: never;
|
|
1124
|
+
} & import("vue").ComponentOptionsBase<Readonly<{
|
|
1125
|
+
title?: string | undefined;
|
|
1126
|
+
modelValue?: string | null | undefined;
|
|
1127
|
+
time?: boolean;
|
|
1128
|
+
}> & Readonly<{
|
|
1129
|
+
"onUpdate:modelValue"?: (value: string) => any;
|
|
1130
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
1131
|
+
"update:modelValue": (value: string) => any;
|
|
1132
|
+
}, string, {
|
|
1133
|
+
time: boolean;
|
|
1134
|
+
title: string | undefined;
|
|
1135
|
+
modelValue: string | null | undefined;
|
|
1136
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
1137
|
+
$slots: {
|
|
1138
|
+
actions?: (props: {}) => any;
|
|
1139
|
+
};
|
|
1140
|
+
}) & {
|
|
1141
|
+
name: string;
|
|
1142
|
+
emits: string[];
|
|
1143
|
+
};
|
|
870
1144
|
HstJson: {
|
|
871
1145
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
872
1146
|
title?: string;
|
|
@@ -975,7 +1249,6 @@ export declare const components: {
|
|
|
975
1249
|
colSize?: number;
|
|
976
1250
|
getName?: (key: string, value: string | number | any[] | Record<string, any>) => string;
|
|
977
1251
|
}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
978
|
-
getName: (key: string, value: string | number | any[] | Record<string, any>) => string;
|
|
979
1252
|
colSize: number;
|
|
980
1253
|
}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
981
1254
|
P: {};
|
|
@@ -989,7 +1262,6 @@ export declare const components: {
|
|
|
989
1262
|
colSize?: number;
|
|
990
1263
|
getName?: (key: string, value: string | number | any[] | Record<string, any>) => string;
|
|
991
1264
|
}> & Readonly<{}>, {}, {}, {}, {}, {
|
|
992
|
-
getName: (key: string, value: string | number | any[] | Record<string, any>) => string;
|
|
993
1265
|
colSize: number;
|
|
994
1266
|
}>;
|
|
995
1267
|
__isFragment?: never;
|
|
@@ -1000,7 +1272,6 @@ export declare const components: {
|
|
|
1000
1272
|
colSize?: number;
|
|
1001
1273
|
getName?: (key: string, value: string | number | any[] | Record<string, any>) => string;
|
|
1002
1274
|
}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
1003
|
-
getName: (key: string, value: string | number | any[] | Record<string, any>) => string;
|
|
1004
1275
|
colSize: number;
|
|
1005
1276
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
1006
1277
|
$slots: {
|
|
@@ -1026,7 +1297,7 @@ export declare const components: {
|
|
|
1026
1297
|
"onUpdate:modelValue"?: (newValue: string) => any;
|
|
1027
1298
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1028
1299
|
"update:modelValue": (newValue: string) => void;
|
|
1029
|
-
}, import("vue").PublicProps, {},
|
|
1300
|
+
}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
1030
1301
|
P: {};
|
|
1031
1302
|
B: {};
|
|
1032
1303
|
D: {};
|
|
@@ -1055,4 +1326,15 @@ export declare const components: {
|
|
|
1055
1326
|
};
|
|
1056
1327
|
});
|
|
1057
1328
|
};
|
|
1058
|
-
export
|
|
1329
|
+
export { portalTarget } from './portal-target.js';
|
|
1330
|
+
export * from './types.js';
|
|
1331
|
+
/**
|
|
1332
|
+
* Reka's popover primitives, for `@poveste/app`.
|
|
1333
|
+
*
|
|
1334
|
+
* Re-exported rather than imported there directly so a book carries one copy of
|
|
1335
|
+
* Reka: both packages bundle their own dependencies, and `@poveste/vendors`
|
|
1336
|
+
* cannot help — Reka ships a single barrel, and anything an eager import reaches
|
|
1337
|
+
* through it stops being splittable, which is what the date and colour controls
|
|
1338
|
+
* are lazy for (#918).
|
|
1339
|
+
*/
|
|
1340
|
+
export { PopoverAnchor, PopoverContent, PopoverPortal, PopoverRoot, PopoverTrigger } from 'reka-ui';
|