@shwfed/config 2.7.3 → 2.7.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 +36 -5
- package/dist/module.json +1 -1
- package/dist/preview/assets/badge-DamXUB_x.js +1 -0
- package/dist/preview/assets/{config-5JFmp62X.js → config-CXgHZFVu.js} +1 -1
- package/dist/preview/assets/{config-BkS5uufU.js → config-CYixJlBY.js} +1 -1
- package/dist/preview/assets/{config-DE97oObU.js → config-CtPQb6dK.js} +1 -1
- package/dist/preview/assets/{config-Ck5_8YaL.js → config-DBviu6U0.js} +1 -1
- package/dist/preview/assets/{config-Bo4cd_u5.js → config-Dtj6xvFB.js} +1 -1
- package/dist/preview/assets/{config-CMcqX_mc.js → config-DyKtOYYU.js} +1 -1
- package/dist/preview/assets/{config-BoVPp04e.js → config-ISM4vT-S.js} +1 -1
- package/dist/preview/assets/{config-dk7L4924.js → config-ulTPyAGw.js} +1 -1
- package/dist/preview/assets/{config-L72ON8PT.js → config-v7KXfP3A.js} +1 -1
- package/dist/preview/assets/{definition.vue_vue_type_script_setup_true_lang-Cr7UNELp.js → definition.vue_vue_type_script_setup_true_lang-C-3KP_in.js} +1 -1
- package/dist/preview/assets/index-CqWUukUH.css +1 -0
- package/dist/preview/assets/index-CzxZSeNm.js +680 -0
- package/dist/preview/assets/{index-DumuGVME.js → index-D6fhWrrp.js} +1 -1
- package/dist/preview/assets/index-DUSkLHHf.js +1 -0
- package/dist/preview/assets/{item-BhBaPg4Z.js → item-BAj_4_7-.js} +1 -1
- package/dist/preview/assets/{runtime-BbGu9CHo.js → runtime-B7NcvR9y.js} +1 -1
- package/dist/preview/assets/{runtime-DrxczhTW.js → runtime-BqlrYWt_.js} +1 -1
- package/dist/preview/assets/{runtime-luMscNiE.js → runtime-CiWg_Jub.js} +1 -1
- package/dist/preview/assets/{runtime-CILO8PDD.js → runtime-CpMT9U1z.js} +1 -1
- package/dist/preview/assets/{runtime-C6Pc6N3T.js → runtime-CswN1gKf.js} +1 -1
- package/dist/preview/assets/{runtime-iR16bMIx.js → runtime-DOK5OTJn.js} +1 -1
- package/dist/preview/assets/{runtime-DZuxXJrv.js → runtime-DldmFxn1.js} +1 -1
- package/dist/preview/assets/{runtime-CrNhb4dv.js → runtime-WZBVKYom.js} +1 -1
- package/dist/preview/assets/{runtime-KTenCV-J.js → runtime-jVzpCkuu.js} +1 -1
- package/dist/preview/index.html +2 -2
- package/dist/runtime/components/block-layout-editor/index.d.vue.ts +19 -1
- package/dist/runtime/components/block-layout-editor/index.vue +131 -38
- package/dist/runtime/components/block-layout-editor/index.vue.d.ts +19 -1
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/config.d.vue.ts +4 -0
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/config.vue.d.ts +4 -0
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/runtime.d.vue.ts +4 -0
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/runtime.vue.d.ts +4 -0
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/schema.d.ts +4 -0
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/config.d.vue.ts +4 -0
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/config.vue.d.ts +4 -0
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/runtime.d.vue.ts +4 -0
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/runtime.vue.d.ts +4 -0
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/schema.d.ts +6 -0
- package/dist/runtime/components/config/blocks/2026-06-02/com.shwfed.block.card/badge.vue +11 -1
- package/dist/runtime/components/config/blocks/2026-06-02/com.shwfed.block.card/config.d.vue.ts +2 -0
- package/dist/runtime/components/config/blocks/2026-06-02/com.shwfed.block.card/config.vue +48 -21
- package/dist/runtime/components/config/blocks/2026-06-02/com.shwfed.block.card/config.vue.d.ts +2 -0
- package/dist/runtime/components/config/blocks/2026-06-02/com.shwfed.block.card/runtime.d.vue.ts +2 -0
- package/dist/runtime/components/config/blocks/2026-06-02/com.shwfed.block.card/runtime.vue +46 -26
- package/dist/runtime/components/config/blocks/2026-06-02/com.shwfed.block.card/runtime.vue.d.ts +2 -0
- package/dist/runtime/components/config/blocks/2026-06-02/com.shwfed.block.card/schema.d.ts +2 -0
- package/dist/runtime/components/config/blocks/2026-06-02/com.shwfed.block.card/schema.js +12 -1
- package/dist/runtime/components/form/FormUnitRenderer.vue +2 -8
- package/dist/runtime/components/form/config.vue +49 -1
- package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.actions/schema.d.ts +1 -0
- package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.actions/schema.js +4 -1
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/config.d.vue.ts +16 -16
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/config.vue.d.ts +16 -16
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.d.vue.ts +18 -18
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.vue.d.ts +18 -18
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/config.d.vue.ts +16 -16
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/config.vue.d.ts +16 -16
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.d.vue.ts +18 -18
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.vue.d.ts +18 -18
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/schema.d.ts +1 -0
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/schema.js +4 -1
- package/dist/runtime/components/form/fields/2026-05-18/com.shwfed.form.field.table/schema.d.ts +1 -0
- package/dist/runtime/components/form/fields/2026-05-18/com.shwfed.form.field.table/schema.js +4 -1
- package/dist/runtime/components/form/fields/2026-05-20/com.shwfed.form.field.collapsible/schema.d.ts +1 -0
- package/dist/runtime/components/form/fields/2026-05-20/com.shwfed.form.field.collapsible/schema.js +4 -1
- package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.month/config.d.vue.ts +16 -16
- package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.month/config.vue.d.ts +16 -16
- package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/config.d.vue.ts +18 -18
- package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/config.vue.d.ts +18 -18
- package/dist/runtime/components/form/index.d.vue.ts +1 -0
- package/dist/runtime/components/form/index.vue +8 -0
- package/dist/runtime/components/form/index.vue.d.ts +1 -0
- package/dist/runtime/components/form/schema.d.ts +25 -0
- package/dist/runtime/components/form/schema.js +17 -0
- package/dist/runtime/components/form/unit-config.vue +32 -4
- package/dist/runtime/components/form/utils/history.d.ts +8 -0
- package/dist/runtime/components/form/utils/history.js +8 -0
- package/dist/runtime/components/form/utils/resolve.d.ts +9 -0
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/config.d.vue.ts +26 -26
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/config.vue.d.ts +26 -26
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/config.d.vue.ts +26 -26
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/config.vue.d.ts +26 -26
- package/dist/runtime/components/table/schema.d.ts +8 -0
- package/dist/runtime/components/ui/command/CommandItem.d.vue.ts +2 -2
- package/dist/runtime/components/ui/command/CommandItem.vue +1 -0
- package/dist/runtime/components/ui/command/CommandItem.vue.d.ts +2 -2
- package/dist/runtime/components/ui/context-menu/ContextMenuContent.d.vue.ts +0 -1
- package/dist/runtime/components/ui/context-menu/ContextMenuContent.vue +3 -4
- package/dist/runtime/components/ui/context-menu/ContextMenuContent.vue.d.ts +0 -1
- package/dist/runtime/components/ui/expression-editor/CodeMirrorInput.vue +17 -2
- package/dist/runtime/components/ui/input-group/InputGroupCombobox.d.vue.ts +2 -8
- package/dist/runtime/components/ui/input-group/InputGroupCombobox.vue +6 -5
- package/dist/runtime/components/ui/input-group/InputGroupCombobox.vue.d.ts +2 -8
- package/dist/runtime/components/ui/popover/PopoverContent.d.vue.ts +0 -1
- package/dist/runtime/components/ui/popover/PopoverContent.vue +3 -4
- package/dist/runtime/components/ui/popover/PopoverContent.vue.d.ts +0 -1
- package/dist/runtime/components/ui/tooltip/TooltipContent.d.vue.ts +0 -1
- package/dist/runtime/components/ui/tooltip/TooltipContent.vue +3 -4
- package/dist/runtime/components/ui/tooltip/TooltipContent.vue.d.ts +0 -1
- package/dist/runtime/share/slot-renderer.vue +2 -8
- package/package.json +1 -1
- package/dist/preview/assets/badge-CV7CwAKY.js +0 -1
- package/dist/preview/assets/index-C2PrdVxC.css +0 -1
- package/dist/preview/assets/index-CTZy_nrf.js +0 -680
- package/dist/preview/assets/index-CY99yvOi.js +0 -1
|
@@ -28,6 +28,13 @@ export function badgeSchema(configure) {
|
|
|
28
28
|
registerJson(env);
|
|
29
29
|
}
|
|
30
30
|
});
|
|
31
|
+
const CelShow = Expression({
|
|
32
|
+
configure: (env) => {
|
|
33
|
+
configure(env);
|
|
34
|
+
registerJson(env);
|
|
35
|
+
},
|
|
36
|
+
resultType: "bool"
|
|
37
|
+
});
|
|
31
38
|
return Schema.Struct({
|
|
32
39
|
request: Schema.optional(CelRequest).annotations({
|
|
33
40
|
title: "\u8BF7\u6C42",
|
|
@@ -37,6 +44,10 @@ export function badgeSchema(configure) {
|
|
|
37
44
|
title: "\u5185\u5BB9",
|
|
38
45
|
description: "\u672C\u5730\u5316\u7684\u5185\u8054 Markdown\uFF0C\u652F\u6301 `{{ \u8868\u8FBE\u5F0F }}` CEL \u63D2\u503C\uFF0C\u53EF\u5F15\u7528 `json`\uFF1B\u7559\u7A7A\u5219\u4E0D\u663E\u793A\u5FBD\u7AE0"
|
|
39
46
|
}),
|
|
47
|
+
show: Schema.optional(CelShow).annotations({
|
|
48
|
+
title: "\u663E\u793A\u6761\u4EF6",
|
|
49
|
+
description: "\u8FD4\u56DE `bool` \u7684\u8868\u8FBE\u5F0F\uFF0C\u53EF\u5F15\u7528 `json`\uFF1B\u8FD4\u56DE `false` \u65F6\u5373\u4F7F `\u5185\u5BB9` \u975E\u7A7A\u4E5F\u4E0D\u663E\u793A\u5FBD\u7AE0\uFF1B\u7559\u7A7A\u5219\u59CB\u7EC8\u663E\u793A\u3002\u5E38\u7528\u4E8E\u5FFD\u7565\u7279\u5B9A\u503C\uFF08\u5982 total \u4E3A 0 \u65F6\u9690\u85CF\uFF09"
|
|
50
|
+
}),
|
|
40
51
|
interval: Schema.optional(
|
|
41
52
|
Schema.Number.pipe(Schema.int(), Schema.positive()).annotations({
|
|
42
53
|
title: "\u8F6E\u8BE2\u95F4\u9694",
|
|
@@ -80,7 +91,7 @@ export function schema(configure, blockRef) {
|
|
|
80
91
|
}),
|
|
81
92
|
url: Schema.optional(CelUrl).annotations({
|
|
82
93
|
title: "\u94FE\u63A5",
|
|
83
|
-
description: "\u8FD4\u56DE `string` \u7684 CEL \u8868\u8FBE\u5F0F\uFF1B\u914D\u7F6E\u540E\u70B9\u51FB\u5361\u7247\u7A7A\u767D\u5904\u5C06\
|
|
94
|
+
description: "\u8FD4\u56DE `string` \u7684 CEL \u8868\u8FBE\u5F0F\uFF1B\u914D\u7F6E\u540E\u70B9\u51FB\u5361\u7247\u7A7A\u767D\u5904\u5C06\u901A\u8FC7\u8DEF\u7531\u8DF3\u8F6C\u5230\u8BE5\u94FE\u63A5\uFF08\u7ECF `NuxtLink`\uFF0C\u9075\u5FAA\u5E94\u7528 base URL\uFF09\u3002\u70B9\u51FB\u5361\u7247\u5185\u7684\u6309\u94AE\u3001\u94FE\u63A5\u7B49\u4EA4\u4E92\u5143\u7D20\u4E0D\u4F1A\u89E6\u53D1"
|
|
84
95
|
}),
|
|
85
96
|
badge: Schema.optional(badgeSchema(configure)).annotations({
|
|
86
97
|
title: "\u5FBD\u7AE0",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script setup>
|
|
2
|
-
import { computed
|
|
2
|
+
import { computed } from "vue";
|
|
3
3
|
import { DEFAULT_GAP } from "./schema";
|
|
4
4
|
import { findField } from "./utils/resolve";
|
|
5
5
|
defineOptions({ name: "ShwfedFormUnitRenderer" });
|
|
@@ -19,13 +19,7 @@ function pickLayout(sets) {
|
|
|
19
19
|
}
|
|
20
20
|
return sets[sets.length - 1];
|
|
21
21
|
}
|
|
22
|
-
const activeLayout =
|
|
23
|
-
onMounted(() => {
|
|
24
|
-
activeLayout.value = pickLayout(props.unit.layouts);
|
|
25
|
-
});
|
|
26
|
-
watch(() => props.unit.layouts, (sets) => {
|
|
27
|
-
activeLayout.value = pickLayout(sets);
|
|
28
|
-
}, { deep: false });
|
|
22
|
+
const activeLayout = computed(() => pickLayout(props.unit.layouts));
|
|
29
23
|
const warnedMissing = /* @__PURE__ */ new Set();
|
|
30
24
|
const placedFields = computed(() => {
|
|
31
25
|
const layout = activeLayout.value?.layout;
|
|
@@ -3,12 +3,15 @@ import { computed, ref } from "vue";
|
|
|
3
3
|
import { provideCELContext } from "../../utils/cel-context";
|
|
4
4
|
import { ExpressionEditor } from "../ui/expression-editor";
|
|
5
5
|
import { Field, FieldLabel } from "../ui/field";
|
|
6
|
+
import { Input } from "../ui/input";
|
|
6
7
|
import { Markdown } from "../ui/markdown";
|
|
7
8
|
import { Textarea } from "../ui/textarea";
|
|
9
|
+
import { provideEventAncestor } from "../../share/event-bus";
|
|
8
10
|
import {
|
|
9
11
|
FormConfig,
|
|
10
12
|
getStructFieldDescription,
|
|
11
|
-
getStructFieldTitle
|
|
13
|
+
getStructFieldTitle,
|
|
14
|
+
metadata as formMetadata
|
|
12
15
|
} from "./schema";
|
|
13
16
|
import ShwfedFormUnitConfig, {} from "./unit-config.vue";
|
|
14
17
|
import { buildFormCelScope } from "./utils/cel-scope";
|
|
@@ -23,6 +26,21 @@ const formConfigSchema = FormConfig(configure);
|
|
|
23
26
|
const generalFieldTitle = (f) => getStructFieldTitle(formConfigSchema, f) ?? f;
|
|
24
27
|
const generalFieldDescription = (f) => getStructFieldDescription(formConfigSchema, f);
|
|
25
28
|
provideCELContext(buildFormCelScope(configure));
|
|
29
|
+
const formEventAncestor = computed(() => {
|
|
30
|
+
const id = config.value.id;
|
|
31
|
+
if (!id) return null;
|
|
32
|
+
const displayName = config.value.displayName;
|
|
33
|
+
return {
|
|
34
|
+
instanceId: id,
|
|
35
|
+
// Left undefined when the configurer wrote no 内部名称 — the trigger UI
|
|
36
|
+
// then shows just the type name rather than a redundant 「表单」.
|
|
37
|
+
name: displayName && displayName.length > 0 ? displayName : void 0,
|
|
38
|
+
typeName: formMetadata.name,
|
|
39
|
+
typeIcon: formMetadata.icon,
|
|
40
|
+
operations: formMetadata.operations
|
|
41
|
+
};
|
|
42
|
+
});
|
|
43
|
+
provideEventAncestor(formEventAncestor);
|
|
26
44
|
const unitModel = computed({
|
|
27
45
|
get: () => ({ fields: config.value.fields, layouts: config.value.layouts }),
|
|
28
46
|
set: (next) => {
|
|
@@ -44,6 +62,15 @@ function setInitialField(key, value) {
|
|
|
44
62
|
config.value = { ...config.value, initial: next };
|
|
45
63
|
}
|
|
46
64
|
}
|
|
65
|
+
function updateDisplayName(value) {
|
|
66
|
+
const next = { ...config.value };
|
|
67
|
+
if (value.trim() === "") {
|
|
68
|
+
const { displayName: _omit, ...rest } = next;
|
|
69
|
+
config.value = rest;
|
|
70
|
+
} else {
|
|
71
|
+
config.value = { ...next, displayName: value };
|
|
72
|
+
}
|
|
73
|
+
}
|
|
47
74
|
function updateReadonly(value) {
|
|
48
75
|
const next = { ...config.value };
|
|
49
76
|
if (value.trim() === "") {
|
|
@@ -73,6 +100,27 @@ function updateStyle(value) {
|
|
|
73
100
|
>
|
|
74
101
|
<template #extras-pane>
|
|
75
102
|
<div class="flex flex-col gap-4">
|
|
103
|
+
<Field orientation="vertical">
|
|
104
|
+
<FieldLabel class="text-xs text-zinc-500">
|
|
105
|
+
<template
|
|
106
|
+
v-if="generalFieldDescription('displayName')"
|
|
107
|
+
#tooltip
|
|
108
|
+
>
|
|
109
|
+
<Markdown
|
|
110
|
+
:source="generalFieldDescription('displayName')"
|
|
111
|
+
block
|
|
112
|
+
class="prose prose-sm prose-zinc"
|
|
113
|
+
/>
|
|
114
|
+
</template>
|
|
115
|
+
{{ generalFieldTitle("displayName") }}
|
|
116
|
+
</FieldLabel>
|
|
117
|
+
<Input
|
|
118
|
+
:model-value="config.displayName ?? ''"
|
|
119
|
+
placeholder="如 用户信息表单"
|
|
120
|
+
@update:model-value="(v) => updateDisplayName(String(v))"
|
|
121
|
+
/>
|
|
122
|
+
</Field>
|
|
123
|
+
|
|
76
124
|
<Field orientation="vertical">
|
|
77
125
|
<FieldLabel class="text-xs text-zinc-500">
|
|
78
126
|
<template
|
package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.actions/schema.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ export declare const metadata: {
|
|
|
15
15
|
readonly min: 2;
|
|
16
16
|
readonly max: number;
|
|
17
17
|
};
|
|
18
|
+
readonly inlineConfig: false;
|
|
18
19
|
};
|
|
19
20
|
export declare function schema(configure: (env: Environment) => void): Schema.Struct<{
|
|
20
21
|
groups: Schema.optionalWith<Schema.Array$<Schema.Struct<{
|
package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.actions/schema.js
CHANGED
|
@@ -7,7 +7,10 @@ export const metadata = {
|
|
|
7
7
|
name: "\u64CD\u4F5C",
|
|
8
8
|
icon: "fluent:cursor-click-20-regular",
|
|
9
9
|
w: { initial: 8, min: 4, max: Infinity },
|
|
10
|
-
h: { initial: 2, min: 2, max: Infinity }
|
|
10
|
+
h: { initial: 2, min: 2, max: Infinity },
|
|
11
|
+
// Drills into its own nested button layout editor — too complex for the
|
|
12
|
+
// fullscreen inline-config pane; keep the (fullscreen-exiting) drill-down.
|
|
13
|
+
inlineConfig: false
|
|
11
14
|
};
|
|
12
15
|
export function schema(configure) {
|
|
13
16
|
const { fields: actionFields } = ActionSchemaFields(configure);
|
package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/config.d.vue.ts
CHANGED
|
@@ -41,27 +41,27 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
41
41
|
} | undefined;
|
|
42
42
|
readonly format?: string | undefined;
|
|
43
43
|
readonly valueFormat?: string | undefined;
|
|
44
|
-
readonly
|
|
45
|
-
readonly
|
|
44
|
+
readonly validations?: readonly {
|
|
45
|
+
readonly message: readonly [{
|
|
46
46
|
readonly locale: "zh";
|
|
47
47
|
readonly message: string;
|
|
48
48
|
}, ...{
|
|
49
49
|
readonly locale: "en" | "ja" | "ko";
|
|
50
50
|
readonly message: string;
|
|
51
51
|
}[]];
|
|
52
|
-
readonly
|
|
53
|
-
readonly
|
|
52
|
+
readonly warning?: boolean | undefined;
|
|
53
|
+
readonly when: string;
|
|
54
54
|
}[] | undefined;
|
|
55
|
-
readonly
|
|
56
|
-
readonly
|
|
55
|
+
readonly presets?: readonly {
|
|
56
|
+
readonly label: readonly [{
|
|
57
57
|
readonly locale: "zh";
|
|
58
58
|
readonly message: string;
|
|
59
59
|
}, ...{
|
|
60
60
|
readonly locale: "en" | "ja" | "ko";
|
|
61
61
|
readonly message: string;
|
|
62
62
|
}[]];
|
|
63
|
-
readonly
|
|
64
|
-
readonly
|
|
63
|
+
readonly id: string;
|
|
64
|
+
readonly value: string;
|
|
65
65
|
}[] | undefined;
|
|
66
66
|
}) => any;
|
|
67
67
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
@@ -103,27 +103,27 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
103
103
|
} | undefined;
|
|
104
104
|
readonly format?: string | undefined;
|
|
105
105
|
readonly valueFormat?: string | undefined;
|
|
106
|
-
readonly
|
|
107
|
-
readonly
|
|
106
|
+
readonly validations?: readonly {
|
|
107
|
+
readonly message: readonly [{
|
|
108
108
|
readonly locale: "zh";
|
|
109
109
|
readonly message: string;
|
|
110
110
|
}, ...{
|
|
111
111
|
readonly locale: "en" | "ja" | "ko";
|
|
112
112
|
readonly message: string;
|
|
113
113
|
}[]];
|
|
114
|
-
readonly
|
|
115
|
-
readonly
|
|
114
|
+
readonly warning?: boolean | undefined;
|
|
115
|
+
readonly when: string;
|
|
116
116
|
}[] | undefined;
|
|
117
|
-
readonly
|
|
118
|
-
readonly
|
|
117
|
+
readonly presets?: readonly {
|
|
118
|
+
readonly label: readonly [{
|
|
119
119
|
readonly locale: "zh";
|
|
120
120
|
readonly message: string;
|
|
121
121
|
}, ...{
|
|
122
122
|
readonly locale: "en" | "ja" | "ko";
|
|
123
123
|
readonly message: string;
|
|
124
124
|
}[]];
|
|
125
|
-
readonly
|
|
126
|
-
readonly
|
|
125
|
+
readonly id: string;
|
|
126
|
+
readonly value: string;
|
|
127
127
|
}[] | undefined;
|
|
128
128
|
}) => any) | undefined;
|
|
129
129
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/config.vue.d.ts
CHANGED
|
@@ -41,27 +41,27 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
41
41
|
} | undefined;
|
|
42
42
|
readonly format?: string | undefined;
|
|
43
43
|
readonly valueFormat?: string | undefined;
|
|
44
|
-
readonly
|
|
45
|
-
readonly
|
|
44
|
+
readonly validations?: readonly {
|
|
45
|
+
readonly message: readonly [{
|
|
46
46
|
readonly locale: "zh";
|
|
47
47
|
readonly message: string;
|
|
48
48
|
}, ...{
|
|
49
49
|
readonly locale: "en" | "ja" | "ko";
|
|
50
50
|
readonly message: string;
|
|
51
51
|
}[]];
|
|
52
|
-
readonly
|
|
53
|
-
readonly
|
|
52
|
+
readonly warning?: boolean | undefined;
|
|
53
|
+
readonly when: string;
|
|
54
54
|
}[] | undefined;
|
|
55
|
-
readonly
|
|
56
|
-
readonly
|
|
55
|
+
readonly presets?: readonly {
|
|
56
|
+
readonly label: readonly [{
|
|
57
57
|
readonly locale: "zh";
|
|
58
58
|
readonly message: string;
|
|
59
59
|
}, ...{
|
|
60
60
|
readonly locale: "en" | "ja" | "ko";
|
|
61
61
|
readonly message: string;
|
|
62
62
|
}[]];
|
|
63
|
-
readonly
|
|
64
|
-
readonly
|
|
63
|
+
readonly id: string;
|
|
64
|
+
readonly value: string;
|
|
65
65
|
}[] | undefined;
|
|
66
66
|
}) => any;
|
|
67
67
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
@@ -103,27 +103,27 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
103
103
|
} | undefined;
|
|
104
104
|
readonly format?: string | undefined;
|
|
105
105
|
readonly valueFormat?: string | undefined;
|
|
106
|
-
readonly
|
|
107
|
-
readonly
|
|
106
|
+
readonly validations?: readonly {
|
|
107
|
+
readonly message: readonly [{
|
|
108
108
|
readonly locale: "zh";
|
|
109
109
|
readonly message: string;
|
|
110
110
|
}, ...{
|
|
111
111
|
readonly locale: "en" | "ja" | "ko";
|
|
112
112
|
readonly message: string;
|
|
113
113
|
}[]];
|
|
114
|
-
readonly
|
|
115
|
-
readonly
|
|
114
|
+
readonly warning?: boolean | undefined;
|
|
115
|
+
readonly when: string;
|
|
116
116
|
}[] | undefined;
|
|
117
|
-
readonly
|
|
118
|
-
readonly
|
|
117
|
+
readonly presets?: readonly {
|
|
118
|
+
readonly label: readonly [{
|
|
119
119
|
readonly locale: "zh";
|
|
120
120
|
readonly message: string;
|
|
121
121
|
}, ...{
|
|
122
122
|
readonly locale: "en" | "ja" | "ko";
|
|
123
123
|
readonly message: string;
|
|
124
124
|
}[]];
|
|
125
|
-
readonly
|
|
126
|
-
readonly
|
|
125
|
+
readonly id: string;
|
|
126
|
+
readonly value: string;
|
|
127
127
|
}[] | undefined;
|
|
128
128
|
}) => any) | undefined;
|
|
129
129
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -50,28 +50,28 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
50
50
|
readonly locale: "en" | "ja" | "ko";
|
|
51
51
|
readonly message: string;
|
|
52
52
|
}[]] | undefined;
|
|
53
|
-
readonly
|
|
54
|
-
readonly
|
|
53
|
+
readonly validations?: readonly {
|
|
54
|
+
readonly message: readonly [{
|
|
55
55
|
readonly locale: "zh";
|
|
56
56
|
readonly message: string;
|
|
57
57
|
}, ...{
|
|
58
58
|
readonly locale: "en" | "ja" | "ko";
|
|
59
59
|
readonly message: string;
|
|
60
60
|
}[]];
|
|
61
|
-
readonly
|
|
62
|
-
readonly
|
|
63
|
-
readonly start: string;
|
|
61
|
+
readonly warning?: boolean | undefined;
|
|
62
|
+
readonly when: string;
|
|
64
63
|
}[] | undefined;
|
|
65
|
-
readonly
|
|
66
|
-
readonly
|
|
64
|
+
readonly presets?: readonly {
|
|
65
|
+
readonly label: readonly [{
|
|
67
66
|
readonly locale: "zh";
|
|
68
67
|
readonly message: string;
|
|
69
68
|
}, ...{
|
|
70
69
|
readonly locale: "en" | "ja" | "ko";
|
|
71
70
|
readonly message: string;
|
|
72
71
|
}[]];
|
|
73
|
-
readonly
|
|
74
|
-
readonly
|
|
72
|
+
readonly id: string;
|
|
73
|
+
readonly end: string;
|
|
74
|
+
readonly start: string;
|
|
75
75
|
}[] | undefined;
|
|
76
76
|
}) => any;
|
|
77
77
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
@@ -122,28 +122,28 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
122
122
|
readonly locale: "en" | "ja" | "ko";
|
|
123
123
|
readonly message: string;
|
|
124
124
|
}[]] | undefined;
|
|
125
|
-
readonly
|
|
126
|
-
readonly
|
|
125
|
+
readonly validations?: readonly {
|
|
126
|
+
readonly message: readonly [{
|
|
127
127
|
readonly locale: "zh";
|
|
128
128
|
readonly message: string;
|
|
129
129
|
}, ...{
|
|
130
130
|
readonly locale: "en" | "ja" | "ko";
|
|
131
131
|
readonly message: string;
|
|
132
132
|
}[]];
|
|
133
|
-
readonly
|
|
134
|
-
readonly
|
|
135
|
-
readonly start: string;
|
|
133
|
+
readonly warning?: boolean | undefined;
|
|
134
|
+
readonly when: string;
|
|
136
135
|
}[] | undefined;
|
|
137
|
-
readonly
|
|
138
|
-
readonly
|
|
136
|
+
readonly presets?: readonly {
|
|
137
|
+
readonly label: readonly [{
|
|
139
138
|
readonly locale: "zh";
|
|
140
139
|
readonly message: string;
|
|
141
140
|
}, ...{
|
|
142
141
|
readonly locale: "en" | "ja" | "ko";
|
|
143
142
|
readonly message: string;
|
|
144
143
|
}[]];
|
|
145
|
-
readonly
|
|
146
|
-
readonly
|
|
144
|
+
readonly id: string;
|
|
145
|
+
readonly end: string;
|
|
146
|
+
readonly start: string;
|
|
147
147
|
}[] | undefined;
|
|
148
148
|
}) => any) | undefined;
|
|
149
149
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -50,28 +50,28 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
50
50
|
readonly locale: "en" | "ja" | "ko";
|
|
51
51
|
readonly message: string;
|
|
52
52
|
}[]] | undefined;
|
|
53
|
-
readonly
|
|
54
|
-
readonly
|
|
53
|
+
readonly validations?: readonly {
|
|
54
|
+
readonly message: readonly [{
|
|
55
55
|
readonly locale: "zh";
|
|
56
56
|
readonly message: string;
|
|
57
57
|
}, ...{
|
|
58
58
|
readonly locale: "en" | "ja" | "ko";
|
|
59
59
|
readonly message: string;
|
|
60
60
|
}[]];
|
|
61
|
-
readonly
|
|
62
|
-
readonly
|
|
63
|
-
readonly start: string;
|
|
61
|
+
readonly warning?: boolean | undefined;
|
|
62
|
+
readonly when: string;
|
|
64
63
|
}[] | undefined;
|
|
65
|
-
readonly
|
|
66
|
-
readonly
|
|
64
|
+
readonly presets?: readonly {
|
|
65
|
+
readonly label: readonly [{
|
|
67
66
|
readonly locale: "zh";
|
|
68
67
|
readonly message: string;
|
|
69
68
|
}, ...{
|
|
70
69
|
readonly locale: "en" | "ja" | "ko";
|
|
71
70
|
readonly message: string;
|
|
72
71
|
}[]];
|
|
73
|
-
readonly
|
|
74
|
-
readonly
|
|
72
|
+
readonly id: string;
|
|
73
|
+
readonly end: string;
|
|
74
|
+
readonly start: string;
|
|
75
75
|
}[] | undefined;
|
|
76
76
|
}) => any;
|
|
77
77
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
@@ -122,28 +122,28 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
122
122
|
readonly locale: "en" | "ja" | "ko";
|
|
123
123
|
readonly message: string;
|
|
124
124
|
}[]] | undefined;
|
|
125
|
-
readonly
|
|
126
|
-
readonly
|
|
125
|
+
readonly validations?: readonly {
|
|
126
|
+
readonly message: readonly [{
|
|
127
127
|
readonly locale: "zh";
|
|
128
128
|
readonly message: string;
|
|
129
129
|
}, ...{
|
|
130
130
|
readonly locale: "en" | "ja" | "ko";
|
|
131
131
|
readonly message: string;
|
|
132
132
|
}[]];
|
|
133
|
-
readonly
|
|
134
|
-
readonly
|
|
135
|
-
readonly start: string;
|
|
133
|
+
readonly warning?: boolean | undefined;
|
|
134
|
+
readonly when: string;
|
|
136
135
|
}[] | undefined;
|
|
137
|
-
readonly
|
|
138
|
-
readonly
|
|
136
|
+
readonly presets?: readonly {
|
|
137
|
+
readonly label: readonly [{
|
|
139
138
|
readonly locale: "zh";
|
|
140
139
|
readonly message: string;
|
|
141
140
|
}, ...{
|
|
142
141
|
readonly locale: "en" | "ja" | "ko";
|
|
143
142
|
readonly message: string;
|
|
144
143
|
}[]];
|
|
145
|
-
readonly
|
|
146
|
-
readonly
|
|
144
|
+
readonly id: string;
|
|
145
|
+
readonly end: string;
|
|
146
|
+
readonly start: string;
|
|
147
147
|
}[] | undefined;
|
|
148
148
|
}) => any) | undefined;
|
|
149
149
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -43,27 +43,27 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
43
43
|
readonly format?: string | undefined;
|
|
44
44
|
readonly valueFormat?: string | undefined;
|
|
45
45
|
readonly timeGranularity?: "hour" | "minute" | "second" | undefined;
|
|
46
|
-
readonly
|
|
47
|
-
readonly
|
|
46
|
+
readonly validations?: readonly {
|
|
47
|
+
readonly message: readonly [{
|
|
48
48
|
readonly locale: "zh";
|
|
49
49
|
readonly message: string;
|
|
50
50
|
}, ...{
|
|
51
51
|
readonly locale: "en" | "ja" | "ko";
|
|
52
52
|
readonly message: string;
|
|
53
53
|
}[]];
|
|
54
|
-
readonly
|
|
55
|
-
readonly
|
|
54
|
+
readonly warning?: boolean | undefined;
|
|
55
|
+
readonly when: string;
|
|
56
56
|
}[] | undefined;
|
|
57
|
-
readonly
|
|
58
|
-
readonly
|
|
57
|
+
readonly presets?: readonly {
|
|
58
|
+
readonly label: readonly [{
|
|
59
59
|
readonly locale: "zh";
|
|
60
60
|
readonly message: string;
|
|
61
61
|
}, ...{
|
|
62
62
|
readonly locale: "en" | "ja" | "ko";
|
|
63
63
|
readonly message: string;
|
|
64
64
|
}[]];
|
|
65
|
-
readonly
|
|
66
|
-
readonly
|
|
65
|
+
readonly id: string;
|
|
66
|
+
readonly value: string;
|
|
67
67
|
}[] | undefined;
|
|
68
68
|
}) => any;
|
|
69
69
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
@@ -107,27 +107,27 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
107
107
|
readonly format?: string | undefined;
|
|
108
108
|
readonly valueFormat?: string | undefined;
|
|
109
109
|
readonly timeGranularity?: "hour" | "minute" | "second" | undefined;
|
|
110
|
-
readonly
|
|
111
|
-
readonly
|
|
110
|
+
readonly validations?: readonly {
|
|
111
|
+
readonly message: readonly [{
|
|
112
112
|
readonly locale: "zh";
|
|
113
113
|
readonly message: string;
|
|
114
114
|
}, ...{
|
|
115
115
|
readonly locale: "en" | "ja" | "ko";
|
|
116
116
|
readonly message: string;
|
|
117
117
|
}[]];
|
|
118
|
-
readonly
|
|
119
|
-
readonly
|
|
118
|
+
readonly warning?: boolean | undefined;
|
|
119
|
+
readonly when: string;
|
|
120
120
|
}[] | undefined;
|
|
121
|
-
readonly
|
|
122
|
-
readonly
|
|
121
|
+
readonly presets?: readonly {
|
|
122
|
+
readonly label: readonly [{
|
|
123
123
|
readonly locale: "zh";
|
|
124
124
|
readonly message: string;
|
|
125
125
|
}, ...{
|
|
126
126
|
readonly locale: "en" | "ja" | "ko";
|
|
127
127
|
readonly message: string;
|
|
128
128
|
}[]];
|
|
129
|
-
readonly
|
|
130
|
-
readonly
|
|
129
|
+
readonly id: string;
|
|
130
|
+
readonly value: string;
|
|
131
131
|
}[] | undefined;
|
|
132
132
|
}) => any) | undefined;
|
|
133
133
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -43,27 +43,27 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
43
43
|
readonly format?: string | undefined;
|
|
44
44
|
readonly valueFormat?: string | undefined;
|
|
45
45
|
readonly timeGranularity?: "hour" | "minute" | "second" | undefined;
|
|
46
|
-
readonly
|
|
47
|
-
readonly
|
|
46
|
+
readonly validations?: readonly {
|
|
47
|
+
readonly message: readonly [{
|
|
48
48
|
readonly locale: "zh";
|
|
49
49
|
readonly message: string;
|
|
50
50
|
}, ...{
|
|
51
51
|
readonly locale: "en" | "ja" | "ko";
|
|
52
52
|
readonly message: string;
|
|
53
53
|
}[]];
|
|
54
|
-
readonly
|
|
55
|
-
readonly
|
|
54
|
+
readonly warning?: boolean | undefined;
|
|
55
|
+
readonly when: string;
|
|
56
56
|
}[] | undefined;
|
|
57
|
-
readonly
|
|
58
|
-
readonly
|
|
57
|
+
readonly presets?: readonly {
|
|
58
|
+
readonly label: readonly [{
|
|
59
59
|
readonly locale: "zh";
|
|
60
60
|
readonly message: string;
|
|
61
61
|
}, ...{
|
|
62
62
|
readonly locale: "en" | "ja" | "ko";
|
|
63
63
|
readonly message: string;
|
|
64
64
|
}[]];
|
|
65
|
-
readonly
|
|
66
|
-
readonly
|
|
65
|
+
readonly id: string;
|
|
66
|
+
readonly value: string;
|
|
67
67
|
}[] | undefined;
|
|
68
68
|
}) => any;
|
|
69
69
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
@@ -107,27 +107,27 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
107
107
|
readonly format?: string | undefined;
|
|
108
108
|
readonly valueFormat?: string | undefined;
|
|
109
109
|
readonly timeGranularity?: "hour" | "minute" | "second" | undefined;
|
|
110
|
-
readonly
|
|
111
|
-
readonly
|
|
110
|
+
readonly validations?: readonly {
|
|
111
|
+
readonly message: readonly [{
|
|
112
112
|
readonly locale: "zh";
|
|
113
113
|
readonly message: string;
|
|
114
114
|
}, ...{
|
|
115
115
|
readonly locale: "en" | "ja" | "ko";
|
|
116
116
|
readonly message: string;
|
|
117
117
|
}[]];
|
|
118
|
-
readonly
|
|
119
|
-
readonly
|
|
118
|
+
readonly warning?: boolean | undefined;
|
|
119
|
+
readonly when: string;
|
|
120
120
|
}[] | undefined;
|
|
121
|
-
readonly
|
|
122
|
-
readonly
|
|
121
|
+
readonly presets?: readonly {
|
|
122
|
+
readonly label: readonly [{
|
|
123
123
|
readonly locale: "zh";
|
|
124
124
|
readonly message: string;
|
|
125
125
|
}, ...{
|
|
126
126
|
readonly locale: "en" | "ja" | "ko";
|
|
127
127
|
readonly message: string;
|
|
128
128
|
}[]];
|
|
129
|
-
readonly
|
|
130
|
-
readonly
|
|
129
|
+
readonly id: string;
|
|
130
|
+
readonly value: string;
|
|
131
131
|
}[] | undefined;
|
|
132
132
|
}) => any) | undefined;
|
|
133
133
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|