@shwfed/config 2.10.11 → 2.11.0
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 +1085 -925
- package/dist/module.json +1 -1
- package/dist/preview/assets/{FieldGroup.vue_vue_type_script_setup_true_lang-DSupaUBQ.js → FieldGroup.vue_vue_type_script_setup_true_lang-UfhMyymD.js} +1 -1
- package/dist/preview/assets/{badge-BpMIBZb2.js → badge-CJ9IQ3Jx.js} +1 -1
- package/dist/preview/assets/{config-CM4nX_7y.js → config--Vx4fL61.js} +1 -1
- package/dist/preview/assets/{config-CujkaO8S.js → config-5PPug5mk.js} +1 -1
- package/dist/preview/assets/{config-c2iiXckz.js → config-7V1qHjUk.js} +1 -1
- package/dist/preview/assets/{config-DrkDnICQ.js → config-BYktCefJ.js} +1 -1
- package/dist/preview/assets/{config-Cc1ThF9T.js → config-BeRYF_cz.js} +1 -1
- package/dist/preview/assets/{config-DbtYnaaf.js → config-BldsYfGM.js} +1 -1
- package/dist/preview/assets/{config-BCCT-UCw.js → config-CQrDCzYN.js} +1 -1
- package/dist/preview/assets/{config-CY9L8__h.js → config-C_g-FYCR.js} +1 -1
- package/dist/preview/assets/{config-Bz643_RE.js → config-DIsAIc7H.js} +1 -1
- package/dist/preview/assets/{config-CNJS9Ncm.js → config-DPX7vGqV.js} +1 -1
- package/dist/preview/assets/{config-C7nJ8jl6.js → config-DpLMetys.js} +1 -1
- package/dist/preview/assets/{config-Bx4-IdW5.js → config-IMd4FZi8.js} +1 -1
- package/dist/preview/assets/{config-v7UFMF25.js → config-N-FdgfwK.js} +1 -1
- package/dist/preview/assets/{config-agH4hNej.js → config-uUF-UHPt.js} +1 -1
- package/dist/preview/assets/{definition.vue_vue_type_script_setup_true_lang-B1dZHF9Z.js → definition.vue_vue_type_script_setup_true_lang-B_PKfe3G.js} +1 -1
- package/dist/preview/assets/index-8Ph-sFDI.css +1 -0
- package/dist/preview/assets/index-BCl1NN6k.js +763 -0
- package/dist/preview/assets/index-Core7vRW.js +1 -0
- package/dist/preview/assets/{index-B10aTz32.js → index-DKWp47QP.js} +1 -1
- package/dist/preview/assets/{item-DxWeqOxe.js → item-XsW7swFt.js} +1 -1
- package/dist/preview/assets/{runtime-CeItNJdF.js → runtime-B-ABO0r0.js} +1 -1
- package/dist/preview/assets/{runtime-C6oMTKIZ.js → runtime-BeHohaOZ.js} +1 -1
- package/dist/preview/assets/{runtime-rpKOBs2Q.js → runtime-BiFFwOIl.js} +1 -1
- package/dist/preview/assets/{runtime-BO_Ak4ly.js → runtime-ByArW-jJ.js} +1 -1
- package/dist/preview/assets/{runtime-3VPnK4Ve.js → runtime-CpVTGNFZ.js} +1 -1
- package/dist/preview/assets/{runtime-DQK6Vajf.js → runtime-DQ1TnQ7n.js} +1 -1
- package/dist/preview/assets/{runtime-P58D1JCj.js → runtime-DY7hr7v1.js} +1 -1
- package/dist/preview/assets/{runtime-BcWQ55Ub.js → runtime-Dn172S7t.js} +1 -1
- package/dist/preview/assets/{runtime-DwgCzoDf.js → runtime-JxBzvGnw.js} +1 -1
- package/dist/preview/assets/{runtime-D6jswLOt.js → runtime-bq0hmEXY.js} +1 -1
- package/dist/preview/assets/{schema-meta-BtDKldOy.js → schema-meta-CZ9yXnsa.js} +1 -1
- package/dist/preview/index.html +2 -2
- package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/config.d.vue.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/config.vue.d.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/config.d.vue.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/config.vue.d.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/config.d.vue.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/config.vue.d.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/config.d.vue.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/config.vue.d.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/config.d.vue.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/config.vue.d.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/config.d.vue.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/config.vue.d.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/config.d.vue.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/config.vue.d.ts +22 -22
- package/dist/runtime/components/form/fields/2026-06-09/com.shwfed.form.field.upload/runtime.vue +23 -1
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.date/config.vue +30 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.date/schema.d.ts +2 -1
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.date/schema.js +1 -1
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.icon/config.vue +30 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.icon/schema.d.ts +2 -1
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.icon/schema.js +7 -4
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.number/config.vue +30 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.number/schema.d.ts +2 -1
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.number/schema.js +1 -1
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.text/config.vue +30 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.text/schema.d.ts +2 -1
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.text/schema.js +1 -1
- package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch/schema.d.ts +2 -1
- package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch/schema.js +1 -0
- package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch.remote/config.vue +30 -0
- package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch.remote/schema.d.ts +2 -1
- package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch.remote/schema.js +1 -1
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.number-input/config.vue +143 -35
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.number-input/runtime.vue +35 -9
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.number-input/schema.d.ts +136 -1
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.number-input/schema.js +20 -6
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.switch.local/config.vue +67 -32
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.switch.local/runtime.vue +6 -9
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.switch.local/schema.d.ts +4 -1
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.switch.local/schema.js +2 -5
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.text-input/config.vue +148 -33
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.text-input/runtime.vue +35 -9
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.text-input/schema.d.ts +136 -1
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.text-input/schema.js +20 -6
- 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-remote/schema.d.ts +1 -1
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/schema.js +1 -0
- 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-24/com.shwfed.table.column.combobox-single.remote.options-static/schema.d.ts +1 -1
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/schema.js +1 -0
- 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-remote/schema.d.ts +1 -1
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/schema.js +1 -0
- 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-25/com.shwfed.table.column.combobox-multi.remote.options-static/schema.d.ts +1 -1
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/schema.js +1 -0
- 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-multi.remote/schema.d.ts +1 -1
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/schema.js +1 -0
- 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-26/com.shwfed.table.column.combobox-single.remote/schema.d.ts +1 -1
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/schema.js +1 -0
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-multi/config.d.vue.ts +4 -2
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-multi/config.vue +61 -22
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-multi/config.vue.d.ts +4 -2
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-multi/runtime.vue +6 -9
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-multi/schema.d.ts +4 -1
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-multi/schema.js +3 -4
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-single/config.d.vue.ts +4 -2
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-single/config.vue +61 -22
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-single/config.vue.d.ts +4 -2
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-single/runtime.vue +6 -9
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-single/schema.d.ts +4 -1
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-single/schema.js +3 -4
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +4 -2
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/config.vue +67 -23
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +4 -2
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/runtime.vue +6 -9
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/schema.d.ts +4 -1
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/schema.js +2 -4
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +4 -2
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/config.vue +67 -23
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +4 -2
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/runtime.vue +6 -9
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/schema.d.ts +4 -1
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/schema.js +2 -4
- package/dist/runtime/components/table/columns/2026-06-17/com.shwfed.table.column.date-input/config.vue +67 -32
- package/dist/runtime/components/table/columns/2026-06-17/com.shwfed.table.column.date-input/runtime.vue +14 -8
- package/dist/runtime/components/table/columns/2026-06-17/com.shwfed.table.column.date-input/schema.d.ts +4 -1
- package/dist/runtime/components/table/columns/2026-06-17/com.shwfed.table.column.date-input/schema.js +2 -5
- package/dist/runtime/components/table/columns/2026-06-22/com.shwfed.table.column.date-range-input/config.d.vue.ts +10 -0
- package/dist/runtime/components/table/columns/2026-06-22/com.shwfed.table.column.date-range-input/config.vue +752 -0
- package/dist/runtime/components/table/columns/2026-06-22/com.shwfed.table.column.date-range-input/config.vue.d.ts +10 -0
- package/dist/runtime/components/table/columns/2026-06-22/com.shwfed.table.column.date-range-input/runtime.d.vue.ts +9 -0
- package/dist/runtime/components/table/columns/2026-06-22/com.shwfed.table.column.date-range-input/runtime.vue +149 -0
- package/dist/runtime/components/table/columns/2026-06-22/com.shwfed.table.column.date-range-input/runtime.vue.d.ts +9 -0
- package/dist/runtime/components/table/columns/2026-06-22/com.shwfed.table.column.date-range-input/schema.d.ts +90 -0
- package/dist/runtime/components/table/columns/2026-06-22/com.shwfed.table.column.date-range-input/schema.js +119 -0
- package/dist/runtime/components/table/index.vue +46 -7
- package/dist/runtime/components/table/utils/runtime.d.ts +1 -0
- package/dist/runtime/components/table/utils/runtime.js +5 -0
- package/dist/runtime/components/table/utils/shared.d.ts +3 -1
- package/dist/runtime/components/table/utils/shared.js +17 -5
- package/dist/runtime/components/ui/date-picker/DatePicker.d.vue.ts +1 -0
- package/dist/runtime/components/ui/date-picker/DatePicker.vue +3 -0
- package/dist/runtime/components/ui/date-picker/DatePicker.vue.d.ts +1 -0
- package/dist/runtime/components/ui/date-range-picker/DateRangePicker.d.vue.ts +1 -0
- package/dist/runtime/components/ui/date-range-picker/DateRangePicker.vue +2 -0
- package/dist/runtime/components/ui/date-range-picker/DateRangePicker.vue.d.ts +1 -0
- package/package.json +1 -1
- package/dist/preview/assets/index-Cc4BT5dc.css +0 -1
- package/dist/preview/assets/index-DdySlgoq.js +0 -763
- package/dist/preview/assets/index-j5Pri4vN.js +0 -1
package/dist/mcp.mjs
CHANGED
|
@@ -14094,13 +14094,13 @@ function requireDataType() {
|
|
|
14094
14094
|
}
|
|
14095
14095
|
return dataType;
|
|
14096
14096
|
}
|
|
14097
|
-
var defaults$
|
|
14097
|
+
var defaults$H = {};
|
|
14098
14098
|
var hasRequiredDefaults;
|
|
14099
14099
|
function requireDefaults() {
|
|
14100
|
-
if (hasRequiredDefaults) return defaults$
|
|
14100
|
+
if (hasRequiredDefaults) return defaults$H;
|
|
14101
14101
|
hasRequiredDefaults = 1;
|
|
14102
|
-
Object.defineProperty(defaults$
|
|
14103
|
-
defaults$
|
|
14102
|
+
Object.defineProperty(defaults$H, "__esModule", { value: true });
|
|
14103
|
+
defaults$H.assignDefaults = void 0;
|
|
14104
14104
|
const codegen_1 = /* @__PURE__ */ requireCodegen();
|
|
14105
14105
|
const util_1 = /* @__PURE__ */ requireUtil$1();
|
|
14106
14106
|
function assignDefaults(it, ty) {
|
|
@@ -14113,7 +14113,7 @@ function requireDefaults() {
|
|
|
14113
14113
|
items2.forEach((sch, i) => assignDefault(it, i, sch.default));
|
|
14114
14114
|
}
|
|
14115
14115
|
}
|
|
14116
|
-
defaults$
|
|
14116
|
+
defaults$H.assignDefaults = assignDefaults;
|
|
14117
14117
|
function assignDefault(it, prop, defaultValue) {
|
|
14118
14118
|
const { gen: gen2, compositeRule, data, opts } = it;
|
|
14119
14119
|
if (defaultValue === void 0)
|
|
@@ -14129,7 +14129,7 @@ function requireDefaults() {
|
|
|
14129
14129
|
}
|
|
14130
14130
|
gen2.if(condition, (0, codegen_1._)`${childData} = ${(0, codegen_1.stringify)(defaultValue)}`);
|
|
14131
14131
|
}
|
|
14132
|
-
return defaults$
|
|
14132
|
+
return defaults$H;
|
|
14133
14133
|
}
|
|
14134
14134
|
var keyword = {};
|
|
14135
14135
|
var code$1 = {};
|
|
@@ -15509,14 +15509,14 @@ function requireCompile() {
|
|
|
15509
15509
|
}
|
|
15510
15510
|
const $id$1 = "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#";
|
|
15511
15511
|
const description = "Meta-schema for $data reference (JSON AnySchema extension proposal)";
|
|
15512
|
-
const type$
|
|
15512
|
+
const type$1y = "object";
|
|
15513
15513
|
const required$1 = ["$data"];
|
|
15514
15514
|
const properties$2 = { "$data": { "type": "string", "anyOf": [{ "format": "relative-json-pointer" }, { "format": "json-pointer" }] } };
|
|
15515
15515
|
const additionalProperties$1 = false;
|
|
15516
15516
|
const require$$9 = {
|
|
15517
15517
|
$id: $id$1,
|
|
15518
15518
|
description,
|
|
15519
|
-
type: type$
|
|
15519
|
+
type: type$1y,
|
|
15520
15520
|
required: required$1,
|
|
15521
15521
|
properties: properties$2,
|
|
15522
15522
|
additionalProperties: additionalProperties$1
|
|
@@ -18516,14 +18516,14 @@ function requireFormat() {
|
|
|
18516
18516
|
format$7.default = format2;
|
|
18517
18517
|
return format$7;
|
|
18518
18518
|
}
|
|
18519
|
-
var metadata$
|
|
18519
|
+
var metadata$1u = {};
|
|
18520
18520
|
var hasRequiredMetadata;
|
|
18521
18521
|
function requireMetadata() {
|
|
18522
|
-
if (hasRequiredMetadata) return metadata$
|
|
18522
|
+
if (hasRequiredMetadata) return metadata$1u;
|
|
18523
18523
|
hasRequiredMetadata = 1;
|
|
18524
|
-
Object.defineProperty(metadata$
|
|
18525
|
-
metadata$
|
|
18526
|
-
metadata$
|
|
18524
|
+
Object.defineProperty(metadata$1u, "__esModule", { value: true });
|
|
18525
|
+
metadata$1u.contentVocabulary = metadata$1u.metadataVocabulary = void 0;
|
|
18526
|
+
metadata$1u.metadataVocabulary = [
|
|
18527
18527
|
"title",
|
|
18528
18528
|
"description",
|
|
18529
18529
|
"default",
|
|
@@ -18532,12 +18532,12 @@ function requireMetadata() {
|
|
|
18532
18532
|
"writeOnly",
|
|
18533
18533
|
"examples"
|
|
18534
18534
|
];
|
|
18535
|
-
metadata$
|
|
18535
|
+
metadata$1u.contentVocabulary = [
|
|
18536
18536
|
"contentMediaType",
|
|
18537
18537
|
"contentEncoding",
|
|
18538
18538
|
"contentSchema"
|
|
18539
18539
|
];
|
|
18540
|
-
return metadata$
|
|
18540
|
+
return metadata$1u;
|
|
18541
18541
|
}
|
|
18542
18542
|
var hasRequiredDraft7;
|
|
18543
18543
|
function requireDraft7() {
|
|
@@ -18683,14 +18683,14 @@ const $schema = "http://json-schema.org/draft-07/schema#";
|
|
|
18683
18683
|
const $id = "http://json-schema.org/draft-07/schema#";
|
|
18684
18684
|
const title = "Core schema meta-schema";
|
|
18685
18685
|
const definitions = { "schemaArray": { "type": "array", "minItems": 1, "items": { "$ref": "#" } }, "nonNegativeInteger": { "type": "integer", "minimum": 0 }, "nonNegativeIntegerDefault0": { "allOf": [{ "$ref": "#/definitions/nonNegativeInteger" }, { "default": 0 }] }, "simpleTypes": { "enum": ["array", "boolean", "integer", "null", "number", "object", "string"] }, "stringArray": { "type": "array", "items": { "type": "string" }, "uniqueItems": true, "default": [] } };
|
|
18686
|
-
const type$
|
|
18686
|
+
const type$1x = ["object", "boolean"];
|
|
18687
18687
|
const properties = { "$id": { "type": "string", "format": "uri-reference" }, "$schema": { "type": "string", "format": "uri" }, "$ref": { "type": "string", "format": "uri-reference" }, "$comment": { "type": "string" }, "title": { "type": "string" }, "description": { "type": "string" }, "default": true, "readOnly": { "type": "boolean", "default": false }, "examples": { "type": "array", "items": true }, "multipleOf": { "type": "number", "exclusiveMinimum": 0 }, "maximum": { "type": "number" }, "exclusiveMaximum": { "type": "number" }, "minimum": { "type": "number" }, "exclusiveMinimum": { "type": "number" }, "maxLength": { "$ref": "#/definitions/nonNegativeInteger" }, "minLength": { "$ref": "#/definitions/nonNegativeIntegerDefault0" }, "pattern": { "type": "string", "format": "regex" }, "additionalItems": { "$ref": "#" }, "items": { "anyOf": [{ "$ref": "#" }, { "$ref": "#/definitions/schemaArray" }], "default": true }, "maxItems": { "$ref": "#/definitions/nonNegativeInteger" }, "minItems": { "$ref": "#/definitions/nonNegativeIntegerDefault0" }, "uniqueItems": { "type": "boolean", "default": false }, "contains": { "$ref": "#" }, "maxProperties": { "$ref": "#/definitions/nonNegativeInteger" }, "minProperties": { "$ref": "#/definitions/nonNegativeIntegerDefault0" }, "required": { "$ref": "#/definitions/stringArray" }, "additionalProperties": { "$ref": "#" }, "definitions": { "type": "object", "additionalProperties": { "$ref": "#" }, "default": {} }, "properties": { "type": "object", "additionalProperties": { "$ref": "#" }, "default": {} }, "patternProperties": { "type": "object", "additionalProperties": { "$ref": "#" }, "propertyNames": { "format": "regex" }, "default": {} }, "dependencies": { "type": "object", "additionalProperties": { "anyOf": [{ "$ref": "#" }, { "$ref": "#/definitions/stringArray" }] } }, "propertyNames": { "$ref": "#" }, "const": true, "enum": { "type": "array", "items": true, "minItems": 1, "uniqueItems": true }, "type": { "anyOf": [{ "$ref": "#/definitions/simpleTypes" }, { "type": "array", "items": { "$ref": "#/definitions/simpleTypes" }, "minItems": 1, "uniqueItems": true }] }, "format": { "type": "string" }, "contentMediaType": { "type": "string" }, "contentEncoding": { "type": "string" }, "if": { "$ref": "#" }, "then": { "$ref": "#" }, "else": { "$ref": "#" }, "allOf": { "$ref": "#/definitions/schemaArray" }, "anyOf": { "$ref": "#/definitions/schemaArray" }, "oneOf": { "$ref": "#/definitions/schemaArray" }, "not": { "$ref": "#" } };
|
|
18688
18688
|
const require$$3 = {
|
|
18689
18689
|
$schema,
|
|
18690
18690
|
$id,
|
|
18691
18691
|
title,
|
|
18692
18692
|
definitions,
|
|
18693
|
-
type: type$
|
|
18693
|
+
type: type$1x,
|
|
18694
18694
|
properties,
|
|
18695
18695
|
"default": true
|
|
18696
18696
|
};
|
|
@@ -81676,13 +81676,13 @@ function md$1(...args2) {
|
|
|
81676
81676
|
const indent = (original.startsWith("\n") ? original.slice(1) : original).split("\n", 1)[0]?.match(/^(\s*)/)?.[1]?.length ?? 0;
|
|
81677
81677
|
return original.trim().replaceAll("\\`", "`").split("\n").map((line) => line.replace(new RegExp(`^${String.raw`\s`.repeat(indent)}`), "")).join("\n");
|
|
81678
81678
|
}
|
|
81679
|
-
const type$
|
|
81680
|
-
const compatibilityDate$
|
|
81681
|
-
const metadata$
|
|
81679
|
+
const type$1w = "com.shwfed.actions.button.http.request.json.confirm";
|
|
81680
|
+
const compatibilityDate$1w = "2026-04-18";
|
|
81681
|
+
const metadata$1t = {
|
|
81682
81682
|
name: "网络请求(JSON + 确认)",
|
|
81683
81683
|
icon: "fluent:shield-checkmark-20-regular"
|
|
81684
81684
|
};
|
|
81685
|
-
function schema$
|
|
81685
|
+
function schema$1t(configure) {
|
|
81686
81686
|
const CelHttpRequest = Expression({ configure, resultType: "HttpRequest" });
|
|
81687
81687
|
const CelMessage = Expression({
|
|
81688
81688
|
configure: (env) => {
|
|
@@ -81694,8 +81694,8 @@ function schema$1s(configure) {
|
|
|
81694
81694
|
resultType: "string"
|
|
81695
81695
|
});
|
|
81696
81696
|
return Struct({
|
|
81697
|
-
type: Literal2(type$
|
|
81698
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
81697
|
+
type: Literal2(type$1w),
|
|
81698
|
+
compatibilityDate: Literal2(compatibilityDate$1w),
|
|
81699
81699
|
expression: CelHttpRequest.annotations({
|
|
81700
81700
|
title: "请求",
|
|
81701
81701
|
description: md$1`
|
|
@@ -81761,21 +81761,21 @@ function schema$1s(configure) {
|
|
|
81761
81761
|
}
|
|
81762
81762
|
const __vite_glob_0_0$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
81763
81763
|
__proto__: null,
|
|
81764
|
-
compatibilityDate: compatibilityDate$
|
|
81765
|
-
metadata: metadata$
|
|
81766
|
-
schema: schema$
|
|
81767
|
-
type: type$
|
|
81764
|
+
compatibilityDate: compatibilityDate$1w,
|
|
81765
|
+
metadata: metadata$1t,
|
|
81766
|
+
schema: schema$1t,
|
|
81767
|
+
type: type$1w
|
|
81768
81768
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
81769
81769
|
const PAGE_TARGET_ID = "00000000-0000-0000-0000-000000000000";
|
|
81770
|
-
const type$
|
|
81771
|
-
const compatibilityDate$
|
|
81772
|
-
const type$
|
|
81773
|
-
const compatibilityDate$
|
|
81774
|
-
const metadata$
|
|
81770
|
+
const type$1v = "com.shwfed.operation.alert";
|
|
81771
|
+
const compatibilityDate$1v = "2026-06-09";
|
|
81772
|
+
const type$1u = "com.shwfed.actions.button.http.request.json";
|
|
81773
|
+
const compatibilityDate$1u = "2026-04-18";
|
|
81774
|
+
const metadata$1s = {
|
|
81775
81775
|
name: "请求",
|
|
81776
81776
|
icon: "fluent:cloud-arrow-up-20-regular"
|
|
81777
81777
|
};
|
|
81778
|
-
function schema$
|
|
81778
|
+
function schema$1s(configure) {
|
|
81779
81779
|
const CelHttpRequest = Expression({ configure, resultType: "HttpRequest" });
|
|
81780
81780
|
const CelMessage = Expression({
|
|
81781
81781
|
configure: (env) => {
|
|
@@ -81787,8 +81787,8 @@ function schema$1r(configure) {
|
|
|
81787
81787
|
resultType: "string"
|
|
81788
81788
|
});
|
|
81789
81789
|
return Struct({
|
|
81790
|
-
type: Literal2(type$
|
|
81791
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
81790
|
+
type: Literal2(type$1u),
|
|
81791
|
+
compatibilityDate: Literal2(compatibilityDate$1u),
|
|
81792
81792
|
expression: CelHttpRequest.annotations({
|
|
81793
81793
|
title: "请求",
|
|
81794
81794
|
description: md$1`
|
|
@@ -81841,7 +81841,7 @@ function schema$1r(configure) {
|
|
|
81841
81841
|
});
|
|
81842
81842
|
}
|
|
81843
81843
|
const migrateFrom$m = [
|
|
81844
|
-
{ type: "com.shwfed.actions.button.http.request.json.confirm", compatibilityDate: compatibilityDate$
|
|
81844
|
+
{ type: "com.shwfed.actions.button.http.request.json.confirm", compatibilityDate: compatibilityDate$1u }
|
|
81845
81845
|
];
|
|
81846
81846
|
const migrate$o = (prev) => try_({
|
|
81847
81847
|
try: () => {
|
|
@@ -81856,15 +81856,15 @@ const migrate$o = (prev) => try_({
|
|
|
81856
81856
|
if (color !== void 0) params.color = color;
|
|
81857
81857
|
const alertTrigger = {
|
|
81858
81858
|
target: PAGE_TARGET_ID,
|
|
81859
|
-
operation: type$
|
|
81860
|
-
compatibilityDate: compatibilityDate$
|
|
81859
|
+
operation: type$1v,
|
|
81860
|
+
compatibilityDate: compatibilityDate$1v,
|
|
81861
81861
|
params
|
|
81862
81862
|
};
|
|
81863
81863
|
const prevBefore = Array.isArray(before) ? before : [];
|
|
81864
81864
|
return {
|
|
81865
81865
|
...rest,
|
|
81866
|
-
type: type$
|
|
81867
|
-
compatibilityDate: compatibilityDate$
|
|
81866
|
+
type: type$1u,
|
|
81867
|
+
compatibilityDate: compatibilityDate$1u,
|
|
81868
81868
|
before: [...prevBefore, alertTrigger]
|
|
81869
81869
|
};
|
|
81870
81870
|
},
|
|
@@ -81872,23 +81872,23 @@ const migrate$o = (prev) => try_({
|
|
|
81872
81872
|
});
|
|
81873
81873
|
const __vite_glob_0_1$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
81874
81874
|
__proto__: null,
|
|
81875
|
-
compatibilityDate: compatibilityDate$
|
|
81876
|
-
metadata: metadata$
|
|
81875
|
+
compatibilityDate: compatibilityDate$1u,
|
|
81876
|
+
metadata: metadata$1s,
|
|
81877
81877
|
migrate: migrate$o,
|
|
81878
81878
|
migrateFrom: migrateFrom$m,
|
|
81879
|
-
schema: schema$
|
|
81880
|
-
type: type$
|
|
81879
|
+
schema: schema$1s,
|
|
81880
|
+
type: type$1u
|
|
81881
81881
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
81882
|
-
const type$
|
|
81883
|
-
const compatibilityDate$
|
|
81884
|
-
const metadata$
|
|
81882
|
+
const type$1t = "com.shwfed.actions.button.prototype";
|
|
81883
|
+
const compatibilityDate$1t = "2026-04-18";
|
|
81884
|
+
const metadata$1r = {
|
|
81885
81885
|
name: "原型",
|
|
81886
81886
|
icon: "fluent:predictions-20-regular"
|
|
81887
81887
|
};
|
|
81888
|
-
function schema$
|
|
81888
|
+
function schema$1r(_configure) {
|
|
81889
81889
|
return Struct({
|
|
81890
|
-
type: Literal2(type$
|
|
81891
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
81890
|
+
type: Literal2(type$1t),
|
|
81891
|
+
compatibilityDate: Literal2(compatibilityDate$1t)
|
|
81892
81892
|
}).annotations({
|
|
81893
81893
|
title: "PrototypeAction",
|
|
81894
81894
|
description: "点击无副作用的原型按钮,可被一次性转换为其它类型"
|
|
@@ -81896,23 +81896,23 @@ function schema$1q(_configure) {
|
|
|
81896
81896
|
}
|
|
81897
81897
|
const __vite_glob_0_2$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
81898
81898
|
__proto__: null,
|
|
81899
|
-
compatibilityDate: compatibilityDate$
|
|
81900
|
-
metadata: metadata$
|
|
81901
|
-
schema: schema$
|
|
81902
|
-
type: type$
|
|
81899
|
+
compatibilityDate: compatibilityDate$1t,
|
|
81900
|
+
metadata: metadata$1r,
|
|
81901
|
+
schema: schema$1r,
|
|
81902
|
+
type: type$1t
|
|
81903
81903
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
81904
|
-
const type$
|
|
81905
|
-
const compatibilityDate$
|
|
81906
|
-
const metadata$
|
|
81904
|
+
const type$1s = "com.shwfed.actions.button.navigation";
|
|
81905
|
+
const compatibilityDate$1s = "2026-04-21";
|
|
81906
|
+
const metadata$1q = {
|
|
81907
81907
|
name: "导航",
|
|
81908
81908
|
icon: "fluent:link-20-regular"
|
|
81909
81909
|
};
|
|
81910
81910
|
const Mode = Literal2("_self", "_blank");
|
|
81911
|
-
function schema$
|
|
81911
|
+
function schema$1q(configure) {
|
|
81912
81912
|
const CelUrl = Expression({ configure, resultType: "string" });
|
|
81913
81913
|
return Struct({
|
|
81914
|
-
type: Literal2(type$
|
|
81915
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
81914
|
+
type: Literal2(type$1s),
|
|
81915
|
+
compatibilityDate: Literal2(compatibilityDate$1s),
|
|
81916
81916
|
url: CelUrl.annotations({
|
|
81917
81917
|
title: "链接",
|
|
81918
81918
|
description: "点击后将打开的链接,返回 `string`"
|
|
@@ -81928,10 +81928,10 @@ function schema$1p(configure) {
|
|
|
81928
81928
|
}
|
|
81929
81929
|
const __vite_glob_0_3$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
81930
81930
|
__proto__: null,
|
|
81931
|
-
compatibilityDate: compatibilityDate$
|
|
81932
|
-
metadata: metadata$
|
|
81933
|
-
schema: schema$
|
|
81934
|
-
type: type$
|
|
81931
|
+
compatibilityDate: compatibilityDate$1s,
|
|
81932
|
+
metadata: metadata$1q,
|
|
81933
|
+
schema: schema$1q,
|
|
81934
|
+
type: type$1s
|
|
81935
81935
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
81936
81936
|
const TrackCount = Number$.pipe(int(), positive());
|
|
81937
81937
|
const GridCoord = Number$.pipe(int(), positive());
|
|
@@ -82067,9 +82067,9 @@ function registerBlockRef(configure, ref2) {
|
|
|
82067
82067
|
function lookupBlockRef(configure) {
|
|
82068
82068
|
return blockRefCache.get(configure);
|
|
82069
82069
|
}
|
|
82070
|
-
const type$
|
|
82071
|
-
const compatibilityDate$
|
|
82072
|
-
const metadata$
|
|
82070
|
+
const type$1r = "com.shwfed.actions.button.modal.layout";
|
|
82071
|
+
const compatibilityDate$1r = "2026-05-11";
|
|
82072
|
+
const metadata$1p = {
|
|
82073
82073
|
name: "模态窗口",
|
|
82074
82074
|
icon: "fluent:window-edit-20-regular",
|
|
82075
82075
|
drillable: true,
|
|
@@ -82080,12 +82080,12 @@ const metadata$1o = {
|
|
|
82080
82080
|
const CssLength = String$.pipe(
|
|
82081
82081
|
filter((s) => s.trim().length > 0 || "不能为空字符串")
|
|
82082
82082
|
);
|
|
82083
|
-
function schema$
|
|
82083
|
+
function schema$1p(configure) {
|
|
82084
82084
|
const blockUnion = lookupBlockRef(configure) ?? Unknown;
|
|
82085
82085
|
const ModalSlot = Slot(blockUnion, configure);
|
|
82086
82086
|
return Struct({
|
|
82087
|
-
type: Literal2(type$
|
|
82088
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
82087
|
+
type: Literal2(type$1r),
|
|
82088
|
+
compatibilityDate: Literal2(compatibilityDate$1r),
|
|
82089
82089
|
modalTitle: optional(Locale.annotations({
|
|
82090
82090
|
title: "弹窗标题",
|
|
82091
82091
|
description: "弹窗顶部展示的本地化标题,支持行内 Markdown;不填则回退使用按钮自身的名称"
|
|
@@ -82114,27 +82114,27 @@ function defaultBody$a() {
|
|
|
82114
82114
|
}
|
|
82115
82115
|
const __vite_glob_0_4$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
82116
82116
|
__proto__: null,
|
|
82117
|
-
compatibilityDate: compatibilityDate$
|
|
82117
|
+
compatibilityDate: compatibilityDate$1r,
|
|
82118
82118
|
defaultBody: defaultBody$a,
|
|
82119
|
-
metadata: metadata$
|
|
82120
|
-
schema: schema$
|
|
82121
|
-
type: type$
|
|
82119
|
+
metadata: metadata$1p,
|
|
82120
|
+
schema: schema$1p,
|
|
82121
|
+
type: type$1r
|
|
82122
82122
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
82123
82123
|
const SELECTIONS_VAR = "selections";
|
|
82124
|
-
const type$
|
|
82125
|
-
const compatibilityDate$
|
|
82126
|
-
const type$
|
|
82127
|
-
const compatibilityDate$
|
|
82128
|
-
const type$
|
|
82129
|
-
const compatibilityDate$
|
|
82130
|
-
const metadata$
|
|
82124
|
+
const type$1q = "com.shwfed.operation.http.request.json";
|
|
82125
|
+
const compatibilityDate$1q = "2026-06-11";
|
|
82126
|
+
const type$1p = "com.shwfed.operation.navigation";
|
|
82127
|
+
const compatibilityDate$1p = "2026-06-15";
|
|
82128
|
+
const type$1o = "com.shwfed.actions.button.event.dispatch";
|
|
82129
|
+
const compatibilityDate$1o = "2026-05-15";
|
|
82130
|
+
const metadata$1o = {
|
|
82131
82131
|
name: "触发事件",
|
|
82132
82132
|
icon: "fluent:flash-20-regular"
|
|
82133
82133
|
};
|
|
82134
|
-
function schema$
|
|
82134
|
+
function schema$1o(_configure) {
|
|
82135
82135
|
return Struct({
|
|
82136
|
-
type: Literal2(type$
|
|
82137
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
82136
|
+
type: Literal2(type$1o),
|
|
82137
|
+
compatibilityDate: Literal2(compatibilityDate$1o),
|
|
82138
82138
|
// This button's entire behaviour: the op-requests it bubbles up the
|
|
82139
82139
|
// component tree on click. Stored on the button itself — there is no
|
|
82140
82140
|
// host-level trigger field any more.
|
|
@@ -82183,24 +82183,24 @@ function migrateRequest(prev) {
|
|
|
82183
82183
|
if (typeof resultExpression === "string" && resultExpression.length > 0) {
|
|
82184
82184
|
params.resultExpression = resultExpression;
|
|
82185
82185
|
}
|
|
82186
|
-
const requestRow = pageOpRow(type$
|
|
82186
|
+
const requestRow = pageOpRow(type$1q, compatibilityDate$1q, params);
|
|
82187
82187
|
const beforeRows = Array.isArray(before) ? before : [];
|
|
82188
82188
|
const successRows = Array.isArray(onSuccess) ? onSuccess : [];
|
|
82189
82189
|
return {
|
|
82190
82190
|
...rest,
|
|
82191
|
-
type: type$
|
|
82192
|
-
compatibilityDate: compatibilityDate$
|
|
82191
|
+
type: type$1o,
|
|
82192
|
+
compatibilityDate: compatibilityDate$1o,
|
|
82193
82193
|
triggers: [...beforeRows, requestRow, ...successRows]
|
|
82194
82194
|
};
|
|
82195
82195
|
}
|
|
82196
82196
|
function migrateNavigation(prev) {
|
|
82197
82197
|
const { type: _t, compatibilityDate: _c, url, mode, ...rest } = prev;
|
|
82198
82198
|
const params = { url, mode };
|
|
82199
|
-
const row = pageOpRow(type$
|
|
82199
|
+
const row = pageOpRow(type$1p, compatibilityDate$1p, params);
|
|
82200
82200
|
return {
|
|
82201
82201
|
...rest,
|
|
82202
|
-
type: type$
|
|
82203
|
-
compatibilityDate: compatibilityDate$
|
|
82202
|
+
type: type$1o,
|
|
82203
|
+
compatibilityDate: compatibilityDate$1o,
|
|
82204
82204
|
triggers: [row]
|
|
82205
82205
|
};
|
|
82206
82206
|
}
|
|
@@ -82223,16 +82223,16 @@ const migrate$n = (prev) => try_({
|
|
|
82223
82223
|
});
|
|
82224
82224
|
const __vite_glob_0_5$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
82225
82225
|
__proto__: null,
|
|
82226
|
-
compatibilityDate: compatibilityDate$
|
|
82227
|
-
metadata: metadata$
|
|
82226
|
+
compatibilityDate: compatibilityDate$1o,
|
|
82227
|
+
metadata: metadata$1o,
|
|
82228
82228
|
migrate: migrate$n,
|
|
82229
82229
|
migrateFrom: migrateFrom$l,
|
|
82230
|
-
schema: schema$
|
|
82231
|
-
type: type$
|
|
82230
|
+
schema: schema$1o,
|
|
82231
|
+
type: type$1o
|
|
82232
82232
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
82233
|
-
const type$
|
|
82234
|
-
const compatibilityDate$
|
|
82235
|
-
const metadata$
|
|
82233
|
+
const type$1n = "com.shwfed.actions.button.http.download";
|
|
82234
|
+
const compatibilityDate$1n = "2026-05-21";
|
|
82235
|
+
const metadata$1n = {
|
|
82236
82236
|
name: "下载文件",
|
|
82237
82237
|
icon: "fluent:arrow-download-20-regular",
|
|
82238
82238
|
// No structured migrate target — designers rebuild downloads by hand. Use a
|
|
@@ -82251,13 +82251,13 @@ function configureWithJson$6(configure) {
|
|
|
82251
82251
|
env.registerVariable("json", JSON_VAR$6.type, { description: JSON_VAR$6.description });
|
|
82252
82252
|
};
|
|
82253
82253
|
}
|
|
82254
|
-
function schema$
|
|
82254
|
+
function schema$1n(configure) {
|
|
82255
82255
|
const CelHttpRequest = Expression({ configure, resultType: "HttpRequest" });
|
|
82256
82256
|
const CelDownloadRequest = Expression({ configure: configureWithJson$6(configure), resultType: "HttpRequest" });
|
|
82257
82257
|
const CelMessage = Expression({ configure: configureWithJson$6(configure), resultType: "string" });
|
|
82258
82258
|
return Struct({
|
|
82259
|
-
type: Literal2(type$
|
|
82260
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
82259
|
+
type: Literal2(type$1n),
|
|
82260
|
+
compatibilityDate: Literal2(compatibilityDate$1n),
|
|
82261
82261
|
template: Struct({
|
|
82262
82262
|
request: CelHttpRequest.annotations({
|
|
82263
82263
|
title: "请求",
|
|
@@ -82320,25 +82320,25 @@ function schema$1m(configure) {
|
|
|
82320
82320
|
const __vite_glob_0_6$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
82321
82321
|
__proto__: null,
|
|
82322
82322
|
JSON_VAR: JSON_VAR$6,
|
|
82323
|
-
compatibilityDate: compatibilityDate$
|
|
82324
|
-
metadata: metadata$
|
|
82325
|
-
schema: schema$
|
|
82326
|
-
type: type$
|
|
82323
|
+
compatibilityDate: compatibilityDate$1n,
|
|
82324
|
+
metadata: metadata$1n,
|
|
82325
|
+
schema: schema$1n,
|
|
82326
|
+
type: type$1n
|
|
82327
82327
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
82328
|
-
const type$
|
|
82329
|
-
const compatibilityDate$
|
|
82330
|
-
const metadata$
|
|
82328
|
+
const type$1m = "com.shwfed.actions.button.state.write";
|
|
82329
|
+
const compatibilityDate$1m = "2026-05-24";
|
|
82330
|
+
const metadata$1m = {
|
|
82331
82331
|
name: "写入表单状态",
|
|
82332
82332
|
icon: "fluent:document-edit-20-regular"
|
|
82333
82333
|
};
|
|
82334
|
-
function schema$
|
|
82334
|
+
function schema$1m(configure) {
|
|
82335
82335
|
const CelRecord = Expression({
|
|
82336
82336
|
configure,
|
|
82337
82337
|
resultType: (t) => t === "dyn" || t.startsWith("map")
|
|
82338
82338
|
});
|
|
82339
82339
|
return Struct({
|
|
82340
|
-
type: Literal2(type$
|
|
82341
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
82340
|
+
type: Literal2(type$1m),
|
|
82341
|
+
compatibilityDate: Literal2(compatibilityDate$1m),
|
|
82342
82342
|
expression: CelRecord.annotations({
|
|
82343
82343
|
title: "写入值",
|
|
82344
82344
|
description: md$1`
|
|
@@ -82358,19 +82358,19 @@ function schema$1l(configure) {
|
|
|
82358
82358
|
}
|
|
82359
82359
|
const __vite_glob_0_7$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
82360
82360
|
__proto__: null,
|
|
82361
|
-
compatibilityDate: compatibilityDate$
|
|
82362
|
-
metadata: metadata$
|
|
82363
|
-
schema: schema$
|
|
82364
|
-
type: type$
|
|
82361
|
+
compatibilityDate: compatibilityDate$1m,
|
|
82362
|
+
metadata: metadata$1m,
|
|
82363
|
+
schema: schema$1m,
|
|
82364
|
+
type: type$1m
|
|
82365
82365
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
82366
|
-
const type$
|
|
82367
|
-
const compatibilityDate$
|
|
82368
|
-
const metadata$
|
|
82366
|
+
const type$1l = "com.shwfed.actions.button.http.request.json.batch";
|
|
82367
|
+
const compatibilityDate$1l = "2026-06-08";
|
|
82368
|
+
const metadata$1l = {
|
|
82369
82369
|
name: "批量请求",
|
|
82370
82370
|
icon: "fluent:cloud-arrow-up-20-regular"
|
|
82371
82371
|
};
|
|
82372
82372
|
const isHttpRequestList = (t) => t === "dyn" || t === "list" || t === "list<dyn>" || t === "list<HttpRequest>";
|
|
82373
|
-
function schema$
|
|
82373
|
+
function schema$1l(configure) {
|
|
82374
82374
|
const CelHttpRequestList = Expression({ configure, resultType: isHttpRequestList });
|
|
82375
82375
|
const CelMessage = Expression({
|
|
82376
82376
|
configure: (env) => {
|
|
@@ -82391,8 +82391,8 @@ function schema$1k(configure) {
|
|
|
82391
82391
|
resultType: "bool"
|
|
82392
82392
|
});
|
|
82393
82393
|
return Struct({
|
|
82394
|
-
type: Literal2(type$
|
|
82395
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
82394
|
+
type: Literal2(type$1l),
|
|
82395
|
+
compatibilityDate: Literal2(compatibilityDate$1l),
|
|
82396
82396
|
expression: CelHttpRequestList.annotations({
|
|
82397
82397
|
title: "请求列表",
|
|
82398
82398
|
description: md$1`
|
|
@@ -82447,25 +82447,25 @@ function schema$1k(configure) {
|
|
|
82447
82447
|
}
|
|
82448
82448
|
const __vite_glob_0_8$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
82449
82449
|
__proto__: null,
|
|
82450
|
-
compatibilityDate: compatibilityDate$
|
|
82451
|
-
metadata: metadata$
|
|
82452
|
-
schema: schema$
|
|
82453
|
-
type: type$
|
|
82450
|
+
compatibilityDate: compatibilityDate$1l,
|
|
82451
|
+
metadata: metadata$1l,
|
|
82452
|
+
schema: schema$1l,
|
|
82453
|
+
type: type$1l
|
|
82454
82454
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
82455
|
-
const type$
|
|
82456
|
-
const compatibilityDate$
|
|
82457
|
-
const metadata$
|
|
82455
|
+
const type$1k = "com.shwfed.actions.item.markdown";
|
|
82456
|
+
const compatibilityDate$1k = "2026-05-21";
|
|
82457
|
+
const metadata$1k = {
|
|
82458
82458
|
name: "内联 Markdown",
|
|
82459
82459
|
icon: "fluent:markdown-20-regular"
|
|
82460
82460
|
};
|
|
82461
|
-
function schema$
|
|
82461
|
+
function schema$1k(_configure) {
|
|
82462
82462
|
return Struct({
|
|
82463
82463
|
id: UUID.annotations({ description: "Markdown 项唯一标识" }),
|
|
82464
82464
|
// Present when the item sits at group level; absent when it lives as a
|
|
82465
82465
|
// dropdown sub-item (the parent is the dropdown itself).
|
|
82466
82466
|
groupId: optional(UUID.annotations({ description: "所属按钮组标识" })),
|
|
82467
|
-
type: Literal2(type$
|
|
82468
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
82467
|
+
type: Literal2(type$1k),
|
|
82468
|
+
compatibilityDate: Literal2(compatibilityDate$1k),
|
|
82469
82469
|
name: String$.annotations({
|
|
82470
82470
|
title: "内部名称",
|
|
82471
82471
|
description: "仅用于编辑器内识别该 Markdown 项,不会展示给最终用户"
|
|
@@ -82481,10 +82481,10 @@ function schema$1j(_configure) {
|
|
|
82481
82481
|
}
|
|
82482
82482
|
const __vite_glob_3_0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
82483
82483
|
__proto__: null,
|
|
82484
|
-
compatibilityDate: compatibilityDate$
|
|
82485
|
-
metadata: metadata$
|
|
82486
|
-
schema: schema$
|
|
82487
|
-
type: type$
|
|
82484
|
+
compatibilityDate: compatibilityDate$1k,
|
|
82485
|
+
metadata: metadata$1k,
|
|
82486
|
+
schema: schema$1k,
|
|
82487
|
+
type: type$1k
|
|
82488
82488
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
82489
82489
|
function createResult(...args2) {
|
|
82490
82490
|
if (args2.length === 0) {
|
|
@@ -83174,20 +83174,20 @@ function defaultActionsConfig() {
|
|
|
83174
83174
|
items: []
|
|
83175
83175
|
};
|
|
83176
83176
|
}
|
|
83177
|
-
const type$
|
|
83178
|
-
const compatibilityDate$
|
|
83179
|
-
const metadata$
|
|
83177
|
+
const type$1j = "com.shwfed.block.actions";
|
|
83178
|
+
const compatibilityDate$1j = "2026-05-06";
|
|
83179
|
+
const metadata$1j = {
|
|
83180
83180
|
name: "操作按钮",
|
|
83181
83181
|
icon: "fluent:cursor-click-20-regular",
|
|
83182
83182
|
w: { initial: 8, min: 8, max: Infinity },
|
|
83183
83183
|
h: { initial: 2, min: 2, max: Infinity }
|
|
83184
83184
|
};
|
|
83185
|
-
function schema$
|
|
83185
|
+
function schema$1j(configure, _blockRef) {
|
|
83186
83186
|
const ActionsSchema = ActionsConfig(configure);
|
|
83187
83187
|
return Struct({
|
|
83188
83188
|
id: UUID.annotations({ description: "块唯一标识" }),
|
|
83189
|
-
type: tag(type$
|
|
83190
|
-
compatibilityDate: tag(compatibilityDate$
|
|
83189
|
+
type: tag(type$1j),
|
|
83190
|
+
compatibilityDate: tag(compatibilityDate$1j),
|
|
83191
83191
|
actions: ActionsSchema.annotations({
|
|
83192
83192
|
title: "操作按钮配置",
|
|
83193
83193
|
description: "内嵌的 Actions 组件配置"
|
|
@@ -83202,11 +83202,11 @@ function defaultBody$9() {
|
|
|
83202
83202
|
}
|
|
83203
83203
|
const __vite_glob_0_0$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
83204
83204
|
__proto__: null,
|
|
83205
|
-
compatibilityDate: compatibilityDate$
|
|
83205
|
+
compatibilityDate: compatibilityDate$1j,
|
|
83206
83206
|
defaultBody: defaultBody$9,
|
|
83207
|
-
metadata: metadata$
|
|
83208
|
-
schema: schema$
|
|
83209
|
-
type: type$
|
|
83207
|
+
metadata: metadata$1j,
|
|
83208
|
+
schema: schema$1j,
|
|
83209
|
+
type: type$1j
|
|
83210
83210
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
83211
83211
|
function validationRuleStruct(configure) {
|
|
83212
83212
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
@@ -83289,18 +83289,18 @@ function derivedField(configure, resultType) {
|
|
|
83289
83289
|
})
|
|
83290
83290
|
);
|
|
83291
83291
|
}
|
|
83292
|
-
const type$
|
|
83293
|
-
const compatibilityDate$
|
|
83294
|
-
const metadata$
|
|
83292
|
+
const type$1i = "com.shwfed.form.field.markdown";
|
|
83293
|
+
const compatibilityDate$1i = "2026-04-22";
|
|
83294
|
+
const metadata$1i = {
|
|
83295
83295
|
name: "Markdown",
|
|
83296
83296
|
icon: "fluent:markdown-20-regular",
|
|
83297
83297
|
w: { initial: 8, min: 2, max: Infinity },
|
|
83298
83298
|
h: { initial: 2, min: 2, max: Infinity, grow: true }
|
|
83299
83299
|
};
|
|
83300
|
-
function schema$
|
|
83300
|
+
function schema$1i(configure) {
|
|
83301
83301
|
return Struct({
|
|
83302
|
-
type: Literal2(type$
|
|
83303
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
83302
|
+
type: Literal2(type$1i),
|
|
83303
|
+
compatibilityDate: Literal2(compatibilityDate$1i),
|
|
83304
83304
|
...commonFieldFields(configure),
|
|
83305
83305
|
content: LocaleMarkdown({ configure }).annotations({
|
|
83306
83306
|
title: "内容",
|
|
@@ -83313,12 +83313,12 @@ function schema$1h(configure) {
|
|
|
83313
83313
|
}
|
|
83314
83314
|
const __vite_glob_0_0$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
83315
83315
|
__proto__: null,
|
|
83316
|
-
compatibilityDate: compatibilityDate$
|
|
83317
|
-
metadata: metadata$
|
|
83318
|
-
schema: schema$
|
|
83319
|
-
type: type$
|
|
83316
|
+
compatibilityDate: compatibilityDate$1i,
|
|
83317
|
+
metadata: metadata$1i,
|
|
83318
|
+
schema: schema$1i,
|
|
83319
|
+
type: type$1i
|
|
83320
83320
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
83321
|
-
function AddonActions$
|
|
83321
|
+
function AddonActions$3(configure) {
|
|
83322
83322
|
const { groups, items: items2, ...rest } = ActionSchemaFields(configure).fields;
|
|
83323
83323
|
return Struct({
|
|
83324
83324
|
...rest,
|
|
@@ -83329,19 +83329,19 @@ function AddonActions$1(configure) {
|
|
|
83329
83329
|
description: "在输入框右侧内嵌一组操作按钮"
|
|
83330
83330
|
});
|
|
83331
83331
|
}
|
|
83332
|
-
const type$
|
|
83333
|
-
const compatibilityDate$
|
|
83334
|
-
const metadata$
|
|
83332
|
+
const type$1h = "com.shwfed.form.field.text";
|
|
83333
|
+
const compatibilityDate$1h = "2026-04-22";
|
|
83334
|
+
const metadata$1h = {
|
|
83335
83335
|
name: "文本输入",
|
|
83336
83336
|
icon: "fluent:text-field-20-regular",
|
|
83337
83337
|
w: { initial: 8, min: 4, max: Infinity },
|
|
83338
83338
|
h: { initial: 2, min: 2, max: 2 }
|
|
83339
83339
|
};
|
|
83340
|
-
function schema$
|
|
83340
|
+
function schema$1h(configure) {
|
|
83341
83341
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
83342
83342
|
return Struct({
|
|
83343
|
-
type: Literal2(type$
|
|
83344
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
83343
|
+
type: Literal2(type$1h),
|
|
83344
|
+
compatibilityDate: Literal2(compatibilityDate$1h),
|
|
83345
83345
|
...commonFieldFields(configure),
|
|
83346
83346
|
label: optional(Locale.annotations({
|
|
83347
83347
|
title: "标签",
|
|
@@ -83369,7 +83369,7 @@ function schema$1g(configure) {
|
|
|
83369
83369
|
description: "返回 `true` 时仅以纯文本展示当前值"
|
|
83370
83370
|
})),
|
|
83371
83371
|
derived: derivedField(configure, "string"),
|
|
83372
|
-
addon: optional(AddonActions$
|
|
83372
|
+
addon: optional(AddonActions$3(configure))
|
|
83373
83373
|
}).annotations({
|
|
83374
83374
|
title: "TextField",
|
|
83375
83375
|
description: "单行文本输入"
|
|
@@ -83377,24 +83377,24 @@ function schema$1g(configure) {
|
|
|
83377
83377
|
}
|
|
83378
83378
|
const __vite_glob_0_1$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
83379
83379
|
__proto__: null,
|
|
83380
|
-
compatibilityDate: compatibilityDate$
|
|
83381
|
-
metadata: metadata$
|
|
83382
|
-
schema: schema$
|
|
83383
|
-
type: type$
|
|
83380
|
+
compatibilityDate: compatibilityDate$1h,
|
|
83381
|
+
metadata: metadata$1h,
|
|
83382
|
+
schema: schema$1h,
|
|
83383
|
+
type: type$1h
|
|
83384
83384
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
83385
|
-
const type$
|
|
83386
|
-
const compatibilityDate$
|
|
83387
|
-
const metadata$
|
|
83385
|
+
const type$1g = "com.shwfed.form.field.textarea";
|
|
83386
|
+
const compatibilityDate$1g = "2026-04-22";
|
|
83387
|
+
const metadata$1g = {
|
|
83388
83388
|
name: "多行文本输入",
|
|
83389
83389
|
icon: "fluent:text-description-20-regular",
|
|
83390
83390
|
w: { initial: 8, min: 4, max: Infinity },
|
|
83391
83391
|
h: { initial: 3, min: 2, max: Infinity, grow: true }
|
|
83392
83392
|
};
|
|
83393
|
-
function schema$
|
|
83393
|
+
function schema$1g(configure) {
|
|
83394
83394
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
83395
83395
|
return Struct({
|
|
83396
|
-
type: Literal2(type$
|
|
83397
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
83396
|
+
type: Literal2(type$1g),
|
|
83397
|
+
compatibilityDate: Literal2(compatibilityDate$1g),
|
|
83398
83398
|
...commonFieldFields(configure),
|
|
83399
83399
|
label: optional(Locale.annotations({
|
|
83400
83400
|
title: "标签",
|
|
@@ -83433,14 +83433,14 @@ function schema$1f(configure) {
|
|
|
83433
83433
|
}
|
|
83434
83434
|
const __vite_glob_0_2$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
83435
83435
|
__proto__: null,
|
|
83436
|
-
compatibilityDate: compatibilityDate$
|
|
83437
|
-
metadata: metadata$
|
|
83438
|
-
schema: schema$
|
|
83439
|
-
type: type$
|
|
83436
|
+
compatibilityDate: compatibilityDate$1g,
|
|
83437
|
+
metadata: metadata$1g,
|
|
83438
|
+
schema: schema$1g,
|
|
83439
|
+
type: type$1g
|
|
83440
83440
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
83441
|
-
const type$
|
|
83442
|
-
const compatibilityDate$
|
|
83443
|
-
const metadata$
|
|
83441
|
+
const type$1f = "com.shwfed.form.field.actions";
|
|
83442
|
+
const compatibilityDate$1f = "2026-04-24";
|
|
83443
|
+
const metadata$1f = {
|
|
83444
83444
|
name: "操作",
|
|
83445
83445
|
icon: "fluent:cursor-click-20-regular",
|
|
83446
83446
|
w: { initial: 8, min: 4, max: Infinity },
|
|
@@ -83449,12 +83449,12 @@ const metadata$1e = {
|
|
|
83449
83449
|
// fullscreen inline-config pane; keep the (fullscreen-exiting) drill-down.
|
|
83450
83450
|
inlineConfig: false
|
|
83451
83451
|
};
|
|
83452
|
-
function schema$
|
|
83452
|
+
function schema$1f(configure) {
|
|
83453
83453
|
const { fields: actionFields } = ActionSchemaFields(configure);
|
|
83454
83454
|
const { groups, items: items2, ...rest } = actionFields;
|
|
83455
83455
|
return Struct({
|
|
83456
|
-
type: Literal2(type$
|
|
83457
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
83456
|
+
type: Literal2(type$1f),
|
|
83457
|
+
compatibilityDate: Literal2(compatibilityDate$1f),
|
|
83458
83458
|
...commonFieldFields(configure),
|
|
83459
83459
|
...rest,
|
|
83460
83460
|
// Form's add-field factory creates new fields with only { type, compatibilityDate, id },
|
|
@@ -83468,14 +83468,14 @@ function schema$1e(configure) {
|
|
|
83468
83468
|
}
|
|
83469
83469
|
const __vite_glob_0_3$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
83470
83470
|
__proto__: null,
|
|
83471
|
-
compatibilityDate: compatibilityDate$
|
|
83472
|
-
metadata: metadata$
|
|
83473
|
-
schema: schema$
|
|
83474
|
-
type: type$
|
|
83471
|
+
compatibilityDate: compatibilityDate$1f,
|
|
83472
|
+
metadata: metadata$1f,
|
|
83473
|
+
schema: schema$1f,
|
|
83474
|
+
type: type$1f
|
|
83475
83475
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
83476
|
-
const type$
|
|
83477
|
-
const compatibilityDate$
|
|
83478
|
-
const metadata$
|
|
83476
|
+
const type$1e = "com.shwfed.form.field.combobox.single";
|
|
83477
|
+
const compatibilityDate$1e = "2026-04-24";
|
|
83478
|
+
const metadata$1e = {
|
|
83479
83479
|
name: "下拉单选",
|
|
83480
83480
|
icon: "fluent:chevron-down-20-regular",
|
|
83481
83481
|
w: { initial: 8, min: 4, max: Infinity },
|
|
@@ -83488,14 +83488,14 @@ function configureWithOption$6(configure) {
|
|
|
83488
83488
|
};
|
|
83489
83489
|
}
|
|
83490
83490
|
const isListType$h = (actual) => actual === "dyn" || actual.startsWith("list");
|
|
83491
|
-
function schema$
|
|
83491
|
+
function schema$1e(configure) {
|
|
83492
83492
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
83493
83493
|
const CelOptions = Expression({ configure, resultType: isListType$h });
|
|
83494
83494
|
const CelOptionValue = Expression({ configure: configureWithOption$6(configure), resultType: "dyn" });
|
|
83495
83495
|
const LocaleOptionLabel = LocaleMarkdown({ configure: configureWithOption$6(configure) });
|
|
83496
83496
|
return Struct({
|
|
83497
|
-
type: Literal2(type$
|
|
83498
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
83497
|
+
type: Literal2(type$1e),
|
|
83498
|
+
compatibilityDate: Literal2(compatibilityDate$1e),
|
|
83499
83499
|
...commonFieldFields(configure),
|
|
83500
83500
|
label: optional(Locale.annotations({
|
|
83501
83501
|
title: "标签",
|
|
@@ -83542,20 +83542,20 @@ function schema$1d(configure) {
|
|
|
83542
83542
|
}
|
|
83543
83543
|
const __vite_glob_0_4$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
83544
83544
|
__proto__: null,
|
|
83545
|
-
compatibilityDate: compatibilityDate$
|
|
83546
|
-
metadata: metadata$
|
|
83547
|
-
schema: schema$
|
|
83548
|
-
type: type$
|
|
83545
|
+
compatibilityDate: compatibilityDate$1e,
|
|
83546
|
+
metadata: metadata$1e,
|
|
83547
|
+
schema: schema$1e,
|
|
83548
|
+
type: type$1e
|
|
83549
83549
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
83550
|
-
const type$
|
|
83551
|
-
const compatibilityDate$
|
|
83552
|
-
const metadata$
|
|
83550
|
+
const type$1d = "com.shwfed.form.field.date";
|
|
83551
|
+
const compatibilityDate$1d = "2026-04-27";
|
|
83552
|
+
const metadata$1d = {
|
|
83553
83553
|
name: "日期",
|
|
83554
83554
|
icon: "fluent:calendar-ltr-20-regular",
|
|
83555
83555
|
w: { initial: 8, min: 4, max: Infinity },
|
|
83556
83556
|
h: { initial: 2, min: 2, max: 2 }
|
|
83557
83557
|
};
|
|
83558
|
-
function presetSchema$
|
|
83558
|
+
function presetSchema$7(configure) {
|
|
83559
83559
|
const CelDate = Expression({ configure, resultType: "Date" });
|
|
83560
83560
|
return Struct({
|
|
83561
83561
|
id: UUID.annotations({ description: "预设唯一标识,用于稳定的 v-for key" }),
|
|
@@ -83571,12 +83571,12 @@ function presetSchema$6(configure) {
|
|
|
83571
83571
|
title: "DateFieldPreset"
|
|
83572
83572
|
});
|
|
83573
83573
|
}
|
|
83574
|
-
function schema$
|
|
83574
|
+
function schema$1d(configure) {
|
|
83575
83575
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
83576
|
-
const Preset = presetSchema$
|
|
83576
|
+
const Preset = presetSchema$7(configure);
|
|
83577
83577
|
return Struct({
|
|
83578
|
-
type: Literal2(type$
|
|
83579
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
83578
|
+
type: Literal2(type$1d),
|
|
83579
|
+
compatibilityDate: Literal2(compatibilityDate$1d),
|
|
83580
83580
|
...commonFieldFields(configure),
|
|
83581
83581
|
label: optional(Locale.annotations({
|
|
83582
83582
|
title: "标签",
|
|
@@ -83623,31 +83623,31 @@ function schema$1c(configure) {
|
|
|
83623
83623
|
}
|
|
83624
83624
|
const __vite_glob_0_5$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
83625
83625
|
__proto__: null,
|
|
83626
|
-
compatibilityDate: compatibilityDate$
|
|
83627
|
-
metadata: metadata$
|
|
83628
|
-
presetSchema: presetSchema$
|
|
83629
|
-
schema: schema$
|
|
83630
|
-
type: type$
|
|
83626
|
+
compatibilityDate: compatibilityDate$1d,
|
|
83627
|
+
metadata: metadata$1d,
|
|
83628
|
+
presetSchema: presetSchema$7,
|
|
83629
|
+
schema: schema$1d,
|
|
83630
|
+
type: type$1d
|
|
83631
83631
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
83632
|
-
const type$
|
|
83633
|
-
const compatibilityDate$
|
|
83634
|
-
const BindingPath$
|
|
83635
|
-
const SplitBinding$
|
|
83632
|
+
const type$1c = "com.shwfed.form.field.daterange";
|
|
83633
|
+
const compatibilityDate$1c = "2026-04-27";
|
|
83634
|
+
const BindingPath$5 = String$.pipe(minLength(1));
|
|
83635
|
+
const SplitBinding$5 = Tuple(BindingPath$5, BindingPath$5).pipe(
|
|
83636
83636
|
filter(([a, b]) => a !== b, {
|
|
83637
83637
|
message: () => "起始与结束绑定路径不能相同"
|
|
83638
83638
|
})
|
|
83639
83639
|
);
|
|
83640
|
-
const bindingSchema$
|
|
83640
|
+
const bindingSchema$5 = Union2(BindingPath$5, SplitBinding$5).annotations({
|
|
83641
83641
|
title: "绑定路径",
|
|
83642
83642
|
description: "写入表单状态的 `dot-prop` 路径;填写单个路径时写入 `[start, end]` 字符串数组,例如 `event.range`;填写 `[起始路径, 结束路径]` 元组时分别写入两端;留空则为非受控字段"
|
|
83643
83643
|
});
|
|
83644
|
-
const metadata$
|
|
83644
|
+
const metadata$1c = {
|
|
83645
83645
|
name: "日期范围",
|
|
83646
83646
|
icon: "fluent:calendar-arrow-right-20-regular",
|
|
83647
83647
|
w: { initial: 10, min: 10, max: Infinity },
|
|
83648
83648
|
h: { initial: 2, min: 2, max: 2 }
|
|
83649
83649
|
};
|
|
83650
|
-
function presetSchema$
|
|
83650
|
+
function presetSchema$6(configure) {
|
|
83651
83651
|
const CelDate = Expression({ configure, resultType: "Date" });
|
|
83652
83652
|
return Struct({
|
|
83653
83653
|
id: UUID.annotations({ description: "预设唯一标识,用于稳定的 v-for key" }),
|
|
@@ -83667,12 +83667,12 @@ function presetSchema$5(configure) {
|
|
|
83667
83667
|
title: "DateRangeFieldPreset"
|
|
83668
83668
|
});
|
|
83669
83669
|
}
|
|
83670
|
-
function schema$
|
|
83670
|
+
function schema$1c(configure) {
|
|
83671
83671
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
83672
|
-
const Preset = presetSchema$
|
|
83672
|
+
const Preset = presetSchema$6(configure);
|
|
83673
83673
|
return Struct({
|
|
83674
|
-
type: Literal2(type$
|
|
83675
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
83674
|
+
type: Literal2(type$1c),
|
|
83675
|
+
compatibilityDate: Literal2(compatibilityDate$1c),
|
|
83676
83676
|
...commonFieldFields(configure),
|
|
83677
83677
|
label: optional(Locale.annotations({
|
|
83678
83678
|
title: "标签",
|
|
@@ -83691,7 +83691,7 @@ function schema$1b(configure) {
|
|
|
83691
83691
|
description: "鼠标悬停在标签上时展示的说明"
|
|
83692
83692
|
})),
|
|
83693
83693
|
orientation: optional(FieldOrientationSchema),
|
|
83694
|
-
binding: optional(bindingSchema$
|
|
83694
|
+
binding: optional(bindingSchema$5),
|
|
83695
83695
|
disabled: optional(CelBool.annotations({
|
|
83696
83696
|
title: "禁用条件",
|
|
83697
83697
|
description: "返回 `true` 时输入框仍然渲染但不可编辑"
|
|
@@ -83726,21 +83726,21 @@ function schema$1b(configure) {
|
|
|
83726
83726
|
description: "日期范围选择输入"
|
|
83727
83727
|
});
|
|
83728
83728
|
}
|
|
83729
|
-
function defaults$
|
|
83729
|
+
function defaults$G() {
|
|
83730
83730
|
return { rangeSeparatorIcon: "fluent:arrow-right-20-regular" };
|
|
83731
83731
|
}
|
|
83732
83732
|
const __vite_glob_0_6$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
83733
83733
|
__proto__: null,
|
|
83734
|
-
compatibilityDate: compatibilityDate$
|
|
83735
|
-
defaults: defaults$
|
|
83736
|
-
metadata: metadata$
|
|
83737
|
-
presetSchema: presetSchema$
|
|
83738
|
-
schema: schema$
|
|
83739
|
-
type: type$
|
|
83734
|
+
compatibilityDate: compatibilityDate$1c,
|
|
83735
|
+
defaults: defaults$G,
|
|
83736
|
+
metadata: metadata$1c,
|
|
83737
|
+
presetSchema: presetSchema$6,
|
|
83738
|
+
schema: schema$1c,
|
|
83739
|
+
type: type$1c
|
|
83740
83740
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
83741
|
-
const type$
|
|
83742
|
-
const compatibilityDate$
|
|
83743
|
-
const metadata$
|
|
83741
|
+
const type$1b = "com.shwfed.form.field.datetime";
|
|
83742
|
+
const compatibilityDate$1b = "2026-04-27";
|
|
83743
|
+
const metadata$1b = {
|
|
83744
83744
|
name: "日期时间",
|
|
83745
83745
|
icon: "fluent:calendar-clock-20-regular",
|
|
83746
83746
|
w: { initial: 8, min: 4, max: Infinity },
|
|
@@ -83756,7 +83756,7 @@ const HOUR_CYCLE_OPTIONS$3 = [
|
|
|
83756
83756
|
{ value: 24, label: "24 小时制" },
|
|
83757
83757
|
{ value: 12, label: "12 小时制" }
|
|
83758
83758
|
];
|
|
83759
|
-
function presetSchema$
|
|
83759
|
+
function presetSchema$5(configure) {
|
|
83760
83760
|
const CelDate = Expression({ configure, resultType: "Date" });
|
|
83761
83761
|
return Struct({
|
|
83762
83762
|
id: UUID.annotations({ description: "预设唯一标识,用于稳定的 v-for key" }),
|
|
@@ -83772,12 +83772,12 @@ function presetSchema$4(configure) {
|
|
|
83772
83772
|
title: "DateTimeFieldPreset"
|
|
83773
83773
|
});
|
|
83774
83774
|
}
|
|
83775
|
-
function schema$
|
|
83775
|
+
function schema$1b(configure) {
|
|
83776
83776
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
83777
|
-
const Preset = presetSchema$
|
|
83777
|
+
const Preset = presetSchema$5(configure);
|
|
83778
83778
|
return Struct({
|
|
83779
|
-
type: Literal2(type$
|
|
83780
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
83779
|
+
type: Literal2(type$1b),
|
|
83780
|
+
compatibilityDate: Literal2(compatibilityDate$1b),
|
|
83781
83781
|
...commonFieldFields(configure),
|
|
83782
83782
|
label: optional(Locale.annotations({
|
|
83783
83783
|
title: "标签",
|
|
@@ -83835,25 +83835,25 @@ const __vite_glob_0_7$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
|
|
|
83835
83835
|
HOUR_CYCLE_OPTIONS: HOUR_CYCLE_OPTIONS$3,
|
|
83836
83836
|
TIME_GRANULARITIES: TIME_GRANULARITIES$3,
|
|
83837
83837
|
TIME_GRANULARITY_OPTIONS: TIME_GRANULARITY_OPTIONS$3,
|
|
83838
|
-
compatibilityDate: compatibilityDate$
|
|
83839
|
-
metadata: metadata$
|
|
83840
|
-
presetSchema: presetSchema$
|
|
83841
|
-
schema: schema$
|
|
83842
|
-
type: type$
|
|
83838
|
+
compatibilityDate: compatibilityDate$1b,
|
|
83839
|
+
metadata: metadata$1b,
|
|
83840
|
+
presetSchema: presetSchema$5,
|
|
83841
|
+
schema: schema$1b,
|
|
83842
|
+
type: type$1b
|
|
83843
83843
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
83844
|
-
const type$
|
|
83845
|
-
const compatibilityDate$
|
|
83846
|
-
const BindingPath$
|
|
83847
|
-
const SplitBinding$
|
|
83844
|
+
const type$1a = "com.shwfed.form.field.datetimerange";
|
|
83845
|
+
const compatibilityDate$1a = "2026-04-27";
|
|
83846
|
+
const BindingPath$4 = String$.pipe(minLength(1));
|
|
83847
|
+
const SplitBinding$4 = Tuple(BindingPath$4, BindingPath$4).pipe(
|
|
83848
83848
|
filter(([a, b]) => a !== b, {
|
|
83849
83849
|
message: () => "起始与结束绑定路径不能相同"
|
|
83850
83850
|
})
|
|
83851
83851
|
);
|
|
83852
|
-
const bindingSchema$
|
|
83852
|
+
const bindingSchema$4 = Union2(BindingPath$4, SplitBinding$4).annotations({
|
|
83853
83853
|
title: "绑定路径",
|
|
83854
83854
|
description: "写入表单状态的 `dot-prop` 路径;填写单个路径时写入 `[start, end]` 字符串数组,例如 `event.range`;填写 `[起始路径, 结束路径]` 元组时分别写入两端;留空则为非受控字段"
|
|
83855
83855
|
});
|
|
83856
|
-
const metadata$
|
|
83856
|
+
const metadata$1a = {
|
|
83857
83857
|
name: "日期时间范围",
|
|
83858
83858
|
icon: "fluent:calendar-clock-20-regular",
|
|
83859
83859
|
w: { initial: 14, min: 14, max: Infinity },
|
|
@@ -83869,7 +83869,7 @@ const HOUR_CYCLE_OPTIONS$2 = [
|
|
|
83869
83869
|
{ value: 24, label: "24 小时制" },
|
|
83870
83870
|
{ value: 12, label: "12 小时制" }
|
|
83871
83871
|
];
|
|
83872
|
-
function presetSchema$
|
|
83872
|
+
function presetSchema$4(configure) {
|
|
83873
83873
|
const CelDate = Expression({ configure, resultType: "Date" });
|
|
83874
83874
|
return Struct({
|
|
83875
83875
|
id: UUID.annotations({ description: "预设唯一标识,用于稳定的 v-for key" }),
|
|
@@ -83889,12 +83889,12 @@ function presetSchema$3(configure) {
|
|
|
83889
83889
|
title: "DateTimeRangeFieldPreset"
|
|
83890
83890
|
});
|
|
83891
83891
|
}
|
|
83892
|
-
function schema$
|
|
83892
|
+
function schema$1a(configure) {
|
|
83893
83893
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
83894
|
-
const Preset = presetSchema$
|
|
83894
|
+
const Preset = presetSchema$4(configure);
|
|
83895
83895
|
return Struct({
|
|
83896
|
-
type: Literal2(type$
|
|
83897
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
83896
|
+
type: Literal2(type$1a),
|
|
83897
|
+
compatibilityDate: Literal2(compatibilityDate$1a),
|
|
83898
83898
|
...commonFieldFields(configure),
|
|
83899
83899
|
label: optional(Locale.annotations({
|
|
83900
83900
|
title: "标签",
|
|
@@ -83913,7 +83913,7 @@ function schema$19(configure) {
|
|
|
83913
83913
|
description: "鼠标悬停在标签上时展示的说明"
|
|
83914
83914
|
})),
|
|
83915
83915
|
orientation: optional(FieldOrientationSchema),
|
|
83916
|
-
binding: optional(bindingSchema$
|
|
83916
|
+
binding: optional(bindingSchema$4),
|
|
83917
83917
|
disabled: optional(CelBool.annotations({
|
|
83918
83918
|
title: "禁用条件",
|
|
83919
83919
|
description: "返回 `true` 时输入框仍然渲染但不可编辑"
|
|
@@ -83956,7 +83956,7 @@ function schema$19(configure) {
|
|
|
83956
83956
|
description: "日期时间范围选择输入"
|
|
83957
83957
|
});
|
|
83958
83958
|
}
|
|
83959
|
-
function defaults$
|
|
83959
|
+
function defaults$F() {
|
|
83960
83960
|
return { rangeSeparatorIcon: "fluent:arrow-right-20-regular" };
|
|
83961
83961
|
}
|
|
83962
83962
|
const __vite_glob_0_8$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -83964,16 +83964,16 @@ const __vite_glob_0_8$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
|
|
|
83964
83964
|
HOUR_CYCLE_OPTIONS: HOUR_CYCLE_OPTIONS$2,
|
|
83965
83965
|
TIME_GRANULARITIES: TIME_GRANULARITIES$2,
|
|
83966
83966
|
TIME_GRANULARITY_OPTIONS: TIME_GRANULARITY_OPTIONS$2,
|
|
83967
|
-
compatibilityDate: compatibilityDate$
|
|
83968
|
-
defaults: defaults$
|
|
83969
|
-
metadata: metadata$
|
|
83970
|
-
presetSchema: presetSchema$
|
|
83971
|
-
schema: schema$
|
|
83972
|
-
type: type$
|
|
83967
|
+
compatibilityDate: compatibilityDate$1a,
|
|
83968
|
+
defaults: defaults$F,
|
|
83969
|
+
metadata: metadata$1a,
|
|
83970
|
+
presetSchema: presetSchema$4,
|
|
83971
|
+
schema: schema$1a,
|
|
83972
|
+
type: type$1a
|
|
83973
83973
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
83974
|
-
const type$
|
|
83975
|
-
const compatibilityDate$
|
|
83976
|
-
const metadata$
|
|
83974
|
+
const type$19 = "com.shwfed.form.field.time";
|
|
83975
|
+
const compatibilityDate$19 = "2026-04-27";
|
|
83976
|
+
const metadata$19 = {
|
|
83977
83977
|
name: "时间",
|
|
83978
83978
|
icon: "fluent:clock-20-regular",
|
|
83979
83979
|
w: { initial: 8, min: 4, max: Infinity },
|
|
@@ -83989,11 +83989,11 @@ const HOUR_CYCLE_OPTIONS$1 = [
|
|
|
83989
83989
|
{ value: 24, label: "24 小时制" },
|
|
83990
83990
|
{ value: 12, label: "12 小时制" }
|
|
83991
83991
|
];
|
|
83992
|
-
function schema$
|
|
83992
|
+
function schema$19(configure) {
|
|
83993
83993
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
83994
83994
|
return Struct({
|
|
83995
|
-
type: Literal2(type$
|
|
83996
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
83995
|
+
type: Literal2(type$19),
|
|
83996
|
+
compatibilityDate: Literal2(compatibilityDate$19),
|
|
83997
83997
|
...commonFieldFields(configure),
|
|
83998
83998
|
label: optional(Locale.annotations({
|
|
83999
83999
|
title: "标签",
|
|
@@ -84039,24 +84039,24 @@ const __vite_glob_0_9$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
|
|
|
84039
84039
|
HOUR_CYCLE_OPTIONS: HOUR_CYCLE_OPTIONS$1,
|
|
84040
84040
|
TIME_GRANULARITIES: TIME_GRANULARITIES$1,
|
|
84041
84041
|
TIME_GRANULARITY_OPTIONS: TIME_GRANULARITY_OPTIONS$1,
|
|
84042
|
-
compatibilityDate: compatibilityDate$
|
|
84043
|
-
metadata: metadata$
|
|
84044
|
-
schema: schema$
|
|
84045
|
-
type: type$
|
|
84042
|
+
compatibilityDate: compatibilityDate$19,
|
|
84043
|
+
metadata: metadata$19,
|
|
84044
|
+
schema: schema$19,
|
|
84045
|
+
type: type$19
|
|
84046
84046
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
84047
|
-
const type$
|
|
84048
|
-
const compatibilityDate$
|
|
84049
|
-
const BindingPath$
|
|
84050
|
-
const SplitBinding$
|
|
84047
|
+
const type$18 = "com.shwfed.form.field.timerange";
|
|
84048
|
+
const compatibilityDate$18 = "2026-04-27";
|
|
84049
|
+
const BindingPath$3 = String$.pipe(minLength(1));
|
|
84050
|
+
const SplitBinding$3 = Tuple(BindingPath$3, BindingPath$3).pipe(
|
|
84051
84051
|
filter(([a, b]) => a !== b, {
|
|
84052
84052
|
message: () => "起始与结束绑定路径不能相同"
|
|
84053
84053
|
})
|
|
84054
84054
|
);
|
|
84055
|
-
const bindingSchema$
|
|
84055
|
+
const bindingSchema$3 = Union2(BindingPath$3, SplitBinding$3).annotations({
|
|
84056
84056
|
title: "绑定路径",
|
|
84057
84057
|
description: "写入表单状态的 `dot-prop` 路径;填写单个路径时写入 `[start, end]` 字符串数组,例如 `meeting.timeRange`;填写 `[起始路径, 结束路径]` 元组时分别写入两端;留空则为非受控字段"
|
|
84058
84058
|
});
|
|
84059
|
-
const metadata$
|
|
84059
|
+
const metadata$18 = {
|
|
84060
84060
|
name: "时间范围",
|
|
84061
84061
|
icon: "fluent:clock-arrow-download-20-regular",
|
|
84062
84062
|
w: { initial: 14, min: 14, max: Infinity },
|
|
@@ -84072,11 +84072,11 @@ const HOUR_CYCLE_OPTIONS = [
|
|
|
84072
84072
|
{ value: 24, label: "24 小时制" },
|
|
84073
84073
|
{ value: 12, label: "12 小时制" }
|
|
84074
84074
|
];
|
|
84075
|
-
function schema$
|
|
84075
|
+
function schema$18(configure) {
|
|
84076
84076
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
84077
84077
|
return Struct({
|
|
84078
|
-
type: Literal2(type$
|
|
84079
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
84078
|
+
type: Literal2(type$18),
|
|
84079
|
+
compatibilityDate: Literal2(compatibilityDate$18),
|
|
84080
84080
|
...commonFieldFields(configure),
|
|
84081
84081
|
label: optional(Locale.annotations({
|
|
84082
84082
|
title: "标签",
|
|
@@ -84087,7 +84087,7 @@ function schema$17(configure) {
|
|
|
84087
84087
|
description: "鼠标悬停在标签上时展示的说明"
|
|
84088
84088
|
})),
|
|
84089
84089
|
orientation: optional(FieldOrientationSchema),
|
|
84090
|
-
binding: optional(bindingSchema$
|
|
84090
|
+
binding: optional(bindingSchema$3),
|
|
84091
84091
|
disabled: optional(CelBool.annotations({
|
|
84092
84092
|
title: "禁用条件",
|
|
84093
84093
|
description: "返回 `true` 时输入框仍然渲染但不可编辑"
|
|
@@ -84118,7 +84118,7 @@ function schema$17(configure) {
|
|
|
84118
84118
|
description: "时间范围选择输入"
|
|
84119
84119
|
});
|
|
84120
84120
|
}
|
|
84121
|
-
function defaults$
|
|
84121
|
+
function defaults$E() {
|
|
84122
84122
|
return { rangeSeparatorIcon: "fluent:arrow-right-20-regular" };
|
|
84123
84123
|
}
|
|
84124
84124
|
const __vite_glob_0_10$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -84126,13 +84126,13 @@ const __vite_glob_0_10$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.
|
|
|
84126
84126
|
HOUR_CYCLE_OPTIONS,
|
|
84127
84127
|
TIME_GRANULARITIES,
|
|
84128
84128
|
TIME_GRANULARITY_OPTIONS,
|
|
84129
|
-
compatibilityDate: compatibilityDate$
|
|
84130
|
-
defaults: defaults$
|
|
84131
|
-
metadata: metadata$
|
|
84132
|
-
schema: schema$
|
|
84133
|
-
type: type$
|
|
84129
|
+
compatibilityDate: compatibilityDate$18,
|
|
84130
|
+
defaults: defaults$E,
|
|
84131
|
+
metadata: metadata$18,
|
|
84132
|
+
schema: schema$18,
|
|
84133
|
+
type: type$18
|
|
84134
84134
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
84135
|
-
function AddonActions(configure) {
|
|
84135
|
+
function AddonActions$2(configure) {
|
|
84136
84136
|
const { groups, items: items2, ...rest } = ActionSchemaFields(configure).fields;
|
|
84137
84137
|
return Struct({
|
|
84138
84138
|
...rest,
|
|
@@ -84143,20 +84143,20 @@ function AddonActions(configure) {
|
|
|
84143
84143
|
description: "在输入框右侧内嵌一组操作按钮"
|
|
84144
84144
|
});
|
|
84145
84145
|
}
|
|
84146
|
-
const type$
|
|
84147
|
-
const compatibilityDate$
|
|
84148
|
-
const metadata$
|
|
84146
|
+
const type$17 = "com.shwfed.form.field.number";
|
|
84147
|
+
const compatibilityDate$17 = "2026-04-28";
|
|
84148
|
+
const metadata$17 = {
|
|
84149
84149
|
name: "数值输入",
|
|
84150
84150
|
icon: "fluent:number-symbol-20-regular",
|
|
84151
84151
|
w: { initial: 8, min: 4, max: Infinity },
|
|
84152
84152
|
h: { initial: 2, min: 2, max: 2 }
|
|
84153
84153
|
};
|
|
84154
|
-
function schema$
|
|
84154
|
+
function schema$17(configure) {
|
|
84155
84155
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
84156
84156
|
const CelNumber = Expression({ configure, resultType: "number" });
|
|
84157
84157
|
return Struct({
|
|
84158
|
-
type: Literal2(type$
|
|
84159
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
84158
|
+
type: Literal2(type$17),
|
|
84159
|
+
compatibilityDate: Literal2(compatibilityDate$17),
|
|
84160
84160
|
...commonFieldFields(configure),
|
|
84161
84161
|
label: optional(Locale.annotations({
|
|
84162
84162
|
title: "标签",
|
|
@@ -84208,7 +84208,7 @@ function schema$16(configure) {
|
|
|
84208
84208
|
title: "最大值",
|
|
84209
84209
|
description: "允许输入的最大值表达式;留空时不限制上限"
|
|
84210
84210
|
})),
|
|
84211
|
-
addon: optional(AddonActions(configure))
|
|
84211
|
+
addon: optional(AddonActions$2(configure))
|
|
84212
84212
|
}).annotations({
|
|
84213
84213
|
title: "NumberField",
|
|
84214
84214
|
description: "数值输入"
|
|
@@ -84216,35 +84216,35 @@ function schema$16(configure) {
|
|
|
84216
84216
|
}
|
|
84217
84217
|
const __vite_glob_0_11$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
84218
84218
|
__proto__: null,
|
|
84219
|
-
compatibilityDate: compatibilityDate$
|
|
84220
|
-
metadata: metadata$
|
|
84221
|
-
schema: schema$
|
|
84222
|
-
type: type$
|
|
84219
|
+
compatibilityDate: compatibilityDate$17,
|
|
84220
|
+
metadata: metadata$17,
|
|
84221
|
+
schema: schema$17,
|
|
84222
|
+
type: type$17
|
|
84223
84223
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
84224
|
-
const type$
|
|
84225
|
-
const compatibilityDate$
|
|
84226
|
-
const BindingPath$
|
|
84227
|
-
const SplitBinding$
|
|
84224
|
+
const type$16 = "com.shwfed.form.field.numberrange";
|
|
84225
|
+
const compatibilityDate$16 = "2026-04-28";
|
|
84226
|
+
const BindingPath$2 = String$.pipe(minLength(1));
|
|
84227
|
+
const SplitBinding$2 = Tuple(BindingPath$2, BindingPath$2).pipe(
|
|
84228
84228
|
filter(([a, b]) => a !== b, {
|
|
84229
84229
|
message: () => "起始与结束绑定路径不能相同"
|
|
84230
84230
|
})
|
|
84231
84231
|
);
|
|
84232
|
-
const bindingSchema$
|
|
84232
|
+
const bindingSchema$2 = Union2(BindingPath$2, SplitBinding$2).annotations({
|
|
84233
84233
|
title: "绑定路径",
|
|
84234
84234
|
description: "写入表单状态的 `dot-prop` 路径;填写单个路径时写入 `[start, end]` 数值数组,例如 `score.range`;填写 `[起始路径, 结束路径]` 元组时分别写入两端;留空则为非受控字段"
|
|
84235
84235
|
});
|
|
84236
|
-
const metadata$
|
|
84236
|
+
const metadata$16 = {
|
|
84237
84237
|
name: "数值范围",
|
|
84238
84238
|
icon: "fluent:arrow-bidirectional-left-right-20-regular",
|
|
84239
84239
|
w: { initial: 8, min: 4, max: Infinity },
|
|
84240
84240
|
h: { initial: 2, min: 2, max: 2 }
|
|
84241
84241
|
};
|
|
84242
|
-
function schema$
|
|
84242
|
+
function schema$16(configure) {
|
|
84243
84243
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
84244
84244
|
const CelNumber = Expression({ configure, resultType: "number" });
|
|
84245
84245
|
return Struct({
|
|
84246
|
-
type: Literal2(type$
|
|
84247
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
84246
|
+
type: Literal2(type$16),
|
|
84247
|
+
compatibilityDate: Literal2(compatibilityDate$16),
|
|
84248
84248
|
...commonFieldFields(configure),
|
|
84249
84249
|
label: optional(Locale.annotations({
|
|
84250
84250
|
title: "标签",
|
|
@@ -84263,7 +84263,7 @@ function schema$15(configure) {
|
|
|
84263
84263
|
description: "鼠标悬停在标签上时展示的说明"
|
|
84264
84264
|
})),
|
|
84265
84265
|
orientation: optional(FieldOrientationSchema),
|
|
84266
|
-
binding: optional(bindingSchema$
|
|
84266
|
+
binding: optional(bindingSchema$2),
|
|
84267
84267
|
disabled: optional(CelBool.annotations({
|
|
84268
84268
|
title: "禁用条件",
|
|
84269
84269
|
description: "返回 `true` 时输入框仍然渲染但不可编辑"
|
|
@@ -84306,30 +84306,30 @@ function schema$15(configure) {
|
|
|
84306
84306
|
description: "数值范围输入"
|
|
84307
84307
|
});
|
|
84308
84308
|
}
|
|
84309
|
-
function defaults$
|
|
84309
|
+
function defaults$D() {
|
|
84310
84310
|
return { rangeSeparatorIcon: "fluent:arrow-right-20-regular" };
|
|
84311
84311
|
}
|
|
84312
84312
|
const __vite_glob_0_12$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
84313
84313
|
__proto__: null,
|
|
84314
|
-
compatibilityDate: compatibilityDate$
|
|
84315
|
-
defaults: defaults$
|
|
84316
|
-
metadata: metadata$
|
|
84317
|
-
schema: schema$
|
|
84318
|
-
type: type$
|
|
84314
|
+
compatibilityDate: compatibilityDate$16,
|
|
84315
|
+
defaults: defaults$D,
|
|
84316
|
+
metadata: metadata$16,
|
|
84317
|
+
schema: schema$16,
|
|
84318
|
+
type: type$16
|
|
84319
84319
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
84320
|
-
const type$
|
|
84321
|
-
const compatibilityDate$
|
|
84322
|
-
const metadata$
|
|
84320
|
+
const type$15 = "com.shwfed.form.field.switch";
|
|
84321
|
+
const compatibilityDate$15 = "2026-04-28";
|
|
84322
|
+
const metadata$15 = {
|
|
84323
84323
|
name: "开关",
|
|
84324
84324
|
icon: "fluent:toggle-left-20-regular",
|
|
84325
84325
|
w: { initial: 4, min: 4, max: Infinity },
|
|
84326
84326
|
h: { initial: 2, min: 2, max: 2 }
|
|
84327
84327
|
};
|
|
84328
|
-
function schema$
|
|
84328
|
+
function schema$15(configure) {
|
|
84329
84329
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
84330
84330
|
return Struct({
|
|
84331
|
-
type: Literal2(type$
|
|
84332
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
84331
|
+
type: Literal2(type$15),
|
|
84332
|
+
compatibilityDate: Literal2(compatibilityDate$15),
|
|
84333
84333
|
...commonFieldFields(configure),
|
|
84334
84334
|
label: optional(Locale.annotations({
|
|
84335
84335
|
title: "标签",
|
|
@@ -84367,10 +84367,10 @@ function schema$14(configure) {
|
|
|
84367
84367
|
}
|
|
84368
84368
|
const __vite_glob_0_13$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
84369
84369
|
__proto__: null,
|
|
84370
|
-
compatibilityDate: compatibilityDate$
|
|
84371
|
-
metadata: metadata$
|
|
84372
|
-
schema: schema$
|
|
84373
|
-
type: type$
|
|
84370
|
+
compatibilityDate: compatibilityDate$15,
|
|
84371
|
+
metadata: metadata$15,
|
|
84372
|
+
schema: schema$15,
|
|
84373
|
+
type: type$15
|
|
84374
84374
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
84375
84375
|
const decodeCache = {};
|
|
84376
84376
|
function getDecodeCache(exclude2) {
|
|
@@ -89641,9 +89641,9 @@ function interpolateMarkdown(template, $cel, context2) {
|
|
|
89641
89641
|
}
|
|
89642
89642
|
});
|
|
89643
89643
|
}
|
|
89644
|
-
const type$
|
|
89645
|
-
const compatibilityDate$
|
|
89646
|
-
const metadata$
|
|
89644
|
+
const type$14 = "com.shwfed.form.field.combobox.single";
|
|
89645
|
+
const compatibilityDate$14 = "2026-04-29";
|
|
89646
|
+
const metadata$14 = {
|
|
89647
89647
|
name: "下拉单选(硬编码)",
|
|
89648
89648
|
icon: "fluent:chevron-down-20-regular",
|
|
89649
89649
|
w: { initial: 8, min: 4, max: Infinity },
|
|
@@ -89678,12 +89678,12 @@ function itemSchema$j(configure) {
|
|
|
89678
89678
|
title: "ComboboxSingleItem"
|
|
89679
89679
|
});
|
|
89680
89680
|
}
|
|
89681
|
-
function schema$
|
|
89681
|
+
function schema$14(configure) {
|
|
89682
89682
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
89683
89683
|
const Item = itemSchema$j(configure);
|
|
89684
89684
|
return Struct({
|
|
89685
|
-
type: Literal2(type$
|
|
89686
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
89685
|
+
type: Literal2(type$14),
|
|
89686
|
+
compatibilityDate: Literal2(compatibilityDate$14),
|
|
89687
89687
|
...commonFieldFields(configure),
|
|
89688
89688
|
label: optional(Locale.annotations({
|
|
89689
89689
|
title: "标签",
|
|
@@ -89775,23 +89775,23 @@ const migrate$m = (prev, ctx) => {
|
|
|
89775
89775
|
} = legacy;
|
|
89776
89776
|
return {
|
|
89777
89777
|
...carryover,
|
|
89778
|
-
compatibilityDate: compatibilityDate$
|
|
89778
|
+
compatibilityDate: compatibilityDate$14,
|
|
89779
89779
|
items: items2
|
|
89780
89780
|
};
|
|
89781
89781
|
});
|
|
89782
89782
|
};
|
|
89783
89783
|
const __vite_glob_0_14$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
89784
89784
|
__proto__: null,
|
|
89785
|
-
compatibilityDate: compatibilityDate$
|
|
89785
|
+
compatibilityDate: compatibilityDate$14,
|
|
89786
89786
|
itemSchema: itemSchema$j,
|
|
89787
|
-
metadata: metadata$
|
|
89787
|
+
metadata: metadata$14,
|
|
89788
89788
|
migrate: migrate$m,
|
|
89789
|
-
schema: schema$
|
|
89790
|
-
type: type$
|
|
89789
|
+
schema: schema$14,
|
|
89790
|
+
type: type$14
|
|
89791
89791
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
89792
|
-
const type$
|
|
89793
|
-
const compatibilityDate$
|
|
89794
|
-
const metadata$
|
|
89792
|
+
const type$13 = "com.shwfed.form.field.upload";
|
|
89793
|
+
const compatibilityDate$13 = "2026-05-12";
|
|
89794
|
+
const metadata$13 = {
|
|
89795
89795
|
name: "文件上传",
|
|
89796
89796
|
icon: "fluent:cloud-arrow-up-20-regular",
|
|
89797
89797
|
w: { initial: 8, min: 8, max: Infinity },
|
|
@@ -89808,14 +89808,14 @@ function configureWithJson$5(configure) {
|
|
|
89808
89808
|
env.registerVariable("json", JSON_VAR$5.type, { description: JSON_VAR$5.description });
|
|
89809
89809
|
};
|
|
89810
89810
|
}
|
|
89811
|
-
function schema$
|
|
89811
|
+
function schema$13(configure) {
|
|
89812
89812
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
89813
89813
|
const CelHttpRequest = Expression({ configure, resultType: "HttpRequest" });
|
|
89814
89814
|
const CelDownloadRequest = Expression({ configure: configureWithJson$5(configure), resultType: "HttpRequest" });
|
|
89815
89815
|
const LocaleMd = LocaleMarkdown({ configure });
|
|
89816
89816
|
return Struct({
|
|
89817
|
-
type: Literal2(type$
|
|
89818
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
89817
|
+
type: Literal2(type$13),
|
|
89818
|
+
compatibilityDate: Literal2(compatibilityDate$13),
|
|
89819
89819
|
...commonFieldFields(configure),
|
|
89820
89820
|
label: optional(Locale.annotations({
|
|
89821
89821
|
title: "标签",
|
|
@@ -89895,14 +89895,14 @@ function schema$12(configure) {
|
|
|
89895
89895
|
const __vite_glob_0_15$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
89896
89896
|
__proto__: null,
|
|
89897
89897
|
JSON_VAR: JSON_VAR$5,
|
|
89898
|
-
compatibilityDate: compatibilityDate$
|
|
89899
|
-
metadata: metadata$
|
|
89900
|
-
schema: schema$
|
|
89901
|
-
type: type$
|
|
89898
|
+
compatibilityDate: compatibilityDate$13,
|
|
89899
|
+
metadata: metadata$13,
|
|
89900
|
+
schema: schema$13,
|
|
89901
|
+
type: type$13
|
|
89902
89902
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
89903
|
-
const type$
|
|
89904
|
-
const compatibilityDate$
|
|
89905
|
-
const metadata$
|
|
89903
|
+
const type$12 = "com.shwfed.form.field.combobox.single.remote";
|
|
89904
|
+
const compatibilityDate$12 = "2026-05-13";
|
|
89905
|
+
const metadata$12 = {
|
|
89906
89906
|
name: "下拉单选(远程)",
|
|
89907
89907
|
icon: "fluent:cloud-arrow-down-20-regular",
|
|
89908
89908
|
w: { initial: 8, min: 4, max: Infinity },
|
|
@@ -89931,15 +89931,15 @@ function configureWithJson$4(configure) {
|
|
|
89931
89931
|
};
|
|
89932
89932
|
}
|
|
89933
89933
|
const isListType$g = (actual) => actual === "dyn" || actual.startsWith("list");
|
|
89934
|
-
function schema$
|
|
89934
|
+
function schema$12(configure) {
|
|
89935
89935
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
89936
89936
|
const CelHttpRequest = Expression({ configure, resultType: HttpRequestResult });
|
|
89937
89937
|
const CelOptions = Expression({ configure: configureWithJson$4(configure), resultType: isListType$g });
|
|
89938
89938
|
const CelOptionValue = Expression({ configure: configureWithOption$5(configure), resultType: "dyn" });
|
|
89939
89939
|
const LocaleOptionLabel = LocaleMarkdown({ configure: configureWithOption$5(configure) });
|
|
89940
89940
|
return Struct({
|
|
89941
|
-
type: Literal2(type$
|
|
89942
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
89941
|
+
type: Literal2(type$12),
|
|
89942
|
+
compatibilityDate: Literal2(compatibilityDate$12),
|
|
89943
89943
|
...commonFieldFields(configure),
|
|
89944
89944
|
label: optional(Locale.annotations({
|
|
89945
89945
|
title: "标签",
|
|
@@ -89992,14 +89992,14 @@ const __vite_glob_0_16$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.
|
|
|
89992
89992
|
__proto__: null,
|
|
89993
89993
|
JSON_VAR: JSON_VAR$4,
|
|
89994
89994
|
OPTION_VAR: OPTION_VAR$2,
|
|
89995
|
-
compatibilityDate: compatibilityDate$
|
|
89996
|
-
metadata: metadata$
|
|
89997
|
-
schema: schema$
|
|
89998
|
-
type: type$
|
|
89995
|
+
compatibilityDate: compatibilityDate$12,
|
|
89996
|
+
metadata: metadata$12,
|
|
89997
|
+
schema: schema$12,
|
|
89998
|
+
type: type$12
|
|
89999
89999
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
90000
|
-
const type$
|
|
90001
|
-
const compatibilityDate$
|
|
90002
|
-
const metadata$
|
|
90000
|
+
const type$11 = "com.shwfed.form.field.list";
|
|
90001
|
+
const compatibilityDate$11 = "2026-05-13";
|
|
90002
|
+
const metadata$11 = {
|
|
90003
90003
|
name: "列表",
|
|
90004
90004
|
icon: "fluent:list-20-regular",
|
|
90005
90005
|
w: { initial: 12, min: 4, max: Infinity },
|
|
@@ -90008,7 +90008,7 @@ const metadata$10 = {
|
|
|
90008
90008
|
// fullscreen inline-config pane; keep the (fullscreen-exiting) drill-down.
|
|
90009
90009
|
inlineConfig: false
|
|
90010
90010
|
};
|
|
90011
|
-
function schema$
|
|
90011
|
+
function schema$11(configure) {
|
|
90012
90012
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
90013
90013
|
const unitConfigure = (env) => {
|
|
90014
90014
|
configure(env);
|
|
@@ -90022,8 +90022,8 @@ function schema$10(configure) {
|
|
|
90022
90022
|
};
|
|
90023
90023
|
const Unit = suspend(() => FormUnit(unitConfigure));
|
|
90024
90024
|
return Struct({
|
|
90025
|
-
type: Literal2(type$
|
|
90026
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
90025
|
+
type: Literal2(type$11),
|
|
90026
|
+
compatibilityDate: Literal2(compatibilityDate$11),
|
|
90027
90027
|
...commonFieldFields(configure),
|
|
90028
90028
|
label: optional(Locale.annotations({
|
|
90029
90029
|
title: "标签",
|
|
@@ -90084,7 +90084,7 @@ function schema$10(configure) {
|
|
|
90084
90084
|
description: "可新增/删除/重排的同构子表单列表"
|
|
90085
90085
|
});
|
|
90086
90086
|
}
|
|
90087
|
-
function defaults$
|
|
90087
|
+
function defaults$C() {
|
|
90088
90088
|
return {
|
|
90089
90089
|
unit: {
|
|
90090
90090
|
fields: [],
|
|
@@ -90094,15 +90094,15 @@ function defaults$B() {
|
|
|
90094
90094
|
}
|
|
90095
90095
|
const __vite_glob_0_17$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
90096
90096
|
__proto__: null,
|
|
90097
|
-
compatibilityDate: compatibilityDate$
|
|
90098
|
-
defaults: defaults$
|
|
90099
|
-
metadata: metadata$
|
|
90100
|
-
schema: schema$
|
|
90101
|
-
type: type$
|
|
90097
|
+
compatibilityDate: compatibilityDate$11,
|
|
90098
|
+
defaults: defaults$C,
|
|
90099
|
+
metadata: metadata$11,
|
|
90100
|
+
schema: schema$11,
|
|
90101
|
+
type: type$11
|
|
90102
90102
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
90103
|
-
const type
|
|
90104
|
-
const compatibilityDate
|
|
90105
|
-
const metadata
|
|
90103
|
+
const type$10 = "com.shwfed.form.field.checkbox.group";
|
|
90104
|
+
const compatibilityDate$10 = "2026-05-17";
|
|
90105
|
+
const metadata$10 = {
|
|
90106
90106
|
name: "复选框组",
|
|
90107
90107
|
icon: "fluent:checkbox-checked-20-regular",
|
|
90108
90108
|
w: { initial: 8, min: 2, max: Infinity },
|
|
@@ -90137,12 +90137,12 @@ function itemSchema$i(configure) {
|
|
|
90137
90137
|
title: "CheckboxGroupItem"
|
|
90138
90138
|
});
|
|
90139
90139
|
}
|
|
90140
|
-
function schema
|
|
90140
|
+
function schema$10(configure) {
|
|
90141
90141
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
90142
90142
|
const Item = itemSchema$i(configure);
|
|
90143
90143
|
return Struct({
|
|
90144
|
-
type: Literal2(type
|
|
90145
|
-
compatibilityDate: Literal2(compatibilityDate
|
|
90144
|
+
type: Literal2(type$10),
|
|
90145
|
+
compatibilityDate: Literal2(compatibilityDate$10),
|
|
90146
90146
|
...commonFieldFields(configure),
|
|
90147
90147
|
label: optional(Locale.annotations({
|
|
90148
90148
|
title: "标签",
|
|
@@ -90176,15 +90176,15 @@ function schema$$(configure) {
|
|
|
90176
90176
|
}
|
|
90177
90177
|
const __vite_glob_0_18$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
90178
90178
|
__proto__: null,
|
|
90179
|
-
compatibilityDate: compatibilityDate
|
|
90179
|
+
compatibilityDate: compatibilityDate$10,
|
|
90180
90180
|
itemSchema: itemSchema$i,
|
|
90181
|
-
metadata: metadata
|
|
90182
|
-
schema: schema
|
|
90183
|
-
type: type
|
|
90181
|
+
metadata: metadata$10,
|
|
90182
|
+
schema: schema$10,
|
|
90183
|
+
type: type$10
|
|
90184
90184
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
90185
|
-
const type
|
|
90186
|
-
const compatibilityDate
|
|
90187
|
-
const metadata
|
|
90185
|
+
const type$$ = "com.shwfed.form.field.radio.group";
|
|
90186
|
+
const compatibilityDate$$ = "2026-05-17";
|
|
90187
|
+
const metadata$$ = {
|
|
90188
90188
|
name: "单选框组",
|
|
90189
90189
|
icon: "fluent:radio-button-20-regular",
|
|
90190
90190
|
w: { initial: 8, min: 2, max: Infinity },
|
|
@@ -90219,12 +90219,12 @@ function itemSchema$h(configure) {
|
|
|
90219
90219
|
title: "RadioGroupItem"
|
|
90220
90220
|
});
|
|
90221
90221
|
}
|
|
90222
|
-
function schema
|
|
90222
|
+
function schema$$(configure) {
|
|
90223
90223
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
90224
90224
|
const Item = itemSchema$h(configure);
|
|
90225
90225
|
return Struct({
|
|
90226
|
-
type: Literal2(type
|
|
90227
|
-
compatibilityDate: Literal2(compatibilityDate
|
|
90226
|
+
type: Literal2(type$$),
|
|
90227
|
+
compatibilityDate: Literal2(compatibilityDate$$),
|
|
90228
90228
|
...commonFieldFields(configure),
|
|
90229
90229
|
label: optional(Locale.annotations({
|
|
90230
90230
|
title: "标签",
|
|
@@ -90258,11 +90258,11 @@ function schema$_(configure) {
|
|
|
90258
90258
|
}
|
|
90259
90259
|
const __vite_glob_0_19$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
90260
90260
|
__proto__: null,
|
|
90261
|
-
compatibilityDate: compatibilityDate
|
|
90261
|
+
compatibilityDate: compatibilityDate$$,
|
|
90262
90262
|
itemSchema: itemSchema$h,
|
|
90263
|
-
metadata: metadata
|
|
90264
|
-
schema: schema
|
|
90265
|
-
type: type
|
|
90263
|
+
metadata: metadata$$,
|
|
90264
|
+
schema: schema$$,
|
|
90265
|
+
type: type$$
|
|
90266
90266
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
90267
90267
|
const Align = Literal2("left", "center", "right").annotations({
|
|
90268
90268
|
description: "对齐方式"
|
|
@@ -90279,10 +90279,14 @@ function columnFields(configure) {
|
|
|
90279
90279
|
return {
|
|
90280
90280
|
...columnIdentityFields(),
|
|
90281
90281
|
title: Locale.annotations({ title: "名称", description: "列标题" }),
|
|
90282
|
-
|
|
90282
|
+
// Optional: a purely visual column (icon, badge, computed-elsewhere cell)
|
|
90283
|
+
// may have no backing data path, letting designers refine the display layer
|
|
90284
|
+
// without an API contract first. Absent → the cell renders no data; present
|
|
90285
|
+
// → still validated as a CEL expression (empty string stays invalid).
|
|
90286
|
+
accessor: optional(CelRowAccess(configure).annotations({
|
|
90283
90287
|
title: "路径",
|
|
90284
|
-
description: "行数据访问 CEL 表达式,例如 `row.user.name
|
|
90285
|
-
}),
|
|
90288
|
+
description: "行数据访问 CEL 表达式,例如 `row.user.name`;可留空,留空时该列不读取数据(用于纯视觉列)"
|
|
90289
|
+
})),
|
|
90286
90290
|
enableSorting: optional(Boolean$.annotations({
|
|
90287
90291
|
title: "允许排序",
|
|
90288
90292
|
description: md$1`
|
|
@@ -90307,7 +90311,11 @@ function columnFields(configure) {
|
|
|
90307
90311
|
description: "指定一个合适的表格列宽度,当列内容长度大于这里指定的宽度后,会导致超出的部分被截断。"
|
|
90308
90312
|
})),
|
|
90309
90313
|
grow: optional(Boolean$.annotations({ title: "占据剩余宽度", description: "列是否占据剩余空余宽度" })),
|
|
90310
|
-
tooltip: optional(Locale.annotations({ title: "提示", description: "列标题悬浮提示,支持 Markdown" }))
|
|
90314
|
+
tooltip: optional(Locale.annotations({ title: "提示", description: "列标题悬浮提示,支持 Markdown" })),
|
|
90315
|
+
hidden: optional(Boolean$.annotations({
|
|
90316
|
+
title: "默认隐藏",
|
|
90317
|
+
description: "开启后该列默认隐藏;使用者可在表格的列设置中重新显示。仅作为初始状态,不随数据变化"
|
|
90318
|
+
}))
|
|
90311
90319
|
};
|
|
90312
90320
|
}
|
|
90313
90321
|
function editableColumnFields() {
|
|
@@ -90331,7 +90339,11 @@ function editableColumnFields() {
|
|
|
90331
90339
|
description: "指定一个合适的表格列宽度,当列内容长度大于这里指定的宽度后,会导致超出的部分被截断。"
|
|
90332
90340
|
})),
|
|
90333
90341
|
grow: optional(Boolean$.annotations({ title: "占据剩余宽度", description: "列是否占据剩余空余宽度" })),
|
|
90334
|
-
tooltip: optional(Locale.annotations({ title: "提示", description: "列标题悬浮提示,支持 Markdown" }))
|
|
90342
|
+
tooltip: optional(Locale.annotations({ title: "提示", description: "列标题悬浮提示,支持 Markdown" })),
|
|
90343
|
+
hidden: optional(Boolean$.annotations({
|
|
90344
|
+
title: "默认隐藏",
|
|
90345
|
+
description: "开启后该列默认隐藏;使用者可在表格的列设置中重新显示。仅作为初始状态,不随数据变化"
|
|
90346
|
+
}))
|
|
90335
90347
|
};
|
|
90336
90348
|
}
|
|
90337
90349
|
const EDITABLE_HEADER_MARKER = /* @__PURE__ */ Symbol("shwfed-editable-header");
|
|
@@ -90367,14 +90379,14 @@ function LocaleMarkdownWithRow(configure) {
|
|
|
90367
90379
|
function derivedRowField(configure, resultType) {
|
|
90368
90380
|
return derivedField(configureWithRow(configure), resultType);
|
|
90369
90381
|
}
|
|
90370
|
-
const type$
|
|
90371
|
-
const compatibilityDate$
|
|
90372
|
-
const metadata$
|
|
90382
|
+
const type$_ = "com.shwfed.table.column.actions";
|
|
90383
|
+
const compatibilityDate$_ = "2026-04-14";
|
|
90384
|
+
const metadata$_ = {
|
|
90373
90385
|
name: "操作",
|
|
90374
90386
|
icon: "fluent:cursor-click-20-regular"
|
|
90375
90387
|
};
|
|
90376
90388
|
const registerRowVariables = registerRowVariablesIfAbsent;
|
|
90377
|
-
function schema$
|
|
90389
|
+
function schema$_(configure) {
|
|
90378
90390
|
const configureWithRow2 = (env) => {
|
|
90379
90391
|
configure(env);
|
|
90380
90392
|
registerRowVariables(env);
|
|
@@ -90382,8 +90394,8 @@ function schema$Z(configure) {
|
|
|
90382
90394
|
const { fields: actionFields } = ActionSchemaFields(configureWithRow2);
|
|
90383
90395
|
const { size: _buttonSize, ...actionFieldsForColumn } = actionFields;
|
|
90384
90396
|
return Struct({
|
|
90385
|
-
type: Literal2(type$
|
|
90386
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
90397
|
+
type: Literal2(type$_),
|
|
90398
|
+
compatibilityDate: Literal2(compatibilityDate$_),
|
|
90387
90399
|
...columnIdentityFields(),
|
|
90388
90400
|
title: optional(Locale.annotations({ title: "标题", description: "列标题" })),
|
|
90389
90401
|
size: optional(Number$.pipe(finite(), positive()).annotations({
|
|
@@ -90397,7 +90409,7 @@ function schema$Z(configure) {
|
|
|
90397
90409
|
...actionFieldsForColumn
|
|
90398
90410
|
}).annotations({ title: "ActionsRenderer", description: "操作渲染器" });
|
|
90399
90411
|
}
|
|
90400
|
-
function defaults$
|
|
90412
|
+
function defaults$B() {
|
|
90401
90413
|
return {
|
|
90402
90414
|
title: [{ locale: "zh", message: "" }],
|
|
90403
90415
|
size: 200,
|
|
@@ -90405,7 +90417,7 @@ function defaults$A() {
|
|
|
90405
90417
|
items: []
|
|
90406
90418
|
};
|
|
90407
90419
|
}
|
|
90408
|
-
function toColumnDef$
|
|
90420
|
+
function toColumnDef$z(value, { getLocaleText }) {
|
|
90409
90421
|
return {
|
|
90410
90422
|
header: value.title ? getLocaleText(value.title) : void 0,
|
|
90411
90423
|
enableSorting: false,
|
|
@@ -90418,24 +90430,24 @@ function toColumnDef$y(value, { getLocaleText }) {
|
|
|
90418
90430
|
}
|
|
90419
90431
|
const __vite_glob_0_0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
90420
90432
|
__proto__: null,
|
|
90421
|
-
compatibilityDate: compatibilityDate$
|
|
90422
|
-
defaults: defaults$
|
|
90423
|
-
metadata: metadata$
|
|
90433
|
+
compatibilityDate: compatibilityDate$_,
|
|
90434
|
+
defaults: defaults$B,
|
|
90435
|
+
metadata: metadata$_,
|
|
90424
90436
|
registerRowVariables,
|
|
90425
|
-
schema: schema$
|
|
90426
|
-
toColumnDef: toColumnDef$
|
|
90427
|
-
type: type$
|
|
90437
|
+
schema: schema$_,
|
|
90438
|
+
toColumnDef: toColumnDef$z,
|
|
90439
|
+
type: type$_
|
|
90428
90440
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
90429
|
-
const type$
|
|
90430
|
-
const compatibilityDate$
|
|
90431
|
-
const metadata$
|
|
90441
|
+
const type$Z = "com.shwfed.table.column.date";
|
|
90442
|
+
const compatibilityDate$Z = "2026-04-14";
|
|
90443
|
+
const metadata$Z = {
|
|
90432
90444
|
name: "日期",
|
|
90433
90445
|
icon: "fluent:calendar-ltr-20-regular"
|
|
90434
90446
|
};
|
|
90435
|
-
function schema$
|
|
90447
|
+
function schema$Z(configure) {
|
|
90436
90448
|
return Struct({
|
|
90437
|
-
type: Literal2(type$
|
|
90438
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
90449
|
+
type: Literal2(type$Z),
|
|
90450
|
+
compatibilityDate: Literal2(compatibilityDate$Z),
|
|
90439
90451
|
...columnFields(configure),
|
|
90440
90452
|
align: optionalWith(Align.annotations({ title: "对齐" }), { default: () => "left" }),
|
|
90441
90453
|
format: String$.annotations({
|
|
@@ -90446,18 +90458,18 @@ function schema$Y(configure) {
|
|
|
90446
90458
|
})
|
|
90447
90459
|
}).annotations({ title: "DateRenderer", description: "日期渲染器" });
|
|
90448
90460
|
}
|
|
90449
|
-
function defaults$
|
|
90461
|
+
function defaults$A() {
|
|
90450
90462
|
return {
|
|
90451
90463
|
title: [{ locale: "zh", message: "" }],
|
|
90452
|
-
accessor: "",
|
|
90453
90464
|
format: "yyyy-MM-dd",
|
|
90454
90465
|
size: 120
|
|
90455
90466
|
};
|
|
90456
90467
|
}
|
|
90457
|
-
function toColumnDef$
|
|
90468
|
+
function toColumnDef$y(value, { getLocaleText, $cel, inheritedContext }) {
|
|
90458
90469
|
return {
|
|
90459
90470
|
header: getLocaleText(value.title),
|
|
90460
90471
|
accessorFn: (row, index) => {
|
|
90472
|
+
if (!value.accessor) return void 0;
|
|
90461
90473
|
try {
|
|
90462
90474
|
return runSync($cel(value.accessor, { ...inheritedContext, row, index }));
|
|
90463
90475
|
} catch (e) {
|
|
@@ -90475,28 +90487,31 @@ function toColumnDef$x(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
90475
90487
|
}
|
|
90476
90488
|
const __vite_glob_0_1$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
90477
90489
|
__proto__: null,
|
|
90478
|
-
compatibilityDate: compatibilityDate$
|
|
90479
|
-
defaults: defaults$
|
|
90480
|
-
metadata: metadata$
|
|
90481
|
-
schema: schema$
|
|
90482
|
-
toColumnDef: toColumnDef$
|
|
90483
|
-
type: type$
|
|
90490
|
+
compatibilityDate: compatibilityDate$Z,
|
|
90491
|
+
defaults: defaults$A,
|
|
90492
|
+
metadata: metadata$Z,
|
|
90493
|
+
schema: schema$Z,
|
|
90494
|
+
toColumnDef: toColumnDef$y,
|
|
90495
|
+
type: type$Z
|
|
90484
90496
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
90485
|
-
const type$
|
|
90486
|
-
const compatibilityDate$
|
|
90487
|
-
const metadata$
|
|
90497
|
+
const type$Y = "com.shwfed.table.column.icon";
|
|
90498
|
+
const compatibilityDate$Y = "2026-04-14";
|
|
90499
|
+
const metadata$Y = {
|
|
90488
90500
|
name: "图标",
|
|
90489
90501
|
icon: "fluent:shapes-20-regular"
|
|
90490
90502
|
};
|
|
90491
|
-
function schema$
|
|
90503
|
+
function schema$Y(configure) {
|
|
90492
90504
|
return Struct({
|
|
90493
|
-
type: Literal2(type$
|
|
90494
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
90505
|
+
type: Literal2(type$Y),
|
|
90506
|
+
compatibilityDate: Literal2(compatibilityDate$Y),
|
|
90495
90507
|
...columnFields(configure),
|
|
90496
|
-
|
|
90508
|
+
// Optional like every non-editable column's path: an icon column may carry
|
|
90509
|
+
// no data binding (a fixed decorative cell), letting designers build the
|
|
90510
|
+
// visual layer before any API contract exists.
|
|
90511
|
+
accessor: optional(CelRowAccess(configure).annotations({
|
|
90497
90512
|
title: "图标",
|
|
90498
|
-
description: "图标名称 CEL 表达式(Iconify 标识符),例如 `row.iconName
|
|
90499
|
-
}),
|
|
90513
|
+
description: "图标名称 CEL 表达式(Iconify 标识符),例如 `row.iconName`;可留空,留空时不渲染图标"
|
|
90514
|
+
})),
|
|
90500
90515
|
color: optional(
|
|
90501
90516
|
CelRowAccess(configure, { resultType: "string" }).annotations({
|
|
90502
90517
|
title: "颜色",
|
|
@@ -90506,17 +90521,17 @@ function schema$X(configure) {
|
|
|
90506
90521
|
align: optionalWith(Align.annotations({ title: "对齐" }), { default: () => "center" })
|
|
90507
90522
|
}).annotations({ title: "IconRenderer", description: "图标渲染器" });
|
|
90508
90523
|
}
|
|
90509
|
-
function defaults$
|
|
90524
|
+
function defaults$z() {
|
|
90510
90525
|
return {
|
|
90511
90526
|
title: [{ locale: "zh", message: "" }],
|
|
90512
|
-
accessor: "",
|
|
90513
90527
|
size: 120
|
|
90514
90528
|
};
|
|
90515
90529
|
}
|
|
90516
|
-
function toColumnDef$
|
|
90530
|
+
function toColumnDef$x(value, { getLocaleText, $cel, inheritedContext }) {
|
|
90517
90531
|
return {
|
|
90518
90532
|
header: getLocaleText(value.title),
|
|
90519
90533
|
accessorFn: (row, index) => {
|
|
90534
|
+
if (!value.accessor) return void 0;
|
|
90520
90535
|
try {
|
|
90521
90536
|
return runSync($cel(value.accessor, { ...inheritedContext, row, index }));
|
|
90522
90537
|
} catch (e) {
|
|
@@ -90534,26 +90549,26 @@ function toColumnDef$w(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
90534
90549
|
}
|
|
90535
90550
|
const __vite_glob_0_2$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
90536
90551
|
__proto__: null,
|
|
90537
|
-
compatibilityDate: compatibilityDate$
|
|
90538
|
-
defaults: defaults$
|
|
90539
|
-
metadata: metadata$
|
|
90540
|
-
schema: schema$
|
|
90541
|
-
toColumnDef: toColumnDef$
|
|
90542
|
-
type: type$
|
|
90552
|
+
compatibilityDate: compatibilityDate$Y,
|
|
90553
|
+
defaults: defaults$z,
|
|
90554
|
+
metadata: metadata$Y,
|
|
90555
|
+
schema: schema$Y,
|
|
90556
|
+
toColumnDef: toColumnDef$x,
|
|
90557
|
+
type: type$Y
|
|
90543
90558
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
90544
|
-
const type$
|
|
90545
|
-
const compatibilityDate$
|
|
90546
|
-
const metadata$
|
|
90559
|
+
const type$X = "com.shwfed.table.column.markdown";
|
|
90560
|
+
const compatibilityDate$X = "2026-04-14";
|
|
90561
|
+
const metadata$X = {
|
|
90547
90562
|
name: "MD",
|
|
90548
90563
|
icon: "fluent:markdown-20-regular"
|
|
90549
90564
|
};
|
|
90550
90565
|
const isCopyExpressionType$1 = (t) => t === "string" || t === "dyn" || t.startsWith("optional");
|
|
90551
|
-
function schema$
|
|
90566
|
+
function schema$X(configure) {
|
|
90552
90567
|
const cel = CelRowAccess(configure, { resultType: isCopyExpressionType$1 });
|
|
90553
90568
|
const localeMarkdown = LocaleMarkdownWithRow(configure);
|
|
90554
90569
|
return Struct({
|
|
90555
|
-
type: Literal2(type$
|
|
90556
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
90570
|
+
type: Literal2(type$X),
|
|
90571
|
+
compatibilityDate: Literal2(compatibilityDate$X),
|
|
90557
90572
|
...columnIdentityFields(),
|
|
90558
90573
|
title: Locale.annotations({ title: "标题", description: "列标题" }),
|
|
90559
90574
|
align: optionalWith(Align.annotations({ title: "对齐" }), { default: () => "left" }),
|
|
@@ -90579,14 +90594,14 @@ function schema$W(configure) {
|
|
|
90579
90594
|
}))
|
|
90580
90595
|
}).annotations({ title: "MarkdownRenderer", description: "MD" });
|
|
90581
90596
|
}
|
|
90582
|
-
function defaults$
|
|
90597
|
+
function defaults$y() {
|
|
90583
90598
|
return {
|
|
90584
90599
|
title: [{ locale: "zh", message: "" }],
|
|
90585
90600
|
markdown: [{ locale: "zh", message: "" }],
|
|
90586
90601
|
size: 120
|
|
90587
90602
|
};
|
|
90588
90603
|
}
|
|
90589
|
-
function toColumnDef$
|
|
90604
|
+
function toColumnDef$w(value, { getLocaleText }) {
|
|
90590
90605
|
return {
|
|
90591
90606
|
header: getLocaleText(value.title),
|
|
90592
90607
|
enableSorting: false,
|
|
@@ -90599,23 +90614,23 @@ function toColumnDef$v(value, { getLocaleText }) {
|
|
|
90599
90614
|
}
|
|
90600
90615
|
const __vite_glob_0_3$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
90601
90616
|
__proto__: null,
|
|
90602
|
-
compatibilityDate: compatibilityDate$
|
|
90603
|
-
defaults: defaults$
|
|
90604
|
-
metadata: metadata$
|
|
90605
|
-
schema: schema$
|
|
90606
|
-
toColumnDef: toColumnDef$
|
|
90607
|
-
type: type$
|
|
90617
|
+
compatibilityDate: compatibilityDate$X,
|
|
90618
|
+
defaults: defaults$y,
|
|
90619
|
+
metadata: metadata$X,
|
|
90620
|
+
schema: schema$X,
|
|
90621
|
+
toColumnDef: toColumnDef$w,
|
|
90622
|
+
type: type$X
|
|
90608
90623
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
90609
|
-
const type$
|
|
90610
|
-
const compatibilityDate$
|
|
90611
|
-
const metadata$
|
|
90624
|
+
const type$W = "com.shwfed.table.column.number";
|
|
90625
|
+
const compatibilityDate$W = "2026-04-14";
|
|
90626
|
+
const metadata$W = {
|
|
90612
90627
|
name: "数值",
|
|
90613
90628
|
icon: "fluent:number-symbol-20-regular"
|
|
90614
90629
|
};
|
|
90615
|
-
function schema$
|
|
90630
|
+
function schema$W(configure) {
|
|
90616
90631
|
return Struct({
|
|
90617
|
-
type: Literal2(type$
|
|
90618
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
90632
|
+
type: Literal2(type$W),
|
|
90633
|
+
compatibilityDate: Literal2(compatibilityDate$W),
|
|
90619
90634
|
...columnFields(configure),
|
|
90620
90635
|
align: optionalWith(Align.annotations({ title: "对齐" }), { default: () => "right" }),
|
|
90621
90636
|
displayMode: optionalWith(
|
|
@@ -90635,18 +90650,18 @@ function schema$V(configure) {
|
|
|
90635
90650
|
}))
|
|
90636
90651
|
}).annotations({ title: "NumberRenderer", description: "数值渲染器" });
|
|
90637
90652
|
}
|
|
90638
|
-
function defaults$
|
|
90653
|
+
function defaults$x() {
|
|
90639
90654
|
return {
|
|
90640
90655
|
title: [{ locale: "zh", message: "" }],
|
|
90641
|
-
accessor: "",
|
|
90642
90656
|
size: 120,
|
|
90643
90657
|
align: "right"
|
|
90644
90658
|
};
|
|
90645
90659
|
}
|
|
90646
|
-
function toColumnDef$
|
|
90660
|
+
function toColumnDef$v(value, { getLocaleText, $cel, inheritedContext }) {
|
|
90647
90661
|
return {
|
|
90648
90662
|
header: getLocaleText(value.title),
|
|
90649
90663
|
accessorFn: (row, index) => {
|
|
90664
|
+
if (!value.accessor) return void 0;
|
|
90650
90665
|
try {
|
|
90651
90666
|
return runSync($cel(value.accessor, { ...inheritedContext, row, index }));
|
|
90652
90667
|
} catch (e) {
|
|
@@ -90664,25 +90679,25 @@ function toColumnDef$u(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
90664
90679
|
}
|
|
90665
90680
|
const __vite_glob_0_4$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
90666
90681
|
__proto__: null,
|
|
90667
|
-
compatibilityDate: compatibilityDate$
|
|
90668
|
-
defaults: defaults$
|
|
90669
|
-
metadata: metadata$
|
|
90670
|
-
schema: schema$
|
|
90671
|
-
toColumnDef: toColumnDef$
|
|
90672
|
-
type: type$
|
|
90682
|
+
compatibilityDate: compatibilityDate$W,
|
|
90683
|
+
defaults: defaults$x,
|
|
90684
|
+
metadata: metadata$W,
|
|
90685
|
+
schema: schema$W,
|
|
90686
|
+
toColumnDef: toColumnDef$v,
|
|
90687
|
+
type: type$W
|
|
90673
90688
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
90674
90689
|
const __vite_glob_2_9 = {};
|
|
90675
90690
|
const _stubVue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
90676
90691
|
__proto__: null,
|
|
90677
90692
|
default: __vite_glob_2_9
|
|
90678
90693
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
90679
|
-
const type$
|
|
90680
|
-
const compatibilityDate$
|
|
90681
|
-
const metadata$
|
|
90694
|
+
const type$V = "com.shwfed.table.column.select";
|
|
90695
|
+
const compatibilityDate$V = "2026-04-14";
|
|
90696
|
+
const metadata$V = {
|
|
90682
90697
|
name: "选择",
|
|
90683
90698
|
icon: "fluent:checkbox-checked-20-regular"
|
|
90684
90699
|
};
|
|
90685
|
-
function schema$
|
|
90700
|
+
function schema$V(configure) {
|
|
90686
90701
|
const CelRowSelectionPredicate = Expression({
|
|
90687
90702
|
configure: (env) => {
|
|
90688
90703
|
configure(env);
|
|
@@ -90691,8 +90706,8 @@ function schema$U(configure) {
|
|
|
90691
90706
|
resultType: "bool"
|
|
90692
90707
|
});
|
|
90693
90708
|
return Struct({
|
|
90694
|
-
type: Literal2(type$
|
|
90695
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
90709
|
+
type: Literal2(type$V),
|
|
90710
|
+
compatibilityDate: Literal2(compatibilityDate$V),
|
|
90696
90711
|
...columnIdentityFields(),
|
|
90697
90712
|
mode: optionalWith(Literal2("radio", "checkbox").annotations({
|
|
90698
90713
|
title: "模式",
|
|
@@ -90708,12 +90723,12 @@ function schema$U(configure) {
|
|
|
90708
90723
|
})
|
|
90709
90724
|
}).annotations({ title: "SelectRenderer", description: "选择渲染器" });
|
|
90710
90725
|
}
|
|
90711
|
-
function defaults$
|
|
90726
|
+
function defaults$w() {
|
|
90712
90727
|
return {
|
|
90713
90728
|
mode: "checkbox"
|
|
90714
90729
|
};
|
|
90715
90730
|
}
|
|
90716
|
-
function toColumnDef$
|
|
90731
|
+
function toColumnDef$u(value) {
|
|
90717
90732
|
return {
|
|
90718
90733
|
header: (ctx) => vueExports.h(__vite_glob_2_9, { column: value, ctx }),
|
|
90719
90734
|
size: 40,
|
|
@@ -90724,25 +90739,25 @@ function toColumnDef$t(value) {
|
|
|
90724
90739
|
}
|
|
90725
90740
|
const __vite_glob_0_5$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
90726
90741
|
__proto__: null,
|
|
90727
|
-
compatibilityDate: compatibilityDate$
|
|
90728
|
-
defaults: defaults$
|
|
90729
|
-
metadata: metadata$
|
|
90730
|
-
schema: schema$
|
|
90731
|
-
toColumnDef: toColumnDef$
|
|
90732
|
-
type: type$
|
|
90742
|
+
compatibilityDate: compatibilityDate$V,
|
|
90743
|
+
defaults: defaults$w,
|
|
90744
|
+
metadata: metadata$V,
|
|
90745
|
+
schema: schema$V,
|
|
90746
|
+
toColumnDef: toColumnDef$u,
|
|
90747
|
+
type: type$V
|
|
90733
90748
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
90734
|
-
const type$
|
|
90735
|
-
const compatibilityDate$
|
|
90736
|
-
const metadata$
|
|
90749
|
+
const type$U = "com.shwfed.table.column.text";
|
|
90750
|
+
const compatibilityDate$U = "2026-04-14";
|
|
90751
|
+
const metadata$U = {
|
|
90737
90752
|
name: "文本",
|
|
90738
90753
|
icon: "fluent:text-field-20-regular"
|
|
90739
90754
|
};
|
|
90740
90755
|
const isCopyExpressionType = (t) => t === "string" || t === "dyn" || t.startsWith("optional");
|
|
90741
|
-
function schema$
|
|
90756
|
+
function schema$U(configure) {
|
|
90742
90757
|
const cel = CelRowAccess(configure, { resultType: isCopyExpressionType });
|
|
90743
90758
|
return Struct({
|
|
90744
|
-
type: Literal2(type$
|
|
90745
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
90759
|
+
type: Literal2(type$U),
|
|
90760
|
+
compatibilityDate: Literal2(compatibilityDate$U),
|
|
90746
90761
|
...columnFields(configure),
|
|
90747
90762
|
align: optionalWith(Align.annotations({ title: "对齐" }), { default: () => "left" }),
|
|
90748
90763
|
displayMode: optionalWith(
|
|
@@ -90758,17 +90773,17 @@ function schema$T(configure) {
|
|
|
90758
90773
|
}))
|
|
90759
90774
|
}).annotations({ title: "TextRenderer", description: "文本渲染器" });
|
|
90760
90775
|
}
|
|
90761
|
-
function defaults$
|
|
90776
|
+
function defaults$v() {
|
|
90762
90777
|
return {
|
|
90763
90778
|
title: [{ locale: "zh", message: "" }],
|
|
90764
|
-
accessor: "",
|
|
90765
90779
|
size: 120
|
|
90766
90780
|
};
|
|
90767
90781
|
}
|
|
90768
|
-
function toColumnDef$
|
|
90782
|
+
function toColumnDef$t(value, { getLocaleText, $cel, inheritedContext }) {
|
|
90769
90783
|
return {
|
|
90770
90784
|
header: getLocaleText(value.title),
|
|
90771
90785
|
accessorFn: (row, index) => {
|
|
90786
|
+
if (!value.accessor) return void 0;
|
|
90772
90787
|
try {
|
|
90773
90788
|
return runSync($cel(value.accessor, { ...inheritedContext, row, index }));
|
|
90774
90789
|
} catch (e) {
|
|
@@ -90787,20 +90802,20 @@ function toColumnDef$s(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
90787
90802
|
}
|
|
90788
90803
|
const __vite_glob_0_6$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
90789
90804
|
__proto__: null,
|
|
90790
|
-
compatibilityDate: compatibilityDate$
|
|
90791
|
-
defaults: defaults$
|
|
90792
|
-
metadata: metadata$
|
|
90793
|
-
schema: schema$
|
|
90794
|
-
toColumnDef: toColumnDef$
|
|
90795
|
-
type: type$
|
|
90805
|
+
compatibilityDate: compatibilityDate$U,
|
|
90806
|
+
defaults: defaults$v,
|
|
90807
|
+
metadata: metadata$U,
|
|
90808
|
+
schema: schema$U,
|
|
90809
|
+
toColumnDef: toColumnDef$t,
|
|
90810
|
+
type: type$U
|
|
90796
90811
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
90797
|
-
const type$
|
|
90798
|
-
const compatibilityDate$
|
|
90799
|
-
const metadata$
|
|
90812
|
+
const type$T = "com.shwfed.table.column.switch.remote";
|
|
90813
|
+
const compatibilityDate$T = "2026-05-13";
|
|
90814
|
+
const metadata$T = {
|
|
90800
90815
|
name: "开关(远程)",
|
|
90801
90816
|
icon: "fluent:toggle-left-20-regular"
|
|
90802
90817
|
};
|
|
90803
|
-
function schema$
|
|
90818
|
+
function schema$T(configure) {
|
|
90804
90819
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
90805
90820
|
const CelOnChange = Expression({
|
|
90806
90821
|
configure: (env) => {
|
|
@@ -90818,8 +90833,8 @@ function schema$S(configure) {
|
|
|
90818
90833
|
resultType: "string"
|
|
90819
90834
|
});
|
|
90820
90835
|
return Struct({
|
|
90821
|
-
type: Literal2(type$
|
|
90822
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
90836
|
+
type: Literal2(type$T),
|
|
90837
|
+
compatibilityDate: Literal2(compatibilityDate$T),
|
|
90823
90838
|
...columnFields(configure),
|
|
90824
90839
|
align: optionalWith(Align.annotations({ title: "对齐" }), { default: () => "center" }),
|
|
90825
90840
|
disabled: optional(CelBool.annotations({
|
|
@@ -90840,29 +90855,29 @@ function schema$S(configure) {
|
|
|
90840
90855
|
}))
|
|
90841
90856
|
}).annotations({ title: "SwitchRenderer", description: "开关渲染器(可编辑)" });
|
|
90842
90857
|
}
|
|
90843
|
-
function defaults$
|
|
90858
|
+
function defaults$u() {
|
|
90844
90859
|
return {
|
|
90845
90860
|
title: [{ locale: "zh", message: "" }],
|
|
90846
|
-
accessor: "",
|
|
90847
90861
|
size: 120
|
|
90848
90862
|
};
|
|
90849
90863
|
}
|
|
90850
90864
|
const migrateFrom$k = [
|
|
90851
|
-
{ type: "com.shwfed.table.column.switch", compatibilityDate: compatibilityDate$
|
|
90865
|
+
{ type: "com.shwfed.table.column.switch", compatibilityDate: compatibilityDate$T }
|
|
90852
90866
|
];
|
|
90853
90867
|
const migrate$l = (prev) => try_({
|
|
90854
90868
|
try: () => {
|
|
90855
90869
|
if (!prev || typeof prev !== "object") {
|
|
90856
90870
|
throw new Error("开关(远程)迁移失败:原值不是对象");
|
|
90857
90871
|
}
|
|
90858
|
-
return { ...prev, type: type$
|
|
90872
|
+
return { ...prev, type: type$T, compatibilityDate: compatibilityDate$T };
|
|
90859
90873
|
},
|
|
90860
90874
|
catch: (e) => e instanceof Error ? e : new Error(String(e))
|
|
90861
90875
|
});
|
|
90862
|
-
function toColumnDef$
|
|
90876
|
+
function toColumnDef$s(value, { getLocaleText, $cel, inheritedContext }) {
|
|
90863
90877
|
return {
|
|
90864
90878
|
header: getLocaleText(value.title),
|
|
90865
90879
|
accessorFn: (row, index) => {
|
|
90880
|
+
if (!value.accessor) return void 0;
|
|
90866
90881
|
try {
|
|
90867
90882
|
return runSync($cel(value.accessor, { ...inheritedContext, row, index }));
|
|
90868
90883
|
} catch (e) {
|
|
@@ -90881,22 +90896,22 @@ function toColumnDef$r(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
90881
90896
|
}
|
|
90882
90897
|
const __vite_glob_0_7$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
90883
90898
|
__proto__: null,
|
|
90884
|
-
compatibilityDate: compatibilityDate$
|
|
90885
|
-
defaults: defaults$
|
|
90886
|
-
metadata: metadata$
|
|
90899
|
+
compatibilityDate: compatibilityDate$T,
|
|
90900
|
+
defaults: defaults$u,
|
|
90901
|
+
metadata: metadata$T,
|
|
90887
90902
|
migrate: migrate$l,
|
|
90888
90903
|
migrateFrom: migrateFrom$k,
|
|
90889
|
-
schema: schema$
|
|
90890
|
-
toColumnDef: toColumnDef$
|
|
90891
|
-
type: type$
|
|
90904
|
+
schema: schema$T,
|
|
90905
|
+
toColumnDef: toColumnDef$s,
|
|
90906
|
+
type: type$T
|
|
90892
90907
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
90893
|
-
const type$
|
|
90894
|
-
const compatibilityDate$
|
|
90895
|
-
const metadata$
|
|
90908
|
+
const type$S = "com.shwfed.table.column.switch";
|
|
90909
|
+
const compatibilityDate$S = "2026-05-13";
|
|
90910
|
+
const metadata$S = {
|
|
90896
90911
|
name: "开关(远程)",
|
|
90897
90912
|
icon: "fluent:toggle-left-20-regular"
|
|
90898
90913
|
};
|
|
90899
|
-
function schema$
|
|
90914
|
+
function schema$S(configure) {
|
|
90900
90915
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
90901
90916
|
const CelOnChange = Expression({
|
|
90902
90917
|
configure: (env) => {
|
|
@@ -90914,8 +90929,8 @@ function schema$R(configure) {
|
|
|
90914
90929
|
resultType: "string"
|
|
90915
90930
|
});
|
|
90916
90931
|
return Struct({
|
|
90917
|
-
type: Literal2(type$
|
|
90918
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
90932
|
+
type: Literal2(type$S),
|
|
90933
|
+
compatibilityDate: Literal2(compatibilityDate$S),
|
|
90919
90934
|
...columnFields(configure),
|
|
90920
90935
|
align: optionalWith(Align.annotations({ title: "对齐" }), { default: () => "center" }),
|
|
90921
90936
|
disabled: optional(CelBool.annotations({
|
|
@@ -90936,10 +90951,11 @@ function schema$R(configure) {
|
|
|
90936
90951
|
}))
|
|
90937
90952
|
}).annotations({ title: "SwitchRenderer", description: "开关渲染器(可编辑)" });
|
|
90938
90953
|
}
|
|
90939
|
-
function toColumnDef$
|
|
90954
|
+
function toColumnDef$r(value, { getLocaleText, $cel, inheritedContext }) {
|
|
90940
90955
|
return {
|
|
90941
90956
|
header: getLocaleText(value.title),
|
|
90942
90957
|
accessorFn: (row, index) => {
|
|
90958
|
+
if (!value.accessor) return void 0;
|
|
90943
90959
|
try {
|
|
90944
90960
|
return runSync($cel(value.accessor, { ...inheritedContext, row, index }));
|
|
90945
90961
|
} catch (e) {
|
|
@@ -90958,11 +90974,11 @@ function toColumnDef$q(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
90958
90974
|
}
|
|
90959
90975
|
const __vite_glob_0_8$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
90960
90976
|
__proto__: null,
|
|
90961
|
-
compatibilityDate: compatibilityDate$
|
|
90962
|
-
metadata: metadata$
|
|
90963
|
-
schema: schema$
|
|
90964
|
-
toColumnDef: toColumnDef$
|
|
90965
|
-
type: type$
|
|
90977
|
+
compatibilityDate: compatibilityDate$S,
|
|
90978
|
+
metadata: metadata$S,
|
|
90979
|
+
schema: schema$S,
|
|
90980
|
+
toColumnDef: toColumnDef$r,
|
|
90981
|
+
type: type$S
|
|
90966
90982
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
90967
90983
|
const isObject$1 = (value) => {
|
|
90968
90984
|
const type2 = typeof value;
|
|
@@ -91161,9 +91177,9 @@ function getProperty(object2, path, value) {
|
|
|
91161
91177
|
}
|
|
91162
91178
|
return object2 === void 0 ? value : object2;
|
|
91163
91179
|
}
|
|
91164
|
-
const type$
|
|
91165
|
-
const compatibilityDate$
|
|
91166
|
-
const metadata$
|
|
91180
|
+
const type$R = "com.shwfed.table.column.combobox-single";
|
|
91181
|
+
const compatibilityDate$R = "2026-05-20";
|
|
91182
|
+
const metadata$R = {
|
|
91167
91183
|
name: "下拉单选",
|
|
91168
91184
|
icon: "fluent:chevron-down-20-regular"
|
|
91169
91185
|
};
|
|
@@ -91196,12 +91212,12 @@ function itemSchema$g(configure) {
|
|
|
91196
91212
|
title: "ComboboxSingleItem"
|
|
91197
91213
|
});
|
|
91198
91214
|
}
|
|
91199
|
-
function schema$
|
|
91215
|
+
function schema$R(configure) {
|
|
91200
91216
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
91201
91217
|
const Item = itemSchema$g(configure);
|
|
91202
91218
|
return Struct({
|
|
91203
|
-
type: Literal2(type$
|
|
91204
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
91219
|
+
type: Literal2(type$R),
|
|
91220
|
+
compatibilityDate: Literal2(compatibilityDate$R),
|
|
91205
91221
|
...editableColumnFields(),
|
|
91206
91222
|
placeholder: optional(Locale.annotations({
|
|
91207
91223
|
title: "占位符",
|
|
@@ -91226,7 +91242,7 @@ function schema$Q(configure) {
|
|
|
91226
91242
|
}), { default: () => [] })
|
|
91227
91243
|
}).annotations({ title: "ComboboxSingleRenderer", description: "下拉单选渲染器(可编辑)" });
|
|
91228
91244
|
}
|
|
91229
|
-
function toColumnDef$
|
|
91245
|
+
function toColumnDef$q(value, { getLocaleText }) {
|
|
91230
91246
|
return {
|
|
91231
91247
|
header: editableHeader(getLocaleText(value.title)),
|
|
91232
91248
|
// `binding` is a dot-prop path (validated non-empty); the cell renderer
|
|
@@ -91249,34 +91265,46 @@ function toColumnDef$p(value, { getLocaleText }) {
|
|
|
91249
91265
|
}
|
|
91250
91266
|
const __vite_glob_0_9$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
91251
91267
|
__proto__: null,
|
|
91252
|
-
compatibilityDate: compatibilityDate$
|
|
91268
|
+
compatibilityDate: compatibilityDate$R,
|
|
91253
91269
|
itemSchema: itemSchema$g,
|
|
91254
|
-
metadata: metadata$
|
|
91255
|
-
schema: schema$
|
|
91256
|
-
toColumnDef: toColumnDef$
|
|
91257
|
-
type: type$
|
|
91270
|
+
metadata: metadata$R,
|
|
91271
|
+
schema: schema$R,
|
|
91272
|
+
toColumnDef: toColumnDef$q,
|
|
91273
|
+
type: type$R
|
|
91258
91274
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
91259
|
-
const type$
|
|
91260
|
-
const compatibilityDate$
|
|
91261
|
-
const metadata$
|
|
91275
|
+
const type$Q = "com.shwfed.table.column.number-input";
|
|
91276
|
+
const compatibilityDate$Q = "2026-05-20";
|
|
91277
|
+
const metadata$Q = {
|
|
91262
91278
|
name: "数值输入",
|
|
91263
91279
|
icon: "fluent:number-symbol-20-regular"
|
|
91264
91280
|
};
|
|
91265
|
-
function
|
|
91281
|
+
function AddonActions$1(configure) {
|
|
91282
|
+
const configureWithRow2 = (env) => {
|
|
91283
|
+
configure(env);
|
|
91284
|
+
registerRowVariablesIfAbsent(env);
|
|
91285
|
+
};
|
|
91286
|
+
const { groups, items: items2, ...rest } = ActionSchemaFields(configureWithRow2).fields;
|
|
91287
|
+
return Struct({
|
|
91288
|
+
...rest,
|
|
91289
|
+
groups: optionalWith(groups, { default: () => [] }),
|
|
91290
|
+
items: optionalWith(items2, { default: () => [] })
|
|
91291
|
+
}).annotations({
|
|
91292
|
+
title: "输入框内按钮",
|
|
91293
|
+
description: "在输入框右侧内嵌一组操作按钮"
|
|
91294
|
+
});
|
|
91295
|
+
}
|
|
91296
|
+
function schema$Q(configure) {
|
|
91266
91297
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
91267
91298
|
const CelNumber = CelRowAccess(configure, { resultType: "number" });
|
|
91268
91299
|
return Struct({
|
|
91269
|
-
type: Literal2(type$
|
|
91270
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
91300
|
+
type: Literal2(type$Q),
|
|
91301
|
+
compatibilityDate: Literal2(compatibilityDate$Q),
|
|
91271
91302
|
...editableColumnFields(),
|
|
91303
|
+
align: optionalWith(Align.annotations({ title: "对齐" }), { default: () => "right" }),
|
|
91272
91304
|
placeholder: optional(Locale.annotations({
|
|
91273
91305
|
title: "占位符",
|
|
91274
91306
|
description: "单元格为空时显示的提示文本"
|
|
91275
91307
|
})),
|
|
91276
|
-
hidden: optional(CelBool.annotations({
|
|
91277
|
-
title: "隐藏条件",
|
|
91278
|
-
description: "返回 `true` 时该行的输入框不渲染(其余行不受影响)"
|
|
91279
|
-
})),
|
|
91280
91308
|
disabled: optional(CelBool.annotations({
|
|
91281
91309
|
title: "禁用条件",
|
|
91282
91310
|
description: "返回 `true` 时输入框仍然渲染但不可编辑"
|
|
@@ -91309,17 +91337,18 @@ function schema$P(configure) {
|
|
|
91309
91337
|
title: "最大值",
|
|
91310
91338
|
description: "允许输入的最大值表达式,可访问 `row` / `index` 和 `form`;留空时不限制上限"
|
|
91311
91339
|
})),
|
|
91312
|
-
derived: derivedRowField(configure, "number")
|
|
91340
|
+
derived: derivedRowField(configure, "number"),
|
|
91341
|
+
addon: optional(AddonActions$1(configure))
|
|
91313
91342
|
}).annotations({ title: "NumberInputRenderer", description: "数值输入渲染器(可编辑)" });
|
|
91314
91343
|
}
|
|
91315
|
-
function defaults$
|
|
91344
|
+
function defaults$t() {
|
|
91316
91345
|
return {
|
|
91317
91346
|
title: [{ locale: "zh", message: "" }],
|
|
91318
91347
|
binding: "",
|
|
91319
91348
|
size: 120
|
|
91320
91349
|
};
|
|
91321
91350
|
}
|
|
91322
|
-
function toColumnDef$
|
|
91351
|
+
function toColumnDef$p(value, { getLocaleText }) {
|
|
91323
91352
|
return {
|
|
91324
91353
|
header: editableHeader(getLocaleText(value.title)),
|
|
91325
91354
|
// `binding` is a dot-prop path (validated non-empty); the cell renderer
|
|
@@ -91342,29 +91371,26 @@ function toColumnDef$o(value, { getLocaleText }) {
|
|
|
91342
91371
|
}
|
|
91343
91372
|
const __vite_glob_0_10 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
91344
91373
|
__proto__: null,
|
|
91345
|
-
compatibilityDate: compatibilityDate$
|
|
91346
|
-
defaults: defaults$
|
|
91347
|
-
metadata: metadata$
|
|
91348
|
-
schema: schema$
|
|
91349
|
-
toColumnDef: toColumnDef$
|
|
91350
|
-
type: type$
|
|
91374
|
+
compatibilityDate: compatibilityDate$Q,
|
|
91375
|
+
defaults: defaults$t,
|
|
91376
|
+
metadata: metadata$Q,
|
|
91377
|
+
schema: schema$Q,
|
|
91378
|
+
toColumnDef: toColumnDef$p,
|
|
91379
|
+
type: type$Q
|
|
91351
91380
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
91352
|
-
const type$
|
|
91353
|
-
const compatibilityDate$
|
|
91354
|
-
const metadata$
|
|
91381
|
+
const type$P = "com.shwfed.table.column.switch.local";
|
|
91382
|
+
const compatibilityDate$P = "2026-05-20";
|
|
91383
|
+
const metadata$P = {
|
|
91355
91384
|
name: "开关",
|
|
91356
91385
|
icon: "fluent:toggle-left-20-regular"
|
|
91357
91386
|
};
|
|
91358
|
-
function schema$
|
|
91387
|
+
function schema$P(configure) {
|
|
91359
91388
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
91360
91389
|
return Struct({
|
|
91361
|
-
type: Literal2(type$
|
|
91362
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
91390
|
+
type: Literal2(type$P),
|
|
91391
|
+
compatibilityDate: Literal2(compatibilityDate$P),
|
|
91363
91392
|
...editableColumnFields(),
|
|
91364
|
-
|
|
91365
|
-
title: "隐藏条件",
|
|
91366
|
-
description: "返回 `true` 时该行的开关不渲染(其余行不受影响)"
|
|
91367
|
-
})),
|
|
91393
|
+
align: optionalWith(Align.annotations({ title: "对齐" }), { default: () => "center" }),
|
|
91368
91394
|
disabled: optional(CelBool.annotations({
|
|
91369
91395
|
title: "禁用条件",
|
|
91370
91396
|
description: "返回 `true` 时开关仍然渲染但不可切换"
|
|
@@ -91384,7 +91410,7 @@ function schema$O(configure) {
|
|
|
91384
91410
|
derived: derivedRowField(configure, "bool")
|
|
91385
91411
|
}).annotations({ title: "SwitchRenderer", description: "开关渲染器(可编辑、本地)" });
|
|
91386
91412
|
}
|
|
91387
|
-
function defaults$
|
|
91413
|
+
function defaults$s() {
|
|
91388
91414
|
return {
|
|
91389
91415
|
title: [{ locale: "zh", message: "" }],
|
|
91390
91416
|
binding: "",
|
|
@@ -91392,18 +91418,18 @@ function defaults$r() {
|
|
|
91392
91418
|
};
|
|
91393
91419
|
}
|
|
91394
91420
|
const migrateFrom$j = [
|
|
91395
|
-
{ type: "com.shwfed.table.column.switch", compatibilityDate: compatibilityDate$
|
|
91421
|
+
{ type: "com.shwfed.table.column.switch", compatibilityDate: compatibilityDate$P }
|
|
91396
91422
|
];
|
|
91397
91423
|
const migrate$k = (prev) => try_({
|
|
91398
91424
|
try: () => {
|
|
91399
91425
|
if (!prev || typeof prev !== "object") {
|
|
91400
91426
|
throw new Error("开关(本地)迁移失败:原值不是对象");
|
|
91401
91427
|
}
|
|
91402
|
-
return { ...prev, type: type$
|
|
91428
|
+
return { ...prev, type: type$P, compatibilityDate: compatibilityDate$P };
|
|
91403
91429
|
},
|
|
91404
91430
|
catch: (e) => e instanceof Error ? e : new Error(String(e))
|
|
91405
91431
|
});
|
|
91406
|
-
function toColumnDef$
|
|
91432
|
+
function toColumnDef$o(value, { getLocaleText }) {
|
|
91407
91433
|
return {
|
|
91408
91434
|
header: editableHeader(getLocaleText(value.title)),
|
|
91409
91435
|
// `binding` is a dot-prop path (validated non-empty); the cell renderer
|
|
@@ -91425,26 +91451,26 @@ function toColumnDef$n(value, { getLocaleText }) {
|
|
|
91425
91451
|
}
|
|
91426
91452
|
const __vite_glob_0_11 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
91427
91453
|
__proto__: null,
|
|
91428
|
-
compatibilityDate: compatibilityDate$
|
|
91429
|
-
defaults: defaults$
|
|
91430
|
-
metadata: metadata$
|
|
91454
|
+
compatibilityDate: compatibilityDate$P,
|
|
91455
|
+
defaults: defaults$s,
|
|
91456
|
+
metadata: metadata$P,
|
|
91431
91457
|
migrate: migrate$k,
|
|
91432
91458
|
migrateFrom: migrateFrom$j,
|
|
91433
|
-
schema: schema$
|
|
91434
|
-
toColumnDef: toColumnDef$
|
|
91435
|
-
type: type$
|
|
91459
|
+
schema: schema$P,
|
|
91460
|
+
toColumnDef: toColumnDef$o,
|
|
91461
|
+
type: type$P
|
|
91436
91462
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
91437
|
-
const type$
|
|
91438
|
-
const compatibilityDate$
|
|
91439
|
-
const metadata$
|
|
91463
|
+
const type$O = "com.shwfed.table.column.switch";
|
|
91464
|
+
const compatibilityDate$O = "2026-05-20";
|
|
91465
|
+
const metadata$O = {
|
|
91440
91466
|
name: "开关",
|
|
91441
91467
|
icon: "fluent:toggle-left-20-regular"
|
|
91442
91468
|
};
|
|
91443
|
-
function schema$
|
|
91469
|
+
function schema$O(configure) {
|
|
91444
91470
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
91445
91471
|
return Struct({
|
|
91446
|
-
type: Literal2(type$
|
|
91447
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
91472
|
+
type: Literal2(type$O),
|
|
91473
|
+
compatibilityDate: Literal2(compatibilityDate$O),
|
|
91448
91474
|
...editableColumnFields(),
|
|
91449
91475
|
hidden: optional(CelBool.annotations({
|
|
91450
91476
|
title: "隐藏条件",
|
|
@@ -91469,7 +91495,7 @@ function schema$N(configure) {
|
|
|
91469
91495
|
derived: derivedRowField(configure, "bool")
|
|
91470
91496
|
}).annotations({ title: "SwitchRenderer", description: "开关渲染器(可编辑、本地)" });
|
|
91471
91497
|
}
|
|
91472
|
-
function toColumnDef$
|
|
91498
|
+
function toColumnDef$n(value, { getLocaleText }) {
|
|
91473
91499
|
return {
|
|
91474
91500
|
header: editableHeader(getLocaleText(value.title)),
|
|
91475
91501
|
// `binding` is a dot-prop path (validated non-empty); the cell renderer
|
|
@@ -91491,32 +91517,44 @@ function toColumnDef$m(value, { getLocaleText }) {
|
|
|
91491
91517
|
}
|
|
91492
91518
|
const __vite_glob_0_12 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
91493
91519
|
__proto__: null,
|
|
91494
|
-
compatibilityDate: compatibilityDate$
|
|
91495
|
-
metadata: metadata$
|
|
91496
|
-
schema: schema$
|
|
91497
|
-
toColumnDef: toColumnDef$
|
|
91498
|
-
type: type$
|
|
91520
|
+
compatibilityDate: compatibilityDate$O,
|
|
91521
|
+
metadata: metadata$O,
|
|
91522
|
+
schema: schema$O,
|
|
91523
|
+
toColumnDef: toColumnDef$n,
|
|
91524
|
+
type: type$O
|
|
91499
91525
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
91500
|
-
const type$
|
|
91501
|
-
const compatibilityDate$
|
|
91502
|
-
const metadata$
|
|
91526
|
+
const type$N = "com.shwfed.table.column.text-input";
|
|
91527
|
+
const compatibilityDate$N = "2026-05-20";
|
|
91528
|
+
const metadata$N = {
|
|
91503
91529
|
name: "文本输入",
|
|
91504
91530
|
icon: "fluent:text-field-20-regular"
|
|
91505
91531
|
};
|
|
91506
|
-
function
|
|
91532
|
+
function AddonActions(configure) {
|
|
91533
|
+
const configureWithRow2 = (env) => {
|
|
91534
|
+
configure(env);
|
|
91535
|
+
registerRowVariablesIfAbsent(env);
|
|
91536
|
+
};
|
|
91537
|
+
const { groups, items: items2, ...rest } = ActionSchemaFields(configureWithRow2).fields;
|
|
91538
|
+
return Struct({
|
|
91539
|
+
...rest,
|
|
91540
|
+
groups: optionalWith(groups, { default: () => [] }),
|
|
91541
|
+
items: optionalWith(items2, { default: () => [] })
|
|
91542
|
+
}).annotations({
|
|
91543
|
+
title: "输入框内按钮",
|
|
91544
|
+
description: "在输入框右侧内嵌一组操作按钮"
|
|
91545
|
+
});
|
|
91546
|
+
}
|
|
91547
|
+
function schema$N(configure) {
|
|
91507
91548
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
91508
91549
|
return Struct({
|
|
91509
|
-
type: Literal2(type$
|
|
91510
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
91550
|
+
type: Literal2(type$N),
|
|
91551
|
+
compatibilityDate: Literal2(compatibilityDate$N),
|
|
91511
91552
|
...editableColumnFields(),
|
|
91553
|
+
align: optionalWith(Align.annotations({ title: "对齐" }), { default: () => "left" }),
|
|
91512
91554
|
placeholder: optional(Locale.annotations({
|
|
91513
91555
|
title: "占位符",
|
|
91514
91556
|
description: "单元格为空时显示的提示文本"
|
|
91515
91557
|
})),
|
|
91516
|
-
hidden: optional(CelBool.annotations({
|
|
91517
|
-
title: "隐藏条件",
|
|
91518
|
-
description: "返回 `true` 时该行的输入框不渲染(其余行不受影响)"
|
|
91519
|
-
})),
|
|
91520
91558
|
disabled: optional(CelBool.annotations({
|
|
91521
91559
|
title: "禁用条件",
|
|
91522
91560
|
description: "返回 `true` 时输入框仍然渲染但不可编辑"
|
|
@@ -91525,17 +91563,18 @@ function schema$M(configure) {
|
|
|
91525
91563
|
title: "只读条件",
|
|
91526
91564
|
description: "返回 `true` 时仅以纯文本展示当前值"
|
|
91527
91565
|
})),
|
|
91528
|
-
derived: derivedRowField(configure, "string")
|
|
91566
|
+
derived: derivedRowField(configure, "string"),
|
|
91567
|
+
addon: optional(AddonActions(configure))
|
|
91529
91568
|
}).annotations({ title: "TextInputRenderer", description: "文本输入渲染器(可编辑)" });
|
|
91530
91569
|
}
|
|
91531
|
-
function defaults$
|
|
91570
|
+
function defaults$r() {
|
|
91532
91571
|
return {
|
|
91533
91572
|
title: [{ locale: "zh", message: "" }],
|
|
91534
91573
|
binding: "",
|
|
91535
91574
|
size: 120
|
|
91536
91575
|
};
|
|
91537
91576
|
}
|
|
91538
|
-
function toColumnDef$
|
|
91577
|
+
function toColumnDef$m(value, { getLocaleText }) {
|
|
91539
91578
|
return {
|
|
91540
91579
|
header: editableHeader(getLocaleText(value.title)),
|
|
91541
91580
|
// `binding` is a dot-prop path (validated non-empty); the cell renderer
|
|
@@ -91555,12 +91594,12 @@ function toColumnDef$l(value, { getLocaleText }) {
|
|
|
91555
91594
|
}
|
|
91556
91595
|
const __vite_glob_0_13 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
91557
91596
|
__proto__: null,
|
|
91558
|
-
compatibilityDate: compatibilityDate$
|
|
91559
|
-
defaults: defaults$
|
|
91560
|
-
metadata: metadata$
|
|
91561
|
-
schema: schema$
|
|
91562
|
-
toColumnDef: toColumnDef$
|
|
91563
|
-
type: type$
|
|
91597
|
+
compatibilityDate: compatibilityDate$N,
|
|
91598
|
+
defaults: defaults$r,
|
|
91599
|
+
metadata: metadata$N,
|
|
91600
|
+
schema: schema$N,
|
|
91601
|
+
toColumnDef: toColumnDef$m,
|
|
91602
|
+
type: type$N
|
|
91564
91603
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
91565
91604
|
const matchIconName = /^[a-z0-9]+(-[a-z0-9]+)*$/;
|
|
91566
91605
|
const stringToIcon = (value, validate2, allowSimpleName, provider = "") => {
|
|
@@ -92944,20 +92983,20 @@ const Icon = vueExports.defineComponent((props, { emit }) => {
|
|
|
92944
92983
|
],
|
|
92945
92984
|
emits: ["load"]
|
|
92946
92985
|
});
|
|
92947
|
-
const type$
|
|
92948
|
-
const compatibilityDate$
|
|
92949
|
-
const metadata$
|
|
92986
|
+
const type$M = "com.shwfed.table.column.drag-handle";
|
|
92987
|
+
const compatibilityDate$M = "2026-05-21";
|
|
92988
|
+
const metadata$M = {
|
|
92950
92989
|
name: "拖拽",
|
|
92951
92990
|
icon: "fluent:re-order-dots-vertical-20-regular"
|
|
92952
92991
|
};
|
|
92953
|
-
function schema$
|
|
92992
|
+
function schema$M(_configure) {
|
|
92954
92993
|
return Struct({
|
|
92955
|
-
type: Literal2(type$
|
|
92956
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
92994
|
+
type: Literal2(type$M),
|
|
92995
|
+
compatibilityDate: Literal2(compatibilityDate$M),
|
|
92957
92996
|
...columnIdentityFields()
|
|
92958
92997
|
}).annotations({ title: "DragHandleRenderer", description: "行拖拽手柄列" });
|
|
92959
92998
|
}
|
|
92960
|
-
function toColumnDef$
|
|
92999
|
+
function toColumnDef$l(_value) {
|
|
92961
93000
|
return {
|
|
92962
93001
|
header: () => vueExports.h(Icon, {
|
|
92963
93002
|
"icon": "fluent:re-order-dots-vertical-20-regular",
|
|
@@ -92973,15 +93012,15 @@ function toColumnDef$k(_value) {
|
|
|
92973
93012
|
}
|
|
92974
93013
|
const __vite_glob_0_14 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
92975
93014
|
__proto__: null,
|
|
92976
|
-
compatibilityDate: compatibilityDate$
|
|
92977
|
-
metadata: metadata$
|
|
92978
|
-
schema: schema$
|
|
92979
|
-
toColumnDef: toColumnDef$
|
|
92980
|
-
type: type$
|
|
93015
|
+
compatibilityDate: compatibilityDate$M,
|
|
93016
|
+
metadata: metadata$M,
|
|
93017
|
+
schema: schema$M,
|
|
93018
|
+
toColumnDef: toColumnDef$l,
|
|
93019
|
+
type: type$M
|
|
92981
93020
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
92982
|
-
const type$
|
|
92983
|
-
const compatibilityDate$
|
|
92984
|
-
const metadata$
|
|
93021
|
+
const type$L = "com.shwfed.table.column.combobox-single.remote.options-remote";
|
|
93022
|
+
const compatibilityDate$L = "2026-05-24";
|
|
93023
|
+
const metadata$L = {
|
|
92985
93024
|
name: "远程下拉单选",
|
|
92986
93025
|
icon: "fluent:cloud-arrow-down-20-regular"
|
|
92987
93026
|
};
|
|
@@ -92996,7 +93035,7 @@ const JSON_VAR$3 = {
|
|
|
92996
93035
|
description: "HTTP 响应体(已解析 JSON);请求失败或尚未完成时为 `null`"
|
|
92997
93036
|
};
|
|
92998
93037
|
const isListType$f = (actual) => actual === "dyn" || actual.startsWith("list");
|
|
92999
|
-
function schema$
|
|
93038
|
+
function schema$L(configure) {
|
|
93000
93039
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
93001
93040
|
const CelRequest = Expression({
|
|
93002
93041
|
configure: (env) => {
|
|
@@ -93044,8 +93083,8 @@ function schema$K(configure) {
|
|
|
93044
93083
|
resultType: "string"
|
|
93045
93084
|
});
|
|
93046
93085
|
return Struct({
|
|
93047
|
-
type: Literal2(type$
|
|
93048
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
93086
|
+
type: Literal2(type$L),
|
|
93087
|
+
compatibilityDate: Literal2(compatibilityDate$L),
|
|
93049
93088
|
...columnFields(configure),
|
|
93050
93089
|
placeholder: optional(Locale.annotations({
|
|
93051
93090
|
title: "占位符",
|
|
@@ -93096,10 +93135,11 @@ function schema$K(configure) {
|
|
|
93096
93135
|
description: "下拉单选渲染器(远程写入·远程选项)"
|
|
93097
93136
|
});
|
|
93098
93137
|
}
|
|
93099
|
-
function toColumnDef$
|
|
93138
|
+
function toColumnDef$k(value, { getLocaleText, $cel, inheritedContext }) {
|
|
93100
93139
|
return {
|
|
93101
93140
|
header: editableHeader(getLocaleText(value.title)),
|
|
93102
93141
|
accessorFn: (row, index) => {
|
|
93142
|
+
if (!value.accessor) return void 0;
|
|
93103
93143
|
try {
|
|
93104
93144
|
return runSync($cel(value.accessor, { ...inheritedContext, row, index }));
|
|
93105
93145
|
} catch (e) {
|
|
@@ -93120,15 +93160,15 @@ const __vite_glob_0_15 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.de
|
|
|
93120
93160
|
__proto__: null,
|
|
93121
93161
|
JSON_VAR: JSON_VAR$3,
|
|
93122
93162
|
OPTION_VAR: OPTION_VAR$1,
|
|
93123
|
-
compatibilityDate: compatibilityDate$
|
|
93124
|
-
metadata: metadata$
|
|
93125
|
-
schema: schema$
|
|
93126
|
-
toColumnDef: toColumnDef$
|
|
93127
|
-
type: type$
|
|
93163
|
+
compatibilityDate: compatibilityDate$L,
|
|
93164
|
+
metadata: metadata$L,
|
|
93165
|
+
schema: schema$L,
|
|
93166
|
+
toColumnDef: toColumnDef$k,
|
|
93167
|
+
type: type$L
|
|
93128
93168
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
93129
|
-
const type$
|
|
93130
|
-
const compatibilityDate$
|
|
93131
|
-
const metadata$
|
|
93169
|
+
const type$K = "com.shwfed.table.column.combobox-single.remote.options-static";
|
|
93170
|
+
const compatibilityDate$K = "2026-05-24";
|
|
93171
|
+
const metadata$K = {
|
|
93132
93172
|
name: "下拉单选",
|
|
93133
93173
|
icon: "fluent:chevron-down-20-regular"
|
|
93134
93174
|
};
|
|
@@ -93161,7 +93201,7 @@ function itemSchema$f(configure) {
|
|
|
93161
93201
|
title: "ComboboxSingleRemoteOptionsStaticItem"
|
|
93162
93202
|
});
|
|
93163
93203
|
}
|
|
93164
|
-
function schema$
|
|
93204
|
+
function schema$K(configure) {
|
|
93165
93205
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
93166
93206
|
const Item = itemSchema$f(configure);
|
|
93167
93207
|
const CelOnChange = Expression({
|
|
@@ -93180,8 +93220,8 @@ function schema$J(configure) {
|
|
|
93180
93220
|
resultType: "string"
|
|
93181
93221
|
});
|
|
93182
93222
|
return Struct({
|
|
93183
|
-
type: Literal2(type$
|
|
93184
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
93223
|
+
type: Literal2(type$K),
|
|
93224
|
+
compatibilityDate: Literal2(compatibilityDate$K),
|
|
93185
93225
|
...columnFields(configure),
|
|
93186
93226
|
placeholder: optional(Locale.annotations({
|
|
93187
93227
|
title: "占位符",
|
|
@@ -93220,10 +93260,11 @@ function schema$J(configure) {
|
|
|
93220
93260
|
description: "下拉单选渲染器(远程写入·静态选项)"
|
|
93221
93261
|
});
|
|
93222
93262
|
}
|
|
93223
|
-
function toColumnDef$
|
|
93263
|
+
function toColumnDef$j(value, { getLocaleText, $cel, inheritedContext }) {
|
|
93224
93264
|
return {
|
|
93225
93265
|
header: editableHeader(getLocaleText(value.title)),
|
|
93226
93266
|
accessorFn: (row, index) => {
|
|
93267
|
+
if (!value.accessor) return void 0;
|
|
93227
93268
|
try {
|
|
93228
93269
|
return runSync($cel(value.accessor, { ...inheritedContext, row, index }));
|
|
93229
93270
|
} catch (e) {
|
|
@@ -93242,16 +93283,16 @@ function toColumnDef$i(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
93242
93283
|
}
|
|
93243
93284
|
const __vite_glob_0_16 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
93244
93285
|
__proto__: null,
|
|
93245
|
-
compatibilityDate: compatibilityDate$
|
|
93286
|
+
compatibilityDate: compatibilityDate$K,
|
|
93246
93287
|
itemSchema: itemSchema$f,
|
|
93247
|
-
metadata: metadata$
|
|
93248
|
-
schema: schema$
|
|
93249
|
-
toColumnDef: toColumnDef$
|
|
93250
|
-
type: type$
|
|
93288
|
+
metadata: metadata$K,
|
|
93289
|
+
schema: schema$K,
|
|
93290
|
+
toColumnDef: toColumnDef$j,
|
|
93291
|
+
type: type$K
|
|
93251
93292
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
93252
|
-
const type$
|
|
93253
|
-
const compatibilityDate$
|
|
93254
|
-
const metadata$
|
|
93293
|
+
const type$J = "com.shwfed.table.column.combobox-multi.remote.options-remote";
|
|
93294
|
+
const compatibilityDate$J = "2026-05-25";
|
|
93295
|
+
const metadata$J = {
|
|
93255
93296
|
name: "远程下拉多选",
|
|
93256
93297
|
icon: "fluent:cloud-arrow-down-20-regular"
|
|
93257
93298
|
};
|
|
@@ -93266,7 +93307,7 @@ const JSON_VAR$2 = {
|
|
|
93266
93307
|
description: "HTTP 响应体(已解析 JSON);请求失败或尚未完成时为 `null`"
|
|
93267
93308
|
};
|
|
93268
93309
|
const isListType$e = (actual) => actual === "dyn" || actual.startsWith("list");
|
|
93269
|
-
function schema$
|
|
93310
|
+
function schema$J(configure) {
|
|
93270
93311
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
93271
93312
|
const CelRequest = Expression({
|
|
93272
93313
|
configure: (env) => {
|
|
@@ -93314,8 +93355,8 @@ function schema$I(configure) {
|
|
|
93314
93355
|
resultType: "string"
|
|
93315
93356
|
});
|
|
93316
93357
|
return Struct({
|
|
93317
|
-
type: Literal2(type$
|
|
93318
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
93358
|
+
type: Literal2(type$J),
|
|
93359
|
+
compatibilityDate: Literal2(compatibilityDate$J),
|
|
93319
93360
|
...columnFields(configure),
|
|
93320
93361
|
placeholder: optional(Locale.annotations({
|
|
93321
93362
|
title: "占位符",
|
|
@@ -93366,10 +93407,11 @@ function schema$I(configure) {
|
|
|
93366
93407
|
description: "下拉多选渲染器(远程写入·远程选项)"
|
|
93367
93408
|
});
|
|
93368
93409
|
}
|
|
93369
|
-
function toColumnDef$
|
|
93410
|
+
function toColumnDef$i(value, { getLocaleText, $cel, inheritedContext }) {
|
|
93370
93411
|
return {
|
|
93371
93412
|
header: editableHeader(getLocaleText(value.title)),
|
|
93372
93413
|
accessorFn: (row, index) => {
|
|
93414
|
+
if (!value.accessor) return void 0;
|
|
93373
93415
|
try {
|
|
93374
93416
|
return runSync($cel(value.accessor, { ...inheritedContext, row, index }));
|
|
93375
93417
|
} catch (e) {
|
|
@@ -93390,15 +93432,15 @@ const __vite_glob_0_17 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.de
|
|
|
93390
93432
|
__proto__: null,
|
|
93391
93433
|
JSON_VAR: JSON_VAR$2,
|
|
93392
93434
|
OPTION_VAR,
|
|
93393
|
-
compatibilityDate: compatibilityDate$
|
|
93394
|
-
metadata: metadata$
|
|
93395
|
-
schema: schema$
|
|
93396
|
-
toColumnDef: toColumnDef$
|
|
93397
|
-
type: type$
|
|
93435
|
+
compatibilityDate: compatibilityDate$J,
|
|
93436
|
+
metadata: metadata$J,
|
|
93437
|
+
schema: schema$J,
|
|
93438
|
+
toColumnDef: toColumnDef$i,
|
|
93439
|
+
type: type$J
|
|
93398
93440
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
93399
|
-
const type$
|
|
93400
|
-
const compatibilityDate$
|
|
93401
|
-
const metadata$
|
|
93441
|
+
const type$I = "com.shwfed.table.column.combobox-multi.remote.options-static";
|
|
93442
|
+
const compatibilityDate$I = "2026-05-25";
|
|
93443
|
+
const metadata$I = {
|
|
93402
93444
|
name: "下拉多选",
|
|
93403
93445
|
icon: "fluent:chevron-down-20-regular"
|
|
93404
93446
|
};
|
|
@@ -93431,7 +93473,7 @@ function itemSchema$e(configure) {
|
|
|
93431
93473
|
title: "ComboboxMultiRemoteOptionsStaticItem"
|
|
93432
93474
|
});
|
|
93433
93475
|
}
|
|
93434
|
-
function schema$
|
|
93476
|
+
function schema$I(configure) {
|
|
93435
93477
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
93436
93478
|
const Item = itemSchema$e(configure);
|
|
93437
93479
|
const CelOnChange = Expression({
|
|
@@ -93450,8 +93492,8 @@ function schema$H(configure) {
|
|
|
93450
93492
|
resultType: "string"
|
|
93451
93493
|
});
|
|
93452
93494
|
return Struct({
|
|
93453
|
-
type: Literal2(type$
|
|
93454
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
93495
|
+
type: Literal2(type$I),
|
|
93496
|
+
compatibilityDate: Literal2(compatibilityDate$I),
|
|
93455
93497
|
...columnFields(configure),
|
|
93456
93498
|
placeholder: optional(Locale.annotations({
|
|
93457
93499
|
title: "占位符",
|
|
@@ -93490,10 +93532,11 @@ function schema$H(configure) {
|
|
|
93490
93532
|
description: "下拉多选渲染器(远程写入·静态选项)"
|
|
93491
93533
|
});
|
|
93492
93534
|
}
|
|
93493
|
-
function toColumnDef$
|
|
93535
|
+
function toColumnDef$h(value, { getLocaleText, $cel, inheritedContext }) {
|
|
93494
93536
|
return {
|
|
93495
93537
|
header: editableHeader(getLocaleText(value.title)),
|
|
93496
93538
|
accessorFn: (row, index) => {
|
|
93539
|
+
if (!value.accessor) return void 0;
|
|
93497
93540
|
try {
|
|
93498
93541
|
return runSync($cel(value.accessor, { ...inheritedContext, row, index }));
|
|
93499
93542
|
} catch (e) {
|
|
@@ -93512,16 +93555,16 @@ function toColumnDef$g(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
93512
93555
|
}
|
|
93513
93556
|
const __vite_glob_0_18 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
93514
93557
|
__proto__: null,
|
|
93515
|
-
compatibilityDate: compatibilityDate$
|
|
93558
|
+
compatibilityDate: compatibilityDate$I,
|
|
93516
93559
|
itemSchema: itemSchema$e,
|
|
93517
|
-
metadata: metadata$
|
|
93518
|
-
schema: schema$
|
|
93519
|
-
toColumnDef: toColumnDef$
|
|
93520
|
-
type: type$
|
|
93560
|
+
metadata: metadata$I,
|
|
93561
|
+
schema: schema$I,
|
|
93562
|
+
toColumnDef: toColumnDef$h,
|
|
93563
|
+
type: type$I
|
|
93521
93564
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
93522
|
-
const type$
|
|
93523
|
-
const compatibilityDate$
|
|
93524
|
-
const metadata$
|
|
93565
|
+
const type$H = "com.shwfed.table.column.combobox-multi";
|
|
93566
|
+
const compatibilityDate$H = "2026-05-25";
|
|
93567
|
+
const metadata$H = {
|
|
93525
93568
|
name: "下拉多选",
|
|
93526
93569
|
icon: "fluent:chevron-down-20-regular"
|
|
93527
93570
|
};
|
|
@@ -93554,12 +93597,12 @@ function itemSchema$d(configure) {
|
|
|
93554
93597
|
title: "ComboboxMultiItem"
|
|
93555
93598
|
});
|
|
93556
93599
|
}
|
|
93557
|
-
function schema$
|
|
93600
|
+
function schema$H(configure) {
|
|
93558
93601
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
93559
93602
|
const Item = itemSchema$d(configure);
|
|
93560
93603
|
return Struct({
|
|
93561
|
-
type: Literal2(type$
|
|
93562
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
93604
|
+
type: Literal2(type$H),
|
|
93605
|
+
compatibilityDate: Literal2(compatibilityDate$H),
|
|
93563
93606
|
...editableColumnFields(),
|
|
93564
93607
|
placeholder: optional(Locale.annotations({
|
|
93565
93608
|
title: "占位符",
|
|
@@ -93584,7 +93627,7 @@ function schema$G(configure) {
|
|
|
93584
93627
|
}), { default: () => [] })
|
|
93585
93628
|
}).annotations({ title: "ComboboxMultiRenderer", description: "下拉多选渲染器(可编辑)" });
|
|
93586
93629
|
}
|
|
93587
|
-
function toColumnDef$
|
|
93630
|
+
function toColumnDef$g(value, { getLocaleText }) {
|
|
93588
93631
|
return {
|
|
93589
93632
|
header: editableHeader(getLocaleText(value.title)),
|
|
93590
93633
|
// `binding` is a dot-prop path; the cell renderer reads through the same
|
|
@@ -93605,16 +93648,16 @@ function toColumnDef$f(value, { getLocaleText }) {
|
|
|
93605
93648
|
}
|
|
93606
93649
|
const __vite_glob_0_19 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
93607
93650
|
__proto__: null,
|
|
93608
|
-
compatibilityDate: compatibilityDate$
|
|
93651
|
+
compatibilityDate: compatibilityDate$H,
|
|
93609
93652
|
itemSchema: itemSchema$d,
|
|
93610
|
-
metadata: metadata$
|
|
93611
|
-
schema: schema$
|
|
93612
|
-
toColumnDef: toColumnDef$
|
|
93613
|
-
type: type$
|
|
93653
|
+
metadata: metadata$H,
|
|
93654
|
+
schema: schema$H,
|
|
93655
|
+
toColumnDef: toColumnDef$g,
|
|
93656
|
+
type: type$H
|
|
93614
93657
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
93615
|
-
const type$
|
|
93616
|
-
const compatibilityDate$
|
|
93617
|
-
const metadata$
|
|
93658
|
+
const type$G = "com.shwfed.table.column.combobox-multi.remote";
|
|
93659
|
+
const compatibilityDate$G = "2026-05-26";
|
|
93660
|
+
const metadata$G = {
|
|
93618
93661
|
name: "多选(远程)",
|
|
93619
93662
|
icon: "fluent:cloud-arrow-up-20-regular"
|
|
93620
93663
|
};
|
|
@@ -93714,7 +93757,7 @@ function optionsSchema$b(configure) {
|
|
|
93714
93757
|
description: '选项可以是静态配置(`kind: "static"`)或由远程接口加载(`kind: "remote"`)'
|
|
93715
93758
|
});
|
|
93716
93759
|
}
|
|
93717
|
-
function schema$
|
|
93760
|
+
function schema$G(configure) {
|
|
93718
93761
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
93719
93762
|
const Options = optionsSchema$b(configure);
|
|
93720
93763
|
const CelOnChange = Expression({
|
|
@@ -93733,8 +93776,8 @@ function schema$F(configure) {
|
|
|
93733
93776
|
resultType: "string"
|
|
93734
93777
|
});
|
|
93735
93778
|
return Struct({
|
|
93736
|
-
type: Literal2(type$
|
|
93737
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
93779
|
+
type: Literal2(type$G),
|
|
93780
|
+
compatibilityDate: Literal2(compatibilityDate$G),
|
|
93738
93781
|
...columnFields(configure),
|
|
93739
93782
|
placeholder: optional(Locale.annotations({
|
|
93740
93783
|
title: "占位符",
|
|
@@ -93788,8 +93831,8 @@ const migrate$j = (prev) => try_({
|
|
|
93788
93831
|
const itemsArr = Array.isArray(items2) ? items2 : [];
|
|
93789
93832
|
return {
|
|
93790
93833
|
...rest,
|
|
93791
|
-
type: type$
|
|
93792
|
-
compatibilityDate: compatibilityDate$
|
|
93834
|
+
type: type$G,
|
|
93835
|
+
compatibilityDate: compatibilityDate$G,
|
|
93793
93836
|
options: { kind: "static", items: itemsArr }
|
|
93794
93837
|
};
|
|
93795
93838
|
}
|
|
@@ -93802,8 +93845,8 @@ const migrate$j = (prev) => try_({
|
|
|
93802
93845
|
if (Array.isArray(optionLabel)) remote.optionLabel = optionLabel;
|
|
93803
93846
|
return {
|
|
93804
93847
|
...rest,
|
|
93805
|
-
type: type$
|
|
93806
|
-
compatibilityDate: compatibilityDate$
|
|
93848
|
+
type: type$G,
|
|
93849
|
+
compatibilityDate: compatibilityDate$G,
|
|
93807
93850
|
options: remote
|
|
93808
93851
|
};
|
|
93809
93852
|
}
|
|
@@ -93811,10 +93854,11 @@ const migrate$j = (prev) => try_({
|
|
|
93811
93854
|
},
|
|
93812
93855
|
catch: (e) => e instanceof Error ? e : new Error(String(e))
|
|
93813
93856
|
});
|
|
93814
|
-
function toColumnDef$
|
|
93857
|
+
function toColumnDef$f(value, { getLocaleText, $cel, inheritedContext }) {
|
|
93815
93858
|
return {
|
|
93816
93859
|
header: editableHeader(getLocaleText(value.title)),
|
|
93817
93860
|
accessorFn: (row, index) => {
|
|
93861
|
+
if (!value.accessor) return void 0;
|
|
93818
93862
|
try {
|
|
93819
93863
|
return runSync($cel(value.accessor, { ...inheritedContext, row, index }));
|
|
93820
93864
|
} catch (e) {
|
|
@@ -93833,20 +93877,20 @@ function toColumnDef$e(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
93833
93877
|
}
|
|
93834
93878
|
const __vite_glob_0_20$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
93835
93879
|
__proto__: null,
|
|
93836
|
-
compatibilityDate: compatibilityDate$
|
|
93880
|
+
compatibilityDate: compatibilityDate$G,
|
|
93837
93881
|
itemSchema: itemSchema$c,
|
|
93838
|
-
metadata: metadata$
|
|
93882
|
+
metadata: metadata$G,
|
|
93839
93883
|
migrate: migrate$j,
|
|
93840
93884
|
migrateFrom: migrateFrom$i,
|
|
93841
93885
|
optionsSchema: optionsSchema$b,
|
|
93842
93886
|
remoteOptionsSchema: remoteOptionsSchema$b,
|
|
93843
|
-
schema: schema$
|
|
93844
|
-
toColumnDef: toColumnDef$
|
|
93845
|
-
type: type$
|
|
93887
|
+
schema: schema$G,
|
|
93888
|
+
toColumnDef: toColumnDef$f,
|
|
93889
|
+
type: type$G
|
|
93846
93890
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
93847
|
-
const type$
|
|
93848
|
-
const compatibilityDate$
|
|
93849
|
-
const metadata$
|
|
93891
|
+
const type$F = "com.shwfed.table.column.combobox-multi";
|
|
93892
|
+
const compatibilityDate$F = "2026-05-26";
|
|
93893
|
+
const metadata$F = {
|
|
93850
93894
|
name: "多选",
|
|
93851
93895
|
icon: "fluent:chevron-down-20-regular"
|
|
93852
93896
|
};
|
|
@@ -93946,12 +93990,12 @@ function optionsSchema$a(configure) {
|
|
|
93946
93990
|
description: '选项可以是静态配置(`kind: "static"`)或由远程接口加载(`kind: "remote"`)'
|
|
93947
93991
|
});
|
|
93948
93992
|
}
|
|
93949
|
-
function schema$
|
|
93993
|
+
function schema$F(configure) {
|
|
93950
93994
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
93951
93995
|
const Options = optionsSchema$a(configure);
|
|
93952
93996
|
return Struct({
|
|
93953
|
-
type: Literal2(type$
|
|
93954
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
93997
|
+
type: Literal2(type$F),
|
|
93998
|
+
compatibilityDate: Literal2(compatibilityDate$F),
|
|
93955
93999
|
...editableColumnFields(),
|
|
93956
94000
|
placeholder: optional(Locale.annotations({
|
|
93957
94001
|
title: "占位符",
|
|
@@ -93987,14 +94031,14 @@ const migrate$i = (prev) => try_({
|
|
|
93987
94031
|
const itemsArr = Array.isArray(items2) ? items2 : [];
|
|
93988
94032
|
return {
|
|
93989
94033
|
...rest,
|
|
93990
|
-
type: type$
|
|
93991
|
-
compatibilityDate: compatibilityDate$
|
|
94034
|
+
type: type$F,
|
|
94035
|
+
compatibilityDate: compatibilityDate$F,
|
|
93992
94036
|
options: { kind: "static", items: itemsArr }
|
|
93993
94037
|
};
|
|
93994
94038
|
},
|
|
93995
94039
|
catch: (e) => e instanceof Error ? e : new Error(String(e))
|
|
93996
94040
|
});
|
|
93997
|
-
function toColumnDef$
|
|
94041
|
+
function toColumnDef$e(value, { getLocaleText }) {
|
|
93998
94042
|
return {
|
|
93999
94043
|
header: editableHeader(getLocaleText(value.title)),
|
|
94000
94044
|
accessorFn: (row) => {
|
|
@@ -94012,20 +94056,20 @@ function toColumnDef$d(value, { getLocaleText }) {
|
|
|
94012
94056
|
}
|
|
94013
94057
|
const __vite_glob_0_21$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
94014
94058
|
__proto__: null,
|
|
94015
|
-
compatibilityDate: compatibilityDate$
|
|
94059
|
+
compatibilityDate: compatibilityDate$F,
|
|
94016
94060
|
itemSchema: itemSchema$b,
|
|
94017
|
-
metadata: metadata$
|
|
94061
|
+
metadata: metadata$F,
|
|
94018
94062
|
migrate: migrate$i,
|
|
94019
94063
|
migrateFrom: migrateFrom$h,
|
|
94020
94064
|
optionsSchema: optionsSchema$a,
|
|
94021
94065
|
remoteOptionsSchema: remoteOptionsSchema$a,
|
|
94022
|
-
schema: schema$
|
|
94023
|
-
toColumnDef: toColumnDef$
|
|
94024
|
-
type: type$
|
|
94066
|
+
schema: schema$F,
|
|
94067
|
+
toColumnDef: toColumnDef$e,
|
|
94068
|
+
type: type$F
|
|
94025
94069
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
94026
|
-
const type$
|
|
94027
|
-
const compatibilityDate$
|
|
94028
|
-
const metadata$
|
|
94070
|
+
const type$E = "com.shwfed.table.column.combobox-single.remote";
|
|
94071
|
+
const compatibilityDate$E = "2026-05-26";
|
|
94072
|
+
const metadata$E = {
|
|
94029
94073
|
name: "单选(远程)",
|
|
94030
94074
|
icon: "fluent:cloud-arrow-up-20-regular"
|
|
94031
94075
|
};
|
|
@@ -94125,7 +94169,7 @@ function optionsSchema$9(configure) {
|
|
|
94125
94169
|
description: '选项可以是静态配置(`kind: "static"`)或由远程接口加载(`kind: "remote"`)'
|
|
94126
94170
|
});
|
|
94127
94171
|
}
|
|
94128
|
-
function schema$
|
|
94172
|
+
function schema$E(configure) {
|
|
94129
94173
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
94130
94174
|
const Options = optionsSchema$9(configure);
|
|
94131
94175
|
const CelOnChange = Expression({
|
|
@@ -94144,8 +94188,8 @@ function schema$D(configure) {
|
|
|
94144
94188
|
resultType: "string"
|
|
94145
94189
|
});
|
|
94146
94190
|
return Struct({
|
|
94147
|
-
type: Literal2(type$
|
|
94148
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
94191
|
+
type: Literal2(type$E),
|
|
94192
|
+
compatibilityDate: Literal2(compatibilityDate$E),
|
|
94149
94193
|
...columnFields(configure),
|
|
94150
94194
|
placeholder: optional(Locale.annotations({
|
|
94151
94195
|
title: "占位符",
|
|
@@ -94199,8 +94243,8 @@ const migrate$h = (prev) => try_({
|
|
|
94199
94243
|
const itemsArr = Array.isArray(items2) ? items2 : [];
|
|
94200
94244
|
return {
|
|
94201
94245
|
...rest,
|
|
94202
|
-
type: type$
|
|
94203
|
-
compatibilityDate: compatibilityDate$
|
|
94246
|
+
type: type$E,
|
|
94247
|
+
compatibilityDate: compatibilityDate$E,
|
|
94204
94248
|
options: { kind: "static", items: itemsArr }
|
|
94205
94249
|
};
|
|
94206
94250
|
}
|
|
@@ -94213,8 +94257,8 @@ const migrate$h = (prev) => try_({
|
|
|
94213
94257
|
if (Array.isArray(optionLabel)) remote.optionLabel = optionLabel;
|
|
94214
94258
|
return {
|
|
94215
94259
|
...rest,
|
|
94216
|
-
type: type$
|
|
94217
|
-
compatibilityDate: compatibilityDate$
|
|
94260
|
+
type: type$E,
|
|
94261
|
+
compatibilityDate: compatibilityDate$E,
|
|
94218
94262
|
options: remote
|
|
94219
94263
|
};
|
|
94220
94264
|
}
|
|
@@ -94222,10 +94266,11 @@ const migrate$h = (prev) => try_({
|
|
|
94222
94266
|
},
|
|
94223
94267
|
catch: (e) => e instanceof Error ? e : new Error(String(e))
|
|
94224
94268
|
});
|
|
94225
|
-
function toColumnDef$
|
|
94269
|
+
function toColumnDef$d(value, { getLocaleText, $cel, inheritedContext }) {
|
|
94226
94270
|
return {
|
|
94227
94271
|
header: editableHeader(getLocaleText(value.title)),
|
|
94228
94272
|
accessorFn: (row, index) => {
|
|
94273
|
+
if (!value.accessor) return void 0;
|
|
94229
94274
|
try {
|
|
94230
94275
|
return runSync($cel(value.accessor, { ...inheritedContext, row, index }));
|
|
94231
94276
|
} catch (e) {
|
|
@@ -94244,20 +94289,20 @@ function toColumnDef$c(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
94244
94289
|
}
|
|
94245
94290
|
const __vite_glob_0_22$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
94246
94291
|
__proto__: null,
|
|
94247
|
-
compatibilityDate: compatibilityDate$
|
|
94292
|
+
compatibilityDate: compatibilityDate$E,
|
|
94248
94293
|
itemSchema: itemSchema$a,
|
|
94249
|
-
metadata: metadata$
|
|
94294
|
+
metadata: metadata$E,
|
|
94250
94295
|
migrate: migrate$h,
|
|
94251
94296
|
migrateFrom: migrateFrom$g,
|
|
94252
94297
|
optionsSchema: optionsSchema$9,
|
|
94253
94298
|
remoteOptionsSchema: remoteOptionsSchema$9,
|
|
94254
|
-
schema: schema$
|
|
94255
|
-
toColumnDef: toColumnDef$
|
|
94256
|
-
type: type$
|
|
94299
|
+
schema: schema$E,
|
|
94300
|
+
toColumnDef: toColumnDef$d,
|
|
94301
|
+
type: type$E
|
|
94257
94302
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
94258
|
-
const type$
|
|
94259
|
-
const compatibilityDate$
|
|
94260
|
-
const metadata$
|
|
94303
|
+
const type$D = "com.shwfed.table.column.combobox-single";
|
|
94304
|
+
const compatibilityDate$D = "2026-05-26";
|
|
94305
|
+
const metadata$D = {
|
|
94261
94306
|
name: "单选",
|
|
94262
94307
|
icon: "fluent:chevron-down-20-regular"
|
|
94263
94308
|
};
|
|
@@ -94357,12 +94402,12 @@ function optionsSchema$8(configure) {
|
|
|
94357
94402
|
description: '选项可以是静态配置(`kind: "static"`)或由远程接口加载(`kind: "remote"`)'
|
|
94358
94403
|
});
|
|
94359
94404
|
}
|
|
94360
|
-
function schema$
|
|
94405
|
+
function schema$D(configure) {
|
|
94361
94406
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
94362
94407
|
const Options = optionsSchema$8(configure);
|
|
94363
94408
|
return Struct({
|
|
94364
|
-
type: Literal2(type$
|
|
94365
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
94409
|
+
type: Literal2(type$D),
|
|
94410
|
+
compatibilityDate: Literal2(compatibilityDate$D),
|
|
94366
94411
|
...editableColumnFields(),
|
|
94367
94412
|
placeholder: optional(Locale.annotations({
|
|
94368
94413
|
title: "占位符",
|
|
@@ -94398,14 +94443,14 @@ const migrate$g = (prev) => try_({
|
|
|
94398
94443
|
const itemsArr = Array.isArray(items2) ? items2 : [];
|
|
94399
94444
|
return {
|
|
94400
94445
|
...rest,
|
|
94401
|
-
type: type$
|
|
94402
|
-
compatibilityDate: compatibilityDate$
|
|
94446
|
+
type: type$D,
|
|
94447
|
+
compatibilityDate: compatibilityDate$D,
|
|
94403
94448
|
options: { kind: "static", items: itemsArr }
|
|
94404
94449
|
};
|
|
94405
94450
|
},
|
|
94406
94451
|
catch: (e) => e instanceof Error ? e : new Error(String(e))
|
|
94407
94452
|
});
|
|
94408
|
-
function toColumnDef$
|
|
94453
|
+
function toColumnDef$c(value, { getLocaleText }) {
|
|
94409
94454
|
return {
|
|
94410
94455
|
header: editableHeader(getLocaleText(value.title)),
|
|
94411
94456
|
accessorFn: (row) => {
|
|
@@ -94423,16 +94468,16 @@ function toColumnDef$b(value, { getLocaleText }) {
|
|
|
94423
94468
|
}
|
|
94424
94469
|
const __vite_glob_0_23$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
94425
94470
|
__proto__: null,
|
|
94426
|
-
compatibilityDate: compatibilityDate$
|
|
94471
|
+
compatibilityDate: compatibilityDate$D,
|
|
94427
94472
|
itemSchema: itemSchema$9,
|
|
94428
|
-
metadata: metadata$
|
|
94473
|
+
metadata: metadata$D,
|
|
94429
94474
|
migrate: migrate$g,
|
|
94430
94475
|
migrateFrom: migrateFrom$f,
|
|
94431
94476
|
optionsSchema: optionsSchema$8,
|
|
94432
94477
|
remoteOptionsSchema: remoteOptionsSchema$8,
|
|
94433
|
-
schema: schema$
|
|
94434
|
-
toColumnDef: toColumnDef$
|
|
94435
|
-
type: type$
|
|
94478
|
+
schema: schema$D,
|
|
94479
|
+
toColumnDef: toColumnDef$c,
|
|
94480
|
+
type: type$D
|
|
94436
94481
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
94437
94482
|
const NODE_VAR_TYPE = "dyn";
|
|
94438
94483
|
const NODE_VAR_DESCRIPTION = "当前节点;由 `数据` 表达式返回的每一项";
|
|
@@ -94444,9 +94489,9 @@ function registerNodeVariableIfAbsent(env, meta = {}) {
|
|
|
94444
94489
|
description: meta.description ?? NODE_VAR_DESCRIPTION
|
|
94445
94490
|
});
|
|
94446
94491
|
}
|
|
94447
|
-
const type$
|
|
94448
|
-
const compatibilityDate$
|
|
94449
|
-
const metadata$
|
|
94492
|
+
const type$C = "com.shwfed.table.column.tree-combobox-multi";
|
|
94493
|
+
const compatibilityDate$C = "2026-05-27";
|
|
94494
|
+
const metadata$C = {
|
|
94450
94495
|
name: "下拉树(多选)",
|
|
94451
94496
|
icon: "fluent:tree-evergreen-20-regular"
|
|
94452
94497
|
};
|
|
@@ -94459,7 +94504,7 @@ function withRowAndNode$5(configure) {
|
|
|
94459
94504
|
registerNodeVariableIfAbsent(env, { description: "`数据源` 返回的节点;由树逐层向下读取" });
|
|
94460
94505
|
};
|
|
94461
94506
|
}
|
|
94462
|
-
function schema$
|
|
94507
|
+
function schema$C(configure) {
|
|
94463
94508
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
94464
94509
|
const CelNodeKey = Expression({ configure: withRowAndNode$5(configure), resultType: isKeyType$9 });
|
|
94465
94510
|
const CelNodeChildren = Expression({ configure: withRowAndNode$5(configure), resultType: isListLike$9 });
|
|
@@ -94493,8 +94538,8 @@ function schema$B(configure) {
|
|
|
94493
94538
|
})
|
|
94494
94539
|
}).annotations({ title: "DataSource", description: "数据源配置" });
|
|
94495
94540
|
return Struct({
|
|
94496
|
-
type: Literal2(type$
|
|
94497
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
94541
|
+
type: Literal2(type$C),
|
|
94542
|
+
compatibilityDate: Literal2(compatibilityDate$C),
|
|
94498
94543
|
...editableColumnFields(),
|
|
94499
94544
|
placeholder: optional(Locale.annotations({
|
|
94500
94545
|
title: "占位符",
|
|
@@ -94550,7 +94595,7 @@ function schema$B(configure) {
|
|
|
94550
94595
|
})
|
|
94551
94596
|
}).annotations({ title: "TreeComboboxMultiRenderer", description: "下拉树多选渲染器(可编辑)" });
|
|
94552
94597
|
}
|
|
94553
|
-
function defaults$
|
|
94598
|
+
function defaults$q() {
|
|
94554
94599
|
return {
|
|
94555
94600
|
dataSource: { data: "[]" },
|
|
94556
94601
|
nodeKey: "string(node.id)",
|
|
@@ -94560,7 +94605,7 @@ function defaults$p() {
|
|
|
94560
94605
|
expandAll: false
|
|
94561
94606
|
};
|
|
94562
94607
|
}
|
|
94563
|
-
function toColumnDef$
|
|
94608
|
+
function toColumnDef$b(value, { getLocaleText }) {
|
|
94564
94609
|
return {
|
|
94565
94610
|
header: editableHeader(getLocaleText(value.title)),
|
|
94566
94611
|
accessorFn: (row) => {
|
|
@@ -94578,16 +94623,16 @@ function toColumnDef$a(value, { getLocaleText }) {
|
|
|
94578
94623
|
}
|
|
94579
94624
|
const __vite_glob_0_24$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
94580
94625
|
__proto__: null,
|
|
94581
|
-
compatibilityDate: compatibilityDate$
|
|
94582
|
-
defaults: defaults$
|
|
94583
|
-
metadata: metadata$
|
|
94584
|
-
schema: schema$
|
|
94585
|
-
toColumnDef: toColumnDef$
|
|
94586
|
-
type: type$
|
|
94626
|
+
compatibilityDate: compatibilityDate$C,
|
|
94627
|
+
defaults: defaults$q,
|
|
94628
|
+
metadata: metadata$C,
|
|
94629
|
+
schema: schema$C,
|
|
94630
|
+
toColumnDef: toColumnDef$b,
|
|
94631
|
+
type: type$C
|
|
94587
94632
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
94588
|
-
const type$
|
|
94589
|
-
const compatibilityDate$
|
|
94590
|
-
const metadata$
|
|
94633
|
+
const type$B = "com.shwfed.table.column.tree-combobox-single";
|
|
94634
|
+
const compatibilityDate$B = "2026-05-27";
|
|
94635
|
+
const metadata$B = {
|
|
94591
94636
|
name: "下拉树(单选)",
|
|
94592
94637
|
icon: "fluent:tree-evergreen-20-regular"
|
|
94593
94638
|
};
|
|
@@ -94600,7 +94645,7 @@ function withRowAndNode$4(configure) {
|
|
|
94600
94645
|
registerNodeVariableIfAbsent(env, { description: "`数据源` 返回的节点;由树逐层向下读取" });
|
|
94601
94646
|
};
|
|
94602
94647
|
}
|
|
94603
|
-
function schema$
|
|
94648
|
+
function schema$B(configure) {
|
|
94604
94649
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
94605
94650
|
const CelNodeKey = Expression({ configure: withRowAndNode$4(configure), resultType: isKeyType$8 });
|
|
94606
94651
|
const CelNodeChildren = Expression({ configure: withRowAndNode$4(configure), resultType: isListLike$8 });
|
|
@@ -94634,8 +94679,8 @@ function schema$A(configure) {
|
|
|
94634
94679
|
})
|
|
94635
94680
|
}).annotations({ title: "DataSource", description: "数据源配置" });
|
|
94636
94681
|
return Struct({
|
|
94637
|
-
type: Literal2(type$
|
|
94638
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
94682
|
+
type: Literal2(type$B),
|
|
94683
|
+
compatibilityDate: Literal2(compatibilityDate$B),
|
|
94639
94684
|
...editableColumnFields(),
|
|
94640
94685
|
placeholder: optional(Locale.annotations({
|
|
94641
94686
|
title: "占位符",
|
|
@@ -94684,7 +94729,7 @@ function schema$A(configure) {
|
|
|
94684
94729
|
})
|
|
94685
94730
|
}).annotations({ title: "TreeComboboxSingleRenderer", description: "下拉树单选渲染器(可编辑)" });
|
|
94686
94731
|
}
|
|
94687
|
-
function defaults$
|
|
94732
|
+
function defaults$p() {
|
|
94688
94733
|
return {
|
|
94689
94734
|
dataSource: { data: "[]" },
|
|
94690
94735
|
nodeKey: "string(node.id)",
|
|
@@ -94693,7 +94738,7 @@ function defaults$o() {
|
|
|
94693
94738
|
expandAll: false
|
|
94694
94739
|
};
|
|
94695
94740
|
}
|
|
94696
|
-
function toColumnDef$
|
|
94741
|
+
function toColumnDef$a(value, { getLocaleText }) {
|
|
94697
94742
|
return {
|
|
94698
94743
|
header: editableHeader(getLocaleText(value.title)),
|
|
94699
94744
|
accessorFn: (row) => {
|
|
@@ -94711,16 +94756,16 @@ function toColumnDef$9(value, { getLocaleText }) {
|
|
|
94711
94756
|
}
|
|
94712
94757
|
const __vite_glob_0_25$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
94713
94758
|
__proto__: null,
|
|
94714
|
-
compatibilityDate: compatibilityDate$
|
|
94715
|
-
defaults: defaults$
|
|
94716
|
-
metadata: metadata$
|
|
94717
|
-
schema: schema$
|
|
94718
|
-
toColumnDef: toColumnDef$
|
|
94719
|
-
type: type$
|
|
94759
|
+
compatibilityDate: compatibilityDate$B,
|
|
94760
|
+
defaults: defaults$p,
|
|
94761
|
+
metadata: metadata$B,
|
|
94762
|
+
schema: schema$B,
|
|
94763
|
+
toColumnDef: toColumnDef$a,
|
|
94764
|
+
type: type$B
|
|
94720
94765
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
94721
|
-
const type$
|
|
94722
|
-
const compatibilityDate$
|
|
94723
|
-
const metadata$
|
|
94766
|
+
const type$A = "com.shwfed.table.column.combobox-multi";
|
|
94767
|
+
const compatibilityDate$A = "2026-05-28";
|
|
94768
|
+
const metadata$A = {
|
|
94724
94769
|
name: "多选",
|
|
94725
94770
|
icon: "fluent:chevron-down-20-regular",
|
|
94726
94771
|
// Publishes its resolved options (array) to the per-row `selections` registry
|
|
@@ -94872,14 +94917,14 @@ function writeSchema$3(configure) {
|
|
|
94872
94917
|
description: '`kind: "binding"` 行内编辑写回 dot-prop 路径;`kind: "remote"` 只读回显并通过请求写入服务端'
|
|
94873
94918
|
});
|
|
94874
94919
|
}
|
|
94875
|
-
function schema$
|
|
94920
|
+
function schema$A(configure) {
|
|
94876
94921
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
94877
94922
|
const Options = optionsSchema$7(configure);
|
|
94878
94923
|
const Write = writeSchema$3(configure);
|
|
94879
94924
|
const display = columnFields(configure);
|
|
94880
94925
|
return Struct({
|
|
94881
|
-
type: Literal2(type$
|
|
94882
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
94926
|
+
type: Literal2(type$A),
|
|
94927
|
+
compatibilityDate: Literal2(compatibilityDate$A),
|
|
94883
94928
|
...columnIdentityFields(),
|
|
94884
94929
|
title: display.title,
|
|
94885
94930
|
placeholder: optional(Locale.annotations({
|
|
@@ -94914,7 +94959,7 @@ function schema$z(configure) {
|
|
|
94914
94959
|
description: "下拉多选渲染器"
|
|
94915
94960
|
});
|
|
94916
94961
|
}
|
|
94917
|
-
function defaults$
|
|
94962
|
+
function defaults$o() {
|
|
94918
94963
|
return {
|
|
94919
94964
|
title: [{ locale: "zh", message: "" }],
|
|
94920
94965
|
size: 200,
|
|
@@ -94933,7 +94978,7 @@ const migrate$f = (prev) => try_({
|
|
|
94933
94978
|
throw new Error("下拉多选迁移失败:原值不是对象");
|
|
94934
94979
|
}
|
|
94935
94980
|
const src = prev;
|
|
94936
|
-
const out = { type: type$
|
|
94981
|
+
const out = { type: type$A, compatibilityDate: compatibilityDate$A };
|
|
94937
94982
|
for (const k of CARRY$1) {
|
|
94938
94983
|
if (src[k] !== void 0) out[k] = src[k];
|
|
94939
94984
|
}
|
|
@@ -94967,7 +95012,7 @@ const migrate$f = (prev) => try_({
|
|
|
94967
95012
|
},
|
|
94968
95013
|
catch: (e) => e instanceof Error ? e : new Error(String(e))
|
|
94969
95014
|
});
|
|
94970
|
-
function toColumnDef$
|
|
95015
|
+
function toColumnDef$9(value, { getLocaleText, $cel, inheritedContext }) {
|
|
94971
95016
|
const write2 = value.write;
|
|
94972
95017
|
const accessorFn = write2.kind === "binding" ? (row) => {
|
|
94973
95018
|
if (!row || typeof row !== "object") return void 0;
|
|
@@ -94994,22 +95039,22 @@ function toColumnDef$8(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
94994
95039
|
}
|
|
94995
95040
|
const __vite_glob_0_26$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
94996
95041
|
__proto__: null,
|
|
94997
|
-
compatibilityDate: compatibilityDate$
|
|
94998
|
-
defaults: defaults$
|
|
95042
|
+
compatibilityDate: compatibilityDate$A,
|
|
95043
|
+
defaults: defaults$o,
|
|
94999
95044
|
itemSchema: itemSchema$8,
|
|
95000
|
-
metadata: metadata$
|
|
95045
|
+
metadata: metadata$A,
|
|
95001
95046
|
migrate: migrate$f,
|
|
95002
95047
|
migrateFrom: migrateFrom$e,
|
|
95003
95048
|
optionsSchema: optionsSchema$7,
|
|
95004
95049
|
remoteOptionsSchema: remoteOptionsSchema$7,
|
|
95005
|
-
schema: schema$
|
|
95006
|
-
toColumnDef: toColumnDef$
|
|
95007
|
-
type: type$
|
|
95050
|
+
schema: schema$A,
|
|
95051
|
+
toColumnDef: toColumnDef$9,
|
|
95052
|
+
type: type$A,
|
|
95008
95053
|
writeSchema: writeSchema$3
|
|
95009
95054
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
95010
|
-
const type$
|
|
95011
|
-
const compatibilityDate$
|
|
95012
|
-
const metadata$
|
|
95055
|
+
const type$z = "com.shwfed.table.column.combobox-single";
|
|
95056
|
+
const compatibilityDate$z = "2026-05-28";
|
|
95057
|
+
const metadata$z = {
|
|
95013
95058
|
name: "单选",
|
|
95014
95059
|
icon: "fluent:chevron-down-20-regular",
|
|
95015
95060
|
// Publishes its resolved option (the source record) to the per-row
|
|
@@ -95161,14 +95206,14 @@ function writeSchema$2(configure) {
|
|
|
95161
95206
|
description: '`kind: "binding"` 行内编辑写回 dot-prop 路径;`kind: "remote"` 只读回显并通过请求写入服务端'
|
|
95162
95207
|
});
|
|
95163
95208
|
}
|
|
95164
|
-
function schema$
|
|
95209
|
+
function schema$z(configure) {
|
|
95165
95210
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
95166
95211
|
const Options = optionsSchema$6(configure);
|
|
95167
95212
|
const Write = writeSchema$2(configure);
|
|
95168
95213
|
const display = columnFields(configure);
|
|
95169
95214
|
return Struct({
|
|
95170
|
-
type: Literal2(type$
|
|
95171
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
95215
|
+
type: Literal2(type$z),
|
|
95216
|
+
compatibilityDate: Literal2(compatibilityDate$z),
|
|
95172
95217
|
...columnIdentityFields(),
|
|
95173
95218
|
title: display.title,
|
|
95174
95219
|
placeholder: optional(Locale.annotations({
|
|
@@ -95203,7 +95248,7 @@ function schema$y(configure) {
|
|
|
95203
95248
|
description: "下拉单选渲染器"
|
|
95204
95249
|
});
|
|
95205
95250
|
}
|
|
95206
|
-
function defaults$
|
|
95251
|
+
function defaults$n() {
|
|
95207
95252
|
return {
|
|
95208
95253
|
title: [{ locale: "zh", message: "" }],
|
|
95209
95254
|
size: 200,
|
|
@@ -95222,7 +95267,7 @@ const migrate$e = (prev) => try_({
|
|
|
95222
95267
|
throw new Error("下拉单选迁移失败:原值不是对象");
|
|
95223
95268
|
}
|
|
95224
95269
|
const src = prev;
|
|
95225
|
-
const out = { type: type$
|
|
95270
|
+
const out = { type: type$z, compatibilityDate: compatibilityDate$z };
|
|
95226
95271
|
for (const k of CARRY) {
|
|
95227
95272
|
if (src[k] !== void 0) out[k] = src[k];
|
|
95228
95273
|
}
|
|
@@ -95256,7 +95301,7 @@ const migrate$e = (prev) => try_({
|
|
|
95256
95301
|
},
|
|
95257
95302
|
catch: (e) => e instanceof Error ? e : new Error(String(e))
|
|
95258
95303
|
});
|
|
95259
|
-
function toColumnDef$
|
|
95304
|
+
function toColumnDef$8(value, { getLocaleText, $cel, inheritedContext }) {
|
|
95260
95305
|
const write2 = value.write;
|
|
95261
95306
|
const accessorFn = write2.kind === "binding" ? (row) => {
|
|
95262
95307
|
if (!row || typeof row !== "object") return void 0;
|
|
@@ -95283,22 +95328,22 @@ function toColumnDef$7(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
95283
95328
|
}
|
|
95284
95329
|
const __vite_glob_0_27$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
95285
95330
|
__proto__: null,
|
|
95286
|
-
compatibilityDate: compatibilityDate$
|
|
95287
|
-
defaults: defaults$
|
|
95331
|
+
compatibilityDate: compatibilityDate$z,
|
|
95332
|
+
defaults: defaults$n,
|
|
95288
95333
|
itemSchema: itemSchema$7,
|
|
95289
|
-
metadata: metadata$
|
|
95334
|
+
metadata: metadata$z,
|
|
95290
95335
|
migrate: migrate$e,
|
|
95291
95336
|
migrateFrom: migrateFrom$d,
|
|
95292
95337
|
optionsSchema: optionsSchema$6,
|
|
95293
95338
|
remoteOptionsSchema: remoteOptionsSchema$6,
|
|
95294
|
-
schema: schema$
|
|
95295
|
-
toColumnDef: toColumnDef$
|
|
95296
|
-
type: type$
|
|
95339
|
+
schema: schema$z,
|
|
95340
|
+
toColumnDef: toColumnDef$8,
|
|
95341
|
+
type: type$z,
|
|
95297
95342
|
writeSchema: writeSchema$2
|
|
95298
95343
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
95299
|
-
const type$
|
|
95300
|
-
const compatibilityDate$
|
|
95301
|
-
const metadata$
|
|
95344
|
+
const type$y = "com.shwfed.table.column.tree-combobox-multi";
|
|
95345
|
+
const compatibilityDate$y = "2026-05-28";
|
|
95346
|
+
const metadata$y = {
|
|
95302
95347
|
name: "下拉树(多选)",
|
|
95303
95348
|
icon: "fluent:tree-evergreen-20-regular",
|
|
95304
95349
|
// Publishes its resolved nodes (array) to the per-row `selections` registry (runtime.vue), readable via `selections["<id>"]`.
|
|
@@ -95313,7 +95358,7 @@ function withRowAndNode$3(configure) {
|
|
|
95313
95358
|
registerNodeVariableIfAbsent(env, { description: "`数据源` 返回的节点;由树逐层向下读取" });
|
|
95314
95359
|
};
|
|
95315
95360
|
}
|
|
95316
|
-
function schema$
|
|
95361
|
+
function schema$y(configure) {
|
|
95317
95362
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
95318
95363
|
const CelNodeKey = Expression({ configure: withRowAndNode$3(configure), resultType: isKeyType$7 });
|
|
95319
95364
|
const CelNodeChildren = Expression({ configure: withRowAndNode$3(configure), resultType: isListLike$7 });
|
|
@@ -95348,8 +95393,8 @@ function schema$x(configure) {
|
|
|
95348
95393
|
})
|
|
95349
95394
|
}).annotations({ title: "DataSource", description: "数据源配置" });
|
|
95350
95395
|
return Struct({
|
|
95351
|
-
type: Literal2(type$
|
|
95352
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
95396
|
+
type: Literal2(type$y),
|
|
95397
|
+
compatibilityDate: Literal2(compatibilityDate$y),
|
|
95353
95398
|
...editableColumnFields(),
|
|
95354
95399
|
placeholder: optional(Locale.annotations({
|
|
95355
95400
|
title: "占位符",
|
|
@@ -95409,7 +95454,7 @@ function schema$x(configure) {
|
|
|
95409
95454
|
})
|
|
95410
95455
|
}).annotations({ title: "TreeComboboxMultiRenderer", description: "下拉树多选渲染器(可编辑)" });
|
|
95411
95456
|
}
|
|
95412
|
-
function defaults$
|
|
95457
|
+
function defaults$m() {
|
|
95413
95458
|
return {
|
|
95414
95459
|
title: [{ locale: "zh", message: "" }],
|
|
95415
95460
|
binding: "",
|
|
@@ -95431,11 +95476,11 @@ const migrate$d = (prev) => try_({
|
|
|
95431
95476
|
throw new Error("下拉树(多选)迁移失败:原值不是对象");
|
|
95432
95477
|
}
|
|
95433
95478
|
const { compatibilityDate: _omit, ...rest } = prev;
|
|
95434
|
-
return { ...rest, type: type$
|
|
95479
|
+
return { ...rest, type: type$y, compatibilityDate: compatibilityDate$y };
|
|
95435
95480
|
},
|
|
95436
95481
|
catch: (e) => e instanceof Error ? e : new Error(String(e))
|
|
95437
95482
|
});
|
|
95438
|
-
function toColumnDef$
|
|
95483
|
+
function toColumnDef$7(value, { getLocaleText }) {
|
|
95439
95484
|
return {
|
|
95440
95485
|
header: editableHeader(getLocaleText(value.title)),
|
|
95441
95486
|
accessorFn: (row) => {
|
|
@@ -95453,18 +95498,18 @@ function toColumnDef$6(value, { getLocaleText }) {
|
|
|
95453
95498
|
}
|
|
95454
95499
|
const __vite_glob_0_28$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
95455
95500
|
__proto__: null,
|
|
95456
|
-
compatibilityDate: compatibilityDate$
|
|
95457
|
-
defaults: defaults$
|
|
95458
|
-
metadata: metadata$
|
|
95501
|
+
compatibilityDate: compatibilityDate$y,
|
|
95502
|
+
defaults: defaults$m,
|
|
95503
|
+
metadata: metadata$y,
|
|
95459
95504
|
migrate: migrate$d,
|
|
95460
95505
|
migrateFrom: migrateFrom$c,
|
|
95461
|
-
schema: schema$
|
|
95462
|
-
toColumnDef: toColumnDef$
|
|
95463
|
-
type: type$
|
|
95506
|
+
schema: schema$y,
|
|
95507
|
+
toColumnDef: toColumnDef$7,
|
|
95508
|
+
type: type$y
|
|
95464
95509
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
95465
|
-
const type$
|
|
95466
|
-
const compatibilityDate$
|
|
95467
|
-
const metadata$
|
|
95510
|
+
const type$x = "com.shwfed.table.column.tree-combobox-single";
|
|
95511
|
+
const compatibilityDate$x = "2026-05-28";
|
|
95512
|
+
const metadata$x = {
|
|
95468
95513
|
name: "下拉树(单选)",
|
|
95469
95514
|
icon: "fluent:tree-evergreen-20-regular",
|
|
95470
95515
|
// Publishes its resolved node (backend record) to the per-row `selections` registry (runtime.vue), readable via `selections["<id>"]`.
|
|
@@ -95479,7 +95524,7 @@ function withRowAndNode$2(configure) {
|
|
|
95479
95524
|
registerNodeVariableIfAbsent(env, { description: "`数据源` 返回的节点;由树逐层向下读取" });
|
|
95480
95525
|
};
|
|
95481
95526
|
}
|
|
95482
|
-
function schema$
|
|
95527
|
+
function schema$x(configure) {
|
|
95483
95528
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
95484
95529
|
const CelNodeKey = Expression({ configure: withRowAndNode$2(configure), resultType: isKeyType$6 });
|
|
95485
95530
|
const CelNodeChildren = Expression({ configure: withRowAndNode$2(configure), resultType: isListLike$6 });
|
|
@@ -95514,8 +95559,8 @@ function schema$w(configure) {
|
|
|
95514
95559
|
})
|
|
95515
95560
|
}).annotations({ title: "DataSource", description: "数据源配置" });
|
|
95516
95561
|
return Struct({
|
|
95517
|
-
type: Literal2(type$
|
|
95518
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
95562
|
+
type: Literal2(type$x),
|
|
95563
|
+
compatibilityDate: Literal2(compatibilityDate$x),
|
|
95519
95564
|
...editableColumnFields(),
|
|
95520
95565
|
placeholder: optional(Locale.annotations({
|
|
95521
95566
|
title: "占位符",
|
|
@@ -95568,7 +95613,7 @@ function schema$w(configure) {
|
|
|
95568
95613
|
})
|
|
95569
95614
|
}).annotations({ title: "TreeComboboxSingleRenderer", description: "下拉树单选渲染器(可编辑)" });
|
|
95570
95615
|
}
|
|
95571
|
-
function defaults$
|
|
95616
|
+
function defaults$l() {
|
|
95572
95617
|
return {
|
|
95573
95618
|
title: [{ locale: "zh", message: "" }],
|
|
95574
95619
|
binding: "",
|
|
@@ -95589,11 +95634,11 @@ const migrate$c = (prev) => try_({
|
|
|
95589
95634
|
throw new Error("下拉树(单选)迁移失败:原值不是对象");
|
|
95590
95635
|
}
|
|
95591
95636
|
const { compatibilityDate: _omit, ...rest } = prev;
|
|
95592
|
-
return { ...rest, type: type$
|
|
95637
|
+
return { ...rest, type: type$x, compatibilityDate: compatibilityDate$x };
|
|
95593
95638
|
},
|
|
95594
95639
|
catch: (e) => e instanceof Error ? e : new Error(String(e))
|
|
95595
95640
|
});
|
|
95596
|
-
function toColumnDef$
|
|
95641
|
+
function toColumnDef$6(value, { getLocaleText }) {
|
|
95597
95642
|
return {
|
|
95598
95643
|
header: editableHeader(getLocaleText(value.title)),
|
|
95599
95644
|
accessorFn: (row) => {
|
|
@@ -95611,14 +95656,14 @@ function toColumnDef$5(value, { getLocaleText }) {
|
|
|
95611
95656
|
}
|
|
95612
95657
|
const __vite_glob_0_29$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
95613
95658
|
__proto__: null,
|
|
95614
|
-
compatibilityDate: compatibilityDate$
|
|
95615
|
-
defaults: defaults$
|
|
95616
|
-
metadata: metadata$
|
|
95659
|
+
compatibilityDate: compatibilityDate$x,
|
|
95660
|
+
defaults: defaults$l,
|
|
95661
|
+
metadata: metadata$x,
|
|
95617
95662
|
migrate: migrate$c,
|
|
95618
95663
|
migrateFrom: migrateFrom$b,
|
|
95619
|
-
schema: schema$
|
|
95620
|
-
toColumnDef: toColumnDef$
|
|
95621
|
-
type: type$
|
|
95664
|
+
schema: schema$x,
|
|
95665
|
+
toColumnDef: toColumnDef$6,
|
|
95666
|
+
type: type$x
|
|
95622
95667
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
95623
95668
|
const INTERPOLATION_RE$1 = /\{\{(.*?)\}\}/gs;
|
|
95624
95669
|
function celString$1(text2) {
|
|
@@ -95656,9 +95701,9 @@ function localeLabelToExpression$1(label) {
|
|
|
95656
95701
|
const message2 = chosen && typeof chosen.message === "string" ? chosen.message : "";
|
|
95657
95702
|
return templateToExpression$1(message2);
|
|
95658
95703
|
}
|
|
95659
|
-
const type$
|
|
95660
|
-
const compatibilityDate$
|
|
95661
|
-
const metadata$
|
|
95704
|
+
const type$w = "com.shwfed.table.column.combobox-multi";
|
|
95705
|
+
const compatibilityDate$w = "2026-06-14";
|
|
95706
|
+
const metadata$w = {
|
|
95662
95707
|
name: "多选",
|
|
95663
95708
|
icon: "fluent:chevron-down-20-regular",
|
|
95664
95709
|
// Publishes its resolved options (array) to the per-row `selections` registry
|
|
@@ -95811,24 +95856,21 @@ function writeSchema$1(configure) {
|
|
|
95811
95856
|
description: '`kind: "binding"` 行内编辑写回 dot-prop 路径;`kind: "remote"` 只读回显并通过请求写入服务端'
|
|
95812
95857
|
});
|
|
95813
95858
|
}
|
|
95814
|
-
function schema$
|
|
95859
|
+
function schema$w(configure) {
|
|
95815
95860
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
95816
95861
|
const Options = optionsSchema$5(configure);
|
|
95817
95862
|
const Write = writeSchema$1(configure);
|
|
95818
95863
|
const display = columnFields(configure);
|
|
95819
95864
|
return Struct({
|
|
95820
|
-
type: Literal2(type$
|
|
95821
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
95865
|
+
type: Literal2(type$w),
|
|
95866
|
+
compatibilityDate: Literal2(compatibilityDate$w),
|
|
95822
95867
|
...columnIdentityFields(),
|
|
95823
95868
|
title: display.title,
|
|
95869
|
+
align: optionalWith(Align.annotations({ title: "对齐" }), { default: () => "left" }),
|
|
95824
95870
|
placeholder: optional(Locale.annotations({
|
|
95825
95871
|
title: "占位符",
|
|
95826
95872
|
description: "未选中任何选项时输入框中的占位文本"
|
|
95827
95873
|
})),
|
|
95828
|
-
hidden: optional(CelBool.annotations({
|
|
95829
|
-
title: "隐藏条件",
|
|
95830
|
-
description: "返回 `true` 时该行的下拉框不渲染(其余行不受影响)"
|
|
95831
|
-
})),
|
|
95832
95874
|
disabled: optional(CelBool.annotations({
|
|
95833
95875
|
title: "禁用条件",
|
|
95834
95876
|
description: "返回 `true` 时下拉框仍然渲染但不可选择"
|
|
@@ -95842,6 +95884,7 @@ function schema$v(configure) {
|
|
|
95842
95884
|
size: display.size,
|
|
95843
95885
|
grow: display.grow,
|
|
95844
95886
|
tooltip: display.tooltip,
|
|
95887
|
+
hidden: display.hidden,
|
|
95845
95888
|
options: optionalWith(Options, {
|
|
95846
95889
|
default: () => ({ kind: "static", items: [] })
|
|
95847
95890
|
}),
|
|
@@ -95853,7 +95896,7 @@ function schema$v(configure) {
|
|
|
95853
95896
|
description: "下拉多选渲染器"
|
|
95854
95897
|
});
|
|
95855
95898
|
}
|
|
95856
|
-
function defaults$
|
|
95899
|
+
function defaults$k() {
|
|
95857
95900
|
return {
|
|
95858
95901
|
title: [{ locale: "zh", message: "" }],
|
|
95859
95902
|
size: 200,
|
|
@@ -95884,8 +95927,8 @@ const migrate$b = (prev) => try_({
|
|
|
95884
95927
|
}
|
|
95885
95928
|
return {
|
|
95886
95929
|
...rest,
|
|
95887
|
-
type: type$
|
|
95888
|
-
compatibilityDate: compatibilityDate$
|
|
95930
|
+
type: type$w,
|
|
95931
|
+
compatibilityDate: compatibilityDate$w,
|
|
95889
95932
|
options: nextOptions
|
|
95890
95933
|
};
|
|
95891
95934
|
}
|
|
@@ -95893,7 +95936,7 @@ const migrate$b = (prev) => try_({
|
|
|
95893
95936
|
},
|
|
95894
95937
|
catch: (e) => e instanceof Error ? e : new Error(String(e))
|
|
95895
95938
|
});
|
|
95896
|
-
function toColumnDef$
|
|
95939
|
+
function toColumnDef$5(value, { getLocaleText, $cel, inheritedContext }) {
|
|
95897
95940
|
const write2 = value.write;
|
|
95898
95941
|
const accessorFn = write2.kind === "binding" ? (row) => {
|
|
95899
95942
|
if (!row || typeof row !== "object") return void 0;
|
|
@@ -95920,22 +95963,22 @@ function toColumnDef$4(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
95920
95963
|
}
|
|
95921
95964
|
const __vite_glob_0_30$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
95922
95965
|
__proto__: null,
|
|
95923
|
-
compatibilityDate: compatibilityDate$
|
|
95924
|
-
defaults: defaults$
|
|
95966
|
+
compatibilityDate: compatibilityDate$w,
|
|
95967
|
+
defaults: defaults$k,
|
|
95925
95968
|
itemSchema: itemSchema$6,
|
|
95926
|
-
metadata: metadata$
|
|
95969
|
+
metadata: metadata$w,
|
|
95927
95970
|
migrate: migrate$b,
|
|
95928
95971
|
migrateFrom: migrateFrom$a,
|
|
95929
95972
|
optionsSchema: optionsSchema$5,
|
|
95930
95973
|
remoteOptionsSchema: remoteOptionsSchema$5,
|
|
95931
|
-
schema: schema$
|
|
95932
|
-
toColumnDef: toColumnDef$
|
|
95933
|
-
type: type$
|
|
95974
|
+
schema: schema$w,
|
|
95975
|
+
toColumnDef: toColumnDef$5,
|
|
95976
|
+
type: type$w,
|
|
95934
95977
|
writeSchema: writeSchema$1
|
|
95935
95978
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
95936
|
-
const type$
|
|
95937
|
-
const compatibilityDate$
|
|
95938
|
-
const metadata$
|
|
95979
|
+
const type$v = "com.shwfed.table.column.combobox-single";
|
|
95980
|
+
const compatibilityDate$v = "2026-06-14";
|
|
95981
|
+
const metadata$v = {
|
|
95939
95982
|
name: "单选",
|
|
95940
95983
|
icon: "fluent:chevron-down-20-regular",
|
|
95941
95984
|
// Publishes its resolved option (the source record) to the per-row
|
|
@@ -96088,24 +96131,21 @@ function writeSchema(configure) {
|
|
|
96088
96131
|
description: '`kind: "binding"` 行内编辑写回 dot-prop 路径;`kind: "remote"` 只读回显并通过请求写入服务端'
|
|
96089
96132
|
});
|
|
96090
96133
|
}
|
|
96091
|
-
function schema$
|
|
96134
|
+
function schema$v(configure) {
|
|
96092
96135
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
96093
96136
|
const Options = optionsSchema$4(configure);
|
|
96094
96137
|
const Write = writeSchema(configure);
|
|
96095
96138
|
const display = columnFields(configure);
|
|
96096
96139
|
return Struct({
|
|
96097
|
-
type: Literal2(type$
|
|
96098
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
96140
|
+
type: Literal2(type$v),
|
|
96141
|
+
compatibilityDate: Literal2(compatibilityDate$v),
|
|
96099
96142
|
...columnIdentityFields(),
|
|
96100
96143
|
title: display.title,
|
|
96144
|
+
align: optionalWith(Align.annotations({ title: "对齐" }), { default: () => "left" }),
|
|
96101
96145
|
placeholder: optional(Locale.annotations({
|
|
96102
96146
|
title: "占位符",
|
|
96103
96147
|
description: "未选中任何选项时输入框中的占位文本"
|
|
96104
96148
|
})),
|
|
96105
|
-
hidden: optional(CelBool.annotations({
|
|
96106
|
-
title: "隐藏条件",
|
|
96107
|
-
description: "返回 `true` 时该行的下拉框不渲染(其余行不受影响)"
|
|
96108
|
-
})),
|
|
96109
96149
|
disabled: optional(CelBool.annotations({
|
|
96110
96150
|
title: "禁用条件",
|
|
96111
96151
|
description: "返回 `true` 时下拉框仍然渲染但不可选择"
|
|
@@ -96119,6 +96159,7 @@ function schema$u(configure) {
|
|
|
96119
96159
|
size: display.size,
|
|
96120
96160
|
grow: display.grow,
|
|
96121
96161
|
tooltip: display.tooltip,
|
|
96162
|
+
hidden: display.hidden,
|
|
96122
96163
|
options: optionalWith(Options, {
|
|
96123
96164
|
default: () => ({ kind: "static", items: [] })
|
|
96124
96165
|
}),
|
|
@@ -96130,7 +96171,7 @@ function schema$u(configure) {
|
|
|
96130
96171
|
description: "下拉单选渲染器"
|
|
96131
96172
|
});
|
|
96132
96173
|
}
|
|
96133
|
-
function defaults$
|
|
96174
|
+
function defaults$j() {
|
|
96134
96175
|
return {
|
|
96135
96176
|
title: [{ locale: "zh", message: "" }],
|
|
96136
96177
|
size: 200,
|
|
@@ -96161,8 +96202,8 @@ const migrate$a = (prev) => try_({
|
|
|
96161
96202
|
}
|
|
96162
96203
|
return {
|
|
96163
96204
|
...rest,
|
|
96164
|
-
type: type$
|
|
96165
|
-
compatibilityDate: compatibilityDate$
|
|
96205
|
+
type: type$v,
|
|
96206
|
+
compatibilityDate: compatibilityDate$v,
|
|
96166
96207
|
options: nextOptions
|
|
96167
96208
|
};
|
|
96168
96209
|
}
|
|
@@ -96170,7 +96211,7 @@ const migrate$a = (prev) => try_({
|
|
|
96170
96211
|
},
|
|
96171
96212
|
catch: (e) => e instanceof Error ? e : new Error(String(e))
|
|
96172
96213
|
});
|
|
96173
|
-
function toColumnDef$
|
|
96214
|
+
function toColumnDef$4(value, { getLocaleText, $cel, inheritedContext }) {
|
|
96174
96215
|
const write2 = value.write;
|
|
96175
96216
|
const accessorFn = write2.kind === "binding" ? (row) => {
|
|
96176
96217
|
if (!row || typeof row !== "object") return void 0;
|
|
@@ -96197,22 +96238,22 @@ function toColumnDef$3(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
96197
96238
|
}
|
|
96198
96239
|
const __vite_glob_0_31$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
96199
96240
|
__proto__: null,
|
|
96200
|
-
compatibilityDate: compatibilityDate$
|
|
96201
|
-
defaults: defaults$
|
|
96241
|
+
compatibilityDate: compatibilityDate$v,
|
|
96242
|
+
defaults: defaults$j,
|
|
96202
96243
|
itemSchema: itemSchema$5,
|
|
96203
|
-
metadata: metadata$
|
|
96244
|
+
metadata: metadata$v,
|
|
96204
96245
|
migrate: migrate$a,
|
|
96205
96246
|
migrateFrom: migrateFrom$9,
|
|
96206
96247
|
optionsSchema: optionsSchema$4,
|
|
96207
96248
|
remoteOptionsSchema: remoteOptionsSchema$4,
|
|
96208
|
-
schema: schema$
|
|
96209
|
-
toColumnDef: toColumnDef$
|
|
96210
|
-
type: type$
|
|
96249
|
+
schema: schema$v,
|
|
96250
|
+
toColumnDef: toColumnDef$4,
|
|
96251
|
+
type: type$v,
|
|
96211
96252
|
writeSchema
|
|
96212
96253
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
96213
|
-
const type$
|
|
96214
|
-
const compatibilityDate$
|
|
96215
|
-
const metadata$
|
|
96254
|
+
const type$u = "com.shwfed.table.column.tree-combobox-multi";
|
|
96255
|
+
const compatibilityDate$u = "2026-06-14";
|
|
96256
|
+
const metadata$u = {
|
|
96216
96257
|
name: "下拉树(多选)",
|
|
96217
96258
|
icon: "fluent:tree-evergreen-20-regular",
|
|
96218
96259
|
// Publishes its resolved nodes (array) to the per-row `selections` registry (runtime.vue), readable via `selections["<id>"]`.
|
|
@@ -96227,7 +96268,7 @@ function withRowAndNode$1(configure) {
|
|
|
96227
96268
|
registerNodeVariableIfAbsent(env, { description: "`数据源` 返回的节点;由树逐层向下读取" });
|
|
96228
96269
|
};
|
|
96229
96270
|
}
|
|
96230
|
-
function schema$
|
|
96271
|
+
function schema$u(configure) {
|
|
96231
96272
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
96232
96273
|
const CelNodeKey = Expression({ configure: withRowAndNode$1(configure), resultType: isKeyType$5 });
|
|
96233
96274
|
const CelNodeChildren = Expression({ configure: withRowAndNode$1(configure), resultType: isListLike$5 });
|
|
@@ -96263,17 +96304,14 @@ function schema$t(configure) {
|
|
|
96263
96304
|
})
|
|
96264
96305
|
}).annotations({ title: "DataSource", description: "数据源配置" });
|
|
96265
96306
|
return Struct({
|
|
96266
|
-
type: Literal2(type$
|
|
96267
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
96307
|
+
type: Literal2(type$u),
|
|
96308
|
+
compatibilityDate: Literal2(compatibilityDate$u),
|
|
96268
96309
|
...editableColumnFields(),
|
|
96310
|
+
align: optionalWith(Align.annotations({ title: "对齐" }), { default: () => "left" }),
|
|
96269
96311
|
placeholder: optional(Locale.annotations({
|
|
96270
96312
|
title: "占位符",
|
|
96271
96313
|
description: "未选中任何选项时输入框中的占位文本"
|
|
96272
96314
|
})),
|
|
96273
|
-
hidden: optional(CelBool.annotations({
|
|
96274
|
-
title: "隐藏条件",
|
|
96275
|
-
description: "返回 `true` 时该行的下拉树不渲染(其余行不受影响)"
|
|
96276
|
-
})),
|
|
96277
96315
|
disabled: optional(CelBool.annotations({
|
|
96278
96316
|
title: "禁用条件",
|
|
96279
96317
|
description: "返回 `true` 时下拉树仍然渲染但不可选择"
|
|
@@ -96324,7 +96362,7 @@ function schema$t(configure) {
|
|
|
96324
96362
|
})
|
|
96325
96363
|
}).annotations({ title: "TreeComboboxMultiRenderer", description: "下拉树多选渲染器(可编辑)" });
|
|
96326
96364
|
}
|
|
96327
|
-
function defaults$
|
|
96365
|
+
function defaults$i() {
|
|
96328
96366
|
return {
|
|
96329
96367
|
title: [{ locale: "zh", message: "" }],
|
|
96330
96368
|
binding: "",
|
|
@@ -96352,8 +96390,8 @@ const migrate$9 = (prev) => try_({
|
|
|
96352
96390
|
const { nodeLabel, type: _t, compatibilityDate: _c, ...rest } = src;
|
|
96353
96391
|
return {
|
|
96354
96392
|
...rest,
|
|
96355
|
-
type: type$
|
|
96356
|
-
compatibilityDate: compatibilityDate$
|
|
96393
|
+
type: type$u,
|
|
96394
|
+
compatibilityDate: compatibilityDate$u,
|
|
96357
96395
|
nodeLabel: localeLabelToExpression$1(nodeLabel)
|
|
96358
96396
|
};
|
|
96359
96397
|
}
|
|
@@ -96361,7 +96399,7 @@ const migrate$9 = (prev) => try_({
|
|
|
96361
96399
|
},
|
|
96362
96400
|
catch: (e) => e instanceof Error ? e : new Error(String(e))
|
|
96363
96401
|
});
|
|
96364
|
-
function toColumnDef$
|
|
96402
|
+
function toColumnDef$3(value, { getLocaleText }) {
|
|
96365
96403
|
return {
|
|
96366
96404
|
header: editableHeader(getLocaleText(value.title)),
|
|
96367
96405
|
accessorFn: (row) => {
|
|
@@ -96379,18 +96417,18 @@ function toColumnDef$2(value, { getLocaleText }) {
|
|
|
96379
96417
|
}
|
|
96380
96418
|
const __vite_glob_0_32$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
96381
96419
|
__proto__: null,
|
|
96382
|
-
compatibilityDate: compatibilityDate$
|
|
96383
|
-
defaults: defaults$
|
|
96384
|
-
metadata: metadata$
|
|
96420
|
+
compatibilityDate: compatibilityDate$u,
|
|
96421
|
+
defaults: defaults$i,
|
|
96422
|
+
metadata: metadata$u,
|
|
96385
96423
|
migrate: migrate$9,
|
|
96386
96424
|
migrateFrom: migrateFrom$8,
|
|
96387
|
-
schema: schema$
|
|
96388
|
-
toColumnDef: toColumnDef$
|
|
96389
|
-
type: type$
|
|
96425
|
+
schema: schema$u,
|
|
96426
|
+
toColumnDef: toColumnDef$3,
|
|
96427
|
+
type: type$u
|
|
96390
96428
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
96391
|
-
const type$
|
|
96392
|
-
const compatibilityDate$
|
|
96393
|
-
const metadata$
|
|
96429
|
+
const type$t = "com.shwfed.table.column.tree-combobox-single";
|
|
96430
|
+
const compatibilityDate$t = "2026-06-14";
|
|
96431
|
+
const metadata$t = {
|
|
96394
96432
|
name: "下拉树(单选)",
|
|
96395
96433
|
icon: "fluent:tree-evergreen-20-regular",
|
|
96396
96434
|
// Publishes its resolved node (backend record) to the per-row `selections` registry (runtime.vue), readable via `selections["<id>"]`.
|
|
@@ -96405,7 +96443,7 @@ function withRowAndNode(configure) {
|
|
|
96405
96443
|
registerNodeVariableIfAbsent(env, { description: "`数据源` 返回的节点;由树逐层向下读取" });
|
|
96406
96444
|
};
|
|
96407
96445
|
}
|
|
96408
|
-
function schema$
|
|
96446
|
+
function schema$t(configure) {
|
|
96409
96447
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
96410
96448
|
const CelNodeKey = Expression({ configure: withRowAndNode(configure), resultType: isKeyType$4 });
|
|
96411
96449
|
const CelNodeChildren = Expression({ configure: withRowAndNode(configure), resultType: isListLike$4 });
|
|
@@ -96441,17 +96479,14 @@ function schema$s(configure) {
|
|
|
96441
96479
|
})
|
|
96442
96480
|
}).annotations({ title: "DataSource", description: "数据源配置" });
|
|
96443
96481
|
return Struct({
|
|
96444
|
-
type: Literal2(type$
|
|
96445
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
96482
|
+
type: Literal2(type$t),
|
|
96483
|
+
compatibilityDate: Literal2(compatibilityDate$t),
|
|
96446
96484
|
...editableColumnFields(),
|
|
96485
|
+
align: optionalWith(Align.annotations({ title: "对齐" }), { default: () => "left" }),
|
|
96447
96486
|
placeholder: optional(Locale.annotations({
|
|
96448
96487
|
title: "占位符",
|
|
96449
96488
|
description: "未选中任何选项时输入框中的占位文本"
|
|
96450
96489
|
})),
|
|
96451
|
-
hidden: optional(CelBool.annotations({
|
|
96452
|
-
title: "隐藏条件",
|
|
96453
|
-
description: "返回 `true` 时该行的下拉树不渲染(其余行不受影响)"
|
|
96454
|
-
})),
|
|
96455
96490
|
disabled: optional(CelBool.annotations({
|
|
96456
96491
|
title: "禁用条件",
|
|
96457
96492
|
description: "返回 `true` 时下拉树仍然渲染但不可选择"
|
|
@@ -96495,7 +96530,7 @@ function schema$s(configure) {
|
|
|
96495
96530
|
})
|
|
96496
96531
|
}).annotations({ title: "TreeComboboxSingleRenderer", description: "下拉树单选渲染器(可编辑)" });
|
|
96497
96532
|
}
|
|
96498
|
-
function defaults$
|
|
96533
|
+
function defaults$h() {
|
|
96499
96534
|
return {
|
|
96500
96535
|
title: [{ locale: "zh", message: "" }],
|
|
96501
96536
|
binding: "",
|
|
@@ -96522,8 +96557,8 @@ const migrate$8 = (prev) => try_({
|
|
|
96522
96557
|
const { nodeLabel, type: _t, compatibilityDate: _c, ...rest } = src;
|
|
96523
96558
|
return {
|
|
96524
96559
|
...rest,
|
|
96525
|
-
type: type$
|
|
96526
|
-
compatibilityDate: compatibilityDate$
|
|
96560
|
+
type: type$t,
|
|
96561
|
+
compatibilityDate: compatibilityDate$t,
|
|
96527
96562
|
nodeLabel: localeLabelToExpression$1(nodeLabel)
|
|
96528
96563
|
};
|
|
96529
96564
|
}
|
|
@@ -96531,7 +96566,7 @@ const migrate$8 = (prev) => try_({
|
|
|
96531
96566
|
},
|
|
96532
96567
|
catch: (e) => e instanceof Error ? e : new Error(String(e))
|
|
96533
96568
|
});
|
|
96534
|
-
function toColumnDef$
|
|
96569
|
+
function toColumnDef$2(value, { getLocaleText }) {
|
|
96535
96570
|
return {
|
|
96536
96571
|
header: editableHeader(getLocaleText(value.title)),
|
|
96537
96572
|
accessorFn: (row) => {
|
|
@@ -96549,22 +96584,22 @@ function toColumnDef$1(value, { getLocaleText }) {
|
|
|
96549
96584
|
}
|
|
96550
96585
|
const __vite_glob_0_33$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
96551
96586
|
__proto__: null,
|
|
96552
|
-
compatibilityDate: compatibilityDate$
|
|
96553
|
-
defaults: defaults$
|
|
96554
|
-
metadata: metadata$
|
|
96587
|
+
compatibilityDate: compatibilityDate$t,
|
|
96588
|
+
defaults: defaults$h,
|
|
96589
|
+
metadata: metadata$t,
|
|
96555
96590
|
migrate: migrate$8,
|
|
96556
96591
|
migrateFrom: migrateFrom$7,
|
|
96557
|
-
schema: schema$
|
|
96558
|
-
toColumnDef: toColumnDef$
|
|
96559
|
-
type: type$
|
|
96592
|
+
schema: schema$t,
|
|
96593
|
+
toColumnDef: toColumnDef$2,
|
|
96594
|
+
type: type$t
|
|
96560
96595
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
96561
|
-
const type$
|
|
96562
|
-
const compatibilityDate$
|
|
96563
|
-
const metadata$
|
|
96596
|
+
const type$s = "com.shwfed.table.column.date-input";
|
|
96597
|
+
const compatibilityDate$s = "2026-06-17";
|
|
96598
|
+
const metadata$s = {
|
|
96564
96599
|
name: "日期输入",
|
|
96565
96600
|
icon: "fluent:calendar-ltr-20-regular"
|
|
96566
96601
|
};
|
|
96567
|
-
function presetSchema$
|
|
96602
|
+
function presetSchema$3(configure) {
|
|
96568
96603
|
const CelDate = CelRowAccess(configure, { resultType: "Date" });
|
|
96569
96604
|
return Struct({
|
|
96570
96605
|
id: UUID.annotations({ description: "预设唯一标识,用于稳定的 v-for key" }),
|
|
@@ -96580,21 +96615,18 @@ function presetSchema$2(configure) {
|
|
|
96580
96615
|
title: "DateInputPreset"
|
|
96581
96616
|
});
|
|
96582
96617
|
}
|
|
96583
|
-
function schema$
|
|
96618
|
+
function schema$s(configure) {
|
|
96584
96619
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
96585
|
-
const Preset = presetSchema$
|
|
96620
|
+
const Preset = presetSchema$3(configure);
|
|
96586
96621
|
return Struct({
|
|
96587
|
-
type: Literal2(type$
|
|
96588
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
96622
|
+
type: Literal2(type$s),
|
|
96623
|
+
compatibilityDate: Literal2(compatibilityDate$s),
|
|
96589
96624
|
...editableColumnFields(),
|
|
96625
|
+
align: optionalWith(Align.annotations({ title: "对齐" }), { default: () => "left" }),
|
|
96590
96626
|
placeholder: optional(Locale.annotations({
|
|
96591
96627
|
title: "占位符",
|
|
96592
96628
|
description: "未选中日期时输入框中的占位文本"
|
|
96593
96629
|
})),
|
|
96594
|
-
hidden: optional(CelBool.annotations({
|
|
96595
|
-
title: "隐藏条件",
|
|
96596
|
-
description: "返回 `true` 时该行的输入框不渲染(其余行不受影响)"
|
|
96597
|
-
})),
|
|
96598
96630
|
disabled: optional(CelBool.annotations({
|
|
96599
96631
|
title: "禁用条件",
|
|
96600
96632
|
description: "返回 `true` 时输入框仍然渲染但不可编辑"
|
|
@@ -96618,14 +96650,14 @@ function schema$r(configure) {
|
|
|
96618
96650
|
}))
|
|
96619
96651
|
}).annotations({ title: "DateInputRenderer", description: "日期输入渲染器(可编辑)" });
|
|
96620
96652
|
}
|
|
96621
|
-
function defaults$
|
|
96653
|
+
function defaults$g() {
|
|
96622
96654
|
return {
|
|
96623
96655
|
title: [{ locale: "zh", message: "" }],
|
|
96624
96656
|
binding: "",
|
|
96625
96657
|
size: 120
|
|
96626
96658
|
};
|
|
96627
96659
|
}
|
|
96628
|
-
function toColumnDef(value, { getLocaleText }) {
|
|
96660
|
+
function toColumnDef$1(value, { getLocaleText }) {
|
|
96629
96661
|
return {
|
|
96630
96662
|
header: editableHeader(getLocaleText(value.title)),
|
|
96631
96663
|
// `binding` is a dot-prop path (validated non-empty); the cell renderer
|
|
@@ -96644,6 +96676,131 @@ function toColumnDef(value, { getLocaleText }) {
|
|
|
96644
96676
|
};
|
|
96645
96677
|
}
|
|
96646
96678
|
const __vite_glob_0_34$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
96679
|
+
__proto__: null,
|
|
96680
|
+
compatibilityDate: compatibilityDate$s,
|
|
96681
|
+
defaults: defaults$g,
|
|
96682
|
+
metadata: metadata$s,
|
|
96683
|
+
presetSchema: presetSchema$3,
|
|
96684
|
+
schema: schema$s,
|
|
96685
|
+
toColumnDef: toColumnDef$1,
|
|
96686
|
+
type: type$s
|
|
96687
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
96688
|
+
const type$r = "com.shwfed.table.column.date-range-input";
|
|
96689
|
+
const compatibilityDate$r = "2026-06-22";
|
|
96690
|
+
const metadata$r = {
|
|
96691
|
+
name: "日期范围输入",
|
|
96692
|
+
icon: "fluent:calendar-arrow-right-20-regular"
|
|
96693
|
+
};
|
|
96694
|
+
const BindingPath$1 = String$.pipe(minLength(1));
|
|
96695
|
+
const SplitBinding$1 = Tuple(BindingPath$1, BindingPath$1).pipe(
|
|
96696
|
+
filter(([a, b]) => a !== b, {
|
|
96697
|
+
message: () => "起始与结束绑定路径不能相同"
|
|
96698
|
+
})
|
|
96699
|
+
);
|
|
96700
|
+
const bindingSchema$1 = Union2(BindingPath$1, SplitBinding$1).annotations({
|
|
96701
|
+
title: "绑定路径",
|
|
96702
|
+
description: "单元格读写的 `dot-prop` 路径;填写单个路径时读写 `[start, end]` 字符串数组,例如 `event.range`;填写 `[起始路径, 结束路径]` 元组时分别读写两端"
|
|
96703
|
+
});
|
|
96704
|
+
function presetSchema$2(configure) {
|
|
96705
|
+
const CelDate = CelRowAccess(configure, { resultType: "Date" });
|
|
96706
|
+
return Struct({
|
|
96707
|
+
id: UUID.annotations({ description: "预设唯一标识,用于稳定的 v-for key" }),
|
|
96708
|
+
label: Locale.annotations({
|
|
96709
|
+
title: "标签",
|
|
96710
|
+
description: "快捷选项展示的本地化文本"
|
|
96711
|
+
}),
|
|
96712
|
+
start: CelDate.annotations({
|
|
96713
|
+
title: "起始值",
|
|
96714
|
+
description: '点击该预设时计算出的起始日期,例如 `now.offset(-7, "days")`'
|
|
96715
|
+
}),
|
|
96716
|
+
end: CelDate.annotations({
|
|
96717
|
+
title: "结束值",
|
|
96718
|
+
description: "点击该预设时计算出的结束日期,例如 `now`"
|
|
96719
|
+
})
|
|
96720
|
+
}).annotations({
|
|
96721
|
+
title: "DateRangeInputPreset"
|
|
96722
|
+
});
|
|
96723
|
+
}
|
|
96724
|
+
function schema$r(configure) {
|
|
96725
|
+
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
96726
|
+
const Preset = presetSchema$2(configure);
|
|
96727
|
+
return Struct({
|
|
96728
|
+
type: Literal2(type$r),
|
|
96729
|
+
compatibilityDate: Literal2(compatibilityDate$r),
|
|
96730
|
+
...editableColumnFields(),
|
|
96731
|
+
align: optionalWith(Align.annotations({ title: "对齐" }), { default: () => "left" }),
|
|
96732
|
+
// Swap the inherited single-string `binding` for the range union.
|
|
96733
|
+
binding: bindingSchema$1,
|
|
96734
|
+
startPlaceholder: optional(Locale.annotations({
|
|
96735
|
+
title: "起始占位符",
|
|
96736
|
+
description: "未选中起始日期时输入框中的占位文本"
|
|
96737
|
+
})),
|
|
96738
|
+
endPlaceholder: optional(Locale.annotations({
|
|
96739
|
+
title: "结束占位符",
|
|
96740
|
+
description: "未选中结束日期时输入框中的占位文本"
|
|
96741
|
+
})),
|
|
96742
|
+
disabled: optional(CelBool.annotations({
|
|
96743
|
+
title: "禁用条件",
|
|
96744
|
+
description: "返回 `true` 时输入框仍然渲染但不可编辑"
|
|
96745
|
+
})),
|
|
96746
|
+
readonly: optional(CelBool.annotations({
|
|
96747
|
+
title: "只读条件",
|
|
96748
|
+
description: "返回 `true` 时仅以纯文本展示当前值"
|
|
96749
|
+
})),
|
|
96750
|
+
derived: derivedRowField(configure, "dyn"),
|
|
96751
|
+
format: optional(String$.pipe(minLength(1)).annotations({
|
|
96752
|
+
title: "展示格式",
|
|
96753
|
+
description: "输入框中展示日期的 `date-fns` 格式串;留空时使用默认 `yyyy-MM-dd`"
|
|
96754
|
+
})),
|
|
96755
|
+
valueFormat: optional(String$.pipe(minLength(1)).annotations({
|
|
96756
|
+
title: "存储格式",
|
|
96757
|
+
description: "写入行数据的 `date-fns` 格式串;留空时使用默认 `yyyy-MM-dd`"
|
|
96758
|
+
})),
|
|
96759
|
+
rangeSeparatorIcon: optional(String$.pipe(minLength(1)).annotations({
|
|
96760
|
+
title: "范围分隔图标",
|
|
96761
|
+
description: "范围两端之间分隔图标的 Iconify 名称"
|
|
96762
|
+
})),
|
|
96763
|
+
numberOfMonths: optional(Number$.pipe(int(), positive()).annotations({
|
|
96764
|
+
title: "面板月数",
|
|
96765
|
+
description: "日历面板中并排显示的月份数;默认 `2`"
|
|
96766
|
+
})),
|
|
96767
|
+
presets: optional(Array$(Preset).annotations({
|
|
96768
|
+
title: "快捷选项",
|
|
96769
|
+
description: "在选择器底部展示的快捷预设;留空则不渲染"
|
|
96770
|
+
}))
|
|
96771
|
+
}).annotations({ title: "DateRangeInputRenderer", description: "日期范围输入渲染器(可编辑)" });
|
|
96772
|
+
}
|
|
96773
|
+
function defaults$f() {
|
|
96774
|
+
return {
|
|
96775
|
+
title: [{ locale: "zh", message: "" }],
|
|
96776
|
+
binding: "",
|
|
96777
|
+
size: 240
|
|
96778
|
+
};
|
|
96779
|
+
}
|
|
96780
|
+
function toColumnDef(value, { getLocaleText }) {
|
|
96781
|
+
return {
|
|
96782
|
+
header: editableHeader(getLocaleText(value.title)),
|
|
96783
|
+
// `binding` is a literal `dot-prop` path (or pair); the cell reads through
|
|
96784
|
+
// the same path(s) it writes. No CEL. A single path holds the `[start, end]`
|
|
96785
|
+
// array directly; a split tuple is recomposed into a `[start, end]` pair so
|
|
96786
|
+
// read-only display and sorting see one consistent shape.
|
|
96787
|
+
accessorFn: (row) => {
|
|
96788
|
+
if (!row || typeof row !== "object") return void 0;
|
|
96789
|
+
const r = row;
|
|
96790
|
+
const binding = value.binding;
|
|
96791
|
+
if (typeof binding === "string") return getProperty(r, binding);
|
|
96792
|
+
return [getProperty(r, binding[0]), getProperty(r, binding[1])];
|
|
96793
|
+
},
|
|
96794
|
+
enableSorting: value.enableSorting ?? false,
|
|
96795
|
+
sortingFn: "alphanumeric",
|
|
96796
|
+
size: value.size,
|
|
96797
|
+
meta: {
|
|
96798
|
+
grow: value.grow ?? false,
|
|
96799
|
+
tooltip: getLocaleText(value.tooltip)
|
|
96800
|
+
}
|
|
96801
|
+
};
|
|
96802
|
+
}
|
|
96803
|
+
const __vite_glob_0_35$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
96647
96804
|
__proto__: null,
|
|
96648
96805
|
compatibilityDate: compatibilityDate$r,
|
|
96649
96806
|
defaults: defaults$f,
|
|
@@ -96688,7 +96845,8 @@ const schemaModules$2 = /* @__PURE__ */ Object.assign({
|
|
|
96688
96845
|
"../columns/2026-06-14/com.shwfed.table.column.combobox-single/schema.ts": __vite_glob_0_31$1,
|
|
96689
96846
|
"../columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/schema.ts": __vite_glob_0_32$1,
|
|
96690
96847
|
"../columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/schema.ts": __vite_glob_0_33$1,
|
|
96691
|
-
"../columns/2026-06-17/com.shwfed.table.column.date-input/schema.ts": __vite_glob_0_34$1
|
|
96848
|
+
"../columns/2026-06-17/com.shwfed.table.column.date-input/schema.ts": __vite_glob_0_34$1,
|
|
96849
|
+
"../columns/2026-06-22/com.shwfed.table.column.date-range-input/schema.ts": __vite_glob_0_35$1
|
|
96692
96850
|
});
|
|
96693
96851
|
const configModules$2 = /* @__PURE__ */ Object.assign({
|
|
96694
96852
|
"../columns/2026-04-14/com.shwfed.table.column.actions/config.vue": __vite_glob_2_9,
|
|
@@ -96725,7 +96883,8 @@ const configModules$2 = /* @__PURE__ */ Object.assign({
|
|
|
96725
96883
|
"../columns/2026-06-14/com.shwfed.table.column.combobox-single/config.vue": __vite_glob_2_9,
|
|
96726
96884
|
"../columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/config.vue": __vite_glob_2_9,
|
|
96727
96885
|
"../columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/config.vue": __vite_glob_2_9,
|
|
96728
|
-
"../columns/2026-06-17/com.shwfed.table.column.date-input/config.vue": __vite_glob_2_9
|
|
96886
|
+
"../columns/2026-06-17/com.shwfed.table.column.date-input/config.vue": __vite_glob_2_9,
|
|
96887
|
+
"../columns/2026-06-22/com.shwfed.table.column.date-range-input/config.vue": __vite_glob_2_9
|
|
96729
96888
|
});
|
|
96730
96889
|
const runtimeModules$2 = /* @__PURE__ */ Object.assign({
|
|
96731
96890
|
"../columns/2026-04-14/com.shwfed.table.column.actions/runtime.vue": __vite_glob_2_9,
|
|
@@ -96762,7 +96921,8 @@ const runtimeModules$2 = /* @__PURE__ */ Object.assign({
|
|
|
96762
96921
|
"../columns/2026-06-14/com.shwfed.table.column.combobox-single/runtime.vue": __vite_glob_2_9,
|
|
96763
96922
|
"../columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/runtime.vue": __vite_glob_2_9,
|
|
96764
96923
|
"../columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/runtime.vue": __vite_glob_2_9,
|
|
96765
|
-
"../columns/2026-06-17/com.shwfed.table.column.date-input/runtime.vue": __vite_glob_2_9
|
|
96924
|
+
"../columns/2026-06-17/com.shwfed.table.column.date-input/runtime.vue": __vite_glob_2_9,
|
|
96925
|
+
"../columns/2026-06-22/com.shwfed.table.column.date-range-input/runtime.vue": __vite_glob_2_9
|
|
96766
96926
|
});
|
|
96767
96927
|
const sourceKey$1 = (type2, compatibilityDate2) => `${type2}@${compatibilityDate2}`;
|
|
96768
96928
|
const registry$2 = defineRegistry({
|