@poveste/controls 0.13.1 → 0.15.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/{HstJson-Dz6cYiFP.es.js → HstJson-3DiXqRjL.es.js} +1555 -1543
- package/dist/components/HstCopyIcon.story.vue.d.ts +2 -1
- package/dist/components/HstCopyIcon.vue.d.ts +3 -2
- 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 +4 -3
- 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/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/colorselect/HstColorSelect.story.vue.d.ts +2 -1
- package/dist/components/colorselect/HstColorSelect.vue.d.ts +4 -3
- 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 +7 -13
- 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 +37 -43
- package/dist/index.es.css +1 -1
- package/dist/index.es.js +75 -74
- package/dist/style-standalone.css +6 -0
- package/package.json +8 -8
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
declare const
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
2
3
|
export default _default;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { Awaitable } from '@poveste/shared';
|
|
2
|
-
declare const _default:
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
4
|
+
declare const __VLS_export: import("vue").DefineComponent<{
|
|
3
5
|
content: string | (() => Awaitable<string>);
|
|
4
6
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
5
7
|
content: string | (() => Awaitable<string>);
|
|
6
8
|
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
-
export default _default;
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
declare const _default:
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
4
|
+
title?: string | undefined;
|
|
5
|
+
tag?: string | undefined;
|
|
4
6
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
5
|
-
title?: string;
|
|
6
|
-
tag?: string;
|
|
7
|
+
title?: string | undefined;
|
|
8
|
+
tag?: string | undefined;
|
|
7
9
|
}> & Readonly<{}>, {
|
|
8
|
-
title: string;
|
|
9
|
-
tag: string;
|
|
10
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
10
|
+
title: string | undefined;
|
|
11
|
+
tag: string | undefined;
|
|
12
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
11
13
|
default?: (props: {}) => any;
|
|
12
14
|
} & {
|
|
13
15
|
actions?: (props: {}) => any;
|
|
14
16
|
}>;
|
|
15
|
-
export default _default;
|
|
16
17
|
type __VLS_WithSlots<T, S> = T & {
|
|
17
18
|
new (): {
|
|
18
19
|
$slots: S;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
declare const
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
2
3
|
export default _default;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
2
4
|
color?: "flat" | "default" | "primary";
|
|
3
5
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
4
6
|
color?: "flat" | "default" | "primary";
|
|
5
|
-
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
7
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
6
8
|
default?: (props: {}) => any;
|
|
7
9
|
}>;
|
|
8
|
-
export default _default;
|
|
9
10
|
type __VLS_WithSlots<T, S> = T & {
|
|
10
11
|
new (): {
|
|
11
12
|
$slots: S;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
declare const
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
2
3
|
export default _default;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import type { HstControlOption } from '../../types';
|
|
2
|
-
declare const _default:
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
4
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
3
5
|
title?: string;
|
|
4
6
|
modelValue?: string;
|
|
5
7
|
options: string[] | number[] | HstControlOption[] | Record<string, string | number>;
|
|
@@ -14,7 +16,6 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
14
16
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
15
17
|
actions?: (props: {}) => any;
|
|
16
18
|
}>;
|
|
17
|
-
export default _default;
|
|
18
19
|
type __VLS_WithSlots<T, S> = T & {
|
|
19
20
|
new (): {
|
|
20
21
|
$slots: S;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
declare const
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
2
3
|
export default _default;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
2
4
|
modelValue?: (boolean | "true" | "false") | null;
|
|
3
5
|
title?: string;
|
|
4
6
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -8,10 +10,9 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
8
10
|
title?: string;
|
|
9
11
|
}> & Readonly<{
|
|
10
12
|
"onUpdate:modelValue"?: (newValue: boolean | "true" | "false") => any;
|
|
11
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
13
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
12
14
|
actions?: (props: {}) => any;
|
|
13
15
|
}>;
|
|
14
|
-
export default _default;
|
|
15
16
|
type __VLS_WithSlots<T, S> = T & {
|
|
16
17
|
new (): {
|
|
17
18
|
$slots: S;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
declare const
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
2
3
|
export default _default;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import type { HstControlOption } from '../../types';
|
|
2
|
-
declare const _default:
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
4
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
3
5
|
title?: string;
|
|
4
6
|
modelValue: Array<string>;
|
|
5
7
|
options: string[] | HstControlOption[];
|
|
@@ -14,7 +16,6 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
14
16
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
15
17
|
actions?: (props: {}) => any;
|
|
16
18
|
}>;
|
|
17
|
-
export default _default;
|
|
18
19
|
type __VLS_WithSlots<T, S> = T & {
|
|
19
20
|
new (): {
|
|
20
21
|
$slots: S;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
declare const
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
2
3
|
export default _default;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
declare const _default:
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<{
|
|
4
|
+
modelValue?: boolean | undefined;
|
|
5
|
+
withToggle?: boolean | undefined;
|
|
4
6
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
7
|
"update:modelValue": (newValue: boolean) => void;
|
|
6
8
|
}, string, import("vue").PublicProps, Readonly<{
|
|
7
|
-
modelValue?: boolean;
|
|
8
|
-
withToggle?: boolean;
|
|
9
|
+
modelValue?: boolean | undefined;
|
|
10
|
+
withToggle?: boolean | undefined;
|
|
9
11
|
}> & Readonly<{
|
|
10
12
|
"onUpdate:modelValue"?: (newValue: boolean) => any;
|
|
11
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
12
|
-
export default _default;
|
|
13
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
declare const
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
2
3
|
export default _default;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
2
4
|
title?: string;
|
|
3
5
|
modelValue?: string | null;
|
|
4
6
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -8,10 +10,9 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
8
10
|
modelValue?: string | null;
|
|
9
11
|
}> & Readonly<{
|
|
10
12
|
"onUpdate:modelValue"?: (newValue: string) => any;
|
|
11
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
13
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
12
14
|
actions?: (props: {}) => any;
|
|
13
15
|
}>;
|
|
14
|
-
export default _default;
|
|
15
16
|
type __VLS_WithSlots<T, S> = T & {
|
|
16
17
|
new (): {
|
|
17
18
|
$slots: S;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
declare const
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
2
3
|
export default _default;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
2
4
|
shades: Record<string, any>;
|
|
3
5
|
getName?: (key: string, color: string) => string;
|
|
4
6
|
search?: string;
|
|
@@ -11,7 +13,6 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
11
13
|
color: string;
|
|
12
14
|
}) => any;
|
|
13
15
|
}>;
|
|
14
|
-
export default _default;
|
|
15
16
|
type __VLS_WithSlots<T, S> = T & {
|
|
16
17
|
new (): {
|
|
17
18
|
$slots: S;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
declare const
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
2
3
|
export default _default;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
2
4
|
tokens: Record<string, string | number | any[] | Record<string, any>>;
|
|
3
5
|
colSize?: number;
|
|
4
6
|
getName?: (key: string, value: string | number | any[] | Record<string, any>) => string;
|
|
@@ -7,7 +9,6 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
7
9
|
colSize?: number;
|
|
8
10
|
getName?: (key: string, value: string | number | any[] | Record<string, any>) => string;
|
|
9
11
|
}> & Readonly<{}>, {
|
|
10
|
-
getName: (key: string, value: string | number | any[] | Record<string, any>) => string;
|
|
11
12
|
colSize: number;
|
|
12
13
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
13
14
|
default?: (props: {
|
|
@@ -18,7 +19,6 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
18
19
|
};
|
|
19
20
|
}) => any;
|
|
20
21
|
}>;
|
|
21
|
-
export default _default;
|
|
22
22
|
type __VLS_WithSlots<T, S> = T & {
|
|
23
23
|
new (): {
|
|
24
24
|
$slots: S;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
declare const
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
2
3
|
export default _default;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
2
4
|
tokens: Record<string, string | number | any[] | Record<string, any>>;
|
|
3
5
|
getName?: (key: string, value: string | number | any[] | Record<string, any>) => string;
|
|
4
6
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
@@ -13,7 +15,6 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
13
15
|
};
|
|
14
16
|
}) => any;
|
|
15
17
|
}>;
|
|
16
|
-
export default _default;
|
|
17
18
|
type __VLS_WithSlots<T, S> = T & {
|
|
18
19
|
new (): {
|
|
19
20
|
$slots: S;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
declare const
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
2
3
|
export default _default;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
2
4
|
title?: string;
|
|
3
5
|
modelValue: unknown;
|
|
4
6
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -11,7 +13,6 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
11
13
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
12
14
|
actions?: (props: {}) => any;
|
|
13
15
|
}>;
|
|
14
|
-
export default _default;
|
|
15
16
|
type __VLS_WithSlots<T, S> = T & {
|
|
16
17
|
new (): {
|
|
17
18
|
$slots: S;
|
|
@@ -1,15 +1,9 @@
|
|
|
1
|
+
export declare function stringifyState(value: unknown, space?: number): string;
|
|
1
2
|
/**
|
|
2
|
-
* `
|
|
3
|
-
*
|
|
4
|
-
* State reaches this control straight out of a story's own scope, so it holds
|
|
5
|
-
* whatever a `<script setup>` holds: a function, a DOM node, an object that
|
|
6
|
-
* refers back to itself. `JSON.stringify` throws on the cycle, and it throws
|
|
7
|
-
* from inside a lifecycle hook — which takes the rest of that flush with it, so
|
|
8
|
-
* the panel and the toolbar beside it never mount. A marker in the editor is
|
|
9
|
-
* the smaller loss, and it is what the story events pane already does.
|
|
10
|
-
*
|
|
11
|
-
* Nodes and windows are named rather than walked. Both are cyclic, so the guard
|
|
12
|
-
* below would terminate on them, but only after walking a few thousand
|
|
13
|
-
* properties of `window` on every keystroke.
|
|
3
|
+
* `stringifyState`, and whether the budget cut the document short. A truncated
|
|
4
|
+
* document is not the value, so nothing may parse it back into the model.
|
|
14
5
|
*/
|
|
15
|
-
export declare function
|
|
6
|
+
export declare function serializeState(value: unknown, space?: number): {
|
|
7
|
+
doc: string;
|
|
8
|
+
truncated: boolean;
|
|
9
|
+
};
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
declare const
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
2
3
|
export default _default;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
2
4
|
title?: string;
|
|
3
5
|
modelValue?: number | null;
|
|
4
6
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -8,10 +10,9 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
8
10
|
modelValue?: number | null;
|
|
9
11
|
}> & Readonly<{
|
|
10
12
|
"onUpdate:modelValue"?: (newValue: number) => any;
|
|
11
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
13
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
12
14
|
actions?: (props: {}) => any;
|
|
13
15
|
}>;
|
|
14
|
-
export default _default;
|
|
15
16
|
type __VLS_WithSlots<T, S> = T & {
|
|
16
17
|
new (): {
|
|
17
18
|
$slots: S;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
declare const
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
2
3
|
export default _default;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import type { HstControlOption } from '../../types';
|
|
2
|
-
declare const _default:
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
4
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
3
5
|
title?: string;
|
|
4
6
|
modelValue?: string | null;
|
|
5
7
|
options: HstControlOption[];
|
|
@@ -14,7 +16,6 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
14
16
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
15
17
|
actions?: (props: {}) => any;
|
|
16
18
|
}>;
|
|
17
|
-
export default _default;
|
|
18
19
|
type __VLS_WithSlots<T, S> = T & {
|
|
19
20
|
new (): {
|
|
20
21
|
$slots: S;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import type { HstControlOption } from '../../types';
|
|
2
|
-
declare const _default:
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
4
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
3
5
|
modelValue: string;
|
|
4
6
|
options: Record<string, any> | string[] | number[] | HstControlOption[];
|
|
5
7
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
@@ -11,10 +13,9 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
11
13
|
"onUpdate:modelValue"?: (value: string) => any;
|
|
12
14
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
13
15
|
default?: (props: {
|
|
14
|
-
label: string;
|
|
16
|
+
label: string | undefined;
|
|
15
17
|
}) => any;
|
|
16
18
|
}>;
|
|
17
|
-
export default _default;
|
|
18
19
|
type __VLS_WithSlots<T, S> = T & {
|
|
19
20
|
new (): {
|
|
20
21
|
$slots: S;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
declare const
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
2
3
|
export default _default;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import type { HstControlOption } from '../../types';
|
|
2
|
-
declare const _default:
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
4
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
3
5
|
title?: string;
|
|
4
6
|
modelValue?: any;
|
|
5
7
|
options: Record<string, any> | string[] | HstControlOption[];
|
|
@@ -14,7 +16,6 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
14
16
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
15
17
|
actions?: (props: {}) => any;
|
|
16
18
|
}>;
|
|
17
|
-
export default _default;
|
|
18
19
|
type __VLS_WithSlots<T, S> = T & {
|
|
19
20
|
new (): {
|
|
20
21
|
$slots: S;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
declare const
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
2
3
|
export default _default;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<{
|
|
2
4
|
title?: string;
|
|
3
5
|
modelValue?: number | null;
|
|
4
6
|
min: number;
|
|
@@ -13,4 +15,3 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
13
15
|
}> & Readonly<{
|
|
14
16
|
"onUpdate:modelValue"?: (newValue: number) => any;
|
|
15
17
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
16
|
-
export default _default;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
declare const
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
2
3
|
export default _default;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
2
4
|
title?: string;
|
|
3
5
|
modelValue?: string | null;
|
|
4
6
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -8,10 +10,9 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
8
10
|
modelValue?: string | null;
|
|
9
11
|
}> & Readonly<{
|
|
10
12
|
"onUpdate:modelValue"?: (newValue: string) => any;
|
|
11
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
13
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
12
14
|
actions?: (props: {}) => any;
|
|
13
15
|
}>;
|
|
14
|
-
export default _default;
|
|
15
16
|
type __VLS_WithSlots<T, S> = T & {
|
|
16
17
|
new (): {
|
|
17
18
|
$slots: S;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
declare const
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
2
3
|
export default _default;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
2
4
|
title?: string;
|
|
3
5
|
modelValue?: string | null;
|
|
4
6
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -8,10 +10,9 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
8
10
|
modelValue?: string | null;
|
|
9
11
|
}> & Readonly<{
|
|
10
12
|
"onUpdate:modelValue"?: (newValue: string) => any;
|
|
11
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
13
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
12
14
|
actions?: (props: {}) => any;
|
|
13
15
|
}>;
|
|
14
|
-
export default _default;
|
|
15
16
|
type __VLS_WithSlots<T, S> = T & {
|
|
16
17
|
new (): {
|
|
17
18
|
$slots: S;
|