@shwfed/config 2.10.11 → 2.10.12
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 +1043 -880
- package/dist/module.json +1 -1
- package/dist/preview/assets/{FieldGroup.vue_vue_type_script_setup_true_lang-DSupaUBQ.js → FieldGroup.vue_vue_type_script_setup_true_lang-BeqytPDr.js} +1 -1
- package/dist/preview/assets/{badge-BpMIBZb2.js → badge-DkHwLDps.js} +1 -1
- package/dist/preview/assets/{config-CY9L8__h.js → config-7KeAl8UU.js} +1 -1
- package/dist/preview/assets/{config-Bx4-IdW5.js → config-CVPVYMuh.js} +1 -1
- package/dist/preview/assets/{config-Bz643_RE.js → config-CZ1e9utV.js} +1 -1
- package/dist/preview/assets/{config-DrkDnICQ.js → config-Cedm-E2H.js} +1 -1
- package/dist/preview/assets/{config-CM4nX_7y.js → config-Cft-srKd.js} +1 -1
- package/dist/preview/assets/{config-v7UFMF25.js → config-Cy6Eix27.js} +1 -1
- package/dist/preview/assets/{config-Cc1ThF9T.js → config-DAZ2Uj6B.js} +1 -1
- package/dist/preview/assets/{config-DbtYnaaf.js → config-DCANpbtq.js} +1 -1
- package/dist/preview/assets/{config-CujkaO8S.js → config-DJQ2LOWo.js} +1 -1
- package/dist/preview/assets/{config-C7nJ8jl6.js → config-DQVKd54J.js} +1 -1
- package/dist/preview/assets/{config-agH4hNej.js → config-DbV3RlZz.js} +1 -1
- package/dist/preview/assets/{config-c2iiXckz.js → config-Dx1SXsSf.js} +1 -1
- package/dist/preview/assets/{config-CNJS9Ncm.js → config-OPQWANCx.js} +1 -1
- package/dist/preview/assets/{config-BCCT-UCw.js → config-Uw4cvZGX.js} +1 -1
- package/dist/preview/assets/{definition.vue_vue_type_script_setup_true_lang-B1dZHF9Z.js → definition.vue_vue_type_script_setup_true_lang-D4Gh9PzS.js} +1 -1
- package/dist/preview/assets/{index-DdySlgoq.js → index-B3HnlKis.js} +193 -193
- package/dist/preview/assets/index-BAY6NLoo.css +1 -0
- package/dist/preview/assets/{index-B10aTz32.js → index-Cum0oK9u.js} +1 -1
- package/dist/preview/assets/index-CxUuhfsO.js +1 -0
- package/dist/preview/assets/{item-DxWeqOxe.js → item-H4QeOpnC.js} +1 -1
- package/dist/preview/assets/{runtime-BcWQ55Ub.js → runtime-BotFX6qJ.js} +1 -1
- package/dist/preview/assets/{runtime-C6oMTKIZ.js → runtime-C3532B0Y.js} +1 -1
- package/dist/preview/assets/{runtime-rpKOBs2Q.js → runtime-CNMjRr9Y.js} +1 -1
- package/dist/preview/assets/{runtime-CeItNJdF.js → runtime-CTnwTJlw.js} +1 -1
- package/dist/preview/assets/{runtime-P58D1JCj.js → runtime-CwgX0PuH.js} +1 -1
- package/dist/preview/assets/{runtime-DwgCzoDf.js → runtime-D5HcLLLR.js} +1 -1
- package/dist/preview/assets/{runtime-3VPnK4Ve.js → runtime-DvCHNIPq.js} +1 -1
- package/dist/preview/assets/{runtime-D6jswLOt.js → runtime-cKOD2A6u.js} +1 -1
- package/dist/preview/assets/{runtime-BO_Ak4ly.js → runtime-ibuFFD1K.js} +1 -1
- package/dist/preview/assets/{runtime-DQK6Vajf.js → runtime-sPGVp7yA.js} +1 -1
- package/dist/preview/assets/{schema-meta-BtDKldOy.js → schema-meta-DtZNwp3h.js} +1 -1
- package/dist/preview/index.html +2 -2
- package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/config.d.vue.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/config.vue.d.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/config.d.vue.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/config.vue.d.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/config.d.vue.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/config.vue.d.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/config.d.vue.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/config.vue.d.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/config.d.vue.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/config.vue.d.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/config.d.vue.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/config.vue.d.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/config.d.vue.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/config.vue.d.ts +22 -22
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.number-input/config.vue +83 -3
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.number-input/runtime.vue +28 -0
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.number-input/schema.d.ts +132 -0
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.number-input/schema.js +19 -2
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.text-input/config.vue +82 -2
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.text-input/runtime.vue +28 -0
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.text-input/schema.d.ts +132 -0
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.text-input/schema.js +19 -2
- package/dist/runtime/components/table/columns/2026-06-17/com.shwfed.table.column.date-input/runtime.vue +8 -0
- package/dist/runtime/components/table/columns/2026-06-22/com.shwfed.table.column.date-range-input/config.d.vue.ts +10 -0
- package/dist/runtime/components/table/columns/2026-06-22/com.shwfed.table.column.date-range-input/config.vue +717 -0
- package/dist/runtime/components/table/columns/2026-06-22/com.shwfed.table.column.date-range-input/config.vue.d.ts +10 -0
- package/dist/runtime/components/table/columns/2026-06-22/com.shwfed.table.column.date-range-input/runtime.d.vue.ts +9 -0
- package/dist/runtime/components/table/columns/2026-06-22/com.shwfed.table.column.date-range-input/runtime.vue +152 -0
- package/dist/runtime/components/table/columns/2026-06-22/com.shwfed.table.column.date-range-input/runtime.vue.d.ts +9 -0
- package/dist/runtime/components/table/columns/2026-06-22/com.shwfed.table.column.date-range-input/schema.d.ts +87 -0
- package/dist/runtime/components/table/columns/2026-06-22/com.shwfed.table.column.date-range-input/schema.js +122 -0
- package/dist/runtime/components/ui/date-picker/DatePicker.d.vue.ts +1 -0
- package/dist/runtime/components/ui/date-picker/DatePicker.vue +3 -0
- package/dist/runtime/components/ui/date-picker/DatePicker.vue.d.ts +1 -0
- package/dist/runtime/components/ui/date-range-picker/DateRangePicker.d.vue.ts +1 -0
- package/dist/runtime/components/ui/date-range-picker/DateRangePicker.vue +2 -0
- package/dist/runtime/components/ui/date-range-picker/DateRangePicker.vue.d.ts +1 -0
- package/package.json +1 -1
- package/dist/preview/assets/index-Cc4BT5dc.css +0 -1
- package/dist/preview/assets/index-j5Pri4vN.js +0 -1
package/dist/mcp.mjs
CHANGED
|
@@ -14094,13 +14094,13 @@ function requireDataType() {
|
|
|
14094
14094
|
}
|
|
14095
14095
|
return dataType;
|
|
14096
14096
|
}
|
|
14097
|
-
var defaults$
|
|
14097
|
+
var defaults$H = {};
|
|
14098
14098
|
var hasRequiredDefaults;
|
|
14099
14099
|
function requireDefaults() {
|
|
14100
|
-
if (hasRequiredDefaults) return defaults$
|
|
14100
|
+
if (hasRequiredDefaults) return defaults$H;
|
|
14101
14101
|
hasRequiredDefaults = 1;
|
|
14102
|
-
Object.defineProperty(defaults$
|
|
14103
|
-
defaults$
|
|
14102
|
+
Object.defineProperty(defaults$H, "__esModule", { value: true });
|
|
14103
|
+
defaults$H.assignDefaults = void 0;
|
|
14104
14104
|
const codegen_1 = /* @__PURE__ */ requireCodegen();
|
|
14105
14105
|
const util_1 = /* @__PURE__ */ requireUtil$1();
|
|
14106
14106
|
function assignDefaults(it, ty) {
|
|
@@ -14113,7 +14113,7 @@ function requireDefaults() {
|
|
|
14113
14113
|
items2.forEach((sch, i) => assignDefault(it, i, sch.default));
|
|
14114
14114
|
}
|
|
14115
14115
|
}
|
|
14116
|
-
defaults$
|
|
14116
|
+
defaults$H.assignDefaults = assignDefaults;
|
|
14117
14117
|
function assignDefault(it, prop, defaultValue) {
|
|
14118
14118
|
const { gen: gen2, compositeRule, data, opts } = it;
|
|
14119
14119
|
if (defaultValue === void 0)
|
|
@@ -14129,7 +14129,7 @@ function requireDefaults() {
|
|
|
14129
14129
|
}
|
|
14130
14130
|
gen2.if(condition, (0, codegen_1._)`${childData} = ${(0, codegen_1.stringify)(defaultValue)}`);
|
|
14131
14131
|
}
|
|
14132
|
-
return defaults$
|
|
14132
|
+
return defaults$H;
|
|
14133
14133
|
}
|
|
14134
14134
|
var keyword = {};
|
|
14135
14135
|
var code$1 = {};
|
|
@@ -15509,14 +15509,14 @@ function requireCompile() {
|
|
|
15509
15509
|
}
|
|
15510
15510
|
const $id$1 = "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#";
|
|
15511
15511
|
const description = "Meta-schema for $data reference (JSON AnySchema extension proposal)";
|
|
15512
|
-
const type$
|
|
15512
|
+
const type$1y = "object";
|
|
15513
15513
|
const required$1 = ["$data"];
|
|
15514
15514
|
const properties$2 = { "$data": { "type": "string", "anyOf": [{ "format": "relative-json-pointer" }, { "format": "json-pointer" }] } };
|
|
15515
15515
|
const additionalProperties$1 = false;
|
|
15516
15516
|
const require$$9 = {
|
|
15517
15517
|
$id: $id$1,
|
|
15518
15518
|
description,
|
|
15519
|
-
type: type$
|
|
15519
|
+
type: type$1y,
|
|
15520
15520
|
required: required$1,
|
|
15521
15521
|
properties: properties$2,
|
|
15522
15522
|
additionalProperties: additionalProperties$1
|
|
@@ -18516,14 +18516,14 @@ function requireFormat() {
|
|
|
18516
18516
|
format$7.default = format2;
|
|
18517
18517
|
return format$7;
|
|
18518
18518
|
}
|
|
18519
|
-
var metadata$
|
|
18519
|
+
var metadata$1u = {};
|
|
18520
18520
|
var hasRequiredMetadata;
|
|
18521
18521
|
function requireMetadata() {
|
|
18522
|
-
if (hasRequiredMetadata) return metadata$
|
|
18522
|
+
if (hasRequiredMetadata) return metadata$1u;
|
|
18523
18523
|
hasRequiredMetadata = 1;
|
|
18524
|
-
Object.defineProperty(metadata$
|
|
18525
|
-
metadata$
|
|
18526
|
-
metadata$
|
|
18524
|
+
Object.defineProperty(metadata$1u, "__esModule", { value: true });
|
|
18525
|
+
metadata$1u.contentVocabulary = metadata$1u.metadataVocabulary = void 0;
|
|
18526
|
+
metadata$1u.metadataVocabulary = [
|
|
18527
18527
|
"title",
|
|
18528
18528
|
"description",
|
|
18529
18529
|
"default",
|
|
@@ -18532,12 +18532,12 @@ function requireMetadata() {
|
|
|
18532
18532
|
"writeOnly",
|
|
18533
18533
|
"examples"
|
|
18534
18534
|
];
|
|
18535
|
-
metadata$
|
|
18535
|
+
metadata$1u.contentVocabulary = [
|
|
18536
18536
|
"contentMediaType",
|
|
18537
18537
|
"contentEncoding",
|
|
18538
18538
|
"contentSchema"
|
|
18539
18539
|
];
|
|
18540
|
-
return metadata$
|
|
18540
|
+
return metadata$1u;
|
|
18541
18541
|
}
|
|
18542
18542
|
var hasRequiredDraft7;
|
|
18543
18543
|
function requireDraft7() {
|
|
@@ -18683,14 +18683,14 @@ const $schema = "http://json-schema.org/draft-07/schema#";
|
|
|
18683
18683
|
const $id = "http://json-schema.org/draft-07/schema#";
|
|
18684
18684
|
const title = "Core schema meta-schema";
|
|
18685
18685
|
const definitions = { "schemaArray": { "type": "array", "minItems": 1, "items": { "$ref": "#" } }, "nonNegativeInteger": { "type": "integer", "minimum": 0 }, "nonNegativeIntegerDefault0": { "allOf": [{ "$ref": "#/definitions/nonNegativeInteger" }, { "default": 0 }] }, "simpleTypes": { "enum": ["array", "boolean", "integer", "null", "number", "object", "string"] }, "stringArray": { "type": "array", "items": { "type": "string" }, "uniqueItems": true, "default": [] } };
|
|
18686
|
-
const type$
|
|
18686
|
+
const type$1x = ["object", "boolean"];
|
|
18687
18687
|
const properties = { "$id": { "type": "string", "format": "uri-reference" }, "$schema": { "type": "string", "format": "uri" }, "$ref": { "type": "string", "format": "uri-reference" }, "$comment": { "type": "string" }, "title": { "type": "string" }, "description": { "type": "string" }, "default": true, "readOnly": { "type": "boolean", "default": false }, "examples": { "type": "array", "items": true }, "multipleOf": { "type": "number", "exclusiveMinimum": 0 }, "maximum": { "type": "number" }, "exclusiveMaximum": { "type": "number" }, "minimum": { "type": "number" }, "exclusiveMinimum": { "type": "number" }, "maxLength": { "$ref": "#/definitions/nonNegativeInteger" }, "minLength": { "$ref": "#/definitions/nonNegativeIntegerDefault0" }, "pattern": { "type": "string", "format": "regex" }, "additionalItems": { "$ref": "#" }, "items": { "anyOf": [{ "$ref": "#" }, { "$ref": "#/definitions/schemaArray" }], "default": true }, "maxItems": { "$ref": "#/definitions/nonNegativeInteger" }, "minItems": { "$ref": "#/definitions/nonNegativeIntegerDefault0" }, "uniqueItems": { "type": "boolean", "default": false }, "contains": { "$ref": "#" }, "maxProperties": { "$ref": "#/definitions/nonNegativeInteger" }, "minProperties": { "$ref": "#/definitions/nonNegativeIntegerDefault0" }, "required": { "$ref": "#/definitions/stringArray" }, "additionalProperties": { "$ref": "#" }, "definitions": { "type": "object", "additionalProperties": { "$ref": "#" }, "default": {} }, "properties": { "type": "object", "additionalProperties": { "$ref": "#" }, "default": {} }, "patternProperties": { "type": "object", "additionalProperties": { "$ref": "#" }, "propertyNames": { "format": "regex" }, "default": {} }, "dependencies": { "type": "object", "additionalProperties": { "anyOf": [{ "$ref": "#" }, { "$ref": "#/definitions/stringArray" }] } }, "propertyNames": { "$ref": "#" }, "const": true, "enum": { "type": "array", "items": true, "minItems": 1, "uniqueItems": true }, "type": { "anyOf": [{ "$ref": "#/definitions/simpleTypes" }, { "type": "array", "items": { "$ref": "#/definitions/simpleTypes" }, "minItems": 1, "uniqueItems": true }] }, "format": { "type": "string" }, "contentMediaType": { "type": "string" }, "contentEncoding": { "type": "string" }, "if": { "$ref": "#" }, "then": { "$ref": "#" }, "else": { "$ref": "#" }, "allOf": { "$ref": "#/definitions/schemaArray" }, "anyOf": { "$ref": "#/definitions/schemaArray" }, "oneOf": { "$ref": "#/definitions/schemaArray" }, "not": { "$ref": "#" } };
|
|
18688
18688
|
const require$$3 = {
|
|
18689
18689
|
$schema,
|
|
18690
18690
|
$id,
|
|
18691
18691
|
title,
|
|
18692
18692
|
definitions,
|
|
18693
|
-
type: type$
|
|
18693
|
+
type: type$1x,
|
|
18694
18694
|
properties,
|
|
18695
18695
|
"default": true
|
|
18696
18696
|
};
|
|
@@ -81676,13 +81676,13 @@ function md$1(...args2) {
|
|
|
81676
81676
|
const indent = (original.startsWith("\n") ? original.slice(1) : original).split("\n", 1)[0]?.match(/^(\s*)/)?.[1]?.length ?? 0;
|
|
81677
81677
|
return original.trim().replaceAll("\\`", "`").split("\n").map((line) => line.replace(new RegExp(`^${String.raw`\s`.repeat(indent)}`), "")).join("\n");
|
|
81678
81678
|
}
|
|
81679
|
-
const type$
|
|
81680
|
-
const compatibilityDate$
|
|
81681
|
-
const metadata$
|
|
81679
|
+
const type$1w = "com.shwfed.actions.button.http.request.json.confirm";
|
|
81680
|
+
const compatibilityDate$1w = "2026-04-18";
|
|
81681
|
+
const metadata$1t = {
|
|
81682
81682
|
name: "网络请求(JSON + 确认)",
|
|
81683
81683
|
icon: "fluent:shield-checkmark-20-regular"
|
|
81684
81684
|
};
|
|
81685
|
-
function schema$
|
|
81685
|
+
function schema$1t(configure) {
|
|
81686
81686
|
const CelHttpRequest = Expression({ configure, resultType: "HttpRequest" });
|
|
81687
81687
|
const CelMessage = Expression({
|
|
81688
81688
|
configure: (env) => {
|
|
@@ -81694,8 +81694,8 @@ function schema$1s(configure) {
|
|
|
81694
81694
|
resultType: "string"
|
|
81695
81695
|
});
|
|
81696
81696
|
return Struct({
|
|
81697
|
-
type: Literal2(type$
|
|
81698
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
81697
|
+
type: Literal2(type$1w),
|
|
81698
|
+
compatibilityDate: Literal2(compatibilityDate$1w),
|
|
81699
81699
|
expression: CelHttpRequest.annotations({
|
|
81700
81700
|
title: "请求",
|
|
81701
81701
|
description: md$1`
|
|
@@ -81761,21 +81761,21 @@ function schema$1s(configure) {
|
|
|
81761
81761
|
}
|
|
81762
81762
|
const __vite_glob_0_0$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
81763
81763
|
__proto__: null,
|
|
81764
|
-
compatibilityDate: compatibilityDate$
|
|
81765
|
-
metadata: metadata$
|
|
81766
|
-
schema: schema$
|
|
81767
|
-
type: type$
|
|
81764
|
+
compatibilityDate: compatibilityDate$1w,
|
|
81765
|
+
metadata: metadata$1t,
|
|
81766
|
+
schema: schema$1t,
|
|
81767
|
+
type: type$1w
|
|
81768
81768
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
81769
81769
|
const PAGE_TARGET_ID = "00000000-0000-0000-0000-000000000000";
|
|
81770
|
-
const type$
|
|
81771
|
-
const compatibilityDate$
|
|
81772
|
-
const type$
|
|
81773
|
-
const compatibilityDate$
|
|
81774
|
-
const metadata$
|
|
81770
|
+
const type$1v = "com.shwfed.operation.alert";
|
|
81771
|
+
const compatibilityDate$1v = "2026-06-09";
|
|
81772
|
+
const type$1u = "com.shwfed.actions.button.http.request.json";
|
|
81773
|
+
const compatibilityDate$1u = "2026-04-18";
|
|
81774
|
+
const metadata$1s = {
|
|
81775
81775
|
name: "请求",
|
|
81776
81776
|
icon: "fluent:cloud-arrow-up-20-regular"
|
|
81777
81777
|
};
|
|
81778
|
-
function schema$
|
|
81778
|
+
function schema$1s(configure) {
|
|
81779
81779
|
const CelHttpRequest = Expression({ configure, resultType: "HttpRequest" });
|
|
81780
81780
|
const CelMessage = Expression({
|
|
81781
81781
|
configure: (env) => {
|
|
@@ -81787,8 +81787,8 @@ function schema$1r(configure) {
|
|
|
81787
81787
|
resultType: "string"
|
|
81788
81788
|
});
|
|
81789
81789
|
return Struct({
|
|
81790
|
-
type: Literal2(type$
|
|
81791
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
81790
|
+
type: Literal2(type$1u),
|
|
81791
|
+
compatibilityDate: Literal2(compatibilityDate$1u),
|
|
81792
81792
|
expression: CelHttpRequest.annotations({
|
|
81793
81793
|
title: "请求",
|
|
81794
81794
|
description: md$1`
|
|
@@ -81841,7 +81841,7 @@ function schema$1r(configure) {
|
|
|
81841
81841
|
});
|
|
81842
81842
|
}
|
|
81843
81843
|
const migrateFrom$m = [
|
|
81844
|
-
{ type: "com.shwfed.actions.button.http.request.json.confirm", compatibilityDate: compatibilityDate$
|
|
81844
|
+
{ type: "com.shwfed.actions.button.http.request.json.confirm", compatibilityDate: compatibilityDate$1u }
|
|
81845
81845
|
];
|
|
81846
81846
|
const migrate$o = (prev) => try_({
|
|
81847
81847
|
try: () => {
|
|
@@ -81856,15 +81856,15 @@ const migrate$o = (prev) => try_({
|
|
|
81856
81856
|
if (color !== void 0) params.color = color;
|
|
81857
81857
|
const alertTrigger = {
|
|
81858
81858
|
target: PAGE_TARGET_ID,
|
|
81859
|
-
operation: type$
|
|
81860
|
-
compatibilityDate: compatibilityDate$
|
|
81859
|
+
operation: type$1v,
|
|
81860
|
+
compatibilityDate: compatibilityDate$1v,
|
|
81861
81861
|
params
|
|
81862
81862
|
};
|
|
81863
81863
|
const prevBefore = Array.isArray(before) ? before : [];
|
|
81864
81864
|
return {
|
|
81865
81865
|
...rest,
|
|
81866
|
-
type: type$
|
|
81867
|
-
compatibilityDate: compatibilityDate$
|
|
81866
|
+
type: type$1u,
|
|
81867
|
+
compatibilityDate: compatibilityDate$1u,
|
|
81868
81868
|
before: [...prevBefore, alertTrigger]
|
|
81869
81869
|
};
|
|
81870
81870
|
},
|
|
@@ -81872,23 +81872,23 @@ const migrate$o = (prev) => try_({
|
|
|
81872
81872
|
});
|
|
81873
81873
|
const __vite_glob_0_1$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
81874
81874
|
__proto__: null,
|
|
81875
|
-
compatibilityDate: compatibilityDate$
|
|
81876
|
-
metadata: metadata$
|
|
81875
|
+
compatibilityDate: compatibilityDate$1u,
|
|
81876
|
+
metadata: metadata$1s,
|
|
81877
81877
|
migrate: migrate$o,
|
|
81878
81878
|
migrateFrom: migrateFrom$m,
|
|
81879
|
-
schema: schema$
|
|
81880
|
-
type: type$
|
|
81879
|
+
schema: schema$1s,
|
|
81880
|
+
type: type$1u
|
|
81881
81881
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
81882
|
-
const type$
|
|
81883
|
-
const compatibilityDate$
|
|
81884
|
-
const metadata$
|
|
81882
|
+
const type$1t = "com.shwfed.actions.button.prototype";
|
|
81883
|
+
const compatibilityDate$1t = "2026-04-18";
|
|
81884
|
+
const metadata$1r = {
|
|
81885
81885
|
name: "原型",
|
|
81886
81886
|
icon: "fluent:predictions-20-regular"
|
|
81887
81887
|
};
|
|
81888
|
-
function schema$
|
|
81888
|
+
function schema$1r(_configure) {
|
|
81889
81889
|
return Struct({
|
|
81890
|
-
type: Literal2(type$
|
|
81891
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
81890
|
+
type: Literal2(type$1t),
|
|
81891
|
+
compatibilityDate: Literal2(compatibilityDate$1t)
|
|
81892
81892
|
}).annotations({
|
|
81893
81893
|
title: "PrototypeAction",
|
|
81894
81894
|
description: "点击无副作用的原型按钮,可被一次性转换为其它类型"
|
|
@@ -81896,23 +81896,23 @@ function schema$1q(_configure) {
|
|
|
81896
81896
|
}
|
|
81897
81897
|
const __vite_glob_0_2$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
81898
81898
|
__proto__: null,
|
|
81899
|
-
compatibilityDate: compatibilityDate$
|
|
81900
|
-
metadata: metadata$
|
|
81901
|
-
schema: schema$
|
|
81902
|
-
type: type$
|
|
81899
|
+
compatibilityDate: compatibilityDate$1t,
|
|
81900
|
+
metadata: metadata$1r,
|
|
81901
|
+
schema: schema$1r,
|
|
81902
|
+
type: type$1t
|
|
81903
81903
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
81904
|
-
const type$
|
|
81905
|
-
const compatibilityDate$
|
|
81906
|
-
const metadata$
|
|
81904
|
+
const type$1s = "com.shwfed.actions.button.navigation";
|
|
81905
|
+
const compatibilityDate$1s = "2026-04-21";
|
|
81906
|
+
const metadata$1q = {
|
|
81907
81907
|
name: "导航",
|
|
81908
81908
|
icon: "fluent:link-20-regular"
|
|
81909
81909
|
};
|
|
81910
81910
|
const Mode = Literal2("_self", "_blank");
|
|
81911
|
-
function schema$
|
|
81911
|
+
function schema$1q(configure) {
|
|
81912
81912
|
const CelUrl = Expression({ configure, resultType: "string" });
|
|
81913
81913
|
return Struct({
|
|
81914
|
-
type: Literal2(type$
|
|
81915
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
81914
|
+
type: Literal2(type$1s),
|
|
81915
|
+
compatibilityDate: Literal2(compatibilityDate$1s),
|
|
81916
81916
|
url: CelUrl.annotations({
|
|
81917
81917
|
title: "链接",
|
|
81918
81918
|
description: "点击后将打开的链接,返回 `string`"
|
|
@@ -81928,10 +81928,10 @@ function schema$1p(configure) {
|
|
|
81928
81928
|
}
|
|
81929
81929
|
const __vite_glob_0_3$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
81930
81930
|
__proto__: null,
|
|
81931
|
-
compatibilityDate: compatibilityDate$
|
|
81932
|
-
metadata: metadata$
|
|
81933
|
-
schema: schema$
|
|
81934
|
-
type: type$
|
|
81931
|
+
compatibilityDate: compatibilityDate$1s,
|
|
81932
|
+
metadata: metadata$1q,
|
|
81933
|
+
schema: schema$1q,
|
|
81934
|
+
type: type$1s
|
|
81935
81935
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
81936
81936
|
const TrackCount = Number$.pipe(int(), positive());
|
|
81937
81937
|
const GridCoord = Number$.pipe(int(), positive());
|
|
@@ -82067,9 +82067,9 @@ function registerBlockRef(configure, ref2) {
|
|
|
82067
82067
|
function lookupBlockRef(configure) {
|
|
82068
82068
|
return blockRefCache.get(configure);
|
|
82069
82069
|
}
|
|
82070
|
-
const type$
|
|
82071
|
-
const compatibilityDate$
|
|
82072
|
-
const metadata$
|
|
82070
|
+
const type$1r = "com.shwfed.actions.button.modal.layout";
|
|
82071
|
+
const compatibilityDate$1r = "2026-05-11";
|
|
82072
|
+
const metadata$1p = {
|
|
82073
82073
|
name: "模态窗口",
|
|
82074
82074
|
icon: "fluent:window-edit-20-regular",
|
|
82075
82075
|
drillable: true,
|
|
@@ -82080,12 +82080,12 @@ const metadata$1o = {
|
|
|
82080
82080
|
const CssLength = String$.pipe(
|
|
82081
82081
|
filter((s) => s.trim().length > 0 || "不能为空字符串")
|
|
82082
82082
|
);
|
|
82083
|
-
function schema$
|
|
82083
|
+
function schema$1p(configure) {
|
|
82084
82084
|
const blockUnion = lookupBlockRef(configure) ?? Unknown;
|
|
82085
82085
|
const ModalSlot = Slot(blockUnion, configure);
|
|
82086
82086
|
return Struct({
|
|
82087
|
-
type: Literal2(type$
|
|
82088
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
82087
|
+
type: Literal2(type$1r),
|
|
82088
|
+
compatibilityDate: Literal2(compatibilityDate$1r),
|
|
82089
82089
|
modalTitle: optional(Locale.annotations({
|
|
82090
82090
|
title: "弹窗标题",
|
|
82091
82091
|
description: "弹窗顶部展示的本地化标题,支持行内 Markdown;不填则回退使用按钮自身的名称"
|
|
@@ -82114,27 +82114,27 @@ function defaultBody$a() {
|
|
|
82114
82114
|
}
|
|
82115
82115
|
const __vite_glob_0_4$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
82116
82116
|
__proto__: null,
|
|
82117
|
-
compatibilityDate: compatibilityDate$
|
|
82117
|
+
compatibilityDate: compatibilityDate$1r,
|
|
82118
82118
|
defaultBody: defaultBody$a,
|
|
82119
|
-
metadata: metadata$
|
|
82120
|
-
schema: schema$
|
|
82121
|
-
type: type$
|
|
82119
|
+
metadata: metadata$1p,
|
|
82120
|
+
schema: schema$1p,
|
|
82121
|
+
type: type$1r
|
|
82122
82122
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
82123
82123
|
const SELECTIONS_VAR = "selections";
|
|
82124
|
-
const type$
|
|
82125
|
-
const compatibilityDate$
|
|
82126
|
-
const type$
|
|
82127
|
-
const compatibilityDate$
|
|
82128
|
-
const type$
|
|
82129
|
-
const compatibilityDate$
|
|
82130
|
-
const metadata$
|
|
82124
|
+
const type$1q = "com.shwfed.operation.http.request.json";
|
|
82125
|
+
const compatibilityDate$1q = "2026-06-11";
|
|
82126
|
+
const type$1p = "com.shwfed.operation.navigation";
|
|
82127
|
+
const compatibilityDate$1p = "2026-06-15";
|
|
82128
|
+
const type$1o = "com.shwfed.actions.button.event.dispatch";
|
|
82129
|
+
const compatibilityDate$1o = "2026-05-15";
|
|
82130
|
+
const metadata$1o = {
|
|
82131
82131
|
name: "触发事件",
|
|
82132
82132
|
icon: "fluent:flash-20-regular"
|
|
82133
82133
|
};
|
|
82134
|
-
function schema$
|
|
82134
|
+
function schema$1o(_configure) {
|
|
82135
82135
|
return Struct({
|
|
82136
|
-
type: Literal2(type$
|
|
82137
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
82136
|
+
type: Literal2(type$1o),
|
|
82137
|
+
compatibilityDate: Literal2(compatibilityDate$1o),
|
|
82138
82138
|
// This button's entire behaviour: the op-requests it bubbles up the
|
|
82139
82139
|
// component tree on click. Stored on the button itself — there is no
|
|
82140
82140
|
// host-level trigger field any more.
|
|
@@ -82183,24 +82183,24 @@ function migrateRequest(prev) {
|
|
|
82183
82183
|
if (typeof resultExpression === "string" && resultExpression.length > 0) {
|
|
82184
82184
|
params.resultExpression = resultExpression;
|
|
82185
82185
|
}
|
|
82186
|
-
const requestRow = pageOpRow(type$
|
|
82186
|
+
const requestRow = pageOpRow(type$1q, compatibilityDate$1q, params);
|
|
82187
82187
|
const beforeRows = Array.isArray(before) ? before : [];
|
|
82188
82188
|
const successRows = Array.isArray(onSuccess) ? onSuccess : [];
|
|
82189
82189
|
return {
|
|
82190
82190
|
...rest,
|
|
82191
|
-
type: type$
|
|
82192
|
-
compatibilityDate: compatibilityDate$
|
|
82191
|
+
type: type$1o,
|
|
82192
|
+
compatibilityDate: compatibilityDate$1o,
|
|
82193
82193
|
triggers: [...beforeRows, requestRow, ...successRows]
|
|
82194
82194
|
};
|
|
82195
82195
|
}
|
|
82196
82196
|
function migrateNavigation(prev) {
|
|
82197
82197
|
const { type: _t, compatibilityDate: _c, url, mode, ...rest } = prev;
|
|
82198
82198
|
const params = { url, mode };
|
|
82199
|
-
const row = pageOpRow(type$
|
|
82199
|
+
const row = pageOpRow(type$1p, compatibilityDate$1p, params);
|
|
82200
82200
|
return {
|
|
82201
82201
|
...rest,
|
|
82202
|
-
type: type$
|
|
82203
|
-
compatibilityDate: compatibilityDate$
|
|
82202
|
+
type: type$1o,
|
|
82203
|
+
compatibilityDate: compatibilityDate$1o,
|
|
82204
82204
|
triggers: [row]
|
|
82205
82205
|
};
|
|
82206
82206
|
}
|
|
@@ -82223,16 +82223,16 @@ const migrate$n = (prev) => try_({
|
|
|
82223
82223
|
});
|
|
82224
82224
|
const __vite_glob_0_5$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
82225
82225
|
__proto__: null,
|
|
82226
|
-
compatibilityDate: compatibilityDate$
|
|
82227
|
-
metadata: metadata$
|
|
82226
|
+
compatibilityDate: compatibilityDate$1o,
|
|
82227
|
+
metadata: metadata$1o,
|
|
82228
82228
|
migrate: migrate$n,
|
|
82229
82229
|
migrateFrom: migrateFrom$l,
|
|
82230
|
-
schema: schema$
|
|
82231
|
-
type: type$
|
|
82230
|
+
schema: schema$1o,
|
|
82231
|
+
type: type$1o
|
|
82232
82232
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
82233
|
-
const type$
|
|
82234
|
-
const compatibilityDate$
|
|
82235
|
-
const metadata$
|
|
82233
|
+
const type$1n = "com.shwfed.actions.button.http.download";
|
|
82234
|
+
const compatibilityDate$1n = "2026-05-21";
|
|
82235
|
+
const metadata$1n = {
|
|
82236
82236
|
name: "下载文件",
|
|
82237
82237
|
icon: "fluent:arrow-download-20-regular",
|
|
82238
82238
|
// No structured migrate target — designers rebuild downloads by hand. Use a
|
|
@@ -82251,13 +82251,13 @@ function configureWithJson$6(configure) {
|
|
|
82251
82251
|
env.registerVariable("json", JSON_VAR$6.type, { description: JSON_VAR$6.description });
|
|
82252
82252
|
};
|
|
82253
82253
|
}
|
|
82254
|
-
function schema$
|
|
82254
|
+
function schema$1n(configure) {
|
|
82255
82255
|
const CelHttpRequest = Expression({ configure, resultType: "HttpRequest" });
|
|
82256
82256
|
const CelDownloadRequest = Expression({ configure: configureWithJson$6(configure), resultType: "HttpRequest" });
|
|
82257
82257
|
const CelMessage = Expression({ configure: configureWithJson$6(configure), resultType: "string" });
|
|
82258
82258
|
return Struct({
|
|
82259
|
-
type: Literal2(type$
|
|
82260
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
82259
|
+
type: Literal2(type$1n),
|
|
82260
|
+
compatibilityDate: Literal2(compatibilityDate$1n),
|
|
82261
82261
|
template: Struct({
|
|
82262
82262
|
request: CelHttpRequest.annotations({
|
|
82263
82263
|
title: "请求",
|
|
@@ -82320,25 +82320,25 @@ function schema$1m(configure) {
|
|
|
82320
82320
|
const __vite_glob_0_6$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
82321
82321
|
__proto__: null,
|
|
82322
82322
|
JSON_VAR: JSON_VAR$6,
|
|
82323
|
-
compatibilityDate: compatibilityDate$
|
|
82324
|
-
metadata: metadata$
|
|
82325
|
-
schema: schema$
|
|
82326
|
-
type: type$
|
|
82323
|
+
compatibilityDate: compatibilityDate$1n,
|
|
82324
|
+
metadata: metadata$1n,
|
|
82325
|
+
schema: schema$1n,
|
|
82326
|
+
type: type$1n
|
|
82327
82327
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
82328
|
-
const type$
|
|
82329
|
-
const compatibilityDate$
|
|
82330
|
-
const metadata$
|
|
82328
|
+
const type$1m = "com.shwfed.actions.button.state.write";
|
|
82329
|
+
const compatibilityDate$1m = "2026-05-24";
|
|
82330
|
+
const metadata$1m = {
|
|
82331
82331
|
name: "写入表单状态",
|
|
82332
82332
|
icon: "fluent:document-edit-20-regular"
|
|
82333
82333
|
};
|
|
82334
|
-
function schema$
|
|
82334
|
+
function schema$1m(configure) {
|
|
82335
82335
|
const CelRecord = Expression({
|
|
82336
82336
|
configure,
|
|
82337
82337
|
resultType: (t) => t === "dyn" || t.startsWith("map")
|
|
82338
82338
|
});
|
|
82339
82339
|
return Struct({
|
|
82340
|
-
type: Literal2(type$
|
|
82341
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
82340
|
+
type: Literal2(type$1m),
|
|
82341
|
+
compatibilityDate: Literal2(compatibilityDate$1m),
|
|
82342
82342
|
expression: CelRecord.annotations({
|
|
82343
82343
|
title: "写入值",
|
|
82344
82344
|
description: md$1`
|
|
@@ -82358,19 +82358,19 @@ function schema$1l(configure) {
|
|
|
82358
82358
|
}
|
|
82359
82359
|
const __vite_glob_0_7$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
82360
82360
|
__proto__: null,
|
|
82361
|
-
compatibilityDate: compatibilityDate$
|
|
82362
|
-
metadata: metadata$
|
|
82363
|
-
schema: schema$
|
|
82364
|
-
type: type$
|
|
82361
|
+
compatibilityDate: compatibilityDate$1m,
|
|
82362
|
+
metadata: metadata$1m,
|
|
82363
|
+
schema: schema$1m,
|
|
82364
|
+
type: type$1m
|
|
82365
82365
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
82366
|
-
const type$
|
|
82367
|
-
const compatibilityDate$
|
|
82368
|
-
const metadata$
|
|
82366
|
+
const type$1l = "com.shwfed.actions.button.http.request.json.batch";
|
|
82367
|
+
const compatibilityDate$1l = "2026-06-08";
|
|
82368
|
+
const metadata$1l = {
|
|
82369
82369
|
name: "批量请求",
|
|
82370
82370
|
icon: "fluent:cloud-arrow-up-20-regular"
|
|
82371
82371
|
};
|
|
82372
82372
|
const isHttpRequestList = (t) => t === "dyn" || t === "list" || t === "list<dyn>" || t === "list<HttpRequest>";
|
|
82373
|
-
function schema$
|
|
82373
|
+
function schema$1l(configure) {
|
|
82374
82374
|
const CelHttpRequestList = Expression({ configure, resultType: isHttpRequestList });
|
|
82375
82375
|
const CelMessage = Expression({
|
|
82376
82376
|
configure: (env) => {
|
|
@@ -82391,8 +82391,8 @@ function schema$1k(configure) {
|
|
|
82391
82391
|
resultType: "bool"
|
|
82392
82392
|
});
|
|
82393
82393
|
return Struct({
|
|
82394
|
-
type: Literal2(type$
|
|
82395
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
82394
|
+
type: Literal2(type$1l),
|
|
82395
|
+
compatibilityDate: Literal2(compatibilityDate$1l),
|
|
82396
82396
|
expression: CelHttpRequestList.annotations({
|
|
82397
82397
|
title: "请求列表",
|
|
82398
82398
|
description: md$1`
|
|
@@ -82447,25 +82447,25 @@ function schema$1k(configure) {
|
|
|
82447
82447
|
}
|
|
82448
82448
|
const __vite_glob_0_8$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
82449
82449
|
__proto__: null,
|
|
82450
|
-
compatibilityDate: compatibilityDate$
|
|
82451
|
-
metadata: metadata$
|
|
82452
|
-
schema: schema$
|
|
82453
|
-
type: type$
|
|
82450
|
+
compatibilityDate: compatibilityDate$1l,
|
|
82451
|
+
metadata: metadata$1l,
|
|
82452
|
+
schema: schema$1l,
|
|
82453
|
+
type: type$1l
|
|
82454
82454
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
82455
|
-
const type$
|
|
82456
|
-
const compatibilityDate$
|
|
82457
|
-
const metadata$
|
|
82455
|
+
const type$1k = "com.shwfed.actions.item.markdown";
|
|
82456
|
+
const compatibilityDate$1k = "2026-05-21";
|
|
82457
|
+
const metadata$1k = {
|
|
82458
82458
|
name: "内联 Markdown",
|
|
82459
82459
|
icon: "fluent:markdown-20-regular"
|
|
82460
82460
|
};
|
|
82461
|
-
function schema$
|
|
82461
|
+
function schema$1k(_configure) {
|
|
82462
82462
|
return Struct({
|
|
82463
82463
|
id: UUID.annotations({ description: "Markdown 项唯一标识" }),
|
|
82464
82464
|
// Present when the item sits at group level; absent when it lives as a
|
|
82465
82465
|
// dropdown sub-item (the parent is the dropdown itself).
|
|
82466
82466
|
groupId: optional(UUID.annotations({ description: "所属按钮组标识" })),
|
|
82467
|
-
type: Literal2(type$
|
|
82468
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
82467
|
+
type: Literal2(type$1k),
|
|
82468
|
+
compatibilityDate: Literal2(compatibilityDate$1k),
|
|
82469
82469
|
name: String$.annotations({
|
|
82470
82470
|
title: "内部名称",
|
|
82471
82471
|
description: "仅用于编辑器内识别该 Markdown 项,不会展示给最终用户"
|
|
@@ -82481,10 +82481,10 @@ function schema$1j(_configure) {
|
|
|
82481
82481
|
}
|
|
82482
82482
|
const __vite_glob_3_0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
82483
82483
|
__proto__: null,
|
|
82484
|
-
compatibilityDate: compatibilityDate$
|
|
82485
|
-
metadata: metadata$
|
|
82486
|
-
schema: schema$
|
|
82487
|
-
type: type$
|
|
82484
|
+
compatibilityDate: compatibilityDate$1k,
|
|
82485
|
+
metadata: metadata$1k,
|
|
82486
|
+
schema: schema$1k,
|
|
82487
|
+
type: type$1k
|
|
82488
82488
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
82489
82489
|
function createResult(...args2) {
|
|
82490
82490
|
if (args2.length === 0) {
|
|
@@ -83174,20 +83174,20 @@ function defaultActionsConfig() {
|
|
|
83174
83174
|
items: []
|
|
83175
83175
|
};
|
|
83176
83176
|
}
|
|
83177
|
-
const type$
|
|
83178
|
-
const compatibilityDate$
|
|
83179
|
-
const metadata$
|
|
83177
|
+
const type$1j = "com.shwfed.block.actions";
|
|
83178
|
+
const compatibilityDate$1j = "2026-05-06";
|
|
83179
|
+
const metadata$1j = {
|
|
83180
83180
|
name: "操作按钮",
|
|
83181
83181
|
icon: "fluent:cursor-click-20-regular",
|
|
83182
83182
|
w: { initial: 8, min: 8, max: Infinity },
|
|
83183
83183
|
h: { initial: 2, min: 2, max: Infinity }
|
|
83184
83184
|
};
|
|
83185
|
-
function schema$
|
|
83185
|
+
function schema$1j(configure, _blockRef) {
|
|
83186
83186
|
const ActionsSchema = ActionsConfig(configure);
|
|
83187
83187
|
return Struct({
|
|
83188
83188
|
id: UUID.annotations({ description: "块唯一标识" }),
|
|
83189
|
-
type: tag(type$
|
|
83190
|
-
compatibilityDate: tag(compatibilityDate$
|
|
83189
|
+
type: tag(type$1j),
|
|
83190
|
+
compatibilityDate: tag(compatibilityDate$1j),
|
|
83191
83191
|
actions: ActionsSchema.annotations({
|
|
83192
83192
|
title: "操作按钮配置",
|
|
83193
83193
|
description: "内嵌的 Actions 组件配置"
|
|
@@ -83202,11 +83202,11 @@ function defaultBody$9() {
|
|
|
83202
83202
|
}
|
|
83203
83203
|
const __vite_glob_0_0$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
83204
83204
|
__proto__: null,
|
|
83205
|
-
compatibilityDate: compatibilityDate$
|
|
83205
|
+
compatibilityDate: compatibilityDate$1j,
|
|
83206
83206
|
defaultBody: defaultBody$9,
|
|
83207
|
-
metadata: metadata$
|
|
83208
|
-
schema: schema$
|
|
83209
|
-
type: type$
|
|
83207
|
+
metadata: metadata$1j,
|
|
83208
|
+
schema: schema$1j,
|
|
83209
|
+
type: type$1j
|
|
83210
83210
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
83211
83211
|
function validationRuleStruct(configure) {
|
|
83212
83212
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
@@ -83289,18 +83289,18 @@ function derivedField(configure, resultType) {
|
|
|
83289
83289
|
})
|
|
83290
83290
|
);
|
|
83291
83291
|
}
|
|
83292
|
-
const type$
|
|
83293
|
-
const compatibilityDate$
|
|
83294
|
-
const metadata$
|
|
83292
|
+
const type$1i = "com.shwfed.form.field.markdown";
|
|
83293
|
+
const compatibilityDate$1i = "2026-04-22";
|
|
83294
|
+
const metadata$1i = {
|
|
83295
83295
|
name: "Markdown",
|
|
83296
83296
|
icon: "fluent:markdown-20-regular",
|
|
83297
83297
|
w: { initial: 8, min: 2, max: Infinity },
|
|
83298
83298
|
h: { initial: 2, min: 2, max: Infinity, grow: true }
|
|
83299
83299
|
};
|
|
83300
|
-
function schema$
|
|
83300
|
+
function schema$1i(configure) {
|
|
83301
83301
|
return Struct({
|
|
83302
|
-
type: Literal2(type$
|
|
83303
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
83302
|
+
type: Literal2(type$1i),
|
|
83303
|
+
compatibilityDate: Literal2(compatibilityDate$1i),
|
|
83304
83304
|
...commonFieldFields(configure),
|
|
83305
83305
|
content: LocaleMarkdown({ configure }).annotations({
|
|
83306
83306
|
title: "内容",
|
|
@@ -83313,12 +83313,12 @@ function schema$1h(configure) {
|
|
|
83313
83313
|
}
|
|
83314
83314
|
const __vite_glob_0_0$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
83315
83315
|
__proto__: null,
|
|
83316
|
-
compatibilityDate: compatibilityDate$
|
|
83317
|
-
metadata: metadata$
|
|
83318
|
-
schema: schema$
|
|
83319
|
-
type: type$
|
|
83316
|
+
compatibilityDate: compatibilityDate$1i,
|
|
83317
|
+
metadata: metadata$1i,
|
|
83318
|
+
schema: schema$1i,
|
|
83319
|
+
type: type$1i
|
|
83320
83320
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
83321
|
-
function AddonActions$
|
|
83321
|
+
function AddonActions$3(configure) {
|
|
83322
83322
|
const { groups, items: items2, ...rest } = ActionSchemaFields(configure).fields;
|
|
83323
83323
|
return Struct({
|
|
83324
83324
|
...rest,
|
|
@@ -83329,19 +83329,19 @@ function AddonActions$1(configure) {
|
|
|
83329
83329
|
description: "在输入框右侧内嵌一组操作按钮"
|
|
83330
83330
|
});
|
|
83331
83331
|
}
|
|
83332
|
-
const type$
|
|
83333
|
-
const compatibilityDate$
|
|
83334
|
-
const metadata$
|
|
83332
|
+
const type$1h = "com.shwfed.form.field.text";
|
|
83333
|
+
const compatibilityDate$1h = "2026-04-22";
|
|
83334
|
+
const metadata$1h = {
|
|
83335
83335
|
name: "文本输入",
|
|
83336
83336
|
icon: "fluent:text-field-20-regular",
|
|
83337
83337
|
w: { initial: 8, min: 4, max: Infinity },
|
|
83338
83338
|
h: { initial: 2, min: 2, max: 2 }
|
|
83339
83339
|
};
|
|
83340
|
-
function schema$
|
|
83340
|
+
function schema$1h(configure) {
|
|
83341
83341
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
83342
83342
|
return Struct({
|
|
83343
|
-
type: Literal2(type$
|
|
83344
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
83343
|
+
type: Literal2(type$1h),
|
|
83344
|
+
compatibilityDate: Literal2(compatibilityDate$1h),
|
|
83345
83345
|
...commonFieldFields(configure),
|
|
83346
83346
|
label: optional(Locale.annotations({
|
|
83347
83347
|
title: "标签",
|
|
@@ -83369,7 +83369,7 @@ function schema$1g(configure) {
|
|
|
83369
83369
|
description: "返回 `true` 时仅以纯文本展示当前值"
|
|
83370
83370
|
})),
|
|
83371
83371
|
derived: derivedField(configure, "string"),
|
|
83372
|
-
addon: optional(AddonActions$
|
|
83372
|
+
addon: optional(AddonActions$3(configure))
|
|
83373
83373
|
}).annotations({
|
|
83374
83374
|
title: "TextField",
|
|
83375
83375
|
description: "单行文本输入"
|
|
@@ -83377,24 +83377,24 @@ function schema$1g(configure) {
|
|
|
83377
83377
|
}
|
|
83378
83378
|
const __vite_glob_0_1$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
83379
83379
|
__proto__: null,
|
|
83380
|
-
compatibilityDate: compatibilityDate$
|
|
83381
|
-
metadata: metadata$
|
|
83382
|
-
schema: schema$
|
|
83383
|
-
type: type$
|
|
83380
|
+
compatibilityDate: compatibilityDate$1h,
|
|
83381
|
+
metadata: metadata$1h,
|
|
83382
|
+
schema: schema$1h,
|
|
83383
|
+
type: type$1h
|
|
83384
83384
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
83385
|
-
const type$
|
|
83386
|
-
const compatibilityDate$
|
|
83387
|
-
const metadata$
|
|
83385
|
+
const type$1g = "com.shwfed.form.field.textarea";
|
|
83386
|
+
const compatibilityDate$1g = "2026-04-22";
|
|
83387
|
+
const metadata$1g = {
|
|
83388
83388
|
name: "多行文本输入",
|
|
83389
83389
|
icon: "fluent:text-description-20-regular",
|
|
83390
83390
|
w: { initial: 8, min: 4, max: Infinity },
|
|
83391
83391
|
h: { initial: 3, min: 2, max: Infinity, grow: true }
|
|
83392
83392
|
};
|
|
83393
|
-
function schema$
|
|
83393
|
+
function schema$1g(configure) {
|
|
83394
83394
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
83395
83395
|
return Struct({
|
|
83396
|
-
type: Literal2(type$
|
|
83397
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
83396
|
+
type: Literal2(type$1g),
|
|
83397
|
+
compatibilityDate: Literal2(compatibilityDate$1g),
|
|
83398
83398
|
...commonFieldFields(configure),
|
|
83399
83399
|
label: optional(Locale.annotations({
|
|
83400
83400
|
title: "标签",
|
|
@@ -83433,14 +83433,14 @@ function schema$1f(configure) {
|
|
|
83433
83433
|
}
|
|
83434
83434
|
const __vite_glob_0_2$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
83435
83435
|
__proto__: null,
|
|
83436
|
-
compatibilityDate: compatibilityDate$
|
|
83437
|
-
metadata: metadata$
|
|
83438
|
-
schema: schema$
|
|
83439
|
-
type: type$
|
|
83436
|
+
compatibilityDate: compatibilityDate$1g,
|
|
83437
|
+
metadata: metadata$1g,
|
|
83438
|
+
schema: schema$1g,
|
|
83439
|
+
type: type$1g
|
|
83440
83440
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
83441
|
-
const type$
|
|
83442
|
-
const compatibilityDate$
|
|
83443
|
-
const metadata$
|
|
83441
|
+
const type$1f = "com.shwfed.form.field.actions";
|
|
83442
|
+
const compatibilityDate$1f = "2026-04-24";
|
|
83443
|
+
const metadata$1f = {
|
|
83444
83444
|
name: "操作",
|
|
83445
83445
|
icon: "fluent:cursor-click-20-regular",
|
|
83446
83446
|
w: { initial: 8, min: 4, max: Infinity },
|
|
@@ -83449,12 +83449,12 @@ const metadata$1e = {
|
|
|
83449
83449
|
// fullscreen inline-config pane; keep the (fullscreen-exiting) drill-down.
|
|
83450
83450
|
inlineConfig: false
|
|
83451
83451
|
};
|
|
83452
|
-
function schema$
|
|
83452
|
+
function schema$1f(configure) {
|
|
83453
83453
|
const { fields: actionFields } = ActionSchemaFields(configure);
|
|
83454
83454
|
const { groups, items: items2, ...rest } = actionFields;
|
|
83455
83455
|
return Struct({
|
|
83456
|
-
type: Literal2(type$
|
|
83457
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
83456
|
+
type: Literal2(type$1f),
|
|
83457
|
+
compatibilityDate: Literal2(compatibilityDate$1f),
|
|
83458
83458
|
...commonFieldFields(configure),
|
|
83459
83459
|
...rest,
|
|
83460
83460
|
// Form's add-field factory creates new fields with only { type, compatibilityDate, id },
|
|
@@ -83468,14 +83468,14 @@ function schema$1e(configure) {
|
|
|
83468
83468
|
}
|
|
83469
83469
|
const __vite_glob_0_3$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
83470
83470
|
__proto__: null,
|
|
83471
|
-
compatibilityDate: compatibilityDate$
|
|
83472
|
-
metadata: metadata$
|
|
83473
|
-
schema: schema$
|
|
83474
|
-
type: type$
|
|
83471
|
+
compatibilityDate: compatibilityDate$1f,
|
|
83472
|
+
metadata: metadata$1f,
|
|
83473
|
+
schema: schema$1f,
|
|
83474
|
+
type: type$1f
|
|
83475
83475
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
83476
|
-
const type$
|
|
83477
|
-
const compatibilityDate$
|
|
83478
|
-
const metadata$
|
|
83476
|
+
const type$1e = "com.shwfed.form.field.combobox.single";
|
|
83477
|
+
const compatibilityDate$1e = "2026-04-24";
|
|
83478
|
+
const metadata$1e = {
|
|
83479
83479
|
name: "下拉单选",
|
|
83480
83480
|
icon: "fluent:chevron-down-20-regular",
|
|
83481
83481
|
w: { initial: 8, min: 4, max: Infinity },
|
|
@@ -83488,14 +83488,14 @@ function configureWithOption$6(configure) {
|
|
|
83488
83488
|
};
|
|
83489
83489
|
}
|
|
83490
83490
|
const isListType$h = (actual) => actual === "dyn" || actual.startsWith("list");
|
|
83491
|
-
function schema$
|
|
83491
|
+
function schema$1e(configure) {
|
|
83492
83492
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
83493
83493
|
const CelOptions = Expression({ configure, resultType: isListType$h });
|
|
83494
83494
|
const CelOptionValue = Expression({ configure: configureWithOption$6(configure), resultType: "dyn" });
|
|
83495
83495
|
const LocaleOptionLabel = LocaleMarkdown({ configure: configureWithOption$6(configure) });
|
|
83496
83496
|
return Struct({
|
|
83497
|
-
type: Literal2(type$
|
|
83498
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
83497
|
+
type: Literal2(type$1e),
|
|
83498
|
+
compatibilityDate: Literal2(compatibilityDate$1e),
|
|
83499
83499
|
...commonFieldFields(configure),
|
|
83500
83500
|
label: optional(Locale.annotations({
|
|
83501
83501
|
title: "标签",
|
|
@@ -83542,20 +83542,20 @@ function schema$1d(configure) {
|
|
|
83542
83542
|
}
|
|
83543
83543
|
const __vite_glob_0_4$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
83544
83544
|
__proto__: null,
|
|
83545
|
-
compatibilityDate: compatibilityDate$
|
|
83546
|
-
metadata: metadata$
|
|
83547
|
-
schema: schema$
|
|
83548
|
-
type: type$
|
|
83545
|
+
compatibilityDate: compatibilityDate$1e,
|
|
83546
|
+
metadata: metadata$1e,
|
|
83547
|
+
schema: schema$1e,
|
|
83548
|
+
type: type$1e
|
|
83549
83549
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
83550
|
-
const type$
|
|
83551
|
-
const compatibilityDate$
|
|
83552
|
-
const metadata$
|
|
83550
|
+
const type$1d = "com.shwfed.form.field.date";
|
|
83551
|
+
const compatibilityDate$1d = "2026-04-27";
|
|
83552
|
+
const metadata$1d = {
|
|
83553
83553
|
name: "日期",
|
|
83554
83554
|
icon: "fluent:calendar-ltr-20-regular",
|
|
83555
83555
|
w: { initial: 8, min: 4, max: Infinity },
|
|
83556
83556
|
h: { initial: 2, min: 2, max: 2 }
|
|
83557
83557
|
};
|
|
83558
|
-
function presetSchema$
|
|
83558
|
+
function presetSchema$7(configure) {
|
|
83559
83559
|
const CelDate = Expression({ configure, resultType: "Date" });
|
|
83560
83560
|
return Struct({
|
|
83561
83561
|
id: UUID.annotations({ description: "预设唯一标识,用于稳定的 v-for key" }),
|
|
@@ -83571,12 +83571,12 @@ function presetSchema$6(configure) {
|
|
|
83571
83571
|
title: "DateFieldPreset"
|
|
83572
83572
|
});
|
|
83573
83573
|
}
|
|
83574
|
-
function schema$
|
|
83574
|
+
function schema$1d(configure) {
|
|
83575
83575
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
83576
|
-
const Preset = presetSchema$
|
|
83576
|
+
const Preset = presetSchema$7(configure);
|
|
83577
83577
|
return Struct({
|
|
83578
|
-
type: Literal2(type$
|
|
83579
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
83578
|
+
type: Literal2(type$1d),
|
|
83579
|
+
compatibilityDate: Literal2(compatibilityDate$1d),
|
|
83580
83580
|
...commonFieldFields(configure),
|
|
83581
83581
|
label: optional(Locale.annotations({
|
|
83582
83582
|
title: "标签",
|
|
@@ -83623,31 +83623,31 @@ function schema$1c(configure) {
|
|
|
83623
83623
|
}
|
|
83624
83624
|
const __vite_glob_0_5$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
83625
83625
|
__proto__: null,
|
|
83626
|
-
compatibilityDate: compatibilityDate$
|
|
83627
|
-
metadata: metadata$
|
|
83628
|
-
presetSchema: presetSchema$
|
|
83629
|
-
schema: schema$
|
|
83630
|
-
type: type$
|
|
83626
|
+
compatibilityDate: compatibilityDate$1d,
|
|
83627
|
+
metadata: metadata$1d,
|
|
83628
|
+
presetSchema: presetSchema$7,
|
|
83629
|
+
schema: schema$1d,
|
|
83630
|
+
type: type$1d
|
|
83631
83631
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
83632
|
-
const type$
|
|
83633
|
-
const compatibilityDate$
|
|
83634
|
-
const BindingPath$
|
|
83635
|
-
const SplitBinding$
|
|
83632
|
+
const type$1c = "com.shwfed.form.field.daterange";
|
|
83633
|
+
const compatibilityDate$1c = "2026-04-27";
|
|
83634
|
+
const BindingPath$5 = String$.pipe(minLength(1));
|
|
83635
|
+
const SplitBinding$5 = Tuple(BindingPath$5, BindingPath$5).pipe(
|
|
83636
83636
|
filter(([a, b]) => a !== b, {
|
|
83637
83637
|
message: () => "起始与结束绑定路径不能相同"
|
|
83638
83638
|
})
|
|
83639
83639
|
);
|
|
83640
|
-
const bindingSchema$
|
|
83640
|
+
const bindingSchema$5 = Union2(BindingPath$5, SplitBinding$5).annotations({
|
|
83641
83641
|
title: "绑定路径",
|
|
83642
83642
|
description: "写入表单状态的 `dot-prop` 路径;填写单个路径时写入 `[start, end]` 字符串数组,例如 `event.range`;填写 `[起始路径, 结束路径]` 元组时分别写入两端;留空则为非受控字段"
|
|
83643
83643
|
});
|
|
83644
|
-
const metadata$
|
|
83644
|
+
const metadata$1c = {
|
|
83645
83645
|
name: "日期范围",
|
|
83646
83646
|
icon: "fluent:calendar-arrow-right-20-regular",
|
|
83647
83647
|
w: { initial: 10, min: 10, max: Infinity },
|
|
83648
83648
|
h: { initial: 2, min: 2, max: 2 }
|
|
83649
83649
|
};
|
|
83650
|
-
function presetSchema$
|
|
83650
|
+
function presetSchema$6(configure) {
|
|
83651
83651
|
const CelDate = Expression({ configure, resultType: "Date" });
|
|
83652
83652
|
return Struct({
|
|
83653
83653
|
id: UUID.annotations({ description: "预设唯一标识,用于稳定的 v-for key" }),
|
|
@@ -83667,12 +83667,12 @@ function presetSchema$5(configure) {
|
|
|
83667
83667
|
title: "DateRangeFieldPreset"
|
|
83668
83668
|
});
|
|
83669
83669
|
}
|
|
83670
|
-
function schema$
|
|
83670
|
+
function schema$1c(configure) {
|
|
83671
83671
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
83672
|
-
const Preset = presetSchema$
|
|
83672
|
+
const Preset = presetSchema$6(configure);
|
|
83673
83673
|
return Struct({
|
|
83674
|
-
type: Literal2(type$
|
|
83675
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
83674
|
+
type: Literal2(type$1c),
|
|
83675
|
+
compatibilityDate: Literal2(compatibilityDate$1c),
|
|
83676
83676
|
...commonFieldFields(configure),
|
|
83677
83677
|
label: optional(Locale.annotations({
|
|
83678
83678
|
title: "标签",
|
|
@@ -83691,7 +83691,7 @@ function schema$1b(configure) {
|
|
|
83691
83691
|
description: "鼠标悬停在标签上时展示的说明"
|
|
83692
83692
|
})),
|
|
83693
83693
|
orientation: optional(FieldOrientationSchema),
|
|
83694
|
-
binding: optional(bindingSchema$
|
|
83694
|
+
binding: optional(bindingSchema$5),
|
|
83695
83695
|
disabled: optional(CelBool.annotations({
|
|
83696
83696
|
title: "禁用条件",
|
|
83697
83697
|
description: "返回 `true` 时输入框仍然渲染但不可编辑"
|
|
@@ -83726,21 +83726,21 @@ function schema$1b(configure) {
|
|
|
83726
83726
|
description: "日期范围选择输入"
|
|
83727
83727
|
});
|
|
83728
83728
|
}
|
|
83729
|
-
function defaults$
|
|
83729
|
+
function defaults$G() {
|
|
83730
83730
|
return { rangeSeparatorIcon: "fluent:arrow-right-20-regular" };
|
|
83731
83731
|
}
|
|
83732
83732
|
const __vite_glob_0_6$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
83733
83733
|
__proto__: null,
|
|
83734
|
-
compatibilityDate: compatibilityDate$
|
|
83735
|
-
defaults: defaults$
|
|
83736
|
-
metadata: metadata$
|
|
83737
|
-
presetSchema: presetSchema$
|
|
83738
|
-
schema: schema$
|
|
83739
|
-
type: type$
|
|
83734
|
+
compatibilityDate: compatibilityDate$1c,
|
|
83735
|
+
defaults: defaults$G,
|
|
83736
|
+
metadata: metadata$1c,
|
|
83737
|
+
presetSchema: presetSchema$6,
|
|
83738
|
+
schema: schema$1c,
|
|
83739
|
+
type: type$1c
|
|
83740
83740
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
83741
|
-
const type$
|
|
83742
|
-
const compatibilityDate$
|
|
83743
|
-
const metadata$
|
|
83741
|
+
const type$1b = "com.shwfed.form.field.datetime";
|
|
83742
|
+
const compatibilityDate$1b = "2026-04-27";
|
|
83743
|
+
const metadata$1b = {
|
|
83744
83744
|
name: "日期时间",
|
|
83745
83745
|
icon: "fluent:calendar-clock-20-regular",
|
|
83746
83746
|
w: { initial: 8, min: 4, max: Infinity },
|
|
@@ -83756,7 +83756,7 @@ const HOUR_CYCLE_OPTIONS$3 = [
|
|
|
83756
83756
|
{ value: 24, label: "24 小时制" },
|
|
83757
83757
|
{ value: 12, label: "12 小时制" }
|
|
83758
83758
|
];
|
|
83759
|
-
function presetSchema$
|
|
83759
|
+
function presetSchema$5(configure) {
|
|
83760
83760
|
const CelDate = Expression({ configure, resultType: "Date" });
|
|
83761
83761
|
return Struct({
|
|
83762
83762
|
id: UUID.annotations({ description: "预设唯一标识,用于稳定的 v-for key" }),
|
|
@@ -83772,12 +83772,12 @@ function presetSchema$4(configure) {
|
|
|
83772
83772
|
title: "DateTimeFieldPreset"
|
|
83773
83773
|
});
|
|
83774
83774
|
}
|
|
83775
|
-
function schema$
|
|
83775
|
+
function schema$1b(configure) {
|
|
83776
83776
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
83777
|
-
const Preset = presetSchema$
|
|
83777
|
+
const Preset = presetSchema$5(configure);
|
|
83778
83778
|
return Struct({
|
|
83779
|
-
type: Literal2(type$
|
|
83780
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
83779
|
+
type: Literal2(type$1b),
|
|
83780
|
+
compatibilityDate: Literal2(compatibilityDate$1b),
|
|
83781
83781
|
...commonFieldFields(configure),
|
|
83782
83782
|
label: optional(Locale.annotations({
|
|
83783
83783
|
title: "标签",
|
|
@@ -83835,25 +83835,25 @@ const __vite_glob_0_7$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
|
|
|
83835
83835
|
HOUR_CYCLE_OPTIONS: HOUR_CYCLE_OPTIONS$3,
|
|
83836
83836
|
TIME_GRANULARITIES: TIME_GRANULARITIES$3,
|
|
83837
83837
|
TIME_GRANULARITY_OPTIONS: TIME_GRANULARITY_OPTIONS$3,
|
|
83838
|
-
compatibilityDate: compatibilityDate$
|
|
83839
|
-
metadata: metadata$
|
|
83840
|
-
presetSchema: presetSchema$
|
|
83841
|
-
schema: schema$
|
|
83842
|
-
type: type$
|
|
83838
|
+
compatibilityDate: compatibilityDate$1b,
|
|
83839
|
+
metadata: metadata$1b,
|
|
83840
|
+
presetSchema: presetSchema$5,
|
|
83841
|
+
schema: schema$1b,
|
|
83842
|
+
type: type$1b
|
|
83843
83843
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
83844
|
-
const type$
|
|
83845
|
-
const compatibilityDate$
|
|
83846
|
-
const BindingPath$
|
|
83847
|
-
const SplitBinding$
|
|
83844
|
+
const type$1a = "com.shwfed.form.field.datetimerange";
|
|
83845
|
+
const compatibilityDate$1a = "2026-04-27";
|
|
83846
|
+
const BindingPath$4 = String$.pipe(minLength(1));
|
|
83847
|
+
const SplitBinding$4 = Tuple(BindingPath$4, BindingPath$4).pipe(
|
|
83848
83848
|
filter(([a, b]) => a !== b, {
|
|
83849
83849
|
message: () => "起始与结束绑定路径不能相同"
|
|
83850
83850
|
})
|
|
83851
83851
|
);
|
|
83852
|
-
const bindingSchema$
|
|
83852
|
+
const bindingSchema$4 = Union2(BindingPath$4, SplitBinding$4).annotations({
|
|
83853
83853
|
title: "绑定路径",
|
|
83854
83854
|
description: "写入表单状态的 `dot-prop` 路径;填写单个路径时写入 `[start, end]` 字符串数组,例如 `event.range`;填写 `[起始路径, 结束路径]` 元组时分别写入两端;留空则为非受控字段"
|
|
83855
83855
|
});
|
|
83856
|
-
const metadata$
|
|
83856
|
+
const metadata$1a = {
|
|
83857
83857
|
name: "日期时间范围",
|
|
83858
83858
|
icon: "fluent:calendar-clock-20-regular",
|
|
83859
83859
|
w: { initial: 14, min: 14, max: Infinity },
|
|
@@ -83869,7 +83869,7 @@ const HOUR_CYCLE_OPTIONS$2 = [
|
|
|
83869
83869
|
{ value: 24, label: "24 小时制" },
|
|
83870
83870
|
{ value: 12, label: "12 小时制" }
|
|
83871
83871
|
];
|
|
83872
|
-
function presetSchema$
|
|
83872
|
+
function presetSchema$4(configure) {
|
|
83873
83873
|
const CelDate = Expression({ configure, resultType: "Date" });
|
|
83874
83874
|
return Struct({
|
|
83875
83875
|
id: UUID.annotations({ description: "预设唯一标识,用于稳定的 v-for key" }),
|
|
@@ -83889,12 +83889,12 @@ function presetSchema$3(configure) {
|
|
|
83889
83889
|
title: "DateTimeRangeFieldPreset"
|
|
83890
83890
|
});
|
|
83891
83891
|
}
|
|
83892
|
-
function schema$
|
|
83892
|
+
function schema$1a(configure) {
|
|
83893
83893
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
83894
|
-
const Preset = presetSchema$
|
|
83894
|
+
const Preset = presetSchema$4(configure);
|
|
83895
83895
|
return Struct({
|
|
83896
|
-
type: Literal2(type$
|
|
83897
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
83896
|
+
type: Literal2(type$1a),
|
|
83897
|
+
compatibilityDate: Literal2(compatibilityDate$1a),
|
|
83898
83898
|
...commonFieldFields(configure),
|
|
83899
83899
|
label: optional(Locale.annotations({
|
|
83900
83900
|
title: "标签",
|
|
@@ -83913,7 +83913,7 @@ function schema$19(configure) {
|
|
|
83913
83913
|
description: "鼠标悬停在标签上时展示的说明"
|
|
83914
83914
|
})),
|
|
83915
83915
|
orientation: optional(FieldOrientationSchema),
|
|
83916
|
-
binding: optional(bindingSchema$
|
|
83916
|
+
binding: optional(bindingSchema$4),
|
|
83917
83917
|
disabled: optional(CelBool.annotations({
|
|
83918
83918
|
title: "禁用条件",
|
|
83919
83919
|
description: "返回 `true` 时输入框仍然渲染但不可编辑"
|
|
@@ -83956,7 +83956,7 @@ function schema$19(configure) {
|
|
|
83956
83956
|
description: "日期时间范围选择输入"
|
|
83957
83957
|
});
|
|
83958
83958
|
}
|
|
83959
|
-
function defaults$
|
|
83959
|
+
function defaults$F() {
|
|
83960
83960
|
return { rangeSeparatorIcon: "fluent:arrow-right-20-regular" };
|
|
83961
83961
|
}
|
|
83962
83962
|
const __vite_glob_0_8$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -83964,16 +83964,16 @@ const __vite_glob_0_8$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
|
|
|
83964
83964
|
HOUR_CYCLE_OPTIONS: HOUR_CYCLE_OPTIONS$2,
|
|
83965
83965
|
TIME_GRANULARITIES: TIME_GRANULARITIES$2,
|
|
83966
83966
|
TIME_GRANULARITY_OPTIONS: TIME_GRANULARITY_OPTIONS$2,
|
|
83967
|
-
compatibilityDate: compatibilityDate$
|
|
83968
|
-
defaults: defaults$
|
|
83969
|
-
metadata: metadata$
|
|
83970
|
-
presetSchema: presetSchema$
|
|
83971
|
-
schema: schema$
|
|
83972
|
-
type: type$
|
|
83967
|
+
compatibilityDate: compatibilityDate$1a,
|
|
83968
|
+
defaults: defaults$F,
|
|
83969
|
+
metadata: metadata$1a,
|
|
83970
|
+
presetSchema: presetSchema$4,
|
|
83971
|
+
schema: schema$1a,
|
|
83972
|
+
type: type$1a
|
|
83973
83973
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
83974
|
-
const type$
|
|
83975
|
-
const compatibilityDate$
|
|
83976
|
-
const metadata$
|
|
83974
|
+
const type$19 = "com.shwfed.form.field.time";
|
|
83975
|
+
const compatibilityDate$19 = "2026-04-27";
|
|
83976
|
+
const metadata$19 = {
|
|
83977
83977
|
name: "时间",
|
|
83978
83978
|
icon: "fluent:clock-20-regular",
|
|
83979
83979
|
w: { initial: 8, min: 4, max: Infinity },
|
|
@@ -83989,11 +83989,11 @@ const HOUR_CYCLE_OPTIONS$1 = [
|
|
|
83989
83989
|
{ value: 24, label: "24 小时制" },
|
|
83990
83990
|
{ value: 12, label: "12 小时制" }
|
|
83991
83991
|
];
|
|
83992
|
-
function schema$
|
|
83992
|
+
function schema$19(configure) {
|
|
83993
83993
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
83994
83994
|
return Struct({
|
|
83995
|
-
type: Literal2(type$
|
|
83996
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
83995
|
+
type: Literal2(type$19),
|
|
83996
|
+
compatibilityDate: Literal2(compatibilityDate$19),
|
|
83997
83997
|
...commonFieldFields(configure),
|
|
83998
83998
|
label: optional(Locale.annotations({
|
|
83999
83999
|
title: "标签",
|
|
@@ -84039,24 +84039,24 @@ const __vite_glob_0_9$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
|
|
|
84039
84039
|
HOUR_CYCLE_OPTIONS: HOUR_CYCLE_OPTIONS$1,
|
|
84040
84040
|
TIME_GRANULARITIES: TIME_GRANULARITIES$1,
|
|
84041
84041
|
TIME_GRANULARITY_OPTIONS: TIME_GRANULARITY_OPTIONS$1,
|
|
84042
|
-
compatibilityDate: compatibilityDate$
|
|
84043
|
-
metadata: metadata$
|
|
84044
|
-
schema: schema$
|
|
84045
|
-
type: type$
|
|
84042
|
+
compatibilityDate: compatibilityDate$19,
|
|
84043
|
+
metadata: metadata$19,
|
|
84044
|
+
schema: schema$19,
|
|
84045
|
+
type: type$19
|
|
84046
84046
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
84047
|
-
const type$
|
|
84048
|
-
const compatibilityDate$
|
|
84049
|
-
const BindingPath$
|
|
84050
|
-
const SplitBinding$
|
|
84047
|
+
const type$18 = "com.shwfed.form.field.timerange";
|
|
84048
|
+
const compatibilityDate$18 = "2026-04-27";
|
|
84049
|
+
const BindingPath$3 = String$.pipe(minLength(1));
|
|
84050
|
+
const SplitBinding$3 = Tuple(BindingPath$3, BindingPath$3).pipe(
|
|
84051
84051
|
filter(([a, b]) => a !== b, {
|
|
84052
84052
|
message: () => "起始与结束绑定路径不能相同"
|
|
84053
84053
|
})
|
|
84054
84054
|
);
|
|
84055
|
-
const bindingSchema$
|
|
84055
|
+
const bindingSchema$3 = Union2(BindingPath$3, SplitBinding$3).annotations({
|
|
84056
84056
|
title: "绑定路径",
|
|
84057
84057
|
description: "写入表单状态的 `dot-prop` 路径;填写单个路径时写入 `[start, end]` 字符串数组,例如 `meeting.timeRange`;填写 `[起始路径, 结束路径]` 元组时分别写入两端;留空则为非受控字段"
|
|
84058
84058
|
});
|
|
84059
|
-
const metadata$
|
|
84059
|
+
const metadata$18 = {
|
|
84060
84060
|
name: "时间范围",
|
|
84061
84061
|
icon: "fluent:clock-arrow-download-20-regular",
|
|
84062
84062
|
w: { initial: 14, min: 14, max: Infinity },
|
|
@@ -84072,11 +84072,11 @@ const HOUR_CYCLE_OPTIONS = [
|
|
|
84072
84072
|
{ value: 24, label: "24 小时制" },
|
|
84073
84073
|
{ value: 12, label: "12 小时制" }
|
|
84074
84074
|
];
|
|
84075
|
-
function schema$
|
|
84075
|
+
function schema$18(configure) {
|
|
84076
84076
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
84077
84077
|
return Struct({
|
|
84078
|
-
type: Literal2(type$
|
|
84079
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
84078
|
+
type: Literal2(type$18),
|
|
84079
|
+
compatibilityDate: Literal2(compatibilityDate$18),
|
|
84080
84080
|
...commonFieldFields(configure),
|
|
84081
84081
|
label: optional(Locale.annotations({
|
|
84082
84082
|
title: "标签",
|
|
@@ -84087,7 +84087,7 @@ function schema$17(configure) {
|
|
|
84087
84087
|
description: "鼠标悬停在标签上时展示的说明"
|
|
84088
84088
|
})),
|
|
84089
84089
|
orientation: optional(FieldOrientationSchema),
|
|
84090
|
-
binding: optional(bindingSchema$
|
|
84090
|
+
binding: optional(bindingSchema$3),
|
|
84091
84091
|
disabled: optional(CelBool.annotations({
|
|
84092
84092
|
title: "禁用条件",
|
|
84093
84093
|
description: "返回 `true` 时输入框仍然渲染但不可编辑"
|
|
@@ -84118,7 +84118,7 @@ function schema$17(configure) {
|
|
|
84118
84118
|
description: "时间范围选择输入"
|
|
84119
84119
|
});
|
|
84120
84120
|
}
|
|
84121
|
-
function defaults$
|
|
84121
|
+
function defaults$E() {
|
|
84122
84122
|
return { rangeSeparatorIcon: "fluent:arrow-right-20-regular" };
|
|
84123
84123
|
}
|
|
84124
84124
|
const __vite_glob_0_10$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -84126,13 +84126,13 @@ const __vite_glob_0_10$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.
|
|
|
84126
84126
|
HOUR_CYCLE_OPTIONS,
|
|
84127
84127
|
TIME_GRANULARITIES,
|
|
84128
84128
|
TIME_GRANULARITY_OPTIONS,
|
|
84129
|
-
compatibilityDate: compatibilityDate$
|
|
84130
|
-
defaults: defaults$
|
|
84131
|
-
metadata: metadata$
|
|
84132
|
-
schema: schema$
|
|
84133
|
-
type: type$
|
|
84129
|
+
compatibilityDate: compatibilityDate$18,
|
|
84130
|
+
defaults: defaults$E,
|
|
84131
|
+
metadata: metadata$18,
|
|
84132
|
+
schema: schema$18,
|
|
84133
|
+
type: type$18
|
|
84134
84134
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
84135
|
-
function AddonActions(configure) {
|
|
84135
|
+
function AddonActions$2(configure) {
|
|
84136
84136
|
const { groups, items: items2, ...rest } = ActionSchemaFields(configure).fields;
|
|
84137
84137
|
return Struct({
|
|
84138
84138
|
...rest,
|
|
@@ -84143,20 +84143,20 @@ function AddonActions(configure) {
|
|
|
84143
84143
|
description: "在输入框右侧内嵌一组操作按钮"
|
|
84144
84144
|
});
|
|
84145
84145
|
}
|
|
84146
|
-
const type$
|
|
84147
|
-
const compatibilityDate$
|
|
84148
|
-
const metadata$
|
|
84146
|
+
const type$17 = "com.shwfed.form.field.number";
|
|
84147
|
+
const compatibilityDate$17 = "2026-04-28";
|
|
84148
|
+
const metadata$17 = {
|
|
84149
84149
|
name: "数值输入",
|
|
84150
84150
|
icon: "fluent:number-symbol-20-regular",
|
|
84151
84151
|
w: { initial: 8, min: 4, max: Infinity },
|
|
84152
84152
|
h: { initial: 2, min: 2, max: 2 }
|
|
84153
84153
|
};
|
|
84154
|
-
function schema$
|
|
84154
|
+
function schema$17(configure) {
|
|
84155
84155
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
84156
84156
|
const CelNumber = Expression({ configure, resultType: "number" });
|
|
84157
84157
|
return Struct({
|
|
84158
|
-
type: Literal2(type$
|
|
84159
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
84158
|
+
type: Literal2(type$17),
|
|
84159
|
+
compatibilityDate: Literal2(compatibilityDate$17),
|
|
84160
84160
|
...commonFieldFields(configure),
|
|
84161
84161
|
label: optional(Locale.annotations({
|
|
84162
84162
|
title: "标签",
|
|
@@ -84208,7 +84208,7 @@ function schema$16(configure) {
|
|
|
84208
84208
|
title: "最大值",
|
|
84209
84209
|
description: "允许输入的最大值表达式;留空时不限制上限"
|
|
84210
84210
|
})),
|
|
84211
|
-
addon: optional(AddonActions(configure))
|
|
84211
|
+
addon: optional(AddonActions$2(configure))
|
|
84212
84212
|
}).annotations({
|
|
84213
84213
|
title: "NumberField",
|
|
84214
84214
|
description: "数值输入"
|
|
@@ -84216,35 +84216,35 @@ function schema$16(configure) {
|
|
|
84216
84216
|
}
|
|
84217
84217
|
const __vite_glob_0_11$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
84218
84218
|
__proto__: null,
|
|
84219
|
-
compatibilityDate: compatibilityDate$
|
|
84220
|
-
metadata: metadata$
|
|
84221
|
-
schema: schema$
|
|
84222
|
-
type: type$
|
|
84219
|
+
compatibilityDate: compatibilityDate$17,
|
|
84220
|
+
metadata: metadata$17,
|
|
84221
|
+
schema: schema$17,
|
|
84222
|
+
type: type$17
|
|
84223
84223
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
84224
|
-
const type$
|
|
84225
|
-
const compatibilityDate$
|
|
84226
|
-
const BindingPath$
|
|
84227
|
-
const SplitBinding$
|
|
84224
|
+
const type$16 = "com.shwfed.form.field.numberrange";
|
|
84225
|
+
const compatibilityDate$16 = "2026-04-28";
|
|
84226
|
+
const BindingPath$2 = String$.pipe(minLength(1));
|
|
84227
|
+
const SplitBinding$2 = Tuple(BindingPath$2, BindingPath$2).pipe(
|
|
84228
84228
|
filter(([a, b]) => a !== b, {
|
|
84229
84229
|
message: () => "起始与结束绑定路径不能相同"
|
|
84230
84230
|
})
|
|
84231
84231
|
);
|
|
84232
|
-
const bindingSchema$
|
|
84232
|
+
const bindingSchema$2 = Union2(BindingPath$2, SplitBinding$2).annotations({
|
|
84233
84233
|
title: "绑定路径",
|
|
84234
84234
|
description: "写入表单状态的 `dot-prop` 路径;填写单个路径时写入 `[start, end]` 数值数组,例如 `score.range`;填写 `[起始路径, 结束路径]` 元组时分别写入两端;留空则为非受控字段"
|
|
84235
84235
|
});
|
|
84236
|
-
const metadata$
|
|
84236
|
+
const metadata$16 = {
|
|
84237
84237
|
name: "数值范围",
|
|
84238
84238
|
icon: "fluent:arrow-bidirectional-left-right-20-regular",
|
|
84239
84239
|
w: { initial: 8, min: 4, max: Infinity },
|
|
84240
84240
|
h: { initial: 2, min: 2, max: 2 }
|
|
84241
84241
|
};
|
|
84242
|
-
function schema$
|
|
84242
|
+
function schema$16(configure) {
|
|
84243
84243
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
84244
84244
|
const CelNumber = Expression({ configure, resultType: "number" });
|
|
84245
84245
|
return Struct({
|
|
84246
|
-
type: Literal2(type$
|
|
84247
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
84246
|
+
type: Literal2(type$16),
|
|
84247
|
+
compatibilityDate: Literal2(compatibilityDate$16),
|
|
84248
84248
|
...commonFieldFields(configure),
|
|
84249
84249
|
label: optional(Locale.annotations({
|
|
84250
84250
|
title: "标签",
|
|
@@ -84263,7 +84263,7 @@ function schema$15(configure) {
|
|
|
84263
84263
|
description: "鼠标悬停在标签上时展示的说明"
|
|
84264
84264
|
})),
|
|
84265
84265
|
orientation: optional(FieldOrientationSchema),
|
|
84266
|
-
binding: optional(bindingSchema$
|
|
84266
|
+
binding: optional(bindingSchema$2),
|
|
84267
84267
|
disabled: optional(CelBool.annotations({
|
|
84268
84268
|
title: "禁用条件",
|
|
84269
84269
|
description: "返回 `true` 时输入框仍然渲染但不可编辑"
|
|
@@ -84306,30 +84306,30 @@ function schema$15(configure) {
|
|
|
84306
84306
|
description: "数值范围输入"
|
|
84307
84307
|
});
|
|
84308
84308
|
}
|
|
84309
|
-
function defaults$
|
|
84309
|
+
function defaults$D() {
|
|
84310
84310
|
return { rangeSeparatorIcon: "fluent:arrow-right-20-regular" };
|
|
84311
84311
|
}
|
|
84312
84312
|
const __vite_glob_0_12$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
84313
84313
|
__proto__: null,
|
|
84314
|
-
compatibilityDate: compatibilityDate$
|
|
84315
|
-
defaults: defaults$
|
|
84316
|
-
metadata: metadata$
|
|
84317
|
-
schema: schema$
|
|
84318
|
-
type: type$
|
|
84314
|
+
compatibilityDate: compatibilityDate$16,
|
|
84315
|
+
defaults: defaults$D,
|
|
84316
|
+
metadata: metadata$16,
|
|
84317
|
+
schema: schema$16,
|
|
84318
|
+
type: type$16
|
|
84319
84319
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
84320
|
-
const type$
|
|
84321
|
-
const compatibilityDate$
|
|
84322
|
-
const metadata$
|
|
84320
|
+
const type$15 = "com.shwfed.form.field.switch";
|
|
84321
|
+
const compatibilityDate$15 = "2026-04-28";
|
|
84322
|
+
const metadata$15 = {
|
|
84323
84323
|
name: "开关",
|
|
84324
84324
|
icon: "fluent:toggle-left-20-regular",
|
|
84325
84325
|
w: { initial: 4, min: 4, max: Infinity },
|
|
84326
84326
|
h: { initial: 2, min: 2, max: 2 }
|
|
84327
84327
|
};
|
|
84328
|
-
function schema$
|
|
84328
|
+
function schema$15(configure) {
|
|
84329
84329
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
84330
84330
|
return Struct({
|
|
84331
|
-
type: Literal2(type$
|
|
84332
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
84331
|
+
type: Literal2(type$15),
|
|
84332
|
+
compatibilityDate: Literal2(compatibilityDate$15),
|
|
84333
84333
|
...commonFieldFields(configure),
|
|
84334
84334
|
label: optional(Locale.annotations({
|
|
84335
84335
|
title: "标签",
|
|
@@ -84367,10 +84367,10 @@ function schema$14(configure) {
|
|
|
84367
84367
|
}
|
|
84368
84368
|
const __vite_glob_0_13$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
84369
84369
|
__proto__: null,
|
|
84370
|
-
compatibilityDate: compatibilityDate$
|
|
84371
|
-
metadata: metadata$
|
|
84372
|
-
schema: schema$
|
|
84373
|
-
type: type$
|
|
84370
|
+
compatibilityDate: compatibilityDate$15,
|
|
84371
|
+
metadata: metadata$15,
|
|
84372
|
+
schema: schema$15,
|
|
84373
|
+
type: type$15
|
|
84374
84374
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
84375
84375
|
const decodeCache = {};
|
|
84376
84376
|
function getDecodeCache(exclude2) {
|
|
@@ -89641,9 +89641,9 @@ function interpolateMarkdown(template, $cel, context2) {
|
|
|
89641
89641
|
}
|
|
89642
89642
|
});
|
|
89643
89643
|
}
|
|
89644
|
-
const type$
|
|
89645
|
-
const compatibilityDate$
|
|
89646
|
-
const metadata$
|
|
89644
|
+
const type$14 = "com.shwfed.form.field.combobox.single";
|
|
89645
|
+
const compatibilityDate$14 = "2026-04-29";
|
|
89646
|
+
const metadata$14 = {
|
|
89647
89647
|
name: "下拉单选(硬编码)",
|
|
89648
89648
|
icon: "fluent:chevron-down-20-regular",
|
|
89649
89649
|
w: { initial: 8, min: 4, max: Infinity },
|
|
@@ -89678,12 +89678,12 @@ function itemSchema$j(configure) {
|
|
|
89678
89678
|
title: "ComboboxSingleItem"
|
|
89679
89679
|
});
|
|
89680
89680
|
}
|
|
89681
|
-
function schema$
|
|
89681
|
+
function schema$14(configure) {
|
|
89682
89682
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
89683
89683
|
const Item = itemSchema$j(configure);
|
|
89684
89684
|
return Struct({
|
|
89685
|
-
type: Literal2(type$
|
|
89686
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
89685
|
+
type: Literal2(type$14),
|
|
89686
|
+
compatibilityDate: Literal2(compatibilityDate$14),
|
|
89687
89687
|
...commonFieldFields(configure),
|
|
89688
89688
|
label: optional(Locale.annotations({
|
|
89689
89689
|
title: "标签",
|
|
@@ -89775,23 +89775,23 @@ const migrate$m = (prev, ctx) => {
|
|
|
89775
89775
|
} = legacy;
|
|
89776
89776
|
return {
|
|
89777
89777
|
...carryover,
|
|
89778
|
-
compatibilityDate: compatibilityDate$
|
|
89778
|
+
compatibilityDate: compatibilityDate$14,
|
|
89779
89779
|
items: items2
|
|
89780
89780
|
};
|
|
89781
89781
|
});
|
|
89782
89782
|
};
|
|
89783
89783
|
const __vite_glob_0_14$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
89784
89784
|
__proto__: null,
|
|
89785
|
-
compatibilityDate: compatibilityDate$
|
|
89785
|
+
compatibilityDate: compatibilityDate$14,
|
|
89786
89786
|
itemSchema: itemSchema$j,
|
|
89787
|
-
metadata: metadata$
|
|
89787
|
+
metadata: metadata$14,
|
|
89788
89788
|
migrate: migrate$m,
|
|
89789
|
-
schema: schema$
|
|
89790
|
-
type: type$
|
|
89789
|
+
schema: schema$14,
|
|
89790
|
+
type: type$14
|
|
89791
89791
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
89792
|
-
const type$
|
|
89793
|
-
const compatibilityDate$
|
|
89794
|
-
const metadata$
|
|
89792
|
+
const type$13 = "com.shwfed.form.field.upload";
|
|
89793
|
+
const compatibilityDate$13 = "2026-05-12";
|
|
89794
|
+
const metadata$13 = {
|
|
89795
89795
|
name: "文件上传",
|
|
89796
89796
|
icon: "fluent:cloud-arrow-up-20-regular",
|
|
89797
89797
|
w: { initial: 8, min: 8, max: Infinity },
|
|
@@ -89808,14 +89808,14 @@ function configureWithJson$5(configure) {
|
|
|
89808
89808
|
env.registerVariable("json", JSON_VAR$5.type, { description: JSON_VAR$5.description });
|
|
89809
89809
|
};
|
|
89810
89810
|
}
|
|
89811
|
-
function schema$
|
|
89811
|
+
function schema$13(configure) {
|
|
89812
89812
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
89813
89813
|
const CelHttpRequest = Expression({ configure, resultType: "HttpRequest" });
|
|
89814
89814
|
const CelDownloadRequest = Expression({ configure: configureWithJson$5(configure), resultType: "HttpRequest" });
|
|
89815
89815
|
const LocaleMd = LocaleMarkdown({ configure });
|
|
89816
89816
|
return Struct({
|
|
89817
|
-
type: Literal2(type$
|
|
89818
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
89817
|
+
type: Literal2(type$13),
|
|
89818
|
+
compatibilityDate: Literal2(compatibilityDate$13),
|
|
89819
89819
|
...commonFieldFields(configure),
|
|
89820
89820
|
label: optional(Locale.annotations({
|
|
89821
89821
|
title: "标签",
|
|
@@ -89895,14 +89895,14 @@ function schema$12(configure) {
|
|
|
89895
89895
|
const __vite_glob_0_15$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
89896
89896
|
__proto__: null,
|
|
89897
89897
|
JSON_VAR: JSON_VAR$5,
|
|
89898
|
-
compatibilityDate: compatibilityDate$
|
|
89899
|
-
metadata: metadata$
|
|
89900
|
-
schema: schema$
|
|
89901
|
-
type: type$
|
|
89898
|
+
compatibilityDate: compatibilityDate$13,
|
|
89899
|
+
metadata: metadata$13,
|
|
89900
|
+
schema: schema$13,
|
|
89901
|
+
type: type$13
|
|
89902
89902
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
89903
|
-
const type$
|
|
89904
|
-
const compatibilityDate$
|
|
89905
|
-
const metadata$
|
|
89903
|
+
const type$12 = "com.shwfed.form.field.combobox.single.remote";
|
|
89904
|
+
const compatibilityDate$12 = "2026-05-13";
|
|
89905
|
+
const metadata$12 = {
|
|
89906
89906
|
name: "下拉单选(远程)",
|
|
89907
89907
|
icon: "fluent:cloud-arrow-down-20-regular",
|
|
89908
89908
|
w: { initial: 8, min: 4, max: Infinity },
|
|
@@ -89931,15 +89931,15 @@ function configureWithJson$4(configure) {
|
|
|
89931
89931
|
};
|
|
89932
89932
|
}
|
|
89933
89933
|
const isListType$g = (actual) => actual === "dyn" || actual.startsWith("list");
|
|
89934
|
-
function schema$
|
|
89934
|
+
function schema$12(configure) {
|
|
89935
89935
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
89936
89936
|
const CelHttpRequest = Expression({ configure, resultType: HttpRequestResult });
|
|
89937
89937
|
const CelOptions = Expression({ configure: configureWithJson$4(configure), resultType: isListType$g });
|
|
89938
89938
|
const CelOptionValue = Expression({ configure: configureWithOption$5(configure), resultType: "dyn" });
|
|
89939
89939
|
const LocaleOptionLabel = LocaleMarkdown({ configure: configureWithOption$5(configure) });
|
|
89940
89940
|
return Struct({
|
|
89941
|
-
type: Literal2(type$
|
|
89942
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
89941
|
+
type: Literal2(type$12),
|
|
89942
|
+
compatibilityDate: Literal2(compatibilityDate$12),
|
|
89943
89943
|
...commonFieldFields(configure),
|
|
89944
89944
|
label: optional(Locale.annotations({
|
|
89945
89945
|
title: "标签",
|
|
@@ -89992,14 +89992,14 @@ const __vite_glob_0_16$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.
|
|
|
89992
89992
|
__proto__: null,
|
|
89993
89993
|
JSON_VAR: JSON_VAR$4,
|
|
89994
89994
|
OPTION_VAR: OPTION_VAR$2,
|
|
89995
|
-
compatibilityDate: compatibilityDate$
|
|
89996
|
-
metadata: metadata$
|
|
89997
|
-
schema: schema$
|
|
89998
|
-
type: type$
|
|
89995
|
+
compatibilityDate: compatibilityDate$12,
|
|
89996
|
+
metadata: metadata$12,
|
|
89997
|
+
schema: schema$12,
|
|
89998
|
+
type: type$12
|
|
89999
89999
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
90000
|
-
const type$
|
|
90001
|
-
const compatibilityDate$
|
|
90002
|
-
const metadata$
|
|
90000
|
+
const type$11 = "com.shwfed.form.field.list";
|
|
90001
|
+
const compatibilityDate$11 = "2026-05-13";
|
|
90002
|
+
const metadata$11 = {
|
|
90003
90003
|
name: "列表",
|
|
90004
90004
|
icon: "fluent:list-20-regular",
|
|
90005
90005
|
w: { initial: 12, min: 4, max: Infinity },
|
|
@@ -90008,7 +90008,7 @@ const metadata$10 = {
|
|
|
90008
90008
|
// fullscreen inline-config pane; keep the (fullscreen-exiting) drill-down.
|
|
90009
90009
|
inlineConfig: false
|
|
90010
90010
|
};
|
|
90011
|
-
function schema$
|
|
90011
|
+
function schema$11(configure) {
|
|
90012
90012
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
90013
90013
|
const unitConfigure = (env) => {
|
|
90014
90014
|
configure(env);
|
|
@@ -90022,8 +90022,8 @@ function schema$10(configure) {
|
|
|
90022
90022
|
};
|
|
90023
90023
|
const Unit = suspend(() => FormUnit(unitConfigure));
|
|
90024
90024
|
return Struct({
|
|
90025
|
-
type: Literal2(type$
|
|
90026
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
90025
|
+
type: Literal2(type$11),
|
|
90026
|
+
compatibilityDate: Literal2(compatibilityDate$11),
|
|
90027
90027
|
...commonFieldFields(configure),
|
|
90028
90028
|
label: optional(Locale.annotations({
|
|
90029
90029
|
title: "标签",
|
|
@@ -90084,7 +90084,7 @@ function schema$10(configure) {
|
|
|
90084
90084
|
description: "可新增/删除/重排的同构子表单列表"
|
|
90085
90085
|
});
|
|
90086
90086
|
}
|
|
90087
|
-
function defaults$
|
|
90087
|
+
function defaults$C() {
|
|
90088
90088
|
return {
|
|
90089
90089
|
unit: {
|
|
90090
90090
|
fields: [],
|
|
@@ -90094,15 +90094,15 @@ function defaults$B() {
|
|
|
90094
90094
|
}
|
|
90095
90095
|
const __vite_glob_0_17$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
90096
90096
|
__proto__: null,
|
|
90097
|
-
compatibilityDate: compatibilityDate$
|
|
90098
|
-
defaults: defaults$
|
|
90099
|
-
metadata: metadata$
|
|
90100
|
-
schema: schema$
|
|
90101
|
-
type: type$
|
|
90097
|
+
compatibilityDate: compatibilityDate$11,
|
|
90098
|
+
defaults: defaults$C,
|
|
90099
|
+
metadata: metadata$11,
|
|
90100
|
+
schema: schema$11,
|
|
90101
|
+
type: type$11
|
|
90102
90102
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
90103
|
-
const type
|
|
90104
|
-
const compatibilityDate
|
|
90105
|
-
const metadata
|
|
90103
|
+
const type$10 = "com.shwfed.form.field.checkbox.group";
|
|
90104
|
+
const compatibilityDate$10 = "2026-05-17";
|
|
90105
|
+
const metadata$10 = {
|
|
90106
90106
|
name: "复选框组",
|
|
90107
90107
|
icon: "fluent:checkbox-checked-20-regular",
|
|
90108
90108
|
w: { initial: 8, min: 2, max: Infinity },
|
|
@@ -90137,12 +90137,12 @@ function itemSchema$i(configure) {
|
|
|
90137
90137
|
title: "CheckboxGroupItem"
|
|
90138
90138
|
});
|
|
90139
90139
|
}
|
|
90140
|
-
function schema
|
|
90140
|
+
function schema$10(configure) {
|
|
90141
90141
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
90142
90142
|
const Item = itemSchema$i(configure);
|
|
90143
90143
|
return Struct({
|
|
90144
|
-
type: Literal2(type
|
|
90145
|
-
compatibilityDate: Literal2(compatibilityDate
|
|
90144
|
+
type: Literal2(type$10),
|
|
90145
|
+
compatibilityDate: Literal2(compatibilityDate$10),
|
|
90146
90146
|
...commonFieldFields(configure),
|
|
90147
90147
|
label: optional(Locale.annotations({
|
|
90148
90148
|
title: "标签",
|
|
@@ -90176,15 +90176,15 @@ function schema$$(configure) {
|
|
|
90176
90176
|
}
|
|
90177
90177
|
const __vite_glob_0_18$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
90178
90178
|
__proto__: null,
|
|
90179
|
-
compatibilityDate: compatibilityDate
|
|
90179
|
+
compatibilityDate: compatibilityDate$10,
|
|
90180
90180
|
itemSchema: itemSchema$i,
|
|
90181
|
-
metadata: metadata
|
|
90182
|
-
schema: schema
|
|
90183
|
-
type: type
|
|
90181
|
+
metadata: metadata$10,
|
|
90182
|
+
schema: schema$10,
|
|
90183
|
+
type: type$10
|
|
90184
90184
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
90185
|
-
const type
|
|
90186
|
-
const compatibilityDate
|
|
90187
|
-
const metadata
|
|
90185
|
+
const type$$ = "com.shwfed.form.field.radio.group";
|
|
90186
|
+
const compatibilityDate$$ = "2026-05-17";
|
|
90187
|
+
const metadata$$ = {
|
|
90188
90188
|
name: "单选框组",
|
|
90189
90189
|
icon: "fluent:radio-button-20-regular",
|
|
90190
90190
|
w: { initial: 8, min: 2, max: Infinity },
|
|
@@ -90219,12 +90219,12 @@ function itemSchema$h(configure) {
|
|
|
90219
90219
|
title: "RadioGroupItem"
|
|
90220
90220
|
});
|
|
90221
90221
|
}
|
|
90222
|
-
function schema
|
|
90222
|
+
function schema$$(configure) {
|
|
90223
90223
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
90224
90224
|
const Item = itemSchema$h(configure);
|
|
90225
90225
|
return Struct({
|
|
90226
|
-
type: Literal2(type
|
|
90227
|
-
compatibilityDate: Literal2(compatibilityDate
|
|
90226
|
+
type: Literal2(type$$),
|
|
90227
|
+
compatibilityDate: Literal2(compatibilityDate$$),
|
|
90228
90228
|
...commonFieldFields(configure),
|
|
90229
90229
|
label: optional(Locale.annotations({
|
|
90230
90230
|
title: "标签",
|
|
@@ -90258,11 +90258,11 @@ function schema$_(configure) {
|
|
|
90258
90258
|
}
|
|
90259
90259
|
const __vite_glob_0_19$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
90260
90260
|
__proto__: null,
|
|
90261
|
-
compatibilityDate: compatibilityDate
|
|
90261
|
+
compatibilityDate: compatibilityDate$$,
|
|
90262
90262
|
itemSchema: itemSchema$h,
|
|
90263
|
-
metadata: metadata
|
|
90264
|
-
schema: schema
|
|
90265
|
-
type: type
|
|
90263
|
+
metadata: metadata$$,
|
|
90264
|
+
schema: schema$$,
|
|
90265
|
+
type: type$$
|
|
90266
90266
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
90267
90267
|
const Align = Literal2("left", "center", "right").annotations({
|
|
90268
90268
|
description: "对齐方式"
|
|
@@ -90367,14 +90367,14 @@ function LocaleMarkdownWithRow(configure) {
|
|
|
90367
90367
|
function derivedRowField(configure, resultType) {
|
|
90368
90368
|
return derivedField(configureWithRow(configure), resultType);
|
|
90369
90369
|
}
|
|
90370
|
-
const type$
|
|
90371
|
-
const compatibilityDate$
|
|
90372
|
-
const metadata$
|
|
90370
|
+
const type$_ = "com.shwfed.table.column.actions";
|
|
90371
|
+
const compatibilityDate$_ = "2026-04-14";
|
|
90372
|
+
const metadata$_ = {
|
|
90373
90373
|
name: "操作",
|
|
90374
90374
|
icon: "fluent:cursor-click-20-regular"
|
|
90375
90375
|
};
|
|
90376
90376
|
const registerRowVariables = registerRowVariablesIfAbsent;
|
|
90377
|
-
function schema$
|
|
90377
|
+
function schema$_(configure) {
|
|
90378
90378
|
const configureWithRow2 = (env) => {
|
|
90379
90379
|
configure(env);
|
|
90380
90380
|
registerRowVariables(env);
|
|
@@ -90382,8 +90382,8 @@ function schema$Z(configure) {
|
|
|
90382
90382
|
const { fields: actionFields } = ActionSchemaFields(configureWithRow2);
|
|
90383
90383
|
const { size: _buttonSize, ...actionFieldsForColumn } = actionFields;
|
|
90384
90384
|
return Struct({
|
|
90385
|
-
type: Literal2(type$
|
|
90386
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
90385
|
+
type: Literal2(type$_),
|
|
90386
|
+
compatibilityDate: Literal2(compatibilityDate$_),
|
|
90387
90387
|
...columnIdentityFields(),
|
|
90388
90388
|
title: optional(Locale.annotations({ title: "标题", description: "列标题" })),
|
|
90389
90389
|
size: optional(Number$.pipe(finite(), positive()).annotations({
|
|
@@ -90397,7 +90397,7 @@ function schema$Z(configure) {
|
|
|
90397
90397
|
...actionFieldsForColumn
|
|
90398
90398
|
}).annotations({ title: "ActionsRenderer", description: "操作渲染器" });
|
|
90399
90399
|
}
|
|
90400
|
-
function defaults$
|
|
90400
|
+
function defaults$B() {
|
|
90401
90401
|
return {
|
|
90402
90402
|
title: [{ locale: "zh", message: "" }],
|
|
90403
90403
|
size: 200,
|
|
@@ -90405,7 +90405,7 @@ function defaults$A() {
|
|
|
90405
90405
|
items: []
|
|
90406
90406
|
};
|
|
90407
90407
|
}
|
|
90408
|
-
function toColumnDef$
|
|
90408
|
+
function toColumnDef$z(value, { getLocaleText }) {
|
|
90409
90409
|
return {
|
|
90410
90410
|
header: value.title ? getLocaleText(value.title) : void 0,
|
|
90411
90411
|
enableSorting: false,
|
|
@@ -90418,24 +90418,24 @@ function toColumnDef$y(value, { getLocaleText }) {
|
|
|
90418
90418
|
}
|
|
90419
90419
|
const __vite_glob_0_0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
90420
90420
|
__proto__: null,
|
|
90421
|
-
compatibilityDate: compatibilityDate$
|
|
90422
|
-
defaults: defaults$
|
|
90423
|
-
metadata: metadata$
|
|
90421
|
+
compatibilityDate: compatibilityDate$_,
|
|
90422
|
+
defaults: defaults$B,
|
|
90423
|
+
metadata: metadata$_,
|
|
90424
90424
|
registerRowVariables,
|
|
90425
|
-
schema: schema$
|
|
90426
|
-
toColumnDef: toColumnDef$
|
|
90427
|
-
type: type$
|
|
90425
|
+
schema: schema$_,
|
|
90426
|
+
toColumnDef: toColumnDef$z,
|
|
90427
|
+
type: type$_
|
|
90428
90428
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
90429
|
-
const type$
|
|
90430
|
-
const compatibilityDate$
|
|
90431
|
-
const metadata$
|
|
90429
|
+
const type$Z = "com.shwfed.table.column.date";
|
|
90430
|
+
const compatibilityDate$Z = "2026-04-14";
|
|
90431
|
+
const metadata$Z = {
|
|
90432
90432
|
name: "日期",
|
|
90433
90433
|
icon: "fluent:calendar-ltr-20-regular"
|
|
90434
90434
|
};
|
|
90435
|
-
function schema$
|
|
90435
|
+
function schema$Z(configure) {
|
|
90436
90436
|
return Struct({
|
|
90437
|
-
type: Literal2(type$
|
|
90438
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
90437
|
+
type: Literal2(type$Z),
|
|
90438
|
+
compatibilityDate: Literal2(compatibilityDate$Z),
|
|
90439
90439
|
...columnFields(configure),
|
|
90440
90440
|
align: optionalWith(Align.annotations({ title: "对齐" }), { default: () => "left" }),
|
|
90441
90441
|
format: String$.annotations({
|
|
@@ -90446,7 +90446,7 @@ function schema$Y(configure) {
|
|
|
90446
90446
|
})
|
|
90447
90447
|
}).annotations({ title: "DateRenderer", description: "日期渲染器" });
|
|
90448
90448
|
}
|
|
90449
|
-
function defaults$
|
|
90449
|
+
function defaults$A() {
|
|
90450
90450
|
return {
|
|
90451
90451
|
title: [{ locale: "zh", message: "" }],
|
|
90452
90452
|
accessor: "",
|
|
@@ -90454,7 +90454,7 @@ function defaults$z() {
|
|
|
90454
90454
|
size: 120
|
|
90455
90455
|
};
|
|
90456
90456
|
}
|
|
90457
|
-
function toColumnDef$
|
|
90457
|
+
function toColumnDef$y(value, { getLocaleText, $cel, inheritedContext }) {
|
|
90458
90458
|
return {
|
|
90459
90459
|
header: getLocaleText(value.title),
|
|
90460
90460
|
accessorFn: (row, index) => {
|
|
@@ -90475,23 +90475,23 @@ function toColumnDef$x(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
90475
90475
|
}
|
|
90476
90476
|
const __vite_glob_0_1$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
90477
90477
|
__proto__: null,
|
|
90478
|
-
compatibilityDate: compatibilityDate$
|
|
90479
|
-
defaults: defaults$
|
|
90480
|
-
metadata: metadata$
|
|
90481
|
-
schema: schema$
|
|
90482
|
-
toColumnDef: toColumnDef$
|
|
90483
|
-
type: type$
|
|
90478
|
+
compatibilityDate: compatibilityDate$Z,
|
|
90479
|
+
defaults: defaults$A,
|
|
90480
|
+
metadata: metadata$Z,
|
|
90481
|
+
schema: schema$Z,
|
|
90482
|
+
toColumnDef: toColumnDef$y,
|
|
90483
|
+
type: type$Z
|
|
90484
90484
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
90485
|
-
const type$
|
|
90486
|
-
const compatibilityDate$
|
|
90487
|
-
const metadata$
|
|
90485
|
+
const type$Y = "com.shwfed.table.column.icon";
|
|
90486
|
+
const compatibilityDate$Y = "2026-04-14";
|
|
90487
|
+
const metadata$Y = {
|
|
90488
90488
|
name: "图标",
|
|
90489
90489
|
icon: "fluent:shapes-20-regular"
|
|
90490
90490
|
};
|
|
90491
|
-
function schema$
|
|
90491
|
+
function schema$Y(configure) {
|
|
90492
90492
|
return Struct({
|
|
90493
|
-
type: Literal2(type$
|
|
90494
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
90493
|
+
type: Literal2(type$Y),
|
|
90494
|
+
compatibilityDate: Literal2(compatibilityDate$Y),
|
|
90495
90495
|
...columnFields(configure),
|
|
90496
90496
|
accessor: CelRowAccess(configure).annotations({
|
|
90497
90497
|
title: "图标",
|
|
@@ -90506,14 +90506,14 @@ function schema$X(configure) {
|
|
|
90506
90506
|
align: optionalWith(Align.annotations({ title: "对齐" }), { default: () => "center" })
|
|
90507
90507
|
}).annotations({ title: "IconRenderer", description: "图标渲染器" });
|
|
90508
90508
|
}
|
|
90509
|
-
function defaults$
|
|
90509
|
+
function defaults$z() {
|
|
90510
90510
|
return {
|
|
90511
90511
|
title: [{ locale: "zh", message: "" }],
|
|
90512
90512
|
accessor: "",
|
|
90513
90513
|
size: 120
|
|
90514
90514
|
};
|
|
90515
90515
|
}
|
|
90516
|
-
function toColumnDef$
|
|
90516
|
+
function toColumnDef$x(value, { getLocaleText, $cel, inheritedContext }) {
|
|
90517
90517
|
return {
|
|
90518
90518
|
header: getLocaleText(value.title),
|
|
90519
90519
|
accessorFn: (row, index) => {
|
|
@@ -90534,26 +90534,26 @@ function toColumnDef$w(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
90534
90534
|
}
|
|
90535
90535
|
const __vite_glob_0_2$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
90536
90536
|
__proto__: null,
|
|
90537
|
-
compatibilityDate: compatibilityDate$
|
|
90538
|
-
defaults: defaults$
|
|
90539
|
-
metadata: metadata$
|
|
90540
|
-
schema: schema$
|
|
90541
|
-
toColumnDef: toColumnDef$
|
|
90542
|
-
type: type$
|
|
90537
|
+
compatibilityDate: compatibilityDate$Y,
|
|
90538
|
+
defaults: defaults$z,
|
|
90539
|
+
metadata: metadata$Y,
|
|
90540
|
+
schema: schema$Y,
|
|
90541
|
+
toColumnDef: toColumnDef$x,
|
|
90542
|
+
type: type$Y
|
|
90543
90543
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
90544
|
-
const type$
|
|
90545
|
-
const compatibilityDate$
|
|
90546
|
-
const metadata$
|
|
90544
|
+
const type$X = "com.shwfed.table.column.markdown";
|
|
90545
|
+
const compatibilityDate$X = "2026-04-14";
|
|
90546
|
+
const metadata$X = {
|
|
90547
90547
|
name: "MD",
|
|
90548
90548
|
icon: "fluent:markdown-20-regular"
|
|
90549
90549
|
};
|
|
90550
90550
|
const isCopyExpressionType$1 = (t) => t === "string" || t === "dyn" || t.startsWith("optional");
|
|
90551
|
-
function schema$
|
|
90551
|
+
function schema$X(configure) {
|
|
90552
90552
|
const cel = CelRowAccess(configure, { resultType: isCopyExpressionType$1 });
|
|
90553
90553
|
const localeMarkdown = LocaleMarkdownWithRow(configure);
|
|
90554
90554
|
return Struct({
|
|
90555
|
-
type: Literal2(type$
|
|
90556
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
90555
|
+
type: Literal2(type$X),
|
|
90556
|
+
compatibilityDate: Literal2(compatibilityDate$X),
|
|
90557
90557
|
...columnIdentityFields(),
|
|
90558
90558
|
title: Locale.annotations({ title: "标题", description: "列标题" }),
|
|
90559
90559
|
align: optionalWith(Align.annotations({ title: "对齐" }), { default: () => "left" }),
|
|
@@ -90579,14 +90579,14 @@ function schema$W(configure) {
|
|
|
90579
90579
|
}))
|
|
90580
90580
|
}).annotations({ title: "MarkdownRenderer", description: "MD" });
|
|
90581
90581
|
}
|
|
90582
|
-
function defaults$
|
|
90582
|
+
function defaults$y() {
|
|
90583
90583
|
return {
|
|
90584
90584
|
title: [{ locale: "zh", message: "" }],
|
|
90585
90585
|
markdown: [{ locale: "zh", message: "" }],
|
|
90586
90586
|
size: 120
|
|
90587
90587
|
};
|
|
90588
90588
|
}
|
|
90589
|
-
function toColumnDef$
|
|
90589
|
+
function toColumnDef$w(value, { getLocaleText }) {
|
|
90590
90590
|
return {
|
|
90591
90591
|
header: getLocaleText(value.title),
|
|
90592
90592
|
enableSorting: false,
|
|
@@ -90599,23 +90599,23 @@ function toColumnDef$v(value, { getLocaleText }) {
|
|
|
90599
90599
|
}
|
|
90600
90600
|
const __vite_glob_0_3$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
90601
90601
|
__proto__: null,
|
|
90602
|
-
compatibilityDate: compatibilityDate$
|
|
90603
|
-
defaults: defaults$
|
|
90604
|
-
metadata: metadata$
|
|
90605
|
-
schema: schema$
|
|
90606
|
-
toColumnDef: toColumnDef$
|
|
90607
|
-
type: type$
|
|
90602
|
+
compatibilityDate: compatibilityDate$X,
|
|
90603
|
+
defaults: defaults$y,
|
|
90604
|
+
metadata: metadata$X,
|
|
90605
|
+
schema: schema$X,
|
|
90606
|
+
toColumnDef: toColumnDef$w,
|
|
90607
|
+
type: type$X
|
|
90608
90608
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
90609
|
-
const type$
|
|
90610
|
-
const compatibilityDate$
|
|
90611
|
-
const metadata$
|
|
90609
|
+
const type$W = "com.shwfed.table.column.number";
|
|
90610
|
+
const compatibilityDate$W = "2026-04-14";
|
|
90611
|
+
const metadata$W = {
|
|
90612
90612
|
name: "数值",
|
|
90613
90613
|
icon: "fluent:number-symbol-20-regular"
|
|
90614
90614
|
};
|
|
90615
|
-
function schema$
|
|
90615
|
+
function schema$W(configure) {
|
|
90616
90616
|
return Struct({
|
|
90617
|
-
type: Literal2(type$
|
|
90618
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
90617
|
+
type: Literal2(type$W),
|
|
90618
|
+
compatibilityDate: Literal2(compatibilityDate$W),
|
|
90619
90619
|
...columnFields(configure),
|
|
90620
90620
|
align: optionalWith(Align.annotations({ title: "对齐" }), { default: () => "right" }),
|
|
90621
90621
|
displayMode: optionalWith(
|
|
@@ -90635,7 +90635,7 @@ function schema$V(configure) {
|
|
|
90635
90635
|
}))
|
|
90636
90636
|
}).annotations({ title: "NumberRenderer", description: "数值渲染器" });
|
|
90637
90637
|
}
|
|
90638
|
-
function defaults$
|
|
90638
|
+
function defaults$x() {
|
|
90639
90639
|
return {
|
|
90640
90640
|
title: [{ locale: "zh", message: "" }],
|
|
90641
90641
|
accessor: "",
|
|
@@ -90643,7 +90643,7 @@ function defaults$w() {
|
|
|
90643
90643
|
align: "right"
|
|
90644
90644
|
};
|
|
90645
90645
|
}
|
|
90646
|
-
function toColumnDef$
|
|
90646
|
+
function toColumnDef$v(value, { getLocaleText, $cel, inheritedContext }) {
|
|
90647
90647
|
return {
|
|
90648
90648
|
header: getLocaleText(value.title),
|
|
90649
90649
|
accessorFn: (row, index) => {
|
|
@@ -90664,25 +90664,25 @@ function toColumnDef$u(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
90664
90664
|
}
|
|
90665
90665
|
const __vite_glob_0_4$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
90666
90666
|
__proto__: null,
|
|
90667
|
-
compatibilityDate: compatibilityDate$
|
|
90668
|
-
defaults: defaults$
|
|
90669
|
-
metadata: metadata$
|
|
90670
|
-
schema: schema$
|
|
90671
|
-
toColumnDef: toColumnDef$
|
|
90672
|
-
type: type$
|
|
90667
|
+
compatibilityDate: compatibilityDate$W,
|
|
90668
|
+
defaults: defaults$x,
|
|
90669
|
+
metadata: metadata$W,
|
|
90670
|
+
schema: schema$W,
|
|
90671
|
+
toColumnDef: toColumnDef$v,
|
|
90672
|
+
type: type$W
|
|
90673
90673
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
90674
90674
|
const __vite_glob_2_9 = {};
|
|
90675
90675
|
const _stubVue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
90676
90676
|
__proto__: null,
|
|
90677
90677
|
default: __vite_glob_2_9
|
|
90678
90678
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
90679
|
-
const type$
|
|
90680
|
-
const compatibilityDate$
|
|
90681
|
-
const metadata$
|
|
90679
|
+
const type$V = "com.shwfed.table.column.select";
|
|
90680
|
+
const compatibilityDate$V = "2026-04-14";
|
|
90681
|
+
const metadata$V = {
|
|
90682
90682
|
name: "选择",
|
|
90683
90683
|
icon: "fluent:checkbox-checked-20-regular"
|
|
90684
90684
|
};
|
|
90685
|
-
function schema$
|
|
90685
|
+
function schema$V(configure) {
|
|
90686
90686
|
const CelRowSelectionPredicate = Expression({
|
|
90687
90687
|
configure: (env) => {
|
|
90688
90688
|
configure(env);
|
|
@@ -90691,8 +90691,8 @@ function schema$U(configure) {
|
|
|
90691
90691
|
resultType: "bool"
|
|
90692
90692
|
});
|
|
90693
90693
|
return Struct({
|
|
90694
|
-
type: Literal2(type$
|
|
90695
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
90694
|
+
type: Literal2(type$V),
|
|
90695
|
+
compatibilityDate: Literal2(compatibilityDate$V),
|
|
90696
90696
|
...columnIdentityFields(),
|
|
90697
90697
|
mode: optionalWith(Literal2("radio", "checkbox").annotations({
|
|
90698
90698
|
title: "模式",
|
|
@@ -90708,12 +90708,12 @@ function schema$U(configure) {
|
|
|
90708
90708
|
})
|
|
90709
90709
|
}).annotations({ title: "SelectRenderer", description: "选择渲染器" });
|
|
90710
90710
|
}
|
|
90711
|
-
function defaults$
|
|
90711
|
+
function defaults$w() {
|
|
90712
90712
|
return {
|
|
90713
90713
|
mode: "checkbox"
|
|
90714
90714
|
};
|
|
90715
90715
|
}
|
|
90716
|
-
function toColumnDef$
|
|
90716
|
+
function toColumnDef$u(value) {
|
|
90717
90717
|
return {
|
|
90718
90718
|
header: (ctx) => vueExports.h(__vite_glob_2_9, { column: value, ctx }),
|
|
90719
90719
|
size: 40,
|
|
@@ -90724,25 +90724,25 @@ function toColumnDef$t(value) {
|
|
|
90724
90724
|
}
|
|
90725
90725
|
const __vite_glob_0_5$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
90726
90726
|
__proto__: null,
|
|
90727
|
-
compatibilityDate: compatibilityDate$
|
|
90728
|
-
defaults: defaults$
|
|
90729
|
-
metadata: metadata$
|
|
90730
|
-
schema: schema$
|
|
90731
|
-
toColumnDef: toColumnDef$
|
|
90732
|
-
type: type$
|
|
90727
|
+
compatibilityDate: compatibilityDate$V,
|
|
90728
|
+
defaults: defaults$w,
|
|
90729
|
+
metadata: metadata$V,
|
|
90730
|
+
schema: schema$V,
|
|
90731
|
+
toColumnDef: toColumnDef$u,
|
|
90732
|
+
type: type$V
|
|
90733
90733
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
90734
|
-
const type$
|
|
90735
|
-
const compatibilityDate$
|
|
90736
|
-
const metadata$
|
|
90734
|
+
const type$U = "com.shwfed.table.column.text";
|
|
90735
|
+
const compatibilityDate$U = "2026-04-14";
|
|
90736
|
+
const metadata$U = {
|
|
90737
90737
|
name: "文本",
|
|
90738
90738
|
icon: "fluent:text-field-20-regular"
|
|
90739
90739
|
};
|
|
90740
90740
|
const isCopyExpressionType = (t) => t === "string" || t === "dyn" || t.startsWith("optional");
|
|
90741
|
-
function schema$
|
|
90741
|
+
function schema$U(configure) {
|
|
90742
90742
|
const cel = CelRowAccess(configure, { resultType: isCopyExpressionType });
|
|
90743
90743
|
return Struct({
|
|
90744
|
-
type: Literal2(type$
|
|
90745
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
90744
|
+
type: Literal2(type$U),
|
|
90745
|
+
compatibilityDate: Literal2(compatibilityDate$U),
|
|
90746
90746
|
...columnFields(configure),
|
|
90747
90747
|
align: optionalWith(Align.annotations({ title: "对齐" }), { default: () => "left" }),
|
|
90748
90748
|
displayMode: optionalWith(
|
|
@@ -90758,14 +90758,14 @@ function schema$T(configure) {
|
|
|
90758
90758
|
}))
|
|
90759
90759
|
}).annotations({ title: "TextRenderer", description: "文本渲染器" });
|
|
90760
90760
|
}
|
|
90761
|
-
function defaults$
|
|
90761
|
+
function defaults$v() {
|
|
90762
90762
|
return {
|
|
90763
90763
|
title: [{ locale: "zh", message: "" }],
|
|
90764
90764
|
accessor: "",
|
|
90765
90765
|
size: 120
|
|
90766
90766
|
};
|
|
90767
90767
|
}
|
|
90768
|
-
function toColumnDef$
|
|
90768
|
+
function toColumnDef$t(value, { getLocaleText, $cel, inheritedContext }) {
|
|
90769
90769
|
return {
|
|
90770
90770
|
header: getLocaleText(value.title),
|
|
90771
90771
|
accessorFn: (row, index) => {
|
|
@@ -90787,20 +90787,20 @@ function toColumnDef$s(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
90787
90787
|
}
|
|
90788
90788
|
const __vite_glob_0_6$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
90789
90789
|
__proto__: null,
|
|
90790
|
-
compatibilityDate: compatibilityDate$
|
|
90791
|
-
defaults: defaults$
|
|
90792
|
-
metadata: metadata$
|
|
90793
|
-
schema: schema$
|
|
90794
|
-
toColumnDef: toColumnDef$
|
|
90795
|
-
type: type$
|
|
90790
|
+
compatibilityDate: compatibilityDate$U,
|
|
90791
|
+
defaults: defaults$v,
|
|
90792
|
+
metadata: metadata$U,
|
|
90793
|
+
schema: schema$U,
|
|
90794
|
+
toColumnDef: toColumnDef$t,
|
|
90795
|
+
type: type$U
|
|
90796
90796
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
90797
|
-
const type$
|
|
90798
|
-
const compatibilityDate$
|
|
90799
|
-
const metadata$
|
|
90797
|
+
const type$T = "com.shwfed.table.column.switch.remote";
|
|
90798
|
+
const compatibilityDate$T = "2026-05-13";
|
|
90799
|
+
const metadata$T = {
|
|
90800
90800
|
name: "开关(远程)",
|
|
90801
90801
|
icon: "fluent:toggle-left-20-regular"
|
|
90802
90802
|
};
|
|
90803
|
-
function schema$
|
|
90803
|
+
function schema$T(configure) {
|
|
90804
90804
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
90805
90805
|
const CelOnChange = Expression({
|
|
90806
90806
|
configure: (env) => {
|
|
@@ -90818,8 +90818,8 @@ function schema$S(configure) {
|
|
|
90818
90818
|
resultType: "string"
|
|
90819
90819
|
});
|
|
90820
90820
|
return Struct({
|
|
90821
|
-
type: Literal2(type$
|
|
90822
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
90821
|
+
type: Literal2(type$T),
|
|
90822
|
+
compatibilityDate: Literal2(compatibilityDate$T),
|
|
90823
90823
|
...columnFields(configure),
|
|
90824
90824
|
align: optionalWith(Align.annotations({ title: "对齐" }), { default: () => "center" }),
|
|
90825
90825
|
disabled: optional(CelBool.annotations({
|
|
@@ -90840,7 +90840,7 @@ function schema$S(configure) {
|
|
|
90840
90840
|
}))
|
|
90841
90841
|
}).annotations({ title: "SwitchRenderer", description: "开关渲染器(可编辑)" });
|
|
90842
90842
|
}
|
|
90843
|
-
function defaults$
|
|
90843
|
+
function defaults$u() {
|
|
90844
90844
|
return {
|
|
90845
90845
|
title: [{ locale: "zh", message: "" }],
|
|
90846
90846
|
accessor: "",
|
|
@@ -90848,18 +90848,18 @@ function defaults$t() {
|
|
|
90848
90848
|
};
|
|
90849
90849
|
}
|
|
90850
90850
|
const migrateFrom$k = [
|
|
90851
|
-
{ type: "com.shwfed.table.column.switch", compatibilityDate: compatibilityDate$
|
|
90851
|
+
{ type: "com.shwfed.table.column.switch", compatibilityDate: compatibilityDate$T }
|
|
90852
90852
|
];
|
|
90853
90853
|
const migrate$l = (prev) => try_({
|
|
90854
90854
|
try: () => {
|
|
90855
90855
|
if (!prev || typeof prev !== "object") {
|
|
90856
90856
|
throw new Error("开关(远程)迁移失败:原值不是对象");
|
|
90857
90857
|
}
|
|
90858
|
-
return { ...prev, type: type$
|
|
90858
|
+
return { ...prev, type: type$T, compatibilityDate: compatibilityDate$T };
|
|
90859
90859
|
},
|
|
90860
90860
|
catch: (e) => e instanceof Error ? e : new Error(String(e))
|
|
90861
90861
|
});
|
|
90862
|
-
function toColumnDef$
|
|
90862
|
+
function toColumnDef$s(value, { getLocaleText, $cel, inheritedContext }) {
|
|
90863
90863
|
return {
|
|
90864
90864
|
header: getLocaleText(value.title),
|
|
90865
90865
|
accessorFn: (row, index) => {
|
|
@@ -90881,22 +90881,22 @@ function toColumnDef$r(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
90881
90881
|
}
|
|
90882
90882
|
const __vite_glob_0_7$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
90883
90883
|
__proto__: null,
|
|
90884
|
-
compatibilityDate: compatibilityDate$
|
|
90885
|
-
defaults: defaults$
|
|
90886
|
-
metadata: metadata$
|
|
90884
|
+
compatibilityDate: compatibilityDate$T,
|
|
90885
|
+
defaults: defaults$u,
|
|
90886
|
+
metadata: metadata$T,
|
|
90887
90887
|
migrate: migrate$l,
|
|
90888
90888
|
migrateFrom: migrateFrom$k,
|
|
90889
|
-
schema: schema$
|
|
90890
|
-
toColumnDef: toColumnDef$
|
|
90891
|
-
type: type$
|
|
90889
|
+
schema: schema$T,
|
|
90890
|
+
toColumnDef: toColumnDef$s,
|
|
90891
|
+
type: type$T
|
|
90892
90892
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
90893
|
-
const type$
|
|
90894
|
-
const compatibilityDate$
|
|
90895
|
-
const metadata$
|
|
90893
|
+
const type$S = "com.shwfed.table.column.switch";
|
|
90894
|
+
const compatibilityDate$S = "2026-05-13";
|
|
90895
|
+
const metadata$S = {
|
|
90896
90896
|
name: "开关(远程)",
|
|
90897
90897
|
icon: "fluent:toggle-left-20-regular"
|
|
90898
90898
|
};
|
|
90899
|
-
function schema$
|
|
90899
|
+
function schema$S(configure) {
|
|
90900
90900
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
90901
90901
|
const CelOnChange = Expression({
|
|
90902
90902
|
configure: (env) => {
|
|
@@ -90914,8 +90914,8 @@ function schema$R(configure) {
|
|
|
90914
90914
|
resultType: "string"
|
|
90915
90915
|
});
|
|
90916
90916
|
return Struct({
|
|
90917
|
-
type: Literal2(type$
|
|
90918
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
90917
|
+
type: Literal2(type$S),
|
|
90918
|
+
compatibilityDate: Literal2(compatibilityDate$S),
|
|
90919
90919
|
...columnFields(configure),
|
|
90920
90920
|
align: optionalWith(Align.annotations({ title: "对齐" }), { default: () => "center" }),
|
|
90921
90921
|
disabled: optional(CelBool.annotations({
|
|
@@ -90936,7 +90936,7 @@ function schema$R(configure) {
|
|
|
90936
90936
|
}))
|
|
90937
90937
|
}).annotations({ title: "SwitchRenderer", description: "开关渲染器(可编辑)" });
|
|
90938
90938
|
}
|
|
90939
|
-
function toColumnDef$
|
|
90939
|
+
function toColumnDef$r(value, { getLocaleText, $cel, inheritedContext }) {
|
|
90940
90940
|
return {
|
|
90941
90941
|
header: getLocaleText(value.title),
|
|
90942
90942
|
accessorFn: (row, index) => {
|
|
@@ -90958,11 +90958,11 @@ function toColumnDef$q(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
90958
90958
|
}
|
|
90959
90959
|
const __vite_glob_0_8$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
90960
90960
|
__proto__: null,
|
|
90961
|
-
compatibilityDate: compatibilityDate$
|
|
90962
|
-
metadata: metadata$
|
|
90963
|
-
schema: schema$
|
|
90964
|
-
toColumnDef: toColumnDef$
|
|
90965
|
-
type: type$
|
|
90961
|
+
compatibilityDate: compatibilityDate$S,
|
|
90962
|
+
metadata: metadata$S,
|
|
90963
|
+
schema: schema$S,
|
|
90964
|
+
toColumnDef: toColumnDef$r,
|
|
90965
|
+
type: type$S
|
|
90966
90966
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
90967
90967
|
const isObject$1 = (value) => {
|
|
90968
90968
|
const type2 = typeof value;
|
|
@@ -91161,9 +91161,9 @@ function getProperty(object2, path, value) {
|
|
|
91161
91161
|
}
|
|
91162
91162
|
return object2 === void 0 ? value : object2;
|
|
91163
91163
|
}
|
|
91164
|
-
const type$
|
|
91165
|
-
const compatibilityDate$
|
|
91166
|
-
const metadata$
|
|
91164
|
+
const type$R = "com.shwfed.table.column.combobox-single";
|
|
91165
|
+
const compatibilityDate$R = "2026-05-20";
|
|
91166
|
+
const metadata$R = {
|
|
91167
91167
|
name: "下拉单选",
|
|
91168
91168
|
icon: "fluent:chevron-down-20-regular"
|
|
91169
91169
|
};
|
|
@@ -91196,12 +91196,12 @@ function itemSchema$g(configure) {
|
|
|
91196
91196
|
title: "ComboboxSingleItem"
|
|
91197
91197
|
});
|
|
91198
91198
|
}
|
|
91199
|
-
function schema$
|
|
91199
|
+
function schema$R(configure) {
|
|
91200
91200
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
91201
91201
|
const Item = itemSchema$g(configure);
|
|
91202
91202
|
return Struct({
|
|
91203
|
-
type: Literal2(type$
|
|
91204
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
91203
|
+
type: Literal2(type$R),
|
|
91204
|
+
compatibilityDate: Literal2(compatibilityDate$R),
|
|
91205
91205
|
...editableColumnFields(),
|
|
91206
91206
|
placeholder: optional(Locale.annotations({
|
|
91207
91207
|
title: "占位符",
|
|
@@ -91226,7 +91226,7 @@ function schema$Q(configure) {
|
|
|
91226
91226
|
}), { default: () => [] })
|
|
91227
91227
|
}).annotations({ title: "ComboboxSingleRenderer", description: "下拉单选渲染器(可编辑)" });
|
|
91228
91228
|
}
|
|
91229
|
-
function toColumnDef$
|
|
91229
|
+
function toColumnDef$q(value, { getLocaleText }) {
|
|
91230
91230
|
return {
|
|
91231
91231
|
header: editableHeader(getLocaleText(value.title)),
|
|
91232
91232
|
// `binding` is a dot-prop path (validated non-empty); the cell renderer
|
|
@@ -91249,25 +91249,40 @@ function toColumnDef$p(value, { getLocaleText }) {
|
|
|
91249
91249
|
}
|
|
91250
91250
|
const __vite_glob_0_9$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
91251
91251
|
__proto__: null,
|
|
91252
|
-
compatibilityDate: compatibilityDate$
|
|
91252
|
+
compatibilityDate: compatibilityDate$R,
|
|
91253
91253
|
itemSchema: itemSchema$g,
|
|
91254
|
-
metadata: metadata$
|
|
91255
|
-
schema: schema$
|
|
91256
|
-
toColumnDef: toColumnDef$
|
|
91257
|
-
type: type$
|
|
91254
|
+
metadata: metadata$R,
|
|
91255
|
+
schema: schema$R,
|
|
91256
|
+
toColumnDef: toColumnDef$q,
|
|
91257
|
+
type: type$R
|
|
91258
91258
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
91259
|
-
const type$
|
|
91260
|
-
const compatibilityDate$
|
|
91261
|
-
const metadata$
|
|
91259
|
+
const type$Q = "com.shwfed.table.column.number-input";
|
|
91260
|
+
const compatibilityDate$Q = "2026-05-20";
|
|
91261
|
+
const metadata$Q = {
|
|
91262
91262
|
name: "数值输入",
|
|
91263
91263
|
icon: "fluent:number-symbol-20-regular"
|
|
91264
91264
|
};
|
|
91265
|
-
function
|
|
91265
|
+
function AddonActions$1(configure) {
|
|
91266
|
+
const configureWithRow2 = (env) => {
|
|
91267
|
+
configure(env);
|
|
91268
|
+
registerRowVariablesIfAbsent(env);
|
|
91269
|
+
};
|
|
91270
|
+
const { groups, items: items2, ...rest } = ActionSchemaFields(configureWithRow2).fields;
|
|
91271
|
+
return Struct({
|
|
91272
|
+
...rest,
|
|
91273
|
+
groups: optionalWith(groups, { default: () => [] }),
|
|
91274
|
+
items: optionalWith(items2, { default: () => [] })
|
|
91275
|
+
}).annotations({
|
|
91276
|
+
title: "输入框内按钮",
|
|
91277
|
+
description: "在输入框右侧内嵌一组操作按钮"
|
|
91278
|
+
});
|
|
91279
|
+
}
|
|
91280
|
+
function schema$Q(configure) {
|
|
91266
91281
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
91267
91282
|
const CelNumber = CelRowAccess(configure, { resultType: "number" });
|
|
91268
91283
|
return Struct({
|
|
91269
|
-
type: Literal2(type$
|
|
91270
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
91284
|
+
type: Literal2(type$Q),
|
|
91285
|
+
compatibilityDate: Literal2(compatibilityDate$Q),
|
|
91271
91286
|
...editableColumnFields(),
|
|
91272
91287
|
placeholder: optional(Locale.annotations({
|
|
91273
91288
|
title: "占位符",
|
|
@@ -91309,17 +91324,18 @@ function schema$P(configure) {
|
|
|
91309
91324
|
title: "最大值",
|
|
91310
91325
|
description: "允许输入的最大值表达式,可访问 `row` / `index` 和 `form`;留空时不限制上限"
|
|
91311
91326
|
})),
|
|
91312
|
-
derived: derivedRowField(configure, "number")
|
|
91327
|
+
derived: derivedRowField(configure, "number"),
|
|
91328
|
+
addon: optional(AddonActions$1(configure))
|
|
91313
91329
|
}).annotations({ title: "NumberInputRenderer", description: "数值输入渲染器(可编辑)" });
|
|
91314
91330
|
}
|
|
91315
|
-
function defaults$
|
|
91331
|
+
function defaults$t() {
|
|
91316
91332
|
return {
|
|
91317
91333
|
title: [{ locale: "zh", message: "" }],
|
|
91318
91334
|
binding: "",
|
|
91319
91335
|
size: 120
|
|
91320
91336
|
};
|
|
91321
91337
|
}
|
|
91322
|
-
function toColumnDef$
|
|
91338
|
+
function toColumnDef$p(value, { getLocaleText }) {
|
|
91323
91339
|
return {
|
|
91324
91340
|
header: editableHeader(getLocaleText(value.title)),
|
|
91325
91341
|
// `binding` is a dot-prop path (validated non-empty); the cell renderer
|
|
@@ -91342,24 +91358,24 @@ function toColumnDef$o(value, { getLocaleText }) {
|
|
|
91342
91358
|
}
|
|
91343
91359
|
const __vite_glob_0_10 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
91344
91360
|
__proto__: null,
|
|
91345
|
-
compatibilityDate: compatibilityDate$
|
|
91346
|
-
defaults: defaults$
|
|
91347
|
-
metadata: metadata$
|
|
91348
|
-
schema: schema$
|
|
91349
|
-
toColumnDef: toColumnDef$
|
|
91350
|
-
type: type$
|
|
91361
|
+
compatibilityDate: compatibilityDate$Q,
|
|
91362
|
+
defaults: defaults$t,
|
|
91363
|
+
metadata: metadata$Q,
|
|
91364
|
+
schema: schema$Q,
|
|
91365
|
+
toColumnDef: toColumnDef$p,
|
|
91366
|
+
type: type$Q
|
|
91351
91367
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
91352
|
-
const type$
|
|
91353
|
-
const compatibilityDate$
|
|
91354
|
-
const metadata$
|
|
91368
|
+
const type$P = "com.shwfed.table.column.switch.local";
|
|
91369
|
+
const compatibilityDate$P = "2026-05-20";
|
|
91370
|
+
const metadata$P = {
|
|
91355
91371
|
name: "开关",
|
|
91356
91372
|
icon: "fluent:toggle-left-20-regular"
|
|
91357
91373
|
};
|
|
91358
|
-
function schema$
|
|
91374
|
+
function schema$P(configure) {
|
|
91359
91375
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
91360
91376
|
return Struct({
|
|
91361
|
-
type: Literal2(type$
|
|
91362
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
91377
|
+
type: Literal2(type$P),
|
|
91378
|
+
compatibilityDate: Literal2(compatibilityDate$P),
|
|
91363
91379
|
...editableColumnFields(),
|
|
91364
91380
|
hidden: optional(CelBool.annotations({
|
|
91365
91381
|
title: "隐藏条件",
|
|
@@ -91384,7 +91400,7 @@ function schema$O(configure) {
|
|
|
91384
91400
|
derived: derivedRowField(configure, "bool")
|
|
91385
91401
|
}).annotations({ title: "SwitchRenderer", description: "开关渲染器(可编辑、本地)" });
|
|
91386
91402
|
}
|
|
91387
|
-
function defaults$
|
|
91403
|
+
function defaults$s() {
|
|
91388
91404
|
return {
|
|
91389
91405
|
title: [{ locale: "zh", message: "" }],
|
|
91390
91406
|
binding: "",
|
|
@@ -91392,18 +91408,18 @@ function defaults$r() {
|
|
|
91392
91408
|
};
|
|
91393
91409
|
}
|
|
91394
91410
|
const migrateFrom$j = [
|
|
91395
|
-
{ type: "com.shwfed.table.column.switch", compatibilityDate: compatibilityDate$
|
|
91411
|
+
{ type: "com.shwfed.table.column.switch", compatibilityDate: compatibilityDate$P }
|
|
91396
91412
|
];
|
|
91397
91413
|
const migrate$k = (prev) => try_({
|
|
91398
91414
|
try: () => {
|
|
91399
91415
|
if (!prev || typeof prev !== "object") {
|
|
91400
91416
|
throw new Error("开关(本地)迁移失败:原值不是对象");
|
|
91401
91417
|
}
|
|
91402
|
-
return { ...prev, type: type$
|
|
91418
|
+
return { ...prev, type: type$P, compatibilityDate: compatibilityDate$P };
|
|
91403
91419
|
},
|
|
91404
91420
|
catch: (e) => e instanceof Error ? e : new Error(String(e))
|
|
91405
91421
|
});
|
|
91406
|
-
function toColumnDef$
|
|
91422
|
+
function toColumnDef$o(value, { getLocaleText }) {
|
|
91407
91423
|
return {
|
|
91408
91424
|
header: editableHeader(getLocaleText(value.title)),
|
|
91409
91425
|
// `binding` is a dot-prop path (validated non-empty); the cell renderer
|
|
@@ -91425,26 +91441,26 @@ function toColumnDef$n(value, { getLocaleText }) {
|
|
|
91425
91441
|
}
|
|
91426
91442
|
const __vite_glob_0_11 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
91427
91443
|
__proto__: null,
|
|
91428
|
-
compatibilityDate: compatibilityDate$
|
|
91429
|
-
defaults: defaults$
|
|
91430
|
-
metadata: metadata$
|
|
91444
|
+
compatibilityDate: compatibilityDate$P,
|
|
91445
|
+
defaults: defaults$s,
|
|
91446
|
+
metadata: metadata$P,
|
|
91431
91447
|
migrate: migrate$k,
|
|
91432
91448
|
migrateFrom: migrateFrom$j,
|
|
91433
|
-
schema: schema$
|
|
91434
|
-
toColumnDef: toColumnDef$
|
|
91435
|
-
type: type$
|
|
91449
|
+
schema: schema$P,
|
|
91450
|
+
toColumnDef: toColumnDef$o,
|
|
91451
|
+
type: type$P
|
|
91436
91452
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
91437
|
-
const type$
|
|
91438
|
-
const compatibilityDate$
|
|
91439
|
-
const metadata$
|
|
91453
|
+
const type$O = "com.shwfed.table.column.switch";
|
|
91454
|
+
const compatibilityDate$O = "2026-05-20";
|
|
91455
|
+
const metadata$O = {
|
|
91440
91456
|
name: "开关",
|
|
91441
91457
|
icon: "fluent:toggle-left-20-regular"
|
|
91442
91458
|
};
|
|
91443
|
-
function schema$
|
|
91459
|
+
function schema$O(configure) {
|
|
91444
91460
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
91445
91461
|
return Struct({
|
|
91446
|
-
type: Literal2(type$
|
|
91447
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
91462
|
+
type: Literal2(type$O),
|
|
91463
|
+
compatibilityDate: Literal2(compatibilityDate$O),
|
|
91448
91464
|
...editableColumnFields(),
|
|
91449
91465
|
hidden: optional(CelBool.annotations({
|
|
91450
91466
|
title: "隐藏条件",
|
|
@@ -91469,7 +91485,7 @@ function schema$N(configure) {
|
|
|
91469
91485
|
derived: derivedRowField(configure, "bool")
|
|
91470
91486
|
}).annotations({ title: "SwitchRenderer", description: "开关渲染器(可编辑、本地)" });
|
|
91471
91487
|
}
|
|
91472
|
-
function toColumnDef$
|
|
91488
|
+
function toColumnDef$n(value, { getLocaleText }) {
|
|
91473
91489
|
return {
|
|
91474
91490
|
header: editableHeader(getLocaleText(value.title)),
|
|
91475
91491
|
// `binding` is a dot-prop path (validated non-empty); the cell renderer
|
|
@@ -91491,23 +91507,38 @@ function toColumnDef$m(value, { getLocaleText }) {
|
|
|
91491
91507
|
}
|
|
91492
91508
|
const __vite_glob_0_12 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
91493
91509
|
__proto__: null,
|
|
91494
|
-
compatibilityDate: compatibilityDate$
|
|
91495
|
-
metadata: metadata$
|
|
91496
|
-
schema: schema$
|
|
91497
|
-
toColumnDef: toColumnDef$
|
|
91498
|
-
type: type$
|
|
91510
|
+
compatibilityDate: compatibilityDate$O,
|
|
91511
|
+
metadata: metadata$O,
|
|
91512
|
+
schema: schema$O,
|
|
91513
|
+
toColumnDef: toColumnDef$n,
|
|
91514
|
+
type: type$O
|
|
91499
91515
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
91500
|
-
const type$
|
|
91501
|
-
const compatibilityDate$
|
|
91502
|
-
const metadata$
|
|
91516
|
+
const type$N = "com.shwfed.table.column.text-input";
|
|
91517
|
+
const compatibilityDate$N = "2026-05-20";
|
|
91518
|
+
const metadata$N = {
|
|
91503
91519
|
name: "文本输入",
|
|
91504
91520
|
icon: "fluent:text-field-20-regular"
|
|
91505
91521
|
};
|
|
91506
|
-
function
|
|
91522
|
+
function AddonActions(configure) {
|
|
91523
|
+
const configureWithRow2 = (env) => {
|
|
91524
|
+
configure(env);
|
|
91525
|
+
registerRowVariablesIfAbsent(env);
|
|
91526
|
+
};
|
|
91527
|
+
const { groups, items: items2, ...rest } = ActionSchemaFields(configureWithRow2).fields;
|
|
91528
|
+
return Struct({
|
|
91529
|
+
...rest,
|
|
91530
|
+
groups: optionalWith(groups, { default: () => [] }),
|
|
91531
|
+
items: optionalWith(items2, { default: () => [] })
|
|
91532
|
+
}).annotations({
|
|
91533
|
+
title: "输入框内按钮",
|
|
91534
|
+
description: "在输入框右侧内嵌一组操作按钮"
|
|
91535
|
+
});
|
|
91536
|
+
}
|
|
91537
|
+
function schema$N(configure) {
|
|
91507
91538
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
91508
91539
|
return Struct({
|
|
91509
|
-
type: Literal2(type$
|
|
91510
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
91540
|
+
type: Literal2(type$N),
|
|
91541
|
+
compatibilityDate: Literal2(compatibilityDate$N),
|
|
91511
91542
|
...editableColumnFields(),
|
|
91512
91543
|
placeholder: optional(Locale.annotations({
|
|
91513
91544
|
title: "占位符",
|
|
@@ -91525,17 +91556,18 @@ function schema$M(configure) {
|
|
|
91525
91556
|
title: "只读条件",
|
|
91526
91557
|
description: "返回 `true` 时仅以纯文本展示当前值"
|
|
91527
91558
|
})),
|
|
91528
|
-
derived: derivedRowField(configure, "string")
|
|
91559
|
+
derived: derivedRowField(configure, "string"),
|
|
91560
|
+
addon: optional(AddonActions(configure))
|
|
91529
91561
|
}).annotations({ title: "TextInputRenderer", description: "文本输入渲染器(可编辑)" });
|
|
91530
91562
|
}
|
|
91531
|
-
function defaults$
|
|
91563
|
+
function defaults$r() {
|
|
91532
91564
|
return {
|
|
91533
91565
|
title: [{ locale: "zh", message: "" }],
|
|
91534
91566
|
binding: "",
|
|
91535
91567
|
size: 120
|
|
91536
91568
|
};
|
|
91537
91569
|
}
|
|
91538
|
-
function toColumnDef$
|
|
91570
|
+
function toColumnDef$m(value, { getLocaleText }) {
|
|
91539
91571
|
return {
|
|
91540
91572
|
header: editableHeader(getLocaleText(value.title)),
|
|
91541
91573
|
// `binding` is a dot-prop path (validated non-empty); the cell renderer
|
|
@@ -91555,12 +91587,12 @@ function toColumnDef$l(value, { getLocaleText }) {
|
|
|
91555
91587
|
}
|
|
91556
91588
|
const __vite_glob_0_13 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
91557
91589
|
__proto__: null,
|
|
91558
|
-
compatibilityDate: compatibilityDate$
|
|
91559
|
-
defaults: defaults$
|
|
91560
|
-
metadata: metadata$
|
|
91561
|
-
schema: schema$
|
|
91562
|
-
toColumnDef: toColumnDef$
|
|
91563
|
-
type: type$
|
|
91590
|
+
compatibilityDate: compatibilityDate$N,
|
|
91591
|
+
defaults: defaults$r,
|
|
91592
|
+
metadata: metadata$N,
|
|
91593
|
+
schema: schema$N,
|
|
91594
|
+
toColumnDef: toColumnDef$m,
|
|
91595
|
+
type: type$N
|
|
91564
91596
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
91565
91597
|
const matchIconName = /^[a-z0-9]+(-[a-z0-9]+)*$/;
|
|
91566
91598
|
const stringToIcon = (value, validate2, allowSimpleName, provider = "") => {
|
|
@@ -92944,20 +92976,20 @@ const Icon = vueExports.defineComponent((props, { emit }) => {
|
|
|
92944
92976
|
],
|
|
92945
92977
|
emits: ["load"]
|
|
92946
92978
|
});
|
|
92947
|
-
const type$
|
|
92948
|
-
const compatibilityDate$
|
|
92949
|
-
const metadata$
|
|
92979
|
+
const type$M = "com.shwfed.table.column.drag-handle";
|
|
92980
|
+
const compatibilityDate$M = "2026-05-21";
|
|
92981
|
+
const metadata$M = {
|
|
92950
92982
|
name: "拖拽",
|
|
92951
92983
|
icon: "fluent:re-order-dots-vertical-20-regular"
|
|
92952
92984
|
};
|
|
92953
|
-
function schema$
|
|
92985
|
+
function schema$M(_configure) {
|
|
92954
92986
|
return Struct({
|
|
92955
|
-
type: Literal2(type$
|
|
92956
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
92987
|
+
type: Literal2(type$M),
|
|
92988
|
+
compatibilityDate: Literal2(compatibilityDate$M),
|
|
92957
92989
|
...columnIdentityFields()
|
|
92958
92990
|
}).annotations({ title: "DragHandleRenderer", description: "行拖拽手柄列" });
|
|
92959
92991
|
}
|
|
92960
|
-
function toColumnDef$
|
|
92992
|
+
function toColumnDef$l(_value) {
|
|
92961
92993
|
return {
|
|
92962
92994
|
header: () => vueExports.h(Icon, {
|
|
92963
92995
|
"icon": "fluent:re-order-dots-vertical-20-regular",
|
|
@@ -92973,15 +93005,15 @@ function toColumnDef$k(_value) {
|
|
|
92973
93005
|
}
|
|
92974
93006
|
const __vite_glob_0_14 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
92975
93007
|
__proto__: null,
|
|
92976
|
-
compatibilityDate: compatibilityDate$
|
|
92977
|
-
metadata: metadata$
|
|
92978
|
-
schema: schema$
|
|
92979
|
-
toColumnDef: toColumnDef$
|
|
92980
|
-
type: type$
|
|
93008
|
+
compatibilityDate: compatibilityDate$M,
|
|
93009
|
+
metadata: metadata$M,
|
|
93010
|
+
schema: schema$M,
|
|
93011
|
+
toColumnDef: toColumnDef$l,
|
|
93012
|
+
type: type$M
|
|
92981
93013
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
92982
|
-
const type$
|
|
92983
|
-
const compatibilityDate$
|
|
92984
|
-
const metadata$
|
|
93014
|
+
const type$L = "com.shwfed.table.column.combobox-single.remote.options-remote";
|
|
93015
|
+
const compatibilityDate$L = "2026-05-24";
|
|
93016
|
+
const metadata$L = {
|
|
92985
93017
|
name: "远程下拉单选",
|
|
92986
93018
|
icon: "fluent:cloud-arrow-down-20-regular"
|
|
92987
93019
|
};
|
|
@@ -92996,7 +93028,7 @@ const JSON_VAR$3 = {
|
|
|
92996
93028
|
description: "HTTP 响应体(已解析 JSON);请求失败或尚未完成时为 `null`"
|
|
92997
93029
|
};
|
|
92998
93030
|
const isListType$f = (actual) => actual === "dyn" || actual.startsWith("list");
|
|
92999
|
-
function schema$
|
|
93031
|
+
function schema$L(configure) {
|
|
93000
93032
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
93001
93033
|
const CelRequest = Expression({
|
|
93002
93034
|
configure: (env) => {
|
|
@@ -93044,8 +93076,8 @@ function schema$K(configure) {
|
|
|
93044
93076
|
resultType: "string"
|
|
93045
93077
|
});
|
|
93046
93078
|
return Struct({
|
|
93047
|
-
type: Literal2(type$
|
|
93048
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
93079
|
+
type: Literal2(type$L),
|
|
93080
|
+
compatibilityDate: Literal2(compatibilityDate$L),
|
|
93049
93081
|
...columnFields(configure),
|
|
93050
93082
|
placeholder: optional(Locale.annotations({
|
|
93051
93083
|
title: "占位符",
|
|
@@ -93096,7 +93128,7 @@ function schema$K(configure) {
|
|
|
93096
93128
|
description: "下拉单选渲染器(远程写入·远程选项)"
|
|
93097
93129
|
});
|
|
93098
93130
|
}
|
|
93099
|
-
function toColumnDef$
|
|
93131
|
+
function toColumnDef$k(value, { getLocaleText, $cel, inheritedContext }) {
|
|
93100
93132
|
return {
|
|
93101
93133
|
header: editableHeader(getLocaleText(value.title)),
|
|
93102
93134
|
accessorFn: (row, index) => {
|
|
@@ -93120,15 +93152,15 @@ const __vite_glob_0_15 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.de
|
|
|
93120
93152
|
__proto__: null,
|
|
93121
93153
|
JSON_VAR: JSON_VAR$3,
|
|
93122
93154
|
OPTION_VAR: OPTION_VAR$1,
|
|
93123
|
-
compatibilityDate: compatibilityDate$
|
|
93124
|
-
metadata: metadata$
|
|
93125
|
-
schema: schema$
|
|
93126
|
-
toColumnDef: toColumnDef$
|
|
93127
|
-
type: type$
|
|
93155
|
+
compatibilityDate: compatibilityDate$L,
|
|
93156
|
+
metadata: metadata$L,
|
|
93157
|
+
schema: schema$L,
|
|
93158
|
+
toColumnDef: toColumnDef$k,
|
|
93159
|
+
type: type$L
|
|
93128
93160
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
93129
|
-
const type$
|
|
93130
|
-
const compatibilityDate$
|
|
93131
|
-
const metadata$
|
|
93161
|
+
const type$K = "com.shwfed.table.column.combobox-single.remote.options-static";
|
|
93162
|
+
const compatibilityDate$K = "2026-05-24";
|
|
93163
|
+
const metadata$K = {
|
|
93132
93164
|
name: "下拉单选",
|
|
93133
93165
|
icon: "fluent:chevron-down-20-regular"
|
|
93134
93166
|
};
|
|
@@ -93161,7 +93193,7 @@ function itemSchema$f(configure) {
|
|
|
93161
93193
|
title: "ComboboxSingleRemoteOptionsStaticItem"
|
|
93162
93194
|
});
|
|
93163
93195
|
}
|
|
93164
|
-
function schema$
|
|
93196
|
+
function schema$K(configure) {
|
|
93165
93197
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
93166
93198
|
const Item = itemSchema$f(configure);
|
|
93167
93199
|
const CelOnChange = Expression({
|
|
@@ -93180,8 +93212,8 @@ function schema$J(configure) {
|
|
|
93180
93212
|
resultType: "string"
|
|
93181
93213
|
});
|
|
93182
93214
|
return Struct({
|
|
93183
|
-
type: Literal2(type$
|
|
93184
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
93215
|
+
type: Literal2(type$K),
|
|
93216
|
+
compatibilityDate: Literal2(compatibilityDate$K),
|
|
93185
93217
|
...columnFields(configure),
|
|
93186
93218
|
placeholder: optional(Locale.annotations({
|
|
93187
93219
|
title: "占位符",
|
|
@@ -93220,7 +93252,7 @@ function schema$J(configure) {
|
|
|
93220
93252
|
description: "下拉单选渲染器(远程写入·静态选项)"
|
|
93221
93253
|
});
|
|
93222
93254
|
}
|
|
93223
|
-
function toColumnDef$
|
|
93255
|
+
function toColumnDef$j(value, { getLocaleText, $cel, inheritedContext }) {
|
|
93224
93256
|
return {
|
|
93225
93257
|
header: editableHeader(getLocaleText(value.title)),
|
|
93226
93258
|
accessorFn: (row, index) => {
|
|
@@ -93242,16 +93274,16 @@ function toColumnDef$i(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
93242
93274
|
}
|
|
93243
93275
|
const __vite_glob_0_16 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
93244
93276
|
__proto__: null,
|
|
93245
|
-
compatibilityDate: compatibilityDate$
|
|
93277
|
+
compatibilityDate: compatibilityDate$K,
|
|
93246
93278
|
itemSchema: itemSchema$f,
|
|
93247
|
-
metadata: metadata$
|
|
93248
|
-
schema: schema$
|
|
93249
|
-
toColumnDef: toColumnDef$
|
|
93250
|
-
type: type$
|
|
93279
|
+
metadata: metadata$K,
|
|
93280
|
+
schema: schema$K,
|
|
93281
|
+
toColumnDef: toColumnDef$j,
|
|
93282
|
+
type: type$K
|
|
93251
93283
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
93252
|
-
const type$
|
|
93253
|
-
const compatibilityDate$
|
|
93254
|
-
const metadata$
|
|
93284
|
+
const type$J = "com.shwfed.table.column.combobox-multi.remote.options-remote";
|
|
93285
|
+
const compatibilityDate$J = "2026-05-25";
|
|
93286
|
+
const metadata$J = {
|
|
93255
93287
|
name: "远程下拉多选",
|
|
93256
93288
|
icon: "fluent:cloud-arrow-down-20-regular"
|
|
93257
93289
|
};
|
|
@@ -93266,7 +93298,7 @@ const JSON_VAR$2 = {
|
|
|
93266
93298
|
description: "HTTP 响应体(已解析 JSON);请求失败或尚未完成时为 `null`"
|
|
93267
93299
|
};
|
|
93268
93300
|
const isListType$e = (actual) => actual === "dyn" || actual.startsWith("list");
|
|
93269
|
-
function schema$
|
|
93301
|
+
function schema$J(configure) {
|
|
93270
93302
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
93271
93303
|
const CelRequest = Expression({
|
|
93272
93304
|
configure: (env) => {
|
|
@@ -93314,8 +93346,8 @@ function schema$I(configure) {
|
|
|
93314
93346
|
resultType: "string"
|
|
93315
93347
|
});
|
|
93316
93348
|
return Struct({
|
|
93317
|
-
type: Literal2(type$
|
|
93318
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
93349
|
+
type: Literal2(type$J),
|
|
93350
|
+
compatibilityDate: Literal2(compatibilityDate$J),
|
|
93319
93351
|
...columnFields(configure),
|
|
93320
93352
|
placeholder: optional(Locale.annotations({
|
|
93321
93353
|
title: "占位符",
|
|
@@ -93366,7 +93398,7 @@ function schema$I(configure) {
|
|
|
93366
93398
|
description: "下拉多选渲染器(远程写入·远程选项)"
|
|
93367
93399
|
});
|
|
93368
93400
|
}
|
|
93369
|
-
function toColumnDef$
|
|
93401
|
+
function toColumnDef$i(value, { getLocaleText, $cel, inheritedContext }) {
|
|
93370
93402
|
return {
|
|
93371
93403
|
header: editableHeader(getLocaleText(value.title)),
|
|
93372
93404
|
accessorFn: (row, index) => {
|
|
@@ -93390,15 +93422,15 @@ const __vite_glob_0_17 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.de
|
|
|
93390
93422
|
__proto__: null,
|
|
93391
93423
|
JSON_VAR: JSON_VAR$2,
|
|
93392
93424
|
OPTION_VAR,
|
|
93393
|
-
compatibilityDate: compatibilityDate$
|
|
93394
|
-
metadata: metadata$
|
|
93395
|
-
schema: schema$
|
|
93396
|
-
toColumnDef: toColumnDef$
|
|
93397
|
-
type: type$
|
|
93425
|
+
compatibilityDate: compatibilityDate$J,
|
|
93426
|
+
metadata: metadata$J,
|
|
93427
|
+
schema: schema$J,
|
|
93428
|
+
toColumnDef: toColumnDef$i,
|
|
93429
|
+
type: type$J
|
|
93398
93430
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
93399
|
-
const type$
|
|
93400
|
-
const compatibilityDate$
|
|
93401
|
-
const metadata$
|
|
93431
|
+
const type$I = "com.shwfed.table.column.combobox-multi.remote.options-static";
|
|
93432
|
+
const compatibilityDate$I = "2026-05-25";
|
|
93433
|
+
const metadata$I = {
|
|
93402
93434
|
name: "下拉多选",
|
|
93403
93435
|
icon: "fluent:chevron-down-20-regular"
|
|
93404
93436
|
};
|
|
@@ -93431,7 +93463,7 @@ function itemSchema$e(configure) {
|
|
|
93431
93463
|
title: "ComboboxMultiRemoteOptionsStaticItem"
|
|
93432
93464
|
});
|
|
93433
93465
|
}
|
|
93434
|
-
function schema$
|
|
93466
|
+
function schema$I(configure) {
|
|
93435
93467
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
93436
93468
|
const Item = itemSchema$e(configure);
|
|
93437
93469
|
const CelOnChange = Expression({
|
|
@@ -93450,8 +93482,8 @@ function schema$H(configure) {
|
|
|
93450
93482
|
resultType: "string"
|
|
93451
93483
|
});
|
|
93452
93484
|
return Struct({
|
|
93453
|
-
type: Literal2(type$
|
|
93454
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
93485
|
+
type: Literal2(type$I),
|
|
93486
|
+
compatibilityDate: Literal2(compatibilityDate$I),
|
|
93455
93487
|
...columnFields(configure),
|
|
93456
93488
|
placeholder: optional(Locale.annotations({
|
|
93457
93489
|
title: "占位符",
|
|
@@ -93490,7 +93522,7 @@ function schema$H(configure) {
|
|
|
93490
93522
|
description: "下拉多选渲染器(远程写入·静态选项)"
|
|
93491
93523
|
});
|
|
93492
93524
|
}
|
|
93493
|
-
function toColumnDef$
|
|
93525
|
+
function toColumnDef$h(value, { getLocaleText, $cel, inheritedContext }) {
|
|
93494
93526
|
return {
|
|
93495
93527
|
header: editableHeader(getLocaleText(value.title)),
|
|
93496
93528
|
accessorFn: (row, index) => {
|
|
@@ -93512,16 +93544,16 @@ function toColumnDef$g(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
93512
93544
|
}
|
|
93513
93545
|
const __vite_glob_0_18 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
93514
93546
|
__proto__: null,
|
|
93515
|
-
compatibilityDate: compatibilityDate$
|
|
93547
|
+
compatibilityDate: compatibilityDate$I,
|
|
93516
93548
|
itemSchema: itemSchema$e,
|
|
93517
|
-
metadata: metadata$
|
|
93518
|
-
schema: schema$
|
|
93519
|
-
toColumnDef: toColumnDef$
|
|
93520
|
-
type: type$
|
|
93549
|
+
metadata: metadata$I,
|
|
93550
|
+
schema: schema$I,
|
|
93551
|
+
toColumnDef: toColumnDef$h,
|
|
93552
|
+
type: type$I
|
|
93521
93553
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
93522
|
-
const type$
|
|
93523
|
-
const compatibilityDate$
|
|
93524
|
-
const metadata$
|
|
93554
|
+
const type$H = "com.shwfed.table.column.combobox-multi";
|
|
93555
|
+
const compatibilityDate$H = "2026-05-25";
|
|
93556
|
+
const metadata$H = {
|
|
93525
93557
|
name: "下拉多选",
|
|
93526
93558
|
icon: "fluent:chevron-down-20-regular"
|
|
93527
93559
|
};
|
|
@@ -93554,12 +93586,12 @@ function itemSchema$d(configure) {
|
|
|
93554
93586
|
title: "ComboboxMultiItem"
|
|
93555
93587
|
});
|
|
93556
93588
|
}
|
|
93557
|
-
function schema$
|
|
93589
|
+
function schema$H(configure) {
|
|
93558
93590
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
93559
93591
|
const Item = itemSchema$d(configure);
|
|
93560
93592
|
return Struct({
|
|
93561
|
-
type: Literal2(type$
|
|
93562
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
93593
|
+
type: Literal2(type$H),
|
|
93594
|
+
compatibilityDate: Literal2(compatibilityDate$H),
|
|
93563
93595
|
...editableColumnFields(),
|
|
93564
93596
|
placeholder: optional(Locale.annotations({
|
|
93565
93597
|
title: "占位符",
|
|
@@ -93584,7 +93616,7 @@ function schema$G(configure) {
|
|
|
93584
93616
|
}), { default: () => [] })
|
|
93585
93617
|
}).annotations({ title: "ComboboxMultiRenderer", description: "下拉多选渲染器(可编辑)" });
|
|
93586
93618
|
}
|
|
93587
|
-
function toColumnDef$
|
|
93619
|
+
function toColumnDef$g(value, { getLocaleText }) {
|
|
93588
93620
|
return {
|
|
93589
93621
|
header: editableHeader(getLocaleText(value.title)),
|
|
93590
93622
|
// `binding` is a dot-prop path; the cell renderer reads through the same
|
|
@@ -93605,16 +93637,16 @@ function toColumnDef$f(value, { getLocaleText }) {
|
|
|
93605
93637
|
}
|
|
93606
93638
|
const __vite_glob_0_19 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
93607
93639
|
__proto__: null,
|
|
93608
|
-
compatibilityDate: compatibilityDate$
|
|
93640
|
+
compatibilityDate: compatibilityDate$H,
|
|
93609
93641
|
itemSchema: itemSchema$d,
|
|
93610
|
-
metadata: metadata$
|
|
93611
|
-
schema: schema$
|
|
93612
|
-
toColumnDef: toColumnDef$
|
|
93613
|
-
type: type$
|
|
93642
|
+
metadata: metadata$H,
|
|
93643
|
+
schema: schema$H,
|
|
93644
|
+
toColumnDef: toColumnDef$g,
|
|
93645
|
+
type: type$H
|
|
93614
93646
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
93615
|
-
const type$
|
|
93616
|
-
const compatibilityDate$
|
|
93617
|
-
const metadata$
|
|
93647
|
+
const type$G = "com.shwfed.table.column.combobox-multi.remote";
|
|
93648
|
+
const compatibilityDate$G = "2026-05-26";
|
|
93649
|
+
const metadata$G = {
|
|
93618
93650
|
name: "多选(远程)",
|
|
93619
93651
|
icon: "fluent:cloud-arrow-up-20-regular"
|
|
93620
93652
|
};
|
|
@@ -93714,7 +93746,7 @@ function optionsSchema$b(configure) {
|
|
|
93714
93746
|
description: '选项可以是静态配置(`kind: "static"`)或由远程接口加载(`kind: "remote"`)'
|
|
93715
93747
|
});
|
|
93716
93748
|
}
|
|
93717
|
-
function schema$
|
|
93749
|
+
function schema$G(configure) {
|
|
93718
93750
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
93719
93751
|
const Options = optionsSchema$b(configure);
|
|
93720
93752
|
const CelOnChange = Expression({
|
|
@@ -93733,8 +93765,8 @@ function schema$F(configure) {
|
|
|
93733
93765
|
resultType: "string"
|
|
93734
93766
|
});
|
|
93735
93767
|
return Struct({
|
|
93736
|
-
type: Literal2(type$
|
|
93737
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
93768
|
+
type: Literal2(type$G),
|
|
93769
|
+
compatibilityDate: Literal2(compatibilityDate$G),
|
|
93738
93770
|
...columnFields(configure),
|
|
93739
93771
|
placeholder: optional(Locale.annotations({
|
|
93740
93772
|
title: "占位符",
|
|
@@ -93788,8 +93820,8 @@ const migrate$j = (prev) => try_({
|
|
|
93788
93820
|
const itemsArr = Array.isArray(items2) ? items2 : [];
|
|
93789
93821
|
return {
|
|
93790
93822
|
...rest,
|
|
93791
|
-
type: type$
|
|
93792
|
-
compatibilityDate: compatibilityDate$
|
|
93823
|
+
type: type$G,
|
|
93824
|
+
compatibilityDate: compatibilityDate$G,
|
|
93793
93825
|
options: { kind: "static", items: itemsArr }
|
|
93794
93826
|
};
|
|
93795
93827
|
}
|
|
@@ -93802,8 +93834,8 @@ const migrate$j = (prev) => try_({
|
|
|
93802
93834
|
if (Array.isArray(optionLabel)) remote.optionLabel = optionLabel;
|
|
93803
93835
|
return {
|
|
93804
93836
|
...rest,
|
|
93805
|
-
type: type$
|
|
93806
|
-
compatibilityDate: compatibilityDate$
|
|
93837
|
+
type: type$G,
|
|
93838
|
+
compatibilityDate: compatibilityDate$G,
|
|
93807
93839
|
options: remote
|
|
93808
93840
|
};
|
|
93809
93841
|
}
|
|
@@ -93811,7 +93843,7 @@ const migrate$j = (prev) => try_({
|
|
|
93811
93843
|
},
|
|
93812
93844
|
catch: (e) => e instanceof Error ? e : new Error(String(e))
|
|
93813
93845
|
});
|
|
93814
|
-
function toColumnDef$
|
|
93846
|
+
function toColumnDef$f(value, { getLocaleText, $cel, inheritedContext }) {
|
|
93815
93847
|
return {
|
|
93816
93848
|
header: editableHeader(getLocaleText(value.title)),
|
|
93817
93849
|
accessorFn: (row, index) => {
|
|
@@ -93833,20 +93865,20 @@ function toColumnDef$e(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
93833
93865
|
}
|
|
93834
93866
|
const __vite_glob_0_20$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
93835
93867
|
__proto__: null,
|
|
93836
|
-
compatibilityDate: compatibilityDate$
|
|
93868
|
+
compatibilityDate: compatibilityDate$G,
|
|
93837
93869
|
itemSchema: itemSchema$c,
|
|
93838
|
-
metadata: metadata$
|
|
93870
|
+
metadata: metadata$G,
|
|
93839
93871
|
migrate: migrate$j,
|
|
93840
93872
|
migrateFrom: migrateFrom$i,
|
|
93841
93873
|
optionsSchema: optionsSchema$b,
|
|
93842
93874
|
remoteOptionsSchema: remoteOptionsSchema$b,
|
|
93843
|
-
schema: schema$
|
|
93844
|
-
toColumnDef: toColumnDef$
|
|
93845
|
-
type: type$
|
|
93875
|
+
schema: schema$G,
|
|
93876
|
+
toColumnDef: toColumnDef$f,
|
|
93877
|
+
type: type$G
|
|
93846
93878
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
93847
|
-
const type$
|
|
93848
|
-
const compatibilityDate$
|
|
93849
|
-
const metadata$
|
|
93879
|
+
const type$F = "com.shwfed.table.column.combobox-multi";
|
|
93880
|
+
const compatibilityDate$F = "2026-05-26";
|
|
93881
|
+
const metadata$F = {
|
|
93850
93882
|
name: "多选",
|
|
93851
93883
|
icon: "fluent:chevron-down-20-regular"
|
|
93852
93884
|
};
|
|
@@ -93946,12 +93978,12 @@ function optionsSchema$a(configure) {
|
|
|
93946
93978
|
description: '选项可以是静态配置(`kind: "static"`)或由远程接口加载(`kind: "remote"`)'
|
|
93947
93979
|
});
|
|
93948
93980
|
}
|
|
93949
|
-
function schema$
|
|
93981
|
+
function schema$F(configure) {
|
|
93950
93982
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
93951
93983
|
const Options = optionsSchema$a(configure);
|
|
93952
93984
|
return Struct({
|
|
93953
|
-
type: Literal2(type$
|
|
93954
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
93985
|
+
type: Literal2(type$F),
|
|
93986
|
+
compatibilityDate: Literal2(compatibilityDate$F),
|
|
93955
93987
|
...editableColumnFields(),
|
|
93956
93988
|
placeholder: optional(Locale.annotations({
|
|
93957
93989
|
title: "占位符",
|
|
@@ -93987,14 +94019,14 @@ const migrate$i = (prev) => try_({
|
|
|
93987
94019
|
const itemsArr = Array.isArray(items2) ? items2 : [];
|
|
93988
94020
|
return {
|
|
93989
94021
|
...rest,
|
|
93990
|
-
type: type$
|
|
93991
|
-
compatibilityDate: compatibilityDate$
|
|
94022
|
+
type: type$F,
|
|
94023
|
+
compatibilityDate: compatibilityDate$F,
|
|
93992
94024
|
options: { kind: "static", items: itemsArr }
|
|
93993
94025
|
};
|
|
93994
94026
|
},
|
|
93995
94027
|
catch: (e) => e instanceof Error ? e : new Error(String(e))
|
|
93996
94028
|
});
|
|
93997
|
-
function toColumnDef$
|
|
94029
|
+
function toColumnDef$e(value, { getLocaleText }) {
|
|
93998
94030
|
return {
|
|
93999
94031
|
header: editableHeader(getLocaleText(value.title)),
|
|
94000
94032
|
accessorFn: (row) => {
|
|
@@ -94012,20 +94044,20 @@ function toColumnDef$d(value, { getLocaleText }) {
|
|
|
94012
94044
|
}
|
|
94013
94045
|
const __vite_glob_0_21$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
94014
94046
|
__proto__: null,
|
|
94015
|
-
compatibilityDate: compatibilityDate$
|
|
94047
|
+
compatibilityDate: compatibilityDate$F,
|
|
94016
94048
|
itemSchema: itemSchema$b,
|
|
94017
|
-
metadata: metadata$
|
|
94049
|
+
metadata: metadata$F,
|
|
94018
94050
|
migrate: migrate$i,
|
|
94019
94051
|
migrateFrom: migrateFrom$h,
|
|
94020
94052
|
optionsSchema: optionsSchema$a,
|
|
94021
94053
|
remoteOptionsSchema: remoteOptionsSchema$a,
|
|
94022
|
-
schema: schema$
|
|
94023
|
-
toColumnDef: toColumnDef$
|
|
94024
|
-
type: type$
|
|
94054
|
+
schema: schema$F,
|
|
94055
|
+
toColumnDef: toColumnDef$e,
|
|
94056
|
+
type: type$F
|
|
94025
94057
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
94026
|
-
const type$
|
|
94027
|
-
const compatibilityDate$
|
|
94028
|
-
const metadata$
|
|
94058
|
+
const type$E = "com.shwfed.table.column.combobox-single.remote";
|
|
94059
|
+
const compatibilityDate$E = "2026-05-26";
|
|
94060
|
+
const metadata$E = {
|
|
94029
94061
|
name: "单选(远程)",
|
|
94030
94062
|
icon: "fluent:cloud-arrow-up-20-regular"
|
|
94031
94063
|
};
|
|
@@ -94125,7 +94157,7 @@ function optionsSchema$9(configure) {
|
|
|
94125
94157
|
description: '选项可以是静态配置(`kind: "static"`)或由远程接口加载(`kind: "remote"`)'
|
|
94126
94158
|
});
|
|
94127
94159
|
}
|
|
94128
|
-
function schema$
|
|
94160
|
+
function schema$E(configure) {
|
|
94129
94161
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
94130
94162
|
const Options = optionsSchema$9(configure);
|
|
94131
94163
|
const CelOnChange = Expression({
|
|
@@ -94144,8 +94176,8 @@ function schema$D(configure) {
|
|
|
94144
94176
|
resultType: "string"
|
|
94145
94177
|
});
|
|
94146
94178
|
return Struct({
|
|
94147
|
-
type: Literal2(type$
|
|
94148
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
94179
|
+
type: Literal2(type$E),
|
|
94180
|
+
compatibilityDate: Literal2(compatibilityDate$E),
|
|
94149
94181
|
...columnFields(configure),
|
|
94150
94182
|
placeholder: optional(Locale.annotations({
|
|
94151
94183
|
title: "占位符",
|
|
@@ -94199,8 +94231,8 @@ const migrate$h = (prev) => try_({
|
|
|
94199
94231
|
const itemsArr = Array.isArray(items2) ? items2 : [];
|
|
94200
94232
|
return {
|
|
94201
94233
|
...rest,
|
|
94202
|
-
type: type$
|
|
94203
|
-
compatibilityDate: compatibilityDate$
|
|
94234
|
+
type: type$E,
|
|
94235
|
+
compatibilityDate: compatibilityDate$E,
|
|
94204
94236
|
options: { kind: "static", items: itemsArr }
|
|
94205
94237
|
};
|
|
94206
94238
|
}
|
|
@@ -94213,8 +94245,8 @@ const migrate$h = (prev) => try_({
|
|
|
94213
94245
|
if (Array.isArray(optionLabel)) remote.optionLabel = optionLabel;
|
|
94214
94246
|
return {
|
|
94215
94247
|
...rest,
|
|
94216
|
-
type: type$
|
|
94217
|
-
compatibilityDate: compatibilityDate$
|
|
94248
|
+
type: type$E,
|
|
94249
|
+
compatibilityDate: compatibilityDate$E,
|
|
94218
94250
|
options: remote
|
|
94219
94251
|
};
|
|
94220
94252
|
}
|
|
@@ -94222,7 +94254,7 @@ const migrate$h = (prev) => try_({
|
|
|
94222
94254
|
},
|
|
94223
94255
|
catch: (e) => e instanceof Error ? e : new Error(String(e))
|
|
94224
94256
|
});
|
|
94225
|
-
function toColumnDef$
|
|
94257
|
+
function toColumnDef$d(value, { getLocaleText, $cel, inheritedContext }) {
|
|
94226
94258
|
return {
|
|
94227
94259
|
header: editableHeader(getLocaleText(value.title)),
|
|
94228
94260
|
accessorFn: (row, index) => {
|
|
@@ -94244,20 +94276,20 @@ function toColumnDef$c(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
94244
94276
|
}
|
|
94245
94277
|
const __vite_glob_0_22$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
94246
94278
|
__proto__: null,
|
|
94247
|
-
compatibilityDate: compatibilityDate$
|
|
94279
|
+
compatibilityDate: compatibilityDate$E,
|
|
94248
94280
|
itemSchema: itemSchema$a,
|
|
94249
|
-
metadata: metadata$
|
|
94281
|
+
metadata: metadata$E,
|
|
94250
94282
|
migrate: migrate$h,
|
|
94251
94283
|
migrateFrom: migrateFrom$g,
|
|
94252
94284
|
optionsSchema: optionsSchema$9,
|
|
94253
94285
|
remoteOptionsSchema: remoteOptionsSchema$9,
|
|
94254
|
-
schema: schema$
|
|
94255
|
-
toColumnDef: toColumnDef$
|
|
94256
|
-
type: type$
|
|
94286
|
+
schema: schema$E,
|
|
94287
|
+
toColumnDef: toColumnDef$d,
|
|
94288
|
+
type: type$E
|
|
94257
94289
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
94258
|
-
const type$
|
|
94259
|
-
const compatibilityDate$
|
|
94260
|
-
const metadata$
|
|
94290
|
+
const type$D = "com.shwfed.table.column.combobox-single";
|
|
94291
|
+
const compatibilityDate$D = "2026-05-26";
|
|
94292
|
+
const metadata$D = {
|
|
94261
94293
|
name: "单选",
|
|
94262
94294
|
icon: "fluent:chevron-down-20-regular"
|
|
94263
94295
|
};
|
|
@@ -94357,12 +94389,12 @@ function optionsSchema$8(configure) {
|
|
|
94357
94389
|
description: '选项可以是静态配置(`kind: "static"`)或由远程接口加载(`kind: "remote"`)'
|
|
94358
94390
|
});
|
|
94359
94391
|
}
|
|
94360
|
-
function schema$
|
|
94392
|
+
function schema$D(configure) {
|
|
94361
94393
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
94362
94394
|
const Options = optionsSchema$8(configure);
|
|
94363
94395
|
return Struct({
|
|
94364
|
-
type: Literal2(type$
|
|
94365
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
94396
|
+
type: Literal2(type$D),
|
|
94397
|
+
compatibilityDate: Literal2(compatibilityDate$D),
|
|
94366
94398
|
...editableColumnFields(),
|
|
94367
94399
|
placeholder: optional(Locale.annotations({
|
|
94368
94400
|
title: "占位符",
|
|
@@ -94398,14 +94430,14 @@ const migrate$g = (prev) => try_({
|
|
|
94398
94430
|
const itemsArr = Array.isArray(items2) ? items2 : [];
|
|
94399
94431
|
return {
|
|
94400
94432
|
...rest,
|
|
94401
|
-
type: type$
|
|
94402
|
-
compatibilityDate: compatibilityDate$
|
|
94433
|
+
type: type$D,
|
|
94434
|
+
compatibilityDate: compatibilityDate$D,
|
|
94403
94435
|
options: { kind: "static", items: itemsArr }
|
|
94404
94436
|
};
|
|
94405
94437
|
},
|
|
94406
94438
|
catch: (e) => e instanceof Error ? e : new Error(String(e))
|
|
94407
94439
|
});
|
|
94408
|
-
function toColumnDef$
|
|
94440
|
+
function toColumnDef$c(value, { getLocaleText }) {
|
|
94409
94441
|
return {
|
|
94410
94442
|
header: editableHeader(getLocaleText(value.title)),
|
|
94411
94443
|
accessorFn: (row) => {
|
|
@@ -94423,16 +94455,16 @@ function toColumnDef$b(value, { getLocaleText }) {
|
|
|
94423
94455
|
}
|
|
94424
94456
|
const __vite_glob_0_23$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
94425
94457
|
__proto__: null,
|
|
94426
|
-
compatibilityDate: compatibilityDate$
|
|
94458
|
+
compatibilityDate: compatibilityDate$D,
|
|
94427
94459
|
itemSchema: itemSchema$9,
|
|
94428
|
-
metadata: metadata$
|
|
94460
|
+
metadata: metadata$D,
|
|
94429
94461
|
migrate: migrate$g,
|
|
94430
94462
|
migrateFrom: migrateFrom$f,
|
|
94431
94463
|
optionsSchema: optionsSchema$8,
|
|
94432
94464
|
remoteOptionsSchema: remoteOptionsSchema$8,
|
|
94433
|
-
schema: schema$
|
|
94434
|
-
toColumnDef: toColumnDef$
|
|
94435
|
-
type: type$
|
|
94465
|
+
schema: schema$D,
|
|
94466
|
+
toColumnDef: toColumnDef$c,
|
|
94467
|
+
type: type$D
|
|
94436
94468
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
94437
94469
|
const NODE_VAR_TYPE = "dyn";
|
|
94438
94470
|
const NODE_VAR_DESCRIPTION = "当前节点;由 `数据` 表达式返回的每一项";
|
|
@@ -94444,9 +94476,9 @@ function registerNodeVariableIfAbsent(env, meta = {}) {
|
|
|
94444
94476
|
description: meta.description ?? NODE_VAR_DESCRIPTION
|
|
94445
94477
|
});
|
|
94446
94478
|
}
|
|
94447
|
-
const type$
|
|
94448
|
-
const compatibilityDate$
|
|
94449
|
-
const metadata$
|
|
94479
|
+
const type$C = "com.shwfed.table.column.tree-combobox-multi";
|
|
94480
|
+
const compatibilityDate$C = "2026-05-27";
|
|
94481
|
+
const metadata$C = {
|
|
94450
94482
|
name: "下拉树(多选)",
|
|
94451
94483
|
icon: "fluent:tree-evergreen-20-regular"
|
|
94452
94484
|
};
|
|
@@ -94459,7 +94491,7 @@ function withRowAndNode$5(configure) {
|
|
|
94459
94491
|
registerNodeVariableIfAbsent(env, { description: "`数据源` 返回的节点;由树逐层向下读取" });
|
|
94460
94492
|
};
|
|
94461
94493
|
}
|
|
94462
|
-
function schema$
|
|
94494
|
+
function schema$C(configure) {
|
|
94463
94495
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
94464
94496
|
const CelNodeKey = Expression({ configure: withRowAndNode$5(configure), resultType: isKeyType$9 });
|
|
94465
94497
|
const CelNodeChildren = Expression({ configure: withRowAndNode$5(configure), resultType: isListLike$9 });
|
|
@@ -94493,8 +94525,8 @@ function schema$B(configure) {
|
|
|
94493
94525
|
})
|
|
94494
94526
|
}).annotations({ title: "DataSource", description: "数据源配置" });
|
|
94495
94527
|
return Struct({
|
|
94496
|
-
type: Literal2(type$
|
|
94497
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
94528
|
+
type: Literal2(type$C),
|
|
94529
|
+
compatibilityDate: Literal2(compatibilityDate$C),
|
|
94498
94530
|
...editableColumnFields(),
|
|
94499
94531
|
placeholder: optional(Locale.annotations({
|
|
94500
94532
|
title: "占位符",
|
|
@@ -94550,7 +94582,7 @@ function schema$B(configure) {
|
|
|
94550
94582
|
})
|
|
94551
94583
|
}).annotations({ title: "TreeComboboxMultiRenderer", description: "下拉树多选渲染器(可编辑)" });
|
|
94552
94584
|
}
|
|
94553
|
-
function defaults$
|
|
94585
|
+
function defaults$q() {
|
|
94554
94586
|
return {
|
|
94555
94587
|
dataSource: { data: "[]" },
|
|
94556
94588
|
nodeKey: "string(node.id)",
|
|
@@ -94560,7 +94592,7 @@ function defaults$p() {
|
|
|
94560
94592
|
expandAll: false
|
|
94561
94593
|
};
|
|
94562
94594
|
}
|
|
94563
|
-
function toColumnDef$
|
|
94595
|
+
function toColumnDef$b(value, { getLocaleText }) {
|
|
94564
94596
|
return {
|
|
94565
94597
|
header: editableHeader(getLocaleText(value.title)),
|
|
94566
94598
|
accessorFn: (row) => {
|
|
@@ -94578,16 +94610,16 @@ function toColumnDef$a(value, { getLocaleText }) {
|
|
|
94578
94610
|
}
|
|
94579
94611
|
const __vite_glob_0_24$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
94580
94612
|
__proto__: null,
|
|
94581
|
-
compatibilityDate: compatibilityDate$
|
|
94582
|
-
defaults: defaults$
|
|
94583
|
-
metadata: metadata$
|
|
94584
|
-
schema: schema$
|
|
94585
|
-
toColumnDef: toColumnDef$
|
|
94586
|
-
type: type$
|
|
94613
|
+
compatibilityDate: compatibilityDate$C,
|
|
94614
|
+
defaults: defaults$q,
|
|
94615
|
+
metadata: metadata$C,
|
|
94616
|
+
schema: schema$C,
|
|
94617
|
+
toColumnDef: toColumnDef$b,
|
|
94618
|
+
type: type$C
|
|
94587
94619
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
94588
|
-
const type$
|
|
94589
|
-
const compatibilityDate$
|
|
94590
|
-
const metadata$
|
|
94620
|
+
const type$B = "com.shwfed.table.column.tree-combobox-single";
|
|
94621
|
+
const compatibilityDate$B = "2026-05-27";
|
|
94622
|
+
const metadata$B = {
|
|
94591
94623
|
name: "下拉树(单选)",
|
|
94592
94624
|
icon: "fluent:tree-evergreen-20-regular"
|
|
94593
94625
|
};
|
|
@@ -94600,7 +94632,7 @@ function withRowAndNode$4(configure) {
|
|
|
94600
94632
|
registerNodeVariableIfAbsent(env, { description: "`数据源` 返回的节点;由树逐层向下读取" });
|
|
94601
94633
|
};
|
|
94602
94634
|
}
|
|
94603
|
-
function schema$
|
|
94635
|
+
function schema$B(configure) {
|
|
94604
94636
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
94605
94637
|
const CelNodeKey = Expression({ configure: withRowAndNode$4(configure), resultType: isKeyType$8 });
|
|
94606
94638
|
const CelNodeChildren = Expression({ configure: withRowAndNode$4(configure), resultType: isListLike$8 });
|
|
@@ -94634,8 +94666,8 @@ function schema$A(configure) {
|
|
|
94634
94666
|
})
|
|
94635
94667
|
}).annotations({ title: "DataSource", description: "数据源配置" });
|
|
94636
94668
|
return Struct({
|
|
94637
|
-
type: Literal2(type$
|
|
94638
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
94669
|
+
type: Literal2(type$B),
|
|
94670
|
+
compatibilityDate: Literal2(compatibilityDate$B),
|
|
94639
94671
|
...editableColumnFields(),
|
|
94640
94672
|
placeholder: optional(Locale.annotations({
|
|
94641
94673
|
title: "占位符",
|
|
@@ -94684,7 +94716,7 @@ function schema$A(configure) {
|
|
|
94684
94716
|
})
|
|
94685
94717
|
}).annotations({ title: "TreeComboboxSingleRenderer", description: "下拉树单选渲染器(可编辑)" });
|
|
94686
94718
|
}
|
|
94687
|
-
function defaults$
|
|
94719
|
+
function defaults$p() {
|
|
94688
94720
|
return {
|
|
94689
94721
|
dataSource: { data: "[]" },
|
|
94690
94722
|
nodeKey: "string(node.id)",
|
|
@@ -94693,7 +94725,7 @@ function defaults$o() {
|
|
|
94693
94725
|
expandAll: false
|
|
94694
94726
|
};
|
|
94695
94727
|
}
|
|
94696
|
-
function toColumnDef$
|
|
94728
|
+
function toColumnDef$a(value, { getLocaleText }) {
|
|
94697
94729
|
return {
|
|
94698
94730
|
header: editableHeader(getLocaleText(value.title)),
|
|
94699
94731
|
accessorFn: (row) => {
|
|
@@ -94711,16 +94743,16 @@ function toColumnDef$9(value, { getLocaleText }) {
|
|
|
94711
94743
|
}
|
|
94712
94744
|
const __vite_glob_0_25$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
94713
94745
|
__proto__: null,
|
|
94714
|
-
compatibilityDate: compatibilityDate$
|
|
94715
|
-
defaults: defaults$
|
|
94716
|
-
metadata: metadata$
|
|
94717
|
-
schema: schema$
|
|
94718
|
-
toColumnDef: toColumnDef$
|
|
94719
|
-
type: type$
|
|
94746
|
+
compatibilityDate: compatibilityDate$B,
|
|
94747
|
+
defaults: defaults$p,
|
|
94748
|
+
metadata: metadata$B,
|
|
94749
|
+
schema: schema$B,
|
|
94750
|
+
toColumnDef: toColumnDef$a,
|
|
94751
|
+
type: type$B
|
|
94720
94752
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
94721
|
-
const type$
|
|
94722
|
-
const compatibilityDate$
|
|
94723
|
-
const metadata$
|
|
94753
|
+
const type$A = "com.shwfed.table.column.combobox-multi";
|
|
94754
|
+
const compatibilityDate$A = "2026-05-28";
|
|
94755
|
+
const metadata$A = {
|
|
94724
94756
|
name: "多选",
|
|
94725
94757
|
icon: "fluent:chevron-down-20-regular",
|
|
94726
94758
|
// Publishes its resolved options (array) to the per-row `selections` registry
|
|
@@ -94872,14 +94904,14 @@ function writeSchema$3(configure) {
|
|
|
94872
94904
|
description: '`kind: "binding"` 行内编辑写回 dot-prop 路径;`kind: "remote"` 只读回显并通过请求写入服务端'
|
|
94873
94905
|
});
|
|
94874
94906
|
}
|
|
94875
|
-
function schema$
|
|
94907
|
+
function schema$A(configure) {
|
|
94876
94908
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
94877
94909
|
const Options = optionsSchema$7(configure);
|
|
94878
94910
|
const Write = writeSchema$3(configure);
|
|
94879
94911
|
const display = columnFields(configure);
|
|
94880
94912
|
return Struct({
|
|
94881
|
-
type: Literal2(type$
|
|
94882
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
94913
|
+
type: Literal2(type$A),
|
|
94914
|
+
compatibilityDate: Literal2(compatibilityDate$A),
|
|
94883
94915
|
...columnIdentityFields(),
|
|
94884
94916
|
title: display.title,
|
|
94885
94917
|
placeholder: optional(Locale.annotations({
|
|
@@ -94914,7 +94946,7 @@ function schema$z(configure) {
|
|
|
94914
94946
|
description: "下拉多选渲染器"
|
|
94915
94947
|
});
|
|
94916
94948
|
}
|
|
94917
|
-
function defaults$
|
|
94949
|
+
function defaults$o() {
|
|
94918
94950
|
return {
|
|
94919
94951
|
title: [{ locale: "zh", message: "" }],
|
|
94920
94952
|
size: 200,
|
|
@@ -94933,7 +94965,7 @@ const migrate$f = (prev) => try_({
|
|
|
94933
94965
|
throw new Error("下拉多选迁移失败:原值不是对象");
|
|
94934
94966
|
}
|
|
94935
94967
|
const src = prev;
|
|
94936
|
-
const out = { type: type$
|
|
94968
|
+
const out = { type: type$A, compatibilityDate: compatibilityDate$A };
|
|
94937
94969
|
for (const k of CARRY$1) {
|
|
94938
94970
|
if (src[k] !== void 0) out[k] = src[k];
|
|
94939
94971
|
}
|
|
@@ -94967,7 +94999,7 @@ const migrate$f = (prev) => try_({
|
|
|
94967
94999
|
},
|
|
94968
95000
|
catch: (e) => e instanceof Error ? e : new Error(String(e))
|
|
94969
95001
|
});
|
|
94970
|
-
function toColumnDef$
|
|
95002
|
+
function toColumnDef$9(value, { getLocaleText, $cel, inheritedContext }) {
|
|
94971
95003
|
const write2 = value.write;
|
|
94972
95004
|
const accessorFn = write2.kind === "binding" ? (row) => {
|
|
94973
95005
|
if (!row || typeof row !== "object") return void 0;
|
|
@@ -94994,22 +95026,22 @@ function toColumnDef$8(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
94994
95026
|
}
|
|
94995
95027
|
const __vite_glob_0_26$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
94996
95028
|
__proto__: null,
|
|
94997
|
-
compatibilityDate: compatibilityDate$
|
|
94998
|
-
defaults: defaults$
|
|
95029
|
+
compatibilityDate: compatibilityDate$A,
|
|
95030
|
+
defaults: defaults$o,
|
|
94999
95031
|
itemSchema: itemSchema$8,
|
|
95000
|
-
metadata: metadata$
|
|
95032
|
+
metadata: metadata$A,
|
|
95001
95033
|
migrate: migrate$f,
|
|
95002
95034
|
migrateFrom: migrateFrom$e,
|
|
95003
95035
|
optionsSchema: optionsSchema$7,
|
|
95004
95036
|
remoteOptionsSchema: remoteOptionsSchema$7,
|
|
95005
|
-
schema: schema$
|
|
95006
|
-
toColumnDef: toColumnDef$
|
|
95007
|
-
type: type$
|
|
95037
|
+
schema: schema$A,
|
|
95038
|
+
toColumnDef: toColumnDef$9,
|
|
95039
|
+
type: type$A,
|
|
95008
95040
|
writeSchema: writeSchema$3
|
|
95009
95041
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
95010
|
-
const type$
|
|
95011
|
-
const compatibilityDate$
|
|
95012
|
-
const metadata$
|
|
95042
|
+
const type$z = "com.shwfed.table.column.combobox-single";
|
|
95043
|
+
const compatibilityDate$z = "2026-05-28";
|
|
95044
|
+
const metadata$z = {
|
|
95013
95045
|
name: "单选",
|
|
95014
95046
|
icon: "fluent:chevron-down-20-regular",
|
|
95015
95047
|
// Publishes its resolved option (the source record) to the per-row
|
|
@@ -95161,14 +95193,14 @@ function writeSchema$2(configure) {
|
|
|
95161
95193
|
description: '`kind: "binding"` 行内编辑写回 dot-prop 路径;`kind: "remote"` 只读回显并通过请求写入服务端'
|
|
95162
95194
|
});
|
|
95163
95195
|
}
|
|
95164
|
-
function schema$
|
|
95196
|
+
function schema$z(configure) {
|
|
95165
95197
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
95166
95198
|
const Options = optionsSchema$6(configure);
|
|
95167
95199
|
const Write = writeSchema$2(configure);
|
|
95168
95200
|
const display = columnFields(configure);
|
|
95169
95201
|
return Struct({
|
|
95170
|
-
type: Literal2(type$
|
|
95171
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
95202
|
+
type: Literal2(type$z),
|
|
95203
|
+
compatibilityDate: Literal2(compatibilityDate$z),
|
|
95172
95204
|
...columnIdentityFields(),
|
|
95173
95205
|
title: display.title,
|
|
95174
95206
|
placeholder: optional(Locale.annotations({
|
|
@@ -95203,7 +95235,7 @@ function schema$y(configure) {
|
|
|
95203
95235
|
description: "下拉单选渲染器"
|
|
95204
95236
|
});
|
|
95205
95237
|
}
|
|
95206
|
-
function defaults$
|
|
95238
|
+
function defaults$n() {
|
|
95207
95239
|
return {
|
|
95208
95240
|
title: [{ locale: "zh", message: "" }],
|
|
95209
95241
|
size: 200,
|
|
@@ -95222,7 +95254,7 @@ const migrate$e = (prev) => try_({
|
|
|
95222
95254
|
throw new Error("下拉单选迁移失败:原值不是对象");
|
|
95223
95255
|
}
|
|
95224
95256
|
const src = prev;
|
|
95225
|
-
const out = { type: type$
|
|
95257
|
+
const out = { type: type$z, compatibilityDate: compatibilityDate$z };
|
|
95226
95258
|
for (const k of CARRY) {
|
|
95227
95259
|
if (src[k] !== void 0) out[k] = src[k];
|
|
95228
95260
|
}
|
|
@@ -95256,7 +95288,7 @@ const migrate$e = (prev) => try_({
|
|
|
95256
95288
|
},
|
|
95257
95289
|
catch: (e) => e instanceof Error ? e : new Error(String(e))
|
|
95258
95290
|
});
|
|
95259
|
-
function toColumnDef$
|
|
95291
|
+
function toColumnDef$8(value, { getLocaleText, $cel, inheritedContext }) {
|
|
95260
95292
|
const write2 = value.write;
|
|
95261
95293
|
const accessorFn = write2.kind === "binding" ? (row) => {
|
|
95262
95294
|
if (!row || typeof row !== "object") return void 0;
|
|
@@ -95283,22 +95315,22 @@ function toColumnDef$7(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
95283
95315
|
}
|
|
95284
95316
|
const __vite_glob_0_27$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
95285
95317
|
__proto__: null,
|
|
95286
|
-
compatibilityDate: compatibilityDate$
|
|
95287
|
-
defaults: defaults$
|
|
95318
|
+
compatibilityDate: compatibilityDate$z,
|
|
95319
|
+
defaults: defaults$n,
|
|
95288
95320
|
itemSchema: itemSchema$7,
|
|
95289
|
-
metadata: metadata$
|
|
95321
|
+
metadata: metadata$z,
|
|
95290
95322
|
migrate: migrate$e,
|
|
95291
95323
|
migrateFrom: migrateFrom$d,
|
|
95292
95324
|
optionsSchema: optionsSchema$6,
|
|
95293
95325
|
remoteOptionsSchema: remoteOptionsSchema$6,
|
|
95294
|
-
schema: schema$
|
|
95295
|
-
toColumnDef: toColumnDef$
|
|
95296
|
-
type: type$
|
|
95326
|
+
schema: schema$z,
|
|
95327
|
+
toColumnDef: toColumnDef$8,
|
|
95328
|
+
type: type$z,
|
|
95297
95329
|
writeSchema: writeSchema$2
|
|
95298
95330
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
95299
|
-
const type$
|
|
95300
|
-
const compatibilityDate$
|
|
95301
|
-
const metadata$
|
|
95331
|
+
const type$y = "com.shwfed.table.column.tree-combobox-multi";
|
|
95332
|
+
const compatibilityDate$y = "2026-05-28";
|
|
95333
|
+
const metadata$y = {
|
|
95302
95334
|
name: "下拉树(多选)",
|
|
95303
95335
|
icon: "fluent:tree-evergreen-20-regular",
|
|
95304
95336
|
// Publishes its resolved nodes (array) to the per-row `selections` registry (runtime.vue), readable via `selections["<id>"]`.
|
|
@@ -95313,7 +95345,7 @@ function withRowAndNode$3(configure) {
|
|
|
95313
95345
|
registerNodeVariableIfAbsent(env, { description: "`数据源` 返回的节点;由树逐层向下读取" });
|
|
95314
95346
|
};
|
|
95315
95347
|
}
|
|
95316
|
-
function schema$
|
|
95348
|
+
function schema$y(configure) {
|
|
95317
95349
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
95318
95350
|
const CelNodeKey = Expression({ configure: withRowAndNode$3(configure), resultType: isKeyType$7 });
|
|
95319
95351
|
const CelNodeChildren = Expression({ configure: withRowAndNode$3(configure), resultType: isListLike$7 });
|
|
@@ -95348,8 +95380,8 @@ function schema$x(configure) {
|
|
|
95348
95380
|
})
|
|
95349
95381
|
}).annotations({ title: "DataSource", description: "数据源配置" });
|
|
95350
95382
|
return Struct({
|
|
95351
|
-
type: Literal2(type$
|
|
95352
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
95383
|
+
type: Literal2(type$y),
|
|
95384
|
+
compatibilityDate: Literal2(compatibilityDate$y),
|
|
95353
95385
|
...editableColumnFields(),
|
|
95354
95386
|
placeholder: optional(Locale.annotations({
|
|
95355
95387
|
title: "占位符",
|
|
@@ -95409,7 +95441,7 @@ function schema$x(configure) {
|
|
|
95409
95441
|
})
|
|
95410
95442
|
}).annotations({ title: "TreeComboboxMultiRenderer", description: "下拉树多选渲染器(可编辑)" });
|
|
95411
95443
|
}
|
|
95412
|
-
function defaults$
|
|
95444
|
+
function defaults$m() {
|
|
95413
95445
|
return {
|
|
95414
95446
|
title: [{ locale: "zh", message: "" }],
|
|
95415
95447
|
binding: "",
|
|
@@ -95431,11 +95463,11 @@ const migrate$d = (prev) => try_({
|
|
|
95431
95463
|
throw new Error("下拉树(多选)迁移失败:原值不是对象");
|
|
95432
95464
|
}
|
|
95433
95465
|
const { compatibilityDate: _omit, ...rest } = prev;
|
|
95434
|
-
return { ...rest, type: type$
|
|
95466
|
+
return { ...rest, type: type$y, compatibilityDate: compatibilityDate$y };
|
|
95435
95467
|
},
|
|
95436
95468
|
catch: (e) => e instanceof Error ? e : new Error(String(e))
|
|
95437
95469
|
});
|
|
95438
|
-
function toColumnDef$
|
|
95470
|
+
function toColumnDef$7(value, { getLocaleText }) {
|
|
95439
95471
|
return {
|
|
95440
95472
|
header: editableHeader(getLocaleText(value.title)),
|
|
95441
95473
|
accessorFn: (row) => {
|
|
@@ -95453,18 +95485,18 @@ function toColumnDef$6(value, { getLocaleText }) {
|
|
|
95453
95485
|
}
|
|
95454
95486
|
const __vite_glob_0_28$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
95455
95487
|
__proto__: null,
|
|
95456
|
-
compatibilityDate: compatibilityDate$
|
|
95457
|
-
defaults: defaults$
|
|
95458
|
-
metadata: metadata$
|
|
95488
|
+
compatibilityDate: compatibilityDate$y,
|
|
95489
|
+
defaults: defaults$m,
|
|
95490
|
+
metadata: metadata$y,
|
|
95459
95491
|
migrate: migrate$d,
|
|
95460
95492
|
migrateFrom: migrateFrom$c,
|
|
95461
|
-
schema: schema$
|
|
95462
|
-
toColumnDef: toColumnDef$
|
|
95463
|
-
type: type$
|
|
95493
|
+
schema: schema$y,
|
|
95494
|
+
toColumnDef: toColumnDef$7,
|
|
95495
|
+
type: type$y
|
|
95464
95496
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
95465
|
-
const type$
|
|
95466
|
-
const compatibilityDate$
|
|
95467
|
-
const metadata$
|
|
95497
|
+
const type$x = "com.shwfed.table.column.tree-combobox-single";
|
|
95498
|
+
const compatibilityDate$x = "2026-05-28";
|
|
95499
|
+
const metadata$x = {
|
|
95468
95500
|
name: "下拉树(单选)",
|
|
95469
95501
|
icon: "fluent:tree-evergreen-20-regular",
|
|
95470
95502
|
// Publishes its resolved node (backend record) to the per-row `selections` registry (runtime.vue), readable via `selections["<id>"]`.
|
|
@@ -95479,7 +95511,7 @@ function withRowAndNode$2(configure) {
|
|
|
95479
95511
|
registerNodeVariableIfAbsent(env, { description: "`数据源` 返回的节点;由树逐层向下读取" });
|
|
95480
95512
|
};
|
|
95481
95513
|
}
|
|
95482
|
-
function schema$
|
|
95514
|
+
function schema$x(configure) {
|
|
95483
95515
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
95484
95516
|
const CelNodeKey = Expression({ configure: withRowAndNode$2(configure), resultType: isKeyType$6 });
|
|
95485
95517
|
const CelNodeChildren = Expression({ configure: withRowAndNode$2(configure), resultType: isListLike$6 });
|
|
@@ -95514,8 +95546,8 @@ function schema$w(configure) {
|
|
|
95514
95546
|
})
|
|
95515
95547
|
}).annotations({ title: "DataSource", description: "数据源配置" });
|
|
95516
95548
|
return Struct({
|
|
95517
|
-
type: Literal2(type$
|
|
95518
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
95549
|
+
type: Literal2(type$x),
|
|
95550
|
+
compatibilityDate: Literal2(compatibilityDate$x),
|
|
95519
95551
|
...editableColumnFields(),
|
|
95520
95552
|
placeholder: optional(Locale.annotations({
|
|
95521
95553
|
title: "占位符",
|
|
@@ -95568,7 +95600,7 @@ function schema$w(configure) {
|
|
|
95568
95600
|
})
|
|
95569
95601
|
}).annotations({ title: "TreeComboboxSingleRenderer", description: "下拉树单选渲染器(可编辑)" });
|
|
95570
95602
|
}
|
|
95571
|
-
function defaults$
|
|
95603
|
+
function defaults$l() {
|
|
95572
95604
|
return {
|
|
95573
95605
|
title: [{ locale: "zh", message: "" }],
|
|
95574
95606
|
binding: "",
|
|
@@ -95589,11 +95621,11 @@ const migrate$c = (prev) => try_({
|
|
|
95589
95621
|
throw new Error("下拉树(单选)迁移失败:原值不是对象");
|
|
95590
95622
|
}
|
|
95591
95623
|
const { compatibilityDate: _omit, ...rest } = prev;
|
|
95592
|
-
return { ...rest, type: type$
|
|
95624
|
+
return { ...rest, type: type$x, compatibilityDate: compatibilityDate$x };
|
|
95593
95625
|
},
|
|
95594
95626
|
catch: (e) => e instanceof Error ? e : new Error(String(e))
|
|
95595
95627
|
});
|
|
95596
|
-
function toColumnDef$
|
|
95628
|
+
function toColumnDef$6(value, { getLocaleText }) {
|
|
95597
95629
|
return {
|
|
95598
95630
|
header: editableHeader(getLocaleText(value.title)),
|
|
95599
95631
|
accessorFn: (row) => {
|
|
@@ -95611,14 +95643,14 @@ function toColumnDef$5(value, { getLocaleText }) {
|
|
|
95611
95643
|
}
|
|
95612
95644
|
const __vite_glob_0_29$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
95613
95645
|
__proto__: null,
|
|
95614
|
-
compatibilityDate: compatibilityDate$
|
|
95615
|
-
defaults: defaults$
|
|
95616
|
-
metadata: metadata$
|
|
95646
|
+
compatibilityDate: compatibilityDate$x,
|
|
95647
|
+
defaults: defaults$l,
|
|
95648
|
+
metadata: metadata$x,
|
|
95617
95649
|
migrate: migrate$c,
|
|
95618
95650
|
migrateFrom: migrateFrom$b,
|
|
95619
|
-
schema: schema$
|
|
95620
|
-
toColumnDef: toColumnDef$
|
|
95621
|
-
type: type$
|
|
95651
|
+
schema: schema$x,
|
|
95652
|
+
toColumnDef: toColumnDef$6,
|
|
95653
|
+
type: type$x
|
|
95622
95654
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
95623
95655
|
const INTERPOLATION_RE$1 = /\{\{(.*?)\}\}/gs;
|
|
95624
95656
|
function celString$1(text2) {
|
|
@@ -95656,9 +95688,9 @@ function localeLabelToExpression$1(label) {
|
|
|
95656
95688
|
const message2 = chosen && typeof chosen.message === "string" ? chosen.message : "";
|
|
95657
95689
|
return templateToExpression$1(message2);
|
|
95658
95690
|
}
|
|
95659
|
-
const type$
|
|
95660
|
-
const compatibilityDate$
|
|
95661
|
-
const metadata$
|
|
95691
|
+
const type$w = "com.shwfed.table.column.combobox-multi";
|
|
95692
|
+
const compatibilityDate$w = "2026-06-14";
|
|
95693
|
+
const metadata$w = {
|
|
95662
95694
|
name: "多选",
|
|
95663
95695
|
icon: "fluent:chevron-down-20-regular",
|
|
95664
95696
|
// Publishes its resolved options (array) to the per-row `selections` registry
|
|
@@ -95811,14 +95843,14 @@ function writeSchema$1(configure) {
|
|
|
95811
95843
|
description: '`kind: "binding"` 行内编辑写回 dot-prop 路径;`kind: "remote"` 只读回显并通过请求写入服务端'
|
|
95812
95844
|
});
|
|
95813
95845
|
}
|
|
95814
|
-
function schema$
|
|
95846
|
+
function schema$w(configure) {
|
|
95815
95847
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
95816
95848
|
const Options = optionsSchema$5(configure);
|
|
95817
95849
|
const Write = writeSchema$1(configure);
|
|
95818
95850
|
const display = columnFields(configure);
|
|
95819
95851
|
return Struct({
|
|
95820
|
-
type: Literal2(type$
|
|
95821
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
95852
|
+
type: Literal2(type$w),
|
|
95853
|
+
compatibilityDate: Literal2(compatibilityDate$w),
|
|
95822
95854
|
...columnIdentityFields(),
|
|
95823
95855
|
title: display.title,
|
|
95824
95856
|
placeholder: optional(Locale.annotations({
|
|
@@ -95853,7 +95885,7 @@ function schema$v(configure) {
|
|
|
95853
95885
|
description: "下拉多选渲染器"
|
|
95854
95886
|
});
|
|
95855
95887
|
}
|
|
95856
|
-
function defaults$
|
|
95888
|
+
function defaults$k() {
|
|
95857
95889
|
return {
|
|
95858
95890
|
title: [{ locale: "zh", message: "" }],
|
|
95859
95891
|
size: 200,
|
|
@@ -95884,8 +95916,8 @@ const migrate$b = (prev) => try_({
|
|
|
95884
95916
|
}
|
|
95885
95917
|
return {
|
|
95886
95918
|
...rest,
|
|
95887
|
-
type: type$
|
|
95888
|
-
compatibilityDate: compatibilityDate$
|
|
95919
|
+
type: type$w,
|
|
95920
|
+
compatibilityDate: compatibilityDate$w,
|
|
95889
95921
|
options: nextOptions
|
|
95890
95922
|
};
|
|
95891
95923
|
}
|
|
@@ -95893,7 +95925,7 @@ const migrate$b = (prev) => try_({
|
|
|
95893
95925
|
},
|
|
95894
95926
|
catch: (e) => e instanceof Error ? e : new Error(String(e))
|
|
95895
95927
|
});
|
|
95896
|
-
function toColumnDef$
|
|
95928
|
+
function toColumnDef$5(value, { getLocaleText, $cel, inheritedContext }) {
|
|
95897
95929
|
const write2 = value.write;
|
|
95898
95930
|
const accessorFn = write2.kind === "binding" ? (row) => {
|
|
95899
95931
|
if (!row || typeof row !== "object") return void 0;
|
|
@@ -95920,22 +95952,22 @@ function toColumnDef$4(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
95920
95952
|
}
|
|
95921
95953
|
const __vite_glob_0_30$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
95922
95954
|
__proto__: null,
|
|
95923
|
-
compatibilityDate: compatibilityDate$
|
|
95924
|
-
defaults: defaults$
|
|
95955
|
+
compatibilityDate: compatibilityDate$w,
|
|
95956
|
+
defaults: defaults$k,
|
|
95925
95957
|
itemSchema: itemSchema$6,
|
|
95926
|
-
metadata: metadata$
|
|
95958
|
+
metadata: metadata$w,
|
|
95927
95959
|
migrate: migrate$b,
|
|
95928
95960
|
migrateFrom: migrateFrom$a,
|
|
95929
95961
|
optionsSchema: optionsSchema$5,
|
|
95930
95962
|
remoteOptionsSchema: remoteOptionsSchema$5,
|
|
95931
|
-
schema: schema$
|
|
95932
|
-
toColumnDef: toColumnDef$
|
|
95933
|
-
type: type$
|
|
95963
|
+
schema: schema$w,
|
|
95964
|
+
toColumnDef: toColumnDef$5,
|
|
95965
|
+
type: type$w,
|
|
95934
95966
|
writeSchema: writeSchema$1
|
|
95935
95967
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
95936
|
-
const type$
|
|
95937
|
-
const compatibilityDate$
|
|
95938
|
-
const metadata$
|
|
95968
|
+
const type$v = "com.shwfed.table.column.combobox-single";
|
|
95969
|
+
const compatibilityDate$v = "2026-06-14";
|
|
95970
|
+
const metadata$v = {
|
|
95939
95971
|
name: "单选",
|
|
95940
95972
|
icon: "fluent:chevron-down-20-regular",
|
|
95941
95973
|
// Publishes its resolved option (the source record) to the per-row
|
|
@@ -96088,14 +96120,14 @@ function writeSchema(configure) {
|
|
|
96088
96120
|
description: '`kind: "binding"` 行内编辑写回 dot-prop 路径;`kind: "remote"` 只读回显并通过请求写入服务端'
|
|
96089
96121
|
});
|
|
96090
96122
|
}
|
|
96091
|
-
function schema$
|
|
96123
|
+
function schema$v(configure) {
|
|
96092
96124
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
96093
96125
|
const Options = optionsSchema$4(configure);
|
|
96094
96126
|
const Write = writeSchema(configure);
|
|
96095
96127
|
const display = columnFields(configure);
|
|
96096
96128
|
return Struct({
|
|
96097
|
-
type: Literal2(type$
|
|
96098
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
96129
|
+
type: Literal2(type$v),
|
|
96130
|
+
compatibilityDate: Literal2(compatibilityDate$v),
|
|
96099
96131
|
...columnIdentityFields(),
|
|
96100
96132
|
title: display.title,
|
|
96101
96133
|
placeholder: optional(Locale.annotations({
|
|
@@ -96130,7 +96162,7 @@ function schema$u(configure) {
|
|
|
96130
96162
|
description: "下拉单选渲染器"
|
|
96131
96163
|
});
|
|
96132
96164
|
}
|
|
96133
|
-
function defaults$
|
|
96165
|
+
function defaults$j() {
|
|
96134
96166
|
return {
|
|
96135
96167
|
title: [{ locale: "zh", message: "" }],
|
|
96136
96168
|
size: 200,
|
|
@@ -96161,8 +96193,8 @@ const migrate$a = (prev) => try_({
|
|
|
96161
96193
|
}
|
|
96162
96194
|
return {
|
|
96163
96195
|
...rest,
|
|
96164
|
-
type: type$
|
|
96165
|
-
compatibilityDate: compatibilityDate$
|
|
96196
|
+
type: type$v,
|
|
96197
|
+
compatibilityDate: compatibilityDate$v,
|
|
96166
96198
|
options: nextOptions
|
|
96167
96199
|
};
|
|
96168
96200
|
}
|
|
@@ -96170,7 +96202,7 @@ const migrate$a = (prev) => try_({
|
|
|
96170
96202
|
},
|
|
96171
96203
|
catch: (e) => e instanceof Error ? e : new Error(String(e))
|
|
96172
96204
|
});
|
|
96173
|
-
function toColumnDef$
|
|
96205
|
+
function toColumnDef$4(value, { getLocaleText, $cel, inheritedContext }) {
|
|
96174
96206
|
const write2 = value.write;
|
|
96175
96207
|
const accessorFn = write2.kind === "binding" ? (row) => {
|
|
96176
96208
|
if (!row || typeof row !== "object") return void 0;
|
|
@@ -96197,22 +96229,22 @@ function toColumnDef$3(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
96197
96229
|
}
|
|
96198
96230
|
const __vite_glob_0_31$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
96199
96231
|
__proto__: null,
|
|
96200
|
-
compatibilityDate: compatibilityDate$
|
|
96201
|
-
defaults: defaults$
|
|
96232
|
+
compatibilityDate: compatibilityDate$v,
|
|
96233
|
+
defaults: defaults$j,
|
|
96202
96234
|
itemSchema: itemSchema$5,
|
|
96203
|
-
metadata: metadata$
|
|
96235
|
+
metadata: metadata$v,
|
|
96204
96236
|
migrate: migrate$a,
|
|
96205
96237
|
migrateFrom: migrateFrom$9,
|
|
96206
96238
|
optionsSchema: optionsSchema$4,
|
|
96207
96239
|
remoteOptionsSchema: remoteOptionsSchema$4,
|
|
96208
|
-
schema: schema$
|
|
96209
|
-
toColumnDef: toColumnDef$
|
|
96210
|
-
type: type$
|
|
96240
|
+
schema: schema$v,
|
|
96241
|
+
toColumnDef: toColumnDef$4,
|
|
96242
|
+
type: type$v,
|
|
96211
96243
|
writeSchema
|
|
96212
96244
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
96213
|
-
const type$
|
|
96214
|
-
const compatibilityDate$
|
|
96215
|
-
const metadata$
|
|
96245
|
+
const type$u = "com.shwfed.table.column.tree-combobox-multi";
|
|
96246
|
+
const compatibilityDate$u = "2026-06-14";
|
|
96247
|
+
const metadata$u = {
|
|
96216
96248
|
name: "下拉树(多选)",
|
|
96217
96249
|
icon: "fluent:tree-evergreen-20-regular",
|
|
96218
96250
|
// Publishes its resolved nodes (array) to the per-row `selections` registry (runtime.vue), readable via `selections["<id>"]`.
|
|
@@ -96227,7 +96259,7 @@ function withRowAndNode$1(configure) {
|
|
|
96227
96259
|
registerNodeVariableIfAbsent(env, { description: "`数据源` 返回的节点;由树逐层向下读取" });
|
|
96228
96260
|
};
|
|
96229
96261
|
}
|
|
96230
|
-
function schema$
|
|
96262
|
+
function schema$u(configure) {
|
|
96231
96263
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
96232
96264
|
const CelNodeKey = Expression({ configure: withRowAndNode$1(configure), resultType: isKeyType$5 });
|
|
96233
96265
|
const CelNodeChildren = Expression({ configure: withRowAndNode$1(configure), resultType: isListLike$5 });
|
|
@@ -96263,8 +96295,8 @@ function schema$t(configure) {
|
|
|
96263
96295
|
})
|
|
96264
96296
|
}).annotations({ title: "DataSource", description: "数据源配置" });
|
|
96265
96297
|
return Struct({
|
|
96266
|
-
type: Literal2(type$
|
|
96267
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
96298
|
+
type: Literal2(type$u),
|
|
96299
|
+
compatibilityDate: Literal2(compatibilityDate$u),
|
|
96268
96300
|
...editableColumnFields(),
|
|
96269
96301
|
placeholder: optional(Locale.annotations({
|
|
96270
96302
|
title: "占位符",
|
|
@@ -96324,7 +96356,7 @@ function schema$t(configure) {
|
|
|
96324
96356
|
})
|
|
96325
96357
|
}).annotations({ title: "TreeComboboxMultiRenderer", description: "下拉树多选渲染器(可编辑)" });
|
|
96326
96358
|
}
|
|
96327
|
-
function defaults$
|
|
96359
|
+
function defaults$i() {
|
|
96328
96360
|
return {
|
|
96329
96361
|
title: [{ locale: "zh", message: "" }],
|
|
96330
96362
|
binding: "",
|
|
@@ -96352,8 +96384,8 @@ const migrate$9 = (prev) => try_({
|
|
|
96352
96384
|
const { nodeLabel, type: _t, compatibilityDate: _c, ...rest } = src;
|
|
96353
96385
|
return {
|
|
96354
96386
|
...rest,
|
|
96355
|
-
type: type$
|
|
96356
|
-
compatibilityDate: compatibilityDate$
|
|
96387
|
+
type: type$u,
|
|
96388
|
+
compatibilityDate: compatibilityDate$u,
|
|
96357
96389
|
nodeLabel: localeLabelToExpression$1(nodeLabel)
|
|
96358
96390
|
};
|
|
96359
96391
|
}
|
|
@@ -96361,7 +96393,7 @@ const migrate$9 = (prev) => try_({
|
|
|
96361
96393
|
},
|
|
96362
96394
|
catch: (e) => e instanceof Error ? e : new Error(String(e))
|
|
96363
96395
|
});
|
|
96364
|
-
function toColumnDef$
|
|
96396
|
+
function toColumnDef$3(value, { getLocaleText }) {
|
|
96365
96397
|
return {
|
|
96366
96398
|
header: editableHeader(getLocaleText(value.title)),
|
|
96367
96399
|
accessorFn: (row) => {
|
|
@@ -96379,18 +96411,18 @@ function toColumnDef$2(value, { getLocaleText }) {
|
|
|
96379
96411
|
}
|
|
96380
96412
|
const __vite_glob_0_32$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
96381
96413
|
__proto__: null,
|
|
96382
|
-
compatibilityDate: compatibilityDate$
|
|
96383
|
-
defaults: defaults$
|
|
96384
|
-
metadata: metadata$
|
|
96414
|
+
compatibilityDate: compatibilityDate$u,
|
|
96415
|
+
defaults: defaults$i,
|
|
96416
|
+
metadata: metadata$u,
|
|
96385
96417
|
migrate: migrate$9,
|
|
96386
96418
|
migrateFrom: migrateFrom$8,
|
|
96387
|
-
schema: schema$
|
|
96388
|
-
toColumnDef: toColumnDef$
|
|
96389
|
-
type: type$
|
|
96419
|
+
schema: schema$u,
|
|
96420
|
+
toColumnDef: toColumnDef$3,
|
|
96421
|
+
type: type$u
|
|
96390
96422
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
96391
|
-
const type$
|
|
96392
|
-
const compatibilityDate$
|
|
96393
|
-
const metadata$
|
|
96423
|
+
const type$t = "com.shwfed.table.column.tree-combobox-single";
|
|
96424
|
+
const compatibilityDate$t = "2026-06-14";
|
|
96425
|
+
const metadata$t = {
|
|
96394
96426
|
name: "下拉树(单选)",
|
|
96395
96427
|
icon: "fluent:tree-evergreen-20-regular",
|
|
96396
96428
|
// Publishes its resolved node (backend record) to the per-row `selections` registry (runtime.vue), readable via `selections["<id>"]`.
|
|
@@ -96405,7 +96437,7 @@ function withRowAndNode(configure) {
|
|
|
96405
96437
|
registerNodeVariableIfAbsent(env, { description: "`数据源` 返回的节点;由树逐层向下读取" });
|
|
96406
96438
|
};
|
|
96407
96439
|
}
|
|
96408
|
-
function schema$
|
|
96440
|
+
function schema$t(configure) {
|
|
96409
96441
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
96410
96442
|
const CelNodeKey = Expression({ configure: withRowAndNode(configure), resultType: isKeyType$4 });
|
|
96411
96443
|
const CelNodeChildren = Expression({ configure: withRowAndNode(configure), resultType: isListLike$4 });
|
|
@@ -96441,8 +96473,8 @@ function schema$s(configure) {
|
|
|
96441
96473
|
})
|
|
96442
96474
|
}).annotations({ title: "DataSource", description: "数据源配置" });
|
|
96443
96475
|
return Struct({
|
|
96444
|
-
type: Literal2(type$
|
|
96445
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
96476
|
+
type: Literal2(type$t),
|
|
96477
|
+
compatibilityDate: Literal2(compatibilityDate$t),
|
|
96446
96478
|
...editableColumnFields(),
|
|
96447
96479
|
placeholder: optional(Locale.annotations({
|
|
96448
96480
|
title: "占位符",
|
|
@@ -96495,7 +96527,7 @@ function schema$s(configure) {
|
|
|
96495
96527
|
})
|
|
96496
96528
|
}).annotations({ title: "TreeComboboxSingleRenderer", description: "下拉树单选渲染器(可编辑)" });
|
|
96497
96529
|
}
|
|
96498
|
-
function defaults$
|
|
96530
|
+
function defaults$h() {
|
|
96499
96531
|
return {
|
|
96500
96532
|
title: [{ locale: "zh", message: "" }],
|
|
96501
96533
|
binding: "",
|
|
@@ -96522,8 +96554,8 @@ const migrate$8 = (prev) => try_({
|
|
|
96522
96554
|
const { nodeLabel, type: _t, compatibilityDate: _c, ...rest } = src;
|
|
96523
96555
|
return {
|
|
96524
96556
|
...rest,
|
|
96525
|
-
type: type$
|
|
96526
|
-
compatibilityDate: compatibilityDate$
|
|
96557
|
+
type: type$t,
|
|
96558
|
+
compatibilityDate: compatibilityDate$t,
|
|
96527
96559
|
nodeLabel: localeLabelToExpression$1(nodeLabel)
|
|
96528
96560
|
};
|
|
96529
96561
|
}
|
|
@@ -96531,7 +96563,7 @@ const migrate$8 = (prev) => try_({
|
|
|
96531
96563
|
},
|
|
96532
96564
|
catch: (e) => e instanceof Error ? e : new Error(String(e))
|
|
96533
96565
|
});
|
|
96534
|
-
function toColumnDef$
|
|
96566
|
+
function toColumnDef$2(value, { getLocaleText }) {
|
|
96535
96567
|
return {
|
|
96536
96568
|
header: editableHeader(getLocaleText(value.title)),
|
|
96537
96569
|
accessorFn: (row) => {
|
|
@@ -96549,22 +96581,22 @@ function toColumnDef$1(value, { getLocaleText }) {
|
|
|
96549
96581
|
}
|
|
96550
96582
|
const __vite_glob_0_33$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
96551
96583
|
__proto__: null,
|
|
96552
|
-
compatibilityDate: compatibilityDate$
|
|
96553
|
-
defaults: defaults$
|
|
96554
|
-
metadata: metadata$
|
|
96584
|
+
compatibilityDate: compatibilityDate$t,
|
|
96585
|
+
defaults: defaults$h,
|
|
96586
|
+
metadata: metadata$t,
|
|
96555
96587
|
migrate: migrate$8,
|
|
96556
96588
|
migrateFrom: migrateFrom$7,
|
|
96557
|
-
schema: schema$
|
|
96558
|
-
toColumnDef: toColumnDef$
|
|
96559
|
-
type: type$
|
|
96589
|
+
schema: schema$t,
|
|
96590
|
+
toColumnDef: toColumnDef$2,
|
|
96591
|
+
type: type$t
|
|
96560
96592
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
96561
|
-
const type$
|
|
96562
|
-
const compatibilityDate$
|
|
96563
|
-
const metadata$
|
|
96593
|
+
const type$s = "com.shwfed.table.column.date-input";
|
|
96594
|
+
const compatibilityDate$s = "2026-06-17";
|
|
96595
|
+
const metadata$s = {
|
|
96564
96596
|
name: "日期输入",
|
|
96565
96597
|
icon: "fluent:calendar-ltr-20-regular"
|
|
96566
96598
|
};
|
|
96567
|
-
function presetSchema$
|
|
96599
|
+
function presetSchema$3(configure) {
|
|
96568
96600
|
const CelDate = CelRowAccess(configure, { resultType: "Date" });
|
|
96569
96601
|
return Struct({
|
|
96570
96602
|
id: UUID.annotations({ description: "预设唯一标识,用于稳定的 v-for key" }),
|
|
@@ -96580,12 +96612,12 @@ function presetSchema$2(configure) {
|
|
|
96580
96612
|
title: "DateInputPreset"
|
|
96581
96613
|
});
|
|
96582
96614
|
}
|
|
96583
|
-
function schema$
|
|
96615
|
+
function schema$s(configure) {
|
|
96584
96616
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
96585
|
-
const Preset = presetSchema$
|
|
96617
|
+
const Preset = presetSchema$3(configure);
|
|
96586
96618
|
return Struct({
|
|
96587
|
-
type: Literal2(type$
|
|
96588
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
96619
|
+
type: Literal2(type$s),
|
|
96620
|
+
compatibilityDate: Literal2(compatibilityDate$s),
|
|
96589
96621
|
...editableColumnFields(),
|
|
96590
96622
|
placeholder: optional(Locale.annotations({
|
|
96591
96623
|
title: "占位符",
|
|
@@ -96618,14 +96650,14 @@ function schema$r(configure) {
|
|
|
96618
96650
|
}))
|
|
96619
96651
|
}).annotations({ title: "DateInputRenderer", description: "日期输入渲染器(可编辑)" });
|
|
96620
96652
|
}
|
|
96621
|
-
function defaults$
|
|
96653
|
+
function defaults$g() {
|
|
96622
96654
|
return {
|
|
96623
96655
|
title: [{ locale: "zh", message: "" }],
|
|
96624
96656
|
binding: "",
|
|
96625
96657
|
size: 120
|
|
96626
96658
|
};
|
|
96627
96659
|
}
|
|
96628
|
-
function toColumnDef(value, { getLocaleText }) {
|
|
96660
|
+
function toColumnDef$1(value, { getLocaleText }) {
|
|
96629
96661
|
return {
|
|
96630
96662
|
header: editableHeader(getLocaleText(value.title)),
|
|
96631
96663
|
// `binding` is a dot-prop path (validated non-empty); the cell renderer
|
|
@@ -96644,6 +96676,134 @@ function toColumnDef(value, { getLocaleText }) {
|
|
|
96644
96676
|
};
|
|
96645
96677
|
}
|
|
96646
96678
|
const __vite_glob_0_34$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
96679
|
+
__proto__: null,
|
|
96680
|
+
compatibilityDate: compatibilityDate$s,
|
|
96681
|
+
defaults: defaults$g,
|
|
96682
|
+
metadata: metadata$s,
|
|
96683
|
+
presetSchema: presetSchema$3,
|
|
96684
|
+
schema: schema$s,
|
|
96685
|
+
toColumnDef: toColumnDef$1,
|
|
96686
|
+
type: type$s
|
|
96687
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
96688
|
+
const type$r = "com.shwfed.table.column.date-range-input";
|
|
96689
|
+
const compatibilityDate$r = "2026-06-22";
|
|
96690
|
+
const metadata$r = {
|
|
96691
|
+
name: "日期范围输入",
|
|
96692
|
+
icon: "fluent:calendar-arrow-right-20-regular"
|
|
96693
|
+
};
|
|
96694
|
+
const BindingPath$1 = String$.pipe(minLength(1));
|
|
96695
|
+
const SplitBinding$1 = Tuple(BindingPath$1, BindingPath$1).pipe(
|
|
96696
|
+
filter(([a, b]) => a !== b, {
|
|
96697
|
+
message: () => "起始与结束绑定路径不能相同"
|
|
96698
|
+
})
|
|
96699
|
+
);
|
|
96700
|
+
const bindingSchema$1 = Union2(BindingPath$1, SplitBinding$1).annotations({
|
|
96701
|
+
title: "绑定路径",
|
|
96702
|
+
description: "单元格读写的 `dot-prop` 路径;填写单个路径时读写 `[start, end]` 字符串数组,例如 `event.range`;填写 `[起始路径, 结束路径]` 元组时分别读写两端"
|
|
96703
|
+
});
|
|
96704
|
+
function presetSchema$2(configure) {
|
|
96705
|
+
const CelDate = CelRowAccess(configure, { resultType: "Date" });
|
|
96706
|
+
return Struct({
|
|
96707
|
+
id: UUID.annotations({ description: "预设唯一标识,用于稳定的 v-for key" }),
|
|
96708
|
+
label: Locale.annotations({
|
|
96709
|
+
title: "标签",
|
|
96710
|
+
description: "快捷选项展示的本地化文本"
|
|
96711
|
+
}),
|
|
96712
|
+
start: CelDate.annotations({
|
|
96713
|
+
title: "起始值",
|
|
96714
|
+
description: '点击该预设时计算出的起始日期,例如 `now.offset(-7, "days")`'
|
|
96715
|
+
}),
|
|
96716
|
+
end: CelDate.annotations({
|
|
96717
|
+
title: "结束值",
|
|
96718
|
+
description: "点击该预设时计算出的结束日期,例如 `now`"
|
|
96719
|
+
})
|
|
96720
|
+
}).annotations({
|
|
96721
|
+
title: "DateRangeInputPreset"
|
|
96722
|
+
});
|
|
96723
|
+
}
|
|
96724
|
+
function schema$r(configure) {
|
|
96725
|
+
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
96726
|
+
const Preset = presetSchema$2(configure);
|
|
96727
|
+
return Struct({
|
|
96728
|
+
type: Literal2(type$r),
|
|
96729
|
+
compatibilityDate: Literal2(compatibilityDate$r),
|
|
96730
|
+
...editableColumnFields(),
|
|
96731
|
+
// Swap the inherited single-string `binding` for the range union.
|
|
96732
|
+
binding: bindingSchema$1,
|
|
96733
|
+
startPlaceholder: optional(Locale.annotations({
|
|
96734
|
+
title: "起始占位符",
|
|
96735
|
+
description: "未选中起始日期时输入框中的占位文本"
|
|
96736
|
+
})),
|
|
96737
|
+
endPlaceholder: optional(Locale.annotations({
|
|
96738
|
+
title: "结束占位符",
|
|
96739
|
+
description: "未选中结束日期时输入框中的占位文本"
|
|
96740
|
+
})),
|
|
96741
|
+
hidden: optional(CelBool.annotations({
|
|
96742
|
+
title: "隐藏条件",
|
|
96743
|
+
description: "返回 `true` 时该行的输入框不渲染(其余行不受影响)"
|
|
96744
|
+
})),
|
|
96745
|
+
disabled: optional(CelBool.annotations({
|
|
96746
|
+
title: "禁用条件",
|
|
96747
|
+
description: "返回 `true` 时输入框仍然渲染但不可编辑"
|
|
96748
|
+
})),
|
|
96749
|
+
readonly: optional(CelBool.annotations({
|
|
96750
|
+
title: "只读条件",
|
|
96751
|
+
description: "返回 `true` 时仅以纯文本展示当前值"
|
|
96752
|
+
})),
|
|
96753
|
+
derived: derivedRowField(configure, "dyn"),
|
|
96754
|
+
format: optional(String$.pipe(minLength(1)).annotations({
|
|
96755
|
+
title: "展示格式",
|
|
96756
|
+
description: "输入框中展示日期的 `date-fns` 格式串;留空时使用默认 `yyyy-MM-dd`"
|
|
96757
|
+
})),
|
|
96758
|
+
valueFormat: optional(String$.pipe(minLength(1)).annotations({
|
|
96759
|
+
title: "存储格式",
|
|
96760
|
+
description: "写入行数据的 `date-fns` 格式串;留空时使用默认 `yyyy-MM-dd`"
|
|
96761
|
+
})),
|
|
96762
|
+
rangeSeparatorIcon: optional(String$.pipe(minLength(1)).annotations({
|
|
96763
|
+
title: "范围分隔图标",
|
|
96764
|
+
description: "范围两端之间分隔图标的 Iconify 名称"
|
|
96765
|
+
})),
|
|
96766
|
+
numberOfMonths: optional(Number$.pipe(int(), positive()).annotations({
|
|
96767
|
+
title: "面板月数",
|
|
96768
|
+
description: "日历面板中并排显示的月份数;默认 `2`"
|
|
96769
|
+
})),
|
|
96770
|
+
presets: optional(Array$(Preset).annotations({
|
|
96771
|
+
title: "快捷选项",
|
|
96772
|
+
description: "在选择器底部展示的快捷预设;留空则不渲染"
|
|
96773
|
+
}))
|
|
96774
|
+
}).annotations({ title: "DateRangeInputRenderer", description: "日期范围输入渲染器(可编辑)" });
|
|
96775
|
+
}
|
|
96776
|
+
function defaults$f() {
|
|
96777
|
+
return {
|
|
96778
|
+
title: [{ locale: "zh", message: "" }],
|
|
96779
|
+
binding: "",
|
|
96780
|
+
size: 240
|
|
96781
|
+
};
|
|
96782
|
+
}
|
|
96783
|
+
function toColumnDef(value, { getLocaleText }) {
|
|
96784
|
+
return {
|
|
96785
|
+
header: editableHeader(getLocaleText(value.title)),
|
|
96786
|
+
// `binding` is a literal `dot-prop` path (or pair); the cell reads through
|
|
96787
|
+
// the same path(s) it writes. No CEL. A single path holds the `[start, end]`
|
|
96788
|
+
// array directly; a split tuple is recomposed into a `[start, end]` pair so
|
|
96789
|
+
// read-only display and sorting see one consistent shape.
|
|
96790
|
+
accessorFn: (row) => {
|
|
96791
|
+
if (!row || typeof row !== "object") return void 0;
|
|
96792
|
+
const r = row;
|
|
96793
|
+
const binding = value.binding;
|
|
96794
|
+
if (typeof binding === "string") return getProperty(r, binding);
|
|
96795
|
+
return [getProperty(r, binding[0]), getProperty(r, binding[1])];
|
|
96796
|
+
},
|
|
96797
|
+
enableSorting: value.enableSorting ?? false,
|
|
96798
|
+
sortingFn: "alphanumeric",
|
|
96799
|
+
size: value.size,
|
|
96800
|
+
meta: {
|
|
96801
|
+
grow: value.grow ?? false,
|
|
96802
|
+
tooltip: getLocaleText(value.tooltip)
|
|
96803
|
+
}
|
|
96804
|
+
};
|
|
96805
|
+
}
|
|
96806
|
+
const __vite_glob_0_35$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
96647
96807
|
__proto__: null,
|
|
96648
96808
|
compatibilityDate: compatibilityDate$r,
|
|
96649
96809
|
defaults: defaults$f,
|
|
@@ -96688,7 +96848,8 @@ const schemaModules$2 = /* @__PURE__ */ Object.assign({
|
|
|
96688
96848
|
"../columns/2026-06-14/com.shwfed.table.column.combobox-single/schema.ts": __vite_glob_0_31$1,
|
|
96689
96849
|
"../columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/schema.ts": __vite_glob_0_32$1,
|
|
96690
96850
|
"../columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/schema.ts": __vite_glob_0_33$1,
|
|
96691
|
-
"../columns/2026-06-17/com.shwfed.table.column.date-input/schema.ts": __vite_glob_0_34$1
|
|
96851
|
+
"../columns/2026-06-17/com.shwfed.table.column.date-input/schema.ts": __vite_glob_0_34$1,
|
|
96852
|
+
"../columns/2026-06-22/com.shwfed.table.column.date-range-input/schema.ts": __vite_glob_0_35$1
|
|
96692
96853
|
});
|
|
96693
96854
|
const configModules$2 = /* @__PURE__ */ Object.assign({
|
|
96694
96855
|
"../columns/2026-04-14/com.shwfed.table.column.actions/config.vue": __vite_glob_2_9,
|
|
@@ -96725,7 +96886,8 @@ const configModules$2 = /* @__PURE__ */ Object.assign({
|
|
|
96725
96886
|
"../columns/2026-06-14/com.shwfed.table.column.combobox-single/config.vue": __vite_glob_2_9,
|
|
96726
96887
|
"../columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/config.vue": __vite_glob_2_9,
|
|
96727
96888
|
"../columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/config.vue": __vite_glob_2_9,
|
|
96728
|
-
"../columns/2026-06-17/com.shwfed.table.column.date-input/config.vue": __vite_glob_2_9
|
|
96889
|
+
"../columns/2026-06-17/com.shwfed.table.column.date-input/config.vue": __vite_glob_2_9,
|
|
96890
|
+
"../columns/2026-06-22/com.shwfed.table.column.date-range-input/config.vue": __vite_glob_2_9
|
|
96729
96891
|
});
|
|
96730
96892
|
const runtimeModules$2 = /* @__PURE__ */ Object.assign({
|
|
96731
96893
|
"../columns/2026-04-14/com.shwfed.table.column.actions/runtime.vue": __vite_glob_2_9,
|
|
@@ -96762,7 +96924,8 @@ const runtimeModules$2 = /* @__PURE__ */ Object.assign({
|
|
|
96762
96924
|
"../columns/2026-06-14/com.shwfed.table.column.combobox-single/runtime.vue": __vite_glob_2_9,
|
|
96763
96925
|
"../columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/runtime.vue": __vite_glob_2_9,
|
|
96764
96926
|
"../columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/runtime.vue": __vite_glob_2_9,
|
|
96765
|
-
"../columns/2026-06-17/com.shwfed.table.column.date-input/runtime.vue": __vite_glob_2_9
|
|
96927
|
+
"../columns/2026-06-17/com.shwfed.table.column.date-input/runtime.vue": __vite_glob_2_9,
|
|
96928
|
+
"../columns/2026-06-22/com.shwfed.table.column.date-range-input/runtime.vue": __vite_glob_2_9
|
|
96766
96929
|
});
|
|
96767
96930
|
const sourceKey$1 = (type2, compatibilityDate2) => `${type2}@${compatibilityDate2}`;
|
|
96768
96931
|
const registry$2 = defineRegistry({
|