@cfasim-ui/components 0.4.4 → 0.4.6

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.
@@ -0,0 +1,16 @@
1
+ export type ParamEditorFormat = "json" | "toml" | "yaml";
2
+ export type ParamEditorValue = Record<string, unknown>;
3
+ type __VLS_Props = {
4
+ value: ParamEditorValue;
5
+ format?: ParamEditorFormat;
6
+ height?: string;
7
+ /** Basename for the Export download (no extension). Defaults to
8
+ * `params-YYYYMMDD-HHMMSS` computed at click time. */
9
+ filename?: string;
10
+ };
11
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
12
+ apply: (value: ParamEditorValue) => any;
13
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
14
+ onApply?: ((value: ParamEditorValue) => any) | undefined;
15
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
16
+ export default _default;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,20 @@
1
+ type Format = "json" | "toml" | "yaml";
2
+ type Value = Record<string, unknown>;
3
+ type __VLS_Props = {
4
+ value: Value;
5
+ format?: Format;
6
+ height?: string;
7
+ filename?: string;
8
+ };
9
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
10
+ apply: (value: Value) => any;
11
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
12
+ onApply?: ((value: Value) => any) | undefined;
13
+ }>, {
14
+ height: string;
15
+ format: Format;
16
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
17
+ rootRef: HTMLDivElement;
18
+ fileInput: HTMLInputElement;
19
+ }, HTMLDivElement>;
20
+ export default _default;