@shwfed/config 2.9.7 → 2.9.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mcp.mjs +1054 -855
- package/dist/module.json +1 -1
- package/dist/preview/assets/{FieldGroup.vue_vue_type_script_setup_true_lang-tkU7rYrs.js → FieldGroup.vue_vue_type_script_setup_true_lang-CdbT3cSj.js} +1 -1
- package/dist/preview/assets/{badge-C55P2V8D.js → badge-DL-wtgr8.js} +1 -1
- package/dist/preview/assets/{config-DeaHg7ps.js → config-80OJWswM.js} +1 -1
- package/dist/preview/assets/{config-D0j4njOQ.js → config-B8F7X1oF.js} +1 -1
- package/dist/preview/assets/{config-rL7m78ZC.js → config-B9BcmOZt.js} +1 -1
- package/dist/preview/assets/{config-Bc2N2jlD.js → config-C-Ta4ALL.js} +1 -1
- package/dist/preview/assets/{config-DqibnZH4.js → config-C8R7tsmC.js} +1 -1
- package/dist/preview/assets/{config-CnxzerC5.js → config-CoObmLL2.js} +1 -1
- package/dist/preview/assets/{config-Bu1S_DR5.js → config-DBQ-1J66.js} +1 -1
- package/dist/preview/assets/{config-CH2QpakU.js → config-DVk8b1Qf.js} +1 -1
- package/dist/preview/assets/{config-DzKcQKJj.js → config-DjsQoLiy.js} +1 -1
- package/dist/preview/assets/{config-j1oKH3Ci.js → config-RmdB0dwp.js} +1 -1
- package/dist/preview/assets/{config-B3-xqMew.js → config-h_hDvpHt.js} +1 -1
- package/dist/preview/assets/{definition.vue_vue_type_script_setup_true_lang-G748uLwi.js → definition.vue_vue_type_script_setup_true_lang-SX94Z692.js} +1 -1
- package/dist/preview/assets/index-BIwwDhfa.js +1 -0
- package/dist/preview/assets/index-C1h9lV52.css +1 -0
- package/dist/preview/assets/index-CsN0336H.js +717 -0
- package/dist/preview/assets/{index-dIh1Jn4U.js → index-Df0XE7Lz.js} +1 -1
- package/dist/preview/assets/{item-BCWcrKaL.js → item-B9XcOWjy.js} +1 -1
- package/dist/preview/assets/{runtime-CBg0VVCJ.js → runtime-BBsXfAZm.js} +1 -1
- package/dist/preview/assets/{runtime-D3LGPlv3.js → runtime-BHlUDfbv.js} +1 -1
- package/dist/preview/assets/{runtime-BTFesnrJ.js → runtime-BrwIgXY3.js} +1 -1
- package/dist/preview/assets/{runtime-zoq6YaMz.js → runtime-C--WPQ3o.js} +1 -1
- package/dist/preview/assets/{runtime-BsqCaddm.js → runtime-C0yBdMlV.js} +1 -1
- package/dist/preview/assets/{runtime-C-KLJ71q.js → runtime-C6uebSDU.js} +1 -1
- package/dist/preview/assets/{runtime-DZiqhnCm.js → runtime-DU0iHs9-.js} +1 -1
- package/dist/preview/assets/{runtime-bRCsEM7S.js → runtime-Dqa4phvv.js} +1 -1
- package/dist/preview/assets/{runtime-C5-cN3M1.js → runtime-Dr-MmEyE.js} +1 -1
- package/dist/preview/assets/{runtime-DO8ov3J6.js → runtime-v_nJoD5I.js} +1 -1
- package/dist/preview/index.html +2 -2
- package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json/schema.d.ts +1 -1
- package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json/schema.js +2 -2
- package/dist/runtime/components/actions/buttons/2026-06-08/com.shwfed.actions.button.http.request.json.batch/schema.d.ts +1 -1
- package/dist/runtime/components/actions/buttons/2026-06-08/com.shwfed.actions.button.http.request.json.batch/schema.js +1 -1
- package/dist/runtime/components/block-layout-editor/index.vue +98 -3
- package/dist/runtime/components/config/footer.vue +22 -20
- package/dist/runtime/components/config/use-editor.js +5 -9
- package/dist/runtime/components/config/utils/validation-error.d.ts +1 -0
- package/dist/runtime/components/config/utils/validation-error.js +34 -0
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.d.vue.ts +4 -4
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.vue.d.ts +4 -4
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.d.vue.ts +6 -6
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.vue.d.ts +6 -6
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/config.d.vue.ts +2 -2
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/config.vue.d.ts +2 -2
- package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/config.d.vue.ts +4 -4
- package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/config.vue.d.ts +4 -4
- package/dist/runtime/components/form/fields/2026-06-09/com.shwfed.form.field.upload/config.d.vue.ts +155 -0
- package/dist/runtime/components/form/fields/2026-06-09/com.shwfed.form.field.upload/config.vue +918 -0
- package/dist/runtime/components/form/fields/2026-06-09/com.shwfed.form.field.upload/config.vue.d.ts +155 -0
- package/dist/runtime/components/form/fields/2026-06-09/com.shwfed.form.field.upload/runtime.d.vue.ts +8 -0
- package/dist/runtime/components/form/fields/2026-06-09/com.shwfed.form.field.upload/runtime.vue +482 -0
- package/dist/runtime/components/form/fields/2026-06-09/com.shwfed.form.field.upload/runtime.vue.d.ts +8 -0
- package/dist/runtime/components/form/fields/2026-06-09/com.shwfed.form.field.upload/schema.d.ts +126 -0
- package/dist/runtime/components/form/fields/2026-06-09/com.shwfed.form.field.upload/schema.js +178 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.markdown/runtime.vue +1 -1
- package/dist/runtime/components/ui/date-picker/DatePickerInput.d.vue.ts +1 -1
- package/dist/runtime/components/ui/date-picker/DatePickerInput.vue.d.ts +1 -1
- package/dist/runtime/components/ui/date-picker/DatePickerTimeInput.d.vue.ts +1 -1
- package/dist/runtime/components/ui/date-picker/DatePickerTimeInput.vue.d.ts +1 -1
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerInput.d.vue.ts +1 -1
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerInput.vue.d.ts +1 -1
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerTimeInput.d.vue.ts +2 -2
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerTimeInput.vue.d.ts +2 -2
- package/dist/runtime/vendor/cel-js/CLAUDE.md +1 -1
- package/dist/runtime/vendor/cel-js/PROMPT.md +2 -2
- package/dist/runtime/vendor/cel-js/lib/http-builder.js +13 -3
- package/package.json +1 -1
- package/dist/preview/assets/index-C16exop7.js +0 -717
- package/dist/preview/assets/index-CSm6dB4o.js +0 -1
- package/dist/preview/assets/index-vPcvbp7e.css +0 -1
package/dist/mcp.mjs
CHANGED
|
@@ -15509,14 +15509,14 @@ function requireCompile() {
|
|
|
15509
15509
|
}
|
|
15510
15510
|
const $id$1 = "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#";
|
|
15511
15511
|
const description = "Meta-schema for $data reference (JSON AnySchema extension proposal)";
|
|
15512
|
-
const type$
|
|
15512
|
+
const type$1m = "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$1m,
|
|
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$1k = {};
|
|
18520
18520
|
var hasRequiredMetadata;
|
|
18521
18521
|
function requireMetadata() {
|
|
18522
|
-
if (hasRequiredMetadata) return metadata$
|
|
18522
|
+
if (hasRequiredMetadata) return metadata$1k;
|
|
18523
18523
|
hasRequiredMetadata = 1;
|
|
18524
|
-
Object.defineProperty(metadata$
|
|
18525
|
-
metadata$
|
|
18526
|
-
metadata$
|
|
18524
|
+
Object.defineProperty(metadata$1k, "__esModule", { value: true });
|
|
18525
|
+
metadata$1k.contentVocabulary = metadata$1k.metadataVocabulary = void 0;
|
|
18526
|
+
metadata$1k.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$1k.contentVocabulary = [
|
|
18536
18536
|
"contentMediaType",
|
|
18537
18537
|
"contentEncoding",
|
|
18538
18538
|
"contentSchema"
|
|
18539
18539
|
];
|
|
18540
|
-
return metadata$
|
|
18540
|
+
return metadata$1k;
|
|
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$1l = ["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$1l,
|
|
18694
18694
|
properties,
|
|
18695
18695
|
"default": true
|
|
18696
18696
|
};
|
|
@@ -43012,6 +43012,19 @@ class HttpRequestBuilder {
|
|
|
43012
43012
|
const explicit = new Set(this.#headers.map(([k]) => k.toLowerCase()));
|
|
43013
43013
|
const headers = {};
|
|
43014
43014
|
for (const [k, v] of this.#headers) headers[k] = v;
|
|
43015
|
+
if (this.#body !== void 0) {
|
|
43016
|
+
if (this.#body instanceof FormData) {
|
|
43017
|
+
const serialized = new Response(this.#body);
|
|
43018
|
+
const contentType = serialized.headers.get("content-type");
|
|
43019
|
+
if (contentType !== null && !explicit.has("content-type")) {
|
|
43020
|
+
headers["Content-Type"] = contentType;
|
|
43021
|
+
explicit.add("content-type");
|
|
43022
|
+
}
|
|
43023
|
+
parts2.body = serialized.blob();
|
|
43024
|
+
} else {
|
|
43025
|
+
parts2.body = this.#body;
|
|
43026
|
+
}
|
|
43027
|
+
}
|
|
43015
43028
|
for (const [key, { name, get: get2 }] of HttpRequestBuilder.#defaultHeaders) {
|
|
43016
43029
|
if (explicit.has(key)) continue;
|
|
43017
43030
|
const v = get2();
|
|
@@ -43021,9 +43034,6 @@ class HttpRequestBuilder {
|
|
|
43021
43034
|
if (Object.keys(headers).length > 0) {
|
|
43022
43035
|
parts2.headers = headers;
|
|
43023
43036
|
}
|
|
43024
|
-
if (this.#body !== void 0) {
|
|
43025
|
-
parts2.body = this.#body;
|
|
43026
|
-
}
|
|
43027
43037
|
let request = unsafeMake(parts2);
|
|
43028
43038
|
for (const [k, v] of this.#queries) {
|
|
43029
43039
|
request = appendUrlSearchParam(request, k, v);
|
|
@@ -81637,13 +81647,13 @@ function md(...args2) {
|
|
|
81637
81647
|
const indent = (original.startsWith("\n") ? original.slice(1) : original).split("\n", 1)[0]?.match(/^(\s*)/)?.[1]?.length ?? 0;
|
|
81638
81648
|
return original.trim().replaceAll("\\`", "`").split("\n").map((line) => line.replace(new RegExp(`^${String.raw`\s`.repeat(indent)}`), "")).join("\n");
|
|
81639
81649
|
}
|
|
81640
|
-
const type$
|
|
81641
|
-
const compatibilityDate$
|
|
81642
|
-
const metadata$
|
|
81650
|
+
const type$1k = "com.shwfed.actions.button.http.request.json.confirm";
|
|
81651
|
+
const compatibilityDate$1k = "2026-04-18";
|
|
81652
|
+
const metadata$1j = {
|
|
81643
81653
|
name: "网络请求(JSON + 确认)",
|
|
81644
81654
|
icon: "fluent:shield-checkmark-20-regular"
|
|
81645
81655
|
};
|
|
81646
|
-
function schema$
|
|
81656
|
+
function schema$1j(configure) {
|
|
81647
81657
|
const CelHttpRequest = Expression({ configure, resultType: "HttpRequest" });
|
|
81648
81658
|
const CelMessage = Expression({
|
|
81649
81659
|
configure: (env) => {
|
|
@@ -81655,8 +81665,8 @@ function schema$1i(configure) {
|
|
|
81655
81665
|
resultType: "string"
|
|
81656
81666
|
});
|
|
81657
81667
|
return Struct({
|
|
81658
|
-
type: Literal2(type$
|
|
81659
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
81668
|
+
type: Literal2(type$1k),
|
|
81669
|
+
compatibilityDate: Literal2(compatibilityDate$1k),
|
|
81660
81670
|
expression: CelHttpRequest.annotations({
|
|
81661
81671
|
title: "请求",
|
|
81662
81672
|
description: md`
|
|
@@ -81722,21 +81732,21 @@ function schema$1i(configure) {
|
|
|
81722
81732
|
}
|
|
81723
81733
|
const __vite_glob_0_0$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
81724
81734
|
__proto__: null,
|
|
81725
|
-
compatibilityDate: compatibilityDate$
|
|
81726
|
-
metadata: metadata$
|
|
81727
|
-
schema: schema$
|
|
81728
|
-
type: type$
|
|
81735
|
+
compatibilityDate: compatibilityDate$1k,
|
|
81736
|
+
metadata: metadata$1j,
|
|
81737
|
+
schema: schema$1j,
|
|
81738
|
+
type: type$1k
|
|
81729
81739
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
81730
81740
|
const PAGE_TARGET_ID = "00000000-0000-0000-0000-000000000000";
|
|
81731
|
-
const type$
|
|
81732
|
-
const compatibilityDate$
|
|
81733
|
-
const type$
|
|
81734
|
-
const compatibilityDate$
|
|
81735
|
-
const metadata$
|
|
81736
|
-
name: "
|
|
81741
|
+
const type$1j = "com.shwfed.operation.alert";
|
|
81742
|
+
const compatibilityDate$1j = "2026-06-09";
|
|
81743
|
+
const type$1i = "com.shwfed.actions.button.http.request.json";
|
|
81744
|
+
const compatibilityDate$1i = "2026-04-18";
|
|
81745
|
+
const metadata$1i = {
|
|
81746
|
+
name: "请求",
|
|
81737
81747
|
icon: "fluent:cloud-arrow-up-20-regular"
|
|
81738
81748
|
};
|
|
81739
|
-
function schema$
|
|
81749
|
+
function schema$1i(configure) {
|
|
81740
81750
|
const CelHttpRequest = Expression({ configure, resultType: "HttpRequest" });
|
|
81741
81751
|
const CelMessage = Expression({
|
|
81742
81752
|
configure: (env) => {
|
|
@@ -81748,8 +81758,8 @@ function schema$1h(configure) {
|
|
|
81748
81758
|
resultType: "string"
|
|
81749
81759
|
});
|
|
81750
81760
|
return Struct({
|
|
81751
|
-
type: Literal2(type$
|
|
81752
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
81761
|
+
type: Literal2(type$1i),
|
|
81762
|
+
compatibilityDate: Literal2(compatibilityDate$1i),
|
|
81753
81763
|
expression: CelHttpRequest.annotations({
|
|
81754
81764
|
title: "请求",
|
|
81755
81765
|
description: md`
|
|
@@ -81802,12 +81812,12 @@ function schema$1h(configure) {
|
|
|
81802
81812
|
});
|
|
81803
81813
|
}
|
|
81804
81814
|
const migrateFrom$f = [
|
|
81805
|
-
{ type: "com.shwfed.actions.button.http.request.json.confirm", compatibilityDate: compatibilityDate$
|
|
81815
|
+
{ type: "com.shwfed.actions.button.http.request.json.confirm", compatibilityDate: compatibilityDate$1i }
|
|
81806
81816
|
];
|
|
81807
|
-
const migrate$
|
|
81817
|
+
const migrate$h = (prev) => try_({
|
|
81808
81818
|
try: () => {
|
|
81809
81819
|
if (!prev || typeof prev !== "object") {
|
|
81810
|
-
throw new Error("
|
|
81820
|
+
throw new Error("请求迁移失败:原值不是对象");
|
|
81811
81821
|
}
|
|
81812
81822
|
const { type: _t, compatibilityDate: _c, markdown, icon, color, before, ...rest } = prev;
|
|
81813
81823
|
const params = {
|
|
@@ -81817,15 +81827,15 @@ const migrate$g = (prev) => try_({
|
|
|
81817
81827
|
if (color !== void 0) params.color = color;
|
|
81818
81828
|
const alertTrigger = {
|
|
81819
81829
|
target: PAGE_TARGET_ID,
|
|
81820
|
-
operation: type$
|
|
81821
|
-
compatibilityDate: compatibilityDate$
|
|
81830
|
+
operation: type$1j,
|
|
81831
|
+
compatibilityDate: compatibilityDate$1j,
|
|
81822
81832
|
params
|
|
81823
81833
|
};
|
|
81824
81834
|
const prevBefore = Array.isArray(before) ? before : [];
|
|
81825
81835
|
return {
|
|
81826
81836
|
...rest,
|
|
81827
|
-
type: type$
|
|
81828
|
-
compatibilityDate: compatibilityDate$
|
|
81837
|
+
type: type$1i,
|
|
81838
|
+
compatibilityDate: compatibilityDate$1i,
|
|
81829
81839
|
before: [...prevBefore, alertTrigger]
|
|
81830
81840
|
};
|
|
81831
81841
|
},
|
|
@@ -81833,23 +81843,23 @@ const migrate$g = (prev) => try_({
|
|
|
81833
81843
|
});
|
|
81834
81844
|
const __vite_glob_0_1$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
81835
81845
|
__proto__: null,
|
|
81836
|
-
compatibilityDate: compatibilityDate$
|
|
81837
|
-
metadata: metadata$
|
|
81838
|
-
migrate: migrate$
|
|
81846
|
+
compatibilityDate: compatibilityDate$1i,
|
|
81847
|
+
metadata: metadata$1i,
|
|
81848
|
+
migrate: migrate$h,
|
|
81839
81849
|
migrateFrom: migrateFrom$f,
|
|
81840
|
-
schema: schema$
|
|
81841
|
-
type: type$
|
|
81850
|
+
schema: schema$1i,
|
|
81851
|
+
type: type$1i
|
|
81842
81852
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
81843
|
-
const type$
|
|
81844
|
-
const compatibilityDate$
|
|
81845
|
-
const metadata$
|
|
81853
|
+
const type$1h = "com.shwfed.actions.button.prototype";
|
|
81854
|
+
const compatibilityDate$1h = "2026-04-18";
|
|
81855
|
+
const metadata$1h = {
|
|
81846
81856
|
name: "原型",
|
|
81847
81857
|
icon: "fluent:predictions-20-regular"
|
|
81848
81858
|
};
|
|
81849
|
-
function schema$
|
|
81859
|
+
function schema$1h(_configure) {
|
|
81850
81860
|
return Struct({
|
|
81851
|
-
type: Literal2(type$
|
|
81852
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
81861
|
+
type: Literal2(type$1h),
|
|
81862
|
+
compatibilityDate: Literal2(compatibilityDate$1h)
|
|
81853
81863
|
}).annotations({
|
|
81854
81864
|
title: "PrototypeAction",
|
|
81855
81865
|
description: "点击无副作用的原型按钮,可被一次性转换为其它类型"
|
|
@@ -81857,23 +81867,23 @@ function schema$1g(_configure) {
|
|
|
81857
81867
|
}
|
|
81858
81868
|
const __vite_glob_0_2$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
81859
81869
|
__proto__: null,
|
|
81860
|
-
compatibilityDate: compatibilityDate$
|
|
81861
|
-
metadata: metadata$
|
|
81862
|
-
schema: schema$
|
|
81863
|
-
type: type$
|
|
81870
|
+
compatibilityDate: compatibilityDate$1h,
|
|
81871
|
+
metadata: metadata$1h,
|
|
81872
|
+
schema: schema$1h,
|
|
81873
|
+
type: type$1h
|
|
81864
81874
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
81865
|
-
const type$
|
|
81866
|
-
const compatibilityDate$
|
|
81867
|
-
const metadata$
|
|
81875
|
+
const type$1g = "com.shwfed.actions.button.navigation";
|
|
81876
|
+
const compatibilityDate$1g = "2026-04-21";
|
|
81877
|
+
const metadata$1g = {
|
|
81868
81878
|
name: "导航",
|
|
81869
81879
|
icon: "fluent:link-20-regular"
|
|
81870
81880
|
};
|
|
81871
81881
|
const Mode = Literal2("_self", "_blank");
|
|
81872
|
-
function schema$
|
|
81882
|
+
function schema$1g(configure) {
|
|
81873
81883
|
const CelUrl = Expression({ configure, resultType: "string" });
|
|
81874
81884
|
return Struct({
|
|
81875
|
-
type: Literal2(type$
|
|
81876
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
81885
|
+
type: Literal2(type$1g),
|
|
81886
|
+
compatibilityDate: Literal2(compatibilityDate$1g),
|
|
81877
81887
|
url: CelUrl.annotations({
|
|
81878
81888
|
title: "链接",
|
|
81879
81889
|
description: "点击后将打开的链接,返回 `string`"
|
|
@@ -81889,10 +81899,10 @@ function schema$1f(configure) {
|
|
|
81889
81899
|
}
|
|
81890
81900
|
const __vite_glob_0_3$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
81891
81901
|
__proto__: null,
|
|
81892
|
-
compatibilityDate: compatibilityDate$
|
|
81893
|
-
metadata: metadata$
|
|
81894
|
-
schema: schema$
|
|
81895
|
-
type: type$
|
|
81902
|
+
compatibilityDate: compatibilityDate$1g,
|
|
81903
|
+
metadata: metadata$1g,
|
|
81904
|
+
schema: schema$1g,
|
|
81905
|
+
type: type$1g
|
|
81896
81906
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
81897
81907
|
const TrackCount = Number$.pipe(int(), positive());
|
|
81898
81908
|
const GridCoord = Number$.pipe(int(), positive());
|
|
@@ -82028,9 +82038,9 @@ function registerBlockRef(configure, ref2) {
|
|
|
82028
82038
|
function lookupBlockRef(configure) {
|
|
82029
82039
|
return blockRefCache.get(configure);
|
|
82030
82040
|
}
|
|
82031
|
-
const type$
|
|
82032
|
-
const compatibilityDate$
|
|
82033
|
-
const metadata$
|
|
82041
|
+
const type$1f = "com.shwfed.actions.button.modal.layout";
|
|
82042
|
+
const compatibilityDate$1f = "2026-05-11";
|
|
82043
|
+
const metadata$1f = {
|
|
82034
82044
|
name: "模态窗口",
|
|
82035
82045
|
icon: "fluent:window-edit-20-regular",
|
|
82036
82046
|
drillable: true,
|
|
@@ -82041,12 +82051,12 @@ const metadata$1e = {
|
|
|
82041
82051
|
const CssLength = String$.pipe(
|
|
82042
82052
|
filter((s) => s.trim().length > 0 || "不能为空字符串")
|
|
82043
82053
|
);
|
|
82044
|
-
function schema$
|
|
82054
|
+
function schema$1f(configure) {
|
|
82045
82055
|
const blockUnion = lookupBlockRef(configure) ?? Unknown;
|
|
82046
82056
|
const ModalSlot = Slot(blockUnion, configure);
|
|
82047
82057
|
return Struct({
|
|
82048
|
-
type: Literal2(type$
|
|
82049
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
82058
|
+
type: Literal2(type$1f),
|
|
82059
|
+
compatibilityDate: Literal2(compatibilityDate$1f),
|
|
82050
82060
|
modalTitle: optional(Locale.annotations({
|
|
82051
82061
|
title: "弹窗标题",
|
|
82052
82062
|
description: "弹窗顶部展示的本地化标题,支持行内 Markdown;不填则回退使用按钮自身的名称"
|
|
@@ -82075,22 +82085,22 @@ function defaultBody$9() {
|
|
|
82075
82085
|
}
|
|
82076
82086
|
const __vite_glob_0_4$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
82077
82087
|
__proto__: null,
|
|
82078
|
-
compatibilityDate: compatibilityDate$
|
|
82088
|
+
compatibilityDate: compatibilityDate$1f,
|
|
82079
82089
|
defaultBody: defaultBody$9,
|
|
82080
|
-
metadata: metadata$
|
|
82081
|
-
schema: schema$
|
|
82082
|
-
type: type$
|
|
82090
|
+
metadata: metadata$1f,
|
|
82091
|
+
schema: schema$1f,
|
|
82092
|
+
type: type$1f
|
|
82083
82093
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
82084
|
-
const type$
|
|
82085
|
-
const compatibilityDate$
|
|
82086
|
-
const metadata$
|
|
82094
|
+
const type$1e = "com.shwfed.actions.button.event.dispatch";
|
|
82095
|
+
const compatibilityDate$1e = "2026-05-15";
|
|
82096
|
+
const metadata$1e = {
|
|
82087
82097
|
name: "触发事件",
|
|
82088
82098
|
icon: "fluent:flash-20-regular"
|
|
82089
82099
|
};
|
|
82090
|
-
function schema$
|
|
82100
|
+
function schema$1e(_configure) {
|
|
82091
82101
|
return Struct({
|
|
82092
|
-
type: Literal2(type$
|
|
82093
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
82102
|
+
type: Literal2(type$1e),
|
|
82103
|
+
compatibilityDate: Literal2(compatibilityDate$1e),
|
|
82094
82104
|
// This button's entire behaviour: the op-requests it bubbles up the
|
|
82095
82105
|
// component tree on click. Stored on the button itself — there is no
|
|
82096
82106
|
// host-level trigger field any more.
|
|
@@ -82101,18 +82111,18 @@ function schema$1d(_configure) {
|
|
|
82101
82111
|
}
|
|
82102
82112
|
const __vite_glob_0_5$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
82103
82113
|
__proto__: null,
|
|
82104
|
-
compatibilityDate: compatibilityDate$
|
|
82105
|
-
metadata: metadata$
|
|
82106
|
-
schema: schema$
|
|
82107
|
-
type: type$
|
|
82114
|
+
compatibilityDate: compatibilityDate$1e,
|
|
82115
|
+
metadata: metadata$1e,
|
|
82116
|
+
schema: schema$1e,
|
|
82117
|
+
type: type$1e
|
|
82108
82118
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
82109
|
-
const type$
|
|
82110
|
-
const compatibilityDate$
|
|
82111
|
-
const metadata$
|
|
82119
|
+
const type$1d = "com.shwfed.actions.button.http.download";
|
|
82120
|
+
const compatibilityDate$1d = "2026-05-21";
|
|
82121
|
+
const metadata$1d = {
|
|
82112
82122
|
name: "下载文件",
|
|
82113
82123
|
icon: "fluent:arrow-download-20-regular"
|
|
82114
82124
|
};
|
|
82115
|
-
const JSON_VAR$
|
|
82125
|
+
const JSON_VAR$6 = {
|
|
82116
82126
|
type: "dyn",
|
|
82117
82127
|
label: "HTTP 响应体",
|
|
82118
82128
|
description: "第一步 `请求` 的响应体(已解析 JSON);用于构造第二步下载请求"
|
|
@@ -82120,16 +82130,16 @@ const JSON_VAR$5 = {
|
|
|
82120
82130
|
function configureWithJson$4(configure) {
|
|
82121
82131
|
return (env) => {
|
|
82122
82132
|
configure(env);
|
|
82123
|
-
env.registerVariable("json", JSON_VAR$
|
|
82133
|
+
env.registerVariable("json", JSON_VAR$6.type, { description: JSON_VAR$6.description });
|
|
82124
82134
|
};
|
|
82125
82135
|
}
|
|
82126
|
-
function schema$
|
|
82136
|
+
function schema$1d(configure) {
|
|
82127
82137
|
const CelHttpRequest = Expression({ configure, resultType: "HttpRequest" });
|
|
82128
82138
|
const CelDownloadRequest = Expression({ configure: configureWithJson$4(configure), resultType: "HttpRequest" });
|
|
82129
82139
|
const CelMessage = Expression({ configure: configureWithJson$4(configure), resultType: "string" });
|
|
82130
82140
|
return Struct({
|
|
82131
|
-
type: Literal2(type$
|
|
82132
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
82141
|
+
type: Literal2(type$1d),
|
|
82142
|
+
compatibilityDate: Literal2(compatibilityDate$1d),
|
|
82133
82143
|
template: Struct({
|
|
82134
82144
|
request: CelHttpRequest.annotations({
|
|
82135
82145
|
title: "请求",
|
|
@@ -82191,26 +82201,26 @@ function schema$1c(configure) {
|
|
|
82191
82201
|
}
|
|
82192
82202
|
const __vite_glob_0_6$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
82193
82203
|
__proto__: null,
|
|
82194
|
-
JSON_VAR: JSON_VAR$
|
|
82195
|
-
compatibilityDate: compatibilityDate$
|
|
82196
|
-
metadata: metadata$
|
|
82197
|
-
schema: schema$
|
|
82198
|
-
type: type$
|
|
82204
|
+
JSON_VAR: JSON_VAR$6,
|
|
82205
|
+
compatibilityDate: compatibilityDate$1d,
|
|
82206
|
+
metadata: metadata$1d,
|
|
82207
|
+
schema: schema$1d,
|
|
82208
|
+
type: type$1d
|
|
82199
82209
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
82200
|
-
const type$
|
|
82201
|
-
const compatibilityDate$
|
|
82202
|
-
const metadata$
|
|
82210
|
+
const type$1c = "com.shwfed.actions.button.state.write";
|
|
82211
|
+
const compatibilityDate$1c = "2026-05-24";
|
|
82212
|
+
const metadata$1c = {
|
|
82203
82213
|
name: "写入表单状态",
|
|
82204
82214
|
icon: "fluent:document-edit-20-regular"
|
|
82205
82215
|
};
|
|
82206
|
-
function schema$
|
|
82216
|
+
function schema$1c(configure) {
|
|
82207
82217
|
const CelRecord = Expression({
|
|
82208
82218
|
configure,
|
|
82209
82219
|
resultType: (t) => t === "dyn" || t.startsWith("map")
|
|
82210
82220
|
});
|
|
82211
82221
|
return Struct({
|
|
82212
|
-
type: Literal2(type$
|
|
82213
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
82222
|
+
type: Literal2(type$1c),
|
|
82223
|
+
compatibilityDate: Literal2(compatibilityDate$1c),
|
|
82214
82224
|
expression: CelRecord.annotations({
|
|
82215
82225
|
title: "写入值",
|
|
82216
82226
|
description: md`
|
|
@@ -82230,19 +82240,19 @@ function schema$1b(configure) {
|
|
|
82230
82240
|
}
|
|
82231
82241
|
const __vite_glob_0_7$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
82232
82242
|
__proto__: null,
|
|
82233
|
-
compatibilityDate: compatibilityDate$
|
|
82234
|
-
metadata: metadata$
|
|
82235
|
-
schema: schema$
|
|
82236
|
-
type: type$
|
|
82243
|
+
compatibilityDate: compatibilityDate$1c,
|
|
82244
|
+
metadata: metadata$1c,
|
|
82245
|
+
schema: schema$1c,
|
|
82246
|
+
type: type$1c
|
|
82237
82247
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
82238
|
-
const type$
|
|
82239
|
-
const compatibilityDate$
|
|
82240
|
-
const metadata$
|
|
82241
|
-
name: "
|
|
82248
|
+
const type$1b = "com.shwfed.actions.button.http.request.json.batch";
|
|
82249
|
+
const compatibilityDate$1b = "2026-06-08";
|
|
82250
|
+
const metadata$1b = {
|
|
82251
|
+
name: "批量请求",
|
|
82242
82252
|
icon: "fluent:cloud-arrow-up-20-regular"
|
|
82243
82253
|
};
|
|
82244
82254
|
const isHttpRequestList = (t) => t === "dyn" || t === "list" || t === "list<dyn>" || t === "list<HttpRequest>";
|
|
82245
|
-
function schema$
|
|
82255
|
+
function schema$1b(configure) {
|
|
82246
82256
|
const CelHttpRequestList = Expression({ configure, resultType: isHttpRequestList });
|
|
82247
82257
|
const CelMessage = Expression({
|
|
82248
82258
|
configure: (env) => {
|
|
@@ -82263,8 +82273,8 @@ function schema$1a(configure) {
|
|
|
82263
82273
|
resultType: "bool"
|
|
82264
82274
|
});
|
|
82265
82275
|
return Struct({
|
|
82266
|
-
type: Literal2(type$
|
|
82267
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
82276
|
+
type: Literal2(type$1b),
|
|
82277
|
+
compatibilityDate: Literal2(compatibilityDate$1b),
|
|
82268
82278
|
expression: CelHttpRequestList.annotations({
|
|
82269
82279
|
title: "请求列表",
|
|
82270
82280
|
description: md`
|
|
@@ -82319,25 +82329,25 @@ function schema$1a(configure) {
|
|
|
82319
82329
|
}
|
|
82320
82330
|
const __vite_glob_0_8$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
82321
82331
|
__proto__: null,
|
|
82322
|
-
compatibilityDate: compatibilityDate$
|
|
82323
|
-
metadata: metadata$
|
|
82324
|
-
schema: schema$
|
|
82325
|
-
type: type$
|
|
82332
|
+
compatibilityDate: compatibilityDate$1b,
|
|
82333
|
+
metadata: metadata$1b,
|
|
82334
|
+
schema: schema$1b,
|
|
82335
|
+
type: type$1b
|
|
82326
82336
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
82327
|
-
const type$
|
|
82328
|
-
const compatibilityDate$
|
|
82329
|
-
const metadata$
|
|
82337
|
+
const type$1a = "com.shwfed.actions.item.markdown";
|
|
82338
|
+
const compatibilityDate$1a = "2026-05-21";
|
|
82339
|
+
const metadata$1a = {
|
|
82330
82340
|
name: "内联 Markdown",
|
|
82331
82341
|
icon: "fluent:markdown-20-regular"
|
|
82332
82342
|
};
|
|
82333
|
-
function schema$
|
|
82343
|
+
function schema$1a(_configure) {
|
|
82334
82344
|
return Struct({
|
|
82335
82345
|
id: UUID.annotations({ description: "Markdown 项唯一标识" }),
|
|
82336
82346
|
// Present when the item sits at group level; absent when it lives as a
|
|
82337
82347
|
// dropdown sub-item (the parent is the dropdown itself).
|
|
82338
82348
|
groupId: optional(UUID.annotations({ description: "所属按钮组标识" })),
|
|
82339
|
-
type: Literal2(type$
|
|
82340
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
82349
|
+
type: Literal2(type$1a),
|
|
82350
|
+
compatibilityDate: Literal2(compatibilityDate$1a),
|
|
82341
82351
|
name: String$.annotations({
|
|
82342
82352
|
title: "内部名称",
|
|
82343
82353
|
description: "仅用于编辑器内识别该 Markdown 项,不会展示给最终用户"
|
|
@@ -82353,10 +82363,10 @@ function schema$19(_configure) {
|
|
|
82353
82363
|
}
|
|
82354
82364
|
const __vite_glob_3_0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
82355
82365
|
__proto__: null,
|
|
82356
|
-
compatibilityDate: compatibilityDate$
|
|
82357
|
-
metadata: metadata$
|
|
82358
|
-
schema: schema$
|
|
82359
|
-
type: type$
|
|
82366
|
+
compatibilityDate: compatibilityDate$1a,
|
|
82367
|
+
metadata: metadata$1a,
|
|
82368
|
+
schema: schema$1a,
|
|
82369
|
+
type: type$1a
|
|
82360
82370
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
82361
82371
|
function createResult(...args2) {
|
|
82362
82372
|
if (args2.length === 0) {
|
|
@@ -83046,20 +83056,20 @@ function defaultActionsConfig() {
|
|
|
83046
83056
|
items: []
|
|
83047
83057
|
};
|
|
83048
83058
|
}
|
|
83049
|
-
const type$
|
|
83050
|
-
const compatibilityDate$
|
|
83051
|
-
const metadata$
|
|
83059
|
+
const type$19 = "com.shwfed.block.actions";
|
|
83060
|
+
const compatibilityDate$19 = "2026-05-06";
|
|
83061
|
+
const metadata$19 = {
|
|
83052
83062
|
name: "操作按钮",
|
|
83053
83063
|
icon: "fluent:cursor-click-20-regular",
|
|
83054
83064
|
w: { initial: 8, min: 8, max: Infinity },
|
|
83055
83065
|
h: { initial: 2, min: 2, max: Infinity }
|
|
83056
83066
|
};
|
|
83057
|
-
function schema$
|
|
83067
|
+
function schema$19(configure, _blockRef) {
|
|
83058
83068
|
const ActionsSchema = ActionsConfig(configure);
|
|
83059
83069
|
return Struct({
|
|
83060
83070
|
id: UUID.annotations({ description: "块唯一标识" }),
|
|
83061
|
-
type: tag(type$
|
|
83062
|
-
compatibilityDate: tag(compatibilityDate$
|
|
83071
|
+
type: tag(type$19),
|
|
83072
|
+
compatibilityDate: tag(compatibilityDate$19),
|
|
83063
83073
|
actions: ActionsSchema.annotations({
|
|
83064
83074
|
title: "操作按钮配置",
|
|
83065
83075
|
description: "内嵌的 Actions 组件配置"
|
|
@@ -83074,11 +83084,11 @@ function defaultBody$8() {
|
|
|
83074
83084
|
}
|
|
83075
83085
|
const __vite_glob_0_0$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
83076
83086
|
__proto__: null,
|
|
83077
|
-
compatibilityDate: compatibilityDate$
|
|
83087
|
+
compatibilityDate: compatibilityDate$19,
|
|
83078
83088
|
defaultBody: defaultBody$8,
|
|
83079
|
-
metadata: metadata$
|
|
83080
|
-
schema: schema$
|
|
83081
|
-
type: type$
|
|
83089
|
+
metadata: metadata$19,
|
|
83090
|
+
schema: schema$19,
|
|
83091
|
+
type: type$19
|
|
83082
83092
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
83083
83093
|
function validationRuleStruct(configure) {
|
|
83084
83094
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
@@ -83161,18 +83171,18 @@ function derivedField(configure, resultType) {
|
|
|
83161
83171
|
})
|
|
83162
83172
|
);
|
|
83163
83173
|
}
|
|
83164
|
-
const type$
|
|
83165
|
-
const compatibilityDate$
|
|
83166
|
-
const metadata$
|
|
83174
|
+
const type$18 = "com.shwfed.form.field.markdown";
|
|
83175
|
+
const compatibilityDate$18 = "2026-04-22";
|
|
83176
|
+
const metadata$18 = {
|
|
83167
83177
|
name: "Markdown",
|
|
83168
83178
|
icon: "fluent:markdown-20-regular",
|
|
83169
83179
|
w: { initial: 8, min: 2, max: Infinity },
|
|
83170
83180
|
h: { initial: 2, min: 2, max: Infinity }
|
|
83171
83181
|
};
|
|
83172
|
-
function schema$
|
|
83182
|
+
function schema$18(configure) {
|
|
83173
83183
|
return Struct({
|
|
83174
|
-
type: Literal2(type$
|
|
83175
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
83184
|
+
type: Literal2(type$18),
|
|
83185
|
+
compatibilityDate: Literal2(compatibilityDate$18),
|
|
83176
83186
|
...commonFieldFields(configure),
|
|
83177
83187
|
content: LocaleMarkdown({ configure }).annotations({
|
|
83178
83188
|
title: "内容",
|
|
@@ -83185,24 +83195,24 @@ function schema$17(configure) {
|
|
|
83185
83195
|
}
|
|
83186
83196
|
const __vite_glob_0_0$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
83187
83197
|
__proto__: null,
|
|
83188
|
-
compatibilityDate: compatibilityDate$
|
|
83189
|
-
metadata: metadata$
|
|
83190
|
-
schema: schema$
|
|
83191
|
-
type: type$
|
|
83198
|
+
compatibilityDate: compatibilityDate$18,
|
|
83199
|
+
metadata: metadata$18,
|
|
83200
|
+
schema: schema$18,
|
|
83201
|
+
type: type$18
|
|
83192
83202
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
83193
|
-
const type$
|
|
83194
|
-
const compatibilityDate$
|
|
83195
|
-
const metadata$
|
|
83203
|
+
const type$17 = "com.shwfed.form.field.text";
|
|
83204
|
+
const compatibilityDate$17 = "2026-04-22";
|
|
83205
|
+
const metadata$17 = {
|
|
83196
83206
|
name: "文本输入",
|
|
83197
83207
|
icon: "fluent:text-field-20-regular",
|
|
83198
83208
|
w: { initial: 8, min: 4, max: Infinity },
|
|
83199
83209
|
h: { initial: 2, min: 2, max: 2 }
|
|
83200
83210
|
};
|
|
83201
|
-
function schema$
|
|
83211
|
+
function schema$17(configure) {
|
|
83202
83212
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
83203
83213
|
return Struct({
|
|
83204
|
-
type: Literal2(type$
|
|
83205
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
83214
|
+
type: Literal2(type$17),
|
|
83215
|
+
compatibilityDate: Literal2(compatibilityDate$17),
|
|
83206
83216
|
...commonFieldFields(configure),
|
|
83207
83217
|
label: optional(Locale.annotations({
|
|
83208
83218
|
title: "标签",
|
|
@@ -83237,24 +83247,24 @@ function schema$16(configure) {
|
|
|
83237
83247
|
}
|
|
83238
83248
|
const __vite_glob_0_1$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
83239
83249
|
__proto__: null,
|
|
83240
|
-
compatibilityDate: compatibilityDate$
|
|
83241
|
-
metadata: metadata$
|
|
83242
|
-
schema: schema$
|
|
83243
|
-
type: type$
|
|
83250
|
+
compatibilityDate: compatibilityDate$17,
|
|
83251
|
+
metadata: metadata$17,
|
|
83252
|
+
schema: schema$17,
|
|
83253
|
+
type: type$17
|
|
83244
83254
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
83245
|
-
const type$
|
|
83246
|
-
const compatibilityDate$
|
|
83247
|
-
const metadata$
|
|
83255
|
+
const type$16 = "com.shwfed.form.field.textarea";
|
|
83256
|
+
const compatibilityDate$16 = "2026-04-22";
|
|
83257
|
+
const metadata$16 = {
|
|
83248
83258
|
name: "多行文本输入",
|
|
83249
83259
|
icon: "fluent:text-description-20-regular",
|
|
83250
83260
|
w: { initial: 8, min: 4, max: Infinity },
|
|
83251
83261
|
h: { initial: 3, min: 2, max: Infinity, grow: true }
|
|
83252
83262
|
};
|
|
83253
|
-
function schema$
|
|
83263
|
+
function schema$16(configure) {
|
|
83254
83264
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
83255
83265
|
return Struct({
|
|
83256
|
-
type: Literal2(type$
|
|
83257
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
83266
|
+
type: Literal2(type$16),
|
|
83267
|
+
compatibilityDate: Literal2(compatibilityDate$16),
|
|
83258
83268
|
...commonFieldFields(configure),
|
|
83259
83269
|
label: optional(Locale.annotations({
|
|
83260
83270
|
title: "标签",
|
|
@@ -83293,14 +83303,14 @@ function schema$15(configure) {
|
|
|
83293
83303
|
}
|
|
83294
83304
|
const __vite_glob_0_2$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
83295
83305
|
__proto__: null,
|
|
83296
|
-
compatibilityDate: compatibilityDate$
|
|
83297
|
-
metadata: metadata$
|
|
83298
|
-
schema: schema$
|
|
83299
|
-
type: type$
|
|
83306
|
+
compatibilityDate: compatibilityDate$16,
|
|
83307
|
+
metadata: metadata$16,
|
|
83308
|
+
schema: schema$16,
|
|
83309
|
+
type: type$16
|
|
83300
83310
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
83301
|
-
const type$
|
|
83302
|
-
const compatibilityDate$
|
|
83303
|
-
const metadata$
|
|
83311
|
+
const type$15 = "com.shwfed.form.field.actions";
|
|
83312
|
+
const compatibilityDate$15 = "2026-04-24";
|
|
83313
|
+
const metadata$15 = {
|
|
83304
83314
|
name: "操作",
|
|
83305
83315
|
icon: "fluent:cursor-click-20-regular",
|
|
83306
83316
|
w: { initial: 8, min: 4, max: Infinity },
|
|
@@ -83309,12 +83319,12 @@ const metadata$14 = {
|
|
|
83309
83319
|
// fullscreen inline-config pane; keep the (fullscreen-exiting) drill-down.
|
|
83310
83320
|
inlineConfig: false
|
|
83311
83321
|
};
|
|
83312
|
-
function schema$
|
|
83322
|
+
function schema$15(configure) {
|
|
83313
83323
|
const { fields: actionFields } = ActionSchemaFields(configure);
|
|
83314
83324
|
const { size: _size, groups, items: items2, ...rest } = actionFields;
|
|
83315
83325
|
return Struct({
|
|
83316
|
-
type: Literal2(type$
|
|
83317
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
83326
|
+
type: Literal2(type$15),
|
|
83327
|
+
compatibilityDate: Literal2(compatibilityDate$15),
|
|
83318
83328
|
...commonFieldFields(configure),
|
|
83319
83329
|
...rest,
|
|
83320
83330
|
// Form's add-field factory creates new fields with only { type, compatibilityDate, id },
|
|
@@ -83328,14 +83338,14 @@ function schema$14(configure) {
|
|
|
83328
83338
|
}
|
|
83329
83339
|
const __vite_glob_0_3$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
83330
83340
|
__proto__: null,
|
|
83331
|
-
compatibilityDate: compatibilityDate$
|
|
83332
|
-
metadata: metadata$
|
|
83333
|
-
schema: schema$
|
|
83334
|
-
type: type$
|
|
83341
|
+
compatibilityDate: compatibilityDate$15,
|
|
83342
|
+
metadata: metadata$15,
|
|
83343
|
+
schema: schema$15,
|
|
83344
|
+
type: type$15
|
|
83335
83345
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
83336
|
-
const type$
|
|
83337
|
-
const compatibilityDate$
|
|
83338
|
-
const metadata$
|
|
83346
|
+
const type$14 = "com.shwfed.form.field.combobox.single";
|
|
83347
|
+
const compatibilityDate$14 = "2026-04-24";
|
|
83348
|
+
const metadata$14 = {
|
|
83339
83349
|
name: "下拉单选",
|
|
83340
83350
|
icon: "fluent:chevron-down-20-regular",
|
|
83341
83351
|
w: { initial: 8, min: 4, max: Infinity },
|
|
@@ -83348,14 +83358,14 @@ function configureWithOption$4(configure) {
|
|
|
83348
83358
|
};
|
|
83349
83359
|
}
|
|
83350
83360
|
const isListType$d = (actual) => actual === "dyn" || actual.startsWith("list");
|
|
83351
|
-
function schema$
|
|
83361
|
+
function schema$14(configure) {
|
|
83352
83362
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
83353
83363
|
const CelOptions = Expression({ configure, resultType: isListType$d });
|
|
83354
83364
|
const CelOptionValue = Expression({ configure: configureWithOption$4(configure), resultType: "dyn" });
|
|
83355
83365
|
const LocaleOptionLabel = LocaleMarkdown({ configure: configureWithOption$4(configure) });
|
|
83356
83366
|
return Struct({
|
|
83357
|
-
type: Literal2(type$
|
|
83358
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
83367
|
+
type: Literal2(type$14),
|
|
83368
|
+
compatibilityDate: Literal2(compatibilityDate$14),
|
|
83359
83369
|
...commonFieldFields(configure),
|
|
83360
83370
|
label: optional(Locale.annotations({
|
|
83361
83371
|
title: "标签",
|
|
@@ -83402,14 +83412,14 @@ function schema$13(configure) {
|
|
|
83402
83412
|
}
|
|
83403
83413
|
const __vite_glob_0_4$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
83404
83414
|
__proto__: null,
|
|
83405
|
-
compatibilityDate: compatibilityDate$
|
|
83406
|
-
metadata: metadata$
|
|
83407
|
-
schema: schema$
|
|
83408
|
-
type: type$
|
|
83415
|
+
compatibilityDate: compatibilityDate$14,
|
|
83416
|
+
metadata: metadata$14,
|
|
83417
|
+
schema: schema$14,
|
|
83418
|
+
type: type$14
|
|
83409
83419
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
83410
|
-
const type$
|
|
83411
|
-
const compatibilityDate$
|
|
83412
|
-
const metadata$
|
|
83420
|
+
const type$13 = "com.shwfed.form.field.date";
|
|
83421
|
+
const compatibilityDate$13 = "2026-04-27";
|
|
83422
|
+
const metadata$13 = {
|
|
83413
83423
|
name: "日期",
|
|
83414
83424
|
icon: "fluent:calendar-ltr-20-regular",
|
|
83415
83425
|
w: { initial: 8, min: 4, max: Infinity },
|
|
@@ -83431,12 +83441,12 @@ function presetSchema$5(configure) {
|
|
|
83431
83441
|
title: "DateFieldPreset"
|
|
83432
83442
|
});
|
|
83433
83443
|
}
|
|
83434
|
-
function schema$
|
|
83444
|
+
function schema$13(configure) {
|
|
83435
83445
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
83436
83446
|
const Preset = presetSchema$5(configure);
|
|
83437
83447
|
return Struct({
|
|
83438
|
-
type: Literal2(type$
|
|
83439
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
83448
|
+
type: Literal2(type$13),
|
|
83449
|
+
compatibilityDate: Literal2(compatibilityDate$13),
|
|
83440
83450
|
...commonFieldFields(configure),
|
|
83441
83451
|
label: optional(Locale.annotations({
|
|
83442
83452
|
title: "标签",
|
|
@@ -83483,14 +83493,14 @@ function schema$12(configure) {
|
|
|
83483
83493
|
}
|
|
83484
83494
|
const __vite_glob_0_5$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
83485
83495
|
__proto__: null,
|
|
83486
|
-
compatibilityDate: compatibilityDate$
|
|
83487
|
-
metadata: metadata$
|
|
83496
|
+
compatibilityDate: compatibilityDate$13,
|
|
83497
|
+
metadata: metadata$13,
|
|
83488
83498
|
presetSchema: presetSchema$5,
|
|
83489
|
-
schema: schema$
|
|
83490
|
-
type: type$
|
|
83499
|
+
schema: schema$13,
|
|
83500
|
+
type: type$13
|
|
83491
83501
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
83492
|
-
const type$
|
|
83493
|
-
const compatibilityDate$
|
|
83502
|
+
const type$12 = "com.shwfed.form.field.daterange";
|
|
83503
|
+
const compatibilityDate$12 = "2026-04-27";
|
|
83494
83504
|
const BindingPath$4 = String$.pipe(minLength(1));
|
|
83495
83505
|
const SplitBinding$4 = Tuple(BindingPath$4, BindingPath$4).pipe(
|
|
83496
83506
|
filter(([a, b]) => a !== b, {
|
|
@@ -83501,7 +83511,7 @@ const bindingSchema$4 = Union2(BindingPath$4, SplitBinding$4).annotations({
|
|
|
83501
83511
|
title: "绑定路径",
|
|
83502
83512
|
description: "写入表单状态的 `dot-prop` 路径;填写单个路径时写入 `[start, end]` 字符串数组,例如 `event.range`;填写 `[起始路径, 结束路径]` 元组时分别写入两端;留空则为非受控字段"
|
|
83503
83513
|
});
|
|
83504
|
-
const metadata$
|
|
83514
|
+
const metadata$12 = {
|
|
83505
83515
|
name: "日期范围",
|
|
83506
83516
|
icon: "fluent:calendar-arrow-right-20-regular",
|
|
83507
83517
|
w: { initial: 10, min: 10, max: Infinity },
|
|
@@ -83527,12 +83537,12 @@ function presetSchema$4(configure) {
|
|
|
83527
83537
|
title: "DateRangeFieldPreset"
|
|
83528
83538
|
});
|
|
83529
83539
|
}
|
|
83530
|
-
function schema$
|
|
83540
|
+
function schema$12(configure) {
|
|
83531
83541
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
83532
83542
|
const Preset = presetSchema$4(configure);
|
|
83533
83543
|
return Struct({
|
|
83534
|
-
type: Literal2(type$
|
|
83535
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
83544
|
+
type: Literal2(type$12),
|
|
83545
|
+
compatibilityDate: Literal2(compatibilityDate$12),
|
|
83536
83546
|
...commonFieldFields(configure),
|
|
83537
83547
|
label: optional(Locale.annotations({
|
|
83538
83548
|
title: "标签",
|
|
@@ -83591,16 +83601,16 @@ function defaults$x() {
|
|
|
83591
83601
|
}
|
|
83592
83602
|
const __vite_glob_0_6$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
83593
83603
|
__proto__: null,
|
|
83594
|
-
compatibilityDate: compatibilityDate$
|
|
83604
|
+
compatibilityDate: compatibilityDate$12,
|
|
83595
83605
|
defaults: defaults$x,
|
|
83596
|
-
metadata: metadata$
|
|
83606
|
+
metadata: metadata$12,
|
|
83597
83607
|
presetSchema: presetSchema$4,
|
|
83598
|
-
schema: schema$
|
|
83599
|
-
type: type$
|
|
83608
|
+
schema: schema$12,
|
|
83609
|
+
type: type$12
|
|
83600
83610
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
83601
|
-
const type$
|
|
83602
|
-
const compatibilityDate$
|
|
83603
|
-
const metadata$
|
|
83611
|
+
const type$11 = "com.shwfed.form.field.datetime";
|
|
83612
|
+
const compatibilityDate$11 = "2026-04-27";
|
|
83613
|
+
const metadata$11 = {
|
|
83604
83614
|
name: "日期时间",
|
|
83605
83615
|
icon: "fluent:calendar-clock-20-regular",
|
|
83606
83616
|
w: { initial: 8, min: 4, max: Infinity },
|
|
@@ -83632,12 +83642,12 @@ function presetSchema$3(configure) {
|
|
|
83632
83642
|
title: "DateTimeFieldPreset"
|
|
83633
83643
|
});
|
|
83634
83644
|
}
|
|
83635
|
-
function schema$
|
|
83645
|
+
function schema$11(configure) {
|
|
83636
83646
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
83637
83647
|
const Preset = presetSchema$3(configure);
|
|
83638
83648
|
return Struct({
|
|
83639
|
-
type: Literal2(type$
|
|
83640
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
83649
|
+
type: Literal2(type$11),
|
|
83650
|
+
compatibilityDate: Literal2(compatibilityDate$11),
|
|
83641
83651
|
...commonFieldFields(configure),
|
|
83642
83652
|
label: optional(Locale.annotations({
|
|
83643
83653
|
title: "标签",
|
|
@@ -83695,14 +83705,14 @@ const __vite_glob_0_7$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
|
|
|
83695
83705
|
HOUR_CYCLE_OPTIONS: HOUR_CYCLE_OPTIONS$3,
|
|
83696
83706
|
TIME_GRANULARITIES: TIME_GRANULARITIES$3,
|
|
83697
83707
|
TIME_GRANULARITY_OPTIONS: TIME_GRANULARITY_OPTIONS$3,
|
|
83698
|
-
compatibilityDate: compatibilityDate$
|
|
83699
|
-
metadata: metadata$
|
|
83708
|
+
compatibilityDate: compatibilityDate$11,
|
|
83709
|
+
metadata: metadata$11,
|
|
83700
83710
|
presetSchema: presetSchema$3,
|
|
83701
|
-
schema: schema$
|
|
83702
|
-
type: type$
|
|
83711
|
+
schema: schema$11,
|
|
83712
|
+
type: type$11
|
|
83703
83713
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
83704
|
-
const type
|
|
83705
|
-
const compatibilityDate
|
|
83714
|
+
const type$10 = "com.shwfed.form.field.datetimerange";
|
|
83715
|
+
const compatibilityDate$10 = "2026-04-27";
|
|
83706
83716
|
const BindingPath$3 = String$.pipe(minLength(1));
|
|
83707
83717
|
const SplitBinding$3 = Tuple(BindingPath$3, BindingPath$3).pipe(
|
|
83708
83718
|
filter(([a, b]) => a !== b, {
|
|
@@ -83713,7 +83723,7 @@ const bindingSchema$3 = Union2(BindingPath$3, SplitBinding$3).annotations({
|
|
|
83713
83723
|
title: "绑定路径",
|
|
83714
83724
|
description: "写入表单状态的 `dot-prop` 路径;填写单个路径时写入 `[start, end]` 字符串数组,例如 `event.range`;填写 `[起始路径, 结束路径]` 元组时分别写入两端;留空则为非受控字段"
|
|
83715
83725
|
});
|
|
83716
|
-
const metadata
|
|
83726
|
+
const metadata$10 = {
|
|
83717
83727
|
name: "日期时间范围",
|
|
83718
83728
|
icon: "fluent:calendar-clock-20-regular",
|
|
83719
83729
|
w: { initial: 14, min: 14, max: Infinity },
|
|
@@ -83749,12 +83759,12 @@ function presetSchema$2(configure) {
|
|
|
83749
83759
|
title: "DateTimeRangeFieldPreset"
|
|
83750
83760
|
});
|
|
83751
83761
|
}
|
|
83752
|
-
function schema
|
|
83762
|
+
function schema$10(configure) {
|
|
83753
83763
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
83754
83764
|
const Preset = presetSchema$2(configure);
|
|
83755
83765
|
return Struct({
|
|
83756
|
-
type: Literal2(type
|
|
83757
|
-
compatibilityDate: Literal2(compatibilityDate
|
|
83766
|
+
type: Literal2(type$10),
|
|
83767
|
+
compatibilityDate: Literal2(compatibilityDate$10),
|
|
83758
83768
|
...commonFieldFields(configure),
|
|
83759
83769
|
label: optional(Locale.annotations({
|
|
83760
83770
|
title: "标签",
|
|
@@ -83824,16 +83834,16 @@ const __vite_glob_0_8$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
|
|
|
83824
83834
|
HOUR_CYCLE_OPTIONS: HOUR_CYCLE_OPTIONS$2,
|
|
83825
83835
|
TIME_GRANULARITIES: TIME_GRANULARITIES$2,
|
|
83826
83836
|
TIME_GRANULARITY_OPTIONS: TIME_GRANULARITY_OPTIONS$2,
|
|
83827
|
-
compatibilityDate: compatibilityDate
|
|
83837
|
+
compatibilityDate: compatibilityDate$10,
|
|
83828
83838
|
defaults: defaults$w,
|
|
83829
|
-
metadata: metadata
|
|
83839
|
+
metadata: metadata$10,
|
|
83830
83840
|
presetSchema: presetSchema$2,
|
|
83831
|
-
schema: schema
|
|
83832
|
-
type: type
|
|
83841
|
+
schema: schema$10,
|
|
83842
|
+
type: type$10
|
|
83833
83843
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
83834
|
-
const type
|
|
83835
|
-
const compatibilityDate
|
|
83836
|
-
const metadata
|
|
83844
|
+
const type$$ = "com.shwfed.form.field.time";
|
|
83845
|
+
const compatibilityDate$$ = "2026-04-27";
|
|
83846
|
+
const metadata$$ = {
|
|
83837
83847
|
name: "时间",
|
|
83838
83848
|
icon: "fluent:clock-20-regular",
|
|
83839
83849
|
w: { initial: 8, min: 4, max: Infinity },
|
|
@@ -83849,11 +83859,11 @@ const HOUR_CYCLE_OPTIONS$1 = [
|
|
|
83849
83859
|
{ value: 24, label: "24 小时制" },
|
|
83850
83860
|
{ value: 12, label: "12 小时制" }
|
|
83851
83861
|
];
|
|
83852
|
-
function schema
|
|
83862
|
+
function schema$$(configure) {
|
|
83853
83863
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
83854
83864
|
return Struct({
|
|
83855
|
-
type: Literal2(type
|
|
83856
|
-
compatibilityDate: Literal2(compatibilityDate
|
|
83865
|
+
type: Literal2(type$$),
|
|
83866
|
+
compatibilityDate: Literal2(compatibilityDate$$),
|
|
83857
83867
|
...commonFieldFields(configure),
|
|
83858
83868
|
label: optional(Locale.annotations({
|
|
83859
83869
|
title: "标签",
|
|
@@ -83899,13 +83909,13 @@ const __vite_glob_0_9$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
|
|
|
83899
83909
|
HOUR_CYCLE_OPTIONS: HOUR_CYCLE_OPTIONS$1,
|
|
83900
83910
|
TIME_GRANULARITIES: TIME_GRANULARITIES$1,
|
|
83901
83911
|
TIME_GRANULARITY_OPTIONS: TIME_GRANULARITY_OPTIONS$1,
|
|
83902
|
-
compatibilityDate: compatibilityDate
|
|
83903
|
-
metadata: metadata
|
|
83904
|
-
schema: schema
|
|
83905
|
-
type: type
|
|
83912
|
+
compatibilityDate: compatibilityDate$$,
|
|
83913
|
+
metadata: metadata$$,
|
|
83914
|
+
schema: schema$$,
|
|
83915
|
+
type: type$$
|
|
83906
83916
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
83907
|
-
const type$
|
|
83908
|
-
const compatibilityDate$
|
|
83917
|
+
const type$_ = "com.shwfed.form.field.timerange";
|
|
83918
|
+
const compatibilityDate$_ = "2026-04-27";
|
|
83909
83919
|
const BindingPath$2 = String$.pipe(minLength(1));
|
|
83910
83920
|
const SplitBinding$2 = Tuple(BindingPath$2, BindingPath$2).pipe(
|
|
83911
83921
|
filter(([a, b]) => a !== b, {
|
|
@@ -83916,7 +83926,7 @@ const bindingSchema$2 = Union2(BindingPath$2, SplitBinding$2).annotations({
|
|
|
83916
83926
|
title: "绑定路径",
|
|
83917
83927
|
description: "写入表单状态的 `dot-prop` 路径;填写单个路径时写入 `[start, end]` 字符串数组,例如 `meeting.timeRange`;填写 `[起始路径, 结束路径]` 元组时分别写入两端;留空则为非受控字段"
|
|
83918
83928
|
});
|
|
83919
|
-
const metadata$
|
|
83929
|
+
const metadata$_ = {
|
|
83920
83930
|
name: "时间范围",
|
|
83921
83931
|
icon: "fluent:clock-arrow-download-20-regular",
|
|
83922
83932
|
w: { initial: 14, min: 14, max: Infinity },
|
|
@@ -83932,11 +83942,11 @@ const HOUR_CYCLE_OPTIONS = [
|
|
|
83932
83942
|
{ value: 24, label: "24 小时制" },
|
|
83933
83943
|
{ value: 12, label: "12 小时制" }
|
|
83934
83944
|
];
|
|
83935
|
-
function schema$
|
|
83945
|
+
function schema$_(configure) {
|
|
83936
83946
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
83937
83947
|
return Struct({
|
|
83938
|
-
type: Literal2(type$
|
|
83939
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
83948
|
+
type: Literal2(type$_),
|
|
83949
|
+
compatibilityDate: Literal2(compatibilityDate$_),
|
|
83940
83950
|
...commonFieldFields(configure),
|
|
83941
83951
|
label: optional(Locale.annotations({
|
|
83942
83952
|
title: "标签",
|
|
@@ -83986,26 +83996,26 @@ const __vite_glob_0_10$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.
|
|
|
83986
83996
|
HOUR_CYCLE_OPTIONS,
|
|
83987
83997
|
TIME_GRANULARITIES,
|
|
83988
83998
|
TIME_GRANULARITY_OPTIONS,
|
|
83989
|
-
compatibilityDate: compatibilityDate$
|
|
83999
|
+
compatibilityDate: compatibilityDate$_,
|
|
83990
84000
|
defaults: defaults$v,
|
|
83991
|
-
metadata: metadata$
|
|
83992
|
-
schema: schema$
|
|
83993
|
-
type: type$
|
|
84001
|
+
metadata: metadata$_,
|
|
84002
|
+
schema: schema$_,
|
|
84003
|
+
type: type$_
|
|
83994
84004
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
83995
|
-
const type$
|
|
83996
|
-
const compatibilityDate$
|
|
83997
|
-
const metadata$
|
|
84005
|
+
const type$Z = "com.shwfed.form.field.number";
|
|
84006
|
+
const compatibilityDate$Z = "2026-04-28";
|
|
84007
|
+
const metadata$Z = {
|
|
83998
84008
|
name: "数值输入",
|
|
83999
84009
|
icon: "fluent:number-symbol-20-regular",
|
|
84000
84010
|
w: { initial: 8, min: 4, max: Infinity },
|
|
84001
84011
|
h: { initial: 2, min: 2, max: 2 }
|
|
84002
84012
|
};
|
|
84003
|
-
function schema$
|
|
84013
|
+
function schema$Z(configure) {
|
|
84004
84014
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
84005
84015
|
const CelNumber = Expression({ configure, resultType: "number" });
|
|
84006
84016
|
return Struct({
|
|
84007
|
-
type: Literal2(type$
|
|
84008
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
84017
|
+
type: Literal2(type$Z),
|
|
84018
|
+
compatibilityDate: Literal2(compatibilityDate$Z),
|
|
84009
84019
|
...commonFieldFields(configure),
|
|
84010
84020
|
label: optional(Locale.annotations({
|
|
84011
84021
|
title: "标签",
|
|
@@ -84064,13 +84074,13 @@ function schema$Y(configure) {
|
|
|
84064
84074
|
}
|
|
84065
84075
|
const __vite_glob_0_11$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
84066
84076
|
__proto__: null,
|
|
84067
|
-
compatibilityDate: compatibilityDate$
|
|
84068
|
-
metadata: metadata$
|
|
84069
|
-
schema: schema$
|
|
84070
|
-
type: type$
|
|
84077
|
+
compatibilityDate: compatibilityDate$Z,
|
|
84078
|
+
metadata: metadata$Z,
|
|
84079
|
+
schema: schema$Z,
|
|
84080
|
+
type: type$Z
|
|
84071
84081
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
84072
|
-
const type$
|
|
84073
|
-
const compatibilityDate$
|
|
84082
|
+
const type$Y = "com.shwfed.form.field.numberrange";
|
|
84083
|
+
const compatibilityDate$Y = "2026-04-28";
|
|
84074
84084
|
const BindingPath$1 = String$.pipe(minLength(1));
|
|
84075
84085
|
const SplitBinding$1 = Tuple(BindingPath$1, BindingPath$1).pipe(
|
|
84076
84086
|
filter(([a, b]) => a !== b, {
|
|
@@ -84081,18 +84091,18 @@ const bindingSchema$1 = Union2(BindingPath$1, SplitBinding$1).annotations({
|
|
|
84081
84091
|
title: "绑定路径",
|
|
84082
84092
|
description: "写入表单状态的 `dot-prop` 路径;填写单个路径时写入 `[start, end]` 数值数组,例如 `score.range`;填写 `[起始路径, 结束路径]` 元组时分别写入两端;留空则为非受控字段"
|
|
84083
84093
|
});
|
|
84084
|
-
const metadata$
|
|
84094
|
+
const metadata$Y = {
|
|
84085
84095
|
name: "数值范围",
|
|
84086
84096
|
icon: "fluent:arrow-bidirectional-left-right-20-regular",
|
|
84087
84097
|
w: { initial: 8, min: 4, max: Infinity },
|
|
84088
84098
|
h: { initial: 2, min: 2, max: 2 }
|
|
84089
84099
|
};
|
|
84090
|
-
function schema$
|
|
84100
|
+
function schema$Y(configure) {
|
|
84091
84101
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
84092
84102
|
const CelNumber = Expression({ configure, resultType: "number" });
|
|
84093
84103
|
return Struct({
|
|
84094
|
-
type: Literal2(type$
|
|
84095
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
84104
|
+
type: Literal2(type$Y),
|
|
84105
|
+
compatibilityDate: Literal2(compatibilityDate$Y),
|
|
84096
84106
|
...commonFieldFields(configure),
|
|
84097
84107
|
label: optional(Locale.annotations({
|
|
84098
84108
|
title: "标签",
|
|
@@ -84159,25 +84169,25 @@ function defaults$u() {
|
|
|
84159
84169
|
}
|
|
84160
84170
|
const __vite_glob_0_12$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
84161
84171
|
__proto__: null,
|
|
84162
|
-
compatibilityDate: compatibilityDate$
|
|
84172
|
+
compatibilityDate: compatibilityDate$Y,
|
|
84163
84173
|
defaults: defaults$u,
|
|
84164
|
-
metadata: metadata$
|
|
84165
|
-
schema: schema$
|
|
84166
|
-
type: type$
|
|
84174
|
+
metadata: metadata$Y,
|
|
84175
|
+
schema: schema$Y,
|
|
84176
|
+
type: type$Y
|
|
84167
84177
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
84168
|
-
const type$
|
|
84169
|
-
const compatibilityDate$
|
|
84170
|
-
const metadata$
|
|
84178
|
+
const type$X = "com.shwfed.form.field.switch";
|
|
84179
|
+
const compatibilityDate$X = "2026-04-28";
|
|
84180
|
+
const metadata$X = {
|
|
84171
84181
|
name: "开关",
|
|
84172
84182
|
icon: "fluent:toggle-left-20-regular",
|
|
84173
84183
|
w: { initial: 4, min: 4, max: Infinity },
|
|
84174
84184
|
h: { initial: 2, min: 2, max: 2 }
|
|
84175
84185
|
};
|
|
84176
|
-
function schema$
|
|
84186
|
+
function schema$X(configure) {
|
|
84177
84187
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
84178
84188
|
return Struct({
|
|
84179
|
-
type: Literal2(type$
|
|
84180
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
84189
|
+
type: Literal2(type$X),
|
|
84190
|
+
compatibilityDate: Literal2(compatibilityDate$X),
|
|
84181
84191
|
...commonFieldFields(configure),
|
|
84182
84192
|
label: optional(Locale.annotations({
|
|
84183
84193
|
title: "标签",
|
|
@@ -84215,10 +84225,10 @@ function schema$W(configure) {
|
|
|
84215
84225
|
}
|
|
84216
84226
|
const __vite_glob_0_13$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
84217
84227
|
__proto__: null,
|
|
84218
|
-
compatibilityDate: compatibilityDate$
|
|
84219
|
-
metadata: metadata$
|
|
84220
|
-
schema: schema$
|
|
84221
|
-
type: type$
|
|
84228
|
+
compatibilityDate: compatibilityDate$X,
|
|
84229
|
+
metadata: metadata$X,
|
|
84230
|
+
schema: schema$X,
|
|
84231
|
+
type: type$X
|
|
84222
84232
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
84223
84233
|
const decodeCache = {};
|
|
84224
84234
|
function getDecodeCache(exclude2) {
|
|
@@ -89469,9 +89479,9 @@ function interpolateMarkdown(template, $cel, context2) {
|
|
|
89469
89479
|
}
|
|
89470
89480
|
});
|
|
89471
89481
|
}
|
|
89472
|
-
const type$
|
|
89473
|
-
const compatibilityDate$
|
|
89474
|
-
const metadata$
|
|
89482
|
+
const type$W = "com.shwfed.form.field.combobox.single";
|
|
89483
|
+
const compatibilityDate$W = "2026-04-29";
|
|
89484
|
+
const metadata$W = {
|
|
89475
89485
|
name: "下拉单选(硬编码)",
|
|
89476
89486
|
icon: "fluent:chevron-down-20-regular",
|
|
89477
89487
|
w: { initial: 8, min: 4, max: Infinity },
|
|
@@ -89506,12 +89516,12 @@ function itemSchema$f(configure) {
|
|
|
89506
89516
|
title: "ComboboxSingleItem"
|
|
89507
89517
|
});
|
|
89508
89518
|
}
|
|
89509
|
-
function schema$
|
|
89519
|
+
function schema$W(configure) {
|
|
89510
89520
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
89511
89521
|
const Item = itemSchema$f(configure);
|
|
89512
89522
|
return Struct({
|
|
89513
|
-
type: Literal2(type$
|
|
89514
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
89523
|
+
type: Literal2(type$W),
|
|
89524
|
+
compatibilityDate: Literal2(compatibilityDate$W),
|
|
89515
89525
|
...commonFieldFields(configure),
|
|
89516
89526
|
label: optional(Locale.annotations({
|
|
89517
89527
|
title: "标签",
|
|
@@ -89564,7 +89574,7 @@ function formatErrorMessage(err) {
|
|
|
89564
89574
|
return String(err);
|
|
89565
89575
|
}
|
|
89566
89576
|
}
|
|
89567
|
-
const migrate$
|
|
89577
|
+
const migrate$g = (prev, ctx) => {
|
|
89568
89578
|
const legacy = prev;
|
|
89569
89579
|
return gen(function* () {
|
|
89570
89580
|
const rawOptions = yield* mapError$1(
|
|
@@ -89603,29 +89613,29 @@ const migrate$f = (prev, ctx) => {
|
|
|
89603
89613
|
} = legacy;
|
|
89604
89614
|
return {
|
|
89605
89615
|
...carryover,
|
|
89606
|
-
compatibilityDate: compatibilityDate$
|
|
89616
|
+
compatibilityDate: compatibilityDate$W,
|
|
89607
89617
|
items: items2
|
|
89608
89618
|
};
|
|
89609
89619
|
});
|
|
89610
89620
|
};
|
|
89611
89621
|
const __vite_glob_0_14$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
89612
89622
|
__proto__: null,
|
|
89613
|
-
compatibilityDate: compatibilityDate$
|
|
89623
|
+
compatibilityDate: compatibilityDate$W,
|
|
89614
89624
|
itemSchema: itemSchema$f,
|
|
89615
|
-
metadata: metadata$
|
|
89616
|
-
migrate: migrate$
|
|
89617
|
-
schema: schema$
|
|
89618
|
-
type: type$
|
|
89625
|
+
metadata: metadata$W,
|
|
89626
|
+
migrate: migrate$g,
|
|
89627
|
+
schema: schema$W,
|
|
89628
|
+
type: type$W
|
|
89619
89629
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
89620
|
-
const type$
|
|
89621
|
-
const compatibilityDate$
|
|
89622
|
-
const metadata$
|
|
89630
|
+
const type$V = "com.shwfed.form.field.upload";
|
|
89631
|
+
const compatibilityDate$V = "2026-05-12";
|
|
89632
|
+
const metadata$V = {
|
|
89623
89633
|
name: "文件上传",
|
|
89624
89634
|
icon: "fluent:cloud-arrow-up-20-regular",
|
|
89625
89635
|
w: { initial: 8, min: 8, max: Infinity },
|
|
89626
89636
|
h: { initial: 6, min: 6, max: Infinity, grow: true }
|
|
89627
89637
|
};
|
|
89628
|
-
const JSON_VAR$
|
|
89638
|
+
const JSON_VAR$5 = {
|
|
89629
89639
|
type: "dyn",
|
|
89630
89640
|
label: "HTTP 响应体",
|
|
89631
89641
|
description: "第一步 `请求` 的响应体(已解析 JSON);用于构造第二步下载请求"
|
|
@@ -89633,17 +89643,17 @@ const JSON_VAR$4 = {
|
|
|
89633
89643
|
function configureWithJson$3(configure) {
|
|
89634
89644
|
return (env) => {
|
|
89635
89645
|
configure(env);
|
|
89636
|
-
env.registerVariable("json", JSON_VAR$
|
|
89646
|
+
env.registerVariable("json", JSON_VAR$5.type, { description: JSON_VAR$5.description });
|
|
89637
89647
|
};
|
|
89638
89648
|
}
|
|
89639
|
-
function schema$
|
|
89649
|
+
function schema$V(configure) {
|
|
89640
89650
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
89641
89651
|
const CelHttpRequest = Expression({ configure, resultType: "HttpRequest" });
|
|
89642
89652
|
const CelDownloadRequest = Expression({ configure: configureWithJson$3(configure), resultType: "HttpRequest" });
|
|
89643
89653
|
const LocaleMd = LocaleMarkdown({ configure });
|
|
89644
89654
|
return Struct({
|
|
89645
|
-
type: Literal2(type$
|
|
89646
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
89655
|
+
type: Literal2(type$V),
|
|
89656
|
+
compatibilityDate: Literal2(compatibilityDate$V),
|
|
89647
89657
|
...commonFieldFields(configure),
|
|
89648
89658
|
label: optional(Locale.annotations({
|
|
89649
89659
|
title: "标签",
|
|
@@ -89722,15 +89732,15 @@ function schema$U(configure) {
|
|
|
89722
89732
|
}
|
|
89723
89733
|
const __vite_glob_0_15$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
89724
89734
|
__proto__: null,
|
|
89725
|
-
JSON_VAR: JSON_VAR$
|
|
89726
|
-
compatibilityDate: compatibilityDate$
|
|
89727
|
-
metadata: metadata$
|
|
89728
|
-
schema: schema$
|
|
89729
|
-
type: type$
|
|
89735
|
+
JSON_VAR: JSON_VAR$5,
|
|
89736
|
+
compatibilityDate: compatibilityDate$V,
|
|
89737
|
+
metadata: metadata$V,
|
|
89738
|
+
schema: schema$V,
|
|
89739
|
+
type: type$V
|
|
89730
89740
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
89731
|
-
const type$
|
|
89732
|
-
const compatibilityDate$
|
|
89733
|
-
const metadata$
|
|
89741
|
+
const type$U = "com.shwfed.form.field.combobox.single.remote";
|
|
89742
|
+
const compatibilityDate$U = "2026-05-13";
|
|
89743
|
+
const metadata$U = {
|
|
89734
89744
|
name: "下拉单选(远程)",
|
|
89735
89745
|
icon: "fluent:cloud-arrow-down-20-regular",
|
|
89736
89746
|
w: { initial: 8, min: 4, max: Infinity },
|
|
@@ -89741,7 +89751,7 @@ const OPTION_VAR$2 = {
|
|
|
89741
89751
|
label: "当前选项",
|
|
89742
89752
|
description: "`选项` 表达式产出的数组中迭代到的单个元素"
|
|
89743
89753
|
};
|
|
89744
|
-
const JSON_VAR$
|
|
89754
|
+
const JSON_VAR$4 = {
|
|
89745
89755
|
type: "dyn",
|
|
89746
89756
|
label: "HTTP 响应体",
|
|
89747
89757
|
description: "HTTP 响应体(已解析 JSON);请求失败或尚未完成时为 `null`"
|
|
@@ -89755,19 +89765,19 @@ function configureWithOption$3(configure) {
|
|
|
89755
89765
|
function configureWithJson$2(configure) {
|
|
89756
89766
|
return (env) => {
|
|
89757
89767
|
configure(env);
|
|
89758
|
-
env.registerVariable("json", JSON_VAR$
|
|
89768
|
+
env.registerVariable("json", JSON_VAR$4.type, { description: JSON_VAR$4.description });
|
|
89759
89769
|
};
|
|
89760
89770
|
}
|
|
89761
89771
|
const isListType$c = (actual) => actual === "dyn" || actual.startsWith("list");
|
|
89762
|
-
function schema$
|
|
89772
|
+
function schema$U(configure) {
|
|
89763
89773
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
89764
89774
|
const CelHttpRequest = Expression({ configure, resultType: HttpRequestResult });
|
|
89765
89775
|
const CelOptions = Expression({ configure: configureWithJson$2(configure), resultType: isListType$c });
|
|
89766
89776
|
const CelOptionValue = Expression({ configure: configureWithOption$3(configure), resultType: "dyn" });
|
|
89767
89777
|
const LocaleOptionLabel = LocaleMarkdown({ configure: configureWithOption$3(configure) });
|
|
89768
89778
|
return Struct({
|
|
89769
|
-
type: Literal2(type$
|
|
89770
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
89779
|
+
type: Literal2(type$U),
|
|
89780
|
+
compatibilityDate: Literal2(compatibilityDate$U),
|
|
89771
89781
|
...commonFieldFields(configure),
|
|
89772
89782
|
label: optional(Locale.annotations({
|
|
89773
89783
|
title: "标签",
|
|
@@ -89818,16 +89828,16 @@ function schema$T(configure) {
|
|
|
89818
89828
|
}
|
|
89819
89829
|
const __vite_glob_0_16$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
89820
89830
|
__proto__: null,
|
|
89821
|
-
JSON_VAR: JSON_VAR$
|
|
89831
|
+
JSON_VAR: JSON_VAR$4,
|
|
89822
89832
|
OPTION_VAR: OPTION_VAR$2,
|
|
89823
|
-
compatibilityDate: compatibilityDate$
|
|
89824
|
-
metadata: metadata$
|
|
89825
|
-
schema: schema$
|
|
89826
|
-
type: type$
|
|
89833
|
+
compatibilityDate: compatibilityDate$U,
|
|
89834
|
+
metadata: metadata$U,
|
|
89835
|
+
schema: schema$U,
|
|
89836
|
+
type: type$U
|
|
89827
89837
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
89828
|
-
const type$
|
|
89829
|
-
const compatibilityDate$
|
|
89830
|
-
const metadata$
|
|
89838
|
+
const type$T = "com.shwfed.form.field.list";
|
|
89839
|
+
const compatibilityDate$T = "2026-05-13";
|
|
89840
|
+
const metadata$T = {
|
|
89831
89841
|
name: "列表",
|
|
89832
89842
|
icon: "fluent:list-20-regular",
|
|
89833
89843
|
w: { initial: 12, min: 4, max: Infinity },
|
|
@@ -89836,7 +89846,7 @@ const metadata$S = {
|
|
|
89836
89846
|
// fullscreen inline-config pane; keep the (fullscreen-exiting) drill-down.
|
|
89837
89847
|
inlineConfig: false
|
|
89838
89848
|
};
|
|
89839
|
-
function schema$
|
|
89849
|
+
function schema$T(configure) {
|
|
89840
89850
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
89841
89851
|
const unitConfigure = (env) => {
|
|
89842
89852
|
configure(env);
|
|
@@ -89850,8 +89860,8 @@ function schema$S(configure) {
|
|
|
89850
89860
|
};
|
|
89851
89861
|
const Unit = suspend(() => FormUnit(unitConfigure));
|
|
89852
89862
|
return Struct({
|
|
89853
|
-
type: Literal2(type$
|
|
89854
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
89863
|
+
type: Literal2(type$T),
|
|
89864
|
+
compatibilityDate: Literal2(compatibilityDate$T),
|
|
89855
89865
|
...commonFieldFields(configure),
|
|
89856
89866
|
label: optional(Locale.annotations({
|
|
89857
89867
|
title: "标签",
|
|
@@ -89918,15 +89928,15 @@ function defaults$t() {
|
|
|
89918
89928
|
}
|
|
89919
89929
|
const __vite_glob_0_17$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
89920
89930
|
__proto__: null,
|
|
89921
|
-
compatibilityDate: compatibilityDate$
|
|
89931
|
+
compatibilityDate: compatibilityDate$T,
|
|
89922
89932
|
defaults: defaults$t,
|
|
89923
|
-
metadata: metadata$
|
|
89924
|
-
schema: schema$
|
|
89925
|
-
type: type$
|
|
89933
|
+
metadata: metadata$T,
|
|
89934
|
+
schema: schema$T,
|
|
89935
|
+
type: type$T
|
|
89926
89936
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
89927
|
-
const type$
|
|
89928
|
-
const compatibilityDate$
|
|
89929
|
-
const metadata$
|
|
89937
|
+
const type$S = "com.shwfed.form.field.checkbox.group";
|
|
89938
|
+
const compatibilityDate$S = "2026-05-17";
|
|
89939
|
+
const metadata$S = {
|
|
89930
89940
|
name: "复选框组",
|
|
89931
89941
|
icon: "fluent:checkbox-checked-20-regular",
|
|
89932
89942
|
w: { initial: 8, min: 2, max: Infinity },
|
|
@@ -89961,12 +89971,12 @@ function itemSchema$e(configure) {
|
|
|
89961
89971
|
title: "CheckboxGroupItem"
|
|
89962
89972
|
});
|
|
89963
89973
|
}
|
|
89964
|
-
function schema$
|
|
89974
|
+
function schema$S(configure) {
|
|
89965
89975
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
89966
89976
|
const Item = itemSchema$e(configure);
|
|
89967
89977
|
return Struct({
|
|
89968
|
-
type: Literal2(type$
|
|
89969
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
89978
|
+
type: Literal2(type$S),
|
|
89979
|
+
compatibilityDate: Literal2(compatibilityDate$S),
|
|
89970
89980
|
...commonFieldFields(configure),
|
|
89971
89981
|
label: optional(Locale.annotations({
|
|
89972
89982
|
title: "标签",
|
|
@@ -90000,15 +90010,15 @@ function schema$R(configure) {
|
|
|
90000
90010
|
}
|
|
90001
90011
|
const __vite_glob_0_18$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
90002
90012
|
__proto__: null,
|
|
90003
|
-
compatibilityDate: compatibilityDate$
|
|
90013
|
+
compatibilityDate: compatibilityDate$S,
|
|
90004
90014
|
itemSchema: itemSchema$e,
|
|
90005
|
-
metadata: metadata$
|
|
90006
|
-
schema: schema$
|
|
90007
|
-
type: type$
|
|
90015
|
+
metadata: metadata$S,
|
|
90016
|
+
schema: schema$S,
|
|
90017
|
+
type: type$S
|
|
90008
90018
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
90009
|
-
const type$
|
|
90010
|
-
const compatibilityDate$
|
|
90011
|
-
const metadata$
|
|
90019
|
+
const type$R = "com.shwfed.form.field.radio.group";
|
|
90020
|
+
const compatibilityDate$R = "2026-05-17";
|
|
90021
|
+
const metadata$R = {
|
|
90012
90022
|
name: "单选框组",
|
|
90013
90023
|
icon: "fluent:radio-button-20-regular",
|
|
90014
90024
|
w: { initial: 8, min: 2, max: Infinity },
|
|
@@ -90043,12 +90053,12 @@ function itemSchema$d(configure) {
|
|
|
90043
90053
|
title: "RadioGroupItem"
|
|
90044
90054
|
});
|
|
90045
90055
|
}
|
|
90046
|
-
function schema$
|
|
90056
|
+
function schema$R(configure) {
|
|
90047
90057
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
90048
90058
|
const Item = itemSchema$d(configure);
|
|
90049
90059
|
return Struct({
|
|
90050
|
-
type: Literal2(type$
|
|
90051
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
90060
|
+
type: Literal2(type$R),
|
|
90061
|
+
compatibilityDate: Literal2(compatibilityDate$R),
|
|
90052
90062
|
...commonFieldFields(configure),
|
|
90053
90063
|
label: optional(Locale.annotations({
|
|
90054
90064
|
title: "标签",
|
|
@@ -90082,11 +90092,11 @@ function schema$Q(configure) {
|
|
|
90082
90092
|
}
|
|
90083
90093
|
const __vite_glob_0_19$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
90084
90094
|
__proto__: null,
|
|
90085
|
-
compatibilityDate: compatibilityDate$
|
|
90095
|
+
compatibilityDate: compatibilityDate$R,
|
|
90086
90096
|
itemSchema: itemSchema$d,
|
|
90087
|
-
metadata: metadata$
|
|
90088
|
-
schema: schema$
|
|
90089
|
-
type: type$
|
|
90097
|
+
metadata: metadata$R,
|
|
90098
|
+
schema: schema$R,
|
|
90099
|
+
type: type$R
|
|
90090
90100
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
90091
90101
|
const matchIconName = /^[a-z0-9]+(-[a-z0-9]+)*$/;
|
|
90092
90102
|
const stringToIcon = (value, validate2, allowSimpleName, provider = "") => {
|
|
@@ -91582,14 +91592,14 @@ function LocaleMarkdownWithRow(configure) {
|
|
|
91582
91592
|
function derivedRowField(configure, resultType) {
|
|
91583
91593
|
return derivedField(configureWithRow(configure), resultType);
|
|
91584
91594
|
}
|
|
91585
|
-
const type$
|
|
91586
|
-
const compatibilityDate$
|
|
91587
|
-
const metadata$
|
|
91595
|
+
const type$Q = "com.shwfed.table.column.actions";
|
|
91596
|
+
const compatibilityDate$Q = "2026-04-14";
|
|
91597
|
+
const metadata$Q = {
|
|
91588
91598
|
name: "操作",
|
|
91589
91599
|
icon: "fluent:cursor-click-20-regular"
|
|
91590
91600
|
};
|
|
91591
91601
|
const registerRowVariables = registerRowVariablesIfAbsent;
|
|
91592
|
-
function schema$
|
|
91602
|
+
function schema$Q(configure) {
|
|
91593
91603
|
const configureWithRow2 = (env) => {
|
|
91594
91604
|
configure(env);
|
|
91595
91605
|
registerRowVariables(env);
|
|
@@ -91597,8 +91607,8 @@ function schema$P(configure) {
|
|
|
91597
91607
|
const { fields: actionFields } = ActionSchemaFields(configureWithRow2);
|
|
91598
91608
|
const { size: _buttonSize, ...actionFieldsForColumn } = actionFields;
|
|
91599
91609
|
return Struct({
|
|
91600
|
-
type: Literal2(type$
|
|
91601
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
91610
|
+
type: Literal2(type$Q),
|
|
91611
|
+
compatibilityDate: Literal2(compatibilityDate$Q),
|
|
91602
91612
|
...columnIdentityFields(),
|
|
91603
91613
|
title: optional(Locale.annotations({ title: "标题", description: "列标题" })),
|
|
91604
91614
|
size: optional(Number$.pipe(finite(), positive()).annotations({
|
|
@@ -91633,24 +91643,24 @@ function toColumnDef$t(value, { getLocaleText }) {
|
|
|
91633
91643
|
}
|
|
91634
91644
|
const __vite_glob_0_0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
91635
91645
|
__proto__: null,
|
|
91636
|
-
compatibilityDate: compatibilityDate$
|
|
91646
|
+
compatibilityDate: compatibilityDate$Q,
|
|
91637
91647
|
defaults: defaults$s,
|
|
91638
|
-
metadata: metadata$
|
|
91648
|
+
metadata: metadata$Q,
|
|
91639
91649
|
registerRowVariables,
|
|
91640
|
-
schema: schema$
|
|
91650
|
+
schema: schema$Q,
|
|
91641
91651
|
toColumnDef: toColumnDef$t,
|
|
91642
|
-
type: type$
|
|
91652
|
+
type: type$Q
|
|
91643
91653
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
91644
|
-
const type$
|
|
91645
|
-
const compatibilityDate$
|
|
91646
|
-
const metadata$
|
|
91654
|
+
const type$P = "com.shwfed.table.column.date";
|
|
91655
|
+
const compatibilityDate$P = "2026-04-14";
|
|
91656
|
+
const metadata$P = {
|
|
91647
91657
|
name: "日期",
|
|
91648
91658
|
icon: "fluent:calendar-ltr-20-regular"
|
|
91649
91659
|
};
|
|
91650
|
-
function schema$
|
|
91660
|
+
function schema$P(configure) {
|
|
91651
91661
|
return Struct({
|
|
91652
|
-
type: Literal2(type$
|
|
91653
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
91662
|
+
type: Literal2(type$P),
|
|
91663
|
+
compatibilityDate: Literal2(compatibilityDate$P),
|
|
91654
91664
|
...columnFields(configure),
|
|
91655
91665
|
align: optionalWith(Align.annotations({ title: "对齐" }), { default: () => "left" }),
|
|
91656
91666
|
format: String$.annotations({
|
|
@@ -91690,23 +91700,23 @@ function toColumnDef$s(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
91690
91700
|
}
|
|
91691
91701
|
const __vite_glob_0_1$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
91692
91702
|
__proto__: null,
|
|
91693
|
-
compatibilityDate: compatibilityDate$
|
|
91703
|
+
compatibilityDate: compatibilityDate$P,
|
|
91694
91704
|
defaults: defaults$r,
|
|
91695
|
-
metadata: metadata$
|
|
91696
|
-
schema: schema$
|
|
91705
|
+
metadata: metadata$P,
|
|
91706
|
+
schema: schema$P,
|
|
91697
91707
|
toColumnDef: toColumnDef$s,
|
|
91698
|
-
type: type$
|
|
91708
|
+
type: type$P
|
|
91699
91709
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
91700
|
-
const type$
|
|
91701
|
-
const compatibilityDate$
|
|
91702
|
-
const metadata$
|
|
91710
|
+
const type$O = "com.shwfed.table.column.icon";
|
|
91711
|
+
const compatibilityDate$O = "2026-04-14";
|
|
91712
|
+
const metadata$O = {
|
|
91703
91713
|
name: "图标",
|
|
91704
91714
|
icon: "fluent:shapes-20-regular"
|
|
91705
91715
|
};
|
|
91706
|
-
function schema$
|
|
91716
|
+
function schema$O(configure) {
|
|
91707
91717
|
return Struct({
|
|
91708
|
-
type: Literal2(type$
|
|
91709
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
91718
|
+
type: Literal2(type$O),
|
|
91719
|
+
compatibilityDate: Literal2(compatibilityDate$O),
|
|
91710
91720
|
...columnFields(configure),
|
|
91711
91721
|
accessor: CelRowAccess(configure).annotations({
|
|
91712
91722
|
title: "图标",
|
|
@@ -91749,26 +91759,26 @@ function toColumnDef$r(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
91749
91759
|
}
|
|
91750
91760
|
const __vite_glob_0_2$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
91751
91761
|
__proto__: null,
|
|
91752
|
-
compatibilityDate: compatibilityDate$
|
|
91762
|
+
compatibilityDate: compatibilityDate$O,
|
|
91753
91763
|
defaults: defaults$q,
|
|
91754
|
-
metadata: metadata$
|
|
91755
|
-
schema: schema$
|
|
91764
|
+
metadata: metadata$O,
|
|
91765
|
+
schema: schema$O,
|
|
91756
91766
|
toColumnDef: toColumnDef$r,
|
|
91757
|
-
type: type$
|
|
91767
|
+
type: type$O
|
|
91758
91768
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
91759
|
-
const type$
|
|
91760
|
-
const compatibilityDate$
|
|
91761
|
-
const metadata$
|
|
91769
|
+
const type$N = "com.shwfed.table.column.markdown";
|
|
91770
|
+
const compatibilityDate$N = "2026-04-14";
|
|
91771
|
+
const metadata$N = {
|
|
91762
91772
|
name: "MD",
|
|
91763
91773
|
icon: "fluent:markdown-20-regular"
|
|
91764
91774
|
};
|
|
91765
91775
|
const isCopyExpressionType$1 = (t) => t === "string" || t === "dyn" || t.startsWith("optional");
|
|
91766
|
-
function schema$
|
|
91776
|
+
function schema$N(configure) {
|
|
91767
91777
|
const cel = CelRowAccess(configure, { resultType: isCopyExpressionType$1 });
|
|
91768
91778
|
const localeMarkdown = LocaleMarkdownWithRow(configure);
|
|
91769
91779
|
return Struct({
|
|
91770
|
-
type: Literal2(type$
|
|
91771
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
91780
|
+
type: Literal2(type$N),
|
|
91781
|
+
compatibilityDate: Literal2(compatibilityDate$N),
|
|
91772
91782
|
...columnIdentityFields(),
|
|
91773
91783
|
title: Locale.annotations({ title: "标题", description: "列标题" }),
|
|
91774
91784
|
align: optionalWith(Align.annotations({ title: "对齐" }), { default: () => "left" }),
|
|
@@ -91814,23 +91824,23 @@ function toColumnDef$q(value, { getLocaleText }) {
|
|
|
91814
91824
|
}
|
|
91815
91825
|
const __vite_glob_0_3$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
91816
91826
|
__proto__: null,
|
|
91817
|
-
compatibilityDate: compatibilityDate$
|
|
91827
|
+
compatibilityDate: compatibilityDate$N,
|
|
91818
91828
|
defaults: defaults$p,
|
|
91819
|
-
metadata: metadata$
|
|
91820
|
-
schema: schema$
|
|
91829
|
+
metadata: metadata$N,
|
|
91830
|
+
schema: schema$N,
|
|
91821
91831
|
toColumnDef: toColumnDef$q,
|
|
91822
|
-
type: type$
|
|
91832
|
+
type: type$N
|
|
91823
91833
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
91824
|
-
const type$
|
|
91825
|
-
const compatibilityDate$
|
|
91826
|
-
const metadata$
|
|
91834
|
+
const type$M = "com.shwfed.table.column.number";
|
|
91835
|
+
const compatibilityDate$M = "2026-04-14";
|
|
91836
|
+
const metadata$M = {
|
|
91827
91837
|
name: "数值",
|
|
91828
91838
|
icon: "fluent:number-symbol-20-regular"
|
|
91829
91839
|
};
|
|
91830
|
-
function schema$
|
|
91840
|
+
function schema$M(configure) {
|
|
91831
91841
|
return Struct({
|
|
91832
|
-
type: Literal2(type$
|
|
91833
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
91842
|
+
type: Literal2(type$M),
|
|
91843
|
+
compatibilityDate: Literal2(compatibilityDate$M),
|
|
91834
91844
|
...columnFields(configure),
|
|
91835
91845
|
align: optionalWith(Align.annotations({ title: "对齐" }), { default: () => "right" }),
|
|
91836
91846
|
displayMode: optionalWith(
|
|
@@ -91879,25 +91889,25 @@ function toColumnDef$p(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
91879
91889
|
}
|
|
91880
91890
|
const __vite_glob_0_4$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
91881
91891
|
__proto__: null,
|
|
91882
|
-
compatibilityDate: compatibilityDate$
|
|
91892
|
+
compatibilityDate: compatibilityDate$M,
|
|
91883
91893
|
defaults: defaults$o,
|
|
91884
|
-
metadata: metadata$
|
|
91885
|
-
schema: schema$
|
|
91894
|
+
metadata: metadata$M,
|
|
91895
|
+
schema: schema$M,
|
|
91886
91896
|
toColumnDef: toColumnDef$p,
|
|
91887
|
-
type: type$
|
|
91897
|
+
type: type$M
|
|
91888
91898
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
91889
91899
|
const __vite_glob_2_8 = {};
|
|
91890
91900
|
const _stubVue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
91891
91901
|
__proto__: null,
|
|
91892
91902
|
default: __vite_glob_2_8
|
|
91893
91903
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
91894
|
-
const type$
|
|
91895
|
-
const compatibilityDate$
|
|
91896
|
-
const metadata$
|
|
91904
|
+
const type$L = "com.shwfed.table.column.select";
|
|
91905
|
+
const compatibilityDate$L = "2026-04-14";
|
|
91906
|
+
const metadata$L = {
|
|
91897
91907
|
name: "选择",
|
|
91898
91908
|
icon: "fluent:checkbox-checked-20-regular"
|
|
91899
91909
|
};
|
|
91900
|
-
function schema$
|
|
91910
|
+
function schema$L(configure) {
|
|
91901
91911
|
const CelRowSelectionPredicate = Expression({
|
|
91902
91912
|
configure: (env) => {
|
|
91903
91913
|
configure(env);
|
|
@@ -91906,8 +91916,8 @@ function schema$K(configure) {
|
|
|
91906
91916
|
resultType: "bool"
|
|
91907
91917
|
});
|
|
91908
91918
|
return Struct({
|
|
91909
|
-
type: Literal2(type$
|
|
91910
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
91919
|
+
type: Literal2(type$L),
|
|
91920
|
+
compatibilityDate: Literal2(compatibilityDate$L),
|
|
91911
91921
|
...columnIdentityFields(),
|
|
91912
91922
|
mode: optionalWith(Literal2("radio", "checkbox").annotations({
|
|
91913
91923
|
title: "模式",
|
|
@@ -91939,25 +91949,25 @@ function toColumnDef$o(value) {
|
|
|
91939
91949
|
}
|
|
91940
91950
|
const __vite_glob_0_5$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
91941
91951
|
__proto__: null,
|
|
91942
|
-
compatibilityDate: compatibilityDate$
|
|
91952
|
+
compatibilityDate: compatibilityDate$L,
|
|
91943
91953
|
defaults: defaults$n,
|
|
91944
|
-
metadata: metadata$
|
|
91945
|
-
schema: schema$
|
|
91954
|
+
metadata: metadata$L,
|
|
91955
|
+
schema: schema$L,
|
|
91946
91956
|
toColumnDef: toColumnDef$o,
|
|
91947
|
-
type: type$
|
|
91957
|
+
type: type$L
|
|
91948
91958
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
91949
|
-
const type$
|
|
91950
|
-
const compatibilityDate$
|
|
91951
|
-
const metadata$
|
|
91959
|
+
const type$K = "com.shwfed.table.column.text";
|
|
91960
|
+
const compatibilityDate$K = "2026-04-14";
|
|
91961
|
+
const metadata$K = {
|
|
91952
91962
|
name: "文本",
|
|
91953
91963
|
icon: "fluent:text-field-20-regular"
|
|
91954
91964
|
};
|
|
91955
91965
|
const isCopyExpressionType = (t) => t === "string" || t === "dyn" || t.startsWith("optional");
|
|
91956
|
-
function schema$
|
|
91966
|
+
function schema$K(configure) {
|
|
91957
91967
|
const cel = CelRowAccess(configure, { resultType: isCopyExpressionType });
|
|
91958
91968
|
return Struct({
|
|
91959
|
-
type: Literal2(type$
|
|
91960
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
91969
|
+
type: Literal2(type$K),
|
|
91970
|
+
compatibilityDate: Literal2(compatibilityDate$K),
|
|
91961
91971
|
...columnFields(configure),
|
|
91962
91972
|
align: optionalWith(Align.annotations({ title: "对齐" }), { default: () => "left" }),
|
|
91963
91973
|
displayMode: optionalWith(
|
|
@@ -92002,20 +92012,20 @@ function toColumnDef$n(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
92002
92012
|
}
|
|
92003
92013
|
const __vite_glob_0_6$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
92004
92014
|
__proto__: null,
|
|
92005
|
-
compatibilityDate: compatibilityDate$
|
|
92015
|
+
compatibilityDate: compatibilityDate$K,
|
|
92006
92016
|
defaults: defaults$m,
|
|
92007
|
-
metadata: metadata$
|
|
92008
|
-
schema: schema$
|
|
92017
|
+
metadata: metadata$K,
|
|
92018
|
+
schema: schema$K,
|
|
92009
92019
|
toColumnDef: toColumnDef$n,
|
|
92010
|
-
type: type$
|
|
92020
|
+
type: type$K
|
|
92011
92021
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
92012
|
-
const type$
|
|
92013
|
-
const compatibilityDate$
|
|
92014
|
-
const metadata$
|
|
92022
|
+
const type$J = "com.shwfed.table.column.switch.remote";
|
|
92023
|
+
const compatibilityDate$J = "2026-05-13";
|
|
92024
|
+
const metadata$J = {
|
|
92015
92025
|
name: "开关(远程)",
|
|
92016
92026
|
icon: "fluent:toggle-left-20-regular"
|
|
92017
92027
|
};
|
|
92018
|
-
function schema$
|
|
92028
|
+
function schema$J(configure) {
|
|
92019
92029
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
92020
92030
|
const CelOnChange = Expression({
|
|
92021
92031
|
configure: (env) => {
|
|
@@ -92033,8 +92043,8 @@ function schema$I(configure) {
|
|
|
92033
92043
|
resultType: "string"
|
|
92034
92044
|
});
|
|
92035
92045
|
return Struct({
|
|
92036
|
-
type: Literal2(type$
|
|
92037
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
92046
|
+
type: Literal2(type$J),
|
|
92047
|
+
compatibilityDate: Literal2(compatibilityDate$J),
|
|
92038
92048
|
...columnFields(configure),
|
|
92039
92049
|
align: optionalWith(Align.annotations({ title: "对齐" }), { default: () => "center" }),
|
|
92040
92050
|
disabled: optional(CelBool.annotations({
|
|
@@ -92063,14 +92073,14 @@ function defaults$l() {
|
|
|
92063
92073
|
};
|
|
92064
92074
|
}
|
|
92065
92075
|
const migrateFrom$e = [
|
|
92066
|
-
{ type: "com.shwfed.table.column.switch", compatibilityDate: compatibilityDate$
|
|
92076
|
+
{ type: "com.shwfed.table.column.switch", compatibilityDate: compatibilityDate$J }
|
|
92067
92077
|
];
|
|
92068
|
-
const migrate$
|
|
92078
|
+
const migrate$f = (prev) => try_({
|
|
92069
92079
|
try: () => {
|
|
92070
92080
|
if (!prev || typeof prev !== "object") {
|
|
92071
92081
|
throw new Error("开关(远程)迁移失败:原值不是对象");
|
|
92072
92082
|
}
|
|
92073
|
-
return { ...prev, type: type$
|
|
92083
|
+
return { ...prev, type: type$J, compatibilityDate: compatibilityDate$J };
|
|
92074
92084
|
},
|
|
92075
92085
|
catch: (e) => e instanceof Error ? e : new Error(String(e))
|
|
92076
92086
|
});
|
|
@@ -92096,22 +92106,22 @@ function toColumnDef$m(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
92096
92106
|
}
|
|
92097
92107
|
const __vite_glob_0_7$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
92098
92108
|
__proto__: null,
|
|
92099
|
-
compatibilityDate: compatibilityDate$
|
|
92109
|
+
compatibilityDate: compatibilityDate$J,
|
|
92100
92110
|
defaults: defaults$l,
|
|
92101
|
-
metadata: metadata$
|
|
92102
|
-
migrate: migrate$
|
|
92111
|
+
metadata: metadata$J,
|
|
92112
|
+
migrate: migrate$f,
|
|
92103
92113
|
migrateFrom: migrateFrom$e,
|
|
92104
|
-
schema: schema$
|
|
92114
|
+
schema: schema$J,
|
|
92105
92115
|
toColumnDef: toColumnDef$m,
|
|
92106
|
-
type: type$
|
|
92116
|
+
type: type$J
|
|
92107
92117
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
92108
|
-
const type$
|
|
92109
|
-
const compatibilityDate$
|
|
92110
|
-
const metadata$
|
|
92118
|
+
const type$I = "com.shwfed.table.column.switch";
|
|
92119
|
+
const compatibilityDate$I = "2026-05-13";
|
|
92120
|
+
const metadata$I = {
|
|
92111
92121
|
name: "开关(远程)",
|
|
92112
92122
|
icon: "fluent:toggle-left-20-regular"
|
|
92113
92123
|
};
|
|
92114
|
-
function schema$
|
|
92124
|
+
function schema$I(configure) {
|
|
92115
92125
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
92116
92126
|
const CelOnChange = Expression({
|
|
92117
92127
|
configure: (env) => {
|
|
@@ -92129,8 +92139,8 @@ function schema$H(configure) {
|
|
|
92129
92139
|
resultType: "string"
|
|
92130
92140
|
});
|
|
92131
92141
|
return Struct({
|
|
92132
|
-
type: Literal2(type$
|
|
92133
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
92142
|
+
type: Literal2(type$I),
|
|
92143
|
+
compatibilityDate: Literal2(compatibilityDate$I),
|
|
92134
92144
|
...columnFields(configure),
|
|
92135
92145
|
align: optionalWith(Align.annotations({ title: "对齐" }), { default: () => "center" }),
|
|
92136
92146
|
disabled: optional(CelBool.annotations({
|
|
@@ -92173,11 +92183,11 @@ function toColumnDef$l(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
92173
92183
|
}
|
|
92174
92184
|
const __vite_glob_0_8$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
92175
92185
|
__proto__: null,
|
|
92176
|
-
compatibilityDate: compatibilityDate$
|
|
92177
|
-
metadata: metadata$
|
|
92178
|
-
schema: schema$
|
|
92186
|
+
compatibilityDate: compatibilityDate$I,
|
|
92187
|
+
metadata: metadata$I,
|
|
92188
|
+
schema: schema$I,
|
|
92179
92189
|
toColumnDef: toColumnDef$l,
|
|
92180
|
-
type: type$
|
|
92190
|
+
type: type$I
|
|
92181
92191
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
92182
92192
|
const isObject$1 = (value) => {
|
|
92183
92193
|
const type2 = typeof value;
|
|
@@ -92376,9 +92386,9 @@ function getProperty(object2, path, value) {
|
|
|
92376
92386
|
}
|
|
92377
92387
|
return object2 === void 0 ? value : object2;
|
|
92378
92388
|
}
|
|
92379
|
-
const type$
|
|
92380
|
-
const compatibilityDate$
|
|
92381
|
-
const metadata$
|
|
92389
|
+
const type$H = "com.shwfed.table.column.combobox-single";
|
|
92390
|
+
const compatibilityDate$H = "2026-05-20";
|
|
92391
|
+
const metadata$H = {
|
|
92382
92392
|
name: "下拉单选",
|
|
92383
92393
|
icon: "fluent:chevron-down-20-regular"
|
|
92384
92394
|
};
|
|
@@ -92411,12 +92421,12 @@ function itemSchema$c(configure) {
|
|
|
92411
92421
|
title: "ComboboxSingleItem"
|
|
92412
92422
|
});
|
|
92413
92423
|
}
|
|
92414
|
-
function schema$
|
|
92424
|
+
function schema$H(configure) {
|
|
92415
92425
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
92416
92426
|
const Item = itemSchema$c(configure);
|
|
92417
92427
|
return Struct({
|
|
92418
|
-
type: Literal2(type$
|
|
92419
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
92428
|
+
type: Literal2(type$H),
|
|
92429
|
+
compatibilityDate: Literal2(compatibilityDate$H),
|
|
92420
92430
|
...editableColumnFields(),
|
|
92421
92431
|
placeholder: optional(Locale.annotations({
|
|
92422
92432
|
title: "占位符",
|
|
@@ -92464,25 +92474,25 @@ function toColumnDef$k(value, { getLocaleText }) {
|
|
|
92464
92474
|
}
|
|
92465
92475
|
const __vite_glob_0_9 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
92466
92476
|
__proto__: null,
|
|
92467
|
-
compatibilityDate: compatibilityDate$
|
|
92477
|
+
compatibilityDate: compatibilityDate$H,
|
|
92468
92478
|
itemSchema: itemSchema$c,
|
|
92469
|
-
metadata: metadata$
|
|
92470
|
-
schema: schema$
|
|
92479
|
+
metadata: metadata$H,
|
|
92480
|
+
schema: schema$H,
|
|
92471
92481
|
toColumnDef: toColumnDef$k,
|
|
92472
|
-
type: type$
|
|
92482
|
+
type: type$H
|
|
92473
92483
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
92474
|
-
const type$
|
|
92475
|
-
const compatibilityDate$
|
|
92476
|
-
const metadata$
|
|
92484
|
+
const type$G = "com.shwfed.table.column.number-input";
|
|
92485
|
+
const compatibilityDate$G = "2026-05-20";
|
|
92486
|
+
const metadata$G = {
|
|
92477
92487
|
name: "数值输入",
|
|
92478
92488
|
icon: "fluent:number-symbol-20-regular"
|
|
92479
92489
|
};
|
|
92480
|
-
function schema$
|
|
92490
|
+
function schema$G(configure) {
|
|
92481
92491
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
92482
92492
|
const CelNumber = CelRowAccess(configure, { resultType: "number" });
|
|
92483
92493
|
return Struct({
|
|
92484
|
-
type: Literal2(type$
|
|
92485
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
92494
|
+
type: Literal2(type$G),
|
|
92495
|
+
compatibilityDate: Literal2(compatibilityDate$G),
|
|
92486
92496
|
...editableColumnFields(),
|
|
92487
92497
|
placeholder: optional(Locale.annotations({
|
|
92488
92498
|
title: "占位符",
|
|
@@ -92557,24 +92567,24 @@ function toColumnDef$j(value, { getLocaleText }) {
|
|
|
92557
92567
|
}
|
|
92558
92568
|
const __vite_glob_0_10 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
92559
92569
|
__proto__: null,
|
|
92560
|
-
compatibilityDate: compatibilityDate$
|
|
92570
|
+
compatibilityDate: compatibilityDate$G,
|
|
92561
92571
|
defaults: defaults$k,
|
|
92562
|
-
metadata: metadata$
|
|
92563
|
-
schema: schema$
|
|
92572
|
+
metadata: metadata$G,
|
|
92573
|
+
schema: schema$G,
|
|
92564
92574
|
toColumnDef: toColumnDef$j,
|
|
92565
|
-
type: type$
|
|
92575
|
+
type: type$G
|
|
92566
92576
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
92567
|
-
const type$
|
|
92568
|
-
const compatibilityDate$
|
|
92569
|
-
const metadata$
|
|
92577
|
+
const type$F = "com.shwfed.table.column.switch.local";
|
|
92578
|
+
const compatibilityDate$F = "2026-05-20";
|
|
92579
|
+
const metadata$F = {
|
|
92570
92580
|
name: "开关",
|
|
92571
92581
|
icon: "fluent:toggle-left-20-regular"
|
|
92572
92582
|
};
|
|
92573
|
-
function schema$
|
|
92583
|
+
function schema$F(configure) {
|
|
92574
92584
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
92575
92585
|
return Struct({
|
|
92576
|
-
type: Literal2(type$
|
|
92577
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
92586
|
+
type: Literal2(type$F),
|
|
92587
|
+
compatibilityDate: Literal2(compatibilityDate$F),
|
|
92578
92588
|
...editableColumnFields(),
|
|
92579
92589
|
hidden: optional(CelBool.annotations({
|
|
92580
92590
|
title: "隐藏条件",
|
|
@@ -92607,14 +92617,14 @@ function defaults$j() {
|
|
|
92607
92617
|
};
|
|
92608
92618
|
}
|
|
92609
92619
|
const migrateFrom$d = [
|
|
92610
|
-
{ type: "com.shwfed.table.column.switch", compatibilityDate: compatibilityDate$
|
|
92620
|
+
{ type: "com.shwfed.table.column.switch", compatibilityDate: compatibilityDate$F }
|
|
92611
92621
|
];
|
|
92612
|
-
const migrate$
|
|
92622
|
+
const migrate$e = (prev) => try_({
|
|
92613
92623
|
try: () => {
|
|
92614
92624
|
if (!prev || typeof prev !== "object") {
|
|
92615
92625
|
throw new Error("开关(本地)迁移失败:原值不是对象");
|
|
92616
92626
|
}
|
|
92617
|
-
return { ...prev, type: type$
|
|
92627
|
+
return { ...prev, type: type$F, compatibilityDate: compatibilityDate$F };
|
|
92618
92628
|
},
|
|
92619
92629
|
catch: (e) => e instanceof Error ? e : new Error(String(e))
|
|
92620
92630
|
});
|
|
@@ -92640,26 +92650,26 @@ function toColumnDef$i(value, { getLocaleText }) {
|
|
|
92640
92650
|
}
|
|
92641
92651
|
const __vite_glob_0_11 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
92642
92652
|
__proto__: null,
|
|
92643
|
-
compatibilityDate: compatibilityDate$
|
|
92653
|
+
compatibilityDate: compatibilityDate$F,
|
|
92644
92654
|
defaults: defaults$j,
|
|
92645
|
-
metadata: metadata$
|
|
92646
|
-
migrate: migrate$
|
|
92655
|
+
metadata: metadata$F,
|
|
92656
|
+
migrate: migrate$e,
|
|
92647
92657
|
migrateFrom: migrateFrom$d,
|
|
92648
|
-
schema: schema$
|
|
92658
|
+
schema: schema$F,
|
|
92649
92659
|
toColumnDef: toColumnDef$i,
|
|
92650
|
-
type: type$
|
|
92660
|
+
type: type$F
|
|
92651
92661
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
92652
|
-
const type$
|
|
92653
|
-
const compatibilityDate$
|
|
92654
|
-
const metadata$
|
|
92662
|
+
const type$E = "com.shwfed.table.column.switch";
|
|
92663
|
+
const compatibilityDate$E = "2026-05-20";
|
|
92664
|
+
const metadata$E = {
|
|
92655
92665
|
name: "开关",
|
|
92656
92666
|
icon: "fluent:toggle-left-20-regular"
|
|
92657
92667
|
};
|
|
92658
|
-
function schema$
|
|
92668
|
+
function schema$E(configure) {
|
|
92659
92669
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
92660
92670
|
return Struct({
|
|
92661
|
-
type: Literal2(type$
|
|
92662
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
92671
|
+
type: Literal2(type$E),
|
|
92672
|
+
compatibilityDate: Literal2(compatibilityDate$E),
|
|
92663
92673
|
...editableColumnFields(),
|
|
92664
92674
|
hidden: optional(CelBool.annotations({
|
|
92665
92675
|
title: "隐藏条件",
|
|
@@ -92706,23 +92716,23 @@ function toColumnDef$h(value, { getLocaleText }) {
|
|
|
92706
92716
|
}
|
|
92707
92717
|
const __vite_glob_0_12 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
92708
92718
|
__proto__: null,
|
|
92709
|
-
compatibilityDate: compatibilityDate$
|
|
92710
|
-
metadata: metadata$
|
|
92711
|
-
schema: schema$
|
|
92719
|
+
compatibilityDate: compatibilityDate$E,
|
|
92720
|
+
metadata: metadata$E,
|
|
92721
|
+
schema: schema$E,
|
|
92712
92722
|
toColumnDef: toColumnDef$h,
|
|
92713
|
-
type: type$
|
|
92723
|
+
type: type$E
|
|
92714
92724
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
92715
|
-
const type$
|
|
92716
|
-
const compatibilityDate$
|
|
92717
|
-
const metadata$
|
|
92725
|
+
const type$D = "com.shwfed.table.column.text-input";
|
|
92726
|
+
const compatibilityDate$D = "2026-05-20";
|
|
92727
|
+
const metadata$D = {
|
|
92718
92728
|
name: "文本输入",
|
|
92719
92729
|
icon: "fluent:text-field-20-regular"
|
|
92720
92730
|
};
|
|
92721
|
-
function schema$
|
|
92731
|
+
function schema$D(configure) {
|
|
92722
92732
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
92723
92733
|
return Struct({
|
|
92724
|
-
type: Literal2(type$
|
|
92725
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
92734
|
+
type: Literal2(type$D),
|
|
92735
|
+
compatibilityDate: Literal2(compatibilityDate$D),
|
|
92726
92736
|
...editableColumnFields(),
|
|
92727
92737
|
placeholder: optional(Locale.annotations({
|
|
92728
92738
|
title: "占位符",
|
|
@@ -92770,23 +92780,23 @@ function toColumnDef$g(value, { getLocaleText }) {
|
|
|
92770
92780
|
}
|
|
92771
92781
|
const __vite_glob_0_13 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
92772
92782
|
__proto__: null,
|
|
92773
|
-
compatibilityDate: compatibilityDate$
|
|
92783
|
+
compatibilityDate: compatibilityDate$D,
|
|
92774
92784
|
defaults: defaults$i,
|
|
92775
|
-
metadata: metadata$
|
|
92776
|
-
schema: schema$
|
|
92785
|
+
metadata: metadata$D,
|
|
92786
|
+
schema: schema$D,
|
|
92777
92787
|
toColumnDef: toColumnDef$g,
|
|
92778
|
-
type: type$
|
|
92788
|
+
type: type$D
|
|
92779
92789
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
92780
|
-
const type$
|
|
92781
|
-
const compatibilityDate$
|
|
92782
|
-
const metadata$
|
|
92790
|
+
const type$C = "com.shwfed.table.column.drag-handle";
|
|
92791
|
+
const compatibilityDate$C = "2026-05-21";
|
|
92792
|
+
const metadata$C = {
|
|
92783
92793
|
name: "拖拽",
|
|
92784
92794
|
icon: "fluent:re-order-dots-vertical-20-regular"
|
|
92785
92795
|
};
|
|
92786
|
-
function schema$
|
|
92796
|
+
function schema$C(_configure) {
|
|
92787
92797
|
return Struct({
|
|
92788
|
-
type: Literal2(type$
|
|
92789
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
92798
|
+
type: Literal2(type$C),
|
|
92799
|
+
compatibilityDate: Literal2(compatibilityDate$C),
|
|
92790
92800
|
...columnIdentityFields()
|
|
92791
92801
|
}).annotations({ title: "DragHandleRenderer", description: "行拖拽手柄列" });
|
|
92792
92802
|
}
|
|
@@ -92806,15 +92816,15 @@ function toColumnDef$f(_value) {
|
|
|
92806
92816
|
}
|
|
92807
92817
|
const __vite_glob_0_14 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
92808
92818
|
__proto__: null,
|
|
92809
|
-
compatibilityDate: compatibilityDate$
|
|
92810
|
-
metadata: metadata$
|
|
92811
|
-
schema: schema$
|
|
92819
|
+
compatibilityDate: compatibilityDate$C,
|
|
92820
|
+
metadata: metadata$C,
|
|
92821
|
+
schema: schema$C,
|
|
92812
92822
|
toColumnDef: toColumnDef$f,
|
|
92813
|
-
type: type$
|
|
92823
|
+
type: type$C
|
|
92814
92824
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
92815
|
-
const type$
|
|
92816
|
-
const compatibilityDate$
|
|
92817
|
-
const metadata$
|
|
92825
|
+
const type$B = "com.shwfed.table.column.combobox-single.remote.options-remote";
|
|
92826
|
+
const compatibilityDate$B = "2026-05-24";
|
|
92827
|
+
const metadata$B = {
|
|
92818
92828
|
name: "远程下拉单选",
|
|
92819
92829
|
icon: "fluent:cloud-arrow-down-20-regular"
|
|
92820
92830
|
};
|
|
@@ -92823,13 +92833,13 @@ const OPTION_VAR$1 = {
|
|
|
92823
92833
|
label: "当前选项",
|
|
92824
92834
|
description: "`选项` 表达式产出的数组中迭代到的单个元素"
|
|
92825
92835
|
};
|
|
92826
|
-
const JSON_VAR$
|
|
92836
|
+
const JSON_VAR$3 = {
|
|
92827
92837
|
type: "dyn",
|
|
92828
92838
|
label: "HTTP 响应体",
|
|
92829
92839
|
description: "HTTP 响应体(已解析 JSON);请求失败或尚未完成时为 `null`"
|
|
92830
92840
|
};
|
|
92831
92841
|
const isListType$b = (actual) => actual === "dyn" || actual.startsWith("list");
|
|
92832
|
-
function schema$
|
|
92842
|
+
function schema$B(configure) {
|
|
92833
92843
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
92834
92844
|
const CelRequest = Expression({
|
|
92835
92845
|
configure: (env) => {
|
|
@@ -92842,7 +92852,7 @@ function schema$A(configure) {
|
|
|
92842
92852
|
configure: (env) => {
|
|
92843
92853
|
configure(env);
|
|
92844
92854
|
registerRowVariablesIfAbsent(env);
|
|
92845
|
-
env.registerVariable("json", JSON_VAR$
|
|
92855
|
+
env.registerVariable("json", JSON_VAR$3.type, { description: JSON_VAR$3.description });
|
|
92846
92856
|
},
|
|
92847
92857
|
resultType: isListType$b
|
|
92848
92858
|
});
|
|
@@ -92877,8 +92887,8 @@ function schema$A(configure) {
|
|
|
92877
92887
|
resultType: "string"
|
|
92878
92888
|
});
|
|
92879
92889
|
return Struct({
|
|
92880
|
-
type: Literal2(type$
|
|
92881
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
92890
|
+
type: Literal2(type$B),
|
|
92891
|
+
compatibilityDate: Literal2(compatibilityDate$B),
|
|
92882
92892
|
...columnFields(configure),
|
|
92883
92893
|
placeholder: optional(Locale.annotations({
|
|
92884
92894
|
title: "占位符",
|
|
@@ -92951,17 +92961,17 @@ function toColumnDef$e(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
92951
92961
|
}
|
|
92952
92962
|
const __vite_glob_0_15 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
92953
92963
|
__proto__: null,
|
|
92954
|
-
JSON_VAR: JSON_VAR$
|
|
92964
|
+
JSON_VAR: JSON_VAR$3,
|
|
92955
92965
|
OPTION_VAR: OPTION_VAR$1,
|
|
92956
|
-
compatibilityDate: compatibilityDate$
|
|
92957
|
-
metadata: metadata$
|
|
92958
|
-
schema: schema$
|
|
92966
|
+
compatibilityDate: compatibilityDate$B,
|
|
92967
|
+
metadata: metadata$B,
|
|
92968
|
+
schema: schema$B,
|
|
92959
92969
|
toColumnDef: toColumnDef$e,
|
|
92960
|
-
type: type$
|
|
92970
|
+
type: type$B
|
|
92961
92971
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
92962
|
-
const type$
|
|
92963
|
-
const compatibilityDate$
|
|
92964
|
-
const metadata$
|
|
92972
|
+
const type$A = "com.shwfed.table.column.combobox-single.remote.options-static";
|
|
92973
|
+
const compatibilityDate$A = "2026-05-24";
|
|
92974
|
+
const metadata$A = {
|
|
92965
92975
|
name: "下拉单选",
|
|
92966
92976
|
icon: "fluent:chevron-down-20-regular"
|
|
92967
92977
|
};
|
|
@@ -92994,7 +93004,7 @@ function itemSchema$b(configure) {
|
|
|
92994
93004
|
title: "ComboboxSingleRemoteOptionsStaticItem"
|
|
92995
93005
|
});
|
|
92996
93006
|
}
|
|
92997
|
-
function schema$
|
|
93007
|
+
function schema$A(configure) {
|
|
92998
93008
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
92999
93009
|
const Item = itemSchema$b(configure);
|
|
93000
93010
|
const CelOnChange = Expression({
|
|
@@ -93013,8 +93023,8 @@ function schema$z(configure) {
|
|
|
93013
93023
|
resultType: "string"
|
|
93014
93024
|
});
|
|
93015
93025
|
return Struct({
|
|
93016
|
-
type: Literal2(type$
|
|
93017
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
93026
|
+
type: Literal2(type$A),
|
|
93027
|
+
compatibilityDate: Literal2(compatibilityDate$A),
|
|
93018
93028
|
...columnFields(configure),
|
|
93019
93029
|
placeholder: optional(Locale.annotations({
|
|
93020
93030
|
title: "占位符",
|
|
@@ -93075,16 +93085,16 @@ function toColumnDef$d(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
93075
93085
|
}
|
|
93076
93086
|
const __vite_glob_0_16 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
93077
93087
|
__proto__: null,
|
|
93078
|
-
compatibilityDate: compatibilityDate$
|
|
93088
|
+
compatibilityDate: compatibilityDate$A,
|
|
93079
93089
|
itemSchema: itemSchema$b,
|
|
93080
|
-
metadata: metadata$
|
|
93081
|
-
schema: schema$
|
|
93090
|
+
metadata: metadata$A,
|
|
93091
|
+
schema: schema$A,
|
|
93082
93092
|
toColumnDef: toColumnDef$d,
|
|
93083
|
-
type: type$
|
|
93093
|
+
type: type$A
|
|
93084
93094
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
93085
|
-
const type$
|
|
93086
|
-
const compatibilityDate$
|
|
93087
|
-
const metadata$
|
|
93095
|
+
const type$z = "com.shwfed.table.column.combobox-multi.remote.options-remote";
|
|
93096
|
+
const compatibilityDate$z = "2026-05-25";
|
|
93097
|
+
const metadata$z = {
|
|
93088
93098
|
name: "远程下拉多选",
|
|
93089
93099
|
icon: "fluent:cloud-arrow-down-20-regular"
|
|
93090
93100
|
};
|
|
@@ -93093,13 +93103,13 @@ const OPTION_VAR = {
|
|
|
93093
93103
|
label: "当前选项",
|
|
93094
93104
|
description: "`选项` 表达式产出的数组中迭代到的单个元素"
|
|
93095
93105
|
};
|
|
93096
|
-
const JSON_VAR$
|
|
93106
|
+
const JSON_VAR$2 = {
|
|
93097
93107
|
type: "dyn",
|
|
93098
93108
|
label: "HTTP 响应体",
|
|
93099
93109
|
description: "HTTP 响应体(已解析 JSON);请求失败或尚未完成时为 `null`"
|
|
93100
93110
|
};
|
|
93101
93111
|
const isListType$a = (actual) => actual === "dyn" || actual.startsWith("list");
|
|
93102
|
-
function schema$
|
|
93112
|
+
function schema$z(configure) {
|
|
93103
93113
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
93104
93114
|
const CelRequest = Expression({
|
|
93105
93115
|
configure: (env) => {
|
|
@@ -93112,7 +93122,7 @@ function schema$y(configure) {
|
|
|
93112
93122
|
configure: (env) => {
|
|
93113
93123
|
configure(env);
|
|
93114
93124
|
registerRowVariablesIfAbsent(env);
|
|
93115
|
-
env.registerVariable("json", JSON_VAR$
|
|
93125
|
+
env.registerVariable("json", JSON_VAR$2.type, { description: JSON_VAR$2.description });
|
|
93116
93126
|
},
|
|
93117
93127
|
resultType: isListType$a
|
|
93118
93128
|
});
|
|
@@ -93147,8 +93157,8 @@ function schema$y(configure) {
|
|
|
93147
93157
|
resultType: "string"
|
|
93148
93158
|
});
|
|
93149
93159
|
return Struct({
|
|
93150
|
-
type: Literal2(type$
|
|
93151
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
93160
|
+
type: Literal2(type$z),
|
|
93161
|
+
compatibilityDate: Literal2(compatibilityDate$z),
|
|
93152
93162
|
...columnFields(configure),
|
|
93153
93163
|
placeholder: optional(Locale.annotations({
|
|
93154
93164
|
title: "占位符",
|
|
@@ -93221,17 +93231,17 @@ function toColumnDef$c(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
93221
93231
|
}
|
|
93222
93232
|
const __vite_glob_0_17 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
93223
93233
|
__proto__: null,
|
|
93224
|
-
JSON_VAR: JSON_VAR$
|
|
93234
|
+
JSON_VAR: JSON_VAR$2,
|
|
93225
93235
|
OPTION_VAR,
|
|
93226
|
-
compatibilityDate: compatibilityDate$
|
|
93227
|
-
metadata: metadata$
|
|
93228
|
-
schema: schema$
|
|
93236
|
+
compatibilityDate: compatibilityDate$z,
|
|
93237
|
+
metadata: metadata$z,
|
|
93238
|
+
schema: schema$z,
|
|
93229
93239
|
toColumnDef: toColumnDef$c,
|
|
93230
|
-
type: type$
|
|
93240
|
+
type: type$z
|
|
93231
93241
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
93232
|
-
const type$
|
|
93233
|
-
const compatibilityDate$
|
|
93234
|
-
const metadata$
|
|
93242
|
+
const type$y = "com.shwfed.table.column.combobox-multi.remote.options-static";
|
|
93243
|
+
const compatibilityDate$y = "2026-05-25";
|
|
93244
|
+
const metadata$y = {
|
|
93235
93245
|
name: "下拉多选",
|
|
93236
93246
|
icon: "fluent:chevron-down-20-regular"
|
|
93237
93247
|
};
|
|
@@ -93264,7 +93274,7 @@ function itemSchema$a(configure) {
|
|
|
93264
93274
|
title: "ComboboxMultiRemoteOptionsStaticItem"
|
|
93265
93275
|
});
|
|
93266
93276
|
}
|
|
93267
|
-
function schema$
|
|
93277
|
+
function schema$y(configure) {
|
|
93268
93278
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
93269
93279
|
const Item = itemSchema$a(configure);
|
|
93270
93280
|
const CelOnChange = Expression({
|
|
@@ -93283,8 +93293,8 @@ function schema$x(configure) {
|
|
|
93283
93293
|
resultType: "string"
|
|
93284
93294
|
});
|
|
93285
93295
|
return Struct({
|
|
93286
|
-
type: Literal2(type$
|
|
93287
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
93296
|
+
type: Literal2(type$y),
|
|
93297
|
+
compatibilityDate: Literal2(compatibilityDate$y),
|
|
93288
93298
|
...columnFields(configure),
|
|
93289
93299
|
placeholder: optional(Locale.annotations({
|
|
93290
93300
|
title: "占位符",
|
|
@@ -93345,16 +93355,16 @@ function toColumnDef$b(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
93345
93355
|
}
|
|
93346
93356
|
const __vite_glob_0_18 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
93347
93357
|
__proto__: null,
|
|
93348
|
-
compatibilityDate: compatibilityDate$
|
|
93358
|
+
compatibilityDate: compatibilityDate$y,
|
|
93349
93359
|
itemSchema: itemSchema$a,
|
|
93350
|
-
metadata: metadata$
|
|
93351
|
-
schema: schema$
|
|
93360
|
+
metadata: metadata$y,
|
|
93361
|
+
schema: schema$y,
|
|
93352
93362
|
toColumnDef: toColumnDef$b,
|
|
93353
|
-
type: type$
|
|
93363
|
+
type: type$y
|
|
93354
93364
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
93355
|
-
const type$
|
|
93356
|
-
const compatibilityDate$
|
|
93357
|
-
const metadata$
|
|
93365
|
+
const type$x = "com.shwfed.table.column.combobox-multi";
|
|
93366
|
+
const compatibilityDate$x = "2026-05-25";
|
|
93367
|
+
const metadata$x = {
|
|
93358
93368
|
name: "下拉多选",
|
|
93359
93369
|
icon: "fluent:chevron-down-20-regular"
|
|
93360
93370
|
};
|
|
@@ -93387,12 +93397,12 @@ function itemSchema$9(configure) {
|
|
|
93387
93397
|
title: "ComboboxMultiItem"
|
|
93388
93398
|
});
|
|
93389
93399
|
}
|
|
93390
|
-
function schema$
|
|
93400
|
+
function schema$x(configure) {
|
|
93391
93401
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
93392
93402
|
const Item = itemSchema$9(configure);
|
|
93393
93403
|
return Struct({
|
|
93394
|
-
type: Literal2(type$
|
|
93395
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
93404
|
+
type: Literal2(type$x),
|
|
93405
|
+
compatibilityDate: Literal2(compatibilityDate$x),
|
|
93396
93406
|
...editableColumnFields(),
|
|
93397
93407
|
placeholder: optional(Locale.annotations({
|
|
93398
93408
|
title: "占位符",
|
|
@@ -93438,16 +93448,16 @@ function toColumnDef$a(value, { getLocaleText }) {
|
|
|
93438
93448
|
}
|
|
93439
93449
|
const __vite_glob_0_19 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
93440
93450
|
__proto__: null,
|
|
93441
|
-
compatibilityDate: compatibilityDate$
|
|
93451
|
+
compatibilityDate: compatibilityDate$x,
|
|
93442
93452
|
itemSchema: itemSchema$9,
|
|
93443
|
-
metadata: metadata$
|
|
93444
|
-
schema: schema$
|
|
93453
|
+
metadata: metadata$x,
|
|
93454
|
+
schema: schema$x,
|
|
93445
93455
|
toColumnDef: toColumnDef$a,
|
|
93446
|
-
type: type$
|
|
93456
|
+
type: type$x
|
|
93447
93457
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
93448
|
-
const type$
|
|
93449
|
-
const compatibilityDate$
|
|
93450
|
-
const metadata$
|
|
93458
|
+
const type$w = "com.shwfed.table.column.combobox-multi.remote";
|
|
93459
|
+
const compatibilityDate$w = "2026-05-26";
|
|
93460
|
+
const metadata$w = {
|
|
93451
93461
|
name: "多选(远程)",
|
|
93452
93462
|
icon: "fluent:cloud-arrow-up-20-regular"
|
|
93453
93463
|
};
|
|
@@ -93547,7 +93557,7 @@ function optionsSchema$7(configure) {
|
|
|
93547
93557
|
description: '选项可以是静态配置(`kind: "static"`)或由远程接口加载(`kind: "remote"`)'
|
|
93548
93558
|
});
|
|
93549
93559
|
}
|
|
93550
|
-
function schema$
|
|
93560
|
+
function schema$w(configure) {
|
|
93551
93561
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
93552
93562
|
const Options = optionsSchema$7(configure);
|
|
93553
93563
|
const CelOnChange = Expression({
|
|
@@ -93566,8 +93576,8 @@ function schema$v(configure) {
|
|
|
93566
93576
|
resultType: "string"
|
|
93567
93577
|
});
|
|
93568
93578
|
return Struct({
|
|
93569
|
-
type: Literal2(type$
|
|
93570
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
93579
|
+
type: Literal2(type$w),
|
|
93580
|
+
compatibilityDate: Literal2(compatibilityDate$w),
|
|
93571
93581
|
...columnFields(configure),
|
|
93572
93582
|
placeholder: optional(Locale.annotations({
|
|
93573
93583
|
title: "占位符",
|
|
@@ -93609,7 +93619,7 @@ const migrateFrom$c = [
|
|
|
93609
93619
|
{ type: "com.shwfed.table.column.combobox-multi.remote.options-static", compatibilityDate: "2026-05-25" },
|
|
93610
93620
|
{ type: "com.shwfed.table.column.combobox-multi.remote.options-remote", compatibilityDate: "2026-05-25" }
|
|
93611
93621
|
];
|
|
93612
|
-
const migrate$
|
|
93622
|
+
const migrate$d = (prev) => try_({
|
|
93613
93623
|
try: () => {
|
|
93614
93624
|
if (!prev || typeof prev !== "object") {
|
|
93615
93625
|
throw new Error("下拉多选(远程写入)迁移失败:原值不是对象");
|
|
@@ -93621,8 +93631,8 @@ const migrate$c = (prev) => try_({
|
|
|
93621
93631
|
const itemsArr = Array.isArray(items2) ? items2 : [];
|
|
93622
93632
|
return {
|
|
93623
93633
|
...rest,
|
|
93624
|
-
type: type$
|
|
93625
|
-
compatibilityDate: compatibilityDate$
|
|
93634
|
+
type: type$w,
|
|
93635
|
+
compatibilityDate: compatibilityDate$w,
|
|
93626
93636
|
options: { kind: "static", items: itemsArr }
|
|
93627
93637
|
};
|
|
93628
93638
|
}
|
|
@@ -93635,8 +93645,8 @@ const migrate$c = (prev) => try_({
|
|
|
93635
93645
|
if (Array.isArray(optionLabel)) remote.optionLabel = optionLabel;
|
|
93636
93646
|
return {
|
|
93637
93647
|
...rest,
|
|
93638
|
-
type: type$
|
|
93639
|
-
compatibilityDate: compatibilityDate$
|
|
93648
|
+
type: type$w,
|
|
93649
|
+
compatibilityDate: compatibilityDate$w,
|
|
93640
93650
|
options: remote
|
|
93641
93651
|
};
|
|
93642
93652
|
}
|
|
@@ -93666,20 +93676,20 @@ function toColumnDef$9(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
93666
93676
|
}
|
|
93667
93677
|
const __vite_glob_0_20$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
93668
93678
|
__proto__: null,
|
|
93669
|
-
compatibilityDate: compatibilityDate$
|
|
93679
|
+
compatibilityDate: compatibilityDate$w,
|
|
93670
93680
|
itemSchema: itemSchema$8,
|
|
93671
|
-
metadata: metadata$
|
|
93672
|
-
migrate: migrate$
|
|
93681
|
+
metadata: metadata$w,
|
|
93682
|
+
migrate: migrate$d,
|
|
93673
93683
|
migrateFrom: migrateFrom$c,
|
|
93674
93684
|
optionsSchema: optionsSchema$7,
|
|
93675
93685
|
remoteOptionsSchema: remoteOptionsSchema$7,
|
|
93676
|
-
schema: schema$
|
|
93686
|
+
schema: schema$w,
|
|
93677
93687
|
toColumnDef: toColumnDef$9,
|
|
93678
|
-
type: type$
|
|
93688
|
+
type: type$w
|
|
93679
93689
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
93680
|
-
const type$
|
|
93681
|
-
const compatibilityDate$
|
|
93682
|
-
const metadata$
|
|
93690
|
+
const type$v = "com.shwfed.table.column.combobox-multi";
|
|
93691
|
+
const compatibilityDate$v = "2026-05-26";
|
|
93692
|
+
const metadata$v = {
|
|
93683
93693
|
name: "多选",
|
|
93684
93694
|
icon: "fluent:chevron-down-20-regular"
|
|
93685
93695
|
};
|
|
@@ -93779,12 +93789,12 @@ function optionsSchema$6(configure) {
|
|
|
93779
93789
|
description: '选项可以是静态配置(`kind: "static"`)或由远程接口加载(`kind: "remote"`)'
|
|
93780
93790
|
});
|
|
93781
93791
|
}
|
|
93782
|
-
function schema$
|
|
93792
|
+
function schema$v(configure) {
|
|
93783
93793
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
93784
93794
|
const Options = optionsSchema$6(configure);
|
|
93785
93795
|
return Struct({
|
|
93786
|
-
type: Literal2(type$
|
|
93787
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
93796
|
+
type: Literal2(type$v),
|
|
93797
|
+
compatibilityDate: Literal2(compatibilityDate$v),
|
|
93788
93798
|
...editableColumnFields(),
|
|
93789
93799
|
placeholder: optional(Locale.annotations({
|
|
93790
93800
|
title: "占位符",
|
|
@@ -93811,7 +93821,7 @@ function schema$u(configure) {
|
|
|
93811
93821
|
const migrateFrom$b = [
|
|
93812
93822
|
{ type: "com.shwfed.table.column.combobox-multi", compatibilityDate: "2026-05-25" }
|
|
93813
93823
|
];
|
|
93814
|
-
const migrate$
|
|
93824
|
+
const migrate$c = (prev) => try_({
|
|
93815
93825
|
try: () => {
|
|
93816
93826
|
if (!prev || typeof prev !== "object") {
|
|
93817
93827
|
throw new Error("下拉多选迁移失败:原值不是对象");
|
|
@@ -93820,8 +93830,8 @@ const migrate$b = (prev) => try_({
|
|
|
93820
93830
|
const itemsArr = Array.isArray(items2) ? items2 : [];
|
|
93821
93831
|
return {
|
|
93822
93832
|
...rest,
|
|
93823
|
-
type: type$
|
|
93824
|
-
compatibilityDate: compatibilityDate$
|
|
93833
|
+
type: type$v,
|
|
93834
|
+
compatibilityDate: compatibilityDate$v,
|
|
93825
93835
|
options: { kind: "static", items: itemsArr }
|
|
93826
93836
|
};
|
|
93827
93837
|
},
|
|
@@ -93845,20 +93855,20 @@ function toColumnDef$8(value, { getLocaleText }) {
|
|
|
93845
93855
|
}
|
|
93846
93856
|
const __vite_glob_0_21$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
93847
93857
|
__proto__: null,
|
|
93848
|
-
compatibilityDate: compatibilityDate$
|
|
93858
|
+
compatibilityDate: compatibilityDate$v,
|
|
93849
93859
|
itemSchema: itemSchema$7,
|
|
93850
|
-
metadata: metadata$
|
|
93851
|
-
migrate: migrate$
|
|
93860
|
+
metadata: metadata$v,
|
|
93861
|
+
migrate: migrate$c,
|
|
93852
93862
|
migrateFrom: migrateFrom$b,
|
|
93853
93863
|
optionsSchema: optionsSchema$6,
|
|
93854
93864
|
remoteOptionsSchema: remoteOptionsSchema$6,
|
|
93855
|
-
schema: schema$
|
|
93865
|
+
schema: schema$v,
|
|
93856
93866
|
toColumnDef: toColumnDef$8,
|
|
93857
|
-
type: type$
|
|
93867
|
+
type: type$v
|
|
93858
93868
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
93859
|
-
const type$
|
|
93860
|
-
const compatibilityDate$
|
|
93861
|
-
const metadata$
|
|
93869
|
+
const type$u = "com.shwfed.table.column.combobox-single.remote";
|
|
93870
|
+
const compatibilityDate$u = "2026-05-26";
|
|
93871
|
+
const metadata$u = {
|
|
93862
93872
|
name: "单选(远程)",
|
|
93863
93873
|
icon: "fluent:cloud-arrow-up-20-regular"
|
|
93864
93874
|
};
|
|
@@ -93958,7 +93968,7 @@ function optionsSchema$5(configure) {
|
|
|
93958
93968
|
description: '选项可以是静态配置(`kind: "static"`)或由远程接口加载(`kind: "remote"`)'
|
|
93959
93969
|
});
|
|
93960
93970
|
}
|
|
93961
|
-
function schema$
|
|
93971
|
+
function schema$u(configure) {
|
|
93962
93972
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
93963
93973
|
const Options = optionsSchema$5(configure);
|
|
93964
93974
|
const CelOnChange = Expression({
|
|
@@ -93977,8 +93987,8 @@ function schema$t(configure) {
|
|
|
93977
93987
|
resultType: "string"
|
|
93978
93988
|
});
|
|
93979
93989
|
return Struct({
|
|
93980
|
-
type: Literal2(type$
|
|
93981
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
93990
|
+
type: Literal2(type$u),
|
|
93991
|
+
compatibilityDate: Literal2(compatibilityDate$u),
|
|
93982
93992
|
...columnFields(configure),
|
|
93983
93993
|
placeholder: optional(Locale.annotations({
|
|
93984
93994
|
title: "占位符",
|
|
@@ -94020,7 +94030,7 @@ const migrateFrom$a = [
|
|
|
94020
94030
|
{ type: "com.shwfed.table.column.combobox-single.remote.options-static", compatibilityDate: "2026-05-24" },
|
|
94021
94031
|
{ type: "com.shwfed.table.column.combobox-single.remote.options-remote", compatibilityDate: "2026-05-24" }
|
|
94022
94032
|
];
|
|
94023
|
-
const migrate$
|
|
94033
|
+
const migrate$b = (prev) => try_({
|
|
94024
94034
|
try: () => {
|
|
94025
94035
|
if (!prev || typeof prev !== "object") {
|
|
94026
94036
|
throw new Error("下拉单选(远程写入)迁移失败:原值不是对象");
|
|
@@ -94032,8 +94042,8 @@ const migrate$a = (prev) => try_({
|
|
|
94032
94042
|
const itemsArr = Array.isArray(items2) ? items2 : [];
|
|
94033
94043
|
return {
|
|
94034
94044
|
...rest,
|
|
94035
|
-
type: type$
|
|
94036
|
-
compatibilityDate: compatibilityDate$
|
|
94045
|
+
type: type$u,
|
|
94046
|
+
compatibilityDate: compatibilityDate$u,
|
|
94037
94047
|
options: { kind: "static", items: itemsArr }
|
|
94038
94048
|
};
|
|
94039
94049
|
}
|
|
@@ -94046,8 +94056,8 @@ const migrate$a = (prev) => try_({
|
|
|
94046
94056
|
if (Array.isArray(optionLabel)) remote.optionLabel = optionLabel;
|
|
94047
94057
|
return {
|
|
94048
94058
|
...rest,
|
|
94049
|
-
type: type$
|
|
94050
|
-
compatibilityDate: compatibilityDate$
|
|
94059
|
+
type: type$u,
|
|
94060
|
+
compatibilityDate: compatibilityDate$u,
|
|
94051
94061
|
options: remote
|
|
94052
94062
|
};
|
|
94053
94063
|
}
|
|
@@ -94077,20 +94087,20 @@ function toColumnDef$7(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
94077
94087
|
}
|
|
94078
94088
|
const __vite_glob_0_22$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
94079
94089
|
__proto__: null,
|
|
94080
|
-
compatibilityDate: compatibilityDate$
|
|
94090
|
+
compatibilityDate: compatibilityDate$u,
|
|
94081
94091
|
itemSchema: itemSchema$6,
|
|
94082
|
-
metadata: metadata$
|
|
94083
|
-
migrate: migrate$
|
|
94092
|
+
metadata: metadata$u,
|
|
94093
|
+
migrate: migrate$b,
|
|
94084
94094
|
migrateFrom: migrateFrom$a,
|
|
94085
94095
|
optionsSchema: optionsSchema$5,
|
|
94086
94096
|
remoteOptionsSchema: remoteOptionsSchema$5,
|
|
94087
|
-
schema: schema$
|
|
94097
|
+
schema: schema$u,
|
|
94088
94098
|
toColumnDef: toColumnDef$7,
|
|
94089
|
-
type: type$
|
|
94099
|
+
type: type$u
|
|
94090
94100
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
94091
|
-
const type$
|
|
94092
|
-
const compatibilityDate$
|
|
94093
|
-
const metadata$
|
|
94101
|
+
const type$t = "com.shwfed.table.column.combobox-single";
|
|
94102
|
+
const compatibilityDate$t = "2026-05-26";
|
|
94103
|
+
const metadata$t = {
|
|
94094
94104
|
name: "单选",
|
|
94095
94105
|
icon: "fluent:chevron-down-20-regular"
|
|
94096
94106
|
};
|
|
@@ -94190,12 +94200,12 @@ function optionsSchema$4(configure) {
|
|
|
94190
94200
|
description: '选项可以是静态配置(`kind: "static"`)或由远程接口加载(`kind: "remote"`)'
|
|
94191
94201
|
});
|
|
94192
94202
|
}
|
|
94193
|
-
function schema$
|
|
94203
|
+
function schema$t(configure) {
|
|
94194
94204
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
94195
94205
|
const Options = optionsSchema$4(configure);
|
|
94196
94206
|
return Struct({
|
|
94197
|
-
type: Literal2(type$
|
|
94198
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
94207
|
+
type: Literal2(type$t),
|
|
94208
|
+
compatibilityDate: Literal2(compatibilityDate$t),
|
|
94199
94209
|
...editableColumnFields(),
|
|
94200
94210
|
placeholder: optional(Locale.annotations({
|
|
94201
94211
|
title: "占位符",
|
|
@@ -94222,7 +94232,7 @@ function schema$s(configure) {
|
|
|
94222
94232
|
const migrateFrom$9 = [
|
|
94223
94233
|
{ type: "com.shwfed.table.column.combobox-single", compatibilityDate: "2026-05-20" }
|
|
94224
94234
|
];
|
|
94225
|
-
const migrate$
|
|
94235
|
+
const migrate$a = (prev) => try_({
|
|
94226
94236
|
try: () => {
|
|
94227
94237
|
if (!prev || typeof prev !== "object") {
|
|
94228
94238
|
throw new Error("下拉单选迁移失败:原值不是对象");
|
|
@@ -94231,8 +94241,8 @@ const migrate$9 = (prev) => try_({
|
|
|
94231
94241
|
const itemsArr = Array.isArray(items2) ? items2 : [];
|
|
94232
94242
|
return {
|
|
94233
94243
|
...rest,
|
|
94234
|
-
type: type$
|
|
94235
|
-
compatibilityDate: compatibilityDate$
|
|
94244
|
+
type: type$t,
|
|
94245
|
+
compatibilityDate: compatibilityDate$t,
|
|
94236
94246
|
options: { kind: "static", items: itemsArr }
|
|
94237
94247
|
};
|
|
94238
94248
|
},
|
|
@@ -94256,20 +94266,20 @@ function toColumnDef$6(value, { getLocaleText }) {
|
|
|
94256
94266
|
}
|
|
94257
94267
|
const __vite_glob_0_23$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
94258
94268
|
__proto__: null,
|
|
94259
|
-
compatibilityDate: compatibilityDate$
|
|
94269
|
+
compatibilityDate: compatibilityDate$t,
|
|
94260
94270
|
itemSchema: itemSchema$5,
|
|
94261
|
-
metadata: metadata$
|
|
94262
|
-
migrate: migrate$
|
|
94271
|
+
metadata: metadata$t,
|
|
94272
|
+
migrate: migrate$a,
|
|
94263
94273
|
migrateFrom: migrateFrom$9,
|
|
94264
94274
|
optionsSchema: optionsSchema$4,
|
|
94265
94275
|
remoteOptionsSchema: remoteOptionsSchema$4,
|
|
94266
|
-
schema: schema$
|
|
94276
|
+
schema: schema$t,
|
|
94267
94277
|
toColumnDef: toColumnDef$6,
|
|
94268
|
-
type: type$
|
|
94278
|
+
type: type$t
|
|
94269
94279
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
94270
|
-
const type$
|
|
94271
|
-
const compatibilityDate$
|
|
94272
|
-
const metadata$
|
|
94280
|
+
const type$s = "com.shwfed.table.column.tree-combobox-multi";
|
|
94281
|
+
const compatibilityDate$s = "2026-05-27";
|
|
94282
|
+
const metadata$s = {
|
|
94273
94283
|
name: "下拉树(多选)",
|
|
94274
94284
|
icon: "fluent:tree-evergreen-20-regular"
|
|
94275
94285
|
};
|
|
@@ -94282,7 +94292,7 @@ function withRowAndNode$3(configure) {
|
|
|
94282
94292
|
env.registerVariable("node", "dyn", { description: "`数据源` 返回的节点;由树逐层向下读取" });
|
|
94283
94293
|
};
|
|
94284
94294
|
}
|
|
94285
|
-
function schema$
|
|
94295
|
+
function schema$s(configure) {
|
|
94286
94296
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
94287
94297
|
const CelNodeKey = Expression({ configure: withRowAndNode$3(configure), resultType: isKeyType$7 });
|
|
94288
94298
|
const CelNodeChildren = Expression({ configure: withRowAndNode$3(configure), resultType: isListLike$7 });
|
|
@@ -94316,8 +94326,8 @@ function schema$r(configure) {
|
|
|
94316
94326
|
})
|
|
94317
94327
|
}).annotations({ title: "DataSource", description: "数据源配置" });
|
|
94318
94328
|
return Struct({
|
|
94319
|
-
type: Literal2(type$
|
|
94320
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
94329
|
+
type: Literal2(type$s),
|
|
94330
|
+
compatibilityDate: Literal2(compatibilityDate$s),
|
|
94321
94331
|
...editableColumnFields(),
|
|
94322
94332
|
placeholder: optional(Locale.annotations({
|
|
94323
94333
|
title: "占位符",
|
|
@@ -94401,16 +94411,16 @@ function toColumnDef$5(value, { getLocaleText }) {
|
|
|
94401
94411
|
}
|
|
94402
94412
|
const __vite_glob_0_24$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
94403
94413
|
__proto__: null,
|
|
94404
|
-
compatibilityDate: compatibilityDate$
|
|
94414
|
+
compatibilityDate: compatibilityDate$s,
|
|
94405
94415
|
defaults: defaults$h,
|
|
94406
|
-
metadata: metadata$
|
|
94407
|
-
schema: schema$
|
|
94416
|
+
metadata: metadata$s,
|
|
94417
|
+
schema: schema$s,
|
|
94408
94418
|
toColumnDef: toColumnDef$5,
|
|
94409
|
-
type: type$
|
|
94419
|
+
type: type$s
|
|
94410
94420
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
94411
|
-
const type$
|
|
94412
|
-
const compatibilityDate$
|
|
94413
|
-
const metadata$
|
|
94421
|
+
const type$r = "com.shwfed.table.column.tree-combobox-single";
|
|
94422
|
+
const compatibilityDate$r = "2026-05-27";
|
|
94423
|
+
const metadata$r = {
|
|
94414
94424
|
name: "下拉树(单选)",
|
|
94415
94425
|
icon: "fluent:tree-evergreen-20-regular"
|
|
94416
94426
|
};
|
|
@@ -94423,7 +94433,7 @@ function withRowAndNode$2(configure) {
|
|
|
94423
94433
|
env.registerVariable("node", "dyn", { description: "`数据源` 返回的节点;由树逐层向下读取" });
|
|
94424
94434
|
};
|
|
94425
94435
|
}
|
|
94426
|
-
function schema$
|
|
94436
|
+
function schema$r(configure) {
|
|
94427
94437
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
94428
94438
|
const CelNodeKey = Expression({ configure: withRowAndNode$2(configure), resultType: isKeyType$6 });
|
|
94429
94439
|
const CelNodeChildren = Expression({ configure: withRowAndNode$2(configure), resultType: isListLike$6 });
|
|
@@ -94457,8 +94467,8 @@ function schema$q(configure) {
|
|
|
94457
94467
|
})
|
|
94458
94468
|
}).annotations({ title: "DataSource", description: "数据源配置" });
|
|
94459
94469
|
return Struct({
|
|
94460
|
-
type: Literal2(type$
|
|
94461
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
94470
|
+
type: Literal2(type$r),
|
|
94471
|
+
compatibilityDate: Literal2(compatibilityDate$r),
|
|
94462
94472
|
...editableColumnFields(),
|
|
94463
94473
|
placeholder: optional(Locale.annotations({
|
|
94464
94474
|
title: "占位符",
|
|
@@ -94534,16 +94544,16 @@ function toColumnDef$4(value, { getLocaleText }) {
|
|
|
94534
94544
|
}
|
|
94535
94545
|
const __vite_glob_0_25$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
94536
94546
|
__proto__: null,
|
|
94537
|
-
compatibilityDate: compatibilityDate$
|
|
94547
|
+
compatibilityDate: compatibilityDate$r,
|
|
94538
94548
|
defaults: defaults$g,
|
|
94539
|
-
metadata: metadata$
|
|
94540
|
-
schema: schema$
|
|
94549
|
+
metadata: metadata$r,
|
|
94550
|
+
schema: schema$r,
|
|
94541
94551
|
toColumnDef: toColumnDef$4,
|
|
94542
|
-
type: type$
|
|
94552
|
+
type: type$r
|
|
94543
94553
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
94544
|
-
const type$
|
|
94545
|
-
const compatibilityDate$
|
|
94546
|
-
const metadata$
|
|
94554
|
+
const type$q = "com.shwfed.table.column.combobox-multi";
|
|
94555
|
+
const compatibilityDate$q = "2026-05-28";
|
|
94556
|
+
const metadata$q = {
|
|
94547
94557
|
name: "多选",
|
|
94548
94558
|
icon: "fluent:chevron-down-20-regular",
|
|
94549
94559
|
// Publishes its resolved options (array) to the per-row `selections` registry
|
|
@@ -94695,14 +94705,14 @@ function writeSchema$1(configure) {
|
|
|
94695
94705
|
description: '`kind: "binding"` 行内编辑写回 dot-prop 路径;`kind: "remote"` 只读回显并通过请求写入服务端'
|
|
94696
94706
|
});
|
|
94697
94707
|
}
|
|
94698
|
-
function schema$
|
|
94708
|
+
function schema$q(configure) {
|
|
94699
94709
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
94700
94710
|
const Options = optionsSchema$3(configure);
|
|
94701
94711
|
const Write = writeSchema$1(configure);
|
|
94702
94712
|
const display = columnFields(configure);
|
|
94703
94713
|
return Struct({
|
|
94704
|
-
type: Literal2(type$
|
|
94705
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
94714
|
+
type: Literal2(type$q),
|
|
94715
|
+
compatibilityDate: Literal2(compatibilityDate$q),
|
|
94706
94716
|
...columnIdentityFields(),
|
|
94707
94717
|
title: display.title,
|
|
94708
94718
|
placeholder: optional(Locale.annotations({
|
|
@@ -94750,13 +94760,13 @@ const migrateFrom$8 = [
|
|
|
94750
94760
|
{ type: "com.shwfed.table.column.combobox-multi.remote", compatibilityDate: "2026-05-26" }
|
|
94751
94761
|
];
|
|
94752
94762
|
const CARRY$1 = ["id", "groupId", "title", "size", "grow", "tooltip", "enableSorting", "sortKey", "placeholder", "hidden", "disabled", "readonly"];
|
|
94753
|
-
const migrate$
|
|
94763
|
+
const migrate$9 = (prev) => try_({
|
|
94754
94764
|
try: () => {
|
|
94755
94765
|
if (!prev || typeof prev !== "object") {
|
|
94756
94766
|
throw new Error("下拉多选迁移失败:原值不是对象");
|
|
94757
94767
|
}
|
|
94758
94768
|
const src = prev;
|
|
94759
|
-
const out = { type: type$
|
|
94769
|
+
const out = { type: type$q, compatibilityDate: compatibilityDate$q };
|
|
94760
94770
|
for (const k of CARRY$1) {
|
|
94761
94771
|
if (src[k] !== void 0) out[k] = src[k];
|
|
94762
94772
|
}
|
|
@@ -94817,22 +94827,22 @@ function toColumnDef$3(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
94817
94827
|
}
|
|
94818
94828
|
const __vite_glob_0_26$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
94819
94829
|
__proto__: null,
|
|
94820
|
-
compatibilityDate: compatibilityDate$
|
|
94830
|
+
compatibilityDate: compatibilityDate$q,
|
|
94821
94831
|
defaults: defaults$f,
|
|
94822
94832
|
itemSchema: itemSchema$4,
|
|
94823
|
-
metadata: metadata$
|
|
94824
|
-
migrate: migrate$
|
|
94833
|
+
metadata: metadata$q,
|
|
94834
|
+
migrate: migrate$9,
|
|
94825
94835
|
migrateFrom: migrateFrom$8,
|
|
94826
94836
|
optionsSchema: optionsSchema$3,
|
|
94827
94837
|
remoteOptionsSchema: remoteOptionsSchema$3,
|
|
94828
|
-
schema: schema$
|
|
94838
|
+
schema: schema$q,
|
|
94829
94839
|
toColumnDef: toColumnDef$3,
|
|
94830
|
-
type: type$
|
|
94840
|
+
type: type$q,
|
|
94831
94841
|
writeSchema: writeSchema$1
|
|
94832
94842
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
94833
|
-
const type$
|
|
94834
|
-
const compatibilityDate$
|
|
94835
|
-
const metadata$
|
|
94843
|
+
const type$p = "com.shwfed.table.column.combobox-single";
|
|
94844
|
+
const compatibilityDate$p = "2026-05-28";
|
|
94845
|
+
const metadata$p = {
|
|
94836
94846
|
name: "单选",
|
|
94837
94847
|
icon: "fluent:chevron-down-20-regular",
|
|
94838
94848
|
// Publishes its resolved option (the source record) to the per-row
|
|
@@ -94984,14 +94994,14 @@ function writeSchema(configure) {
|
|
|
94984
94994
|
description: '`kind: "binding"` 行内编辑写回 dot-prop 路径;`kind: "remote"` 只读回显并通过请求写入服务端'
|
|
94985
94995
|
});
|
|
94986
94996
|
}
|
|
94987
|
-
function schema$
|
|
94997
|
+
function schema$p(configure) {
|
|
94988
94998
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
94989
94999
|
const Options = optionsSchema$2(configure);
|
|
94990
95000
|
const Write = writeSchema(configure);
|
|
94991
95001
|
const display = columnFields(configure);
|
|
94992
95002
|
return Struct({
|
|
94993
|
-
type: Literal2(type$
|
|
94994
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
95003
|
+
type: Literal2(type$p),
|
|
95004
|
+
compatibilityDate: Literal2(compatibilityDate$p),
|
|
94995
95005
|
...columnIdentityFields(),
|
|
94996
95006
|
title: display.title,
|
|
94997
95007
|
placeholder: optional(Locale.annotations({
|
|
@@ -95039,13 +95049,13 @@ const migrateFrom$7 = [
|
|
|
95039
95049
|
{ type: "com.shwfed.table.column.combobox-single.remote", compatibilityDate: "2026-05-26" }
|
|
95040
95050
|
];
|
|
95041
95051
|
const CARRY = ["id", "groupId", "title", "size", "grow", "tooltip", "enableSorting", "sortKey", "placeholder", "hidden", "disabled", "readonly"];
|
|
95042
|
-
const migrate$
|
|
95052
|
+
const migrate$8 = (prev) => try_({
|
|
95043
95053
|
try: () => {
|
|
95044
95054
|
if (!prev || typeof prev !== "object") {
|
|
95045
95055
|
throw new Error("下拉单选迁移失败:原值不是对象");
|
|
95046
95056
|
}
|
|
95047
95057
|
const src = prev;
|
|
95048
|
-
const out = { type: type$
|
|
95058
|
+
const out = { type: type$p, compatibilityDate: compatibilityDate$p };
|
|
95049
95059
|
for (const k of CARRY) {
|
|
95050
95060
|
if (src[k] !== void 0) out[k] = src[k];
|
|
95051
95061
|
}
|
|
@@ -95106,22 +95116,22 @@ function toColumnDef$2(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
95106
95116
|
}
|
|
95107
95117
|
const __vite_glob_0_27$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
95108
95118
|
__proto__: null,
|
|
95109
|
-
compatibilityDate: compatibilityDate$
|
|
95119
|
+
compatibilityDate: compatibilityDate$p,
|
|
95110
95120
|
defaults: defaults$e,
|
|
95111
95121
|
itemSchema: itemSchema$3,
|
|
95112
|
-
metadata: metadata$
|
|
95113
|
-
migrate: migrate$
|
|
95122
|
+
metadata: metadata$p,
|
|
95123
|
+
migrate: migrate$8,
|
|
95114
95124
|
migrateFrom: migrateFrom$7,
|
|
95115
95125
|
optionsSchema: optionsSchema$2,
|
|
95116
95126
|
remoteOptionsSchema: remoteOptionsSchema$2,
|
|
95117
|
-
schema: schema$
|
|
95127
|
+
schema: schema$p,
|
|
95118
95128
|
toColumnDef: toColumnDef$2,
|
|
95119
|
-
type: type$
|
|
95129
|
+
type: type$p,
|
|
95120
95130
|
writeSchema
|
|
95121
95131
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
95122
|
-
const type$
|
|
95123
|
-
const compatibilityDate$
|
|
95124
|
-
const metadata$
|
|
95132
|
+
const type$o = "com.shwfed.table.column.tree-combobox-multi";
|
|
95133
|
+
const compatibilityDate$o = "2026-05-28";
|
|
95134
|
+
const metadata$o = {
|
|
95125
95135
|
name: "下拉树(多选)",
|
|
95126
95136
|
icon: "fluent:tree-evergreen-20-regular",
|
|
95127
95137
|
// Publishes its resolved nodes (array) to the per-row `selections` registry (runtime.vue), readable via `selections["<id>"]`.
|
|
@@ -95136,7 +95146,7 @@ function withRowAndNode$1(configure) {
|
|
|
95136
95146
|
env.registerVariable("node", "dyn", { description: "`数据源` 返回的节点;由树逐层向下读取" });
|
|
95137
95147
|
};
|
|
95138
95148
|
}
|
|
95139
|
-
function schema$
|
|
95149
|
+
function schema$o(configure) {
|
|
95140
95150
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
95141
95151
|
const CelNodeKey = Expression({ configure: withRowAndNode$1(configure), resultType: isKeyType$5 });
|
|
95142
95152
|
const CelNodeChildren = Expression({ configure: withRowAndNode$1(configure), resultType: isListLike$5 });
|
|
@@ -95171,8 +95181,8 @@ function schema$n(configure) {
|
|
|
95171
95181
|
})
|
|
95172
95182
|
}).annotations({ title: "DataSource", description: "数据源配置" });
|
|
95173
95183
|
return Struct({
|
|
95174
|
-
type: Literal2(type$
|
|
95175
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
95184
|
+
type: Literal2(type$o),
|
|
95185
|
+
compatibilityDate: Literal2(compatibilityDate$o),
|
|
95176
95186
|
...editableColumnFields(),
|
|
95177
95187
|
placeholder: optional(Locale.annotations({
|
|
95178
95188
|
title: "占位符",
|
|
@@ -95248,13 +95258,13 @@ function defaults$d() {
|
|
|
95248
95258
|
const migrateFrom$6 = [
|
|
95249
95259
|
{ type: "com.shwfed.table.column.tree-combobox-multi", compatibilityDate: "2026-05-27" }
|
|
95250
95260
|
];
|
|
95251
|
-
const migrate$
|
|
95261
|
+
const migrate$7 = (prev) => try_({
|
|
95252
95262
|
try: () => {
|
|
95253
95263
|
if (!prev || typeof prev !== "object") {
|
|
95254
95264
|
throw new Error("下拉树(多选)迁移失败:原值不是对象");
|
|
95255
95265
|
}
|
|
95256
95266
|
const { compatibilityDate: _omit, ...rest } = prev;
|
|
95257
|
-
return { ...rest, type: type$
|
|
95267
|
+
return { ...rest, type: type$o, compatibilityDate: compatibilityDate$o };
|
|
95258
95268
|
},
|
|
95259
95269
|
catch: (e) => e instanceof Error ? e : new Error(String(e))
|
|
95260
95270
|
});
|
|
@@ -95276,18 +95286,18 @@ function toColumnDef$1(value, { getLocaleText }) {
|
|
|
95276
95286
|
}
|
|
95277
95287
|
const __vite_glob_0_28$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
95278
95288
|
__proto__: null,
|
|
95279
|
-
compatibilityDate: compatibilityDate$
|
|
95289
|
+
compatibilityDate: compatibilityDate$o,
|
|
95280
95290
|
defaults: defaults$d,
|
|
95281
|
-
metadata: metadata$
|
|
95282
|
-
migrate: migrate$
|
|
95291
|
+
metadata: metadata$o,
|
|
95292
|
+
migrate: migrate$7,
|
|
95283
95293
|
migrateFrom: migrateFrom$6,
|
|
95284
|
-
schema: schema$
|
|
95294
|
+
schema: schema$o,
|
|
95285
95295
|
toColumnDef: toColumnDef$1,
|
|
95286
|
-
type: type$
|
|
95296
|
+
type: type$o
|
|
95287
95297
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
95288
|
-
const type$
|
|
95289
|
-
const compatibilityDate$
|
|
95290
|
-
const metadata$
|
|
95298
|
+
const type$n = "com.shwfed.table.column.tree-combobox-single";
|
|
95299
|
+
const compatibilityDate$n = "2026-05-28";
|
|
95300
|
+
const metadata$n = {
|
|
95291
95301
|
name: "下拉树(单选)",
|
|
95292
95302
|
icon: "fluent:tree-evergreen-20-regular",
|
|
95293
95303
|
// Publishes its resolved node (backend record) to the per-row `selections` registry (runtime.vue), readable via `selections["<id>"]`.
|
|
@@ -95302,7 +95312,7 @@ function withRowAndNode(configure) {
|
|
|
95302
95312
|
env.registerVariable("node", "dyn", { description: "`数据源` 返回的节点;由树逐层向下读取" });
|
|
95303
95313
|
};
|
|
95304
95314
|
}
|
|
95305
|
-
function schema$
|
|
95315
|
+
function schema$n(configure) {
|
|
95306
95316
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
95307
95317
|
const CelNodeKey = Expression({ configure: withRowAndNode(configure), resultType: isKeyType$4 });
|
|
95308
95318
|
const CelNodeChildren = Expression({ configure: withRowAndNode(configure), resultType: isListLike$4 });
|
|
@@ -95337,8 +95347,8 @@ function schema$m(configure) {
|
|
|
95337
95347
|
})
|
|
95338
95348
|
}).annotations({ title: "DataSource", description: "数据源配置" });
|
|
95339
95349
|
return Struct({
|
|
95340
|
-
type: Literal2(type$
|
|
95341
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
95350
|
+
type: Literal2(type$n),
|
|
95351
|
+
compatibilityDate: Literal2(compatibilityDate$n),
|
|
95342
95352
|
...editableColumnFields(),
|
|
95343
95353
|
placeholder: optional(Locale.annotations({
|
|
95344
95354
|
title: "占位符",
|
|
@@ -95406,13 +95416,13 @@ function defaults$c() {
|
|
|
95406
95416
|
const migrateFrom$5 = [
|
|
95407
95417
|
{ type: "com.shwfed.table.column.tree-combobox-single", compatibilityDate: "2026-05-27" }
|
|
95408
95418
|
];
|
|
95409
|
-
const migrate$
|
|
95419
|
+
const migrate$6 = (prev) => try_({
|
|
95410
95420
|
try: () => {
|
|
95411
95421
|
if (!prev || typeof prev !== "object") {
|
|
95412
95422
|
throw new Error("下拉树(单选)迁移失败:原值不是对象");
|
|
95413
95423
|
}
|
|
95414
95424
|
const { compatibilityDate: _omit, ...rest } = prev;
|
|
95415
|
-
return { ...rest, type: type$
|
|
95425
|
+
return { ...rest, type: type$n, compatibilityDate: compatibilityDate$n };
|
|
95416
95426
|
},
|
|
95417
95427
|
catch: (e) => e instanceof Error ? e : new Error(String(e))
|
|
95418
95428
|
});
|
|
@@ -95434,14 +95444,14 @@ function toColumnDef(value, { getLocaleText }) {
|
|
|
95434
95444
|
}
|
|
95435
95445
|
const __vite_glob_0_29$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
95436
95446
|
__proto__: null,
|
|
95437
|
-
compatibilityDate: compatibilityDate$
|
|
95447
|
+
compatibilityDate: compatibilityDate$n,
|
|
95438
95448
|
defaults: defaults$c,
|
|
95439
|
-
metadata: metadata$
|
|
95440
|
-
migrate: migrate$
|
|
95449
|
+
metadata: metadata$n,
|
|
95450
|
+
migrate: migrate$6,
|
|
95441
95451
|
migrateFrom: migrateFrom$5,
|
|
95442
|
-
schema: schema$
|
|
95452
|
+
schema: schema$n,
|
|
95443
95453
|
toColumnDef,
|
|
95444
|
-
type: type$
|
|
95454
|
+
type: type$n
|
|
95445
95455
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
95446
95456
|
const schemaModules$2 = /* @__PURE__ */ Object.assign({
|
|
95447
95457
|
"../columns/2026-04-14/com.shwfed.table.column.actions/schema.ts": __vite_glob_0_0,
|
|
@@ -96012,9 +96022,9 @@ function defaultTableConfig() {
|
|
|
96012
96022
|
: index % 2 == 1 ? { 'background-color': 'oklch(98.5% 0 0)' } : { 'background-color': 'white' }`
|
|
96013
96023
|
};
|
|
96014
96024
|
}
|
|
96015
|
-
const type$
|
|
96016
|
-
const compatibilityDate$
|
|
96017
|
-
const metadata$
|
|
96025
|
+
const type$m = "com.shwfed.form.field.table";
|
|
96026
|
+
const compatibilityDate$m = "2026-05-18";
|
|
96027
|
+
const metadata$m = {
|
|
96018
96028
|
name: "表格",
|
|
96019
96029
|
icon: "fluent:table-20-regular",
|
|
96020
96030
|
w: { initial: 12, min: 6, max: Infinity },
|
|
@@ -96023,13 +96033,13 @@ const metadata$l = {
|
|
|
96023
96033
|
// pane; keep the (fullscreen-exiting) drill-down.
|
|
96024
96034
|
inlineConfig: false
|
|
96025
96035
|
};
|
|
96026
|
-
function schema$
|
|
96036
|
+
function schema$m(configure) {
|
|
96027
96037
|
const Table = suspend(
|
|
96028
96038
|
() => TableConfig(configure)
|
|
96029
96039
|
);
|
|
96030
96040
|
return Struct({
|
|
96031
|
-
type: Literal2(type$
|
|
96032
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
96041
|
+
type: Literal2(type$m),
|
|
96042
|
+
compatibilityDate: Literal2(compatibilityDate$m),
|
|
96033
96043
|
...commonFieldFields(configure),
|
|
96034
96044
|
label: optional(Locale.annotations({
|
|
96035
96045
|
title: "标签",
|
|
@@ -96059,15 +96069,15 @@ function defaults$b() {
|
|
|
96059
96069
|
}
|
|
96060
96070
|
const __vite_glob_0_20 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
96061
96071
|
__proto__: null,
|
|
96062
|
-
compatibilityDate: compatibilityDate$
|
|
96072
|
+
compatibilityDate: compatibilityDate$m,
|
|
96063
96073
|
defaults: defaults$b,
|
|
96064
|
-
metadata: metadata$
|
|
96065
|
-
schema: schema$
|
|
96066
|
-
type: type$
|
|
96074
|
+
metadata: metadata$m,
|
|
96075
|
+
schema: schema$m,
|
|
96076
|
+
type: type$m
|
|
96067
96077
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
96068
|
-
const type$
|
|
96069
|
-
const compatibilityDate$
|
|
96070
|
-
const metadata$
|
|
96078
|
+
const type$l = "com.shwfed.form.field.collapsible";
|
|
96079
|
+
const compatibilityDate$l = "2026-05-20";
|
|
96080
|
+
const metadata$l = {
|
|
96071
96081
|
name: "可折叠区域",
|
|
96072
96082
|
icon: "fluent:chevron-down-20-regular",
|
|
96073
96083
|
w: { initial: 12, min: 4, max: Infinity },
|
|
@@ -96076,11 +96086,11 @@ const metadata$k = {
|
|
|
96076
96086
|
// fullscreen inline-config pane; keep the (fullscreen-exiting) drill-down.
|
|
96077
96087
|
inlineConfig: false
|
|
96078
96088
|
};
|
|
96079
|
-
function schema$
|
|
96089
|
+
function schema$l(configure) {
|
|
96080
96090
|
const Unit = suspend(() => FormUnit(configure));
|
|
96081
96091
|
return Struct({
|
|
96082
|
-
type: Literal2(type$
|
|
96083
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
96092
|
+
type: Literal2(type$l),
|
|
96093
|
+
compatibilityDate: Literal2(compatibilityDate$l),
|
|
96084
96094
|
id: UUID.annotations({ description: "字段唯一标识;布局通过该 id 引用字段" }),
|
|
96085
96095
|
displayName: optional(String$.annotations({
|
|
96086
96096
|
title: "内部名称",
|
|
@@ -96115,21 +96125,21 @@ function defaults$a() {
|
|
|
96115
96125
|
}
|
|
96116
96126
|
const __vite_glob_0_21 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
96117
96127
|
__proto__: null,
|
|
96118
|
-
compatibilityDate: compatibilityDate$
|
|
96128
|
+
compatibilityDate: compatibilityDate$l,
|
|
96119
96129
|
defaults: defaults$a,
|
|
96120
|
-
metadata: metadata$
|
|
96121
|
-
schema: schema$
|
|
96122
|
-
type: type$
|
|
96130
|
+
metadata: metadata$l,
|
|
96131
|
+
schema: schema$l,
|
|
96132
|
+
type: type$l
|
|
96123
96133
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
96124
|
-
const type$
|
|
96125
|
-
const compatibilityDate$
|
|
96126
|
-
const metadata$
|
|
96134
|
+
const type$k = "com.shwfed.form.field.tree.multi";
|
|
96135
|
+
const compatibilityDate$k = "2026-05-23";
|
|
96136
|
+
const metadata$k = {
|
|
96127
96137
|
name: "树(多选)",
|
|
96128
96138
|
icon: "fluent:tree-evergreen-20-regular",
|
|
96129
96139
|
w: { initial: 8, min: 4, max: Infinity },
|
|
96130
96140
|
h: { initial: 8, min: 4, max: Infinity, grow: true }
|
|
96131
96141
|
};
|
|
96132
|
-
function schema$
|
|
96142
|
+
function schema$k(configure) {
|
|
96133
96143
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
96134
96144
|
const nodeConfigure = (env) => {
|
|
96135
96145
|
configure(env);
|
|
@@ -96158,8 +96168,8 @@ function schema$j(configure) {
|
|
|
96158
96168
|
resultType: (t) => t === "dyn" || t.startsWith("list") || t.startsWith("optional")
|
|
96159
96169
|
});
|
|
96160
96170
|
return Struct({
|
|
96161
|
-
type: Literal2(type$
|
|
96162
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
96171
|
+
type: Literal2(type$k),
|
|
96172
|
+
compatibilityDate: Literal2(compatibilityDate$k),
|
|
96163
96173
|
...commonFieldFields(configure),
|
|
96164
96174
|
label: optional(Locale.annotations({
|
|
96165
96175
|
title: "标签",
|
|
@@ -96247,15 +96257,15 @@ function defaults$9() {
|
|
|
96247
96257
|
}
|
|
96248
96258
|
const __vite_glob_0_22 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
96249
96259
|
__proto__: null,
|
|
96250
|
-
compatibilityDate: compatibilityDate$
|
|
96260
|
+
compatibilityDate: compatibilityDate$k,
|
|
96251
96261
|
defaults: defaults$9,
|
|
96252
|
-
metadata: metadata$
|
|
96253
|
-
schema: schema$
|
|
96254
|
-
type: type$
|
|
96262
|
+
metadata: metadata$k,
|
|
96263
|
+
schema: schema$k,
|
|
96264
|
+
type: type$k
|
|
96255
96265
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
96256
|
-
const type$
|
|
96257
|
-
const compatibilityDate$
|
|
96258
|
-
const metadata$
|
|
96266
|
+
const type$j = "com.shwfed.form.field.month";
|
|
96267
|
+
const compatibilityDate$j = "2026-05-24";
|
|
96268
|
+
const metadata$j = {
|
|
96259
96269
|
name: "月份",
|
|
96260
96270
|
icon: "fluent:calendar-month-20-regular",
|
|
96261
96271
|
w: { initial: 8, min: 4, max: Infinity },
|
|
@@ -96277,12 +96287,12 @@ function presetSchema$1(configure) {
|
|
|
96277
96287
|
title: "MonthFieldPreset"
|
|
96278
96288
|
});
|
|
96279
96289
|
}
|
|
96280
|
-
function schema$
|
|
96290
|
+
function schema$j(configure) {
|
|
96281
96291
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
96282
96292
|
const Preset = presetSchema$1(configure);
|
|
96283
96293
|
return Struct({
|
|
96284
|
-
type: Literal2(type$
|
|
96285
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
96294
|
+
type: Literal2(type$j),
|
|
96295
|
+
compatibilityDate: Literal2(compatibilityDate$j),
|
|
96286
96296
|
...commonFieldFields(configure),
|
|
96287
96297
|
label: optional(Locale.annotations({
|
|
96288
96298
|
title: "标签",
|
|
@@ -96329,14 +96339,14 @@ function schema$i(configure) {
|
|
|
96329
96339
|
}
|
|
96330
96340
|
const __vite_glob_0_23 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
96331
96341
|
__proto__: null,
|
|
96332
|
-
compatibilityDate: compatibilityDate$
|
|
96333
|
-
metadata: metadata$
|
|
96342
|
+
compatibilityDate: compatibilityDate$j,
|
|
96343
|
+
metadata: metadata$j,
|
|
96334
96344
|
presetSchema: presetSchema$1,
|
|
96335
|
-
schema: schema$
|
|
96336
|
-
type: type$
|
|
96345
|
+
schema: schema$j,
|
|
96346
|
+
type: type$j
|
|
96337
96347
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
96338
|
-
const type$
|
|
96339
|
-
const compatibilityDate$
|
|
96348
|
+
const type$i = "com.shwfed.form.field.monthrange";
|
|
96349
|
+
const compatibilityDate$i = "2026-05-24";
|
|
96340
96350
|
const BindingPath = String$.pipe(minLength(1));
|
|
96341
96351
|
const SplitBinding = Tuple(BindingPath, BindingPath).pipe(
|
|
96342
96352
|
filter(([a, b]) => a !== b, {
|
|
@@ -96347,7 +96357,7 @@ const bindingSchema = Union2(BindingPath, SplitBinding).annotations({
|
|
|
96347
96357
|
title: "绑定路径",
|
|
96348
96358
|
description: "写入表单状态的 `dot-prop` 路径;填写单个路径时写入 `[start, end]` 字符串数组,例如 `event.months`;填写 `[起始路径, 结束路径]` 元组时分别写入两端;留空则为非受控字段"
|
|
96349
96359
|
});
|
|
96350
|
-
const metadata$
|
|
96360
|
+
const metadata$i = {
|
|
96351
96361
|
name: "月份范围",
|
|
96352
96362
|
icon: "fluent:calendar-arrow-right-20-regular",
|
|
96353
96363
|
w: { initial: 10, min: 10, max: Infinity },
|
|
@@ -96373,12 +96383,12 @@ function presetSchema(configure) {
|
|
|
96373
96383
|
title: "MonthRangeFieldPreset"
|
|
96374
96384
|
});
|
|
96375
96385
|
}
|
|
96376
|
-
function schema$
|
|
96386
|
+
function schema$i(configure) {
|
|
96377
96387
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
96378
96388
|
const Preset = presetSchema(configure);
|
|
96379
96389
|
return Struct({
|
|
96380
|
-
type: Literal2(type$
|
|
96381
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
96390
|
+
type: Literal2(type$i),
|
|
96391
|
+
compatibilityDate: Literal2(compatibilityDate$i),
|
|
96382
96392
|
...commonFieldFields(configure),
|
|
96383
96393
|
label: optional(Locale.annotations({
|
|
96384
96394
|
title: "标签",
|
|
@@ -96433,16 +96443,16 @@ function defaults$8() {
|
|
|
96433
96443
|
}
|
|
96434
96444
|
const __vite_glob_0_24 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
96435
96445
|
__proto__: null,
|
|
96436
|
-
compatibilityDate: compatibilityDate$
|
|
96446
|
+
compatibilityDate: compatibilityDate$i,
|
|
96437
96447
|
defaults: defaults$8,
|
|
96438
|
-
metadata: metadata$
|
|
96448
|
+
metadata: metadata$i,
|
|
96439
96449
|
presetSchema,
|
|
96440
|
-
schema: schema$
|
|
96441
|
-
type: type$
|
|
96450
|
+
schema: schema$i,
|
|
96451
|
+
type: type$i
|
|
96442
96452
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
96443
|
-
const type$
|
|
96444
|
-
const compatibilityDate$
|
|
96445
|
-
const metadata$
|
|
96453
|
+
const type$h = "com.shwfed.form.field.combobox.multi";
|
|
96454
|
+
const compatibilityDate$h = "2026-05-25";
|
|
96455
|
+
const metadata$h = {
|
|
96446
96456
|
name: "下拉多选",
|
|
96447
96457
|
icon: "fluent:chevron-down-20-regular",
|
|
96448
96458
|
w: { initial: 8, min: 4, max: Infinity },
|
|
@@ -96455,14 +96465,14 @@ function configureWithOption$2(configure) {
|
|
|
96455
96465
|
};
|
|
96456
96466
|
}
|
|
96457
96467
|
const isListType$3 = (actual) => actual === "dyn" || actual.startsWith("list");
|
|
96458
|
-
function schema$
|
|
96468
|
+
function schema$h(configure) {
|
|
96459
96469
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
96460
96470
|
const CelOptions = Expression({ configure, resultType: isListType$3 });
|
|
96461
96471
|
const CelOptionValue = Expression({ configure: configureWithOption$2(configure), resultType: "dyn" });
|
|
96462
96472
|
const LocaleOptionLabel = LocaleMarkdown({ configure: configureWithOption$2(configure) });
|
|
96463
96473
|
return Struct({
|
|
96464
|
-
type: Literal2(type$
|
|
96465
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
96474
|
+
type: Literal2(type$h),
|
|
96475
|
+
compatibilityDate: Literal2(compatibilityDate$h),
|
|
96466
96476
|
...commonFieldFields(configure),
|
|
96467
96477
|
label: optional(Locale.annotations({
|
|
96468
96478
|
title: "标签",
|
|
@@ -96509,14 +96519,14 @@ function schema$g(configure) {
|
|
|
96509
96519
|
}
|
|
96510
96520
|
const __vite_glob_0_25 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
96511
96521
|
__proto__: null,
|
|
96512
|
-
compatibilityDate: compatibilityDate$
|
|
96513
|
-
metadata: metadata$
|
|
96514
|
-
schema: schema$
|
|
96515
|
-
type: type$
|
|
96522
|
+
compatibilityDate: compatibilityDate$h,
|
|
96523
|
+
metadata: metadata$h,
|
|
96524
|
+
schema: schema$h,
|
|
96525
|
+
type: type$h
|
|
96516
96526
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
96517
|
-
const type$
|
|
96518
|
-
const compatibilityDate$
|
|
96519
|
-
const metadata$
|
|
96527
|
+
const type$g = "com.shwfed.form.field.tree.combobox.multi";
|
|
96528
|
+
const compatibilityDate$g = "2026-05-26";
|
|
96529
|
+
const metadata$g = {
|
|
96520
96530
|
name: "下拉树(多选)",
|
|
96521
96531
|
icon: "fluent:tree-evergreen-20-regular",
|
|
96522
96532
|
w: { initial: 8, min: 4, max: Infinity },
|
|
@@ -96534,15 +96544,15 @@ function withNode$3(configure) {
|
|
|
96534
96544
|
env.registerVariable("node", NODE_VAR$3.type, { description: NODE_VAR$3.description });
|
|
96535
96545
|
};
|
|
96536
96546
|
}
|
|
96537
|
-
function schema$
|
|
96547
|
+
function schema$g(configure) {
|
|
96538
96548
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
96539
96549
|
const CelNodeKey = Expression({ configure: withNode$3(configure), resultType: isKeyType$3 });
|
|
96540
96550
|
const CelNodeChildren = Expression({ configure: withNode$3(configure), resultType: isListLike$3 });
|
|
96541
96551
|
const CelNodeBool = Expression({ configure: withNode$3(configure), resultType: "bool" });
|
|
96542
96552
|
const NodeLocaleMd = LocaleMarkdown({ configure: withNode$3(configure) });
|
|
96543
96553
|
return Struct({
|
|
96544
|
-
type: Literal2(type$
|
|
96545
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
96554
|
+
type: Literal2(type$g),
|
|
96555
|
+
compatibilityDate: Literal2(compatibilityDate$g),
|
|
96546
96556
|
...commonFieldFields(configure),
|
|
96547
96557
|
label: optional(Locale.annotations({
|
|
96548
96558
|
title: "标签",
|
|
@@ -96622,15 +96632,15 @@ function defaults$7() {
|
|
|
96622
96632
|
}
|
|
96623
96633
|
const __vite_glob_0_26 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
96624
96634
|
__proto__: null,
|
|
96625
|
-
compatibilityDate: compatibilityDate$
|
|
96635
|
+
compatibilityDate: compatibilityDate$g,
|
|
96626
96636
|
defaults: defaults$7,
|
|
96627
|
-
metadata: metadata$
|
|
96628
|
-
schema: schema$
|
|
96629
|
-
type: type$
|
|
96637
|
+
metadata: metadata$g,
|
|
96638
|
+
schema: schema$g,
|
|
96639
|
+
type: type$g
|
|
96630
96640
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
96631
|
-
const type$
|
|
96632
|
-
const compatibilityDate$
|
|
96633
|
-
const metadata$
|
|
96641
|
+
const type$f = "com.shwfed.form.field.tree.combobox.single";
|
|
96642
|
+
const compatibilityDate$f = "2026-05-26";
|
|
96643
|
+
const metadata$f = {
|
|
96634
96644
|
name: "下拉树(单选)",
|
|
96635
96645
|
icon: "fluent:tree-evergreen-20-regular",
|
|
96636
96646
|
w: { initial: 8, min: 4, max: Infinity },
|
|
@@ -96648,15 +96658,15 @@ function withNode$2(configure) {
|
|
|
96648
96658
|
env.registerVariable("node", NODE_VAR$2.type, { description: NODE_VAR$2.description });
|
|
96649
96659
|
};
|
|
96650
96660
|
}
|
|
96651
|
-
function schema$
|
|
96661
|
+
function schema$f(configure) {
|
|
96652
96662
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
96653
96663
|
const CelNodeKey = Expression({ configure: withNode$2(configure), resultType: isKeyType$2 });
|
|
96654
96664
|
const CelNodeChildren = Expression({ configure: withNode$2(configure), resultType: isListLike$2 });
|
|
96655
96665
|
const CelNodeBool = Expression({ configure: withNode$2(configure), resultType: "bool" });
|
|
96656
96666
|
const NodeLocaleMd = LocaleMarkdown({ configure: withNode$2(configure) });
|
|
96657
96667
|
return Struct({
|
|
96658
|
-
type: Literal2(type$
|
|
96659
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
96668
|
+
type: Literal2(type$f),
|
|
96669
|
+
compatibilityDate: Literal2(compatibilityDate$f),
|
|
96660
96670
|
...commonFieldFields(configure),
|
|
96661
96671
|
label: optional(Locale.annotations({
|
|
96662
96672
|
title: "标签",
|
|
@@ -96728,15 +96738,15 @@ function defaults$6() {
|
|
|
96728
96738
|
}
|
|
96729
96739
|
const __vite_glob_0_27 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
96730
96740
|
__proto__: null,
|
|
96731
|
-
compatibilityDate: compatibilityDate$
|
|
96741
|
+
compatibilityDate: compatibilityDate$f,
|
|
96732
96742
|
defaults: defaults$6,
|
|
96733
|
-
metadata: metadata$
|
|
96734
|
-
schema: schema$
|
|
96735
|
-
type: type$
|
|
96743
|
+
metadata: metadata$f,
|
|
96744
|
+
schema: schema$f,
|
|
96745
|
+
type: type$f
|
|
96736
96746
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
96737
|
-
const type$
|
|
96738
|
-
const compatibilityDate$
|
|
96739
|
-
const metadata$
|
|
96747
|
+
const type$e = "com.shwfed.form.field.combobox.multi";
|
|
96748
|
+
const compatibilityDate$e = "2026-05-28";
|
|
96749
|
+
const metadata$e = {
|
|
96740
96750
|
name: "下拉多选",
|
|
96741
96751
|
icon: "fluent:chevron-down-20-regular",
|
|
96742
96752
|
w: { initial: 8, min: 4, max: Infinity },
|
|
@@ -96842,12 +96852,12 @@ function optionsSchema$1(configure) {
|
|
|
96842
96852
|
description: '选项可以是静态配置(`kind: "static"`)或由 CEL 表达式 / 远程接口产出(`kind: "remote"`)'
|
|
96843
96853
|
});
|
|
96844
96854
|
}
|
|
96845
|
-
function schema$
|
|
96855
|
+
function schema$e(configure) {
|
|
96846
96856
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
96847
96857
|
const Options = optionsSchema$1(configure);
|
|
96848
96858
|
return Struct({
|
|
96849
|
-
type: Literal2(type$
|
|
96850
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
96859
|
+
type: Literal2(type$e),
|
|
96860
|
+
compatibilityDate: Literal2(compatibilityDate$e),
|
|
96851
96861
|
...commonFieldFields(configure),
|
|
96852
96862
|
label: optional(Locale.annotations({
|
|
96853
96863
|
title: "标签",
|
|
@@ -96891,7 +96901,7 @@ function defaults$5() {
|
|
|
96891
96901
|
const migrateFrom$4 = [
|
|
96892
96902
|
{ type: "com.shwfed.form.field.combobox.multi", compatibilityDate: "2026-05-25" }
|
|
96893
96903
|
];
|
|
96894
|
-
const migrate$
|
|
96904
|
+
const migrate$5 = (prev) => try_({
|
|
96895
96905
|
try: () => {
|
|
96896
96906
|
if (!prev || typeof prev !== "object") {
|
|
96897
96907
|
throw new Error("下拉多选迁移失败:原值不是对象");
|
|
@@ -96907,8 +96917,8 @@ const migrate$4 = (prev) => try_({
|
|
|
96907
96917
|
if (Array.isArray(optionLabel)) remote.optionLabel = optionLabel;
|
|
96908
96918
|
return {
|
|
96909
96919
|
...rest,
|
|
96910
|
-
type: type$
|
|
96911
|
-
compatibilityDate: compatibilityDate$
|
|
96920
|
+
type: type$e,
|
|
96921
|
+
compatibilityDate: compatibilityDate$e,
|
|
96912
96922
|
options: remote
|
|
96913
96923
|
};
|
|
96914
96924
|
}
|
|
@@ -96918,20 +96928,20 @@ const migrate$4 = (prev) => try_({
|
|
|
96918
96928
|
});
|
|
96919
96929
|
const __vite_glob_0_28 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
96920
96930
|
__proto__: null,
|
|
96921
|
-
compatibilityDate: compatibilityDate$
|
|
96931
|
+
compatibilityDate: compatibilityDate$e,
|
|
96922
96932
|
defaults: defaults$5,
|
|
96923
96933
|
itemSchema: itemSchema$2,
|
|
96924
|
-
metadata: metadata$
|
|
96925
|
-
migrate: migrate$
|
|
96934
|
+
metadata: metadata$e,
|
|
96935
|
+
migrate: migrate$5,
|
|
96926
96936
|
migrateFrom: migrateFrom$4,
|
|
96927
96937
|
optionsSchema: optionsSchema$1,
|
|
96928
96938
|
remoteOptionsSchema: remoteOptionsSchema$1,
|
|
96929
|
-
schema: schema$
|
|
96930
|
-
type: type$
|
|
96939
|
+
schema: schema$e,
|
|
96940
|
+
type: type$e
|
|
96931
96941
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
96932
|
-
const type$
|
|
96933
|
-
const compatibilityDate$
|
|
96934
|
-
const metadata$
|
|
96942
|
+
const type$d = "com.shwfed.form.field.combobox.single";
|
|
96943
|
+
const compatibilityDate$d = "2026-05-28";
|
|
96944
|
+
const metadata$d = {
|
|
96935
96945
|
name: "下拉单选",
|
|
96936
96946
|
icon: "fluent:chevron-down-20-regular",
|
|
96937
96947
|
w: { initial: 8, min: 4, max: Infinity },
|
|
@@ -97037,12 +97047,12 @@ function optionsSchema(configure) {
|
|
|
97037
97047
|
description: '选项可以是静态配置(`kind: "static"`)或由 CEL 表达式 / 远程接口产出(`kind: "remote"`)'
|
|
97038
97048
|
});
|
|
97039
97049
|
}
|
|
97040
|
-
function schema$
|
|
97050
|
+
function schema$d(configure) {
|
|
97041
97051
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
97042
97052
|
const Options = optionsSchema(configure);
|
|
97043
97053
|
return Struct({
|
|
97044
|
-
type: Literal2(type$
|
|
97045
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
97054
|
+
type: Literal2(type$d),
|
|
97055
|
+
compatibilityDate: Literal2(compatibilityDate$d),
|
|
97046
97056
|
...commonFieldFields(configure),
|
|
97047
97057
|
label: optional(Locale.annotations({
|
|
97048
97058
|
title: "标签",
|
|
@@ -97088,7 +97098,7 @@ const migrateFrom$3 = [
|
|
|
97088
97098
|
{ type: "com.shwfed.form.field.combobox.single", compatibilityDate: "2026-04-29" },
|
|
97089
97099
|
{ type: "com.shwfed.form.field.combobox.single.remote", compatibilityDate: "2026-05-13" }
|
|
97090
97100
|
];
|
|
97091
|
-
const migrate$
|
|
97101
|
+
const migrate$4 = (prev) => try_({
|
|
97092
97102
|
try: () => {
|
|
97093
97103
|
if (!prev || typeof prev !== "object") {
|
|
97094
97104
|
throw new Error("下拉单选迁移失败:原值不是对象");
|
|
@@ -97101,8 +97111,8 @@ const migrate$3 = (prev) => try_({
|
|
|
97101
97111
|
const itemsArr = Array.isArray(items2) ? items2 : [];
|
|
97102
97112
|
return {
|
|
97103
97113
|
...rest,
|
|
97104
|
-
type: type$
|
|
97105
|
-
compatibilityDate: compatibilityDate$
|
|
97114
|
+
type: type$d,
|
|
97115
|
+
compatibilityDate: compatibilityDate$d,
|
|
97106
97116
|
options: { kind: "static", items: itemsArr }
|
|
97107
97117
|
};
|
|
97108
97118
|
}
|
|
@@ -97114,8 +97124,8 @@ const migrate$3 = (prev) => try_({
|
|
|
97114
97124
|
if (Array.isArray(optionLabel)) remote.optionLabel = optionLabel;
|
|
97115
97125
|
return {
|
|
97116
97126
|
...rest,
|
|
97117
|
-
type: type$
|
|
97118
|
-
compatibilityDate: compatibilityDate$
|
|
97127
|
+
type: type$d,
|
|
97128
|
+
compatibilityDate: compatibilityDate$d,
|
|
97119
97129
|
options: remote
|
|
97120
97130
|
};
|
|
97121
97131
|
}
|
|
@@ -97128,8 +97138,8 @@ const migrate$3 = (prev) => try_({
|
|
|
97128
97138
|
if (Array.isArray(optionLabel)) remote.optionLabel = optionLabel;
|
|
97129
97139
|
return {
|
|
97130
97140
|
...rest,
|
|
97131
|
-
type: type$
|
|
97132
|
-
compatibilityDate: compatibilityDate$
|
|
97141
|
+
type: type$d,
|
|
97142
|
+
compatibilityDate: compatibilityDate$d,
|
|
97133
97143
|
options: remote
|
|
97134
97144
|
};
|
|
97135
97145
|
}
|
|
@@ -97139,20 +97149,20 @@ const migrate$3 = (prev) => try_({
|
|
|
97139
97149
|
});
|
|
97140
97150
|
const __vite_glob_0_29 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
97141
97151
|
__proto__: null,
|
|
97142
|
-
compatibilityDate: compatibilityDate$
|
|
97152
|
+
compatibilityDate: compatibilityDate$d,
|
|
97143
97153
|
defaults: defaults$4,
|
|
97144
97154
|
itemSchema: itemSchema$1,
|
|
97145
|
-
metadata: metadata$
|
|
97146
|
-
migrate: migrate$
|
|
97155
|
+
metadata: metadata$d,
|
|
97156
|
+
migrate: migrate$4,
|
|
97147
97157
|
migrateFrom: migrateFrom$3,
|
|
97148
97158
|
optionsSchema,
|
|
97149
97159
|
remoteOptionsSchema,
|
|
97150
|
-
schema: schema$
|
|
97151
|
-
type: type$
|
|
97160
|
+
schema: schema$d,
|
|
97161
|
+
type: type$d
|
|
97152
97162
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
97153
|
-
const type$
|
|
97154
|
-
const compatibilityDate$
|
|
97155
|
-
const metadata$
|
|
97163
|
+
const type$c = "com.shwfed.form.field.tree.combobox.multi";
|
|
97164
|
+
const compatibilityDate$c = "2026-05-28";
|
|
97165
|
+
const metadata$c = {
|
|
97156
97166
|
name: "下拉树(多选)",
|
|
97157
97167
|
icon: "fluent:tree-evergreen-20-regular",
|
|
97158
97168
|
w: { initial: 8, min: 4, max: Infinity },
|
|
@@ -97173,7 +97183,7 @@ function withNode$1(configure) {
|
|
|
97173
97183
|
env.registerVariable("node", NODE_VAR$1.type, { description: NODE_VAR$1.description });
|
|
97174
97184
|
};
|
|
97175
97185
|
}
|
|
97176
|
-
function schema$
|
|
97186
|
+
function schema$c(configure) {
|
|
97177
97187
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
97178
97188
|
const CelNodeKey = Expression({ configure: withNode$1(configure), resultType: isKeyType$1 });
|
|
97179
97189
|
const CelNodeChildren = Expression({ configure: withNode$1(configure), resultType: isListLike$1 });
|
|
@@ -97181,8 +97191,8 @@ function schema$b(configure) {
|
|
|
97181
97191
|
const NodeLocaleMd = LocaleMarkdown({ configure: withNode$1(configure) });
|
|
97182
97192
|
const CelKeywords = Expression({ configure: withNode$1(configure), resultType: isListLike$1 });
|
|
97183
97193
|
return Struct({
|
|
97184
|
-
type: Literal2(type$
|
|
97185
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
97194
|
+
type: Literal2(type$c),
|
|
97195
|
+
compatibilityDate: Literal2(compatibilityDate$c),
|
|
97186
97196
|
...commonFieldFields(configure),
|
|
97187
97197
|
label: optional(Locale.annotations({
|
|
97188
97198
|
title: "标签",
|
|
@@ -97267,7 +97277,7 @@ function defaults$3() {
|
|
|
97267
97277
|
const migrateFrom$2 = [
|
|
97268
97278
|
{ type: "com.shwfed.form.field.tree.combobox.multi", compatibilityDate: "2026-05-26" }
|
|
97269
97279
|
];
|
|
97270
|
-
const migrate$
|
|
97280
|
+
const migrate$3 = (prev) => try_({
|
|
97271
97281
|
try: () => {
|
|
97272
97282
|
if (!prev || typeof prev !== "object") {
|
|
97273
97283
|
throw new Error("下拉树(多选)迁移失败:原值不是对象");
|
|
@@ -97275,24 +97285,24 @@ const migrate$2 = (prev) => try_({
|
|
|
97275
97285
|
const { compatibilityDate: _legacyDate, ...rest } = prev;
|
|
97276
97286
|
return {
|
|
97277
97287
|
...rest,
|
|
97278
|
-
compatibilityDate: compatibilityDate$
|
|
97288
|
+
compatibilityDate: compatibilityDate$c
|
|
97279
97289
|
};
|
|
97280
97290
|
},
|
|
97281
97291
|
catch: (e) => e instanceof Error ? e : new Error(String(e))
|
|
97282
97292
|
});
|
|
97283
97293
|
const __vite_glob_0_30 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
97284
97294
|
__proto__: null,
|
|
97285
|
-
compatibilityDate: compatibilityDate$
|
|
97295
|
+
compatibilityDate: compatibilityDate$c,
|
|
97286
97296
|
defaults: defaults$3,
|
|
97287
|
-
metadata: metadata$
|
|
97288
|
-
migrate: migrate$
|
|
97297
|
+
metadata: metadata$c,
|
|
97298
|
+
migrate: migrate$3,
|
|
97289
97299
|
migrateFrom: migrateFrom$2,
|
|
97290
|
-
schema: schema$
|
|
97291
|
-
type: type$
|
|
97300
|
+
schema: schema$c,
|
|
97301
|
+
type: type$c
|
|
97292
97302
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
97293
|
-
const type$
|
|
97294
|
-
const compatibilityDate$
|
|
97295
|
-
const metadata$
|
|
97303
|
+
const type$b = "com.shwfed.form.field.tree.combobox.single";
|
|
97304
|
+
const compatibilityDate$b = "2026-05-28";
|
|
97305
|
+
const metadata$b = {
|
|
97296
97306
|
name: "下拉树(单选)",
|
|
97297
97307
|
icon: "fluent:tree-evergreen-20-regular",
|
|
97298
97308
|
w: { initial: 8, min: 4, max: Infinity },
|
|
@@ -97313,7 +97323,7 @@ function withNode(configure) {
|
|
|
97313
97323
|
env.registerVariable("node", NODE_VAR.type, { description: NODE_VAR.description });
|
|
97314
97324
|
};
|
|
97315
97325
|
}
|
|
97316
|
-
function schema$
|
|
97326
|
+
function schema$b(configure) {
|
|
97317
97327
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
97318
97328
|
const CelNodeKey = Expression({ configure: withNode(configure), resultType: isKeyType });
|
|
97319
97329
|
const CelNodeChildren = Expression({ configure: withNode(configure), resultType: isListLike });
|
|
@@ -97321,8 +97331,8 @@ function schema$a(configure) {
|
|
|
97321
97331
|
const NodeLocaleMd = LocaleMarkdown({ configure: withNode(configure) });
|
|
97322
97332
|
const CelKeywords = Expression({ configure: withNode(configure), resultType: isListLike });
|
|
97323
97333
|
return Struct({
|
|
97324
|
-
type: Literal2(type$
|
|
97325
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
97334
|
+
type: Literal2(type$b),
|
|
97335
|
+
compatibilityDate: Literal2(compatibilityDate$b),
|
|
97326
97336
|
...commonFieldFields(configure),
|
|
97327
97337
|
label: optional(Locale.annotations({
|
|
97328
97338
|
title: "标签",
|
|
@@ -97399,7 +97409,7 @@ function defaults$2() {
|
|
|
97399
97409
|
const migrateFrom$1 = [
|
|
97400
97410
|
{ type: "com.shwfed.form.field.tree.combobox.single", compatibilityDate: "2026-05-26" }
|
|
97401
97411
|
];
|
|
97402
|
-
const migrate$
|
|
97412
|
+
const migrate$2 = (prev) => try_({
|
|
97403
97413
|
try: () => {
|
|
97404
97414
|
if (!prev || typeof prev !== "object") {
|
|
97405
97415
|
throw new Error("下拉树(单选)迁移失败:原值不是对象");
|
|
@@ -97407,24 +97417,24 @@ const migrate$1 = (prev) => try_({
|
|
|
97407
97417
|
const { compatibilityDate: _legacyDate, ...rest } = prev;
|
|
97408
97418
|
return {
|
|
97409
97419
|
...rest,
|
|
97410
|
-
compatibilityDate: compatibilityDate$
|
|
97420
|
+
compatibilityDate: compatibilityDate$b
|
|
97411
97421
|
};
|
|
97412
97422
|
},
|
|
97413
97423
|
catch: (e) => e instanceof Error ? e : new Error(String(e))
|
|
97414
97424
|
});
|
|
97415
97425
|
const __vite_glob_0_31 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
97416
97426
|
__proto__: null,
|
|
97417
|
-
compatibilityDate: compatibilityDate$
|
|
97427
|
+
compatibilityDate: compatibilityDate$b,
|
|
97418
97428
|
defaults: defaults$2,
|
|
97419
|
-
metadata: metadata$
|
|
97420
|
-
migrate: migrate$
|
|
97429
|
+
metadata: metadata$b,
|
|
97430
|
+
migrate: migrate$2,
|
|
97421
97431
|
migrateFrom: migrateFrom$1,
|
|
97422
|
-
schema: schema$
|
|
97423
|
-
type: type$
|
|
97432
|
+
schema: schema$b,
|
|
97433
|
+
type: type$b
|
|
97424
97434
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
97425
|
-
const type$
|
|
97426
|
-
const compatibilityDate$
|
|
97427
|
-
const metadata$
|
|
97435
|
+
const type$a = "com.shwfed.form.field.tree.multi";
|
|
97436
|
+
const compatibilityDate$a = "2026-05-28";
|
|
97437
|
+
const metadata$a = {
|
|
97428
97438
|
name: "树(多选)",
|
|
97429
97439
|
icon: "fluent:tree-evergreen-20-regular",
|
|
97430
97440
|
w: { initial: 8, min: 4, max: Infinity },
|
|
@@ -97433,7 +97443,7 @@ const metadata$9 = {
|
|
|
97433
97443
|
// registry (runtime.vue), readable via `selections["<id>"]`.
|
|
97434
97444
|
selection: true
|
|
97435
97445
|
};
|
|
97436
|
-
function schema$
|
|
97446
|
+
function schema$a(configure) {
|
|
97437
97447
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
97438
97448
|
const nodeConfigure = (env) => {
|
|
97439
97449
|
configure(env);
|
|
@@ -97462,8 +97472,8 @@ function schema$9(configure) {
|
|
|
97462
97472
|
resultType: (t) => t === "dyn" || t.startsWith("list") || t.startsWith("optional")
|
|
97463
97473
|
});
|
|
97464
97474
|
return Struct({
|
|
97465
|
-
type: Literal2(type$
|
|
97466
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
97475
|
+
type: Literal2(type$a),
|
|
97476
|
+
compatibilityDate: Literal2(compatibilityDate$a),
|
|
97467
97477
|
...commonFieldFields(configure),
|
|
97468
97478
|
label: optional(Locale.annotations({
|
|
97469
97479
|
title: "标签",
|
|
@@ -97552,29 +97562,29 @@ function defaults$1() {
|
|
|
97552
97562
|
const migrateFrom = [
|
|
97553
97563
|
{ type: "com.shwfed.form.field.tree.multi", compatibilityDate: "2026-05-23" }
|
|
97554
97564
|
];
|
|
97555
|
-
const migrate = (prev, _ctx) => try_({
|
|
97565
|
+
const migrate$1 = (prev, _ctx) => try_({
|
|
97556
97566
|
try: () => {
|
|
97557
97567
|
const { compatibilityDate: _legacyDate, ...carryover } = prev;
|
|
97558
97568
|
return {
|
|
97559
97569
|
...carryover,
|
|
97560
|
-
compatibilityDate: compatibilityDate$
|
|
97570
|
+
compatibilityDate: compatibilityDate$a
|
|
97561
97571
|
};
|
|
97562
97572
|
},
|
|
97563
97573
|
catch: (err) => err instanceof Error ? err : new Error(String(err))
|
|
97564
97574
|
});
|
|
97565
97575
|
const __vite_glob_0_32 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
97566
97576
|
__proto__: null,
|
|
97567
|
-
compatibilityDate: compatibilityDate$
|
|
97577
|
+
compatibilityDate: compatibilityDate$a,
|
|
97568
97578
|
defaults: defaults$1,
|
|
97569
|
-
metadata: metadata$
|
|
97570
|
-
migrate,
|
|
97579
|
+
metadata: metadata$a,
|
|
97580
|
+
migrate: migrate$1,
|
|
97571
97581
|
migrateFrom,
|
|
97572
|
-
schema: schema$
|
|
97573
|
-
type: type$
|
|
97582
|
+
schema: schema$a,
|
|
97583
|
+
type: type$a
|
|
97574
97584
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
97575
|
-
const type$
|
|
97576
|
-
const compatibilityDate$
|
|
97577
|
-
const metadata$
|
|
97585
|
+
const type$9 = "com.shwfed.form.field.tree.single";
|
|
97586
|
+
const compatibilityDate$9 = "2026-05-28";
|
|
97587
|
+
const metadata$9 = {
|
|
97578
97588
|
name: "树(单选)",
|
|
97579
97589
|
icon: "fluent:tree-evergreen-20-regular",
|
|
97580
97590
|
w: { initial: 8, min: 4, max: Infinity },
|
|
@@ -97583,7 +97593,7 @@ const metadata$8 = {
|
|
|
97583
97593
|
// registry (runtime.vue), readable via `selections["<id>"]`.
|
|
97584
97594
|
selection: true
|
|
97585
97595
|
};
|
|
97586
|
-
function schema$
|
|
97596
|
+
function schema$9(configure) {
|
|
97587
97597
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
97588
97598
|
const nodeConfigure = (env) => {
|
|
97589
97599
|
configure(env);
|
|
@@ -97608,8 +97618,8 @@ function schema$8(configure) {
|
|
|
97608
97618
|
resultType: (t) => t === "dyn" || t.startsWith("list") || t.startsWith("optional")
|
|
97609
97619
|
});
|
|
97610
97620
|
return Struct({
|
|
97611
|
-
type: Literal2(type$
|
|
97612
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
97621
|
+
type: Literal2(type$9),
|
|
97622
|
+
compatibilityDate: Literal2(compatibilityDate$9),
|
|
97613
97623
|
...commonFieldFields(configure),
|
|
97614
97624
|
label: optional(Locale.annotations({
|
|
97615
97625
|
title: "标签",
|
|
@@ -97690,9 +97700,195 @@ function defaults() {
|
|
|
97690
97700
|
}
|
|
97691
97701
|
const __vite_glob_0_33 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
97692
97702
|
__proto__: null,
|
|
97693
|
-
compatibilityDate: compatibilityDate$
|
|
97703
|
+
compatibilityDate: compatibilityDate$9,
|
|
97694
97704
|
defaults,
|
|
97705
|
+
metadata: metadata$9,
|
|
97706
|
+
schema: schema$9,
|
|
97707
|
+
type: type$9
|
|
97708
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
97709
|
+
const type$8 = "com.shwfed.form.field.upload";
|
|
97710
|
+
const compatibilityDate$8 = "2026-06-09";
|
|
97711
|
+
const metadata$8 = {
|
|
97712
|
+
name: "文件上传",
|
|
97713
|
+
icon: "fluent:cloud-arrow-up-20-regular",
|
|
97714
|
+
w: { initial: 8, min: 8, max: Infinity },
|
|
97715
|
+
h: { initial: 6, min: 6, max: Infinity, grow: true }
|
|
97716
|
+
};
|
|
97717
|
+
const JSON_VAR$1 = {
|
|
97718
|
+
type: "dyn",
|
|
97719
|
+
label: "HTTP 响应体",
|
|
97720
|
+
description: "第一步 `请求` 的响应体(已解析 JSON);用于构造第二步下载请求"
|
|
97721
|
+
};
|
|
97722
|
+
const FILES_VAR = {
|
|
97723
|
+
type: "list<dyn>",
|
|
97724
|
+
label: "已选文件",
|
|
97725
|
+
description: "本次选择的文件列表(`File` 数组);通常通过 `form({...})` 构造 multipart 请求体"
|
|
97726
|
+
};
|
|
97727
|
+
const UPLOAD_JSON_VAR = {
|
|
97728
|
+
type: "dyn",
|
|
97729
|
+
label: "上传响应",
|
|
97730
|
+
description: "上传 `请求` 的响应体(已解析 JSON);用于提取已上传文件项"
|
|
97731
|
+
};
|
|
97732
|
+
const FILE_VAR = {
|
|
97733
|
+
type: "dyn",
|
|
97734
|
+
label: "文件项",
|
|
97735
|
+
description: "表单状态中的单个文件项(服务端回填或上传响应映射所得);返回其展示文件名"
|
|
97736
|
+
};
|
|
97737
|
+
function withVar(configure, name, spec) {
|
|
97738
|
+
return (env) => {
|
|
97739
|
+
configure(env);
|
|
97740
|
+
env.registerVariable(name, spec.type, { description: spec.description });
|
|
97741
|
+
};
|
|
97742
|
+
}
|
|
97743
|
+
function schema$8(configure) {
|
|
97744
|
+
const CelBool = Expression({ configure, resultType: "bool" });
|
|
97745
|
+
const CelHttpRequest = Expression({ configure, resultType: "HttpRequest" });
|
|
97746
|
+
const CelDownloadRequest = Expression({ configure: withVar(configure, "json", JSON_VAR$1), resultType: "HttpRequest" });
|
|
97747
|
+
const CelUploadRequest = Expression({ configure: withVar(configure, "files", FILES_VAR), resultType: "HttpRequest" });
|
|
97748
|
+
const CelUploadHandle = Expression({ configure: withVar(configure, "json", UPLOAD_JSON_VAR), resultType: "list" });
|
|
97749
|
+
const CelItemName = Expression({ configure: withVar(configure, "file", FILE_VAR), resultType: "string" });
|
|
97750
|
+
const LocaleMd = LocaleMarkdown({ configure });
|
|
97751
|
+
return Struct({
|
|
97752
|
+
type: Literal2(type$8),
|
|
97753
|
+
compatibilityDate: Literal2(compatibilityDate$8),
|
|
97754
|
+
...commonFieldFields(configure),
|
|
97755
|
+
label: optional(Locale.annotations({
|
|
97756
|
+
title: "标签",
|
|
97757
|
+
description: "字段前展示的文本;留空则不渲染标签"
|
|
97758
|
+
})),
|
|
97759
|
+
description: optional(LocaleMd.annotations({
|
|
97760
|
+
title: "说明",
|
|
97761
|
+
description: "展示在上传区域上方的多语言说明,支持 Markdown 与 `{{ form.foo }}` 插值"
|
|
97762
|
+
})),
|
|
97763
|
+
placeholder: optional(Locale.annotations({
|
|
97764
|
+
title: "占位符",
|
|
97765
|
+
description: "上传区域为空时的提示文本"
|
|
97766
|
+
})),
|
|
97767
|
+
tooltip: optional(Locale.annotations({
|
|
97768
|
+
title: "提示",
|
|
97769
|
+
description: "鼠标悬停在标签上时展示的说明"
|
|
97770
|
+
})),
|
|
97771
|
+
orientation: optional(FieldOrientationSchema),
|
|
97772
|
+
binding: optional(String$.pipe(minLength(1)).annotations({
|
|
97773
|
+
title: "绑定路径",
|
|
97774
|
+
description: "写入表单状态的 `dot-prop` 路径,例如 `attachments.5du4fbuv`;留空则为非受控字段"
|
|
97775
|
+
})),
|
|
97776
|
+
disabled: optional(CelBool.annotations({
|
|
97777
|
+
title: "禁用条件",
|
|
97778
|
+
description: "返回 `true` 时上传区域仍然渲染但不可操作"
|
|
97779
|
+
})),
|
|
97780
|
+
readonly: optional(CelBool.annotations({
|
|
97781
|
+
title: "只读条件",
|
|
97782
|
+
description: "返回 `true` 时仅以文件列表展示当前值,不允许增删"
|
|
97783
|
+
})),
|
|
97784
|
+
multiple: optional(Boolean$.annotations({
|
|
97785
|
+
title: "允许多文件",
|
|
97786
|
+
description: "开启后可一次选择/拖入多个文件;关闭时新文件会替换已选文件"
|
|
97787
|
+
})),
|
|
97788
|
+
accept: optional(Array$(String$).annotations({
|
|
97789
|
+
title: "允许的文件类型",
|
|
97790
|
+
description: "允许上传的 MIME 类型列表;留空表示不限制"
|
|
97791
|
+
})),
|
|
97792
|
+
maxFileSize: optional(Number$.pipe(positive()).annotations({
|
|
97793
|
+
title: "单文件大小限制",
|
|
97794
|
+
description: "单个文件允许的最大字节数;超过此限制的文件会被拒绝"
|
|
97795
|
+
})),
|
|
97796
|
+
maxTotalSize: optional(Number$.pipe(positive()).annotations({
|
|
97797
|
+
title: "总大小限制",
|
|
97798
|
+
description: "所有已选文件累计的最大字节数;新增导致超出时会被拒绝"
|
|
97799
|
+
})),
|
|
97800
|
+
maxFiles: optional(Number$.pipe(int(), positive()).annotations({
|
|
97801
|
+
title: "文件数量限制",
|
|
97802
|
+
description: "允许同时上传的最大文件数;达到上限后新增文件会被拒绝"
|
|
97803
|
+
})),
|
|
97804
|
+
// Immediate upload. Its presence enables "upload on pick": each picked file
|
|
97805
|
+
// is POSTed right away (`request`), the response is mapped into the stored
|
|
97806
|
+
// items (`handle`), and each stored item's display name is resolved via
|
|
97807
|
+
// `filename`. Absent → files are held as raw `File[]` and submitted with the
|
|
97808
|
+
// form (deferred mode). The canonical→backend write mapping lives in the
|
|
97809
|
+
// submit action, not here, so the field stays backend-agnostic.
|
|
97810
|
+
upload: optional(Struct({
|
|
97811
|
+
request: CelUploadRequest.annotations({
|
|
97812
|
+
title: "上传请求",
|
|
97813
|
+
description: '返回 `HttpRequest` 的 CEL 表达式;可通过 `files` 引用本次选择的文件,例如 `http.post(url).body(form({"files": files}))`。以 `.json()` 发起'
|
|
97814
|
+
}),
|
|
97815
|
+
handle: CelUploadHandle.annotations({
|
|
97816
|
+
title: "处理响应",
|
|
97817
|
+
description: '返回**列表**的 CEL 表达式,可通过 `json` 引用上传响应;映射为追加到绑定值的文件项,例如 `json.data.map(d, {"cacheKey": d.key, "filename": d.fileOriginalName})`'
|
|
97818
|
+
}),
|
|
97819
|
+
filename: optional(CelItemName.annotations({
|
|
97820
|
+
title: "文件名",
|
|
97821
|
+
description: "返回 `string` 的 CEL 表达式,可通过 `file` 引用单个文件项;用于展示文件名,例如 `file.filename`。留空时回退到 `filename` / `name` 字段"
|
|
97822
|
+
}))
|
|
97823
|
+
}).annotations({
|
|
97824
|
+
title: "即时上传",
|
|
97825
|
+
description: "配置后文件在选择时立即上传,绑定值存储映射后的文件项(而非原始 `File`);不配置则保留文件随表单一并提交"
|
|
97826
|
+
})),
|
|
97827
|
+
// Download templates — each entry renders one button next to the upload
|
|
97828
|
+
// zone. `request` is the (possibly only) step; `download` is an optional
|
|
97829
|
+
// second step that may reference the first response via `json`.
|
|
97830
|
+
templates: optional(Array$(Struct({
|
|
97831
|
+
request: CelHttpRequest.annotations({
|
|
97832
|
+
title: "请求",
|
|
97833
|
+
description: "返回 `HttpRequest` 的 CEL 表达式。未配置「下载请求」时直接发起并下载其响应;配置了「下载请求」时作为获取下载凭据的第一步请求"
|
|
97834
|
+
}),
|
|
97835
|
+
download: optional(CelDownloadRequest.annotations({
|
|
97836
|
+
title: "下载请求",
|
|
97837
|
+
description: "可选的第二步:返回 `HttpRequest` 的 CEL 表达式,可通过 `json` 引用第一步的响应体,例如用 `json.data.key` 构造真正的下载请求"
|
|
97838
|
+
})),
|
|
97839
|
+
icon: optional(String$.pipe(minLength(1)).annotations({
|
|
97840
|
+
title: "模板按钮图标",
|
|
97841
|
+
description: "Iconify 图标标识符,例如 `fluent:arrow-download-20-regular`;留空时使用默认图标"
|
|
97842
|
+
})),
|
|
97843
|
+
label: optional(Locale.annotations({
|
|
97844
|
+
title: "模板按钮文本",
|
|
97845
|
+
description: "下载模板按钮上的本地化文本;留空时使用「下载模板」"
|
|
97846
|
+
}))
|
|
97847
|
+
})).annotations({
|
|
97848
|
+
title: "下载模板",
|
|
97849
|
+
description: "下载模板列表;每一项在上传区域旁渲染一个下载按钮"
|
|
97850
|
+
}))
|
|
97851
|
+
}).annotations({
|
|
97852
|
+
title: "UploadField",
|
|
97853
|
+
description: "文件上传字段"
|
|
97854
|
+
});
|
|
97855
|
+
}
|
|
97856
|
+
function migrate(prev) {
|
|
97857
|
+
return try_({
|
|
97858
|
+
try: () => {
|
|
97859
|
+
if (typeof prev !== "object" || prev === null) {
|
|
97860
|
+
throw new Error("上传字段迁移失败:原配置不是对象");
|
|
97861
|
+
}
|
|
97862
|
+
const {
|
|
97863
|
+
template,
|
|
97864
|
+
templateIcon,
|
|
97865
|
+
templateLabel,
|
|
97866
|
+
compatibilityDate: _drop,
|
|
97867
|
+
...rest
|
|
97868
|
+
} = prev;
|
|
97869
|
+
const next = { ...rest, compatibilityDate: compatibilityDate$8 };
|
|
97870
|
+
if (template != null && typeof template === "object" && typeof template.request === "string") {
|
|
97871
|
+
const t = template;
|
|
97872
|
+
const entry = { request: t.request };
|
|
97873
|
+
if (typeof t.download === "string") entry.download = t.download;
|
|
97874
|
+
if (typeof templateIcon === "string") entry.icon = templateIcon;
|
|
97875
|
+
if (templateLabel != null) entry.label = templateLabel;
|
|
97876
|
+
next.templates = [entry];
|
|
97877
|
+
}
|
|
97878
|
+
return next;
|
|
97879
|
+
},
|
|
97880
|
+
catch: (error2) => error2 instanceof Error ? error2 : new Error(String(error2))
|
|
97881
|
+
});
|
|
97882
|
+
}
|
|
97883
|
+
const __vite_glob_0_34 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
97884
|
+
__proto__: null,
|
|
97885
|
+
FILES_VAR,
|
|
97886
|
+
FILE_VAR,
|
|
97887
|
+
JSON_VAR: JSON_VAR$1,
|
|
97888
|
+
UPLOAD_JSON_VAR,
|
|
97889
|
+
compatibilityDate: compatibilityDate$8,
|
|
97695
97890
|
metadata: metadata$8,
|
|
97891
|
+
migrate,
|
|
97696
97892
|
schema: schema$8,
|
|
97697
97893
|
type: type$8
|
|
97698
97894
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -97730,7 +97926,8 @@ const schemaModules$1 = /* @__PURE__ */ Object.assign({
|
|
|
97730
97926
|
"../fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/schema.ts": __vite_glob_0_30,
|
|
97731
97927
|
"../fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/schema.ts": __vite_glob_0_31,
|
|
97732
97928
|
"../fields/2026-05-28/com.shwfed.form.field.tree.multi/schema.ts": __vite_glob_0_32,
|
|
97733
|
-
"../fields/2026-05-28/com.shwfed.form.field.tree.single/schema.ts": __vite_glob_0_33
|
|
97929
|
+
"../fields/2026-05-28/com.shwfed.form.field.tree.single/schema.ts": __vite_glob_0_33,
|
|
97930
|
+
"../fields/2026-06-09/com.shwfed.form.field.upload/schema.ts": __vite_glob_0_34
|
|
97734
97931
|
});
|
|
97735
97932
|
const configModules$1 = /* @__PURE__ */ Object.assign({
|
|
97736
97933
|
"../fields/2026-04-22/com.shwfed.form.field.markdown/config.vue": __vite_glob_2_8,
|
|
@@ -97766,7 +97963,8 @@ const configModules$1 = /* @__PURE__ */ Object.assign({
|
|
|
97766
97963
|
"../fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/config.vue": __vite_glob_2_8,
|
|
97767
97964
|
"../fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/config.vue": __vite_glob_2_8,
|
|
97768
97965
|
"../fields/2026-05-28/com.shwfed.form.field.tree.multi/config.vue": __vite_glob_2_8,
|
|
97769
|
-
"../fields/2026-05-28/com.shwfed.form.field.tree.single/config.vue": __vite_glob_2_8
|
|
97966
|
+
"../fields/2026-05-28/com.shwfed.form.field.tree.single/config.vue": __vite_glob_2_8,
|
|
97967
|
+
"../fields/2026-06-09/com.shwfed.form.field.upload/config.vue": __vite_glob_2_8
|
|
97770
97968
|
});
|
|
97771
97969
|
const runtimeModules$1 = /* @__PURE__ */ Object.assign({
|
|
97772
97970
|
"../fields/2026-04-22/com.shwfed.form.field.markdown/runtime.vue": __vite_glob_2_8,
|
|
@@ -97802,7 +98000,8 @@ const runtimeModules$1 = /* @__PURE__ */ Object.assign({
|
|
|
97802
98000
|
"../fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/runtime.vue": __vite_glob_2_8,
|
|
97803
98001
|
"../fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/runtime.vue": __vite_glob_2_8,
|
|
97804
98002
|
"../fields/2026-05-28/com.shwfed.form.field.tree.multi/runtime.vue": __vite_glob_2_8,
|
|
97805
|
-
"../fields/2026-05-28/com.shwfed.form.field.tree.single/runtime.vue": __vite_glob_2_8
|
|
98003
|
+
"../fields/2026-05-28/com.shwfed.form.field.tree.single/runtime.vue": __vite_glob_2_8,
|
|
98004
|
+
"../fields/2026-06-09/com.shwfed.form.field.upload/runtime.vue": __vite_glob_2_8
|
|
97806
98005
|
});
|
|
97807
98006
|
const sourceKey = (type2, compatibilityDate2) => `${type2}@${compatibilityDate2}`;
|
|
97808
98007
|
const registry$1 = defineRegistry({
|