@shwfed/config 2.4.1 → 2.5.1
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 +222 -45
- package/dist/module.json +1 -1
- package/dist/preview/assets/{config-ByTxMBcK.js → config-2hrRmW-I.js} +1 -1
- package/dist/preview/assets/{config-Q86AhjHq.js → config-BfzthOw9.js} +1 -1
- package/dist/preview/assets/{config-C7xYpB3N.js → config-BsgSoDjY.js} +1 -1
- package/dist/preview/assets/{config-CH9wsYX8.js → config-CaLzEMyt.js} +1 -1
- package/dist/preview/assets/{config-D50Rl2n_.js → config-DKtPKn2s.js} +1 -1
- package/dist/preview/assets/{config-BovRv7Mw.js → config-DdgZWox9.js} +1 -1
- package/dist/preview/assets/{config-Ch5dL5lp.js → config-h_LH1CT_.js} +1 -1
- package/dist/preview/assets/{config-DiwVK32V.js → config-nsiwkAq8.js} +1 -1
- package/dist/preview/assets/{config-EKVeWrbS.js → config-zxVo1EOM.js} +1 -1
- package/dist/preview/assets/{definition.vue_vue_type_script_setup_true_lang-D8NPPbjZ.js → definition.vue_vue_type_script_setup_true_lang-CLpbGZ37.js} +1 -1
- package/dist/preview/assets/index-C0NJ1FZp.js +1 -0
- package/dist/preview/assets/index-C5dK4QAf.js +668 -0
- package/dist/preview/assets/{index-65eB1l4r.css → index-nvAUAYGM.css} +1 -1
- package/dist/preview/assets/{runtime-D34aQN00.js → runtime-527oKJb4.js} +1 -1
- package/dist/preview/assets/{runtime-BP7zXnyG.js → runtime-BLhH77F7.js} +1 -1
- package/dist/preview/assets/{runtime-a9TOQRwD.js → runtime-BRWnAaFs.js} +1 -1
- package/dist/preview/assets/{runtime-BwR_BbTu.js → runtime-CEXA5ttw.js} +1 -1
- package/dist/preview/assets/{runtime-Cunk4vOs.js → runtime-CZZWuLu9.js} +1 -1
- package/dist/preview/assets/{runtime-Ch3JIgUQ.js → runtime-DOLtY37Y.js} +1 -1
- package/dist/preview/assets/{runtime-BQSwNpLC.js → runtime-DZqXButD.js} +1 -1
- package/dist/preview/assets/{runtime-aPt-bW3F.js → runtime-MJo092Ed.js} +1 -1
- package/dist/preview/assets/{runtime-CjvZcU7X.js → runtime-i3-6DCWP.js} +1 -1
- package/dist/preview/index.html +2 -2
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/schema.d.ts +1 -1
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.d.vue.ts +2 -2
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.vue.d.ts +2 -2
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/config.d.vue.ts +2 -2
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/config.vue.d.ts +2 -2
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.d.vue.ts +2 -2
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.vue.d.ts +2 -2
- package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/config.d.vue.ts +20 -20
- package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/config.vue.d.ts +20 -20
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/config.d.vue.ts +20 -20
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/config.vue.d.ts +20 -20
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/config.d.vue.ts +20 -20
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/config.vue.d.ts +20 -20
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/config.d.vue.ts +20 -20
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/config.vue.d.ts +20 -20
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/config.d.vue.ts +20 -20
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/config.vue.d.ts +20 -20
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/config.d.vue.ts +20 -20
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/config.vue.d.ts +20 -20
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/config.d.vue.ts +20 -20
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/config.vue.d.ts +20 -20
- package/dist/runtime/components/form/index.vue +5 -18
- package/dist/runtime/components/form/schema.d.ts +2 -10
- package/dist/runtime/components/form/schema.js +2 -5
- package/dist/runtime/components/form/utils/cel-scope.d.ts +12 -3
- package/dist/runtime/components/form/utils/cel-scope.js +17 -18
- package/dist/runtime/components/form/utils/form-vars.d.ts +19 -0
- package/dist/runtime/components/form/utils/form-vars.js +5 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.actions/schema.d.ts +1 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.actions/schema.js +8 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.date/config.vue +20 -8
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.date/schema.d.ts +2 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.date/schema.js +8 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.icon/config.vue +21 -8
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.icon/schema.d.ts +2 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.icon/schema.js +7 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.markdown/schema.d.ts +1 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.markdown/schema.js +7 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.number/config.vue +21 -8
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.number/schema.d.ts +2 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.number/schema.js +8 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.select/schema.d.ts +1 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.select/schema.js +5 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.text/config.vue +21 -8
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.text/schema.d.ts +2 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.text/schema.js +7 -0
- package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch/config.vue +21 -8
- package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch/schema.d.ts +1 -0
- package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch.remote/config.vue +21 -8
- package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch.remote/schema.d.ts +2 -0
- package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch.remote/schema.js +7 -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 +20 -8
- 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.number-input/config.vue +20 -7
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.number-input/schema.d.ts +2 -0
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.number-input/schema.js +7 -0
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.switch/config.vue +20 -8
- 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.local/config.vue +20 -8
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.switch.local/schema.d.ts +2 -0
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.switch.local/schema.js +7 -0
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.text-input/config.vue +20 -8
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.text-input/schema.d.ts +2 -0
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.text-input/schema.js +7 -0
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.d.vue.ts +6 -4
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.vue +21 -8
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.vue.d.ts +6 -4
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/schema.d.ts +1 -0
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/config.d.vue.ts +4 -2
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/config.vue +20 -8
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/config.vue.d.ts +4 -2
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/schema.d.ts +1 -0
- 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 +20 -8
- 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.remote.options-remote/config.d.vue.ts +6 -4
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.vue +21 -8
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.vue.d.ts +6 -4
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/schema.d.ts +1 -0
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/config.d.vue.ts +4 -2
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/config.vue +20 -8
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/config.vue.d.ts +4 -2
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/schema.d.ts +1 -0
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi/config.d.vue.ts +4 -2
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi/config.vue +20 -8
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi/config.vue.d.ts +4 -2
- 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.remote/config.d.vue.ts +6 -4
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/config.vue +20 -8
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/config.vue.d.ts +6 -4
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/schema.d.ts +1 -0
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single/config.d.vue.ts +4 -2
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single/config.vue +20 -8
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single/config.vue.d.ts +4 -2
- 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.remote/config.d.vue.ts +6 -4
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/config.vue +20 -8
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/config.vue.d.ts +6 -4
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/schema.d.ts +1 -0
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +8 -6
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/config.vue +20 -7
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +8 -6
- 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-single/config.d.vue.ts +6 -4
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/config.vue +20 -7
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +6 -4
- 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-28/com.shwfed.table.column.combobox-multi/config.d.vue.ts +6 -4
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/config.vue +20 -8
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/config.vue.d.ts +6 -4
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/schema.d.ts +2 -0
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/schema.js +10 -1
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/config.d.vue.ts +6 -4
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/config.vue +20 -8
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/config.vue.d.ts +6 -4
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/schema.d.ts +2 -0
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/schema.js +10 -1
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +8 -6
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/config.vue +20 -7
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +8 -6
- 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 +3 -0
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +6 -4
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/config.vue +20 -7
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +6 -4
- 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 +3 -0
- package/dist/runtime/components/table/config.vue +24 -103
- package/dist/runtime/components/table/index.vue +22 -2
- package/dist/runtime/components/table/schema.d.ts +4 -2
- package/dist/runtime/components/table/schema.js +69 -13
- package/dist/runtime/components/table/utils/resolve.d.ts +14 -0
- package/dist/runtime/components/table/utils/resolve.js +2 -1
- package/dist/runtime/components/table/utils/shared.d.ts +2 -0
- package/dist/runtime/components/table/utils/shared.js +10 -2
- package/package.json +1 -1
- package/dist/preview/assets/index-CIrlYN0M.js +0 -1
- package/dist/preview/assets/index-DUDlWaQI.js +0 -661
|
@@ -39,6 +39,7 @@ 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 enableSorting?: boolean | undefined;
|
|
42
43
|
readonly options: {
|
|
43
44
|
readonly kind: "remote";
|
|
44
45
|
readonly request: string;
|
|
@@ -78,7 +79,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
78
79
|
};
|
|
79
80
|
}[];
|
|
80
81
|
};
|
|
81
|
-
readonly
|
|
82
|
+
readonly sortKey?: string | undefined;
|
|
82
83
|
}) => any;
|
|
83
84
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
84
85
|
"onUpdate:modelValue"?: ((value: {
|
|
@@ -117,6 +118,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
117
118
|
readonly mode: "formula" | "prefill";
|
|
118
119
|
readonly expression: string;
|
|
119
120
|
} | undefined;
|
|
121
|
+
readonly enableSorting?: boolean | undefined;
|
|
120
122
|
readonly options: {
|
|
121
123
|
readonly kind: "remote";
|
|
122
124
|
readonly request: string;
|
|
@@ -156,7 +158,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
156
158
|
};
|
|
157
159
|
}[];
|
|
158
160
|
};
|
|
159
|
-
readonly
|
|
161
|
+
readonly sortKey?: string | undefined;
|
|
160
162
|
}) => any) | undefined;
|
|
161
163
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
162
164
|
declare const _default: typeof __VLS_export;
|
|
@@ -231,6 +231,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
231
231
|
}>]>;
|
|
232
232
|
binding: Schema.refine<string, typeof Schema.String>;
|
|
233
233
|
enableSorting: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
|
|
234
|
+
sortKey: Schema.optional<Schema.refine<string, typeof Schema.String>>;
|
|
234
235
|
size: Schema.optional<Schema.refine<number, Schema.filter<typeof Schema.Number>>>;
|
|
235
236
|
grow: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
|
|
236
237
|
tooltip: Schema.optional<Schema.TupleType<readonly [Schema.Struct<{
|
|
@@ -39,7 +39,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
39
39
|
}[]] | undefined;
|
|
40
40
|
readonly readonly?: string | undefined;
|
|
41
41
|
readonly grow?: boolean | undefined;
|
|
42
|
-
readonly
|
|
42
|
+
readonly enableSorting?: boolean | undefined;
|
|
43
43
|
readonly options: {
|
|
44
44
|
readonly kind: "remote";
|
|
45
45
|
readonly request: string;
|
|
@@ -79,8 +79,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
79
79
|
};
|
|
80
80
|
}[];
|
|
81
81
|
};
|
|
82
|
-
readonly enableSorting?: boolean | undefined;
|
|
83
82
|
readonly successMessage?: string | undefined;
|
|
83
|
+
readonly accessor: string;
|
|
84
|
+
readonly sortKey?: string | undefined;
|
|
84
85
|
}) => any;
|
|
85
86
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
86
87
|
"onUpdate:modelValue"?: ((value: {
|
|
@@ -119,7 +120,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
119
120
|
}[]] | undefined;
|
|
120
121
|
readonly readonly?: string | undefined;
|
|
121
122
|
readonly grow?: boolean | undefined;
|
|
122
|
-
readonly
|
|
123
|
+
readonly enableSorting?: boolean | undefined;
|
|
123
124
|
readonly options: {
|
|
124
125
|
readonly kind: "remote";
|
|
125
126
|
readonly request: string;
|
|
@@ -159,8 +160,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
159
160
|
};
|
|
160
161
|
}[];
|
|
161
162
|
};
|
|
162
|
-
readonly enableSorting?: boolean | undefined;
|
|
163
163
|
readonly successMessage?: string | undefined;
|
|
164
|
+
readonly accessor: string;
|
|
165
|
+
readonly sortKey?: string | undefined;
|
|
164
166
|
}) => any) | undefined;
|
|
165
167
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
166
168
|
declare const _default: typeof __VLS_export;
|
|
@@ -4,7 +4,6 @@ import { Icon } from "@iconify/vue";
|
|
|
4
4
|
import { Button } from "../../../../ui/button";
|
|
5
5
|
import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger } from "../../../../ui/dropdown-menu";
|
|
6
6
|
import { ExpressionEditor } from "../../../../ui/expression-editor";
|
|
7
|
-
import { Switch } from "../../../../ui/switch";
|
|
8
7
|
import { Separator } from "../../../../ui/separator";
|
|
9
8
|
import { Field, FieldLabel } from "../../../../ui/field";
|
|
10
9
|
import { Locale } from "../../../../ui/locale";
|
|
@@ -706,14 +705,10 @@ function setItemTooltip(index, tooltip) {
|
|
|
706
705
|
<Separator />
|
|
707
706
|
<div class="flex flex-wrap gap-x-8 gap-y-3">
|
|
708
707
|
<Field
|
|
709
|
-
orientation="
|
|
710
|
-
class="w-
|
|
708
|
+
orientation="vertical"
|
|
709
|
+
class="w-full max-w-xs"
|
|
711
710
|
>
|
|
712
|
-
<
|
|
713
|
-
:model-value="value.enableSorting ?? false"
|
|
714
|
-
@update:model-value="(v) => value = { ...value, enableSorting: v }"
|
|
715
|
-
/>
|
|
716
|
-
<FieldLabel class="text-sm text-zinc-600">
|
|
711
|
+
<FieldLabel class="text-xs text-zinc-500">
|
|
717
712
|
<template
|
|
718
713
|
v-if="fieldDescription('enableSorting')"
|
|
719
714
|
#tooltip
|
|
@@ -726,6 +721,23 @@ function setItemTooltip(index, tooltip) {
|
|
|
726
721
|
</template>
|
|
727
722
|
{{ fieldTitle("enableSorting") }}
|
|
728
723
|
</FieldLabel>
|
|
724
|
+
<InputGroup>
|
|
725
|
+
<InputGroupInput
|
|
726
|
+
:model-value="value.sortKey"
|
|
727
|
+
placeholder="例:created_at"
|
|
728
|
+
@update:model-value="(v) => value = { ...value, sortKey: v || void 0 }"
|
|
729
|
+
/>
|
|
730
|
+
<InputGroupAddon align="inline-end">
|
|
731
|
+
<InputGroupButton
|
|
732
|
+
:variant="value.enableSorting ? 'primary' : 'ghost'"
|
|
733
|
+
size="xs"
|
|
734
|
+
@click="value = { ...value, enableSorting: !value.enableSorting }"
|
|
735
|
+
>
|
|
736
|
+
<Icon :icon="value.enableSorting ? 'fluent:arrow-sort-up-16-regular' : 'fluent:arrow-sort-16-regular'" />
|
|
737
|
+
{{ fieldTitle("enableSorting") }}
|
|
738
|
+
</InputGroupButton>
|
|
739
|
+
</InputGroupAddon>
|
|
740
|
+
</InputGroup>
|
|
729
741
|
</Field>
|
|
730
742
|
</div>
|
|
731
743
|
</div>
|
|
@@ -39,7 +39,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
39
39
|
}[]] | undefined;
|
|
40
40
|
readonly readonly?: string | undefined;
|
|
41
41
|
readonly grow?: boolean | undefined;
|
|
42
|
-
readonly
|
|
42
|
+
readonly enableSorting?: boolean | undefined;
|
|
43
43
|
readonly options: {
|
|
44
44
|
readonly kind: "remote";
|
|
45
45
|
readonly request: string;
|
|
@@ -79,8 +79,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
79
79
|
};
|
|
80
80
|
}[];
|
|
81
81
|
};
|
|
82
|
-
readonly enableSorting?: boolean | undefined;
|
|
83
82
|
readonly successMessage?: string | undefined;
|
|
83
|
+
readonly accessor: string;
|
|
84
|
+
readonly sortKey?: string | undefined;
|
|
84
85
|
}) => any;
|
|
85
86
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
86
87
|
"onUpdate:modelValue"?: ((value: {
|
|
@@ -119,7 +120,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
119
120
|
}[]] | undefined;
|
|
120
121
|
readonly readonly?: string | undefined;
|
|
121
122
|
readonly grow?: boolean | undefined;
|
|
122
|
-
readonly
|
|
123
|
+
readonly enableSorting?: boolean | undefined;
|
|
123
124
|
readonly options: {
|
|
124
125
|
readonly kind: "remote";
|
|
125
126
|
readonly request: string;
|
|
@@ -159,8 +160,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
159
160
|
};
|
|
160
161
|
}[];
|
|
161
162
|
};
|
|
162
|
-
readonly enableSorting?: boolean | undefined;
|
|
163
163
|
readonly successMessage?: string | undefined;
|
|
164
|
+
readonly accessor: string;
|
|
165
|
+
readonly sortKey?: string | undefined;
|
|
164
166
|
}) => any) | undefined;
|
|
165
167
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
166
168
|
declare const _default: typeof __VLS_export;
|
|
@@ -233,6 +233,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
233
233
|
}>]>;
|
|
234
234
|
accessor: Schema.Schema<string, string, never>;
|
|
235
235
|
enableSorting: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
|
|
236
|
+
sortKey: Schema.optional<Schema.refine<string, typeof Schema.String>>;
|
|
236
237
|
size: Schema.optional<Schema.refine<number, Schema.filter<typeof Schema.Number>>>;
|
|
237
238
|
grow: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
|
|
238
239
|
tooltip: Schema.optional<Schema.TupleType<readonly [Schema.Struct<{
|
|
@@ -39,6 +39,7 @@ 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 enableSorting?: boolean | undefined;
|
|
42
43
|
readonly options: {
|
|
43
44
|
readonly kind: "remote";
|
|
44
45
|
readonly request: string;
|
|
@@ -78,7 +79,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
78
79
|
};
|
|
79
80
|
}[];
|
|
80
81
|
};
|
|
81
|
-
readonly
|
|
82
|
+
readonly sortKey?: string | undefined;
|
|
82
83
|
}) => any;
|
|
83
84
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
84
85
|
"onUpdate:modelValue"?: ((value: {
|
|
@@ -117,6 +118,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
117
118
|
readonly mode: "formula" | "prefill";
|
|
118
119
|
readonly expression: string;
|
|
119
120
|
} | undefined;
|
|
121
|
+
readonly enableSorting?: boolean | undefined;
|
|
120
122
|
readonly options: {
|
|
121
123
|
readonly kind: "remote";
|
|
122
124
|
readonly request: string;
|
|
@@ -156,7 +158,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
156
158
|
};
|
|
157
159
|
}[];
|
|
158
160
|
};
|
|
159
|
-
readonly
|
|
161
|
+
readonly sortKey?: string | undefined;
|
|
160
162
|
}) => any) | undefined;
|
|
161
163
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
162
164
|
declare const _default: typeof __VLS_export;
|
|
@@ -4,7 +4,6 @@ import { Icon } from "@iconify/vue";
|
|
|
4
4
|
import { Button } from "../../../../ui/button";
|
|
5
5
|
import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger } from "../../../../ui/dropdown-menu";
|
|
6
6
|
import { ExpressionEditor } from "../../../../ui/expression-editor";
|
|
7
|
-
import { Switch } from "../../../../ui/switch";
|
|
8
7
|
import { Separator } from "../../../../ui/separator";
|
|
9
8
|
import { Field, FieldLabel } from "../../../../ui/field";
|
|
10
9
|
import { Locale } from "../../../../ui/locale";
|
|
@@ -673,14 +672,10 @@ function setItemTooltip(index, tooltip) {
|
|
|
673
672
|
<Separator />
|
|
674
673
|
<div class="flex flex-wrap gap-x-8 gap-y-3">
|
|
675
674
|
<Field
|
|
676
|
-
orientation="
|
|
677
|
-
class="w-
|
|
675
|
+
orientation="vertical"
|
|
676
|
+
class="w-full max-w-xs"
|
|
678
677
|
>
|
|
679
|
-
<
|
|
680
|
-
:model-value="value.enableSorting ?? false"
|
|
681
|
-
@update:model-value="(v) => value = { ...value, enableSorting: v }"
|
|
682
|
-
/>
|
|
683
|
-
<FieldLabel class="text-sm text-zinc-600">
|
|
678
|
+
<FieldLabel class="text-xs text-zinc-500">
|
|
684
679
|
<template
|
|
685
680
|
v-if="fieldDescription('enableSorting')"
|
|
686
681
|
#tooltip
|
|
@@ -693,6 +688,23 @@ function setItemTooltip(index, tooltip) {
|
|
|
693
688
|
</template>
|
|
694
689
|
{{ fieldTitle("enableSorting") }}
|
|
695
690
|
</FieldLabel>
|
|
691
|
+
<InputGroup>
|
|
692
|
+
<InputGroupInput
|
|
693
|
+
:model-value="value.sortKey"
|
|
694
|
+
placeholder="例:created_at"
|
|
695
|
+
@update:model-value="(v) => value = { ...value, sortKey: v || void 0 }"
|
|
696
|
+
/>
|
|
697
|
+
<InputGroupAddon align="inline-end">
|
|
698
|
+
<InputGroupButton
|
|
699
|
+
:variant="value.enableSorting ? 'primary' : 'ghost'"
|
|
700
|
+
size="xs"
|
|
701
|
+
@click="value = { ...value, enableSorting: !value.enableSorting }"
|
|
702
|
+
>
|
|
703
|
+
<Icon :icon="value.enableSorting ? 'fluent:arrow-sort-up-16-regular' : 'fluent:arrow-sort-16-regular'" />
|
|
704
|
+
{{ fieldTitle("enableSorting") }}
|
|
705
|
+
</InputGroupButton>
|
|
706
|
+
</InputGroupAddon>
|
|
707
|
+
</InputGroup>
|
|
696
708
|
</Field>
|
|
697
709
|
</div>
|
|
698
710
|
</div>
|
|
@@ -39,6 +39,7 @@ 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 enableSorting?: boolean | undefined;
|
|
42
43
|
readonly options: {
|
|
43
44
|
readonly kind: "remote";
|
|
44
45
|
readonly request: string;
|
|
@@ -78,7 +79,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
78
79
|
};
|
|
79
80
|
}[];
|
|
80
81
|
};
|
|
81
|
-
readonly
|
|
82
|
+
readonly sortKey?: string | undefined;
|
|
82
83
|
}) => any;
|
|
83
84
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
84
85
|
"onUpdate:modelValue"?: ((value: {
|
|
@@ -117,6 +118,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
117
118
|
readonly mode: "formula" | "prefill";
|
|
118
119
|
readonly expression: string;
|
|
119
120
|
} | undefined;
|
|
121
|
+
readonly enableSorting?: boolean | undefined;
|
|
120
122
|
readonly options: {
|
|
121
123
|
readonly kind: "remote";
|
|
122
124
|
readonly request: string;
|
|
@@ -156,7 +158,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
156
158
|
};
|
|
157
159
|
}[];
|
|
158
160
|
};
|
|
159
|
-
readonly
|
|
161
|
+
readonly sortKey?: string | undefined;
|
|
160
162
|
}) => any) | undefined;
|
|
161
163
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
162
164
|
declare const _default: typeof __VLS_export;
|
|
@@ -231,6 +231,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
231
231
|
}>]>;
|
|
232
232
|
binding: Schema.refine<string, typeof Schema.String>;
|
|
233
233
|
enableSorting: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
|
|
234
|
+
sortKey: Schema.optional<Schema.refine<string, typeof Schema.String>>;
|
|
234
235
|
size: Schema.optional<Schema.refine<number, Schema.filter<typeof Schema.Number>>>;
|
|
235
236
|
grow: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
|
|
236
237
|
tooltip: Schema.optional<Schema.TupleType<readonly [Schema.Struct<{
|
|
@@ -39,7 +39,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
39
39
|
}[]] | undefined;
|
|
40
40
|
readonly readonly?: string | undefined;
|
|
41
41
|
readonly grow?: boolean | undefined;
|
|
42
|
-
readonly
|
|
42
|
+
readonly enableSorting?: boolean | undefined;
|
|
43
43
|
readonly options: {
|
|
44
44
|
readonly kind: "remote";
|
|
45
45
|
readonly request: string;
|
|
@@ -79,8 +79,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
79
79
|
};
|
|
80
80
|
}[];
|
|
81
81
|
};
|
|
82
|
-
readonly enableSorting?: boolean | undefined;
|
|
83
82
|
readonly successMessage?: string | undefined;
|
|
83
|
+
readonly accessor: string;
|
|
84
|
+
readonly sortKey?: string | undefined;
|
|
84
85
|
}) => any;
|
|
85
86
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
86
87
|
"onUpdate:modelValue"?: ((value: {
|
|
@@ -119,7 +120,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
119
120
|
}[]] | undefined;
|
|
120
121
|
readonly readonly?: string | undefined;
|
|
121
122
|
readonly grow?: boolean | undefined;
|
|
122
|
-
readonly
|
|
123
|
+
readonly enableSorting?: boolean | undefined;
|
|
123
124
|
readonly options: {
|
|
124
125
|
readonly kind: "remote";
|
|
125
126
|
readonly request: string;
|
|
@@ -159,8 +160,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
159
160
|
};
|
|
160
161
|
}[];
|
|
161
162
|
};
|
|
162
|
-
readonly enableSorting?: boolean | undefined;
|
|
163
163
|
readonly successMessage?: string | undefined;
|
|
164
|
+
readonly accessor: string;
|
|
165
|
+
readonly sortKey?: string | undefined;
|
|
164
166
|
}) => any) | undefined;
|
|
165
167
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
166
168
|
declare const _default: typeof __VLS_export;
|
|
@@ -4,7 +4,6 @@ import { Icon } from "@iconify/vue";
|
|
|
4
4
|
import { Button } from "../../../../ui/button";
|
|
5
5
|
import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger } from "../../../../ui/dropdown-menu";
|
|
6
6
|
import { ExpressionEditor } from "../../../../ui/expression-editor";
|
|
7
|
-
import { Switch } from "../../../../ui/switch";
|
|
8
7
|
import { Separator } from "../../../../ui/separator";
|
|
9
8
|
import { Field, FieldLabel } from "../../../../ui/field";
|
|
10
9
|
import { Locale } from "../../../../ui/locale";
|
|
@@ -706,14 +705,10 @@ function setItemTooltip(index, tooltip) {
|
|
|
706
705
|
<Separator />
|
|
707
706
|
<div class="flex flex-wrap gap-x-8 gap-y-3">
|
|
708
707
|
<Field
|
|
709
|
-
orientation="
|
|
710
|
-
class="w-
|
|
708
|
+
orientation="vertical"
|
|
709
|
+
class="w-full max-w-xs"
|
|
711
710
|
>
|
|
712
|
-
<
|
|
713
|
-
:model-value="value.enableSorting ?? false"
|
|
714
|
-
@update:model-value="(v) => value = { ...value, enableSorting: v }"
|
|
715
|
-
/>
|
|
716
|
-
<FieldLabel class="text-sm text-zinc-600">
|
|
711
|
+
<FieldLabel class="text-xs text-zinc-500">
|
|
717
712
|
<template
|
|
718
713
|
v-if="fieldDescription('enableSorting')"
|
|
719
714
|
#tooltip
|
|
@@ -726,6 +721,23 @@ function setItemTooltip(index, tooltip) {
|
|
|
726
721
|
</template>
|
|
727
722
|
{{ fieldTitle("enableSorting") }}
|
|
728
723
|
</FieldLabel>
|
|
724
|
+
<InputGroup>
|
|
725
|
+
<InputGroupInput
|
|
726
|
+
:model-value="value.sortKey"
|
|
727
|
+
placeholder="例:created_at"
|
|
728
|
+
@update:model-value="(v) => value = { ...value, sortKey: v || void 0 }"
|
|
729
|
+
/>
|
|
730
|
+
<InputGroupAddon align="inline-end">
|
|
731
|
+
<InputGroupButton
|
|
732
|
+
:variant="value.enableSorting ? 'primary' : 'ghost'"
|
|
733
|
+
size="xs"
|
|
734
|
+
@click="value = { ...value, enableSorting: !value.enableSorting }"
|
|
735
|
+
>
|
|
736
|
+
<Icon :icon="value.enableSorting ? 'fluent:arrow-sort-up-16-regular' : 'fluent:arrow-sort-16-regular'" />
|
|
737
|
+
{{ fieldTitle("enableSorting") }}
|
|
738
|
+
</InputGroupButton>
|
|
739
|
+
</InputGroupAddon>
|
|
740
|
+
</InputGroup>
|
|
729
741
|
</Field>
|
|
730
742
|
</div>
|
|
731
743
|
</div>
|
|
@@ -39,7 +39,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
39
39
|
}[]] | undefined;
|
|
40
40
|
readonly readonly?: string | undefined;
|
|
41
41
|
readonly grow?: boolean | undefined;
|
|
42
|
-
readonly
|
|
42
|
+
readonly enableSorting?: boolean | undefined;
|
|
43
43
|
readonly options: {
|
|
44
44
|
readonly kind: "remote";
|
|
45
45
|
readonly request: string;
|
|
@@ -79,8 +79,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
79
79
|
};
|
|
80
80
|
}[];
|
|
81
81
|
};
|
|
82
|
-
readonly enableSorting?: boolean | undefined;
|
|
83
82
|
readonly successMessage?: string | undefined;
|
|
83
|
+
readonly accessor: string;
|
|
84
|
+
readonly sortKey?: string | undefined;
|
|
84
85
|
}) => any;
|
|
85
86
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
86
87
|
"onUpdate:modelValue"?: ((value: {
|
|
@@ -119,7 +120,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
119
120
|
}[]] | undefined;
|
|
120
121
|
readonly readonly?: string | undefined;
|
|
121
122
|
readonly grow?: boolean | undefined;
|
|
122
|
-
readonly
|
|
123
|
+
readonly enableSorting?: boolean | undefined;
|
|
123
124
|
readonly options: {
|
|
124
125
|
readonly kind: "remote";
|
|
125
126
|
readonly request: string;
|
|
@@ -159,8 +160,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
159
160
|
};
|
|
160
161
|
}[];
|
|
161
162
|
};
|
|
162
|
-
readonly enableSorting?: boolean | undefined;
|
|
163
163
|
readonly successMessage?: string | undefined;
|
|
164
|
+
readonly accessor: string;
|
|
165
|
+
readonly sortKey?: string | undefined;
|
|
164
166
|
}) => any) | undefined;
|
|
165
167
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
166
168
|
declare const _default: typeof __VLS_export;
|
|
@@ -233,6 +233,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
233
233
|
}>]>;
|
|
234
234
|
accessor: Schema.Schema<string, string, never>;
|
|
235
235
|
enableSorting: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
|
|
236
|
+
sortKey: Schema.optional<Schema.refine<string, typeof Schema.String>>;
|
|
236
237
|
size: Schema.optional<Schema.refine<number, Schema.filter<typeof Schema.Number>>>;
|
|
237
238
|
grow: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
|
|
238
239
|
tooltip: Schema.optional<Schema.TupleType<readonly [Schema.Struct<{
|
|
@@ -43,6 +43,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
43
43
|
readonly data: string;
|
|
44
44
|
readonly request?: string | undefined;
|
|
45
45
|
};
|
|
46
|
+
readonly enableSorting?: boolean | undefined;
|
|
47
|
+
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
46
48
|
readonly nodeKey: string;
|
|
47
49
|
readonly nodeChildren: string;
|
|
48
50
|
readonly nodeLabel: readonly [{
|
|
@@ -52,9 +54,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
52
54
|
readonly locale: "en" | "ja" | "ko";
|
|
53
55
|
readonly message: string;
|
|
54
56
|
}[]];
|
|
55
|
-
readonly expandAll: boolean;
|
|
56
|
-
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
57
|
-
readonly enableSorting?: boolean | undefined;
|
|
58
57
|
readonly nodeTooltip?: readonly [{
|
|
59
58
|
readonly locale: "zh";
|
|
60
59
|
readonly message: string;
|
|
@@ -63,6 +62,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
63
62
|
readonly message: string;
|
|
64
63
|
}[]] | undefined;
|
|
65
64
|
readonly nodeSelectable?: string | undefined;
|
|
65
|
+
readonly expandAll: boolean;
|
|
66
|
+
readonly sortKey?: string | undefined;
|
|
66
67
|
}) => any;
|
|
67
68
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
68
69
|
"onUpdate:modelValue"?: ((value: {
|
|
@@ -105,6 +106,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
105
106
|
readonly data: string;
|
|
106
107
|
readonly request?: string | undefined;
|
|
107
108
|
};
|
|
109
|
+
readonly enableSorting?: boolean | undefined;
|
|
110
|
+
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
108
111
|
readonly nodeKey: string;
|
|
109
112
|
readonly nodeChildren: string;
|
|
110
113
|
readonly nodeLabel: readonly [{
|
|
@@ -114,9 +117,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
114
117
|
readonly locale: "en" | "ja" | "ko";
|
|
115
118
|
readonly message: string;
|
|
116
119
|
}[]];
|
|
117
|
-
readonly expandAll: boolean;
|
|
118
|
-
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
119
|
-
readonly enableSorting?: boolean | undefined;
|
|
120
120
|
readonly nodeTooltip?: readonly [{
|
|
121
121
|
readonly locale: "zh";
|
|
122
122
|
readonly message: string;
|
|
@@ -125,6 +125,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
125
125
|
readonly message: string;
|
|
126
126
|
}[]] | undefined;
|
|
127
127
|
readonly nodeSelectable?: string | undefined;
|
|
128
|
+
readonly expandAll: boolean;
|
|
129
|
+
readonly sortKey?: string | undefined;
|
|
128
130
|
}) => any) | undefined;
|
|
129
131
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
130
132
|
declare const _default: typeof __VLS_export;
|
|
@@ -581,14 +581,10 @@ const derivedModel = computed({
|
|
|
581
581
|
<Separator />
|
|
582
582
|
<div class="flex flex-wrap gap-x-8 gap-y-3">
|
|
583
583
|
<Field
|
|
584
|
-
orientation="
|
|
585
|
-
class="w-
|
|
584
|
+
orientation="vertical"
|
|
585
|
+
class="w-full max-w-xs"
|
|
586
586
|
>
|
|
587
|
-
<
|
|
588
|
-
:model-value="value.enableSorting ?? false"
|
|
589
|
-
@update:model-value="(v) => value = { ...value, enableSorting: v }"
|
|
590
|
-
/>
|
|
591
|
-
<FieldLabel class="text-sm text-zinc-600">
|
|
587
|
+
<FieldLabel class="text-xs text-zinc-500">
|
|
592
588
|
<template
|
|
593
589
|
v-if="fieldDescription('enableSorting')"
|
|
594
590
|
#tooltip
|
|
@@ -601,6 +597,23 @@ const derivedModel = computed({
|
|
|
601
597
|
</template>
|
|
602
598
|
{{ fieldTitle("enableSorting") }}
|
|
603
599
|
</FieldLabel>
|
|
600
|
+
<InputGroup>
|
|
601
|
+
<InputGroupInput
|
|
602
|
+
:model-value="value.sortKey"
|
|
603
|
+
placeholder="例:created_at"
|
|
604
|
+
@update:model-value="(v) => value = { ...value, sortKey: v || void 0 }"
|
|
605
|
+
/>
|
|
606
|
+
<InputGroupAddon align="inline-end">
|
|
607
|
+
<InputGroupButton
|
|
608
|
+
:variant="value.enableSorting ? 'primary' : 'ghost'"
|
|
609
|
+
size="xs"
|
|
610
|
+
@click="value = { ...value, enableSorting: !value.enableSorting }"
|
|
611
|
+
>
|
|
612
|
+
<Icon :icon="value.enableSorting ? 'fluent:arrow-sort-up-16-regular' : 'fluent:arrow-sort-16-regular'" />
|
|
613
|
+
{{ fieldTitle("enableSorting") }}
|
|
614
|
+
</InputGroupButton>
|
|
615
|
+
</InputGroupAddon>
|
|
616
|
+
</InputGroup>
|
|
604
617
|
</Field>
|
|
605
618
|
</div>
|
|
606
619
|
</div>
|
|
@@ -43,6 +43,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
43
43
|
readonly data: string;
|
|
44
44
|
readonly request?: string | undefined;
|
|
45
45
|
};
|
|
46
|
+
readonly enableSorting?: boolean | undefined;
|
|
47
|
+
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
46
48
|
readonly nodeKey: string;
|
|
47
49
|
readonly nodeChildren: string;
|
|
48
50
|
readonly nodeLabel: readonly [{
|
|
@@ -52,9 +54,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
52
54
|
readonly locale: "en" | "ja" | "ko";
|
|
53
55
|
readonly message: string;
|
|
54
56
|
}[]];
|
|
55
|
-
readonly expandAll: boolean;
|
|
56
|
-
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
57
|
-
readonly enableSorting?: boolean | undefined;
|
|
58
57
|
readonly nodeTooltip?: readonly [{
|
|
59
58
|
readonly locale: "zh";
|
|
60
59
|
readonly message: string;
|
|
@@ -63,6 +62,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
63
62
|
readonly message: string;
|
|
64
63
|
}[]] | undefined;
|
|
65
64
|
readonly nodeSelectable?: string | undefined;
|
|
65
|
+
readonly expandAll: boolean;
|
|
66
|
+
readonly sortKey?: string | undefined;
|
|
66
67
|
}) => any;
|
|
67
68
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
68
69
|
"onUpdate:modelValue"?: ((value: {
|
|
@@ -105,6 +106,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
105
106
|
readonly data: string;
|
|
106
107
|
readonly request?: string | undefined;
|
|
107
108
|
};
|
|
109
|
+
readonly enableSorting?: boolean | undefined;
|
|
110
|
+
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
108
111
|
readonly nodeKey: string;
|
|
109
112
|
readonly nodeChildren: string;
|
|
110
113
|
readonly nodeLabel: readonly [{
|
|
@@ -114,9 +117,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
114
117
|
readonly locale: "en" | "ja" | "ko";
|
|
115
118
|
readonly message: string;
|
|
116
119
|
}[]];
|
|
117
|
-
readonly expandAll: boolean;
|
|
118
|
-
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
119
|
-
readonly enableSorting?: boolean | undefined;
|
|
120
120
|
readonly nodeTooltip?: readonly [{
|
|
121
121
|
readonly locale: "zh";
|
|
122
122
|
readonly message: string;
|
|
@@ -125,6 +125,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
125
125
|
readonly message: string;
|
|
126
126
|
}[]] | undefined;
|
|
127
127
|
readonly nodeSelectable?: string | undefined;
|
|
128
|
+
readonly expandAll: boolean;
|
|
129
|
+
readonly sortKey?: string | undefined;
|
|
128
130
|
}) => any) | undefined;
|
|
129
131
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
130
132
|
declare const _default: typeof __VLS_export;
|
|
@@ -71,6 +71,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
71
71
|
}>]>;
|
|
72
72
|
binding: Schema.refine<string, typeof Schema.String>;
|
|
73
73
|
enableSorting: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
|
|
74
|
+
sortKey: Schema.optional<Schema.refine<string, typeof Schema.String>>;
|
|
74
75
|
size: Schema.optional<Schema.refine<number, Schema.filter<typeof Schema.Number>>>;
|
|
75
76
|
grow: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
|
|
76
77
|
tooltip: Schema.optional<Schema.TupleType<readonly [Schema.Struct<{
|