@shwfed/config 3.0.16 → 3.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/module.json +1 -1
- package/dist/runtime/components/actions/buttons/2026-06-25/com.shwfed.actions.button.state.write/config.d.vue.ts +8 -8
- package/dist/runtime/components/actions/buttons/2026-06-25/com.shwfed.actions.button.state.write/config.vue.d.ts +8 -8
- package/dist/runtime/components/actions/buttons/2026-07-13/com.shwfed.actions.button.state.write/config.d.vue.ts +8 -8
- package/dist/runtime/components/actions/buttons/2026-07-13/com.shwfed.actions.button.state.write/config.vue.d.ts +8 -8
- package/dist/runtime/components/actions/buttons/2026-07-13/com.shwfed.actions.button.state.write/runtime.vue +1 -16
- package/dist/runtime/components/config/blocks/2026-07-17/com.shwfed.block.invoice.realestate.lease/config.d.vue.ts +6 -6
- package/dist/runtime/components/config/blocks/2026-07-17/com.shwfed.block.invoice.realestate.lease/config.vue.d.ts +6 -6
- package/dist/runtime/components/config/blocks/2026-07-17/com.shwfed.block.invoice.realestate.lease/runtime.d.vue.ts +6 -6
- package/dist/runtime/components/config/blocks/2026-07-17/com.shwfed.block.invoice.realestate.lease/runtime.vue.d.ts +6 -6
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/config.d.vue.ts +22 -22
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/config.vue.d.ts +22 -22
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/config.d.vue.ts +22 -22
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/config.vue.d.ts +22 -22
- package/dist/runtime/components/form/index.vue +57 -2
- package/dist/runtime/components/form/schema.d.ts +5 -0
- package/dist/runtime/components/form/schema.js +14 -1
- package/dist/runtime/components/form/utils/state-write.d.ts +9 -0
- package/dist/runtime/components/form/utils/state-write.js +16 -0
- package/dist/runtime/components/operations/2026-07-19/com.shwfed.operation.form.state.write/config.d.vue.ts +21 -0
- package/dist/runtime/components/operations/2026-07-19/com.shwfed.operation.form.state.write/config.vue +100 -0
- package/dist/runtime/components/operations/2026-07-19/com.shwfed.operation.form.state.write/config.vue.d.ts +21 -0
- package/dist/runtime/components/operations/2026-07-19/com.shwfed.operation.form.state.write/schema.d.ts +18 -0
- package/dist/runtime/components/operations/2026-07-19/com.shwfed.operation.form.state.write/schema.js +47 -0
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.combobox-single/config.d.vue.ts +2 -0
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.combobox-single/config.vue +32 -0
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.combobox-single/config.vue.d.ts +2 -0
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.combobox-single/schema.d.ts +1 -0
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.combobox-single/schema.js +1 -1
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.number-input/config.vue +32 -0
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.number-input/schema.d.ts +1 -0
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.number-input/schema.js +1 -1
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.switch/config.vue +28 -0
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.switch/schema.d.ts +1 -0
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.switch/schema.js +1 -1
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.switch.local/config.vue +32 -0
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.switch.local/schema.d.ts +1 -0
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.switch.local/schema.js +1 -1
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.text-input/config.vue +32 -0
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.text-input/schema.d.ts +1 -0
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.text-input/schema.js +1 -1
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi/config.d.vue.ts +2 -0
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi/config.vue +32 -0
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi/config.vue.d.ts +2 -0
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi/schema.d.ts +1 -0
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi/schema.js +1 -1
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi/config.d.vue.ts +2 -0
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi/config.vue +22 -0
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi/config.vue.d.ts +2 -0
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi/schema.d.ts +1 -0
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi/schema.js +1 -1
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single/config.d.vue.ts +2 -0
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single/config.vue +22 -0
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single/config.vue.d.ts +2 -0
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single/schema.d.ts +1 -0
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single/schema.js +1 -1
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +4 -2
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/config.vue +22 -0
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +4 -2
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/schema.d.ts +1 -0
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/schema.js +1 -1
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +4 -2
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/config.vue +22 -0
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +4 -2
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/schema.d.ts +1 -0
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/schema.js +1 -1
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +4 -2
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/config.vue +22 -0
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +4 -2
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/schema.d.ts +1 -0
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/schema.js +1 -1
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +4 -2
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/config.vue +22 -0
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +4 -2
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/schema.d.ts +1 -0
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/schema.js +1 -1
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-multi/config.d.vue.ts +2 -0
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-multi/config.vue +22 -0
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-multi/config.vue.d.ts +2 -0
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-multi/schema.d.ts +1 -0
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-multi/schema.js +2 -0
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-single/config.d.vue.ts +2 -0
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-single/config.vue +22 -0
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-single/config.vue.d.ts +2 -0
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-single/schema.d.ts +1 -0
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-single/schema.js +2 -0
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +4 -2
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/config.vue +22 -0
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +4 -2
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/schema.d.ts +1 -0
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/schema.js +1 -1
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +4 -2
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/config.vue +22 -0
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +4 -2
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/schema.d.ts +1 -0
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/schema.js +1 -1
- package/dist/runtime/components/table/columns/2026-06-17/com.shwfed.table.column.date-input/config.vue +32 -0
- package/dist/runtime/components/table/columns/2026-06-17/com.shwfed.table.column.date-input/schema.d.ts +1 -0
- package/dist/runtime/components/table/columns/2026-06-17/com.shwfed.table.column.date-input/schema.js +1 -1
- package/dist/runtime/components/table/columns/2026-06-22/com.shwfed.table.column.date-range-input/config.vue +32 -0
- package/dist/runtime/components/table/columns/2026-06-22/com.shwfed.table.column.date-range-input/schema.d.ts +1 -0
- package/dist/runtime/components/table/columns/2026-06-22/com.shwfed.table.column.date-range-input/schema.js +1 -1
- package/dist/runtime/components/table/columns/2026-07-16/com.shwfed.table.column.upload/config.vue +32 -0
- package/dist/runtime/components/table/columns/2026-07-16/com.shwfed.table.column.upload/schema.d.ts +1 -0
- package/dist/runtime/components/table/columns/2026-07-16/com.shwfed.table.column.upload/schema.js +1 -1
- package/dist/runtime/components/table/index.d.vue.ts +1 -0
- package/dist/runtime/components/table/index.vue +12 -1
- package/dist/runtime/components/table/index.vue.d.ts +1 -0
- package/dist/runtime/components/table/utils/shared.d.ts +3 -1
- package/dist/runtime/components/table/utils/shared.js +28 -2
- package/package.json +1 -1
package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.switch/schema.js
CHANGED
|
@@ -13,7 +13,7 @@ export function schema(configure) {
|
|
|
13
13
|
return Schema.Struct({
|
|
14
14
|
type: Schema.Literal(type),
|
|
15
15
|
compatibilityDate: Schema.Literal(compatibilityDate),
|
|
16
|
-
...editableColumnFields(),
|
|
16
|
+
...editableColumnFields(configure),
|
|
17
17
|
hidden: Schema.optional(CelBool.annotations({
|
|
18
18
|
title: "\u9690\u85CF\u6761\u4EF6",
|
|
19
19
|
description: "\u8FD4\u56DE `true` \u65F6\u8BE5\u884C\u7684\u5F00\u5173\u4E0D\u6E32\u67D3\uFF08\u5176\u4F59\u884C\u4E0D\u53D7\u5F71\u54CD\uFF09"
|
|
@@ -75,6 +75,17 @@ const readonlyModel = computed({
|
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
+
const requiredModel = computed({
|
|
79
|
+
get: () => value.value.required ?? "",
|
|
80
|
+
set: (v) => {
|
|
81
|
+
if (v === "") {
|
|
82
|
+
const { required: _drop, ...rest } = value.value;
|
|
83
|
+
value.value = rest;
|
|
84
|
+
} else {
|
|
85
|
+
value.value = { ...value.value, required: v };
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
});
|
|
78
89
|
function onHiddenChange(v) {
|
|
79
90
|
if (v) {
|
|
80
91
|
value.value = { ...value.value, hidden: true };
|
|
@@ -300,6 +311,27 @@ const derivedModel = computed({
|
|
|
300
311
|
:extra-vars="ROW_VARS"
|
|
301
312
|
/>
|
|
302
313
|
</Field>
|
|
314
|
+
<Field orientation="vertical">
|
|
315
|
+
<FieldLabel class="text-xs text-zinc-500">
|
|
316
|
+
<template
|
|
317
|
+
v-if="fieldDescription('required')"
|
|
318
|
+
#tooltip
|
|
319
|
+
>
|
|
320
|
+
<Markdown
|
|
321
|
+
:source="fieldDescription('required')"
|
|
322
|
+
block
|
|
323
|
+
class="prose prose-sm prose-zinc"
|
|
324
|
+
/>
|
|
325
|
+
</template>
|
|
326
|
+
{{ fieldTitle("required") }}
|
|
327
|
+
</FieldLabel>
|
|
328
|
+
<ExpressionEditor
|
|
329
|
+
v-model="requiredModel"
|
|
330
|
+
placeholder="例:row.type == 'company'"
|
|
331
|
+
result-type="bool"
|
|
332
|
+
:extra-vars="ROW_VARS"
|
|
333
|
+
/>
|
|
334
|
+
</Field>
|
|
303
335
|
<Field
|
|
304
336
|
orientation="vertical"
|
|
305
337
|
class="col-span-2"
|
|
@@ -77,6 +77,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
77
77
|
readonly message: string;
|
|
78
78
|
}[]], never>>;
|
|
79
79
|
hidden: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
|
|
80
|
+
required: Schema.optional<Schema.Schema<string, string, never>>;
|
|
80
81
|
id: Schema.refine<string, typeof Schema.String>;
|
|
81
82
|
groupId: Schema.optional<typeof Schema.UUID>;
|
|
82
83
|
type: Schema.Literal<["com.shwfed.table.column.switch.local"]>;
|
|
@@ -14,7 +14,7 @@ export function schema(configure) {
|
|
|
14
14
|
return Schema.Struct({
|
|
15
15
|
type: Schema.Literal(type),
|
|
16
16
|
compatibilityDate: Schema.Literal(compatibilityDate),
|
|
17
|
-
...editableColumnFields(),
|
|
17
|
+
...editableColumnFields(configure),
|
|
18
18
|
align: Schema.optionalWith(Align.annotations({ title: "\u5BF9\u9F50" }), { default: () => "center" }),
|
|
19
19
|
disabled: Schema.optional(CelBool.annotations({
|
|
20
20
|
title: "\u7981\u7528\u6761\u4EF6",
|
|
@@ -129,6 +129,17 @@ const readonlyModel = computed({
|
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
131
|
});
|
|
132
|
+
const requiredModel = computed({
|
|
133
|
+
get: () => value.value.required ?? "",
|
|
134
|
+
set: (v) => {
|
|
135
|
+
if (v === "") {
|
|
136
|
+
const { required: _drop, ...rest } = value.value;
|
|
137
|
+
value.value = rest;
|
|
138
|
+
} else {
|
|
139
|
+
value.value = { ...value.value, required: v };
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
});
|
|
132
143
|
const derivedModel = computed({
|
|
133
144
|
get: () => value.value.derived,
|
|
134
145
|
set: (v) => {
|
|
@@ -335,6 +346,27 @@ const derivedModel = computed({
|
|
|
335
346
|
:extra-vars="ROW_VARS"
|
|
336
347
|
/>
|
|
337
348
|
</Field>
|
|
349
|
+
<Field orientation="vertical">
|
|
350
|
+
<FieldLabel class="text-xs text-zinc-500">
|
|
351
|
+
<template
|
|
352
|
+
v-if="fieldDescription('required')"
|
|
353
|
+
#tooltip
|
|
354
|
+
>
|
|
355
|
+
<Markdown
|
|
356
|
+
:source="fieldDescription('required')"
|
|
357
|
+
block
|
|
358
|
+
class="prose prose-sm prose-zinc"
|
|
359
|
+
/>
|
|
360
|
+
</template>
|
|
361
|
+
{{ fieldTitle("required") }}
|
|
362
|
+
</FieldLabel>
|
|
363
|
+
<ExpressionEditor
|
|
364
|
+
v-model="requiredModel"
|
|
365
|
+
placeholder="例:row.type == 'company'"
|
|
366
|
+
result-type="bool"
|
|
367
|
+
:extra-vars="ROW_VARS"
|
|
368
|
+
/>
|
|
369
|
+
</Field>
|
|
338
370
|
<Field
|
|
339
371
|
orientation="vertical"
|
|
340
372
|
class="col-span-2"
|
|
@@ -196,6 +196,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
196
196
|
readonly message: string;
|
|
197
197
|
}[]], never>>;
|
|
198
198
|
hidden: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
|
|
199
|
+
required: Schema.optional<Schema.Schema<string, string, never>>;
|
|
199
200
|
id: Schema.refine<string, typeof Schema.String>;
|
|
200
201
|
groupId: Schema.optional<typeof Schema.UUID>;
|
|
201
202
|
type: Schema.Literal<["com.shwfed.table.column.text-input"]>;
|
|
@@ -30,7 +30,7 @@ export function schema(configure) {
|
|
|
30
30
|
return Schema.Struct({
|
|
31
31
|
type: Schema.Literal(type),
|
|
32
32
|
compatibilityDate: Schema.Literal(compatibilityDate),
|
|
33
|
-
...editableColumnFields(),
|
|
33
|
+
...editableColumnFields(configure),
|
|
34
34
|
align: Schema.optionalWith(Align.annotations({ title: "\u5BF9\u9F50" }), { default: () => "left" }),
|
|
35
35
|
placeholder: Schema.optional(Locale.annotations({
|
|
36
36
|
title: "\u5360\u4F4D\u7B26",
|
|
@@ -23,6 +23,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
23
23
|
readonly locale: "en" | "ja" | "ko";
|
|
24
24
|
readonly message: string;
|
|
25
25
|
}[]] | undefined;
|
|
26
|
+
readonly required?: string | undefined;
|
|
26
27
|
readonly compatibilityDate: "2026-05-25";
|
|
27
28
|
readonly grow?: boolean | undefined;
|
|
28
29
|
readonly items: readonly {
|
|
@@ -87,6 +88,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
87
88
|
readonly locale: "en" | "ja" | "ko";
|
|
88
89
|
readonly message: string;
|
|
89
90
|
}[]] | undefined;
|
|
91
|
+
readonly required?: string | undefined;
|
|
90
92
|
readonly compatibilityDate: "2026-05-25";
|
|
91
93
|
readonly grow?: boolean | undefined;
|
|
92
94
|
readonly items: readonly {
|
|
@@ -77,6 +77,17 @@ const readonlyModel = computed({
|
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
79
|
});
|
|
80
|
+
const requiredModel = computed({
|
|
81
|
+
get: () => value.value.required ?? "",
|
|
82
|
+
set: (v) => {
|
|
83
|
+
if (v === "") {
|
|
84
|
+
const { required: _omit, ...rest } = value.value;
|
|
85
|
+
value.value = rest;
|
|
86
|
+
} else {
|
|
87
|
+
value.value = { ...value.value, required: v };
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
});
|
|
80
91
|
const derivedModel = computed({
|
|
81
92
|
get: () => value.value.derived,
|
|
82
93
|
set: (v) => {
|
|
@@ -479,6 +490,27 @@ function setItemTooltip(index, tooltip) {
|
|
|
479
490
|
:extra-vars="ROW_VARS"
|
|
480
491
|
/>
|
|
481
492
|
</Field>
|
|
493
|
+
<Field orientation="vertical">
|
|
494
|
+
<FieldLabel class="text-xs text-zinc-500">
|
|
495
|
+
<template
|
|
496
|
+
v-if="fieldDescription('required')"
|
|
497
|
+
#tooltip
|
|
498
|
+
>
|
|
499
|
+
<Markdown
|
|
500
|
+
:source="fieldDescription('required')"
|
|
501
|
+
block
|
|
502
|
+
class="prose prose-sm prose-zinc"
|
|
503
|
+
/>
|
|
504
|
+
</template>
|
|
505
|
+
{{ fieldTitle("required") }}
|
|
506
|
+
</FieldLabel>
|
|
507
|
+
<ExpressionEditor
|
|
508
|
+
v-model="requiredModel"
|
|
509
|
+
placeholder="例:row.type == 'company'"
|
|
510
|
+
result-type="bool"
|
|
511
|
+
:extra-vars="ROW_VARS"
|
|
512
|
+
/>
|
|
513
|
+
</Field>
|
|
482
514
|
<Field
|
|
483
515
|
orientation="vertical"
|
|
484
516
|
class="col-span-2"
|
|
@@ -23,6 +23,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
23
23
|
readonly locale: "en" | "ja" | "ko";
|
|
24
24
|
readonly message: string;
|
|
25
25
|
}[]] | undefined;
|
|
26
|
+
readonly required?: string | undefined;
|
|
26
27
|
readonly compatibilityDate: "2026-05-25";
|
|
27
28
|
readonly grow?: boolean | undefined;
|
|
28
29
|
readonly items: readonly {
|
|
@@ -87,6 +88,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
87
88
|
readonly locale: "en" | "ja" | "ko";
|
|
88
89
|
readonly message: string;
|
|
89
90
|
}[]] | undefined;
|
|
91
|
+
readonly required?: string | undefined;
|
|
90
92
|
readonly compatibilityDate: "2026-05-25";
|
|
91
93
|
readonly grow?: boolean | undefined;
|
|
92
94
|
readonly items: readonly {
|
|
@@ -158,6 +158,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
158
158
|
readonly locale: "en" | "ja" | "ko";
|
|
159
159
|
readonly message: string;
|
|
160
160
|
}[]], never>>;
|
|
161
|
+
required: Schema.optional<Schema.Schema<string, string, never>>;
|
|
161
162
|
id: Schema.refine<string, typeof Schema.String>;
|
|
162
163
|
groupId: Schema.optional<typeof Schema.UUID>;
|
|
163
164
|
type: Schema.Literal<["com.shwfed.table.column.combobox-multi"]>;
|
|
@@ -49,7 +49,7 @@ export function schema(configure) {
|
|
|
49
49
|
return Schema.Struct({
|
|
50
50
|
type: Schema.Literal(type),
|
|
51
51
|
compatibilityDate: Schema.Literal(compatibilityDate),
|
|
52
|
-
...editableColumnFields(),
|
|
52
|
+
...editableColumnFields(configure),
|
|
53
53
|
placeholder: Schema.optional(Locale.annotations({
|
|
54
54
|
title: "\u5360\u4F4D\u7B26",
|
|
55
55
|
description: "\u672A\u9009\u4E2D\u4EFB\u4F55\u9009\u9879\u65F6\u8F93\u5165\u6846\u4E2D\u7684\u5360\u4F4D\u6587\u672C"
|
|
@@ -23,6 +23,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
23
23
|
readonly locale: "en" | "ja" | "ko";
|
|
24
24
|
readonly message: string;
|
|
25
25
|
}[]] | undefined;
|
|
26
|
+
readonly required?: string | undefined;
|
|
26
27
|
readonly options: {
|
|
27
28
|
readonly kind: "remote";
|
|
28
29
|
readonly options: string;
|
|
@@ -102,6 +103,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
102
103
|
readonly locale: "en" | "ja" | "ko";
|
|
103
104
|
readonly message: string;
|
|
104
105
|
}[]] | undefined;
|
|
106
|
+
readonly required?: string | undefined;
|
|
105
107
|
readonly options: {
|
|
106
108
|
readonly kind: "remote";
|
|
107
109
|
readonly options: string;
|
|
@@ -73,6 +73,7 @@ function celModel(field) {
|
|
|
73
73
|
const hiddenModel = celModel("hidden");
|
|
74
74
|
const disabledModel = celModel("disabled");
|
|
75
75
|
const readonlyModel = celModel("readonly");
|
|
76
|
+
const requiredModel = celModel("required");
|
|
76
77
|
const derivedModel = computed({
|
|
77
78
|
get: () => value.value.derived,
|
|
78
79
|
set: (v) => {
|
|
@@ -645,6 +646,27 @@ function setItemTooltip(index, tooltip) {
|
|
|
645
646
|
:extra-vars="ROW_VARS"
|
|
646
647
|
/>
|
|
647
648
|
</Field>
|
|
649
|
+
<Field orientation="vertical">
|
|
650
|
+
<FieldLabel class="text-xs text-zinc-500">
|
|
651
|
+
<template
|
|
652
|
+
v-if="fieldDescription('required')"
|
|
653
|
+
#tooltip
|
|
654
|
+
>
|
|
655
|
+
<Markdown
|
|
656
|
+
:source="fieldDescription('required')"
|
|
657
|
+
block
|
|
658
|
+
class="prose prose-sm prose-zinc"
|
|
659
|
+
/>
|
|
660
|
+
</template>
|
|
661
|
+
{{ fieldTitle("required") }}
|
|
662
|
+
</FieldLabel>
|
|
663
|
+
<ExpressionEditor
|
|
664
|
+
v-model="requiredModel"
|
|
665
|
+
placeholder="例:row.type == 'company'"
|
|
666
|
+
result-type="bool"
|
|
667
|
+
:extra-vars="ROW_VARS"
|
|
668
|
+
/>
|
|
669
|
+
</Field>
|
|
648
670
|
<Field
|
|
649
671
|
orientation="vertical"
|
|
650
672
|
class="col-span-2"
|
|
@@ -23,6 +23,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
23
23
|
readonly locale: "en" | "ja" | "ko";
|
|
24
24
|
readonly message: string;
|
|
25
25
|
}[]] | undefined;
|
|
26
|
+
readonly required?: string | undefined;
|
|
26
27
|
readonly options: {
|
|
27
28
|
readonly kind: "remote";
|
|
28
29
|
readonly options: string;
|
|
@@ -102,6 +103,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
102
103
|
readonly locale: "en" | "ja" | "ko";
|
|
103
104
|
readonly message: string;
|
|
104
105
|
}[]] | undefined;
|
|
106
|
+
readonly required?: string | undefined;
|
|
105
107
|
readonly options: {
|
|
106
108
|
readonly kind: "remote";
|
|
107
109
|
readonly options: string;
|
|
@@ -313,6 +313,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
313
313
|
readonly locale: "en" | "ja" | "ko";
|
|
314
314
|
readonly message: string;
|
|
315
315
|
}[]], never>>;
|
|
316
|
+
required: Schema.optional<Schema.Schema<string, string, never>>;
|
|
316
317
|
id: Schema.refine<string, typeof Schema.String>;
|
|
317
318
|
groupId: Schema.optional<typeof Schema.UUID>;
|
|
318
319
|
type: Schema.Literal<["com.shwfed.table.column.combobox-multi"]>;
|
|
@@ -118,7 +118,7 @@ export function schema(configure) {
|
|
|
118
118
|
return Schema.Struct({
|
|
119
119
|
type: Schema.Literal(type),
|
|
120
120
|
compatibilityDate: Schema.Literal(compatibilityDate),
|
|
121
|
-
...editableColumnFields(),
|
|
121
|
+
...editableColumnFields(configure),
|
|
122
122
|
placeholder: Schema.optional(Locale.annotations({
|
|
123
123
|
title: "\u5360\u4F4D\u7B26",
|
|
124
124
|
description: "\u672A\u9009\u4E2D\u4EFB\u4F55\u9009\u9879\u65F6\u8F93\u5165\u6846\u4E2D\u7684\u5360\u4F4D\u6587\u672C"
|
|
@@ -23,6 +23,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
23
23
|
readonly locale: "en" | "ja" | "ko";
|
|
24
24
|
readonly message: string;
|
|
25
25
|
}[]] | undefined;
|
|
26
|
+
readonly required?: string | undefined;
|
|
26
27
|
readonly options: {
|
|
27
28
|
readonly kind: "remote";
|
|
28
29
|
readonly options: string;
|
|
@@ -102,6 +103,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
102
103
|
readonly locale: "en" | "ja" | "ko";
|
|
103
104
|
readonly message: string;
|
|
104
105
|
}[]] | undefined;
|
|
106
|
+
readonly required?: string | undefined;
|
|
105
107
|
readonly options: {
|
|
106
108
|
readonly kind: "remote";
|
|
107
109
|
readonly options: string;
|
|
@@ -73,6 +73,7 @@ function celModel(field) {
|
|
|
73
73
|
const hiddenModel = celModel("hidden");
|
|
74
74
|
const disabledModel = celModel("disabled");
|
|
75
75
|
const readonlyModel = celModel("readonly");
|
|
76
|
+
const requiredModel = celModel("required");
|
|
76
77
|
const derivedModel = computed({
|
|
77
78
|
get: () => value.value.derived,
|
|
78
79
|
set: (v) => {
|
|
@@ -645,6 +646,27 @@ function setItemTooltip(index, tooltip) {
|
|
|
645
646
|
:extra-vars="ROW_VARS"
|
|
646
647
|
/>
|
|
647
648
|
</Field>
|
|
649
|
+
<Field orientation="vertical">
|
|
650
|
+
<FieldLabel class="text-xs text-zinc-500">
|
|
651
|
+
<template
|
|
652
|
+
v-if="fieldDescription('required')"
|
|
653
|
+
#tooltip
|
|
654
|
+
>
|
|
655
|
+
<Markdown
|
|
656
|
+
:source="fieldDescription('required')"
|
|
657
|
+
block
|
|
658
|
+
class="prose prose-sm prose-zinc"
|
|
659
|
+
/>
|
|
660
|
+
</template>
|
|
661
|
+
{{ fieldTitle("required") }}
|
|
662
|
+
</FieldLabel>
|
|
663
|
+
<ExpressionEditor
|
|
664
|
+
v-model="requiredModel"
|
|
665
|
+
placeholder="例:row.type == 'company'"
|
|
666
|
+
result-type="bool"
|
|
667
|
+
:extra-vars="ROW_VARS"
|
|
668
|
+
/>
|
|
669
|
+
</Field>
|
|
648
670
|
<Field
|
|
649
671
|
orientation="vertical"
|
|
650
672
|
class="col-span-2"
|
|
@@ -23,6 +23,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
23
23
|
readonly locale: "en" | "ja" | "ko";
|
|
24
24
|
readonly message: string;
|
|
25
25
|
}[]] | undefined;
|
|
26
|
+
readonly required?: string | undefined;
|
|
26
27
|
readonly options: {
|
|
27
28
|
readonly kind: "remote";
|
|
28
29
|
readonly options: string;
|
|
@@ -102,6 +103,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
102
103
|
readonly locale: "en" | "ja" | "ko";
|
|
103
104
|
readonly message: string;
|
|
104
105
|
}[]] | undefined;
|
|
106
|
+
readonly required?: string | undefined;
|
|
105
107
|
readonly options: {
|
|
106
108
|
readonly kind: "remote";
|
|
107
109
|
readonly options: string;
|
|
@@ -313,6 +313,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
313
313
|
readonly locale: "en" | "ja" | "ko";
|
|
314
314
|
readonly message: string;
|
|
315
315
|
}[]], never>>;
|
|
316
|
+
required: Schema.optional<Schema.Schema<string, string, never>>;
|
|
316
317
|
id: Schema.refine<string, typeof Schema.String>;
|
|
317
318
|
groupId: Schema.optional<typeof Schema.UUID>;
|
|
318
319
|
type: Schema.Literal<["com.shwfed.table.column.combobox-single"]>;
|
|
@@ -118,7 +118,7 @@ export function schema(configure) {
|
|
|
118
118
|
return Schema.Struct({
|
|
119
119
|
type: Schema.Literal(type),
|
|
120
120
|
compatibilityDate: Schema.Literal(compatibilityDate),
|
|
121
|
-
...editableColumnFields(),
|
|
121
|
+
...editableColumnFields(configure),
|
|
122
122
|
placeholder: Schema.optional(Locale.annotations({
|
|
123
123
|
title: "\u5360\u4F4D\u7B26",
|
|
124
124
|
description: "\u672A\u9009\u4E2D\u4EFB\u4F55\u9009\u9879\u65F6\u8F93\u5165\u6846\u4E2D\u7684\u5360\u4F4D\u6587\u672C"
|
|
@@ -23,6 +23,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
23
23
|
readonly locale: "en" | "ja" | "ko";
|
|
24
24
|
readonly message: string;
|
|
25
25
|
}[]] | undefined;
|
|
26
|
+
readonly required?: string | undefined;
|
|
26
27
|
readonly compatibilityDate: "2026-05-27";
|
|
27
28
|
readonly grow?: boolean | undefined;
|
|
28
29
|
readonly groupId?: string | undefined;
|
|
@@ -43,7 +44,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
43
44
|
readonly mode: "formula" | "prefill";
|
|
44
45
|
readonly expression: string;
|
|
45
46
|
} | undefined;
|
|
46
|
-
readonly enableSorting?: boolean | undefined;
|
|
47
47
|
readonly nodeKey: string;
|
|
48
48
|
readonly nodeChildren: string;
|
|
49
49
|
readonly nodeLabel: readonly [{
|
|
@@ -53,6 +53,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
53
53
|
readonly locale: "en" | "ja" | "ko";
|
|
54
54
|
readonly message: string;
|
|
55
55
|
}[]];
|
|
56
|
+
readonly enableSorting?: boolean | undefined;
|
|
56
57
|
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
57
58
|
readonly nodeTooltip?: readonly [{
|
|
58
59
|
readonly locale: "zh";
|
|
@@ -86,6 +87,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
86
87
|
readonly locale: "en" | "ja" | "ko";
|
|
87
88
|
readonly message: string;
|
|
88
89
|
}[]] | undefined;
|
|
90
|
+
readonly required?: string | undefined;
|
|
89
91
|
readonly compatibilityDate: "2026-05-27";
|
|
90
92
|
readonly grow?: boolean | undefined;
|
|
91
93
|
readonly groupId?: string | undefined;
|
|
@@ -106,7 +108,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
106
108
|
readonly mode: "formula" | "prefill";
|
|
107
109
|
readonly expression: string;
|
|
108
110
|
} | undefined;
|
|
109
|
-
readonly enableSorting?: boolean | undefined;
|
|
110
111
|
readonly nodeKey: string;
|
|
111
112
|
readonly nodeChildren: string;
|
|
112
113
|
readonly nodeLabel: readonly [{
|
|
@@ -116,6 +117,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
116
117
|
readonly locale: "en" | "ja" | "ko";
|
|
117
118
|
readonly message: string;
|
|
118
119
|
}[]];
|
|
120
|
+
readonly enableSorting?: boolean | undefined;
|
|
119
121
|
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
120
122
|
readonly nodeTooltip?: readonly [{
|
|
121
123
|
readonly locale: "zh";
|
|
@@ -553,6 +553,28 @@ const derivedModel = computed({
|
|
|
553
553
|
@update:model-value="(v) => setOptionalExpression('readonly', v)"
|
|
554
554
|
/>
|
|
555
555
|
</Field>
|
|
556
|
+
<Field orientation="vertical">
|
|
557
|
+
<FieldLabel class="text-xs text-zinc-500">
|
|
558
|
+
<template
|
|
559
|
+
v-if="fieldDescription('required')"
|
|
560
|
+
#tooltip
|
|
561
|
+
>
|
|
562
|
+
<Markdown
|
|
563
|
+
:source="fieldDescription('required')"
|
|
564
|
+
block
|
|
565
|
+
class="prose prose-sm prose-zinc"
|
|
566
|
+
/>
|
|
567
|
+
</template>
|
|
568
|
+
{{ fieldTitle("required") }}
|
|
569
|
+
</FieldLabel>
|
|
570
|
+
<ExpressionEditor
|
|
571
|
+
:model-value="value.required ?? ''"
|
|
572
|
+
placeholder="例:row.type == 'company'"
|
|
573
|
+
result-type="bool"
|
|
574
|
+
:extra-vars="ROW_VARS"
|
|
575
|
+
@update:model-value="(v) => setOptionalExpression('required', v)"
|
|
576
|
+
/>
|
|
577
|
+
</Field>
|
|
556
578
|
<Field
|
|
557
579
|
orientation="vertical"
|
|
558
580
|
class="col-span-2"
|
|
@@ -23,6 +23,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
23
23
|
readonly locale: "en" | "ja" | "ko";
|
|
24
24
|
readonly message: string;
|
|
25
25
|
}[]] | undefined;
|
|
26
|
+
readonly required?: string | undefined;
|
|
26
27
|
readonly compatibilityDate: "2026-05-27";
|
|
27
28
|
readonly grow?: boolean | undefined;
|
|
28
29
|
readonly groupId?: string | undefined;
|
|
@@ -43,7 +44,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
43
44
|
readonly mode: "formula" | "prefill";
|
|
44
45
|
readonly expression: string;
|
|
45
46
|
} | undefined;
|
|
46
|
-
readonly enableSorting?: boolean | undefined;
|
|
47
47
|
readonly nodeKey: string;
|
|
48
48
|
readonly nodeChildren: string;
|
|
49
49
|
readonly nodeLabel: readonly [{
|
|
@@ -53,6 +53,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
53
53
|
readonly locale: "en" | "ja" | "ko";
|
|
54
54
|
readonly message: string;
|
|
55
55
|
}[]];
|
|
56
|
+
readonly enableSorting?: boolean | undefined;
|
|
56
57
|
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
57
58
|
readonly nodeTooltip?: readonly [{
|
|
58
59
|
readonly locale: "zh";
|
|
@@ -86,6 +87,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
86
87
|
readonly locale: "en" | "ja" | "ko";
|
|
87
88
|
readonly message: string;
|
|
88
89
|
}[]] | undefined;
|
|
90
|
+
readonly required?: string | undefined;
|
|
89
91
|
readonly compatibilityDate: "2026-05-27";
|
|
90
92
|
readonly grow?: boolean | undefined;
|
|
91
93
|
readonly groupId?: string | undefined;
|
|
@@ -106,7 +108,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
106
108
|
readonly mode: "formula" | "prefill";
|
|
107
109
|
readonly expression: string;
|
|
108
110
|
} | undefined;
|
|
109
|
-
readonly enableSorting?: boolean | undefined;
|
|
110
111
|
readonly nodeKey: string;
|
|
111
112
|
readonly nodeChildren: string;
|
|
112
113
|
readonly nodeLabel: readonly [{
|
|
@@ -116,6 +117,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
116
117
|
readonly locale: "en" | "ja" | "ko";
|
|
117
118
|
readonly message: string;
|
|
118
119
|
}[]];
|
|
120
|
+
readonly enableSorting?: boolean | undefined;
|
|
119
121
|
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
120
122
|
readonly nodeTooltip?: readonly [{
|
|
121
123
|
readonly locale: "zh";
|
|
@@ -111,6 +111,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
111
111
|
readonly locale: "en" | "ja" | "ko";
|
|
112
112
|
readonly message: string;
|
|
113
113
|
}[]], never>>;
|
|
114
|
+
required: Schema.optional<Schema.Schema<string, string, never>>;
|
|
114
115
|
id: Schema.refine<string, typeof Schema.String>;
|
|
115
116
|
groupId: Schema.optional<typeof Schema.UUID>;
|
|
116
117
|
type: Schema.Literal<["com.shwfed.table.column.tree-combobox-multi"]>;
|
|
@@ -61,7 +61,7 @@ export function schema(configure) {
|
|
|
61
61
|
return Schema.Struct({
|
|
62
62
|
type: Schema.Literal(type),
|
|
63
63
|
compatibilityDate: Schema.Literal(compatibilityDate),
|
|
64
|
-
...editableColumnFields(),
|
|
64
|
+
...editableColumnFields(configure),
|
|
65
65
|
placeholder: Schema.optional(Locale.annotations({
|
|
66
66
|
title: "\u5360\u4F4D\u7B26",
|
|
67
67
|
description: "\u672A\u9009\u4E2D\u4EFB\u4F55\u9009\u9879\u65F6\u8F93\u5165\u6846\u4E2D\u7684\u5360\u4F4D\u6587\u672C"
|
|
@@ -23,6 +23,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
23
23
|
readonly locale: "en" | "ja" | "ko";
|
|
24
24
|
readonly message: string;
|
|
25
25
|
}[]] | undefined;
|
|
26
|
+
readonly required?: string | undefined;
|
|
26
27
|
readonly compatibilityDate: "2026-05-27";
|
|
27
28
|
readonly grow?: boolean | undefined;
|
|
28
29
|
readonly groupId?: string | undefined;
|
|
@@ -43,7 +44,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
43
44
|
readonly mode: "formula" | "prefill";
|
|
44
45
|
readonly expression: string;
|
|
45
46
|
} | undefined;
|
|
46
|
-
readonly enableSorting?: boolean | undefined;
|
|
47
47
|
readonly nodeKey: string;
|
|
48
48
|
readonly nodeChildren: string;
|
|
49
49
|
readonly nodeLabel: readonly [{
|
|
@@ -53,6 +53,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
53
53
|
readonly locale: "en" | "ja" | "ko";
|
|
54
54
|
readonly message: string;
|
|
55
55
|
}[]];
|
|
56
|
+
readonly enableSorting?: boolean | undefined;
|
|
56
57
|
readonly nodeTooltip?: readonly [{
|
|
57
58
|
readonly locale: "zh";
|
|
58
59
|
readonly message: string;
|
|
@@ -85,6 +86,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
85
86
|
readonly locale: "en" | "ja" | "ko";
|
|
86
87
|
readonly message: string;
|
|
87
88
|
}[]] | undefined;
|
|
89
|
+
readonly required?: string | undefined;
|
|
88
90
|
readonly compatibilityDate: "2026-05-27";
|
|
89
91
|
readonly grow?: boolean | undefined;
|
|
90
92
|
readonly groupId?: string | undefined;
|
|
@@ -105,7 +107,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
105
107
|
readonly mode: "formula" | "prefill";
|
|
106
108
|
readonly expression: string;
|
|
107
109
|
} | undefined;
|
|
108
|
-
readonly enableSorting?: boolean | undefined;
|
|
109
110
|
readonly nodeKey: string;
|
|
110
111
|
readonly nodeChildren: string;
|
|
111
112
|
readonly nodeLabel: readonly [{
|
|
@@ -115,6 +116,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
115
116
|
readonly locale: "en" | "ja" | "ko";
|
|
116
117
|
readonly message: string;
|
|
117
118
|
}[]];
|
|
119
|
+
readonly enableSorting?: boolean | undefined;
|
|
118
120
|
readonly nodeTooltip?: readonly [{
|
|
119
121
|
readonly locale: "zh";
|
|
120
122
|
readonly message: string;
|
|
@@ -484,6 +484,28 @@ const derivedModel = computed({
|
|
|
484
484
|
@update:model-value="(v) => setOptionalExpression('readonly', v)"
|
|
485
485
|
/>
|
|
486
486
|
</Field>
|
|
487
|
+
<Field orientation="vertical">
|
|
488
|
+
<FieldLabel class="text-xs text-zinc-500">
|
|
489
|
+
<template
|
|
490
|
+
v-if="fieldDescription('required')"
|
|
491
|
+
#tooltip
|
|
492
|
+
>
|
|
493
|
+
<Markdown
|
|
494
|
+
:source="fieldDescription('required')"
|
|
495
|
+
block
|
|
496
|
+
class="prose prose-sm prose-zinc"
|
|
497
|
+
/>
|
|
498
|
+
</template>
|
|
499
|
+
{{ fieldTitle("required") }}
|
|
500
|
+
</FieldLabel>
|
|
501
|
+
<ExpressionEditor
|
|
502
|
+
:model-value="value.required ?? ''"
|
|
503
|
+
placeholder="例:row.type == 'company'"
|
|
504
|
+
result-type="bool"
|
|
505
|
+
:extra-vars="ROW_VARS"
|
|
506
|
+
@update:model-value="(v) => setOptionalExpression('required', v)"
|
|
507
|
+
/>
|
|
508
|
+
</Field>
|
|
487
509
|
<Field
|
|
488
510
|
orientation="vertical"
|
|
489
511
|
class="col-span-2"
|