@shwfed/config 2.7.3 → 2.7.4
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 +11 -0
- package/dist/module.json +1 -1
- package/dist/preview/assets/badge-BKq7Eh7r.js +1 -0
- package/dist/preview/assets/{config-Ck5_8YaL.js → config-C2XmKu42.js} +1 -1
- package/dist/preview/assets/{config-Bo4cd_u5.js → config-C31gRv6X.js} +1 -1
- package/dist/preview/assets/{config-DE97oObU.js → config-CXomiRuI.js} +1 -1
- package/dist/preview/assets/{config-L72ON8PT.js → config-CnsvNcA2.js} +1 -1
- package/dist/preview/assets/{config-dk7L4924.js → config-DD3McP6M.js} +1 -1
- package/dist/preview/assets/{config-5JFmp62X.js → config-DM58--pQ.js} +1 -1
- package/dist/preview/assets/{config-CMcqX_mc.js → config-De_RAxft.js} +1 -1
- package/dist/preview/assets/{config-BoVPp04e.js → config-Dg3cJb4i.js} +1 -1
- package/dist/preview/assets/{config-BkS5uufU.js → config-DpTBe8_L.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-D-K8Bmbj.js} +1 -1
- package/dist/preview/assets/{index-DumuGVME.js → index-4Jigs5K_.js} +1 -1
- package/dist/preview/assets/{index-CTZy_nrf.js → index-CfwL2UCH.js} +110 -110
- package/dist/preview/assets/index-DNHGrCDe.css +1 -0
- package/dist/preview/assets/index-DUo1pTg2.js +1 -0
- package/dist/preview/assets/{item-BhBaPg4Z.js → item-DnUV5B-b.js} +1 -1
- package/dist/preview/assets/{runtime-DrxczhTW.js → runtime-BCxzICuW.js} +1 -1
- package/dist/preview/assets/{runtime-CILO8PDD.js → runtime-BqhvXsJ-.js} +1 -1
- package/dist/preview/assets/{runtime-iR16bMIx.js → runtime-CG4uOgGu.js} +1 -1
- package/dist/preview/assets/{runtime-CrNhb4dv.js → runtime-ChaoQZI9.js} +1 -1
- package/dist/preview/assets/{runtime-C6Pc6N3T.js → runtime-DAfJmoV1.js} +1 -1
- package/dist/preview/assets/{runtime-luMscNiE.js → runtime-Dhi2Tk84.js} +1 -1
- package/dist/preview/assets/{runtime-KTenCV-J.js → runtime-Dj43RjZC.js} +1 -1
- package/dist/preview/assets/{runtime-BbGu9CHo.js → runtime-DnlIppMg.js} +1 -1
- package/dist/preview/assets/{runtime-DZuxXJrv.js → runtime-W5CcSnyo.js} +1 -1
- package/dist/preview/index.html +2 -2
- 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.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 +11 -0
- package/dist/runtime/components/form/FormUnitRenderer.vue +2 -8
- 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-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/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-05-28/com.shwfed.table.column.combobox-multi/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/config.vue.d.ts +2 -2
- 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-CY99yvOi.js +0 -1
|
@@ -59,7 +59,7 @@ const slotAccessor = computed({
|
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
61
|
const editor = useSlotEditor(slotAccessor, { configure: configure.value });
|
|
62
|
-
const viewMode = ref("
|
|
62
|
+
const viewMode = ref("general");
|
|
63
63
|
function selectContent() {
|
|
64
64
|
viewMode.value = "content";
|
|
65
65
|
drilledBlockId.value = null;
|
|
@@ -103,6 +103,9 @@ function setBadgeRequest(v) {
|
|
|
103
103
|
function setBadgeContent(v) {
|
|
104
104
|
patchBadge({ content: isLocaleBlank(v) ? void 0 : v });
|
|
105
105
|
}
|
|
106
|
+
function setBadgeShow(v) {
|
|
107
|
+
patchBadge({ show: v.trim().length > 0 ? v : void 0 });
|
|
108
|
+
}
|
|
106
109
|
function setBadgeInterval(v) {
|
|
107
110
|
patchBadge({ interval: typeof v === "number" && v > 0 ? Math.round(v) : void 0 });
|
|
108
111
|
}
|
|
@@ -190,38 +193,38 @@ if (breadcrumbExt) {
|
|
|
190
193
|
>
|
|
191
194
|
<div
|
|
192
195
|
class="row pl-2"
|
|
193
|
-
:class="viewMode === '
|
|
194
|
-
@click="
|
|
196
|
+
:class="viewMode === 'general' ? 'bg-[color-mix(in_srgb,var(--primary)_10%,white)] text-(--primary)' : 'text-zinc-700 hover:bg-zinc-50'"
|
|
197
|
+
@click="selectGeneral()"
|
|
195
198
|
>
|
|
196
199
|
<Icon
|
|
197
|
-
icon="fluent:
|
|
200
|
+
icon="fluent:settings-20-regular"
|
|
198
201
|
class="size-4 shrink-0"
|
|
199
202
|
/>
|
|
200
|
-
<span class="flex-1 truncate"
|
|
203
|
+
<span class="flex-1 truncate">通用配置</span>
|
|
201
204
|
</div>
|
|
202
205
|
|
|
203
206
|
<div
|
|
204
207
|
class="row pl-2"
|
|
205
|
-
:class="viewMode === '
|
|
206
|
-
@click="
|
|
208
|
+
:class="viewMode === 'content' ? 'bg-[color-mix(in_srgb,var(--primary)_10%,white)] text-(--primary)' : 'text-zinc-700 hover:bg-zinc-50'"
|
|
209
|
+
@click="selectContent()"
|
|
207
210
|
>
|
|
208
211
|
<Icon
|
|
209
|
-
icon="fluent:
|
|
212
|
+
icon="fluent:apps-list-20-regular"
|
|
210
213
|
class="size-4 shrink-0"
|
|
211
214
|
/>
|
|
212
|
-
<span class="flex-1 truncate"
|
|
215
|
+
<span class="flex-1 truncate">内容</span>
|
|
213
216
|
</div>
|
|
214
217
|
|
|
215
218
|
<div
|
|
216
219
|
class="row pl-2"
|
|
217
|
-
:class="viewMode === '
|
|
218
|
-
@click="
|
|
220
|
+
:class="viewMode === 'badge' ? 'bg-[color-mix(in_srgb,var(--primary)_10%,white)] text-(--primary)' : 'text-zinc-700 hover:bg-zinc-50'"
|
|
221
|
+
@click="selectBadge()"
|
|
219
222
|
>
|
|
220
223
|
<Icon
|
|
221
|
-
icon="fluent:
|
|
224
|
+
icon="fluent:badge-20-regular"
|
|
222
225
|
class="size-4 shrink-0"
|
|
223
226
|
/>
|
|
224
|
-
<span class="flex-1 truncate"
|
|
227
|
+
<span class="flex-1 truncate">徽章</span>
|
|
225
228
|
</div>
|
|
226
229
|
|
|
227
230
|
<Separator class="my-2" />
|
|
@@ -352,6 +355,30 @@ if (breadcrumbExt) {
|
|
|
352
355
|
|
|
353
356
|
<!-- Badge settings. -->
|
|
354
357
|
<template v-else-if="viewMode === 'badge'">
|
|
358
|
+
<Field orientation="vertical">
|
|
359
|
+
<FieldLabel class="text-xs text-zinc-500">
|
|
360
|
+
<template
|
|
361
|
+
v-if="badgeDescription('request')"
|
|
362
|
+
#tooltip
|
|
363
|
+
>
|
|
364
|
+
<Markdown
|
|
365
|
+
:source="badgeDescription('request')"
|
|
366
|
+
block
|
|
367
|
+
class="prose prose-sm prose-zinc"
|
|
368
|
+
/>
|
|
369
|
+
</template>
|
|
370
|
+
{{ badgeTitle("request") }}
|
|
371
|
+
</FieldLabel>
|
|
372
|
+
<ExpressionEditor
|
|
373
|
+
:model-value="badge.request ?? ''"
|
|
374
|
+
placeholder="可选;如 http.get('/api/notifications')"
|
|
375
|
+
result-type="HttpRequest"
|
|
376
|
+
multiline
|
|
377
|
+
class="min-h-20"
|
|
378
|
+
@update:model-value="(v) => setBadgeRequest(v)"
|
|
379
|
+
/>
|
|
380
|
+
</Field>
|
|
381
|
+
|
|
355
382
|
<Field orientation="vertical">
|
|
356
383
|
<FieldLabel class="text-xs text-zinc-500">
|
|
357
384
|
<template
|
|
@@ -377,24 +404,24 @@ if (breadcrumbExt) {
|
|
|
377
404
|
<Field orientation="vertical">
|
|
378
405
|
<FieldLabel class="text-xs text-zinc-500">
|
|
379
406
|
<template
|
|
380
|
-
v-if="badgeDescription('
|
|
407
|
+
v-if="badgeDescription('show')"
|
|
381
408
|
#tooltip
|
|
382
409
|
>
|
|
383
410
|
<Markdown
|
|
384
|
-
:source="badgeDescription('
|
|
411
|
+
:source="badgeDescription('show')"
|
|
385
412
|
block
|
|
386
413
|
class="prose prose-sm prose-zinc"
|
|
387
414
|
/>
|
|
388
415
|
</template>
|
|
389
|
-
{{ badgeTitle("
|
|
416
|
+
{{ badgeTitle("show") }}
|
|
390
417
|
</FieldLabel>
|
|
391
418
|
<ExpressionEditor
|
|
392
|
-
:model-value="badge.
|
|
393
|
-
placeholder="
|
|
394
|
-
result-type="
|
|
419
|
+
:model-value="badge.show ?? ''"
|
|
420
|
+
placeholder="例:json.?data.?total.orValue(0) != 0"
|
|
421
|
+
result-type="bool"
|
|
395
422
|
multiline
|
|
396
|
-
class="min-h-
|
|
397
|
-
@update:model-value="(v) =>
|
|
423
|
+
class="min-h-12"
|
|
424
|
+
@update:model-value="(v) => setBadgeShow(v)"
|
|
398
425
|
/>
|
|
399
426
|
</Field>
|
|
400
427
|
|
package/dist/runtime/components/config/blocks/2026-06-02/com.shwfed.block.card/config.vue.d.ts
CHANGED
|
@@ -43,6 +43,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
43
43
|
readonly locale: "en" | "ja" | "ko";
|
|
44
44
|
readonly message: string;
|
|
45
45
|
}[]] | undefined;
|
|
46
|
+
readonly show?: string | undefined;
|
|
46
47
|
readonly dot?: boolean | undefined;
|
|
47
48
|
readonly variant?: "default" | "destructive" | "outline" | "secondary" | undefined;
|
|
48
49
|
readonly request?: string | undefined;
|
|
@@ -85,6 +86,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
85
86
|
readonly locale: "en" | "ja" | "ko";
|
|
86
87
|
readonly message: string;
|
|
87
88
|
}[]] | undefined;
|
|
89
|
+
readonly show?: string | undefined;
|
|
88
90
|
readonly dot?: boolean | undefined;
|
|
89
91
|
readonly variant?: "default" | "destructive" | "outline" | "secondary" | undefined;
|
|
90
92
|
readonly request?: string | undefined;
|
package/dist/runtime/components/config/blocks/2026-06-02/com.shwfed.block.card/runtime.d.vue.ts
CHANGED
|
@@ -43,6 +43,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
43
43
|
readonly locale: "en" | "ja" | "ko";
|
|
44
44
|
readonly message: string;
|
|
45
45
|
}[]] | undefined;
|
|
46
|
+
readonly show?: string | undefined;
|
|
46
47
|
readonly dot?: boolean | undefined;
|
|
47
48
|
readonly variant?: "default" | "destructive" | "outline" | "secondary" | undefined;
|
|
48
49
|
readonly request?: string | undefined;
|
|
@@ -85,6 +86,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
85
86
|
readonly locale: "en" | "ja" | "ko";
|
|
86
87
|
readonly message: string;
|
|
87
88
|
}[]] | undefined;
|
|
89
|
+
readonly show?: string | undefined;
|
|
88
90
|
readonly dot?: boolean | undefined;
|
|
89
91
|
readonly variant?: "default" | "destructive" | "outline" | "secondary" | undefined;
|
|
90
92
|
readonly request?: string | undefined;
|
package/dist/runtime/components/config/blocks/2026-06-02/com.shwfed.block.card/runtime.vue.d.ts
CHANGED
|
@@ -43,6 +43,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
43
43
|
readonly locale: "en" | "ja" | "ko";
|
|
44
44
|
readonly message: string;
|
|
45
45
|
}[]] | undefined;
|
|
46
|
+
readonly show?: string | undefined;
|
|
46
47
|
readonly dot?: boolean | undefined;
|
|
47
48
|
readonly variant?: "default" | "destructive" | "outline" | "secondary" | undefined;
|
|
48
49
|
readonly request?: string | undefined;
|
|
@@ -85,6 +86,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
85
86
|
readonly locale: "en" | "ja" | "ko";
|
|
86
87
|
readonly message: string;
|
|
87
88
|
}[]] | undefined;
|
|
89
|
+
readonly show?: string | undefined;
|
|
88
90
|
readonly dot?: boolean | undefined;
|
|
89
91
|
readonly variant?: "default" | "destructive" | "outline" | "secondary" | undefined;
|
|
90
92
|
readonly request?: string | undefined;
|
|
@@ -37,6 +37,7 @@ export declare function badgeSchema(configure: Configure): Schema.Struct<{
|
|
|
37
37
|
locale: Schema.Literal<["ja", "en", "ko"]>;
|
|
38
38
|
message: Schema.SchemaClass<string, string, never>;
|
|
39
39
|
}>]>>>;
|
|
40
|
+
show: Schema.optional<Schema.Schema<string, string, never>>;
|
|
40
41
|
interval: Schema.optional<Schema.refine<number, Schema.filter<typeof Schema.Number>>>;
|
|
41
42
|
dot: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
|
|
42
43
|
variant: Schema.optional<Schema.Literal<["default", "secondary", "destructive", "outline"]>>;
|
|
@@ -57,6 +58,7 @@ export declare function schema(configure: Configure, blockRef: AnySchema): Schem
|
|
|
57
58
|
locale: Schema.Literal<["ja", "en", "ko"]>;
|
|
58
59
|
message: Schema.SchemaClass<string, string, never>;
|
|
59
60
|
}>]>>>;
|
|
61
|
+
show: Schema.optional<Schema.Schema<string, string, never>>;
|
|
60
62
|
interval: Schema.optional<Schema.refine<number, Schema.filter<typeof Schema.Number>>>;
|
|
61
63
|
dot: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
|
|
62
64
|
variant: Schema.optional<Schema.Literal<["default", "secondary", "destructive", "outline"]>>;
|
|
@@ -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",
|
|
@@ -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;
|
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>;
|