@shwfed/config 2.3.27 → 2.3.28
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 +1211 -701
- package/dist/module.json +1 -1
- package/dist/preview/assets/{config-C45AT0tt.js → config--PcXQV_r.js} +1 -1
- package/dist/preview/assets/{config-CXaH7a2G.js → config-5KVDXgUF.js} +1 -1
- package/dist/preview/assets/{config-CIcy6Jwg.js → config-B5avpKJE.js} +1 -1
- package/dist/preview/assets/{config-l3KurfL5.js → config-CJHPt8Gx.js} +1 -1
- package/dist/preview/assets/{config-D-i-AFgH.js → config-CNo3isHa.js} +1 -1
- package/dist/preview/assets/{config-DrpESRR5.js → config-CQHS6cZe.js} +1 -1
- package/dist/preview/assets/{config-Bv_hUugV.js → config-D0_1yZdF.js} +1 -1
- package/dist/preview/assets/{config-D0YS2Bpj.js → config-DDfTl9Cs.js} +1 -1
- package/dist/preview/assets/{config-CRqRJ0oF.js → config-fvkC2rB8.js} +1 -1
- package/dist/preview/assets/{definition.vue_vue_type_script_setup_true_lang-Ck8Pbwem.js → definition.vue_vue_type_script_setup_true_lang-RM-qDh0R.js} +1 -1
- package/dist/preview/assets/index-DNd8J9Zv.js +643 -0
- package/dist/preview/assets/index-DrIMqXAa.js +1 -0
- package/dist/preview/assets/index-a2QwAots.css +1 -0
- package/dist/preview/assets/{runtime-CvuGnDIa.js → runtime-BGTWf-O7.js} +1 -1
- package/dist/preview/assets/{runtime-tobnPKdV.js → runtime-BPjZQmcY.js} +1 -1
- package/dist/preview/assets/{runtime-DUyUjFqF.js → runtime-Bq3fmxeF.js} +1 -1
- package/dist/preview/assets/{runtime-z_QPMN-R.js → runtime-CCbyrqQT.js} +1 -1
- package/dist/preview/assets/{runtime-D42ecZyC.js → runtime-C_XX6a0C.js} +1 -1
- package/dist/preview/assets/{runtime-D6twt5H_.js → runtime-CtqwtTE_.js} +1 -1
- package/dist/preview/assets/{runtime-CmCvUWLV.js → runtime-DcrzodsN.js} +1 -1
- package/dist/preview/assets/{runtime-Df715bRA.js → runtime-Dr_10emf.js} +1 -1
- package/dist/preview/assets/{runtime-BSASeqgI.js → runtime-Dy4ZmQ-n.js} +1 -1
- package/dist/preview/index.html +2 -2
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.tabs/config.d.vue.ts +2 -0
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.tabs/config.vue +57 -3
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.tabs/config.vue.d.ts +2 -0
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.tabs/runtime.d.vue.ts +2 -0
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.tabs/runtime.vue +1 -0
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.tabs/runtime.vue.d.ts +2 -0
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.tabs/schema.d.ts +2 -0
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.tabs/schema.js +4 -0
- package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/config.d.vue.ts +4 -4
- package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/config.vue.d.ts +4 -4
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/config.d.vue.ts +127 -0
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/config.vue +593 -0
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/config.vue.d.ts +127 -0
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/runtime.d.vue.ts +8 -0
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/runtime.vue +465 -0
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/runtime.vue.d.ts +8 -0
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/schema.d.ts +95 -0
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/schema.js +112 -0
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/config.d.vue.ts +125 -0
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/config.vue +525 -0
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/config.vue.d.ts +125 -0
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/runtime.d.vue.ts +8 -0
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/runtime.vue +460 -0
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/runtime.vue.d.ts +8 -0
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/schema.d.ts +92 -0
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/schema.js +104 -0
- package/dist/runtime/components/form/fields/2026-05-26/tree-combobox-shared.d.ts +35 -0
- package/dist/runtime/components/form/fields/2026-05-26/tree-combobox-shared.js +31 -0
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +131 -0
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/config.vue +607 -0
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +131 -0
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/runtime.d.vue.ts +9 -0
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/runtime.vue +447 -0
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/runtime.vue.d.ts +9 -0
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/schema.d.ts +90 -0
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/schema.js +143 -0
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +129 -0
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/config.vue +538 -0
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +129 -0
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/runtime.d.vue.ts +9 -0
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/runtime.vue +429 -0
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/runtime.vue.d.ts +9 -0
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/schema.d.ts +87 -0
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/schema.js +135 -0
- package/dist/runtime/components/table/columns/2026-05-27/tree-combobox-shared.d.ts +35 -0
- package/dist/runtime/components/table/columns/2026-05-27/tree-combobox-shared.js +31 -0
- package/dist/runtime/components/table/config.vue +29 -0
- package/dist/runtime/components/ui/tree/Tree.d.vue.ts +2 -0
- package/dist/runtime/components/ui/tree/Tree.vue +7 -2
- package/dist/runtime/components/ui/tree/Tree.vue.d.ts +2 -0
- package/dist/runtime/components/ui/tree/TreeNode.vue +16 -26
- package/package.json +1 -1
- package/dist/preview/assets/index-BCE-G4Ha.css +0 -1
- package/dist/preview/assets/index-C3Ycah5_.js +0 -643
- package/dist/preview/assets/index-hWT4_I5k.js +0 -1
package/dist/mcp.mjs
CHANGED
|
@@ -14094,13 +14094,13 @@ function requireDataType() {
|
|
|
14094
14094
|
}
|
|
14095
14095
|
return dataType;
|
|
14096
14096
|
}
|
|
14097
|
-
var defaults$
|
|
14097
|
+
var defaults$d = {};
|
|
14098
14098
|
var hasRequiredDefaults;
|
|
14099
14099
|
function requireDefaults() {
|
|
14100
|
-
if (hasRequiredDefaults) return defaults$
|
|
14100
|
+
if (hasRequiredDefaults) return defaults$d;
|
|
14101
14101
|
hasRequiredDefaults = 1;
|
|
14102
|
-
Object.defineProperty(defaults$
|
|
14103
|
-
defaults$
|
|
14102
|
+
Object.defineProperty(defaults$d, "__esModule", { value: true });
|
|
14103
|
+
defaults$d.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$d.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$d;
|
|
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$16 = "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$16,
|
|
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$15 = {};
|
|
18520
18520
|
var hasRequiredMetadata;
|
|
18521
18521
|
function requireMetadata() {
|
|
18522
|
-
if (hasRequiredMetadata) return metadata$
|
|
18522
|
+
if (hasRequiredMetadata) return metadata$15;
|
|
18523
18523
|
hasRequiredMetadata = 1;
|
|
18524
|
-
Object.defineProperty(metadata$
|
|
18525
|
-
metadata$
|
|
18526
|
-
metadata$
|
|
18524
|
+
Object.defineProperty(metadata$15, "__esModule", { value: true });
|
|
18525
|
+
metadata$15.contentVocabulary = metadata$15.metadataVocabulary = void 0;
|
|
18526
|
+
metadata$15.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$15.contentVocabulary = [
|
|
18536
18536
|
"contentMediaType",
|
|
18537
18537
|
"contentEncoding",
|
|
18538
18538
|
"contentSchema"
|
|
18539
18539
|
];
|
|
18540
|
-
return metadata$
|
|
18540
|
+
return metadata$15;
|
|
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$15 = ["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$15,
|
|
18694
18694
|
properties,
|
|
18695
18695
|
"default": true
|
|
18696
18696
|
};
|
|
@@ -81490,13 +81490,13 @@ function md(...args2) {
|
|
|
81490
81490
|
const indent = (original.startsWith("\n") ? original.slice(1) : original).split("\n", 1)[0]?.match(/^(\s*)/)?.[1]?.length ?? 0;
|
|
81491
81491
|
return original.trim().replaceAll("\\`", "`").split("\n").map((line) => line.replace(new RegExp(`^${String.raw`\s`.repeat(indent)}`), "")).join("\n");
|
|
81492
81492
|
}
|
|
81493
|
-
const type$
|
|
81494
|
-
const compatibilityDate$
|
|
81495
|
-
const metadata$
|
|
81493
|
+
const type$14 = "com.shwfed.actions.button.http.request.json.confirm";
|
|
81494
|
+
const compatibilityDate$14 = "2026-04-18";
|
|
81495
|
+
const metadata$14 = {
|
|
81496
81496
|
name: "网络请求(JSON + 确认)",
|
|
81497
81497
|
icon: "fluent:shield-checkmark-20-regular"
|
|
81498
81498
|
};
|
|
81499
|
-
function schema$
|
|
81499
|
+
function schema$14(configure) {
|
|
81500
81500
|
const CelHttpRequest = Expression({ configure, resultType: "HttpRequest" });
|
|
81501
81501
|
const CelMessage = Expression({
|
|
81502
81502
|
configure: (env) => {
|
|
@@ -81508,8 +81508,8 @@ function schema$10(configure) {
|
|
|
81508
81508
|
resultType: "string"
|
|
81509
81509
|
});
|
|
81510
81510
|
return Struct({
|
|
81511
|
-
type: Literal2(type$
|
|
81512
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
81511
|
+
type: Literal2(type$14),
|
|
81512
|
+
compatibilityDate: Literal2(compatibilityDate$14),
|
|
81513
81513
|
expression: CelHttpRequest.annotations({
|
|
81514
81514
|
title: "请求",
|
|
81515
81515
|
description: md`
|
|
@@ -81567,18 +81567,18 @@ function schema$10(configure) {
|
|
|
81567
81567
|
}
|
|
81568
81568
|
const __vite_glob_0_0$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
81569
81569
|
__proto__: null,
|
|
81570
|
-
compatibilityDate: compatibilityDate$
|
|
81571
|
-
metadata: metadata$
|
|
81572
|
-
schema: schema$
|
|
81573
|
-
type: type$
|
|
81570
|
+
compatibilityDate: compatibilityDate$14,
|
|
81571
|
+
metadata: metadata$14,
|
|
81572
|
+
schema: schema$14,
|
|
81573
|
+
type: type$14
|
|
81574
81574
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
81575
|
-
const type
|
|
81576
|
-
const compatibilityDate
|
|
81577
|
-
const metadata
|
|
81575
|
+
const type$13 = "com.shwfed.actions.button.http.request.json";
|
|
81576
|
+
const compatibilityDate$13 = "2026-04-18";
|
|
81577
|
+
const metadata$13 = {
|
|
81578
81578
|
name: "网络请求(JSON)",
|
|
81579
81579
|
icon: "fluent:cloud-arrow-up-20-regular"
|
|
81580
81580
|
};
|
|
81581
|
-
function schema
|
|
81581
|
+
function schema$13(configure) {
|
|
81582
81582
|
const CelHttpRequest = Expression({ configure, resultType: "HttpRequest" });
|
|
81583
81583
|
const CelMessage = Expression({
|
|
81584
81584
|
configure: (env) => {
|
|
@@ -81590,8 +81590,8 @@ function schema$$(configure) {
|
|
|
81590
81590
|
resultType: "string"
|
|
81591
81591
|
});
|
|
81592
81592
|
return Struct({
|
|
81593
|
-
type: Literal2(type
|
|
81594
|
-
compatibilityDate: Literal2(compatibilityDate
|
|
81593
|
+
type: Literal2(type$13),
|
|
81594
|
+
compatibilityDate: Literal2(compatibilityDate$13),
|
|
81595
81595
|
expression: CelHttpRequest.annotations({
|
|
81596
81596
|
title: "请求",
|
|
81597
81597
|
description: md`
|
|
@@ -81637,21 +81637,21 @@ function schema$$(configure) {
|
|
|
81637
81637
|
}
|
|
81638
81638
|
const __vite_glob_0_1$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
81639
81639
|
__proto__: null,
|
|
81640
|
-
compatibilityDate: compatibilityDate
|
|
81641
|
-
metadata: metadata
|
|
81642
|
-
schema: schema
|
|
81643
|
-
type: type
|
|
81640
|
+
compatibilityDate: compatibilityDate$13,
|
|
81641
|
+
metadata: metadata$13,
|
|
81642
|
+
schema: schema$13,
|
|
81643
|
+
type: type$13
|
|
81644
81644
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
81645
|
-
const type$
|
|
81646
|
-
const compatibilityDate$
|
|
81647
|
-
const metadata$
|
|
81645
|
+
const type$12 = "com.shwfed.actions.button.prototype";
|
|
81646
|
+
const compatibilityDate$12 = "2026-04-18";
|
|
81647
|
+
const metadata$12 = {
|
|
81648
81648
|
name: "原型",
|
|
81649
81649
|
icon: "fluent:predictions-20-regular"
|
|
81650
81650
|
};
|
|
81651
|
-
function schema$
|
|
81651
|
+
function schema$12(_configure) {
|
|
81652
81652
|
return Struct({
|
|
81653
|
-
type: Literal2(type$
|
|
81654
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
81653
|
+
type: Literal2(type$12),
|
|
81654
|
+
compatibilityDate: Literal2(compatibilityDate$12)
|
|
81655
81655
|
}).annotations({
|
|
81656
81656
|
title: "PrototypeAction",
|
|
81657
81657
|
description: "点击无副作用的原型按钮,可被一次性转换为其它类型"
|
|
@@ -81659,23 +81659,23 @@ function schema$_(_configure) {
|
|
|
81659
81659
|
}
|
|
81660
81660
|
const __vite_glob_0_2$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
81661
81661
|
__proto__: null,
|
|
81662
|
-
compatibilityDate: compatibilityDate$
|
|
81663
|
-
metadata: metadata$
|
|
81664
|
-
schema: schema$
|
|
81665
|
-
type: type$
|
|
81662
|
+
compatibilityDate: compatibilityDate$12,
|
|
81663
|
+
metadata: metadata$12,
|
|
81664
|
+
schema: schema$12,
|
|
81665
|
+
type: type$12
|
|
81666
81666
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
81667
|
-
const type$
|
|
81668
|
-
const compatibilityDate$
|
|
81669
|
-
const metadata$
|
|
81667
|
+
const type$11 = "com.shwfed.actions.button.navigation";
|
|
81668
|
+
const compatibilityDate$11 = "2026-04-21";
|
|
81669
|
+
const metadata$11 = {
|
|
81670
81670
|
name: "导航",
|
|
81671
81671
|
icon: "fluent:link-20-regular"
|
|
81672
81672
|
};
|
|
81673
81673
|
const Mode = Literal2("_self", "_blank");
|
|
81674
|
-
function schema$
|
|
81674
|
+
function schema$11(configure) {
|
|
81675
81675
|
const CelUrl = Expression({ configure, resultType: "string" });
|
|
81676
81676
|
return Struct({
|
|
81677
|
-
type: Literal2(type$
|
|
81678
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
81677
|
+
type: Literal2(type$11),
|
|
81678
|
+
compatibilityDate: Literal2(compatibilityDate$11),
|
|
81679
81679
|
url: CelUrl.annotations({
|
|
81680
81680
|
title: "链接",
|
|
81681
81681
|
description: "点击后将打开的链接,返回 `string`"
|
|
@@ -81691,10 +81691,10 @@ function schema$Z(configure) {
|
|
|
81691
81691
|
}
|
|
81692
81692
|
const __vite_glob_0_3$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
81693
81693
|
__proto__: null,
|
|
81694
|
-
compatibilityDate: compatibilityDate$
|
|
81695
|
-
metadata: metadata$
|
|
81696
|
-
schema: schema$
|
|
81697
|
-
type: type$
|
|
81694
|
+
compatibilityDate: compatibilityDate$11,
|
|
81695
|
+
metadata: metadata$11,
|
|
81696
|
+
schema: schema$11,
|
|
81697
|
+
type: type$11
|
|
81698
81698
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
81699
81699
|
const TrackCount = Number$.pipe(int(), positive());
|
|
81700
81700
|
const GridCoord = Number$.pipe(int(), positive());
|
|
@@ -81830,9 +81830,9 @@ function registerBlockRef(configure, ref2) {
|
|
|
81830
81830
|
function lookupBlockRef(configure) {
|
|
81831
81831
|
return blockRefCache.get(configure);
|
|
81832
81832
|
}
|
|
81833
|
-
const type$
|
|
81834
|
-
const compatibilityDate$
|
|
81835
|
-
const metadata$
|
|
81833
|
+
const type$10 = "com.shwfed.actions.button.modal.layout";
|
|
81834
|
+
const compatibilityDate$10 = "2026-05-11";
|
|
81835
|
+
const metadata$10 = {
|
|
81836
81836
|
name: "模态窗口",
|
|
81837
81837
|
icon: "fluent:window-edit-20-regular",
|
|
81838
81838
|
drillable: true,
|
|
@@ -81843,12 +81843,12 @@ const metadata$Y = {
|
|
|
81843
81843
|
const CssLength = String$.pipe(
|
|
81844
81844
|
filter((s) => s.trim().length > 0 || "不能为空字符串")
|
|
81845
81845
|
);
|
|
81846
|
-
function schema$
|
|
81846
|
+
function schema$10(configure) {
|
|
81847
81847
|
const blockUnion = lookupBlockRef(configure) ?? Unknown;
|
|
81848
81848
|
const ModalSlot = Slot(blockUnion, configure);
|
|
81849
81849
|
return Struct({
|
|
81850
|
-
type: Literal2(type$
|
|
81851
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
81850
|
+
type: Literal2(type$10),
|
|
81851
|
+
compatibilityDate: Literal2(compatibilityDate$10),
|
|
81852
81852
|
modalTitle: optional(Locale.annotations({
|
|
81853
81853
|
title: "弹窗标题",
|
|
81854
81854
|
description: "弹窗顶部展示的本地化标题,支持行内 Markdown;不填则回退使用按钮自身的名称"
|
|
@@ -81877,22 +81877,22 @@ function defaultBody$6() {
|
|
|
81877
81877
|
}
|
|
81878
81878
|
const __vite_glob_0_4$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
81879
81879
|
__proto__: null,
|
|
81880
|
-
compatibilityDate: compatibilityDate$
|
|
81880
|
+
compatibilityDate: compatibilityDate$10,
|
|
81881
81881
|
defaultBody: defaultBody$6,
|
|
81882
|
-
metadata: metadata$
|
|
81883
|
-
schema: schema$
|
|
81884
|
-
type: type$
|
|
81882
|
+
metadata: metadata$10,
|
|
81883
|
+
schema: schema$10,
|
|
81884
|
+
type: type$10
|
|
81885
81885
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
81886
|
-
const type
|
|
81887
|
-
const compatibilityDate
|
|
81888
|
-
const metadata
|
|
81886
|
+
const type$$ = "com.shwfed.actions.button.event.dispatch";
|
|
81887
|
+
const compatibilityDate$$ = "2026-05-15";
|
|
81888
|
+
const metadata$$ = {
|
|
81889
81889
|
name: "触发事件",
|
|
81890
81890
|
icon: "fluent:flash-20-regular"
|
|
81891
81891
|
};
|
|
81892
|
-
function schema
|
|
81892
|
+
function schema$$(_configure) {
|
|
81893
81893
|
return Struct({
|
|
81894
|
-
type: Literal2(type
|
|
81895
|
-
compatibilityDate: Literal2(compatibilityDate
|
|
81894
|
+
type: Literal2(type$$),
|
|
81895
|
+
compatibilityDate: Literal2(compatibilityDate$$),
|
|
81896
81896
|
// This button's entire behaviour: the op-requests it bubbles up the
|
|
81897
81897
|
// component tree on click. Stored on the button itself — there is no
|
|
81898
81898
|
// host-level trigger field any more.
|
|
@@ -81903,14 +81903,14 @@ function schema$X(_configure) {
|
|
|
81903
81903
|
}
|
|
81904
81904
|
const __vite_glob_0_5$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
81905
81905
|
__proto__: null,
|
|
81906
|
-
compatibilityDate: compatibilityDate
|
|
81907
|
-
metadata: metadata
|
|
81908
|
-
schema: schema
|
|
81909
|
-
type: type
|
|
81906
|
+
compatibilityDate: compatibilityDate$$,
|
|
81907
|
+
metadata: metadata$$,
|
|
81908
|
+
schema: schema$$,
|
|
81909
|
+
type: type$$
|
|
81910
81910
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
81911
|
-
const type$
|
|
81912
|
-
const compatibilityDate$
|
|
81913
|
-
const metadata$
|
|
81911
|
+
const type$_ = "com.shwfed.actions.button.http.download";
|
|
81912
|
+
const compatibilityDate$_ = "2026-05-21";
|
|
81913
|
+
const metadata$_ = {
|
|
81914
81914
|
name: "下载文件",
|
|
81915
81915
|
icon: "fluent:arrow-download-20-regular"
|
|
81916
81916
|
};
|
|
@@ -81925,13 +81925,13 @@ function configureWithJson$2(configure) {
|
|
|
81925
81925
|
env.registerVariable("json", JSON_VAR$4.type, { description: JSON_VAR$4.description });
|
|
81926
81926
|
};
|
|
81927
81927
|
}
|
|
81928
|
-
function schema$
|
|
81928
|
+
function schema$_(configure) {
|
|
81929
81929
|
const CelHttpRequest = Expression({ configure, resultType: "HttpRequest" });
|
|
81930
81930
|
const CelDownloadRequest = Expression({ configure: configureWithJson$2(configure), resultType: "HttpRequest" });
|
|
81931
81931
|
const CelMessage = Expression({ configure: configureWithJson$2(configure), resultType: "string" });
|
|
81932
81932
|
return Struct({
|
|
81933
|
-
type: Literal2(type$
|
|
81934
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
81933
|
+
type: Literal2(type$_),
|
|
81934
|
+
compatibilityDate: Literal2(compatibilityDate$_),
|
|
81935
81935
|
template: Struct({
|
|
81936
81936
|
request: CelHttpRequest.annotations({
|
|
81937
81937
|
title: "请求",
|
|
@@ -81994,25 +81994,25 @@ function schema$W(configure) {
|
|
|
81994
81994
|
const __vite_glob_0_6$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
81995
81995
|
__proto__: null,
|
|
81996
81996
|
JSON_VAR: JSON_VAR$4,
|
|
81997
|
-
compatibilityDate: compatibilityDate$
|
|
81998
|
-
metadata: metadata$
|
|
81999
|
-
schema: schema$
|
|
82000
|
-
type: type$
|
|
81997
|
+
compatibilityDate: compatibilityDate$_,
|
|
81998
|
+
metadata: metadata$_,
|
|
81999
|
+
schema: schema$_,
|
|
82000
|
+
type: type$_
|
|
82001
82001
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
82002
|
-
const type$
|
|
82003
|
-
const compatibilityDate$
|
|
82004
|
-
const metadata$
|
|
82002
|
+
const type$Z = "com.shwfed.actions.button.state.write";
|
|
82003
|
+
const compatibilityDate$Z = "2026-05-24";
|
|
82004
|
+
const metadata$Z = {
|
|
82005
82005
|
name: "写入表单状态",
|
|
82006
82006
|
icon: "fluent:document-edit-20-regular"
|
|
82007
82007
|
};
|
|
82008
|
-
function schema$
|
|
82008
|
+
function schema$Z(configure) {
|
|
82009
82009
|
const CelRecord = Expression({
|
|
82010
82010
|
configure,
|
|
82011
82011
|
resultType: (t) => t === "dyn" || t.startsWith("map")
|
|
82012
82012
|
});
|
|
82013
82013
|
return Struct({
|
|
82014
|
-
type: Literal2(type$
|
|
82015
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
82014
|
+
type: Literal2(type$Z),
|
|
82015
|
+
compatibilityDate: Literal2(compatibilityDate$Z),
|
|
82016
82016
|
expression: CelRecord.annotations({
|
|
82017
82017
|
title: "写入值",
|
|
82018
82018
|
description: md`
|
|
@@ -82032,25 +82032,25 @@ function schema$V(configure) {
|
|
|
82032
82032
|
}
|
|
82033
82033
|
const __vite_glob_0_7$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
82034
82034
|
__proto__: null,
|
|
82035
|
-
compatibilityDate: compatibilityDate$
|
|
82036
|
-
metadata: metadata$
|
|
82037
|
-
schema: schema$
|
|
82038
|
-
type: type$
|
|
82035
|
+
compatibilityDate: compatibilityDate$Z,
|
|
82036
|
+
metadata: metadata$Z,
|
|
82037
|
+
schema: schema$Z,
|
|
82038
|
+
type: type$Z
|
|
82039
82039
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
82040
|
-
const type$
|
|
82041
|
-
const compatibilityDate$
|
|
82042
|
-
const metadata$
|
|
82040
|
+
const type$Y = "com.shwfed.actions.item.markdown";
|
|
82041
|
+
const compatibilityDate$Y = "2026-05-21";
|
|
82042
|
+
const metadata$Y = {
|
|
82043
82043
|
name: "内联 Markdown",
|
|
82044
82044
|
icon: "fluent:markdown-20-regular"
|
|
82045
82045
|
};
|
|
82046
|
-
function schema$
|
|
82046
|
+
function schema$Y(_configure) {
|
|
82047
82047
|
return Struct({
|
|
82048
82048
|
id: UUID.annotations({ description: "Markdown 项唯一标识" }),
|
|
82049
82049
|
// Present when the item sits at group level; absent when it lives as a
|
|
82050
82050
|
// dropdown sub-item (the parent is the dropdown itself).
|
|
82051
82051
|
groupId: optional(UUID.annotations({ description: "所属按钮组标识" })),
|
|
82052
|
-
type: Literal2(type$
|
|
82053
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
82052
|
+
type: Literal2(type$Y),
|
|
82053
|
+
compatibilityDate: Literal2(compatibilityDate$Y),
|
|
82054
82054
|
name: String$.annotations({
|
|
82055
82055
|
title: "内部名称",
|
|
82056
82056
|
description: "仅用于编辑器内识别该 Markdown 项,不会展示给最终用户"
|
|
@@ -82066,10 +82066,10 @@ function schema$U(_configure) {
|
|
|
82066
82066
|
}
|
|
82067
82067
|
const __vite_glob_3_0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
82068
82068
|
__proto__: null,
|
|
82069
|
-
compatibilityDate: compatibilityDate$
|
|
82070
|
-
metadata: metadata$
|
|
82071
|
-
schema: schema$
|
|
82072
|
-
type: type$
|
|
82069
|
+
compatibilityDate: compatibilityDate$Y,
|
|
82070
|
+
metadata: metadata$Y,
|
|
82071
|
+
schema: schema$Y,
|
|
82072
|
+
type: type$Y
|
|
82073
82073
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
82074
82074
|
function defineRegistry(options) {
|
|
82075
82075
|
const {
|
|
@@ -82441,20 +82441,20 @@ function defaultActionsConfig() {
|
|
|
82441
82441
|
items: []
|
|
82442
82442
|
};
|
|
82443
82443
|
}
|
|
82444
|
-
const type$
|
|
82445
|
-
const compatibilityDate$
|
|
82446
|
-
const metadata$
|
|
82444
|
+
const type$X = "com.shwfed.block.actions";
|
|
82445
|
+
const compatibilityDate$X = "2026-05-06";
|
|
82446
|
+
const metadata$X = {
|
|
82447
82447
|
name: "操作按钮",
|
|
82448
82448
|
icon: "fluent:cursor-click-20-regular",
|
|
82449
82449
|
w: { initial: 8, min: 8, max: Infinity },
|
|
82450
82450
|
h: { initial: 2, min: 2, max: Infinity }
|
|
82451
82451
|
};
|
|
82452
|
-
function schema$
|
|
82452
|
+
function schema$X(configure, _blockRef) {
|
|
82453
82453
|
const ActionsSchema = ActionsConfig(configure);
|
|
82454
82454
|
return Struct({
|
|
82455
82455
|
id: UUID.annotations({ description: "块唯一标识" }),
|
|
82456
|
-
type: tag(type$
|
|
82457
|
-
compatibilityDate: tag(compatibilityDate$
|
|
82456
|
+
type: tag(type$X),
|
|
82457
|
+
compatibilityDate: tag(compatibilityDate$X),
|
|
82458
82458
|
actions: ActionsSchema.annotations({
|
|
82459
82459
|
title: "操作按钮配置",
|
|
82460
82460
|
description: "内嵌的 Actions 组件配置"
|
|
@@ -82469,11 +82469,11 @@ function defaultBody$5() {
|
|
|
82469
82469
|
}
|
|
82470
82470
|
const __vite_glob_0_0$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
82471
82471
|
__proto__: null,
|
|
82472
|
-
compatibilityDate: compatibilityDate$
|
|
82472
|
+
compatibilityDate: compatibilityDate$X,
|
|
82473
82473
|
defaultBody: defaultBody$5,
|
|
82474
|
-
metadata: metadata$
|
|
82475
|
-
schema: schema$
|
|
82476
|
-
type: type$
|
|
82474
|
+
metadata: metadata$X,
|
|
82475
|
+
schema: schema$X,
|
|
82476
|
+
type: type$X
|
|
82477
82477
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
82478
82478
|
function commonFieldFields(configure) {
|
|
82479
82479
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
@@ -82520,18 +82520,18 @@ function derivedField(configure, resultType) {
|
|
|
82520
82520
|
})
|
|
82521
82521
|
);
|
|
82522
82522
|
}
|
|
82523
|
-
const type$
|
|
82524
|
-
const compatibilityDate$
|
|
82525
|
-
const metadata$
|
|
82523
|
+
const type$W = "com.shwfed.form.field.markdown";
|
|
82524
|
+
const compatibilityDate$W = "2026-04-22";
|
|
82525
|
+
const metadata$W = {
|
|
82526
82526
|
name: "Markdown",
|
|
82527
82527
|
icon: "fluent:markdown-20-regular",
|
|
82528
82528
|
w: { initial: 8, min: 2, max: Infinity },
|
|
82529
82529
|
h: { initial: 2, min: 2, max: Infinity }
|
|
82530
82530
|
};
|
|
82531
|
-
function schema$
|
|
82531
|
+
function schema$W(configure) {
|
|
82532
82532
|
return Struct({
|
|
82533
|
-
type: Literal2(type$
|
|
82534
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
82533
|
+
type: Literal2(type$W),
|
|
82534
|
+
compatibilityDate: Literal2(compatibilityDate$W),
|
|
82535
82535
|
...commonFieldFields(configure),
|
|
82536
82536
|
content: Locale.annotations({
|
|
82537
82537
|
title: "内容",
|
|
@@ -82544,24 +82544,24 @@ function schema$S(configure) {
|
|
|
82544
82544
|
}
|
|
82545
82545
|
const __vite_glob_0_0$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
82546
82546
|
__proto__: null,
|
|
82547
|
-
compatibilityDate: compatibilityDate$
|
|
82548
|
-
metadata: metadata$
|
|
82549
|
-
schema: schema$
|
|
82550
|
-
type: type$
|
|
82547
|
+
compatibilityDate: compatibilityDate$W,
|
|
82548
|
+
metadata: metadata$W,
|
|
82549
|
+
schema: schema$W,
|
|
82550
|
+
type: type$W
|
|
82551
82551
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
82552
|
-
const type$
|
|
82553
|
-
const compatibilityDate$
|
|
82554
|
-
const metadata$
|
|
82552
|
+
const type$V = "com.shwfed.form.field.text";
|
|
82553
|
+
const compatibilityDate$V = "2026-04-22";
|
|
82554
|
+
const metadata$V = {
|
|
82555
82555
|
name: "文本输入",
|
|
82556
82556
|
icon: "fluent:text-field-20-regular",
|
|
82557
82557
|
w: { initial: 8, min: 4, max: Infinity },
|
|
82558
82558
|
h: { initial: 2, min: 2, max: 2 }
|
|
82559
82559
|
};
|
|
82560
|
-
function schema$
|
|
82560
|
+
function schema$V(configure) {
|
|
82561
82561
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
82562
82562
|
return Struct({
|
|
82563
|
-
type: Literal2(type$
|
|
82564
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
82563
|
+
type: Literal2(type$V),
|
|
82564
|
+
compatibilityDate: Literal2(compatibilityDate$V),
|
|
82565
82565
|
...commonFieldFields(configure),
|
|
82566
82566
|
label: optional(Locale.annotations({
|
|
82567
82567
|
title: "标签",
|
|
@@ -82596,24 +82596,24 @@ function schema$R(configure) {
|
|
|
82596
82596
|
}
|
|
82597
82597
|
const __vite_glob_0_1$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
82598
82598
|
__proto__: null,
|
|
82599
|
-
compatibilityDate: compatibilityDate$
|
|
82600
|
-
metadata: metadata$
|
|
82601
|
-
schema: schema$
|
|
82602
|
-
type: type$
|
|
82599
|
+
compatibilityDate: compatibilityDate$V,
|
|
82600
|
+
metadata: metadata$V,
|
|
82601
|
+
schema: schema$V,
|
|
82602
|
+
type: type$V
|
|
82603
82603
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
82604
|
-
const type$
|
|
82605
|
-
const compatibilityDate$
|
|
82606
|
-
const metadata$
|
|
82604
|
+
const type$U = "com.shwfed.form.field.textarea";
|
|
82605
|
+
const compatibilityDate$U = "2026-04-22";
|
|
82606
|
+
const metadata$U = {
|
|
82607
82607
|
name: "多行文本输入",
|
|
82608
82608
|
icon: "fluent:text-description-20-regular",
|
|
82609
82609
|
w: { initial: 8, min: 4, max: Infinity },
|
|
82610
82610
|
h: { initial: 3, min: 2, max: Infinity, grow: true }
|
|
82611
82611
|
};
|
|
82612
|
-
function schema$
|
|
82612
|
+
function schema$U(configure) {
|
|
82613
82613
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
82614
82614
|
return Struct({
|
|
82615
|
-
type: Literal2(type$
|
|
82616
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
82615
|
+
type: Literal2(type$U),
|
|
82616
|
+
compatibilityDate: Literal2(compatibilityDate$U),
|
|
82617
82617
|
...commonFieldFields(configure),
|
|
82618
82618
|
label: optional(Locale.annotations({
|
|
82619
82619
|
title: "标签",
|
|
@@ -82652,25 +82652,25 @@ function schema$Q(configure) {
|
|
|
82652
82652
|
}
|
|
82653
82653
|
const __vite_glob_0_2$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
82654
82654
|
__proto__: null,
|
|
82655
|
-
compatibilityDate: compatibilityDate$
|
|
82656
|
-
metadata: metadata$
|
|
82657
|
-
schema: schema$
|
|
82658
|
-
type: type$
|
|
82655
|
+
compatibilityDate: compatibilityDate$U,
|
|
82656
|
+
metadata: metadata$U,
|
|
82657
|
+
schema: schema$U,
|
|
82658
|
+
type: type$U
|
|
82659
82659
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
82660
|
-
const type$
|
|
82661
|
-
const compatibilityDate$
|
|
82662
|
-
const metadata$
|
|
82660
|
+
const type$T = "com.shwfed.form.field.actions";
|
|
82661
|
+
const compatibilityDate$T = "2026-04-24";
|
|
82662
|
+
const metadata$T = {
|
|
82663
82663
|
name: "操作",
|
|
82664
82664
|
icon: "fluent:cursor-click-20-regular",
|
|
82665
82665
|
w: { initial: 8, min: 4, max: Infinity },
|
|
82666
82666
|
h: { initial: 2, min: 2, max: Infinity }
|
|
82667
82667
|
};
|
|
82668
|
-
function schema$
|
|
82668
|
+
function schema$T(configure) {
|
|
82669
82669
|
const { fields: actionFields } = ActionSchemaFields(configure);
|
|
82670
82670
|
const { size: _size, groups, items: items2, ...rest } = actionFields;
|
|
82671
82671
|
return Struct({
|
|
82672
|
-
type: Literal2(type$
|
|
82673
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
82672
|
+
type: Literal2(type$T),
|
|
82673
|
+
compatibilityDate: Literal2(compatibilityDate$T),
|
|
82674
82674
|
...commonFieldFields(configure),
|
|
82675
82675
|
...rest,
|
|
82676
82676
|
// Form's add-field factory creates new fields with only { type, compatibilityDate, id },
|
|
@@ -82684,14 +82684,14 @@ function schema$P(configure) {
|
|
|
82684
82684
|
}
|
|
82685
82685
|
const __vite_glob_0_3$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
82686
82686
|
__proto__: null,
|
|
82687
|
-
compatibilityDate: compatibilityDate$
|
|
82688
|
-
metadata: metadata$
|
|
82689
|
-
schema: schema$
|
|
82690
|
-
type: type$
|
|
82687
|
+
compatibilityDate: compatibilityDate$T,
|
|
82688
|
+
metadata: metadata$T,
|
|
82689
|
+
schema: schema$T,
|
|
82690
|
+
type: type$T
|
|
82691
82691
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
82692
|
-
const type$
|
|
82693
|
-
const compatibilityDate$
|
|
82694
|
-
const metadata$
|
|
82692
|
+
const type$S = "com.shwfed.form.field.combobox.single";
|
|
82693
|
+
const compatibilityDate$S = "2026-04-24";
|
|
82694
|
+
const metadata$S = {
|
|
82695
82695
|
name: "下拉单选",
|
|
82696
82696
|
icon: "fluent:chevron-down-20-regular",
|
|
82697
82697
|
w: { initial: 8, min: 4, max: Infinity },
|
|
@@ -82704,14 +82704,14 @@ function configureWithOption$2(configure) {
|
|
|
82704
82704
|
};
|
|
82705
82705
|
}
|
|
82706
82706
|
const isListType$9 = (actual) => actual === "dyn" || actual.startsWith("list");
|
|
82707
|
-
function schema$
|
|
82707
|
+
function schema$S(configure) {
|
|
82708
82708
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
82709
82709
|
const CelOptions = Expression({ configure, resultType: isListType$9 });
|
|
82710
82710
|
const CelOptionValue = Expression({ configure: configureWithOption$2(configure), resultType: "dyn" });
|
|
82711
82711
|
const LocaleOptionLabel = LocaleMarkdown({ configure: configureWithOption$2(configure) });
|
|
82712
82712
|
return Struct({
|
|
82713
|
-
type: Literal2(type$
|
|
82714
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
82713
|
+
type: Literal2(type$S),
|
|
82714
|
+
compatibilityDate: Literal2(compatibilityDate$S),
|
|
82715
82715
|
...commonFieldFields(configure),
|
|
82716
82716
|
label: optional(Locale.annotations({
|
|
82717
82717
|
title: "标签",
|
|
@@ -82758,14 +82758,14 @@ function schema$O(configure) {
|
|
|
82758
82758
|
}
|
|
82759
82759
|
const __vite_glob_0_4$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
82760
82760
|
__proto__: null,
|
|
82761
|
-
compatibilityDate: compatibilityDate$
|
|
82762
|
-
metadata: metadata$
|
|
82763
|
-
schema: schema$
|
|
82764
|
-
type: type$
|
|
82761
|
+
compatibilityDate: compatibilityDate$S,
|
|
82762
|
+
metadata: metadata$S,
|
|
82763
|
+
schema: schema$S,
|
|
82764
|
+
type: type$S
|
|
82765
82765
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
82766
|
-
const type$
|
|
82767
|
-
const compatibilityDate$
|
|
82768
|
-
const metadata$
|
|
82766
|
+
const type$R = "com.shwfed.form.field.date";
|
|
82767
|
+
const compatibilityDate$R = "2026-04-27";
|
|
82768
|
+
const metadata$R = {
|
|
82769
82769
|
name: "日期",
|
|
82770
82770
|
icon: "fluent:calendar-ltr-20-regular",
|
|
82771
82771
|
w: { initial: 8, min: 4, max: Infinity },
|
|
@@ -82787,12 +82787,12 @@ function presetSchema$5(configure) {
|
|
|
82787
82787
|
title: "DateFieldPreset"
|
|
82788
82788
|
});
|
|
82789
82789
|
}
|
|
82790
|
-
function schema$
|
|
82790
|
+
function schema$R(configure) {
|
|
82791
82791
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
82792
82792
|
const Preset = presetSchema$5(configure);
|
|
82793
82793
|
return Struct({
|
|
82794
|
-
type: Literal2(type$
|
|
82795
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
82794
|
+
type: Literal2(type$R),
|
|
82795
|
+
compatibilityDate: Literal2(compatibilityDate$R),
|
|
82796
82796
|
...commonFieldFields(configure),
|
|
82797
82797
|
label: optional(Locale.annotations({
|
|
82798
82798
|
title: "标签",
|
|
@@ -82839,14 +82839,14 @@ function schema$N(configure) {
|
|
|
82839
82839
|
}
|
|
82840
82840
|
const __vite_glob_0_5$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
82841
82841
|
__proto__: null,
|
|
82842
|
-
compatibilityDate: compatibilityDate$
|
|
82843
|
-
metadata: metadata$
|
|
82842
|
+
compatibilityDate: compatibilityDate$R,
|
|
82843
|
+
metadata: metadata$R,
|
|
82844
82844
|
presetSchema: presetSchema$5,
|
|
82845
|
-
schema: schema$
|
|
82846
|
-
type: type$
|
|
82845
|
+
schema: schema$R,
|
|
82846
|
+
type: type$R
|
|
82847
82847
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
82848
|
-
const type$
|
|
82849
|
-
const compatibilityDate$
|
|
82848
|
+
const type$Q = "com.shwfed.form.field.daterange";
|
|
82849
|
+
const compatibilityDate$Q = "2026-04-27";
|
|
82850
82850
|
const BindingPath$4 = String$.pipe(minLength(1));
|
|
82851
82851
|
const SplitBinding$4 = Tuple(BindingPath$4, BindingPath$4).pipe(
|
|
82852
82852
|
filter(([a, b]) => a !== b, {
|
|
@@ -82857,7 +82857,7 @@ const bindingSchema$4 = Union2(BindingPath$4, SplitBinding$4).annotations({
|
|
|
82857
82857
|
title: "绑定路径",
|
|
82858
82858
|
description: "写入表单状态的 `dot-prop` 路径;填写单个路径时写入 `[start, end]` 字符串数组,例如 `event.range`;填写 `[起始路径, 结束路径]` 元组时分别写入两端;留空则为非受控字段"
|
|
82859
82859
|
});
|
|
82860
|
-
const metadata$
|
|
82860
|
+
const metadata$Q = {
|
|
82861
82861
|
name: "日期范围",
|
|
82862
82862
|
icon: "fluent:calendar-arrow-right-20-regular",
|
|
82863
82863
|
w: { initial: 10, min: 10, max: Infinity },
|
|
@@ -82883,12 +82883,12 @@ function presetSchema$4(configure) {
|
|
|
82883
82883
|
title: "DateRangeFieldPreset"
|
|
82884
82884
|
});
|
|
82885
82885
|
}
|
|
82886
|
-
function schema$
|
|
82886
|
+
function schema$Q(configure) {
|
|
82887
82887
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
82888
82888
|
const Preset = presetSchema$4(configure);
|
|
82889
82889
|
return Struct({
|
|
82890
|
-
type: Literal2(type$
|
|
82891
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
82890
|
+
type: Literal2(type$Q),
|
|
82891
|
+
compatibilityDate: Literal2(compatibilityDate$Q),
|
|
82892
82892
|
...commonFieldFields(configure),
|
|
82893
82893
|
label: optional(Locale.annotations({
|
|
82894
82894
|
title: "标签",
|
|
@@ -82942,21 +82942,21 @@ function schema$M(configure) {
|
|
|
82942
82942
|
description: "日期范围选择输入"
|
|
82943
82943
|
});
|
|
82944
82944
|
}
|
|
82945
|
-
function defaults$
|
|
82945
|
+
function defaults$c() {
|
|
82946
82946
|
return { rangeSeparatorIcon: "fluent:arrow-right-20-regular" };
|
|
82947
82947
|
}
|
|
82948
82948
|
const __vite_glob_0_6$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
82949
82949
|
__proto__: null,
|
|
82950
|
-
compatibilityDate: compatibilityDate$
|
|
82951
|
-
defaults: defaults$
|
|
82952
|
-
metadata: metadata$
|
|
82950
|
+
compatibilityDate: compatibilityDate$Q,
|
|
82951
|
+
defaults: defaults$c,
|
|
82952
|
+
metadata: metadata$Q,
|
|
82953
82953
|
presetSchema: presetSchema$4,
|
|
82954
|
-
schema: schema$
|
|
82955
|
-
type: type$
|
|
82954
|
+
schema: schema$Q,
|
|
82955
|
+
type: type$Q
|
|
82956
82956
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
82957
|
-
const type$
|
|
82958
|
-
const compatibilityDate$
|
|
82959
|
-
const metadata$
|
|
82957
|
+
const type$P = "com.shwfed.form.field.datetime";
|
|
82958
|
+
const compatibilityDate$P = "2026-04-27";
|
|
82959
|
+
const metadata$P = {
|
|
82960
82960
|
name: "日期时间",
|
|
82961
82961
|
icon: "fluent:calendar-clock-20-regular",
|
|
82962
82962
|
w: { initial: 8, min: 4, max: Infinity },
|
|
@@ -82988,12 +82988,12 @@ function presetSchema$3(configure) {
|
|
|
82988
82988
|
title: "DateTimeFieldPreset"
|
|
82989
82989
|
});
|
|
82990
82990
|
}
|
|
82991
|
-
function schema$
|
|
82991
|
+
function schema$P(configure) {
|
|
82992
82992
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
82993
82993
|
const Preset = presetSchema$3(configure);
|
|
82994
82994
|
return Struct({
|
|
82995
|
-
type: Literal2(type$
|
|
82996
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
82995
|
+
type: Literal2(type$P),
|
|
82996
|
+
compatibilityDate: Literal2(compatibilityDate$P),
|
|
82997
82997
|
...commonFieldFields(configure),
|
|
82998
82998
|
label: optional(Locale.annotations({
|
|
82999
82999
|
title: "标签",
|
|
@@ -83051,14 +83051,14 @@ const __vite_glob_0_7$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
|
|
|
83051
83051
|
HOUR_CYCLE_OPTIONS: HOUR_CYCLE_OPTIONS$3,
|
|
83052
83052
|
TIME_GRANULARITIES: TIME_GRANULARITIES$3,
|
|
83053
83053
|
TIME_GRANULARITY_OPTIONS: TIME_GRANULARITY_OPTIONS$3,
|
|
83054
|
-
compatibilityDate: compatibilityDate$
|
|
83055
|
-
metadata: metadata$
|
|
83054
|
+
compatibilityDate: compatibilityDate$P,
|
|
83055
|
+
metadata: metadata$P,
|
|
83056
83056
|
presetSchema: presetSchema$3,
|
|
83057
|
-
schema: schema$
|
|
83058
|
-
type: type$
|
|
83057
|
+
schema: schema$P,
|
|
83058
|
+
type: type$P
|
|
83059
83059
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
83060
|
-
const type$
|
|
83061
|
-
const compatibilityDate$
|
|
83060
|
+
const type$O = "com.shwfed.form.field.datetimerange";
|
|
83061
|
+
const compatibilityDate$O = "2026-04-27";
|
|
83062
83062
|
const BindingPath$3 = String$.pipe(minLength(1));
|
|
83063
83063
|
const SplitBinding$3 = Tuple(BindingPath$3, BindingPath$3).pipe(
|
|
83064
83064
|
filter(([a, b]) => a !== b, {
|
|
@@ -83069,7 +83069,7 @@ const bindingSchema$3 = Union2(BindingPath$3, SplitBinding$3).annotations({
|
|
|
83069
83069
|
title: "绑定路径",
|
|
83070
83070
|
description: "写入表单状态的 `dot-prop` 路径;填写单个路径时写入 `[start, end]` 字符串数组,例如 `event.range`;填写 `[起始路径, 结束路径]` 元组时分别写入两端;留空则为非受控字段"
|
|
83071
83071
|
});
|
|
83072
|
-
const metadata$
|
|
83072
|
+
const metadata$O = {
|
|
83073
83073
|
name: "日期时间范围",
|
|
83074
83074
|
icon: "fluent:calendar-clock-20-regular",
|
|
83075
83075
|
w: { initial: 14, min: 14, max: Infinity },
|
|
@@ -83105,12 +83105,12 @@ function presetSchema$2(configure) {
|
|
|
83105
83105
|
title: "DateTimeRangeFieldPreset"
|
|
83106
83106
|
});
|
|
83107
83107
|
}
|
|
83108
|
-
function schema$
|
|
83108
|
+
function schema$O(configure) {
|
|
83109
83109
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
83110
83110
|
const Preset = presetSchema$2(configure);
|
|
83111
83111
|
return Struct({
|
|
83112
|
-
type: Literal2(type$
|
|
83113
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
83112
|
+
type: Literal2(type$O),
|
|
83113
|
+
compatibilityDate: Literal2(compatibilityDate$O),
|
|
83114
83114
|
...commonFieldFields(configure),
|
|
83115
83115
|
label: optional(Locale.annotations({
|
|
83116
83116
|
title: "标签",
|
|
@@ -83172,7 +83172,7 @@ function schema$K(configure) {
|
|
|
83172
83172
|
description: "日期时间范围选择输入"
|
|
83173
83173
|
});
|
|
83174
83174
|
}
|
|
83175
|
-
function defaults$
|
|
83175
|
+
function defaults$b() {
|
|
83176
83176
|
return { rangeSeparatorIcon: "fluent:arrow-right-20-regular" };
|
|
83177
83177
|
}
|
|
83178
83178
|
const __vite_glob_0_8$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -83180,16 +83180,16 @@ const __vite_glob_0_8$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
|
|
|
83180
83180
|
HOUR_CYCLE_OPTIONS: HOUR_CYCLE_OPTIONS$2,
|
|
83181
83181
|
TIME_GRANULARITIES: TIME_GRANULARITIES$2,
|
|
83182
83182
|
TIME_GRANULARITY_OPTIONS: TIME_GRANULARITY_OPTIONS$2,
|
|
83183
|
-
compatibilityDate: compatibilityDate$
|
|
83184
|
-
defaults: defaults$
|
|
83185
|
-
metadata: metadata$
|
|
83183
|
+
compatibilityDate: compatibilityDate$O,
|
|
83184
|
+
defaults: defaults$b,
|
|
83185
|
+
metadata: metadata$O,
|
|
83186
83186
|
presetSchema: presetSchema$2,
|
|
83187
|
-
schema: schema$
|
|
83188
|
-
type: type$
|
|
83187
|
+
schema: schema$O,
|
|
83188
|
+
type: type$O
|
|
83189
83189
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
83190
|
-
const type$
|
|
83191
|
-
const compatibilityDate$
|
|
83192
|
-
const metadata$
|
|
83190
|
+
const type$N = "com.shwfed.form.field.time";
|
|
83191
|
+
const compatibilityDate$N = "2026-04-27";
|
|
83192
|
+
const metadata$N = {
|
|
83193
83193
|
name: "时间",
|
|
83194
83194
|
icon: "fluent:clock-20-regular",
|
|
83195
83195
|
w: { initial: 8, min: 4, max: Infinity },
|
|
@@ -83205,11 +83205,11 @@ const HOUR_CYCLE_OPTIONS$1 = [
|
|
|
83205
83205
|
{ value: 24, label: "24 小时制" },
|
|
83206
83206
|
{ value: 12, label: "12 小时制" }
|
|
83207
83207
|
];
|
|
83208
|
-
function schema$
|
|
83208
|
+
function schema$N(configure) {
|
|
83209
83209
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
83210
83210
|
return Struct({
|
|
83211
|
-
type: Literal2(type$
|
|
83212
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
83211
|
+
type: Literal2(type$N),
|
|
83212
|
+
compatibilityDate: Literal2(compatibilityDate$N),
|
|
83213
83213
|
...commonFieldFields(configure),
|
|
83214
83214
|
label: optional(Locale.annotations({
|
|
83215
83215
|
title: "标签",
|
|
@@ -83255,13 +83255,13 @@ const __vite_glob_0_9$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
|
|
|
83255
83255
|
HOUR_CYCLE_OPTIONS: HOUR_CYCLE_OPTIONS$1,
|
|
83256
83256
|
TIME_GRANULARITIES: TIME_GRANULARITIES$1,
|
|
83257
83257
|
TIME_GRANULARITY_OPTIONS: TIME_GRANULARITY_OPTIONS$1,
|
|
83258
|
-
compatibilityDate: compatibilityDate$
|
|
83259
|
-
metadata: metadata$
|
|
83260
|
-
schema: schema$
|
|
83261
|
-
type: type$
|
|
83258
|
+
compatibilityDate: compatibilityDate$N,
|
|
83259
|
+
metadata: metadata$N,
|
|
83260
|
+
schema: schema$N,
|
|
83261
|
+
type: type$N
|
|
83262
83262
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
83263
|
-
const type$
|
|
83264
|
-
const compatibilityDate$
|
|
83263
|
+
const type$M = "com.shwfed.form.field.timerange";
|
|
83264
|
+
const compatibilityDate$M = "2026-04-27";
|
|
83265
83265
|
const BindingPath$2 = String$.pipe(minLength(1));
|
|
83266
83266
|
const SplitBinding$2 = Tuple(BindingPath$2, BindingPath$2).pipe(
|
|
83267
83267
|
filter(([a, b]) => a !== b, {
|
|
@@ -83272,7 +83272,7 @@ const bindingSchema$2 = Union2(BindingPath$2, SplitBinding$2).annotations({
|
|
|
83272
83272
|
title: "绑定路径",
|
|
83273
83273
|
description: "写入表单状态的 `dot-prop` 路径;填写单个路径时写入 `[start, end]` 字符串数组,例如 `meeting.timeRange`;填写 `[起始路径, 结束路径]` 元组时分别写入两端;留空则为非受控字段"
|
|
83274
83274
|
});
|
|
83275
|
-
const metadata$
|
|
83275
|
+
const metadata$M = {
|
|
83276
83276
|
name: "时间范围",
|
|
83277
83277
|
icon: "fluent:clock-arrow-download-20-regular",
|
|
83278
83278
|
w: { initial: 14, min: 14, max: Infinity },
|
|
@@ -83288,11 +83288,11 @@ const HOUR_CYCLE_OPTIONS = [
|
|
|
83288
83288
|
{ value: 24, label: "24 小时制" },
|
|
83289
83289
|
{ value: 12, label: "12 小时制" }
|
|
83290
83290
|
];
|
|
83291
|
-
function schema$
|
|
83291
|
+
function schema$M(configure) {
|
|
83292
83292
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
83293
83293
|
return Struct({
|
|
83294
|
-
type: Literal2(type$
|
|
83295
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
83294
|
+
type: Literal2(type$M),
|
|
83295
|
+
compatibilityDate: Literal2(compatibilityDate$M),
|
|
83296
83296
|
...commonFieldFields(configure),
|
|
83297
83297
|
label: optional(Locale.annotations({
|
|
83298
83298
|
title: "标签",
|
|
@@ -83334,7 +83334,7 @@ function schema$I(configure) {
|
|
|
83334
83334
|
description: "时间范围选择输入"
|
|
83335
83335
|
});
|
|
83336
83336
|
}
|
|
83337
|
-
function defaults$
|
|
83337
|
+
function defaults$a() {
|
|
83338
83338
|
return { rangeSeparatorIcon: "fluent:arrow-right-20-regular" };
|
|
83339
83339
|
}
|
|
83340
83340
|
const __vite_glob_0_10$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -83342,26 +83342,26 @@ const __vite_glob_0_10$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.
|
|
|
83342
83342
|
HOUR_CYCLE_OPTIONS,
|
|
83343
83343
|
TIME_GRANULARITIES,
|
|
83344
83344
|
TIME_GRANULARITY_OPTIONS,
|
|
83345
|
-
compatibilityDate: compatibilityDate$
|
|
83346
|
-
defaults: defaults$
|
|
83347
|
-
metadata: metadata$
|
|
83348
|
-
schema: schema$
|
|
83349
|
-
type: type$
|
|
83345
|
+
compatibilityDate: compatibilityDate$M,
|
|
83346
|
+
defaults: defaults$a,
|
|
83347
|
+
metadata: metadata$M,
|
|
83348
|
+
schema: schema$M,
|
|
83349
|
+
type: type$M
|
|
83350
83350
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
83351
|
-
const type$
|
|
83352
|
-
const compatibilityDate$
|
|
83353
|
-
const metadata$
|
|
83351
|
+
const type$L = "com.shwfed.form.field.number";
|
|
83352
|
+
const compatibilityDate$L = "2026-04-28";
|
|
83353
|
+
const metadata$L = {
|
|
83354
83354
|
name: "数值输入",
|
|
83355
83355
|
icon: "fluent:number-symbol-20-regular",
|
|
83356
83356
|
w: { initial: 8, min: 4, max: Infinity },
|
|
83357
83357
|
h: { initial: 2, min: 2, max: 2 }
|
|
83358
83358
|
};
|
|
83359
|
-
function schema$
|
|
83359
|
+
function schema$L(configure) {
|
|
83360
83360
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
83361
83361
|
const CelNumber = Expression({ configure, resultType: "number" });
|
|
83362
83362
|
return Struct({
|
|
83363
|
-
type: Literal2(type$
|
|
83364
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
83363
|
+
type: Literal2(type$L),
|
|
83364
|
+
compatibilityDate: Literal2(compatibilityDate$L),
|
|
83365
83365
|
...commonFieldFields(configure),
|
|
83366
83366
|
label: optional(Locale.annotations({
|
|
83367
83367
|
title: "标签",
|
|
@@ -83420,13 +83420,13 @@ function schema$H(configure) {
|
|
|
83420
83420
|
}
|
|
83421
83421
|
const __vite_glob_0_11$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
83422
83422
|
__proto__: null,
|
|
83423
|
-
compatibilityDate: compatibilityDate$
|
|
83424
|
-
metadata: metadata$
|
|
83425
|
-
schema: schema$
|
|
83426
|
-
type: type$
|
|
83423
|
+
compatibilityDate: compatibilityDate$L,
|
|
83424
|
+
metadata: metadata$L,
|
|
83425
|
+
schema: schema$L,
|
|
83426
|
+
type: type$L
|
|
83427
83427
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
83428
|
-
const type$
|
|
83429
|
-
const compatibilityDate$
|
|
83428
|
+
const type$K = "com.shwfed.form.field.numberrange";
|
|
83429
|
+
const compatibilityDate$K = "2026-04-28";
|
|
83430
83430
|
const BindingPath$1 = String$.pipe(minLength(1));
|
|
83431
83431
|
const SplitBinding$1 = Tuple(BindingPath$1, BindingPath$1).pipe(
|
|
83432
83432
|
filter(([a, b]) => a !== b, {
|
|
@@ -83437,18 +83437,18 @@ const bindingSchema$1 = Union2(BindingPath$1, SplitBinding$1).annotations({
|
|
|
83437
83437
|
title: "绑定路径",
|
|
83438
83438
|
description: "写入表单状态的 `dot-prop` 路径;填写单个路径时写入 `[start, end]` 数值数组,例如 `score.range`;填写 `[起始路径, 结束路径]` 元组时分别写入两端;留空则为非受控字段"
|
|
83439
83439
|
});
|
|
83440
|
-
const metadata$
|
|
83440
|
+
const metadata$K = {
|
|
83441
83441
|
name: "数值范围",
|
|
83442
83442
|
icon: "fluent:arrow-bidirectional-left-right-20-regular",
|
|
83443
83443
|
w: { initial: 8, min: 4, max: Infinity },
|
|
83444
83444
|
h: { initial: 2, min: 2, max: 2 }
|
|
83445
83445
|
};
|
|
83446
|
-
function schema$
|
|
83446
|
+
function schema$K(configure) {
|
|
83447
83447
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
83448
83448
|
const CelNumber = Expression({ configure, resultType: "number" });
|
|
83449
83449
|
return Struct({
|
|
83450
|
-
type: Literal2(type$
|
|
83451
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
83450
|
+
type: Literal2(type$K),
|
|
83451
|
+
compatibilityDate: Literal2(compatibilityDate$K),
|
|
83452
83452
|
...commonFieldFields(configure),
|
|
83453
83453
|
label: optional(Locale.annotations({
|
|
83454
83454
|
title: "标签",
|
|
@@ -83510,30 +83510,30 @@ function schema$G(configure) {
|
|
|
83510
83510
|
description: "数值范围输入"
|
|
83511
83511
|
});
|
|
83512
83512
|
}
|
|
83513
|
-
function defaults$
|
|
83513
|
+
function defaults$9() {
|
|
83514
83514
|
return { rangeSeparatorIcon: "fluent:arrow-right-20-regular" };
|
|
83515
83515
|
}
|
|
83516
83516
|
const __vite_glob_0_12$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
83517
83517
|
__proto__: null,
|
|
83518
|
-
compatibilityDate: compatibilityDate$
|
|
83519
|
-
defaults: defaults$
|
|
83520
|
-
metadata: metadata$
|
|
83521
|
-
schema: schema$
|
|
83522
|
-
type: type$
|
|
83518
|
+
compatibilityDate: compatibilityDate$K,
|
|
83519
|
+
defaults: defaults$9,
|
|
83520
|
+
metadata: metadata$K,
|
|
83521
|
+
schema: schema$K,
|
|
83522
|
+
type: type$K
|
|
83523
83523
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
83524
|
-
const type$
|
|
83525
|
-
const compatibilityDate$
|
|
83526
|
-
const metadata$
|
|
83524
|
+
const type$J = "com.shwfed.form.field.switch";
|
|
83525
|
+
const compatibilityDate$J = "2026-04-28";
|
|
83526
|
+
const metadata$J = {
|
|
83527
83527
|
name: "开关",
|
|
83528
83528
|
icon: "fluent:toggle-left-20-regular",
|
|
83529
83529
|
w: { initial: 4, min: 4, max: Infinity },
|
|
83530
83530
|
h: { initial: 2, min: 2, max: 2 }
|
|
83531
83531
|
};
|
|
83532
|
-
function schema$
|
|
83532
|
+
function schema$J(configure) {
|
|
83533
83533
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
83534
83534
|
return Struct({
|
|
83535
|
-
type: Literal2(type$
|
|
83536
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
83535
|
+
type: Literal2(type$J),
|
|
83536
|
+
compatibilityDate: Literal2(compatibilityDate$J),
|
|
83537
83537
|
...commonFieldFields(configure),
|
|
83538
83538
|
label: optional(Locale.annotations({
|
|
83539
83539
|
title: "标签",
|
|
@@ -83571,10 +83571,10 @@ function schema$F(configure) {
|
|
|
83571
83571
|
}
|
|
83572
83572
|
const __vite_glob_0_13$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
83573
83573
|
__proto__: null,
|
|
83574
|
-
compatibilityDate: compatibilityDate$
|
|
83575
|
-
metadata: metadata$
|
|
83576
|
-
schema: schema$
|
|
83577
|
-
type: type$
|
|
83574
|
+
compatibilityDate: compatibilityDate$J,
|
|
83575
|
+
metadata: metadata$J,
|
|
83576
|
+
schema: schema$J,
|
|
83577
|
+
type: type$J
|
|
83578
83578
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
83579
83579
|
const decodeCache = {};
|
|
83580
83580
|
function getDecodeCache(exclude2) {
|
|
@@ -88825,9 +88825,9 @@ function interpolateMarkdown(template, $cel, context2) {
|
|
|
88825
88825
|
}
|
|
88826
88826
|
});
|
|
88827
88827
|
}
|
|
88828
|
-
const type$
|
|
88829
|
-
const compatibilityDate$
|
|
88830
|
-
const metadata$
|
|
88828
|
+
const type$I = "com.shwfed.form.field.combobox.single";
|
|
88829
|
+
const compatibilityDate$I = "2026-04-29";
|
|
88830
|
+
const metadata$I = {
|
|
88831
88831
|
name: "下拉单选(硬编码)",
|
|
88832
88832
|
icon: "fluent:chevron-down-20-regular",
|
|
88833
88833
|
w: { initial: 8, min: 4, max: Infinity },
|
|
@@ -88862,12 +88862,12 @@ function itemSchema$a(configure) {
|
|
|
88862
88862
|
title: "ComboboxSingleItem"
|
|
88863
88863
|
});
|
|
88864
88864
|
}
|
|
88865
|
-
function schema$
|
|
88865
|
+
function schema$I(configure) {
|
|
88866
88866
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
88867
88867
|
const Item = itemSchema$a(configure);
|
|
88868
88868
|
return Struct({
|
|
88869
|
-
type: Literal2(type$
|
|
88870
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
88869
|
+
type: Literal2(type$I),
|
|
88870
|
+
compatibilityDate: Literal2(compatibilityDate$I),
|
|
88871
88871
|
...commonFieldFields(configure),
|
|
88872
88872
|
label: optional(Locale.annotations({
|
|
88873
88873
|
title: "标签",
|
|
@@ -88959,23 +88959,23 @@ const migrate$6 = (prev, ctx) => {
|
|
|
88959
88959
|
} = legacy;
|
|
88960
88960
|
return {
|
|
88961
88961
|
...carryover,
|
|
88962
|
-
compatibilityDate: compatibilityDate$
|
|
88962
|
+
compatibilityDate: compatibilityDate$I,
|
|
88963
88963
|
items: items2
|
|
88964
88964
|
};
|
|
88965
88965
|
});
|
|
88966
88966
|
};
|
|
88967
88967
|
const __vite_glob_0_14$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
88968
88968
|
__proto__: null,
|
|
88969
|
-
compatibilityDate: compatibilityDate$
|
|
88969
|
+
compatibilityDate: compatibilityDate$I,
|
|
88970
88970
|
itemSchema: itemSchema$a,
|
|
88971
|
-
metadata: metadata$
|
|
88971
|
+
metadata: metadata$I,
|
|
88972
88972
|
migrate: migrate$6,
|
|
88973
|
-
schema: schema$
|
|
88974
|
-
type: type$
|
|
88973
|
+
schema: schema$I,
|
|
88974
|
+
type: type$I
|
|
88975
88975
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
88976
|
-
const type$
|
|
88977
|
-
const compatibilityDate$
|
|
88978
|
-
const metadata$
|
|
88976
|
+
const type$H = "com.shwfed.form.field.upload";
|
|
88977
|
+
const compatibilityDate$H = "2026-05-12";
|
|
88978
|
+
const metadata$H = {
|
|
88979
88979
|
name: "文件上传",
|
|
88980
88980
|
icon: "fluent:cloud-arrow-up-20-regular",
|
|
88981
88981
|
w: { initial: 8, min: 8, max: Infinity },
|
|
@@ -88992,14 +88992,14 @@ function configureWithJson$1(configure) {
|
|
|
88992
88992
|
env.registerVariable("json", JSON_VAR$3.type, { description: JSON_VAR$3.description });
|
|
88993
88993
|
};
|
|
88994
88994
|
}
|
|
88995
|
-
function schema$
|
|
88995
|
+
function schema$H(configure) {
|
|
88996
88996
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
88997
88997
|
const CelHttpRequest = Expression({ configure, resultType: "HttpRequest" });
|
|
88998
88998
|
const CelDownloadRequest = Expression({ configure: configureWithJson$1(configure), resultType: "HttpRequest" });
|
|
88999
88999
|
const LocaleMd = LocaleMarkdown({ configure });
|
|
89000
89000
|
return Struct({
|
|
89001
|
-
type: Literal2(type$
|
|
89002
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
89001
|
+
type: Literal2(type$H),
|
|
89002
|
+
compatibilityDate: Literal2(compatibilityDate$H),
|
|
89003
89003
|
...commonFieldFields(configure),
|
|
89004
89004
|
label: optional(Locale.annotations({
|
|
89005
89005
|
title: "标签",
|
|
@@ -89079,14 +89079,14 @@ function schema$D(configure) {
|
|
|
89079
89079
|
const __vite_glob_0_15$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
89080
89080
|
__proto__: null,
|
|
89081
89081
|
JSON_VAR: JSON_VAR$3,
|
|
89082
|
-
compatibilityDate: compatibilityDate$
|
|
89083
|
-
metadata: metadata$
|
|
89084
|
-
schema: schema$
|
|
89085
|
-
type: type$
|
|
89082
|
+
compatibilityDate: compatibilityDate$H,
|
|
89083
|
+
metadata: metadata$H,
|
|
89084
|
+
schema: schema$H,
|
|
89085
|
+
type: type$H
|
|
89086
89086
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
89087
|
-
const type$
|
|
89088
|
-
const compatibilityDate$
|
|
89089
|
-
const metadata$
|
|
89087
|
+
const type$G = "com.shwfed.form.field.combobox.single.remote";
|
|
89088
|
+
const compatibilityDate$G = "2026-05-13";
|
|
89089
|
+
const metadata$G = {
|
|
89090
89090
|
name: "下拉单选(远程)",
|
|
89091
89091
|
icon: "fluent:cloud-arrow-down-20-regular",
|
|
89092
89092
|
w: { initial: 8, min: 4, max: Infinity },
|
|
@@ -89115,15 +89115,15 @@ function configureWithJson(configure) {
|
|
|
89115
89115
|
};
|
|
89116
89116
|
}
|
|
89117
89117
|
const isListType$8 = (actual) => actual === "dyn" || actual.startsWith("list");
|
|
89118
|
-
function schema$
|
|
89118
|
+
function schema$G(configure) {
|
|
89119
89119
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
89120
89120
|
const CelHttpRequest = Expression({ configure, resultType: "HttpRequest" });
|
|
89121
89121
|
const CelOptions = Expression({ configure: configureWithJson(configure), resultType: isListType$8 });
|
|
89122
89122
|
const CelOptionValue = Expression({ configure: configureWithOption$1(configure), resultType: "dyn" });
|
|
89123
89123
|
const LocaleOptionLabel = LocaleMarkdown({ configure: configureWithOption$1(configure) });
|
|
89124
89124
|
return Struct({
|
|
89125
|
-
type: Literal2(type$
|
|
89126
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
89125
|
+
type: Literal2(type$G),
|
|
89126
|
+
compatibilityDate: Literal2(compatibilityDate$G),
|
|
89127
89127
|
...commonFieldFields(configure),
|
|
89128
89128
|
label: optional(Locale.annotations({
|
|
89129
89129
|
title: "标签",
|
|
@@ -89176,20 +89176,20 @@ const __vite_glob_0_16$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.
|
|
|
89176
89176
|
__proto__: null,
|
|
89177
89177
|
JSON_VAR: JSON_VAR$2,
|
|
89178
89178
|
OPTION_VAR: OPTION_VAR$2,
|
|
89179
|
-
compatibilityDate: compatibilityDate$
|
|
89180
|
-
metadata: metadata$
|
|
89181
|
-
schema: schema$
|
|
89182
|
-
type: type$
|
|
89179
|
+
compatibilityDate: compatibilityDate$G,
|
|
89180
|
+
metadata: metadata$G,
|
|
89181
|
+
schema: schema$G,
|
|
89182
|
+
type: type$G
|
|
89183
89183
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
89184
|
-
const type$
|
|
89185
|
-
const compatibilityDate$
|
|
89186
|
-
const metadata$
|
|
89184
|
+
const type$F = "com.shwfed.form.field.list";
|
|
89185
|
+
const compatibilityDate$F = "2026-05-13";
|
|
89186
|
+
const metadata$F = {
|
|
89187
89187
|
name: "列表",
|
|
89188
89188
|
icon: "fluent:list-20-regular",
|
|
89189
89189
|
w: { initial: 12, min: 4, max: Infinity },
|
|
89190
89190
|
h: { initial: 6, min: 4, max: Infinity, grow: true }
|
|
89191
89191
|
};
|
|
89192
|
-
function schema$
|
|
89192
|
+
function schema$F(configure) {
|
|
89193
89193
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
89194
89194
|
const unitConfigure = (env) => {
|
|
89195
89195
|
configure(env);
|
|
@@ -89203,8 +89203,8 @@ function schema$B(configure) {
|
|
|
89203
89203
|
};
|
|
89204
89204
|
const Unit = suspend(() => FormUnit(unitConfigure));
|
|
89205
89205
|
return Struct({
|
|
89206
|
-
type: Literal2(type$
|
|
89207
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
89206
|
+
type: Literal2(type$F),
|
|
89207
|
+
compatibilityDate: Literal2(compatibilityDate$F),
|
|
89208
89208
|
...commonFieldFields(configure),
|
|
89209
89209
|
label: optional(Locale.annotations({
|
|
89210
89210
|
title: "标签",
|
|
@@ -89261,7 +89261,7 @@ function schema$B(configure) {
|
|
|
89261
89261
|
description: "可新增/删除/重排的同构子表单列表"
|
|
89262
89262
|
});
|
|
89263
89263
|
}
|
|
89264
|
-
function defaults$
|
|
89264
|
+
function defaults$8() {
|
|
89265
89265
|
return {
|
|
89266
89266
|
unit: {
|
|
89267
89267
|
fields: [],
|
|
@@ -89271,15 +89271,15 @@ function defaults$4() {
|
|
|
89271
89271
|
}
|
|
89272
89272
|
const __vite_glob_0_17$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
89273
89273
|
__proto__: null,
|
|
89274
|
-
compatibilityDate: compatibilityDate$
|
|
89275
|
-
defaults: defaults$
|
|
89276
|
-
metadata: metadata$
|
|
89277
|
-
schema: schema$
|
|
89278
|
-
type: type$
|
|
89274
|
+
compatibilityDate: compatibilityDate$F,
|
|
89275
|
+
defaults: defaults$8,
|
|
89276
|
+
metadata: metadata$F,
|
|
89277
|
+
schema: schema$F,
|
|
89278
|
+
type: type$F
|
|
89279
89279
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
89280
|
-
const type$
|
|
89281
|
-
const compatibilityDate$
|
|
89282
|
-
const metadata$
|
|
89280
|
+
const type$E = "com.shwfed.form.field.checkbox.group";
|
|
89281
|
+
const compatibilityDate$E = "2026-05-17";
|
|
89282
|
+
const metadata$E = {
|
|
89283
89283
|
name: "复选框组",
|
|
89284
89284
|
icon: "fluent:checkbox-checked-20-regular",
|
|
89285
89285
|
w: { initial: 8, min: 2, max: Infinity },
|
|
@@ -89314,12 +89314,12 @@ function itemSchema$9(configure) {
|
|
|
89314
89314
|
title: "CheckboxGroupItem"
|
|
89315
89315
|
});
|
|
89316
89316
|
}
|
|
89317
|
-
function schema$
|
|
89317
|
+
function schema$E(configure) {
|
|
89318
89318
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
89319
89319
|
const Item = itemSchema$9(configure);
|
|
89320
89320
|
return Struct({
|
|
89321
|
-
type: Literal2(type$
|
|
89322
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
89321
|
+
type: Literal2(type$E),
|
|
89322
|
+
compatibilityDate: Literal2(compatibilityDate$E),
|
|
89323
89323
|
...commonFieldFields(configure),
|
|
89324
89324
|
label: optional(Locale.annotations({
|
|
89325
89325
|
title: "标签",
|
|
@@ -89353,15 +89353,15 @@ function schema$A(configure) {
|
|
|
89353
89353
|
}
|
|
89354
89354
|
const __vite_glob_0_18$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
89355
89355
|
__proto__: null,
|
|
89356
|
-
compatibilityDate: compatibilityDate$
|
|
89356
|
+
compatibilityDate: compatibilityDate$E,
|
|
89357
89357
|
itemSchema: itemSchema$9,
|
|
89358
|
-
metadata: metadata$
|
|
89359
|
-
schema: schema$
|
|
89360
|
-
type: type$
|
|
89358
|
+
metadata: metadata$E,
|
|
89359
|
+
schema: schema$E,
|
|
89360
|
+
type: type$E
|
|
89361
89361
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
89362
|
-
const type$
|
|
89363
|
-
const compatibilityDate$
|
|
89364
|
-
const metadata$
|
|
89362
|
+
const type$D = "com.shwfed.form.field.radio.group";
|
|
89363
|
+
const compatibilityDate$D = "2026-05-17";
|
|
89364
|
+
const metadata$D = {
|
|
89365
89365
|
name: "单选框组",
|
|
89366
89366
|
icon: "fluent:radio-button-20-regular",
|
|
89367
89367
|
w: { initial: 8, min: 2, max: Infinity },
|
|
@@ -89396,12 +89396,12 @@ function itemSchema$8(configure) {
|
|
|
89396
89396
|
title: "RadioGroupItem"
|
|
89397
89397
|
});
|
|
89398
89398
|
}
|
|
89399
|
-
function schema$
|
|
89399
|
+
function schema$D(configure) {
|
|
89400
89400
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
89401
89401
|
const Item = itemSchema$8(configure);
|
|
89402
89402
|
return Struct({
|
|
89403
|
-
type: Literal2(type$
|
|
89404
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
89403
|
+
type: Literal2(type$D),
|
|
89404
|
+
compatibilityDate: Literal2(compatibilityDate$D),
|
|
89405
89405
|
...commonFieldFields(configure),
|
|
89406
89406
|
label: optional(Locale.annotations({
|
|
89407
89407
|
title: "标签",
|
|
@@ -89435,11 +89435,11 @@ function schema$z(configure) {
|
|
|
89435
89435
|
}
|
|
89436
89436
|
const __vite_glob_0_19$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
89437
89437
|
__proto__: null,
|
|
89438
|
-
compatibilityDate: compatibilityDate$
|
|
89438
|
+
compatibilityDate: compatibilityDate$D,
|
|
89439
89439
|
itemSchema: itemSchema$8,
|
|
89440
|
-
metadata: metadata$
|
|
89441
|
-
schema: schema$
|
|
89442
|
-
type: type$
|
|
89440
|
+
metadata: metadata$D,
|
|
89441
|
+
schema: schema$D,
|
|
89442
|
+
type: type$D
|
|
89443
89443
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
89444
89444
|
const matchIconName = /^[a-z0-9]+(-[a-z0-9]+)*$/;
|
|
89445
89445
|
const stringToIcon = (value, validate2, allowSimpleName, provider = "") => {
|
|
@@ -90923,14 +90923,14 @@ function LocaleMarkdownWithRow(configure) {
|
|
|
90923
90923
|
function derivedRowField(configure, resultType) {
|
|
90924
90924
|
return derivedField(configureWithRow(configure), resultType);
|
|
90925
90925
|
}
|
|
90926
|
-
const type$
|
|
90927
|
-
const compatibilityDate$
|
|
90928
|
-
const metadata$
|
|
90926
|
+
const type$C = "com.shwfed.table.column.actions";
|
|
90927
|
+
const compatibilityDate$C = "2026-04-14";
|
|
90928
|
+
const metadata$C = {
|
|
90929
90929
|
name: "操作",
|
|
90930
90930
|
icon: "fluent:cursor-click-20-regular"
|
|
90931
90931
|
};
|
|
90932
90932
|
const registerRowVariables = registerRowVariablesIfAbsent;
|
|
90933
|
-
function schema$
|
|
90933
|
+
function schema$C(configure) {
|
|
90934
90934
|
const configureWithRow2 = (env) => {
|
|
90935
90935
|
configure(env);
|
|
90936
90936
|
registerRowVariables(env);
|
|
@@ -90938,8 +90938,8 @@ function schema$y(configure) {
|
|
|
90938
90938
|
const { fields: actionFields } = ActionSchemaFields(configureWithRow2);
|
|
90939
90939
|
const { size: _buttonSize, ...actionFieldsForColumn } = actionFields;
|
|
90940
90940
|
return Struct({
|
|
90941
|
-
type: Literal2(type$
|
|
90942
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
90941
|
+
type: Literal2(type$C),
|
|
90942
|
+
compatibilityDate: Literal2(compatibilityDate$C),
|
|
90943
90943
|
...columnIdentityFields(),
|
|
90944
90944
|
title: optional(Locale.annotations({ title: "标题", description: "列标题" })),
|
|
90945
90945
|
size: optional(Number$.pipe(finite(), positive()).annotations({
|
|
@@ -90953,7 +90953,7 @@ function schema$y(configure) {
|
|
|
90953
90953
|
...actionFieldsForColumn
|
|
90954
90954
|
}).annotations({ title: "ActionsRenderer", description: "操作渲染器" });
|
|
90955
90955
|
}
|
|
90956
|
-
function toColumnDef$
|
|
90956
|
+
function toColumnDef$p(value, { getLocaleText }) {
|
|
90957
90957
|
return {
|
|
90958
90958
|
header: value.title ? getLocaleText(value.title) : void 0,
|
|
90959
90959
|
enableSorting: false,
|
|
@@ -90966,23 +90966,23 @@ function toColumnDef$n(value, { getLocaleText }) {
|
|
|
90966
90966
|
}
|
|
90967
90967
|
const __vite_glob_0_0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
90968
90968
|
__proto__: null,
|
|
90969
|
-
compatibilityDate: compatibilityDate$
|
|
90970
|
-
metadata: metadata$
|
|
90969
|
+
compatibilityDate: compatibilityDate$C,
|
|
90970
|
+
metadata: metadata$C,
|
|
90971
90971
|
registerRowVariables,
|
|
90972
|
-
schema: schema$
|
|
90973
|
-
toColumnDef: toColumnDef$
|
|
90974
|
-
type: type$
|
|
90972
|
+
schema: schema$C,
|
|
90973
|
+
toColumnDef: toColumnDef$p,
|
|
90974
|
+
type: type$C
|
|
90975
90975
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
90976
|
-
const type$
|
|
90977
|
-
const compatibilityDate$
|
|
90978
|
-
const metadata$
|
|
90976
|
+
const type$B = "com.shwfed.table.column.date";
|
|
90977
|
+
const compatibilityDate$B = "2026-04-14";
|
|
90978
|
+
const metadata$B = {
|
|
90979
90979
|
name: "日期",
|
|
90980
90980
|
icon: "fluent:calendar-ltr-20-regular"
|
|
90981
90981
|
};
|
|
90982
|
-
function schema$
|
|
90982
|
+
function schema$B(configure) {
|
|
90983
90983
|
return Struct({
|
|
90984
|
-
type: Literal2(type$
|
|
90985
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
90984
|
+
type: Literal2(type$B),
|
|
90985
|
+
compatibilityDate: Literal2(compatibilityDate$B),
|
|
90986
90986
|
...columnFields(configure),
|
|
90987
90987
|
align: optionalWith(Align.annotations({ title: "对齐" }), { default: () => "left" }),
|
|
90988
90988
|
format: String$.annotations({
|
|
@@ -90993,7 +90993,7 @@ function schema$x(configure) {
|
|
|
90993
90993
|
})
|
|
90994
90994
|
}).annotations({ title: "DateRenderer", description: "日期渲染器" });
|
|
90995
90995
|
}
|
|
90996
|
-
function toColumnDef$
|
|
90996
|
+
function toColumnDef$o(value, { getLocaleText, $cel, inheritedContext }) {
|
|
90997
90997
|
return {
|
|
90998
90998
|
header: getLocaleText(value.title),
|
|
90999
90999
|
accessorFn: (row, index) => {
|
|
@@ -91014,22 +91014,22 @@ function toColumnDef$m(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
91014
91014
|
}
|
|
91015
91015
|
const __vite_glob_0_1$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
91016
91016
|
__proto__: null,
|
|
91017
|
-
compatibilityDate: compatibilityDate$
|
|
91018
|
-
metadata: metadata$
|
|
91019
|
-
schema: schema$
|
|
91020
|
-
toColumnDef: toColumnDef$
|
|
91021
|
-
type: type$
|
|
91017
|
+
compatibilityDate: compatibilityDate$B,
|
|
91018
|
+
metadata: metadata$B,
|
|
91019
|
+
schema: schema$B,
|
|
91020
|
+
toColumnDef: toColumnDef$o,
|
|
91021
|
+
type: type$B
|
|
91022
91022
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
91023
|
-
const type$
|
|
91024
|
-
const compatibilityDate$
|
|
91025
|
-
const metadata$
|
|
91023
|
+
const type$A = "com.shwfed.table.column.icon";
|
|
91024
|
+
const compatibilityDate$A = "2026-04-14";
|
|
91025
|
+
const metadata$A = {
|
|
91026
91026
|
name: "图标",
|
|
91027
91027
|
icon: "fluent:shapes-20-regular"
|
|
91028
91028
|
};
|
|
91029
|
-
function schema$
|
|
91029
|
+
function schema$A(configure) {
|
|
91030
91030
|
return Struct({
|
|
91031
|
-
type: Literal2(type$
|
|
91032
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
91031
|
+
type: Literal2(type$A),
|
|
91032
|
+
compatibilityDate: Literal2(compatibilityDate$A),
|
|
91033
91033
|
...columnFields(configure),
|
|
91034
91034
|
accessor: CelRowAccess(configure).annotations({
|
|
91035
91035
|
title: "图标",
|
|
@@ -91044,7 +91044,7 @@ function schema$w(configure) {
|
|
|
91044
91044
|
align: optionalWith(Align.annotations({ title: "对齐" }), { default: () => "center" })
|
|
91045
91045
|
}).annotations({ title: "IconRenderer", description: "图标渲染器" });
|
|
91046
91046
|
}
|
|
91047
|
-
function toColumnDef$
|
|
91047
|
+
function toColumnDef$n(value, { getLocaleText, $cel, inheritedContext }) {
|
|
91048
91048
|
return {
|
|
91049
91049
|
header: getLocaleText(value.title),
|
|
91050
91050
|
accessorFn: (row, index) => {
|
|
@@ -91065,25 +91065,25 @@ function toColumnDef$l(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
91065
91065
|
}
|
|
91066
91066
|
const __vite_glob_0_2$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
91067
91067
|
__proto__: null,
|
|
91068
|
-
compatibilityDate: compatibilityDate$
|
|
91069
|
-
metadata: metadata$
|
|
91070
|
-
schema: schema$
|
|
91071
|
-
toColumnDef: toColumnDef$
|
|
91072
|
-
type: type$
|
|
91068
|
+
compatibilityDate: compatibilityDate$A,
|
|
91069
|
+
metadata: metadata$A,
|
|
91070
|
+
schema: schema$A,
|
|
91071
|
+
toColumnDef: toColumnDef$n,
|
|
91072
|
+
type: type$A
|
|
91073
91073
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
91074
|
-
const type$
|
|
91075
|
-
const compatibilityDate$
|
|
91076
|
-
const metadata$
|
|
91074
|
+
const type$z = "com.shwfed.table.column.markdown";
|
|
91075
|
+
const compatibilityDate$z = "2026-04-14";
|
|
91076
|
+
const metadata$z = {
|
|
91077
91077
|
name: "MD",
|
|
91078
91078
|
icon: "fluent:markdown-20-regular"
|
|
91079
91079
|
};
|
|
91080
91080
|
const isCopyExpressionType$1 = (t) => t === "string" || t === "dyn" || t.startsWith("optional");
|
|
91081
|
-
function schema$
|
|
91081
|
+
function schema$z(configure) {
|
|
91082
91082
|
const cel = CelRowAccess(configure, { resultType: isCopyExpressionType$1 });
|
|
91083
91083
|
const localeMarkdown = LocaleMarkdownWithRow(configure);
|
|
91084
91084
|
return Struct({
|
|
91085
|
-
type: Literal2(type$
|
|
91086
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
91085
|
+
type: Literal2(type$z),
|
|
91086
|
+
compatibilityDate: Literal2(compatibilityDate$z),
|
|
91087
91087
|
...columnIdentityFields(),
|
|
91088
91088
|
title: Locale.annotations({ title: "标题", description: "列标题" }),
|
|
91089
91089
|
align: optionalWith(Align.annotations({ title: "对齐" }), { default: () => "left" }),
|
|
@@ -91109,7 +91109,7 @@ function schema$v(configure) {
|
|
|
91109
91109
|
}))
|
|
91110
91110
|
}).annotations({ title: "MarkdownRenderer", description: "MD" });
|
|
91111
91111
|
}
|
|
91112
|
-
function toColumnDef$
|
|
91112
|
+
function toColumnDef$m(value, { getLocaleText }) {
|
|
91113
91113
|
return {
|
|
91114
91114
|
header: getLocaleText(value.title),
|
|
91115
91115
|
enableSorting: false,
|
|
@@ -91122,22 +91122,22 @@ function toColumnDef$k(value, { getLocaleText }) {
|
|
|
91122
91122
|
}
|
|
91123
91123
|
const __vite_glob_0_3$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
91124
91124
|
__proto__: null,
|
|
91125
|
-
compatibilityDate: compatibilityDate$
|
|
91126
|
-
metadata: metadata$
|
|
91127
|
-
schema: schema$
|
|
91128
|
-
toColumnDef: toColumnDef$
|
|
91129
|
-
type: type$
|
|
91125
|
+
compatibilityDate: compatibilityDate$z,
|
|
91126
|
+
metadata: metadata$z,
|
|
91127
|
+
schema: schema$z,
|
|
91128
|
+
toColumnDef: toColumnDef$m,
|
|
91129
|
+
type: type$z
|
|
91130
91130
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
91131
|
-
const type$
|
|
91132
|
-
const compatibilityDate$
|
|
91133
|
-
const metadata$
|
|
91131
|
+
const type$y = "com.shwfed.table.column.number";
|
|
91132
|
+
const compatibilityDate$y = "2026-04-14";
|
|
91133
|
+
const metadata$y = {
|
|
91134
91134
|
name: "数值",
|
|
91135
91135
|
icon: "fluent:number-symbol-20-regular"
|
|
91136
91136
|
};
|
|
91137
|
-
function schema$
|
|
91137
|
+
function schema$y(configure) {
|
|
91138
91138
|
return Struct({
|
|
91139
|
-
type: Literal2(type$
|
|
91140
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
91139
|
+
type: Literal2(type$y),
|
|
91140
|
+
compatibilityDate: Literal2(compatibilityDate$y),
|
|
91141
91141
|
...columnFields(configure),
|
|
91142
91142
|
align: optionalWith(Align.annotations({ title: "对齐" }), { default: () => "right" }),
|
|
91143
91143
|
displayMode: optionalWith(
|
|
@@ -91157,7 +91157,7 @@ function schema$u(configure) {
|
|
|
91157
91157
|
}))
|
|
91158
91158
|
}).annotations({ title: "NumberRenderer", description: "数值渲染器" });
|
|
91159
91159
|
}
|
|
91160
|
-
function toColumnDef$
|
|
91160
|
+
function toColumnDef$l(value, { getLocaleText, $cel, inheritedContext }) {
|
|
91161
91161
|
return {
|
|
91162
91162
|
header: getLocaleText(value.title),
|
|
91163
91163
|
accessorFn: (row, index) => {
|
|
@@ -91178,24 +91178,24 @@ function toColumnDef$j(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
91178
91178
|
}
|
|
91179
91179
|
const __vite_glob_0_4$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
91180
91180
|
__proto__: null,
|
|
91181
|
-
compatibilityDate: compatibilityDate$
|
|
91182
|
-
metadata: metadata$
|
|
91183
|
-
schema: schema$
|
|
91184
|
-
toColumnDef: toColumnDef$
|
|
91185
|
-
type: type$
|
|
91181
|
+
compatibilityDate: compatibilityDate$y,
|
|
91182
|
+
metadata: metadata$y,
|
|
91183
|
+
schema: schema$y,
|
|
91184
|
+
toColumnDef: toColumnDef$l,
|
|
91185
|
+
type: type$y
|
|
91186
91186
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
91187
91187
|
const __vite_glob_2_5 = {};
|
|
91188
91188
|
const _stubVue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
91189
91189
|
__proto__: null,
|
|
91190
91190
|
default: __vite_glob_2_5
|
|
91191
91191
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
91192
|
-
const type$
|
|
91193
|
-
const compatibilityDate$
|
|
91194
|
-
const metadata$
|
|
91192
|
+
const type$x = "com.shwfed.table.column.select";
|
|
91193
|
+
const compatibilityDate$x = "2026-04-14";
|
|
91194
|
+
const metadata$x = {
|
|
91195
91195
|
name: "选择",
|
|
91196
91196
|
icon: "fluent:checkbox-checked-20-regular"
|
|
91197
91197
|
};
|
|
91198
|
-
function schema$
|
|
91198
|
+
function schema$x(configure) {
|
|
91199
91199
|
const CelRowSelectionPredicate = Expression({
|
|
91200
91200
|
configure: (env) => {
|
|
91201
91201
|
configure(env);
|
|
@@ -91204,8 +91204,8 @@ function schema$t(configure) {
|
|
|
91204
91204
|
resultType: "bool"
|
|
91205
91205
|
});
|
|
91206
91206
|
return Struct({
|
|
91207
|
-
type: Literal2(type$
|
|
91208
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
91207
|
+
type: Literal2(type$x),
|
|
91208
|
+
compatibilityDate: Literal2(compatibilityDate$x),
|
|
91209
91209
|
...columnIdentityFields(),
|
|
91210
91210
|
mode: optionalWith(Literal2("radio", "checkbox").annotations({
|
|
91211
91211
|
title: "模式",
|
|
@@ -91225,7 +91225,7 @@ function schema$t(configure) {
|
|
|
91225
91225
|
})
|
|
91226
91226
|
}).annotations({ title: "SelectRenderer", description: "选择渲染器" });
|
|
91227
91227
|
}
|
|
91228
|
-
function toColumnDef$
|
|
91228
|
+
function toColumnDef$k(value) {
|
|
91229
91229
|
return {
|
|
91230
91230
|
header: (ctx) => vueExports.h(__vite_glob_2_5, { column: value, ctx }),
|
|
91231
91231
|
size: 40,
|
|
@@ -91236,24 +91236,24 @@ function toColumnDef$i(value) {
|
|
|
91236
91236
|
}
|
|
91237
91237
|
const __vite_glob_0_5$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
91238
91238
|
__proto__: null,
|
|
91239
|
-
compatibilityDate: compatibilityDate$
|
|
91240
|
-
metadata: metadata$
|
|
91241
|
-
schema: schema$
|
|
91242
|
-
toColumnDef: toColumnDef$
|
|
91243
|
-
type: type$
|
|
91239
|
+
compatibilityDate: compatibilityDate$x,
|
|
91240
|
+
metadata: metadata$x,
|
|
91241
|
+
schema: schema$x,
|
|
91242
|
+
toColumnDef: toColumnDef$k,
|
|
91243
|
+
type: type$x
|
|
91244
91244
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
91245
|
-
const type$
|
|
91246
|
-
const compatibilityDate$
|
|
91247
|
-
const metadata$
|
|
91245
|
+
const type$w = "com.shwfed.table.column.text";
|
|
91246
|
+
const compatibilityDate$w = "2026-04-14";
|
|
91247
|
+
const metadata$w = {
|
|
91248
91248
|
name: "文本",
|
|
91249
91249
|
icon: "fluent:text-field-20-regular"
|
|
91250
91250
|
};
|
|
91251
91251
|
const isCopyExpressionType = (t) => t === "string" || t === "dyn" || t.startsWith("optional");
|
|
91252
|
-
function schema$
|
|
91252
|
+
function schema$w(configure) {
|
|
91253
91253
|
const cel = CelRowAccess(configure, { resultType: isCopyExpressionType });
|
|
91254
91254
|
return Struct({
|
|
91255
|
-
type: Literal2(type$
|
|
91256
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
91255
|
+
type: Literal2(type$w),
|
|
91256
|
+
compatibilityDate: Literal2(compatibilityDate$w),
|
|
91257
91257
|
...columnFields(configure),
|
|
91258
91258
|
align: optionalWith(Align.annotations({ title: "对齐" }), { default: () => "left" }),
|
|
91259
91259
|
displayMode: optionalWith(
|
|
@@ -91269,7 +91269,7 @@ function schema$s(configure) {
|
|
|
91269
91269
|
}))
|
|
91270
91270
|
}).annotations({ title: "TextRenderer", description: "文本渲染器" });
|
|
91271
91271
|
}
|
|
91272
|
-
function toColumnDef$
|
|
91272
|
+
function toColumnDef$j(value, { getLocaleText, $cel, inheritedContext }) {
|
|
91273
91273
|
return {
|
|
91274
91274
|
header: getLocaleText(value.title),
|
|
91275
91275
|
accessorFn: (row, index) => {
|
|
@@ -91291,19 +91291,19 @@ function toColumnDef$h(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
91291
91291
|
}
|
|
91292
91292
|
const __vite_glob_0_6 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
91293
91293
|
__proto__: null,
|
|
91294
|
-
compatibilityDate: compatibilityDate$
|
|
91295
|
-
metadata: metadata$
|
|
91296
|
-
schema: schema$
|
|
91297
|
-
toColumnDef: toColumnDef$
|
|
91298
|
-
type: type$
|
|
91294
|
+
compatibilityDate: compatibilityDate$w,
|
|
91295
|
+
metadata: metadata$w,
|
|
91296
|
+
schema: schema$w,
|
|
91297
|
+
toColumnDef: toColumnDef$j,
|
|
91298
|
+
type: type$w
|
|
91299
91299
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
91300
|
-
const type$
|
|
91301
|
-
const compatibilityDate$
|
|
91302
|
-
const metadata$
|
|
91300
|
+
const type$v = "com.shwfed.table.column.switch.remote";
|
|
91301
|
+
const compatibilityDate$v = "2026-05-13";
|
|
91302
|
+
const metadata$v = {
|
|
91303
91303
|
name: "开关(远程)",
|
|
91304
91304
|
icon: "fluent:toggle-left-20-regular"
|
|
91305
91305
|
};
|
|
91306
|
-
function schema$
|
|
91306
|
+
function schema$v(configure) {
|
|
91307
91307
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
91308
91308
|
const CelOnChange = Expression({
|
|
91309
91309
|
configure: (env) => {
|
|
@@ -91321,8 +91321,8 @@ function schema$r(configure) {
|
|
|
91321
91321
|
resultType: "string"
|
|
91322
91322
|
});
|
|
91323
91323
|
return Struct({
|
|
91324
|
-
type: Literal2(type$
|
|
91325
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
91324
|
+
type: Literal2(type$v),
|
|
91325
|
+
compatibilityDate: Literal2(compatibilityDate$v),
|
|
91326
91326
|
...columnFields(configure),
|
|
91327
91327
|
align: optionalWith(Align.annotations({ title: "对齐" }), { default: () => "center" }),
|
|
91328
91328
|
disabled: optional(CelBool.annotations({
|
|
@@ -91344,18 +91344,18 @@ function schema$r(configure) {
|
|
|
91344
91344
|
}).annotations({ title: "SwitchRenderer", description: "开关渲染器(可编辑)" });
|
|
91345
91345
|
}
|
|
91346
91346
|
const migrateFrom$5 = [
|
|
91347
|
-
{ type: "com.shwfed.table.column.switch", compatibilityDate: compatibilityDate$
|
|
91347
|
+
{ type: "com.shwfed.table.column.switch", compatibilityDate: compatibilityDate$v }
|
|
91348
91348
|
];
|
|
91349
91349
|
const migrate$5 = (prev) => try_({
|
|
91350
91350
|
try: () => {
|
|
91351
91351
|
if (!prev || typeof prev !== "object") {
|
|
91352
91352
|
throw new Error("开关(远程)迁移失败:原值不是对象");
|
|
91353
91353
|
}
|
|
91354
|
-
return { ...prev, type: type$
|
|
91354
|
+
return { ...prev, type: type$v, compatibilityDate: compatibilityDate$v };
|
|
91355
91355
|
},
|
|
91356
91356
|
catch: (e) => e instanceof Error ? e : new Error(String(e))
|
|
91357
91357
|
});
|
|
91358
|
-
function toColumnDef$
|
|
91358
|
+
function toColumnDef$i(value, { getLocaleText, $cel, inheritedContext }) {
|
|
91359
91359
|
return {
|
|
91360
91360
|
header: getLocaleText(value.title),
|
|
91361
91361
|
accessorFn: (row, index) => {
|
|
@@ -91377,21 +91377,21 @@ function toColumnDef$g(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
91377
91377
|
}
|
|
91378
91378
|
const __vite_glob_0_7 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
91379
91379
|
__proto__: null,
|
|
91380
|
-
compatibilityDate: compatibilityDate$
|
|
91381
|
-
metadata: metadata$
|
|
91380
|
+
compatibilityDate: compatibilityDate$v,
|
|
91381
|
+
metadata: metadata$v,
|
|
91382
91382
|
migrate: migrate$5,
|
|
91383
91383
|
migrateFrom: migrateFrom$5,
|
|
91384
|
-
schema: schema$
|
|
91385
|
-
toColumnDef: toColumnDef$
|
|
91386
|
-
type: type$
|
|
91384
|
+
schema: schema$v,
|
|
91385
|
+
toColumnDef: toColumnDef$i,
|
|
91386
|
+
type: type$v
|
|
91387
91387
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
91388
|
-
const type$
|
|
91389
|
-
const compatibilityDate$
|
|
91390
|
-
const metadata$
|
|
91388
|
+
const type$u = "com.shwfed.table.column.switch";
|
|
91389
|
+
const compatibilityDate$u = "2026-05-13";
|
|
91390
|
+
const metadata$u = {
|
|
91391
91391
|
name: "开关(远程)",
|
|
91392
91392
|
icon: "fluent:toggle-left-20-regular"
|
|
91393
91393
|
};
|
|
91394
|
-
function schema$
|
|
91394
|
+
function schema$u(configure) {
|
|
91395
91395
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
91396
91396
|
const CelOnChange = Expression({
|
|
91397
91397
|
configure: (env) => {
|
|
@@ -91409,8 +91409,8 @@ function schema$q(configure) {
|
|
|
91409
91409
|
resultType: "string"
|
|
91410
91410
|
});
|
|
91411
91411
|
return Struct({
|
|
91412
|
-
type: Literal2(type$
|
|
91413
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
91412
|
+
type: Literal2(type$u),
|
|
91413
|
+
compatibilityDate: Literal2(compatibilityDate$u),
|
|
91414
91414
|
...columnFields(configure),
|
|
91415
91415
|
align: optionalWith(Align.annotations({ title: "对齐" }), { default: () => "center" }),
|
|
91416
91416
|
disabled: optional(CelBool.annotations({
|
|
@@ -91431,7 +91431,7 @@ function schema$q(configure) {
|
|
|
91431
91431
|
}))
|
|
91432
91432
|
}).annotations({ title: "SwitchRenderer", description: "开关渲染器(可编辑)" });
|
|
91433
91433
|
}
|
|
91434
|
-
function toColumnDef$
|
|
91434
|
+
function toColumnDef$h(value, { getLocaleText, $cel, inheritedContext }) {
|
|
91435
91435
|
return {
|
|
91436
91436
|
header: getLocaleText(value.title),
|
|
91437
91437
|
accessorFn: (row, index) => {
|
|
@@ -91453,11 +91453,11 @@ function toColumnDef$f(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
91453
91453
|
}
|
|
91454
91454
|
const __vite_glob_0_8 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
91455
91455
|
__proto__: null,
|
|
91456
|
-
compatibilityDate: compatibilityDate$
|
|
91457
|
-
metadata: metadata$
|
|
91458
|
-
schema: schema$
|
|
91459
|
-
toColumnDef: toColumnDef$
|
|
91460
|
-
type: type$
|
|
91456
|
+
compatibilityDate: compatibilityDate$u,
|
|
91457
|
+
metadata: metadata$u,
|
|
91458
|
+
schema: schema$u,
|
|
91459
|
+
toColumnDef: toColumnDef$h,
|
|
91460
|
+
type: type$u
|
|
91461
91461
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
91462
91462
|
const isObject$1 = (value) => {
|
|
91463
91463
|
const type2 = typeof value;
|
|
@@ -91656,9 +91656,9 @@ function getProperty(object2, path, value) {
|
|
|
91656
91656
|
}
|
|
91657
91657
|
return object2 === void 0 ? value : object2;
|
|
91658
91658
|
}
|
|
91659
|
-
const type$
|
|
91660
|
-
const compatibilityDate$
|
|
91661
|
-
const metadata$
|
|
91659
|
+
const type$t = "com.shwfed.table.column.combobox-single";
|
|
91660
|
+
const compatibilityDate$t = "2026-05-20";
|
|
91661
|
+
const metadata$t = {
|
|
91662
91662
|
name: "下拉单选",
|
|
91663
91663
|
icon: "fluent:chevron-down-20-regular"
|
|
91664
91664
|
};
|
|
@@ -91691,12 +91691,12 @@ function itemSchema$7(configure) {
|
|
|
91691
91691
|
title: "ComboboxSingleItem"
|
|
91692
91692
|
});
|
|
91693
91693
|
}
|
|
91694
|
-
function schema$
|
|
91694
|
+
function schema$t(configure) {
|
|
91695
91695
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
91696
91696
|
const Item = itemSchema$7(configure);
|
|
91697
91697
|
return Struct({
|
|
91698
|
-
type: Literal2(type$
|
|
91699
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
91698
|
+
type: Literal2(type$t),
|
|
91699
|
+
compatibilityDate: Literal2(compatibilityDate$t),
|
|
91700
91700
|
...editableColumnFields(),
|
|
91701
91701
|
placeholder: optional(Locale.annotations({
|
|
91702
91702
|
title: "占位符",
|
|
@@ -91721,7 +91721,7 @@ function schema$p(configure) {
|
|
|
91721
91721
|
}), { default: () => [] })
|
|
91722
91722
|
}).annotations({ title: "ComboboxSingleRenderer", description: "下拉单选渲染器(可编辑)" });
|
|
91723
91723
|
}
|
|
91724
|
-
function toColumnDef$
|
|
91724
|
+
function toColumnDef$g(value, { getLocaleText }) {
|
|
91725
91725
|
return {
|
|
91726
91726
|
header: editableHeader(getLocaleText(value.title)),
|
|
91727
91727
|
// `binding` is a dot-prop path (validated non-empty); the cell renderer
|
|
@@ -91744,25 +91744,25 @@ function toColumnDef$e(value, { getLocaleText }) {
|
|
|
91744
91744
|
}
|
|
91745
91745
|
const __vite_glob_0_9 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
91746
91746
|
__proto__: null,
|
|
91747
|
-
compatibilityDate: compatibilityDate$
|
|
91747
|
+
compatibilityDate: compatibilityDate$t,
|
|
91748
91748
|
itemSchema: itemSchema$7,
|
|
91749
|
-
metadata: metadata$
|
|
91750
|
-
schema: schema$
|
|
91751
|
-
toColumnDef: toColumnDef$
|
|
91752
|
-
type: type$
|
|
91749
|
+
metadata: metadata$t,
|
|
91750
|
+
schema: schema$t,
|
|
91751
|
+
toColumnDef: toColumnDef$g,
|
|
91752
|
+
type: type$t
|
|
91753
91753
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
91754
|
-
const type$
|
|
91755
|
-
const compatibilityDate$
|
|
91756
|
-
const metadata$
|
|
91754
|
+
const type$s = "com.shwfed.table.column.number-input";
|
|
91755
|
+
const compatibilityDate$s = "2026-05-20";
|
|
91756
|
+
const metadata$s = {
|
|
91757
91757
|
name: "数值输入",
|
|
91758
91758
|
icon: "fluent:number-symbol-20-regular"
|
|
91759
91759
|
};
|
|
91760
|
-
function schema$
|
|
91760
|
+
function schema$s(configure) {
|
|
91761
91761
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
91762
91762
|
const CelNumber = CelRowAccess(configure, { resultType: "number" });
|
|
91763
91763
|
return Struct({
|
|
91764
|
-
type: Literal2(type$
|
|
91765
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
91764
|
+
type: Literal2(type$s),
|
|
91765
|
+
compatibilityDate: Literal2(compatibilityDate$s),
|
|
91766
91766
|
...editableColumnFields(),
|
|
91767
91767
|
placeholder: optional(Locale.annotations({
|
|
91768
91768
|
title: "占位符",
|
|
@@ -91807,7 +91807,7 @@ function schema$o(configure) {
|
|
|
91807
91807
|
derived: derivedRowField(configure, "number")
|
|
91808
91808
|
}).annotations({ title: "NumberInputRenderer", description: "数值输入渲染器(可编辑)" });
|
|
91809
91809
|
}
|
|
91810
|
-
function toColumnDef$
|
|
91810
|
+
function toColumnDef$f(value, { getLocaleText }) {
|
|
91811
91811
|
return {
|
|
91812
91812
|
header: editableHeader(getLocaleText(value.title)),
|
|
91813
91813
|
// `binding` is a dot-prop path (validated non-empty); the cell renderer
|
|
@@ -91830,23 +91830,23 @@ function toColumnDef$d(value, { getLocaleText }) {
|
|
|
91830
91830
|
}
|
|
91831
91831
|
const __vite_glob_0_10 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
91832
91832
|
__proto__: null,
|
|
91833
|
-
compatibilityDate: compatibilityDate$
|
|
91834
|
-
metadata: metadata$
|
|
91835
|
-
schema: schema$
|
|
91836
|
-
toColumnDef: toColumnDef$
|
|
91837
|
-
type: type$
|
|
91833
|
+
compatibilityDate: compatibilityDate$s,
|
|
91834
|
+
metadata: metadata$s,
|
|
91835
|
+
schema: schema$s,
|
|
91836
|
+
toColumnDef: toColumnDef$f,
|
|
91837
|
+
type: type$s
|
|
91838
91838
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
91839
|
-
const type$
|
|
91840
|
-
const compatibilityDate$
|
|
91841
|
-
const metadata$
|
|
91839
|
+
const type$r = "com.shwfed.table.column.switch.local";
|
|
91840
|
+
const compatibilityDate$r = "2026-05-20";
|
|
91841
|
+
const metadata$r = {
|
|
91842
91842
|
name: "开关",
|
|
91843
91843
|
icon: "fluent:toggle-left-20-regular"
|
|
91844
91844
|
};
|
|
91845
|
-
function schema$
|
|
91845
|
+
function schema$r(configure) {
|
|
91846
91846
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
91847
91847
|
return Struct({
|
|
91848
|
-
type: Literal2(type$
|
|
91849
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
91848
|
+
type: Literal2(type$r),
|
|
91849
|
+
compatibilityDate: Literal2(compatibilityDate$r),
|
|
91850
91850
|
...editableColumnFields(),
|
|
91851
91851
|
hidden: optional(CelBool.annotations({
|
|
91852
91852
|
title: "隐藏条件",
|
|
@@ -91872,18 +91872,18 @@ function schema$n(configure) {
|
|
|
91872
91872
|
}).annotations({ title: "SwitchRenderer", description: "开关渲染器(可编辑、本地)" });
|
|
91873
91873
|
}
|
|
91874
91874
|
const migrateFrom$4 = [
|
|
91875
|
-
{ type: "com.shwfed.table.column.switch", compatibilityDate: compatibilityDate$
|
|
91875
|
+
{ type: "com.shwfed.table.column.switch", compatibilityDate: compatibilityDate$r }
|
|
91876
91876
|
];
|
|
91877
91877
|
const migrate$4 = (prev) => try_({
|
|
91878
91878
|
try: () => {
|
|
91879
91879
|
if (!prev || typeof prev !== "object") {
|
|
91880
91880
|
throw new Error("开关(本地)迁移失败:原值不是对象");
|
|
91881
91881
|
}
|
|
91882
|
-
return { ...prev, type: type$
|
|
91882
|
+
return { ...prev, type: type$r, compatibilityDate: compatibilityDate$r };
|
|
91883
91883
|
},
|
|
91884
91884
|
catch: (e) => e instanceof Error ? e : new Error(String(e))
|
|
91885
91885
|
});
|
|
91886
|
-
function toColumnDef$
|
|
91886
|
+
function toColumnDef$e(value, { getLocaleText }) {
|
|
91887
91887
|
return {
|
|
91888
91888
|
header: editableHeader(getLocaleText(value.title)),
|
|
91889
91889
|
// `binding` is a dot-prop path (validated non-empty); the cell renderer
|
|
@@ -91905,25 +91905,25 @@ function toColumnDef$c(value, { getLocaleText }) {
|
|
|
91905
91905
|
}
|
|
91906
91906
|
const __vite_glob_0_11 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
91907
91907
|
__proto__: null,
|
|
91908
|
-
compatibilityDate: compatibilityDate$
|
|
91909
|
-
metadata: metadata$
|
|
91908
|
+
compatibilityDate: compatibilityDate$r,
|
|
91909
|
+
metadata: metadata$r,
|
|
91910
91910
|
migrate: migrate$4,
|
|
91911
91911
|
migrateFrom: migrateFrom$4,
|
|
91912
|
-
schema: schema$
|
|
91913
|
-
toColumnDef: toColumnDef$
|
|
91914
|
-
type: type$
|
|
91912
|
+
schema: schema$r,
|
|
91913
|
+
toColumnDef: toColumnDef$e,
|
|
91914
|
+
type: type$r
|
|
91915
91915
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
91916
|
-
const type$
|
|
91917
|
-
const compatibilityDate$
|
|
91918
|
-
const metadata$
|
|
91916
|
+
const type$q = "com.shwfed.table.column.switch";
|
|
91917
|
+
const compatibilityDate$q = "2026-05-20";
|
|
91918
|
+
const metadata$q = {
|
|
91919
91919
|
name: "开关",
|
|
91920
91920
|
icon: "fluent:toggle-left-20-regular"
|
|
91921
91921
|
};
|
|
91922
|
-
function schema$
|
|
91922
|
+
function schema$q(configure) {
|
|
91923
91923
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
91924
91924
|
return Struct({
|
|
91925
|
-
type: Literal2(type$
|
|
91926
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
91925
|
+
type: Literal2(type$q),
|
|
91926
|
+
compatibilityDate: Literal2(compatibilityDate$q),
|
|
91927
91927
|
...editableColumnFields(),
|
|
91928
91928
|
hidden: optional(CelBool.annotations({
|
|
91929
91929
|
title: "隐藏条件",
|
|
@@ -91948,7 +91948,7 @@ function schema$m(configure) {
|
|
|
91948
91948
|
derived: derivedRowField(configure, "bool")
|
|
91949
91949
|
}).annotations({ title: "SwitchRenderer", description: "开关渲染器(可编辑、本地)" });
|
|
91950
91950
|
}
|
|
91951
|
-
function toColumnDef$
|
|
91951
|
+
function toColumnDef$d(value, { getLocaleText }) {
|
|
91952
91952
|
return {
|
|
91953
91953
|
header: editableHeader(getLocaleText(value.title)),
|
|
91954
91954
|
// `binding` is a dot-prop path (validated non-empty); the cell renderer
|
|
@@ -91970,23 +91970,23 @@ function toColumnDef$b(value, { getLocaleText }) {
|
|
|
91970
91970
|
}
|
|
91971
91971
|
const __vite_glob_0_12 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
91972
91972
|
__proto__: null,
|
|
91973
|
-
compatibilityDate: compatibilityDate$
|
|
91974
|
-
metadata: metadata$
|
|
91975
|
-
schema: schema$
|
|
91976
|
-
toColumnDef: toColumnDef$
|
|
91977
|
-
type: type$
|
|
91973
|
+
compatibilityDate: compatibilityDate$q,
|
|
91974
|
+
metadata: metadata$q,
|
|
91975
|
+
schema: schema$q,
|
|
91976
|
+
toColumnDef: toColumnDef$d,
|
|
91977
|
+
type: type$q
|
|
91978
91978
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
91979
|
-
const type$
|
|
91980
|
-
const compatibilityDate$
|
|
91981
|
-
const metadata$
|
|
91979
|
+
const type$p = "com.shwfed.table.column.text-input";
|
|
91980
|
+
const compatibilityDate$p = "2026-05-20";
|
|
91981
|
+
const metadata$p = {
|
|
91982
91982
|
name: "文本输入",
|
|
91983
91983
|
icon: "fluent:text-field-20-regular"
|
|
91984
91984
|
};
|
|
91985
|
-
function schema$
|
|
91985
|
+
function schema$p(configure) {
|
|
91986
91986
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
91987
91987
|
return Struct({
|
|
91988
|
-
type: Literal2(type$
|
|
91989
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
91988
|
+
type: Literal2(type$p),
|
|
91989
|
+
compatibilityDate: Literal2(compatibilityDate$p),
|
|
91990
91990
|
...editableColumnFields(),
|
|
91991
91991
|
placeholder: optional(Locale.annotations({
|
|
91992
91992
|
title: "占位符",
|
|
@@ -92007,7 +92007,7 @@ function schema$l(configure) {
|
|
|
92007
92007
|
derived: derivedRowField(configure, "string")
|
|
92008
92008
|
}).annotations({ title: "TextInputRenderer", description: "文本输入渲染器(可编辑)" });
|
|
92009
92009
|
}
|
|
92010
|
-
function toColumnDef$
|
|
92010
|
+
function toColumnDef$c(value, { getLocaleText }) {
|
|
92011
92011
|
return {
|
|
92012
92012
|
header: editableHeader(getLocaleText(value.title)),
|
|
92013
92013
|
// `binding` is a dot-prop path (validated non-empty); the cell renderer
|
|
@@ -92027,26 +92027,26 @@ function toColumnDef$a(value, { getLocaleText }) {
|
|
|
92027
92027
|
}
|
|
92028
92028
|
const __vite_glob_0_13 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
92029
92029
|
__proto__: null,
|
|
92030
|
-
compatibilityDate: compatibilityDate$
|
|
92031
|
-
metadata: metadata$
|
|
92032
|
-
schema: schema$
|
|
92033
|
-
toColumnDef: toColumnDef$
|
|
92034
|
-
type: type$
|
|
92030
|
+
compatibilityDate: compatibilityDate$p,
|
|
92031
|
+
metadata: metadata$p,
|
|
92032
|
+
schema: schema$p,
|
|
92033
|
+
toColumnDef: toColumnDef$c,
|
|
92034
|
+
type: type$p
|
|
92035
92035
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
92036
|
-
const type$
|
|
92037
|
-
const compatibilityDate$
|
|
92038
|
-
const metadata$
|
|
92036
|
+
const type$o = "com.shwfed.table.column.drag-handle";
|
|
92037
|
+
const compatibilityDate$o = "2026-05-21";
|
|
92038
|
+
const metadata$o = {
|
|
92039
92039
|
name: "拖拽",
|
|
92040
92040
|
icon: "fluent:re-order-dots-vertical-20-regular"
|
|
92041
92041
|
};
|
|
92042
|
-
function schema$
|
|
92042
|
+
function schema$o(_configure) {
|
|
92043
92043
|
return Struct({
|
|
92044
|
-
type: Literal2(type$
|
|
92045
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
92044
|
+
type: Literal2(type$o),
|
|
92045
|
+
compatibilityDate: Literal2(compatibilityDate$o),
|
|
92046
92046
|
...columnIdentityFields()
|
|
92047
92047
|
}).annotations({ title: "DragHandleRenderer", description: "行拖拽手柄列" });
|
|
92048
92048
|
}
|
|
92049
|
-
function toColumnDef$
|
|
92049
|
+
function toColumnDef$b(_value) {
|
|
92050
92050
|
return {
|
|
92051
92051
|
header: () => vueExports.h(Icon, {
|
|
92052
92052
|
"icon": "fluent:re-order-dots-vertical-20-regular",
|
|
@@ -92062,15 +92062,15 @@ function toColumnDef$9(_value) {
|
|
|
92062
92062
|
}
|
|
92063
92063
|
const __vite_glob_0_14 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
92064
92064
|
__proto__: null,
|
|
92065
|
-
compatibilityDate: compatibilityDate$
|
|
92066
|
-
metadata: metadata$
|
|
92067
|
-
schema: schema$
|
|
92068
|
-
toColumnDef: toColumnDef$
|
|
92069
|
-
type: type$
|
|
92065
|
+
compatibilityDate: compatibilityDate$o,
|
|
92066
|
+
metadata: metadata$o,
|
|
92067
|
+
schema: schema$o,
|
|
92068
|
+
toColumnDef: toColumnDef$b,
|
|
92069
|
+
type: type$o
|
|
92070
92070
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
92071
|
-
const type$
|
|
92072
|
-
const compatibilityDate$
|
|
92073
|
-
const metadata$
|
|
92071
|
+
const type$n = "com.shwfed.table.column.combobox-single.remote.options-remote";
|
|
92072
|
+
const compatibilityDate$n = "2026-05-24";
|
|
92073
|
+
const metadata$n = {
|
|
92074
92074
|
name: "远程下拉单选",
|
|
92075
92075
|
icon: "fluent:cloud-arrow-down-20-regular"
|
|
92076
92076
|
};
|
|
@@ -92085,7 +92085,7 @@ const JSON_VAR$1 = {
|
|
|
92085
92085
|
description: "HTTP 响应体(已解析 JSON);请求失败或尚未完成时为 `null`"
|
|
92086
92086
|
};
|
|
92087
92087
|
const isListType$7 = (actual) => actual === "dyn" || actual.startsWith("list");
|
|
92088
|
-
function schema$
|
|
92088
|
+
function schema$n(configure) {
|
|
92089
92089
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
92090
92090
|
const CelRequest = Expression({
|
|
92091
92091
|
configure: (env) => {
|
|
@@ -92133,8 +92133,8 @@ function schema$j(configure) {
|
|
|
92133
92133
|
resultType: "string"
|
|
92134
92134
|
});
|
|
92135
92135
|
return Struct({
|
|
92136
|
-
type: Literal2(type$
|
|
92137
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
92136
|
+
type: Literal2(type$n),
|
|
92137
|
+
compatibilityDate: Literal2(compatibilityDate$n),
|
|
92138
92138
|
...columnFields(configure),
|
|
92139
92139
|
placeholder: optional(Locale.annotations({
|
|
92140
92140
|
title: "占位符",
|
|
@@ -92185,7 +92185,7 @@ function schema$j(configure) {
|
|
|
92185
92185
|
description: "下拉单选渲染器(远程写入·远程选项)"
|
|
92186
92186
|
});
|
|
92187
92187
|
}
|
|
92188
|
-
function toColumnDef$
|
|
92188
|
+
function toColumnDef$a(value, { getLocaleText, $cel, inheritedContext }) {
|
|
92189
92189
|
return {
|
|
92190
92190
|
header: editableHeader(getLocaleText(value.title)),
|
|
92191
92191
|
accessorFn: (row, index) => {
|
|
@@ -92209,15 +92209,15 @@ const __vite_glob_0_15 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.de
|
|
|
92209
92209
|
__proto__: null,
|
|
92210
92210
|
JSON_VAR: JSON_VAR$1,
|
|
92211
92211
|
OPTION_VAR: OPTION_VAR$1,
|
|
92212
|
-
compatibilityDate: compatibilityDate$
|
|
92213
|
-
metadata: metadata$
|
|
92214
|
-
schema: schema$
|
|
92215
|
-
toColumnDef: toColumnDef$
|
|
92216
|
-
type: type$
|
|
92212
|
+
compatibilityDate: compatibilityDate$n,
|
|
92213
|
+
metadata: metadata$n,
|
|
92214
|
+
schema: schema$n,
|
|
92215
|
+
toColumnDef: toColumnDef$a,
|
|
92216
|
+
type: type$n
|
|
92217
92217
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
92218
|
-
const type$
|
|
92219
|
-
const compatibilityDate$
|
|
92220
|
-
const metadata$
|
|
92218
|
+
const type$m = "com.shwfed.table.column.combobox-single.remote.options-static";
|
|
92219
|
+
const compatibilityDate$m = "2026-05-24";
|
|
92220
|
+
const metadata$m = {
|
|
92221
92221
|
name: "下拉单选",
|
|
92222
92222
|
icon: "fluent:chevron-down-20-regular"
|
|
92223
92223
|
};
|
|
@@ -92250,7 +92250,7 @@ function itemSchema$6(configure) {
|
|
|
92250
92250
|
title: "ComboboxSingleRemoteOptionsStaticItem"
|
|
92251
92251
|
});
|
|
92252
92252
|
}
|
|
92253
|
-
function schema$
|
|
92253
|
+
function schema$m(configure) {
|
|
92254
92254
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
92255
92255
|
const Item = itemSchema$6(configure);
|
|
92256
92256
|
const CelOnChange = Expression({
|
|
@@ -92269,8 +92269,8 @@ function schema$i(configure) {
|
|
|
92269
92269
|
resultType: "string"
|
|
92270
92270
|
});
|
|
92271
92271
|
return Struct({
|
|
92272
|
-
type: Literal2(type$
|
|
92273
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
92272
|
+
type: Literal2(type$m),
|
|
92273
|
+
compatibilityDate: Literal2(compatibilityDate$m),
|
|
92274
92274
|
...columnFields(configure),
|
|
92275
92275
|
placeholder: optional(Locale.annotations({
|
|
92276
92276
|
title: "占位符",
|
|
@@ -92309,7 +92309,7 @@ function schema$i(configure) {
|
|
|
92309
92309
|
description: "下拉单选渲染器(远程写入·静态选项)"
|
|
92310
92310
|
});
|
|
92311
92311
|
}
|
|
92312
|
-
function toColumnDef$
|
|
92312
|
+
function toColumnDef$9(value, { getLocaleText, $cel, inheritedContext }) {
|
|
92313
92313
|
return {
|
|
92314
92314
|
header: editableHeader(getLocaleText(value.title)),
|
|
92315
92315
|
accessorFn: (row, index) => {
|
|
@@ -92331,16 +92331,16 @@ function toColumnDef$7(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
92331
92331
|
}
|
|
92332
92332
|
const __vite_glob_0_16 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
92333
92333
|
__proto__: null,
|
|
92334
|
-
compatibilityDate: compatibilityDate$
|
|
92334
|
+
compatibilityDate: compatibilityDate$m,
|
|
92335
92335
|
itemSchema: itemSchema$6,
|
|
92336
|
-
metadata: metadata$
|
|
92337
|
-
schema: schema$
|
|
92338
|
-
toColumnDef: toColumnDef$
|
|
92339
|
-
type: type$
|
|
92336
|
+
metadata: metadata$m,
|
|
92337
|
+
schema: schema$m,
|
|
92338
|
+
toColumnDef: toColumnDef$9,
|
|
92339
|
+
type: type$m
|
|
92340
92340
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
92341
|
-
const type$
|
|
92342
|
-
const compatibilityDate$
|
|
92343
|
-
const metadata$
|
|
92341
|
+
const type$l = "com.shwfed.table.column.combobox-multi.remote.options-remote";
|
|
92342
|
+
const compatibilityDate$l = "2026-05-25";
|
|
92343
|
+
const metadata$l = {
|
|
92344
92344
|
name: "远程下拉多选",
|
|
92345
92345
|
icon: "fluent:cloud-arrow-down-20-regular"
|
|
92346
92346
|
};
|
|
@@ -92355,7 +92355,7 @@ const JSON_VAR = {
|
|
|
92355
92355
|
description: "HTTP 响应体(已解析 JSON);请求失败或尚未完成时为 `null`"
|
|
92356
92356
|
};
|
|
92357
92357
|
const isListType$6 = (actual) => actual === "dyn" || actual.startsWith("list");
|
|
92358
|
-
function schema$
|
|
92358
|
+
function schema$l(configure) {
|
|
92359
92359
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
92360
92360
|
const CelRequest = Expression({
|
|
92361
92361
|
configure: (env) => {
|
|
@@ -92403,8 +92403,8 @@ function schema$h(configure) {
|
|
|
92403
92403
|
resultType: "string"
|
|
92404
92404
|
});
|
|
92405
92405
|
return Struct({
|
|
92406
|
-
type: Literal2(type$
|
|
92407
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
92406
|
+
type: Literal2(type$l),
|
|
92407
|
+
compatibilityDate: Literal2(compatibilityDate$l),
|
|
92408
92408
|
...columnFields(configure),
|
|
92409
92409
|
placeholder: optional(Locale.annotations({
|
|
92410
92410
|
title: "占位符",
|
|
@@ -92455,7 +92455,7 @@ function schema$h(configure) {
|
|
|
92455
92455
|
description: "下拉多选渲染器(远程写入·远程选项)"
|
|
92456
92456
|
});
|
|
92457
92457
|
}
|
|
92458
|
-
function toColumnDef$
|
|
92458
|
+
function toColumnDef$8(value, { getLocaleText, $cel, inheritedContext }) {
|
|
92459
92459
|
return {
|
|
92460
92460
|
header: editableHeader(getLocaleText(value.title)),
|
|
92461
92461
|
accessorFn: (row, index) => {
|
|
@@ -92479,15 +92479,15 @@ const __vite_glob_0_17 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.de
|
|
|
92479
92479
|
__proto__: null,
|
|
92480
92480
|
JSON_VAR,
|
|
92481
92481
|
OPTION_VAR,
|
|
92482
|
-
compatibilityDate: compatibilityDate$
|
|
92483
|
-
metadata: metadata$
|
|
92484
|
-
schema: schema$
|
|
92485
|
-
toColumnDef: toColumnDef$
|
|
92486
|
-
type: type$
|
|
92482
|
+
compatibilityDate: compatibilityDate$l,
|
|
92483
|
+
metadata: metadata$l,
|
|
92484
|
+
schema: schema$l,
|
|
92485
|
+
toColumnDef: toColumnDef$8,
|
|
92486
|
+
type: type$l
|
|
92487
92487
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
92488
|
-
const type$
|
|
92489
|
-
const compatibilityDate$
|
|
92490
|
-
const metadata$
|
|
92488
|
+
const type$k = "com.shwfed.table.column.combobox-multi.remote.options-static";
|
|
92489
|
+
const compatibilityDate$k = "2026-05-25";
|
|
92490
|
+
const metadata$k = {
|
|
92491
92491
|
name: "下拉多选",
|
|
92492
92492
|
icon: "fluent:chevron-down-20-regular"
|
|
92493
92493
|
};
|
|
@@ -92520,7 +92520,7 @@ function itemSchema$5(configure) {
|
|
|
92520
92520
|
title: "ComboboxMultiRemoteOptionsStaticItem"
|
|
92521
92521
|
});
|
|
92522
92522
|
}
|
|
92523
|
-
function schema$
|
|
92523
|
+
function schema$k(configure) {
|
|
92524
92524
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
92525
92525
|
const Item = itemSchema$5(configure);
|
|
92526
92526
|
const CelOnChange = Expression({
|
|
@@ -92539,8 +92539,8 @@ function schema$g(configure) {
|
|
|
92539
92539
|
resultType: "string"
|
|
92540
92540
|
});
|
|
92541
92541
|
return Struct({
|
|
92542
|
-
type: Literal2(type$
|
|
92543
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
92542
|
+
type: Literal2(type$k),
|
|
92543
|
+
compatibilityDate: Literal2(compatibilityDate$k),
|
|
92544
92544
|
...columnFields(configure),
|
|
92545
92545
|
placeholder: optional(Locale.annotations({
|
|
92546
92546
|
title: "占位符",
|
|
@@ -92579,7 +92579,7 @@ function schema$g(configure) {
|
|
|
92579
92579
|
description: "下拉多选渲染器(远程写入·静态选项)"
|
|
92580
92580
|
});
|
|
92581
92581
|
}
|
|
92582
|
-
function toColumnDef$
|
|
92582
|
+
function toColumnDef$7(value, { getLocaleText, $cel, inheritedContext }) {
|
|
92583
92583
|
return {
|
|
92584
92584
|
header: editableHeader(getLocaleText(value.title)),
|
|
92585
92585
|
accessorFn: (row, index) => {
|
|
@@ -92601,16 +92601,16 @@ function toColumnDef$5(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
92601
92601
|
}
|
|
92602
92602
|
const __vite_glob_0_18 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
92603
92603
|
__proto__: null,
|
|
92604
|
-
compatibilityDate: compatibilityDate$
|
|
92604
|
+
compatibilityDate: compatibilityDate$k,
|
|
92605
92605
|
itemSchema: itemSchema$5,
|
|
92606
|
-
metadata: metadata$
|
|
92607
|
-
schema: schema$
|
|
92608
|
-
toColumnDef: toColumnDef$
|
|
92609
|
-
type: type$
|
|
92606
|
+
metadata: metadata$k,
|
|
92607
|
+
schema: schema$k,
|
|
92608
|
+
toColumnDef: toColumnDef$7,
|
|
92609
|
+
type: type$k
|
|
92610
92610
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
92611
|
-
const type$
|
|
92612
|
-
const compatibilityDate$
|
|
92613
|
-
const metadata$
|
|
92611
|
+
const type$j = "com.shwfed.table.column.combobox-multi";
|
|
92612
|
+
const compatibilityDate$j = "2026-05-25";
|
|
92613
|
+
const metadata$j = {
|
|
92614
92614
|
name: "下拉多选",
|
|
92615
92615
|
icon: "fluent:chevron-down-20-regular"
|
|
92616
92616
|
};
|
|
@@ -92643,12 +92643,12 @@ function itemSchema$4(configure) {
|
|
|
92643
92643
|
title: "ComboboxMultiItem"
|
|
92644
92644
|
});
|
|
92645
92645
|
}
|
|
92646
|
-
function schema$
|
|
92646
|
+
function schema$j(configure) {
|
|
92647
92647
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
92648
92648
|
const Item = itemSchema$4(configure);
|
|
92649
92649
|
return Struct({
|
|
92650
|
-
type: Literal2(type$
|
|
92651
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
92650
|
+
type: Literal2(type$j),
|
|
92651
|
+
compatibilityDate: Literal2(compatibilityDate$j),
|
|
92652
92652
|
...editableColumnFields(),
|
|
92653
92653
|
placeholder: optional(Locale.annotations({
|
|
92654
92654
|
title: "占位符",
|
|
@@ -92673,7 +92673,7 @@ function schema$f(configure) {
|
|
|
92673
92673
|
}), { default: () => [] })
|
|
92674
92674
|
}).annotations({ title: "ComboboxMultiRenderer", description: "下拉多选渲染器(可编辑)" });
|
|
92675
92675
|
}
|
|
92676
|
-
function toColumnDef$
|
|
92676
|
+
function toColumnDef$6(value, { getLocaleText }) {
|
|
92677
92677
|
return {
|
|
92678
92678
|
header: editableHeader(getLocaleText(value.title)),
|
|
92679
92679
|
// `binding` is a dot-prop path; the cell renderer reads through the same
|
|
@@ -92694,16 +92694,16 @@ function toColumnDef$4(value, { getLocaleText }) {
|
|
|
92694
92694
|
}
|
|
92695
92695
|
const __vite_glob_0_19 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
92696
92696
|
__proto__: null,
|
|
92697
|
-
compatibilityDate: compatibilityDate$
|
|
92697
|
+
compatibilityDate: compatibilityDate$j,
|
|
92698
92698
|
itemSchema: itemSchema$4,
|
|
92699
|
-
metadata: metadata$
|
|
92700
|
-
schema: schema$
|
|
92701
|
-
toColumnDef: toColumnDef$
|
|
92702
|
-
type: type$
|
|
92699
|
+
metadata: metadata$j,
|
|
92700
|
+
schema: schema$j,
|
|
92701
|
+
toColumnDef: toColumnDef$6,
|
|
92702
|
+
type: type$j
|
|
92703
92703
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
92704
|
-
const type$
|
|
92705
|
-
const compatibilityDate$
|
|
92706
|
-
const metadata$
|
|
92704
|
+
const type$i = "com.shwfed.table.column.combobox-multi.remote";
|
|
92705
|
+
const compatibilityDate$i = "2026-05-26";
|
|
92706
|
+
const metadata$i = {
|
|
92707
92707
|
name: "多选(远程)",
|
|
92708
92708
|
icon: "fluent:cloud-arrow-up-20-regular"
|
|
92709
92709
|
};
|
|
@@ -92803,7 +92803,7 @@ function optionsSchema$3(configure) {
|
|
|
92803
92803
|
description: '选项可以是静态配置(`kind: "static"`)或由远程接口加载(`kind: "remote"`)'
|
|
92804
92804
|
});
|
|
92805
92805
|
}
|
|
92806
|
-
function schema$
|
|
92806
|
+
function schema$i(configure) {
|
|
92807
92807
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
92808
92808
|
const Options = optionsSchema$3(configure);
|
|
92809
92809
|
const CelOnChange = Expression({
|
|
@@ -92822,8 +92822,8 @@ function schema$e(configure) {
|
|
|
92822
92822
|
resultType: "string"
|
|
92823
92823
|
});
|
|
92824
92824
|
return Struct({
|
|
92825
|
-
type: Literal2(type$
|
|
92826
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
92825
|
+
type: Literal2(type$i),
|
|
92826
|
+
compatibilityDate: Literal2(compatibilityDate$i),
|
|
92827
92827
|
...columnFields(configure),
|
|
92828
92828
|
placeholder: optional(Locale.annotations({
|
|
92829
92829
|
title: "占位符",
|
|
@@ -92877,8 +92877,8 @@ const migrate$3 = (prev) => try_({
|
|
|
92877
92877
|
const itemsArr = Array.isArray(items2) ? items2 : [];
|
|
92878
92878
|
return {
|
|
92879
92879
|
...rest,
|
|
92880
|
-
type: type$
|
|
92881
|
-
compatibilityDate: compatibilityDate$
|
|
92880
|
+
type: type$i,
|
|
92881
|
+
compatibilityDate: compatibilityDate$i,
|
|
92882
92882
|
options: { kind: "static", items: itemsArr }
|
|
92883
92883
|
};
|
|
92884
92884
|
}
|
|
@@ -92891,8 +92891,8 @@ const migrate$3 = (prev) => try_({
|
|
|
92891
92891
|
if (Array.isArray(optionLabel)) remote.optionLabel = optionLabel;
|
|
92892
92892
|
return {
|
|
92893
92893
|
...rest,
|
|
92894
|
-
type: type$
|
|
92895
|
-
compatibilityDate: compatibilityDate$
|
|
92894
|
+
type: type$i,
|
|
92895
|
+
compatibilityDate: compatibilityDate$i,
|
|
92896
92896
|
options: remote
|
|
92897
92897
|
};
|
|
92898
92898
|
}
|
|
@@ -92900,7 +92900,7 @@ const migrate$3 = (prev) => try_({
|
|
|
92900
92900
|
},
|
|
92901
92901
|
catch: (e) => e instanceof Error ? e : new Error(String(e))
|
|
92902
92902
|
});
|
|
92903
|
-
function toColumnDef$
|
|
92903
|
+
function toColumnDef$5(value, { getLocaleText, $cel, inheritedContext }) {
|
|
92904
92904
|
return {
|
|
92905
92905
|
header: editableHeader(getLocaleText(value.title)),
|
|
92906
92906
|
accessorFn: (row, index) => {
|
|
@@ -92922,20 +92922,20 @@ function toColumnDef$3(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
92922
92922
|
}
|
|
92923
92923
|
const __vite_glob_0_20$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
92924
92924
|
__proto__: null,
|
|
92925
|
-
compatibilityDate: compatibilityDate$
|
|
92925
|
+
compatibilityDate: compatibilityDate$i,
|
|
92926
92926
|
itemSchema: itemSchema$3,
|
|
92927
|
-
metadata: metadata$
|
|
92927
|
+
metadata: metadata$i,
|
|
92928
92928
|
migrate: migrate$3,
|
|
92929
92929
|
migrateFrom: migrateFrom$3,
|
|
92930
92930
|
optionsSchema: optionsSchema$3,
|
|
92931
92931
|
remoteOptionsSchema: remoteOptionsSchema$3,
|
|
92932
|
-
schema: schema$
|
|
92933
|
-
toColumnDef: toColumnDef$
|
|
92934
|
-
type: type$
|
|
92932
|
+
schema: schema$i,
|
|
92933
|
+
toColumnDef: toColumnDef$5,
|
|
92934
|
+
type: type$i
|
|
92935
92935
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
92936
|
-
const type$
|
|
92937
|
-
const compatibilityDate$
|
|
92938
|
-
const metadata$
|
|
92936
|
+
const type$h = "com.shwfed.table.column.combobox-multi";
|
|
92937
|
+
const compatibilityDate$h = "2026-05-26";
|
|
92938
|
+
const metadata$h = {
|
|
92939
92939
|
name: "多选",
|
|
92940
92940
|
icon: "fluent:chevron-down-20-regular"
|
|
92941
92941
|
};
|
|
@@ -93035,12 +93035,12 @@ function optionsSchema$2(configure) {
|
|
|
93035
93035
|
description: '选项可以是静态配置(`kind: "static"`)或由远程接口加载(`kind: "remote"`)'
|
|
93036
93036
|
});
|
|
93037
93037
|
}
|
|
93038
|
-
function schema$
|
|
93038
|
+
function schema$h(configure) {
|
|
93039
93039
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
93040
93040
|
const Options = optionsSchema$2(configure);
|
|
93041
93041
|
return Struct({
|
|
93042
|
-
type: Literal2(type$
|
|
93043
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
93042
|
+
type: Literal2(type$h),
|
|
93043
|
+
compatibilityDate: Literal2(compatibilityDate$h),
|
|
93044
93044
|
...editableColumnFields(),
|
|
93045
93045
|
placeholder: optional(Locale.annotations({
|
|
93046
93046
|
title: "占位符",
|
|
@@ -93076,14 +93076,14 @@ const migrate$2 = (prev) => try_({
|
|
|
93076
93076
|
const itemsArr = Array.isArray(items2) ? items2 : [];
|
|
93077
93077
|
return {
|
|
93078
93078
|
...rest,
|
|
93079
|
-
type: type$
|
|
93080
|
-
compatibilityDate: compatibilityDate$
|
|
93079
|
+
type: type$h,
|
|
93080
|
+
compatibilityDate: compatibilityDate$h,
|
|
93081
93081
|
options: { kind: "static", items: itemsArr }
|
|
93082
93082
|
};
|
|
93083
93083
|
},
|
|
93084
93084
|
catch: (e) => e instanceof Error ? e : new Error(String(e))
|
|
93085
93085
|
});
|
|
93086
|
-
function toColumnDef$
|
|
93086
|
+
function toColumnDef$4(value, { getLocaleText }) {
|
|
93087
93087
|
return {
|
|
93088
93088
|
header: editableHeader(getLocaleText(value.title)),
|
|
93089
93089
|
accessorFn: (row) => {
|
|
@@ -93101,20 +93101,20 @@ function toColumnDef$2(value, { getLocaleText }) {
|
|
|
93101
93101
|
}
|
|
93102
93102
|
const __vite_glob_0_21$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
93103
93103
|
__proto__: null,
|
|
93104
|
-
compatibilityDate: compatibilityDate$
|
|
93104
|
+
compatibilityDate: compatibilityDate$h,
|
|
93105
93105
|
itemSchema: itemSchema$2,
|
|
93106
|
-
metadata: metadata$
|
|
93106
|
+
metadata: metadata$h,
|
|
93107
93107
|
migrate: migrate$2,
|
|
93108
93108
|
migrateFrom: migrateFrom$2,
|
|
93109
93109
|
optionsSchema: optionsSchema$2,
|
|
93110
93110
|
remoteOptionsSchema: remoteOptionsSchema$2,
|
|
93111
|
-
schema: schema$
|
|
93112
|
-
toColumnDef: toColumnDef$
|
|
93113
|
-
type: type$
|
|
93111
|
+
schema: schema$h,
|
|
93112
|
+
toColumnDef: toColumnDef$4,
|
|
93113
|
+
type: type$h
|
|
93114
93114
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
93115
|
-
const type$
|
|
93116
|
-
const compatibilityDate$
|
|
93117
|
-
const metadata$
|
|
93115
|
+
const type$g = "com.shwfed.table.column.combobox-single.remote";
|
|
93116
|
+
const compatibilityDate$g = "2026-05-26";
|
|
93117
|
+
const metadata$g = {
|
|
93118
93118
|
name: "单选(远程)",
|
|
93119
93119
|
icon: "fluent:cloud-arrow-up-20-regular"
|
|
93120
93120
|
};
|
|
@@ -93214,7 +93214,7 @@ function optionsSchema$1(configure) {
|
|
|
93214
93214
|
description: '选项可以是静态配置(`kind: "static"`)或由远程接口加载(`kind: "remote"`)'
|
|
93215
93215
|
});
|
|
93216
93216
|
}
|
|
93217
|
-
function schema$
|
|
93217
|
+
function schema$g(configure) {
|
|
93218
93218
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
93219
93219
|
const Options = optionsSchema$1(configure);
|
|
93220
93220
|
const CelOnChange = Expression({
|
|
@@ -93233,8 +93233,8 @@ function schema$c(configure) {
|
|
|
93233
93233
|
resultType: "string"
|
|
93234
93234
|
});
|
|
93235
93235
|
return Struct({
|
|
93236
|
-
type: Literal2(type$
|
|
93237
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
93236
|
+
type: Literal2(type$g),
|
|
93237
|
+
compatibilityDate: Literal2(compatibilityDate$g),
|
|
93238
93238
|
...columnFields(configure),
|
|
93239
93239
|
placeholder: optional(Locale.annotations({
|
|
93240
93240
|
title: "占位符",
|
|
@@ -93288,8 +93288,8 @@ const migrate$1 = (prev) => try_({
|
|
|
93288
93288
|
const itemsArr = Array.isArray(items2) ? items2 : [];
|
|
93289
93289
|
return {
|
|
93290
93290
|
...rest,
|
|
93291
|
-
type: type$
|
|
93292
|
-
compatibilityDate: compatibilityDate$
|
|
93291
|
+
type: type$g,
|
|
93292
|
+
compatibilityDate: compatibilityDate$g,
|
|
93293
93293
|
options: { kind: "static", items: itemsArr }
|
|
93294
93294
|
};
|
|
93295
93295
|
}
|
|
@@ -93302,8 +93302,8 @@ const migrate$1 = (prev) => try_({
|
|
|
93302
93302
|
if (Array.isArray(optionLabel)) remote.optionLabel = optionLabel;
|
|
93303
93303
|
return {
|
|
93304
93304
|
...rest,
|
|
93305
|
-
type: type$
|
|
93306
|
-
compatibilityDate: compatibilityDate$
|
|
93305
|
+
type: type$g,
|
|
93306
|
+
compatibilityDate: compatibilityDate$g,
|
|
93307
93307
|
options: remote
|
|
93308
93308
|
};
|
|
93309
93309
|
}
|
|
@@ -93311,7 +93311,7 @@ const migrate$1 = (prev) => try_({
|
|
|
93311
93311
|
},
|
|
93312
93312
|
catch: (e) => e instanceof Error ? e : new Error(String(e))
|
|
93313
93313
|
});
|
|
93314
|
-
function toColumnDef$
|
|
93314
|
+
function toColumnDef$3(value, { getLocaleText, $cel, inheritedContext }) {
|
|
93315
93315
|
return {
|
|
93316
93316
|
header: editableHeader(getLocaleText(value.title)),
|
|
93317
93317
|
accessorFn: (row, index) => {
|
|
@@ -93333,20 +93333,20 @@ function toColumnDef$1(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
93333
93333
|
}
|
|
93334
93334
|
const __vite_glob_0_22$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
93335
93335
|
__proto__: null,
|
|
93336
|
-
compatibilityDate: compatibilityDate$
|
|
93336
|
+
compatibilityDate: compatibilityDate$g,
|
|
93337
93337
|
itemSchema: itemSchema$1,
|
|
93338
|
-
metadata: metadata$
|
|
93338
|
+
metadata: metadata$g,
|
|
93339
93339
|
migrate: migrate$1,
|
|
93340
93340
|
migrateFrom: migrateFrom$1,
|
|
93341
93341
|
optionsSchema: optionsSchema$1,
|
|
93342
93342
|
remoteOptionsSchema: remoteOptionsSchema$1,
|
|
93343
|
-
schema: schema$
|
|
93344
|
-
toColumnDef: toColumnDef$
|
|
93345
|
-
type: type$
|
|
93343
|
+
schema: schema$g,
|
|
93344
|
+
toColumnDef: toColumnDef$3,
|
|
93345
|
+
type: type$g
|
|
93346
93346
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
93347
|
-
const type$
|
|
93348
|
-
const compatibilityDate$
|
|
93349
|
-
const metadata$
|
|
93347
|
+
const type$f = "com.shwfed.table.column.combobox-single";
|
|
93348
|
+
const compatibilityDate$f = "2026-05-26";
|
|
93349
|
+
const metadata$f = {
|
|
93350
93350
|
name: "单选",
|
|
93351
93351
|
icon: "fluent:chevron-down-20-regular"
|
|
93352
93352
|
};
|
|
@@ -93446,12 +93446,12 @@ function optionsSchema(configure) {
|
|
|
93446
93446
|
description: '选项可以是静态配置(`kind: "static"`)或由远程接口加载(`kind: "remote"`)'
|
|
93447
93447
|
});
|
|
93448
93448
|
}
|
|
93449
|
-
function schema$
|
|
93449
|
+
function schema$f(configure) {
|
|
93450
93450
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
93451
93451
|
const Options = optionsSchema(configure);
|
|
93452
93452
|
return Struct({
|
|
93453
|
-
type: Literal2(type$
|
|
93454
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
93453
|
+
type: Literal2(type$f),
|
|
93454
|
+
compatibilityDate: Literal2(compatibilityDate$f),
|
|
93455
93455
|
...editableColumnFields(),
|
|
93456
93456
|
placeholder: optional(Locale.annotations({
|
|
93457
93457
|
title: "占位符",
|
|
@@ -93487,14 +93487,14 @@ const migrate = (prev) => try_({
|
|
|
93487
93487
|
const itemsArr = Array.isArray(items2) ? items2 : [];
|
|
93488
93488
|
return {
|
|
93489
93489
|
...rest,
|
|
93490
|
-
type: type$
|
|
93491
|
-
compatibilityDate: compatibilityDate$
|
|
93490
|
+
type: type$f,
|
|
93491
|
+
compatibilityDate: compatibilityDate$f,
|
|
93492
93492
|
options: { kind: "static", items: itemsArr }
|
|
93493
93493
|
};
|
|
93494
93494
|
},
|
|
93495
93495
|
catch: (e) => e instanceof Error ? e : new Error(String(e))
|
|
93496
93496
|
});
|
|
93497
|
-
function toColumnDef(value, { getLocaleText }) {
|
|
93497
|
+
function toColumnDef$2(value, { getLocaleText }) {
|
|
93498
93498
|
return {
|
|
93499
93499
|
header: editableHeader(getLocaleText(value.title)),
|
|
93500
93500
|
accessorFn: (row) => {
|
|
@@ -93512,16 +93512,290 @@ function toColumnDef(value, { getLocaleText }) {
|
|
|
93512
93512
|
}
|
|
93513
93513
|
const __vite_glob_0_23$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
93514
93514
|
__proto__: null,
|
|
93515
|
-
compatibilityDate: compatibilityDate$
|
|
93515
|
+
compatibilityDate: compatibilityDate$f,
|
|
93516
93516
|
itemSchema,
|
|
93517
|
-
metadata: metadata$
|
|
93517
|
+
metadata: metadata$f,
|
|
93518
93518
|
migrate,
|
|
93519
93519
|
migrateFrom,
|
|
93520
93520
|
optionsSchema,
|
|
93521
93521
|
remoteOptionsSchema,
|
|
93522
|
-
schema: schema$
|
|
93522
|
+
schema: schema$f,
|
|
93523
|
+
toColumnDef: toColumnDef$2,
|
|
93524
|
+
type: type$f
|
|
93525
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
93526
|
+
const type$e = "com.shwfed.table.column.tree-combobox-multi";
|
|
93527
|
+
const compatibilityDate$e = "2026-05-27";
|
|
93528
|
+
const metadata$e = {
|
|
93529
|
+
name: "下拉树(多选)",
|
|
93530
|
+
icon: "fluent:tree-evergreen-20-regular"
|
|
93531
|
+
};
|
|
93532
|
+
const isListLike$3 = (t) => t === "dyn" || t.startsWith("list") || t.startsWith("optional");
|
|
93533
|
+
const isKeyType$3 = (t) => t === "string" || t === "number" || t === "dyn";
|
|
93534
|
+
function withRowAndNode$1(configure) {
|
|
93535
|
+
return (env) => {
|
|
93536
|
+
configure(env);
|
|
93537
|
+
registerRowVariablesIfAbsent(env);
|
|
93538
|
+
env.registerVariable("node", "dyn", { description: "`数据源` 返回的节点;由树逐层向下读取" });
|
|
93539
|
+
};
|
|
93540
|
+
}
|
|
93541
|
+
function schema$e(configure) {
|
|
93542
|
+
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
93543
|
+
const CelNodeKey = Expression({ configure: withRowAndNode$1(configure), resultType: isKeyType$3 });
|
|
93544
|
+
const CelNodeChildren = Expression({ configure: withRowAndNode$1(configure), resultType: isListLike$3 });
|
|
93545
|
+
const CelNodeBool = Expression({ configure: withRowAndNode$1(configure), resultType: "bool" });
|
|
93546
|
+
const NodeLocaleMd = LocaleMarkdown({ configure: withRowAndNode$1(configure) });
|
|
93547
|
+
const dataSourceConfigure = (env) => {
|
|
93548
|
+
configure(env);
|
|
93549
|
+
registerRowVariablesIfAbsent(env);
|
|
93550
|
+
};
|
|
93551
|
+
const CelDataSourceRequest = Expression({
|
|
93552
|
+
configure: dataSourceConfigure,
|
|
93553
|
+
resultType: "HttpRequest"
|
|
93554
|
+
});
|
|
93555
|
+
const CelDataSourceData = Expression({
|
|
93556
|
+
configure: (env) => {
|
|
93557
|
+
dataSourceConfigure(env);
|
|
93558
|
+
env.registerVariable("json", "optional<dyn>", {
|
|
93559
|
+
description: "HTTP 响应体(已解析 JSON);未配置 `request` 时为 `none`"
|
|
93560
|
+
});
|
|
93561
|
+
},
|
|
93562
|
+
resultType: (t) => t.startsWith("list") || t === "dyn" || t.startsWith("optional")
|
|
93563
|
+
});
|
|
93564
|
+
const TreeDataSource = Struct({
|
|
93565
|
+
request: optional(CelDataSourceRequest).annotations({
|
|
93566
|
+
title: "请求",
|
|
93567
|
+
description: "可选的 HTTP 请求表达式;未配置时数据从 `data` 表达式中读取"
|
|
93568
|
+
}),
|
|
93569
|
+
data: CelDataSourceData.annotations({
|
|
93570
|
+
title: "数据",
|
|
93571
|
+
description: "返回行数据列表的 CEL 表达式;配置了 `request` 时可通过 `json` 引用响应体"
|
|
93572
|
+
})
|
|
93573
|
+
}).annotations({ title: "DataSource", description: "数据源配置" });
|
|
93574
|
+
return Struct({
|
|
93575
|
+
type: Literal2(type$e),
|
|
93576
|
+
compatibilityDate: Literal2(compatibilityDate$e),
|
|
93577
|
+
...editableColumnFields(),
|
|
93578
|
+
placeholder: optional(Locale.annotations({
|
|
93579
|
+
title: "占位符",
|
|
93580
|
+
description: "未选中任何选项时输入框中的占位文本"
|
|
93581
|
+
})),
|
|
93582
|
+
hidden: optional(CelBool.annotations({
|
|
93583
|
+
title: "隐藏条件",
|
|
93584
|
+
description: "返回 `true` 时该行的下拉树不渲染(其余行不受影响)"
|
|
93585
|
+
})),
|
|
93586
|
+
disabled: optional(CelBool.annotations({
|
|
93587
|
+
title: "禁用条件",
|
|
93588
|
+
description: "返回 `true` 时下拉树仍然渲染但不可选择"
|
|
93589
|
+
})),
|
|
93590
|
+
readonly: optional(CelBool.annotations({
|
|
93591
|
+
title: "只读条件",
|
|
93592
|
+
description: "返回 `true` 时仅以纯文本展示当前已选项的标签"
|
|
93593
|
+
})),
|
|
93594
|
+
derived: derivedRowField(configure, isListLike$3),
|
|
93595
|
+
dataSource: TreeDataSource.annotations({
|
|
93596
|
+
title: "数据源",
|
|
93597
|
+
description: "返回完整树(根节点列表)的数据源;通过 `节点子级` 表达式逐层向下读取;可访问 `row`、`index`"
|
|
93598
|
+
}),
|
|
93599
|
+
nodeKey: CelNodeKey.annotations({
|
|
93600
|
+
title: "节点 ID",
|
|
93601
|
+
description: "为每个节点计算稳定唯一 ID 的 CEL 表达式,可访问 `node`、`row`、`index`;运行时以字符串形式存储"
|
|
93602
|
+
}),
|
|
93603
|
+
nodeChildren: CelNodeChildren.annotations({
|
|
93604
|
+
title: "节点子级",
|
|
93605
|
+
description: "返回当前节点子级列表的 CEL 表达式;返回 `none`/`null` 或空数组时该节点视为叶子(终端节点)"
|
|
93606
|
+
}),
|
|
93607
|
+
nodeLabel: NodeLocaleMd.annotations({
|
|
93608
|
+
title: "节点标签",
|
|
93609
|
+
description: "节点展示的本地化文本,支持 Markdown 与 `{{ node.foo }}` / `{{ row.foo }}` 插值"
|
|
93610
|
+
}),
|
|
93611
|
+
nodeTooltip: optional(NodeLocaleMd.annotations({
|
|
93612
|
+
title: "节点提示",
|
|
93613
|
+
description: "鼠标悬停在节点上时展示的本地化提示"
|
|
93614
|
+
})),
|
|
93615
|
+
nodeSelectable: optional(CelNodeBool.annotations({
|
|
93616
|
+
title: "节点可选条件",
|
|
93617
|
+
description: "返回 `true` 表示该节点可被选中;默认全部可选"
|
|
93618
|
+
})),
|
|
93619
|
+
cascade: optionalWith(
|
|
93620
|
+
Literal2("independent", "cascade-down", "cascade-both"),
|
|
93621
|
+
{ default: () => "independent" }
|
|
93622
|
+
).annotations({
|
|
93623
|
+
title: "级联模式",
|
|
93624
|
+
description: "`独立`:勾选 / 取消只作用于当前节点;`向下级联`:勾选父节点自动勾选其全部可选后代;`双向级联`:在向下级联基础上,父节点反映后代勾选状态(部分选中显示为半选)"
|
|
93625
|
+
}),
|
|
93626
|
+
expandAll: optionalWith(Boolean$, { default: () => false }).annotations({
|
|
93627
|
+
title: "默认全部展开",
|
|
93628
|
+
description: "开启后挂载时展开所有非叶子节点"
|
|
93629
|
+
})
|
|
93630
|
+
}).annotations({ title: "TreeComboboxMultiRenderer", description: "下拉树多选渲染器(可编辑)" });
|
|
93631
|
+
}
|
|
93632
|
+
function defaults$7() {
|
|
93633
|
+
return {
|
|
93634
|
+
dataSource: { data: "[]" },
|
|
93635
|
+
nodeKey: "string(node.id)",
|
|
93636
|
+
nodeChildren: "has(node.children) ? node.children : null",
|
|
93637
|
+
nodeLabel: [{ locale: "zh", message: "{{ node.label }}" }],
|
|
93638
|
+
cascade: "independent",
|
|
93639
|
+
expandAll: false
|
|
93640
|
+
};
|
|
93641
|
+
}
|
|
93642
|
+
function toColumnDef$1(value, { getLocaleText }) {
|
|
93643
|
+
return {
|
|
93644
|
+
header: editableHeader(getLocaleText(value.title)),
|
|
93645
|
+
accessorFn: (row) => {
|
|
93646
|
+
if (!row || typeof row !== "object") return void 0;
|
|
93647
|
+
return getProperty(row, value.binding);
|
|
93648
|
+
},
|
|
93649
|
+
enableSorting: value.enableSorting ?? false,
|
|
93650
|
+
sortingFn: "basic",
|
|
93651
|
+
size: value.size,
|
|
93652
|
+
meta: {
|
|
93653
|
+
grow: value.grow ?? false,
|
|
93654
|
+
tooltip: getLocaleText(value.tooltip)
|
|
93655
|
+
}
|
|
93656
|
+
};
|
|
93657
|
+
}
|
|
93658
|
+
const __vite_glob_0_24$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
93659
|
+
__proto__: null,
|
|
93660
|
+
compatibilityDate: compatibilityDate$e,
|
|
93661
|
+
defaults: defaults$7,
|
|
93662
|
+
metadata: metadata$e,
|
|
93663
|
+
schema: schema$e,
|
|
93664
|
+
toColumnDef: toColumnDef$1,
|
|
93665
|
+
type: type$e
|
|
93666
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
93667
|
+
const type$d = "com.shwfed.table.column.tree-combobox-single";
|
|
93668
|
+
const compatibilityDate$d = "2026-05-27";
|
|
93669
|
+
const metadata$d = {
|
|
93670
|
+
name: "下拉树(单选)",
|
|
93671
|
+
icon: "fluent:tree-evergreen-20-regular"
|
|
93672
|
+
};
|
|
93673
|
+
const isListLike$2 = (t) => t === "dyn" || t.startsWith("list") || t.startsWith("optional");
|
|
93674
|
+
const isKeyType$2 = (t) => t === "string" || t === "number" || t === "dyn";
|
|
93675
|
+
function withRowAndNode(configure) {
|
|
93676
|
+
return (env) => {
|
|
93677
|
+
configure(env);
|
|
93678
|
+
registerRowVariablesIfAbsent(env);
|
|
93679
|
+
env.registerVariable("node", "dyn", { description: "`数据源` 返回的节点;由树逐层向下读取" });
|
|
93680
|
+
};
|
|
93681
|
+
}
|
|
93682
|
+
function schema$d(configure) {
|
|
93683
|
+
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
93684
|
+
const CelNodeKey = Expression({ configure: withRowAndNode(configure), resultType: isKeyType$2 });
|
|
93685
|
+
const CelNodeChildren = Expression({ configure: withRowAndNode(configure), resultType: isListLike$2 });
|
|
93686
|
+
const CelNodeBool = Expression({ configure: withRowAndNode(configure), resultType: "bool" });
|
|
93687
|
+
const NodeLocaleMd = LocaleMarkdown({ configure: withRowAndNode(configure) });
|
|
93688
|
+
const dataSourceConfigure = (env) => {
|
|
93689
|
+
configure(env);
|
|
93690
|
+
registerRowVariablesIfAbsent(env);
|
|
93691
|
+
};
|
|
93692
|
+
const CelDataSourceRequest = Expression({
|
|
93693
|
+
configure: dataSourceConfigure,
|
|
93694
|
+
resultType: "HttpRequest"
|
|
93695
|
+
});
|
|
93696
|
+
const CelDataSourceData = Expression({
|
|
93697
|
+
configure: (env) => {
|
|
93698
|
+
dataSourceConfigure(env);
|
|
93699
|
+
env.registerVariable("json", "optional<dyn>", {
|
|
93700
|
+
description: "HTTP 响应体(已解析 JSON);未配置 `request` 时为 `none`"
|
|
93701
|
+
});
|
|
93702
|
+
},
|
|
93703
|
+
resultType: (t) => t.startsWith("list") || t === "dyn" || t.startsWith("optional")
|
|
93704
|
+
});
|
|
93705
|
+
const TreeDataSource = Struct({
|
|
93706
|
+
request: optional(CelDataSourceRequest).annotations({
|
|
93707
|
+
title: "请求",
|
|
93708
|
+
description: "可选的 HTTP 请求表达式;未配置时数据从 `data` 表达式中读取"
|
|
93709
|
+
}),
|
|
93710
|
+
data: CelDataSourceData.annotations({
|
|
93711
|
+
title: "数据",
|
|
93712
|
+
description: "返回行数据列表的 CEL 表达式;配置了 `request` 时可通过 `json` 引用响应体"
|
|
93713
|
+
})
|
|
93714
|
+
}).annotations({ title: "DataSource", description: "数据源配置" });
|
|
93715
|
+
return Struct({
|
|
93716
|
+
type: Literal2(type$d),
|
|
93717
|
+
compatibilityDate: Literal2(compatibilityDate$d),
|
|
93718
|
+
...editableColumnFields(),
|
|
93719
|
+
placeholder: optional(Locale.annotations({
|
|
93720
|
+
title: "占位符",
|
|
93721
|
+
description: "未选中任何选项时输入框中的占位文本"
|
|
93722
|
+
})),
|
|
93723
|
+
hidden: optional(CelBool.annotations({
|
|
93724
|
+
title: "隐藏条件",
|
|
93725
|
+
description: "返回 `true` 时该行的下拉树不渲染(其余行不受影响)"
|
|
93726
|
+
})),
|
|
93727
|
+
disabled: optional(CelBool.annotations({
|
|
93728
|
+
title: "禁用条件",
|
|
93729
|
+
description: "返回 `true` 时下拉树仍然渲染但不可选择"
|
|
93730
|
+
})),
|
|
93731
|
+
readonly: optional(CelBool.annotations({
|
|
93732
|
+
title: "只读条件",
|
|
93733
|
+
description: "返回 `true` 时仅以纯文本展示当前选项的标签"
|
|
93734
|
+
})),
|
|
93735
|
+
derived: derivedRowField(configure, "dyn"),
|
|
93736
|
+
dataSource: TreeDataSource.annotations({
|
|
93737
|
+
title: "数据源",
|
|
93738
|
+
description: "返回完整树(根节点列表)的数据源;通过 `节点子级` 表达式逐层向下读取;可访问 `row`、`index`"
|
|
93739
|
+
}),
|
|
93740
|
+
nodeKey: CelNodeKey.annotations({
|
|
93741
|
+
title: "节点 ID",
|
|
93742
|
+
description: "为每个节点计算稳定唯一 ID 的 CEL 表达式,可访问 `node`、`row`、`index`;运行时以字符串形式存储"
|
|
93743
|
+
}),
|
|
93744
|
+
nodeChildren: CelNodeChildren.annotations({
|
|
93745
|
+
title: "节点子级",
|
|
93746
|
+
description: "返回当前节点子级列表的 CEL 表达式;返回 `none`/`null` 或空数组时该节点视为叶子(终端节点)"
|
|
93747
|
+
}),
|
|
93748
|
+
nodeLabel: NodeLocaleMd.annotations({
|
|
93749
|
+
title: "节点标签",
|
|
93750
|
+
description: "节点展示的本地化文本,支持 Markdown 与 `{{ node.foo }}` / `{{ row.foo }}` 插值"
|
|
93751
|
+
}),
|
|
93752
|
+
nodeTooltip: optional(NodeLocaleMd.annotations({
|
|
93753
|
+
title: "节点提示",
|
|
93754
|
+
description: "鼠标悬停在节点上时展示的本地化提示"
|
|
93755
|
+
})),
|
|
93756
|
+
nodeSelectable: optional(CelNodeBool.annotations({
|
|
93757
|
+
title: "节点可选条件",
|
|
93758
|
+
description: "返回 `true` 表示该节点可被选中;默认全部可选"
|
|
93759
|
+
})),
|
|
93760
|
+
expandAll: optionalWith(Boolean$, { default: () => false }).annotations({
|
|
93761
|
+
title: "默认全部展开",
|
|
93762
|
+
description: "开启后挂载时展开所有非叶子节点"
|
|
93763
|
+
})
|
|
93764
|
+
}).annotations({ title: "TreeComboboxSingleRenderer", description: "下拉树单选渲染器(可编辑)" });
|
|
93765
|
+
}
|
|
93766
|
+
function defaults$6() {
|
|
93767
|
+
return {
|
|
93768
|
+
dataSource: { data: "[]" },
|
|
93769
|
+
nodeKey: "string(node.id)",
|
|
93770
|
+
nodeChildren: "has(node.children) ? node.children : null",
|
|
93771
|
+
nodeLabel: [{ locale: "zh", message: "{{ node.label }}" }],
|
|
93772
|
+
expandAll: false
|
|
93773
|
+
};
|
|
93774
|
+
}
|
|
93775
|
+
function toColumnDef(value, { getLocaleText }) {
|
|
93776
|
+
return {
|
|
93777
|
+
header: editableHeader(getLocaleText(value.title)),
|
|
93778
|
+
accessorFn: (row) => {
|
|
93779
|
+
if (!row || typeof row !== "object") return void 0;
|
|
93780
|
+
return getProperty(row, value.binding);
|
|
93781
|
+
},
|
|
93782
|
+
enableSorting: value.enableSorting ?? false,
|
|
93783
|
+
sortingFn: "basic",
|
|
93784
|
+
size: value.size,
|
|
93785
|
+
meta: {
|
|
93786
|
+
grow: value.grow ?? false,
|
|
93787
|
+
tooltip: getLocaleText(value.tooltip)
|
|
93788
|
+
}
|
|
93789
|
+
};
|
|
93790
|
+
}
|
|
93791
|
+
const __vite_glob_0_25$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
93792
|
+
__proto__: null,
|
|
93793
|
+
compatibilityDate: compatibilityDate$d,
|
|
93794
|
+
defaults: defaults$6,
|
|
93795
|
+
metadata: metadata$d,
|
|
93796
|
+
schema: schema$d,
|
|
93523
93797
|
toColumnDef,
|
|
93524
|
-
type: type$
|
|
93798
|
+
type: type$d
|
|
93525
93799
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
93526
93800
|
const schemaModules$2 = /* @__PURE__ */ Object.assign({
|
|
93527
93801
|
"../columns/2026-04-14/com.shwfed.table.column.actions/schema.ts": __vite_glob_0_0,
|
|
@@ -93547,7 +93821,9 @@ const schemaModules$2 = /* @__PURE__ */ Object.assign({
|
|
|
93547
93821
|
"../columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/schema.ts": __vite_glob_0_20$1,
|
|
93548
93822
|
"../columns/2026-05-26/com.shwfed.table.column.combobox-multi/schema.ts": __vite_glob_0_21$1,
|
|
93549
93823
|
"../columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/schema.ts": __vite_glob_0_22$1,
|
|
93550
|
-
"../columns/2026-05-26/com.shwfed.table.column.combobox-single/schema.ts": __vite_glob_0_23$1
|
|
93824
|
+
"../columns/2026-05-26/com.shwfed.table.column.combobox-single/schema.ts": __vite_glob_0_23$1,
|
|
93825
|
+
"../columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/schema.ts": __vite_glob_0_24$1,
|
|
93826
|
+
"../columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/schema.ts": __vite_glob_0_25$1
|
|
93551
93827
|
});
|
|
93552
93828
|
const configModules$2 = /* @__PURE__ */ Object.assign({
|
|
93553
93829
|
"../columns/2026-04-14/com.shwfed.table.column.actions/config.vue": __vite_glob_2_5,
|
|
@@ -93573,7 +93849,9 @@ const configModules$2 = /* @__PURE__ */ Object.assign({
|
|
|
93573
93849
|
"../columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/config.vue": __vite_glob_2_5,
|
|
93574
93850
|
"../columns/2026-05-26/com.shwfed.table.column.combobox-multi/config.vue": __vite_glob_2_5,
|
|
93575
93851
|
"../columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/config.vue": __vite_glob_2_5,
|
|
93576
|
-
"../columns/2026-05-26/com.shwfed.table.column.combobox-single/config.vue": __vite_glob_2_5
|
|
93852
|
+
"../columns/2026-05-26/com.shwfed.table.column.combobox-single/config.vue": __vite_glob_2_5,
|
|
93853
|
+
"../columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/config.vue": __vite_glob_2_5,
|
|
93854
|
+
"../columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/config.vue": __vite_glob_2_5
|
|
93577
93855
|
});
|
|
93578
93856
|
const runtimeModules$2 = /* @__PURE__ */ Object.assign({
|
|
93579
93857
|
"../columns/2026-04-14/com.shwfed.table.column.actions/runtime.vue": __vite_glob_2_5,
|
|
@@ -93599,7 +93877,9 @@ const runtimeModules$2 = /* @__PURE__ */ Object.assign({
|
|
|
93599
93877
|
"../columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/runtime.vue": __vite_glob_2_5,
|
|
93600
93878
|
"../columns/2026-05-26/com.shwfed.table.column.combobox-multi/runtime.vue": __vite_glob_2_5,
|
|
93601
93879
|
"../columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/runtime.vue": __vite_glob_2_5,
|
|
93602
|
-
"../columns/2026-05-26/com.shwfed.table.column.combobox-single/runtime.vue": __vite_glob_2_5
|
|
93880
|
+
"../columns/2026-05-26/com.shwfed.table.column.combobox-single/runtime.vue": __vite_glob_2_5,
|
|
93881
|
+
"../columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/runtime.vue": __vite_glob_2_5,
|
|
93882
|
+
"../columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/runtime.vue": __vite_glob_2_5
|
|
93603
93883
|
});
|
|
93604
93884
|
const sourceKey$1 = (type2, compatibilityDate2) => `${type2}@${compatibilityDate2}`;
|
|
93605
93885
|
const registry$2 = defineRegistry({
|
|
@@ -94016,21 +94296,21 @@ function defaultTableConfig() {
|
|
|
94016
94296
|
: index % 2 == 1 ? { 'background-color': 'oklch(98.5% 0 0)' } : { 'background-color': 'white' }`
|
|
94017
94297
|
};
|
|
94018
94298
|
}
|
|
94019
|
-
const type$
|
|
94020
|
-
const compatibilityDate$
|
|
94021
|
-
const metadata$
|
|
94299
|
+
const type$c = "com.shwfed.form.field.table";
|
|
94300
|
+
const compatibilityDate$c = "2026-05-18";
|
|
94301
|
+
const metadata$c = {
|
|
94022
94302
|
name: "表格",
|
|
94023
94303
|
icon: "fluent:table-20-regular",
|
|
94024
94304
|
w: { initial: 12, min: 6, max: Infinity },
|
|
94025
94305
|
h: { initial: 10, min: 5, max: Infinity, grow: true }
|
|
94026
94306
|
};
|
|
94027
|
-
function schema$
|
|
94307
|
+
function schema$c(configure) {
|
|
94028
94308
|
const Table = suspend(
|
|
94029
94309
|
() => TableConfig(configure)
|
|
94030
94310
|
);
|
|
94031
94311
|
return Struct({
|
|
94032
|
-
type: Literal2(type$
|
|
94033
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
94312
|
+
type: Literal2(type$c),
|
|
94313
|
+
compatibilityDate: Literal2(compatibilityDate$c),
|
|
94034
94314
|
...commonFieldFields(configure),
|
|
94035
94315
|
label: optional(Locale.annotations({
|
|
94036
94316
|
title: "标签",
|
|
@@ -94054,31 +94334,31 @@ function schema$a(configure) {
|
|
|
94054
94334
|
description: "把一个可本地编辑的表格嵌入表单,其实时数据写入绑定路径"
|
|
94055
94335
|
});
|
|
94056
94336
|
}
|
|
94057
|
-
function defaults$
|
|
94337
|
+
function defaults$5() {
|
|
94058
94338
|
const { dataSource: _omit, ...rest } = defaultTableConfig();
|
|
94059
94339
|
return { table: rest };
|
|
94060
94340
|
}
|
|
94061
94341
|
const __vite_glob_0_20 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
94062
94342
|
__proto__: null,
|
|
94063
|
-
compatibilityDate: compatibilityDate$
|
|
94064
|
-
defaults: defaults$
|
|
94065
|
-
metadata: metadata$
|
|
94066
|
-
schema: schema$
|
|
94067
|
-
type: type$
|
|
94343
|
+
compatibilityDate: compatibilityDate$c,
|
|
94344
|
+
defaults: defaults$5,
|
|
94345
|
+
metadata: metadata$c,
|
|
94346
|
+
schema: schema$c,
|
|
94347
|
+
type: type$c
|
|
94068
94348
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
94069
|
-
const type$
|
|
94070
|
-
const compatibilityDate$
|
|
94071
|
-
const metadata$
|
|
94349
|
+
const type$b = "com.shwfed.form.field.collapsible";
|
|
94350
|
+
const compatibilityDate$b = "2026-05-20";
|
|
94351
|
+
const metadata$b = {
|
|
94072
94352
|
name: "可折叠区域",
|
|
94073
94353
|
icon: "fluent:chevron-down-20-regular",
|
|
94074
94354
|
w: { initial: 12, min: 4, max: Infinity },
|
|
94075
94355
|
h: { initial: 4, min: 2, max: Infinity, grow: true }
|
|
94076
94356
|
};
|
|
94077
|
-
function schema$
|
|
94357
|
+
function schema$b(configure) {
|
|
94078
94358
|
const Unit = suspend(() => FormUnit(configure));
|
|
94079
94359
|
return Struct({
|
|
94080
|
-
type: Literal2(type$
|
|
94081
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
94360
|
+
type: Literal2(type$b),
|
|
94361
|
+
compatibilityDate: Literal2(compatibilityDate$b),
|
|
94082
94362
|
id: UUID.annotations({ description: "字段唯一标识;布局通过该 id 引用字段" }),
|
|
94083
94363
|
displayName: optional(String$.annotations({
|
|
94084
94364
|
title: "内部名称",
|
|
@@ -94102,7 +94382,7 @@ function schema$9(configure) {
|
|
|
94102
94382
|
description: "带 Markdown 标题的可折叠区域,仅用于视觉分组,不影响字段在表单状态中的层级"
|
|
94103
94383
|
});
|
|
94104
94384
|
}
|
|
94105
|
-
function defaults$
|
|
94385
|
+
function defaults$4() {
|
|
94106
94386
|
return {
|
|
94107
94387
|
header: [{ locale: "zh", message: "" }],
|
|
94108
94388
|
unit: {
|
|
@@ -94113,21 +94393,21 @@ function defaults$2() {
|
|
|
94113
94393
|
}
|
|
94114
94394
|
const __vite_glob_0_21 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
94115
94395
|
__proto__: null,
|
|
94116
|
-
compatibilityDate: compatibilityDate$
|
|
94117
|
-
defaults: defaults$
|
|
94118
|
-
metadata: metadata$
|
|
94119
|
-
schema: schema$
|
|
94120
|
-
type: type$
|
|
94396
|
+
compatibilityDate: compatibilityDate$b,
|
|
94397
|
+
defaults: defaults$4,
|
|
94398
|
+
metadata: metadata$b,
|
|
94399
|
+
schema: schema$b,
|
|
94400
|
+
type: type$b
|
|
94121
94401
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
94122
|
-
const type$
|
|
94123
|
-
const compatibilityDate$
|
|
94124
|
-
const metadata$
|
|
94402
|
+
const type$a = "com.shwfed.form.field.tree.multi";
|
|
94403
|
+
const compatibilityDate$a = "2026-05-23";
|
|
94404
|
+
const metadata$a = {
|
|
94125
94405
|
name: "树(多选)",
|
|
94126
94406
|
icon: "fluent:tree-evergreen-20-regular",
|
|
94127
94407
|
w: { initial: 8, min: 4, max: Infinity },
|
|
94128
94408
|
h: { initial: 8, min: 4, max: Infinity, grow: true }
|
|
94129
94409
|
};
|
|
94130
|
-
function schema$
|
|
94410
|
+
function schema$a(configure) {
|
|
94131
94411
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
94132
94412
|
const nodeConfigure = (env) => {
|
|
94133
94413
|
configure(env);
|
|
@@ -94156,8 +94436,8 @@ function schema$8(configure) {
|
|
|
94156
94436
|
resultType: (t) => t === "dyn" || t.startsWith("list") || t.startsWith("optional")
|
|
94157
94437
|
});
|
|
94158
94438
|
return Struct({
|
|
94159
|
-
type: Literal2(type$
|
|
94160
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
94439
|
+
type: Literal2(type$a),
|
|
94440
|
+
compatibilityDate: Literal2(compatibilityDate$a),
|
|
94161
94441
|
...commonFieldFields(configure),
|
|
94162
94442
|
label: optional(Locale.annotations({
|
|
94163
94443
|
title: "标签",
|
|
@@ -94233,7 +94513,7 @@ function schema$8(configure) {
|
|
|
94233
94513
|
description: "基于树形数据的多选输入"
|
|
94234
94514
|
});
|
|
94235
94515
|
}
|
|
94236
|
-
function defaults$
|
|
94516
|
+
function defaults$3() {
|
|
94237
94517
|
return {
|
|
94238
94518
|
dataSource: { data: "[]" },
|
|
94239
94519
|
nodeKey: "string(node.id)",
|
|
@@ -94245,15 +94525,15 @@ function defaults$1() {
|
|
|
94245
94525
|
}
|
|
94246
94526
|
const __vite_glob_0_22 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
94247
94527
|
__proto__: null,
|
|
94248
|
-
compatibilityDate: compatibilityDate$
|
|
94249
|
-
defaults: defaults$
|
|
94250
|
-
metadata: metadata$
|
|
94251
|
-
schema: schema$
|
|
94252
|
-
type: type$
|
|
94528
|
+
compatibilityDate: compatibilityDate$a,
|
|
94529
|
+
defaults: defaults$3,
|
|
94530
|
+
metadata: metadata$a,
|
|
94531
|
+
schema: schema$a,
|
|
94532
|
+
type: type$a
|
|
94253
94533
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
94254
|
-
const type$
|
|
94255
|
-
const compatibilityDate$
|
|
94256
|
-
const metadata$
|
|
94534
|
+
const type$9 = "com.shwfed.form.field.month";
|
|
94535
|
+
const compatibilityDate$9 = "2026-05-24";
|
|
94536
|
+
const metadata$9 = {
|
|
94257
94537
|
name: "月份",
|
|
94258
94538
|
icon: "fluent:calendar-month-20-regular",
|
|
94259
94539
|
w: { initial: 8, min: 4, max: Infinity },
|
|
@@ -94275,12 +94555,12 @@ function presetSchema$1(configure) {
|
|
|
94275
94555
|
title: "MonthFieldPreset"
|
|
94276
94556
|
});
|
|
94277
94557
|
}
|
|
94278
|
-
function schema$
|
|
94558
|
+
function schema$9(configure) {
|
|
94279
94559
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
94280
94560
|
const Preset = presetSchema$1(configure);
|
|
94281
94561
|
return Struct({
|
|
94282
|
-
type: Literal2(type$
|
|
94283
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
94562
|
+
type: Literal2(type$9),
|
|
94563
|
+
compatibilityDate: Literal2(compatibilityDate$9),
|
|
94284
94564
|
...commonFieldFields(configure),
|
|
94285
94565
|
label: optional(Locale.annotations({
|
|
94286
94566
|
title: "标签",
|
|
@@ -94327,14 +94607,14 @@ function schema$7(configure) {
|
|
|
94327
94607
|
}
|
|
94328
94608
|
const __vite_glob_0_23 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
94329
94609
|
__proto__: null,
|
|
94330
|
-
compatibilityDate: compatibilityDate$
|
|
94331
|
-
metadata: metadata$
|
|
94610
|
+
compatibilityDate: compatibilityDate$9,
|
|
94611
|
+
metadata: metadata$9,
|
|
94332
94612
|
presetSchema: presetSchema$1,
|
|
94333
|
-
schema: schema$
|
|
94334
|
-
type: type$
|
|
94613
|
+
schema: schema$9,
|
|
94614
|
+
type: type$9
|
|
94335
94615
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
94336
|
-
const type$
|
|
94337
|
-
const compatibilityDate$
|
|
94616
|
+
const type$8 = "com.shwfed.form.field.monthrange";
|
|
94617
|
+
const compatibilityDate$8 = "2026-05-24";
|
|
94338
94618
|
const BindingPath = String$.pipe(minLength(1));
|
|
94339
94619
|
const SplitBinding = Tuple(BindingPath, BindingPath).pipe(
|
|
94340
94620
|
filter(([a, b]) => a !== b, {
|
|
@@ -94345,7 +94625,7 @@ const bindingSchema = Union2(BindingPath, SplitBinding).annotations({
|
|
|
94345
94625
|
title: "绑定路径",
|
|
94346
94626
|
description: "写入表单状态的 `dot-prop` 路径;填写单个路径时写入 `[start, end]` 字符串数组,例如 `event.months`;填写 `[起始路径, 结束路径]` 元组时分别写入两端;留空则为非受控字段"
|
|
94347
94627
|
});
|
|
94348
|
-
const metadata$
|
|
94628
|
+
const metadata$8 = {
|
|
94349
94629
|
name: "月份范围",
|
|
94350
94630
|
icon: "fluent:calendar-arrow-right-20-regular",
|
|
94351
94631
|
w: { initial: 10, min: 10, max: Infinity },
|
|
@@ -94371,12 +94651,12 @@ function presetSchema(configure) {
|
|
|
94371
94651
|
title: "MonthRangeFieldPreset"
|
|
94372
94652
|
});
|
|
94373
94653
|
}
|
|
94374
|
-
function schema$
|
|
94654
|
+
function schema$8(configure) {
|
|
94375
94655
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
94376
94656
|
const Preset = presetSchema(configure);
|
|
94377
94657
|
return Struct({
|
|
94378
|
-
type: Literal2(type$
|
|
94379
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
94658
|
+
type: Literal2(type$8),
|
|
94659
|
+
compatibilityDate: Literal2(compatibilityDate$8),
|
|
94380
94660
|
...commonFieldFields(configure),
|
|
94381
94661
|
label: optional(Locale.annotations({
|
|
94382
94662
|
title: "标签",
|
|
@@ -94426,21 +94706,21 @@ function schema$6(configure) {
|
|
|
94426
94706
|
description: "月份范围选择输入"
|
|
94427
94707
|
});
|
|
94428
94708
|
}
|
|
94429
|
-
function defaults() {
|
|
94709
|
+
function defaults$2() {
|
|
94430
94710
|
return { rangeSeparatorIcon: "fluent:arrow-right-20-regular" };
|
|
94431
94711
|
}
|
|
94432
94712
|
const __vite_glob_0_24 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
94433
94713
|
__proto__: null,
|
|
94434
|
-
compatibilityDate: compatibilityDate$
|
|
94435
|
-
defaults,
|
|
94436
|
-
metadata: metadata$
|
|
94714
|
+
compatibilityDate: compatibilityDate$8,
|
|
94715
|
+
defaults: defaults$2,
|
|
94716
|
+
metadata: metadata$8,
|
|
94437
94717
|
presetSchema,
|
|
94438
|
-
schema: schema$
|
|
94439
|
-
type: type$
|
|
94718
|
+
schema: schema$8,
|
|
94719
|
+
type: type$8
|
|
94440
94720
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
94441
|
-
const type$
|
|
94442
|
-
const compatibilityDate$
|
|
94443
|
-
const metadata$
|
|
94721
|
+
const type$7 = "com.shwfed.form.field.combobox.multi";
|
|
94722
|
+
const compatibilityDate$7 = "2026-05-25";
|
|
94723
|
+
const metadata$7 = {
|
|
94444
94724
|
name: "下拉多选",
|
|
94445
94725
|
icon: "fluent:chevron-down-20-regular",
|
|
94446
94726
|
w: { initial: 8, min: 4, max: Infinity },
|
|
@@ -94453,14 +94733,14 @@ function configureWithOption(configure) {
|
|
|
94453
94733
|
};
|
|
94454
94734
|
}
|
|
94455
94735
|
const isListType$1 = (actual) => actual === "dyn" || actual.startsWith("list");
|
|
94456
|
-
function schema$
|
|
94736
|
+
function schema$7(configure) {
|
|
94457
94737
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
94458
94738
|
const CelOptions = Expression({ configure, resultType: isListType$1 });
|
|
94459
94739
|
const CelOptionValue = Expression({ configure: configureWithOption(configure), resultType: "dyn" });
|
|
94460
94740
|
const LocaleOptionLabel = LocaleMarkdown({ configure: configureWithOption(configure) });
|
|
94461
94741
|
return Struct({
|
|
94462
|
-
type: Literal2(type$
|
|
94463
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
94742
|
+
type: Literal2(type$7),
|
|
94743
|
+
compatibilityDate: Literal2(compatibilityDate$7),
|
|
94464
94744
|
...commonFieldFields(configure),
|
|
94465
94745
|
label: optional(Locale.annotations({
|
|
94466
94746
|
title: "标签",
|
|
@@ -94506,8 +94786,228 @@ function schema$5(configure) {
|
|
|
94506
94786
|
});
|
|
94507
94787
|
}
|
|
94508
94788
|
const __vite_glob_0_25 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
94789
|
+
__proto__: null,
|
|
94790
|
+
compatibilityDate: compatibilityDate$7,
|
|
94791
|
+
metadata: metadata$7,
|
|
94792
|
+
schema: schema$7,
|
|
94793
|
+
type: type$7
|
|
94794
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
94795
|
+
const type$6 = "com.shwfed.form.field.tree.combobox.multi";
|
|
94796
|
+
const compatibilityDate$6 = "2026-05-26";
|
|
94797
|
+
const metadata$6 = {
|
|
94798
|
+
name: "下拉树(多选)",
|
|
94799
|
+
icon: "fluent:tree-evergreen-20-regular",
|
|
94800
|
+
w: { initial: 8, min: 4, max: Infinity },
|
|
94801
|
+
h: { initial: 2, min: 2, max: 2 }
|
|
94802
|
+
};
|
|
94803
|
+
const NODE_VAR$1 = {
|
|
94804
|
+
type: "dyn",
|
|
94805
|
+
description: "`数据源` 返回的节点;由树逐层向下读取"
|
|
94806
|
+
};
|
|
94807
|
+
const isListLike$1 = (t) => t === "dyn" || t.startsWith("list") || t.startsWith("optional");
|
|
94808
|
+
const isKeyType$1 = (t) => t === "string" || t === "number" || t === "dyn";
|
|
94809
|
+
function withNode$1(configure) {
|
|
94810
|
+
return (env) => {
|
|
94811
|
+
configure(env);
|
|
94812
|
+
env.registerVariable("node", NODE_VAR$1.type, { description: NODE_VAR$1.description });
|
|
94813
|
+
};
|
|
94814
|
+
}
|
|
94815
|
+
function schema$6(configure) {
|
|
94816
|
+
const CelBool = Expression({ configure, resultType: "bool" });
|
|
94817
|
+
const CelNodeKey = Expression({ configure: withNode$1(configure), resultType: isKeyType$1 });
|
|
94818
|
+
const CelNodeChildren = Expression({ configure: withNode$1(configure), resultType: isListLike$1 });
|
|
94819
|
+
const CelNodeBool = Expression({ configure: withNode$1(configure), resultType: "bool" });
|
|
94820
|
+
const NodeLocaleMd = LocaleMarkdown({ configure: withNode$1(configure) });
|
|
94821
|
+
return Struct({
|
|
94822
|
+
type: Literal2(type$6),
|
|
94823
|
+
compatibilityDate: Literal2(compatibilityDate$6),
|
|
94824
|
+
...commonFieldFields(configure),
|
|
94825
|
+
label: optional(Locale.annotations({
|
|
94826
|
+
title: "标签",
|
|
94827
|
+
description: "字段前展示的文本;留空则不渲染标签"
|
|
94828
|
+
})),
|
|
94829
|
+
placeholder: optional(Locale.annotations({
|
|
94830
|
+
title: "占位符",
|
|
94831
|
+
description: "未选中任何选项时触发器中的占位文本"
|
|
94832
|
+
})),
|
|
94833
|
+
tooltip: optional(Locale.annotations({
|
|
94834
|
+
title: "提示",
|
|
94835
|
+
description: "鼠标悬停在标签上时展示的说明"
|
|
94836
|
+
})),
|
|
94837
|
+
orientation: optional(FieldOrientationSchema),
|
|
94838
|
+
binding: optional(String$.pipe(minLength(1)).annotations({
|
|
94839
|
+
title: "绑定路径",
|
|
94840
|
+
description: "写入表单状态的 `dot-prop` 路径;写入值为已选节点 ID 组成的数组;留空则为非受控字段"
|
|
94841
|
+
})),
|
|
94842
|
+
disabled: optional(CelBool.annotations({
|
|
94843
|
+
title: "禁用条件",
|
|
94844
|
+
description: "返回 `true` 时仍渲染但不可选择"
|
|
94845
|
+
})),
|
|
94846
|
+
readonly: optional(CelBool.annotations({
|
|
94847
|
+
title: "只读条件",
|
|
94848
|
+
description: "返回 `true` 时仅以纯文本展示当前已选项的标签"
|
|
94849
|
+
})),
|
|
94850
|
+
derived: derivedField(configure, isListLike$1),
|
|
94851
|
+
dataSource: DataSource(configure).annotations({
|
|
94852
|
+
title: "数据源",
|
|
94853
|
+
description: "返回完整树(根节点列表)的数据源;通过 `节点子级` 表达式逐层向下读取"
|
|
94854
|
+
}),
|
|
94855
|
+
nodeKey: CelNodeKey.annotations({
|
|
94856
|
+
title: "节点 ID",
|
|
94857
|
+
description: "为每个节点计算稳定唯一 ID 的 CEL 表达式,可访问 `node`;运行时以字符串形式存储"
|
|
94858
|
+
}),
|
|
94859
|
+
nodeChildren: CelNodeChildren.annotations({
|
|
94860
|
+
title: "节点子级",
|
|
94861
|
+
description: "返回当前节点子级列表的 CEL 表达式;返回 `none`/`null` 或空数组时该节点视为叶子(终端节点)"
|
|
94862
|
+
}),
|
|
94863
|
+
nodeLabel: NodeLocaleMd.annotations({
|
|
94864
|
+
title: "节点标签",
|
|
94865
|
+
description: "节点展示的本地化文本,支持 Markdown 与 `{{ node.foo }}` / `{{ form.foo }}` 插值"
|
|
94866
|
+
}),
|
|
94867
|
+
nodeTooltip: optional(NodeLocaleMd.annotations({
|
|
94868
|
+
title: "节点提示",
|
|
94869
|
+
description: "鼠标悬停在节点上时展示的本地化提示"
|
|
94870
|
+
})),
|
|
94871
|
+
nodeSelectable: optional(CelNodeBool.annotations({
|
|
94872
|
+
title: "节点可选条件",
|
|
94873
|
+
description: "返回 `true` 表示该节点可被选中;默认全部可选"
|
|
94874
|
+
})),
|
|
94875
|
+
cascade: optionalWith(
|
|
94876
|
+
Literal2("independent", "cascade-down", "cascade-both"),
|
|
94877
|
+
{ default: () => "independent" }
|
|
94878
|
+
).annotations({
|
|
94879
|
+
title: "级联模式",
|
|
94880
|
+
description: "`独立`:勾选 / 取消只作用于当前节点;`向下级联`:勾选父节点自动勾选其全部可选后代;`双向级联`:在向下级联基础上,父节点反映后代勾选状态(部分选中显示为半选)"
|
|
94881
|
+
}),
|
|
94882
|
+
expandAll: optionalWith(Boolean$, { default: () => false }).annotations({
|
|
94883
|
+
title: "默认全部展开",
|
|
94884
|
+
description: "开启后挂载时展开所有非叶子节点"
|
|
94885
|
+
})
|
|
94886
|
+
}).annotations({
|
|
94887
|
+
title: "TreeComboboxMultiField",
|
|
94888
|
+
description: "基于树形数据的下拉多选输入"
|
|
94889
|
+
});
|
|
94890
|
+
}
|
|
94891
|
+
function defaults$1() {
|
|
94892
|
+
return {
|
|
94893
|
+
dataSource: { data: "[]" },
|
|
94894
|
+
nodeKey: "string(node.id)",
|
|
94895
|
+
nodeChildren: "has(node.children) ? node.children : null",
|
|
94896
|
+
nodeLabel: [{ locale: "zh", message: "{{ node.label }}" }],
|
|
94897
|
+
cascade: "independent",
|
|
94898
|
+
expandAll: false
|
|
94899
|
+
};
|
|
94900
|
+
}
|
|
94901
|
+
const __vite_glob_0_26 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
94902
|
+
__proto__: null,
|
|
94903
|
+
compatibilityDate: compatibilityDate$6,
|
|
94904
|
+
defaults: defaults$1,
|
|
94905
|
+
metadata: metadata$6,
|
|
94906
|
+
schema: schema$6,
|
|
94907
|
+
type: type$6
|
|
94908
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
94909
|
+
const type$5 = "com.shwfed.form.field.tree.combobox.single";
|
|
94910
|
+
const compatibilityDate$5 = "2026-05-26";
|
|
94911
|
+
const metadata$5 = {
|
|
94912
|
+
name: "下拉树(单选)",
|
|
94913
|
+
icon: "fluent:tree-evergreen-20-regular",
|
|
94914
|
+
w: { initial: 8, min: 4, max: Infinity },
|
|
94915
|
+
h: { initial: 2, min: 2, max: 2 }
|
|
94916
|
+
};
|
|
94917
|
+
const NODE_VAR = {
|
|
94918
|
+
type: "dyn",
|
|
94919
|
+
description: "`数据源` 返回的节点;由树逐层向下读取"
|
|
94920
|
+
};
|
|
94921
|
+
const isListLike = (t) => t === "dyn" || t.startsWith("list") || t.startsWith("optional");
|
|
94922
|
+
const isKeyType = (t) => t === "string" || t === "number" || t === "dyn";
|
|
94923
|
+
function withNode(configure) {
|
|
94924
|
+
return (env) => {
|
|
94925
|
+
configure(env);
|
|
94926
|
+
env.registerVariable("node", NODE_VAR.type, { description: NODE_VAR.description });
|
|
94927
|
+
};
|
|
94928
|
+
}
|
|
94929
|
+
function schema$5(configure) {
|
|
94930
|
+
const CelBool = Expression({ configure, resultType: "bool" });
|
|
94931
|
+
const CelNodeKey = Expression({ configure: withNode(configure), resultType: isKeyType });
|
|
94932
|
+
const CelNodeChildren = Expression({ configure: withNode(configure), resultType: isListLike });
|
|
94933
|
+
const CelNodeBool = Expression({ configure: withNode(configure), resultType: "bool" });
|
|
94934
|
+
const NodeLocaleMd = LocaleMarkdown({ configure: withNode(configure) });
|
|
94935
|
+
return Struct({
|
|
94936
|
+
type: Literal2(type$5),
|
|
94937
|
+
compatibilityDate: Literal2(compatibilityDate$5),
|
|
94938
|
+
...commonFieldFields(configure),
|
|
94939
|
+
label: optional(Locale.annotations({
|
|
94940
|
+
title: "标签",
|
|
94941
|
+
description: "字段前展示的文本;留空则不渲染标签"
|
|
94942
|
+
})),
|
|
94943
|
+
placeholder: optional(Locale.annotations({
|
|
94944
|
+
title: "占位符",
|
|
94945
|
+
description: "未选中任何选项时触发器中的占位文本"
|
|
94946
|
+
})),
|
|
94947
|
+
tooltip: optional(Locale.annotations({
|
|
94948
|
+
title: "提示",
|
|
94949
|
+
description: "鼠标悬停在标签上时展示的说明"
|
|
94950
|
+
})),
|
|
94951
|
+
orientation: optional(FieldOrientationSchema),
|
|
94952
|
+
binding: optional(String$.pipe(minLength(1)).annotations({
|
|
94953
|
+
title: "绑定路径",
|
|
94954
|
+
description: "写入表单状态的 `dot-prop` 路径;留空则为非受控字段"
|
|
94955
|
+
})),
|
|
94956
|
+
disabled: optional(CelBool.annotations({
|
|
94957
|
+
title: "禁用条件",
|
|
94958
|
+
description: "返回 `true` 时仍渲染但不可选择"
|
|
94959
|
+
})),
|
|
94960
|
+
readonly: optional(CelBool.annotations({
|
|
94961
|
+
title: "只读条件",
|
|
94962
|
+
description: "返回 `true` 时仅以纯文本展示当前已选项的标签"
|
|
94963
|
+
})),
|
|
94964
|
+
derived: derivedField(configure, isKeyType),
|
|
94965
|
+
dataSource: DataSource(configure).annotations({
|
|
94966
|
+
title: "数据源",
|
|
94967
|
+
description: "返回完整树(根节点列表)的数据源;通过 `节点子级` 表达式逐层向下读取"
|
|
94968
|
+
}),
|
|
94969
|
+
nodeKey: CelNodeKey.annotations({
|
|
94970
|
+
title: "节点 ID",
|
|
94971
|
+
description: "为每个节点计算稳定唯一 ID 的 CEL 表达式,可访问 `node`;运行时以字符串形式存储"
|
|
94972
|
+
}),
|
|
94973
|
+
nodeChildren: CelNodeChildren.annotations({
|
|
94974
|
+
title: "节点子级",
|
|
94975
|
+
description: "返回当前节点子级列表的 CEL 表达式;返回 `none`/`null` 或空数组时该节点视为叶子(终端节点)"
|
|
94976
|
+
}),
|
|
94977
|
+
nodeLabel: NodeLocaleMd.annotations({
|
|
94978
|
+
title: "节点标签",
|
|
94979
|
+
description: "节点展示的本地化文本,支持 Markdown 与 `{{ node.foo }}` / `{{ form.foo }}` 插值"
|
|
94980
|
+
}),
|
|
94981
|
+
nodeTooltip: optional(NodeLocaleMd.annotations({
|
|
94982
|
+
title: "节点提示",
|
|
94983
|
+
description: "鼠标悬停在节点上时展示的本地化提示"
|
|
94984
|
+
})),
|
|
94985
|
+
nodeSelectable: optional(CelNodeBool.annotations({
|
|
94986
|
+
title: "节点可选条件",
|
|
94987
|
+
description: "返回 `true` 表示该节点可被选中;默认全部可选"
|
|
94988
|
+
})),
|
|
94989
|
+
expandAll: optionalWith(Boolean$, { default: () => false }).annotations({
|
|
94990
|
+
title: "默认全部展开",
|
|
94991
|
+
description: "开启后挂载时展开所有非叶子节点"
|
|
94992
|
+
})
|
|
94993
|
+
}).annotations({
|
|
94994
|
+
title: "TreeComboboxSingleField",
|
|
94995
|
+
description: "基于树形数据的下拉单选输入"
|
|
94996
|
+
});
|
|
94997
|
+
}
|
|
94998
|
+
function defaults() {
|
|
94999
|
+
return {
|
|
95000
|
+
dataSource: { data: "[]" },
|
|
95001
|
+
nodeKey: "string(node.id)",
|
|
95002
|
+
nodeChildren: "has(node.children) ? node.children : null",
|
|
95003
|
+
nodeLabel: [{ locale: "zh", message: "{{ node.label }}" }],
|
|
95004
|
+
expandAll: false
|
|
95005
|
+
};
|
|
95006
|
+
}
|
|
95007
|
+
const __vite_glob_0_27 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
94509
95008
|
__proto__: null,
|
|
94510
95009
|
compatibilityDate: compatibilityDate$5,
|
|
95010
|
+
defaults,
|
|
94511
95011
|
metadata: metadata$5,
|
|
94512
95012
|
schema: schema$5,
|
|
94513
95013
|
type: type$5
|
|
@@ -94538,7 +95038,9 @@ const schemaModules$1 = /* @__PURE__ */ Object.assign({
|
|
|
94538
95038
|
"../fields/2026-05-23/com.shwfed.form.field.tree.multi/schema.ts": __vite_glob_0_22,
|
|
94539
95039
|
"../fields/2026-05-24/com.shwfed.form.field.month/schema.ts": __vite_glob_0_23,
|
|
94540
95040
|
"../fields/2026-05-24/com.shwfed.form.field.monthrange/schema.ts": __vite_glob_0_24,
|
|
94541
|
-
"../fields/2026-05-25/com.shwfed.form.field.combobox.multi/schema.ts": __vite_glob_0_25
|
|
95041
|
+
"../fields/2026-05-25/com.shwfed.form.field.combobox.multi/schema.ts": __vite_glob_0_25,
|
|
95042
|
+
"../fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/schema.ts": __vite_glob_0_26,
|
|
95043
|
+
"../fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/schema.ts": __vite_glob_0_27
|
|
94542
95044
|
});
|
|
94543
95045
|
const configModules$1 = /* @__PURE__ */ Object.assign({
|
|
94544
95046
|
"../fields/2026-04-22/com.shwfed.form.field.markdown/config.vue": __vite_glob_2_5,
|
|
@@ -94566,7 +95068,9 @@ const configModules$1 = /* @__PURE__ */ Object.assign({
|
|
|
94566
95068
|
"../fields/2026-05-23/com.shwfed.form.field.tree.multi/config.vue": __vite_glob_2_5,
|
|
94567
95069
|
"../fields/2026-05-24/com.shwfed.form.field.month/config.vue": __vite_glob_2_5,
|
|
94568
95070
|
"../fields/2026-05-24/com.shwfed.form.field.monthrange/config.vue": __vite_glob_2_5,
|
|
94569
|
-
"../fields/2026-05-25/com.shwfed.form.field.combobox.multi/config.vue": __vite_glob_2_5
|
|
95071
|
+
"../fields/2026-05-25/com.shwfed.form.field.combobox.multi/config.vue": __vite_glob_2_5,
|
|
95072
|
+
"../fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/config.vue": __vite_glob_2_5,
|
|
95073
|
+
"../fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/config.vue": __vite_glob_2_5
|
|
94570
95074
|
});
|
|
94571
95075
|
const runtimeModules$1 = /* @__PURE__ */ Object.assign({
|
|
94572
95076
|
"../fields/2026-04-22/com.shwfed.form.field.markdown/runtime.vue": __vite_glob_2_5,
|
|
@@ -94594,7 +95098,9 @@ const runtimeModules$1 = /* @__PURE__ */ Object.assign({
|
|
|
94594
95098
|
"../fields/2026-05-23/com.shwfed.form.field.tree.multi/runtime.vue": __vite_glob_2_5,
|
|
94595
95099
|
"../fields/2026-05-24/com.shwfed.form.field.month/runtime.vue": __vite_glob_2_5,
|
|
94596
95100
|
"../fields/2026-05-24/com.shwfed.form.field.monthrange/runtime.vue": __vite_glob_2_5,
|
|
94597
|
-
"../fields/2026-05-25/com.shwfed.form.field.combobox.multi/runtime.vue": __vite_glob_2_5
|
|
95101
|
+
"../fields/2026-05-25/com.shwfed.form.field.combobox.multi/runtime.vue": __vite_glob_2_5,
|
|
95102
|
+
"../fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/runtime.vue": __vite_glob_2_5,
|
|
95103
|
+
"../fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/runtime.vue": __vite_glob_2_5
|
|
94598
95104
|
});
|
|
94599
95105
|
const sourceKey = (type2, compatibilityDate2) => `${type2}@${compatibilityDate2}`;
|
|
94600
95106
|
const registry$1 = defineRegistry({
|
|
@@ -94954,6 +95460,10 @@ function schema$1(configure, blockRef2) {
|
|
|
94954
95460
|
title: "内部名称",
|
|
94955
95461
|
description: "仅在编辑器内可见的块名"
|
|
94956
95462
|
})),
|
|
95463
|
+
style: optional(String$).annotations({
|
|
95464
|
+
title: "容器样式",
|
|
95465
|
+
description: "应用在标签页最外层容器上的 CSS 样式字符串"
|
|
95466
|
+
}),
|
|
94957
95467
|
tabs: Array$(TabPane).pipe(
|
|
94958
95468
|
minItems(1),
|
|
94959
95469
|
filter((tabs) => {
|