@shwfed/config 3.0.17 → 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/form/fields/2026-04-22/com.shwfed.form.field.textarea/config.d.vue.ts +2 -2
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.textarea/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +2 -2
- 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 +2 -2
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/utils/shared.d.ts +1 -0
- package/dist/runtime/components/table/utils/shared.js +11 -8
- package/package.json +1 -1
package/dist/module.json
CHANGED
|
@@ -39,7 +39,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
39
39
|
readonly mode: "formula" | "prefill";
|
|
40
40
|
readonly expression: string;
|
|
41
41
|
} | undefined;
|
|
42
|
-
readonly maxLength?: number | undefined;
|
|
43
42
|
readonly validations?: readonly {
|
|
44
43
|
readonly message: readonly [{
|
|
45
44
|
readonly locale: "zh";
|
|
@@ -51,6 +50,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
51
50
|
readonly warning?: boolean | undefined;
|
|
52
51
|
readonly when: string;
|
|
53
52
|
}[] | undefined;
|
|
53
|
+
readonly maxLength?: number | undefined;
|
|
54
54
|
}) => any;
|
|
55
55
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
56
56
|
"onUpdate:modelValue"?: ((value: {
|
|
@@ -89,7 +89,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
89
89
|
readonly mode: "formula" | "prefill";
|
|
90
90
|
readonly expression: string;
|
|
91
91
|
} | undefined;
|
|
92
|
-
readonly maxLength?: number | undefined;
|
|
93
92
|
readonly validations?: readonly {
|
|
94
93
|
readonly message: readonly [{
|
|
95
94
|
readonly locale: "zh";
|
|
@@ -101,6 +100,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
101
100
|
readonly warning?: boolean | undefined;
|
|
102
101
|
readonly when: string;
|
|
103
102
|
}[] | undefined;
|
|
103
|
+
readonly maxLength?: number | undefined;
|
|
104
104
|
}) => any) | undefined;
|
|
105
105
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
106
106
|
declare const _default: typeof __VLS_export;
|
|
@@ -39,7 +39,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
39
39
|
readonly mode: "formula" | "prefill";
|
|
40
40
|
readonly expression: string;
|
|
41
41
|
} | undefined;
|
|
42
|
-
readonly maxLength?: number | undefined;
|
|
43
42
|
readonly validations?: readonly {
|
|
44
43
|
readonly message: readonly [{
|
|
45
44
|
readonly locale: "zh";
|
|
@@ -51,6 +50,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
51
50
|
readonly warning?: boolean | undefined;
|
|
52
51
|
readonly when: string;
|
|
53
52
|
}[] | undefined;
|
|
53
|
+
readonly maxLength?: number | undefined;
|
|
54
54
|
}) => any;
|
|
55
55
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
56
56
|
"onUpdate:modelValue"?: ((value: {
|
|
@@ -89,7 +89,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
89
89
|
readonly mode: "formula" | "prefill";
|
|
90
90
|
readonly expression: string;
|
|
91
91
|
} | undefined;
|
|
92
|
-
readonly maxLength?: number | undefined;
|
|
93
92
|
readonly validations?: readonly {
|
|
94
93
|
readonly message: readonly [{
|
|
95
94
|
readonly locale: "zh";
|
|
@@ -101,6 +100,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
101
100
|
readonly warning?: boolean | undefined;
|
|
102
101
|
readonly when: string;
|
|
103
102
|
}[] | undefined;
|
|
103
|
+
readonly maxLength?: number | undefined;
|
|
104
104
|
}) => any) | undefined;
|
|
105
105
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
106
106
|
declare const _default: typeof __VLS_export;
|
|
@@ -44,7 +44,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
44
44
|
readonly mode: "formula" | "prefill";
|
|
45
45
|
readonly expression: string;
|
|
46
46
|
} | undefined;
|
|
47
|
-
readonly enableSorting?: boolean | undefined;
|
|
48
47
|
readonly nodeKey: string;
|
|
49
48
|
readonly nodeChildren: string;
|
|
50
49
|
readonly nodeLabel: readonly [{
|
|
@@ -54,6 +53,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
54
53
|
readonly locale: "en" | "ja" | "ko";
|
|
55
54
|
readonly message: string;
|
|
56
55
|
}[]];
|
|
56
|
+
readonly enableSorting?: boolean | undefined;
|
|
57
57
|
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
58
58
|
readonly nodeTooltip?: readonly [{
|
|
59
59
|
readonly locale: "zh";
|
|
@@ -108,7 +108,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
108
108
|
readonly mode: "formula" | "prefill";
|
|
109
109
|
readonly expression: string;
|
|
110
110
|
} | undefined;
|
|
111
|
-
readonly enableSorting?: boolean | undefined;
|
|
112
111
|
readonly nodeKey: string;
|
|
113
112
|
readonly nodeChildren: string;
|
|
114
113
|
readonly nodeLabel: readonly [{
|
|
@@ -118,6 +117,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
118
117
|
readonly locale: "en" | "ja" | "ko";
|
|
119
118
|
readonly message: string;
|
|
120
119
|
}[]];
|
|
120
|
+
readonly enableSorting?: boolean | undefined;
|
|
121
121
|
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
122
122
|
readonly nodeTooltip?: readonly [{
|
|
123
123
|
readonly locale: "zh";
|
|
@@ -44,7 +44,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
44
44
|
readonly mode: "formula" | "prefill";
|
|
45
45
|
readonly expression: string;
|
|
46
46
|
} | undefined;
|
|
47
|
-
readonly enableSorting?: boolean | undefined;
|
|
48
47
|
readonly nodeKey: string;
|
|
49
48
|
readonly nodeChildren: string;
|
|
50
49
|
readonly nodeLabel: readonly [{
|
|
@@ -54,6 +53,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
54
53
|
readonly locale: "en" | "ja" | "ko";
|
|
55
54
|
readonly message: string;
|
|
56
55
|
}[]];
|
|
56
|
+
readonly enableSorting?: boolean | undefined;
|
|
57
57
|
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
58
58
|
readonly nodeTooltip?: readonly [{
|
|
59
59
|
readonly locale: "zh";
|
|
@@ -108,7 +108,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
108
108
|
readonly mode: "formula" | "prefill";
|
|
109
109
|
readonly expression: string;
|
|
110
110
|
} | undefined;
|
|
111
|
-
readonly enableSorting?: boolean | undefined;
|
|
112
111
|
readonly nodeKey: string;
|
|
113
112
|
readonly nodeChildren: string;
|
|
114
113
|
readonly nodeLabel: readonly [{
|
|
@@ -118,6 +117,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
118
117
|
readonly locale: "en" | "ja" | "ko";
|
|
119
118
|
readonly message: string;
|
|
120
119
|
}[]];
|
|
120
|
+
readonly enableSorting?: boolean | undefined;
|
|
121
121
|
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
122
122
|
readonly nodeTooltip?: readonly [{
|
|
123
123
|
readonly locale: "zh";
|
|
@@ -44,7 +44,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
44
44
|
readonly mode: "formula" | "prefill";
|
|
45
45
|
readonly expression: string;
|
|
46
46
|
} | undefined;
|
|
47
|
-
readonly enableSorting?: boolean | undefined;
|
|
48
47
|
readonly nodeKey: string;
|
|
49
48
|
readonly nodeChildren: string;
|
|
50
49
|
readonly nodeLabel: readonly [{
|
|
@@ -54,6 +53,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
54
53
|
readonly locale: "en" | "ja" | "ko";
|
|
55
54
|
readonly message: string;
|
|
56
55
|
}[]];
|
|
56
|
+
readonly enableSorting?: boolean | undefined;
|
|
57
57
|
readonly nodeTooltip?: readonly [{
|
|
58
58
|
readonly locale: "zh";
|
|
59
59
|
readonly message: string;
|
|
@@ -107,7 +107,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
107
107
|
readonly mode: "formula" | "prefill";
|
|
108
108
|
readonly expression: string;
|
|
109
109
|
} | undefined;
|
|
110
|
-
readonly enableSorting?: boolean | undefined;
|
|
111
110
|
readonly nodeKey: string;
|
|
112
111
|
readonly nodeChildren: string;
|
|
113
112
|
readonly nodeLabel: readonly [{
|
|
@@ -117,6 +116,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
117
116
|
readonly locale: "en" | "ja" | "ko";
|
|
118
117
|
readonly message: string;
|
|
119
118
|
}[]];
|
|
119
|
+
readonly enableSorting?: boolean | undefined;
|
|
120
120
|
readonly nodeTooltip?: readonly [{
|
|
121
121
|
readonly locale: "zh";
|
|
122
122
|
readonly message: string;
|
|
@@ -44,7 +44,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
44
44
|
readonly mode: "formula" | "prefill";
|
|
45
45
|
readonly expression: string;
|
|
46
46
|
} | undefined;
|
|
47
|
-
readonly enableSorting?: boolean | undefined;
|
|
48
47
|
readonly nodeKey: string;
|
|
49
48
|
readonly nodeChildren: string;
|
|
50
49
|
readonly nodeLabel: readonly [{
|
|
@@ -54,6 +53,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
54
53
|
readonly locale: "en" | "ja" | "ko";
|
|
55
54
|
readonly message: string;
|
|
56
55
|
}[]];
|
|
56
|
+
readonly enableSorting?: boolean | undefined;
|
|
57
57
|
readonly nodeTooltip?: readonly [{
|
|
58
58
|
readonly locale: "zh";
|
|
59
59
|
readonly message: string;
|
|
@@ -107,7 +107,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
107
107
|
readonly mode: "formula" | "prefill";
|
|
108
108
|
readonly expression: string;
|
|
109
109
|
} | undefined;
|
|
110
|
-
readonly enableSorting?: boolean | undefined;
|
|
111
110
|
readonly nodeKey: string;
|
|
112
111
|
readonly nodeChildren: string;
|
|
113
112
|
readonly nodeLabel: readonly [{
|
|
@@ -117,6 +116,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
117
116
|
readonly locale: "en" | "ja" | "ko";
|
|
118
117
|
readonly message: string;
|
|
119
118
|
}[]];
|
|
119
|
+
readonly enableSorting?: boolean | undefined;
|
|
120
120
|
readonly nodeTooltip?: readonly [{
|
|
121
121
|
readonly locale: "zh";
|
|
122
122
|
readonly message: string;
|
|
@@ -45,7 +45,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
45
45
|
readonly mode: "formula" | "prefill";
|
|
46
46
|
readonly expression: string;
|
|
47
47
|
} | undefined;
|
|
48
|
-
readonly enableSorting?: boolean | undefined;
|
|
49
48
|
readonly nodeKey: string;
|
|
50
49
|
readonly nodeChildren: string;
|
|
51
50
|
readonly nodeLabel: readonly [{
|
|
@@ -55,6 +54,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
55
54
|
readonly locale: "en" | "ja" | "ko";
|
|
56
55
|
readonly message: string;
|
|
57
56
|
}[]];
|
|
57
|
+
readonly enableSorting?: boolean | undefined;
|
|
58
58
|
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
59
59
|
readonly nodeTooltip?: readonly [{
|
|
60
60
|
readonly locale: "zh";
|
|
@@ -110,7 +110,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
110
110
|
readonly mode: "formula" | "prefill";
|
|
111
111
|
readonly expression: string;
|
|
112
112
|
} | undefined;
|
|
113
|
-
readonly enableSorting?: boolean | undefined;
|
|
114
113
|
readonly nodeKey: string;
|
|
115
114
|
readonly nodeChildren: string;
|
|
116
115
|
readonly nodeLabel: readonly [{
|
|
@@ -120,6 +119,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
120
119
|
readonly locale: "en" | "ja" | "ko";
|
|
121
120
|
readonly message: string;
|
|
122
121
|
}[]];
|
|
122
|
+
readonly enableSorting?: boolean | undefined;
|
|
123
123
|
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
124
124
|
readonly nodeTooltip?: readonly [{
|
|
125
125
|
readonly locale: "zh";
|
|
@@ -45,7 +45,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
45
45
|
readonly mode: "formula" | "prefill";
|
|
46
46
|
readonly expression: string;
|
|
47
47
|
} | undefined;
|
|
48
|
-
readonly enableSorting?: boolean | undefined;
|
|
49
48
|
readonly nodeKey: string;
|
|
50
49
|
readonly nodeChildren: string;
|
|
51
50
|
readonly nodeLabel: readonly [{
|
|
@@ -55,6 +54,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
55
54
|
readonly locale: "en" | "ja" | "ko";
|
|
56
55
|
readonly message: string;
|
|
57
56
|
}[]];
|
|
57
|
+
readonly enableSorting?: boolean | undefined;
|
|
58
58
|
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
59
59
|
readonly nodeTooltip?: readonly [{
|
|
60
60
|
readonly locale: "zh";
|
|
@@ -110,7 +110,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
110
110
|
readonly mode: "formula" | "prefill";
|
|
111
111
|
readonly expression: string;
|
|
112
112
|
} | undefined;
|
|
113
|
-
readonly enableSorting?: boolean | undefined;
|
|
114
113
|
readonly nodeKey: string;
|
|
115
114
|
readonly nodeChildren: string;
|
|
116
115
|
readonly nodeLabel: readonly [{
|
|
@@ -120,6 +119,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
120
119
|
readonly locale: "en" | "ja" | "ko";
|
|
121
120
|
readonly message: string;
|
|
122
121
|
}[]];
|
|
122
|
+
readonly enableSorting?: boolean | undefined;
|
|
123
123
|
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
124
124
|
readonly nodeTooltip?: readonly [{
|
|
125
125
|
readonly locale: "zh";
|
|
@@ -45,7 +45,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
45
45
|
readonly mode: "formula" | "prefill";
|
|
46
46
|
readonly expression: string;
|
|
47
47
|
} | undefined;
|
|
48
|
-
readonly enableSorting?: boolean | undefined;
|
|
49
48
|
readonly nodeKey: string;
|
|
50
49
|
readonly nodeChildren: string;
|
|
51
50
|
readonly nodeLabel: readonly [{
|
|
@@ -55,6 +54,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
55
54
|
readonly locale: "en" | "ja" | "ko";
|
|
56
55
|
readonly message: string;
|
|
57
56
|
}[]];
|
|
57
|
+
readonly enableSorting?: boolean | undefined;
|
|
58
58
|
readonly nodeTooltip?: readonly [{
|
|
59
59
|
readonly locale: "zh";
|
|
60
60
|
readonly message: string;
|
|
@@ -109,7 +109,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
109
109
|
readonly mode: "formula" | "prefill";
|
|
110
110
|
readonly expression: string;
|
|
111
111
|
} | undefined;
|
|
112
|
-
readonly enableSorting?: boolean | undefined;
|
|
113
112
|
readonly nodeKey: string;
|
|
114
113
|
readonly nodeChildren: string;
|
|
115
114
|
readonly nodeLabel: readonly [{
|
|
@@ -119,6 +118,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
119
118
|
readonly locale: "en" | "ja" | "ko";
|
|
120
119
|
readonly message: string;
|
|
121
120
|
}[]];
|
|
121
|
+
readonly enableSorting?: boolean | undefined;
|
|
122
122
|
readonly nodeTooltip?: readonly [{
|
|
123
123
|
readonly locale: "zh";
|
|
124
124
|
readonly message: string;
|
|
@@ -45,7 +45,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
45
45
|
readonly mode: "formula" | "prefill";
|
|
46
46
|
readonly expression: string;
|
|
47
47
|
} | undefined;
|
|
48
|
-
readonly enableSorting?: boolean | undefined;
|
|
49
48
|
readonly nodeKey: string;
|
|
50
49
|
readonly nodeChildren: string;
|
|
51
50
|
readonly nodeLabel: readonly [{
|
|
@@ -55,6 +54,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
55
54
|
readonly locale: "en" | "ja" | "ko";
|
|
56
55
|
readonly message: string;
|
|
57
56
|
}[]];
|
|
57
|
+
readonly enableSorting?: boolean | undefined;
|
|
58
58
|
readonly nodeTooltip?: readonly [{
|
|
59
59
|
readonly locale: "zh";
|
|
60
60
|
readonly message: string;
|
|
@@ -109,7 +109,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
109
109
|
readonly mode: "formula" | "prefill";
|
|
110
110
|
readonly expression: string;
|
|
111
111
|
} | undefined;
|
|
112
|
-
readonly enableSorting?: boolean | undefined;
|
|
113
112
|
readonly nodeKey: string;
|
|
114
113
|
readonly nodeChildren: string;
|
|
115
114
|
readonly nodeLabel: readonly [{
|
|
@@ -119,6 +118,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
119
118
|
readonly locale: "en" | "ja" | "ko";
|
|
120
119
|
readonly message: string;
|
|
121
120
|
}[]];
|
|
121
|
+
readonly enableSorting?: boolean | undefined;
|
|
122
122
|
readonly nodeTooltip?: readonly [{
|
|
123
123
|
readonly locale: "zh";
|
|
124
124
|
readonly message: string;
|
|
@@ -24,6 +24,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
24
24
|
readonly message: string;
|
|
25
25
|
}[]] | undefined;
|
|
26
26
|
readonly align: "center" | "left" | "right";
|
|
27
|
+
readonly required?: string | undefined;
|
|
27
28
|
readonly options: {
|
|
28
29
|
readonly kind: "remote";
|
|
29
30
|
readonly options: string;
|
|
@@ -111,6 +112,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
111
112
|
readonly message: string;
|
|
112
113
|
}[]] | undefined;
|
|
113
114
|
readonly align: "center" | "left" | "right";
|
|
115
|
+
readonly required?: string | undefined;
|
|
114
116
|
readonly options: {
|
|
115
117
|
readonly kind: "remote";
|
|
116
118
|
readonly options: string;
|
|
@@ -105,6 +105,7 @@ function celModel(field) {
|
|
|
105
105
|
}
|
|
106
106
|
const disabledModel = celModel("disabled");
|
|
107
107
|
const readonlyModel = celModel("readonly");
|
|
108
|
+
const requiredModel = celModel("required");
|
|
108
109
|
function onHiddenChange(v) {
|
|
109
110
|
if (v) {
|
|
110
111
|
value.value = { ...value.value, hidden: true };
|
|
@@ -1004,6 +1005,27 @@ function setItemKeywords(index, text) {
|
|
|
1004
1005
|
:extra-vars="ROW_VARS"
|
|
1005
1006
|
/>
|
|
1006
1007
|
</Field>
|
|
1008
|
+
<Field orientation="vertical">
|
|
1009
|
+
<FieldLabel class="text-xs text-zinc-500">
|
|
1010
|
+
<template
|
|
1011
|
+
v-if="fieldDescription('required')"
|
|
1012
|
+
#tooltip
|
|
1013
|
+
>
|
|
1014
|
+
<Markdown
|
|
1015
|
+
:source="fieldDescription('required')"
|
|
1016
|
+
block
|
|
1017
|
+
class="prose prose-sm prose-zinc"
|
|
1018
|
+
/>
|
|
1019
|
+
</template>
|
|
1020
|
+
{{ fieldTitle("required") }}
|
|
1021
|
+
</FieldLabel>
|
|
1022
|
+
<ExpressionEditor
|
|
1023
|
+
v-model="requiredModel"
|
|
1024
|
+
placeholder="例:row.type == 'company'"
|
|
1025
|
+
result-type="bool"
|
|
1026
|
+
:extra-vars="ROW_VARS"
|
|
1027
|
+
/>
|
|
1028
|
+
</Field>
|
|
1007
1029
|
</div>
|
|
1008
1030
|
<Separator />
|
|
1009
1031
|
<div class="flex flex-wrap gap-x-8 gap-y-3">
|
|
@@ -24,6 +24,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
24
24
|
readonly message: string;
|
|
25
25
|
}[]] | undefined;
|
|
26
26
|
readonly align: "center" | "left" | "right";
|
|
27
|
+
readonly required?: string | undefined;
|
|
27
28
|
readonly options: {
|
|
28
29
|
readonly kind: "remote";
|
|
29
30
|
readonly options: string;
|
|
@@ -111,6 +112,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
111
112
|
readonly message: string;
|
|
112
113
|
}[]] | undefined;
|
|
113
114
|
readonly align: "center" | "left" | "right";
|
|
115
|
+
readonly required?: string | undefined;
|
|
114
116
|
readonly options: {
|
|
115
117
|
readonly kind: "remote";
|
|
116
118
|
readonly options: string;
|
|
@@ -168,6 +168,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
168
168
|
}[]], never>>;
|
|
169
169
|
disabled: Schema.optional<Schema.Schema<string, string, never>>;
|
|
170
170
|
readonly: Schema.optional<Schema.Schema<string, string, never>>;
|
|
171
|
+
required: Schema.optional<Schema.Schema<string, string, never>>;
|
|
171
172
|
enableSorting: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
|
|
172
173
|
sortKey: Schema.optional<Schema.refine<string, typeof Schema.String>>;
|
|
173
174
|
size: Schema.optional<Schema.refine<number, Schema.filter<typeof Schema.Number>>>;
|
|
@@ -9,6 +9,7 @@ import {
|
|
|
9
9
|
columnFields,
|
|
10
10
|
columnIdentityFields,
|
|
11
11
|
editableHeader,
|
|
12
|
+
editableRequiredField,
|
|
12
13
|
LocaleMarkdownWithRow,
|
|
13
14
|
registerRowVariablesIfAbsent
|
|
14
15
|
} from "../../../utils/shared.js";
|
|
@@ -192,6 +193,7 @@ export function schema(configure) {
|
|
|
192
193
|
title: "\u53EA\u8BFB\u6761\u4EF6",
|
|
193
194
|
description: "\u8FD4\u56DE `true` \u65F6\u4EC5\u4EE5\u7EAF\u6587\u672C\u5C55\u793A\u5F53\u524D\u5DF2\u9009\u9879\u7684\u6807\u7B7E"
|
|
194
195
|
})),
|
|
196
|
+
required: editableRequiredField(configure),
|
|
195
197
|
enableSorting: display.enableSorting,
|
|
196
198
|
sortKey: display.sortKey,
|
|
197
199
|
size: display.size,
|
|
@@ -24,6 +24,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
24
24
|
readonly message: string;
|
|
25
25
|
}[]] | undefined;
|
|
26
26
|
readonly align: "center" | "left" | "right";
|
|
27
|
+
readonly required?: string | undefined;
|
|
27
28
|
readonly options: {
|
|
28
29
|
readonly kind: "remote";
|
|
29
30
|
readonly options: string;
|
|
@@ -111,6 +112,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
111
112
|
readonly message: string;
|
|
112
113
|
}[]] | undefined;
|
|
113
114
|
readonly align: "center" | "left" | "right";
|
|
115
|
+
readonly required?: string | undefined;
|
|
114
116
|
readonly options: {
|
|
115
117
|
readonly kind: "remote";
|
|
116
118
|
readonly options: string;
|
|
@@ -105,6 +105,7 @@ function celModel(field) {
|
|
|
105
105
|
}
|
|
106
106
|
const disabledModel = celModel("disabled");
|
|
107
107
|
const readonlyModel = celModel("readonly");
|
|
108
|
+
const requiredModel = celModel("required");
|
|
108
109
|
function onHiddenChange(v) {
|
|
109
110
|
if (v) {
|
|
110
111
|
value.value = { ...value.value, hidden: true };
|
|
@@ -1004,6 +1005,27 @@ function setItemKeywords(index, text) {
|
|
|
1004
1005
|
:extra-vars="ROW_VARS"
|
|
1005
1006
|
/>
|
|
1006
1007
|
</Field>
|
|
1008
|
+
<Field orientation="vertical">
|
|
1009
|
+
<FieldLabel class="text-xs text-zinc-500">
|
|
1010
|
+
<template
|
|
1011
|
+
v-if="fieldDescription('required')"
|
|
1012
|
+
#tooltip
|
|
1013
|
+
>
|
|
1014
|
+
<Markdown
|
|
1015
|
+
:source="fieldDescription('required')"
|
|
1016
|
+
block
|
|
1017
|
+
class="prose prose-sm prose-zinc"
|
|
1018
|
+
/>
|
|
1019
|
+
</template>
|
|
1020
|
+
{{ fieldTitle("required") }}
|
|
1021
|
+
</FieldLabel>
|
|
1022
|
+
<ExpressionEditor
|
|
1023
|
+
v-model="requiredModel"
|
|
1024
|
+
placeholder="例:row.type == 'company'"
|
|
1025
|
+
result-type="bool"
|
|
1026
|
+
:extra-vars="ROW_VARS"
|
|
1027
|
+
/>
|
|
1028
|
+
</Field>
|
|
1007
1029
|
</div>
|
|
1008
1030
|
<Separator />
|
|
1009
1031
|
<div class="flex flex-wrap gap-x-8 gap-y-3">
|
|
@@ -24,6 +24,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
24
24
|
readonly message: string;
|
|
25
25
|
}[]] | undefined;
|
|
26
26
|
readonly align: "center" | "left" | "right";
|
|
27
|
+
readonly required?: string | undefined;
|
|
27
28
|
readonly options: {
|
|
28
29
|
readonly kind: "remote";
|
|
29
30
|
readonly options: string;
|
|
@@ -111,6 +112,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
111
112
|
readonly message: string;
|
|
112
113
|
}[]] | undefined;
|
|
113
114
|
readonly align: "center" | "left" | "right";
|
|
115
|
+
readonly required?: string | undefined;
|
|
114
116
|
readonly options: {
|
|
115
117
|
readonly kind: "remote";
|
|
116
118
|
readonly options: string;
|
|
@@ -168,6 +168,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
168
168
|
}[]], never>>;
|
|
169
169
|
disabled: Schema.optional<Schema.Schema<string, string, never>>;
|
|
170
170
|
readonly: Schema.optional<Schema.Schema<string, string, never>>;
|
|
171
|
+
required: Schema.optional<Schema.Schema<string, string, never>>;
|
|
171
172
|
enableSorting: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
|
|
172
173
|
sortKey: Schema.optional<Schema.refine<string, typeof Schema.String>>;
|
|
173
174
|
size: Schema.optional<Schema.refine<number, Schema.filter<typeof Schema.Number>>>;
|
|
@@ -9,6 +9,7 @@ import {
|
|
|
9
9
|
columnFields,
|
|
10
10
|
columnIdentityFields,
|
|
11
11
|
editableHeader,
|
|
12
|
+
editableRequiredField,
|
|
12
13
|
LocaleMarkdownWithRow,
|
|
13
14
|
registerRowVariablesIfAbsent
|
|
14
15
|
} from "../../../utils/shared.js";
|
|
@@ -192,6 +193,7 @@ export function schema(configure) {
|
|
|
192
193
|
title: "\u53EA\u8BFB\u6761\u4EF6",
|
|
193
194
|
description: "\u8FD4\u56DE `true` \u65F6\u4EC5\u4EE5\u7EAF\u6587\u672C\u5C55\u793A\u5F53\u524D\u9009\u9879\u7684\u6807\u7B7E"
|
|
194
195
|
})),
|
|
196
|
+
required: editableRequiredField(configure),
|
|
195
197
|
enableSorting: display.enableSorting,
|
|
196
198
|
sortKey: display.sortKey,
|
|
197
199
|
size: display.size,
|
|
@@ -46,10 +46,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
46
46
|
readonly mode: "formula" | "prefill";
|
|
47
47
|
readonly expression: string;
|
|
48
48
|
} | undefined;
|
|
49
|
-
readonly enableSorting?: boolean | undefined;
|
|
50
49
|
readonly nodeKey: string;
|
|
51
50
|
readonly nodeChildren: string;
|
|
52
51
|
readonly nodeLabel: string;
|
|
52
|
+
readonly enableSorting?: boolean | undefined;
|
|
53
53
|
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
54
54
|
readonly nodeTooltip?: readonly [{
|
|
55
55
|
readonly locale: "zh";
|
|
@@ -106,10 +106,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
106
106
|
readonly mode: "formula" | "prefill";
|
|
107
107
|
readonly expression: string;
|
|
108
108
|
} | undefined;
|
|
109
|
-
readonly enableSorting?: boolean | undefined;
|
|
110
109
|
readonly nodeKey: string;
|
|
111
110
|
readonly nodeChildren: string;
|
|
112
111
|
readonly nodeLabel: string;
|
|
112
|
+
readonly enableSorting?: boolean | undefined;
|
|
113
113
|
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
114
114
|
readonly nodeTooltip?: readonly [{
|
|
115
115
|
readonly locale: "zh";
|
|
@@ -46,10 +46,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
46
46
|
readonly mode: "formula" | "prefill";
|
|
47
47
|
readonly expression: string;
|
|
48
48
|
} | undefined;
|
|
49
|
-
readonly enableSorting?: boolean | undefined;
|
|
50
49
|
readonly nodeKey: string;
|
|
51
50
|
readonly nodeChildren: string;
|
|
52
51
|
readonly nodeLabel: string;
|
|
52
|
+
readonly enableSorting?: boolean | undefined;
|
|
53
53
|
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
54
54
|
readonly nodeTooltip?: readonly [{
|
|
55
55
|
readonly locale: "zh";
|
|
@@ -106,10 +106,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
106
106
|
readonly mode: "formula" | "prefill";
|
|
107
107
|
readonly expression: string;
|
|
108
108
|
} | undefined;
|
|
109
|
-
readonly enableSorting?: boolean | undefined;
|
|
110
109
|
readonly nodeKey: string;
|
|
111
110
|
readonly nodeChildren: string;
|
|
112
111
|
readonly nodeLabel: string;
|
|
112
|
+
readonly enableSorting?: boolean | undefined;
|
|
113
113
|
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
114
114
|
readonly nodeTooltip?: readonly [{
|
|
115
115
|
readonly locale: "zh";
|
|
@@ -46,10 +46,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
46
46
|
readonly mode: "formula" | "prefill";
|
|
47
47
|
readonly expression: string;
|
|
48
48
|
} | undefined;
|
|
49
|
-
readonly enableSorting?: boolean | undefined;
|
|
50
49
|
readonly nodeKey: string;
|
|
51
50
|
readonly nodeChildren: string;
|
|
52
51
|
readonly nodeLabel: string;
|
|
52
|
+
readonly enableSorting?: boolean | undefined;
|
|
53
53
|
readonly nodeTooltip?: readonly [{
|
|
54
54
|
readonly locale: "zh";
|
|
55
55
|
readonly message: string;
|
|
@@ -105,10 +105,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
105
105
|
readonly mode: "formula" | "prefill";
|
|
106
106
|
readonly expression: string;
|
|
107
107
|
} | undefined;
|
|
108
|
-
readonly enableSorting?: boolean | undefined;
|
|
109
108
|
readonly nodeKey: string;
|
|
110
109
|
readonly nodeChildren: string;
|
|
111
110
|
readonly nodeLabel: string;
|
|
111
|
+
readonly enableSorting?: boolean | undefined;
|
|
112
112
|
readonly nodeTooltip?: readonly [{
|
|
113
113
|
readonly locale: "zh";
|
|
114
114
|
readonly message: string;
|
|
@@ -46,10 +46,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
46
46
|
readonly mode: "formula" | "prefill";
|
|
47
47
|
readonly expression: string;
|
|
48
48
|
} | undefined;
|
|
49
|
-
readonly enableSorting?: boolean | undefined;
|
|
50
49
|
readonly nodeKey: string;
|
|
51
50
|
readonly nodeChildren: string;
|
|
52
51
|
readonly nodeLabel: string;
|
|
52
|
+
readonly enableSorting?: boolean | undefined;
|
|
53
53
|
readonly nodeTooltip?: readonly [{
|
|
54
54
|
readonly locale: "zh";
|
|
55
55
|
readonly message: string;
|
|
@@ -105,10 +105,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
105
105
|
readonly mode: "formula" | "prefill";
|
|
106
106
|
readonly expression: string;
|
|
107
107
|
} | undefined;
|
|
108
|
-
readonly enableSorting?: boolean | undefined;
|
|
109
108
|
readonly nodeKey: string;
|
|
110
109
|
readonly nodeChildren: string;
|
|
111
110
|
readonly nodeLabel: string;
|
|
111
|
+
readonly enableSorting?: boolean | undefined;
|
|
112
112
|
readonly nodeTooltip?: readonly [{
|
|
113
113
|
readonly locale: "zh";
|
|
114
114
|
readonly message: string;
|
|
@@ -43,6 +43,7 @@ export declare function columnFields(configure: (env: Environment) => void): {
|
|
|
43
43
|
id: Schema.refine<string, typeof Schema.String>;
|
|
44
44
|
groupId: Schema.optional<typeof Schema.UUID>;
|
|
45
45
|
};
|
|
46
|
+
export declare function editableRequiredField(configure: (env: Environment) => void): Schema.optional<Schema.Schema<string, string, never>>;
|
|
46
47
|
export declare function editableColumnFields(configure: (env: Environment) => void): {
|
|
47
48
|
title: Schema.suspend<readonly [{
|
|
48
49
|
readonly locale: "zh";
|
|
@@ -74,6 +74,16 @@ function CelColumnRequired(configure) {
|
|
|
74
74
|
resultType: "bool"
|
|
75
75
|
});
|
|
76
76
|
}
|
|
77
|
+
export function editableRequiredField(configure) {
|
|
78
|
+
return Schema.optional(CelColumnRequired(configure).annotations({
|
|
79
|
+
title: "\u5FC5\u586B",
|
|
80
|
+
description: md`
|
|
81
|
+
返回 \`true\` 时,该列**表头显示必填星号**。可访问 \`row\` / \`index\` / \`form\`,因此可写「部分行必填」的条件(例如 \`row.type == 'company'\`)。
|
|
82
|
+
|
|
83
|
+
**当前版本星号仅作视觉标识,不会拦截提交**——实际必填校验请在表格字段的「校验规则」中用 CEL 编写(可读整表 \`form.<绑定路径>\`)。后续版本将据此表达式自动完成逐行校验并拦截提交。
|
|
84
|
+
`
|
|
85
|
+
}));
|
|
86
|
+
}
|
|
77
87
|
export function editableColumnFields(configure) {
|
|
78
88
|
return {
|
|
79
89
|
...columnIdentityFields(),
|
|
@@ -100,14 +110,7 @@ export function editableColumnFields(configure) {
|
|
|
100
110
|
title: "\u9ED8\u8BA4\u9690\u85CF",
|
|
101
111
|
description: "\u5F00\u542F\u540E\u8BE5\u5217\u9ED8\u8BA4\u9690\u85CF\uFF1B\u4F7F\u7528\u8005\u53EF\u5728\u8868\u683C\u7684\u5217\u8BBE\u7F6E\u4E2D\u91CD\u65B0\u663E\u793A\u3002\u4EC5\u4F5C\u4E3A\u521D\u59CB\u72B6\u6001\uFF0C\u4E0D\u968F\u6570\u636E\u53D8\u5316"
|
|
102
112
|
})),
|
|
103
|
-
required:
|
|
104
|
-
title: "\u5FC5\u586B",
|
|
105
|
-
description: md`
|
|
106
|
-
返回 \`true\` 时,该列**表头显示必填星号**。可访问 \`row\` / \`index\` / \`form\`,因此可写「部分行必填」的条件(例如 \`row.type == 'company'\`)。
|
|
107
|
-
|
|
108
|
-
**当前版本星号仅作视觉标识,不会拦截提交**——实际必填校验请在表格字段的「校验规则」中用 CEL 编写(可读整表 \`form.<绑定路径>\`)。后续版本将据此表达式自动完成逐行校验并拦截提交。
|
|
109
|
-
`
|
|
110
|
-
}))
|
|
113
|
+
required: editableRequiredField(configure)
|
|
111
114
|
};
|
|
112
115
|
}
|
|
113
116
|
const EDITABLE_HEADER_MARKER = Symbol("shwfed-editable-header");
|