@shwfed/config 2.11.1 → 2.11.5
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/mcp.mjs +1592 -1220
- package/dist/module.json +1 -1
- package/dist/preview/assets/{FieldGroup.vue_vue_type_script_setup_true_lang-CosmpPSu.js → FieldGroup.vue_vue_type_script_setup_true_lang-BK4nj6mF.js} +1 -1
- package/dist/preview/assets/{badge-BkYCxTFK.js → badge-Df9KgnrB.js} +1 -1
- package/dist/preview/assets/config-B3NwVBxT.js +1 -0
- package/dist/preview/assets/{config-Dt8k1gnT.js → config-BrtNnMlJ.js} +1 -1
- package/dist/preview/assets/{config-Cbp7aAAw.js → config-CUJNegvX.js} +1 -1
- package/dist/preview/assets/{config-C_Ia1CDq.js → config-ChrXUmKf.js} +1 -1
- package/dist/preview/assets/{config-B62b9dMF.js → config-CmEXMpIU.js} +1 -1
- package/dist/preview/assets/{config-Dk9OegYx.js → config-CrBoFiYB.js} +1 -1
- package/dist/preview/assets/{config-74YmXQsH.js → config-D-Hf0dls.js} +1 -1
- package/dist/preview/assets/{config-Bt6--diX.js → config-D4cXwy75.js} +1 -1
- package/dist/preview/assets/{config-BcZe-bR9.js → config-DCj5Qyiq.js} +1 -1
- package/dist/preview/assets/{config-sCP15_0f.js → config-DPfx03nM.js} +1 -1
- package/dist/preview/assets/{config-Bbbyd5lB.js → config-DWF0bcmF.js} +1 -1
- package/dist/preview/assets/{config-CPsd0ppi.js → config-Do4K9hI7.js} +1 -1
- package/dist/preview/assets/config-DwblM1r8.js +1 -0
- package/dist/preview/assets/{config-CYVafGLc.js → config-MW5Hs8yE.js} +1 -1
- package/dist/preview/assets/{config-COr2MFhN.js → config-uNoNEc-1.js} +1 -1
- package/dist/preview/assets/{definition.vue_vue_type_script_setup_true_lang-C3NiB99t.js → definition.vue_vue_type_script_setup_true_lang-CbtpddWK.js} +1 -1
- package/dist/preview/assets/index-Bm7I4Tr0.css +1 -0
- package/dist/preview/assets/{index-DjG-VVR4.js → index-CkyV576r.js} +217 -205
- package/dist/preview/assets/{index-BMOizF8g.js → index-CtW2E0ME.js} +1 -1
- package/dist/preview/assets/index-xDmBF3zO.js +1 -0
- package/dist/preview/assets/{item-C1efxuFt.js → item-D0e9Cx1Q.js} +1 -1
- package/dist/preview/assets/{runtime-Du0ghzR2.js → runtime-3tGIbclh.js} +1 -1
- package/dist/preview/assets/{runtime-7z9N9JGG.js → runtime-BCePD3XR.js} +1 -1
- package/dist/preview/assets/runtime-BMyFUaSM.js +1 -0
- package/dist/preview/assets/runtime-BXZU3EqA.js +1 -0
- package/dist/preview/assets/{runtime-LgZuN2Tf.js → runtime-BySNFNSO.js} +1 -1
- package/dist/preview/assets/{runtime-Dz7SCudL.js → runtime-CI02gDFj.js} +1 -1
- package/dist/preview/assets/{runtime-DoLpKFu-.js → runtime-DCo1Qp8a.js} +1 -1
- package/dist/preview/assets/runtime-DDSKV70N.js +1 -0
- package/dist/preview/assets/runtime-Dc7pytUy.js +1 -0
- package/dist/preview/assets/{runtime-S9eZ2nJS.js → runtime-ckLrkTMm.js} +1 -1
- package/dist/preview/assets/runtime-y4oJ8VkY.js +1 -0
- package/dist/preview/assets/{schema-meta-CYKPEnu9.js → schema-meta-D0y0sKal.js} +1 -1
- package/dist/preview/index.html +2 -2
- package/dist/runtime/components/actions/buttons/2026-06-25/com.shwfed.actions.button.state.write/config.d.vue.ts +39 -0
- package/dist/runtime/components/actions/buttons/2026-06-25/com.shwfed.actions.button.state.write/config.vue +127 -0
- package/dist/runtime/components/actions/buttons/2026-06-25/com.shwfed.actions.button.state.write/config.vue.d.ts +39 -0
- package/dist/runtime/components/actions/buttons/2026-06-25/com.shwfed.actions.button.state.write/runtime.d.vue.ts +8 -0
- package/dist/runtime/components/actions/buttons/2026-06-25/com.shwfed.actions.button.state.write/runtime.vue +62 -0
- package/dist/runtime/components/actions/buttons/2026-06-25/com.shwfed.actions.button.state.write/runtime.vue.d.ts +8 -0
- package/dist/runtime/components/actions/buttons/2026-06-25/com.shwfed.actions.button.state.write/schema.d.ts +25 -0
- package/dist/runtime/components/actions/buttons/2026-06-25/com.shwfed.actions.button.state.write/schema.js +41 -0
- package/dist/runtime/components/config/blocks/2026-06-17/com.shwfed.block.tree.single/runtime.vue +5 -22
- package/dist/runtime/components/config/blocks/2026-06-25/com.shwfed.block.loop/config.d.vue.ts +70 -0
- package/dist/runtime/components/config/blocks/2026-06-25/com.shwfed.block.loop/config.vue +349 -0
- package/dist/runtime/components/config/blocks/2026-06-25/com.shwfed.block.loop/config.vue.d.ts +70 -0
- package/dist/runtime/components/config/blocks/2026-06-25/com.shwfed.block.loop/loop-item.d.vue.ts +33 -0
- package/dist/runtime/components/config/blocks/2026-06-25/com.shwfed.block.loop/loop-item.vue +37 -0
- package/dist/runtime/components/config/blocks/2026-06-25/com.shwfed.block.loop/loop-item.vue.d.ts +33 -0
- package/dist/runtime/components/config/blocks/2026-06-25/com.shwfed.block.loop/loop-scope-provider.d.vue.ts +13 -0
- package/dist/runtime/components/config/blocks/2026-06-25/com.shwfed.block.loop/loop-scope-provider.vue +22 -0
- package/dist/runtime/components/config/blocks/2026-06-25/com.shwfed.block.loop/loop-scope-provider.vue.d.ts +13 -0
- package/dist/runtime/components/config/blocks/2026-06-25/com.shwfed.block.loop/runtime.d.vue.ts +70 -0
- package/dist/runtime/components/config/blocks/2026-06-25/com.shwfed.block.loop/runtime.vue +62 -0
- package/dist/runtime/components/config/blocks/2026-06-25/com.shwfed.block.loop/runtime.vue.d.ts +70 -0
- package/dist/runtime/components/config/blocks/2026-06-25/com.shwfed.block.loop/schema.d.ts +85 -0
- package/dist/runtime/components/config/blocks/2026-06-25/com.shwfed.block.loop/schema.js +60 -0
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.textarea/config.d.vue.ts +2 -2
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.textarea/config.vue.d.ts +2 -2
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.d.vue.ts +4 -4
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.vue.d.ts +4 -4
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.d.vue.ts +6 -6
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.vue.d.ts +6 -6
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/config.d.vue.ts +2 -2
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/config.vue.d.ts +2 -2
- package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/config.d.vue.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/config.vue.d.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/config.d.vue.ts +4 -4
- package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/config.vue.d.ts +4 -4
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/config.d.vue.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/config.vue.d.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/config.d.vue.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/config.vue.d.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/config.d.vue.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/config.vue.d.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/config.d.vue.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/config.vue.d.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/config.d.vue.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/config.vue.d.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/runtime.vue +2 -19
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/config.d.vue.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/config.vue.d.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/runtime.vue +5 -22
- package/dist/runtime/components/operations/2026-06-15/com.shwfed.operation.http.download/config.d.vue.ts +2 -0
- package/dist/runtime/components/operations/2026-06-15/com.shwfed.operation.http.download/config.vue +49 -22
- package/dist/runtime/components/operations/2026-06-15/com.shwfed.operation.http.download/config.vue.d.ts +2 -0
- package/dist/runtime/components/operations/2026-06-15/com.shwfed.operation.http.download/runtime.js +17 -10
- package/dist/runtime/components/operations/2026-06-15/com.shwfed.operation.http.download/schema.d.ts +1 -0
- package/dist/runtime/components/operations/2026-06-15/com.shwfed.operation.http.download/schema.js +25 -3
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-multi/runtime.vue +5 -1
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-single/runtime.vue +5 -1
- package/dist/runtime/components/table/columns/2026-06-17/com.shwfed.table.column.date-input/config.vue +81 -2
- package/dist/runtime/components/table/columns/2026-06-17/com.shwfed.table.column.date-input/runtime.vue +35 -1
- package/dist/runtime/components/table/columns/2026-06-17/com.shwfed.table.column.date-input/schema.d.ts +132 -0
- package/dist/runtime/components/table/columns/2026-06-17/com.shwfed.table.column.date-input/schema.js +28 -2
- package/dist/runtime/components/ui/date-picker/DatePicker.d.vue.ts +11 -1
- package/dist/runtime/components/ui/date-picker/DatePicker.vue +8 -1
- package/dist/runtime/components/ui/date-picker/DatePicker.vue.d.ts +11 -1
- package/dist/runtime/components/ui/date-picker/DatePickerInput.d.vue.ts +12 -2
- package/dist/runtime/components/ui/date-picker/DatePickerInput.vue +4 -0
- package/dist/runtime/components/ui/date-picker/DatePickerInput.vue.d.ts +12 -2
- package/dist/runtime/components/ui/date-picker/DatePickerTimeInput.d.vue.ts +1 -1
- package/dist/runtime/components/ui/date-picker/DatePickerTimeInput.vue.d.ts +1 -1
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerInput.d.vue.ts +1 -1
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerInput.vue.d.ts +1 -1
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerTimeInput.d.vue.ts +2 -2
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerTimeInput.vue.d.ts +2 -2
- package/dist/runtime/components/ui/expression-editor/ExpressionEditor.vue +1 -1
- package/dist/runtime/share/loop-item-var.d.ts +21 -0
- package/dist/runtime/share/loop-item-var.js +13 -0
- package/dist/runtime/vendor/cel-js/CLAUDE.md +2 -2
- package/dist/runtime/vendor/cel-js/PROMPT.md +7 -0
- package/dist/runtime/vendor/cel-js/lib/functions.js +25 -1
- package/dist/runtime/vendor/cel-js/lib/http-builder.d.ts +38 -3
- package/dist/runtime/vendor/cel-js/lib/http-builder.js +33 -0
- package/package.json +1 -1
- package/dist/preview/assets/config-BHYlKhDX.js +0 -1
- package/dist/preview/assets/index-C9G8y6qZ.js +0 -1
- package/dist/preview/assets/index-DqRQ67sX.css +0 -1
- package/dist/preview/assets/runtime-Bpa1zRxG.js +0 -1
- package/dist/preview/assets/runtime-Csv04MYG.js +0 -1
- package/dist/preview/assets/runtime-D0bjM4NL.js +0 -1
- package/dist/preview/assets/runtime-Dz3ZQYdq.js +0 -1
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { provideCELContext } from "../../../../../utils/cel-context";
|
|
3
|
+
defineOptions({ name: "ShwfedBlockLoopScopeProvider" });
|
|
4
|
+
provideCELContext({
|
|
5
|
+
item: {
|
|
6
|
+
type: "dyn",
|
|
7
|
+
label: "item",
|
|
8
|
+
description: "\u5F53\u524D\u5FAA\u73AF\u9879",
|
|
9
|
+
value: void 0
|
|
10
|
+
},
|
|
11
|
+
index: {
|
|
12
|
+
type: "number",
|
|
13
|
+
label: "index",
|
|
14
|
+
description: "\u5F53\u524D\u5FAA\u73AF\u9879\u7D22\u5F15\uFF0C\u4ECE 0 \u5F00\u59CB",
|
|
15
|
+
value: void 0
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
</script>
|
|
19
|
+
|
|
20
|
+
<template>
|
|
21
|
+
<slot />
|
|
22
|
+
</template>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare var __VLS_1: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_1) => any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
9
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
10
|
+
new (): {
|
|
11
|
+
$slots: S;
|
|
12
|
+
};
|
|
13
|
+
};
|
package/dist/runtime/components/config/blocks/2026-06-25/com.shwfed.block.loop/runtime.d.vue.ts
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import type { Environment } from '../../../../../vendor/cel-js/lib/index.js';
|
|
2
|
+
import type { Value } from './schema.js';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
configure?: (env: Environment) => void;
|
|
5
|
+
};
|
|
6
|
+
type __VLS_ModelProps = {
|
|
7
|
+
'block': Value;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
10
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
|
+
"update:block": (value: {
|
|
12
|
+
readonly type: "com.shwfed.block.loop";
|
|
13
|
+
readonly style?: string | undefined;
|
|
14
|
+
readonly id: string;
|
|
15
|
+
readonly slot: {
|
|
16
|
+
readonly blocks: readonly any[];
|
|
17
|
+
readonly layouts: readonly {
|
|
18
|
+
readonly name: string;
|
|
19
|
+
readonly layout: {
|
|
20
|
+
readonly style?: string | undefined;
|
|
21
|
+
readonly columns: number;
|
|
22
|
+
readonly gap?: number | undefined;
|
|
23
|
+
readonly rows?: number | undefined;
|
|
24
|
+
readonly placements: {
|
|
25
|
+
readonly [x: string]: {
|
|
26
|
+
readonly area: readonly [readonly [number, number], readonly [number, number]];
|
|
27
|
+
readonly v?: "stretch" | "center" | "end" | "start" | undefined;
|
|
28
|
+
readonly h?: "stretch" | "center" | "end" | "start" | undefined;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
readonly media?: string | undefined;
|
|
33
|
+
}[];
|
|
34
|
+
};
|
|
35
|
+
readonly displayName?: string | undefined;
|
|
36
|
+
readonly compatibilityDate: "2026-06-25";
|
|
37
|
+
readonly items: string;
|
|
38
|
+
}) => any;
|
|
39
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
40
|
+
"onUpdate:block"?: ((value: {
|
|
41
|
+
readonly type: "com.shwfed.block.loop";
|
|
42
|
+
readonly style?: string | undefined;
|
|
43
|
+
readonly id: string;
|
|
44
|
+
readonly slot: {
|
|
45
|
+
readonly blocks: readonly any[];
|
|
46
|
+
readonly layouts: readonly {
|
|
47
|
+
readonly name: string;
|
|
48
|
+
readonly layout: {
|
|
49
|
+
readonly style?: string | undefined;
|
|
50
|
+
readonly columns: number;
|
|
51
|
+
readonly gap?: number | undefined;
|
|
52
|
+
readonly rows?: number | undefined;
|
|
53
|
+
readonly placements: {
|
|
54
|
+
readonly [x: string]: {
|
|
55
|
+
readonly area: readonly [readonly [number, number], readonly [number, number]];
|
|
56
|
+
readonly v?: "stretch" | "center" | "end" | "start" | undefined;
|
|
57
|
+
readonly h?: "stretch" | "center" | "end" | "start" | undefined;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
readonly media?: string | undefined;
|
|
62
|
+
}[];
|
|
63
|
+
};
|
|
64
|
+
readonly displayName?: string | undefined;
|
|
65
|
+
readonly compatibilityDate: "2026-06-25";
|
|
66
|
+
readonly items: string;
|
|
67
|
+
}) => any) | undefined;
|
|
68
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
69
|
+
declare const _default: typeof __VLS_export;
|
|
70
|
+
export default _default;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { computed } from "vue";
|
|
3
|
+
import { Effect } from "effect";
|
|
4
|
+
import { cel } from "../../../../../utils/cel";
|
|
5
|
+
import { celBindings, injectCELContext } from "../../../../../utils/cel-context";
|
|
6
|
+
import LoopItem from "./loop-item.vue";
|
|
7
|
+
defineOptions({ name: "ShwfedBlockLoopRuntime" });
|
|
8
|
+
const block = defineModel("block", { type: null, ...{ required: true } });
|
|
9
|
+
const props = defineProps({
|
|
10
|
+
configure: { type: Function, required: false }
|
|
11
|
+
});
|
|
12
|
+
const configure = computed(() => props.configure ?? (() => {
|
|
13
|
+
}));
|
|
14
|
+
const inheritedContext = injectCELContext();
|
|
15
|
+
function baseContext() {
|
|
16
|
+
return celBindings(inheritedContext);
|
|
17
|
+
}
|
|
18
|
+
const items = computed(() => {
|
|
19
|
+
const expr = block.value.items;
|
|
20
|
+
if (!expr || expr.trim().length === 0) return [];
|
|
21
|
+
try {
|
|
22
|
+
const result = Effect.runSync(cel(expr, baseContext()));
|
|
23
|
+
return Array.isArray(result) ? result : [];
|
|
24
|
+
} catch (err) {
|
|
25
|
+
console.warn("[shwfed-loop] items evaluation failed", err);
|
|
26
|
+
return [];
|
|
27
|
+
}
|
|
28
|
+
});
|
|
29
|
+
function evalStyle(expression) {
|
|
30
|
+
if (!expression) return void 0;
|
|
31
|
+
try {
|
|
32
|
+
const r = Effect.runSync(cel(expression, baseContext()));
|
|
33
|
+
if (r === null || r === void 0) return void 0;
|
|
34
|
+
if (typeof r === "string") return r;
|
|
35
|
+
if (typeof r === "object") return r;
|
|
36
|
+
return String(r);
|
|
37
|
+
} catch {
|
|
38
|
+
return void 0;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
const styleValue = computed(() => evalStyle(block.value.style));
|
|
42
|
+
function updateSlot(next) {
|
|
43
|
+
block.value = { ...block.value, slot: next };
|
|
44
|
+
}
|
|
45
|
+
</script>
|
|
46
|
+
|
|
47
|
+
<template>
|
|
48
|
+
<div
|
|
49
|
+
class="flex flex-col gap-2"
|
|
50
|
+
:style="styleValue"
|
|
51
|
+
>
|
|
52
|
+
<LoopItem
|
|
53
|
+
v-for="(item, index) in items"
|
|
54
|
+
:key="index"
|
|
55
|
+
:item="item"
|
|
56
|
+
:index="index"
|
|
57
|
+
:slot-value="block.slot"
|
|
58
|
+
:configure="configure"
|
|
59
|
+
@update:slot-value="updateSlot"
|
|
60
|
+
/>
|
|
61
|
+
</div>
|
|
62
|
+
</template>
|
package/dist/runtime/components/config/blocks/2026-06-25/com.shwfed.block.loop/runtime.vue.d.ts
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import type { Environment } from '../../../../../vendor/cel-js/lib/index.js';
|
|
2
|
+
import type { Value } from './schema.js';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
configure?: (env: Environment) => void;
|
|
5
|
+
};
|
|
6
|
+
type __VLS_ModelProps = {
|
|
7
|
+
'block': Value;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
10
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
|
+
"update:block": (value: {
|
|
12
|
+
readonly type: "com.shwfed.block.loop";
|
|
13
|
+
readonly style?: string | undefined;
|
|
14
|
+
readonly id: string;
|
|
15
|
+
readonly slot: {
|
|
16
|
+
readonly blocks: readonly any[];
|
|
17
|
+
readonly layouts: readonly {
|
|
18
|
+
readonly name: string;
|
|
19
|
+
readonly layout: {
|
|
20
|
+
readonly style?: string | undefined;
|
|
21
|
+
readonly columns: number;
|
|
22
|
+
readonly gap?: number | undefined;
|
|
23
|
+
readonly rows?: number | undefined;
|
|
24
|
+
readonly placements: {
|
|
25
|
+
readonly [x: string]: {
|
|
26
|
+
readonly area: readonly [readonly [number, number], readonly [number, number]];
|
|
27
|
+
readonly v?: "stretch" | "center" | "end" | "start" | undefined;
|
|
28
|
+
readonly h?: "stretch" | "center" | "end" | "start" | undefined;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
readonly media?: string | undefined;
|
|
33
|
+
}[];
|
|
34
|
+
};
|
|
35
|
+
readonly displayName?: string | undefined;
|
|
36
|
+
readonly compatibilityDate: "2026-06-25";
|
|
37
|
+
readonly items: string;
|
|
38
|
+
}) => any;
|
|
39
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
40
|
+
"onUpdate:block"?: ((value: {
|
|
41
|
+
readonly type: "com.shwfed.block.loop";
|
|
42
|
+
readonly style?: string | undefined;
|
|
43
|
+
readonly id: string;
|
|
44
|
+
readonly slot: {
|
|
45
|
+
readonly blocks: readonly any[];
|
|
46
|
+
readonly layouts: readonly {
|
|
47
|
+
readonly name: string;
|
|
48
|
+
readonly layout: {
|
|
49
|
+
readonly style?: string | undefined;
|
|
50
|
+
readonly columns: number;
|
|
51
|
+
readonly gap?: number | undefined;
|
|
52
|
+
readonly rows?: number | undefined;
|
|
53
|
+
readonly placements: {
|
|
54
|
+
readonly [x: string]: {
|
|
55
|
+
readonly area: readonly [readonly [number, number], readonly [number, number]];
|
|
56
|
+
readonly v?: "stretch" | "center" | "end" | "start" | undefined;
|
|
57
|
+
readonly h?: "stretch" | "center" | "end" | "start" | undefined;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
readonly media?: string | undefined;
|
|
62
|
+
}[];
|
|
63
|
+
};
|
|
64
|
+
readonly displayName?: string | undefined;
|
|
65
|
+
readonly compatibilityDate: "2026-06-25";
|
|
66
|
+
readonly items: string;
|
|
67
|
+
}) => any) | undefined;
|
|
68
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
69
|
+
declare const _default: typeof __VLS_export;
|
|
70
|
+
export default _default;
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { Schema } from 'effect';
|
|
2
|
+
import type { Environment } from '../../../../../vendor/cel-js/lib/index.js';
|
|
3
|
+
export { getStructFieldDescription, getStructFieldTitle } from '../../../../table/utils/schema-meta.js';
|
|
4
|
+
type AnySchema = Schema.Schema<any, any, never>;
|
|
5
|
+
type Configure = (env: Environment) => void;
|
|
6
|
+
export declare const type: "com.shwfed.block.loop";
|
|
7
|
+
export declare const compatibilityDate: "2026-06-25";
|
|
8
|
+
export declare const metadata: {
|
|
9
|
+
readonly name: "循环";
|
|
10
|
+
readonly icon: "fluent:arrow-repeat-all-20-regular";
|
|
11
|
+
readonly w: {
|
|
12
|
+
readonly initial: 12;
|
|
13
|
+
readonly min: 4;
|
|
14
|
+
readonly max: number;
|
|
15
|
+
};
|
|
16
|
+
readonly h: {
|
|
17
|
+
readonly initial: 6;
|
|
18
|
+
readonly min: 4;
|
|
19
|
+
readonly max: number;
|
|
20
|
+
readonly grow: true;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
export declare function schema(configure: Configure, blockRef: AnySchema): Schema.Struct<{
|
|
24
|
+
id: Schema.refine<string, typeof Schema.String>;
|
|
25
|
+
type: Schema.tag<"com.shwfed.block.loop">;
|
|
26
|
+
compatibilityDate: Schema.tag<"2026-06-25">;
|
|
27
|
+
displayName: Schema.optional<Schema.SchemaClass<string, string, never>>;
|
|
28
|
+
items: Schema.Schema<string, string, never>;
|
|
29
|
+
style: Schema.optional<Schema.Schema<string, string, never>>;
|
|
30
|
+
slot: Schema.refine<{
|
|
31
|
+
readonly blocks: readonly any[];
|
|
32
|
+
readonly layouts: readonly {
|
|
33
|
+
readonly name: string;
|
|
34
|
+
readonly layout: {
|
|
35
|
+
readonly style?: string | undefined;
|
|
36
|
+
readonly columns: number;
|
|
37
|
+
readonly gap?: number | undefined;
|
|
38
|
+
readonly rows?: number | undefined;
|
|
39
|
+
readonly placements: {
|
|
40
|
+
readonly [x: string]: {
|
|
41
|
+
readonly area: readonly [readonly [number, number], readonly [number, number]];
|
|
42
|
+
readonly v?: "stretch" | "center" | "end" | "start" | undefined;
|
|
43
|
+
readonly h?: "stretch" | "center" | "end" | "start" | undefined;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
readonly media?: string | undefined;
|
|
48
|
+
}[];
|
|
49
|
+
}, Schema.Struct<{
|
|
50
|
+
blocks: Schema.Array$<Schema.Schema<any, any, never>>;
|
|
51
|
+
layouts: Schema.refine<readonly {
|
|
52
|
+
readonly name: string;
|
|
53
|
+
readonly layout: {
|
|
54
|
+
readonly style?: string | undefined;
|
|
55
|
+
readonly columns: number;
|
|
56
|
+
readonly gap?: number | undefined;
|
|
57
|
+
readonly rows?: number | undefined;
|
|
58
|
+
readonly placements: {
|
|
59
|
+
readonly [x: string]: {
|
|
60
|
+
readonly area: readonly [readonly [number, number], readonly [number, number]];
|
|
61
|
+
readonly v?: "stretch" | "center" | "end" | "start" | undefined;
|
|
62
|
+
readonly h?: "stretch" | "center" | "end" | "start" | undefined;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
readonly media?: string | undefined;
|
|
67
|
+
}[], Schema.Array$<Schema.Struct<{
|
|
68
|
+
name: Schema.SchemaClass<string, string, never>;
|
|
69
|
+
media: Schema.optional<Schema.Schema<string, string, never>>;
|
|
70
|
+
layout: Schema.Struct<{
|
|
71
|
+
columns: Schema.refine<number, Schema.filter<typeof Schema.Number>>;
|
|
72
|
+
rows: Schema.optional<Schema.refine<number, Schema.filter<typeof Schema.Number>>>;
|
|
73
|
+
gap: Schema.optional<Schema.refine<number, Schema.filter<typeof Schema.Number>>>;
|
|
74
|
+
style: Schema.optional<Schema.SchemaClass<string, string, never>>;
|
|
75
|
+
placements: Schema.Record$<typeof Schema.String, Schema.Struct<{
|
|
76
|
+
area: Schema.refine<readonly [readonly [number, number], readonly [number, number]], Schema.Tuple2<Schema.Tuple2<Schema.filter<Schema.filter<typeof Schema.Number>>, Schema.filter<Schema.filter<typeof Schema.Number>>>, Schema.Tuple2<Schema.filter<Schema.filter<typeof Schema.Number>>, Schema.filter<Schema.filter<typeof Schema.Number>>>>>;
|
|
77
|
+
h: Schema.optional<Schema.Literal<["start", "center", "end", "stretch"]>>;
|
|
78
|
+
v: Schema.optional<Schema.Literal<["start", "center", "end", "stretch"]>>;
|
|
79
|
+
}>>;
|
|
80
|
+
}>;
|
|
81
|
+
}>>>;
|
|
82
|
+
}>>;
|
|
83
|
+
}>;
|
|
84
|
+
export declare function defaultBody(): Record<string, unknown>;
|
|
85
|
+
export type Value = Schema.Schema.Type<ReturnType<typeof schema>>;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { Schema } from "effect";
|
|
2
|
+
import { Expression } from "../../../../../share/expression.js";
|
|
3
|
+
import { Slot, defaultSlot } from "../../../../../share/layout.js";
|
|
4
|
+
import { registerLoopVariablesIfAbsent } from "../../../../../share/loop-item-var.js";
|
|
5
|
+
export { getStructFieldDescription, getStructFieldTitle } from "../../../../table/utils/schema-meta.js";
|
|
6
|
+
export const type = "com.shwfed.block.loop";
|
|
7
|
+
export const compatibilityDate = "2026-06-25";
|
|
8
|
+
export const metadata = {
|
|
9
|
+
name: "\u5FAA\u73AF",
|
|
10
|
+
icon: "fluent:arrow-repeat-all-20-regular",
|
|
11
|
+
w: { initial: 12, min: 4, max: Infinity },
|
|
12
|
+
// `grow: true`: the loop's height is content-driven (N rendered items), so its
|
|
13
|
+
// row escapes the grid's `1fr` equal-share (bare `auto`) and the loop grows
|
|
14
|
+
// top-anchored — more items reveal below instead of repositioning the whole
|
|
15
|
+
// block inside an oversized track. See `config/utils/resolve.ts`
|
|
16
|
+
// `BlockSizeRange.grow` and the `tree.single` precedent.
|
|
17
|
+
h: { initial: 6, min: 4, max: Infinity, grow: true }
|
|
18
|
+
};
|
|
19
|
+
export function schema(configure, blockRef) {
|
|
20
|
+
const itemConfigure = (env) => {
|
|
21
|
+
configure(env);
|
|
22
|
+
registerLoopVariablesIfAbsent(env);
|
|
23
|
+
};
|
|
24
|
+
const LoopSlot = Slot(blockRef, itemConfigure);
|
|
25
|
+
const CelItems = Expression({
|
|
26
|
+
configure,
|
|
27
|
+
resultType: (t) => t === "dyn" || t.startsWith("list") || t.startsWith("optional")
|
|
28
|
+
});
|
|
29
|
+
const CelStyle = Expression({
|
|
30
|
+
configure,
|
|
31
|
+
resultType: (t) => t === "string" || t === "dyn" || t.startsWith("map") || t.startsWith("optional")
|
|
32
|
+
});
|
|
33
|
+
return Schema.Struct({
|
|
34
|
+
id: Schema.UUID.annotations({ description: "\u5757\u552F\u4E00\u6807\u8BC6" }),
|
|
35
|
+
type: Schema.tag(type),
|
|
36
|
+
compatibilityDate: Schema.tag(compatibilityDate),
|
|
37
|
+
displayName: Schema.optional(Schema.String.annotations({
|
|
38
|
+
title: "\u5185\u90E8\u540D\u79F0",
|
|
39
|
+
description: "\u4EC5\u5728\u7F16\u8F91\u5668\u5185\u53EF\u89C1\u7684\u5757\u540D\uFF0C\u7528\u4E8E\u5728\u4FA7\u8FB9\u680F\u548C\u5E03\u5C40\u7F16\u8F91\u5668\u4E2D\u8BC6\u522B\u5757\uFF1B\u8FD0\u884C\u65F6\u4E0D\u5C55\u793A"
|
|
40
|
+
})),
|
|
41
|
+
items: CelItems.annotations({
|
|
42
|
+
title: "\u5217\u8868",
|
|
43
|
+
description: "\u8FD4\u56DE\u5217\u8868\u7684 CEL \u8868\u8FBE\u5F0F\uFF1B\u5217\u8868\u4E2D\u6BCF\u4E00\u9879\u90FD\u4F1A\u6309\u4E0B\u65B9\u5E03\u5C40\u6E32\u67D3\u4E00\u6B21\uFF0C\u6E32\u67D3\u5185\u5BB9\u53EF\u8BBF\u95EE `item`\uFF08\u5F53\u524D\u9879\uFF09\u4E0E `index`\uFF08\u5E8F\u53F7\uFF0C\u4ECE 0 \u5F00\u59CB\uFF09\u3002\u8FD4\u56DE `none` / \u975E\u5217\u8868\u65F6\u4E0D\u6E32\u67D3\u4EFB\u4F55\u9879"
|
|
44
|
+
}),
|
|
45
|
+
style: Schema.optional(CelStyle).annotations({
|
|
46
|
+
title: "\u6837\u5F0F",
|
|
47
|
+
description: "\u8FD4\u56DE\u5E94\u7528\u5728\u5FAA\u73AF\u5916\u5C42\u5BB9\u5668\u4E0A\u7684\u6837\u5F0F\u7684 CEL \u8868\u8FBE\u5F0F\uFF0C\u53EF\u8FD4\u56DE CSS \u5B57\u7B26\u4E32\uFF08\u5982 `'gap: 1.5rem'`\uFF09\u6216\u6837\u5F0F\u5BF9\u8C61\uFF08\u5982 `{'gap': '1.5rem'}`\uFF09\uFF1B\u5E38\u7528\u4E8E\u8C03\u6574\u5404\u9879\u4E4B\u95F4\u7684\u95F4\u8DDD\u3002\u7559\u7A7A\u5219\u4F7F\u7528\u9ED8\u8BA4\u95F4\u8DDD"
|
|
48
|
+
}),
|
|
49
|
+
slot: LoopSlot.annotations({
|
|
50
|
+
title: "\u5185\u5BB9",
|
|
51
|
+
description: "\u6BCF\u4E2A\u5217\u8868\u9879\u6E32\u67D3\u7684\u5757\u4E0E\u5E03\u5C40\uFF1B\u5176\u4E2D\u7684\u8868\u8FBE\u5F0F\u53EF\u8BBF\u95EE `item` \u4E0E `index`"
|
|
52
|
+
})
|
|
53
|
+
}).annotations({
|
|
54
|
+
title: "\u5FAA\u73AF\u5757",
|
|
55
|
+
description: "\u5BF9\u4E00\u4E2A CEL \u5217\u8868\u9010\u9879\u6E32\u67D3\u540C\u4E00\u5957\u5185\u90E8\u5E03\u5C40\uFF0C\u6BCF\u9879\u53EF\u8BBF\u95EE `item` / `index`\uFF1B\u652F\u6301\u4EFB\u610F\u5C42\u7EA7\u5D4C\u5957"
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
export function defaultBody() {
|
|
59
|
+
return { items: "[]", slot: defaultSlot() };
|
|
60
|
+
}
|
|
@@ -39,7 +39,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
39
39
|
readonly mode: "formula" | "prefill";
|
|
40
40
|
readonly expression: string;
|
|
41
41
|
} | undefined;
|
|
42
|
-
readonly maxLength?: number | undefined;
|
|
43
42
|
readonly validations?: readonly {
|
|
44
43
|
readonly message: readonly [{
|
|
45
44
|
readonly locale: "zh";
|
|
@@ -51,6 +50,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
51
50
|
readonly warning?: boolean | undefined;
|
|
52
51
|
readonly when: string;
|
|
53
52
|
}[] | undefined;
|
|
53
|
+
readonly maxLength?: number | undefined;
|
|
54
54
|
}) => any;
|
|
55
55
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
56
56
|
"onUpdate:modelValue"?: ((value: {
|
|
@@ -89,7 +89,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
89
89
|
readonly mode: "formula" | "prefill";
|
|
90
90
|
readonly expression: string;
|
|
91
91
|
} | undefined;
|
|
92
|
-
readonly maxLength?: number | undefined;
|
|
93
92
|
readonly validations?: readonly {
|
|
94
93
|
readonly message: readonly [{
|
|
95
94
|
readonly locale: "zh";
|
|
@@ -101,6 +100,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
101
100
|
readonly warning?: boolean | undefined;
|
|
102
101
|
readonly when: string;
|
|
103
102
|
}[] | undefined;
|
|
103
|
+
readonly maxLength?: number | undefined;
|
|
104
104
|
}) => any) | undefined;
|
|
105
105
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
106
106
|
declare const _default: typeof __VLS_export;
|
|
@@ -39,7 +39,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
39
39
|
readonly mode: "formula" | "prefill";
|
|
40
40
|
readonly expression: string;
|
|
41
41
|
} | undefined;
|
|
42
|
-
readonly maxLength?: number | undefined;
|
|
43
42
|
readonly validations?: readonly {
|
|
44
43
|
readonly message: readonly [{
|
|
45
44
|
readonly locale: "zh";
|
|
@@ -51,6 +50,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
51
50
|
readonly warning?: boolean | undefined;
|
|
52
51
|
readonly when: string;
|
|
53
52
|
}[] | undefined;
|
|
53
|
+
readonly maxLength?: number | undefined;
|
|
54
54
|
}) => any;
|
|
55
55
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
56
56
|
"onUpdate:modelValue"?: ((value: {
|
|
@@ -89,7 +89,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
89
89
|
readonly mode: "formula" | "prefill";
|
|
90
90
|
readonly expression: string;
|
|
91
91
|
} | undefined;
|
|
92
|
-
readonly maxLength?: number | undefined;
|
|
93
92
|
readonly validations?: readonly {
|
|
94
93
|
readonly message: readonly [{
|
|
95
94
|
readonly locale: "zh";
|
|
@@ -101,6 +100,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
101
100
|
readonly warning?: boolean | undefined;
|
|
102
101
|
readonly when: string;
|
|
103
102
|
}[] | undefined;
|
|
103
|
+
readonly maxLength?: number | undefined;
|
|
104
104
|
}) => any) | undefined;
|
|
105
105
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
106
106
|
declare const _default: typeof __VLS_export;
|
|
@@ -33,8 +33,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
33
33
|
readonly expression: string;
|
|
34
34
|
} | undefined;
|
|
35
35
|
readonly numberOfMonths?: number | undefined;
|
|
36
|
-
readonly rangeSeparatorIcon?: string | undefined;
|
|
37
36
|
readonly format?: string | undefined;
|
|
37
|
+
readonly valueFormat?: string | undefined;
|
|
38
|
+
readonly rangeSeparatorIcon?: string | undefined;
|
|
38
39
|
readonly startPlaceholder?: readonly [{
|
|
39
40
|
readonly locale: "zh";
|
|
40
41
|
readonly message: string;
|
|
@@ -49,7 +50,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
49
50
|
readonly locale: "en" | "ja" | "ko";
|
|
50
51
|
readonly message: string;
|
|
51
52
|
}[]] | undefined;
|
|
52
|
-
readonly valueFormat?: string | undefined;
|
|
53
53
|
readonly validations?: readonly {
|
|
54
54
|
readonly message: readonly [{
|
|
55
55
|
readonly locale: "zh";
|
|
@@ -105,8 +105,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
105
105
|
readonly expression: string;
|
|
106
106
|
} | undefined;
|
|
107
107
|
readonly numberOfMonths?: number | undefined;
|
|
108
|
-
readonly rangeSeparatorIcon?: string | undefined;
|
|
109
108
|
readonly format?: string | undefined;
|
|
109
|
+
readonly valueFormat?: string | undefined;
|
|
110
|
+
readonly rangeSeparatorIcon?: string | undefined;
|
|
110
111
|
readonly startPlaceholder?: readonly [{
|
|
111
112
|
readonly locale: "zh";
|
|
112
113
|
readonly message: string;
|
|
@@ -121,7 +122,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
121
122
|
readonly locale: "en" | "ja" | "ko";
|
|
122
123
|
readonly message: string;
|
|
123
124
|
}[]] | undefined;
|
|
124
|
-
readonly valueFormat?: string | undefined;
|
|
125
125
|
readonly validations?: readonly {
|
|
126
126
|
readonly message: readonly [{
|
|
127
127
|
readonly locale: "zh";
|
|
@@ -33,8 +33,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
33
33
|
readonly expression: string;
|
|
34
34
|
} | undefined;
|
|
35
35
|
readonly numberOfMonths?: number | undefined;
|
|
36
|
-
readonly rangeSeparatorIcon?: string | undefined;
|
|
37
36
|
readonly format?: string | undefined;
|
|
37
|
+
readonly valueFormat?: string | undefined;
|
|
38
|
+
readonly rangeSeparatorIcon?: string | undefined;
|
|
38
39
|
readonly startPlaceholder?: readonly [{
|
|
39
40
|
readonly locale: "zh";
|
|
40
41
|
readonly message: string;
|
|
@@ -49,7 +50,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
49
50
|
readonly locale: "en" | "ja" | "ko";
|
|
50
51
|
readonly message: string;
|
|
51
52
|
}[]] | undefined;
|
|
52
|
-
readonly valueFormat?: string | undefined;
|
|
53
53
|
readonly validations?: readonly {
|
|
54
54
|
readonly message: readonly [{
|
|
55
55
|
readonly locale: "zh";
|
|
@@ -105,8 +105,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
105
105
|
readonly expression: string;
|
|
106
106
|
} | undefined;
|
|
107
107
|
readonly numberOfMonths?: number | undefined;
|
|
108
|
-
readonly rangeSeparatorIcon?: string | undefined;
|
|
109
108
|
readonly format?: string | undefined;
|
|
109
|
+
readonly valueFormat?: string | undefined;
|
|
110
|
+
readonly rangeSeparatorIcon?: string | undefined;
|
|
110
111
|
readonly startPlaceholder?: readonly [{
|
|
111
112
|
readonly locale: "zh";
|
|
112
113
|
readonly message: string;
|
|
@@ -121,7 +122,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
121
122
|
readonly locale: "en" | "ja" | "ko";
|
|
122
123
|
readonly message: string;
|
|
123
124
|
}[]] | undefined;
|
|
124
|
-
readonly valueFormat?: string | undefined;
|
|
125
125
|
readonly validations?: readonly {
|
|
126
126
|
readonly message: readonly [{
|
|
127
127
|
readonly locale: "zh";
|
|
@@ -34,8 +34,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
34
34
|
} | undefined;
|
|
35
35
|
readonly numberOfMonths?: number | undefined;
|
|
36
36
|
readonly hourCycle?: 12 | 24 | undefined;
|
|
37
|
-
readonly rangeSeparatorIcon?: string | undefined;
|
|
38
37
|
readonly format?: string | undefined;
|
|
38
|
+
readonly valueFormat?: string | undefined;
|
|
39
|
+
readonly timeGranularity?: "hour" | "minute" | "second" | undefined;
|
|
40
|
+
readonly rangeSeparatorIcon?: string | undefined;
|
|
39
41
|
readonly startPlaceholder?: readonly [{
|
|
40
42
|
readonly locale: "zh";
|
|
41
43
|
readonly message: string;
|
|
@@ -50,8 +52,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
50
52
|
readonly locale: "en" | "ja" | "ko";
|
|
51
53
|
readonly message: string;
|
|
52
54
|
}[]] | undefined;
|
|
53
|
-
readonly valueFormat?: string | undefined;
|
|
54
|
-
readonly timeGranularity?: "hour" | "minute" | "second" | undefined;
|
|
55
55
|
readonly validations?: readonly {
|
|
56
56
|
readonly message: readonly [{
|
|
57
57
|
readonly locale: "zh";
|
|
@@ -108,8 +108,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
108
108
|
} | undefined;
|
|
109
109
|
readonly numberOfMonths?: number | undefined;
|
|
110
110
|
readonly hourCycle?: 12 | 24 | undefined;
|
|
111
|
-
readonly rangeSeparatorIcon?: string | undefined;
|
|
112
111
|
readonly format?: string | undefined;
|
|
112
|
+
readonly valueFormat?: string | undefined;
|
|
113
|
+
readonly timeGranularity?: "hour" | "minute" | "second" | undefined;
|
|
114
|
+
readonly rangeSeparatorIcon?: string | undefined;
|
|
113
115
|
readonly startPlaceholder?: readonly [{
|
|
114
116
|
readonly locale: "zh";
|
|
115
117
|
readonly message: string;
|
|
@@ -124,8 +126,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
124
126
|
readonly locale: "en" | "ja" | "ko";
|
|
125
127
|
readonly message: string;
|
|
126
128
|
}[]] | undefined;
|
|
127
|
-
readonly valueFormat?: string | undefined;
|
|
128
|
-
readonly timeGranularity?: "hour" | "minute" | "second" | undefined;
|
|
129
129
|
readonly validations?: readonly {
|
|
130
130
|
readonly message: readonly [{
|
|
131
131
|
readonly locale: "zh";
|
|
@@ -34,8 +34,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
34
34
|
} | undefined;
|
|
35
35
|
readonly numberOfMonths?: number | undefined;
|
|
36
36
|
readonly hourCycle?: 12 | 24 | undefined;
|
|
37
|
-
readonly rangeSeparatorIcon?: string | undefined;
|
|
38
37
|
readonly format?: string | undefined;
|
|
38
|
+
readonly valueFormat?: string | undefined;
|
|
39
|
+
readonly timeGranularity?: "hour" | "minute" | "second" | undefined;
|
|
40
|
+
readonly rangeSeparatorIcon?: string | undefined;
|
|
39
41
|
readonly startPlaceholder?: readonly [{
|
|
40
42
|
readonly locale: "zh";
|
|
41
43
|
readonly message: string;
|
|
@@ -50,8 +52,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
50
52
|
readonly locale: "en" | "ja" | "ko";
|
|
51
53
|
readonly message: string;
|
|
52
54
|
}[]] | undefined;
|
|
53
|
-
readonly valueFormat?: string | undefined;
|
|
54
|
-
readonly timeGranularity?: "hour" | "minute" | "second" | undefined;
|
|
55
55
|
readonly validations?: readonly {
|
|
56
56
|
readonly message: readonly [{
|
|
57
57
|
readonly locale: "zh";
|
|
@@ -108,8 +108,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
108
108
|
} | undefined;
|
|
109
109
|
readonly numberOfMonths?: number | undefined;
|
|
110
110
|
readonly hourCycle?: 12 | 24 | undefined;
|
|
111
|
-
readonly rangeSeparatorIcon?: string | undefined;
|
|
112
111
|
readonly format?: string | undefined;
|
|
112
|
+
readonly valueFormat?: string | undefined;
|
|
113
|
+
readonly timeGranularity?: "hour" | "minute" | "second" | undefined;
|
|
114
|
+
readonly rangeSeparatorIcon?: string | undefined;
|
|
113
115
|
readonly startPlaceholder?: readonly [{
|
|
114
116
|
readonly locale: "zh";
|
|
115
117
|
readonly message: string;
|
|
@@ -124,8 +126,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
124
126
|
readonly locale: "en" | "ja" | "ko";
|
|
125
127
|
readonly message: string;
|
|
126
128
|
}[]] | undefined;
|
|
127
|
-
readonly valueFormat?: string | undefined;
|
|
128
|
-
readonly timeGranularity?: "hour" | "minute" | "second" | undefined;
|
|
129
129
|
readonly validations?: readonly {
|
|
130
130
|
readonly message: readonly [{
|
|
131
131
|
readonly locale: "zh";
|
|
@@ -33,9 +33,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
33
33
|
readonly expression: string;
|
|
34
34
|
} | undefined;
|
|
35
35
|
readonly hourCycle?: 12 | 24 | undefined;
|
|
36
|
-
readonly rangeSeparatorIcon?: string | undefined;
|
|
37
36
|
readonly valueFormat?: string | undefined;
|
|
38
37
|
readonly timeGranularity?: "hour" | "minute" | "second" | undefined;
|
|
38
|
+
readonly rangeSeparatorIcon?: string | undefined;
|
|
39
39
|
readonly validations?: readonly {
|
|
40
40
|
readonly message: readonly [{
|
|
41
41
|
readonly locale: "zh";
|
|
@@ -79,9 +79,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
79
79
|
readonly expression: string;
|
|
80
80
|
} | undefined;
|
|
81
81
|
readonly hourCycle?: 12 | 24 | undefined;
|
|
82
|
-
readonly rangeSeparatorIcon?: string | undefined;
|
|
83
82
|
readonly valueFormat?: string | undefined;
|
|
84
83
|
readonly timeGranularity?: "hour" | "minute" | "second" | undefined;
|
|
84
|
+
readonly rangeSeparatorIcon?: string | undefined;
|
|
85
85
|
readonly validations?: readonly {
|
|
86
86
|
readonly message: readonly [{
|
|
87
87
|
readonly locale: "zh";
|
|
@@ -33,9 +33,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
33
33
|
readonly expression: string;
|
|
34
34
|
} | undefined;
|
|
35
35
|
readonly hourCycle?: 12 | 24 | undefined;
|
|
36
|
-
readonly rangeSeparatorIcon?: string | undefined;
|
|
37
36
|
readonly valueFormat?: string | undefined;
|
|
38
37
|
readonly timeGranularity?: "hour" | "minute" | "second" | undefined;
|
|
38
|
+
readonly rangeSeparatorIcon?: string | undefined;
|
|
39
39
|
readonly validations?: readonly {
|
|
40
40
|
readonly message: readonly [{
|
|
41
41
|
readonly locale: "zh";
|
|
@@ -79,9 +79,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
79
79
|
readonly expression: string;
|
|
80
80
|
} | undefined;
|
|
81
81
|
readonly hourCycle?: 12 | 24 | undefined;
|
|
82
|
-
readonly rangeSeparatorIcon?: string | undefined;
|
|
83
82
|
readonly valueFormat?: string | undefined;
|
|
84
83
|
readonly timeGranularity?: "hour" | "minute" | "second" | undefined;
|
|
84
|
+
readonly rangeSeparatorIcon?: string | undefined;
|
|
85
85
|
readonly validations?: readonly {
|
|
86
86
|
readonly message: readonly [{
|
|
87
87
|
readonly locale: "zh";
|