@shwfed/nuxt 0.7.8 → 0.7.10
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 -58
- package/dist/runtime/components/app.vue +18 -411
- package/dist/runtime/components/app.vue.d.ts +7 -58
- package/dist/runtime/components/fields.d.vue.ts +177 -0
- package/dist/runtime/components/fields.vue +47 -0
- package/dist/runtime/components/fields.vue.d.ts +177 -0
- package/dist/runtime/components/table.d.vue.ts +63 -59
- package/dist/runtime/components/table.vue +52 -617
- package/dist/runtime/components/table.vue.d.ts +63 -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/button-group/ButtonGroupSeparator.vue +1 -1
- package/dist/runtime/components/ui/button-group/ButtonGroupText.vue +1 -1
- package/dist/runtime/components/ui/calendar/Calendar.d.vue.ts +5 -12
- package/dist/runtime/components/ui/calendar/Calendar.vue +77 -92
- package/dist/runtime/components/ui/calendar/Calendar.vue.d.ts +5 -12
- package/dist/runtime/components/ui/calendar/CalendarCellTrigger.vue +1 -1
- package/dist/runtime/components/ui/calendar/index.d.ts +1 -1
- package/dist/runtime/components/ui/checkbox/Checkbox.vue +6 -2
- package/dist/runtime/components/ui/command/CommandGroup.vue +4 -0
- package/dist/runtime/components/ui/dialog/DialogOverlay.vue +1 -1
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue +1 -1
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSubTrigger.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/FieldDescription.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/field/FieldSeparator.vue +1 -1
- package/dist/runtime/components/ui/field/index.js +7 -5
- 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/input/Input.d.vue.ts +1 -0
- package/dist/runtime/components/ui/input/Input.vue +3 -1
- package/dist/runtime/components/ui/input/Input.vue.d.ts +1 -0
- package/dist/runtime/components/ui/input-group/InputGroup.vue +3 -0
- package/dist/runtime/components/ui/input-group/InputGroupAddon.vue +4 -1
- package/dist/runtime/components/ui/input-group/InputGroupCombobox.d.vue.ts +11 -3
- package/dist/runtime/components/ui/input-group/InputGroupCombobox.vue +16 -5
- package/dist/runtime/components/ui/input-group/InputGroupCombobox.vue.d.ts +11 -3
- package/dist/runtime/components/ui/input-group/InputGroupComboboxInput.d.vue.ts +8 -1
- package/dist/runtime/components/ui/input-group/InputGroupComboboxInput.vue +12 -1
- 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/InputGroupText.vue +1 -1
- package/dist/runtime/components/ui/input-group/InputGroupTextarea.vue +1 -1
- package/dist/runtime/components/ui/input-group/index.js +2 -2
- package/dist/runtime/components/ui/label/Label.vue +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.vue +3 -3
- 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/navigation-menu/NavigationMenuLink.vue +1 -1
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuViewport.vue +1 -1
- package/dist/runtime/components/ui/number-field/NumberFieldInput.vue +1 -1
- package/dist/runtime/components/ui/range-calendar/RangeCalendarCell.vue +1 -1
- package/dist/runtime/components/ui/range-calendar/RangeCalendarCellTrigger.vue +1 -1
- package/dist/runtime/components/ui/sheet/SheetOverlay.vue +1 -1
- package/dist/runtime/components/ui/switch/Switch.d.vue.ts +24 -0
- package/dist/runtime/components/ui/switch/Switch.vue +46 -0
- package/dist/runtime/components/ui/switch/Switch.vue.d.ts +24 -0
- package/dist/runtime/components/ui/switch/index.d.ts +1 -0
- package/dist/runtime/components/ui/switch/index.js +1 -0
- package/dist/runtime/components/ui/table/Table.d.vue.ts +81 -0
- package/dist/runtime/components/ui/table/Table.vue +792 -0
- package/dist/runtime/components/ui/table/Table.vue.d.ts +81 -0
- package/dist/runtime/components/ui/table/schema.d.ts +48 -0
- package/dist/runtime/components/ui/table/schema.js +126 -0
- package/dist/runtime/components/ui/table-configurator/TableConfiguratorDialog.d.vue.ts +62 -0
- package/dist/runtime/components/ui/table-configurator/TableConfiguratorDialog.vue +2233 -0
- package/dist/runtime/components/ui/table-configurator/TableConfiguratorDialog.vue.d.ts +62 -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/cel/env.d.ts +2 -2
- package/dist/runtime/plugins/cel/env.js +5 -4
- package/dist/runtime/plugins/cel/index.d.ts +3 -3
- package/dist/runtime/plugins/cel/index.js +7 -3
- package/dist/runtime/plugins/markdown/index.d.ts +1 -1
- package/dist/runtime/style.css +1 -1
- package/dist/runtime/table-renderers/builtins.js +213 -98
- package/dist/runtime/table-renderers/registry.d.ts +1 -0
- package/dist/runtime/table-renderers/registry.js +3 -0
- package/dist/runtime/utils/coders.d.ts +32 -0
- package/dist/runtime/utils/coders.js +64 -0
- package/dist/runtime/vendor/cel/index.d.ts +17 -0
- package/dist/runtime/vendor/cel/index.js +10 -0
- package/dist/runtime/vendor/cel-js/LICENSE +21 -0
- package/dist/runtime/vendor/cel-js/UPSTREAM.md +17 -0
- package/dist/runtime/vendor/cel-js/lib/errors.d.ts +21 -0
- package/dist/runtime/vendor/cel-js/lib/errors.js +97 -0
- package/dist/runtime/vendor/cel-js/lib/evaluator.d.ts +4 -0
- package/dist/runtime/vendor/cel-js/lib/evaluator.js +192 -0
- package/dist/runtime/vendor/cel-js/lib/functions.d.ts +53 -0
- package/dist/runtime/vendor/cel-js/lib/functions.js +513 -0
- package/dist/runtime/vendor/cel-js/lib/globals.d.ts +27 -0
- package/dist/runtime/vendor/cel-js/lib/globals.js +33 -0
- package/dist/runtime/vendor/cel-js/lib/index.d.ts +469 -0
- package/dist/runtime/vendor/cel-js/lib/index.js +18 -0
- package/dist/runtime/vendor/cel-js/lib/macros.d.ts +1 -0
- package/dist/runtime/vendor/cel-js/lib/macros.js +230 -0
- package/dist/runtime/vendor/cel-js/lib/operators.d.ts +117 -0
- package/dist/runtime/vendor/cel-js/lib/operators.js +739 -0
- package/dist/runtime/vendor/cel-js/lib/optional.d.ts +14 -0
- package/dist/runtime/vendor/cel-js/lib/optional.js +161 -0
- package/dist/runtime/vendor/cel-js/lib/options.d.ts +23 -0
- package/dist/runtime/vendor/cel-js/lib/options.js +47 -0
- package/dist/runtime/vendor/cel-js/lib/overloads.d.ts +1 -0
- package/dist/runtime/vendor/cel-js/lib/overloads.js +214 -0
- package/dist/runtime/vendor/cel-js/lib/parser.d.ts +56 -0
- package/dist/runtime/vendor/cel-js/lib/parser.js +827 -0
- package/dist/runtime/vendor/cel-js/lib/registry.d.ts +279 -0
- package/dist/runtime/vendor/cel-js/lib/registry.js +1596 -0
- package/dist/runtime/vendor/cel-js/lib/serialize.d.ts +1 -0
- package/dist/runtime/vendor/cel-js/lib/serialize.js +259 -0
- package/dist/runtime/vendor/cel-js/lib/type-checker.d.ts +26 -0
- package/dist/runtime/vendor/cel-js/lib/type-checker.js +81 -0
- package/package.json +9 -4
- package/dist/runtime/components/locale.d.vue.ts +0 -14
- package/dist/runtime/components/locale.vue +0 -89
- package/dist/runtime/components/locale.vue.d.ts +0 -14
- package/dist/runtime/components/query.d.vue.ts +0 -30
- package/dist/runtime/components/query.vue +0 -266
- package/dist/runtime/components/query.vue.d.ts +0 -30
- package/dist/runtime/utilities/query-config/global.d.ts +0 -4
- package/dist/runtime/utilities/query-config/global.js +0 -18
- package/dist/runtime/utilities/query-config/index.d.ts +0 -3
- package/dist/runtime/utilities/query-config/index.js +0 -14
- package/dist/runtime/utilities/query-config/schema.d.ts +0 -96
- package/dist/runtime/utilities/query-config/schema.js +0 -51
- /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
|
@@ -9,7 +9,7 @@ const props = defineProps({
|
|
|
9
9
|
<p
|
|
10
10
|
data-slot="field-description"
|
|
11
11
|
:class="cn(
|
|
12
|
-
'text-
|
|
12
|
+
'text-zinc-400 text-sm leading-normal font-normal group-has-data-[orientation=horizontal]/field:text-balance',
|
|
13
13
|
'last:mt-0 nth-last-2:-mt-1 [[data-variant=legend]+&]:-mt-1.5',
|
|
14
14
|
'[&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4',
|
|
15
15
|
props.class
|
|
@@ -28,7 +28,7 @@ const content = computed(() => {
|
|
|
28
28
|
v-if="$slots.default || content"
|
|
29
29
|
role="alert"
|
|
30
30
|
data-slot="field-error"
|
|
31
|
-
:class="cn('text-
|
|
31
|
+
:class="cn('absolute left-0 top-full z-10 max-w-full pt-1 text-red-600 text-xs leading-tight font-normal', props.class)"
|
|
32
32
|
>
|
|
33
33
|
<slot v-if="$slots.default" />
|
|
34
34
|
|
|
@@ -38,7 +38,7 @@ const content = computed(() => {
|
|
|
38
38
|
|
|
39
39
|
<ul
|
|
40
40
|
v-else-if="Array.isArray(content)"
|
|
41
|
-
class="ml-
|
|
41
|
+
class="ml-3 flex list-disc flex-col gap-0.5"
|
|
42
42
|
>
|
|
43
43
|
<li
|
|
44
44
|
v-for="(error, index) in content"
|
|
@@ -10,7 +10,7 @@ const props = defineProps({
|
|
|
10
10
|
<Label
|
|
11
11
|
data-slot="field-label"
|
|
12
12
|
:class="cn(
|
|
13
|
-
'group/field-label peer/field-label flex w-fit gap-2 leading-snug group-data-[disabled=true]/field:opacity-
|
|
13
|
+
'group/field-label peer/field-label flex w-fit gap-2 leading-snug group-data-[disabled=true]/field:text-zinc-600 group-data-[disabled=true]/field:opacity-100',
|
|
14
14
|
'has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col has-[>[data-slot=field]]:rounded-md has-[>[data-slot=field]]:border *:data-[slot=field]:p-4',
|
|
15
15
|
'has-data-[state=checked]:bg-primary/5 has-data-[state=checked]:border-primary dark:has-data-[state=checked]:bg-primary/10',
|
|
16
16
|
props.class
|
|
@@ -18,7 +18,7 @@ const props = defineProps({
|
|
|
18
18
|
<Separator class="absolute inset-0 top-1/2" />
|
|
19
19
|
<span
|
|
20
20
|
v-if="$slots.default"
|
|
21
|
-
class="bg-
|
|
21
|
+
class="bg-zinc-50 text-zinc-400 relative mx-auto block w-fit px-2"
|
|
22
22
|
data-slot="field-separator-content"
|
|
23
23
|
>
|
|
24
24
|
<slot />
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { cva } from "class-variance-authority";
|
|
2
2
|
export const fieldVariants = cva(
|
|
3
|
-
"group/field flex w-full gap-3 data-[invalid=true]:text-
|
|
3
|
+
"group/field flex w-full gap-3 data-[invalid=true]:text-red-400",
|
|
4
4
|
{
|
|
5
5
|
variants: {
|
|
6
6
|
orientation: {
|
|
7
7
|
vertical: ["flex-col *:w-full [&>.sr-only]:w-auto"],
|
|
8
8
|
horizontal: [
|
|
9
9
|
"flex-row items-center",
|
|
10
|
-
"*:data-[slot=field-label]:
|
|
10
|
+
"*:data-[slot=field-label]:shrink-0 *:data-[slot=field-label]:whitespace-nowrap",
|
|
11
11
|
"has-[>[data-slot=field-content]]:items-start has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px"
|
|
12
12
|
],
|
|
13
13
|
responsive: [
|
|
@@ -16,11 +16,12 @@ export const fieldVariants = cva(
|
|
|
16
16
|
"@md/field-group:has-[>[data-slot=field-content]]:items-start @md/field-group:has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px"
|
|
17
17
|
],
|
|
18
18
|
floating: [
|
|
19
|
-
"relative *:data-[slot=field-label]:absolute *:data-[slot=field-label]:text-zinc-500",
|
|
20
|
-
"*:data-[slot=field-label]:top-1/2 *:data-[slot=field-label]:-translate-y-1/2 *:data-[slot=field-label]:transition-
|
|
19
|
+
"relative *:data-[slot=field-label]:absolute *:data-[slot=field-label]:text-zinc-500 *:data-[slot=field-label]:z-20",
|
|
20
|
+
"*:data-[slot=field-label]:top-1/2 *:data-[slot=field-label]:-translate-y-1/2 *:data-[slot=field-label]:transition-[top,transform,color,font-size] *:data-[slot=field-label]:duration-180",
|
|
21
21
|
"*:data-[slot=field-label]:pointer-events-none *:data-[slot=field-label]:select-none *:data-[slot=field-label]:cursor-text",
|
|
22
22
|
"has-data-[value=true]:**:data-[slot=field-label]:top-0",
|
|
23
23
|
"**:data-[slot=field-label]:bg-white",
|
|
24
|
+
"data-[disabled=true]:**:data-[slot=field-label]:bg-transparent",
|
|
24
25
|
"**:data-[slot=field-label]:px-1",
|
|
25
26
|
"has-data-[value=true]:**:data-[slot=field-label]:text-xs",
|
|
26
27
|
"has-[[data-slot=input-group-control]:focus]:**:data-[slot=field-label]:top-0",
|
|
@@ -30,13 +31,14 @@ export const fieldVariants = cva(
|
|
|
30
31
|
"has-[[data-slot=input-group-control]:focus]:**:data-[slot=field-label]:text-zinc-700",
|
|
31
32
|
"has-data-[state=open]:**:data-[slot=field-label]:text-zinc-700",
|
|
32
33
|
"has-data-[value=true]:**:data-[slot=field-label]:text-zinc-700",
|
|
34
|
+
"data-[disabled=true]:**:data-[slot=field-label]:text-zinc-400",
|
|
33
35
|
"*:data-[slot=field-label]:left-3",
|
|
34
36
|
"has-[[data-slot=input-group-addon][data-align=inline-start]]:**:data-[slot=field-label]:left-7"
|
|
35
37
|
]
|
|
36
38
|
}
|
|
37
39
|
},
|
|
38
40
|
defaultVariants: {
|
|
39
|
-
orientation: "
|
|
41
|
+
orientation: "horizontal"
|
|
40
42
|
}
|
|
41
43
|
}
|
|
42
44
|
);
|
|
@@ -0,0 +1,376 @@
|
|
|
1
|
+
import z from 'zod';
|
|
2
|
+
import { Effect } from 'effect';
|
|
3
|
+
export declare const StringFieldC: z.ZodObject<{
|
|
4
|
+
type: z.ZodLiteral<"string">;
|
|
5
|
+
path: z.ZodString;
|
|
6
|
+
title: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
7
|
+
locale: z.ZodEnum<{
|
|
8
|
+
zh: "zh";
|
|
9
|
+
ja: "ja";
|
|
10
|
+
en: "en";
|
|
11
|
+
ko: "ko";
|
|
12
|
+
}>;
|
|
13
|
+
message: z.ZodString;
|
|
14
|
+
}, z.core.$strip>>>;
|
|
15
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
16
|
+
style: z.ZodOptional<z.ZodString>;
|
|
17
|
+
discardEmptyString: z.ZodOptional<z.ZodBoolean>;
|
|
18
|
+
maxLength: z.ZodOptional<z.ZodString>;
|
|
19
|
+
hidden: z.ZodOptional<z.ZodString>;
|
|
20
|
+
disabled: z.ZodOptional<z.ZodString>;
|
|
21
|
+
validation: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
22
|
+
expression: z.ZodString;
|
|
23
|
+
message: z.ZodString;
|
|
24
|
+
}, z.core.$strip>>>>>;
|
|
25
|
+
}, z.core.$strip>;
|
|
26
|
+
export declare const NumberFieldC: z.ZodObject<{
|
|
27
|
+
type: z.ZodLiteral<"number">;
|
|
28
|
+
path: z.ZodString;
|
|
29
|
+
title: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
30
|
+
locale: z.ZodEnum<{
|
|
31
|
+
zh: "zh";
|
|
32
|
+
ja: "ja";
|
|
33
|
+
en: "en";
|
|
34
|
+
ko: "ko";
|
|
35
|
+
}>;
|
|
36
|
+
message: z.ZodString;
|
|
37
|
+
}, z.core.$strip>>>;
|
|
38
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
39
|
+
style: z.ZodOptional<z.ZodString>;
|
|
40
|
+
min: z.ZodOptional<z.ZodString>;
|
|
41
|
+
max: z.ZodOptional<z.ZodString>;
|
|
42
|
+
step: z.ZodOptional<z.ZodString>;
|
|
43
|
+
hidden: z.ZodOptional<z.ZodString>;
|
|
44
|
+
disabled: z.ZodOptional<z.ZodString>;
|
|
45
|
+
validation: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
46
|
+
expression: z.ZodString;
|
|
47
|
+
message: z.ZodString;
|
|
48
|
+
}, z.core.$strip>>>>>;
|
|
49
|
+
}, z.core.$strip>;
|
|
50
|
+
export declare const SelectFieldC: z.ZodObject<{
|
|
51
|
+
type: z.ZodLiteral<"select">;
|
|
52
|
+
path: z.ZodString;
|
|
53
|
+
title: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
54
|
+
locale: z.ZodEnum<{
|
|
55
|
+
zh: "zh";
|
|
56
|
+
ja: "ja";
|
|
57
|
+
en: "en";
|
|
58
|
+
ko: "ko";
|
|
59
|
+
}>;
|
|
60
|
+
message: z.ZodString;
|
|
61
|
+
}, z.core.$strip>>>;
|
|
62
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
63
|
+
options: z.ZodString;
|
|
64
|
+
label: z.ZodString;
|
|
65
|
+
value: z.ZodString;
|
|
66
|
+
key: z.ZodString;
|
|
67
|
+
style: z.ZodOptional<z.ZodString>;
|
|
68
|
+
hidden: z.ZodOptional<z.ZodString>;
|
|
69
|
+
disabled: z.ZodOptional<z.ZodString>;
|
|
70
|
+
validation: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
71
|
+
expression: z.ZodString;
|
|
72
|
+
message: z.ZodString;
|
|
73
|
+
}, z.core.$strip>>>>>;
|
|
74
|
+
}, z.core.$strip>;
|
|
75
|
+
export declare const CalendarFieldC: z.ZodObject<{
|
|
76
|
+
type: z.ZodLiteral<"calendar">;
|
|
77
|
+
path: z.ZodString;
|
|
78
|
+
title: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
79
|
+
locale: z.ZodEnum<{
|
|
80
|
+
zh: "zh";
|
|
81
|
+
ja: "ja";
|
|
82
|
+
en: "en";
|
|
83
|
+
ko: "ko";
|
|
84
|
+
}>;
|
|
85
|
+
message: z.ZodString;
|
|
86
|
+
}, z.core.$strip>>>;
|
|
87
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
88
|
+
style: z.ZodOptional<z.ZodString>;
|
|
89
|
+
mode: z.ZodEnum<{
|
|
90
|
+
year: "year";
|
|
91
|
+
month: "month";
|
|
92
|
+
date: "date";
|
|
93
|
+
}>;
|
|
94
|
+
display: z.ZodOptional<z.ZodString>;
|
|
95
|
+
value: z.ZodString;
|
|
96
|
+
disableDate: z.ZodOptional<z.ZodString>;
|
|
97
|
+
hidden: z.ZodOptional<z.ZodString>;
|
|
98
|
+
disabled: z.ZodOptional<z.ZodString>;
|
|
99
|
+
validation: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
100
|
+
expression: z.ZodString;
|
|
101
|
+
message: z.ZodString;
|
|
102
|
+
}, z.core.$strip>>>>>;
|
|
103
|
+
}, z.core.$strip>;
|
|
104
|
+
export declare const FieldC: z.ZodUnion<readonly [z.ZodObject<{
|
|
105
|
+
type: z.ZodLiteral<"string">;
|
|
106
|
+
path: z.ZodString;
|
|
107
|
+
title: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
108
|
+
locale: z.ZodEnum<{
|
|
109
|
+
zh: "zh";
|
|
110
|
+
ja: "ja";
|
|
111
|
+
en: "en";
|
|
112
|
+
ko: "ko";
|
|
113
|
+
}>;
|
|
114
|
+
message: z.ZodString;
|
|
115
|
+
}, z.core.$strip>>>;
|
|
116
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
117
|
+
style: z.ZodOptional<z.ZodString>;
|
|
118
|
+
discardEmptyString: z.ZodOptional<z.ZodBoolean>;
|
|
119
|
+
maxLength: z.ZodOptional<z.ZodString>;
|
|
120
|
+
hidden: z.ZodOptional<z.ZodString>;
|
|
121
|
+
disabled: z.ZodOptional<z.ZodString>;
|
|
122
|
+
validation: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
123
|
+
expression: z.ZodString;
|
|
124
|
+
message: z.ZodString;
|
|
125
|
+
}, z.core.$strip>>>>>;
|
|
126
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
127
|
+
type: z.ZodLiteral<"number">;
|
|
128
|
+
path: z.ZodString;
|
|
129
|
+
title: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
130
|
+
locale: z.ZodEnum<{
|
|
131
|
+
zh: "zh";
|
|
132
|
+
ja: "ja";
|
|
133
|
+
en: "en";
|
|
134
|
+
ko: "ko";
|
|
135
|
+
}>;
|
|
136
|
+
message: z.ZodString;
|
|
137
|
+
}, z.core.$strip>>>;
|
|
138
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
139
|
+
style: z.ZodOptional<z.ZodString>;
|
|
140
|
+
min: z.ZodOptional<z.ZodString>;
|
|
141
|
+
max: z.ZodOptional<z.ZodString>;
|
|
142
|
+
step: z.ZodOptional<z.ZodString>;
|
|
143
|
+
hidden: z.ZodOptional<z.ZodString>;
|
|
144
|
+
disabled: z.ZodOptional<z.ZodString>;
|
|
145
|
+
validation: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
146
|
+
expression: z.ZodString;
|
|
147
|
+
message: z.ZodString;
|
|
148
|
+
}, z.core.$strip>>>>>;
|
|
149
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
150
|
+
type: z.ZodLiteral<"select">;
|
|
151
|
+
path: z.ZodString;
|
|
152
|
+
title: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
153
|
+
locale: z.ZodEnum<{
|
|
154
|
+
zh: "zh";
|
|
155
|
+
ja: "ja";
|
|
156
|
+
en: "en";
|
|
157
|
+
ko: "ko";
|
|
158
|
+
}>;
|
|
159
|
+
message: z.ZodString;
|
|
160
|
+
}, z.core.$strip>>>;
|
|
161
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
162
|
+
options: z.ZodString;
|
|
163
|
+
label: z.ZodString;
|
|
164
|
+
value: z.ZodString;
|
|
165
|
+
key: z.ZodString;
|
|
166
|
+
style: z.ZodOptional<z.ZodString>;
|
|
167
|
+
hidden: z.ZodOptional<z.ZodString>;
|
|
168
|
+
disabled: z.ZodOptional<z.ZodString>;
|
|
169
|
+
validation: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
170
|
+
expression: z.ZodString;
|
|
171
|
+
message: z.ZodString;
|
|
172
|
+
}, z.core.$strip>>>>>;
|
|
173
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
174
|
+
type: z.ZodLiteral<"calendar">;
|
|
175
|
+
path: z.ZodString;
|
|
176
|
+
title: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
177
|
+
locale: z.ZodEnum<{
|
|
178
|
+
zh: "zh";
|
|
179
|
+
ja: "ja";
|
|
180
|
+
en: "en";
|
|
181
|
+
ko: "ko";
|
|
182
|
+
}>;
|
|
183
|
+
message: z.ZodString;
|
|
184
|
+
}, z.core.$strip>>>;
|
|
185
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
186
|
+
style: z.ZodOptional<z.ZodString>;
|
|
187
|
+
mode: z.ZodEnum<{
|
|
188
|
+
year: "year";
|
|
189
|
+
month: "month";
|
|
190
|
+
date: "date";
|
|
191
|
+
}>;
|
|
192
|
+
display: z.ZodOptional<z.ZodString>;
|
|
193
|
+
value: z.ZodString;
|
|
194
|
+
disableDate: z.ZodOptional<z.ZodString>;
|
|
195
|
+
hidden: z.ZodOptional<z.ZodString>;
|
|
196
|
+
disabled: z.ZodOptional<z.ZodString>;
|
|
197
|
+
validation: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
198
|
+
expression: z.ZodString;
|
|
199
|
+
message: z.ZodString;
|
|
200
|
+
}, z.core.$strip>>>>>;
|
|
201
|
+
}, z.core.$strip>]>;
|
|
202
|
+
export type Field = z.infer<typeof FieldC>;
|
|
203
|
+
declare const _default: typeof __VLS_export;
|
|
204
|
+
export default _default;
|
|
205
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
206
|
+
orientation?: "horizontal" | "vertical" | "floating";
|
|
207
|
+
fields: Effect.Effect<ReadonlyArray<z.infer<typeof FieldC>>>;
|
|
208
|
+
} & {
|
|
209
|
+
modelValue?: Record<string, unknown>;
|
|
210
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
211
|
+
"update:modelValue": (value: Record<string, unknown>) => any;
|
|
212
|
+
"update:fields": (args_0: readonly ({
|
|
213
|
+
type: "string";
|
|
214
|
+
path: string;
|
|
215
|
+
title: readonly {
|
|
216
|
+
locale: "zh" | "ja" | "en" | "ko";
|
|
217
|
+
message: string;
|
|
218
|
+
}[];
|
|
219
|
+
icon?: string | undefined;
|
|
220
|
+
style?: string | undefined;
|
|
221
|
+
discardEmptyString?: boolean | undefined;
|
|
222
|
+
maxLength?: string | undefined;
|
|
223
|
+
hidden?: string | undefined;
|
|
224
|
+
disabled?: string | undefined;
|
|
225
|
+
validation?: readonly Readonly<{
|
|
226
|
+
expression: string;
|
|
227
|
+
message: string;
|
|
228
|
+
}>[] | undefined;
|
|
229
|
+
} | {
|
|
230
|
+
type: "number";
|
|
231
|
+
path: string;
|
|
232
|
+
title: readonly {
|
|
233
|
+
locale: "zh" | "ja" | "en" | "ko";
|
|
234
|
+
message: string;
|
|
235
|
+
}[];
|
|
236
|
+
icon?: string | undefined;
|
|
237
|
+
style?: string | undefined;
|
|
238
|
+
min?: string | undefined;
|
|
239
|
+
max?: string | undefined;
|
|
240
|
+
step?: string | undefined;
|
|
241
|
+
hidden?: string | undefined;
|
|
242
|
+
disabled?: string | undefined;
|
|
243
|
+
validation?: readonly Readonly<{
|
|
244
|
+
expression: string;
|
|
245
|
+
message: string;
|
|
246
|
+
}>[] | undefined;
|
|
247
|
+
} | {
|
|
248
|
+
type: "select";
|
|
249
|
+
path: string;
|
|
250
|
+
title: readonly {
|
|
251
|
+
locale: "zh" | "ja" | "en" | "ko";
|
|
252
|
+
message: string;
|
|
253
|
+
}[];
|
|
254
|
+
options: string;
|
|
255
|
+
label: string;
|
|
256
|
+
value: string;
|
|
257
|
+
key: string;
|
|
258
|
+
icon?: string | undefined;
|
|
259
|
+
style?: string | undefined;
|
|
260
|
+
hidden?: string | undefined;
|
|
261
|
+
disabled?: string | undefined;
|
|
262
|
+
validation?: readonly Readonly<{
|
|
263
|
+
expression: string;
|
|
264
|
+
message: string;
|
|
265
|
+
}>[] | undefined;
|
|
266
|
+
} | {
|
|
267
|
+
type: "calendar";
|
|
268
|
+
path: string;
|
|
269
|
+
title: readonly {
|
|
270
|
+
locale: "zh" | "ja" | "en" | "ko";
|
|
271
|
+
message: string;
|
|
272
|
+
}[];
|
|
273
|
+
mode: "year" | "month" | "date";
|
|
274
|
+
value: string;
|
|
275
|
+
icon?: string | undefined;
|
|
276
|
+
style?: string | undefined;
|
|
277
|
+
display?: string | undefined;
|
|
278
|
+
disableDate?: string | undefined;
|
|
279
|
+
hidden?: string | undefined;
|
|
280
|
+
disabled?: string | undefined;
|
|
281
|
+
validation?: readonly Readonly<{
|
|
282
|
+
expression: string;
|
|
283
|
+
message: string;
|
|
284
|
+
}>[] | undefined;
|
|
285
|
+
})[]) => any;
|
|
286
|
+
}, string, import("vue").PublicProps, Readonly<{
|
|
287
|
+
orientation?: "horizontal" | "vertical" | "floating";
|
|
288
|
+
fields: Effect.Effect<ReadonlyArray<z.infer<typeof FieldC>>>;
|
|
289
|
+
} & {
|
|
290
|
+
modelValue?: Record<string, unknown>;
|
|
291
|
+
}> & Readonly<{
|
|
292
|
+
"onUpdate:modelValue"?: ((value: Record<string, unknown>) => any) | undefined;
|
|
293
|
+
"onUpdate:fields"?: ((args_0: readonly ({
|
|
294
|
+
type: "string";
|
|
295
|
+
path: string;
|
|
296
|
+
title: readonly {
|
|
297
|
+
locale: "zh" | "ja" | "en" | "ko";
|
|
298
|
+
message: string;
|
|
299
|
+
}[];
|
|
300
|
+
icon?: string | undefined;
|
|
301
|
+
style?: string | undefined;
|
|
302
|
+
discardEmptyString?: boolean | undefined;
|
|
303
|
+
maxLength?: string | undefined;
|
|
304
|
+
hidden?: string | undefined;
|
|
305
|
+
disabled?: string | undefined;
|
|
306
|
+
validation?: readonly Readonly<{
|
|
307
|
+
expression: string;
|
|
308
|
+
message: string;
|
|
309
|
+
}>[] | undefined;
|
|
310
|
+
} | {
|
|
311
|
+
type: "number";
|
|
312
|
+
path: string;
|
|
313
|
+
title: readonly {
|
|
314
|
+
locale: "zh" | "ja" | "en" | "ko";
|
|
315
|
+
message: string;
|
|
316
|
+
}[];
|
|
317
|
+
icon?: string | undefined;
|
|
318
|
+
style?: string | undefined;
|
|
319
|
+
min?: string | undefined;
|
|
320
|
+
max?: string | undefined;
|
|
321
|
+
step?: string | undefined;
|
|
322
|
+
hidden?: string | undefined;
|
|
323
|
+
disabled?: string | undefined;
|
|
324
|
+
validation?: readonly Readonly<{
|
|
325
|
+
expression: string;
|
|
326
|
+
message: string;
|
|
327
|
+
}>[] | undefined;
|
|
328
|
+
} | {
|
|
329
|
+
type: "select";
|
|
330
|
+
path: string;
|
|
331
|
+
title: readonly {
|
|
332
|
+
locale: "zh" | "ja" | "en" | "ko";
|
|
333
|
+
message: string;
|
|
334
|
+
}[];
|
|
335
|
+
options: string;
|
|
336
|
+
label: string;
|
|
337
|
+
value: string;
|
|
338
|
+
key: string;
|
|
339
|
+
icon?: string | undefined;
|
|
340
|
+
style?: string | undefined;
|
|
341
|
+
hidden?: string | undefined;
|
|
342
|
+
disabled?: string | undefined;
|
|
343
|
+
validation?: readonly Readonly<{
|
|
344
|
+
expression: string;
|
|
345
|
+
message: string;
|
|
346
|
+
}>[] | undefined;
|
|
347
|
+
} | {
|
|
348
|
+
type: "calendar";
|
|
349
|
+
path: string;
|
|
350
|
+
title: readonly {
|
|
351
|
+
locale: "zh" | "ja" | "en" | "ko";
|
|
352
|
+
message: string;
|
|
353
|
+
}[];
|
|
354
|
+
mode: "year" | "month" | "date";
|
|
355
|
+
value: string;
|
|
356
|
+
icon?: string | undefined;
|
|
357
|
+
style?: string | undefined;
|
|
358
|
+
display?: string | undefined;
|
|
359
|
+
disableDate?: string | undefined;
|
|
360
|
+
hidden?: string | undefined;
|
|
361
|
+
disabled?: string | undefined;
|
|
362
|
+
validation?: readonly Readonly<{
|
|
363
|
+
expression: string;
|
|
364
|
+
message: string;
|
|
365
|
+
}>[] | undefined;
|
|
366
|
+
})[]) => any) | undefined;
|
|
367
|
+
}>, {
|
|
368
|
+
orientation: "horizontal" | "vertical" | "floating";
|
|
369
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
370
|
+
default?: (props: {}) => any;
|
|
371
|
+
}>;
|
|
372
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
373
|
+
new (): {
|
|
374
|
+
$slots: S;
|
|
375
|
+
};
|
|
376
|
+
};
|