@shwfed/config 2.10.8 → 2.10.9
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 +1143 -1024
- package/dist/module.json +1 -1
- package/dist/preview/assets/{FieldGroup.vue_vue_type_script_setup_true_lang-BX_UfcPb.js → FieldGroup.vue_vue_type_script_setup_true_lang-CysVgnB5.js} +1 -1
- package/dist/preview/assets/{badge-obDKnV3E.js → badge-DdxT1J-1.js} +1 -1
- package/dist/preview/assets/{config-CYdIN2D7.js → config-073z__NM.js} +1 -1
- package/dist/preview/assets/{config-DxmfhxW9.js → config-91HQEKhM.js} +1 -1
- package/dist/preview/assets/{config-xdKDKKAa.js → config-B8k8y1J1.js} +1 -1
- package/dist/preview/assets/{config-BKVK2els.js → config-BK8WZ3pm.js} +1 -1
- package/dist/preview/assets/{config-jBRCpIX5.js → config-BX05eMo3.js} +1 -1
- package/dist/preview/assets/{config-DbdgS5Ng.js → config-BXP8aJwW.js} +1 -1
- package/dist/preview/assets/{config-CaaIte9f.js → config-BhPAyftm.js} +1 -1
- package/dist/preview/assets/{config-BYhrPimZ.js → config-BzHBSkht.js} +1 -1
- package/dist/preview/assets/{config-9weuJKPA.js → config-C3eoRHUo.js} +1 -1
- package/dist/preview/assets/{config-DSD3RZZt.js → config-CJ-NzxkH.js} +1 -1
- package/dist/preview/assets/{config-C6IfQR2K.js → config-CYRj2ZVL.js} +1 -1
- package/dist/preview/assets/{config-CnpY7wA_.js → config-DLNjjMZY.js} +1 -1
- package/dist/preview/assets/{config-DGJLbdm3.js → config-DudxzmzF.js} +1 -1
- package/dist/preview/assets/{config-B27gvYuN.js → config-cwlK3BMD.js} +1 -1
- package/dist/preview/assets/{definition.vue_vue_type_script_setup_true_lang-C97mjLAr.js → definition.vue_vue_type_script_setup_true_lang-l59C6Dgs.js} +1 -1
- package/dist/preview/assets/index-BL58N7_5.js +763 -0
- package/dist/preview/assets/index-CA4hsfRv.js +1 -0
- package/dist/preview/assets/index-CyVzfRGQ.css +1 -0
- package/dist/preview/assets/{index-BWc0rZ2y.js → index-uAwC9Itb.js} +1 -1
- package/dist/preview/assets/{item-BRGONTEu.js → item-C79mwh5T.js} +1 -1
- package/dist/preview/assets/{runtime-Ci3L--AW.js → runtime-1_EaFcPI.js} +1 -1
- package/dist/preview/assets/{runtime-D-9NZJ0Z.js → runtime-2yzxOLnF.js} +1 -1
- package/dist/preview/assets/{runtime-DZtGKJgS.js → runtime-8Fe67mkZ.js} +1 -1
- package/dist/preview/assets/{runtime-BoiTEUZt.js → runtime-8oME8Env.js} +1 -1
- package/dist/preview/assets/{runtime-Czg0F_NN.js → runtime-CCMixJjP.js} +1 -1
- package/dist/preview/assets/{runtime-BGRgWBLF.js → runtime-CD1Q4rZ3.js} +1 -1
- package/dist/preview/assets/{runtime-DcQjFFJx.js → runtime-Cb-qIo5p.js} +1 -1
- package/dist/preview/assets/{runtime-CHOWqPGP.js → runtime-CvgAq3mp.js} +1 -1
- package/dist/preview/assets/{runtime-DqhT5NCm.js → runtime-DkWCpjKe.js} +1 -1
- package/dist/preview/assets/{runtime-CJVZpawP.js → runtime-mYNyG7UH.js} +1 -1
- package/dist/preview/assets/{schema-meta-xFd44RnL.js → schema-meta-BlTKRs15.js} +1 -1
- package/dist/preview/index.html +2 -2
- package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/config.d.vue.ts +16 -16
- package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/config.vue.d.ts +16 -16
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.d.vue.ts +4 -4
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.vue.d.ts +4 -4
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.d.vue.ts +6 -6
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.vue.d.ts +6 -6
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/config.d.vue.ts +2 -2
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/config.vue.d.ts +2 -2
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/config.d.vue.ts +16 -16
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/config.vue.d.ts +16 -16
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/config.d.vue.ts +2 -0
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/config.vue +32 -1
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/config.vue.d.ts +2 -0
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/runtime.vue +2 -0
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/schema.d.ts +2 -0
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/schema.js +4 -0
- package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.checkbox.group/config.vue +202 -112
- package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.radio.group/config.vue +202 -112
- 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-24/com.shwfed.form.field.monthrange/config.d.vue.ts +4 -4
- package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/config.vue.d.ts +4 -4
- package/dist/runtime/components/form/fields/2026-05-25/com.shwfed.form.field.combobox.multi/config.d.vue.ts +16 -16
- package/dist/runtime/components/form/fields/2026-05-25/com.shwfed.form.field.combobox.multi/config.vue.d.ts +16 -16
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/config.d.vue.ts +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-14/com.shwfed.form.field.combobox.multi/config.vue +223 -132
- package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.single/config.vue +223 -132
- package/dist/runtime/components/form/fields/2026-06-20/com.shwfed.form.field.tabs/config.d.vue.ts +59 -0
- package/dist/runtime/components/form/fields/2026-06-20/com.shwfed.form.field.tabs/config.vue +345 -0
- package/dist/runtime/components/form/fields/2026-06-20/com.shwfed.form.field.tabs/config.vue.d.ts +59 -0
- package/dist/runtime/components/form/fields/2026-06-20/com.shwfed.form.field.tabs/runtime.d.vue.ts +8 -0
- package/dist/runtime/components/form/fields/2026-06-20/com.shwfed.form.field.tabs/runtime.vue +113 -0
- package/dist/runtime/components/form/fields/2026-06-20/com.shwfed.form.field.tabs/runtime.vue.d.ts +8 -0
- package/dist/runtime/components/form/fields/2026-06-20/com.shwfed.form.field.tabs/schema.d.ts +79 -0
- package/dist/runtime/components/form/fields/2026-06-20/com.shwfed.form.field.tabs/schema.js +86 -0
- package/dist/runtime/components/form/unit-config.d.vue.ts +27 -0
- package/dist/runtime/components/form/unit-config.vue +117 -73
- package/dist/runtime/components/form/unit-config.vue.d.ts +27 -0
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-multi/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-multi/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-single/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-single/config.vue.d.ts +2 -2
- package/dist/runtime/components/ui/date-picker/DatePickerInput.d.vue.ts +1 -1
- package/dist/runtime/components/ui/date-picker/DatePickerInput.vue.d.ts +1 -1
- package/dist/runtime/components/ui/date-picker/DatePickerTimeInput.d.vue.ts +1 -1
- package/dist/runtime/components/ui/date-picker/DatePickerTimeInput.vue.d.ts +1 -1
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerInput.d.vue.ts +1 -1
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerInput.vue.d.ts +1 -1
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerTimeInput.d.vue.ts +2 -2
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerTimeInput.vue.d.ts +2 -2
- package/dist/runtime/components/ui/markdown/Markdown.vue +19 -16
- package/dist/runtime/utils/markdown.d.ts +5 -2
- package/dist/runtime/utils/markdown.js +22 -1
- package/package.json +1 -1
- package/dist/preview/assets/index-ADrQrdaQ.js +0 -1
- package/dist/preview/assets/index-Cj7bRG7B.css +0 -1
- package/dist/preview/assets/index-DFmBrVzd.js +0 -763
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$G = {};
|
|
14098
14098
|
var hasRequiredDefaults;
|
|
14099
14099
|
function requireDefaults() {
|
|
14100
|
-
if (hasRequiredDefaults) return defaults$
|
|
14100
|
+
if (hasRequiredDefaults) return defaults$G;
|
|
14101
14101
|
hasRequiredDefaults = 1;
|
|
14102
|
-
Object.defineProperty(defaults$
|
|
14103
|
-
defaults$
|
|
14102
|
+
Object.defineProperty(defaults$G, "__esModule", { value: true });
|
|
14103
|
+
defaults$G.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$G.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$G;
|
|
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$1x = "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$1x,
|
|
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$1t = {};
|
|
18520
18520
|
var hasRequiredMetadata;
|
|
18521
18521
|
function requireMetadata() {
|
|
18522
|
-
if (hasRequiredMetadata) return metadata$
|
|
18522
|
+
if (hasRequiredMetadata) return metadata$1t;
|
|
18523
18523
|
hasRequiredMetadata = 1;
|
|
18524
|
-
Object.defineProperty(metadata$
|
|
18525
|
-
metadata$
|
|
18526
|
-
metadata$
|
|
18524
|
+
Object.defineProperty(metadata$1t, "__esModule", { value: true });
|
|
18525
|
+
metadata$1t.contentVocabulary = metadata$1t.metadataVocabulary = void 0;
|
|
18526
|
+
metadata$1t.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$1t.contentVocabulary = [
|
|
18536
18536
|
"contentMediaType",
|
|
18537
18537
|
"contentEncoding",
|
|
18538
18538
|
"contentSchema"
|
|
18539
18539
|
];
|
|
18540
|
-
return metadata$
|
|
18540
|
+
return metadata$1t;
|
|
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$1w = ["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$1w,
|
|
18694
18694
|
properties,
|
|
18695
18695
|
"default": true
|
|
18696
18696
|
};
|
|
@@ -81670,19 +81670,19 @@ const Triggers = Array$(Trigger).annotations({
|
|
|
81670
81670
|
title: "触发操作",
|
|
81671
81671
|
description: "按列表顺序执行"
|
|
81672
81672
|
});
|
|
81673
|
-
function md(...args2) {
|
|
81673
|
+
function md$1(...args2) {
|
|
81674
81674
|
const [template, ...rest] = args2;
|
|
81675
81675
|
const original = String.raw(template, ...rest.map((arg) => arg ?? ""));
|
|
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$1v = "com.shwfed.actions.button.http.request.json.confirm";
|
|
81680
|
+
const compatibilityDate$1v = "2026-04-18";
|
|
81681
|
+
const metadata$1s = {
|
|
81682
81682
|
name: "网络请求(JSON + 确认)",
|
|
81683
81683
|
icon: "fluent:shield-checkmark-20-regular"
|
|
81684
81684
|
};
|
|
81685
|
-
function schema$
|
|
81685
|
+
function schema$1s(configure) {
|
|
81686
81686
|
const CelHttpRequest = Expression({ configure, resultType: "HttpRequest" });
|
|
81687
81687
|
const CelMessage = Expression({
|
|
81688
81688
|
configure: (env) => {
|
|
@@ -81694,17 +81694,17 @@ function schema$1r(configure) {
|
|
|
81694
81694
|
resultType: "string"
|
|
81695
81695
|
});
|
|
81696
81696
|
return Struct({
|
|
81697
|
-
type: Literal2(type$
|
|
81698
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
81697
|
+
type: Literal2(type$1v),
|
|
81698
|
+
compatibilityDate: Literal2(compatibilityDate$1v),
|
|
81699
81699
|
expression: CelHttpRequest.annotations({
|
|
81700
81700
|
title: "请求",
|
|
81701
|
-
description: md`
|
|
81701
|
+
description: md$1`
|
|
81702
81702
|
用户确认后将立即被求值,当 HTTP 请求被成功构造后,调度器将尽可能快地安排执行这个请求
|
|
81703
81703
|
`
|
|
81704
81704
|
}),
|
|
81705
81705
|
before: optional(Triggers.annotations({
|
|
81706
81706
|
title: "确认前",
|
|
81707
|
-
description: md`
|
|
81707
|
+
description: md$1`
|
|
81708
81708
|
确认弹窗弹出前按列表顺序执行的操作。任一操作中止(例如表单校验未通过)将取消确认弹窗与请求。
|
|
81709
81709
|
|
|
81710
81710
|
放在表单里的提交按钮应在此处首先触发所在表单的「校验」操作,使校验成为显式的提交前步骤。
|
|
@@ -81724,14 +81724,14 @@ function schema$1r(configure) {
|
|
|
81724
81724
|
})),
|
|
81725
81725
|
messageExpression: optional(CelMessage.annotations({
|
|
81726
81726
|
title: "消息",
|
|
81727
|
-
description: md`
|
|
81727
|
+
description: md$1`
|
|
81728
81728
|
在响应体解析为 JSON 后对其求值,返回 \`string\`,作为 toast 显示。
|
|
81729
81729
|
不配置则不显示。
|
|
81730
81730
|
`
|
|
81731
81731
|
})),
|
|
81732
81732
|
resultExpression: optional(CelMessage.annotations({
|
|
81733
81733
|
title: "执行结果",
|
|
81734
|
-
description: md`
|
|
81734
|
+
description: md$1`
|
|
81735
81735
|
在响应体解析为 JSON 后对其求值,返回 \`string\`。
|
|
81736
81736
|
支持 \`'success' | 'warning' | 'error' | 'info'\`;其他值按 \`success\` 处理。不配置则按 \`success\` 处理。
|
|
81737
81737
|
|
|
@@ -81761,21 +81761,21 @@ function schema$1r(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$1v,
|
|
81765
|
+
metadata: metadata$1s,
|
|
81766
|
+
schema: schema$1s,
|
|
81767
|
+
type: type$1v
|
|
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$1u = "com.shwfed.operation.alert";
|
|
81771
|
+
const compatibilityDate$1u = "2026-06-09";
|
|
81772
|
+
const type$1t = "com.shwfed.actions.button.http.request.json";
|
|
81773
|
+
const compatibilityDate$1t = "2026-04-18";
|
|
81774
|
+
const metadata$1r = {
|
|
81775
81775
|
name: "请求",
|
|
81776
81776
|
icon: "fluent:cloud-arrow-up-20-regular"
|
|
81777
81777
|
};
|
|
81778
|
-
function schema$
|
|
81778
|
+
function schema$1r(configure) {
|
|
81779
81779
|
const CelHttpRequest = Expression({ configure, resultType: "HttpRequest" });
|
|
81780
81780
|
const CelMessage = Expression({
|
|
81781
81781
|
configure: (env) => {
|
|
@@ -81787,17 +81787,17 @@ function schema$1q(configure) {
|
|
|
81787
81787
|
resultType: "string"
|
|
81788
81788
|
});
|
|
81789
81789
|
return Struct({
|
|
81790
|
-
type: Literal2(type$
|
|
81791
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
81790
|
+
type: Literal2(type$1t),
|
|
81791
|
+
compatibilityDate: Literal2(compatibilityDate$1t),
|
|
81792
81792
|
expression: CelHttpRequest.annotations({
|
|
81793
81793
|
title: "请求",
|
|
81794
|
-
description: md`
|
|
81794
|
+
description: md$1`
|
|
81795
81795
|
点击后将立即被求值,当 HTTP 请求被成功构造后,调度器将尽可能快地安排执行这个请求
|
|
81796
81796
|
`
|
|
81797
81797
|
}),
|
|
81798
81798
|
before: optional(Triggers.annotations({
|
|
81799
81799
|
title: "请求前",
|
|
81800
|
-
description: md`
|
|
81800
|
+
description: md$1`
|
|
81801
81801
|
请求发起前按列表顺序执行的操作。任一操作中止(例如表单校验未通过)将取消本次请求。
|
|
81802
81802
|
|
|
81803
81803
|
放在表单里的提交按钮应在此处首先触发所在表单的「校验」操作,使校验成为显式的提交前步骤。
|
|
@@ -81805,14 +81805,14 @@ function schema$1q(configure) {
|
|
|
81805
81805
|
})),
|
|
81806
81806
|
messageExpression: optional(CelMessage.annotations({
|
|
81807
81807
|
title: "消息",
|
|
81808
|
-
description: md`
|
|
81808
|
+
description: md$1`
|
|
81809
81809
|
在响应体解析为 JSON 后对其求值,返回 \`string\`,作为 toast 显示。
|
|
81810
81810
|
不配置则不显示。
|
|
81811
81811
|
`
|
|
81812
81812
|
})),
|
|
81813
81813
|
resultExpression: optional(CelMessage.annotations({
|
|
81814
81814
|
title: "执行结果",
|
|
81815
|
-
description: md`
|
|
81815
|
+
description: md$1`
|
|
81816
81816
|
在响应体解析为 JSON 后对其求值,返回 \`string\`。
|
|
81817
81817
|
支持 \`'success' | 'warning' | 'error' | 'info'\`;其他值按 \`success\` 处理。不配置则按 \`success\` 处理。
|
|
81818
81818
|
|
|
@@ -81841,7 +81841,7 @@ function schema$1q(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$1t }
|
|
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$1u,
|
|
81860
|
+
compatibilityDate: compatibilityDate$1u,
|
|
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$1t,
|
|
81867
|
+
compatibilityDate: compatibilityDate$1t,
|
|
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$1t,
|
|
81876
|
+
metadata: metadata$1r,
|
|
81877
81877
|
migrate: migrate$o,
|
|
81878
81878
|
migrateFrom: migrateFrom$m,
|
|
81879
|
-
schema: schema$
|
|
81880
|
-
type: type$
|
|
81879
|
+
schema: schema$1r,
|
|
81880
|
+
type: type$1t
|
|
81881
81881
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
81882
|
-
const type$
|
|
81883
|
-
const compatibilityDate$
|
|
81884
|
-
const metadata$
|
|
81882
|
+
const type$1s = "com.shwfed.actions.button.prototype";
|
|
81883
|
+
const compatibilityDate$1s = "2026-04-18";
|
|
81884
|
+
const metadata$1q = {
|
|
81885
81885
|
name: "原型",
|
|
81886
81886
|
icon: "fluent:predictions-20-regular"
|
|
81887
81887
|
};
|
|
81888
|
-
function schema$
|
|
81888
|
+
function schema$1q(_configure) {
|
|
81889
81889
|
return Struct({
|
|
81890
|
-
type: Literal2(type$
|
|
81891
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
81890
|
+
type: Literal2(type$1s),
|
|
81891
|
+
compatibilityDate: Literal2(compatibilityDate$1s)
|
|
81892
81892
|
}).annotations({
|
|
81893
81893
|
title: "PrototypeAction",
|
|
81894
81894
|
description: "点击无副作用的原型按钮,可被一次性转换为其它类型"
|
|
@@ -81896,23 +81896,23 @@ function schema$1p(_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$1s,
|
|
81900
|
+
metadata: metadata$1q,
|
|
81901
|
+
schema: schema$1q,
|
|
81902
|
+
type: type$1s
|
|
81903
81903
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
81904
|
-
const type$
|
|
81905
|
-
const compatibilityDate$
|
|
81906
|
-
const metadata$
|
|
81904
|
+
const type$1r = "com.shwfed.actions.button.navigation";
|
|
81905
|
+
const compatibilityDate$1r = "2026-04-21";
|
|
81906
|
+
const metadata$1p = {
|
|
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$1p(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$1r),
|
|
81915
|
+
compatibilityDate: Literal2(compatibilityDate$1r),
|
|
81916
81916
|
url: CelUrl.annotations({
|
|
81917
81917
|
title: "链接",
|
|
81918
81918
|
description: "点击后将打开的链接,返回 `string`"
|
|
@@ -81928,10 +81928,10 @@ function schema$1o(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$1r,
|
|
81932
|
+
metadata: metadata$1p,
|
|
81933
|
+
schema: schema$1p,
|
|
81934
|
+
type: type$1r
|
|
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$1q = "com.shwfed.actions.button.modal.layout";
|
|
82071
|
+
const compatibilityDate$1q = "2026-05-11";
|
|
82072
|
+
const metadata$1o = {
|
|
82073
82073
|
name: "模态窗口",
|
|
82074
82074
|
icon: "fluent:window-edit-20-regular",
|
|
82075
82075
|
drillable: true,
|
|
@@ -82080,12 +82080,12 @@ const metadata$1n = {
|
|
|
82080
82080
|
const CssLength = String$.pipe(
|
|
82081
82081
|
filter((s) => s.trim().length > 0 || "不能为空字符串")
|
|
82082
82082
|
);
|
|
82083
|
-
function schema$
|
|
82083
|
+
function schema$1o(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$1q),
|
|
82088
|
+
compatibilityDate: Literal2(compatibilityDate$1q),
|
|
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$1q,
|
|
82118
82118
|
defaultBody: defaultBody$a,
|
|
82119
|
-
metadata: metadata$
|
|
82120
|
-
schema: schema$
|
|
82121
|
-
type: type$
|
|
82119
|
+
metadata: metadata$1o,
|
|
82120
|
+
schema: schema$1o,
|
|
82121
|
+
type: type$1q
|
|
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$1p = "com.shwfed.operation.http.request.json";
|
|
82125
|
+
const compatibilityDate$1p = "2026-06-11";
|
|
82126
|
+
const type$1o = "com.shwfed.operation.navigation";
|
|
82127
|
+
const compatibilityDate$1o = "2026-06-15";
|
|
82128
|
+
const type$1n = "com.shwfed.actions.button.event.dispatch";
|
|
82129
|
+
const compatibilityDate$1n = "2026-05-15";
|
|
82130
|
+
const metadata$1n = {
|
|
82131
82131
|
name: "触发事件",
|
|
82132
82132
|
icon: "fluent:flash-20-regular"
|
|
82133
82133
|
};
|
|
82134
|
-
function schema$
|
|
82134
|
+
function schema$1n(_configure) {
|
|
82135
82135
|
return Struct({
|
|
82136
|
-
type: Literal2(type$
|
|
82137
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
82136
|
+
type: Literal2(type$1n),
|
|
82137
|
+
compatibilityDate: Literal2(compatibilityDate$1n),
|
|
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$1p, compatibilityDate$1p, 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$1n,
|
|
82192
|
+
compatibilityDate: compatibilityDate$1n,
|
|
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$1o, compatibilityDate$1o, params);
|
|
82200
82200
|
return {
|
|
82201
82201
|
...rest,
|
|
82202
|
-
type: type$
|
|
82203
|
-
compatibilityDate: compatibilityDate$
|
|
82202
|
+
type: type$1n,
|
|
82203
|
+
compatibilityDate: compatibilityDate$1n,
|
|
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$1n,
|
|
82227
|
+
metadata: metadata$1n,
|
|
82228
82228
|
migrate: migrate$n,
|
|
82229
82229
|
migrateFrom: migrateFrom$l,
|
|
82230
|
-
schema: schema$
|
|
82231
|
-
type: type$
|
|
82230
|
+
schema: schema$1n,
|
|
82231
|
+
type: type$1n
|
|
82232
82232
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
82233
|
-
const type$
|
|
82234
|
-
const compatibilityDate$
|
|
82235
|
-
const metadata$
|
|
82233
|
+
const type$1m = "com.shwfed.actions.button.http.download";
|
|
82234
|
+
const compatibilityDate$1m = "2026-05-21";
|
|
82235
|
+
const metadata$1m = {
|
|
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,24 +82251,24 @@ 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$1m(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$1m),
|
|
82260
|
+
compatibilityDate: Literal2(compatibilityDate$1m),
|
|
82261
82261
|
template: Struct({
|
|
82262
82262
|
request: CelHttpRequest.annotations({
|
|
82263
82263
|
title: "请求",
|
|
82264
|
-
description: md`
|
|
82264
|
+
description: md$1`
|
|
82265
82265
|
返回 \`HttpRequest\` 的 CEL 表达式。未配置「下载请求」时直接作为文件下载请求;
|
|
82266
82266
|
配置了「下载请求」时作为第一步请求,其响应体(JSON)通过 \`json\` 暴露给「下载请求」与状态表达式
|
|
82267
82267
|
`
|
|
82268
82268
|
}),
|
|
82269
82269
|
download: optional(CelDownloadRequest.annotations({
|
|
82270
82270
|
title: "下载请求",
|
|
82271
|
-
description: md`
|
|
82271
|
+
description: md$1`
|
|
82272
82272
|
可选的第二步:返回 \`HttpRequest\` 的 CEL 表达式,可通过 \`json\` 引用第一步的响应体,
|
|
82273
82273
|
例如用 \`json.data.key\` 构造真正的下载请求
|
|
82274
82274
|
`
|
|
@@ -82279,14 +82279,14 @@ function schema$1l(configure) {
|
|
|
82279
82279
|
}),
|
|
82280
82280
|
messageExpression: optional(CelMessage.annotations({
|
|
82281
82281
|
title: "消息",
|
|
82282
|
-
description: md`
|
|
82282
|
+
description: md$1`
|
|
82283
82283
|
仅当配置了「下载请求」时生效;对第一步响应体(\`json\`)求值,返回 \`string\` 作为 toast 显示。
|
|
82284
82284
|
不配置则不显示。未配置「下载请求」时被忽略。
|
|
82285
82285
|
`
|
|
82286
82286
|
})),
|
|
82287
82287
|
resultExpression: optional(CelMessage.annotations({
|
|
82288
82288
|
title: "执行结果",
|
|
82289
|
-
description: md`
|
|
82289
|
+
description: md$1`
|
|
82290
82290
|
仅当配置了「下载请求」时生效;对第一步响应体(\`json\`)求值,返回 \`string\`。
|
|
82291
82291
|
支持 \`'success' | 'warning' | 'error' | 'info'\`;其他值按 \`success\` 处理。不配置则按 \`success\` 处理。
|
|
82292
82292
|
|
|
@@ -82320,28 +82320,28 @@ function schema$1l(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$1m,
|
|
82324
|
+
metadata: metadata$1m,
|
|
82325
|
+
schema: schema$1m,
|
|
82326
|
+
type: type$1m
|
|
82327
82327
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
82328
|
-
const type$
|
|
82329
|
-
const compatibilityDate$
|
|
82330
|
-
const metadata$
|
|
82328
|
+
const type$1l = "com.shwfed.actions.button.state.write";
|
|
82329
|
+
const compatibilityDate$1l = "2026-05-24";
|
|
82330
|
+
const metadata$1l = {
|
|
82331
82331
|
name: "写入表单状态",
|
|
82332
82332
|
icon: "fluent:document-edit-20-regular"
|
|
82333
82333
|
};
|
|
82334
|
-
function schema$
|
|
82334
|
+
function schema$1l(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$1l),
|
|
82341
|
+
compatibilityDate: Literal2(compatibilityDate$1l),
|
|
82342
82342
|
expression: CelRecord.annotations({
|
|
82343
82343
|
title: "写入值",
|
|
82344
|
-
description: md`
|
|
82344
|
+
description: md$1`
|
|
82345
82345
|
点击后求值,返回一个 \`map\`。其每个顶层键都会被写入到最近祖先的表单状态中:
|
|
82346
82346
|
对象值与当前值深合并(数组整体替换),其他类型直接替换。
|
|
82347
82347
|
返回 \`{}\` 表示不进行任何写入。
|
|
@@ -82358,19 +82358,19 @@ function schema$1k(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$1l,
|
|
82362
|
+
metadata: metadata$1l,
|
|
82363
|
+
schema: schema$1l,
|
|
82364
|
+
type: type$1l
|
|
82365
82365
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
82366
|
-
const type$
|
|
82367
|
-
const compatibilityDate$
|
|
82368
|
-
const metadata$
|
|
82366
|
+
const type$1k = "com.shwfed.actions.button.http.request.json.batch";
|
|
82367
|
+
const compatibilityDate$1k = "2026-06-08";
|
|
82368
|
+
const metadata$1k = {
|
|
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$1k(configure) {
|
|
82374
82374
|
const CelHttpRequestList = Expression({ configure, resultType: isHttpRequestList });
|
|
82375
82375
|
const CelMessage = Expression({
|
|
82376
82376
|
configure: (env) => {
|
|
@@ -82391,18 +82391,18 @@ function schema$1j(configure) {
|
|
|
82391
82391
|
resultType: "bool"
|
|
82392
82392
|
});
|
|
82393
82393
|
return Struct({
|
|
82394
|
-
type: Literal2(type$
|
|
82395
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
82394
|
+
type: Literal2(type$1k),
|
|
82395
|
+
compatibilityDate: Literal2(compatibilityDate$1k),
|
|
82396
82396
|
expression: CelHttpRequestList.annotations({
|
|
82397
82397
|
title: "请求列表",
|
|
82398
|
-
description: md`
|
|
82398
|
+
description: md$1`
|
|
82399
82399
|
点击后将立即被求值,返回一个 \`HttpRequest\` 列表。调度器将按列表顺序逐个发起请求,
|
|
82400
82400
|
并在弹窗中显示进度。
|
|
82401
82401
|
`
|
|
82402
82402
|
}),
|
|
82403
82403
|
before: optional(Triggers.annotations({
|
|
82404
82404
|
title: "请求前",
|
|
82405
|
-
description: md`
|
|
82405
|
+
description: md$1`
|
|
82406
82406
|
整批请求发起前按列表顺序执行的操作。任一操作中止(例如表单校验未通过)将取消本次批量请求。
|
|
82407
82407
|
|
|
82408
82408
|
放在表单里的提交按钮应在此处首先触发所在表单的「校验」操作,使校验成为显式的提交前步骤。
|
|
@@ -82410,7 +82410,7 @@ function schema$1j(configure) {
|
|
|
82410
82410
|
})),
|
|
82411
82411
|
markdown: optional(Locale.annotations({
|
|
82412
82412
|
title: "进度信息",
|
|
82413
|
-
description: md`
|
|
82413
|
+
description: md$1`
|
|
82414
82414
|
进度弹窗内显示的信息,支持 \`{{ expression }}\` 插值。可用变量:
|
|
82415
82415
|
\`total\`(请求总数)、\`succeeded\`(成功数)、\`failure\`(失败数)。
|
|
82416
82416
|
|
|
@@ -82419,21 +82419,21 @@ function schema$1j(configure) {
|
|
|
82419
82419
|
})),
|
|
82420
82420
|
continueOnError: optional(Boolean$.annotations({
|
|
82421
82421
|
title: "失败时继续",
|
|
82422
|
-
description: md`
|
|
82422
|
+
description: md$1`
|
|
82423
82423
|
开启后,单个请求失败不会中断整批 —— 失败项被跳过,继续发起后续请求。
|
|
82424
82424
|
缺省(关闭)时,遇到第一个失败即终止整批。
|
|
82425
82425
|
`
|
|
82426
82426
|
})),
|
|
82427
82427
|
messageExpression: optional(CelMessage.annotations({
|
|
82428
82428
|
title: "消息",
|
|
82429
|
-
description: md`
|
|
82429
|
+
description: md$1`
|
|
82430
82430
|
整批完成后对成功响应体列表 \`jsons\` 求值,返回 \`string\`,作为 toast 显示。
|
|
82431
82431
|
无失败时为成功样式,否则为错误样式。不配置则不显示。
|
|
82432
82432
|
`
|
|
82433
82433
|
})),
|
|
82434
82434
|
resultExpression: optional(CelResult.annotations({
|
|
82435
82435
|
title: "执行结果",
|
|
82436
|
-
description: md`
|
|
82436
|
+
description: md$1`
|
|
82437
82437
|
对**每一条**响应体 \`json\` 求值,返回 \`bool\` —— \`true\` 视为该条成功、\`false\` 视为失败。
|
|
82438
82438
|
不配置时,任何未报错的响应都视为成功。
|
|
82439
82439
|
|
|
@@ -82447,25 +82447,25 @@ function schema$1j(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$1k,
|
|
82451
|
+
metadata: metadata$1k,
|
|
82452
|
+
schema: schema$1k,
|
|
82453
|
+
type: type$1k
|
|
82454
82454
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
82455
|
-
const type$
|
|
82456
|
-
const compatibilityDate$
|
|
82457
|
-
const metadata$
|
|
82455
|
+
const type$1j = "com.shwfed.actions.item.markdown";
|
|
82456
|
+
const compatibilityDate$1j = "2026-05-21";
|
|
82457
|
+
const metadata$1j = {
|
|
82458
82458
|
name: "内联 Markdown",
|
|
82459
82459
|
icon: "fluent:markdown-20-regular"
|
|
82460
82460
|
};
|
|
82461
|
-
function schema$
|
|
82461
|
+
function schema$1j(_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$1j),
|
|
82468
|
+
compatibilityDate: Literal2(compatibilityDate$1j),
|
|
82469
82469
|
name: String$.annotations({
|
|
82470
82470
|
title: "内部名称",
|
|
82471
82471
|
description: "仅用于编辑器内识别该 Markdown 项,不会展示给最终用户"
|
|
@@ -82481,10 +82481,10 @@ function schema$1i(_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$1j,
|
|
82485
|
+
metadata: metadata$1j,
|
|
82486
|
+
schema: schema$1j,
|
|
82487
|
+
type: type$1j
|
|
82488
82488
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
82489
82489
|
function createResult(...args2) {
|
|
82490
82490
|
if (args2.length === 0) {
|
|
@@ -83034,7 +83034,7 @@ function ActionSchemaFields(configure) {
|
|
|
83034
83034
|
variant: optional(Variant.annotations({ title: "变体" })),
|
|
83035
83035
|
hideTitle: optional(Boolean$.annotations({
|
|
83036
83036
|
title: "仅显示图标",
|
|
83037
|
-
description: md`
|
|
83037
|
+
description: md$1`
|
|
83038
83038
|
隐藏按钮文字内容,仅显示其图标。常见于有一定关联隐喻的按钮,如
|
|
83039
83039
|
|
|
83040
83040
|
- 异步下载与下载历史:下载历史仅展示历史图标
|
|
@@ -83088,7 +83088,7 @@ function ActionSchemaFields(configure) {
|
|
|
83088
83088
|
})),
|
|
83089
83089
|
hideTitle: optional(Boolean$.annotations({
|
|
83090
83090
|
title: "仅显示图标",
|
|
83091
|
-
description: md`
|
|
83091
|
+
description: md$1`
|
|
83092
83092
|
隐藏下拉按钮触发器的文字内容,仅显示其图标。常见于有一定关联隐喻的下拉按钮,如
|
|
83093
83093
|
|
|
83094
83094
|
- 异步下载与下载历史:下载历史仅展示历史图标
|
|
@@ -83110,7 +83110,7 @@ function ActionSchemaFields(configure) {
|
|
|
83110
83110
|
id: UUID.annotations({ description: "按钮组唯一标识" }),
|
|
83111
83111
|
variant: optional(Variant.annotations({
|
|
83112
83112
|
title: "按钮组变体",
|
|
83113
|
-
description: md`
|
|
83113
|
+
description: md$1`
|
|
83114
83114
|
设置默认的按钮组变体。
|
|
83115
83115
|
|
|
83116
83116
|
在该按钮组内新建的按钮,将会默认使用这个变体
|
|
@@ -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$1i = "com.shwfed.block.actions";
|
|
83178
|
+
const compatibilityDate$1i = "2026-05-06";
|
|
83179
|
+
const metadata$1i = {
|
|
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$1i(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$1i),
|
|
83190
|
+
compatibilityDate: tag(compatibilityDate$1i),
|
|
83191
83191
|
actions: ActionsSchema.annotations({
|
|
83192
83192
|
title: "操作按钮配置",
|
|
83193
83193
|
description: "内嵌的 Actions 组件配置"
|
|
@@ -83202,18 +83202,18 @@ 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$1i,
|
|
83206
83206
|
defaultBody: defaultBody$9,
|
|
83207
|
-
metadata: metadata$
|
|
83208
|
-
schema: schema$
|
|
83209
|
-
type: type$
|
|
83207
|
+
metadata: metadata$1i,
|
|
83208
|
+
schema: schema$1i,
|
|
83209
|
+
type: type$1i
|
|
83210
83210
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
83211
83211
|
function validationRuleStruct(configure) {
|
|
83212
83212
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
83213
83213
|
return Struct({
|
|
83214
83214
|
when: CelBool.annotations({
|
|
83215
83215
|
title: "规则",
|
|
83216
|
-
description: md`
|
|
83216
|
+
description: md$1`
|
|
83217
83217
|
返回 \`true\` 时视为校验**未**通过,返回 \`false\` 视为通过
|
|
83218
83218
|
`
|
|
83219
83219
|
}),
|
|
@@ -83279,7 +83279,7 @@ function derivedField(configure, resultType) {
|
|
|
83279
83279
|
})
|
|
83280
83280
|
}).annotations({
|
|
83281
83281
|
title: "派生值",
|
|
83282
|
-
description: md`
|
|
83282
|
+
description: md$1`
|
|
83283
83283
|
该字段值的**派生来源**:
|
|
83284
83284
|
|
|
83285
83285
|
- **计算值**:字段变为只读,其值始终由表达式计算得出,依赖字段提交时重算。
|
|
@@ -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$1h = "com.shwfed.form.field.markdown";
|
|
83293
|
+
const compatibilityDate$1h = "2026-04-22";
|
|
83294
|
+
const metadata$1h = {
|
|
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$1h(configure) {
|
|
83301
83301
|
return Struct({
|
|
83302
|
-
type: Literal2(type$
|
|
83303
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
83302
|
+
type: Literal2(type$1h),
|
|
83303
|
+
compatibilityDate: Literal2(compatibilityDate$1h),
|
|
83304
83304
|
...commonFieldFields(configure),
|
|
83305
83305
|
content: LocaleMarkdown({ configure }).annotations({
|
|
83306
83306
|
title: "内容",
|
|
@@ -83313,10 +83313,10 @@ function schema$1g(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$1h,
|
|
83317
|
+
metadata: metadata$1h,
|
|
83318
|
+
schema: schema$1h,
|
|
83319
|
+
type: type$1h
|
|
83320
83320
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
83321
83321
|
function AddonActions$1(configure) {
|
|
83322
83322
|
const { groups, items: items2, ...rest } = ActionSchemaFields(configure).fields;
|
|
@@ -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$1g = "com.shwfed.form.field.text";
|
|
83333
|
+
const compatibilityDate$1g = "2026-04-22";
|
|
83334
|
+
const metadata$1g = {
|
|
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$1g(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$1g),
|
|
83344
|
+
compatibilityDate: Literal2(compatibilityDate$1g),
|
|
83345
83345
|
...commonFieldFields(configure),
|
|
83346
83346
|
label: optional(Locale.annotations({
|
|
83347
83347
|
title: "标签",
|
|
@@ -83377,24 +83377,24 @@ function schema$1f(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$1g,
|
|
83381
|
+
metadata: metadata$1g,
|
|
83382
|
+
schema: schema$1g,
|
|
83383
|
+
type: type$1g
|
|
83384
83384
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
83385
|
-
const type$
|
|
83386
|
-
const compatibilityDate$
|
|
83387
|
-
const metadata$
|
|
83385
|
+
const type$1f = "com.shwfed.form.field.textarea";
|
|
83386
|
+
const compatibilityDate$1f = "2026-04-22";
|
|
83387
|
+
const metadata$1f = {
|
|
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$1f(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$1f),
|
|
83397
|
+
compatibilityDate: Literal2(compatibilityDate$1f),
|
|
83398
83398
|
...commonFieldFields(configure),
|
|
83399
83399
|
label: optional(Locale.annotations({
|
|
83400
83400
|
title: "标签",
|
|
@@ -83433,14 +83433,14 @@ function schema$1e(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$1f,
|
|
83437
|
+
metadata: metadata$1f,
|
|
83438
|
+
schema: schema$1f,
|
|
83439
|
+
type: type$1f
|
|
83440
83440
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
83441
|
-
const type$
|
|
83442
|
-
const compatibilityDate$
|
|
83443
|
-
const metadata$
|
|
83441
|
+
const type$1e = "com.shwfed.form.field.actions";
|
|
83442
|
+
const compatibilityDate$1e = "2026-04-24";
|
|
83443
|
+
const metadata$1e = {
|
|
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$1d = {
|
|
|
83449
83449
|
// fullscreen inline-config pane; keep the (fullscreen-exiting) drill-down.
|
|
83450
83450
|
inlineConfig: false
|
|
83451
83451
|
};
|
|
83452
|
-
function schema$
|
|
83452
|
+
function schema$1e(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$1e),
|
|
83457
|
+
compatibilityDate: Literal2(compatibilityDate$1e),
|
|
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$1d(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$1e,
|
|
83472
|
+
metadata: metadata$1e,
|
|
83473
|
+
schema: schema$1e,
|
|
83474
|
+
type: type$1e
|
|
83475
83475
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
83476
|
-
const type$
|
|
83477
|
-
const compatibilityDate$
|
|
83478
|
-
const metadata$
|
|
83476
|
+
const type$1d = "com.shwfed.form.field.combobox.single";
|
|
83477
|
+
const compatibilityDate$1d = "2026-04-24";
|
|
83478
|
+
const metadata$1d = {
|
|
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$1d(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$1d),
|
|
83498
|
+
compatibilityDate: Literal2(compatibilityDate$1d),
|
|
83499
83499
|
...commonFieldFields(configure),
|
|
83500
83500
|
label: optional(Locale.annotations({
|
|
83501
83501
|
title: "标签",
|
|
@@ -83542,14 +83542,14 @@ function schema$1c(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$1d,
|
|
83546
|
+
metadata: metadata$1d,
|
|
83547
|
+
schema: schema$1d,
|
|
83548
|
+
type: type$1d
|
|
83549
83549
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
83550
|
-
const type$
|
|
83551
|
-
const compatibilityDate$
|
|
83552
|
-
const metadata$
|
|
83550
|
+
const type$1c = "com.shwfed.form.field.date";
|
|
83551
|
+
const compatibilityDate$1c = "2026-04-27";
|
|
83552
|
+
const metadata$1c = {
|
|
83553
83553
|
name: "日期",
|
|
83554
83554
|
icon: "fluent:calendar-ltr-20-regular",
|
|
83555
83555
|
w: { initial: 8, min: 4, max: Infinity },
|
|
@@ -83571,12 +83571,12 @@ function presetSchema$6(configure) {
|
|
|
83571
83571
|
title: "DateFieldPreset"
|
|
83572
83572
|
});
|
|
83573
83573
|
}
|
|
83574
|
-
function schema$
|
|
83574
|
+
function schema$1c(configure) {
|
|
83575
83575
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
83576
83576
|
const Preset = presetSchema$6(configure);
|
|
83577
83577
|
return Struct({
|
|
83578
|
-
type: Literal2(type$
|
|
83579
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
83578
|
+
type: Literal2(type$1c),
|
|
83579
|
+
compatibilityDate: Literal2(compatibilityDate$1c),
|
|
83580
83580
|
...commonFieldFields(configure),
|
|
83581
83581
|
label: optional(Locale.annotations({
|
|
83582
83582
|
title: "标签",
|
|
@@ -83623,14 +83623,14 @@ function schema$1b(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$
|
|
83626
|
+
compatibilityDate: compatibilityDate$1c,
|
|
83627
|
+
metadata: metadata$1c,
|
|
83628
83628
|
presetSchema: presetSchema$6,
|
|
83629
|
-
schema: schema$
|
|
83630
|
-
type: type$
|
|
83629
|
+
schema: schema$1c,
|
|
83630
|
+
type: type$1c
|
|
83631
83631
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
83632
|
-
const type$
|
|
83633
|
-
const compatibilityDate$
|
|
83632
|
+
const type$1b = "com.shwfed.form.field.daterange";
|
|
83633
|
+
const compatibilityDate$1b = "2026-04-27";
|
|
83634
83634
|
const BindingPath$4 = String$.pipe(minLength(1));
|
|
83635
83635
|
const SplitBinding$4 = Tuple(BindingPath$4, BindingPath$4).pipe(
|
|
83636
83636
|
filter(([a, b]) => a !== b, {
|
|
@@ -83641,7 +83641,7 @@ const bindingSchema$4 = Union2(BindingPath$4, SplitBinding$4).annotations({
|
|
|
83641
83641
|
title: "绑定路径",
|
|
83642
83642
|
description: "写入表单状态的 `dot-prop` 路径;填写单个路径时写入 `[start, end]` 字符串数组,例如 `event.range`;填写 `[起始路径, 结束路径]` 元组时分别写入两端;留空则为非受控字段"
|
|
83643
83643
|
});
|
|
83644
|
-
const metadata$
|
|
83644
|
+
const metadata$1b = {
|
|
83645
83645
|
name: "日期范围",
|
|
83646
83646
|
icon: "fluent:calendar-arrow-right-20-regular",
|
|
83647
83647
|
w: { initial: 10, min: 10, max: Infinity },
|
|
@@ -83667,12 +83667,12 @@ function presetSchema$5(configure) {
|
|
|
83667
83667
|
title: "DateRangeFieldPreset"
|
|
83668
83668
|
});
|
|
83669
83669
|
}
|
|
83670
|
-
function schema$
|
|
83670
|
+
function schema$1b(configure) {
|
|
83671
83671
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
83672
83672
|
const Preset = presetSchema$5(configure);
|
|
83673
83673
|
return Struct({
|
|
83674
|
-
type: Literal2(type$
|
|
83675
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
83674
|
+
type: Literal2(type$1b),
|
|
83675
|
+
compatibilityDate: Literal2(compatibilityDate$1b),
|
|
83676
83676
|
...commonFieldFields(configure),
|
|
83677
83677
|
label: optional(Locale.annotations({
|
|
83678
83678
|
title: "标签",
|
|
@@ -83726,21 +83726,21 @@ function schema$1a(configure) {
|
|
|
83726
83726
|
description: "日期范围选择输入"
|
|
83727
83727
|
});
|
|
83728
83728
|
}
|
|
83729
|
-
function defaults$
|
|
83729
|
+
function defaults$F() {
|
|
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$
|
|
83734
|
+
compatibilityDate: compatibilityDate$1b,
|
|
83735
|
+
defaults: defaults$F,
|
|
83736
|
+
metadata: metadata$1b,
|
|
83737
83737
|
presetSchema: presetSchema$5,
|
|
83738
|
-
schema: schema$
|
|
83739
|
-
type: type$
|
|
83738
|
+
schema: schema$1b,
|
|
83739
|
+
type: type$1b
|
|
83740
83740
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
83741
|
-
const type$
|
|
83742
|
-
const compatibilityDate$
|
|
83743
|
-
const metadata$
|
|
83741
|
+
const type$1a = "com.shwfed.form.field.datetime";
|
|
83742
|
+
const compatibilityDate$1a = "2026-04-27";
|
|
83743
|
+
const metadata$1a = {
|
|
83744
83744
|
name: "日期时间",
|
|
83745
83745
|
icon: "fluent:calendar-clock-20-regular",
|
|
83746
83746
|
w: { initial: 8, min: 4, max: Infinity },
|
|
@@ -83772,12 +83772,12 @@ function presetSchema$4(configure) {
|
|
|
83772
83772
|
title: "DateTimeFieldPreset"
|
|
83773
83773
|
});
|
|
83774
83774
|
}
|
|
83775
|
-
function schema$
|
|
83775
|
+
function schema$1a(configure) {
|
|
83776
83776
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
83777
83777
|
const Preset = presetSchema$4(configure);
|
|
83778
83778
|
return Struct({
|
|
83779
|
-
type: Literal2(type$
|
|
83780
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
83779
|
+
type: Literal2(type$1a),
|
|
83780
|
+
compatibilityDate: Literal2(compatibilityDate$1a),
|
|
83781
83781
|
...commonFieldFields(configure),
|
|
83782
83782
|
label: optional(Locale.annotations({
|
|
83783
83783
|
title: "标签",
|
|
@@ -83835,14 +83835,14 @@ 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$
|
|
83838
|
+
compatibilityDate: compatibilityDate$1a,
|
|
83839
|
+
metadata: metadata$1a,
|
|
83840
83840
|
presetSchema: presetSchema$4,
|
|
83841
|
-
schema: schema$
|
|
83842
|
-
type: type$
|
|
83841
|
+
schema: schema$1a,
|
|
83842
|
+
type: type$1a
|
|
83843
83843
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
83844
|
-
const type$
|
|
83845
|
-
const compatibilityDate$
|
|
83844
|
+
const type$19 = "com.shwfed.form.field.datetimerange";
|
|
83845
|
+
const compatibilityDate$19 = "2026-04-27";
|
|
83846
83846
|
const BindingPath$3 = String$.pipe(minLength(1));
|
|
83847
83847
|
const SplitBinding$3 = Tuple(BindingPath$3, BindingPath$3).pipe(
|
|
83848
83848
|
filter(([a, b]) => a !== b, {
|
|
@@ -83853,7 +83853,7 @@ const bindingSchema$3 = Union2(BindingPath$3, SplitBinding$3).annotations({
|
|
|
83853
83853
|
title: "绑定路径",
|
|
83854
83854
|
description: "写入表单状态的 `dot-prop` 路径;填写单个路径时写入 `[start, end]` 字符串数组,例如 `event.range`;填写 `[起始路径, 结束路径]` 元组时分别写入两端;留空则为非受控字段"
|
|
83855
83855
|
});
|
|
83856
|
-
const metadata$
|
|
83856
|
+
const metadata$19 = {
|
|
83857
83857
|
name: "日期时间范围",
|
|
83858
83858
|
icon: "fluent:calendar-clock-20-regular",
|
|
83859
83859
|
w: { initial: 14, min: 14, max: Infinity },
|
|
@@ -83889,12 +83889,12 @@ function presetSchema$3(configure) {
|
|
|
83889
83889
|
title: "DateTimeRangeFieldPreset"
|
|
83890
83890
|
});
|
|
83891
83891
|
}
|
|
83892
|
-
function schema$
|
|
83892
|
+
function schema$19(configure) {
|
|
83893
83893
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
83894
83894
|
const Preset = presetSchema$3(configure);
|
|
83895
83895
|
return Struct({
|
|
83896
|
-
type: Literal2(type$
|
|
83897
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
83896
|
+
type: Literal2(type$19),
|
|
83897
|
+
compatibilityDate: Literal2(compatibilityDate$19),
|
|
83898
83898
|
...commonFieldFields(configure),
|
|
83899
83899
|
label: optional(Locale.annotations({
|
|
83900
83900
|
title: "标签",
|
|
@@ -83956,7 +83956,7 @@ function schema$18(configure) {
|
|
|
83956
83956
|
description: "日期时间范围选择输入"
|
|
83957
83957
|
});
|
|
83958
83958
|
}
|
|
83959
|
-
function defaults$
|
|
83959
|
+
function defaults$E() {
|
|
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$
|
|
83967
|
+
compatibilityDate: compatibilityDate$19,
|
|
83968
|
+
defaults: defaults$E,
|
|
83969
|
+
metadata: metadata$19,
|
|
83970
83970
|
presetSchema: presetSchema$3,
|
|
83971
|
-
schema: schema$
|
|
83972
|
-
type: type$
|
|
83971
|
+
schema: schema$19,
|
|
83972
|
+
type: type$19
|
|
83973
83973
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
83974
|
-
const type$
|
|
83975
|
-
const compatibilityDate$
|
|
83976
|
-
const metadata$
|
|
83974
|
+
const type$18 = "com.shwfed.form.field.time";
|
|
83975
|
+
const compatibilityDate$18 = "2026-04-27";
|
|
83976
|
+
const metadata$18 = {
|
|
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$18(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$18),
|
|
83996
|
+
compatibilityDate: Literal2(compatibilityDate$18),
|
|
83997
83997
|
...commonFieldFields(configure),
|
|
83998
83998
|
label: optional(Locale.annotations({
|
|
83999
83999
|
title: "标签",
|
|
@@ -84039,13 +84039,13 @@ 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$18,
|
|
84043
|
+
metadata: metadata$18,
|
|
84044
|
+
schema: schema$18,
|
|
84045
|
+
type: type$18
|
|
84046
84046
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
84047
|
-
const type$
|
|
84048
|
-
const compatibilityDate$
|
|
84047
|
+
const type$17 = "com.shwfed.form.field.timerange";
|
|
84048
|
+
const compatibilityDate$17 = "2026-04-27";
|
|
84049
84049
|
const BindingPath$2 = String$.pipe(minLength(1));
|
|
84050
84050
|
const SplitBinding$2 = Tuple(BindingPath$2, BindingPath$2).pipe(
|
|
84051
84051
|
filter(([a, b]) => a !== b, {
|
|
@@ -84056,7 +84056,7 @@ const bindingSchema$2 = Union2(BindingPath$2, SplitBinding$2).annotations({
|
|
|
84056
84056
|
title: "绑定路径",
|
|
84057
84057
|
description: "写入表单状态的 `dot-prop` 路径;填写单个路径时写入 `[start, end]` 字符串数组,例如 `meeting.timeRange`;填写 `[起始路径, 结束路径]` 元组时分别写入两端;留空则为非受控字段"
|
|
84058
84058
|
});
|
|
84059
|
-
const metadata$
|
|
84059
|
+
const metadata$17 = {
|
|
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$17(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$17),
|
|
84079
|
+
compatibilityDate: Literal2(compatibilityDate$17),
|
|
84080
84080
|
...commonFieldFields(configure),
|
|
84081
84081
|
label: optional(Locale.annotations({
|
|
84082
84082
|
title: "标签",
|
|
@@ -84118,7 +84118,7 @@ function schema$16(configure) {
|
|
|
84118
84118
|
description: "时间范围选择输入"
|
|
84119
84119
|
});
|
|
84120
84120
|
}
|
|
84121
|
-
function defaults$
|
|
84121
|
+
function defaults$D() {
|
|
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,11 +84126,11 @@ 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$17,
|
|
84130
|
+
defaults: defaults$D,
|
|
84131
|
+
metadata: metadata$17,
|
|
84132
|
+
schema: schema$17,
|
|
84133
|
+
type: type$17
|
|
84134
84134
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
84135
84135
|
function AddonActions(configure) {
|
|
84136
84136
|
const { groups, items: items2, ...rest } = ActionSchemaFields(configure).fields;
|
|
@@ -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$16 = "com.shwfed.form.field.number";
|
|
84147
|
+
const compatibilityDate$16 = "2026-04-28";
|
|
84148
|
+
const metadata$16 = {
|
|
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$16(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$16),
|
|
84159
|
+
compatibilityDate: Literal2(compatibilityDate$16),
|
|
84160
84160
|
...commonFieldFields(configure),
|
|
84161
84161
|
label: optional(Locale.annotations({
|
|
84162
84162
|
title: "标签",
|
|
@@ -84216,13 +84216,13 @@ function schema$15(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$16,
|
|
84220
|
+
metadata: metadata$16,
|
|
84221
|
+
schema: schema$16,
|
|
84222
|
+
type: type$16
|
|
84223
84223
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
84224
|
-
const type$
|
|
84225
|
-
const compatibilityDate$
|
|
84224
|
+
const type$15 = "com.shwfed.form.field.numberrange";
|
|
84225
|
+
const compatibilityDate$15 = "2026-04-28";
|
|
84226
84226
|
const BindingPath$1 = String$.pipe(minLength(1));
|
|
84227
84227
|
const SplitBinding$1 = Tuple(BindingPath$1, BindingPath$1).pipe(
|
|
84228
84228
|
filter(([a, b]) => a !== b, {
|
|
@@ -84233,18 +84233,18 @@ const bindingSchema$1 = Union2(BindingPath$1, SplitBinding$1).annotations({
|
|
|
84233
84233
|
title: "绑定路径",
|
|
84234
84234
|
description: "写入表单状态的 `dot-prop` 路径;填写单个路径时写入 `[start, end]` 数值数组,例如 `score.range`;填写 `[起始路径, 结束路径]` 元组时分别写入两端;留空则为非受控字段"
|
|
84235
84235
|
});
|
|
84236
|
-
const metadata$
|
|
84236
|
+
const metadata$15 = {
|
|
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$15(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$15),
|
|
84247
|
+
compatibilityDate: Literal2(compatibilityDate$15),
|
|
84248
84248
|
...commonFieldFields(configure),
|
|
84249
84249
|
label: optional(Locale.annotations({
|
|
84250
84250
|
title: "标签",
|
|
@@ -84306,30 +84306,30 @@ function schema$14(configure) {
|
|
|
84306
84306
|
description: "数值范围输入"
|
|
84307
84307
|
});
|
|
84308
84308
|
}
|
|
84309
|
-
function defaults$
|
|
84309
|
+
function defaults$C() {
|
|
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$15,
|
|
84315
|
+
defaults: defaults$C,
|
|
84316
|
+
metadata: metadata$15,
|
|
84317
|
+
schema: schema$15,
|
|
84318
|
+
type: type$15
|
|
84319
84319
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
84320
|
-
const type$
|
|
84321
|
-
const compatibilityDate$
|
|
84322
|
-
const metadata$
|
|
84320
|
+
const type$14 = "com.shwfed.form.field.switch";
|
|
84321
|
+
const compatibilityDate$14 = "2026-04-28";
|
|
84322
|
+
const metadata$14 = {
|
|
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$14(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$14),
|
|
84332
|
+
compatibilityDate: Literal2(compatibilityDate$14),
|
|
84333
84333
|
...commonFieldFields(configure),
|
|
84334
84334
|
label: optional(Locale.annotations({
|
|
84335
84335
|
title: "标签",
|
|
@@ -84367,10 +84367,10 @@ function schema$13(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$14,
|
|
84371
|
+
metadata: metadata$14,
|
|
84372
|
+
schema: schema$14,
|
|
84373
|
+
type: type$14
|
|
84374
84374
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
84375
84375
|
const decodeCache = {};
|
|
84376
84376
|
function getDecodeCache(exclude2) {
|
|
@@ -89602,7 +89602,27 @@ function tooltipPlugin(md2) {
|
|
|
89602
89602
|
return `<span class="${TRIGGER_CLASS}" title="${title2}">${trigger}</span>`;
|
|
89603
89603
|
};
|
|
89604
89604
|
}
|
|
89605
|
-
new MarkdownIt({ html: true, linkify: false, breaks: true }).use(tooltipPlugin);
|
|
89605
|
+
const md = new MarkdownIt({ html: true, linkify: false, breaks: true }).use(tooltipPlugin);
|
|
89606
|
+
function withBase(path, base2) {
|
|
89607
|
+
const b = base2.endsWith("/") ? base2.slice(0, -1) : base2;
|
|
89608
|
+
if (!b) return path;
|
|
89609
|
+
if (path === b || path.startsWith(`${b}/`)) return path;
|
|
89610
|
+
return b + path;
|
|
89611
|
+
}
|
|
89612
|
+
function isRootRelative(href) {
|
|
89613
|
+
return href.startsWith("/") && !href.startsWith("//");
|
|
89614
|
+
}
|
|
89615
|
+
const renderToken2 = (tokens, idx, options, _env, self2) => self2.renderToken(tokens, idx, options);
|
|
89616
|
+
const baseLinkOpen = md.renderer.rules.link_open ?? renderToken2;
|
|
89617
|
+
md.renderer.rules.link_open = (tokens, idx, options, env, self2) => {
|
|
89618
|
+
const base2 = env?.base;
|
|
89619
|
+
if (base2) {
|
|
89620
|
+
const token = tokens[idx];
|
|
89621
|
+
const href = token.attrGet("href");
|
|
89622
|
+
if (href && isRootRelative(href)) token.attrSet("href", withBase(href, base2));
|
|
89623
|
+
}
|
|
89624
|
+
return baseLinkOpen(tokens, idx, options, env, self2);
|
|
89625
|
+
};
|
|
89606
89626
|
const INTERPOLATION_RE$2 = /\{\{(.*?)\}\}/gs;
|
|
89607
89627
|
function stringifyCelResult(value) {
|
|
89608
89628
|
if (value === null || value === void 0) return "";
|
|
@@ -89621,9 +89641,9 @@ function interpolateMarkdown(template, $cel, context2) {
|
|
|
89621
89641
|
}
|
|
89622
89642
|
});
|
|
89623
89643
|
}
|
|
89624
|
-
const type$
|
|
89625
|
-
const compatibilityDate$
|
|
89626
|
-
const metadata$
|
|
89644
|
+
const type$13 = "com.shwfed.form.field.combobox.single";
|
|
89645
|
+
const compatibilityDate$13 = "2026-04-29";
|
|
89646
|
+
const metadata$13 = {
|
|
89627
89647
|
name: "下拉单选(硬编码)",
|
|
89628
89648
|
icon: "fluent:chevron-down-20-regular",
|
|
89629
89649
|
w: { initial: 8, min: 4, max: Infinity },
|
|
@@ -89658,12 +89678,12 @@ function itemSchema$j(configure) {
|
|
|
89658
89678
|
title: "ComboboxSingleItem"
|
|
89659
89679
|
});
|
|
89660
89680
|
}
|
|
89661
|
-
function schema$
|
|
89681
|
+
function schema$13(configure) {
|
|
89662
89682
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
89663
89683
|
const Item = itemSchema$j(configure);
|
|
89664
89684
|
return Struct({
|
|
89665
|
-
type: Literal2(type$
|
|
89666
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
89685
|
+
type: Literal2(type$13),
|
|
89686
|
+
compatibilityDate: Literal2(compatibilityDate$13),
|
|
89667
89687
|
...commonFieldFields(configure),
|
|
89668
89688
|
label: optional(Locale.annotations({
|
|
89669
89689
|
title: "标签",
|
|
@@ -89755,23 +89775,23 @@ const migrate$m = (prev, ctx) => {
|
|
|
89755
89775
|
} = legacy;
|
|
89756
89776
|
return {
|
|
89757
89777
|
...carryover,
|
|
89758
|
-
compatibilityDate: compatibilityDate$
|
|
89778
|
+
compatibilityDate: compatibilityDate$13,
|
|
89759
89779
|
items: items2
|
|
89760
89780
|
};
|
|
89761
89781
|
});
|
|
89762
89782
|
};
|
|
89763
89783
|
const __vite_glob_0_14$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
89764
89784
|
__proto__: null,
|
|
89765
|
-
compatibilityDate: compatibilityDate$
|
|
89785
|
+
compatibilityDate: compatibilityDate$13,
|
|
89766
89786
|
itemSchema: itemSchema$j,
|
|
89767
|
-
metadata: metadata$
|
|
89787
|
+
metadata: metadata$13,
|
|
89768
89788
|
migrate: migrate$m,
|
|
89769
|
-
schema: schema$
|
|
89770
|
-
type: type$
|
|
89789
|
+
schema: schema$13,
|
|
89790
|
+
type: type$13
|
|
89771
89791
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
89772
|
-
const type$
|
|
89773
|
-
const compatibilityDate$
|
|
89774
|
-
const metadata$
|
|
89792
|
+
const type$12 = "com.shwfed.form.field.upload";
|
|
89793
|
+
const compatibilityDate$12 = "2026-05-12";
|
|
89794
|
+
const metadata$12 = {
|
|
89775
89795
|
name: "文件上传",
|
|
89776
89796
|
icon: "fluent:cloud-arrow-up-20-regular",
|
|
89777
89797
|
w: { initial: 8, min: 8, max: Infinity },
|
|
@@ -89788,14 +89808,14 @@ function configureWithJson$5(configure) {
|
|
|
89788
89808
|
env.registerVariable("json", JSON_VAR$5.type, { description: JSON_VAR$5.description });
|
|
89789
89809
|
};
|
|
89790
89810
|
}
|
|
89791
|
-
function schema$
|
|
89811
|
+
function schema$12(configure) {
|
|
89792
89812
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
89793
89813
|
const CelHttpRequest = Expression({ configure, resultType: "HttpRequest" });
|
|
89794
89814
|
const CelDownloadRequest = Expression({ configure: configureWithJson$5(configure), resultType: "HttpRequest" });
|
|
89795
89815
|
const LocaleMd = LocaleMarkdown({ configure });
|
|
89796
89816
|
return Struct({
|
|
89797
|
-
type: Literal2(type$
|
|
89798
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
89817
|
+
type: Literal2(type$12),
|
|
89818
|
+
compatibilityDate: Literal2(compatibilityDate$12),
|
|
89799
89819
|
...commonFieldFields(configure),
|
|
89800
89820
|
label: optional(Locale.annotations({
|
|
89801
89821
|
title: "标签",
|
|
@@ -89875,14 +89895,14 @@ function schema$11(configure) {
|
|
|
89875
89895
|
const __vite_glob_0_15$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
89876
89896
|
__proto__: null,
|
|
89877
89897
|
JSON_VAR: JSON_VAR$5,
|
|
89878
|
-
compatibilityDate: compatibilityDate$
|
|
89879
|
-
metadata: metadata$
|
|
89880
|
-
schema: schema$
|
|
89881
|
-
type: type$
|
|
89898
|
+
compatibilityDate: compatibilityDate$12,
|
|
89899
|
+
metadata: metadata$12,
|
|
89900
|
+
schema: schema$12,
|
|
89901
|
+
type: type$12
|
|
89882
89902
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
89883
|
-
const type$
|
|
89884
|
-
const compatibilityDate$
|
|
89885
|
-
const metadata$
|
|
89903
|
+
const type$11 = "com.shwfed.form.field.combobox.single.remote";
|
|
89904
|
+
const compatibilityDate$11 = "2026-05-13";
|
|
89905
|
+
const metadata$11 = {
|
|
89886
89906
|
name: "下拉单选(远程)",
|
|
89887
89907
|
icon: "fluent:cloud-arrow-down-20-regular",
|
|
89888
89908
|
w: { initial: 8, min: 4, max: Infinity },
|
|
@@ -89911,15 +89931,15 @@ function configureWithJson$4(configure) {
|
|
|
89911
89931
|
};
|
|
89912
89932
|
}
|
|
89913
89933
|
const isListType$g = (actual) => actual === "dyn" || actual.startsWith("list");
|
|
89914
|
-
function schema$
|
|
89934
|
+
function schema$11(configure) {
|
|
89915
89935
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
89916
89936
|
const CelHttpRequest = Expression({ configure, resultType: HttpRequestResult });
|
|
89917
89937
|
const CelOptions = Expression({ configure: configureWithJson$4(configure), resultType: isListType$g });
|
|
89918
89938
|
const CelOptionValue = Expression({ configure: configureWithOption$5(configure), resultType: "dyn" });
|
|
89919
89939
|
const LocaleOptionLabel = LocaleMarkdown({ configure: configureWithOption$5(configure) });
|
|
89920
89940
|
return Struct({
|
|
89921
|
-
type: Literal2(type$
|
|
89922
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
89941
|
+
type: Literal2(type$11),
|
|
89942
|
+
compatibilityDate: Literal2(compatibilityDate$11),
|
|
89923
89943
|
...commonFieldFields(configure),
|
|
89924
89944
|
label: optional(Locale.annotations({
|
|
89925
89945
|
title: "标签",
|
|
@@ -89972,14 +89992,14 @@ const __vite_glob_0_16$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.
|
|
|
89972
89992
|
__proto__: null,
|
|
89973
89993
|
JSON_VAR: JSON_VAR$4,
|
|
89974
89994
|
OPTION_VAR: OPTION_VAR$2,
|
|
89975
|
-
compatibilityDate: compatibilityDate$
|
|
89976
|
-
metadata: metadata$
|
|
89977
|
-
schema: schema$
|
|
89978
|
-
type: type$
|
|
89995
|
+
compatibilityDate: compatibilityDate$11,
|
|
89996
|
+
metadata: metadata$11,
|
|
89997
|
+
schema: schema$11,
|
|
89998
|
+
type: type$11
|
|
89979
89999
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
89980
|
-
const type
|
|
89981
|
-
const compatibilityDate
|
|
89982
|
-
const metadata
|
|
90000
|
+
const type$10 = "com.shwfed.form.field.list";
|
|
90001
|
+
const compatibilityDate$10 = "2026-05-13";
|
|
90002
|
+
const metadata$10 = {
|
|
89983
90003
|
name: "列表",
|
|
89984
90004
|
icon: "fluent:list-20-regular",
|
|
89985
90005
|
w: { initial: 12, min: 4, max: Infinity },
|
|
@@ -89988,7 +90008,7 @@ const metadata$$ = {
|
|
|
89988
90008
|
// fullscreen inline-config pane; keep the (fullscreen-exiting) drill-down.
|
|
89989
90009
|
inlineConfig: false
|
|
89990
90010
|
};
|
|
89991
|
-
function schema
|
|
90011
|
+
function schema$10(configure) {
|
|
89992
90012
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
89993
90013
|
const unitConfigure = (env) => {
|
|
89994
90014
|
configure(env);
|
|
@@ -90002,8 +90022,8 @@ function schema$$(configure) {
|
|
|
90002
90022
|
};
|
|
90003
90023
|
const Unit = suspend(() => FormUnit(unitConfigure));
|
|
90004
90024
|
return Struct({
|
|
90005
|
-
type: Literal2(type
|
|
90006
|
-
compatibilityDate: Literal2(compatibilityDate
|
|
90025
|
+
type: Literal2(type$10),
|
|
90026
|
+
compatibilityDate: Literal2(compatibilityDate$10),
|
|
90007
90027
|
...commonFieldFields(configure),
|
|
90008
90028
|
label: optional(Locale.annotations({
|
|
90009
90029
|
title: "标签",
|
|
@@ -90029,6 +90049,10 @@ function schema$$(configure) {
|
|
|
90029
90049
|
title: "允许重排",
|
|
90030
90050
|
description: "关闭后用户无法上下移动列表项;默认开启"
|
|
90031
90051
|
})),
|
|
90052
|
+
addable: optional(Boolean$.annotations({
|
|
90053
|
+
title: "显示新增按钮",
|
|
90054
|
+
description: "关闭后不渲染内置的新增按钮;默认开启。关闭时可改由外部按钮向绑定路径追加列表项(例如 `state.write` 写入 `form.<路径> + [{}]`)"
|
|
90055
|
+
})),
|
|
90032
90056
|
min: optional(Number$.pipe(int(), nonNegative()).annotations({
|
|
90033
90057
|
title: "最少数量",
|
|
90034
90058
|
description: "列表项数量的下限;低于该值时无法删除"
|
|
@@ -90060,7 +90084,7 @@ function schema$$(configure) {
|
|
|
90060
90084
|
description: "可新增/删除/重排的同构子表单列表"
|
|
90061
90085
|
});
|
|
90062
90086
|
}
|
|
90063
|
-
function defaults$
|
|
90087
|
+
function defaults$B() {
|
|
90064
90088
|
return {
|
|
90065
90089
|
unit: {
|
|
90066
90090
|
fields: [],
|
|
@@ -90070,15 +90094,15 @@ function defaults$A() {
|
|
|
90070
90094
|
}
|
|
90071
90095
|
const __vite_glob_0_17$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
90072
90096
|
__proto__: null,
|
|
90073
|
-
compatibilityDate: compatibilityDate
|
|
90074
|
-
defaults: defaults$
|
|
90075
|
-
metadata: metadata
|
|
90076
|
-
schema: schema
|
|
90077
|
-
type: type
|
|
90097
|
+
compatibilityDate: compatibilityDate$10,
|
|
90098
|
+
defaults: defaults$B,
|
|
90099
|
+
metadata: metadata$10,
|
|
90100
|
+
schema: schema$10,
|
|
90101
|
+
type: type$10
|
|
90078
90102
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
90079
|
-
const type
|
|
90080
|
-
const compatibilityDate
|
|
90081
|
-
const metadata
|
|
90103
|
+
const type$$ = "com.shwfed.form.field.checkbox.group";
|
|
90104
|
+
const compatibilityDate$$ = "2026-05-17";
|
|
90105
|
+
const metadata$$ = {
|
|
90082
90106
|
name: "复选框组",
|
|
90083
90107
|
icon: "fluent:checkbox-checked-20-regular",
|
|
90084
90108
|
w: { initial: 8, min: 2, max: Infinity },
|
|
@@ -90113,12 +90137,12 @@ function itemSchema$i(configure) {
|
|
|
90113
90137
|
title: "CheckboxGroupItem"
|
|
90114
90138
|
});
|
|
90115
90139
|
}
|
|
90116
|
-
function schema
|
|
90140
|
+
function schema$$(configure) {
|
|
90117
90141
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
90118
90142
|
const Item = itemSchema$i(configure);
|
|
90119
90143
|
return Struct({
|
|
90120
|
-
type: Literal2(type
|
|
90121
|
-
compatibilityDate: Literal2(compatibilityDate
|
|
90144
|
+
type: Literal2(type$$),
|
|
90145
|
+
compatibilityDate: Literal2(compatibilityDate$$),
|
|
90122
90146
|
...commonFieldFields(configure),
|
|
90123
90147
|
label: optional(Locale.annotations({
|
|
90124
90148
|
title: "标签",
|
|
@@ -90152,15 +90176,15 @@ function schema$_(configure) {
|
|
|
90152
90176
|
}
|
|
90153
90177
|
const __vite_glob_0_18$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
90154
90178
|
__proto__: null,
|
|
90155
|
-
compatibilityDate: compatibilityDate
|
|
90179
|
+
compatibilityDate: compatibilityDate$$,
|
|
90156
90180
|
itemSchema: itemSchema$i,
|
|
90157
|
-
metadata: metadata
|
|
90158
|
-
schema: schema
|
|
90159
|
-
type: type
|
|
90181
|
+
metadata: metadata$$,
|
|
90182
|
+
schema: schema$$,
|
|
90183
|
+
type: type$$
|
|
90160
90184
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
90161
|
-
const type$
|
|
90162
|
-
const compatibilityDate$
|
|
90163
|
-
const metadata$
|
|
90185
|
+
const type$_ = "com.shwfed.form.field.radio.group";
|
|
90186
|
+
const compatibilityDate$_ = "2026-05-17";
|
|
90187
|
+
const metadata$_ = {
|
|
90164
90188
|
name: "单选框组",
|
|
90165
90189
|
icon: "fluent:radio-button-20-regular",
|
|
90166
90190
|
w: { initial: 8, min: 2, max: Infinity },
|
|
@@ -90195,12 +90219,12 @@ function itemSchema$h(configure) {
|
|
|
90195
90219
|
title: "RadioGroupItem"
|
|
90196
90220
|
});
|
|
90197
90221
|
}
|
|
90198
|
-
function schema$
|
|
90222
|
+
function schema$_(configure) {
|
|
90199
90223
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
90200
90224
|
const Item = itemSchema$h(configure);
|
|
90201
90225
|
return Struct({
|
|
90202
|
-
type: Literal2(type$
|
|
90203
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
90226
|
+
type: Literal2(type$_),
|
|
90227
|
+
compatibilityDate: Literal2(compatibilityDate$_),
|
|
90204
90228
|
...commonFieldFields(configure),
|
|
90205
90229
|
label: optional(Locale.annotations({
|
|
90206
90230
|
title: "标签",
|
|
@@ -90234,11 +90258,11 @@ function schema$Z(configure) {
|
|
|
90234
90258
|
}
|
|
90235
90259
|
const __vite_glob_0_19$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
90236
90260
|
__proto__: null,
|
|
90237
|
-
compatibilityDate: compatibilityDate$
|
|
90261
|
+
compatibilityDate: compatibilityDate$_,
|
|
90238
90262
|
itemSchema: itemSchema$h,
|
|
90239
|
-
metadata: metadata$
|
|
90240
|
-
schema: schema$
|
|
90241
|
-
type: type$
|
|
90263
|
+
metadata: metadata$_,
|
|
90264
|
+
schema: schema$_,
|
|
90265
|
+
type: type$_
|
|
90242
90266
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
90243
90267
|
const Align = Literal2("left", "center", "right").annotations({
|
|
90244
90268
|
description: "对齐方式"
|
|
@@ -90261,7 +90285,7 @@ function columnFields(configure) {
|
|
|
90261
90285
|
}),
|
|
90262
90286
|
enableSorting: optional(Boolean$.annotations({
|
|
90263
90287
|
title: "允许排序",
|
|
90264
|
-
description: md`
|
|
90288
|
+
description: md$1`
|
|
90265
90289
|
显示排序按钮:
|
|
90266
90290
|
|
|
90267
90291
|
排序分为两类:**服务端排序** 和 **客户端排序**。
|
|
@@ -90343,14 +90367,14 @@ function LocaleMarkdownWithRow(configure) {
|
|
|
90343
90367
|
function derivedRowField(configure, resultType) {
|
|
90344
90368
|
return derivedField(configureWithRow(configure), resultType);
|
|
90345
90369
|
}
|
|
90346
|
-
const type$
|
|
90347
|
-
const compatibilityDate$
|
|
90348
|
-
const metadata$
|
|
90370
|
+
const type$Z = "com.shwfed.table.column.actions";
|
|
90371
|
+
const compatibilityDate$Z = "2026-04-14";
|
|
90372
|
+
const metadata$Z = {
|
|
90349
90373
|
name: "操作",
|
|
90350
90374
|
icon: "fluent:cursor-click-20-regular"
|
|
90351
90375
|
};
|
|
90352
90376
|
const registerRowVariables = registerRowVariablesIfAbsent;
|
|
90353
|
-
function schema$
|
|
90377
|
+
function schema$Z(configure) {
|
|
90354
90378
|
const configureWithRow2 = (env) => {
|
|
90355
90379
|
configure(env);
|
|
90356
90380
|
registerRowVariables(env);
|
|
@@ -90358,8 +90382,8 @@ function schema$Y(configure) {
|
|
|
90358
90382
|
const { fields: actionFields } = ActionSchemaFields(configureWithRow2);
|
|
90359
90383
|
const { size: _buttonSize, ...actionFieldsForColumn } = actionFields;
|
|
90360
90384
|
return Struct({
|
|
90361
|
-
type: Literal2(type$
|
|
90362
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
90385
|
+
type: Literal2(type$Z),
|
|
90386
|
+
compatibilityDate: Literal2(compatibilityDate$Z),
|
|
90363
90387
|
...columnIdentityFields(),
|
|
90364
90388
|
title: optional(Locale.annotations({ title: "标题", description: "列标题" })),
|
|
90365
90389
|
size: optional(Number$.pipe(finite(), positive()).annotations({
|
|
@@ -90373,7 +90397,7 @@ function schema$Y(configure) {
|
|
|
90373
90397
|
...actionFieldsForColumn
|
|
90374
90398
|
}).annotations({ title: "ActionsRenderer", description: "操作渲染器" });
|
|
90375
90399
|
}
|
|
90376
|
-
function defaults$
|
|
90400
|
+
function defaults$A() {
|
|
90377
90401
|
return {
|
|
90378
90402
|
title: [{ locale: "zh", message: "" }],
|
|
90379
90403
|
size: 200,
|
|
@@ -90394,35 +90418,35 @@ function toColumnDef$y(value, { getLocaleText }) {
|
|
|
90394
90418
|
}
|
|
90395
90419
|
const __vite_glob_0_0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
90396
90420
|
__proto__: null,
|
|
90397
|
-
compatibilityDate: compatibilityDate$
|
|
90398
|
-
defaults: defaults$
|
|
90399
|
-
metadata: metadata$
|
|
90421
|
+
compatibilityDate: compatibilityDate$Z,
|
|
90422
|
+
defaults: defaults$A,
|
|
90423
|
+
metadata: metadata$Z,
|
|
90400
90424
|
registerRowVariables,
|
|
90401
|
-
schema: schema$
|
|
90425
|
+
schema: schema$Z,
|
|
90402
90426
|
toColumnDef: toColumnDef$y,
|
|
90403
|
-
type: type$
|
|
90427
|
+
type: type$Z
|
|
90404
90428
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
90405
|
-
const type$
|
|
90406
|
-
const compatibilityDate$
|
|
90407
|
-
const metadata$
|
|
90429
|
+
const type$Y = "com.shwfed.table.column.date";
|
|
90430
|
+
const compatibilityDate$Y = "2026-04-14";
|
|
90431
|
+
const metadata$Y = {
|
|
90408
90432
|
name: "日期",
|
|
90409
90433
|
icon: "fluent:calendar-ltr-20-regular"
|
|
90410
90434
|
};
|
|
90411
|
-
function schema$
|
|
90435
|
+
function schema$Y(configure) {
|
|
90412
90436
|
return Struct({
|
|
90413
|
-
type: Literal2(type$
|
|
90414
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
90437
|
+
type: Literal2(type$Y),
|
|
90438
|
+
compatibilityDate: Literal2(compatibilityDate$Y),
|
|
90415
90439
|
...columnFields(configure),
|
|
90416
90440
|
align: optionalWith(Align.annotations({ title: "对齐" }), { default: () => "left" }),
|
|
90417
90441
|
format: String$.annotations({
|
|
90418
90442
|
title: "日期格式",
|
|
90419
|
-
description: md`
|
|
90443
|
+
description: md$1`
|
|
90420
90444
|
参考 <a href="https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table" target="_blank">Unicode 日期格式</a>
|
|
90421
90445
|
`
|
|
90422
90446
|
})
|
|
90423
90447
|
}).annotations({ title: "DateRenderer", description: "日期渲染器" });
|
|
90424
90448
|
}
|
|
90425
|
-
function defaults$
|
|
90449
|
+
function defaults$z() {
|
|
90426
90450
|
return {
|
|
90427
90451
|
title: [{ locale: "zh", message: "" }],
|
|
90428
90452
|
accessor: "",
|
|
@@ -90451,23 +90475,23 @@ function toColumnDef$x(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
90451
90475
|
}
|
|
90452
90476
|
const __vite_glob_0_1$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
90453
90477
|
__proto__: null,
|
|
90454
|
-
compatibilityDate: compatibilityDate$
|
|
90455
|
-
defaults: defaults$
|
|
90456
|
-
metadata: metadata$
|
|
90457
|
-
schema: schema$
|
|
90478
|
+
compatibilityDate: compatibilityDate$Y,
|
|
90479
|
+
defaults: defaults$z,
|
|
90480
|
+
metadata: metadata$Y,
|
|
90481
|
+
schema: schema$Y,
|
|
90458
90482
|
toColumnDef: toColumnDef$x,
|
|
90459
|
-
type: type$
|
|
90483
|
+
type: type$Y
|
|
90460
90484
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
90461
|
-
const type$
|
|
90462
|
-
const compatibilityDate$
|
|
90463
|
-
const metadata$
|
|
90485
|
+
const type$X = "com.shwfed.table.column.icon";
|
|
90486
|
+
const compatibilityDate$X = "2026-04-14";
|
|
90487
|
+
const metadata$X = {
|
|
90464
90488
|
name: "图标",
|
|
90465
90489
|
icon: "fluent:shapes-20-regular"
|
|
90466
90490
|
};
|
|
90467
|
-
function schema$
|
|
90491
|
+
function schema$X(configure) {
|
|
90468
90492
|
return Struct({
|
|
90469
|
-
type: Literal2(type$
|
|
90470
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
90493
|
+
type: Literal2(type$X),
|
|
90494
|
+
compatibilityDate: Literal2(compatibilityDate$X),
|
|
90471
90495
|
...columnFields(configure),
|
|
90472
90496
|
accessor: CelRowAccess(configure).annotations({
|
|
90473
90497
|
title: "图标",
|
|
@@ -90482,7 +90506,7 @@ function schema$W(configure) {
|
|
|
90482
90506
|
align: optionalWith(Align.annotations({ title: "对齐" }), { default: () => "center" })
|
|
90483
90507
|
}).annotations({ title: "IconRenderer", description: "图标渲染器" });
|
|
90484
90508
|
}
|
|
90485
|
-
function defaults$
|
|
90509
|
+
function defaults$y() {
|
|
90486
90510
|
return {
|
|
90487
90511
|
title: [{ locale: "zh", message: "" }],
|
|
90488
90512
|
accessor: "",
|
|
@@ -90510,26 +90534,26 @@ function toColumnDef$w(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
90510
90534
|
}
|
|
90511
90535
|
const __vite_glob_0_2$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
90512
90536
|
__proto__: null,
|
|
90513
|
-
compatibilityDate: compatibilityDate$
|
|
90514
|
-
defaults: defaults$
|
|
90515
|
-
metadata: metadata$
|
|
90516
|
-
schema: schema$
|
|
90537
|
+
compatibilityDate: compatibilityDate$X,
|
|
90538
|
+
defaults: defaults$y,
|
|
90539
|
+
metadata: metadata$X,
|
|
90540
|
+
schema: schema$X,
|
|
90517
90541
|
toColumnDef: toColumnDef$w,
|
|
90518
|
-
type: type$
|
|
90542
|
+
type: type$X
|
|
90519
90543
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
90520
|
-
const type$
|
|
90521
|
-
const compatibilityDate$
|
|
90522
|
-
const metadata$
|
|
90544
|
+
const type$W = "com.shwfed.table.column.markdown";
|
|
90545
|
+
const compatibilityDate$W = "2026-04-14";
|
|
90546
|
+
const metadata$W = {
|
|
90523
90547
|
name: "MD",
|
|
90524
90548
|
icon: "fluent:markdown-20-regular"
|
|
90525
90549
|
};
|
|
90526
90550
|
const isCopyExpressionType$1 = (t) => t === "string" || t === "dyn" || t.startsWith("optional");
|
|
90527
|
-
function schema$
|
|
90551
|
+
function schema$W(configure) {
|
|
90528
90552
|
const cel = CelRowAccess(configure, { resultType: isCopyExpressionType$1 });
|
|
90529
90553
|
const localeMarkdown = LocaleMarkdownWithRow(configure);
|
|
90530
90554
|
return Struct({
|
|
90531
|
-
type: Literal2(type$
|
|
90532
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
90555
|
+
type: Literal2(type$W),
|
|
90556
|
+
compatibilityDate: Literal2(compatibilityDate$W),
|
|
90533
90557
|
...columnIdentityFields(),
|
|
90534
90558
|
title: Locale.annotations({ title: "标题", description: "列标题" }),
|
|
90535
90559
|
align: optionalWith(Align.annotations({ title: "对齐" }), { default: () => "left" }),
|
|
@@ -90555,7 +90579,7 @@ function schema$V(configure) {
|
|
|
90555
90579
|
}))
|
|
90556
90580
|
}).annotations({ title: "MarkdownRenderer", description: "MD" });
|
|
90557
90581
|
}
|
|
90558
|
-
function defaults$
|
|
90582
|
+
function defaults$x() {
|
|
90559
90583
|
return {
|
|
90560
90584
|
title: [{ locale: "zh", message: "" }],
|
|
90561
90585
|
markdown: [{ locale: "zh", message: "" }],
|
|
@@ -90575,23 +90599,23 @@ function toColumnDef$v(value, { getLocaleText }) {
|
|
|
90575
90599
|
}
|
|
90576
90600
|
const __vite_glob_0_3$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
90577
90601
|
__proto__: null,
|
|
90578
|
-
compatibilityDate: compatibilityDate$
|
|
90579
|
-
defaults: defaults$
|
|
90580
|
-
metadata: metadata$
|
|
90581
|
-
schema: schema$
|
|
90602
|
+
compatibilityDate: compatibilityDate$W,
|
|
90603
|
+
defaults: defaults$x,
|
|
90604
|
+
metadata: metadata$W,
|
|
90605
|
+
schema: schema$W,
|
|
90582
90606
|
toColumnDef: toColumnDef$v,
|
|
90583
|
-
type: type$
|
|
90607
|
+
type: type$W
|
|
90584
90608
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
90585
|
-
const type$
|
|
90586
|
-
const compatibilityDate$
|
|
90587
|
-
const metadata$
|
|
90609
|
+
const type$V = "com.shwfed.table.column.number";
|
|
90610
|
+
const compatibilityDate$V = "2026-04-14";
|
|
90611
|
+
const metadata$V = {
|
|
90588
90612
|
name: "数值",
|
|
90589
90613
|
icon: "fluent:number-symbol-20-regular"
|
|
90590
90614
|
};
|
|
90591
|
-
function schema$
|
|
90615
|
+
function schema$V(configure) {
|
|
90592
90616
|
return Struct({
|
|
90593
|
-
type: Literal2(type$
|
|
90594
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
90617
|
+
type: Literal2(type$V),
|
|
90618
|
+
compatibilityDate: Literal2(compatibilityDate$V),
|
|
90595
90619
|
...columnFields(configure),
|
|
90596
90620
|
align: optionalWith(Align.annotations({ title: "对齐" }), { default: () => "right" }),
|
|
90597
90621
|
displayMode: optionalWith(
|
|
@@ -90611,7 +90635,7 @@ function schema$U(configure) {
|
|
|
90611
90635
|
}))
|
|
90612
90636
|
}).annotations({ title: "NumberRenderer", description: "数值渲染器" });
|
|
90613
90637
|
}
|
|
90614
|
-
function defaults$
|
|
90638
|
+
function defaults$w() {
|
|
90615
90639
|
return {
|
|
90616
90640
|
title: [{ locale: "zh", message: "" }],
|
|
90617
90641
|
accessor: "",
|
|
@@ -90640,25 +90664,25 @@ function toColumnDef$u(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
90640
90664
|
}
|
|
90641
90665
|
const __vite_glob_0_4$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
90642
90666
|
__proto__: null,
|
|
90643
|
-
compatibilityDate: compatibilityDate$
|
|
90644
|
-
defaults: defaults$
|
|
90645
|
-
metadata: metadata$
|
|
90646
|
-
schema: schema$
|
|
90667
|
+
compatibilityDate: compatibilityDate$V,
|
|
90668
|
+
defaults: defaults$w,
|
|
90669
|
+
metadata: metadata$V,
|
|
90670
|
+
schema: schema$V,
|
|
90647
90671
|
toColumnDef: toColumnDef$u,
|
|
90648
|
-
type: type$
|
|
90672
|
+
type: type$V
|
|
90649
90673
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
90650
90674
|
const __vite_glob_2_9 = {};
|
|
90651
90675
|
const _stubVue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
90652
90676
|
__proto__: null,
|
|
90653
90677
|
default: __vite_glob_2_9
|
|
90654
90678
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
90655
|
-
const type$
|
|
90656
|
-
const compatibilityDate$
|
|
90657
|
-
const metadata$
|
|
90679
|
+
const type$U = "com.shwfed.table.column.select";
|
|
90680
|
+
const compatibilityDate$U = "2026-04-14";
|
|
90681
|
+
const metadata$U = {
|
|
90658
90682
|
name: "选择",
|
|
90659
90683
|
icon: "fluent:checkbox-checked-20-regular"
|
|
90660
90684
|
};
|
|
90661
|
-
function schema$
|
|
90685
|
+
function schema$U(configure) {
|
|
90662
90686
|
const CelRowSelectionPredicate = Expression({
|
|
90663
90687
|
configure: (env) => {
|
|
90664
90688
|
configure(env);
|
|
@@ -90667,8 +90691,8 @@ function schema$T(configure) {
|
|
|
90667
90691
|
resultType: "bool"
|
|
90668
90692
|
});
|
|
90669
90693
|
return Struct({
|
|
90670
|
-
type: Literal2(type$
|
|
90671
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
90694
|
+
type: Literal2(type$U),
|
|
90695
|
+
compatibilityDate: Literal2(compatibilityDate$U),
|
|
90672
90696
|
...columnIdentityFields(),
|
|
90673
90697
|
mode: optionalWith(Literal2("radio", "checkbox").annotations({
|
|
90674
90698
|
title: "模式",
|
|
@@ -90684,7 +90708,7 @@ function schema$T(configure) {
|
|
|
90684
90708
|
})
|
|
90685
90709
|
}).annotations({ title: "SelectRenderer", description: "选择渲染器" });
|
|
90686
90710
|
}
|
|
90687
|
-
function defaults$
|
|
90711
|
+
function defaults$v() {
|
|
90688
90712
|
return {
|
|
90689
90713
|
mode: "checkbox"
|
|
90690
90714
|
};
|
|
@@ -90700,25 +90724,25 @@ function toColumnDef$t(value) {
|
|
|
90700
90724
|
}
|
|
90701
90725
|
const __vite_glob_0_5$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
90702
90726
|
__proto__: null,
|
|
90703
|
-
compatibilityDate: compatibilityDate$
|
|
90704
|
-
defaults: defaults$
|
|
90705
|
-
metadata: metadata$
|
|
90706
|
-
schema: schema$
|
|
90727
|
+
compatibilityDate: compatibilityDate$U,
|
|
90728
|
+
defaults: defaults$v,
|
|
90729
|
+
metadata: metadata$U,
|
|
90730
|
+
schema: schema$U,
|
|
90707
90731
|
toColumnDef: toColumnDef$t,
|
|
90708
|
-
type: type$
|
|
90732
|
+
type: type$U
|
|
90709
90733
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
90710
|
-
const type$
|
|
90711
|
-
const compatibilityDate$
|
|
90712
|
-
const metadata$
|
|
90734
|
+
const type$T = "com.shwfed.table.column.text";
|
|
90735
|
+
const compatibilityDate$T = "2026-04-14";
|
|
90736
|
+
const metadata$T = {
|
|
90713
90737
|
name: "文本",
|
|
90714
90738
|
icon: "fluent:text-field-20-regular"
|
|
90715
90739
|
};
|
|
90716
90740
|
const isCopyExpressionType = (t) => t === "string" || t === "dyn" || t.startsWith("optional");
|
|
90717
|
-
function schema$
|
|
90741
|
+
function schema$T(configure) {
|
|
90718
90742
|
const cel = CelRowAccess(configure, { resultType: isCopyExpressionType });
|
|
90719
90743
|
return Struct({
|
|
90720
|
-
type: Literal2(type$
|
|
90721
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
90744
|
+
type: Literal2(type$T),
|
|
90745
|
+
compatibilityDate: Literal2(compatibilityDate$T),
|
|
90722
90746
|
...columnFields(configure),
|
|
90723
90747
|
align: optionalWith(Align.annotations({ title: "对齐" }), { default: () => "left" }),
|
|
90724
90748
|
displayMode: optionalWith(
|
|
@@ -90734,7 +90758,7 @@ function schema$S(configure) {
|
|
|
90734
90758
|
}))
|
|
90735
90759
|
}).annotations({ title: "TextRenderer", description: "文本渲染器" });
|
|
90736
90760
|
}
|
|
90737
|
-
function defaults$
|
|
90761
|
+
function defaults$u() {
|
|
90738
90762
|
return {
|
|
90739
90763
|
title: [{ locale: "zh", message: "" }],
|
|
90740
90764
|
accessor: "",
|
|
@@ -90763,20 +90787,20 @@ function toColumnDef$s(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
90763
90787
|
}
|
|
90764
90788
|
const __vite_glob_0_6$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
90765
90789
|
__proto__: null,
|
|
90766
|
-
compatibilityDate: compatibilityDate$
|
|
90767
|
-
defaults: defaults$
|
|
90768
|
-
metadata: metadata$
|
|
90769
|
-
schema: schema$
|
|
90790
|
+
compatibilityDate: compatibilityDate$T,
|
|
90791
|
+
defaults: defaults$u,
|
|
90792
|
+
metadata: metadata$T,
|
|
90793
|
+
schema: schema$T,
|
|
90770
90794
|
toColumnDef: toColumnDef$s,
|
|
90771
|
-
type: type$
|
|
90795
|
+
type: type$T
|
|
90772
90796
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
90773
|
-
const type$
|
|
90774
|
-
const compatibilityDate$
|
|
90775
|
-
const metadata$
|
|
90797
|
+
const type$S = "com.shwfed.table.column.switch.remote";
|
|
90798
|
+
const compatibilityDate$S = "2026-05-13";
|
|
90799
|
+
const metadata$S = {
|
|
90776
90800
|
name: "开关(远程)",
|
|
90777
90801
|
icon: "fluent:toggle-left-20-regular"
|
|
90778
90802
|
};
|
|
90779
|
-
function schema$
|
|
90803
|
+
function schema$S(configure) {
|
|
90780
90804
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
90781
90805
|
const CelOnChange = Expression({
|
|
90782
90806
|
configure: (env) => {
|
|
@@ -90794,8 +90818,8 @@ function schema$R(configure) {
|
|
|
90794
90818
|
resultType: "string"
|
|
90795
90819
|
});
|
|
90796
90820
|
return Struct({
|
|
90797
|
-
type: Literal2(type$
|
|
90798
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
90821
|
+
type: Literal2(type$S),
|
|
90822
|
+
compatibilityDate: Literal2(compatibilityDate$S),
|
|
90799
90823
|
...columnFields(configure),
|
|
90800
90824
|
align: optionalWith(Align.annotations({ title: "对齐" }), { default: () => "center" }),
|
|
90801
90825
|
disabled: optional(CelBool.annotations({
|
|
@@ -90816,7 +90840,7 @@ function schema$R(configure) {
|
|
|
90816
90840
|
}))
|
|
90817
90841
|
}).annotations({ title: "SwitchRenderer", description: "开关渲染器(可编辑)" });
|
|
90818
90842
|
}
|
|
90819
|
-
function defaults$
|
|
90843
|
+
function defaults$t() {
|
|
90820
90844
|
return {
|
|
90821
90845
|
title: [{ locale: "zh", message: "" }],
|
|
90822
90846
|
accessor: "",
|
|
@@ -90824,14 +90848,14 @@ function defaults$s() {
|
|
|
90824
90848
|
};
|
|
90825
90849
|
}
|
|
90826
90850
|
const migrateFrom$k = [
|
|
90827
|
-
{ type: "com.shwfed.table.column.switch", compatibilityDate: compatibilityDate$
|
|
90851
|
+
{ type: "com.shwfed.table.column.switch", compatibilityDate: compatibilityDate$S }
|
|
90828
90852
|
];
|
|
90829
90853
|
const migrate$l = (prev) => try_({
|
|
90830
90854
|
try: () => {
|
|
90831
90855
|
if (!prev || typeof prev !== "object") {
|
|
90832
90856
|
throw new Error("开关(远程)迁移失败:原值不是对象");
|
|
90833
90857
|
}
|
|
90834
|
-
return { ...prev, type: type$
|
|
90858
|
+
return { ...prev, type: type$S, compatibilityDate: compatibilityDate$S };
|
|
90835
90859
|
},
|
|
90836
90860
|
catch: (e) => e instanceof Error ? e : new Error(String(e))
|
|
90837
90861
|
});
|
|
@@ -90857,22 +90881,22 @@ function toColumnDef$r(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
90857
90881
|
}
|
|
90858
90882
|
const __vite_glob_0_7$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
90859
90883
|
__proto__: null,
|
|
90860
|
-
compatibilityDate: compatibilityDate$
|
|
90861
|
-
defaults: defaults$
|
|
90862
|
-
metadata: metadata$
|
|
90884
|
+
compatibilityDate: compatibilityDate$S,
|
|
90885
|
+
defaults: defaults$t,
|
|
90886
|
+
metadata: metadata$S,
|
|
90863
90887
|
migrate: migrate$l,
|
|
90864
90888
|
migrateFrom: migrateFrom$k,
|
|
90865
|
-
schema: schema$
|
|
90889
|
+
schema: schema$S,
|
|
90866
90890
|
toColumnDef: toColumnDef$r,
|
|
90867
|
-
type: type$
|
|
90891
|
+
type: type$S
|
|
90868
90892
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
90869
|
-
const type$
|
|
90870
|
-
const compatibilityDate$
|
|
90871
|
-
const metadata$
|
|
90893
|
+
const type$R = "com.shwfed.table.column.switch";
|
|
90894
|
+
const compatibilityDate$R = "2026-05-13";
|
|
90895
|
+
const metadata$R = {
|
|
90872
90896
|
name: "开关(远程)",
|
|
90873
90897
|
icon: "fluent:toggle-left-20-regular"
|
|
90874
90898
|
};
|
|
90875
|
-
function schema$
|
|
90899
|
+
function schema$R(configure) {
|
|
90876
90900
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
90877
90901
|
const CelOnChange = Expression({
|
|
90878
90902
|
configure: (env) => {
|
|
@@ -90890,8 +90914,8 @@ function schema$Q(configure) {
|
|
|
90890
90914
|
resultType: "string"
|
|
90891
90915
|
});
|
|
90892
90916
|
return Struct({
|
|
90893
|
-
type: Literal2(type$
|
|
90894
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
90917
|
+
type: Literal2(type$R),
|
|
90918
|
+
compatibilityDate: Literal2(compatibilityDate$R),
|
|
90895
90919
|
...columnFields(configure),
|
|
90896
90920
|
align: optionalWith(Align.annotations({ title: "对齐" }), { default: () => "center" }),
|
|
90897
90921
|
disabled: optional(CelBool.annotations({
|
|
@@ -90934,11 +90958,11 @@ function toColumnDef$q(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
90934
90958
|
}
|
|
90935
90959
|
const __vite_glob_0_8$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
90936
90960
|
__proto__: null,
|
|
90937
|
-
compatibilityDate: compatibilityDate$
|
|
90938
|
-
metadata: metadata$
|
|
90939
|
-
schema: schema$
|
|
90961
|
+
compatibilityDate: compatibilityDate$R,
|
|
90962
|
+
metadata: metadata$R,
|
|
90963
|
+
schema: schema$R,
|
|
90940
90964
|
toColumnDef: toColumnDef$q,
|
|
90941
|
-
type: type$
|
|
90965
|
+
type: type$R
|
|
90942
90966
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
90943
90967
|
const isObject$1 = (value) => {
|
|
90944
90968
|
const type2 = typeof value;
|
|
@@ -91137,9 +91161,9 @@ function getProperty(object2, path, value) {
|
|
|
91137
91161
|
}
|
|
91138
91162
|
return object2 === void 0 ? value : object2;
|
|
91139
91163
|
}
|
|
91140
|
-
const type$
|
|
91141
|
-
const compatibilityDate$
|
|
91142
|
-
const metadata$
|
|
91164
|
+
const type$Q = "com.shwfed.table.column.combobox-single";
|
|
91165
|
+
const compatibilityDate$Q = "2026-05-20";
|
|
91166
|
+
const metadata$Q = {
|
|
91143
91167
|
name: "下拉单选",
|
|
91144
91168
|
icon: "fluent:chevron-down-20-regular"
|
|
91145
91169
|
};
|
|
@@ -91172,12 +91196,12 @@ function itemSchema$g(configure) {
|
|
|
91172
91196
|
title: "ComboboxSingleItem"
|
|
91173
91197
|
});
|
|
91174
91198
|
}
|
|
91175
|
-
function schema$
|
|
91199
|
+
function schema$Q(configure) {
|
|
91176
91200
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
91177
91201
|
const Item = itemSchema$g(configure);
|
|
91178
91202
|
return Struct({
|
|
91179
|
-
type: Literal2(type$
|
|
91180
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
91203
|
+
type: Literal2(type$Q),
|
|
91204
|
+
compatibilityDate: Literal2(compatibilityDate$Q),
|
|
91181
91205
|
...editableColumnFields(),
|
|
91182
91206
|
placeholder: optional(Locale.annotations({
|
|
91183
91207
|
title: "占位符",
|
|
@@ -91225,25 +91249,25 @@ function toColumnDef$p(value, { getLocaleText }) {
|
|
|
91225
91249
|
}
|
|
91226
91250
|
const __vite_glob_0_9$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
91227
91251
|
__proto__: null,
|
|
91228
|
-
compatibilityDate: compatibilityDate$
|
|
91252
|
+
compatibilityDate: compatibilityDate$Q,
|
|
91229
91253
|
itemSchema: itemSchema$g,
|
|
91230
|
-
metadata: metadata$
|
|
91231
|
-
schema: schema$
|
|
91254
|
+
metadata: metadata$Q,
|
|
91255
|
+
schema: schema$Q,
|
|
91232
91256
|
toColumnDef: toColumnDef$p,
|
|
91233
|
-
type: type$
|
|
91257
|
+
type: type$Q
|
|
91234
91258
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
91235
|
-
const type$
|
|
91236
|
-
const compatibilityDate$
|
|
91237
|
-
const metadata$
|
|
91259
|
+
const type$P = "com.shwfed.table.column.number-input";
|
|
91260
|
+
const compatibilityDate$P = "2026-05-20";
|
|
91261
|
+
const metadata$P = {
|
|
91238
91262
|
name: "数值输入",
|
|
91239
91263
|
icon: "fluent:number-symbol-20-regular"
|
|
91240
91264
|
};
|
|
91241
|
-
function schema$
|
|
91265
|
+
function schema$P(configure) {
|
|
91242
91266
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
91243
91267
|
const CelNumber = CelRowAccess(configure, { resultType: "number" });
|
|
91244
91268
|
return Struct({
|
|
91245
|
-
type: Literal2(type$
|
|
91246
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
91269
|
+
type: Literal2(type$P),
|
|
91270
|
+
compatibilityDate: Literal2(compatibilityDate$P),
|
|
91247
91271
|
...editableColumnFields(),
|
|
91248
91272
|
placeholder: optional(Locale.annotations({
|
|
91249
91273
|
title: "占位符",
|
|
@@ -91288,7 +91312,7 @@ function schema$O(configure) {
|
|
|
91288
91312
|
derived: derivedRowField(configure, "number")
|
|
91289
91313
|
}).annotations({ title: "NumberInputRenderer", description: "数值输入渲染器(可编辑)" });
|
|
91290
91314
|
}
|
|
91291
|
-
function defaults$
|
|
91315
|
+
function defaults$s() {
|
|
91292
91316
|
return {
|
|
91293
91317
|
title: [{ locale: "zh", message: "" }],
|
|
91294
91318
|
binding: "",
|
|
@@ -91318,24 +91342,24 @@ function toColumnDef$o(value, { getLocaleText }) {
|
|
|
91318
91342
|
}
|
|
91319
91343
|
const __vite_glob_0_10 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
91320
91344
|
__proto__: null,
|
|
91321
|
-
compatibilityDate: compatibilityDate$
|
|
91322
|
-
defaults: defaults$
|
|
91323
|
-
metadata: metadata$
|
|
91324
|
-
schema: schema$
|
|
91345
|
+
compatibilityDate: compatibilityDate$P,
|
|
91346
|
+
defaults: defaults$s,
|
|
91347
|
+
metadata: metadata$P,
|
|
91348
|
+
schema: schema$P,
|
|
91325
91349
|
toColumnDef: toColumnDef$o,
|
|
91326
|
-
type: type$
|
|
91350
|
+
type: type$P
|
|
91327
91351
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
91328
|
-
const type$
|
|
91329
|
-
const compatibilityDate$
|
|
91330
|
-
const metadata$
|
|
91352
|
+
const type$O = "com.shwfed.table.column.switch.local";
|
|
91353
|
+
const compatibilityDate$O = "2026-05-20";
|
|
91354
|
+
const metadata$O = {
|
|
91331
91355
|
name: "开关",
|
|
91332
91356
|
icon: "fluent:toggle-left-20-regular"
|
|
91333
91357
|
};
|
|
91334
|
-
function schema$
|
|
91358
|
+
function schema$O(configure) {
|
|
91335
91359
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
91336
91360
|
return Struct({
|
|
91337
|
-
type: Literal2(type$
|
|
91338
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
91361
|
+
type: Literal2(type$O),
|
|
91362
|
+
compatibilityDate: Literal2(compatibilityDate$O),
|
|
91339
91363
|
...editableColumnFields(),
|
|
91340
91364
|
hidden: optional(CelBool.annotations({
|
|
91341
91365
|
title: "隐藏条件",
|
|
@@ -91360,7 +91384,7 @@ function schema$N(configure) {
|
|
|
91360
91384
|
derived: derivedRowField(configure, "bool")
|
|
91361
91385
|
}).annotations({ title: "SwitchRenderer", description: "开关渲染器(可编辑、本地)" });
|
|
91362
91386
|
}
|
|
91363
|
-
function defaults$
|
|
91387
|
+
function defaults$r() {
|
|
91364
91388
|
return {
|
|
91365
91389
|
title: [{ locale: "zh", message: "" }],
|
|
91366
91390
|
binding: "",
|
|
@@ -91368,14 +91392,14 @@ function defaults$q() {
|
|
|
91368
91392
|
};
|
|
91369
91393
|
}
|
|
91370
91394
|
const migrateFrom$j = [
|
|
91371
|
-
{ type: "com.shwfed.table.column.switch", compatibilityDate: compatibilityDate$
|
|
91395
|
+
{ type: "com.shwfed.table.column.switch", compatibilityDate: compatibilityDate$O }
|
|
91372
91396
|
];
|
|
91373
91397
|
const migrate$k = (prev) => try_({
|
|
91374
91398
|
try: () => {
|
|
91375
91399
|
if (!prev || typeof prev !== "object") {
|
|
91376
91400
|
throw new Error("开关(本地)迁移失败:原值不是对象");
|
|
91377
91401
|
}
|
|
91378
|
-
return { ...prev, type: type$
|
|
91402
|
+
return { ...prev, type: type$O, compatibilityDate: compatibilityDate$O };
|
|
91379
91403
|
},
|
|
91380
91404
|
catch: (e) => e instanceof Error ? e : new Error(String(e))
|
|
91381
91405
|
});
|
|
@@ -91401,26 +91425,26 @@ function toColumnDef$n(value, { getLocaleText }) {
|
|
|
91401
91425
|
}
|
|
91402
91426
|
const __vite_glob_0_11 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
91403
91427
|
__proto__: null,
|
|
91404
|
-
compatibilityDate: compatibilityDate$
|
|
91405
|
-
defaults: defaults$
|
|
91406
|
-
metadata: metadata$
|
|
91428
|
+
compatibilityDate: compatibilityDate$O,
|
|
91429
|
+
defaults: defaults$r,
|
|
91430
|
+
metadata: metadata$O,
|
|
91407
91431
|
migrate: migrate$k,
|
|
91408
91432
|
migrateFrom: migrateFrom$j,
|
|
91409
|
-
schema: schema$
|
|
91433
|
+
schema: schema$O,
|
|
91410
91434
|
toColumnDef: toColumnDef$n,
|
|
91411
|
-
type: type$
|
|
91435
|
+
type: type$O
|
|
91412
91436
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
91413
|
-
const type$
|
|
91414
|
-
const compatibilityDate$
|
|
91415
|
-
const metadata$
|
|
91437
|
+
const type$N = "com.shwfed.table.column.switch";
|
|
91438
|
+
const compatibilityDate$N = "2026-05-20";
|
|
91439
|
+
const metadata$N = {
|
|
91416
91440
|
name: "开关",
|
|
91417
91441
|
icon: "fluent:toggle-left-20-regular"
|
|
91418
91442
|
};
|
|
91419
|
-
function schema$
|
|
91443
|
+
function schema$N(configure) {
|
|
91420
91444
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
91421
91445
|
return Struct({
|
|
91422
|
-
type: Literal2(type$
|
|
91423
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
91446
|
+
type: Literal2(type$N),
|
|
91447
|
+
compatibilityDate: Literal2(compatibilityDate$N),
|
|
91424
91448
|
...editableColumnFields(),
|
|
91425
91449
|
hidden: optional(CelBool.annotations({
|
|
91426
91450
|
title: "隐藏条件",
|
|
@@ -91467,23 +91491,23 @@ function toColumnDef$m(value, { getLocaleText }) {
|
|
|
91467
91491
|
}
|
|
91468
91492
|
const __vite_glob_0_12 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
91469
91493
|
__proto__: null,
|
|
91470
|
-
compatibilityDate: compatibilityDate$
|
|
91471
|
-
metadata: metadata$
|
|
91472
|
-
schema: schema$
|
|
91494
|
+
compatibilityDate: compatibilityDate$N,
|
|
91495
|
+
metadata: metadata$N,
|
|
91496
|
+
schema: schema$N,
|
|
91473
91497
|
toColumnDef: toColumnDef$m,
|
|
91474
|
-
type: type$
|
|
91498
|
+
type: type$N
|
|
91475
91499
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
91476
|
-
const type$
|
|
91477
|
-
const compatibilityDate$
|
|
91478
|
-
const metadata$
|
|
91500
|
+
const type$M = "com.shwfed.table.column.text-input";
|
|
91501
|
+
const compatibilityDate$M = "2026-05-20";
|
|
91502
|
+
const metadata$M = {
|
|
91479
91503
|
name: "文本输入",
|
|
91480
91504
|
icon: "fluent:text-field-20-regular"
|
|
91481
91505
|
};
|
|
91482
|
-
function schema$
|
|
91506
|
+
function schema$M(configure) {
|
|
91483
91507
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
91484
91508
|
return Struct({
|
|
91485
|
-
type: Literal2(type$
|
|
91486
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
91509
|
+
type: Literal2(type$M),
|
|
91510
|
+
compatibilityDate: Literal2(compatibilityDate$M),
|
|
91487
91511
|
...editableColumnFields(),
|
|
91488
91512
|
placeholder: optional(Locale.annotations({
|
|
91489
91513
|
title: "占位符",
|
|
@@ -91504,7 +91528,7 @@ function schema$L(configure) {
|
|
|
91504
91528
|
derived: derivedRowField(configure, "string")
|
|
91505
91529
|
}).annotations({ title: "TextInputRenderer", description: "文本输入渲染器(可编辑)" });
|
|
91506
91530
|
}
|
|
91507
|
-
function defaults$
|
|
91531
|
+
function defaults$q() {
|
|
91508
91532
|
return {
|
|
91509
91533
|
title: [{ locale: "zh", message: "" }],
|
|
91510
91534
|
binding: "",
|
|
@@ -91531,12 +91555,12 @@ function toColumnDef$l(value, { getLocaleText }) {
|
|
|
91531
91555
|
}
|
|
91532
91556
|
const __vite_glob_0_13 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
91533
91557
|
__proto__: null,
|
|
91534
|
-
compatibilityDate: compatibilityDate$
|
|
91535
|
-
defaults: defaults$
|
|
91536
|
-
metadata: metadata$
|
|
91537
|
-
schema: schema$
|
|
91558
|
+
compatibilityDate: compatibilityDate$M,
|
|
91559
|
+
defaults: defaults$q,
|
|
91560
|
+
metadata: metadata$M,
|
|
91561
|
+
schema: schema$M,
|
|
91538
91562
|
toColumnDef: toColumnDef$l,
|
|
91539
|
-
type: type$
|
|
91563
|
+
type: type$M
|
|
91540
91564
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
91541
91565
|
const matchIconName = /^[a-z0-9]+(-[a-z0-9]+)*$/;
|
|
91542
91566
|
const stringToIcon = (value, validate2, allowSimpleName, provider = "") => {
|
|
@@ -92920,16 +92944,16 @@ const Icon = vueExports.defineComponent((props, { emit }) => {
|
|
|
92920
92944
|
],
|
|
92921
92945
|
emits: ["load"]
|
|
92922
92946
|
});
|
|
92923
|
-
const type$
|
|
92924
|
-
const compatibilityDate$
|
|
92925
|
-
const metadata$
|
|
92947
|
+
const type$L = "com.shwfed.table.column.drag-handle";
|
|
92948
|
+
const compatibilityDate$L = "2026-05-21";
|
|
92949
|
+
const metadata$L = {
|
|
92926
92950
|
name: "拖拽",
|
|
92927
92951
|
icon: "fluent:re-order-dots-vertical-20-regular"
|
|
92928
92952
|
};
|
|
92929
|
-
function schema$
|
|
92953
|
+
function schema$L(_configure) {
|
|
92930
92954
|
return Struct({
|
|
92931
|
-
type: Literal2(type$
|
|
92932
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
92955
|
+
type: Literal2(type$L),
|
|
92956
|
+
compatibilityDate: Literal2(compatibilityDate$L),
|
|
92933
92957
|
...columnIdentityFields()
|
|
92934
92958
|
}).annotations({ title: "DragHandleRenderer", description: "行拖拽手柄列" });
|
|
92935
92959
|
}
|
|
@@ -92949,15 +92973,15 @@ function toColumnDef$k(_value) {
|
|
|
92949
92973
|
}
|
|
92950
92974
|
const __vite_glob_0_14 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
92951
92975
|
__proto__: null,
|
|
92952
|
-
compatibilityDate: compatibilityDate$
|
|
92953
|
-
metadata: metadata$
|
|
92954
|
-
schema: schema$
|
|
92976
|
+
compatibilityDate: compatibilityDate$L,
|
|
92977
|
+
metadata: metadata$L,
|
|
92978
|
+
schema: schema$L,
|
|
92955
92979
|
toColumnDef: toColumnDef$k,
|
|
92956
|
-
type: type$
|
|
92980
|
+
type: type$L
|
|
92957
92981
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
92958
|
-
const type$
|
|
92959
|
-
const compatibilityDate$
|
|
92960
|
-
const metadata$
|
|
92982
|
+
const type$K = "com.shwfed.table.column.combobox-single.remote.options-remote";
|
|
92983
|
+
const compatibilityDate$K = "2026-05-24";
|
|
92984
|
+
const metadata$K = {
|
|
92961
92985
|
name: "远程下拉单选",
|
|
92962
92986
|
icon: "fluent:cloud-arrow-down-20-regular"
|
|
92963
92987
|
};
|
|
@@ -92972,7 +92996,7 @@ const JSON_VAR$3 = {
|
|
|
92972
92996
|
description: "HTTP 响应体(已解析 JSON);请求失败或尚未完成时为 `null`"
|
|
92973
92997
|
};
|
|
92974
92998
|
const isListType$f = (actual) => actual === "dyn" || actual.startsWith("list");
|
|
92975
|
-
function schema$
|
|
92999
|
+
function schema$K(configure) {
|
|
92976
93000
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
92977
93001
|
const CelRequest = Expression({
|
|
92978
93002
|
configure: (env) => {
|
|
@@ -93020,8 +93044,8 @@ function schema$J(configure) {
|
|
|
93020
93044
|
resultType: "string"
|
|
93021
93045
|
});
|
|
93022
93046
|
return Struct({
|
|
93023
|
-
type: Literal2(type$
|
|
93024
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
93047
|
+
type: Literal2(type$K),
|
|
93048
|
+
compatibilityDate: Literal2(compatibilityDate$K),
|
|
93025
93049
|
...columnFields(configure),
|
|
93026
93050
|
placeholder: optional(Locale.annotations({
|
|
93027
93051
|
title: "占位符",
|
|
@@ -93096,15 +93120,15 @@ const __vite_glob_0_15 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.de
|
|
|
93096
93120
|
__proto__: null,
|
|
93097
93121
|
JSON_VAR: JSON_VAR$3,
|
|
93098
93122
|
OPTION_VAR: OPTION_VAR$1,
|
|
93099
|
-
compatibilityDate: compatibilityDate$
|
|
93100
|
-
metadata: metadata$
|
|
93101
|
-
schema: schema$
|
|
93123
|
+
compatibilityDate: compatibilityDate$K,
|
|
93124
|
+
metadata: metadata$K,
|
|
93125
|
+
schema: schema$K,
|
|
93102
93126
|
toColumnDef: toColumnDef$j,
|
|
93103
|
-
type: type$
|
|
93127
|
+
type: type$K
|
|
93104
93128
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
93105
|
-
const type$
|
|
93106
|
-
const compatibilityDate$
|
|
93107
|
-
const metadata$
|
|
93129
|
+
const type$J = "com.shwfed.table.column.combobox-single.remote.options-static";
|
|
93130
|
+
const compatibilityDate$J = "2026-05-24";
|
|
93131
|
+
const metadata$J = {
|
|
93108
93132
|
name: "下拉单选",
|
|
93109
93133
|
icon: "fluent:chevron-down-20-regular"
|
|
93110
93134
|
};
|
|
@@ -93137,7 +93161,7 @@ function itemSchema$f(configure) {
|
|
|
93137
93161
|
title: "ComboboxSingleRemoteOptionsStaticItem"
|
|
93138
93162
|
});
|
|
93139
93163
|
}
|
|
93140
|
-
function schema$
|
|
93164
|
+
function schema$J(configure) {
|
|
93141
93165
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
93142
93166
|
const Item = itemSchema$f(configure);
|
|
93143
93167
|
const CelOnChange = Expression({
|
|
@@ -93156,8 +93180,8 @@ function schema$I(configure) {
|
|
|
93156
93180
|
resultType: "string"
|
|
93157
93181
|
});
|
|
93158
93182
|
return Struct({
|
|
93159
|
-
type: Literal2(type$
|
|
93160
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
93183
|
+
type: Literal2(type$J),
|
|
93184
|
+
compatibilityDate: Literal2(compatibilityDate$J),
|
|
93161
93185
|
...columnFields(configure),
|
|
93162
93186
|
placeholder: optional(Locale.annotations({
|
|
93163
93187
|
title: "占位符",
|
|
@@ -93218,16 +93242,16 @@ function toColumnDef$i(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
93218
93242
|
}
|
|
93219
93243
|
const __vite_glob_0_16 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
93220
93244
|
__proto__: null,
|
|
93221
|
-
compatibilityDate: compatibilityDate$
|
|
93245
|
+
compatibilityDate: compatibilityDate$J,
|
|
93222
93246
|
itemSchema: itemSchema$f,
|
|
93223
|
-
metadata: metadata$
|
|
93224
|
-
schema: schema$
|
|
93247
|
+
metadata: metadata$J,
|
|
93248
|
+
schema: schema$J,
|
|
93225
93249
|
toColumnDef: toColumnDef$i,
|
|
93226
|
-
type: type$
|
|
93250
|
+
type: type$J
|
|
93227
93251
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
93228
|
-
const type$
|
|
93229
|
-
const compatibilityDate$
|
|
93230
|
-
const metadata$
|
|
93252
|
+
const type$I = "com.shwfed.table.column.combobox-multi.remote.options-remote";
|
|
93253
|
+
const compatibilityDate$I = "2026-05-25";
|
|
93254
|
+
const metadata$I = {
|
|
93231
93255
|
name: "远程下拉多选",
|
|
93232
93256
|
icon: "fluent:cloud-arrow-down-20-regular"
|
|
93233
93257
|
};
|
|
@@ -93242,7 +93266,7 @@ const JSON_VAR$2 = {
|
|
|
93242
93266
|
description: "HTTP 响应体(已解析 JSON);请求失败或尚未完成时为 `null`"
|
|
93243
93267
|
};
|
|
93244
93268
|
const isListType$e = (actual) => actual === "dyn" || actual.startsWith("list");
|
|
93245
|
-
function schema$
|
|
93269
|
+
function schema$I(configure) {
|
|
93246
93270
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
93247
93271
|
const CelRequest = Expression({
|
|
93248
93272
|
configure: (env) => {
|
|
@@ -93290,8 +93314,8 @@ function schema$H(configure) {
|
|
|
93290
93314
|
resultType: "string"
|
|
93291
93315
|
});
|
|
93292
93316
|
return Struct({
|
|
93293
|
-
type: Literal2(type$
|
|
93294
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
93317
|
+
type: Literal2(type$I),
|
|
93318
|
+
compatibilityDate: Literal2(compatibilityDate$I),
|
|
93295
93319
|
...columnFields(configure),
|
|
93296
93320
|
placeholder: optional(Locale.annotations({
|
|
93297
93321
|
title: "占位符",
|
|
@@ -93366,15 +93390,15 @@ const __vite_glob_0_17 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.de
|
|
|
93366
93390
|
__proto__: null,
|
|
93367
93391
|
JSON_VAR: JSON_VAR$2,
|
|
93368
93392
|
OPTION_VAR,
|
|
93369
|
-
compatibilityDate: compatibilityDate$
|
|
93370
|
-
metadata: metadata$
|
|
93371
|
-
schema: schema$
|
|
93393
|
+
compatibilityDate: compatibilityDate$I,
|
|
93394
|
+
metadata: metadata$I,
|
|
93395
|
+
schema: schema$I,
|
|
93372
93396
|
toColumnDef: toColumnDef$h,
|
|
93373
|
-
type: type$
|
|
93397
|
+
type: type$I
|
|
93374
93398
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
93375
|
-
const type$
|
|
93376
|
-
const compatibilityDate$
|
|
93377
|
-
const metadata$
|
|
93399
|
+
const type$H = "com.shwfed.table.column.combobox-multi.remote.options-static";
|
|
93400
|
+
const compatibilityDate$H = "2026-05-25";
|
|
93401
|
+
const metadata$H = {
|
|
93378
93402
|
name: "下拉多选",
|
|
93379
93403
|
icon: "fluent:chevron-down-20-regular"
|
|
93380
93404
|
};
|
|
@@ -93407,7 +93431,7 @@ function itemSchema$e(configure) {
|
|
|
93407
93431
|
title: "ComboboxMultiRemoteOptionsStaticItem"
|
|
93408
93432
|
});
|
|
93409
93433
|
}
|
|
93410
|
-
function schema$
|
|
93434
|
+
function schema$H(configure) {
|
|
93411
93435
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
93412
93436
|
const Item = itemSchema$e(configure);
|
|
93413
93437
|
const CelOnChange = Expression({
|
|
@@ -93426,8 +93450,8 @@ function schema$G(configure) {
|
|
|
93426
93450
|
resultType: "string"
|
|
93427
93451
|
});
|
|
93428
93452
|
return Struct({
|
|
93429
|
-
type: Literal2(type$
|
|
93430
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
93453
|
+
type: Literal2(type$H),
|
|
93454
|
+
compatibilityDate: Literal2(compatibilityDate$H),
|
|
93431
93455
|
...columnFields(configure),
|
|
93432
93456
|
placeholder: optional(Locale.annotations({
|
|
93433
93457
|
title: "占位符",
|
|
@@ -93488,16 +93512,16 @@ function toColumnDef$g(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
93488
93512
|
}
|
|
93489
93513
|
const __vite_glob_0_18 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
93490
93514
|
__proto__: null,
|
|
93491
|
-
compatibilityDate: compatibilityDate$
|
|
93515
|
+
compatibilityDate: compatibilityDate$H,
|
|
93492
93516
|
itemSchema: itemSchema$e,
|
|
93493
|
-
metadata: metadata$
|
|
93494
|
-
schema: schema$
|
|
93517
|
+
metadata: metadata$H,
|
|
93518
|
+
schema: schema$H,
|
|
93495
93519
|
toColumnDef: toColumnDef$g,
|
|
93496
|
-
type: type$
|
|
93520
|
+
type: type$H
|
|
93497
93521
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
93498
|
-
const type$
|
|
93499
|
-
const compatibilityDate$
|
|
93500
|
-
const metadata$
|
|
93522
|
+
const type$G = "com.shwfed.table.column.combobox-multi";
|
|
93523
|
+
const compatibilityDate$G = "2026-05-25";
|
|
93524
|
+
const metadata$G = {
|
|
93501
93525
|
name: "下拉多选",
|
|
93502
93526
|
icon: "fluent:chevron-down-20-regular"
|
|
93503
93527
|
};
|
|
@@ -93530,12 +93554,12 @@ function itemSchema$d(configure) {
|
|
|
93530
93554
|
title: "ComboboxMultiItem"
|
|
93531
93555
|
});
|
|
93532
93556
|
}
|
|
93533
|
-
function schema$
|
|
93557
|
+
function schema$G(configure) {
|
|
93534
93558
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
93535
93559
|
const Item = itemSchema$d(configure);
|
|
93536
93560
|
return Struct({
|
|
93537
|
-
type: Literal2(type$
|
|
93538
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
93561
|
+
type: Literal2(type$G),
|
|
93562
|
+
compatibilityDate: Literal2(compatibilityDate$G),
|
|
93539
93563
|
...editableColumnFields(),
|
|
93540
93564
|
placeholder: optional(Locale.annotations({
|
|
93541
93565
|
title: "占位符",
|
|
@@ -93581,16 +93605,16 @@ function toColumnDef$f(value, { getLocaleText }) {
|
|
|
93581
93605
|
}
|
|
93582
93606
|
const __vite_glob_0_19 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
93583
93607
|
__proto__: null,
|
|
93584
|
-
compatibilityDate: compatibilityDate$
|
|
93608
|
+
compatibilityDate: compatibilityDate$G,
|
|
93585
93609
|
itemSchema: itemSchema$d,
|
|
93586
|
-
metadata: metadata$
|
|
93587
|
-
schema: schema$
|
|
93610
|
+
metadata: metadata$G,
|
|
93611
|
+
schema: schema$G,
|
|
93588
93612
|
toColumnDef: toColumnDef$f,
|
|
93589
|
-
type: type$
|
|
93613
|
+
type: type$G
|
|
93590
93614
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
93591
|
-
const type$
|
|
93592
|
-
const compatibilityDate$
|
|
93593
|
-
const metadata$
|
|
93615
|
+
const type$F = "com.shwfed.table.column.combobox-multi.remote";
|
|
93616
|
+
const compatibilityDate$F = "2026-05-26";
|
|
93617
|
+
const metadata$F = {
|
|
93594
93618
|
name: "多选(远程)",
|
|
93595
93619
|
icon: "fluent:cloud-arrow-up-20-regular"
|
|
93596
93620
|
};
|
|
@@ -93690,7 +93714,7 @@ function optionsSchema$b(configure) {
|
|
|
93690
93714
|
description: '选项可以是静态配置(`kind: "static"`)或由远程接口加载(`kind: "remote"`)'
|
|
93691
93715
|
});
|
|
93692
93716
|
}
|
|
93693
|
-
function schema$
|
|
93717
|
+
function schema$F(configure) {
|
|
93694
93718
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
93695
93719
|
const Options = optionsSchema$b(configure);
|
|
93696
93720
|
const CelOnChange = Expression({
|
|
@@ -93709,8 +93733,8 @@ function schema$E(configure) {
|
|
|
93709
93733
|
resultType: "string"
|
|
93710
93734
|
});
|
|
93711
93735
|
return Struct({
|
|
93712
|
-
type: Literal2(type$
|
|
93713
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
93736
|
+
type: Literal2(type$F),
|
|
93737
|
+
compatibilityDate: Literal2(compatibilityDate$F),
|
|
93714
93738
|
...columnFields(configure),
|
|
93715
93739
|
placeholder: optional(Locale.annotations({
|
|
93716
93740
|
title: "占位符",
|
|
@@ -93764,8 +93788,8 @@ const migrate$j = (prev) => try_({
|
|
|
93764
93788
|
const itemsArr = Array.isArray(items2) ? items2 : [];
|
|
93765
93789
|
return {
|
|
93766
93790
|
...rest,
|
|
93767
|
-
type: type$
|
|
93768
|
-
compatibilityDate: compatibilityDate$
|
|
93791
|
+
type: type$F,
|
|
93792
|
+
compatibilityDate: compatibilityDate$F,
|
|
93769
93793
|
options: { kind: "static", items: itemsArr }
|
|
93770
93794
|
};
|
|
93771
93795
|
}
|
|
@@ -93778,8 +93802,8 @@ const migrate$j = (prev) => try_({
|
|
|
93778
93802
|
if (Array.isArray(optionLabel)) remote.optionLabel = optionLabel;
|
|
93779
93803
|
return {
|
|
93780
93804
|
...rest,
|
|
93781
|
-
type: type$
|
|
93782
|
-
compatibilityDate: compatibilityDate$
|
|
93805
|
+
type: type$F,
|
|
93806
|
+
compatibilityDate: compatibilityDate$F,
|
|
93783
93807
|
options: remote
|
|
93784
93808
|
};
|
|
93785
93809
|
}
|
|
@@ -93809,20 +93833,20 @@ function toColumnDef$e(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
93809
93833
|
}
|
|
93810
93834
|
const __vite_glob_0_20$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
93811
93835
|
__proto__: null,
|
|
93812
|
-
compatibilityDate: compatibilityDate$
|
|
93836
|
+
compatibilityDate: compatibilityDate$F,
|
|
93813
93837
|
itemSchema: itemSchema$c,
|
|
93814
|
-
metadata: metadata$
|
|
93838
|
+
metadata: metadata$F,
|
|
93815
93839
|
migrate: migrate$j,
|
|
93816
93840
|
migrateFrom: migrateFrom$i,
|
|
93817
93841
|
optionsSchema: optionsSchema$b,
|
|
93818
93842
|
remoteOptionsSchema: remoteOptionsSchema$b,
|
|
93819
|
-
schema: schema$
|
|
93843
|
+
schema: schema$F,
|
|
93820
93844
|
toColumnDef: toColumnDef$e,
|
|
93821
|
-
type: type$
|
|
93845
|
+
type: type$F
|
|
93822
93846
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
93823
|
-
const type$
|
|
93824
|
-
const compatibilityDate$
|
|
93825
|
-
const metadata$
|
|
93847
|
+
const type$E = "com.shwfed.table.column.combobox-multi";
|
|
93848
|
+
const compatibilityDate$E = "2026-05-26";
|
|
93849
|
+
const metadata$E = {
|
|
93826
93850
|
name: "多选",
|
|
93827
93851
|
icon: "fluent:chevron-down-20-regular"
|
|
93828
93852
|
};
|
|
@@ -93922,12 +93946,12 @@ function optionsSchema$a(configure) {
|
|
|
93922
93946
|
description: '选项可以是静态配置(`kind: "static"`)或由远程接口加载(`kind: "remote"`)'
|
|
93923
93947
|
});
|
|
93924
93948
|
}
|
|
93925
|
-
function schema$
|
|
93949
|
+
function schema$E(configure) {
|
|
93926
93950
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
93927
93951
|
const Options = optionsSchema$a(configure);
|
|
93928
93952
|
return Struct({
|
|
93929
|
-
type: Literal2(type$
|
|
93930
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
93953
|
+
type: Literal2(type$E),
|
|
93954
|
+
compatibilityDate: Literal2(compatibilityDate$E),
|
|
93931
93955
|
...editableColumnFields(),
|
|
93932
93956
|
placeholder: optional(Locale.annotations({
|
|
93933
93957
|
title: "占位符",
|
|
@@ -93963,8 +93987,8 @@ const migrate$i = (prev) => try_({
|
|
|
93963
93987
|
const itemsArr = Array.isArray(items2) ? items2 : [];
|
|
93964
93988
|
return {
|
|
93965
93989
|
...rest,
|
|
93966
|
-
type: type$
|
|
93967
|
-
compatibilityDate: compatibilityDate$
|
|
93990
|
+
type: type$E,
|
|
93991
|
+
compatibilityDate: compatibilityDate$E,
|
|
93968
93992
|
options: { kind: "static", items: itemsArr }
|
|
93969
93993
|
};
|
|
93970
93994
|
},
|
|
@@ -93988,20 +94012,20 @@ function toColumnDef$d(value, { getLocaleText }) {
|
|
|
93988
94012
|
}
|
|
93989
94013
|
const __vite_glob_0_21$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
93990
94014
|
__proto__: null,
|
|
93991
|
-
compatibilityDate: compatibilityDate$
|
|
94015
|
+
compatibilityDate: compatibilityDate$E,
|
|
93992
94016
|
itemSchema: itemSchema$b,
|
|
93993
|
-
metadata: metadata$
|
|
94017
|
+
metadata: metadata$E,
|
|
93994
94018
|
migrate: migrate$i,
|
|
93995
94019
|
migrateFrom: migrateFrom$h,
|
|
93996
94020
|
optionsSchema: optionsSchema$a,
|
|
93997
94021
|
remoteOptionsSchema: remoteOptionsSchema$a,
|
|
93998
|
-
schema: schema$
|
|
94022
|
+
schema: schema$E,
|
|
93999
94023
|
toColumnDef: toColumnDef$d,
|
|
94000
|
-
type: type$
|
|
94024
|
+
type: type$E
|
|
94001
94025
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
94002
|
-
const type$
|
|
94003
|
-
const compatibilityDate$
|
|
94004
|
-
const metadata$
|
|
94026
|
+
const type$D = "com.shwfed.table.column.combobox-single.remote";
|
|
94027
|
+
const compatibilityDate$D = "2026-05-26";
|
|
94028
|
+
const metadata$D = {
|
|
94005
94029
|
name: "单选(远程)",
|
|
94006
94030
|
icon: "fluent:cloud-arrow-up-20-regular"
|
|
94007
94031
|
};
|
|
@@ -94101,7 +94125,7 @@ function optionsSchema$9(configure) {
|
|
|
94101
94125
|
description: '选项可以是静态配置(`kind: "static"`)或由远程接口加载(`kind: "remote"`)'
|
|
94102
94126
|
});
|
|
94103
94127
|
}
|
|
94104
|
-
function schema$
|
|
94128
|
+
function schema$D(configure) {
|
|
94105
94129
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
94106
94130
|
const Options = optionsSchema$9(configure);
|
|
94107
94131
|
const CelOnChange = Expression({
|
|
@@ -94120,8 +94144,8 @@ function schema$C(configure) {
|
|
|
94120
94144
|
resultType: "string"
|
|
94121
94145
|
});
|
|
94122
94146
|
return Struct({
|
|
94123
|
-
type: Literal2(type$
|
|
94124
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
94147
|
+
type: Literal2(type$D),
|
|
94148
|
+
compatibilityDate: Literal2(compatibilityDate$D),
|
|
94125
94149
|
...columnFields(configure),
|
|
94126
94150
|
placeholder: optional(Locale.annotations({
|
|
94127
94151
|
title: "占位符",
|
|
@@ -94175,8 +94199,8 @@ const migrate$h = (prev) => try_({
|
|
|
94175
94199
|
const itemsArr = Array.isArray(items2) ? items2 : [];
|
|
94176
94200
|
return {
|
|
94177
94201
|
...rest,
|
|
94178
|
-
type: type$
|
|
94179
|
-
compatibilityDate: compatibilityDate$
|
|
94202
|
+
type: type$D,
|
|
94203
|
+
compatibilityDate: compatibilityDate$D,
|
|
94180
94204
|
options: { kind: "static", items: itemsArr }
|
|
94181
94205
|
};
|
|
94182
94206
|
}
|
|
@@ -94189,8 +94213,8 @@ const migrate$h = (prev) => try_({
|
|
|
94189
94213
|
if (Array.isArray(optionLabel)) remote.optionLabel = optionLabel;
|
|
94190
94214
|
return {
|
|
94191
94215
|
...rest,
|
|
94192
|
-
type: type$
|
|
94193
|
-
compatibilityDate: compatibilityDate$
|
|
94216
|
+
type: type$D,
|
|
94217
|
+
compatibilityDate: compatibilityDate$D,
|
|
94194
94218
|
options: remote
|
|
94195
94219
|
};
|
|
94196
94220
|
}
|
|
@@ -94220,20 +94244,20 @@ function toColumnDef$c(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
94220
94244
|
}
|
|
94221
94245
|
const __vite_glob_0_22$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
94222
94246
|
__proto__: null,
|
|
94223
|
-
compatibilityDate: compatibilityDate$
|
|
94247
|
+
compatibilityDate: compatibilityDate$D,
|
|
94224
94248
|
itemSchema: itemSchema$a,
|
|
94225
|
-
metadata: metadata$
|
|
94249
|
+
metadata: metadata$D,
|
|
94226
94250
|
migrate: migrate$h,
|
|
94227
94251
|
migrateFrom: migrateFrom$g,
|
|
94228
94252
|
optionsSchema: optionsSchema$9,
|
|
94229
94253
|
remoteOptionsSchema: remoteOptionsSchema$9,
|
|
94230
|
-
schema: schema$
|
|
94254
|
+
schema: schema$D,
|
|
94231
94255
|
toColumnDef: toColumnDef$c,
|
|
94232
|
-
type: type$
|
|
94256
|
+
type: type$D
|
|
94233
94257
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
94234
|
-
const type$
|
|
94235
|
-
const compatibilityDate$
|
|
94236
|
-
const metadata$
|
|
94258
|
+
const type$C = "com.shwfed.table.column.combobox-single";
|
|
94259
|
+
const compatibilityDate$C = "2026-05-26";
|
|
94260
|
+
const metadata$C = {
|
|
94237
94261
|
name: "单选",
|
|
94238
94262
|
icon: "fluent:chevron-down-20-regular"
|
|
94239
94263
|
};
|
|
@@ -94333,12 +94357,12 @@ function optionsSchema$8(configure) {
|
|
|
94333
94357
|
description: '选项可以是静态配置(`kind: "static"`)或由远程接口加载(`kind: "remote"`)'
|
|
94334
94358
|
});
|
|
94335
94359
|
}
|
|
94336
|
-
function schema$
|
|
94360
|
+
function schema$C(configure) {
|
|
94337
94361
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
94338
94362
|
const Options = optionsSchema$8(configure);
|
|
94339
94363
|
return Struct({
|
|
94340
|
-
type: Literal2(type$
|
|
94341
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
94364
|
+
type: Literal2(type$C),
|
|
94365
|
+
compatibilityDate: Literal2(compatibilityDate$C),
|
|
94342
94366
|
...editableColumnFields(),
|
|
94343
94367
|
placeholder: optional(Locale.annotations({
|
|
94344
94368
|
title: "占位符",
|
|
@@ -94374,8 +94398,8 @@ const migrate$g = (prev) => try_({
|
|
|
94374
94398
|
const itemsArr = Array.isArray(items2) ? items2 : [];
|
|
94375
94399
|
return {
|
|
94376
94400
|
...rest,
|
|
94377
|
-
type: type$
|
|
94378
|
-
compatibilityDate: compatibilityDate$
|
|
94401
|
+
type: type$C,
|
|
94402
|
+
compatibilityDate: compatibilityDate$C,
|
|
94379
94403
|
options: { kind: "static", items: itemsArr }
|
|
94380
94404
|
};
|
|
94381
94405
|
},
|
|
@@ -94399,16 +94423,16 @@ function toColumnDef$b(value, { getLocaleText }) {
|
|
|
94399
94423
|
}
|
|
94400
94424
|
const __vite_glob_0_23$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
94401
94425
|
__proto__: null,
|
|
94402
|
-
compatibilityDate: compatibilityDate$
|
|
94426
|
+
compatibilityDate: compatibilityDate$C,
|
|
94403
94427
|
itemSchema: itemSchema$9,
|
|
94404
|
-
metadata: metadata$
|
|
94428
|
+
metadata: metadata$C,
|
|
94405
94429
|
migrate: migrate$g,
|
|
94406
94430
|
migrateFrom: migrateFrom$f,
|
|
94407
94431
|
optionsSchema: optionsSchema$8,
|
|
94408
94432
|
remoteOptionsSchema: remoteOptionsSchema$8,
|
|
94409
|
-
schema: schema$
|
|
94433
|
+
schema: schema$C,
|
|
94410
94434
|
toColumnDef: toColumnDef$b,
|
|
94411
|
-
type: type$
|
|
94435
|
+
type: type$C
|
|
94412
94436
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
94413
94437
|
const NODE_VAR_TYPE = "dyn";
|
|
94414
94438
|
const NODE_VAR_DESCRIPTION = "当前节点;由 `数据` 表达式返回的每一项";
|
|
@@ -94420,9 +94444,9 @@ function registerNodeVariableIfAbsent(env, meta = {}) {
|
|
|
94420
94444
|
description: meta.description ?? NODE_VAR_DESCRIPTION
|
|
94421
94445
|
});
|
|
94422
94446
|
}
|
|
94423
|
-
const type$
|
|
94424
|
-
const compatibilityDate$
|
|
94425
|
-
const metadata$
|
|
94447
|
+
const type$B = "com.shwfed.table.column.tree-combobox-multi";
|
|
94448
|
+
const compatibilityDate$B = "2026-05-27";
|
|
94449
|
+
const metadata$B = {
|
|
94426
94450
|
name: "下拉树(多选)",
|
|
94427
94451
|
icon: "fluent:tree-evergreen-20-regular"
|
|
94428
94452
|
};
|
|
@@ -94435,7 +94459,7 @@ function withRowAndNode$5(configure) {
|
|
|
94435
94459
|
registerNodeVariableIfAbsent(env, { description: "`数据源` 返回的节点;由树逐层向下读取" });
|
|
94436
94460
|
};
|
|
94437
94461
|
}
|
|
94438
|
-
function schema$
|
|
94462
|
+
function schema$B(configure) {
|
|
94439
94463
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
94440
94464
|
const CelNodeKey = Expression({ configure: withRowAndNode$5(configure), resultType: isKeyType$9 });
|
|
94441
94465
|
const CelNodeChildren = Expression({ configure: withRowAndNode$5(configure), resultType: isListLike$9 });
|
|
@@ -94469,8 +94493,8 @@ function schema$A(configure) {
|
|
|
94469
94493
|
})
|
|
94470
94494
|
}).annotations({ title: "DataSource", description: "数据源配置" });
|
|
94471
94495
|
return Struct({
|
|
94472
|
-
type: Literal2(type$
|
|
94473
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
94496
|
+
type: Literal2(type$B),
|
|
94497
|
+
compatibilityDate: Literal2(compatibilityDate$B),
|
|
94474
94498
|
...editableColumnFields(),
|
|
94475
94499
|
placeholder: optional(Locale.annotations({
|
|
94476
94500
|
title: "占位符",
|
|
@@ -94526,7 +94550,7 @@ function schema$A(configure) {
|
|
|
94526
94550
|
})
|
|
94527
94551
|
}).annotations({ title: "TreeComboboxMultiRenderer", description: "下拉树多选渲染器(可编辑)" });
|
|
94528
94552
|
}
|
|
94529
|
-
function defaults$
|
|
94553
|
+
function defaults$p() {
|
|
94530
94554
|
return {
|
|
94531
94555
|
dataSource: { data: "[]" },
|
|
94532
94556
|
nodeKey: "string(node.id)",
|
|
@@ -94554,16 +94578,16 @@ function toColumnDef$a(value, { getLocaleText }) {
|
|
|
94554
94578
|
}
|
|
94555
94579
|
const __vite_glob_0_24$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
94556
94580
|
__proto__: null,
|
|
94557
|
-
compatibilityDate: compatibilityDate$
|
|
94558
|
-
defaults: defaults$
|
|
94559
|
-
metadata: metadata$
|
|
94560
|
-
schema: schema$
|
|
94581
|
+
compatibilityDate: compatibilityDate$B,
|
|
94582
|
+
defaults: defaults$p,
|
|
94583
|
+
metadata: metadata$B,
|
|
94584
|
+
schema: schema$B,
|
|
94561
94585
|
toColumnDef: toColumnDef$a,
|
|
94562
|
-
type: type$
|
|
94586
|
+
type: type$B
|
|
94563
94587
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
94564
|
-
const type$
|
|
94565
|
-
const compatibilityDate$
|
|
94566
|
-
const metadata$
|
|
94588
|
+
const type$A = "com.shwfed.table.column.tree-combobox-single";
|
|
94589
|
+
const compatibilityDate$A = "2026-05-27";
|
|
94590
|
+
const metadata$A = {
|
|
94567
94591
|
name: "下拉树(单选)",
|
|
94568
94592
|
icon: "fluent:tree-evergreen-20-regular"
|
|
94569
94593
|
};
|
|
@@ -94576,7 +94600,7 @@ function withRowAndNode$4(configure) {
|
|
|
94576
94600
|
registerNodeVariableIfAbsent(env, { description: "`数据源` 返回的节点;由树逐层向下读取" });
|
|
94577
94601
|
};
|
|
94578
94602
|
}
|
|
94579
|
-
function schema$
|
|
94603
|
+
function schema$A(configure) {
|
|
94580
94604
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
94581
94605
|
const CelNodeKey = Expression({ configure: withRowAndNode$4(configure), resultType: isKeyType$8 });
|
|
94582
94606
|
const CelNodeChildren = Expression({ configure: withRowAndNode$4(configure), resultType: isListLike$8 });
|
|
@@ -94610,8 +94634,8 @@ function schema$z(configure) {
|
|
|
94610
94634
|
})
|
|
94611
94635
|
}).annotations({ title: "DataSource", description: "数据源配置" });
|
|
94612
94636
|
return Struct({
|
|
94613
|
-
type: Literal2(type$
|
|
94614
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
94637
|
+
type: Literal2(type$A),
|
|
94638
|
+
compatibilityDate: Literal2(compatibilityDate$A),
|
|
94615
94639
|
...editableColumnFields(),
|
|
94616
94640
|
placeholder: optional(Locale.annotations({
|
|
94617
94641
|
title: "占位符",
|
|
@@ -94660,7 +94684,7 @@ function schema$z(configure) {
|
|
|
94660
94684
|
})
|
|
94661
94685
|
}).annotations({ title: "TreeComboboxSingleRenderer", description: "下拉树单选渲染器(可编辑)" });
|
|
94662
94686
|
}
|
|
94663
|
-
function defaults$
|
|
94687
|
+
function defaults$o() {
|
|
94664
94688
|
return {
|
|
94665
94689
|
dataSource: { data: "[]" },
|
|
94666
94690
|
nodeKey: "string(node.id)",
|
|
@@ -94687,16 +94711,16 @@ function toColumnDef$9(value, { getLocaleText }) {
|
|
|
94687
94711
|
}
|
|
94688
94712
|
const __vite_glob_0_25$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
94689
94713
|
__proto__: null,
|
|
94690
|
-
compatibilityDate: compatibilityDate$
|
|
94691
|
-
defaults: defaults$
|
|
94692
|
-
metadata: metadata$
|
|
94693
|
-
schema: schema$
|
|
94714
|
+
compatibilityDate: compatibilityDate$A,
|
|
94715
|
+
defaults: defaults$o,
|
|
94716
|
+
metadata: metadata$A,
|
|
94717
|
+
schema: schema$A,
|
|
94694
94718
|
toColumnDef: toColumnDef$9,
|
|
94695
|
-
type: type$
|
|
94719
|
+
type: type$A
|
|
94696
94720
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
94697
|
-
const type$
|
|
94698
|
-
const compatibilityDate$
|
|
94699
|
-
const metadata$
|
|
94721
|
+
const type$z = "com.shwfed.table.column.combobox-multi";
|
|
94722
|
+
const compatibilityDate$z = "2026-05-28";
|
|
94723
|
+
const metadata$z = {
|
|
94700
94724
|
name: "多选",
|
|
94701
94725
|
icon: "fluent:chevron-down-20-regular",
|
|
94702
94726
|
// Publishes its resolved options (array) to the per-row `selections` registry
|
|
@@ -94848,14 +94872,14 @@ function writeSchema$3(configure) {
|
|
|
94848
94872
|
description: '`kind: "binding"` 行内编辑写回 dot-prop 路径;`kind: "remote"` 只读回显并通过请求写入服务端'
|
|
94849
94873
|
});
|
|
94850
94874
|
}
|
|
94851
|
-
function schema$
|
|
94875
|
+
function schema$z(configure) {
|
|
94852
94876
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
94853
94877
|
const Options = optionsSchema$7(configure);
|
|
94854
94878
|
const Write = writeSchema$3(configure);
|
|
94855
94879
|
const display = columnFields(configure);
|
|
94856
94880
|
return Struct({
|
|
94857
|
-
type: Literal2(type$
|
|
94858
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
94881
|
+
type: Literal2(type$z),
|
|
94882
|
+
compatibilityDate: Literal2(compatibilityDate$z),
|
|
94859
94883
|
...columnIdentityFields(),
|
|
94860
94884
|
title: display.title,
|
|
94861
94885
|
placeholder: optional(Locale.annotations({
|
|
@@ -94890,7 +94914,7 @@ function schema$y(configure) {
|
|
|
94890
94914
|
description: "下拉多选渲染器"
|
|
94891
94915
|
});
|
|
94892
94916
|
}
|
|
94893
|
-
function defaults$
|
|
94917
|
+
function defaults$n() {
|
|
94894
94918
|
return {
|
|
94895
94919
|
title: [{ locale: "zh", message: "" }],
|
|
94896
94920
|
size: 200,
|
|
@@ -94909,7 +94933,7 @@ const migrate$f = (prev) => try_({
|
|
|
94909
94933
|
throw new Error("下拉多选迁移失败:原值不是对象");
|
|
94910
94934
|
}
|
|
94911
94935
|
const src = prev;
|
|
94912
|
-
const out = { type: type$
|
|
94936
|
+
const out = { type: type$z, compatibilityDate: compatibilityDate$z };
|
|
94913
94937
|
for (const k of CARRY$1) {
|
|
94914
94938
|
if (src[k] !== void 0) out[k] = src[k];
|
|
94915
94939
|
}
|
|
@@ -94970,22 +94994,22 @@ function toColumnDef$8(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
94970
94994
|
}
|
|
94971
94995
|
const __vite_glob_0_26$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
94972
94996
|
__proto__: null,
|
|
94973
|
-
compatibilityDate: compatibilityDate$
|
|
94974
|
-
defaults: defaults$
|
|
94997
|
+
compatibilityDate: compatibilityDate$z,
|
|
94998
|
+
defaults: defaults$n,
|
|
94975
94999
|
itemSchema: itemSchema$8,
|
|
94976
|
-
metadata: metadata$
|
|
95000
|
+
metadata: metadata$z,
|
|
94977
95001
|
migrate: migrate$f,
|
|
94978
95002
|
migrateFrom: migrateFrom$e,
|
|
94979
95003
|
optionsSchema: optionsSchema$7,
|
|
94980
95004
|
remoteOptionsSchema: remoteOptionsSchema$7,
|
|
94981
|
-
schema: schema$
|
|
95005
|
+
schema: schema$z,
|
|
94982
95006
|
toColumnDef: toColumnDef$8,
|
|
94983
|
-
type: type$
|
|
95007
|
+
type: type$z,
|
|
94984
95008
|
writeSchema: writeSchema$3
|
|
94985
95009
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
94986
|
-
const type$
|
|
94987
|
-
const compatibilityDate$
|
|
94988
|
-
const metadata$
|
|
95010
|
+
const type$y = "com.shwfed.table.column.combobox-single";
|
|
95011
|
+
const compatibilityDate$y = "2026-05-28";
|
|
95012
|
+
const metadata$y = {
|
|
94989
95013
|
name: "单选",
|
|
94990
95014
|
icon: "fluent:chevron-down-20-regular",
|
|
94991
95015
|
// Publishes its resolved option (the source record) to the per-row
|
|
@@ -95137,14 +95161,14 @@ function writeSchema$2(configure) {
|
|
|
95137
95161
|
description: '`kind: "binding"` 行内编辑写回 dot-prop 路径;`kind: "remote"` 只读回显并通过请求写入服务端'
|
|
95138
95162
|
});
|
|
95139
95163
|
}
|
|
95140
|
-
function schema$
|
|
95164
|
+
function schema$y(configure) {
|
|
95141
95165
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
95142
95166
|
const Options = optionsSchema$6(configure);
|
|
95143
95167
|
const Write = writeSchema$2(configure);
|
|
95144
95168
|
const display = columnFields(configure);
|
|
95145
95169
|
return Struct({
|
|
95146
|
-
type: Literal2(type$
|
|
95147
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
95170
|
+
type: Literal2(type$y),
|
|
95171
|
+
compatibilityDate: Literal2(compatibilityDate$y),
|
|
95148
95172
|
...columnIdentityFields(),
|
|
95149
95173
|
title: display.title,
|
|
95150
95174
|
placeholder: optional(Locale.annotations({
|
|
@@ -95179,7 +95203,7 @@ function schema$x(configure) {
|
|
|
95179
95203
|
description: "下拉单选渲染器"
|
|
95180
95204
|
});
|
|
95181
95205
|
}
|
|
95182
|
-
function defaults$
|
|
95206
|
+
function defaults$m() {
|
|
95183
95207
|
return {
|
|
95184
95208
|
title: [{ locale: "zh", message: "" }],
|
|
95185
95209
|
size: 200,
|
|
@@ -95198,7 +95222,7 @@ const migrate$e = (prev) => try_({
|
|
|
95198
95222
|
throw new Error("下拉单选迁移失败:原值不是对象");
|
|
95199
95223
|
}
|
|
95200
95224
|
const src = prev;
|
|
95201
|
-
const out = { type: type$
|
|
95225
|
+
const out = { type: type$y, compatibilityDate: compatibilityDate$y };
|
|
95202
95226
|
for (const k of CARRY) {
|
|
95203
95227
|
if (src[k] !== void 0) out[k] = src[k];
|
|
95204
95228
|
}
|
|
@@ -95259,22 +95283,22 @@ function toColumnDef$7(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
95259
95283
|
}
|
|
95260
95284
|
const __vite_glob_0_27$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
95261
95285
|
__proto__: null,
|
|
95262
|
-
compatibilityDate: compatibilityDate$
|
|
95263
|
-
defaults: defaults$
|
|
95286
|
+
compatibilityDate: compatibilityDate$y,
|
|
95287
|
+
defaults: defaults$m,
|
|
95264
95288
|
itemSchema: itemSchema$7,
|
|
95265
|
-
metadata: metadata$
|
|
95289
|
+
metadata: metadata$y,
|
|
95266
95290
|
migrate: migrate$e,
|
|
95267
95291
|
migrateFrom: migrateFrom$d,
|
|
95268
95292
|
optionsSchema: optionsSchema$6,
|
|
95269
95293
|
remoteOptionsSchema: remoteOptionsSchema$6,
|
|
95270
|
-
schema: schema$
|
|
95294
|
+
schema: schema$y,
|
|
95271
95295
|
toColumnDef: toColumnDef$7,
|
|
95272
|
-
type: type$
|
|
95296
|
+
type: type$y,
|
|
95273
95297
|
writeSchema: writeSchema$2
|
|
95274
95298
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
95275
|
-
const type$
|
|
95276
|
-
const compatibilityDate$
|
|
95277
|
-
const metadata$
|
|
95299
|
+
const type$x = "com.shwfed.table.column.tree-combobox-multi";
|
|
95300
|
+
const compatibilityDate$x = "2026-05-28";
|
|
95301
|
+
const metadata$x = {
|
|
95278
95302
|
name: "下拉树(多选)",
|
|
95279
95303
|
icon: "fluent:tree-evergreen-20-regular",
|
|
95280
95304
|
// Publishes its resolved nodes (array) to the per-row `selections` registry (runtime.vue), readable via `selections["<id>"]`.
|
|
@@ -95289,7 +95313,7 @@ function withRowAndNode$3(configure) {
|
|
|
95289
95313
|
registerNodeVariableIfAbsent(env, { description: "`数据源` 返回的节点;由树逐层向下读取" });
|
|
95290
95314
|
};
|
|
95291
95315
|
}
|
|
95292
|
-
function schema$
|
|
95316
|
+
function schema$x(configure) {
|
|
95293
95317
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
95294
95318
|
const CelNodeKey = Expression({ configure: withRowAndNode$3(configure), resultType: isKeyType$7 });
|
|
95295
95319
|
const CelNodeChildren = Expression({ configure: withRowAndNode$3(configure), resultType: isListLike$7 });
|
|
@@ -95324,8 +95348,8 @@ function schema$w(configure) {
|
|
|
95324
95348
|
})
|
|
95325
95349
|
}).annotations({ title: "DataSource", description: "数据源配置" });
|
|
95326
95350
|
return Struct({
|
|
95327
|
-
type: Literal2(type$
|
|
95328
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
95351
|
+
type: Literal2(type$x),
|
|
95352
|
+
compatibilityDate: Literal2(compatibilityDate$x),
|
|
95329
95353
|
...editableColumnFields(),
|
|
95330
95354
|
placeholder: optional(Locale.annotations({
|
|
95331
95355
|
title: "占位符",
|
|
@@ -95385,7 +95409,7 @@ function schema$w(configure) {
|
|
|
95385
95409
|
})
|
|
95386
95410
|
}).annotations({ title: "TreeComboboxMultiRenderer", description: "下拉树多选渲染器(可编辑)" });
|
|
95387
95411
|
}
|
|
95388
|
-
function defaults$
|
|
95412
|
+
function defaults$l() {
|
|
95389
95413
|
return {
|
|
95390
95414
|
title: [{ locale: "zh", message: "" }],
|
|
95391
95415
|
binding: "",
|
|
@@ -95407,7 +95431,7 @@ const migrate$d = (prev) => try_({
|
|
|
95407
95431
|
throw new Error("下拉树(多选)迁移失败:原值不是对象");
|
|
95408
95432
|
}
|
|
95409
95433
|
const { compatibilityDate: _omit, ...rest } = prev;
|
|
95410
|
-
return { ...rest, type: type$
|
|
95434
|
+
return { ...rest, type: type$x, compatibilityDate: compatibilityDate$x };
|
|
95411
95435
|
},
|
|
95412
95436
|
catch: (e) => e instanceof Error ? e : new Error(String(e))
|
|
95413
95437
|
});
|
|
@@ -95429,18 +95453,18 @@ function toColumnDef$6(value, { getLocaleText }) {
|
|
|
95429
95453
|
}
|
|
95430
95454
|
const __vite_glob_0_28$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
95431
95455
|
__proto__: null,
|
|
95432
|
-
compatibilityDate: compatibilityDate$
|
|
95433
|
-
defaults: defaults$
|
|
95434
|
-
metadata: metadata$
|
|
95456
|
+
compatibilityDate: compatibilityDate$x,
|
|
95457
|
+
defaults: defaults$l,
|
|
95458
|
+
metadata: metadata$x,
|
|
95435
95459
|
migrate: migrate$d,
|
|
95436
95460
|
migrateFrom: migrateFrom$c,
|
|
95437
|
-
schema: schema$
|
|
95461
|
+
schema: schema$x,
|
|
95438
95462
|
toColumnDef: toColumnDef$6,
|
|
95439
|
-
type: type$
|
|
95463
|
+
type: type$x
|
|
95440
95464
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
95441
|
-
const type$
|
|
95442
|
-
const compatibilityDate$
|
|
95443
|
-
const metadata$
|
|
95465
|
+
const type$w = "com.shwfed.table.column.tree-combobox-single";
|
|
95466
|
+
const compatibilityDate$w = "2026-05-28";
|
|
95467
|
+
const metadata$w = {
|
|
95444
95468
|
name: "下拉树(单选)",
|
|
95445
95469
|
icon: "fluent:tree-evergreen-20-regular",
|
|
95446
95470
|
// Publishes its resolved node (backend record) to the per-row `selections` registry (runtime.vue), readable via `selections["<id>"]`.
|
|
@@ -95455,7 +95479,7 @@ function withRowAndNode$2(configure) {
|
|
|
95455
95479
|
registerNodeVariableIfAbsent(env, { description: "`数据源` 返回的节点;由树逐层向下读取" });
|
|
95456
95480
|
};
|
|
95457
95481
|
}
|
|
95458
|
-
function schema$
|
|
95482
|
+
function schema$w(configure) {
|
|
95459
95483
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
95460
95484
|
const CelNodeKey = Expression({ configure: withRowAndNode$2(configure), resultType: isKeyType$6 });
|
|
95461
95485
|
const CelNodeChildren = Expression({ configure: withRowAndNode$2(configure), resultType: isListLike$6 });
|
|
@@ -95490,8 +95514,8 @@ function schema$v(configure) {
|
|
|
95490
95514
|
})
|
|
95491
95515
|
}).annotations({ title: "DataSource", description: "数据源配置" });
|
|
95492
95516
|
return Struct({
|
|
95493
|
-
type: Literal2(type$
|
|
95494
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
95517
|
+
type: Literal2(type$w),
|
|
95518
|
+
compatibilityDate: Literal2(compatibilityDate$w),
|
|
95495
95519
|
...editableColumnFields(),
|
|
95496
95520
|
placeholder: optional(Locale.annotations({
|
|
95497
95521
|
title: "占位符",
|
|
@@ -95544,7 +95568,7 @@ function schema$v(configure) {
|
|
|
95544
95568
|
})
|
|
95545
95569
|
}).annotations({ title: "TreeComboboxSingleRenderer", description: "下拉树单选渲染器(可编辑)" });
|
|
95546
95570
|
}
|
|
95547
|
-
function defaults$
|
|
95571
|
+
function defaults$k() {
|
|
95548
95572
|
return {
|
|
95549
95573
|
title: [{ locale: "zh", message: "" }],
|
|
95550
95574
|
binding: "",
|
|
@@ -95565,7 +95589,7 @@ const migrate$c = (prev) => try_({
|
|
|
95565
95589
|
throw new Error("下拉树(单选)迁移失败:原值不是对象");
|
|
95566
95590
|
}
|
|
95567
95591
|
const { compatibilityDate: _omit, ...rest } = prev;
|
|
95568
|
-
return { ...rest, type: type$
|
|
95592
|
+
return { ...rest, type: type$w, compatibilityDate: compatibilityDate$w };
|
|
95569
95593
|
},
|
|
95570
95594
|
catch: (e) => e instanceof Error ? e : new Error(String(e))
|
|
95571
95595
|
});
|
|
@@ -95587,14 +95611,14 @@ function toColumnDef$5(value, { getLocaleText }) {
|
|
|
95587
95611
|
}
|
|
95588
95612
|
const __vite_glob_0_29$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
95589
95613
|
__proto__: null,
|
|
95590
|
-
compatibilityDate: compatibilityDate$
|
|
95591
|
-
defaults: defaults$
|
|
95592
|
-
metadata: metadata$
|
|
95614
|
+
compatibilityDate: compatibilityDate$w,
|
|
95615
|
+
defaults: defaults$k,
|
|
95616
|
+
metadata: metadata$w,
|
|
95593
95617
|
migrate: migrate$c,
|
|
95594
95618
|
migrateFrom: migrateFrom$b,
|
|
95595
|
-
schema: schema$
|
|
95619
|
+
schema: schema$w,
|
|
95596
95620
|
toColumnDef: toColumnDef$5,
|
|
95597
|
-
type: type$
|
|
95621
|
+
type: type$w
|
|
95598
95622
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
95599
95623
|
const INTERPOLATION_RE$1 = /\{\{(.*?)\}\}/gs;
|
|
95600
95624
|
function celString$1(text2) {
|
|
@@ -95632,9 +95656,9 @@ function localeLabelToExpression$1(label) {
|
|
|
95632
95656
|
const message2 = chosen && typeof chosen.message === "string" ? chosen.message : "";
|
|
95633
95657
|
return templateToExpression$1(message2);
|
|
95634
95658
|
}
|
|
95635
|
-
const type$
|
|
95636
|
-
const compatibilityDate$
|
|
95637
|
-
const metadata$
|
|
95659
|
+
const type$v = "com.shwfed.table.column.combobox-multi";
|
|
95660
|
+
const compatibilityDate$v = "2026-06-14";
|
|
95661
|
+
const metadata$v = {
|
|
95638
95662
|
name: "多选",
|
|
95639
95663
|
icon: "fluent:chevron-down-20-regular",
|
|
95640
95664
|
// Publishes its resolved options (array) to the per-row `selections` registry
|
|
@@ -95787,14 +95811,14 @@ function writeSchema$1(configure) {
|
|
|
95787
95811
|
description: '`kind: "binding"` 行内编辑写回 dot-prop 路径;`kind: "remote"` 只读回显并通过请求写入服务端'
|
|
95788
95812
|
});
|
|
95789
95813
|
}
|
|
95790
|
-
function schema$
|
|
95814
|
+
function schema$v(configure) {
|
|
95791
95815
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
95792
95816
|
const Options = optionsSchema$5(configure);
|
|
95793
95817
|
const Write = writeSchema$1(configure);
|
|
95794
95818
|
const display = columnFields(configure);
|
|
95795
95819
|
return Struct({
|
|
95796
|
-
type: Literal2(type$
|
|
95797
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
95820
|
+
type: Literal2(type$v),
|
|
95821
|
+
compatibilityDate: Literal2(compatibilityDate$v),
|
|
95798
95822
|
...columnIdentityFields(),
|
|
95799
95823
|
title: display.title,
|
|
95800
95824
|
placeholder: optional(Locale.annotations({
|
|
@@ -95829,7 +95853,7 @@ function schema$u(configure) {
|
|
|
95829
95853
|
description: "下拉多选渲染器"
|
|
95830
95854
|
});
|
|
95831
95855
|
}
|
|
95832
|
-
function defaults$
|
|
95856
|
+
function defaults$j() {
|
|
95833
95857
|
return {
|
|
95834
95858
|
title: [{ locale: "zh", message: "" }],
|
|
95835
95859
|
size: 200,
|
|
@@ -95860,8 +95884,8 @@ const migrate$b = (prev) => try_({
|
|
|
95860
95884
|
}
|
|
95861
95885
|
return {
|
|
95862
95886
|
...rest,
|
|
95863
|
-
type: type$
|
|
95864
|
-
compatibilityDate: compatibilityDate$
|
|
95887
|
+
type: type$v,
|
|
95888
|
+
compatibilityDate: compatibilityDate$v,
|
|
95865
95889
|
options: nextOptions
|
|
95866
95890
|
};
|
|
95867
95891
|
}
|
|
@@ -95896,22 +95920,22 @@ function toColumnDef$4(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
95896
95920
|
}
|
|
95897
95921
|
const __vite_glob_0_30$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
95898
95922
|
__proto__: null,
|
|
95899
|
-
compatibilityDate: compatibilityDate$
|
|
95900
|
-
defaults: defaults$
|
|
95923
|
+
compatibilityDate: compatibilityDate$v,
|
|
95924
|
+
defaults: defaults$j,
|
|
95901
95925
|
itemSchema: itemSchema$6,
|
|
95902
|
-
metadata: metadata$
|
|
95926
|
+
metadata: metadata$v,
|
|
95903
95927
|
migrate: migrate$b,
|
|
95904
95928
|
migrateFrom: migrateFrom$a,
|
|
95905
95929
|
optionsSchema: optionsSchema$5,
|
|
95906
95930
|
remoteOptionsSchema: remoteOptionsSchema$5,
|
|
95907
|
-
schema: schema$
|
|
95931
|
+
schema: schema$v,
|
|
95908
95932
|
toColumnDef: toColumnDef$4,
|
|
95909
|
-
type: type$
|
|
95933
|
+
type: type$v,
|
|
95910
95934
|
writeSchema: writeSchema$1
|
|
95911
95935
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
95912
|
-
const type$
|
|
95913
|
-
const compatibilityDate$
|
|
95914
|
-
const metadata$
|
|
95936
|
+
const type$u = "com.shwfed.table.column.combobox-single";
|
|
95937
|
+
const compatibilityDate$u = "2026-06-14";
|
|
95938
|
+
const metadata$u = {
|
|
95915
95939
|
name: "单选",
|
|
95916
95940
|
icon: "fluent:chevron-down-20-regular",
|
|
95917
95941
|
// Publishes its resolved option (the source record) to the per-row
|
|
@@ -96064,14 +96088,14 @@ function writeSchema(configure) {
|
|
|
96064
96088
|
description: '`kind: "binding"` 行内编辑写回 dot-prop 路径;`kind: "remote"` 只读回显并通过请求写入服务端'
|
|
96065
96089
|
});
|
|
96066
96090
|
}
|
|
96067
|
-
function schema$
|
|
96091
|
+
function schema$u(configure) {
|
|
96068
96092
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
96069
96093
|
const Options = optionsSchema$4(configure);
|
|
96070
96094
|
const Write = writeSchema(configure);
|
|
96071
96095
|
const display = columnFields(configure);
|
|
96072
96096
|
return Struct({
|
|
96073
|
-
type: Literal2(type$
|
|
96074
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
96097
|
+
type: Literal2(type$u),
|
|
96098
|
+
compatibilityDate: Literal2(compatibilityDate$u),
|
|
96075
96099
|
...columnIdentityFields(),
|
|
96076
96100
|
title: display.title,
|
|
96077
96101
|
placeholder: optional(Locale.annotations({
|
|
@@ -96106,7 +96130,7 @@ function schema$t(configure) {
|
|
|
96106
96130
|
description: "下拉单选渲染器"
|
|
96107
96131
|
});
|
|
96108
96132
|
}
|
|
96109
|
-
function defaults$
|
|
96133
|
+
function defaults$i() {
|
|
96110
96134
|
return {
|
|
96111
96135
|
title: [{ locale: "zh", message: "" }],
|
|
96112
96136
|
size: 200,
|
|
@@ -96137,8 +96161,8 @@ const migrate$a = (prev) => try_({
|
|
|
96137
96161
|
}
|
|
96138
96162
|
return {
|
|
96139
96163
|
...rest,
|
|
96140
|
-
type: type$
|
|
96141
|
-
compatibilityDate: compatibilityDate$
|
|
96164
|
+
type: type$u,
|
|
96165
|
+
compatibilityDate: compatibilityDate$u,
|
|
96142
96166
|
options: nextOptions
|
|
96143
96167
|
};
|
|
96144
96168
|
}
|
|
@@ -96173,22 +96197,22 @@ function toColumnDef$3(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
96173
96197
|
}
|
|
96174
96198
|
const __vite_glob_0_31$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
96175
96199
|
__proto__: null,
|
|
96176
|
-
compatibilityDate: compatibilityDate$
|
|
96177
|
-
defaults: defaults$
|
|
96200
|
+
compatibilityDate: compatibilityDate$u,
|
|
96201
|
+
defaults: defaults$i,
|
|
96178
96202
|
itemSchema: itemSchema$5,
|
|
96179
|
-
metadata: metadata$
|
|
96203
|
+
metadata: metadata$u,
|
|
96180
96204
|
migrate: migrate$a,
|
|
96181
96205
|
migrateFrom: migrateFrom$9,
|
|
96182
96206
|
optionsSchema: optionsSchema$4,
|
|
96183
96207
|
remoteOptionsSchema: remoteOptionsSchema$4,
|
|
96184
|
-
schema: schema$
|
|
96208
|
+
schema: schema$u,
|
|
96185
96209
|
toColumnDef: toColumnDef$3,
|
|
96186
|
-
type: type$
|
|
96210
|
+
type: type$u,
|
|
96187
96211
|
writeSchema
|
|
96188
96212
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
96189
|
-
const type$
|
|
96190
|
-
const compatibilityDate$
|
|
96191
|
-
const metadata$
|
|
96213
|
+
const type$t = "com.shwfed.table.column.tree-combobox-multi";
|
|
96214
|
+
const compatibilityDate$t = "2026-06-14";
|
|
96215
|
+
const metadata$t = {
|
|
96192
96216
|
name: "下拉树(多选)",
|
|
96193
96217
|
icon: "fluent:tree-evergreen-20-regular",
|
|
96194
96218
|
// Publishes its resolved nodes (array) to the per-row `selections` registry (runtime.vue), readable via `selections["<id>"]`.
|
|
@@ -96203,7 +96227,7 @@ function withRowAndNode$1(configure) {
|
|
|
96203
96227
|
registerNodeVariableIfAbsent(env, { description: "`数据源` 返回的节点;由树逐层向下读取" });
|
|
96204
96228
|
};
|
|
96205
96229
|
}
|
|
96206
|
-
function schema$
|
|
96230
|
+
function schema$t(configure) {
|
|
96207
96231
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
96208
96232
|
const CelNodeKey = Expression({ configure: withRowAndNode$1(configure), resultType: isKeyType$5 });
|
|
96209
96233
|
const CelNodeChildren = Expression({ configure: withRowAndNode$1(configure), resultType: isListLike$5 });
|
|
@@ -96239,8 +96263,8 @@ function schema$s(configure) {
|
|
|
96239
96263
|
})
|
|
96240
96264
|
}).annotations({ title: "DataSource", description: "数据源配置" });
|
|
96241
96265
|
return Struct({
|
|
96242
|
-
type: Literal2(type$
|
|
96243
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
96266
|
+
type: Literal2(type$t),
|
|
96267
|
+
compatibilityDate: Literal2(compatibilityDate$t),
|
|
96244
96268
|
...editableColumnFields(),
|
|
96245
96269
|
placeholder: optional(Locale.annotations({
|
|
96246
96270
|
title: "占位符",
|
|
@@ -96300,7 +96324,7 @@ function schema$s(configure) {
|
|
|
96300
96324
|
})
|
|
96301
96325
|
}).annotations({ title: "TreeComboboxMultiRenderer", description: "下拉树多选渲染器(可编辑)" });
|
|
96302
96326
|
}
|
|
96303
|
-
function defaults$
|
|
96327
|
+
function defaults$h() {
|
|
96304
96328
|
return {
|
|
96305
96329
|
title: [{ locale: "zh", message: "" }],
|
|
96306
96330
|
binding: "",
|
|
@@ -96328,8 +96352,8 @@ const migrate$9 = (prev) => try_({
|
|
|
96328
96352
|
const { nodeLabel, type: _t, compatibilityDate: _c, ...rest } = src;
|
|
96329
96353
|
return {
|
|
96330
96354
|
...rest,
|
|
96331
|
-
type: type$
|
|
96332
|
-
compatibilityDate: compatibilityDate$
|
|
96355
|
+
type: type$t,
|
|
96356
|
+
compatibilityDate: compatibilityDate$t,
|
|
96333
96357
|
nodeLabel: localeLabelToExpression$1(nodeLabel)
|
|
96334
96358
|
};
|
|
96335
96359
|
}
|
|
@@ -96355,18 +96379,18 @@ function toColumnDef$2(value, { getLocaleText }) {
|
|
|
96355
96379
|
}
|
|
96356
96380
|
const __vite_glob_0_32$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
96357
96381
|
__proto__: null,
|
|
96358
|
-
compatibilityDate: compatibilityDate$
|
|
96359
|
-
defaults: defaults$
|
|
96360
|
-
metadata: metadata$
|
|
96382
|
+
compatibilityDate: compatibilityDate$t,
|
|
96383
|
+
defaults: defaults$h,
|
|
96384
|
+
metadata: metadata$t,
|
|
96361
96385
|
migrate: migrate$9,
|
|
96362
96386
|
migrateFrom: migrateFrom$8,
|
|
96363
|
-
schema: schema$
|
|
96387
|
+
schema: schema$t,
|
|
96364
96388
|
toColumnDef: toColumnDef$2,
|
|
96365
|
-
type: type$
|
|
96389
|
+
type: type$t
|
|
96366
96390
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
96367
|
-
const type$
|
|
96368
|
-
const compatibilityDate$
|
|
96369
|
-
const metadata$
|
|
96391
|
+
const type$s = "com.shwfed.table.column.tree-combobox-single";
|
|
96392
|
+
const compatibilityDate$s = "2026-06-14";
|
|
96393
|
+
const metadata$s = {
|
|
96370
96394
|
name: "下拉树(单选)",
|
|
96371
96395
|
icon: "fluent:tree-evergreen-20-regular",
|
|
96372
96396
|
// Publishes its resolved node (backend record) to the per-row `selections` registry (runtime.vue), readable via `selections["<id>"]`.
|
|
@@ -96381,7 +96405,7 @@ function withRowAndNode(configure) {
|
|
|
96381
96405
|
registerNodeVariableIfAbsent(env, { description: "`数据源` 返回的节点;由树逐层向下读取" });
|
|
96382
96406
|
};
|
|
96383
96407
|
}
|
|
96384
|
-
function schema$
|
|
96408
|
+
function schema$s(configure) {
|
|
96385
96409
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
96386
96410
|
const CelNodeKey = Expression({ configure: withRowAndNode(configure), resultType: isKeyType$4 });
|
|
96387
96411
|
const CelNodeChildren = Expression({ configure: withRowAndNode(configure), resultType: isListLike$4 });
|
|
@@ -96417,8 +96441,8 @@ function schema$r(configure) {
|
|
|
96417
96441
|
})
|
|
96418
96442
|
}).annotations({ title: "DataSource", description: "数据源配置" });
|
|
96419
96443
|
return Struct({
|
|
96420
|
-
type: Literal2(type$
|
|
96421
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
96444
|
+
type: Literal2(type$s),
|
|
96445
|
+
compatibilityDate: Literal2(compatibilityDate$s),
|
|
96422
96446
|
...editableColumnFields(),
|
|
96423
96447
|
placeholder: optional(Locale.annotations({
|
|
96424
96448
|
title: "占位符",
|
|
@@ -96471,7 +96495,7 @@ function schema$r(configure) {
|
|
|
96471
96495
|
})
|
|
96472
96496
|
}).annotations({ title: "TreeComboboxSingleRenderer", description: "下拉树单选渲染器(可编辑)" });
|
|
96473
96497
|
}
|
|
96474
|
-
function defaults$
|
|
96498
|
+
function defaults$g() {
|
|
96475
96499
|
return {
|
|
96476
96500
|
title: [{ locale: "zh", message: "" }],
|
|
96477
96501
|
binding: "",
|
|
@@ -96498,8 +96522,8 @@ const migrate$8 = (prev) => try_({
|
|
|
96498
96522
|
const { nodeLabel, type: _t, compatibilityDate: _c, ...rest } = src;
|
|
96499
96523
|
return {
|
|
96500
96524
|
...rest,
|
|
96501
|
-
type: type$
|
|
96502
|
-
compatibilityDate: compatibilityDate$
|
|
96525
|
+
type: type$s,
|
|
96526
|
+
compatibilityDate: compatibilityDate$s,
|
|
96503
96527
|
nodeLabel: localeLabelToExpression$1(nodeLabel)
|
|
96504
96528
|
};
|
|
96505
96529
|
}
|
|
@@ -96525,18 +96549,18 @@ function toColumnDef$1(value, { getLocaleText }) {
|
|
|
96525
96549
|
}
|
|
96526
96550
|
const __vite_glob_0_33$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
96527
96551
|
__proto__: null,
|
|
96528
|
-
compatibilityDate: compatibilityDate$
|
|
96529
|
-
defaults: defaults$
|
|
96530
|
-
metadata: metadata$
|
|
96552
|
+
compatibilityDate: compatibilityDate$s,
|
|
96553
|
+
defaults: defaults$g,
|
|
96554
|
+
metadata: metadata$s,
|
|
96531
96555
|
migrate: migrate$8,
|
|
96532
96556
|
migrateFrom: migrateFrom$7,
|
|
96533
|
-
schema: schema$
|
|
96557
|
+
schema: schema$s,
|
|
96534
96558
|
toColumnDef: toColumnDef$1,
|
|
96535
|
-
type: type$
|
|
96559
|
+
type: type$s
|
|
96536
96560
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
96537
|
-
const type$
|
|
96538
|
-
const compatibilityDate$
|
|
96539
|
-
const metadata$
|
|
96561
|
+
const type$r = "com.shwfed.table.column.date-input";
|
|
96562
|
+
const compatibilityDate$r = "2026-06-17";
|
|
96563
|
+
const metadata$r = {
|
|
96540
96564
|
name: "日期输入",
|
|
96541
96565
|
icon: "fluent:calendar-ltr-20-regular"
|
|
96542
96566
|
};
|
|
@@ -96556,12 +96580,12 @@ function presetSchema$2(configure) {
|
|
|
96556
96580
|
title: "DateInputPreset"
|
|
96557
96581
|
});
|
|
96558
96582
|
}
|
|
96559
|
-
function schema$
|
|
96583
|
+
function schema$r(configure) {
|
|
96560
96584
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
96561
96585
|
const Preset = presetSchema$2(configure);
|
|
96562
96586
|
return Struct({
|
|
96563
|
-
type: Literal2(type$
|
|
96564
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
96587
|
+
type: Literal2(type$r),
|
|
96588
|
+
compatibilityDate: Literal2(compatibilityDate$r),
|
|
96565
96589
|
...editableColumnFields(),
|
|
96566
96590
|
placeholder: optional(Locale.annotations({
|
|
96567
96591
|
title: "占位符",
|
|
@@ -96594,7 +96618,7 @@ function schema$q(configure) {
|
|
|
96594
96618
|
}))
|
|
96595
96619
|
}).annotations({ title: "DateInputRenderer", description: "日期输入渲染器(可编辑)" });
|
|
96596
96620
|
}
|
|
96597
|
-
function defaults$
|
|
96621
|
+
function defaults$f() {
|
|
96598
96622
|
return {
|
|
96599
96623
|
title: [{ locale: "zh", message: "" }],
|
|
96600
96624
|
binding: "",
|
|
@@ -96621,13 +96645,13 @@ function toColumnDef(value, { getLocaleText }) {
|
|
|
96621
96645
|
}
|
|
96622
96646
|
const __vite_glob_0_34$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
96623
96647
|
__proto__: null,
|
|
96624
|
-
compatibilityDate: compatibilityDate$
|
|
96625
|
-
defaults: defaults$
|
|
96626
|
-
metadata: metadata$
|
|
96648
|
+
compatibilityDate: compatibilityDate$r,
|
|
96649
|
+
defaults: defaults$f,
|
|
96650
|
+
metadata: metadata$r,
|
|
96627
96651
|
presetSchema: presetSchema$2,
|
|
96628
|
-
schema: schema$
|
|
96652
|
+
schema: schema$r,
|
|
96629
96653
|
toColumnDef,
|
|
96630
|
-
type: type$
|
|
96654
|
+
type: type$r
|
|
96631
96655
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
96632
96656
|
const schemaModules$2 = /* @__PURE__ */ Object.assign({
|
|
96633
96657
|
"../columns/2026-04-14/com.shwfed.table.column.actions/schema.ts": __vite_glob_0_0,
|
|
@@ -96978,7 +97002,7 @@ const ColumnGroup = Struct({
|
|
|
96978
97002
|
});
|
|
96979
97003
|
const QUERY_VAR_DESCRIPTION = "搜索条件当前状态;未配置搜索条件时为空对象";
|
|
96980
97004
|
const JSON_VAR_DESCRIPTION = "已解析的 JSON 响应;未配置 `request` 时为 `none`";
|
|
96981
|
-
const SORTS_VAR_DESCRIPTION = md`
|
|
97005
|
+
const SORTS_VAR_DESCRIPTION = md$1`
|
|
96982
97006
|
当前的排序状态,为一个**列表**,每个元素包含两个字段:
|
|
96983
97007
|
|
|
96984
97008
|
- \`key: string\` 为该列上配置的键
|
|
@@ -97223,9 +97247,9 @@ function defaultTableConfig() {
|
|
|
97223
97247
|
: index % 2 == 1 ? { 'background-color': 'oklch(98.5% 0 0)' } : { 'background-color': 'white' }`
|
|
97224
97248
|
};
|
|
97225
97249
|
}
|
|
97226
|
-
const type$
|
|
97227
|
-
const compatibilityDate$
|
|
97228
|
-
const metadata$
|
|
97250
|
+
const type$q = "com.shwfed.form.field.table";
|
|
97251
|
+
const compatibilityDate$q = "2026-05-18";
|
|
97252
|
+
const metadata$q = {
|
|
97229
97253
|
name: "表格",
|
|
97230
97254
|
icon: "fluent:table-20-regular",
|
|
97231
97255
|
w: { initial: 12, min: 6, max: Infinity },
|
|
@@ -97234,13 +97258,13 @@ const metadata$p = {
|
|
|
97234
97258
|
// pane; keep the (fullscreen-exiting) drill-down.
|
|
97235
97259
|
inlineConfig: false
|
|
97236
97260
|
};
|
|
97237
|
-
function schema$
|
|
97261
|
+
function schema$q(configure) {
|
|
97238
97262
|
const Table = suspend(
|
|
97239
97263
|
() => TableConfig(configure)
|
|
97240
97264
|
);
|
|
97241
97265
|
return Struct({
|
|
97242
|
-
type: Literal2(type$
|
|
97243
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
97266
|
+
type: Literal2(type$q),
|
|
97267
|
+
compatibilityDate: Literal2(compatibilityDate$q),
|
|
97244
97268
|
...commonFieldFields(configure),
|
|
97245
97269
|
label: optional(Locale.annotations({
|
|
97246
97270
|
title: "标签",
|
|
@@ -97264,21 +97288,21 @@ function schema$p(configure) {
|
|
|
97264
97288
|
description: "把一个可本地编辑的表格嵌入表单,其实时数据写入绑定路径"
|
|
97265
97289
|
});
|
|
97266
97290
|
}
|
|
97267
|
-
function defaults$
|
|
97291
|
+
function defaults$e() {
|
|
97268
97292
|
const { dataSource: _omit, ...rest } = defaultTableConfig();
|
|
97269
97293
|
return { table: rest };
|
|
97270
97294
|
}
|
|
97271
97295
|
const __vite_glob_0_20 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
97272
97296
|
__proto__: null,
|
|
97273
|
-
compatibilityDate: compatibilityDate$
|
|
97274
|
-
defaults: defaults$
|
|
97275
|
-
metadata: metadata$
|
|
97276
|
-
schema: schema$
|
|
97277
|
-
type: type$
|
|
97297
|
+
compatibilityDate: compatibilityDate$q,
|
|
97298
|
+
defaults: defaults$e,
|
|
97299
|
+
metadata: metadata$q,
|
|
97300
|
+
schema: schema$q,
|
|
97301
|
+
type: type$q
|
|
97278
97302
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
97279
|
-
const type$
|
|
97280
|
-
const compatibilityDate$
|
|
97281
|
-
const metadata$
|
|
97303
|
+
const type$p = "com.shwfed.form.field.collapsible";
|
|
97304
|
+
const compatibilityDate$p = "2026-05-20";
|
|
97305
|
+
const metadata$p = {
|
|
97282
97306
|
name: "可折叠区域",
|
|
97283
97307
|
icon: "fluent:chevron-down-20-regular",
|
|
97284
97308
|
w: { initial: 12, min: 4, max: Infinity },
|
|
@@ -97287,11 +97311,11 @@ const metadata$o = {
|
|
|
97287
97311
|
// fullscreen inline-config pane; keep the (fullscreen-exiting) drill-down.
|
|
97288
97312
|
inlineConfig: false
|
|
97289
97313
|
};
|
|
97290
|
-
function schema$
|
|
97314
|
+
function schema$p(configure) {
|
|
97291
97315
|
const Unit = suspend(() => FormUnit(configure));
|
|
97292
97316
|
return Struct({
|
|
97293
|
-
type: Literal2(type$
|
|
97294
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
97317
|
+
type: Literal2(type$p),
|
|
97318
|
+
compatibilityDate: Literal2(compatibilityDate$p),
|
|
97295
97319
|
id: UUID.annotations({ description: "字段唯一标识;布局通过该 id 引用字段" }),
|
|
97296
97320
|
displayName: optional(String$.annotations({
|
|
97297
97321
|
title: "内部名称",
|
|
@@ -97315,7 +97339,7 @@ function schema$o(configure) {
|
|
|
97315
97339
|
description: "带 Markdown 标题的可折叠区域,仅用于视觉分组,不影响字段在表单状态中的层级"
|
|
97316
97340
|
});
|
|
97317
97341
|
}
|
|
97318
|
-
function defaults$
|
|
97342
|
+
function defaults$d() {
|
|
97319
97343
|
return {
|
|
97320
97344
|
header: [{ locale: "zh", message: "" }],
|
|
97321
97345
|
unit: {
|
|
@@ -97326,21 +97350,21 @@ function defaults$c() {
|
|
|
97326
97350
|
}
|
|
97327
97351
|
const __vite_glob_0_21 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
97328
97352
|
__proto__: null,
|
|
97329
|
-
compatibilityDate: compatibilityDate$
|
|
97330
|
-
defaults: defaults$
|
|
97331
|
-
metadata: metadata$
|
|
97332
|
-
schema: schema$
|
|
97333
|
-
type: type$
|
|
97353
|
+
compatibilityDate: compatibilityDate$p,
|
|
97354
|
+
defaults: defaults$d,
|
|
97355
|
+
metadata: metadata$p,
|
|
97356
|
+
schema: schema$p,
|
|
97357
|
+
type: type$p
|
|
97334
97358
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
97335
|
-
const type$
|
|
97336
|
-
const compatibilityDate$
|
|
97337
|
-
const metadata$
|
|
97359
|
+
const type$o = "com.shwfed.form.field.tree.multi";
|
|
97360
|
+
const compatibilityDate$o = "2026-05-23";
|
|
97361
|
+
const metadata$o = {
|
|
97338
97362
|
name: "树(多选)",
|
|
97339
97363
|
icon: "fluent:tree-evergreen-20-regular",
|
|
97340
97364
|
w: { initial: 8, min: 4, max: Infinity },
|
|
97341
97365
|
h: { initial: 8, min: 4, max: Infinity, grow: true }
|
|
97342
97366
|
};
|
|
97343
|
-
function schema$
|
|
97367
|
+
function schema$o(configure) {
|
|
97344
97368
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
97345
97369
|
const nodeConfigure = (env) => {
|
|
97346
97370
|
configure(env);
|
|
@@ -97369,8 +97393,8 @@ function schema$n(configure) {
|
|
|
97369
97393
|
resultType: (t) => t === "dyn" || t.startsWith("list") || t.startsWith("optional")
|
|
97370
97394
|
});
|
|
97371
97395
|
return Struct({
|
|
97372
|
-
type: Literal2(type$
|
|
97373
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
97396
|
+
type: Literal2(type$o),
|
|
97397
|
+
compatibilityDate: Literal2(compatibilityDate$o),
|
|
97374
97398
|
...commonFieldFields(configure),
|
|
97375
97399
|
label: optional(Locale.annotations({
|
|
97376
97400
|
title: "标签",
|
|
@@ -97446,7 +97470,7 @@ function schema$n(configure) {
|
|
|
97446
97470
|
description: "基于树形数据的多选输入"
|
|
97447
97471
|
});
|
|
97448
97472
|
}
|
|
97449
|
-
function defaults$
|
|
97473
|
+
function defaults$c() {
|
|
97450
97474
|
return {
|
|
97451
97475
|
dataSource: { data: "[]" },
|
|
97452
97476
|
nodeKey: "string(node.id)",
|
|
@@ -97458,15 +97482,15 @@ function defaults$b() {
|
|
|
97458
97482
|
}
|
|
97459
97483
|
const __vite_glob_0_22 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
97460
97484
|
__proto__: null,
|
|
97461
|
-
compatibilityDate: compatibilityDate$
|
|
97462
|
-
defaults: defaults$
|
|
97463
|
-
metadata: metadata$
|
|
97464
|
-
schema: schema$
|
|
97465
|
-
type: type$
|
|
97485
|
+
compatibilityDate: compatibilityDate$o,
|
|
97486
|
+
defaults: defaults$c,
|
|
97487
|
+
metadata: metadata$o,
|
|
97488
|
+
schema: schema$o,
|
|
97489
|
+
type: type$o
|
|
97466
97490
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
97467
|
-
const type$
|
|
97468
|
-
const compatibilityDate$
|
|
97469
|
-
const metadata$
|
|
97491
|
+
const type$n = "com.shwfed.form.field.month";
|
|
97492
|
+
const compatibilityDate$n = "2026-05-24";
|
|
97493
|
+
const metadata$n = {
|
|
97470
97494
|
name: "月份",
|
|
97471
97495
|
icon: "fluent:calendar-month-20-regular",
|
|
97472
97496
|
w: { initial: 8, min: 4, max: Infinity },
|
|
@@ -97488,12 +97512,12 @@ function presetSchema$1(configure) {
|
|
|
97488
97512
|
title: "MonthFieldPreset"
|
|
97489
97513
|
});
|
|
97490
97514
|
}
|
|
97491
|
-
function schema$
|
|
97515
|
+
function schema$n(configure) {
|
|
97492
97516
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
97493
97517
|
const Preset = presetSchema$1(configure);
|
|
97494
97518
|
return Struct({
|
|
97495
|
-
type: Literal2(type$
|
|
97496
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
97519
|
+
type: Literal2(type$n),
|
|
97520
|
+
compatibilityDate: Literal2(compatibilityDate$n),
|
|
97497
97521
|
...commonFieldFields(configure),
|
|
97498
97522
|
label: optional(Locale.annotations({
|
|
97499
97523
|
title: "标签",
|
|
@@ -97540,14 +97564,14 @@ function schema$m(configure) {
|
|
|
97540
97564
|
}
|
|
97541
97565
|
const __vite_glob_0_23 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
97542
97566
|
__proto__: null,
|
|
97543
|
-
compatibilityDate: compatibilityDate$
|
|
97544
|
-
metadata: metadata$
|
|
97567
|
+
compatibilityDate: compatibilityDate$n,
|
|
97568
|
+
metadata: metadata$n,
|
|
97545
97569
|
presetSchema: presetSchema$1,
|
|
97546
|
-
schema: schema$
|
|
97547
|
-
type: type$
|
|
97570
|
+
schema: schema$n,
|
|
97571
|
+
type: type$n
|
|
97548
97572
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
97549
|
-
const type$
|
|
97550
|
-
const compatibilityDate$
|
|
97573
|
+
const type$m = "com.shwfed.form.field.monthrange";
|
|
97574
|
+
const compatibilityDate$m = "2026-05-24";
|
|
97551
97575
|
const BindingPath = String$.pipe(minLength(1));
|
|
97552
97576
|
const SplitBinding = Tuple(BindingPath, BindingPath).pipe(
|
|
97553
97577
|
filter(([a, b]) => a !== b, {
|
|
@@ -97558,7 +97582,7 @@ const bindingSchema = Union2(BindingPath, SplitBinding).annotations({
|
|
|
97558
97582
|
title: "绑定路径",
|
|
97559
97583
|
description: "写入表单状态的 `dot-prop` 路径;填写单个路径时写入 `[start, end]` 字符串数组,例如 `event.months`;填写 `[起始路径, 结束路径]` 元组时分别写入两端;留空则为非受控字段"
|
|
97560
97584
|
});
|
|
97561
|
-
const metadata$
|
|
97585
|
+
const metadata$m = {
|
|
97562
97586
|
name: "月份范围",
|
|
97563
97587
|
icon: "fluent:calendar-arrow-right-20-regular",
|
|
97564
97588
|
w: { initial: 10, min: 10, max: Infinity },
|
|
@@ -97584,12 +97608,12 @@ function presetSchema(configure) {
|
|
|
97584
97608
|
title: "MonthRangeFieldPreset"
|
|
97585
97609
|
});
|
|
97586
97610
|
}
|
|
97587
|
-
function schema$
|
|
97611
|
+
function schema$m(configure) {
|
|
97588
97612
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
97589
97613
|
const Preset = presetSchema(configure);
|
|
97590
97614
|
return Struct({
|
|
97591
|
-
type: Literal2(type$
|
|
97592
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
97615
|
+
type: Literal2(type$m),
|
|
97616
|
+
compatibilityDate: Literal2(compatibilityDate$m),
|
|
97593
97617
|
...commonFieldFields(configure),
|
|
97594
97618
|
label: optional(Locale.annotations({
|
|
97595
97619
|
title: "标签",
|
|
@@ -97639,21 +97663,21 @@ function schema$l(configure) {
|
|
|
97639
97663
|
description: "月份范围选择输入"
|
|
97640
97664
|
});
|
|
97641
97665
|
}
|
|
97642
|
-
function defaults$
|
|
97666
|
+
function defaults$b() {
|
|
97643
97667
|
return { rangeSeparatorIcon: "fluent:arrow-right-20-regular" };
|
|
97644
97668
|
}
|
|
97645
97669
|
const __vite_glob_0_24 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
97646
97670
|
__proto__: null,
|
|
97647
|
-
compatibilityDate: compatibilityDate$
|
|
97648
|
-
defaults: defaults$
|
|
97649
|
-
metadata: metadata$
|
|
97671
|
+
compatibilityDate: compatibilityDate$m,
|
|
97672
|
+
defaults: defaults$b,
|
|
97673
|
+
metadata: metadata$m,
|
|
97650
97674
|
presetSchema,
|
|
97651
|
-
schema: schema$
|
|
97652
|
-
type: type$
|
|
97675
|
+
schema: schema$m,
|
|
97676
|
+
type: type$m
|
|
97653
97677
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
97654
|
-
const type$
|
|
97655
|
-
const compatibilityDate$
|
|
97656
|
-
const metadata$
|
|
97678
|
+
const type$l = "com.shwfed.form.field.combobox.multi";
|
|
97679
|
+
const compatibilityDate$l = "2026-05-25";
|
|
97680
|
+
const metadata$l = {
|
|
97657
97681
|
name: "下拉多选",
|
|
97658
97682
|
icon: "fluent:chevron-down-20-regular",
|
|
97659
97683
|
w: { initial: 8, min: 4, max: Infinity },
|
|
@@ -97666,14 +97690,14 @@ function configureWithOption$4(configure) {
|
|
|
97666
97690
|
};
|
|
97667
97691
|
}
|
|
97668
97692
|
const isListType$5 = (actual) => actual === "dyn" || actual.startsWith("list");
|
|
97669
|
-
function schema$
|
|
97693
|
+
function schema$l(configure) {
|
|
97670
97694
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
97671
97695
|
const CelOptions = Expression({ configure, resultType: isListType$5 });
|
|
97672
97696
|
const CelOptionValue = Expression({ configure: configureWithOption$4(configure), resultType: "dyn" });
|
|
97673
97697
|
const LocaleOptionLabel = LocaleMarkdown({ configure: configureWithOption$4(configure) });
|
|
97674
97698
|
return Struct({
|
|
97675
|
-
type: Literal2(type$
|
|
97676
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
97699
|
+
type: Literal2(type$l),
|
|
97700
|
+
compatibilityDate: Literal2(compatibilityDate$l),
|
|
97677
97701
|
...commonFieldFields(configure),
|
|
97678
97702
|
label: optional(Locale.annotations({
|
|
97679
97703
|
title: "标签",
|
|
@@ -97720,14 +97744,14 @@ function schema$k(configure) {
|
|
|
97720
97744
|
}
|
|
97721
97745
|
const __vite_glob_0_25 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
97722
97746
|
__proto__: null,
|
|
97723
|
-
compatibilityDate: compatibilityDate$
|
|
97724
|
-
metadata: metadata$
|
|
97725
|
-
schema: schema$
|
|
97726
|
-
type: type$
|
|
97747
|
+
compatibilityDate: compatibilityDate$l,
|
|
97748
|
+
metadata: metadata$l,
|
|
97749
|
+
schema: schema$l,
|
|
97750
|
+
type: type$l
|
|
97727
97751
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
97728
|
-
const type$
|
|
97729
|
-
const compatibilityDate$
|
|
97730
|
-
const metadata$
|
|
97752
|
+
const type$k = "com.shwfed.form.field.tree.combobox.multi";
|
|
97753
|
+
const compatibilityDate$k = "2026-05-26";
|
|
97754
|
+
const metadata$k = {
|
|
97731
97755
|
name: "下拉树(多选)",
|
|
97732
97756
|
icon: "fluent:tree-evergreen-20-regular",
|
|
97733
97757
|
w: { initial: 8, min: 4, max: Infinity },
|
|
@@ -97744,15 +97768,15 @@ function withNode$3(configure) {
|
|
|
97744
97768
|
registerNodeVariableIfAbsent(env, { description: NODE_VAR$3.description });
|
|
97745
97769
|
};
|
|
97746
97770
|
}
|
|
97747
|
-
function schema$
|
|
97771
|
+
function schema$k(configure) {
|
|
97748
97772
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
97749
97773
|
const CelNodeKey = Expression({ configure: withNode$3(configure), resultType: isKeyType$3 });
|
|
97750
97774
|
const CelNodeChildren = Expression({ configure: withNode$3(configure), resultType: isListLike$3 });
|
|
97751
97775
|
const CelNodeBool = Expression({ configure: withNode$3(configure), resultType: "bool" });
|
|
97752
97776
|
const NodeLocaleMd = LocaleMarkdown({ configure: withNode$3(configure) });
|
|
97753
97777
|
return Struct({
|
|
97754
|
-
type: Literal2(type$
|
|
97755
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
97778
|
+
type: Literal2(type$k),
|
|
97779
|
+
compatibilityDate: Literal2(compatibilityDate$k),
|
|
97756
97780
|
...commonFieldFields(configure),
|
|
97757
97781
|
label: optional(Locale.annotations({
|
|
97758
97782
|
title: "标签",
|
|
@@ -97820,7 +97844,7 @@ function schema$j(configure) {
|
|
|
97820
97844
|
description: "基于树形数据的下拉多选输入"
|
|
97821
97845
|
});
|
|
97822
97846
|
}
|
|
97823
|
-
function defaults$
|
|
97847
|
+
function defaults$a() {
|
|
97824
97848
|
return {
|
|
97825
97849
|
dataSource: { data: "[]" },
|
|
97826
97850
|
nodeKey: "string(node.id)",
|
|
@@ -97832,15 +97856,15 @@ function defaults$9() {
|
|
|
97832
97856
|
}
|
|
97833
97857
|
const __vite_glob_0_26 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
97834
97858
|
__proto__: null,
|
|
97835
|
-
compatibilityDate: compatibilityDate$
|
|
97836
|
-
defaults: defaults$
|
|
97837
|
-
metadata: metadata$
|
|
97838
|
-
schema: schema$
|
|
97839
|
-
type: type$
|
|
97859
|
+
compatibilityDate: compatibilityDate$k,
|
|
97860
|
+
defaults: defaults$a,
|
|
97861
|
+
metadata: metadata$k,
|
|
97862
|
+
schema: schema$k,
|
|
97863
|
+
type: type$k
|
|
97840
97864
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
97841
|
-
const type$
|
|
97842
|
-
const compatibilityDate$
|
|
97843
|
-
const metadata$
|
|
97865
|
+
const type$j = "com.shwfed.form.field.tree.combobox.single";
|
|
97866
|
+
const compatibilityDate$j = "2026-05-26";
|
|
97867
|
+
const metadata$j = {
|
|
97844
97868
|
name: "下拉树(单选)",
|
|
97845
97869
|
icon: "fluent:tree-evergreen-20-regular",
|
|
97846
97870
|
w: { initial: 8, min: 4, max: Infinity },
|
|
@@ -97857,15 +97881,15 @@ function withNode$2(configure) {
|
|
|
97857
97881
|
registerNodeVariableIfAbsent(env, { description: NODE_VAR$2.description });
|
|
97858
97882
|
};
|
|
97859
97883
|
}
|
|
97860
|
-
function schema$
|
|
97884
|
+
function schema$j(configure) {
|
|
97861
97885
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
97862
97886
|
const CelNodeKey = Expression({ configure: withNode$2(configure), resultType: isKeyType$2 });
|
|
97863
97887
|
const CelNodeChildren = Expression({ configure: withNode$2(configure), resultType: isListLike$2 });
|
|
97864
97888
|
const CelNodeBool = Expression({ configure: withNode$2(configure), resultType: "bool" });
|
|
97865
97889
|
const NodeLocaleMd = LocaleMarkdown({ configure: withNode$2(configure) });
|
|
97866
97890
|
return Struct({
|
|
97867
|
-
type: Literal2(type$
|
|
97868
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
97891
|
+
type: Literal2(type$j),
|
|
97892
|
+
compatibilityDate: Literal2(compatibilityDate$j),
|
|
97869
97893
|
...commonFieldFields(configure),
|
|
97870
97894
|
label: optional(Locale.annotations({
|
|
97871
97895
|
title: "标签",
|
|
@@ -97926,7 +97950,7 @@ function schema$i(configure) {
|
|
|
97926
97950
|
description: "基于树形数据的下拉单选输入"
|
|
97927
97951
|
});
|
|
97928
97952
|
}
|
|
97929
|
-
function defaults$
|
|
97953
|
+
function defaults$9() {
|
|
97930
97954
|
return {
|
|
97931
97955
|
dataSource: { data: "[]" },
|
|
97932
97956
|
nodeKey: "string(node.id)",
|
|
@@ -97937,15 +97961,15 @@ function defaults$8() {
|
|
|
97937
97961
|
}
|
|
97938
97962
|
const __vite_glob_0_27 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
97939
97963
|
__proto__: null,
|
|
97940
|
-
compatibilityDate: compatibilityDate$
|
|
97941
|
-
defaults: defaults$
|
|
97942
|
-
metadata: metadata$
|
|
97943
|
-
schema: schema$
|
|
97944
|
-
type: type$
|
|
97964
|
+
compatibilityDate: compatibilityDate$j,
|
|
97965
|
+
defaults: defaults$9,
|
|
97966
|
+
metadata: metadata$j,
|
|
97967
|
+
schema: schema$j,
|
|
97968
|
+
type: type$j
|
|
97945
97969
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
97946
|
-
const type$
|
|
97947
|
-
const compatibilityDate$
|
|
97948
|
-
const metadata$
|
|
97970
|
+
const type$i = "com.shwfed.form.field.combobox.multi";
|
|
97971
|
+
const compatibilityDate$i = "2026-05-28";
|
|
97972
|
+
const metadata$i = {
|
|
97949
97973
|
name: "下拉多选",
|
|
97950
97974
|
icon: "fluent:chevron-down-20-regular",
|
|
97951
97975
|
w: { initial: 8, min: 4, max: Infinity },
|
|
@@ -98051,12 +98075,12 @@ function optionsSchema$3(configure) {
|
|
|
98051
98075
|
description: '选项可以是静态配置(`kind: "static"`)或由 CEL 表达式 / 远程接口产出(`kind: "remote"`)'
|
|
98052
98076
|
});
|
|
98053
98077
|
}
|
|
98054
|
-
function schema$
|
|
98078
|
+
function schema$i(configure) {
|
|
98055
98079
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
98056
98080
|
const Options = optionsSchema$3(configure);
|
|
98057
98081
|
return Struct({
|
|
98058
|
-
type: Literal2(type$
|
|
98059
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
98082
|
+
type: Literal2(type$i),
|
|
98083
|
+
compatibilityDate: Literal2(compatibilityDate$i),
|
|
98060
98084
|
...commonFieldFields(configure),
|
|
98061
98085
|
label: optional(Locale.annotations({
|
|
98062
98086
|
title: "标签",
|
|
@@ -98092,7 +98116,7 @@ function schema$h(configure) {
|
|
|
98092
98116
|
description: "下拉多选输入"
|
|
98093
98117
|
});
|
|
98094
98118
|
}
|
|
98095
|
-
function defaults$
|
|
98119
|
+
function defaults$8() {
|
|
98096
98120
|
return {
|
|
98097
98121
|
options: { kind: "static", items: [] }
|
|
98098
98122
|
};
|
|
@@ -98116,8 +98140,8 @@ const migrate$7 = (prev) => try_({
|
|
|
98116
98140
|
if (Array.isArray(optionLabel)) remote.optionLabel = optionLabel;
|
|
98117
98141
|
return {
|
|
98118
98142
|
...rest,
|
|
98119
|
-
type: type$
|
|
98120
|
-
compatibilityDate: compatibilityDate$
|
|
98143
|
+
type: type$i,
|
|
98144
|
+
compatibilityDate: compatibilityDate$i,
|
|
98121
98145
|
options: remote
|
|
98122
98146
|
};
|
|
98123
98147
|
}
|
|
@@ -98127,20 +98151,20 @@ const migrate$7 = (prev) => try_({
|
|
|
98127
98151
|
});
|
|
98128
98152
|
const __vite_glob_0_28 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
98129
98153
|
__proto__: null,
|
|
98130
|
-
compatibilityDate: compatibilityDate$
|
|
98131
|
-
defaults: defaults$
|
|
98154
|
+
compatibilityDate: compatibilityDate$i,
|
|
98155
|
+
defaults: defaults$8,
|
|
98132
98156
|
itemSchema: itemSchema$4,
|
|
98133
|
-
metadata: metadata$
|
|
98157
|
+
metadata: metadata$i,
|
|
98134
98158
|
migrate: migrate$7,
|
|
98135
98159
|
migrateFrom: migrateFrom$6,
|
|
98136
98160
|
optionsSchema: optionsSchema$3,
|
|
98137
98161
|
remoteOptionsSchema: remoteOptionsSchema$3,
|
|
98138
|
-
schema: schema$
|
|
98139
|
-
type: type$
|
|
98162
|
+
schema: schema$i,
|
|
98163
|
+
type: type$i
|
|
98140
98164
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
98141
|
-
const type$
|
|
98142
|
-
const compatibilityDate$
|
|
98143
|
-
const metadata$
|
|
98165
|
+
const type$h = "com.shwfed.form.field.combobox.single";
|
|
98166
|
+
const compatibilityDate$h = "2026-05-28";
|
|
98167
|
+
const metadata$h = {
|
|
98144
98168
|
name: "下拉单选",
|
|
98145
98169
|
icon: "fluent:chevron-down-20-regular",
|
|
98146
98170
|
w: { initial: 8, min: 4, max: Infinity },
|
|
@@ -98246,12 +98270,12 @@ function optionsSchema$2(configure) {
|
|
|
98246
98270
|
description: '选项可以是静态配置(`kind: "static"`)或由 CEL 表达式 / 远程接口产出(`kind: "remote"`)'
|
|
98247
98271
|
});
|
|
98248
98272
|
}
|
|
98249
|
-
function schema$
|
|
98273
|
+
function schema$h(configure) {
|
|
98250
98274
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
98251
98275
|
const Options = optionsSchema$2(configure);
|
|
98252
98276
|
return Struct({
|
|
98253
|
-
type: Literal2(type$
|
|
98254
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
98277
|
+
type: Literal2(type$h),
|
|
98278
|
+
compatibilityDate: Literal2(compatibilityDate$h),
|
|
98255
98279
|
...commonFieldFields(configure),
|
|
98256
98280
|
label: optional(Locale.annotations({
|
|
98257
98281
|
title: "标签",
|
|
@@ -98287,7 +98311,7 @@ function schema$g(configure) {
|
|
|
98287
98311
|
description: "下拉单选输入"
|
|
98288
98312
|
});
|
|
98289
98313
|
}
|
|
98290
|
-
function defaults$
|
|
98314
|
+
function defaults$7() {
|
|
98291
98315
|
return {
|
|
98292
98316
|
options: { kind: "static", items: [] }
|
|
98293
98317
|
};
|
|
@@ -98310,8 +98334,8 @@ const migrate$6 = (prev) => try_({
|
|
|
98310
98334
|
const itemsArr = Array.isArray(items2) ? items2 : [];
|
|
98311
98335
|
return {
|
|
98312
98336
|
...rest,
|
|
98313
|
-
type: type$
|
|
98314
|
-
compatibilityDate: compatibilityDate$
|
|
98337
|
+
type: type$h,
|
|
98338
|
+
compatibilityDate: compatibilityDate$h,
|
|
98315
98339
|
options: { kind: "static", items: itemsArr }
|
|
98316
98340
|
};
|
|
98317
98341
|
}
|
|
@@ -98323,8 +98347,8 @@ const migrate$6 = (prev) => try_({
|
|
|
98323
98347
|
if (Array.isArray(optionLabel)) remote.optionLabel = optionLabel;
|
|
98324
98348
|
return {
|
|
98325
98349
|
...rest,
|
|
98326
|
-
type: type$
|
|
98327
|
-
compatibilityDate: compatibilityDate$
|
|
98350
|
+
type: type$h,
|
|
98351
|
+
compatibilityDate: compatibilityDate$h,
|
|
98328
98352
|
options: remote
|
|
98329
98353
|
};
|
|
98330
98354
|
}
|
|
@@ -98337,8 +98361,8 @@ const migrate$6 = (prev) => try_({
|
|
|
98337
98361
|
if (Array.isArray(optionLabel)) remote.optionLabel = optionLabel;
|
|
98338
98362
|
return {
|
|
98339
98363
|
...rest,
|
|
98340
|
-
type: type$
|
|
98341
|
-
compatibilityDate: compatibilityDate$
|
|
98364
|
+
type: type$h,
|
|
98365
|
+
compatibilityDate: compatibilityDate$h,
|
|
98342
98366
|
options: remote
|
|
98343
98367
|
};
|
|
98344
98368
|
}
|
|
@@ -98348,20 +98372,20 @@ const migrate$6 = (prev) => try_({
|
|
|
98348
98372
|
});
|
|
98349
98373
|
const __vite_glob_0_29 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
98350
98374
|
__proto__: null,
|
|
98351
|
-
compatibilityDate: compatibilityDate$
|
|
98352
|
-
defaults: defaults$
|
|
98375
|
+
compatibilityDate: compatibilityDate$h,
|
|
98376
|
+
defaults: defaults$7,
|
|
98353
98377
|
itemSchema: itemSchema$3,
|
|
98354
|
-
metadata: metadata$
|
|
98378
|
+
metadata: metadata$h,
|
|
98355
98379
|
migrate: migrate$6,
|
|
98356
98380
|
migrateFrom: migrateFrom$5,
|
|
98357
98381
|
optionsSchema: optionsSchema$2,
|
|
98358
98382
|
remoteOptionsSchema: remoteOptionsSchema$2,
|
|
98359
|
-
schema: schema$
|
|
98360
|
-
type: type$
|
|
98383
|
+
schema: schema$h,
|
|
98384
|
+
type: type$h
|
|
98361
98385
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
98362
|
-
const type$
|
|
98363
|
-
const compatibilityDate$
|
|
98364
|
-
const metadata$
|
|
98386
|
+
const type$g = "com.shwfed.form.field.tree.combobox.multi";
|
|
98387
|
+
const compatibilityDate$g = "2026-05-28";
|
|
98388
|
+
const metadata$g = {
|
|
98365
98389
|
name: "下拉树(多选)",
|
|
98366
98390
|
icon: "fluent:tree-evergreen-20-regular",
|
|
98367
98391
|
w: { initial: 8, min: 4, max: Infinity },
|
|
@@ -98381,7 +98405,7 @@ function withNode$1(configure) {
|
|
|
98381
98405
|
registerNodeVariableIfAbsent(env, { description: NODE_VAR$1.description });
|
|
98382
98406
|
};
|
|
98383
98407
|
}
|
|
98384
|
-
function schema$
|
|
98408
|
+
function schema$g(configure) {
|
|
98385
98409
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
98386
98410
|
const CelNodeKey = Expression({ configure: withNode$1(configure), resultType: isKeyType$1 });
|
|
98387
98411
|
const CelNodeChildren = Expression({ configure: withNode$1(configure), resultType: isListLike$1 });
|
|
@@ -98389,8 +98413,8 @@ function schema$f(configure) {
|
|
|
98389
98413
|
const NodeLocaleMd = LocaleMarkdown({ configure: withNode$1(configure) });
|
|
98390
98414
|
const CelKeywords = Expression({ configure: withNode$1(configure), resultType: isListLike$1 });
|
|
98391
98415
|
return Struct({
|
|
98392
|
-
type: Literal2(type$
|
|
98393
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
98416
|
+
type: Literal2(type$g),
|
|
98417
|
+
compatibilityDate: Literal2(compatibilityDate$g),
|
|
98394
98418
|
...commonFieldFields(configure),
|
|
98395
98419
|
label: optional(Locale.annotations({
|
|
98396
98420
|
title: "标签",
|
|
@@ -98462,7 +98486,7 @@ function schema$f(configure) {
|
|
|
98462
98486
|
description: "基于树形数据的下拉多选输入"
|
|
98463
98487
|
});
|
|
98464
98488
|
}
|
|
98465
|
-
function defaults$
|
|
98489
|
+
function defaults$6() {
|
|
98466
98490
|
return {
|
|
98467
98491
|
dataSource: { data: "[]" },
|
|
98468
98492
|
nodeKey: "string(node.id)",
|
|
@@ -98483,24 +98507,24 @@ const migrate$5 = (prev) => try_({
|
|
|
98483
98507
|
const { compatibilityDate: _legacyDate, ...rest } = prev;
|
|
98484
98508
|
return {
|
|
98485
98509
|
...rest,
|
|
98486
|
-
compatibilityDate: compatibilityDate$
|
|
98510
|
+
compatibilityDate: compatibilityDate$g
|
|
98487
98511
|
};
|
|
98488
98512
|
},
|
|
98489
98513
|
catch: (e) => e instanceof Error ? e : new Error(String(e))
|
|
98490
98514
|
});
|
|
98491
98515
|
const __vite_glob_0_30 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
98492
98516
|
__proto__: null,
|
|
98493
|
-
compatibilityDate: compatibilityDate$
|
|
98494
|
-
defaults: defaults$
|
|
98495
|
-
metadata: metadata$
|
|
98517
|
+
compatibilityDate: compatibilityDate$g,
|
|
98518
|
+
defaults: defaults$6,
|
|
98519
|
+
metadata: metadata$g,
|
|
98496
98520
|
migrate: migrate$5,
|
|
98497
98521
|
migrateFrom: migrateFrom$4,
|
|
98498
|
-
schema: schema$
|
|
98499
|
-
type: type$
|
|
98522
|
+
schema: schema$g,
|
|
98523
|
+
type: type$g
|
|
98500
98524
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
98501
|
-
const type$
|
|
98502
|
-
const compatibilityDate$
|
|
98503
|
-
const metadata$
|
|
98525
|
+
const type$f = "com.shwfed.form.field.tree.combobox.single";
|
|
98526
|
+
const compatibilityDate$f = "2026-05-28";
|
|
98527
|
+
const metadata$f = {
|
|
98504
98528
|
name: "下拉树(单选)",
|
|
98505
98529
|
icon: "fluent:tree-evergreen-20-regular",
|
|
98506
98530
|
w: { initial: 8, min: 4, max: Infinity },
|
|
@@ -98520,7 +98544,7 @@ function withNode(configure) {
|
|
|
98520
98544
|
registerNodeVariableIfAbsent(env, { description: NODE_VAR.description });
|
|
98521
98545
|
};
|
|
98522
98546
|
}
|
|
98523
|
-
function schema$
|
|
98547
|
+
function schema$f(configure) {
|
|
98524
98548
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
98525
98549
|
const CelNodeKey = Expression({ configure: withNode(configure), resultType: isKeyType });
|
|
98526
98550
|
const CelNodeChildren = Expression({ configure: withNode(configure), resultType: isListLike });
|
|
@@ -98528,8 +98552,8 @@ function schema$e(configure) {
|
|
|
98528
98552
|
const NodeLocaleMd = LocaleMarkdown({ configure: withNode(configure) });
|
|
98529
98553
|
const CelKeywords = Expression({ configure: withNode(configure), resultType: isListLike });
|
|
98530
98554
|
return Struct({
|
|
98531
|
-
type: Literal2(type$
|
|
98532
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
98555
|
+
type: Literal2(type$f),
|
|
98556
|
+
compatibilityDate: Literal2(compatibilityDate$f),
|
|
98533
98557
|
...commonFieldFields(configure),
|
|
98534
98558
|
label: optional(Locale.annotations({
|
|
98535
98559
|
title: "标签",
|
|
@@ -98594,7 +98618,7 @@ function schema$e(configure) {
|
|
|
98594
98618
|
description: "基于树形数据的下拉单选输入"
|
|
98595
98619
|
});
|
|
98596
98620
|
}
|
|
98597
|
-
function defaults$
|
|
98621
|
+
function defaults$5() {
|
|
98598
98622
|
return {
|
|
98599
98623
|
dataSource: { data: "[]" },
|
|
98600
98624
|
nodeKey: "string(node.id)",
|
|
@@ -98614,24 +98638,24 @@ const migrate$4 = (prev) => try_({
|
|
|
98614
98638
|
const { compatibilityDate: _legacyDate, ...rest } = prev;
|
|
98615
98639
|
return {
|
|
98616
98640
|
...rest,
|
|
98617
|
-
compatibilityDate: compatibilityDate$
|
|
98641
|
+
compatibilityDate: compatibilityDate$f
|
|
98618
98642
|
};
|
|
98619
98643
|
},
|
|
98620
98644
|
catch: (e) => e instanceof Error ? e : new Error(String(e))
|
|
98621
98645
|
});
|
|
98622
98646
|
const __vite_glob_0_31 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
98623
98647
|
__proto__: null,
|
|
98624
|
-
compatibilityDate: compatibilityDate$
|
|
98625
|
-
defaults: defaults$
|
|
98626
|
-
metadata: metadata$
|
|
98648
|
+
compatibilityDate: compatibilityDate$f,
|
|
98649
|
+
defaults: defaults$5,
|
|
98650
|
+
metadata: metadata$f,
|
|
98627
98651
|
migrate: migrate$4,
|
|
98628
98652
|
migrateFrom: migrateFrom$3,
|
|
98629
|
-
schema: schema$
|
|
98630
|
-
type: type$
|
|
98653
|
+
schema: schema$f,
|
|
98654
|
+
type: type$f
|
|
98631
98655
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
98632
|
-
const type$
|
|
98633
|
-
const compatibilityDate$
|
|
98634
|
-
const metadata$
|
|
98656
|
+
const type$e = "com.shwfed.form.field.tree.multi";
|
|
98657
|
+
const compatibilityDate$e = "2026-05-28";
|
|
98658
|
+
const metadata$e = {
|
|
98635
98659
|
name: "树(多选)",
|
|
98636
98660
|
icon: "fluent:tree-evergreen-20-regular",
|
|
98637
98661
|
w: { initial: 8, min: 4, max: Infinity },
|
|
@@ -98640,7 +98664,7 @@ const metadata$d = {
|
|
|
98640
98664
|
// registry (runtime.vue), readable via `selections["<id>"]`.
|
|
98641
98665
|
selection: true
|
|
98642
98666
|
};
|
|
98643
|
-
function schema$
|
|
98667
|
+
function schema$e(configure) {
|
|
98644
98668
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
98645
98669
|
const nodeConfigure = (env) => {
|
|
98646
98670
|
configure(env);
|
|
@@ -98669,8 +98693,8 @@ function schema$d(configure) {
|
|
|
98669
98693
|
resultType: (t) => t === "dyn" || t.startsWith("list") || t.startsWith("optional")
|
|
98670
98694
|
});
|
|
98671
98695
|
return Struct({
|
|
98672
|
-
type: Literal2(type$
|
|
98673
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
98696
|
+
type: Literal2(type$e),
|
|
98697
|
+
compatibilityDate: Literal2(compatibilityDate$e),
|
|
98674
98698
|
...commonFieldFields(configure),
|
|
98675
98699
|
label: optional(Locale.annotations({
|
|
98676
98700
|
title: "标签",
|
|
@@ -98746,7 +98770,7 @@ function schema$d(configure) {
|
|
|
98746
98770
|
description: "基于树形数据的多选输入"
|
|
98747
98771
|
});
|
|
98748
98772
|
}
|
|
98749
|
-
function defaults$
|
|
98773
|
+
function defaults$4() {
|
|
98750
98774
|
return {
|
|
98751
98775
|
dataSource: { data: "[]" },
|
|
98752
98776
|
nodeKey: "string(node.id)",
|
|
@@ -98764,24 +98788,24 @@ const migrate$3 = (prev, _ctx) => try_({
|
|
|
98764
98788
|
const { compatibilityDate: _legacyDate, ...carryover } = prev;
|
|
98765
98789
|
return {
|
|
98766
98790
|
...carryover,
|
|
98767
|
-
compatibilityDate: compatibilityDate$
|
|
98791
|
+
compatibilityDate: compatibilityDate$e
|
|
98768
98792
|
};
|
|
98769
98793
|
},
|
|
98770
98794
|
catch: (err) => err instanceof Error ? err : new Error(String(err))
|
|
98771
98795
|
});
|
|
98772
98796
|
const __vite_glob_0_32 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
98773
98797
|
__proto__: null,
|
|
98774
|
-
compatibilityDate: compatibilityDate$
|
|
98775
|
-
defaults: defaults$
|
|
98776
|
-
metadata: metadata$
|
|
98798
|
+
compatibilityDate: compatibilityDate$e,
|
|
98799
|
+
defaults: defaults$4,
|
|
98800
|
+
metadata: metadata$e,
|
|
98777
98801
|
migrate: migrate$3,
|
|
98778
98802
|
migrateFrom: migrateFrom$2,
|
|
98779
|
-
schema: schema$
|
|
98780
|
-
type: type$
|
|
98803
|
+
schema: schema$e,
|
|
98804
|
+
type: type$e
|
|
98781
98805
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
98782
|
-
const type$
|
|
98783
|
-
const compatibilityDate$
|
|
98784
|
-
const metadata$
|
|
98806
|
+
const type$d = "com.shwfed.form.field.tree.single";
|
|
98807
|
+
const compatibilityDate$d = "2026-05-28";
|
|
98808
|
+
const metadata$d = {
|
|
98785
98809
|
name: "树(单选)",
|
|
98786
98810
|
icon: "fluent:tree-evergreen-20-regular",
|
|
98787
98811
|
w: { initial: 8, min: 4, max: Infinity },
|
|
@@ -98790,7 +98814,7 @@ const metadata$c = {
|
|
|
98790
98814
|
// registry (runtime.vue), readable via `selections["<id>"]`.
|
|
98791
98815
|
selection: true
|
|
98792
98816
|
};
|
|
98793
|
-
function schema$
|
|
98817
|
+
function schema$d(configure) {
|
|
98794
98818
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
98795
98819
|
const nodeConfigure = (env) => {
|
|
98796
98820
|
configure(env);
|
|
@@ -98815,8 +98839,8 @@ function schema$c(configure) {
|
|
|
98815
98839
|
resultType: (t) => t === "dyn" || t.startsWith("list") || t.startsWith("optional")
|
|
98816
98840
|
});
|
|
98817
98841
|
return Struct({
|
|
98818
|
-
type: Literal2(type$
|
|
98819
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
98842
|
+
type: Literal2(type$d),
|
|
98843
|
+
compatibilityDate: Literal2(compatibilityDate$d),
|
|
98820
98844
|
...commonFieldFields(configure),
|
|
98821
98845
|
label: optional(Locale.annotations({
|
|
98822
98846
|
title: "标签",
|
|
@@ -98886,7 +98910,7 @@ function schema$c(configure) {
|
|
|
98886
98910
|
description: "基于树形数据的单选输入"
|
|
98887
98911
|
});
|
|
98888
98912
|
}
|
|
98889
|
-
function defaults$
|
|
98913
|
+
function defaults$3() {
|
|
98890
98914
|
return {
|
|
98891
98915
|
dataSource: { data: "[]" },
|
|
98892
98916
|
nodeKey: "string(node.id)",
|
|
@@ -98897,15 +98921,15 @@ function defaults$2() {
|
|
|
98897
98921
|
}
|
|
98898
98922
|
const __vite_glob_0_33 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
98899
98923
|
__proto__: null,
|
|
98900
|
-
compatibilityDate: compatibilityDate$
|
|
98901
|
-
defaults: defaults$
|
|
98902
|
-
metadata: metadata$
|
|
98903
|
-
schema: schema$
|
|
98904
|
-
type: type$
|
|
98924
|
+
compatibilityDate: compatibilityDate$d,
|
|
98925
|
+
defaults: defaults$3,
|
|
98926
|
+
metadata: metadata$d,
|
|
98927
|
+
schema: schema$d,
|
|
98928
|
+
type: type$d
|
|
98905
98929
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
98906
|
-
const type$
|
|
98907
|
-
const compatibilityDate$
|
|
98908
|
-
const metadata$
|
|
98930
|
+
const type$c = "com.shwfed.form.field.upload";
|
|
98931
|
+
const compatibilityDate$c = "2026-06-09";
|
|
98932
|
+
const metadata$c = {
|
|
98909
98933
|
name: "文件上传",
|
|
98910
98934
|
icon: "fluent:cloud-arrow-up-20-regular",
|
|
98911
98935
|
w: { initial: 8, min: 8, max: Infinity },
|
|
@@ -98937,7 +98961,7 @@ function withVar(configure, name, spec) {
|
|
|
98937
98961
|
env.registerVariable(name, spec.type, { description: spec.description });
|
|
98938
98962
|
};
|
|
98939
98963
|
}
|
|
98940
|
-
function schema$
|
|
98964
|
+
function schema$c(configure) {
|
|
98941
98965
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
98942
98966
|
const CelHttpRequest = Expression({ configure, resultType: "HttpRequest" });
|
|
98943
98967
|
const CelDownloadRequest = Expression({ configure: withVar(configure, "json", JSON_VAR$1), resultType: "HttpRequest" });
|
|
@@ -98946,8 +98970,8 @@ function schema$b(configure) {
|
|
|
98946
98970
|
const CelItemName = Expression({ configure: withVar(configure, "file", FILE_VAR), resultType: "string" });
|
|
98947
98971
|
const LocaleMd = LocaleMarkdown({ configure });
|
|
98948
98972
|
return Struct({
|
|
98949
|
-
type: Literal2(type$
|
|
98950
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
98973
|
+
type: Literal2(type$c),
|
|
98974
|
+
compatibilityDate: Literal2(compatibilityDate$c),
|
|
98951
98975
|
...commonFieldFields(configure),
|
|
98952
98976
|
label: optional(Locale.annotations({
|
|
98953
98977
|
title: "标签",
|
|
@@ -99063,7 +99087,7 @@ function migrate$2(prev) {
|
|
|
99063
99087
|
compatibilityDate: _drop,
|
|
99064
99088
|
...rest
|
|
99065
99089
|
} = prev;
|
|
99066
|
-
const next = { ...rest, compatibilityDate: compatibilityDate$
|
|
99090
|
+
const next = { ...rest, compatibilityDate: compatibilityDate$c };
|
|
99067
99091
|
if (template != null && typeof template === "object" && typeof template.request === "string") {
|
|
99068
99092
|
const t = template;
|
|
99069
99093
|
const entry = { request: t.request };
|
|
@@ -99083,11 +99107,11 @@ const __vite_glob_0_34 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.de
|
|
|
99083
99107
|
FILE_VAR,
|
|
99084
99108
|
JSON_VAR: JSON_VAR$1,
|
|
99085
99109
|
UPLOAD_JSON_VAR,
|
|
99086
|
-
compatibilityDate: compatibilityDate$
|
|
99087
|
-
metadata: metadata$
|
|
99110
|
+
compatibilityDate: compatibilityDate$c,
|
|
99111
|
+
metadata: metadata$c,
|
|
99088
99112
|
migrate: migrate$2,
|
|
99089
|
-
schema: schema$
|
|
99090
|
-
type: type$
|
|
99113
|
+
schema: schema$c,
|
|
99114
|
+
type: type$c
|
|
99091
99115
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
99092
99116
|
const INTERPOLATION_RE = /\{\{(.*?)\}\}/gs;
|
|
99093
99117
|
function celString(text2) {
|
|
@@ -99125,9 +99149,9 @@ function localeLabelToExpression(optionLabel) {
|
|
|
99125
99149
|
const message2 = chosen && typeof chosen.message === "string" ? chosen.message : "";
|
|
99126
99150
|
return templateToExpression(message2);
|
|
99127
99151
|
}
|
|
99128
|
-
const type$
|
|
99129
|
-
const compatibilityDate$
|
|
99130
|
-
const metadata$
|
|
99152
|
+
const type$b = "com.shwfed.form.field.combobox.multi";
|
|
99153
|
+
const compatibilityDate$b = "2026-06-14";
|
|
99154
|
+
const metadata$b = {
|
|
99131
99155
|
name: "下拉多选",
|
|
99132
99156
|
icon: "fluent:chevron-down-20-regular",
|
|
99133
99157
|
w: { initial: 8, min: 4, max: Infinity },
|
|
@@ -99233,12 +99257,12 @@ function optionsSchema$1(configure) {
|
|
|
99233
99257
|
description: '选项可以是静态配置(`kind: "static"`)或由 CEL 表达式 / 远程接口产出(`kind: "remote"`)'
|
|
99234
99258
|
});
|
|
99235
99259
|
}
|
|
99236
|
-
function schema$
|
|
99260
|
+
function schema$b(configure) {
|
|
99237
99261
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
99238
99262
|
const Options = optionsSchema$1(configure);
|
|
99239
99263
|
return Struct({
|
|
99240
|
-
type: Literal2(type$
|
|
99241
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
99264
|
+
type: Literal2(type$b),
|
|
99265
|
+
compatibilityDate: Literal2(compatibilityDate$b),
|
|
99242
99266
|
...commonFieldFields(configure),
|
|
99243
99267
|
label: optional(Locale.annotations({
|
|
99244
99268
|
title: "标签",
|
|
@@ -99274,7 +99298,7 @@ function schema$a(configure) {
|
|
|
99274
99298
|
description: "下拉多选输入"
|
|
99275
99299
|
});
|
|
99276
99300
|
}
|
|
99277
|
-
function defaults$
|
|
99301
|
+
function defaults$2() {
|
|
99278
99302
|
return {
|
|
99279
99303
|
options: { kind: "static", items: [] }
|
|
99280
99304
|
};
|
|
@@ -99302,8 +99326,8 @@ const migrate$1 = (prev) => try_({
|
|
|
99302
99326
|
}
|
|
99303
99327
|
return {
|
|
99304
99328
|
...rest,
|
|
99305
|
-
type: type$
|
|
99306
|
-
compatibilityDate: compatibilityDate$
|
|
99329
|
+
type: type$b,
|
|
99330
|
+
compatibilityDate: compatibilityDate$b,
|
|
99307
99331
|
options: nextOptions
|
|
99308
99332
|
};
|
|
99309
99333
|
}
|
|
@@ -99313,20 +99337,20 @@ const migrate$1 = (prev) => try_({
|
|
|
99313
99337
|
});
|
|
99314
99338
|
const __vite_glob_0_35 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
99315
99339
|
__proto__: null,
|
|
99316
|
-
compatibilityDate: compatibilityDate$
|
|
99317
|
-
defaults: defaults$
|
|
99340
|
+
compatibilityDate: compatibilityDate$b,
|
|
99341
|
+
defaults: defaults$2,
|
|
99318
99342
|
itemSchema: itemSchema$2,
|
|
99319
|
-
metadata: metadata$
|
|
99343
|
+
metadata: metadata$b,
|
|
99320
99344
|
migrate: migrate$1,
|
|
99321
99345
|
migrateFrom: migrateFrom$1,
|
|
99322
99346
|
optionsSchema: optionsSchema$1,
|
|
99323
99347
|
remoteOptionsSchema: remoteOptionsSchema$1,
|
|
99324
|
-
schema: schema$
|
|
99325
|
-
type: type$
|
|
99348
|
+
schema: schema$b,
|
|
99349
|
+
type: type$b
|
|
99326
99350
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
99327
|
-
const type$
|
|
99328
|
-
const compatibilityDate$
|
|
99329
|
-
const metadata$
|
|
99351
|
+
const type$a = "com.shwfed.form.field.combobox.single";
|
|
99352
|
+
const compatibilityDate$a = "2026-06-14";
|
|
99353
|
+
const metadata$a = {
|
|
99330
99354
|
name: "下拉单选",
|
|
99331
99355
|
icon: "fluent:chevron-down-20-regular",
|
|
99332
99356
|
w: { initial: 8, min: 4, max: Infinity },
|
|
@@ -99432,12 +99456,12 @@ function optionsSchema(configure) {
|
|
|
99432
99456
|
description: '选项可以是静态配置(`kind: "static"`)或由 CEL 表达式 / 远程接口产出(`kind: "remote"`)'
|
|
99433
99457
|
});
|
|
99434
99458
|
}
|
|
99435
|
-
function schema$
|
|
99459
|
+
function schema$a(configure) {
|
|
99436
99460
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
99437
99461
|
const Options = optionsSchema(configure);
|
|
99438
99462
|
return Struct({
|
|
99439
|
-
type: Literal2(type$
|
|
99440
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
99463
|
+
type: Literal2(type$a),
|
|
99464
|
+
compatibilityDate: Literal2(compatibilityDate$a),
|
|
99441
99465
|
...commonFieldFields(configure),
|
|
99442
99466
|
label: optional(Locale.annotations({
|
|
99443
99467
|
title: "标签",
|
|
@@ -99473,7 +99497,7 @@ function schema$9(configure) {
|
|
|
99473
99497
|
description: "下拉单选输入"
|
|
99474
99498
|
});
|
|
99475
99499
|
}
|
|
99476
|
-
function defaults() {
|
|
99500
|
+
function defaults$1() {
|
|
99477
99501
|
return {
|
|
99478
99502
|
options: { kind: "static", items: [] }
|
|
99479
99503
|
};
|
|
@@ -99501,8 +99525,8 @@ const migrate = (prev) => try_({
|
|
|
99501
99525
|
}
|
|
99502
99526
|
return {
|
|
99503
99527
|
...rest,
|
|
99504
|
-
type: type$
|
|
99505
|
-
compatibilityDate: compatibilityDate$
|
|
99528
|
+
type: type$a,
|
|
99529
|
+
compatibilityDate: compatibilityDate$a,
|
|
99506
99530
|
options: nextOptions
|
|
99507
99531
|
};
|
|
99508
99532
|
}
|
|
@@ -99512,14 +99536,106 @@ const migrate = (prev) => try_({
|
|
|
99512
99536
|
});
|
|
99513
99537
|
const __vite_glob_0_36 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
99514
99538
|
__proto__: null,
|
|
99515
|
-
compatibilityDate: compatibilityDate$
|
|
99516
|
-
defaults,
|
|
99539
|
+
compatibilityDate: compatibilityDate$a,
|
|
99540
|
+
defaults: defaults$1,
|
|
99517
99541
|
itemSchema: itemSchema$1,
|
|
99518
|
-
metadata: metadata$
|
|
99542
|
+
metadata: metadata$a,
|
|
99519
99543
|
migrate,
|
|
99520
99544
|
migrateFrom,
|
|
99521
99545
|
optionsSchema,
|
|
99522
99546
|
remoteOptionsSchema,
|
|
99547
|
+
schema: schema$a,
|
|
99548
|
+
type: type$a
|
|
99549
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
99550
|
+
const type$9 = "com.shwfed.form.field.tabs";
|
|
99551
|
+
const compatibilityDate$9 = "2026-06-20";
|
|
99552
|
+
const metadata$9 = {
|
|
99553
|
+
name: "标签页",
|
|
99554
|
+
icon: "fluent:tabs-20-regular",
|
|
99555
|
+
w: { initial: 12, min: 4, max: Infinity },
|
|
99556
|
+
h: { initial: 6, min: 2, max: Infinity, grow: true },
|
|
99557
|
+
// Hosts a nested sub-form per tab (each tab's own fields + layout) — too
|
|
99558
|
+
// complex for the fullscreen inline-config pane; keep the drill-down.
|
|
99559
|
+
inlineConfig: false
|
|
99560
|
+
};
|
|
99561
|
+
const TabMeta = Struct({
|
|
99562
|
+
label: Locale.annotations({
|
|
99563
|
+
title: "标签名",
|
|
99564
|
+
description: "该标签页的本地化显示名"
|
|
99565
|
+
})
|
|
99566
|
+
});
|
|
99567
|
+
function schema$9(configure) {
|
|
99568
|
+
const Unit = suspend(() => FormUnit(configure));
|
|
99569
|
+
const Tab = Struct({
|
|
99570
|
+
id: UUID.annotations({ description: "标签页唯一标识" }),
|
|
99571
|
+
...TabMeta.fields,
|
|
99572
|
+
unit: Unit.annotations({
|
|
99573
|
+
identifier: "FormFieldTabsUnit",
|
|
99574
|
+
title: "标签内容",
|
|
99575
|
+
description: "该标签内的字段与布局;这些字段在表单状态中保持扁平,不会因为分组而引入新的状态层级"
|
|
99576
|
+
})
|
|
99577
|
+
}).annotations({
|
|
99578
|
+
title: "Tab",
|
|
99579
|
+
description: "单个标签页:名称 + 内容 Unit"
|
|
99580
|
+
});
|
|
99581
|
+
return Struct({
|
|
99582
|
+
type: Literal2(type$9),
|
|
99583
|
+
compatibilityDate: Literal2(compatibilityDate$9),
|
|
99584
|
+
id: UUID.annotations({ description: "字段唯一标识;布局通过该 id 引用字段" }),
|
|
99585
|
+
displayName: optional(String$.annotations({
|
|
99586
|
+
title: "内部名称",
|
|
99587
|
+
description: "仅在编辑器内可见的区域名,用于在侧边栏和布局编辑器中识别该标签页;运行时不展示"
|
|
99588
|
+
})),
|
|
99589
|
+
style: optional(String$.annotations({
|
|
99590
|
+
title: "容器样式",
|
|
99591
|
+
description: "应用在标签页最外层容器上的 CSS 样式字符串"
|
|
99592
|
+
})),
|
|
99593
|
+
tabs: Array$(Tab).pipe(
|
|
99594
|
+
minItems(1),
|
|
99595
|
+
filter((tabs) => {
|
|
99596
|
+
const ids2 = /* @__PURE__ */ new Set();
|
|
99597
|
+
for (const t of tabs) {
|
|
99598
|
+
if (ids2.has(t.id)) return `标签页 id 重复: ${t.id}`;
|
|
99599
|
+
ids2.add(t.id);
|
|
99600
|
+
}
|
|
99601
|
+
return true;
|
|
99602
|
+
})
|
|
99603
|
+
).annotations({
|
|
99604
|
+
title: "标签页",
|
|
99605
|
+
description: "至少 1 项,按顺序渲染"
|
|
99606
|
+
})
|
|
99607
|
+
}).annotations({
|
|
99608
|
+
title: "TabsField",
|
|
99609
|
+
description: "将一组带标签的子表单单元作为标签页分组;仅用于视觉分组,不影响字段在表单状态中的层级"
|
|
99610
|
+
});
|
|
99611
|
+
}
|
|
99612
|
+
function makeId$1() {
|
|
99613
|
+
if (typeof crypto !== "undefined" && "randomUUID" in crypto) return crypto.randomUUID();
|
|
99614
|
+
return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, (c) => {
|
|
99615
|
+
const r = Math.random() * 16 | 0;
|
|
99616
|
+
return (c === "x" ? r : r & 3 | 8).toString(16);
|
|
99617
|
+
});
|
|
99618
|
+
}
|
|
99619
|
+
function defaults() {
|
|
99620
|
+
return {
|
|
99621
|
+
tabs: [
|
|
99622
|
+
{
|
|
99623
|
+
id: makeId$1(),
|
|
99624
|
+
label: [{ locale: "zh", message: "标签 1" }],
|
|
99625
|
+
unit: {
|
|
99626
|
+
fields: [],
|
|
99627
|
+
layouts: [{ name: "默认", layout: { columns: 1, placements: {} } }]
|
|
99628
|
+
}
|
|
99629
|
+
}
|
|
99630
|
+
]
|
|
99631
|
+
};
|
|
99632
|
+
}
|
|
99633
|
+
const __vite_glob_0_37 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
99634
|
+
__proto__: null,
|
|
99635
|
+
TabMeta,
|
|
99636
|
+
compatibilityDate: compatibilityDate$9,
|
|
99637
|
+
defaults,
|
|
99638
|
+
metadata: metadata$9,
|
|
99523
99639
|
schema: schema$9,
|
|
99524
99640
|
type: type$9
|
|
99525
99641
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -99560,7 +99676,8 @@ const schemaModules$1 = /* @__PURE__ */ Object.assign({
|
|
|
99560
99676
|
"../fields/2026-05-28/com.shwfed.form.field.tree.single/schema.ts": __vite_glob_0_33,
|
|
99561
99677
|
"../fields/2026-06-09/com.shwfed.form.field.upload/schema.ts": __vite_glob_0_34,
|
|
99562
99678
|
"../fields/2026-06-14/com.shwfed.form.field.combobox.multi/schema.ts": __vite_glob_0_35,
|
|
99563
|
-
"../fields/2026-06-14/com.shwfed.form.field.combobox.single/schema.ts": __vite_glob_0_36
|
|
99679
|
+
"../fields/2026-06-14/com.shwfed.form.field.combobox.single/schema.ts": __vite_glob_0_36,
|
|
99680
|
+
"../fields/2026-06-20/com.shwfed.form.field.tabs/schema.ts": __vite_glob_0_37
|
|
99564
99681
|
});
|
|
99565
99682
|
const configModules$1 = /* @__PURE__ */ Object.assign({
|
|
99566
99683
|
"../fields/2026-04-22/com.shwfed.form.field.markdown/config.vue": __vite_glob_2_9,
|
|
@@ -99599,7 +99716,8 @@ const configModules$1 = /* @__PURE__ */ Object.assign({
|
|
|
99599
99716
|
"../fields/2026-05-28/com.shwfed.form.field.tree.single/config.vue": __vite_glob_2_9,
|
|
99600
99717
|
"../fields/2026-06-09/com.shwfed.form.field.upload/config.vue": __vite_glob_2_9,
|
|
99601
99718
|
"../fields/2026-06-14/com.shwfed.form.field.combobox.multi/config.vue": __vite_glob_2_9,
|
|
99602
|
-
"../fields/2026-06-14/com.shwfed.form.field.combobox.single/config.vue": __vite_glob_2_9
|
|
99719
|
+
"../fields/2026-06-14/com.shwfed.form.field.combobox.single/config.vue": __vite_glob_2_9,
|
|
99720
|
+
"../fields/2026-06-20/com.shwfed.form.field.tabs/config.vue": __vite_glob_2_9
|
|
99603
99721
|
});
|
|
99604
99722
|
const runtimeModules$1 = /* @__PURE__ */ Object.assign({
|
|
99605
99723
|
"../fields/2026-04-22/com.shwfed.form.field.markdown/runtime.vue": __vite_glob_2_9,
|
|
@@ -99638,7 +99756,8 @@ const runtimeModules$1 = /* @__PURE__ */ Object.assign({
|
|
|
99638
99756
|
"../fields/2026-05-28/com.shwfed.form.field.tree.single/runtime.vue": __vite_glob_2_9,
|
|
99639
99757
|
"../fields/2026-06-09/com.shwfed.form.field.upload/runtime.vue": __vite_glob_2_9,
|
|
99640
99758
|
"../fields/2026-06-14/com.shwfed.form.field.combobox.multi/runtime.vue": __vite_glob_2_9,
|
|
99641
|
-
"../fields/2026-06-14/com.shwfed.form.field.combobox.single/runtime.vue": __vite_glob_2_9
|
|
99759
|
+
"../fields/2026-06-14/com.shwfed.form.field.combobox.single/runtime.vue": __vite_glob_2_9,
|
|
99760
|
+
"../fields/2026-06-20/com.shwfed.form.field.tabs/runtime.vue": __vite_glob_2_9
|
|
99642
99761
|
});
|
|
99643
99762
|
const sourceKey = (type2, compatibilityDate2) => `${type2}@${compatibilityDate2}`;
|
|
99644
99763
|
const registry$1 = defineRegistry({
|
|
@@ -99787,7 +99906,7 @@ function FormConfig(configure) {
|
|
|
99787
99906
|
const InitialStruct = Struct({
|
|
99788
99907
|
request: optional(CelInitialRequest.annotations({
|
|
99789
99908
|
title: "请求",
|
|
99790
|
-
description: md`
|
|
99909
|
+
description: md$1`
|
|
99791
99910
|
可选的 HTTP 请求表达式:返回 \`HttpRequest\`,运行时由宿主发起,并把响应体作为 \`json\` 传给「数据」表达式。
|
|
99792
99911
|
|
|
99793
99912
|
留空时「数据」直接对 CEL 上下文求值(静态默认值,或引用 \`form\` 的表达式)。
|
|
@@ -99795,7 +99914,7 @@ function FormConfig(configure) {
|
|
|
99795
99914
|
})),
|
|
99796
99915
|
data: CelInitialData.annotations({
|
|
99797
99916
|
title: "数据",
|
|
99798
|
-
description: md`
|
|
99917
|
+
description: md$1`
|
|
99799
99918
|
返回整个表单初始值的 CEL 表达式(应为一个对象):
|
|
99800
99919
|
|
|
99801
99920
|
- 可以互相依赖,但应避免循环引用。考虑一个含「用户名」与「用户角色」的表单:可默认填入当前登入人的用户名,再以此为依据填入其默认角色。
|
|
@@ -99830,7 +99949,7 @@ function FormConfig(configure) {
|
|
|
99830
99949
|
})),
|
|
99831
99950
|
readonly: optional(CelFormReadonly.annotations({
|
|
99832
99951
|
title: "只读条件",
|
|
99833
|
-
description: md`
|
|
99952
|
+
description: md$1`
|
|
99834
99953
|
返回 \`true\` 时整个表单切到只读:所有字段以纯文本展示、不可编辑。
|
|
99835
99954
|
|
|
99836
99955
|
可访问 \`form\` 当前状态,因此可让表单按数据自锁——例如 \`form.status == 'submitted'\`,新建时可填、载入已提交的记录后只读。
|