@shwfed/nuxt 0.7.9 → 0.7.11
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/module.json +1 -1
- package/dist/runtime/components/app.d.vue.ts +7 -56
- package/dist/runtime/components/app.vue +17 -404
- package/dist/runtime/components/app.vue.d.ts +7 -56
- package/dist/runtime/components/fields.d.vue.ts +154 -132
- package/dist/runtime/components/fields.vue +30 -295
- package/dist/runtime/components/fields.vue.d.ts +154 -132
- package/dist/runtime/components/table.d.vue.ts +129 -59
- package/dist/runtime/components/table.vue +51 -617
- package/dist/runtime/components/table.vue.d.ts +129 -59
- package/dist/runtime/components/ui/app/App.d.vue.ts +86 -0
- package/dist/runtime/components/ui/app/App.vue +414 -0
- package/dist/runtime/components/ui/app/App.vue.d.ts +86 -0
- package/dist/runtime/components/ui/checkbox/Checkbox.vue +6 -2
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuItem.vue +1 -1
- package/dist/runtime/components/ui/expression-editor/ExpressionEditor.d.vue.ts +30 -0
- package/dist/runtime/components/ui/expression-editor/ExpressionEditor.vue +87 -0
- package/dist/runtime/components/ui/expression-editor/ExpressionEditor.vue.d.ts +30 -0
- package/dist/runtime/components/ui/expression-editor/index.d.ts +1 -0
- package/dist/runtime/components/ui/expression-editor/index.js +1 -0
- package/dist/runtime/components/ui/field/FieldContent.vue +1 -1
- package/dist/runtime/components/ui/field/FieldError.vue +2 -2
- package/dist/runtime/components/ui/field/FieldLabel.vue +1 -1
- package/dist/runtime/components/ui/fields/Fields.d.vue.ts +376 -0
- package/dist/runtime/components/ui/fields/Fields.vue +441 -0
- package/dist/runtime/components/ui/fields/Fields.vue.d.ts +376 -0
- package/dist/runtime/components/ui/fields-configurator/FieldsConfiguratorDialog.d.vue.ts +163 -0
- package/dist/runtime/components/ui/fields-configurator/FieldsConfiguratorDialog.vue +363 -0
- package/dist/runtime/components/ui/fields-configurator/FieldsConfiguratorDialog.vue.d.ts +163 -0
- package/dist/runtime/components/ui/icon-picker/IconPicker.d.vue.ts +15 -0
- package/dist/runtime/components/ui/icon-picker/IconPicker.vue +178 -0
- package/dist/runtime/components/ui/icon-picker/IconPicker.vue.d.ts +15 -0
- package/dist/runtime/components/ui/icon-picker/index.d.ts +1 -0
- package/dist/runtime/components/ui/icon-picker/index.js +1 -0
- package/dist/runtime/components/ui/input/Input.d.vue.ts +1 -0
- package/dist/runtime/components/ui/input/Input.vue +2 -0
- package/dist/runtime/components/ui/input/Input.vue.d.ts +1 -0
- package/dist/runtime/components/ui/input-group/InputGroupAddon.vue +4 -1
- package/dist/runtime/components/ui/input-group/InputGroupCombobox.d.vue.ts +8 -3
- package/dist/runtime/components/ui/input-group/InputGroupCombobox.vue +8 -3
- package/dist/runtime/components/ui/input-group/InputGroupCombobox.vue.d.ts +8 -3
- package/dist/runtime/components/ui/input-group/InputGroupComboboxInput.d.vue.ts +8 -1
- package/dist/runtime/components/ui/input-group/InputGroupComboboxInput.vue +11 -2
- package/dist/runtime/components/ui/input-group/InputGroupComboboxInput.vue.d.ts +8 -1
- package/dist/runtime/components/ui/input-group/InputGroupInput.vue +1 -1
- package/dist/runtime/components/ui/input-group/InputGroupNumberField.d.vue.ts +5 -2
- package/dist/runtime/components/ui/input-group/InputGroupNumberField.vue +10 -4
- package/dist/runtime/components/ui/input-group/InputGroupNumberField.vue.d.ts +5 -2
- package/dist/runtime/components/ui/input-group/InputGroupTextarea.vue +1 -1
- package/dist/runtime/components/ui/input-group/index.js +1 -1
- package/dist/runtime/components/ui/locale/Locale.d.vue.ts +20 -0
- package/dist/runtime/components/ui/locale/Locale.vue +291 -0
- package/dist/runtime/components/ui/locale/Locale.vue.d.ts +20 -0
- package/dist/runtime/components/ui/locale/index.d.ts +1 -0
- package/dist/runtime/components/ui/locale/index.js +1 -0
- package/dist/runtime/components/ui/native-select/NativeSelect.d.vue.ts +2 -2
- package/dist/runtime/components/ui/native-select/NativeSelect.vue +1 -1
- package/dist/runtime/components/ui/native-select/NativeSelect.vue.d.ts +2 -2
- package/dist/runtime/components/ui/native-select/NativeSelectOption.d.vue.ts +1 -0
- package/dist/runtime/components/ui/native-select/NativeSelectOption.vue +4 -1
- package/dist/runtime/components/ui/native-select/NativeSelectOption.vue.d.ts +1 -0
- package/dist/runtime/components/ui/number-field/NumberFieldInput.vue +1 -1
- package/dist/runtime/components/ui/switch/Switch.vue +2 -2
- package/dist/runtime/components/ui/table/Table.d.vue.ts +147 -0
- package/dist/runtime/components/ui/table/Table.vue +952 -0
- package/dist/runtime/components/ui/table/Table.vue.d.ts +147 -0
- package/dist/runtime/components/ui/table/schema.d.ts +151 -0
- package/dist/runtime/components/ui/table/schema.js +142 -0
- package/dist/runtime/components/ui/table-configurator/TableConfiguratorDialog.d.vue.ts +128 -0
- package/dist/runtime/components/ui/table-configurator/TableConfiguratorDialog.vue +2719 -0
- package/dist/runtime/components/ui/table-configurator/TableConfiguratorDialog.vue.d.ts +128 -0
- package/dist/runtime/components/ui/table-configurator/menu.d.ts +37 -0
- package/dist/runtime/components/ui/table-configurator/menu.js +227 -0
- package/dist/runtime/components/ui/tabs/Tabs.d.vue.ts +24 -0
- package/dist/runtime/components/ui/tabs/Tabs.vue +30 -0
- package/dist/runtime/components/ui/tabs/Tabs.vue.d.ts +24 -0
- package/dist/runtime/components/ui/tabs/TabsContent.d.vue.ts +18 -0
- package/dist/runtime/components/ui/tabs/TabsContent.vue +23 -0
- package/dist/runtime/components/ui/tabs/TabsContent.vue.d.ts +18 -0
- package/dist/runtime/components/ui/tabs/TabsList.d.vue.ts +18 -0
- package/dist/runtime/components/ui/tabs/TabsList.vue +25 -0
- package/dist/runtime/components/ui/tabs/TabsList.vue.d.ts +18 -0
- package/dist/runtime/components/ui/tabs/TabsTrigger.d.vue.ts +18 -0
- package/dist/runtime/components/ui/tabs/TabsTrigger.vue +27 -0
- package/dist/runtime/components/ui/tabs/TabsTrigger.vue.d.ts +18 -0
- package/dist/runtime/components/ui/tabs/index.d.ts +4 -0
- package/dist/runtime/components/ui/tabs/index.js +4 -0
- package/dist/runtime/components/ui/textarea/Textarea.d.vue.ts +1 -0
- package/dist/runtime/components/ui/textarea/Textarea.vue +4 -2
- package/dist/runtime/components/ui/textarea/Textarea.vue.d.ts +1 -0
- package/dist/runtime/components/ui/toggle/Toggle.d.vue.ts +34 -0
- package/dist/runtime/components/ui/toggle/Toggle.vue +32 -0
- package/dist/runtime/components/ui/toggle/Toggle.vue.d.ts +34 -0
- package/dist/runtime/components/ui/toggle/index.d.ts +7 -0
- package/dist/runtime/components/ui/toggle/index.js +22 -0
- package/dist/runtime/composables/useTableRenderers.d.ts +2 -1
- package/dist/runtime/composables/useTableRenderers.js +2 -1
- package/dist/runtime/plugins/toast/index.d.ts +2 -2
- package/dist/runtime/style.css +1 -1
- package/dist/runtime/table-renderers/builtins.js +328 -137
- package/dist/runtime/table-renderers/registry.d.ts +2 -1
- package/dist/runtime/table-renderers/registry.js +3 -0
- package/dist/runtime/utils/coders.d.ts +29 -2
- package/dist/runtime/utils/coders.js +40 -2
- package/package.json +8 -6
- /package/dist/runtime/components/{logo.d.vue.ts → ui/logo/Logo.d.vue.ts} +0 -0
- /package/dist/runtime/components/{logo.vue → ui/logo/Logo.vue} +0 -0
- /package/dist/runtime/components/{logo.vue.d.ts → ui/logo/Logo.vue.d.ts} +0 -0
|
@@ -1,152 +1,174 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
export
|
|
4
|
-
type: z.ZodLiteral<"string">;
|
|
5
|
-
path: z.ZodString;
|
|
6
|
-
title: z.ZodArray<z.ZodObject<{
|
|
7
|
-
locale: z.ZodString;
|
|
8
|
-
message: z.ZodString;
|
|
9
|
-
}, z.core.$strip>>;
|
|
10
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
11
|
-
style: z.ZodOptional<z.ZodString>;
|
|
12
|
-
discardEmptyString: z.ZodOptional<z.ZodBoolean>;
|
|
13
|
-
maxLength: z.ZodOptional<z.ZodString>;
|
|
14
|
-
hidden: z.ZodOptional<z.ZodString>;
|
|
15
|
-
disabled: z.ZodOptional<z.ZodString>;
|
|
16
|
-
}, z.core.$strip>;
|
|
17
|
-
export declare const NumberFieldC: z.ZodObject<{
|
|
18
|
-
type: z.ZodLiteral<"number">;
|
|
19
|
-
path: z.ZodString;
|
|
20
|
-
title: z.ZodArray<z.ZodObject<{
|
|
21
|
-
locale: z.ZodString;
|
|
22
|
-
message: z.ZodString;
|
|
23
|
-
}, z.core.$strip>>;
|
|
24
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
25
|
-
style: z.ZodOptional<z.ZodString>;
|
|
26
|
-
min: z.ZodOptional<z.ZodString>;
|
|
27
|
-
max: z.ZodOptional<z.ZodString>;
|
|
28
|
-
step: z.ZodOptional<z.ZodString>;
|
|
29
|
-
hidden: z.ZodOptional<z.ZodString>;
|
|
30
|
-
disabled: z.ZodOptional<z.ZodString>;
|
|
31
|
-
}, z.core.$strip>;
|
|
32
|
-
export declare const SelectFieldC: z.ZodObject<{
|
|
33
|
-
type: z.ZodLiteral<"select">;
|
|
34
|
-
path: z.ZodString;
|
|
35
|
-
title: z.ZodArray<z.ZodObject<{
|
|
36
|
-
locale: z.ZodString;
|
|
37
|
-
message: z.ZodString;
|
|
38
|
-
}, z.core.$strip>>;
|
|
39
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
40
|
-
options: z.ZodString;
|
|
41
|
-
label: z.ZodString;
|
|
42
|
-
value: z.ZodString;
|
|
43
|
-
key: z.ZodString;
|
|
44
|
-
style: z.ZodOptional<z.ZodString>;
|
|
45
|
-
hidden: z.ZodOptional<z.ZodString>;
|
|
46
|
-
disabled: z.ZodOptional<z.ZodString>;
|
|
47
|
-
}, z.core.$strip>;
|
|
48
|
-
export declare const CalendarFieldC: z.ZodObject<{
|
|
49
|
-
type: z.ZodLiteral<"calendar">;
|
|
50
|
-
path: z.ZodString;
|
|
51
|
-
title: z.ZodArray<z.ZodObject<{
|
|
52
|
-
locale: z.ZodString;
|
|
53
|
-
message: z.ZodString;
|
|
54
|
-
}, z.core.$strip>>;
|
|
55
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
56
|
-
style: z.ZodOptional<z.ZodString>;
|
|
57
|
-
mode: z.ZodEnum<{
|
|
58
|
-
year: "year";
|
|
59
|
-
month: "month";
|
|
60
|
-
date: "date";
|
|
61
|
-
}>;
|
|
62
|
-
display: z.ZodOptional<z.ZodString>;
|
|
63
|
-
value: z.ZodString;
|
|
64
|
-
disableDate: z.ZodOptional<z.ZodString>;
|
|
65
|
-
hidden: z.ZodOptional<z.ZodString>;
|
|
66
|
-
disabled: z.ZodOptional<z.ZodString>;
|
|
67
|
-
}, z.core.$strip>;
|
|
68
|
-
export declare const FieldC: z.ZodUnion<readonly [z.ZodObject<{
|
|
69
|
-
type: z.ZodLiteral<"string">;
|
|
70
|
-
path: z.ZodString;
|
|
71
|
-
title: z.ZodArray<z.ZodObject<{
|
|
72
|
-
locale: z.ZodString;
|
|
73
|
-
message: z.ZodString;
|
|
74
|
-
}, z.core.$strip>>;
|
|
75
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
76
|
-
style: z.ZodOptional<z.ZodString>;
|
|
77
|
-
discardEmptyString: z.ZodOptional<z.ZodBoolean>;
|
|
78
|
-
maxLength: z.ZodOptional<z.ZodString>;
|
|
79
|
-
hidden: z.ZodOptional<z.ZodString>;
|
|
80
|
-
disabled: z.ZodOptional<z.ZodString>;
|
|
81
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
82
|
-
type: z.ZodLiteral<"number">;
|
|
83
|
-
path: z.ZodString;
|
|
84
|
-
title: z.ZodArray<z.ZodObject<{
|
|
85
|
-
locale: z.ZodString;
|
|
86
|
-
message: z.ZodString;
|
|
87
|
-
}, z.core.$strip>>;
|
|
88
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
89
|
-
style: z.ZodOptional<z.ZodString>;
|
|
90
|
-
min: z.ZodOptional<z.ZodString>;
|
|
91
|
-
max: z.ZodOptional<z.ZodString>;
|
|
92
|
-
step: z.ZodOptional<z.ZodString>;
|
|
93
|
-
hidden: z.ZodOptional<z.ZodString>;
|
|
94
|
-
disabled: z.ZodOptional<z.ZodString>;
|
|
95
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
96
|
-
type: z.ZodLiteral<"select">;
|
|
97
|
-
path: z.ZodString;
|
|
98
|
-
title: z.ZodArray<z.ZodObject<{
|
|
99
|
-
locale: z.ZodString;
|
|
100
|
-
message: z.ZodString;
|
|
101
|
-
}, z.core.$strip>>;
|
|
102
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
103
|
-
options: z.ZodString;
|
|
104
|
-
label: z.ZodString;
|
|
105
|
-
value: z.ZodString;
|
|
106
|
-
key: z.ZodString;
|
|
107
|
-
style: z.ZodOptional<z.ZodString>;
|
|
108
|
-
hidden: z.ZodOptional<z.ZodString>;
|
|
109
|
-
disabled: z.ZodOptional<z.ZodString>;
|
|
110
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
111
|
-
type: z.ZodLiteral<"calendar">;
|
|
112
|
-
path: z.ZodString;
|
|
113
|
-
title: z.ZodArray<z.ZodObject<{
|
|
114
|
-
locale: z.ZodString;
|
|
115
|
-
message: z.ZodString;
|
|
116
|
-
}, z.core.$strip>>;
|
|
117
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
118
|
-
style: z.ZodOptional<z.ZodString>;
|
|
119
|
-
mode: z.ZodEnum<{
|
|
120
|
-
year: "year";
|
|
121
|
-
month: "month";
|
|
122
|
-
date: "date";
|
|
123
|
-
}>;
|
|
124
|
-
display: z.ZodOptional<z.ZodString>;
|
|
125
|
-
value: z.ZodString;
|
|
126
|
-
disableDate: z.ZodOptional<z.ZodString>;
|
|
127
|
-
hidden: z.ZodOptional<z.ZodString>;
|
|
128
|
-
disabled: z.ZodOptional<z.ZodString>;
|
|
129
|
-
}, z.core.$strip>]>;
|
|
1
|
+
import type { Field } from './ui/fields/Fields.vue.js';
|
|
2
|
+
export { CalendarFieldC, FieldC, NumberFieldC, SelectFieldC, StringFieldC, } from './ui/fields/Fields.vue.js';
|
|
3
|
+
export type { Field } from './ui/fields/Fields.vue.js';
|
|
130
4
|
declare const _default: typeof __VLS_export;
|
|
131
5
|
export default _default;
|
|
132
6
|
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
133
7
|
orientation?: "horizontal" | "vertical" | "floating";
|
|
134
|
-
fields: Effect.Effect<ReadonlyArray<
|
|
8
|
+
fields: import("effect").Effect.Effect<ReadonlyArray<Field>>;
|
|
135
9
|
} & {
|
|
136
10
|
modelValue?: Record<string, unknown>;
|
|
137
11
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
138
12
|
"update:modelValue": (value: Record<string, unknown>) => any;
|
|
13
|
+
"update:fields": (args_0: readonly ({
|
|
14
|
+
type: "string";
|
|
15
|
+
path: string;
|
|
16
|
+
title: readonly {
|
|
17
|
+
locale: "zh" | "ja" | "en" | "ko";
|
|
18
|
+
message: string;
|
|
19
|
+
}[];
|
|
20
|
+
icon?: string | undefined;
|
|
21
|
+
style?: string | undefined;
|
|
22
|
+
discardEmptyString?: boolean | undefined;
|
|
23
|
+
maxLength?: string | undefined;
|
|
24
|
+
hidden?: string | undefined;
|
|
25
|
+
disabled?: string | undefined;
|
|
26
|
+
validation?: readonly Readonly<{
|
|
27
|
+
expression: string;
|
|
28
|
+
message: string;
|
|
29
|
+
}>[] | undefined;
|
|
30
|
+
} | {
|
|
31
|
+
type: "number";
|
|
32
|
+
path: string;
|
|
33
|
+
title: readonly {
|
|
34
|
+
locale: "zh" | "ja" | "en" | "ko";
|
|
35
|
+
message: string;
|
|
36
|
+
}[];
|
|
37
|
+
icon?: string | undefined;
|
|
38
|
+
style?: string | undefined;
|
|
39
|
+
min?: string | undefined;
|
|
40
|
+
max?: string | undefined;
|
|
41
|
+
step?: string | undefined;
|
|
42
|
+
hidden?: string | undefined;
|
|
43
|
+
disabled?: string | undefined;
|
|
44
|
+
validation?: readonly Readonly<{
|
|
45
|
+
expression: string;
|
|
46
|
+
message: string;
|
|
47
|
+
}>[] | undefined;
|
|
48
|
+
} | {
|
|
49
|
+
type: "select";
|
|
50
|
+
path: string;
|
|
51
|
+
title: readonly {
|
|
52
|
+
locale: "zh" | "ja" | "en" | "ko";
|
|
53
|
+
message: string;
|
|
54
|
+
}[];
|
|
55
|
+
options: string;
|
|
56
|
+
label: string;
|
|
57
|
+
value: string;
|
|
58
|
+
key: string;
|
|
59
|
+
icon?: string | undefined;
|
|
60
|
+
style?: string | undefined;
|
|
61
|
+
hidden?: string | undefined;
|
|
62
|
+
disabled?: string | undefined;
|
|
63
|
+
validation?: readonly Readonly<{
|
|
64
|
+
expression: string;
|
|
65
|
+
message: string;
|
|
66
|
+
}>[] | undefined;
|
|
67
|
+
} | {
|
|
68
|
+
type: "calendar";
|
|
69
|
+
path: string;
|
|
70
|
+
title: readonly {
|
|
71
|
+
locale: "zh" | "ja" | "en" | "ko";
|
|
72
|
+
message: string;
|
|
73
|
+
}[];
|
|
74
|
+
mode: "year" | "month" | "date";
|
|
75
|
+
value: string;
|
|
76
|
+
icon?: string | undefined;
|
|
77
|
+
style?: string | undefined;
|
|
78
|
+
display?: string | undefined;
|
|
79
|
+
disableDate?: string | undefined;
|
|
80
|
+
hidden?: string | undefined;
|
|
81
|
+
disabled?: string | undefined;
|
|
82
|
+
validation?: readonly Readonly<{
|
|
83
|
+
expression: string;
|
|
84
|
+
message: string;
|
|
85
|
+
}>[] | undefined;
|
|
86
|
+
})[]) => any;
|
|
139
87
|
}, string, import("vue").PublicProps, Readonly<{
|
|
140
88
|
orientation?: "horizontal" | "vertical" | "floating";
|
|
141
|
-
fields: Effect.Effect<ReadonlyArray<
|
|
89
|
+
fields: import("effect").Effect.Effect<ReadonlyArray<Field>>;
|
|
142
90
|
} & {
|
|
143
91
|
modelValue?: Record<string, unknown>;
|
|
144
92
|
}> & Readonly<{
|
|
145
93
|
"onUpdate:modelValue"?: ((value: Record<string, unknown>) => any) | undefined;
|
|
94
|
+
"onUpdate:fields"?: ((args_0: readonly ({
|
|
95
|
+
type: "string";
|
|
96
|
+
path: string;
|
|
97
|
+
title: readonly {
|
|
98
|
+
locale: "zh" | "ja" | "en" | "ko";
|
|
99
|
+
message: string;
|
|
100
|
+
}[];
|
|
101
|
+
icon?: string | undefined;
|
|
102
|
+
style?: string | undefined;
|
|
103
|
+
discardEmptyString?: boolean | undefined;
|
|
104
|
+
maxLength?: string | undefined;
|
|
105
|
+
hidden?: string | undefined;
|
|
106
|
+
disabled?: string | undefined;
|
|
107
|
+
validation?: readonly Readonly<{
|
|
108
|
+
expression: string;
|
|
109
|
+
message: string;
|
|
110
|
+
}>[] | undefined;
|
|
111
|
+
} | {
|
|
112
|
+
type: "number";
|
|
113
|
+
path: string;
|
|
114
|
+
title: readonly {
|
|
115
|
+
locale: "zh" | "ja" | "en" | "ko";
|
|
116
|
+
message: string;
|
|
117
|
+
}[];
|
|
118
|
+
icon?: string | undefined;
|
|
119
|
+
style?: string | undefined;
|
|
120
|
+
min?: string | undefined;
|
|
121
|
+
max?: string | undefined;
|
|
122
|
+
step?: string | undefined;
|
|
123
|
+
hidden?: string | undefined;
|
|
124
|
+
disabled?: string | undefined;
|
|
125
|
+
validation?: readonly Readonly<{
|
|
126
|
+
expression: string;
|
|
127
|
+
message: string;
|
|
128
|
+
}>[] | undefined;
|
|
129
|
+
} | {
|
|
130
|
+
type: "select";
|
|
131
|
+
path: string;
|
|
132
|
+
title: readonly {
|
|
133
|
+
locale: "zh" | "ja" | "en" | "ko";
|
|
134
|
+
message: string;
|
|
135
|
+
}[];
|
|
136
|
+
options: string;
|
|
137
|
+
label: string;
|
|
138
|
+
value: string;
|
|
139
|
+
key: string;
|
|
140
|
+
icon?: string | undefined;
|
|
141
|
+
style?: string | undefined;
|
|
142
|
+
hidden?: string | undefined;
|
|
143
|
+
disabled?: string | undefined;
|
|
144
|
+
validation?: readonly Readonly<{
|
|
145
|
+
expression: string;
|
|
146
|
+
message: string;
|
|
147
|
+
}>[] | undefined;
|
|
148
|
+
} | {
|
|
149
|
+
type: "calendar";
|
|
150
|
+
path: string;
|
|
151
|
+
title: readonly {
|
|
152
|
+
locale: "zh" | "ja" | "en" | "ko";
|
|
153
|
+
message: string;
|
|
154
|
+
}[];
|
|
155
|
+
mode: "year" | "month" | "date";
|
|
156
|
+
value: string;
|
|
157
|
+
icon?: string | undefined;
|
|
158
|
+
style?: string | undefined;
|
|
159
|
+
display?: string | undefined;
|
|
160
|
+
disableDate?: string | undefined;
|
|
161
|
+
hidden?: string | undefined;
|
|
162
|
+
disabled?: string | undefined;
|
|
163
|
+
validation?: readonly Readonly<{
|
|
164
|
+
expression: string;
|
|
165
|
+
message: string;
|
|
166
|
+
}>[] | undefined;
|
|
167
|
+
})[]) => any) | undefined;
|
|
146
168
|
}>, {
|
|
147
169
|
orientation: "horizontal" | "vertical" | "floating";
|
|
148
170
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
149
|
-
|
|
171
|
+
[x: string]: ((props: any) => any) | undefined;
|
|
150
172
|
}>;
|
|
151
173
|
type __VLS_WithSlots<T, S> = T & {
|
|
152
174
|
new (): {
|
|
@@ -1,72 +1,142 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export type Expression
|
|
3
|
-
export
|
|
4
|
-
export type Render = string | Readonly<{
|
|
5
|
-
id: string;
|
|
6
|
-
props: unknown;
|
|
7
|
-
}>;
|
|
8
|
-
export type Accessor = string | Readonly<{
|
|
9
|
-
read: Expression;
|
|
10
|
-
write: Expression;
|
|
11
|
-
}>;
|
|
12
|
-
export type Column = Readonly<{
|
|
13
|
-
id?: string;
|
|
14
|
-
title?: Record<string, string>;
|
|
15
|
-
accessor?: Accessor;
|
|
16
|
-
accessorKey?: string;
|
|
17
|
-
renderer?: Render;
|
|
18
|
-
tooltip?: Record<string, string>;
|
|
19
|
-
size?: number;
|
|
20
|
-
enableSorting?: boolean;
|
|
21
|
-
enableMultiSorting?: boolean;
|
|
22
|
-
enablePinning?: boolean;
|
|
23
|
-
columns?: ReadonlyArray<Column>;
|
|
24
|
-
grow?: boolean;
|
|
25
|
-
}>;
|
|
1
|
+
import type { TableConfig } from './ui/table/schema.js';
|
|
2
|
+
export type { Accessor, Column, Expression, Markdown, Render, TableConfig } from './ui/table/schema.js';
|
|
3
|
+
export { AccessorC, ColumnC, RenderC, TableConfigC } from './ui/table/schema.js';
|
|
26
4
|
declare module '@tanstack/vue-table' {
|
|
27
|
-
interface ColumnMeta<TData extends RowData, TValue> {
|
|
5
|
+
interface ColumnMeta<TData extends import('@tanstack/vue-table').RowData, TValue> {
|
|
28
6
|
tooltip?: string;
|
|
29
7
|
grow?: boolean;
|
|
8
|
+
accessor?: import('./ui/table/schema').Accessor;
|
|
30
9
|
__types?: [TData, TValue];
|
|
31
10
|
}
|
|
32
11
|
}
|
|
33
12
|
declare const _default: typeof __VLS_export;
|
|
34
13
|
export default _default;
|
|
35
|
-
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<
|
|
36
|
-
|
|
37
|
-
getRowId?: Expression;
|
|
38
|
-
getSubRows?: Expression;
|
|
39
|
-
enableRowSelection?: Expression;
|
|
40
|
-
enableMultiRowSelection?: Expression;
|
|
41
|
-
columns: ReadonlyArray<Column>;
|
|
14
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
15
|
+
config: import("effect").Effect.Effect<TableConfig>;
|
|
42
16
|
data: Array<unknown>;
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
17
|
+
rowCount?: number;
|
|
18
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
19
|
+
"update:config": (args_0: Readonly<{
|
|
20
|
+
getRowId?: import("./table.vue.js").Expression;
|
|
21
|
+
getSubRows?: import("./table.vue.js").Expression;
|
|
22
|
+
enableRowSelection?: import("./table.vue.js").Expression;
|
|
23
|
+
enableMultiRowSelection?: import("./table.vue.js").Expression;
|
|
24
|
+
columns: readonly Readonly<{
|
|
25
|
+
id?: string;
|
|
26
|
+
title?: import("../utils/coders.js").LocaleValue;
|
|
27
|
+
accessor?: import("./table.vue.js").Accessor;
|
|
28
|
+
renderer?: import("./table.vue.js").Render;
|
|
29
|
+
tooltip?: import("../utils/coders.js").LocaleValue;
|
|
30
|
+
size?: number;
|
|
31
|
+
enableSorting?: boolean;
|
|
32
|
+
enableMultiSorting?: boolean;
|
|
33
|
+
enablePinning?: boolean;
|
|
34
|
+
columns?: readonly Readonly</*elided*/ any>[];
|
|
35
|
+
grow?: boolean;
|
|
36
|
+
}>[];
|
|
37
|
+
cellStyles?: import("./table.vue.js").Expression;
|
|
38
|
+
props?: Readonly<{
|
|
39
|
+
[key: string]: unknown;
|
|
40
|
+
initialState?: Readonly<{
|
|
41
|
+
columnVisibility?: Record<string, boolean>;
|
|
42
|
+
columnOrder?: ReadonlyArray<string>;
|
|
43
|
+
columnPinning?: Readonly<{
|
|
44
|
+
left?: ReadonlyArray<string>;
|
|
45
|
+
right?: ReadonlyArray<string>;
|
|
46
|
+
}>;
|
|
47
|
+
rowPinning?: Readonly<{
|
|
48
|
+
top?: ReadonlyArray<string>;
|
|
49
|
+
bottom?: ReadonlyArray<string>;
|
|
50
|
+
}>;
|
|
51
|
+
columnFilters?: ReadonlyArray<Readonly<{
|
|
52
|
+
id: string;
|
|
53
|
+
value: unknown;
|
|
54
|
+
}>>;
|
|
55
|
+
globalFilter?: unknown;
|
|
56
|
+
sorting?: ReadonlyArray<Readonly<{
|
|
57
|
+
id: string;
|
|
58
|
+
desc: boolean;
|
|
59
|
+
}>>;
|
|
60
|
+
expanded?: boolean | Record<string, boolean>;
|
|
61
|
+
grouping?: ReadonlyArray<string>;
|
|
62
|
+
columnSizing?: Record<string, number>;
|
|
63
|
+
columnSizingInfo?: Record<string, unknown>;
|
|
64
|
+
pagination?: Readonly<{
|
|
65
|
+
pageIndex?: number;
|
|
66
|
+
pageSize?: number;
|
|
67
|
+
}>;
|
|
68
|
+
rowSelection?: Record<string, boolean>;
|
|
69
|
+
}>;
|
|
70
|
+
}>;
|
|
71
|
+
paginationLeft?: import("./table.vue.js").Markdown;
|
|
72
|
+
paginationRight?: import("./table.vue.js").Markdown;
|
|
73
|
+
paginationPageSizes?: ReadonlyArray<number>;
|
|
74
|
+
}>) => any;
|
|
75
|
+
}, string, import("vue").PublicProps, Readonly<{
|
|
76
|
+
config: import("effect").Effect.Effect<TableConfig>;
|
|
54
77
|
data: Array<unknown>;
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
78
|
+
rowCount?: number;
|
|
79
|
+
}> & Readonly<{
|
|
80
|
+
"onUpdate:config"?: ((args_0: Readonly<{
|
|
81
|
+
getRowId?: import("./table.vue.js").Expression;
|
|
82
|
+
getSubRows?: import("./table.vue.js").Expression;
|
|
83
|
+
enableRowSelection?: import("./table.vue.js").Expression;
|
|
84
|
+
enableMultiRowSelection?: import("./table.vue.js").Expression;
|
|
85
|
+
columns: readonly Readonly<{
|
|
86
|
+
id?: string;
|
|
87
|
+
title?: import("../utils/coders.js").LocaleValue;
|
|
88
|
+
accessor?: import("./table.vue.js").Accessor;
|
|
89
|
+
renderer?: import("./table.vue.js").Render;
|
|
90
|
+
tooltip?: import("../utils/coders.js").LocaleValue;
|
|
91
|
+
size?: number;
|
|
92
|
+
enableSorting?: boolean;
|
|
93
|
+
enableMultiSorting?: boolean;
|
|
94
|
+
enablePinning?: boolean;
|
|
95
|
+
columns?: readonly Readonly</*elided*/ any>[];
|
|
96
|
+
grow?: boolean;
|
|
97
|
+
}>[];
|
|
98
|
+
cellStyles?: import("./table.vue.js").Expression;
|
|
99
|
+
props?: Readonly<{
|
|
100
|
+
[key: string]: unknown;
|
|
101
|
+
initialState?: Readonly<{
|
|
102
|
+
columnVisibility?: Record<string, boolean>;
|
|
103
|
+
columnOrder?: ReadonlyArray<string>;
|
|
104
|
+
columnPinning?: Readonly<{
|
|
105
|
+
left?: ReadonlyArray<string>;
|
|
106
|
+
right?: ReadonlyArray<string>;
|
|
107
|
+
}>;
|
|
108
|
+
rowPinning?: Readonly<{
|
|
109
|
+
top?: ReadonlyArray<string>;
|
|
110
|
+
bottom?: ReadonlyArray<string>;
|
|
111
|
+
}>;
|
|
112
|
+
columnFilters?: ReadonlyArray<Readonly<{
|
|
113
|
+
id: string;
|
|
114
|
+
value: unknown;
|
|
115
|
+
}>>;
|
|
116
|
+
globalFilter?: unknown;
|
|
117
|
+
sorting?: ReadonlyArray<Readonly<{
|
|
118
|
+
id: string;
|
|
119
|
+
desc: boolean;
|
|
120
|
+
}>>;
|
|
121
|
+
expanded?: boolean | Record<string, boolean>;
|
|
122
|
+
grouping?: ReadonlyArray<string>;
|
|
123
|
+
columnSizing?: Record<string, number>;
|
|
124
|
+
columnSizingInfo?: Record<string, unknown>;
|
|
125
|
+
pagination?: Readonly<{
|
|
126
|
+
pageIndex?: number;
|
|
127
|
+
pageSize?: number;
|
|
128
|
+
}>;
|
|
129
|
+
rowSelection?: Record<string, boolean>;
|
|
130
|
+
}>;
|
|
131
|
+
}>;
|
|
132
|
+
paginationLeft?: import("./table.vue.js").Markdown;
|
|
133
|
+
paginationRight?: import("./table.vue.js").Markdown;
|
|
134
|
+
paginationPageSizes?: ReadonlyArray<number>;
|
|
135
|
+
}>) => any) | undefined;
|
|
136
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
137
|
+
[x: string]: ((props: {
|
|
138
|
+
cell: import("@tanstack/table-core").CellContext<unknown, unknown>;
|
|
139
|
+
}) => any) | undefined;
|
|
70
140
|
}>;
|
|
71
141
|
type __VLS_WithSlots<T, S> = T & {
|
|
72
142
|
new (): {
|