@shwfed/config 2.10.2 → 2.10.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mcp.mjs +143 -89
- package/dist/module.json +1 -1
- package/dist/preview/assets/{FieldGroup.vue_vue_type_script_setup_true_lang-DX5M_WNF.js → FieldGroup.vue_vue_type_script_setup_true_lang-DIjsktfi.js} +1 -1
- package/dist/preview/assets/badge-Cr6_n00S.js +1 -0
- package/dist/preview/assets/config-1VGYa1Zb.js +1 -0
- package/dist/preview/assets/config-B2rtOFE1.js +1 -0
- package/dist/preview/assets/config-BemROLz0.js +1 -0
- package/dist/preview/assets/{config-DeDCNzY_.js → config-BjUIO7Ps.js} +1 -1
- package/dist/preview/assets/config-Bu-ffrDi.js +1 -0
- package/dist/preview/assets/config-CNY70agP.js +1 -0
- package/dist/preview/assets/{config-CSmHhOh2.js → config-CSauYxAG.js} +1 -1
- package/dist/preview/assets/{config-CTF5-TTQ.js → config-CrA5lAMB.js} +1 -1
- package/dist/preview/assets/{config-BiOW8fS2.js → config-CwbWyadd.js} +1 -1
- package/dist/preview/assets/{config-DBtEKoan.js → config-DF4u2WzQ.js} +1 -1
- package/dist/preview/assets/config-DTDFg08z.js +1 -0
- package/dist/preview/assets/config-DpcMlGoM.js +1 -0
- package/dist/preview/assets/config-Dx9AeOjb.js +1 -0
- package/dist/preview/assets/config-hXHOfKvD.js +1 -0
- package/dist/preview/assets/{definition.vue_vue_type_script_setup_true_lang-Cu0CEKYT.js → definition.vue_vue_type_script_setup_true_lang-v2AaUd8i.js} +1 -1
- package/dist/preview/assets/index-BDbNnENM.js +1 -0
- package/dist/preview/assets/index-ButPJaOR.css +1 -0
- package/dist/preview/assets/index-BzWZj-hV.js +1 -0
- package/dist/preview/assets/{index-DX9_iE4h.js → index-E3_P6Fhz.js} +207 -189
- package/dist/preview/assets/item-B_QcL62I.js +1 -0
- package/dist/preview/assets/runtime-BRg0jxiK.js +1 -0
- package/dist/preview/assets/runtime-BbiAwZZ9.js +1 -0
- package/dist/preview/assets/runtime-CKoLdM68.js +1 -0
- package/dist/preview/assets/{runtime-CFb1tHwr.js → runtime-CZ6uHCIE.js} +1 -1
- package/dist/preview/assets/runtime-Cd79TXff.js +1 -0
- package/dist/preview/assets/{runtime-BN-jMAt7.js → runtime-Cfup01hl.js} +1 -1
- package/dist/preview/assets/runtime-Cu_C4Joj.js +1 -0
- package/dist/preview/assets/{runtime-yfWYeUh4.js → runtime-D-MaRCSg.js} +1 -1
- package/dist/preview/assets/runtime-DUMSbsqb.js +1 -0
- package/dist/preview/assets/runtime-hClBh8tp.js +1 -0
- package/dist/preview/assets/{schema-meta-6ZPO8dHv.js → schema-meta-BACRMkVo.js} +1 -1
- package/dist/preview/index.html +2 -2
- package/dist/runtime/components/actions/buttons/2026-05-15/com.shwfed.actions.button.event.dispatch/schema.d.ts +16 -10
- package/dist/runtime/components/actions/buttons/2026-05-15/com.shwfed.actions.button.event.dispatch/schema.js +68 -43
- package/dist/runtime/components/actions/buttons/2026-05-21/com.shwfed.actions.button.http.download/schema.d.ts +1 -0
- package/dist/runtime/components/actions/buttons/2026-05-21/com.shwfed.actions.button.http.download/schema.js +5 -1
- package/dist/runtime/components/block-layout-editor/index.vue +8 -0
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/config.d.vue.ts +2 -2
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/config.vue.d.ts +2 -2
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/runtime.d.vue.ts +4 -4
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/runtime.vue.d.ts +4 -4
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/schema.d.ts +1 -1
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/config.d.vue.ts +2 -2
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/config.vue.d.ts +2 -2
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/runtime.d.vue.ts +2 -2
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/runtime.vue.d.ts +2 -2
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/schema.d.ts +2 -2
- package/dist/runtime/components/config/index.vue +5 -1
- package/dist/runtime/components/config/schema.d.ts +10 -0
- package/dist/runtime/components/config/schema.js +23 -0
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/config.d.vue.ts +134 -0
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/config.vue +78 -2
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/config.vue.d.ts +134 -0
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/runtime.vue +24 -0
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/schema.d.ts +132 -0
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/schema.js +14 -1
- package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/config.d.vue.ts +16 -16
- package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/config.vue.d.ts +16 -16
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.d.vue.ts +4 -4
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.vue.d.ts +4 -4
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.d.vue.ts +6 -6
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.vue.d.ts +6 -6
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/config.d.vue.ts +2 -2
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/config.vue.d.ts +2 -2
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/config.d.vue.ts +140 -6
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/config.vue +77 -2
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/config.vue.d.ts +140 -6
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/runtime.vue +24 -0
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/schema.d.ts +132 -0
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/schema.js +14 -1
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/config.d.vue.ts +6 -6
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/config.vue.d.ts +6 -6
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/config.d.vue.ts +22 -22
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/config.vue.d.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/config.d.vue.ts +16 -16
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/config.vue.d.ts +16 -16
- package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/config.d.vue.ts +8 -8
- package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/config.vue.d.ts +8 -8
- package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/config.d.vue.ts +4 -4
- package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/config.vue.d.ts +4 -4
- package/dist/runtime/components/form/fields/2026-05-25/com.shwfed.form.field.combobox.multi/config.d.vue.ts +16 -16
- package/dist/runtime/components/form/fields/2026-05-25/com.shwfed.form.field.combobox.multi/config.vue.d.ts +16 -16
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/config.d.vue.ts +8 -8
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/config.vue.d.ts +8 -8
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/config.d.vue.ts +8 -8
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/config.vue.d.ts +8 -8
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/config.d.vue.ts +8 -8
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/config.vue.d.ts +8 -8
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/config.d.vue.ts +8 -8
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/config.vue.d.ts +8 -8
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/config.d.vue.ts +8 -8
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/config.vue.d.ts +8 -8
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/config.d.vue.ts +8 -8
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/config.vue.d.ts +8 -8
- package/dist/runtime/components/form/schema.d.ts +2 -2
- package/dist/runtime/components/operations/2026-06-15/com.shwfed.operation.http.download/config.d.vue.ts +31 -0
- package/dist/runtime/components/operations/2026-06-15/com.shwfed.operation.http.download/config.vue +103 -0
- package/dist/runtime/components/operations/2026-06-15/com.shwfed.operation.http.download/config.vue.d.ts +31 -0
- package/dist/runtime/components/operations/2026-06-15/com.shwfed.operation.http.download/runtime.d.ts +2 -0
- package/dist/runtime/components/operations/2026-06-15/com.shwfed.operation.http.download/runtime.js +63 -0
- package/dist/runtime/components/operations/2026-06-15/com.shwfed.operation.http.download/schema.d.ts +21 -0
- package/dist/runtime/components/operations/2026-06-15/com.shwfed.operation.http.download/schema.js +63 -0
- package/dist/runtime/components/operations/2026-06-15/com.shwfed.operation.navigation/config.d.vue.ts +17 -0
- package/dist/runtime/components/operations/2026-06-15/com.shwfed.operation.navigation/config.vue +85 -0
- package/dist/runtime/components/operations/2026-06-15/com.shwfed.operation.navigation/config.vue.d.ts +17 -0
- package/dist/runtime/components/operations/2026-06-15/com.shwfed.operation.navigation/runtime.d.ts +2 -0
- package/dist/runtime/components/operations/2026-06-15/com.shwfed.operation.navigation/runtime.js +36 -0
- package/dist/runtime/components/operations/2026-06-15/com.shwfed.operation.navigation/schema.d.ts +14 -0
- package/dist/runtime/components/operations/2026-06-15/com.shwfed.operation.navigation/schema.js +38 -0
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.d.vue.ts +4 -4
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.vue.d.ts +4 -4
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.d.vue.ts +4 -4
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.vue.d.ts +4 -4
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +10 -10
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +10 -10
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +10 -10
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +10 -10
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +10 -10
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +10 -10
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +10 -10
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +10 -10
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +10 -10
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +10 -10
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +10 -10
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +10 -10
- package/dist/runtime/components/table/schema.d.ts +3 -3
- package/dist/runtime/components/ui/date-picker/DatePickerInput.d.vue.ts +1 -1
- package/dist/runtime/components/ui/date-picker/DatePickerInput.vue.d.ts +1 -1
- package/dist/runtime/components/ui/date-picker/DatePickerTimeInput.d.vue.ts +1 -1
- package/dist/runtime/components/ui/date-picker/DatePickerTimeInput.vue.d.ts +1 -1
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerInput.d.vue.ts +1 -1
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerInput.vue.d.ts +1 -1
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerTimeInput.d.vue.ts +2 -2
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerTimeInput.vue.d.ts +2 -2
- package/package.json +1 -1
- package/dist/preview/assets/badge-DFZBH8N6.js +0 -1
- package/dist/preview/assets/config-BH2BmDoD.js +0 -1
- package/dist/preview/assets/config-Bg7a8Rid.js +0 -1
- package/dist/preview/assets/config-Bnp547Nm.js +0 -1
- package/dist/preview/assets/config-CqeWJt_H.js +0 -1
- package/dist/preview/assets/config-Dj3w2JkF.js +0 -1
- package/dist/preview/assets/config-XGJ9V32V.js +0 -1
- package/dist/preview/assets/config-uIHUHvNR.js +0 -1
- package/dist/preview/assets/index-CGChrBji.js +0 -1
- package/dist/preview/assets/index-CQA6q2ay.js +0 -1
- package/dist/preview/assets/index-pkoEF5dC.css +0 -1
- package/dist/preview/assets/item-C4VJfiq8.js +0 -1
- package/dist/preview/assets/runtime-6Zrje7Y1.js +0 -1
- package/dist/preview/assets/runtime-BQMnWueG.js +0 -1
- package/dist/preview/assets/runtime-CBz5XstF.js +0 -1
- package/dist/preview/assets/runtime-DQL6lCFp.js +0 -1
- package/dist/preview/assets/runtime-DcdmMgqL.js +0 -1
- package/dist/preview/assets/runtime-okYOTQd6.js +0 -1
- package/dist/preview/assets/runtime-qPyuMgsh.js +0 -1
|
@@ -34,19 +34,18 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
34
34
|
}[]] | undefined;
|
|
35
35
|
readonly keywords?: string | undefined;
|
|
36
36
|
readonly readonly?: string | undefined;
|
|
37
|
-
readonly dataSource: {
|
|
38
|
-
readonly data: string;
|
|
39
|
-
readonly request?: string | undefined;
|
|
40
|
-
};
|
|
41
37
|
readonly grow?: boolean | undefined;
|
|
42
38
|
readonly binding: string;
|
|
43
39
|
readonly derived?: {
|
|
44
40
|
readonly mode: "formula" | "prefill";
|
|
45
41
|
readonly expression: string;
|
|
46
42
|
} | undefined;
|
|
43
|
+
readonly dataSource: {
|
|
44
|
+
readonly data: string;
|
|
45
|
+
readonly request?: string | undefined;
|
|
46
|
+
};
|
|
47
47
|
readonly enableSorting?: boolean | undefined;
|
|
48
48
|
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
49
|
-
readonly sortKey?: string | undefined;
|
|
50
49
|
readonly nodeKey: string;
|
|
51
50
|
readonly nodeChildren: string;
|
|
52
51
|
readonly nodeLabel: readonly [{
|
|
@@ -65,6 +64,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
65
64
|
}[]] | undefined;
|
|
66
65
|
readonly nodeSelectable?: string | undefined;
|
|
67
66
|
readonly expandAll: boolean;
|
|
67
|
+
readonly sortKey?: string | undefined;
|
|
68
68
|
}) => any;
|
|
69
69
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
70
70
|
"onUpdate:modelValue"?: ((value: {
|
|
@@ -98,19 +98,18 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
98
98
|
}[]] | undefined;
|
|
99
99
|
readonly keywords?: string | undefined;
|
|
100
100
|
readonly readonly?: string | undefined;
|
|
101
|
-
readonly dataSource: {
|
|
102
|
-
readonly data: string;
|
|
103
|
-
readonly request?: string | undefined;
|
|
104
|
-
};
|
|
105
101
|
readonly grow?: boolean | undefined;
|
|
106
102
|
readonly binding: string;
|
|
107
103
|
readonly derived?: {
|
|
108
104
|
readonly mode: "formula" | "prefill";
|
|
109
105
|
readonly expression: string;
|
|
110
106
|
} | undefined;
|
|
107
|
+
readonly dataSource: {
|
|
108
|
+
readonly data: string;
|
|
109
|
+
readonly request?: string | undefined;
|
|
110
|
+
};
|
|
111
111
|
readonly enableSorting?: boolean | undefined;
|
|
112
112
|
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
113
|
-
readonly sortKey?: string | undefined;
|
|
114
113
|
readonly nodeKey: string;
|
|
115
114
|
readonly nodeChildren: string;
|
|
116
115
|
readonly nodeLabel: readonly [{
|
|
@@ -129,6 +128,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
129
128
|
}[]] | undefined;
|
|
130
129
|
readonly nodeSelectable?: string | undefined;
|
|
131
130
|
readonly expandAll: boolean;
|
|
131
|
+
readonly sortKey?: string | undefined;
|
|
132
132
|
}) => any) | undefined;
|
|
133
133
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
134
134
|
declare const _default: typeof __VLS_export;
|
|
@@ -34,18 +34,17 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
34
34
|
}[]] | undefined;
|
|
35
35
|
readonly keywords?: string | undefined;
|
|
36
36
|
readonly readonly?: string | undefined;
|
|
37
|
-
readonly dataSource: {
|
|
38
|
-
readonly data: string;
|
|
39
|
-
readonly request?: string | undefined;
|
|
40
|
-
};
|
|
41
37
|
readonly grow?: boolean | undefined;
|
|
42
38
|
readonly binding: string;
|
|
43
39
|
readonly derived?: {
|
|
44
40
|
readonly mode: "formula" | "prefill";
|
|
45
41
|
readonly expression: string;
|
|
46
42
|
} | undefined;
|
|
43
|
+
readonly dataSource: {
|
|
44
|
+
readonly data: string;
|
|
45
|
+
readonly request?: string | undefined;
|
|
46
|
+
};
|
|
47
47
|
readonly enableSorting?: boolean | undefined;
|
|
48
|
-
readonly sortKey?: string | undefined;
|
|
49
48
|
readonly nodeKey: string;
|
|
50
49
|
readonly nodeChildren: string;
|
|
51
50
|
readonly nodeLabel: readonly [{
|
|
@@ -64,6 +63,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
64
63
|
}[]] | undefined;
|
|
65
64
|
readonly nodeSelectable?: string | undefined;
|
|
66
65
|
readonly expandAll: boolean;
|
|
66
|
+
readonly sortKey?: string | undefined;
|
|
67
67
|
}) => any;
|
|
68
68
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
69
69
|
"onUpdate:modelValue"?: ((value: {
|
|
@@ -97,18 +97,17 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
97
97
|
}[]] | undefined;
|
|
98
98
|
readonly keywords?: string | undefined;
|
|
99
99
|
readonly readonly?: string | undefined;
|
|
100
|
-
readonly dataSource: {
|
|
101
|
-
readonly data: string;
|
|
102
|
-
readonly request?: string | undefined;
|
|
103
|
-
};
|
|
104
100
|
readonly grow?: boolean | undefined;
|
|
105
101
|
readonly binding: string;
|
|
106
102
|
readonly derived?: {
|
|
107
103
|
readonly mode: "formula" | "prefill";
|
|
108
104
|
readonly expression: string;
|
|
109
105
|
} | undefined;
|
|
106
|
+
readonly dataSource: {
|
|
107
|
+
readonly data: string;
|
|
108
|
+
readonly request?: string | undefined;
|
|
109
|
+
};
|
|
110
110
|
readonly enableSorting?: boolean | undefined;
|
|
111
|
-
readonly sortKey?: string | undefined;
|
|
112
111
|
readonly nodeKey: string;
|
|
113
112
|
readonly nodeChildren: string;
|
|
114
113
|
readonly nodeLabel: readonly [{
|
|
@@ -127,6 +126,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
127
126
|
}[]] | undefined;
|
|
128
127
|
readonly nodeSelectable?: string | undefined;
|
|
129
128
|
readonly expandAll: boolean;
|
|
129
|
+
readonly sortKey?: string | undefined;
|
|
130
130
|
}) => any) | undefined;
|
|
131
131
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
132
132
|
declare const _default: typeof __VLS_export;
|
|
@@ -34,18 +34,17 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
34
34
|
}[]] | undefined;
|
|
35
35
|
readonly keywords?: string | undefined;
|
|
36
36
|
readonly readonly?: string | undefined;
|
|
37
|
-
readonly dataSource: {
|
|
38
|
-
readonly data: string;
|
|
39
|
-
readonly request?: string | undefined;
|
|
40
|
-
};
|
|
41
37
|
readonly grow?: boolean | undefined;
|
|
42
38
|
readonly binding: string;
|
|
43
39
|
readonly derived?: {
|
|
44
40
|
readonly mode: "formula" | "prefill";
|
|
45
41
|
readonly expression: string;
|
|
46
42
|
} | undefined;
|
|
43
|
+
readonly dataSource: {
|
|
44
|
+
readonly data: string;
|
|
45
|
+
readonly request?: string | undefined;
|
|
46
|
+
};
|
|
47
47
|
readonly enableSorting?: boolean | undefined;
|
|
48
|
-
readonly sortKey?: string | undefined;
|
|
49
48
|
readonly nodeKey: string;
|
|
50
49
|
readonly nodeChildren: string;
|
|
51
50
|
readonly nodeLabel: readonly [{
|
|
@@ -64,6 +63,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
64
63
|
}[]] | undefined;
|
|
65
64
|
readonly nodeSelectable?: string | undefined;
|
|
66
65
|
readonly expandAll: boolean;
|
|
66
|
+
readonly sortKey?: string | undefined;
|
|
67
67
|
}) => any;
|
|
68
68
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
69
69
|
"onUpdate:modelValue"?: ((value: {
|
|
@@ -97,18 +97,17 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
97
97
|
}[]] | undefined;
|
|
98
98
|
readonly keywords?: string | undefined;
|
|
99
99
|
readonly readonly?: string | undefined;
|
|
100
|
-
readonly dataSource: {
|
|
101
|
-
readonly data: string;
|
|
102
|
-
readonly request?: string | undefined;
|
|
103
|
-
};
|
|
104
100
|
readonly grow?: boolean | undefined;
|
|
105
101
|
readonly binding: string;
|
|
106
102
|
readonly derived?: {
|
|
107
103
|
readonly mode: "formula" | "prefill";
|
|
108
104
|
readonly expression: string;
|
|
109
105
|
} | undefined;
|
|
106
|
+
readonly dataSource: {
|
|
107
|
+
readonly data: string;
|
|
108
|
+
readonly request?: string | undefined;
|
|
109
|
+
};
|
|
110
110
|
readonly enableSorting?: boolean | undefined;
|
|
111
|
-
readonly sortKey?: string | undefined;
|
|
112
111
|
readonly nodeKey: string;
|
|
113
112
|
readonly nodeChildren: string;
|
|
114
113
|
readonly nodeLabel: readonly [{
|
|
@@ -127,6 +126,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
127
126
|
}[]] | undefined;
|
|
128
127
|
readonly nodeSelectable?: string | undefined;
|
|
129
128
|
readonly expandAll: boolean;
|
|
129
|
+
readonly sortKey?: string | undefined;
|
|
130
130
|
}) => any) | undefined;
|
|
131
131
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
132
132
|
declare const _default: typeof __VLS_export;
|
|
@@ -34,19 +34,18 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
34
34
|
}[]] | undefined;
|
|
35
35
|
readonly keywords?: string | undefined;
|
|
36
36
|
readonly readonly?: string | undefined;
|
|
37
|
-
readonly dataSource: {
|
|
38
|
-
readonly data: string;
|
|
39
|
-
readonly request?: string | undefined;
|
|
40
|
-
};
|
|
41
37
|
readonly grow?: boolean | undefined;
|
|
42
38
|
readonly binding: string;
|
|
43
39
|
readonly derived?: {
|
|
44
40
|
readonly mode: "formula" | "prefill";
|
|
45
41
|
readonly expression: string;
|
|
46
42
|
} | undefined;
|
|
43
|
+
readonly dataSource: {
|
|
44
|
+
readonly data: string;
|
|
45
|
+
readonly request?: string | undefined;
|
|
46
|
+
};
|
|
47
47
|
readonly enableSorting?: boolean | undefined;
|
|
48
48
|
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
49
|
-
readonly sortKey?: string | undefined;
|
|
50
49
|
readonly nodeKey: string;
|
|
51
50
|
readonly nodeChildren: string;
|
|
52
51
|
readonly nodeLabel: string;
|
|
@@ -59,6 +58,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
59
58
|
}[]] | undefined;
|
|
60
59
|
readonly nodeSelectable?: string | undefined;
|
|
61
60
|
readonly expandAll: boolean;
|
|
61
|
+
readonly sortKey?: string | undefined;
|
|
62
62
|
}) => any;
|
|
63
63
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
64
64
|
"onUpdate:modelValue"?: ((value: {
|
|
@@ -92,19 +92,18 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
92
92
|
}[]] | undefined;
|
|
93
93
|
readonly keywords?: string | undefined;
|
|
94
94
|
readonly readonly?: string | undefined;
|
|
95
|
-
readonly dataSource: {
|
|
96
|
-
readonly data: string;
|
|
97
|
-
readonly request?: string | undefined;
|
|
98
|
-
};
|
|
99
95
|
readonly grow?: boolean | undefined;
|
|
100
96
|
readonly binding: string;
|
|
101
97
|
readonly derived?: {
|
|
102
98
|
readonly mode: "formula" | "prefill";
|
|
103
99
|
readonly expression: string;
|
|
104
100
|
} | undefined;
|
|
101
|
+
readonly dataSource: {
|
|
102
|
+
readonly data: string;
|
|
103
|
+
readonly request?: string | undefined;
|
|
104
|
+
};
|
|
105
105
|
readonly enableSorting?: boolean | undefined;
|
|
106
106
|
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
107
|
-
readonly sortKey?: string | undefined;
|
|
108
107
|
readonly nodeKey: string;
|
|
109
108
|
readonly nodeChildren: string;
|
|
110
109
|
readonly nodeLabel: string;
|
|
@@ -117,6 +116,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
117
116
|
}[]] | undefined;
|
|
118
117
|
readonly nodeSelectable?: string | undefined;
|
|
119
118
|
readonly expandAll: boolean;
|
|
119
|
+
readonly sortKey?: string | undefined;
|
|
120
120
|
}) => any) | undefined;
|
|
121
121
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
122
122
|
declare const _default: typeof __VLS_export;
|
|
@@ -34,19 +34,18 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
34
34
|
}[]] | undefined;
|
|
35
35
|
readonly keywords?: string | undefined;
|
|
36
36
|
readonly readonly?: string | undefined;
|
|
37
|
-
readonly dataSource: {
|
|
38
|
-
readonly data: string;
|
|
39
|
-
readonly request?: string | undefined;
|
|
40
|
-
};
|
|
41
37
|
readonly grow?: boolean | undefined;
|
|
42
38
|
readonly binding: string;
|
|
43
39
|
readonly derived?: {
|
|
44
40
|
readonly mode: "formula" | "prefill";
|
|
45
41
|
readonly expression: string;
|
|
46
42
|
} | undefined;
|
|
43
|
+
readonly dataSource: {
|
|
44
|
+
readonly data: string;
|
|
45
|
+
readonly request?: string | undefined;
|
|
46
|
+
};
|
|
47
47
|
readonly enableSorting?: boolean | undefined;
|
|
48
48
|
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
49
|
-
readonly sortKey?: string | undefined;
|
|
50
49
|
readonly nodeKey: string;
|
|
51
50
|
readonly nodeChildren: string;
|
|
52
51
|
readonly nodeLabel: string;
|
|
@@ -59,6 +58,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
59
58
|
}[]] | undefined;
|
|
60
59
|
readonly nodeSelectable?: string | undefined;
|
|
61
60
|
readonly expandAll: boolean;
|
|
61
|
+
readonly sortKey?: string | undefined;
|
|
62
62
|
}) => any;
|
|
63
63
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
64
64
|
"onUpdate:modelValue"?: ((value: {
|
|
@@ -92,19 +92,18 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
92
92
|
}[]] | undefined;
|
|
93
93
|
readonly keywords?: string | undefined;
|
|
94
94
|
readonly readonly?: string | undefined;
|
|
95
|
-
readonly dataSource: {
|
|
96
|
-
readonly data: string;
|
|
97
|
-
readonly request?: string | undefined;
|
|
98
|
-
};
|
|
99
95
|
readonly grow?: boolean | undefined;
|
|
100
96
|
readonly binding: string;
|
|
101
97
|
readonly derived?: {
|
|
102
98
|
readonly mode: "formula" | "prefill";
|
|
103
99
|
readonly expression: string;
|
|
104
100
|
} | undefined;
|
|
101
|
+
readonly dataSource: {
|
|
102
|
+
readonly data: string;
|
|
103
|
+
readonly request?: string | undefined;
|
|
104
|
+
};
|
|
105
105
|
readonly enableSorting?: boolean | undefined;
|
|
106
106
|
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
107
|
-
readonly sortKey?: string | undefined;
|
|
108
107
|
readonly nodeKey: string;
|
|
109
108
|
readonly nodeChildren: string;
|
|
110
109
|
readonly nodeLabel: string;
|
|
@@ -117,6 +116,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
117
116
|
}[]] | undefined;
|
|
118
117
|
readonly nodeSelectable?: string | undefined;
|
|
119
118
|
readonly expandAll: boolean;
|
|
119
|
+
readonly sortKey?: string | undefined;
|
|
120
120
|
}) => any) | undefined;
|
|
121
121
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
122
122
|
declare const _default: typeof __VLS_export;
|
|
@@ -34,18 +34,17 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
34
34
|
}[]] | undefined;
|
|
35
35
|
readonly keywords?: string | undefined;
|
|
36
36
|
readonly readonly?: string | undefined;
|
|
37
|
-
readonly dataSource: {
|
|
38
|
-
readonly data: string;
|
|
39
|
-
readonly request?: string | undefined;
|
|
40
|
-
};
|
|
41
37
|
readonly grow?: boolean | undefined;
|
|
42
38
|
readonly binding: string;
|
|
43
39
|
readonly derived?: {
|
|
44
40
|
readonly mode: "formula" | "prefill";
|
|
45
41
|
readonly expression: string;
|
|
46
42
|
} | undefined;
|
|
43
|
+
readonly dataSource: {
|
|
44
|
+
readonly data: string;
|
|
45
|
+
readonly request?: string | undefined;
|
|
46
|
+
};
|
|
47
47
|
readonly enableSorting?: boolean | undefined;
|
|
48
|
-
readonly sortKey?: string | undefined;
|
|
49
48
|
readonly nodeKey: string;
|
|
50
49
|
readonly nodeChildren: string;
|
|
51
50
|
readonly nodeLabel: string;
|
|
@@ -58,6 +57,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
58
57
|
}[]] | undefined;
|
|
59
58
|
readonly nodeSelectable?: string | undefined;
|
|
60
59
|
readonly expandAll: boolean;
|
|
60
|
+
readonly sortKey?: string | undefined;
|
|
61
61
|
}) => any;
|
|
62
62
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
63
63
|
"onUpdate:modelValue"?: ((value: {
|
|
@@ -91,18 +91,17 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
91
91
|
}[]] | undefined;
|
|
92
92
|
readonly keywords?: string | undefined;
|
|
93
93
|
readonly readonly?: string | undefined;
|
|
94
|
-
readonly dataSource: {
|
|
95
|
-
readonly data: string;
|
|
96
|
-
readonly request?: string | undefined;
|
|
97
|
-
};
|
|
98
94
|
readonly grow?: boolean | undefined;
|
|
99
95
|
readonly binding: string;
|
|
100
96
|
readonly derived?: {
|
|
101
97
|
readonly mode: "formula" | "prefill";
|
|
102
98
|
readonly expression: string;
|
|
103
99
|
} | undefined;
|
|
100
|
+
readonly dataSource: {
|
|
101
|
+
readonly data: string;
|
|
102
|
+
readonly request?: string | undefined;
|
|
103
|
+
};
|
|
104
104
|
readonly enableSorting?: boolean | undefined;
|
|
105
|
-
readonly sortKey?: string | undefined;
|
|
106
105
|
readonly nodeKey: string;
|
|
107
106
|
readonly nodeChildren: string;
|
|
108
107
|
readonly nodeLabel: string;
|
|
@@ -115,6 +114,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
115
114
|
}[]] | undefined;
|
|
116
115
|
readonly nodeSelectable?: string | undefined;
|
|
117
116
|
readonly expandAll: boolean;
|
|
117
|
+
readonly sortKey?: string | undefined;
|
|
118
118
|
}) => any) | undefined;
|
|
119
119
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
120
120
|
declare const _default: typeof __VLS_export;
|
|
@@ -34,18 +34,17 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
34
34
|
}[]] | undefined;
|
|
35
35
|
readonly keywords?: string | undefined;
|
|
36
36
|
readonly readonly?: string | undefined;
|
|
37
|
-
readonly dataSource: {
|
|
38
|
-
readonly data: string;
|
|
39
|
-
readonly request?: string | undefined;
|
|
40
|
-
};
|
|
41
37
|
readonly grow?: boolean | undefined;
|
|
42
38
|
readonly binding: string;
|
|
43
39
|
readonly derived?: {
|
|
44
40
|
readonly mode: "formula" | "prefill";
|
|
45
41
|
readonly expression: string;
|
|
46
42
|
} | undefined;
|
|
43
|
+
readonly dataSource: {
|
|
44
|
+
readonly data: string;
|
|
45
|
+
readonly request?: string | undefined;
|
|
46
|
+
};
|
|
47
47
|
readonly enableSorting?: boolean | undefined;
|
|
48
|
-
readonly sortKey?: string | undefined;
|
|
49
48
|
readonly nodeKey: string;
|
|
50
49
|
readonly nodeChildren: string;
|
|
51
50
|
readonly nodeLabel: string;
|
|
@@ -58,6 +57,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
58
57
|
}[]] | undefined;
|
|
59
58
|
readonly nodeSelectable?: string | undefined;
|
|
60
59
|
readonly expandAll: boolean;
|
|
60
|
+
readonly sortKey?: string | undefined;
|
|
61
61
|
}) => any;
|
|
62
62
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
63
63
|
"onUpdate:modelValue"?: ((value: {
|
|
@@ -91,18 +91,17 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
91
91
|
}[]] | undefined;
|
|
92
92
|
readonly keywords?: string | undefined;
|
|
93
93
|
readonly readonly?: string | undefined;
|
|
94
|
-
readonly dataSource: {
|
|
95
|
-
readonly data: string;
|
|
96
|
-
readonly request?: string | undefined;
|
|
97
|
-
};
|
|
98
94
|
readonly grow?: boolean | undefined;
|
|
99
95
|
readonly binding: string;
|
|
100
96
|
readonly derived?: {
|
|
101
97
|
readonly mode: "formula" | "prefill";
|
|
102
98
|
readonly expression: string;
|
|
103
99
|
} | undefined;
|
|
100
|
+
readonly dataSource: {
|
|
101
|
+
readonly data: string;
|
|
102
|
+
readonly request?: string | undefined;
|
|
103
|
+
};
|
|
104
104
|
readonly enableSorting?: boolean | undefined;
|
|
105
|
-
readonly sortKey?: string | undefined;
|
|
106
105
|
readonly nodeKey: string;
|
|
107
106
|
readonly nodeChildren: string;
|
|
108
107
|
readonly nodeLabel: string;
|
|
@@ -115,6 +114,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
115
114
|
}[]] | undefined;
|
|
116
115
|
readonly nodeSelectable?: string | undefined;
|
|
117
116
|
readonly expandAll: boolean;
|
|
117
|
+
readonly sortKey?: string | undefined;
|
|
118
118
|
}) => any) | undefined;
|
|
119
119
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
120
120
|
declare const _default: typeof __VLS_export;
|
|
@@ -143,7 +143,6 @@ export declare function TableConfig(configure: (env: Environment) => void): Sche
|
|
|
143
143
|
readonly displayName?: string | undefined;
|
|
144
144
|
readonly kind: "shwfed.component.form";
|
|
145
145
|
readonly fields: readonly any[];
|
|
146
|
-
readonly readonly?: string | undefined;
|
|
147
146
|
readonly layouts: readonly {
|
|
148
147
|
readonly name: string;
|
|
149
148
|
readonly layout: {
|
|
@@ -161,6 +160,7 @@ export declare function TableConfig(configure: (env: Environment) => void): Sche
|
|
|
161
160
|
};
|
|
162
161
|
readonly media?: string | undefined;
|
|
163
162
|
}[];
|
|
163
|
+
readonly readonly?: string | undefined;
|
|
164
164
|
} | undefined;
|
|
165
165
|
readonly dataSource?: {
|
|
166
166
|
readonly data: string;
|
|
@@ -646,7 +646,6 @@ export declare function TableConfig(configure: (env: Environment) => void): Sche
|
|
|
646
646
|
readonly displayName?: string | undefined;
|
|
647
647
|
readonly kind: "shwfed.component.form";
|
|
648
648
|
readonly fields: readonly any[];
|
|
649
|
-
readonly readonly?: string | undefined;
|
|
650
649
|
readonly layouts: readonly {
|
|
651
650
|
readonly name: string;
|
|
652
651
|
readonly layout: {
|
|
@@ -664,6 +663,7 @@ export declare function TableConfig(configure: (env: Environment) => void): Sche
|
|
|
664
663
|
};
|
|
665
664
|
readonly media?: string | undefined;
|
|
666
665
|
}[];
|
|
666
|
+
readonly readonly?: string | undefined;
|
|
667
667
|
}, Schema.Struct<{
|
|
668
668
|
fields: Schema.Array$<Schema.Schema<any, any, never>>;
|
|
669
669
|
layouts: Schema.refine<readonly {
|
|
@@ -788,7 +788,6 @@ export declare function createTableConfig(body: Omit<Schema.Schema.Type<ReturnTy
|
|
|
788
788
|
readonly displayName?: string | undefined;
|
|
789
789
|
readonly kind: "shwfed.component.form";
|
|
790
790
|
readonly fields: readonly any[];
|
|
791
|
-
readonly readonly?: string | undefined;
|
|
792
791
|
readonly layouts: readonly {
|
|
793
792
|
readonly name: string;
|
|
794
793
|
readonly layout: {
|
|
@@ -806,6 +805,7 @@ export declare function createTableConfig(body: Omit<Schema.Schema.Type<ReturnTy
|
|
|
806
805
|
};
|
|
807
806
|
readonly media?: string | undefined;
|
|
808
807
|
}[];
|
|
808
|
+
readonly readonly?: string | undefined;
|
|
809
809
|
} | undefined;
|
|
810
810
|
dataSource?: {
|
|
811
811
|
readonly data: string;
|
|
@@ -24,8 +24,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
24
24
|
"onUpdate:modelValue"?: ((args_0: Date | undefined) => any) | undefined;
|
|
25
25
|
}>, {
|
|
26
26
|
size: "sm" | "md" | "lg";
|
|
27
|
-
clearable: boolean;
|
|
28
27
|
clearIcon: string;
|
|
28
|
+
clearable: boolean;
|
|
29
29
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
30
30
|
declare const _default: typeof __VLS_export;
|
|
31
31
|
export default _default;
|
|
@@ -24,8 +24,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
24
24
|
"onUpdate:modelValue"?: ((args_0: Date | undefined) => any) | undefined;
|
|
25
25
|
}>, {
|
|
26
26
|
size: "sm" | "md" | "lg";
|
|
27
|
-
clearable: boolean;
|
|
28
27
|
clearIcon: string;
|
|
28
|
+
clearable: boolean;
|
|
29
29
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
30
30
|
declare const _default: typeof __VLS_export;
|
|
31
31
|
export default _default;
|
|
@@ -22,8 +22,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
22
22
|
size: "sm" | "md" | "lg";
|
|
23
23
|
granularity: "hour" | "minute" | "second";
|
|
24
24
|
hourCycle: 12 | 24;
|
|
25
|
-
clearable: boolean;
|
|
26
25
|
clearIcon: string;
|
|
26
|
+
clearable: boolean;
|
|
27
27
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
28
28
|
declare const _default: typeof __VLS_export;
|
|
29
29
|
export default _default;
|
|
@@ -22,8 +22,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
22
22
|
size: "sm" | "md" | "lg";
|
|
23
23
|
granularity: "hour" | "minute" | "second";
|
|
24
24
|
hourCycle: 12 | 24;
|
|
25
|
-
clearable: boolean;
|
|
26
25
|
clearIcon: string;
|
|
26
|
+
clearable: boolean;
|
|
27
27
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
28
28
|
declare const _default: typeof __VLS_export;
|
|
29
29
|
export default _default;
|
|
@@ -29,8 +29,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
29
29
|
"onUpdate:endValue"?: ((args_0: Date | undefined) => any) | undefined;
|
|
30
30
|
}>, {
|
|
31
31
|
size: "sm" | "md" | "lg";
|
|
32
|
-
clearable: boolean;
|
|
33
32
|
clearIcon: string;
|
|
33
|
+
clearable: boolean;
|
|
34
34
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
35
35
|
declare const _default: typeof __VLS_export;
|
|
36
36
|
export default _default;
|
|
@@ -29,8 +29,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
29
29
|
"onUpdate:endValue"?: ((args_0: Date | undefined) => any) | undefined;
|
|
30
30
|
}>, {
|
|
31
31
|
size: "sm" | "md" | "lg";
|
|
32
|
-
clearable: boolean;
|
|
33
32
|
clearIcon: string;
|
|
33
|
+
clearable: boolean;
|
|
34
34
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
35
35
|
declare const _default: typeof __VLS_export;
|
|
36
36
|
export default _default;
|
|
@@ -26,9 +26,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
26
26
|
size: "sm" | "md" | "lg";
|
|
27
27
|
granularity: "hour" | "minute" | "second";
|
|
28
28
|
hourCycle: 12 | 24;
|
|
29
|
-
clearable: boolean;
|
|
30
|
-
clearIcon: string;
|
|
31
29
|
rangeSeparatorIcon: string;
|
|
30
|
+
clearIcon: string;
|
|
31
|
+
clearable: boolean;
|
|
32
32
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
33
33
|
declare const _default: typeof __VLS_export;
|
|
34
34
|
export default _default;
|
|
@@ -26,9 +26,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
26
26
|
size: "sm" | "md" | "lg";
|
|
27
27
|
granularity: "hour" | "minute" | "second";
|
|
28
28
|
hourCycle: 12 | 24;
|
|
29
|
-
clearable: boolean;
|
|
30
|
-
clearIcon: string;
|
|
31
29
|
rangeSeparatorIcon: string;
|
|
30
|
+
clearIcon: string;
|
|
31
|
+
clearable: boolean;
|
|
32
32
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
33
33
|
declare const _default: typeof __VLS_export;
|
|
34
34
|
export default _default;
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{d as $,Y as q,v as E,x as F,y as p,o as f,R as O,c as w,S as x,b as m,Z as y,w as I,a as L,h as N,$ as S,a0 as z,B as t,C as A,D as J,E as g,F as P,G as V,H as D,I as G,J as H,A as K,K as R,M as T,a1 as U,a2 as W,N as Y,L as Z,O as Q}from"./index-DX9_iE4h.js";const ee=$({name:"ShwfedBlockCardBadge",inheritAttrs:!1,__name:"badge",props:{badge:{}},setup(n){const a=n,{locale:C}=q(),k=T(),o=K(void 0);function i(){return R(k)}const b=t(()=>o.value===void 0?Z():Q(o.value)),c=t(()=>U(a.badge.content,C.value)||""),j=t(()=>c.value?W(c.value,g,{...i(),json:b.value}):""),B=t(()=>{const e=a.badge.show;if(!e)return!0;try{return Y(g(e,{...i(),json:b.value}))}catch(r){return console.warn("[shwfed-card-badge] show evaluation failed",r),!0}});async function s(){const e=a.badge.request;if(!e)return;const r=i(),_=A(function*(){const v=yield*J(yield*g(e,r));return P(v)});try{o.value=await V(D(_,G))}catch(v){console.warn("[shwfed-card-badge] fetch failed",v)}}const l=t(()=>!!a.badge.request&&(a.badge.interval??0)>0),M=t(()=>Math.max(1,a.badge.interval??1)*1e3),u=H(),{pause:h,resume:d}=E(()=>{s()},M,{immediate:!1});return F(()=>{s(),l.value&&u.value&&d()}),p(u,e=>{l.value&&(e?(s(),d()):h())}),p(()=>[a.badge.request??"",a.badge.interval??0].join("|"),()=>{s(),l.value&&u.value?d():h()}),(e,r)=>c.value&&B.value?(f(),O(S,{key:0},[n.badge.dot?(f(),w(m(y),x({key:0,variant:n.badge.variant??"default",class:"size-2.5 min-w-0 rounded-full p-0"},e.$attrs),null,16,["variant"])):(f(),w(m(y),x({key:1,variant:n.badge.variant??"default"},e.$attrs),{default:I(()=>[L(m(N),{source:j.value,class:"max-w-none text-inherit [&_*]:text-inherit [&_p]:m-0"},null,8,["source"])]),_:1},16,["variant"]))],64)):z("",!0)}});export{ee as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{d as le,u as te,ap as ae,aq as oe,y as I,ar as R,R as c,c as H,a as s,w as n,b as e,as as se,a0 as ne,$ as P,at as ie,t as p,j as v,au as W,av as h,aw as de,B as x,A as ue,Q as j,ax as ce,o as d,ay as K,az as O,ae as q,aA as Y,e as B,f as b,g as _,h as L,i as ve,_ as U,aB as Q,a6 as re,a7 as me,aC as fe,aD as pe,aE as xe,aF as ye}from"./index-DX9_iE4h.js";const ke={key:0,class:"flex min-h-96 items-center justify-center p-8 text-sm text-zinc-400"},ge={key:1},Ie={key:2,class:"p-6 text-sm text-red-500"},Be={key:2,class:"flex flex-col gap-4"},be={class:"grid grid-cols-2 gap-4"},_e={key:0,class:"flex gap-2 min-h-96"},Le={class:"flex w-56 shrink-0 flex-col"},Ue={class:"flex flex-1 flex-col gap-2"},Ve={class:"flex-1"},De={key:1,class:"flex flex-col gap-2"},Ee={class:"h-96"},Se=le({name:"ShwfedModalLayoutActionConfig",__name:"config",props:de({configure:{type:Function}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(V){const i=te(V,"modelValue"),X=V,D=x(()=>X.configure??(()=>{})),E=ae(()=>{}),y=a=>re(E,a)??a,r=a=>me(E,a),G=x({get:()=>i.value.slot??fe(),set:a=>{i.value={...i.value,slot:a}}}),t=oe(G,{configure:D.value}),{copy:C,paste:S}=ce(t);function J(a){i.value={...i.value,modalTitle:a}}function T(a,l){const o=l.trim(),g={...i.value};o.length===0?Reflect.deleteProperty(g,a):g[a]=o,i.value=g}function M(){const a=t.layouts.value;t.layouts.value=[...a,{name:"新布局",layout:{columns:1,placements:{}}}],t.activeLayoutIndex.value=a.length}function z(a,l){t.addBlock(a,l)}function w(a){t.removeBlock(a)}function $(a){t.removeBlocks(a)}const u=ue(null),m=x(()=>{const a=u.value;return a?t.blocks.value.find(l=>l.id===a)??null:null}),A=x(()=>{const a=m.value;return a?pe()?.(a.type,a.compatibilityDate)??null:null});function N(a){u.value=a}function Z(){u.value=null}I(()=>t.blocks.value.map(a=>a.id),a=>{const l=u.value;l&&!a.includes(l)&&(u.value=null)});function ee(a){const l=u.value;l&&t.updateBlock(l,a)}const F=j(xe,null);if(F){const a=F.add();I(m,l=>{l?(a.label.value=t.getBlockLabel(l),a.back.value=Z):(a.label.value=null,a.back.value=null)},{immediate:!0}),R(()=>{a.dispose()})}const f=j(ye,null),k=x(()=>f?.target.value??null);return I(u,a=>{f?.drilled&&(f.drilled.value=!!a)},{immediate:!0}),R(()=>{f?.drilled&&(f.drilled.value=!1)}),(a,l)=>(d(),c(P,null,[k.value&&!u.value?(d(),H(se,{key:0,to:k.value},[s(e(O),{class:"flex-1"},{default:n(()=>[s(K,{"model-value":e(t).layouts.value,"active-index":e(t).activeLayoutIndex.value,"onUpdate:modelValue":l[0]||(l[0]=o=>{e(t).layouts.value=o}),"onUpdate:activeIndex":l[1]||(l[1]=o=>{e(t).activeLayoutIndex.value=o})},null,8,["model-value","active-index"])]),_:1}),s(e(Y),{variant:"ghost",size:"sm",onClick:l[2]||(l[2]=o=>M())},{default:n(()=>[s(e(q),{icon:"fluent:add-20-regular",class:"size-4"}),l[17]||(l[17]=v("span",null,"新增布局",-1))]),_:1})],8,["to"])):ne("",!0),u.value?(d(),c(P,{key:1},[m.value?A.value?(d(),c("div",ge,[(d(),H(ie(A.value.config),{"model-value":m.value,configure:D.value,"onUpdate:modelValue":l[3]||(l[3]=o=>ee(o))},null,8,["model-value","configure"]))])):(d(),c("div",Ie," 未注册的块类型:"+p(m.value.type)+"@"+p(m.value.compatibilityDate),1)):(d(),c("div",ke," 块已不存在 "))],64)):(d(),c("div",Be,[s(e(U),{orientation:"vertical"},{default:n(()=>[s(e(B),{class:"text-xs text-zinc-500"},b({default:n(()=>[_(" "+p(y("modalTitle")),1)]),_:2},[r("modalTitle")?{name:"tooltip",fn:n(()=>[s(e(L),{source:r("modalTitle"),block:"",class:"prose prose-sm prose-zinc"},null,8,["source"])]),key:"0"}:void 0]),1024),s(e(ve),{markdown:"","model-value":i.value.modalTitle,"translate-hint":y("modalTitle"),"onUpdate:modelValue":J},null,8,["model-value","translate-hint"])]),_:1}),v("div",be,[s(e(U),{orientation:"vertical"},{default:n(()=>[s(e(B),{class:"text-xs text-zinc-500"},b({default:n(()=>[_(" "+p(y("modalWidth")),1)]),_:2},[r("modalWidth")?{name:"tooltip",fn:n(()=>[s(e(L),{source:r("modalWidth"),block:"",class:"prose prose-sm prose-zinc"},null,8,["source"])]),key:"0"}:void 0]),1024),s(e(Q),{"model-value":i.value.modalWidth??"",placeholder:"例:720px / 60vw","onUpdate:modelValue":l[4]||(l[4]=o=>T("modalWidth",String(o)))},null,8,["model-value"])]),_:1}),s(e(U),{orientation:"vertical"},{default:n(()=>[s(e(B),{class:"text-xs text-zinc-500"},b({default:n(()=>[_(" "+p(y("modalMinHeight")),1)]),_:2},[r("modalMinHeight")?{name:"tooltip",fn:n(()=>[s(e(L),{source:r("modalMinHeight"),block:"",class:"prose prose-sm prose-zinc"},null,8,["source"])]),key:"0"}:void 0]),1024),s(e(Q),{"model-value":i.value.modalMinHeight??"",placeholder:"例:400px / 60vh","onUpdate:modelValue":l[5]||(l[5]=o=>T("modalMinHeight",String(o)))},null,8,["model-value"])]),_:1})]),k.value?(d(),c("div",De,[s(W,{"model-value":e(t).layouts.value,index:e(t).activeLayoutIndex.value,"onUpdate:modelValue":l[13]||(l[13]=o=>{e(t).layouts.value=o})},null,8,["model-value","index"]),v("div",Ee,[s(h,{"model-value":e(t).layouts.value,"active-index":e(t).activeLayoutIndex.value,"selected-item-ids":e(t).selectedBlockIds.value,items:e(t).blocks.value,"find-entry":e(t).findBlockMeta,"get-item-label":e(t).getBlockLabel,"picker-entries":e(t).pickerEntries.value,"can-delete":!0,"item-noun":"块","onUpdate:modelValue":l[14]||(l[14]=o=>{e(t).layouts.value=o}),"onUpdate:activeIndex":l[15]||(l[15]=o=>{e(t).activeLayoutIndex.value=o}),"onUpdate:selectedItemIds":l[16]||(l[16]=o=>{e(t).selectedBlockIds.value=o}),onAddNew:z,onDrillDown:N,onDeleteItem:w,onDeleteItems:$,onCopyItems:e(C),onPaste:e(S)},null,8,["model-value","active-index","selected-item-ids","items","find-entry","get-item-label","picker-entries","onCopyItems","onPaste"])])])):(d(),c("div",_e,[v("div",Le,[s(e(O),{class:"flex-1"},{default:n(()=>[s(K,{"model-value":e(t).layouts.value,"active-index":e(t).activeLayoutIndex.value,"onUpdate:modelValue":l[6]||(l[6]=o=>{e(t).layouts.value=o}),"onUpdate:activeIndex":l[7]||(l[7]=o=>{e(t).activeLayoutIndex.value=o})},null,8,["model-value","active-index"])]),_:1}),s(e(Y),{variant:"ghost",size:"sm",onClick:l[8]||(l[8]=o=>M())},{default:n(()=>[s(e(q),{icon:"fluent:add-20-regular",class:"size-4"}),l[18]||(l[18]=v("span",null,"新增布局",-1))]),_:1})]),v("div",Ue,[s(W,{"model-value":e(t).layouts.value,index:e(t).activeLayoutIndex.value,"onUpdate:modelValue":l[9]||(l[9]=o=>{e(t).layouts.value=o})},null,8,["model-value","index"]),v("div",Ve,[s(h,{"model-value":e(t).layouts.value,"active-index":e(t).activeLayoutIndex.value,"selected-item-ids":e(t).selectedBlockIds.value,items:e(t).blocks.value,"find-entry":e(t).findBlockMeta,"get-item-label":e(t).getBlockLabel,"picker-entries":e(t).pickerEntries.value,"can-delete":!0,"item-noun":"块","onUpdate:modelValue":l[10]||(l[10]=o=>{e(t).layouts.value=o}),"onUpdate:activeIndex":l[11]||(l[11]=o=>{e(t).activeLayoutIndex.value=o}),"onUpdate:selectedItemIds":l[12]||(l[12]=o=>{e(t).selectedBlockIds.value=o}),onAddNew:z,onDrillDown:N,onDeleteItem:w,onDeleteItems:$,onCopyItems:e(C),onPaste:e(S)},null,8,["model-value","active-index","selected-item-ids","items","find-entry","get-item-label","picker-entries","onCopyItems","onPaste"])])])]))]))],64))}});export{Se as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{d as g,u as d,a6 as u,aG as f,R as m,a as s,w as i,b as r,o as p,e as _,g as v,t as x,a4 as h,_ as T,B as V}from"./index-DX9_iE4h.js";const w={class:"flex flex-col gap-3"},C=g({name:"ShwfedEventDispatchActionConfig",__name:"config",props:{modelValue:{required:!0},modelModifiers:{}},emits:["update:modelValue"],setup(l){const t=d(l,"modelValue"),o=u(f(),"triggers")??"触发的操作",n=V(()=>t.value.triggers??[]);function c(a){const e={...t.value};a.length===0?Reflect.deleteProperty(e,"triggers"):e.triggers=a,t.value=e}return(a,e)=>(p(),m("div",w,[s(r(T),{orientation:"vertical"},{default:i(()=>[s(r(_),{class:"text-xs text-zinc-500"},{default:i(()=>[v(x(r(o)),1)]),_:1}),s(h,{triggers:n.value,"onUpdate:triggers":c},null,8,["triggers"])]),_:1})]))}});export{C as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{d as V,u as T,a3 as U,c as $,w as l,b as s,o as b,j as g,a as e,_ as u,e as d,f as p,g as m,t as f,h as v,n as _,i as j,a4 as z,k as B,l as F,R as N,$ as R,a5 as C,a6 as D,a7 as H}from"./index-DX9_iE4h.js";import{_ as h}from"./FieldGroup.vue_vue_type_script_setup_true_lang-DX5M_WNF.js";const q={class:"grid grid-cols-2 gap-4"},L={class:"grid grid-cols-2 gap-4"},O={class:"flex items-start gap-2"},P={class:"grid grid-cols-2 gap-3"},M=V({name:"ShwfedHttpRequestConfirmActionConfig",__name:"config",props:{modelValue:{required:!0},modelModifiers:{}},emits:["update:modelValue"],setup(E){const n=T(E,"modelValue"),k=U(()=>{}),i=r=>D(k,r)??r,a=r=>H(k,r);function c(r){const t={...n.value,...r};for(const[o,x]of Object.entries(r))x===void 0&&Reflect.deleteProperty(t,o);n.value=t}const w=["onSuccess","onWarning","onError","onInfo"];function y(r,t){c({[r]:t.length===0?void 0:t})}function S(r){c({before:r.length===0?void 0:r})}return(r,t)=>(b(),$(s(h),null,{default:l(()=>[g("div",q,[e(s(u),{orientation:"vertical"},{default:l(()=>[e(s(d),{class:"text-xs text-zinc-500"},p({default:l(()=>[m(" "+f(i("expression")),1)]),_:2},[a("expression")?{name:"tooltip",fn:l(()=>[e(s(v),{source:a("expression"),block:"",class:"prose prose-sm prose-zinc"},null,8,["source"])]),key:"0"}:void 0]),1024),e(s(_),{"model-value":n.value.expression,multiline:"",placeholder:"例:http.post('/api/foo').body({ id: row.id })","result-type":"HttpRequest",class:"min-h-16","onUpdate:modelValue":t[0]||(t[0]=o=>c({expression:o}))},null,8,["model-value"])]),_:1}),e(s(u),{orientation:"vertical"},{default:l(()=>[e(s(d),{class:"text-xs text-zinc-500"},p({default:l(()=>[m(" "+f(i("markdown")),1)]),_:2},[a("markdown")?{name:"tooltip",fn:l(()=>[e(s(v),{source:a("markdown"),block:"",class:"prose prose-sm prose-zinc"},null,8,["source"])]),key:"0"}:void 0]),1024),e(s(j),{markdown:"","model-value":n.value.markdown,"onUpdate:modelValue":t[1]||(t[1]=o=>c({markdown:o}))},null,8,["model-value"])]),_:1})]),e(s(u),{orientation:"vertical"},{default:l(()=>[e(s(d),{class:"text-xs text-zinc-500"},p({default:l(()=>[m(" "+f(i("before")),1)]),_:2},[a("before")?{name:"tooltip",fn:l(()=>[e(s(v),{source:a("before"),block:"",class:"prose prose-sm prose-zinc"},null,8,["source"])]),key:"0"}:void 0]),1024),e(z,{triggers:n.value.before??[],"onUpdate:triggers":t[2]||(t[2]=o=>S(o))},null,8,["triggers"])]),_:1}),g("div",L,[e(s(u),{orientation:"vertical"},{default:l(()=>[e(s(d),{class:"text-xs text-zinc-500"},p({default:l(()=>[m(" "+f(i("icon")),1)]),_:2},[a("icon")?{name:"tooltip",fn:l(()=>[e(s(v),{source:a("icon"),block:"",class:"prose prose-sm prose-zinc"},null,8,["source"])]),key:"0"}:void 0]),1024),e(s(B),{"model-value":n.value.icon??"","onUpdate:modelValue":t[3]||(t[3]=o=>c(o.trim()===""?{icon:void 0}:{icon:o}))},null,8,["model-value"])]),_:1}),e(s(u),{orientation:"vertical"},{default:l(()=>[e(s(d),{class:"text-xs text-zinc-500"},p({default:l(()=>[m(" "+f(i("color")),1)]),_:2},[a("color")?{name:"tooltip",fn:l(()=>[e(s(v),{source:a("color"),block:"",class:"prose prose-sm prose-zinc"},null,8,["source"])]),key:"0"}:void 0]),1024),e(s(F),{"model-value":n.value.color??"","onUpdate:modelValue":t[4]||(t[4]=o=>c(o.trim()===""?{color:void 0}:{color:o}))},null,8,["model-value"])]),_:1})]),g("div",O,[e(s(u),{orientation:"vertical",class:"flex-1 basis-0 min-w-0"},{default:l(()=>[e(s(d),{class:"text-xs text-zinc-500"},p({default:l(()=>[m(" "+f(i("messageExpression")),1)]),_:2},[a("messageExpression")?{name:"tooltip",fn:l(()=>[e(s(v),{source:a("messageExpression"),block:"",class:"prose prose-sm prose-zinc"},null,8,["source"])]),key:"0"}:void 0]),1024),e(s(_),{"model-value":n.value.messageExpression??"",placeholder:"例:string(json.message)","result-type":"string","extra-vars":{json:{type:"dyn",label:"HTTP 响应体(已解析 JSON)"}},"onUpdate:modelValue":t[5]||(t[5]=o=>c({messageExpression:o===""?void 0:o}))},null,8,["model-value"])]),_:1}),e(s(u),{orientation:"vertical",class:"flex-1 basis-0 min-w-0"},{default:l(()=>[e(s(d),{class:"text-xs text-zinc-500"},p({default:l(()=>[m(" "+f(i("resultExpression")),1)]),_:2},[a("resultExpression")?{name:"tooltip",fn:l(()=>[e(s(v),{source:a("resultExpression"),block:"",class:"prose prose-sm prose-zinc"},null,8,["source"])]),key:"0"}:void 0]),1024),e(s(_),{"model-value":n.value.resultExpression??"",placeholder:"例:json.code == 0 ? 'success' : 'error'","result-type":"string","extra-vars":{json:{type:"dyn",label:"HTTP 响应体(已解析 JSON)"}},"onUpdate:modelValue":t[6]||(t[6]=o=>c({resultExpression:o===""?void 0:o}))},null,8,["model-value"])]),_:1})]),g("div",P,[(b(),N(R,null,C(w,o=>e(s(u),{key:o,orientation:"vertical",class:"min-w-0"},{default:l(()=>[e(s(d),{class:"text-xs text-zinc-500"},p({default:l(()=>[m(" "+f(i(o)),1)]),_:2},[a(o)?{name:"tooltip",fn:l(()=>[e(s(v),{source:a(o),block:"",class:"prose prose-sm prose-zinc"},null,8,["source"])]),key:"0"}:void 0]),1024),e(z,{triggers:n.value[o]??[],"onUpdate:triggers":x=>y(o,x)},null,8,["triggers","onUpdate:triggers"])]),_:2},1024)),64))])]),_:1}))}});export{M as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{d as k,u as b,aj as S,R as m,a as e,w as l,b as a,o as f,e as _,f as v,g as i,t as r,h as p,n as V,_ as x,ak as h,al as w,am as y,an as z,$ as D,a5 as N,ao as T,a6 as C,a7 as F}from"./index-DX9_iE4h.js";const M={class:"flex flex-col gap-3"},B=k({name:"ShwfedNavigationActionConfig",__name:"config",props:{modelValue:{required:!0},modelModifiers:{}},emits:["update:modelValue"],setup(g){const t=b(g,"modelValue"),c=S(()=>{}),d=o=>C(c,o)??o,n=o=>F(c,o),$=[{value:"_self",label:"当前页面打开"},{value:"_blank",label:"新页面打开"}];return(o,u)=>(f(),m("div",M,[e(a(x),{orientation:"vertical"},{default:l(()=>[e(a(_),{class:"text-xs text-zinc-500"},v({default:l(()=>[i(" "+r(d("url")),1)]),_:2},[n("url")?{name:"tooltip",fn:l(()=>[e(a(p),{source:n("url"),block:"",class:"prose prose-sm prose-zinc"},null,8,["source"])]),key:"0"}:void 0]),1024),e(a(V),{"model-value":t.value.url??"",placeholder:"例:'/detail/' + string(row.id)","result-type":"string",multiline:"",class:"min-h-10","onUpdate:modelValue":u[0]||(u[0]=s=>t.value={...t.value,url:s})},null,8,["model-value"])]),_:1}),e(a(x),{orientation:"vertical"},{default:l(()=>[e(a(_),{class:"text-xs text-zinc-500"},v({default:l(()=>[i(" "+r(d("mode")),1)]),_:2},[n("mode")?{name:"tooltip",fn:l(()=>[e(a(p),{source:n("mode"),block:"",class:"prose prose-sm prose-zinc"},null,8,["source"])]),key:"0"}:void 0]),1024),e(a(h),{"model-value":t.value.mode??"_self","onUpdate:modelValue":u[1]||(u[1]=s=>t.value={...t.value,mode:s})},{default:l(()=>[e(a(w),{class:"w-full"},{default:l(()=>[e(a(y))]),_:1}),e(a(z),null,{default:l(()=>[(f(),m(D,null,N($,s=>e(a(T),{key:s.value,value:s.value},{default:l(()=>[i(r(s.label),1)]),_:2},1032,["value"])),64))]),_:1})]),_:1},8,["model-value"])]),_:1})]))}});export{B as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{d as _,u as y,ab as x,ac as b,R as c,j as i,a as n,w as o,b as t,o as l,ad as g,ae as u,af as v,ag as D,$ as h,a5 as $,c as w,ah as S,t as p,ai as k}from"./index-DX9_iE4h.js";const B={class:"flex flex-col gap-3"},C={class:"flex-1"},V={class:"ml-auto text-xs tabular-nums text-zinc-400"},N=_({name:"ShwfedPrototypeActionConfig",__name:"config",props:{modelValue:{required:!0},modelModifiers:{}},emits:["update:modelValue"],setup(m){const r=y(m,"modelValue"),f=(()=>{const s=new Map;for(const e of x){if(e.type===b||e.deprecated)continue;const a=s.get(e.type);(!a||e.compatibilityDate>a.compatibilityDate)&&s.set(e.type,{type:e.type,compatibilityDate:e.compatibilityDate,name:e.metadata.name,icon:e.metadata.icon})}return[...s.values()].sort((e,a)=>e.name.localeCompare(a.name,"zh"))})();function d(s,e){r.value={type:s,compatibilityDate:e}}return(s,e)=>(l(),c("div",B,[e[0]||(e[0]=i("p",{class:"text-xs text-zinc-500"}," 原型按钮点击后无任何副作用,用于占位。选择下方任意类型可将其转换为正式按钮 —— 此转换仅能进行一次。 ",-1)),n(t(k),null,{default:o(()=>[n(t(g),{align:"inline-start"},{default:o(()=>[n(t(u),{icon:"fluent:arrow-swap-20-regular"})]),_:1}),n(t(v),null,{default:o(()=>[n(t(D),null,{default:o(()=>[(l(!0),c(h,null,$(t(f),a=>(l(),w(t(S),{key:a.type,value:a.type,onSelect:z=>d(a.type,a.compatibilityDate)},{default:o(()=>[n(t(u),{icon:a.icon,class:"size-4 shrink-0"},null,8,["icon"]),i("span",C,p(a.name),1),i("span",V,p(a.compatibilityDate),1)]),_:2},1032,["value","onSelect"]))),128))]),_:1})]),_:1})]),_:1})]))}});export{N as default};
|