@shwfed/config 2.3.22 → 2.3.23
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 +1073 -624
- package/dist/module.json +1 -1
- package/dist/preview/assets/{config-B3mv60t8.js → config-5rB9Rnmf.js} +1 -1
- package/dist/preview/assets/{config-DY7n8WvE.js → config-BLxl7ROb.js} +1 -1
- package/dist/preview/assets/{config-CpvkgqGg.js → config-BWMtPN22.js} +1 -1
- package/dist/preview/assets/{config-DX6QxjI7.js → config-C-EOrL-v.js} +1 -1
- package/dist/preview/assets/{config-Cb9lQXQG.js → config-CJADmi-_.js} +1 -1
- package/dist/preview/assets/{config-D4fS9GYw.js → config-DUNvg-mJ.js} +1 -1
- package/dist/preview/assets/{config-CLjwrQXG.js → config-EtlOM9yx.js} +1 -1
- package/dist/preview/assets/{config-BiFAbTJq.js → config-f66PEpZ5.js} +1 -1
- package/dist/preview/assets/{config-DhwLB2Ee.js → config-pVNUrcvS.js} +1 -1
- package/dist/preview/assets/{definition.vue_vue_type_script_setup_true_lang-Hx2iV358.js → definition.vue_vue_type_script_setup_true_lang-DUu-CoTZ.js} +1 -1
- package/dist/preview/assets/index-B4xolIUJ.js +643 -0
- package/dist/preview/assets/{index-CDhwf1Dw.css → index-CJMxrUKZ.css} +1 -1
- package/dist/preview/assets/index-DFYLO8qf.js +1 -0
- package/dist/preview/assets/{runtime-CShAGyQk.js → runtime-B9GkQToM.js} +1 -1
- package/dist/preview/assets/{runtime-DIcMvC6H.js → runtime-C0v-S40R.js} +1 -1
- package/dist/preview/assets/{runtime-usxovPqT.js → runtime-CFPeFbAB.js} +1 -1
- package/dist/preview/assets/{runtime-ECoXJ0-J.js → runtime-CI38ypkY.js} +1 -1
- package/dist/preview/assets/{runtime-HQv4w652.js → runtime-CUBGWRtC.js} +1 -1
- package/dist/preview/assets/{runtime-Dl0d8KFj.js → runtime-DcqfhaaX.js} +1 -1
- package/dist/preview/assets/{runtime-BXZROm-z.js → runtime-DoLJtHV2.js} +1 -1
- package/dist/preview/assets/{runtime-BarNw942.js → runtime-P99-0gRD.js} +1 -1
- package/dist/preview/assets/{runtime-BazV3vOW.js → runtime-qQ5mJdRv.js} +1 -1
- package/dist/preview/index.html +2 -2
- package/dist/runtime/components/form/fields/2026-05-25/com.shwfed.form.field.combobox.multi/config.d.vue.ts +99 -0
- package/dist/runtime/components/form/fields/2026-05-25/com.shwfed.form.field.combobox.multi/config.vue +329 -0
- package/dist/runtime/components/form/fields/2026-05-25/com.shwfed.form.field.combobox.multi/config.vue.d.ts +99 -0
- package/dist/runtime/components/form/fields/2026-05-25/com.shwfed.form.field.combobox.multi/runtime.d.vue.ts +8 -0
- package/dist/runtime/components/form/fields/2026-05-25/com.shwfed.form.field.combobox.multi/runtime.vue +265 -0
- package/dist/runtime/components/form/fields/2026-05-25/com.shwfed.form.field.combobox.multi/runtime.vue.d.ts +8 -0
- package/dist/runtime/components/form/fields/2026-05-25/com.shwfed.form.field.combobox.multi/schema.d.ts +79 -0
- package/dist/runtime/components/form/fields/2026-05-25/com.shwfed.form.field.combobox.multi/schema.js +71 -0
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi/config.d.vue.ts +133 -0
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi/config.vue +533 -0
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi/config.vue.d.ts +133 -0
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi/runtime.d.vue.ts +9 -0
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi/runtime.vue +247 -0
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi/runtime.vue.d.ts +9 -0
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi/schema.d.ts +124 -0
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi/schema.js +94 -0
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.d.vue.ts +109 -0
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.vue +426 -0
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.vue.d.ts +109 -0
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/runtime.d.vue.ts +9 -0
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/runtime.vue +356 -0
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/runtime.vue.d.ts +9 -0
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/schema.d.ts +85 -0
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/schema.js +147 -0
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/config.d.vue.ts +137 -0
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/config.vue +586 -0
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/config.vue.d.ts +137 -0
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/runtime.d.vue.ts +9 -0
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/runtime.vue +287 -0
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/runtime.vue.d.ts +9 -0
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/schema.d.ts +126 -0
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/schema.js +125 -0
- package/package.json +1 -1
- package/dist/preview/assets/index-B2gp2q3H.js +0 -643
- package/dist/preview/assets/index-Jytc_ICm.js +0 -1
package/dist/mcp.mjs
CHANGED
|
@@ -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$_ = "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$_,
|
|
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$Z = {};
|
|
18520
18520
|
var hasRequiredMetadata;
|
|
18521
18521
|
function requireMetadata() {
|
|
18522
|
-
if (hasRequiredMetadata) return metadata$
|
|
18522
|
+
if (hasRequiredMetadata) return metadata$Z;
|
|
18523
18523
|
hasRequiredMetadata = 1;
|
|
18524
|
-
Object.defineProperty(metadata$
|
|
18525
|
-
metadata$
|
|
18526
|
-
metadata$
|
|
18524
|
+
Object.defineProperty(metadata$Z, "__esModule", { value: true });
|
|
18525
|
+
metadata$Z.contentVocabulary = metadata$Z.metadataVocabulary = void 0;
|
|
18526
|
+
metadata$Z.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$Z.contentVocabulary = [
|
|
18536
18536
|
"contentMediaType",
|
|
18537
18537
|
"contentEncoding",
|
|
18538
18538
|
"contentSchema"
|
|
18539
18539
|
];
|
|
18540
|
-
return metadata$
|
|
18540
|
+
return metadata$Z;
|
|
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$Z = ["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$Z,
|
|
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$Y = "com.shwfed.actions.button.http.request.json.confirm";
|
|
81494
|
+
const compatibilityDate$Y = "2026-04-18";
|
|
81495
|
+
const metadata$Y = {
|
|
81496
81496
|
name: "网络请求(JSON + 确认)",
|
|
81497
81497
|
icon: "fluent:shield-checkmark-20-regular"
|
|
81498
81498
|
};
|
|
81499
|
-
function schema$
|
|
81499
|
+
function schema$Y(configure) {
|
|
81500
81500
|
const CelHttpRequest = Expression({ configure, resultType: "HttpRequest" });
|
|
81501
81501
|
const CelMessage = Expression({
|
|
81502
81502
|
configure: (env) => {
|
|
@@ -81508,8 +81508,8 @@ function schema$U(configure) {
|
|
|
81508
81508
|
resultType: "string"
|
|
81509
81509
|
});
|
|
81510
81510
|
return Struct({
|
|
81511
|
-
type: Literal2(type$
|
|
81512
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
81511
|
+
type: Literal2(type$Y),
|
|
81512
|
+
compatibilityDate: Literal2(compatibilityDate$Y),
|
|
81513
81513
|
expression: CelHttpRequest.annotations({
|
|
81514
81514
|
title: "请求",
|
|
81515
81515
|
description: md`
|
|
@@ -81567,18 +81567,18 @@ function schema$U(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$Y,
|
|
81571
|
+
metadata: metadata$Y,
|
|
81572
|
+
schema: schema$Y,
|
|
81573
|
+
type: type$Y
|
|
81574
81574
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
81575
|
-
const type$
|
|
81576
|
-
const compatibilityDate$
|
|
81577
|
-
const metadata$
|
|
81575
|
+
const type$X = "com.shwfed.actions.button.http.request.json";
|
|
81576
|
+
const compatibilityDate$X = "2026-04-18";
|
|
81577
|
+
const metadata$X = {
|
|
81578
81578
|
name: "网络请求(JSON)",
|
|
81579
81579
|
icon: "fluent:cloud-arrow-up-20-regular"
|
|
81580
81580
|
};
|
|
81581
|
-
function schema$
|
|
81581
|
+
function schema$X(configure) {
|
|
81582
81582
|
const CelHttpRequest = Expression({ configure, resultType: "HttpRequest" });
|
|
81583
81583
|
const CelMessage = Expression({
|
|
81584
81584
|
configure: (env) => {
|
|
@@ -81590,8 +81590,8 @@ function schema$T(configure) {
|
|
|
81590
81590
|
resultType: "string"
|
|
81591
81591
|
});
|
|
81592
81592
|
return Struct({
|
|
81593
|
-
type: Literal2(type$
|
|
81594
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
81593
|
+
type: Literal2(type$X),
|
|
81594
|
+
compatibilityDate: Literal2(compatibilityDate$X),
|
|
81595
81595
|
expression: CelHttpRequest.annotations({
|
|
81596
81596
|
title: "请求",
|
|
81597
81597
|
description: md`
|
|
@@ -81637,21 +81637,21 @@ function schema$T(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$X,
|
|
81641
|
+
metadata: metadata$X,
|
|
81642
|
+
schema: schema$X,
|
|
81643
|
+
type: type$X
|
|
81644
81644
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
81645
|
-
const type$
|
|
81646
|
-
const compatibilityDate$
|
|
81647
|
-
const metadata$
|
|
81645
|
+
const type$W = "com.shwfed.actions.button.prototype";
|
|
81646
|
+
const compatibilityDate$W = "2026-04-18";
|
|
81647
|
+
const metadata$W = {
|
|
81648
81648
|
name: "原型",
|
|
81649
81649
|
icon: "fluent:predictions-20-regular"
|
|
81650
81650
|
};
|
|
81651
|
-
function schema$
|
|
81651
|
+
function schema$W(_configure) {
|
|
81652
81652
|
return Struct({
|
|
81653
|
-
type: Literal2(type$
|
|
81654
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
81653
|
+
type: Literal2(type$W),
|
|
81654
|
+
compatibilityDate: Literal2(compatibilityDate$W)
|
|
81655
81655
|
}).annotations({
|
|
81656
81656
|
title: "PrototypeAction",
|
|
81657
81657
|
description: "点击无副作用的原型按钮,可被一次性转换为其它类型"
|
|
@@ -81659,23 +81659,23 @@ function schema$S(_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$W,
|
|
81663
|
+
metadata: metadata$W,
|
|
81664
|
+
schema: schema$W,
|
|
81665
|
+
type: type$W
|
|
81666
81666
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
81667
|
-
const type$
|
|
81668
|
-
const compatibilityDate$
|
|
81669
|
-
const metadata$
|
|
81667
|
+
const type$V = "com.shwfed.actions.button.navigation";
|
|
81668
|
+
const compatibilityDate$V = "2026-04-21";
|
|
81669
|
+
const metadata$V = {
|
|
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$V(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$V),
|
|
81678
|
+
compatibilityDate: Literal2(compatibilityDate$V),
|
|
81679
81679
|
url: CelUrl.annotations({
|
|
81680
81680
|
title: "链接",
|
|
81681
81681
|
description: "点击后将打开的链接,返回 `string`"
|
|
@@ -81691,10 +81691,10 @@ function schema$R(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$V,
|
|
81695
|
+
metadata: metadata$V,
|
|
81696
|
+
schema: schema$V,
|
|
81697
|
+
type: type$V
|
|
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$U = "com.shwfed.actions.button.modal.layout";
|
|
81834
|
+
const compatibilityDate$U = "2026-05-11";
|
|
81835
|
+
const metadata$U = {
|
|
81836
81836
|
name: "模态窗口",
|
|
81837
81837
|
icon: "fluent:window-edit-20-regular",
|
|
81838
81838
|
drillable: true,
|
|
@@ -81843,12 +81843,12 @@ const metadata$Q = {
|
|
|
81843
81843
|
const CssLength = String$.pipe(
|
|
81844
81844
|
filter((s) => s.trim().length > 0 || "不能为空字符串")
|
|
81845
81845
|
);
|
|
81846
|
-
function schema$
|
|
81846
|
+
function schema$U(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$U),
|
|
81851
|
+
compatibilityDate: Literal2(compatibilityDate$U),
|
|
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$U,
|
|
81881
81881
|
defaultBody: defaultBody$6,
|
|
81882
|
-
metadata: metadata$
|
|
81883
|
-
schema: schema$
|
|
81884
|
-
type: type$
|
|
81882
|
+
metadata: metadata$U,
|
|
81883
|
+
schema: schema$U,
|
|
81884
|
+
type: type$U
|
|
81885
81885
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
81886
|
-
const type$
|
|
81887
|
-
const compatibilityDate$
|
|
81888
|
-
const metadata$
|
|
81886
|
+
const type$T = "com.shwfed.actions.button.event.dispatch";
|
|
81887
|
+
const compatibilityDate$T = "2026-05-15";
|
|
81888
|
+
const metadata$T = {
|
|
81889
81889
|
name: "触发事件",
|
|
81890
81890
|
icon: "fluent:flash-20-regular"
|
|
81891
81891
|
};
|
|
81892
|
-
function schema$
|
|
81892
|
+
function schema$T(_configure) {
|
|
81893
81893
|
return Struct({
|
|
81894
|
-
type: Literal2(type$
|
|
81895
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
81894
|
+
type: Literal2(type$T),
|
|
81895
|
+
compatibilityDate: Literal2(compatibilityDate$T),
|
|
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,18 +81903,18 @@ function schema$P(_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$T,
|
|
81907
|
+
metadata: metadata$T,
|
|
81908
|
+
schema: schema$T,
|
|
81909
|
+
type: type$T
|
|
81910
81910
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
81911
|
-
const type$
|
|
81912
|
-
const compatibilityDate$
|
|
81913
|
-
const metadata$
|
|
81911
|
+
const type$S = "com.shwfed.actions.button.http.download";
|
|
81912
|
+
const compatibilityDate$S = "2026-05-21";
|
|
81913
|
+
const metadata$S = {
|
|
81914
81914
|
name: "下载文件",
|
|
81915
81915
|
icon: "fluent:arrow-download-20-regular"
|
|
81916
81916
|
};
|
|
81917
|
-
const JSON_VAR$
|
|
81917
|
+
const JSON_VAR$4 = {
|
|
81918
81918
|
type: "dyn",
|
|
81919
81919
|
label: "HTTP 响应体",
|
|
81920
81920
|
description: "第一步 `请求` 的响应体(已解析 JSON);用于构造第二步下载请求"
|
|
@@ -81922,16 +81922,16 @@ const JSON_VAR$3 = {
|
|
|
81922
81922
|
function configureWithJson$2(configure) {
|
|
81923
81923
|
return (env) => {
|
|
81924
81924
|
configure(env);
|
|
81925
|
-
env.registerVariable("json", JSON_VAR$
|
|
81925
|
+
env.registerVariable("json", JSON_VAR$4.type, { description: JSON_VAR$4.description });
|
|
81926
81926
|
};
|
|
81927
81927
|
}
|
|
81928
|
-
function schema$
|
|
81928
|
+
function schema$S(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$S),
|
|
81934
|
+
compatibilityDate: Literal2(compatibilityDate$S),
|
|
81935
81935
|
template: Struct({
|
|
81936
81936
|
request: CelHttpRequest.annotations({
|
|
81937
81937
|
title: "请求",
|
|
@@ -81993,26 +81993,26 @@ function schema$O(configure) {
|
|
|
81993
81993
|
}
|
|
81994
81994
|
const __vite_glob_0_6$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
81995
81995
|
__proto__: null,
|
|
81996
|
-
JSON_VAR: JSON_VAR$
|
|
81997
|
-
compatibilityDate: compatibilityDate$
|
|
81998
|
-
metadata: metadata$
|
|
81999
|
-
schema: schema$
|
|
82000
|
-
type: type$
|
|
81996
|
+
JSON_VAR: JSON_VAR$4,
|
|
81997
|
+
compatibilityDate: compatibilityDate$S,
|
|
81998
|
+
metadata: metadata$S,
|
|
81999
|
+
schema: schema$S,
|
|
82000
|
+
type: type$S
|
|
82001
82001
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
82002
|
-
const type$
|
|
82003
|
-
const compatibilityDate$
|
|
82004
|
-
const metadata$
|
|
82002
|
+
const type$R = "com.shwfed.actions.button.state.write";
|
|
82003
|
+
const compatibilityDate$R = "2026-05-24";
|
|
82004
|
+
const metadata$R = {
|
|
82005
82005
|
name: "写入表单状态",
|
|
82006
82006
|
icon: "fluent:document-edit-20-regular"
|
|
82007
82007
|
};
|
|
82008
|
-
function schema$
|
|
82008
|
+
function schema$R(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$R),
|
|
82015
|
+
compatibilityDate: Literal2(compatibilityDate$R),
|
|
82016
82016
|
expression: CelRecord.annotations({
|
|
82017
82017
|
title: "写入值",
|
|
82018
82018
|
description: md`
|
|
@@ -82032,25 +82032,25 @@ function schema$N(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$R,
|
|
82036
|
+
metadata: metadata$R,
|
|
82037
|
+
schema: schema$R,
|
|
82038
|
+
type: type$R
|
|
82039
82039
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
82040
|
-
const type$
|
|
82041
|
-
const compatibilityDate$
|
|
82042
|
-
const metadata$
|
|
82040
|
+
const type$Q = "com.shwfed.actions.item.markdown";
|
|
82041
|
+
const compatibilityDate$Q = "2026-05-21";
|
|
82042
|
+
const metadata$Q = {
|
|
82043
82043
|
name: "内联 Markdown",
|
|
82044
82044
|
icon: "fluent:markdown-20-regular"
|
|
82045
82045
|
};
|
|
82046
|
-
function schema$
|
|
82046
|
+
function schema$Q(_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$Q),
|
|
82053
|
+
compatibilityDate: Literal2(compatibilityDate$Q),
|
|
82054
82054
|
name: String$.annotations({
|
|
82055
82055
|
title: "内部名称",
|
|
82056
82056
|
description: "仅用于编辑器内识别该 Markdown 项,不会展示给最终用户"
|
|
@@ -82066,10 +82066,10 @@ function schema$M(_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$Q,
|
|
82070
|
+
metadata: metadata$Q,
|
|
82071
|
+
schema: schema$Q,
|
|
82072
|
+
type: type$Q
|
|
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$P = "com.shwfed.block.actions";
|
|
82445
|
+
const compatibilityDate$P = "2026-05-06";
|
|
82446
|
+
const metadata$P = {
|
|
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$P(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$P),
|
|
82457
|
+
compatibilityDate: tag(compatibilityDate$P),
|
|
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$P,
|
|
82473
82473
|
defaultBody: defaultBody$5,
|
|
82474
|
-
metadata: metadata$
|
|
82475
|
-
schema: schema$
|
|
82476
|
-
type: type$
|
|
82474
|
+
metadata: metadata$P,
|
|
82475
|
+
schema: schema$P,
|
|
82476
|
+
type: type$P
|
|
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$O = "com.shwfed.form.field.markdown";
|
|
82524
|
+
const compatibilityDate$O = "2026-04-22";
|
|
82525
|
+
const metadata$O = {
|
|
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$O(configure) {
|
|
82532
82532
|
return Struct({
|
|
82533
|
-
type: Literal2(type$
|
|
82534
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
82533
|
+
type: Literal2(type$O),
|
|
82534
|
+
compatibilityDate: Literal2(compatibilityDate$O),
|
|
82535
82535
|
...commonFieldFields(configure),
|
|
82536
82536
|
content: Locale.annotations({
|
|
82537
82537
|
title: "内容",
|
|
@@ -82544,24 +82544,24 @@ function schema$K(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$O,
|
|
82548
|
+
metadata: metadata$O,
|
|
82549
|
+
schema: schema$O,
|
|
82550
|
+
type: type$O
|
|
82551
82551
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
82552
|
-
const type$
|
|
82553
|
-
const compatibilityDate$
|
|
82554
|
-
const metadata$
|
|
82552
|
+
const type$N = "com.shwfed.form.field.text";
|
|
82553
|
+
const compatibilityDate$N = "2026-04-22";
|
|
82554
|
+
const metadata$N = {
|
|
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$N(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$N),
|
|
82564
|
+
compatibilityDate: Literal2(compatibilityDate$N),
|
|
82565
82565
|
...commonFieldFields(configure),
|
|
82566
82566
|
label: optional(Locale.annotations({
|
|
82567
82567
|
title: "标签",
|
|
@@ -82596,24 +82596,24 @@ function schema$J(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$N,
|
|
82600
|
+
metadata: metadata$N,
|
|
82601
|
+
schema: schema$N,
|
|
82602
|
+
type: type$N
|
|
82603
82603
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
82604
|
-
const type$
|
|
82605
|
-
const compatibilityDate$
|
|
82606
|
-
const metadata$
|
|
82604
|
+
const type$M = "com.shwfed.form.field.textarea";
|
|
82605
|
+
const compatibilityDate$M = "2026-04-22";
|
|
82606
|
+
const metadata$M = {
|
|
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$M(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$M),
|
|
82616
|
+
compatibilityDate: Literal2(compatibilityDate$M),
|
|
82617
82617
|
...commonFieldFields(configure),
|
|
82618
82618
|
label: optional(Locale.annotations({
|
|
82619
82619
|
title: "标签",
|
|
@@ -82652,25 +82652,25 @@ function schema$I(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$M,
|
|
82656
|
+
metadata: metadata$M,
|
|
82657
|
+
schema: schema$M,
|
|
82658
|
+
type: type$M
|
|
82659
82659
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
82660
|
-
const type$
|
|
82661
|
-
const compatibilityDate$
|
|
82662
|
-
const metadata$
|
|
82660
|
+
const type$L = "com.shwfed.form.field.actions";
|
|
82661
|
+
const compatibilityDate$L = "2026-04-24";
|
|
82662
|
+
const metadata$L = {
|
|
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$L(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$L),
|
|
82673
|
+
compatibilityDate: Literal2(compatibilityDate$L),
|
|
82674
82674
|
...commonFieldFields(configure),
|
|
82675
82675
|
...rest,
|
|
82676
82676
|
// Form's add-field factory creates new fields with only { type, compatibilityDate, id },
|
|
@@ -82684,34 +82684,34 @@ function schema$H(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$L,
|
|
82688
|
+
metadata: metadata$L,
|
|
82689
|
+
schema: schema$L,
|
|
82690
|
+
type: type$L
|
|
82691
82691
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
82692
|
-
const type$
|
|
82693
|
-
const compatibilityDate$
|
|
82694
|
-
const metadata$
|
|
82692
|
+
const type$K = "com.shwfed.form.field.combobox.single";
|
|
82693
|
+
const compatibilityDate$K = "2026-04-24";
|
|
82694
|
+
const metadata$K = {
|
|
82695
82695
|
name: "下拉单选",
|
|
82696
82696
|
icon: "fluent:chevron-down-20-regular",
|
|
82697
82697
|
w: { initial: 8, min: 4, max: Infinity },
|
|
82698
82698
|
h: { initial: 2, min: 2, max: 2 }
|
|
82699
82699
|
};
|
|
82700
|
-
function configureWithOption$
|
|
82700
|
+
function configureWithOption$2(configure) {
|
|
82701
82701
|
return (env) => {
|
|
82702
82702
|
configure(env);
|
|
82703
82703
|
env.registerVariable("option", "dyn", { description: "当前选项" });
|
|
82704
82704
|
};
|
|
82705
82705
|
}
|
|
82706
|
-
const isListType$
|
|
82707
|
-
function schema$
|
|
82706
|
+
const isListType$5 = (actual) => actual === "dyn" || actual.startsWith("list");
|
|
82707
|
+
function schema$K(configure) {
|
|
82708
82708
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
82709
|
-
const CelOptions = Expression({ configure, resultType: isListType$
|
|
82710
|
-
const CelOptionValue = Expression({ configure: configureWithOption$
|
|
82711
|
-
const LocaleOptionLabel = LocaleMarkdown({ configure: configureWithOption$
|
|
82709
|
+
const CelOptions = Expression({ configure, resultType: isListType$5 });
|
|
82710
|
+
const CelOptionValue = Expression({ configure: configureWithOption$2(configure), resultType: "dyn" });
|
|
82711
|
+
const LocaleOptionLabel = LocaleMarkdown({ configure: configureWithOption$2(configure) });
|
|
82712
82712
|
return Struct({
|
|
82713
|
-
type: Literal2(type$
|
|
82714
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
82713
|
+
type: Literal2(type$K),
|
|
82714
|
+
compatibilityDate: Literal2(compatibilityDate$K),
|
|
82715
82715
|
...commonFieldFields(configure),
|
|
82716
82716
|
label: optional(Locale.annotations({
|
|
82717
82717
|
title: "标签",
|
|
@@ -82758,14 +82758,14 @@ function schema$G(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$K,
|
|
82762
|
+
metadata: metadata$K,
|
|
82763
|
+
schema: schema$K,
|
|
82764
|
+
type: type$K
|
|
82765
82765
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
82766
|
-
const type$
|
|
82767
|
-
const compatibilityDate$
|
|
82768
|
-
const metadata$
|
|
82766
|
+
const type$J = "com.shwfed.form.field.date";
|
|
82767
|
+
const compatibilityDate$J = "2026-04-27";
|
|
82768
|
+
const metadata$J = {
|
|
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$J(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$J),
|
|
82795
|
+
compatibilityDate: Literal2(compatibilityDate$J),
|
|
82796
82796
|
...commonFieldFields(configure),
|
|
82797
82797
|
label: optional(Locale.annotations({
|
|
82798
82798
|
title: "标签",
|
|
@@ -82839,14 +82839,14 @@ function schema$F(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$J,
|
|
82843
|
+
metadata: metadata$J,
|
|
82844
82844
|
presetSchema: presetSchema$5,
|
|
82845
|
-
schema: schema$
|
|
82846
|
-
type: type$
|
|
82845
|
+
schema: schema$J,
|
|
82846
|
+
type: type$J
|
|
82847
82847
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
82848
|
-
const type$
|
|
82849
|
-
const compatibilityDate$
|
|
82848
|
+
const type$I = "com.shwfed.form.field.daterange";
|
|
82849
|
+
const compatibilityDate$I = "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$I = {
|
|
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$I(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$I),
|
|
82891
|
+
compatibilityDate: Literal2(compatibilityDate$I),
|
|
82892
82892
|
...commonFieldFields(configure),
|
|
82893
82893
|
label: optional(Locale.annotations({
|
|
82894
82894
|
title: "标签",
|
|
@@ -82947,16 +82947,16 @@ function defaults$8() {
|
|
|
82947
82947
|
}
|
|
82948
82948
|
const __vite_glob_0_6$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
82949
82949
|
__proto__: null,
|
|
82950
|
-
compatibilityDate: compatibilityDate$
|
|
82950
|
+
compatibilityDate: compatibilityDate$I,
|
|
82951
82951
|
defaults: defaults$8,
|
|
82952
|
-
metadata: metadata$
|
|
82952
|
+
metadata: metadata$I,
|
|
82953
82953
|
presetSchema: presetSchema$4,
|
|
82954
|
-
schema: schema$
|
|
82955
|
-
type: type$
|
|
82954
|
+
schema: schema$I,
|
|
82955
|
+
type: type$I
|
|
82956
82956
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
82957
|
-
const type$
|
|
82958
|
-
const compatibilityDate$
|
|
82959
|
-
const metadata$
|
|
82957
|
+
const type$H = "com.shwfed.form.field.datetime";
|
|
82958
|
+
const compatibilityDate$H = "2026-04-27";
|
|
82959
|
+
const metadata$H = {
|
|
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$H(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$H),
|
|
82996
|
+
compatibilityDate: Literal2(compatibilityDate$H),
|
|
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$H,
|
|
83055
|
+
metadata: metadata$H,
|
|
83056
83056
|
presetSchema: presetSchema$3,
|
|
83057
|
-
schema: schema$
|
|
83058
|
-
type: type$
|
|
83057
|
+
schema: schema$H,
|
|
83058
|
+
type: type$H
|
|
83059
83059
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
83060
|
-
const type$
|
|
83061
|
-
const compatibilityDate$
|
|
83060
|
+
const type$G = "com.shwfed.form.field.datetimerange";
|
|
83061
|
+
const compatibilityDate$G = "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$G = {
|
|
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$G(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$G),
|
|
83113
|
+
compatibilityDate: Literal2(compatibilityDate$G),
|
|
83114
83114
|
...commonFieldFields(configure),
|
|
83115
83115
|
label: optional(Locale.annotations({
|
|
83116
83116
|
title: "标签",
|
|
@@ -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$
|
|
83183
|
+
compatibilityDate: compatibilityDate$G,
|
|
83184
83184
|
defaults: defaults$7,
|
|
83185
|
-
metadata: metadata$
|
|
83185
|
+
metadata: metadata$G,
|
|
83186
83186
|
presetSchema: presetSchema$2,
|
|
83187
|
-
schema: schema$
|
|
83188
|
-
type: type$
|
|
83187
|
+
schema: schema$G,
|
|
83188
|
+
type: type$G
|
|
83189
83189
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
83190
|
-
const type$
|
|
83191
|
-
const compatibilityDate$
|
|
83192
|
-
const metadata$
|
|
83190
|
+
const type$F = "com.shwfed.form.field.time";
|
|
83191
|
+
const compatibilityDate$F = "2026-04-27";
|
|
83192
|
+
const metadata$F = {
|
|
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$F(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$F),
|
|
83212
|
+
compatibilityDate: Literal2(compatibilityDate$F),
|
|
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$F,
|
|
83259
|
+
metadata: metadata$F,
|
|
83260
|
+
schema: schema$F,
|
|
83261
|
+
type: type$F
|
|
83262
83262
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
83263
|
-
const type$
|
|
83264
|
-
const compatibilityDate$
|
|
83263
|
+
const type$E = "com.shwfed.form.field.timerange";
|
|
83264
|
+
const compatibilityDate$E = "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$E = {
|
|
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$E(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$E),
|
|
83295
|
+
compatibilityDate: Literal2(compatibilityDate$E),
|
|
83296
83296
|
...commonFieldFields(configure),
|
|
83297
83297
|
label: optional(Locale.annotations({
|
|
83298
83298
|
title: "标签",
|
|
@@ -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$
|
|
83345
|
+
compatibilityDate: compatibilityDate$E,
|
|
83346
83346
|
defaults: defaults$6,
|
|
83347
|
-
metadata: metadata$
|
|
83348
|
-
schema: schema$
|
|
83349
|
-
type: type$
|
|
83347
|
+
metadata: metadata$E,
|
|
83348
|
+
schema: schema$E,
|
|
83349
|
+
type: type$E
|
|
83350
83350
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
83351
|
-
const type$
|
|
83352
|
-
const compatibilityDate$
|
|
83353
|
-
const metadata$
|
|
83351
|
+
const type$D = "com.shwfed.form.field.number";
|
|
83352
|
+
const compatibilityDate$D = "2026-04-28";
|
|
83353
|
+
const metadata$D = {
|
|
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$D(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$D),
|
|
83364
|
+
compatibilityDate: Literal2(compatibilityDate$D),
|
|
83365
83365
|
...commonFieldFields(configure),
|
|
83366
83366
|
label: optional(Locale.annotations({
|
|
83367
83367
|
title: "标签",
|
|
@@ -83420,13 +83420,13 @@ function schema$z(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$D,
|
|
83424
|
+
metadata: metadata$D,
|
|
83425
|
+
schema: schema$D,
|
|
83426
|
+
type: type$D
|
|
83427
83427
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
83428
|
-
const type$
|
|
83429
|
-
const compatibilityDate$
|
|
83428
|
+
const type$C = "com.shwfed.form.field.numberrange";
|
|
83429
|
+
const compatibilityDate$C = "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$C = {
|
|
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$C(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$C),
|
|
83451
|
+
compatibilityDate: Literal2(compatibilityDate$C),
|
|
83452
83452
|
...commonFieldFields(configure),
|
|
83453
83453
|
label: optional(Locale.annotations({
|
|
83454
83454
|
title: "标签",
|
|
@@ -83515,25 +83515,25 @@ function defaults$5() {
|
|
|
83515
83515
|
}
|
|
83516
83516
|
const __vite_glob_0_12$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
83517
83517
|
__proto__: null,
|
|
83518
|
-
compatibilityDate: compatibilityDate$
|
|
83518
|
+
compatibilityDate: compatibilityDate$C,
|
|
83519
83519
|
defaults: defaults$5,
|
|
83520
|
-
metadata: metadata$
|
|
83521
|
-
schema: schema$
|
|
83522
|
-
type: type$
|
|
83520
|
+
metadata: metadata$C,
|
|
83521
|
+
schema: schema$C,
|
|
83522
|
+
type: type$C
|
|
83523
83523
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
83524
|
-
const type$
|
|
83525
|
-
const compatibilityDate$
|
|
83526
|
-
const metadata$
|
|
83524
|
+
const type$B = "com.shwfed.form.field.switch";
|
|
83525
|
+
const compatibilityDate$B = "2026-04-28";
|
|
83526
|
+
const metadata$B = {
|
|
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$B(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$B),
|
|
83536
|
+
compatibilityDate: Literal2(compatibilityDate$B),
|
|
83537
83537
|
...commonFieldFields(configure),
|
|
83538
83538
|
label: optional(Locale.annotations({
|
|
83539
83539
|
title: "标签",
|
|
@@ -83571,10 +83571,10 @@ function schema$x(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$B,
|
|
83575
|
+
metadata: metadata$B,
|
|
83576
|
+
schema: schema$B,
|
|
83577
|
+
type: type$B
|
|
83578
83578
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
83579
83579
|
const decodeCache = {};
|
|
83580
83580
|
function getDecodeCache(exclude2) {
|
|
@@ -88825,15 +88825,15 @@ function interpolateMarkdown(template, $cel, context2) {
|
|
|
88825
88825
|
}
|
|
88826
88826
|
});
|
|
88827
88827
|
}
|
|
88828
|
-
const type$
|
|
88829
|
-
const compatibilityDate$
|
|
88830
|
-
const metadata$
|
|
88828
|
+
const type$A = "com.shwfed.form.field.combobox.single";
|
|
88829
|
+
const compatibilityDate$A = "2026-04-29";
|
|
88830
|
+
const metadata$A = {
|
|
88831
88831
|
name: "下拉单选(硬编码)",
|
|
88832
88832
|
icon: "fluent:chevron-down-20-regular",
|
|
88833
88833
|
w: { initial: 8, min: 4, max: Infinity },
|
|
88834
88834
|
h: { initial: 2, min: 2, max: 2 }
|
|
88835
88835
|
};
|
|
88836
|
-
function itemSchema$
|
|
88836
|
+
function itemSchema$6(configure) {
|
|
88837
88837
|
const LocaleMd = LocaleMarkdown({ configure });
|
|
88838
88838
|
const TextValue = Struct({
|
|
88839
88839
|
kind: Literal2("text"),
|
|
@@ -88862,12 +88862,12 @@ function itemSchema$4(configure) {
|
|
|
88862
88862
|
title: "ComboboxSingleItem"
|
|
88863
88863
|
});
|
|
88864
88864
|
}
|
|
88865
|
-
function schema$
|
|
88865
|
+
function schema$A(configure) {
|
|
88866
88866
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
88867
|
-
const Item = itemSchema$
|
|
88867
|
+
const Item = itemSchema$6(configure);
|
|
88868
88868
|
return Struct({
|
|
88869
|
-
type: Literal2(type$
|
|
88870
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
88869
|
+
type: Literal2(type$A),
|
|
88870
|
+
compatibilityDate: Literal2(compatibilityDate$A),
|
|
88871
88871
|
...commonFieldFields(configure),
|
|
88872
88872
|
label: optional(Locale.annotations({
|
|
88873
88873
|
title: "标签",
|
|
@@ -88959,29 +88959,29 @@ const migrate$2 = (prev, ctx) => {
|
|
|
88959
88959
|
} = legacy;
|
|
88960
88960
|
return {
|
|
88961
88961
|
...carryover,
|
|
88962
|
-
compatibilityDate: compatibilityDate$
|
|
88962
|
+
compatibilityDate: compatibilityDate$A,
|
|
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$
|
|
88970
|
-
itemSchema: itemSchema$
|
|
88971
|
-
metadata: metadata$
|
|
88969
|
+
compatibilityDate: compatibilityDate$A,
|
|
88970
|
+
itemSchema: itemSchema$6,
|
|
88971
|
+
metadata: metadata$A,
|
|
88972
88972
|
migrate: migrate$2,
|
|
88973
|
-
schema: schema$
|
|
88974
|
-
type: type$
|
|
88973
|
+
schema: schema$A,
|
|
88974
|
+
type: type$A
|
|
88975
88975
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
88976
|
-
const type$
|
|
88977
|
-
const compatibilityDate$
|
|
88978
|
-
const metadata$
|
|
88976
|
+
const type$z = "com.shwfed.form.field.upload";
|
|
88977
|
+
const compatibilityDate$z = "2026-05-12";
|
|
88978
|
+
const metadata$z = {
|
|
88979
88979
|
name: "文件上传",
|
|
88980
88980
|
icon: "fluent:cloud-arrow-up-20-regular",
|
|
88981
88981
|
w: { initial: 8, min: 8, max: Infinity },
|
|
88982
88982
|
h: { initial: 6, min: 6, max: Infinity, grow: true }
|
|
88983
88983
|
};
|
|
88984
|
-
const JSON_VAR$
|
|
88984
|
+
const JSON_VAR$3 = {
|
|
88985
88985
|
type: "dyn",
|
|
88986
88986
|
label: "HTTP 响应体",
|
|
88987
88987
|
description: "第一步 `请求` 的响应体(已解析 JSON);用于构造第二步下载请求"
|
|
@@ -88989,17 +88989,17 @@ const JSON_VAR$2 = {
|
|
|
88989
88989
|
function configureWithJson$1(configure) {
|
|
88990
88990
|
return (env) => {
|
|
88991
88991
|
configure(env);
|
|
88992
|
-
env.registerVariable("json", JSON_VAR$
|
|
88992
|
+
env.registerVariable("json", JSON_VAR$3.type, { description: JSON_VAR$3.description });
|
|
88993
88993
|
};
|
|
88994
88994
|
}
|
|
88995
|
-
function schema$
|
|
88995
|
+
function schema$z(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$z),
|
|
89002
|
+
compatibilityDate: Literal2(compatibilityDate$z),
|
|
89003
89003
|
...commonFieldFields(configure),
|
|
89004
89004
|
label: optional(Locale.annotations({
|
|
89005
89005
|
title: "标签",
|
|
@@ -89078,52 +89078,52 @@ function schema$v(configure) {
|
|
|
89078
89078
|
}
|
|
89079
89079
|
const __vite_glob_0_15$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
89080
89080
|
__proto__: null,
|
|
89081
|
-
JSON_VAR: JSON_VAR$
|
|
89082
|
-
compatibilityDate: compatibilityDate$
|
|
89083
|
-
metadata: metadata$
|
|
89084
|
-
schema: schema$
|
|
89085
|
-
type: type$
|
|
89081
|
+
JSON_VAR: JSON_VAR$3,
|
|
89082
|
+
compatibilityDate: compatibilityDate$z,
|
|
89083
|
+
metadata: metadata$z,
|
|
89084
|
+
schema: schema$z,
|
|
89085
|
+
type: type$z
|
|
89086
89086
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
89087
|
-
const type$
|
|
89088
|
-
const compatibilityDate$
|
|
89089
|
-
const metadata$
|
|
89087
|
+
const type$y = "com.shwfed.form.field.combobox.single.remote";
|
|
89088
|
+
const compatibilityDate$y = "2026-05-13";
|
|
89089
|
+
const metadata$y = {
|
|
89090
89090
|
name: "下拉单选(远程)",
|
|
89091
89091
|
icon: "fluent:cloud-arrow-down-20-regular",
|
|
89092
89092
|
w: { initial: 8, min: 4, max: Infinity },
|
|
89093
89093
|
h: { initial: 2, min: 2, max: 2 }
|
|
89094
89094
|
};
|
|
89095
|
-
const OPTION_VAR$
|
|
89095
|
+
const OPTION_VAR$2 = {
|
|
89096
89096
|
type: "dyn",
|
|
89097
89097
|
label: "当前选项",
|
|
89098
89098
|
description: "`选项` 表达式产出的数组中迭代到的单个元素"
|
|
89099
89099
|
};
|
|
89100
|
-
const JSON_VAR$
|
|
89100
|
+
const JSON_VAR$2 = {
|
|
89101
89101
|
type: "dyn",
|
|
89102
89102
|
label: "HTTP 响应体",
|
|
89103
89103
|
description: "HTTP 响应体(已解析 JSON);请求失败或尚未完成时为 `null`"
|
|
89104
89104
|
};
|
|
89105
|
-
function configureWithOption(configure) {
|
|
89105
|
+
function configureWithOption$1(configure) {
|
|
89106
89106
|
return (env) => {
|
|
89107
89107
|
configure(env);
|
|
89108
|
-
env.registerVariable("option", OPTION_VAR$
|
|
89108
|
+
env.registerVariable("option", OPTION_VAR$2.type, { description: OPTION_VAR$2.description });
|
|
89109
89109
|
};
|
|
89110
89110
|
}
|
|
89111
89111
|
function configureWithJson(configure) {
|
|
89112
89112
|
return (env) => {
|
|
89113
89113
|
configure(env);
|
|
89114
|
-
env.registerVariable("json", JSON_VAR$
|
|
89114
|
+
env.registerVariable("json", JSON_VAR$2.type, { description: JSON_VAR$2.description });
|
|
89115
89115
|
};
|
|
89116
89116
|
}
|
|
89117
|
-
const isListType$
|
|
89118
|
-
function schema$
|
|
89117
|
+
const isListType$4 = (actual) => actual === "dyn" || actual.startsWith("list");
|
|
89118
|
+
function schema$y(configure) {
|
|
89119
89119
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
89120
89120
|
const CelHttpRequest = Expression({ configure, resultType: "HttpRequest" });
|
|
89121
|
-
const CelOptions = Expression({ configure: configureWithJson(configure), resultType: isListType$
|
|
89122
|
-
const CelOptionValue = Expression({ configure: configureWithOption(configure), resultType: "dyn" });
|
|
89123
|
-
const LocaleOptionLabel = LocaleMarkdown({ configure: configureWithOption(configure) });
|
|
89121
|
+
const CelOptions = Expression({ configure: configureWithJson(configure), resultType: isListType$4 });
|
|
89122
|
+
const CelOptionValue = Expression({ configure: configureWithOption$1(configure), resultType: "dyn" });
|
|
89123
|
+
const LocaleOptionLabel = LocaleMarkdown({ configure: configureWithOption$1(configure) });
|
|
89124
89124
|
return Struct({
|
|
89125
|
-
type: Literal2(type$
|
|
89126
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
89125
|
+
type: Literal2(type$y),
|
|
89126
|
+
compatibilityDate: Literal2(compatibilityDate$y),
|
|
89127
89127
|
...commonFieldFields(configure),
|
|
89128
89128
|
label: optional(Locale.annotations({
|
|
89129
89129
|
title: "标签",
|
|
@@ -89174,22 +89174,22 @@ function schema$u(configure) {
|
|
|
89174
89174
|
}
|
|
89175
89175
|
const __vite_glob_0_16$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
89176
89176
|
__proto__: null,
|
|
89177
|
-
JSON_VAR: JSON_VAR$
|
|
89178
|
-
OPTION_VAR: OPTION_VAR$
|
|
89179
|
-
compatibilityDate: compatibilityDate$
|
|
89180
|
-
metadata: metadata$
|
|
89181
|
-
schema: schema$
|
|
89182
|
-
type: type$
|
|
89177
|
+
JSON_VAR: JSON_VAR$2,
|
|
89178
|
+
OPTION_VAR: OPTION_VAR$2,
|
|
89179
|
+
compatibilityDate: compatibilityDate$y,
|
|
89180
|
+
metadata: metadata$y,
|
|
89181
|
+
schema: schema$y,
|
|
89182
|
+
type: type$y
|
|
89183
89183
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
89184
|
-
const type$
|
|
89185
|
-
const compatibilityDate$
|
|
89186
|
-
const metadata$
|
|
89184
|
+
const type$x = "com.shwfed.form.field.list";
|
|
89185
|
+
const compatibilityDate$x = "2026-05-13";
|
|
89186
|
+
const metadata$x = {
|
|
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$x(configure) {
|
|
89193
89193
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
89194
89194
|
const unitConfigure = (env) => {
|
|
89195
89195
|
configure(env);
|
|
@@ -89203,8 +89203,8 @@ function schema$t(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$x),
|
|
89207
|
+
compatibilityDate: Literal2(compatibilityDate$x),
|
|
89208
89208
|
...commonFieldFields(configure),
|
|
89209
89209
|
label: optional(Locale.annotations({
|
|
89210
89210
|
title: "标签",
|
|
@@ -89269,23 +89269,23 @@ function defaults$4() {
|
|
|
89269
89269
|
}
|
|
89270
89270
|
};
|
|
89271
89271
|
}
|
|
89272
|
-
const __vite_glob_0_17 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
89272
|
+
const __vite_glob_0_17$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
89273
89273
|
__proto__: null,
|
|
89274
|
-
compatibilityDate: compatibilityDate$
|
|
89274
|
+
compatibilityDate: compatibilityDate$x,
|
|
89275
89275
|
defaults: defaults$4,
|
|
89276
|
-
metadata: metadata$
|
|
89277
|
-
schema: schema$
|
|
89278
|
-
type: type$
|
|
89276
|
+
metadata: metadata$x,
|
|
89277
|
+
schema: schema$x,
|
|
89278
|
+
type: type$x
|
|
89279
89279
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
89280
|
-
const type$
|
|
89281
|
-
const compatibilityDate$
|
|
89282
|
-
const metadata$
|
|
89280
|
+
const type$w = "com.shwfed.form.field.checkbox.group";
|
|
89281
|
+
const compatibilityDate$w = "2026-05-17";
|
|
89282
|
+
const metadata$w = {
|
|
89283
89283
|
name: "复选框组",
|
|
89284
89284
|
icon: "fluent:checkbox-checked-20-regular",
|
|
89285
89285
|
w: { initial: 8, min: 2, max: Infinity },
|
|
89286
89286
|
h: { initial: 2, min: 2, max: 2 }
|
|
89287
89287
|
};
|
|
89288
|
-
function itemSchema$
|
|
89288
|
+
function itemSchema$5(configure) {
|
|
89289
89289
|
const LocaleMd = LocaleMarkdown({ configure });
|
|
89290
89290
|
const TextValue = Struct({
|
|
89291
89291
|
kind: Literal2("text"),
|
|
@@ -89314,12 +89314,12 @@ function itemSchema$3(configure) {
|
|
|
89314
89314
|
title: "CheckboxGroupItem"
|
|
89315
89315
|
});
|
|
89316
89316
|
}
|
|
89317
|
-
function schema$
|
|
89317
|
+
function schema$w(configure) {
|
|
89318
89318
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
89319
|
-
const Item = itemSchema$
|
|
89319
|
+
const Item = itemSchema$5(configure);
|
|
89320
89320
|
return Struct({
|
|
89321
|
-
type: Literal2(type$
|
|
89322
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
89321
|
+
type: Literal2(type$w),
|
|
89322
|
+
compatibilityDate: Literal2(compatibilityDate$w),
|
|
89323
89323
|
...commonFieldFields(configure),
|
|
89324
89324
|
label: optional(Locale.annotations({
|
|
89325
89325
|
title: "标签",
|
|
@@ -89351,23 +89351,23 @@ function schema$s(configure) {
|
|
|
89351
89351
|
description: "复选框组多选输入"
|
|
89352
89352
|
});
|
|
89353
89353
|
}
|
|
89354
|
-
const __vite_glob_0_18 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
89354
|
+
const __vite_glob_0_18$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
89355
89355
|
__proto__: null,
|
|
89356
|
-
compatibilityDate: compatibilityDate$
|
|
89357
|
-
itemSchema: itemSchema$
|
|
89358
|
-
metadata: metadata$
|
|
89359
|
-
schema: schema$
|
|
89360
|
-
type: type$
|
|
89356
|
+
compatibilityDate: compatibilityDate$w,
|
|
89357
|
+
itemSchema: itemSchema$5,
|
|
89358
|
+
metadata: metadata$w,
|
|
89359
|
+
schema: schema$w,
|
|
89360
|
+
type: type$w
|
|
89361
89361
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
89362
|
-
const type$
|
|
89363
|
-
const compatibilityDate$
|
|
89364
|
-
const metadata$
|
|
89362
|
+
const type$v = "com.shwfed.form.field.radio.group";
|
|
89363
|
+
const compatibilityDate$v = "2026-05-17";
|
|
89364
|
+
const metadata$v = {
|
|
89365
89365
|
name: "单选框组",
|
|
89366
89366
|
icon: "fluent:radio-button-20-regular",
|
|
89367
89367
|
w: { initial: 8, min: 2, max: Infinity },
|
|
89368
89368
|
h: { initial: 2, min: 2, max: 2 }
|
|
89369
89369
|
};
|
|
89370
|
-
function itemSchema$
|
|
89370
|
+
function itemSchema$4(configure) {
|
|
89371
89371
|
const LocaleMd = LocaleMarkdown({ configure });
|
|
89372
89372
|
const TextValue = Struct({
|
|
89373
89373
|
kind: Literal2("text"),
|
|
@@ -89396,12 +89396,12 @@ function itemSchema$2(configure) {
|
|
|
89396
89396
|
title: "RadioGroupItem"
|
|
89397
89397
|
});
|
|
89398
89398
|
}
|
|
89399
|
-
function schema$
|
|
89399
|
+
function schema$v(configure) {
|
|
89400
89400
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
89401
|
-
const Item = itemSchema$
|
|
89401
|
+
const Item = itemSchema$4(configure);
|
|
89402
89402
|
return Struct({
|
|
89403
|
-
type: Literal2(type$
|
|
89404
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
89403
|
+
type: Literal2(type$v),
|
|
89404
|
+
compatibilityDate: Literal2(compatibilityDate$v),
|
|
89405
89405
|
...commonFieldFields(configure),
|
|
89406
89406
|
label: optional(Locale.annotations({
|
|
89407
89407
|
title: "标签",
|
|
@@ -89433,13 +89433,13 @@ function schema$r(configure) {
|
|
|
89433
89433
|
description: "单选框组单选输入"
|
|
89434
89434
|
});
|
|
89435
89435
|
}
|
|
89436
|
-
const __vite_glob_0_19 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
89436
|
+
const __vite_glob_0_19$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
89437
89437
|
__proto__: null,
|
|
89438
|
-
compatibilityDate: compatibilityDate$
|
|
89439
|
-
itemSchema: itemSchema$
|
|
89440
|
-
metadata: metadata$
|
|
89441
|
-
schema: schema$
|
|
89442
|
-
type: type$
|
|
89438
|
+
compatibilityDate: compatibilityDate$v,
|
|
89439
|
+
itemSchema: itemSchema$4,
|
|
89440
|
+
metadata: metadata$v,
|
|
89441
|
+
schema: schema$v,
|
|
89442
|
+
type: type$v
|
|
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$u = "com.shwfed.table.column.actions";
|
|
90927
|
+
const compatibilityDate$u = "2026-04-14";
|
|
90928
|
+
const metadata$u = {
|
|
90929
90929
|
name: "操作",
|
|
90930
90930
|
icon: "fluent:cursor-click-20-regular"
|
|
90931
90931
|
};
|
|
90932
90932
|
const registerRowVariables = registerRowVariablesIfAbsent;
|
|
90933
|
-
function schema$
|
|
90933
|
+
function schema$u(configure) {
|
|
90934
90934
|
const configureWithRow2 = (env) => {
|
|
90935
90935
|
configure(env);
|
|
90936
90936
|
registerRowVariables(env);
|
|
@@ -90938,8 +90938,8 @@ function schema$q(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$u),
|
|
90942
|
+
compatibilityDate: Literal2(compatibilityDate$u),
|
|
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$q(configure) {
|
|
|
90953
90953
|
...actionFieldsForColumn
|
|
90954
90954
|
}).annotations({ title: "ActionsRenderer", description: "操作渲染器" });
|
|
90955
90955
|
}
|
|
90956
|
-
function toColumnDef$
|
|
90956
|
+
function toColumnDef$j(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$g(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$u,
|
|
90970
|
+
metadata: metadata$u,
|
|
90971
90971
|
registerRowVariables,
|
|
90972
|
-
schema: schema$
|
|
90973
|
-
toColumnDef: toColumnDef$
|
|
90974
|
-
type: type$
|
|
90972
|
+
schema: schema$u,
|
|
90973
|
+
toColumnDef: toColumnDef$j,
|
|
90974
|
+
type: type$u
|
|
90975
90975
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
90976
|
-
const type$
|
|
90977
|
-
const compatibilityDate$
|
|
90978
|
-
const metadata$
|
|
90976
|
+
const type$t = "com.shwfed.table.column.date";
|
|
90977
|
+
const compatibilityDate$t = "2026-04-14";
|
|
90978
|
+
const metadata$t = {
|
|
90979
90979
|
name: "日期",
|
|
90980
90980
|
icon: "fluent:calendar-ltr-20-regular"
|
|
90981
90981
|
};
|
|
90982
|
-
function schema$
|
|
90982
|
+
function schema$t(configure) {
|
|
90983
90983
|
return Struct({
|
|
90984
|
-
type: Literal2(type$
|
|
90985
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
90984
|
+
type: Literal2(type$t),
|
|
90985
|
+
compatibilityDate: Literal2(compatibilityDate$t),
|
|
90986
90986
|
...columnFields(configure),
|
|
90987
90987
|
align: optionalWith(Align.annotations({ title: "对齐" }), { default: () => "left" }),
|
|
90988
90988
|
format: String$.annotations({
|
|
@@ -90993,7 +90993,7 @@ function schema$p(configure) {
|
|
|
90993
90993
|
})
|
|
90994
90994
|
}).annotations({ title: "DateRenderer", description: "日期渲染器" });
|
|
90995
90995
|
}
|
|
90996
|
-
function toColumnDef$
|
|
90996
|
+
function toColumnDef$i(value, { getLocaleText, $cel, inheritedContext }) {
|
|
90997
90997
|
return {
|
|
90998
90998
|
header: getLocaleText(value.title),
|
|
90999
90999
|
accessorFn: (row, index) => {
|
|
@@ -91014,22 +91014,22 @@ function toColumnDef$f(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$t,
|
|
91018
|
+
metadata: metadata$t,
|
|
91019
|
+
schema: schema$t,
|
|
91020
|
+
toColumnDef: toColumnDef$i,
|
|
91021
|
+
type: type$t
|
|
91022
91022
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
91023
|
-
const type$
|
|
91024
|
-
const compatibilityDate$
|
|
91025
|
-
const metadata$
|
|
91023
|
+
const type$s = "com.shwfed.table.column.icon";
|
|
91024
|
+
const compatibilityDate$s = "2026-04-14";
|
|
91025
|
+
const metadata$s = {
|
|
91026
91026
|
name: "图标",
|
|
91027
91027
|
icon: "fluent:shapes-20-regular"
|
|
91028
91028
|
};
|
|
91029
|
-
function schema$
|
|
91029
|
+
function schema$s(configure) {
|
|
91030
91030
|
return Struct({
|
|
91031
|
-
type: Literal2(type$
|
|
91032
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
91031
|
+
type: Literal2(type$s),
|
|
91032
|
+
compatibilityDate: Literal2(compatibilityDate$s),
|
|
91033
91033
|
...columnFields(configure),
|
|
91034
91034
|
accessor: CelRowAccess(configure).annotations({
|
|
91035
91035
|
title: "图标",
|
|
@@ -91044,7 +91044,7 @@ function schema$o(configure) {
|
|
|
91044
91044
|
align: optionalWith(Align.annotations({ title: "对齐" }), { default: () => "center" })
|
|
91045
91045
|
}).annotations({ title: "IconRenderer", description: "图标渲染器" });
|
|
91046
91046
|
}
|
|
91047
|
-
function toColumnDef$
|
|
91047
|
+
function toColumnDef$h(value, { getLocaleText, $cel, inheritedContext }) {
|
|
91048
91048
|
return {
|
|
91049
91049
|
header: getLocaleText(value.title),
|
|
91050
91050
|
accessorFn: (row, index) => {
|
|
@@ -91065,25 +91065,25 @@ function toColumnDef$e(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$s,
|
|
91069
|
+
metadata: metadata$s,
|
|
91070
|
+
schema: schema$s,
|
|
91071
|
+
toColumnDef: toColumnDef$h,
|
|
91072
|
+
type: type$s
|
|
91073
91073
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
91074
|
-
const type$
|
|
91075
|
-
const compatibilityDate$
|
|
91076
|
-
const metadata$
|
|
91074
|
+
const type$r = "com.shwfed.table.column.markdown";
|
|
91075
|
+
const compatibilityDate$r = "2026-04-14";
|
|
91076
|
+
const metadata$r = {
|
|
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$r(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$r),
|
|
91086
|
+
compatibilityDate: Literal2(compatibilityDate$r),
|
|
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$n(configure) {
|
|
|
91109
91109
|
}))
|
|
91110
91110
|
}).annotations({ title: "MarkdownRenderer", description: "MD" });
|
|
91111
91111
|
}
|
|
91112
|
-
function toColumnDef$
|
|
91112
|
+
function toColumnDef$g(value, { getLocaleText }) {
|
|
91113
91113
|
return {
|
|
91114
91114
|
header: getLocaleText(value.title),
|
|
91115
91115
|
enableSorting: false,
|
|
@@ -91122,22 +91122,22 @@ function toColumnDef$d(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$r,
|
|
91126
|
+
metadata: metadata$r,
|
|
91127
|
+
schema: schema$r,
|
|
91128
|
+
toColumnDef: toColumnDef$g,
|
|
91129
|
+
type: type$r
|
|
91130
91130
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
91131
|
-
const type$
|
|
91132
|
-
const compatibilityDate$
|
|
91133
|
-
const metadata$
|
|
91131
|
+
const type$q = "com.shwfed.table.column.number";
|
|
91132
|
+
const compatibilityDate$q = "2026-04-14";
|
|
91133
|
+
const metadata$q = {
|
|
91134
91134
|
name: "数值",
|
|
91135
91135
|
icon: "fluent:number-symbol-20-regular"
|
|
91136
91136
|
};
|
|
91137
|
-
function schema$
|
|
91137
|
+
function schema$q(configure) {
|
|
91138
91138
|
return Struct({
|
|
91139
|
-
type: Literal2(type$
|
|
91140
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
91139
|
+
type: Literal2(type$q),
|
|
91140
|
+
compatibilityDate: Literal2(compatibilityDate$q),
|
|
91141
91141
|
...columnFields(configure),
|
|
91142
91142
|
align: optionalWith(Align.annotations({ title: "对齐" }), { default: () => "right" }),
|
|
91143
91143
|
displayMode: optionalWith(
|
|
@@ -91157,7 +91157,7 @@ function schema$m(configure) {
|
|
|
91157
91157
|
}))
|
|
91158
91158
|
}).annotations({ title: "NumberRenderer", description: "数值渲染器" });
|
|
91159
91159
|
}
|
|
91160
|
-
function toColumnDef$
|
|
91160
|
+
function toColumnDef$f(value, { getLocaleText, $cel, inheritedContext }) {
|
|
91161
91161
|
return {
|
|
91162
91162
|
header: getLocaleText(value.title),
|
|
91163
91163
|
accessorFn: (row, index) => {
|
|
@@ -91178,24 +91178,24 @@ function toColumnDef$c(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$q,
|
|
91182
|
+
metadata: metadata$q,
|
|
91183
|
+
schema: schema$q,
|
|
91184
|
+
toColumnDef: toColumnDef$f,
|
|
91185
|
+
type: type$q
|
|
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$p = "com.shwfed.table.column.select";
|
|
91193
|
+
const compatibilityDate$p = "2026-04-14";
|
|
91194
|
+
const metadata$p = {
|
|
91195
91195
|
name: "选择",
|
|
91196
91196
|
icon: "fluent:checkbox-checked-20-regular"
|
|
91197
91197
|
};
|
|
91198
|
-
function schema$
|
|
91198
|
+
function schema$p(configure) {
|
|
91199
91199
|
const CelRowSelectionPredicate = Expression({
|
|
91200
91200
|
configure: (env) => {
|
|
91201
91201
|
configure(env);
|
|
@@ -91204,8 +91204,8 @@ function schema$l(configure) {
|
|
|
91204
91204
|
resultType: "bool"
|
|
91205
91205
|
});
|
|
91206
91206
|
return Struct({
|
|
91207
|
-
type: Literal2(type$
|
|
91208
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
91207
|
+
type: Literal2(type$p),
|
|
91208
|
+
compatibilityDate: Literal2(compatibilityDate$p),
|
|
91209
91209
|
...columnIdentityFields(),
|
|
91210
91210
|
mode: optionalWith(Literal2("radio", "checkbox").annotations({
|
|
91211
91211
|
title: "模式",
|
|
@@ -91225,7 +91225,7 @@ function schema$l(configure) {
|
|
|
91225
91225
|
})
|
|
91226
91226
|
}).annotations({ title: "SelectRenderer", description: "选择渲染器" });
|
|
91227
91227
|
}
|
|
91228
|
-
function toColumnDef$
|
|
91228
|
+
function toColumnDef$e(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$b(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$p,
|
|
91240
|
+
metadata: metadata$p,
|
|
91241
|
+
schema: schema$p,
|
|
91242
|
+
toColumnDef: toColumnDef$e,
|
|
91243
|
+
type: type$p
|
|
91244
91244
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
91245
|
-
const type$
|
|
91246
|
-
const compatibilityDate$
|
|
91247
|
-
const metadata$
|
|
91245
|
+
const type$o = "com.shwfed.table.column.text";
|
|
91246
|
+
const compatibilityDate$o = "2026-04-14";
|
|
91247
|
+
const metadata$o = {
|
|
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$o(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$o),
|
|
91256
|
+
compatibilityDate: Literal2(compatibilityDate$o),
|
|
91257
91257
|
...columnFields(configure),
|
|
91258
91258
|
align: optionalWith(Align.annotations({ title: "对齐" }), { default: () => "left" }),
|
|
91259
91259
|
displayMode: optionalWith(
|
|
@@ -91269,7 +91269,7 @@ function schema$k(configure) {
|
|
|
91269
91269
|
}))
|
|
91270
91270
|
}).annotations({ title: "TextRenderer", description: "文本渲染器" });
|
|
91271
91271
|
}
|
|
91272
|
-
function toColumnDef$
|
|
91272
|
+
function toColumnDef$d(value, { getLocaleText, $cel, inheritedContext }) {
|
|
91273
91273
|
return {
|
|
91274
91274
|
header: getLocaleText(value.title),
|
|
91275
91275
|
accessorFn: (row, index) => {
|
|
@@ -91291,19 +91291,19 @@ function toColumnDef$a(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$o,
|
|
91295
|
+
metadata: metadata$o,
|
|
91296
|
+
schema: schema$o,
|
|
91297
|
+
toColumnDef: toColumnDef$d,
|
|
91298
|
+
type: type$o
|
|
91299
91299
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
91300
|
-
const type$
|
|
91301
|
-
const compatibilityDate$
|
|
91302
|
-
const metadata$
|
|
91300
|
+
const type$n = "com.shwfed.table.column.switch.remote";
|
|
91301
|
+
const compatibilityDate$n = "2026-05-13";
|
|
91302
|
+
const metadata$n = {
|
|
91303
91303
|
name: "开关(远程)",
|
|
91304
91304
|
icon: "fluent:toggle-left-20-regular"
|
|
91305
91305
|
};
|
|
91306
|
-
function schema$
|
|
91306
|
+
function schema$n(configure) {
|
|
91307
91307
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
91308
91308
|
const CelOnChange = Expression({
|
|
91309
91309
|
configure: (env) => {
|
|
@@ -91321,8 +91321,8 @@ function schema$j(configure) {
|
|
|
91321
91321
|
resultType: "string"
|
|
91322
91322
|
});
|
|
91323
91323
|
return Struct({
|
|
91324
|
-
type: Literal2(type$
|
|
91325
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
91324
|
+
type: Literal2(type$n),
|
|
91325
|
+
compatibilityDate: Literal2(compatibilityDate$n),
|
|
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$j(configure) {
|
|
|
91344
91344
|
}).annotations({ title: "SwitchRenderer", description: "开关渲染器(可编辑)" });
|
|
91345
91345
|
}
|
|
91346
91346
|
const migrateFrom$1 = [
|
|
91347
|
-
{ type: "com.shwfed.table.column.switch", compatibilityDate: compatibilityDate$
|
|
91347
|
+
{ type: "com.shwfed.table.column.switch", compatibilityDate: compatibilityDate$n }
|
|
91348
91348
|
];
|
|
91349
91349
|
const migrate$1 = (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$n, compatibilityDate: compatibilityDate$n };
|
|
91355
91355
|
},
|
|
91356
91356
|
catch: (e) => e instanceof Error ? e : new Error(String(e))
|
|
91357
91357
|
});
|
|
91358
|
-
function toColumnDef$
|
|
91358
|
+
function toColumnDef$c(value, { getLocaleText, $cel, inheritedContext }) {
|
|
91359
91359
|
return {
|
|
91360
91360
|
header: getLocaleText(value.title),
|
|
91361
91361
|
accessorFn: (row, index) => {
|
|
@@ -91377,21 +91377,21 @@ function toColumnDef$9(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$n,
|
|
91381
|
+
metadata: metadata$n,
|
|
91382
91382
|
migrate: migrate$1,
|
|
91383
91383
|
migrateFrom: migrateFrom$1,
|
|
91384
|
-
schema: schema$
|
|
91385
|
-
toColumnDef: toColumnDef$
|
|
91386
|
-
type: type$
|
|
91384
|
+
schema: schema$n,
|
|
91385
|
+
toColumnDef: toColumnDef$c,
|
|
91386
|
+
type: type$n
|
|
91387
91387
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
91388
|
-
const type$
|
|
91389
|
-
const compatibilityDate$
|
|
91390
|
-
const metadata$
|
|
91388
|
+
const type$m = "com.shwfed.table.column.switch";
|
|
91389
|
+
const compatibilityDate$m = "2026-05-13";
|
|
91390
|
+
const metadata$m = {
|
|
91391
91391
|
name: "开关(远程)",
|
|
91392
91392
|
icon: "fluent:toggle-left-20-regular"
|
|
91393
91393
|
};
|
|
91394
|
-
function schema$
|
|
91394
|
+
function schema$m(configure) {
|
|
91395
91395
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
91396
91396
|
const CelOnChange = Expression({
|
|
91397
91397
|
configure: (env) => {
|
|
@@ -91409,8 +91409,8 @@ function schema$i(configure) {
|
|
|
91409
91409
|
resultType: "string"
|
|
91410
91410
|
});
|
|
91411
91411
|
return Struct({
|
|
91412
|
-
type: Literal2(type$
|
|
91413
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
91412
|
+
type: Literal2(type$m),
|
|
91413
|
+
compatibilityDate: Literal2(compatibilityDate$m),
|
|
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$i(configure) {
|
|
|
91431
91431
|
}))
|
|
91432
91432
|
}).annotations({ title: "SwitchRenderer", description: "开关渲染器(可编辑)" });
|
|
91433
91433
|
}
|
|
91434
|
-
function toColumnDef$
|
|
91434
|
+
function toColumnDef$b(value, { getLocaleText, $cel, inheritedContext }) {
|
|
91435
91435
|
return {
|
|
91436
91436
|
header: getLocaleText(value.title),
|
|
91437
91437
|
accessorFn: (row, index) => {
|
|
@@ -91453,11 +91453,11 @@ function toColumnDef$8(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$m,
|
|
91457
|
+
metadata: metadata$m,
|
|
91458
|
+
schema: schema$m,
|
|
91459
|
+
toColumnDef: toColumnDef$b,
|
|
91460
|
+
type: type$m
|
|
91461
91461
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
91462
91462
|
const isObject$1 = (value) => {
|
|
91463
91463
|
const type2 = typeof value;
|
|
@@ -91656,13 +91656,13 @@ 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$l = "com.shwfed.table.column.combobox-single";
|
|
91660
|
+
const compatibilityDate$l = "2026-05-20";
|
|
91661
|
+
const metadata$l = {
|
|
91662
91662
|
name: "下拉单选",
|
|
91663
91663
|
icon: "fluent:chevron-down-20-regular"
|
|
91664
91664
|
};
|
|
91665
|
-
function itemSchema$
|
|
91665
|
+
function itemSchema$3(configure) {
|
|
91666
91666
|
const LocaleMd = LocaleMarkdownWithRow(configure);
|
|
91667
91667
|
const TextValue = Struct({
|
|
91668
91668
|
kind: Literal2("text"),
|
|
@@ -91691,12 +91691,12 @@ function itemSchema$1(configure) {
|
|
|
91691
91691
|
title: "ComboboxSingleItem"
|
|
91692
91692
|
});
|
|
91693
91693
|
}
|
|
91694
|
-
function schema$
|
|
91694
|
+
function schema$l(configure) {
|
|
91695
91695
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
91696
|
-
const Item = itemSchema$
|
|
91696
|
+
const Item = itemSchema$3(configure);
|
|
91697
91697
|
return Struct({
|
|
91698
|
-
type: Literal2(type$
|
|
91699
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
91698
|
+
type: Literal2(type$l),
|
|
91699
|
+
compatibilityDate: Literal2(compatibilityDate$l),
|
|
91700
91700
|
...editableColumnFields(),
|
|
91701
91701
|
placeholder: optional(Locale.annotations({
|
|
91702
91702
|
title: "占位符",
|
|
@@ -91721,7 +91721,7 @@ function schema$h(configure) {
|
|
|
91721
91721
|
}), { default: () => [] })
|
|
91722
91722
|
}).annotations({ title: "ComboboxSingleRenderer", description: "下拉单选渲染器(可编辑)" });
|
|
91723
91723
|
}
|
|
91724
|
-
function toColumnDef$
|
|
91724
|
+
function toColumnDef$a(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$7(value, { getLocaleText }) {
|
|
|
91744
91744
|
}
|
|
91745
91745
|
const __vite_glob_0_9 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
91746
91746
|
__proto__: null,
|
|
91747
|
-
compatibilityDate: compatibilityDate$
|
|
91748
|
-
itemSchema: itemSchema$
|
|
91749
|
-
metadata: metadata$
|
|
91750
|
-
schema: schema$
|
|
91751
|
-
toColumnDef: toColumnDef$
|
|
91752
|
-
type: type$
|
|
91747
|
+
compatibilityDate: compatibilityDate$l,
|
|
91748
|
+
itemSchema: itemSchema$3,
|
|
91749
|
+
metadata: metadata$l,
|
|
91750
|
+
schema: schema$l,
|
|
91751
|
+
toColumnDef: toColumnDef$a,
|
|
91752
|
+
type: type$l
|
|
91753
91753
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
91754
|
-
const type$
|
|
91755
|
-
const compatibilityDate$
|
|
91756
|
-
const metadata$
|
|
91754
|
+
const type$k = "com.shwfed.table.column.number-input";
|
|
91755
|
+
const compatibilityDate$k = "2026-05-20";
|
|
91756
|
+
const metadata$k = {
|
|
91757
91757
|
name: "数值输入",
|
|
91758
91758
|
icon: "fluent:number-symbol-20-regular"
|
|
91759
91759
|
};
|
|
91760
|
-
function schema$
|
|
91760
|
+
function schema$k(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$k),
|
|
91765
|
+
compatibilityDate: Literal2(compatibilityDate$k),
|
|
91766
91766
|
...editableColumnFields(),
|
|
91767
91767
|
placeholder: optional(Locale.annotations({
|
|
91768
91768
|
title: "占位符",
|
|
@@ -91807,7 +91807,7 @@ function schema$g(configure) {
|
|
|
91807
91807
|
derived: derivedRowField(configure, "number")
|
|
91808
91808
|
}).annotations({ title: "NumberInputRenderer", description: "数值输入渲染器(可编辑)" });
|
|
91809
91809
|
}
|
|
91810
|
-
function toColumnDef$
|
|
91810
|
+
function toColumnDef$9(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$6(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$k,
|
|
91834
|
+
metadata: metadata$k,
|
|
91835
|
+
schema: schema$k,
|
|
91836
|
+
toColumnDef: toColumnDef$9,
|
|
91837
|
+
type: type$k
|
|
91838
91838
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
91839
|
-
const type$
|
|
91840
|
-
const compatibilityDate$
|
|
91841
|
-
const metadata$
|
|
91839
|
+
const type$j = "com.shwfed.table.column.switch.local";
|
|
91840
|
+
const compatibilityDate$j = "2026-05-20";
|
|
91841
|
+
const metadata$j = {
|
|
91842
91842
|
name: "开关",
|
|
91843
91843
|
icon: "fluent:toggle-left-20-regular"
|
|
91844
91844
|
};
|
|
91845
|
-
function schema$
|
|
91845
|
+
function schema$j(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$j),
|
|
91849
|
+
compatibilityDate: Literal2(compatibilityDate$j),
|
|
91850
91850
|
...editableColumnFields(),
|
|
91851
91851
|
hidden: optional(CelBool.annotations({
|
|
91852
91852
|
title: "隐藏条件",
|
|
@@ -91872,18 +91872,18 @@ function schema$f(configure) {
|
|
|
91872
91872
|
}).annotations({ title: "SwitchRenderer", description: "开关渲染器(可编辑、本地)" });
|
|
91873
91873
|
}
|
|
91874
91874
|
const migrateFrom = [
|
|
91875
|
-
{ type: "com.shwfed.table.column.switch", compatibilityDate: compatibilityDate$
|
|
91875
|
+
{ type: "com.shwfed.table.column.switch", compatibilityDate: compatibilityDate$j }
|
|
91876
91876
|
];
|
|
91877
91877
|
const migrate = (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$j, compatibilityDate: compatibilityDate$j };
|
|
91883
91883
|
},
|
|
91884
91884
|
catch: (e) => e instanceof Error ? e : new Error(String(e))
|
|
91885
91885
|
});
|
|
91886
|
-
function toColumnDef$
|
|
91886
|
+
function toColumnDef$8(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$5(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$j,
|
|
91909
|
+
metadata: metadata$j,
|
|
91910
91910
|
migrate,
|
|
91911
91911
|
migrateFrom,
|
|
91912
|
-
schema: schema$
|
|
91913
|
-
toColumnDef: toColumnDef$
|
|
91914
|
-
type: type$
|
|
91912
|
+
schema: schema$j,
|
|
91913
|
+
toColumnDef: toColumnDef$8,
|
|
91914
|
+
type: type$j
|
|
91915
91915
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
91916
|
-
const type$
|
|
91917
|
-
const compatibilityDate$
|
|
91918
|
-
const metadata$
|
|
91916
|
+
const type$i = "com.shwfed.table.column.switch";
|
|
91917
|
+
const compatibilityDate$i = "2026-05-20";
|
|
91918
|
+
const metadata$i = {
|
|
91919
91919
|
name: "开关",
|
|
91920
91920
|
icon: "fluent:toggle-left-20-regular"
|
|
91921
91921
|
};
|
|
91922
|
-
function schema$
|
|
91922
|
+
function schema$i(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$i),
|
|
91926
|
+
compatibilityDate: Literal2(compatibilityDate$i),
|
|
91927
91927
|
...editableColumnFields(),
|
|
91928
91928
|
hidden: optional(CelBool.annotations({
|
|
91929
91929
|
title: "隐藏条件",
|
|
@@ -91948,7 +91948,7 @@ function schema$e(configure) {
|
|
|
91948
91948
|
derived: derivedRowField(configure, "bool")
|
|
91949
91949
|
}).annotations({ title: "SwitchRenderer", description: "开关渲染器(可编辑、本地)" });
|
|
91950
91950
|
}
|
|
91951
|
-
function toColumnDef$
|
|
91951
|
+
function toColumnDef$7(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$4(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$i,
|
|
91974
|
+
metadata: metadata$i,
|
|
91975
|
+
schema: schema$i,
|
|
91976
|
+
toColumnDef: toColumnDef$7,
|
|
91977
|
+
type: type$i
|
|
91978
91978
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
91979
|
-
const type$
|
|
91980
|
-
const compatibilityDate$
|
|
91981
|
-
const metadata$
|
|
91979
|
+
const type$h = "com.shwfed.table.column.text-input";
|
|
91980
|
+
const compatibilityDate$h = "2026-05-20";
|
|
91981
|
+
const metadata$h = {
|
|
91982
91982
|
name: "文本输入",
|
|
91983
91983
|
icon: "fluent:text-field-20-regular"
|
|
91984
91984
|
};
|
|
91985
|
-
function schema$
|
|
91985
|
+
function schema$h(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$h),
|
|
91989
|
+
compatibilityDate: Literal2(compatibilityDate$h),
|
|
91990
91990
|
...editableColumnFields(),
|
|
91991
91991
|
placeholder: optional(Locale.annotations({
|
|
91992
91992
|
title: "占位符",
|
|
@@ -92007,7 +92007,7 @@ function schema$d(configure) {
|
|
|
92007
92007
|
derived: derivedRowField(configure, "string")
|
|
92008
92008
|
}).annotations({ title: "TextInputRenderer", description: "文本输入渲染器(可编辑)" });
|
|
92009
92009
|
}
|
|
92010
|
-
function toColumnDef$
|
|
92010
|
+
function toColumnDef$6(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$3(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$h,
|
|
92031
|
+
metadata: metadata$h,
|
|
92032
|
+
schema: schema$h,
|
|
92033
|
+
toColumnDef: toColumnDef$6,
|
|
92034
|
+
type: type$h
|
|
92035
92035
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
92036
|
-
const type$
|
|
92037
|
-
const compatibilityDate$
|
|
92038
|
-
const metadata$
|
|
92036
|
+
const type$g = "com.shwfed.table.column.drag-handle";
|
|
92037
|
+
const compatibilityDate$g = "2026-05-21";
|
|
92038
|
+
const metadata$g = {
|
|
92039
92039
|
name: "拖拽",
|
|
92040
92040
|
icon: "fluent:re-order-dots-vertical-20-regular"
|
|
92041
92041
|
};
|
|
92042
|
-
function schema$
|
|
92042
|
+
function schema$g(_configure) {
|
|
92043
92043
|
return Struct({
|
|
92044
|
-
type: Literal2(type$
|
|
92045
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
92044
|
+
type: Literal2(type$g),
|
|
92045
|
+
compatibilityDate: Literal2(compatibilityDate$g),
|
|
92046
92046
|
...columnIdentityFields()
|
|
92047
92047
|
}).annotations({ title: "DragHandleRenderer", description: "行拖拽手柄列" });
|
|
92048
92048
|
}
|
|
92049
|
-
function toColumnDef$
|
|
92049
|
+
function toColumnDef$5(_value) {
|
|
92050
92050
|
return {
|
|
92051
92051
|
header: () => vueExports.h(Icon, {
|
|
92052
92052
|
"icon": "fluent:re-order-dots-vertical-20-regular",
|
|
@@ -92062,30 +92062,30 @@ function toColumnDef$2(_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$g,
|
|
92066
|
+
metadata: metadata$g,
|
|
92067
|
+
schema: schema$g,
|
|
92068
|
+
toColumnDef: toColumnDef$5,
|
|
92069
|
+
type: type$g
|
|
92070
92070
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
92071
|
-
const type$
|
|
92072
|
-
const compatibilityDate$
|
|
92073
|
-
const metadata$
|
|
92071
|
+
const type$f = "com.shwfed.table.column.combobox-single.remote.options-remote";
|
|
92072
|
+
const compatibilityDate$f = "2026-05-24";
|
|
92073
|
+
const metadata$f = {
|
|
92074
92074
|
name: "远程下拉单选",
|
|
92075
92075
|
icon: "fluent:cloud-arrow-down-20-regular"
|
|
92076
92076
|
};
|
|
92077
|
-
const OPTION_VAR = {
|
|
92077
|
+
const OPTION_VAR$1 = {
|
|
92078
92078
|
type: "dyn",
|
|
92079
92079
|
label: "当前选项",
|
|
92080
92080
|
description: "`选项` 表达式产出的数组中迭代到的单个元素"
|
|
92081
92081
|
};
|
|
92082
|
-
const JSON_VAR = {
|
|
92082
|
+
const JSON_VAR$1 = {
|
|
92083
92083
|
type: "dyn",
|
|
92084
92084
|
label: "HTTP 响应体",
|
|
92085
92085
|
description: "HTTP 响应体(已解析 JSON);请求失败或尚未完成时为 `null`"
|
|
92086
92086
|
};
|
|
92087
|
-
const isListType$
|
|
92088
|
-
function schema$
|
|
92087
|
+
const isListType$3 = (actual) => actual === "dyn" || actual.startsWith("list");
|
|
92088
|
+
function schema$f(configure) {
|
|
92089
92089
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
92090
92090
|
const CelRequest = Expression({
|
|
92091
92091
|
configure: (env) => {
|
|
@@ -92098,15 +92098,15 @@ function schema$b(configure) {
|
|
|
92098
92098
|
configure: (env) => {
|
|
92099
92099
|
configure(env);
|
|
92100
92100
|
registerRowVariablesIfAbsent(env);
|
|
92101
|
-
env.registerVariable("json", JSON_VAR.type, { description: JSON_VAR.description });
|
|
92101
|
+
env.registerVariable("json", JSON_VAR$1.type, { description: JSON_VAR$1.description });
|
|
92102
92102
|
},
|
|
92103
|
-
resultType: isListType$
|
|
92103
|
+
resultType: isListType$3
|
|
92104
92104
|
});
|
|
92105
92105
|
const CelOptionValue = Expression({
|
|
92106
92106
|
configure: (env) => {
|
|
92107
92107
|
configure(env);
|
|
92108
92108
|
registerRowVariablesIfAbsent(env);
|
|
92109
|
-
env.registerVariable("option", OPTION_VAR.type, { description: OPTION_VAR.description });
|
|
92109
|
+
env.registerVariable("option", OPTION_VAR$1.type, { description: OPTION_VAR$1.description });
|
|
92110
92110
|
},
|
|
92111
92111
|
resultType: "dyn"
|
|
92112
92112
|
});
|
|
@@ -92114,7 +92114,7 @@ function schema$b(configure) {
|
|
|
92114
92114
|
configure: (env) => {
|
|
92115
92115
|
configure(env);
|
|
92116
92116
|
registerRowVariablesIfAbsent(env);
|
|
92117
|
-
env.registerVariable("option", OPTION_VAR.type, { description: OPTION_VAR.description });
|
|
92117
|
+
env.registerVariable("option", OPTION_VAR$1.type, { description: OPTION_VAR$1.description });
|
|
92118
92118
|
}
|
|
92119
92119
|
});
|
|
92120
92120
|
const CelOnChange = Expression({
|
|
@@ -92133,8 +92133,8 @@ function schema$b(configure) {
|
|
|
92133
92133
|
resultType: "string"
|
|
92134
92134
|
});
|
|
92135
92135
|
return Struct({
|
|
92136
|
-
type: Literal2(type$
|
|
92137
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
92136
|
+
type: Literal2(type$f),
|
|
92137
|
+
compatibilityDate: Literal2(compatibilityDate$f),
|
|
92138
92138
|
...columnFields(configure),
|
|
92139
92139
|
placeholder: optional(Locale.annotations({
|
|
92140
92140
|
title: "占位符",
|
|
@@ -92185,7 +92185,7 @@ function schema$b(configure) {
|
|
|
92185
92185
|
description: "下拉单选渲染器(远程写入·远程选项)"
|
|
92186
92186
|
});
|
|
92187
92187
|
}
|
|
92188
|
-
function toColumnDef$
|
|
92188
|
+
function toColumnDef$4(value, { getLocaleText, $cel, inheritedContext }) {
|
|
92189
92189
|
return {
|
|
92190
92190
|
header: editableHeader(getLocaleText(value.title)),
|
|
92191
92191
|
accessorFn: (row, index) => {
|
|
@@ -92207,21 +92207,21 @@ function toColumnDef$1(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
92207
92207
|
}
|
|
92208
92208
|
const __vite_glob_0_15 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
92209
92209
|
__proto__: null,
|
|
92210
|
-
JSON_VAR,
|
|
92211
|
-
OPTION_VAR,
|
|
92212
|
-
compatibilityDate: compatibilityDate$
|
|
92213
|
-
metadata: metadata$
|
|
92214
|
-
schema: schema$
|
|
92215
|
-
toColumnDef: toColumnDef$
|
|
92216
|
-
type: type$
|
|
92210
|
+
JSON_VAR: JSON_VAR$1,
|
|
92211
|
+
OPTION_VAR: OPTION_VAR$1,
|
|
92212
|
+
compatibilityDate: compatibilityDate$f,
|
|
92213
|
+
metadata: metadata$f,
|
|
92214
|
+
schema: schema$f,
|
|
92215
|
+
toColumnDef: toColumnDef$4,
|
|
92216
|
+
type: type$f
|
|
92217
92217
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
92218
|
-
const type$
|
|
92219
|
-
const compatibilityDate$
|
|
92220
|
-
const metadata$
|
|
92218
|
+
const type$e = "com.shwfed.table.column.combobox-single.remote.options-static";
|
|
92219
|
+
const compatibilityDate$e = "2026-05-24";
|
|
92220
|
+
const metadata$e = {
|
|
92221
92221
|
name: "下拉单选",
|
|
92222
92222
|
icon: "fluent:chevron-down-20-regular"
|
|
92223
92223
|
};
|
|
92224
|
-
function itemSchema(configure) {
|
|
92224
|
+
function itemSchema$2(configure) {
|
|
92225
92225
|
const LocaleMd = LocaleMarkdownWithRow(configure);
|
|
92226
92226
|
const TextValue = Struct({
|
|
92227
92227
|
kind: Literal2("text"),
|
|
@@ -92250,9 +92250,9 @@ function itemSchema(configure) {
|
|
|
92250
92250
|
title: "ComboboxSingleRemoteOptionsStaticItem"
|
|
92251
92251
|
});
|
|
92252
92252
|
}
|
|
92253
|
-
function schema$
|
|
92253
|
+
function schema$e(configure) {
|
|
92254
92254
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
92255
|
-
const Item = itemSchema(configure);
|
|
92255
|
+
const Item = itemSchema$2(configure);
|
|
92256
92256
|
const CelOnChange = Expression({
|
|
92257
92257
|
configure: (env) => {
|
|
92258
92258
|
configure(env);
|
|
@@ -92269,8 +92269,8 @@ function schema$a(configure) {
|
|
|
92269
92269
|
resultType: "string"
|
|
92270
92270
|
});
|
|
92271
92271
|
return Struct({
|
|
92272
|
-
type: Literal2(type$
|
|
92273
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
92272
|
+
type: Literal2(type$e),
|
|
92273
|
+
compatibilityDate: Literal2(compatibilityDate$e),
|
|
92274
92274
|
...columnFields(configure),
|
|
92275
92275
|
placeholder: optional(Locale.annotations({
|
|
92276
92276
|
title: "占位符",
|
|
@@ -92309,7 +92309,7 @@ function schema$a(configure) {
|
|
|
92309
92309
|
description: "下拉单选渲染器(远程写入·静态选项)"
|
|
92310
92310
|
});
|
|
92311
92311
|
}
|
|
92312
|
-
function toColumnDef(value, { getLocaleText, $cel, inheritedContext }) {
|
|
92312
|
+
function toColumnDef$3(value, { getLocaleText, $cel, inheritedContext }) {
|
|
92313
92313
|
return {
|
|
92314
92314
|
header: editableHeader(getLocaleText(value.title)),
|
|
92315
92315
|
accessorFn: (row, index) => {
|
|
@@ -92331,12 +92331,375 @@ function toColumnDef(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$e,
|
|
92335
|
+
itemSchema: itemSchema$2,
|
|
92336
|
+
metadata: metadata$e,
|
|
92337
|
+
schema: schema$e,
|
|
92338
|
+
toColumnDef: toColumnDef$3,
|
|
92339
|
+
type: type$e
|
|
92340
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
92341
|
+
const type$d = "com.shwfed.table.column.combobox-multi.remote.options-remote";
|
|
92342
|
+
const compatibilityDate$d = "2026-05-25";
|
|
92343
|
+
const metadata$d = {
|
|
92344
|
+
name: "远程下拉多选",
|
|
92345
|
+
icon: "fluent:cloud-arrow-down-20-regular"
|
|
92346
|
+
};
|
|
92347
|
+
const OPTION_VAR = {
|
|
92348
|
+
type: "dyn",
|
|
92349
|
+
label: "当前选项",
|
|
92350
|
+
description: "`选项` 表达式产出的数组中迭代到的单个元素"
|
|
92351
|
+
};
|
|
92352
|
+
const JSON_VAR = {
|
|
92353
|
+
type: "dyn",
|
|
92354
|
+
label: "HTTP 响应体",
|
|
92355
|
+
description: "HTTP 响应体(已解析 JSON);请求失败或尚未完成时为 `null`"
|
|
92356
|
+
};
|
|
92357
|
+
const isListType$2 = (actual) => actual === "dyn" || actual.startsWith("list");
|
|
92358
|
+
function schema$d(configure) {
|
|
92359
|
+
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
92360
|
+
const CelRequest = Expression({
|
|
92361
|
+
configure: (env) => {
|
|
92362
|
+
configure(env);
|
|
92363
|
+
registerRowVariablesIfAbsent(env);
|
|
92364
|
+
},
|
|
92365
|
+
resultType: "HttpRequest"
|
|
92366
|
+
});
|
|
92367
|
+
const CelOptions = Expression({
|
|
92368
|
+
configure: (env) => {
|
|
92369
|
+
configure(env);
|
|
92370
|
+
registerRowVariablesIfAbsent(env);
|
|
92371
|
+
env.registerVariable("json", JSON_VAR.type, { description: JSON_VAR.description });
|
|
92372
|
+
},
|
|
92373
|
+
resultType: isListType$2
|
|
92374
|
+
});
|
|
92375
|
+
const CelOptionValue = Expression({
|
|
92376
|
+
configure: (env) => {
|
|
92377
|
+
configure(env);
|
|
92378
|
+
registerRowVariablesIfAbsent(env);
|
|
92379
|
+
env.registerVariable("option", OPTION_VAR.type, { description: OPTION_VAR.description });
|
|
92380
|
+
},
|
|
92381
|
+
resultType: "dyn"
|
|
92382
|
+
});
|
|
92383
|
+
const LocaleOptionLabel = LocaleMarkdown({
|
|
92384
|
+
configure: (env) => {
|
|
92385
|
+
configure(env);
|
|
92386
|
+
registerRowVariablesIfAbsent(env);
|
|
92387
|
+
env.registerVariable("option", OPTION_VAR.type, { description: OPTION_VAR.description });
|
|
92388
|
+
}
|
|
92389
|
+
});
|
|
92390
|
+
const CelOnChange = Expression({
|
|
92391
|
+
configure: (env) => {
|
|
92392
|
+
configure(env);
|
|
92393
|
+
registerRowVariablesIfAbsent(env);
|
|
92394
|
+
env.registerVariable("value", "dyn", { description: "用户当前选中项 `value` 组成的数组;清空时为空数组 `[]`" });
|
|
92395
|
+
},
|
|
92396
|
+
resultType: "HttpRequest"
|
|
92397
|
+
});
|
|
92398
|
+
const CelMessage = Expression({
|
|
92399
|
+
configure: (env) => {
|
|
92400
|
+
configure(env);
|
|
92401
|
+
env.registerVariable("json", "dyn", { description: "HTTP 响应体(已解析 JSON)" });
|
|
92402
|
+
},
|
|
92403
|
+
resultType: "string"
|
|
92404
|
+
});
|
|
92405
|
+
return Struct({
|
|
92406
|
+
type: Literal2(type$d),
|
|
92407
|
+
compatibilityDate: Literal2(compatibilityDate$d),
|
|
92408
|
+
...columnFields(configure),
|
|
92409
|
+
placeholder: optional(Locale.annotations({
|
|
92410
|
+
title: "占位符",
|
|
92411
|
+
description: "未选中任何选项时输入框中的占位文本"
|
|
92412
|
+
})),
|
|
92413
|
+
hidden: optional(CelBool.annotations({
|
|
92414
|
+
title: "隐藏条件",
|
|
92415
|
+
description: "返回 `true` 时该行的下拉框不渲染(其余行不受影响)"
|
|
92416
|
+
})),
|
|
92417
|
+
disabled: optional(CelBool.annotations({
|
|
92418
|
+
title: "禁用条件",
|
|
92419
|
+
description: "返回 `true` 时下拉框仍然渲染但不可选择"
|
|
92420
|
+
})),
|
|
92421
|
+
readonly: optional(CelBool.annotations({
|
|
92422
|
+
title: "只读条件",
|
|
92423
|
+
description: "返回 `true` 时仅以纯文本展示当前已选项的标签"
|
|
92424
|
+
})),
|
|
92425
|
+
request: CelRequest.annotations({
|
|
92426
|
+
title: "请求",
|
|
92427
|
+
description: "返回 `HttpRequest` 的 CEL 表达式;可访问 `row` 与 `index`。相同签名的请求会在该表格内自动去重"
|
|
92428
|
+
}),
|
|
92429
|
+
options: CelOptions.annotations({
|
|
92430
|
+
title: "选项",
|
|
92431
|
+
description: "从 HTTP 响应体提取选项数组的 CEL 表达式;可访问 `row`、`index` 与 `json`。例:`json.data`"
|
|
92432
|
+
}),
|
|
92433
|
+
optionValue: optionalWith(CelOptionValue.annotations({
|
|
92434
|
+
title: "选项值",
|
|
92435
|
+
description: "从当前 `option` 提取写入值的 CEL;例:`option.value`"
|
|
92436
|
+
}), { default: () => "option" }),
|
|
92437
|
+
optionLabel: optionalWith(LocaleOptionLabel.annotations({
|
|
92438
|
+
title: "选项标签",
|
|
92439
|
+
description: "每个选项展示的本地化文本,支持 `{{ string(option.foo) }}` 插值"
|
|
92440
|
+
}), { default: () => [{ locale: "zh", message: "" }] }),
|
|
92441
|
+
onChange: optional(CelOnChange.annotations({
|
|
92442
|
+
title: "切换请求",
|
|
92443
|
+
description: "用户选择后立即求值并发起的 HTTP 请求;`value` 为新数组。未配置时下拉框只读"
|
|
92444
|
+
})),
|
|
92445
|
+
successMessage: optional(CelMessage.annotations({
|
|
92446
|
+
title: "成功消息",
|
|
92447
|
+
description: "请求成功后弹出的 toast 内容;未配置则静默"
|
|
92448
|
+
})),
|
|
92449
|
+
triggers: optional(Triggers.annotations({
|
|
92450
|
+
title: "成功后触发",
|
|
92451
|
+
description: "请求成功后按列表顺序冒泡的操作请求;未配置则什么都不做"
|
|
92452
|
+
}))
|
|
92453
|
+
}).annotations({
|
|
92454
|
+
title: "ComboboxMultiRemoteOptionsRemoteRenderer",
|
|
92455
|
+
description: "下拉多选渲染器(远程写入·远程选项)"
|
|
92456
|
+
});
|
|
92457
|
+
}
|
|
92458
|
+
function toColumnDef$2(value, { getLocaleText, $cel, inheritedContext }) {
|
|
92459
|
+
return {
|
|
92460
|
+
header: editableHeader(getLocaleText(value.title)),
|
|
92461
|
+
accessorFn: (row, index) => {
|
|
92462
|
+
try {
|
|
92463
|
+
return runSync($cel(value.accessor, { ...inheritedContext, row, index }));
|
|
92464
|
+
} catch (e) {
|
|
92465
|
+
console.error("[shwfed-table] combobox-multi.remote.options-remote accessor failed", e);
|
|
92466
|
+
return void 0;
|
|
92467
|
+
}
|
|
92468
|
+
},
|
|
92469
|
+
enableSorting: value.enableSorting ?? false,
|
|
92470
|
+
sortingFn: "basic",
|
|
92471
|
+
size: value.size,
|
|
92472
|
+
meta: {
|
|
92473
|
+
grow: value.grow ?? false,
|
|
92474
|
+
tooltip: getLocaleText(value.tooltip)
|
|
92475
|
+
}
|
|
92476
|
+
};
|
|
92477
|
+
}
|
|
92478
|
+
const __vite_glob_0_17 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
92479
|
+
__proto__: null,
|
|
92480
|
+
JSON_VAR,
|
|
92481
|
+
OPTION_VAR,
|
|
92482
|
+
compatibilityDate: compatibilityDate$d,
|
|
92483
|
+
metadata: metadata$d,
|
|
92484
|
+
schema: schema$d,
|
|
92485
|
+
toColumnDef: toColumnDef$2,
|
|
92486
|
+
type: type$d
|
|
92487
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
92488
|
+
const type$c = "com.shwfed.table.column.combobox-multi.remote.options-static";
|
|
92489
|
+
const compatibilityDate$c = "2026-05-25";
|
|
92490
|
+
const metadata$c = {
|
|
92491
|
+
name: "下拉多选",
|
|
92492
|
+
icon: "fluent:chevron-down-20-regular"
|
|
92493
|
+
};
|
|
92494
|
+
function itemSchema$1(configure) {
|
|
92495
|
+
const LocaleMd = LocaleMarkdownWithRow(configure);
|
|
92496
|
+
const TextValue = Struct({
|
|
92497
|
+
kind: Literal2("text"),
|
|
92498
|
+
value: String$
|
|
92499
|
+
});
|
|
92500
|
+
const NumberValue = Struct({
|
|
92501
|
+
kind: Literal2("number"),
|
|
92502
|
+
value: Number$
|
|
92503
|
+
});
|
|
92504
|
+
const ItemValue = Union2(TextValue, NumberValue).annotations({
|
|
92505
|
+
title: "值",
|
|
92506
|
+
description: "选项绑定的值,可以是文本或数字"
|
|
92507
|
+
});
|
|
92508
|
+
return Struct({
|
|
92509
|
+
id: UUID.annotations({ description: "选项唯一标识,用于稳定的 v-for key" }),
|
|
92510
|
+
label: LocaleMd.annotations({
|
|
92511
|
+
title: "标签",
|
|
92512
|
+
description: "选项展示的本地化文本,支持 Markdown 与 `{{ row.foo }}` / `{{ form.bar }}` 插值"
|
|
92513
|
+
}),
|
|
92514
|
+
value: ItemValue,
|
|
92515
|
+
tooltip: optional(LocaleMd.annotations({
|
|
92516
|
+
title: "提示",
|
|
92517
|
+
description: "鼠标悬停在选项上时展示的本地化提示,支持 Markdown"
|
|
92518
|
+
}))
|
|
92519
|
+
}).annotations({
|
|
92520
|
+
title: "ComboboxMultiRemoteOptionsStaticItem"
|
|
92521
|
+
});
|
|
92522
|
+
}
|
|
92523
|
+
function schema$c(configure) {
|
|
92524
|
+
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
92525
|
+
const Item = itemSchema$1(configure);
|
|
92526
|
+
const CelOnChange = Expression({
|
|
92527
|
+
configure: (env) => {
|
|
92528
|
+
configure(env);
|
|
92529
|
+
registerRowVariablesIfAbsent(env);
|
|
92530
|
+
env.registerVariable("value", "dyn", { description: "用户当前选中项 `value` 组成的数组;清空时为空数组 `[]`" });
|
|
92531
|
+
},
|
|
92532
|
+
resultType: "HttpRequest"
|
|
92533
|
+
});
|
|
92534
|
+
const CelMessage = Expression({
|
|
92535
|
+
configure: (env) => {
|
|
92536
|
+
configure(env);
|
|
92537
|
+
env.registerVariable("json", "dyn", { description: "HTTP 响应体(已解析 JSON)" });
|
|
92538
|
+
},
|
|
92539
|
+
resultType: "string"
|
|
92540
|
+
});
|
|
92541
|
+
return Struct({
|
|
92542
|
+
type: Literal2(type$c),
|
|
92543
|
+
compatibilityDate: Literal2(compatibilityDate$c),
|
|
92544
|
+
...columnFields(configure),
|
|
92545
|
+
placeholder: optional(Locale.annotations({
|
|
92546
|
+
title: "占位符",
|
|
92547
|
+
description: "未选中任何选项时输入框中的占位文本"
|
|
92548
|
+
})),
|
|
92549
|
+
hidden: optional(CelBool.annotations({
|
|
92550
|
+
title: "隐藏条件",
|
|
92551
|
+
description: "返回 `true` 时该行的下拉框不渲染(其余行不受影响)"
|
|
92552
|
+
})),
|
|
92553
|
+
disabled: optional(CelBool.annotations({
|
|
92554
|
+
title: "禁用条件",
|
|
92555
|
+
description: "返回 `true` 时下拉框仍然渲染但不可选择"
|
|
92556
|
+
})),
|
|
92557
|
+
readonly: optional(CelBool.annotations({
|
|
92558
|
+
title: "只读条件",
|
|
92559
|
+
description: "返回 `true` 时仅以纯文本展示当前已选项的标签"
|
|
92560
|
+
})),
|
|
92561
|
+
items: optionalWith(Array$(Item).annotations({
|
|
92562
|
+
title: "选项",
|
|
92563
|
+
description: "下拉框可选项列表"
|
|
92564
|
+
}), { default: () => [] }),
|
|
92565
|
+
onChange: optional(CelOnChange.annotations({
|
|
92566
|
+
title: "切换请求",
|
|
92567
|
+
description: "用户选择后立即求值并发起的 HTTP 请求;`value` 为新数组。未配置时下拉框只读"
|
|
92568
|
+
})),
|
|
92569
|
+
successMessage: optional(CelMessage.annotations({
|
|
92570
|
+
title: "成功消息",
|
|
92571
|
+
description: "请求成功后弹出的 toast 内容;未配置则静默"
|
|
92572
|
+
})),
|
|
92573
|
+
triggers: optional(Triggers.annotations({
|
|
92574
|
+
title: "成功后触发",
|
|
92575
|
+
description: "请求成功后按列表顺序冒泡的操作请求;未配置则什么都不做"
|
|
92576
|
+
}))
|
|
92577
|
+
}).annotations({
|
|
92578
|
+
title: "ComboboxMultiRemoteOptionsStaticRenderer",
|
|
92579
|
+
description: "下拉多选渲染器(远程写入·静态选项)"
|
|
92580
|
+
});
|
|
92581
|
+
}
|
|
92582
|
+
function toColumnDef$1(value, { getLocaleText, $cel, inheritedContext }) {
|
|
92583
|
+
return {
|
|
92584
|
+
header: editableHeader(getLocaleText(value.title)),
|
|
92585
|
+
accessorFn: (row, index) => {
|
|
92586
|
+
try {
|
|
92587
|
+
return runSync($cel(value.accessor, { ...inheritedContext, row, index }));
|
|
92588
|
+
} catch (e) {
|
|
92589
|
+
console.error("[shwfed-table] combobox-multi.remote.options-static accessor failed", e);
|
|
92590
|
+
return void 0;
|
|
92591
|
+
}
|
|
92592
|
+
},
|
|
92593
|
+
enableSorting: value.enableSorting ?? false,
|
|
92594
|
+
sortingFn: "basic",
|
|
92595
|
+
size: value.size,
|
|
92596
|
+
meta: {
|
|
92597
|
+
grow: value.grow ?? false,
|
|
92598
|
+
tooltip: getLocaleText(value.tooltip)
|
|
92599
|
+
}
|
|
92600
|
+
};
|
|
92601
|
+
}
|
|
92602
|
+
const __vite_glob_0_18 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
92603
|
+
__proto__: null,
|
|
92604
|
+
compatibilityDate: compatibilityDate$c,
|
|
92605
|
+
itemSchema: itemSchema$1,
|
|
92606
|
+
metadata: metadata$c,
|
|
92607
|
+
schema: schema$c,
|
|
92608
|
+
toColumnDef: toColumnDef$1,
|
|
92609
|
+
type: type$c
|
|
92610
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
92611
|
+
const type$b = "com.shwfed.table.column.combobox-multi";
|
|
92612
|
+
const compatibilityDate$b = "2026-05-25";
|
|
92613
|
+
const metadata$b = {
|
|
92614
|
+
name: "下拉多选",
|
|
92615
|
+
icon: "fluent:chevron-down-20-regular"
|
|
92616
|
+
};
|
|
92617
|
+
function itemSchema(configure) {
|
|
92618
|
+
const LocaleMd = LocaleMarkdownWithRow(configure);
|
|
92619
|
+
const TextValue = Struct({
|
|
92620
|
+
kind: Literal2("text"),
|
|
92621
|
+
value: String$
|
|
92622
|
+
});
|
|
92623
|
+
const NumberValue = Struct({
|
|
92624
|
+
kind: Literal2("number"),
|
|
92625
|
+
value: Number$
|
|
92626
|
+
});
|
|
92627
|
+
const ItemValue = Union2(TextValue, NumberValue).annotations({
|
|
92628
|
+
title: "值",
|
|
92629
|
+
description: "选项绑定的值,可以是文本或数字"
|
|
92630
|
+
});
|
|
92631
|
+
return Struct({
|
|
92632
|
+
id: UUID.annotations({ description: "选项唯一标识,用于稳定的 v-for key" }),
|
|
92633
|
+
label: LocaleMd.annotations({
|
|
92634
|
+
title: "标签",
|
|
92635
|
+
description: "选项展示的本地化文本,支持 Markdown 与 `{{ row.foo }}` / `{{ form.bar }}` 插值"
|
|
92636
|
+
}),
|
|
92637
|
+
value: ItemValue,
|
|
92638
|
+
tooltip: optional(LocaleMd.annotations({
|
|
92639
|
+
title: "提示",
|
|
92640
|
+
description: "鼠标悬停在选项上时展示的本地化提示,支持 Markdown"
|
|
92641
|
+
}))
|
|
92642
|
+
}).annotations({
|
|
92643
|
+
title: "ComboboxMultiItem"
|
|
92644
|
+
});
|
|
92645
|
+
}
|
|
92646
|
+
function schema$b(configure) {
|
|
92647
|
+
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
92648
|
+
const Item = itemSchema(configure);
|
|
92649
|
+
return Struct({
|
|
92650
|
+
type: Literal2(type$b),
|
|
92651
|
+
compatibilityDate: Literal2(compatibilityDate$b),
|
|
92652
|
+
...editableColumnFields(),
|
|
92653
|
+
placeholder: optional(Locale.annotations({
|
|
92654
|
+
title: "占位符",
|
|
92655
|
+
description: "未选中任何选项时输入框中的占位文本"
|
|
92656
|
+
})),
|
|
92657
|
+
hidden: optional(CelBool.annotations({
|
|
92658
|
+
title: "隐藏条件",
|
|
92659
|
+
description: "返回 `true` 时该行的下拉框不渲染(其余行不受影响)"
|
|
92660
|
+
})),
|
|
92661
|
+
disabled: optional(CelBool.annotations({
|
|
92662
|
+
title: "禁用条件",
|
|
92663
|
+
description: "返回 `true` 时下拉框仍然渲染但不可选择"
|
|
92664
|
+
})),
|
|
92665
|
+
readonly: optional(CelBool.annotations({
|
|
92666
|
+
title: "只读条件",
|
|
92667
|
+
description: "返回 `true` 时仅以纯文本展示当前已选项的标签"
|
|
92668
|
+
})),
|
|
92669
|
+
derived: derivedRowField(configure, "dyn"),
|
|
92670
|
+
items: optionalWith(Array$(Item).annotations({
|
|
92671
|
+
title: "选项",
|
|
92672
|
+
description: "下拉框可选项列表"
|
|
92673
|
+
}), { default: () => [] })
|
|
92674
|
+
}).annotations({ title: "ComboboxMultiRenderer", description: "下拉多选渲染器(可编辑)" });
|
|
92675
|
+
}
|
|
92676
|
+
function toColumnDef(value, { getLocaleText }) {
|
|
92677
|
+
return {
|
|
92678
|
+
header: editableHeader(getLocaleText(value.title)),
|
|
92679
|
+
// `binding` is a dot-prop path; the cell renderer reads through the same
|
|
92680
|
+
// path it writes to. The bound value is an array of selected item
|
|
92681
|
+
// `value`s; sorting falls back to that raw array (basic comparator).
|
|
92682
|
+
accessorFn: (row) => {
|
|
92683
|
+
if (!row || typeof row !== "object") return void 0;
|
|
92684
|
+
return getProperty(row, value.binding);
|
|
92685
|
+
},
|
|
92686
|
+
enableSorting: value.enableSorting ?? false,
|
|
92687
|
+
sortingFn: "basic",
|
|
92688
|
+
size: value.size,
|
|
92689
|
+
meta: {
|
|
92690
|
+
grow: value.grow ?? false,
|
|
92691
|
+
tooltip: getLocaleText(value.tooltip)
|
|
92692
|
+
}
|
|
92693
|
+
};
|
|
92694
|
+
}
|
|
92695
|
+
const __vite_glob_0_19 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
92696
|
+
__proto__: null,
|
|
92697
|
+
compatibilityDate: compatibilityDate$b,
|
|
92335
92698
|
itemSchema,
|
|
92336
|
-
metadata: metadata$
|
|
92337
|
-
schema: schema$
|
|
92699
|
+
metadata: metadata$b,
|
|
92700
|
+
schema: schema$b,
|
|
92338
92701
|
toColumnDef,
|
|
92339
|
-
type: type$
|
|
92702
|
+
type: type$b
|
|
92340
92703
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
92341
92704
|
const schemaModules$2 = /* @__PURE__ */ Object.assign({
|
|
92342
92705
|
"../columns/2026-04-14/com.shwfed.table.column.actions/schema.ts": __vite_glob_0_0,
|
|
@@ -92355,7 +92718,10 @@ const schemaModules$2 = /* @__PURE__ */ Object.assign({
|
|
|
92355
92718
|
"../columns/2026-05-20/com.shwfed.table.column.text-input/schema.ts": __vite_glob_0_13,
|
|
92356
92719
|
"../columns/2026-05-21/com.shwfed.table.column.drag-handle/schema.ts": __vite_glob_0_14,
|
|
92357
92720
|
"../columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/schema.ts": __vite_glob_0_15,
|
|
92358
|
-
"../columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/schema.ts": __vite_glob_0_16
|
|
92721
|
+
"../columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/schema.ts": __vite_glob_0_16,
|
|
92722
|
+
"../columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/schema.ts": __vite_glob_0_17,
|
|
92723
|
+
"../columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/schema.ts": __vite_glob_0_18,
|
|
92724
|
+
"../columns/2026-05-25/com.shwfed.table.column.combobox-multi/schema.ts": __vite_glob_0_19
|
|
92359
92725
|
});
|
|
92360
92726
|
const configModules$2 = /* @__PURE__ */ Object.assign({
|
|
92361
92727
|
"../columns/2026-04-14/com.shwfed.table.column.actions/config.vue": __vite_glob_2_5,
|
|
@@ -92374,7 +92740,10 @@ const configModules$2 = /* @__PURE__ */ Object.assign({
|
|
|
92374
92740
|
"../columns/2026-05-20/com.shwfed.table.column.text-input/config.vue": __vite_glob_2_5,
|
|
92375
92741
|
"../columns/2026-05-21/com.shwfed.table.column.drag-handle/config.vue": __vite_glob_2_5,
|
|
92376
92742
|
"../columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.vue": __vite_glob_2_5,
|
|
92377
|
-
"../columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/config.vue": __vite_glob_2_5
|
|
92743
|
+
"../columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/config.vue": __vite_glob_2_5,
|
|
92744
|
+
"../columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.vue": __vite_glob_2_5,
|
|
92745
|
+
"../columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/config.vue": __vite_glob_2_5,
|
|
92746
|
+
"../columns/2026-05-25/com.shwfed.table.column.combobox-multi/config.vue": __vite_glob_2_5
|
|
92378
92747
|
});
|
|
92379
92748
|
const runtimeModules$2 = /* @__PURE__ */ Object.assign({
|
|
92380
92749
|
"../columns/2026-04-14/com.shwfed.table.column.actions/runtime.vue": __vite_glob_2_5,
|
|
@@ -92393,7 +92762,10 @@ const runtimeModules$2 = /* @__PURE__ */ Object.assign({
|
|
|
92393
92762
|
"../columns/2026-05-20/com.shwfed.table.column.text-input/runtime.vue": __vite_glob_2_5,
|
|
92394
92763
|
"../columns/2026-05-21/com.shwfed.table.column.drag-handle/runtime.vue": __vite_glob_2_5,
|
|
92395
92764
|
"../columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/runtime.vue": __vite_glob_2_5,
|
|
92396
|
-
"../columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/runtime.vue": __vite_glob_2_5
|
|
92765
|
+
"../columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/runtime.vue": __vite_glob_2_5,
|
|
92766
|
+
"../columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/runtime.vue": __vite_glob_2_5,
|
|
92767
|
+
"../columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/runtime.vue": __vite_glob_2_5,
|
|
92768
|
+
"../columns/2026-05-25/com.shwfed.table.column.combobox-multi/runtime.vue": __vite_glob_2_5
|
|
92397
92769
|
});
|
|
92398
92770
|
const sourceKey$1 = (type2, compatibilityDate2) => `${type2}@${compatibilityDate2}`;
|
|
92399
92771
|
const registry$2 = defineRegistry({
|
|
@@ -92810,21 +93182,21 @@ function defaultTableConfig() {
|
|
|
92810
93182
|
: index % 2 == 1 ? { 'background-color': 'oklch(98.5% 0 0)' } : { 'background-color': 'white' }`
|
|
92811
93183
|
};
|
|
92812
93184
|
}
|
|
92813
|
-
const type$
|
|
92814
|
-
const compatibilityDate$
|
|
92815
|
-
const metadata$
|
|
93185
|
+
const type$a = "com.shwfed.form.field.table";
|
|
93186
|
+
const compatibilityDate$a = "2026-05-18";
|
|
93187
|
+
const metadata$a = {
|
|
92816
93188
|
name: "表格",
|
|
92817
93189
|
icon: "fluent:table-20-regular",
|
|
92818
93190
|
w: { initial: 12, min: 6, max: Infinity },
|
|
92819
93191
|
h: { initial: 10, min: 5, max: Infinity, grow: true }
|
|
92820
93192
|
};
|
|
92821
|
-
function schema$
|
|
93193
|
+
function schema$a(configure) {
|
|
92822
93194
|
const Table = suspend(
|
|
92823
93195
|
() => TableConfig(configure)
|
|
92824
93196
|
);
|
|
92825
93197
|
return Struct({
|
|
92826
|
-
type: Literal2(type$
|
|
92827
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
93198
|
+
type: Literal2(type$a),
|
|
93199
|
+
compatibilityDate: Literal2(compatibilityDate$a),
|
|
92828
93200
|
...commonFieldFields(configure),
|
|
92829
93201
|
label: optional(Locale.annotations({
|
|
92830
93202
|
title: "标签",
|
|
@@ -92854,25 +93226,25 @@ function defaults$3() {
|
|
|
92854
93226
|
}
|
|
92855
93227
|
const __vite_glob_0_20 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
92856
93228
|
__proto__: null,
|
|
92857
|
-
compatibilityDate: compatibilityDate$
|
|
93229
|
+
compatibilityDate: compatibilityDate$a,
|
|
92858
93230
|
defaults: defaults$3,
|
|
92859
|
-
metadata: metadata$
|
|
92860
|
-
schema: schema$
|
|
92861
|
-
type: type$
|
|
93231
|
+
metadata: metadata$a,
|
|
93232
|
+
schema: schema$a,
|
|
93233
|
+
type: type$a
|
|
92862
93234
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
92863
|
-
const type$
|
|
92864
|
-
const compatibilityDate$
|
|
92865
|
-
const metadata$
|
|
93235
|
+
const type$9 = "com.shwfed.form.field.collapsible";
|
|
93236
|
+
const compatibilityDate$9 = "2026-05-20";
|
|
93237
|
+
const metadata$9 = {
|
|
92866
93238
|
name: "可折叠区域",
|
|
92867
93239
|
icon: "fluent:chevron-down-20-regular",
|
|
92868
93240
|
w: { initial: 12, min: 4, max: Infinity },
|
|
92869
93241
|
h: { initial: 4, min: 2, max: Infinity, grow: true }
|
|
92870
93242
|
};
|
|
92871
|
-
function schema$
|
|
93243
|
+
function schema$9(configure) {
|
|
92872
93244
|
const Unit = suspend(() => FormUnit(configure));
|
|
92873
93245
|
return Struct({
|
|
92874
|
-
type: Literal2(type$
|
|
92875
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
93246
|
+
type: Literal2(type$9),
|
|
93247
|
+
compatibilityDate: Literal2(compatibilityDate$9),
|
|
92876
93248
|
id: UUID.annotations({ description: "字段唯一标识;布局通过该 id 引用字段" }),
|
|
92877
93249
|
displayName: optional(String$.annotations({
|
|
92878
93250
|
title: "内部名称",
|
|
@@ -92907,21 +93279,21 @@ function defaults$2() {
|
|
|
92907
93279
|
}
|
|
92908
93280
|
const __vite_glob_0_21 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
92909
93281
|
__proto__: null,
|
|
92910
|
-
compatibilityDate: compatibilityDate$
|
|
93282
|
+
compatibilityDate: compatibilityDate$9,
|
|
92911
93283
|
defaults: defaults$2,
|
|
92912
|
-
metadata: metadata$
|
|
92913
|
-
schema: schema$
|
|
92914
|
-
type: type$
|
|
93284
|
+
metadata: metadata$9,
|
|
93285
|
+
schema: schema$9,
|
|
93286
|
+
type: type$9
|
|
92915
93287
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
92916
|
-
const type$
|
|
92917
|
-
const compatibilityDate$
|
|
92918
|
-
const metadata$
|
|
93288
|
+
const type$8 = "com.shwfed.form.field.tree.multi";
|
|
93289
|
+
const compatibilityDate$8 = "2026-05-23";
|
|
93290
|
+
const metadata$8 = {
|
|
92919
93291
|
name: "树(多选)",
|
|
92920
93292
|
icon: "fluent:tree-evergreen-20-regular",
|
|
92921
93293
|
w: { initial: 8, min: 4, max: Infinity },
|
|
92922
93294
|
h: { initial: 8, min: 4, max: Infinity, grow: true }
|
|
92923
93295
|
};
|
|
92924
|
-
function schema$
|
|
93296
|
+
function schema$8(configure) {
|
|
92925
93297
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
92926
93298
|
const nodeConfigure = (env) => {
|
|
92927
93299
|
configure(env);
|
|
@@ -92950,8 +93322,8 @@ function schema$7(configure) {
|
|
|
92950
93322
|
resultType: (t) => t === "dyn" || t.startsWith("list") || t.startsWith("optional")
|
|
92951
93323
|
});
|
|
92952
93324
|
return Struct({
|
|
92953
|
-
type: Literal2(type$
|
|
92954
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
93325
|
+
type: Literal2(type$8),
|
|
93326
|
+
compatibilityDate: Literal2(compatibilityDate$8),
|
|
92955
93327
|
...commonFieldFields(configure),
|
|
92956
93328
|
label: optional(Locale.annotations({
|
|
92957
93329
|
title: "标签",
|
|
@@ -93039,15 +93411,15 @@ function defaults$1() {
|
|
|
93039
93411
|
}
|
|
93040
93412
|
const __vite_glob_0_22 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
93041
93413
|
__proto__: null,
|
|
93042
|
-
compatibilityDate: compatibilityDate$
|
|
93414
|
+
compatibilityDate: compatibilityDate$8,
|
|
93043
93415
|
defaults: defaults$1,
|
|
93044
|
-
metadata: metadata$
|
|
93045
|
-
schema: schema$
|
|
93046
|
-
type: type$
|
|
93416
|
+
metadata: metadata$8,
|
|
93417
|
+
schema: schema$8,
|
|
93418
|
+
type: type$8
|
|
93047
93419
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
93048
|
-
const type$
|
|
93049
|
-
const compatibilityDate$
|
|
93050
|
-
const metadata$
|
|
93420
|
+
const type$7 = "com.shwfed.form.field.month";
|
|
93421
|
+
const compatibilityDate$7 = "2026-05-24";
|
|
93422
|
+
const metadata$7 = {
|
|
93051
93423
|
name: "月份",
|
|
93052
93424
|
icon: "fluent:calendar-month-20-regular",
|
|
93053
93425
|
w: { initial: 8, min: 4, max: Infinity },
|
|
@@ -93069,12 +93441,12 @@ function presetSchema$1(configure) {
|
|
|
93069
93441
|
title: "MonthFieldPreset"
|
|
93070
93442
|
});
|
|
93071
93443
|
}
|
|
93072
|
-
function schema$
|
|
93444
|
+
function schema$7(configure) {
|
|
93073
93445
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
93074
93446
|
const Preset = presetSchema$1(configure);
|
|
93075
93447
|
return Struct({
|
|
93076
|
-
type: Literal2(type$
|
|
93077
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
93448
|
+
type: Literal2(type$7),
|
|
93449
|
+
compatibilityDate: Literal2(compatibilityDate$7),
|
|
93078
93450
|
...commonFieldFields(configure),
|
|
93079
93451
|
label: optional(Locale.annotations({
|
|
93080
93452
|
title: "标签",
|
|
@@ -93121,14 +93493,14 @@ function schema$6(configure) {
|
|
|
93121
93493
|
}
|
|
93122
93494
|
const __vite_glob_0_23 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
93123
93495
|
__proto__: null,
|
|
93124
|
-
compatibilityDate: compatibilityDate$
|
|
93125
|
-
metadata: metadata$
|
|
93496
|
+
compatibilityDate: compatibilityDate$7,
|
|
93497
|
+
metadata: metadata$7,
|
|
93126
93498
|
presetSchema: presetSchema$1,
|
|
93127
|
-
schema: schema$
|
|
93128
|
-
type: type$
|
|
93499
|
+
schema: schema$7,
|
|
93500
|
+
type: type$7
|
|
93129
93501
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
93130
|
-
const type$
|
|
93131
|
-
const compatibilityDate$
|
|
93502
|
+
const type$6 = "com.shwfed.form.field.monthrange";
|
|
93503
|
+
const compatibilityDate$6 = "2026-05-24";
|
|
93132
93504
|
const BindingPath = String$.pipe(minLength(1));
|
|
93133
93505
|
const SplitBinding = Tuple(BindingPath, BindingPath).pipe(
|
|
93134
93506
|
filter(([a, b]) => a !== b, {
|
|
@@ -93139,7 +93511,7 @@ const bindingSchema = Union2(BindingPath, SplitBinding).annotations({
|
|
|
93139
93511
|
title: "绑定路径",
|
|
93140
93512
|
description: "写入表单状态的 `dot-prop` 路径;填写单个路径时写入 `[start, end]` 字符串数组,例如 `event.months`;填写 `[起始路径, 结束路径]` 元组时分别写入两端;留空则为非受控字段"
|
|
93141
93513
|
});
|
|
93142
|
-
const metadata$
|
|
93514
|
+
const metadata$6 = {
|
|
93143
93515
|
name: "月份范围",
|
|
93144
93516
|
icon: "fluent:calendar-arrow-right-20-regular",
|
|
93145
93517
|
w: { initial: 10, min: 10, max: Infinity },
|
|
@@ -93165,12 +93537,12 @@ function presetSchema(configure) {
|
|
|
93165
93537
|
title: "MonthRangeFieldPreset"
|
|
93166
93538
|
});
|
|
93167
93539
|
}
|
|
93168
|
-
function schema$
|
|
93540
|
+
function schema$6(configure) {
|
|
93169
93541
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
93170
93542
|
const Preset = presetSchema(configure);
|
|
93171
93543
|
return Struct({
|
|
93172
|
-
type: Literal2(type$
|
|
93173
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
93544
|
+
type: Literal2(type$6),
|
|
93545
|
+
compatibilityDate: Literal2(compatibilityDate$6),
|
|
93174
93546
|
...commonFieldFields(configure),
|
|
93175
93547
|
label: optional(Locale.annotations({
|
|
93176
93548
|
title: "标签",
|
|
@@ -93225,10 +93597,84 @@ function defaults() {
|
|
|
93225
93597
|
}
|
|
93226
93598
|
const __vite_glob_0_24 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
93227
93599
|
__proto__: null,
|
|
93228
|
-
compatibilityDate: compatibilityDate$
|
|
93600
|
+
compatibilityDate: compatibilityDate$6,
|
|
93229
93601
|
defaults,
|
|
93230
|
-
metadata: metadata$
|
|
93602
|
+
metadata: metadata$6,
|
|
93231
93603
|
presetSchema,
|
|
93604
|
+
schema: schema$6,
|
|
93605
|
+
type: type$6
|
|
93606
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
93607
|
+
const type$5 = "com.shwfed.form.field.combobox.multi";
|
|
93608
|
+
const compatibilityDate$5 = "2026-05-25";
|
|
93609
|
+
const metadata$5 = {
|
|
93610
|
+
name: "下拉多选",
|
|
93611
|
+
icon: "fluent:chevron-down-20-regular",
|
|
93612
|
+
w: { initial: 8, min: 4, max: Infinity },
|
|
93613
|
+
h: { initial: 2, min: 2, max: 2 }
|
|
93614
|
+
};
|
|
93615
|
+
function configureWithOption(configure) {
|
|
93616
|
+
return (env) => {
|
|
93617
|
+
configure(env);
|
|
93618
|
+
env.registerVariable("option", "dyn", { description: "当前选项" });
|
|
93619
|
+
};
|
|
93620
|
+
}
|
|
93621
|
+
const isListType$1 = (actual) => actual === "dyn" || actual.startsWith("list");
|
|
93622
|
+
function schema$5(configure) {
|
|
93623
|
+
const CelBool = Expression({ configure, resultType: "bool" });
|
|
93624
|
+
const CelOptions = Expression({ configure, resultType: isListType$1 });
|
|
93625
|
+
const CelOptionValue = Expression({ configure: configureWithOption(configure), resultType: "dyn" });
|
|
93626
|
+
const LocaleOptionLabel = LocaleMarkdown({ configure: configureWithOption(configure) });
|
|
93627
|
+
return Struct({
|
|
93628
|
+
type: Literal2(type$5),
|
|
93629
|
+
compatibilityDate: Literal2(compatibilityDate$5),
|
|
93630
|
+
...commonFieldFields(configure),
|
|
93631
|
+
label: optional(Locale.annotations({
|
|
93632
|
+
title: "标签",
|
|
93633
|
+
description: "字段前展示的文本;留空则不渲染标签"
|
|
93634
|
+
})),
|
|
93635
|
+
placeholder: optional(Locale.annotations({
|
|
93636
|
+
title: "占位符",
|
|
93637
|
+
description: "未选中任何选项时输入框中的占位文本"
|
|
93638
|
+
})),
|
|
93639
|
+
tooltip: optional(Locale.annotations({
|
|
93640
|
+
title: "提示",
|
|
93641
|
+
description: "鼠标悬停在标签上时展示的说明"
|
|
93642
|
+
})),
|
|
93643
|
+
orientation: optional(FieldOrientationSchema),
|
|
93644
|
+
binding: optional(String$.pipe(minLength(1)).annotations({
|
|
93645
|
+
title: "绑定路径",
|
|
93646
|
+
description: "写入表单状态的 `dot-prop` 路径,例如 `user.roles`;写入值为已选项 `value` 组成的数组;留空则为非受控字段"
|
|
93647
|
+
})),
|
|
93648
|
+
disabled: optional(CelBool.annotations({
|
|
93649
|
+
title: "禁用条件",
|
|
93650
|
+
description: "返回 `true` 时下拉框仍然渲染但不可选择"
|
|
93651
|
+
})),
|
|
93652
|
+
readonly: optional(CelBool.annotations({
|
|
93653
|
+
title: "只读条件",
|
|
93654
|
+
description: "返回 `true` 时仅以纯文本展示当前已选项的标签"
|
|
93655
|
+
})),
|
|
93656
|
+
derived: derivedField(configure, "dyn"),
|
|
93657
|
+
options: optionalWith(CelOptions.annotations({
|
|
93658
|
+
title: "选项",
|
|
93659
|
+
description: "返回选项数组的 CEL 表达式,可访问 `form` 当前状态;例:`[{value: 'a', label: 'A'}]`"
|
|
93660
|
+
}), { default: () => "[]" }),
|
|
93661
|
+
optionValue: optionalWith(CelOptionValue.annotations({
|
|
93662
|
+
title: "选项值",
|
|
93663
|
+
description: "从当前 `option` 提取写入绑定的值;例:`option.value`"
|
|
93664
|
+
}), { default: () => "option" }),
|
|
93665
|
+
optionLabel: optionalWith(LocaleOptionLabel.annotations({
|
|
93666
|
+
title: "选项标签",
|
|
93667
|
+
description: "每个选项展示的本地化文本,支持 `{{ string(option.foo) }}` 插值"
|
|
93668
|
+
}), { default: () => [{ locale: "zh", message: "" }] })
|
|
93669
|
+
}).annotations({
|
|
93670
|
+
title: "ComboboxMultiField",
|
|
93671
|
+
description: "下拉多选输入"
|
|
93672
|
+
});
|
|
93673
|
+
}
|
|
93674
|
+
const __vite_glob_0_25 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
93675
|
+
__proto__: null,
|
|
93676
|
+
compatibilityDate: compatibilityDate$5,
|
|
93677
|
+
metadata: metadata$5,
|
|
93232
93678
|
schema: schema$5,
|
|
93233
93679
|
type: type$5
|
|
93234
93680
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -93250,14 +93696,15 @@ const schemaModules$1 = /* @__PURE__ */ Object.assign({
|
|
|
93250
93696
|
"../fields/2026-04-29/com.shwfed.form.field.combobox.single/schema.ts": __vite_glob_0_14$1,
|
|
93251
93697
|
"../fields/2026-05-12/com.shwfed.form.field.upload/schema.ts": __vite_glob_0_15$1,
|
|
93252
93698
|
"../fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/schema.ts": __vite_glob_0_16$1,
|
|
93253
|
-
"../fields/2026-05-13/com.shwfed.form.field.list/schema.ts": __vite_glob_0_17,
|
|
93254
|
-
"../fields/2026-05-17/com.shwfed.form.field.checkbox.group/schema.ts": __vite_glob_0_18,
|
|
93255
|
-
"../fields/2026-05-17/com.shwfed.form.field.radio.group/schema.ts": __vite_glob_0_19,
|
|
93699
|
+
"../fields/2026-05-13/com.shwfed.form.field.list/schema.ts": __vite_glob_0_17$1,
|
|
93700
|
+
"../fields/2026-05-17/com.shwfed.form.field.checkbox.group/schema.ts": __vite_glob_0_18$1,
|
|
93701
|
+
"../fields/2026-05-17/com.shwfed.form.field.radio.group/schema.ts": __vite_glob_0_19$1,
|
|
93256
93702
|
"../fields/2026-05-18/com.shwfed.form.field.table/schema.ts": __vite_glob_0_20,
|
|
93257
93703
|
"../fields/2026-05-20/com.shwfed.form.field.collapsible/schema.ts": __vite_glob_0_21,
|
|
93258
93704
|
"../fields/2026-05-23/com.shwfed.form.field.tree.multi/schema.ts": __vite_glob_0_22,
|
|
93259
93705
|
"../fields/2026-05-24/com.shwfed.form.field.month/schema.ts": __vite_glob_0_23,
|
|
93260
|
-
"../fields/2026-05-24/com.shwfed.form.field.monthrange/schema.ts": __vite_glob_0_24
|
|
93706
|
+
"../fields/2026-05-24/com.shwfed.form.field.monthrange/schema.ts": __vite_glob_0_24,
|
|
93707
|
+
"../fields/2026-05-25/com.shwfed.form.field.combobox.multi/schema.ts": __vite_glob_0_25
|
|
93261
93708
|
});
|
|
93262
93709
|
const configModules$1 = /* @__PURE__ */ Object.assign({
|
|
93263
93710
|
"../fields/2026-04-22/com.shwfed.form.field.markdown/config.vue": __vite_glob_2_5,
|
|
@@ -93284,7 +93731,8 @@ const configModules$1 = /* @__PURE__ */ Object.assign({
|
|
|
93284
93731
|
"../fields/2026-05-20/com.shwfed.form.field.collapsible/config.vue": __vite_glob_2_5,
|
|
93285
93732
|
"../fields/2026-05-23/com.shwfed.form.field.tree.multi/config.vue": __vite_glob_2_5,
|
|
93286
93733
|
"../fields/2026-05-24/com.shwfed.form.field.month/config.vue": __vite_glob_2_5,
|
|
93287
|
-
"../fields/2026-05-24/com.shwfed.form.field.monthrange/config.vue": __vite_glob_2_5
|
|
93734
|
+
"../fields/2026-05-24/com.shwfed.form.field.monthrange/config.vue": __vite_glob_2_5,
|
|
93735
|
+
"../fields/2026-05-25/com.shwfed.form.field.combobox.multi/config.vue": __vite_glob_2_5
|
|
93288
93736
|
});
|
|
93289
93737
|
const runtimeModules$1 = /* @__PURE__ */ Object.assign({
|
|
93290
93738
|
"../fields/2026-04-22/com.shwfed.form.field.markdown/runtime.vue": __vite_glob_2_5,
|
|
@@ -93311,7 +93759,8 @@ const runtimeModules$1 = /* @__PURE__ */ Object.assign({
|
|
|
93311
93759
|
"../fields/2026-05-20/com.shwfed.form.field.collapsible/runtime.vue": __vite_glob_2_5,
|
|
93312
93760
|
"../fields/2026-05-23/com.shwfed.form.field.tree.multi/runtime.vue": __vite_glob_2_5,
|
|
93313
93761
|
"../fields/2026-05-24/com.shwfed.form.field.month/runtime.vue": __vite_glob_2_5,
|
|
93314
|
-
"../fields/2026-05-24/com.shwfed.form.field.monthrange/runtime.vue": __vite_glob_2_5
|
|
93762
|
+
"../fields/2026-05-24/com.shwfed.form.field.monthrange/runtime.vue": __vite_glob_2_5,
|
|
93763
|
+
"../fields/2026-05-25/com.shwfed.form.field.combobox.multi/runtime.vue": __vite_glob_2_5
|
|
93315
93764
|
});
|
|
93316
93765
|
const sourceKey = (type2, compatibilityDate2) => `${type2}@${compatibilityDate2}`;
|
|
93317
93766
|
const registry$1 = defineRegistry({
|