@shwfed/config 2.9.10 → 2.9.11
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 +2 -2
- package/dist/module.json +1 -1
- package/dist/preview/assets/{FieldGroup.vue_vue_type_script_setup_true_lang-B_lv0Qb4.js → FieldGroup.vue_vue_type_script_setup_true_lang-CN4xD2hQ.js} +1 -1
- package/dist/preview/assets/{badge-DkCzSREV.js → badge-CzfW1Ked.js} +1 -1
- package/dist/preview/assets/config-BdX3zl4t.js +1 -0
- package/dist/preview/assets/{config-y0whCdxg.js → config-Bzwfqv6w.js} +1 -1
- package/dist/preview/assets/{config-CfTdhIiz.js → config-C2y2XI2Q.js} +1 -1
- package/dist/preview/assets/{config-CLszlI7X.js → config-CCXJvpik.js} +1 -1
- package/dist/preview/assets/{config-BQZZzdBi.js → config-CDYZN7EX.js} +1 -1
- package/dist/preview/assets/{config-BzUZdTRZ.js → config-CPuERNUd.js} +1 -1
- package/dist/preview/assets/{config-CJYUWHSt.js → config-D37gWDMV.js} +1 -1
- package/dist/preview/assets/{config-DG9kUyIX.js → config-DbNukLyq.js} +1 -1
- package/dist/preview/assets/{config-IAY_3DyY.js → config-Op5IHwI_.js} +1 -1
- package/dist/preview/assets/{config-DnxWfe-p.js → config-e5aOGFb2.js} +1 -1
- package/dist/preview/assets/{config-BO6oZNCA.js → config-jJQ2fulH.js} +1 -1
- package/dist/preview/assets/{config-DcOjw4Ib.js → config-jzfHh7bp.js} +1 -1
- package/dist/preview/assets/{definition.vue_vue_type_script_setup_true_lang-D6Dl1HG7.js → definition.vue_vue_type_script_setup_true_lang-BgssDGxW.js} +1 -1
- package/dist/preview/assets/index-0vF7XQ-J.js +1 -0
- package/dist/preview/assets/{index-BxEz7F0S.js → index-CAIvIAWJ.js} +1 -1
- package/dist/preview/assets/{index-CEpio2Ai.js → index-Cyjm-GKs.js} +138 -138
- package/dist/preview/assets/{index-DEk1Sey_.css → index-D0eGXK5P.css} +1 -1
- package/dist/preview/assets/{item-BgY4KzDy.js → item-CUoRMMz1.js} +1 -1
- package/dist/preview/assets/{runtime-C9L73GlB.js → runtime-BALr-Cq0.js} +1 -1
- package/dist/preview/assets/{runtime-ObPbN32X.js → runtime-BvcTYin8.js} +1 -1
- package/dist/preview/assets/{runtime-DNCNcjrA.js → runtime-CHQwYQ80.js} +1 -1
- package/dist/preview/assets/{runtime-DIHeE12q.js → runtime-CU5fYNMI.js} +1 -1
- package/dist/preview/assets/{runtime-B1vIYtF_.js → runtime-CWt21RRo.js} +1 -1
- package/dist/preview/assets/{runtime-B0yAZrhv.js → runtime-C_epees8.js} +1 -1
- package/dist/preview/assets/{runtime-BweDVL2G.js → runtime-D3TnRYXn.js} +1 -1
- package/dist/preview/assets/{runtime-74HxxB_6.js → runtime-DWKqftSK.js} +1 -1
- package/dist/preview/assets/{runtime-BrfrrA2a.js → runtime-V_usL1Fa.js} +1 -1
- package/dist/preview/assets/runtime-wAz72cCJ.js +1 -0
- package/dist/preview/assets/{schema-meta-dmADcmVf.js → schema-meta-DwWuSVqk.js} +1 -1
- package/dist/preview/index.html +2 -2
- package/dist/runtime/components/actions/buttons/2026-05-11/com.shwfed.actions.button.modal.layout/config.vue +6 -1
- package/dist/runtime/components/actions/config.d.vue.ts +1 -0
- package/dist/runtime/components/actions/config.vue +6 -2
- package/dist/runtime/components/actions/config.vue.d.ts +1 -0
- package/dist/runtime/components/block-layout-editor/index.vue +15 -2
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.tabs/config.vue +5 -2
- package/dist/runtime/components/config/blocks/2026-06-02/com.shwfed.block.card/config.vue +4 -1
- package/dist/runtime/components/config/config.d.vue.ts +1 -1
- package/dist/runtime/components/config/config.vue +2 -33
- package/dist/runtime/components/config/config.vue.d.ts +1 -1
- package/dist/runtime/components/config/use-editor.d.ts +19 -0
- package/dist/runtime/components/config/use-editor.js +36 -0
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.markdown/schema.d.ts +1 -0
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.markdown/schema.js +1 -1
- package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.actions/config.d.vue.ts +2 -0
- package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.actions/config.vue +3 -2
- package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.actions/config.vue.d.ts +2 -0
- package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.actions/runtime.vue +1 -1
- package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.actions/schema.d.ts +3 -0
- package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.actions/schema.js +1 -1
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/config.d.vue.ts +6 -6
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/config.vue.d.ts +6 -6
- 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/table/columns/2026-04-14/com.shwfed.table.column.actions/config.vue +1 -0
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/config.vue +1 -1
- package/package.json +1 -1
- package/dist/preview/assets/config-9Ny1em1E.js +0 -1
- package/dist/preview/assets/index-eXjRNljQ.js +0 -1
- package/dist/preview/assets/runtime--G6ZYJWm.js +0 -1
|
@@ -50,9 +50,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
50
50
|
readonly locale: "en" | "ja" | "ko";
|
|
51
51
|
readonly message: string;
|
|
52
52
|
}[]] | undefined;
|
|
53
|
-
readonly precision?: number | undefined;
|
|
54
|
-
readonly roundingMode?: "round" | "floor" | "ceil" | undefined;
|
|
55
|
-
readonly valueAsString?: boolean | undefined;
|
|
56
53
|
readonly validations?: readonly {
|
|
57
54
|
readonly message: readonly [{
|
|
58
55
|
readonly locale: "zh";
|
|
@@ -64,6 +61,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
64
61
|
readonly warning?: boolean | undefined;
|
|
65
62
|
readonly when: string;
|
|
66
63
|
}[] | undefined;
|
|
64
|
+
readonly precision?: number | undefined;
|
|
65
|
+
readonly roundingMode?: "round" | "floor" | "ceil" | undefined;
|
|
66
|
+
readonly valueAsString?: boolean | undefined;
|
|
67
67
|
}) => any;
|
|
68
68
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
69
69
|
"onUpdate:modelValue"?: ((value: {
|
|
@@ -113,9 +113,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
113
113
|
readonly locale: "en" | "ja" | "ko";
|
|
114
114
|
readonly message: string;
|
|
115
115
|
}[]] | undefined;
|
|
116
|
-
readonly precision?: number | undefined;
|
|
117
|
-
readonly roundingMode?: "round" | "floor" | "ceil" | undefined;
|
|
118
|
-
readonly valueAsString?: boolean | undefined;
|
|
119
116
|
readonly validations?: readonly {
|
|
120
117
|
readonly message: readonly [{
|
|
121
118
|
readonly locale: "zh";
|
|
@@ -127,6 +124,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
127
124
|
readonly warning?: boolean | undefined;
|
|
128
125
|
readonly when: string;
|
|
129
126
|
}[] | undefined;
|
|
127
|
+
readonly precision?: number | undefined;
|
|
128
|
+
readonly roundingMode?: "round" | "floor" | "ceil" | undefined;
|
|
129
|
+
readonly valueAsString?: boolean | undefined;
|
|
130
130
|
}) => any) | undefined;
|
|
131
131
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
132
132
|
declare const _default: typeof __VLS_export;
|
|
@@ -50,9 +50,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
50
50
|
readonly locale: "en" | "ja" | "ko";
|
|
51
51
|
readonly message: string;
|
|
52
52
|
}[]] | undefined;
|
|
53
|
-
readonly precision?: number | undefined;
|
|
54
|
-
readonly roundingMode?: "round" | "floor" | "ceil" | undefined;
|
|
55
|
-
readonly valueAsString?: boolean | undefined;
|
|
56
53
|
readonly validations?: readonly {
|
|
57
54
|
readonly message: readonly [{
|
|
58
55
|
readonly locale: "zh";
|
|
@@ -64,6 +61,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
64
61
|
readonly warning?: boolean | undefined;
|
|
65
62
|
readonly when: string;
|
|
66
63
|
}[] | undefined;
|
|
64
|
+
readonly precision?: number | undefined;
|
|
65
|
+
readonly roundingMode?: "round" | "floor" | "ceil" | undefined;
|
|
66
|
+
readonly valueAsString?: boolean | undefined;
|
|
67
67
|
}) => any;
|
|
68
68
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
69
69
|
"onUpdate:modelValue"?: ((value: {
|
|
@@ -113,9 +113,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
113
113
|
readonly locale: "en" | "ja" | "ko";
|
|
114
114
|
readonly message: string;
|
|
115
115
|
}[]] | undefined;
|
|
116
|
-
readonly precision?: number | undefined;
|
|
117
|
-
readonly roundingMode?: "round" | "floor" | "ceil" | undefined;
|
|
118
|
-
readonly valueAsString?: boolean | undefined;
|
|
119
116
|
readonly validations?: readonly {
|
|
120
117
|
readonly message: readonly [{
|
|
121
118
|
readonly locale: "zh";
|
|
@@ -127,6 +124,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
127
124
|
readonly warning?: boolean | undefined;
|
|
128
125
|
readonly when: string;
|
|
129
126
|
}[] | undefined;
|
|
127
|
+
readonly precision?: number | undefined;
|
|
128
|
+
readonly roundingMode?: "round" | "floor" | "ceil" | undefined;
|
|
129
|
+
readonly valueAsString?: boolean | undefined;
|
|
130
130
|
}) => any) | undefined;
|
|
131
131
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
132
132
|
declare const _default: typeof __VLS_export;
|
|
@@ -53,9 +53,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
53
53
|
readonly locale: "en" | "ja" | "ko";
|
|
54
54
|
readonly message: string;
|
|
55
55
|
}[]];
|
|
56
|
-
readonly successMessage?: string | undefined;
|
|
57
56
|
readonly accessor: string;
|
|
58
57
|
readonly sortKey?: string | undefined;
|
|
58
|
+
readonly successMessage?: string | undefined;
|
|
59
59
|
}) => any;
|
|
60
60
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
61
61
|
"onUpdate:modelValue"?: ((value: {
|
|
@@ -108,9 +108,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
108
108
|
readonly locale: "en" | "ja" | "ko";
|
|
109
109
|
readonly message: string;
|
|
110
110
|
}[]];
|
|
111
|
-
readonly successMessage?: string | undefined;
|
|
112
111
|
readonly accessor: string;
|
|
113
112
|
readonly sortKey?: string | undefined;
|
|
113
|
+
readonly successMessage?: string | undefined;
|
|
114
114
|
}) => any) | undefined;
|
|
115
115
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
116
116
|
declare const _default: typeof __VLS_export;
|
|
@@ -53,9 +53,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
53
53
|
readonly locale: "en" | "ja" | "ko";
|
|
54
54
|
readonly message: string;
|
|
55
55
|
}[]];
|
|
56
|
-
readonly successMessage?: string | undefined;
|
|
57
56
|
readonly accessor: string;
|
|
58
57
|
readonly sortKey?: string | undefined;
|
|
58
|
+
readonly successMessage?: string | undefined;
|
|
59
59
|
}) => any;
|
|
60
60
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
61
61
|
"onUpdate:modelValue"?: ((value: {
|
|
@@ -108,9 +108,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
108
108
|
readonly locale: "en" | "ja" | "ko";
|
|
109
109
|
readonly message: string;
|
|
110
110
|
}[]];
|
|
111
|
-
readonly successMessage?: string | undefined;
|
|
112
111
|
readonly accessor: string;
|
|
113
112
|
readonly sortKey?: string | undefined;
|
|
113
|
+
readonly successMessage?: string | undefined;
|
|
114
114
|
}) => any) | undefined;
|
|
115
115
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
116
116
|
declare const _default: typeof __VLS_export;
|
|
@@ -67,9 +67,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
67
67
|
readonly readonly?: string | undefined;
|
|
68
68
|
readonly grow?: boolean | undefined;
|
|
69
69
|
readonly enableSorting?: boolean | undefined;
|
|
70
|
-
readonly successMessage?: string | undefined;
|
|
71
70
|
readonly accessor: string;
|
|
72
71
|
readonly sortKey?: string | undefined;
|
|
72
|
+
readonly successMessage?: string | undefined;
|
|
73
73
|
}) => any;
|
|
74
74
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
75
75
|
"onUpdate:modelValue"?: ((value: {
|
|
@@ -136,9 +136,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
136
136
|
readonly readonly?: string | undefined;
|
|
137
137
|
readonly grow?: boolean | undefined;
|
|
138
138
|
readonly enableSorting?: boolean | undefined;
|
|
139
|
-
readonly successMessage?: string | undefined;
|
|
140
139
|
readonly accessor: string;
|
|
141
140
|
readonly sortKey?: string | undefined;
|
|
141
|
+
readonly successMessage?: string | undefined;
|
|
142
142
|
}) => any) | undefined;
|
|
143
143
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
144
144
|
declare const _default: typeof __VLS_export;
|
|
@@ -67,9 +67,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
67
67
|
readonly readonly?: string | undefined;
|
|
68
68
|
readonly grow?: boolean | undefined;
|
|
69
69
|
readonly enableSorting?: boolean | undefined;
|
|
70
|
-
readonly successMessage?: string | undefined;
|
|
71
70
|
readonly accessor: string;
|
|
72
71
|
readonly sortKey?: string | undefined;
|
|
72
|
+
readonly successMessage?: string | undefined;
|
|
73
73
|
}) => any;
|
|
74
74
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
75
75
|
"onUpdate:modelValue"?: ((value: {
|
|
@@ -136,9 +136,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
136
136
|
readonly readonly?: string | undefined;
|
|
137
137
|
readonly grow?: boolean | undefined;
|
|
138
138
|
readonly enableSorting?: boolean | undefined;
|
|
139
|
-
readonly successMessage?: string | undefined;
|
|
140
139
|
readonly accessor: string;
|
|
141
140
|
readonly sortKey?: string | undefined;
|
|
141
|
+
readonly successMessage?: string | undefined;
|
|
142
142
|
}) => any) | undefined;
|
|
143
143
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
144
144
|
declare const _default: typeof __VLS_export;
|
|
@@ -53,9 +53,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
53
53
|
readonly locale: "en" | "ja" | "ko";
|
|
54
54
|
readonly message: string;
|
|
55
55
|
}[]];
|
|
56
|
-
readonly successMessage?: string | undefined;
|
|
57
56
|
readonly accessor: string;
|
|
58
57
|
readonly sortKey?: string | undefined;
|
|
58
|
+
readonly successMessage?: string | undefined;
|
|
59
59
|
}) => any;
|
|
60
60
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
61
61
|
"onUpdate:modelValue"?: ((value: {
|
|
@@ -108,9 +108,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
108
108
|
readonly locale: "en" | "ja" | "ko";
|
|
109
109
|
readonly message: string;
|
|
110
110
|
}[]];
|
|
111
|
-
readonly successMessage?: string | undefined;
|
|
112
111
|
readonly accessor: string;
|
|
113
112
|
readonly sortKey?: string | undefined;
|
|
113
|
+
readonly successMessage?: string | undefined;
|
|
114
114
|
}) => any) | undefined;
|
|
115
115
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
116
116
|
declare const _default: typeof __VLS_export;
|
|
@@ -53,9 +53,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
53
53
|
readonly locale: "en" | "ja" | "ko";
|
|
54
54
|
readonly message: string;
|
|
55
55
|
}[]];
|
|
56
|
-
readonly successMessage?: string | undefined;
|
|
57
56
|
readonly accessor: string;
|
|
58
57
|
readonly sortKey?: string | undefined;
|
|
58
|
+
readonly successMessage?: string | undefined;
|
|
59
59
|
}) => any;
|
|
60
60
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
61
61
|
"onUpdate:modelValue"?: ((value: {
|
|
@@ -108,9 +108,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
108
108
|
readonly locale: "en" | "ja" | "ko";
|
|
109
109
|
readonly message: string;
|
|
110
110
|
}[]];
|
|
111
|
-
readonly successMessage?: string | undefined;
|
|
112
111
|
readonly accessor: string;
|
|
113
112
|
readonly sortKey?: string | undefined;
|
|
113
|
+
readonly successMessage?: string | undefined;
|
|
114
114
|
}) => any) | undefined;
|
|
115
115
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
116
116
|
declare const _default: typeof __VLS_export;
|
|
@@ -67,9 +67,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
67
67
|
readonly readonly?: string | undefined;
|
|
68
68
|
readonly grow?: boolean | undefined;
|
|
69
69
|
readonly enableSorting?: boolean | undefined;
|
|
70
|
-
readonly successMessage?: string | undefined;
|
|
71
70
|
readonly accessor: string;
|
|
72
71
|
readonly sortKey?: string | undefined;
|
|
72
|
+
readonly successMessage?: string | undefined;
|
|
73
73
|
}) => any;
|
|
74
74
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
75
75
|
"onUpdate:modelValue"?: ((value: {
|
|
@@ -136,9 +136,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
136
136
|
readonly readonly?: string | undefined;
|
|
137
137
|
readonly grow?: boolean | undefined;
|
|
138
138
|
readonly enableSorting?: boolean | undefined;
|
|
139
|
-
readonly successMessage?: string | undefined;
|
|
140
139
|
readonly accessor: string;
|
|
141
140
|
readonly sortKey?: string | undefined;
|
|
141
|
+
readonly successMessage?: string | undefined;
|
|
142
142
|
}) => any) | undefined;
|
|
143
143
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
144
144
|
declare const _default: typeof __VLS_export;
|
|
@@ -67,9 +67,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
67
67
|
readonly readonly?: string | undefined;
|
|
68
68
|
readonly grow?: boolean | undefined;
|
|
69
69
|
readonly enableSorting?: boolean | undefined;
|
|
70
|
-
readonly successMessage?: string | undefined;
|
|
71
70
|
readonly accessor: string;
|
|
72
71
|
readonly sortKey?: string | undefined;
|
|
72
|
+
readonly successMessage?: string | undefined;
|
|
73
73
|
}) => any;
|
|
74
74
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
75
75
|
"onUpdate:modelValue"?: ((value: {
|
|
@@ -136,9 +136,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
136
136
|
readonly readonly?: string | undefined;
|
|
137
137
|
readonly grow?: boolean | undefined;
|
|
138
138
|
readonly enableSorting?: boolean | undefined;
|
|
139
|
-
readonly successMessage?: string | undefined;
|
|
140
139
|
readonly accessor: string;
|
|
141
140
|
readonly sortKey?: string | undefined;
|
|
141
|
+
readonly successMessage?: string | undefined;
|
|
142
142
|
}) => any) | undefined;
|
|
143
143
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
144
144
|
declare const _default: typeof __VLS_export;
|
|
@@ -82,9 +82,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
82
82
|
};
|
|
83
83
|
}[];
|
|
84
84
|
};
|
|
85
|
-
readonly successMessage?: string | undefined;
|
|
86
85
|
readonly accessor: string;
|
|
87
86
|
readonly sortKey?: string | undefined;
|
|
87
|
+
readonly successMessage?: string | undefined;
|
|
88
88
|
}) => any;
|
|
89
89
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
90
90
|
"onUpdate:modelValue"?: ((value: {
|
|
@@ -166,9 +166,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
166
166
|
};
|
|
167
167
|
}[];
|
|
168
168
|
};
|
|
169
|
-
readonly successMessage?: string | undefined;
|
|
170
169
|
readonly accessor: string;
|
|
171
170
|
readonly sortKey?: string | undefined;
|
|
171
|
+
readonly successMessage?: string | undefined;
|
|
172
172
|
}) => any) | undefined;
|
|
173
173
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
174
174
|
declare const _default: typeof __VLS_export;
|
|
@@ -82,9 +82,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
82
82
|
};
|
|
83
83
|
}[];
|
|
84
84
|
};
|
|
85
|
-
readonly successMessage?: string | undefined;
|
|
86
85
|
readonly accessor: string;
|
|
87
86
|
readonly sortKey?: string | undefined;
|
|
87
|
+
readonly successMessage?: string | undefined;
|
|
88
88
|
}) => any;
|
|
89
89
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
90
90
|
"onUpdate:modelValue"?: ((value: {
|
|
@@ -166,9 +166,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
166
166
|
};
|
|
167
167
|
}[];
|
|
168
168
|
};
|
|
169
|
-
readonly successMessage?: string | undefined;
|
|
170
169
|
readonly accessor: string;
|
|
171
170
|
readonly sortKey?: string | undefined;
|
|
171
|
+
readonly successMessage?: string | undefined;
|
|
172
172
|
}) => any) | undefined;
|
|
173
173
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
174
174
|
declare const _default: typeof __VLS_export;
|
|
@@ -82,9 +82,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
82
82
|
};
|
|
83
83
|
}[];
|
|
84
84
|
};
|
|
85
|
-
readonly successMessage?: string | undefined;
|
|
86
85
|
readonly accessor: string;
|
|
87
86
|
readonly sortKey?: string | undefined;
|
|
87
|
+
readonly successMessage?: string | undefined;
|
|
88
88
|
}) => any;
|
|
89
89
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
90
90
|
"onUpdate:modelValue"?: ((value: {
|
|
@@ -166,9 +166,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
166
166
|
};
|
|
167
167
|
}[];
|
|
168
168
|
};
|
|
169
|
-
readonly successMessage?: string | undefined;
|
|
170
169
|
readonly accessor: string;
|
|
171
170
|
readonly sortKey?: string | undefined;
|
|
171
|
+
readonly successMessage?: string | undefined;
|
|
172
172
|
}) => any) | undefined;
|
|
173
173
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
174
174
|
declare const _default: typeof __VLS_export;
|
|
@@ -82,9 +82,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
82
82
|
};
|
|
83
83
|
}[];
|
|
84
84
|
};
|
|
85
|
-
readonly successMessage?: string | undefined;
|
|
86
85
|
readonly accessor: string;
|
|
87
86
|
readonly sortKey?: string | undefined;
|
|
87
|
+
readonly successMessage?: string | undefined;
|
|
88
88
|
}) => any;
|
|
89
89
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
90
90
|
"onUpdate:modelValue"?: ((value: {
|
|
@@ -166,9 +166,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
166
166
|
};
|
|
167
167
|
}[];
|
|
168
168
|
};
|
|
169
|
-
readonly successMessage?: string | undefined;
|
|
170
169
|
readonly accessor: string;
|
|
171
170
|
readonly sortKey?: string | undefined;
|
|
171
|
+
readonly successMessage?: string | undefined;
|
|
172
172
|
}) => any) | undefined;
|
|
173
173
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
174
174
|
declare const _default: typeof __VLS_export;
|
|
@@ -90,8 +90,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
90
90
|
readonly target: string;
|
|
91
91
|
readonly operation: string;
|
|
92
92
|
}[] | undefined;
|
|
93
|
-
readonly successMessage?: string | undefined;
|
|
94
93
|
readonly accessor: string;
|
|
94
|
+
readonly successMessage?: string | undefined;
|
|
95
95
|
};
|
|
96
96
|
}) => any;
|
|
97
97
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
@@ -182,8 +182,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
182
182
|
readonly target: string;
|
|
183
183
|
readonly operation: string;
|
|
184
184
|
}[] | undefined;
|
|
185
|
-
readonly successMessage?: string | undefined;
|
|
186
185
|
readonly accessor: string;
|
|
186
|
+
readonly successMessage?: string | undefined;
|
|
187
187
|
};
|
|
188
188
|
}) => any) | undefined;
|
|
189
189
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -90,8 +90,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
90
90
|
readonly target: string;
|
|
91
91
|
readonly operation: string;
|
|
92
92
|
}[] | undefined;
|
|
93
|
-
readonly successMessage?: string | undefined;
|
|
94
93
|
readonly accessor: string;
|
|
94
|
+
readonly successMessage?: string | undefined;
|
|
95
95
|
};
|
|
96
96
|
}) => any;
|
|
97
97
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
@@ -182,8 +182,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
182
182
|
readonly target: string;
|
|
183
183
|
readonly operation: string;
|
|
184
184
|
}[] | undefined;
|
|
185
|
-
readonly successMessage?: string | undefined;
|
|
186
185
|
readonly accessor: string;
|
|
186
|
+
readonly successMessage?: string | undefined;
|
|
187
187
|
};
|
|
188
188
|
}) => any) | undefined;
|
|
189
189
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -90,8 +90,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
90
90
|
readonly target: string;
|
|
91
91
|
readonly operation: string;
|
|
92
92
|
}[] | undefined;
|
|
93
|
-
readonly successMessage?: string | undefined;
|
|
94
93
|
readonly accessor: string;
|
|
94
|
+
readonly successMessage?: string | undefined;
|
|
95
95
|
};
|
|
96
96
|
}) => any;
|
|
97
97
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
@@ -182,8 +182,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
182
182
|
readonly target: string;
|
|
183
183
|
readonly operation: string;
|
|
184
184
|
}[] | undefined;
|
|
185
|
-
readonly successMessage?: string | undefined;
|
|
186
185
|
readonly accessor: string;
|
|
186
|
+
readonly successMessage?: string | undefined;
|
|
187
187
|
};
|
|
188
188
|
}) => any) | undefined;
|
|
189
189
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -90,8 +90,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
90
90
|
readonly target: string;
|
|
91
91
|
readonly operation: string;
|
|
92
92
|
}[] | undefined;
|
|
93
|
-
readonly successMessage?: string | undefined;
|
|
94
93
|
readonly accessor: string;
|
|
94
|
+
readonly successMessage?: string | undefined;
|
|
95
95
|
};
|
|
96
96
|
}) => any;
|
|
97
97
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
@@ -182,8 +182,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
182
182
|
readonly target: string;
|
|
183
183
|
readonly operation: string;
|
|
184
184
|
}[] | undefined;
|
|
185
|
-
readonly successMessage?: string | undefined;
|
|
186
185
|
readonly accessor: string;
|
|
186
|
+
readonly successMessage?: string | undefined;
|
|
187
187
|
};
|
|
188
188
|
}) => any) | undefined;
|
|
189
189
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -971,7 +971,7 @@ const tableActionsValue = computed({
|
|
|
971
971
|
},
|
|
972
972
|
set: (next) => {
|
|
973
973
|
const { size, gap, style, groups, items } = next;
|
|
974
|
-
const hasContent = groups && groups.length > 0 || items && items.length > 0 || typeof style === "string" && style.length > 0;
|
|
974
|
+
const hasContent = groups && groups.length > 0 || items && items.length > 0 || typeof style === "string" && style.length > 0 || size !== void 0 && size !== "default";
|
|
975
975
|
if (!hasContent) {
|
|
976
976
|
const cur = readGeneral();
|
|
977
977
|
const { actions: _drop, ...rest } = cur;
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{d as Z,u as ee,ap as le,aq as te,y as B,ar as N,R as v,c as R,a as n,w as s,b as l,as as ae,a0 as oe,$ as F,at as ne,t as p,j as c,au as H,av as W,aw as se,B as x,A as ie,Q as h,o as d,ax as j,ay as K,ae as O,az as q,e as I,f as b,g as _,h as L,i as de,_ as U,aA as Y,a6 as ue,a7 as ve,aB as ce,aC as re,aD as me,aE as fe}from"./index-CEpio2Ai.js";const pe={key:0,class:"flex min-h-96 items-center justify-center p-8 text-sm text-zinc-400"},xe={key:1},ke={key:2,class:"p-6 text-sm text-red-500"},ye={key:2,class:"flex flex-col gap-4"},ge={class:"grid grid-cols-2 gap-4"},Be={key:0,class:"flex gap-2 min-h-96"},Ie={class:"flex w-56 shrink-0 flex-col"},be={class:"flex flex-1 flex-col gap-2"},_e={class:"flex-1"},Le={key:1,class:"flex flex-col gap-2"},Ue={class:"h-96"},De=Z({name:"ShwfedModalLayoutActionConfig",__name:"config",props:se({configure:{type:Function}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(V){const i=ee(V,"modelValue"),P=V,D=x(()=>P.configure??(()=>{})),E=le(()=>{}),k=a=>ue(E,a)??a,r=a=>ve(E,a),Q=x({get:()=>i.value.slot??ce(),set:a=>{i.value={...i.value,slot:a}}}),t=te(Q,{configure:D.value});function X(a){i.value={...i.value,modalTitle:a}}function T(a,e){const o=e.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 S(a,e){t.addBlock(a,e)}function z(a){t.removeBlock(a)}function w(a){t.removeBlocks(a)}const u=ie(null),m=x(()=>{const a=u.value;return a?t.blocks.value.find(e=>e.id===a)??null:null}),$=x(()=>{const a=m.value;return a?re()?.(a.type,a.compatibilityDate)??null:null});function C(a){u.value=a}function G(){u.value=null}B(()=>t.blocks.value.map(a=>a.id),a=>{const e=u.value;e&&!a.includes(e)&&(u.value=null)});function J(a){const e=u.value;e&&t.updateBlock(e,a)}const A=h(me,null);if(A){const a=A.add();B(m,e=>{e?(a.label.value=t.getBlockLabel(e),a.back.value=G):(a.label.value=null,a.back.value=null)},{immediate:!0}),N(()=>{a.dispose()})}const f=h(fe,null),y=x(()=>f?.target.value??null);return B(u,a=>{f?.drilled&&(f.drilled.value=!!a)},{immediate:!0}),N(()=>{f?.drilled&&(f.drilled.value=!1)}),(a,e)=>(d(),v(F,null,[y.value&&!u.value?(d(),R(ae,{key:0,to:y.value},[n(l(K),{class:"flex-1"},{default:s(()=>[n(j,{"model-value":l(t).layouts.value,"active-index":l(t).activeLayoutIndex.value,"onUpdate:modelValue":e[0]||(e[0]=o=>{l(t).layouts.value=o}),"onUpdate:activeIndex":e[1]||(e[1]=o=>{l(t).activeLayoutIndex.value=o})},null,8,["model-value","active-index"])]),_:1}),n(l(q),{variant:"ghost",size:"sm",onClick:e[2]||(e[2]=o=>M())},{default:s(()=>[n(l(O),{icon:"fluent:add-20-regular",class:"size-4"}),e[17]||(e[17]=c("span",null,"新增布局",-1))]),_:1})],8,["to"])):oe("",!0),u.value?(d(),v(F,{key:1},[m.value?$.value?(d(),v("div",xe,[(d(),R(ne($.value.config),{"model-value":m.value,configure:D.value,"onUpdate:modelValue":e[3]||(e[3]=o=>J(o))},null,8,["model-value","configure"]))])):(d(),v("div",ke," 未注册的块类型:"+p(m.value.type)+"@"+p(m.value.compatibilityDate),1)):(d(),v("div",pe," 块已不存在 "))],64)):(d(),v("div",ye,[n(l(U),{orientation:"vertical"},{default:s(()=>[n(l(I),{class:"text-xs text-zinc-500"},b({default:s(()=>[_(" "+p(k("modalTitle")),1)]),_:2},[r("modalTitle")?{name:"tooltip",fn:s(()=>[n(l(L),{source:r("modalTitle"),block:"",class:"prose prose-sm prose-zinc"},null,8,["source"])]),key:"0"}:void 0]),1024),n(l(de),{markdown:"","model-value":i.value.modalTitle,"translate-hint":k("modalTitle"),"onUpdate:modelValue":X},null,8,["model-value","translate-hint"])]),_:1}),c("div",ge,[n(l(U),{orientation:"vertical"},{default:s(()=>[n(l(I),{class:"text-xs text-zinc-500"},b({default:s(()=>[_(" "+p(k("modalWidth")),1)]),_:2},[r("modalWidth")?{name:"tooltip",fn:s(()=>[n(l(L),{source:r("modalWidth"),block:"",class:"prose prose-sm prose-zinc"},null,8,["source"])]),key:"0"}:void 0]),1024),n(l(Y),{"model-value":i.value.modalWidth??"",placeholder:"例:720px / 60vw","onUpdate:modelValue":e[4]||(e[4]=o=>T("modalWidth",String(o)))},null,8,["model-value"])]),_:1}),n(l(U),{orientation:"vertical"},{default:s(()=>[n(l(I),{class:"text-xs text-zinc-500"},b({default:s(()=>[_(" "+p(k("modalMinHeight")),1)]),_:2},[r("modalMinHeight")?{name:"tooltip",fn:s(()=>[n(l(L),{source:r("modalMinHeight"),block:"",class:"prose prose-sm prose-zinc"},null,8,["source"])]),key:"0"}:void 0]),1024),n(l(Y),{"model-value":i.value.modalMinHeight??"",placeholder:"例:400px / 60vh","onUpdate:modelValue":e[5]||(e[5]=o=>T("modalMinHeight",String(o)))},null,8,["model-value"])]),_:1})]),y.value?(d(),v("div",Le,[n(H,{"model-value":l(t).layouts.value,index:l(t).activeLayoutIndex.value,"onUpdate:modelValue":e[13]||(e[13]=o=>{l(t).layouts.value=o})},null,8,["model-value","index"]),c("div",Ue,[n(W,{"model-value":l(t).layouts.value,"active-index":l(t).activeLayoutIndex.value,"selected-item-ids":l(t).selectedBlockIds.value,items:l(t).blocks.value,"find-entry":l(t).findBlockMeta,"get-item-label":l(t).getBlockLabel,"picker-entries":l(t).pickerEntries.value,"can-delete":!0,"item-noun":"块","onUpdate:modelValue":e[14]||(e[14]=o=>{l(t).layouts.value=o}),"onUpdate:activeIndex":e[15]||(e[15]=o=>{l(t).activeLayoutIndex.value=o}),"onUpdate:selectedItemIds":e[16]||(e[16]=o=>{l(t).selectedBlockIds.value=o}),onAddNew:S,onDrillDown:C,onDeleteItem:z,onDeleteItems:w},null,8,["model-value","active-index","selected-item-ids","items","find-entry","get-item-label","picker-entries"])])])):(d(),v("div",Be,[c("div",Ie,[n(l(K),{class:"flex-1"},{default:s(()=>[n(j,{"model-value":l(t).layouts.value,"active-index":l(t).activeLayoutIndex.value,"onUpdate:modelValue":e[6]||(e[6]=o=>{l(t).layouts.value=o}),"onUpdate:activeIndex":e[7]||(e[7]=o=>{l(t).activeLayoutIndex.value=o})},null,8,["model-value","active-index"])]),_:1}),n(l(q),{variant:"ghost",size:"sm",onClick:e[8]||(e[8]=o=>M())},{default:s(()=>[n(l(O),{icon:"fluent:add-20-regular",class:"size-4"}),e[18]||(e[18]=c("span",null,"新增布局",-1))]),_:1})]),c("div",be,[n(H,{"model-value":l(t).layouts.value,index:l(t).activeLayoutIndex.value,"onUpdate:modelValue":e[9]||(e[9]=o=>{l(t).layouts.value=o})},null,8,["model-value","index"]),c("div",_e,[n(W,{"model-value":l(t).layouts.value,"active-index":l(t).activeLayoutIndex.value,"selected-item-ids":l(t).selectedBlockIds.value,items:l(t).blocks.value,"find-entry":l(t).findBlockMeta,"get-item-label":l(t).getBlockLabel,"picker-entries":l(t).pickerEntries.value,"can-delete":!0,"item-noun":"块","onUpdate:modelValue":e[10]||(e[10]=o=>{l(t).layouts.value=o}),"onUpdate:activeIndex":e[11]||(e[11]=o=>{l(t).activeLayoutIndex.value=o}),"onUpdate:selectedItemIds":e[12]||(e[12]=o=>{l(t).selectedBlockIds.value=o}),onAddNew:S,onDrillDown:C,onDeleteItem:z,onDeleteItems:w},null,8,["model-value","active-index","selected-item-ids","items","find-entry","get-item-label","picker-entries"])])])]))]))],64))}});export{De as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b9 as e}from"./index-CEpio2Ai.js";import{ba as f,bb as r,bc as s}from"./index-CEpio2Ai.js";export{f as TableConfig,r as createTableConfig,e as default,s as getColumnTechnicalKey};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{d as s,Y as M,aV as p,C as x,a1 as c,aW as N,N as T,c as b,w as d,b as u,A as k,Q as L,aP as S,aX as V,o as w,j as A,z as I,a as r,aY as Y,aZ as $,aC as j,M as z,a_ as f,V as m,a$ as F}from"./index-CEpio2Ai.js";import{_ as H}from"./definition.vue_vue_type_script_setup_true_lang-D6Dl1HG7.js";const W=s({name:"ShwfedModalLayoutActionRuntime",__name:"runtime",props:{buttonId:{},config:{},buttonTitle:{}},setup(n){const a=n,{locale:l}=M(),v=e=>{},C=z(),i=L(f,void 0),h=S(),o=k(null),g=p(a.buttonId,{close:()=>V(()=>{o.value?.()})},h),_=s({name:"ModalBoundaryBridge",setup(e,{slots:t}){return $(C),m(F,g),i&&m(f,i),()=>t.default?.()}}),E=(e,t)=>j()?.(e,t),y=x(function*(){const e=c(a.config.modalTitle,l.value)??c(a.buttonTitle,l.value)??"",{modal:t,close:B}=yield*N({title:e,width:a.config.modalWidth});o.value=()=>T(B()),yield*t,o.value=null});return(e,t)=>(w(),b(H,{"action-id":n.buttonId,effect:u(y)},{default:d(()=>[A("div",{style:I(n.config.modalMinHeight?`min-height: ${n.config.modalMinHeight}`:void 0)},[r(u(_),null,{default:d(()=>[r(Y,{"slot-value":n.config.slot,configure:v,"find-entry":E},null,8,["slot-value"])]),_:1})],4)]),_:1},8,["action-id","effect"]))}});export{W as default};
|