@shwfed/config 2.10.7 → 2.10.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (84) hide show
  1. package/dist/mcp.mjs +1171 -1049
  2. package/dist/module.json +1 -1
  3. package/dist/preview/assets/{FieldGroup.vue_vue_type_script_setup_true_lang-CV3u1wuG.js → FieldGroup.vue_vue_type_script_setup_true_lang-CysVgnB5.js} +1 -1
  4. package/dist/preview/assets/{badge-De7TI8Ef.js → badge-DdxT1J-1.js} +1 -1
  5. package/dist/preview/assets/{config-A0pwpJhu.js → config-073z__NM.js} +1 -1
  6. package/dist/preview/assets/{config-Cc-RiKc0.js → config-91HQEKhM.js} +1 -1
  7. package/dist/preview/assets/{config-DccYHX13.js → config-B8k8y1J1.js} +1 -1
  8. package/dist/preview/assets/{config-Ckn8NixF.js → config-BK8WZ3pm.js} +1 -1
  9. package/dist/preview/assets/{config-RuqJAgHJ.js → config-BX05eMo3.js} +1 -1
  10. package/dist/preview/assets/{config-BF4I0Pko.js → config-BXP8aJwW.js} +1 -1
  11. package/dist/preview/assets/{config-DqHlKqr-.js → config-BhPAyftm.js} +1 -1
  12. package/dist/preview/assets/{config-DBrYVSus.js → config-BzHBSkht.js} +1 -1
  13. package/dist/preview/assets/{config-BJL5R6TO.js → config-C3eoRHUo.js} +1 -1
  14. package/dist/preview/assets/{config-DGj2Xh1R.js → config-CJ-NzxkH.js} +1 -1
  15. package/dist/preview/assets/{config-C6AzmvwL.js → config-CYRj2ZVL.js} +1 -1
  16. package/dist/preview/assets/{config-CtW_DgDv.js → config-DLNjjMZY.js} +1 -1
  17. package/dist/preview/assets/{config-Bei-4M8U.js → config-DudxzmzF.js} +1 -1
  18. package/dist/preview/assets/{config-CnPPWHxs.js → config-cwlK3BMD.js} +1 -1
  19. package/dist/preview/assets/{definition.vue_vue_type_script_setup_true_lang-Ceh2rttd.js → definition.vue_vue_type_script_setup_true_lang-l59C6Dgs.js} +1 -1
  20. package/dist/preview/assets/index-BL58N7_5.js +763 -0
  21. package/dist/preview/assets/index-CA4hsfRv.js +1 -0
  22. package/dist/preview/assets/index-CyVzfRGQ.css +1 -0
  23. package/dist/preview/assets/{index-DAjdcrqQ.js → index-uAwC9Itb.js} +1 -1
  24. package/dist/preview/assets/{item-BNOUeB-e.js → item-C79mwh5T.js} +1 -1
  25. package/dist/preview/assets/{runtime-DzDI7B5M.js → runtime-1_EaFcPI.js} +1 -1
  26. package/dist/preview/assets/{runtime-BtDC6qh0.js → runtime-2yzxOLnF.js} +1 -1
  27. package/dist/preview/assets/{runtime-CXSBPV7c.js → runtime-8Fe67mkZ.js} +1 -1
  28. package/dist/preview/assets/{runtime-B-m0fZl0.js → runtime-8oME8Env.js} +1 -1
  29. package/dist/preview/assets/{runtime-DDz8U0kg.js → runtime-CCMixJjP.js} +1 -1
  30. package/dist/preview/assets/{runtime-CdrOV1KF.js → runtime-CD1Q4rZ3.js} +1 -1
  31. package/dist/preview/assets/{runtime-DCyGTrMp.js → runtime-Cb-qIo5p.js} +1 -1
  32. package/dist/preview/assets/{runtime-Bb0APo4d.js → runtime-CvgAq3mp.js} +1 -1
  33. package/dist/preview/assets/{runtime-D2Qtb13C.js → runtime-DkWCpjKe.js} +1 -1
  34. package/dist/preview/assets/{runtime-CtG2gR_k.js → runtime-mYNyG7UH.js} +1 -1
  35. package/dist/preview/assets/{schema-meta-DmDYh6aL.js → schema-meta-BlTKRs15.js} +1 -1
  36. package/dist/preview/index.html +2 -2
  37. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.d.vue.ts +4 -4
  38. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.vue.d.ts +4 -4
  39. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.d.vue.ts +6 -6
  40. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.vue.d.ts +6 -6
  41. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/config.d.vue.ts +2 -2
  42. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/config.vue.d.ts +2 -2
  43. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/config.d.vue.ts +2 -0
  44. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/config.vue +32 -1
  45. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/config.vue.d.ts +2 -0
  46. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/runtime.vue +2 -0
  47. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/schema.d.ts +2 -0
  48. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/schema.js +4 -0
  49. package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.checkbox.group/config.vue +202 -112
  50. package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.radio.group/config.vue +202 -112
  51. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/config.d.vue.ts +4 -4
  52. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/config.vue.d.ts +4 -4
  53. package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.multi/config.vue +223 -132
  54. package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.single/config.vue +223 -132
  55. package/dist/runtime/components/form/fields/2026-06-20/com.shwfed.form.field.tabs/config.d.vue.ts +59 -0
  56. package/dist/runtime/components/form/fields/2026-06-20/com.shwfed.form.field.tabs/config.vue +345 -0
  57. package/dist/runtime/components/form/fields/2026-06-20/com.shwfed.form.field.tabs/config.vue.d.ts +59 -0
  58. package/dist/runtime/components/form/fields/2026-06-20/com.shwfed.form.field.tabs/runtime.d.vue.ts +8 -0
  59. package/dist/runtime/components/form/fields/2026-06-20/com.shwfed.form.field.tabs/runtime.vue +113 -0
  60. package/dist/runtime/components/form/fields/2026-06-20/com.shwfed.form.field.tabs/runtime.vue.d.ts +8 -0
  61. package/dist/runtime/components/form/fields/2026-06-20/com.shwfed.form.field.tabs/schema.d.ts +79 -0
  62. package/dist/runtime/components/form/fields/2026-06-20/com.shwfed.form.field.tabs/schema.js +86 -0
  63. package/dist/runtime/components/form/unit-config.d.vue.ts +27 -0
  64. package/dist/runtime/components/form/unit-config.vue +117 -73
  65. package/dist/runtime/components/form/unit-config.vue.d.ts +27 -0
  66. package/dist/runtime/components/table/schema.js +24 -25
  67. package/dist/runtime/components/ui/date-picker/DatePickerInput.d.vue.ts +1 -1
  68. package/dist/runtime/components/ui/date-picker/DatePickerInput.vue.d.ts +1 -1
  69. package/dist/runtime/components/ui/date-picker/DatePickerTimeInput.d.vue.ts +1 -1
  70. package/dist/runtime/components/ui/date-picker/DatePickerTimeInput.vue.d.ts +1 -1
  71. package/dist/runtime/components/ui/date-range-picker/DateRangePickerInput.d.vue.ts +1 -1
  72. package/dist/runtime/components/ui/date-range-picker/DateRangePickerInput.vue.d.ts +1 -1
  73. package/dist/runtime/components/ui/date-range-picker/DateRangePickerTimeInput.d.vue.ts +2 -2
  74. package/dist/runtime/components/ui/date-range-picker/DateRangePickerTimeInput.vue.d.ts +2 -2
  75. package/dist/runtime/components/ui/markdown/Markdown.vue +19 -16
  76. package/dist/runtime/utils/markdown.d.ts +5 -2
  77. package/dist/runtime/utils/markdown.js +22 -1
  78. package/dist/runtime/vendor/cel-js/CLAUDE.md +1 -0
  79. package/dist/runtime/vendor/cel-js/lib/evaluator.d.ts +1 -0
  80. package/dist/runtime/vendor/cel-js/lib/evaluator.js +4 -0
  81. package/package.json +1 -1
  82. package/dist/preview/assets/index-BQIP6UfB.js +0 -763
  83. package/dist/preview/assets/index-Cj7bRG7B.css +0 -1
  84. package/dist/preview/assets/index-DpLMRp28.js +0 -1
package/dist/mcp.mjs CHANGED
@@ -14094,13 +14094,13 @@ function requireDataType() {
14094
14094
  }
14095
14095
  return dataType;
14096
14096
  }
14097
- var defaults$F = {};
14097
+ var defaults$G = {};
14098
14098
  var hasRequiredDefaults;
14099
14099
  function requireDefaults() {
14100
- if (hasRequiredDefaults) return defaults$F;
14100
+ if (hasRequiredDefaults) return defaults$G;
14101
14101
  hasRequiredDefaults = 1;
14102
- Object.defineProperty(defaults$F, "__esModule", { value: true });
14103
- defaults$F.assignDefaults = void 0;
14102
+ Object.defineProperty(defaults$G, "__esModule", { value: true });
14103
+ defaults$G.assignDefaults = void 0;
14104
14104
  const codegen_1 = /* @__PURE__ */ requireCodegen();
14105
14105
  const util_1 = /* @__PURE__ */ requireUtil$1();
14106
14106
  function assignDefaults(it, ty) {
@@ -14113,7 +14113,7 @@ function requireDefaults() {
14113
14113
  items2.forEach((sch, i) => assignDefault(it, i, sch.default));
14114
14114
  }
14115
14115
  }
14116
- defaults$F.assignDefaults = assignDefaults;
14116
+ defaults$G.assignDefaults = assignDefaults;
14117
14117
  function assignDefault(it, prop, defaultValue) {
14118
14118
  const { gen: gen2, compositeRule, data, opts } = it;
14119
14119
  if (defaultValue === void 0)
@@ -14129,7 +14129,7 @@ function requireDefaults() {
14129
14129
  }
14130
14130
  gen2.if(condition, (0, codegen_1._)`${childData} = ${(0, codegen_1.stringify)(defaultValue)}`);
14131
14131
  }
14132
- return defaults$F;
14132
+ return defaults$G;
14133
14133
  }
14134
14134
  var keyword = {};
14135
14135
  var code$1 = {};
@@ -15509,14 +15509,14 @@ function requireCompile() {
15509
15509
  }
15510
15510
  const $id$1 = "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#";
15511
15511
  const description = "Meta-schema for $data reference (JSON AnySchema extension proposal)";
15512
- const type$1w = "object";
15512
+ const type$1x = "object";
15513
15513
  const required$1 = ["$data"];
15514
15514
  const properties$2 = { "$data": { "type": "string", "anyOf": [{ "format": "relative-json-pointer" }, { "format": "json-pointer" }] } };
15515
15515
  const additionalProperties$1 = false;
15516
15516
  const require$$9 = {
15517
15517
  $id: $id$1,
15518
15518
  description,
15519
- type: type$1w,
15519
+ type: type$1x,
15520
15520
  required: required$1,
15521
15521
  properties: properties$2,
15522
15522
  additionalProperties: additionalProperties$1
@@ -18516,14 +18516,14 @@ function requireFormat() {
18516
18516
  format$7.default = format2;
18517
18517
  return format$7;
18518
18518
  }
18519
- var metadata$1s = {};
18519
+ var metadata$1t = {};
18520
18520
  var hasRequiredMetadata;
18521
18521
  function requireMetadata() {
18522
- if (hasRequiredMetadata) return metadata$1s;
18522
+ if (hasRequiredMetadata) return metadata$1t;
18523
18523
  hasRequiredMetadata = 1;
18524
- Object.defineProperty(metadata$1s, "__esModule", { value: true });
18525
- metadata$1s.contentVocabulary = metadata$1s.metadataVocabulary = void 0;
18526
- metadata$1s.metadataVocabulary = [
18524
+ Object.defineProperty(metadata$1t, "__esModule", { value: true });
18525
+ metadata$1t.contentVocabulary = metadata$1t.metadataVocabulary = void 0;
18526
+ metadata$1t.metadataVocabulary = [
18527
18527
  "title",
18528
18528
  "description",
18529
18529
  "default",
@@ -18532,12 +18532,12 @@ function requireMetadata() {
18532
18532
  "writeOnly",
18533
18533
  "examples"
18534
18534
  ];
18535
- metadata$1s.contentVocabulary = [
18535
+ metadata$1t.contentVocabulary = [
18536
18536
  "contentMediaType",
18537
18537
  "contentEncoding",
18538
18538
  "contentSchema"
18539
18539
  ];
18540
- return metadata$1s;
18540
+ return metadata$1t;
18541
18541
  }
18542
18542
  var hasRequiredDraft7;
18543
18543
  function requireDraft7() {
@@ -18683,14 +18683,14 @@ const $schema = "http://json-schema.org/draft-07/schema#";
18683
18683
  const $id = "http://json-schema.org/draft-07/schema#";
18684
18684
  const title = "Core schema meta-schema";
18685
18685
  const definitions = { "schemaArray": { "type": "array", "minItems": 1, "items": { "$ref": "#" } }, "nonNegativeInteger": { "type": "integer", "minimum": 0 }, "nonNegativeIntegerDefault0": { "allOf": [{ "$ref": "#/definitions/nonNegativeInteger" }, { "default": 0 }] }, "simpleTypes": { "enum": ["array", "boolean", "integer", "null", "number", "object", "string"] }, "stringArray": { "type": "array", "items": { "type": "string" }, "uniqueItems": true, "default": [] } };
18686
- const type$1v = ["object", "boolean"];
18686
+ const type$1w = ["object", "boolean"];
18687
18687
  const properties = { "$id": { "type": "string", "format": "uri-reference" }, "$schema": { "type": "string", "format": "uri" }, "$ref": { "type": "string", "format": "uri-reference" }, "$comment": { "type": "string" }, "title": { "type": "string" }, "description": { "type": "string" }, "default": true, "readOnly": { "type": "boolean", "default": false }, "examples": { "type": "array", "items": true }, "multipleOf": { "type": "number", "exclusiveMinimum": 0 }, "maximum": { "type": "number" }, "exclusiveMaximum": { "type": "number" }, "minimum": { "type": "number" }, "exclusiveMinimum": { "type": "number" }, "maxLength": { "$ref": "#/definitions/nonNegativeInteger" }, "minLength": { "$ref": "#/definitions/nonNegativeIntegerDefault0" }, "pattern": { "type": "string", "format": "regex" }, "additionalItems": { "$ref": "#" }, "items": { "anyOf": [{ "$ref": "#" }, { "$ref": "#/definitions/schemaArray" }], "default": true }, "maxItems": { "$ref": "#/definitions/nonNegativeInteger" }, "minItems": { "$ref": "#/definitions/nonNegativeIntegerDefault0" }, "uniqueItems": { "type": "boolean", "default": false }, "contains": { "$ref": "#" }, "maxProperties": { "$ref": "#/definitions/nonNegativeInteger" }, "minProperties": { "$ref": "#/definitions/nonNegativeIntegerDefault0" }, "required": { "$ref": "#/definitions/stringArray" }, "additionalProperties": { "$ref": "#" }, "definitions": { "type": "object", "additionalProperties": { "$ref": "#" }, "default": {} }, "properties": { "type": "object", "additionalProperties": { "$ref": "#" }, "default": {} }, "patternProperties": { "type": "object", "additionalProperties": { "$ref": "#" }, "propertyNames": { "format": "regex" }, "default": {} }, "dependencies": { "type": "object", "additionalProperties": { "anyOf": [{ "$ref": "#" }, { "$ref": "#/definitions/stringArray" }] } }, "propertyNames": { "$ref": "#" }, "const": true, "enum": { "type": "array", "items": true, "minItems": 1, "uniqueItems": true }, "type": { "anyOf": [{ "$ref": "#/definitions/simpleTypes" }, { "type": "array", "items": { "$ref": "#/definitions/simpleTypes" }, "minItems": 1, "uniqueItems": true }] }, "format": { "type": "string" }, "contentMediaType": { "type": "string" }, "contentEncoding": { "type": "string" }, "if": { "$ref": "#" }, "then": { "$ref": "#" }, "else": { "$ref": "#" }, "allOf": { "$ref": "#/definitions/schemaArray" }, "anyOf": { "$ref": "#/definitions/schemaArray" }, "oneOf": { "$ref": "#/definitions/schemaArray" }, "not": { "$ref": "#" } };
18688
18688
  const require$$3 = {
18689
18689
  $schema,
18690
18690
  $id,
18691
18691
  title,
18692
18692
  definitions,
18693
- type: type$1v,
18693
+ type: type$1w,
18694
18694
  properties,
18695
18695
  "default": true
18696
18696
  };
@@ -45425,6 +45425,10 @@ class Environment {
45425
45425
  this.#registry.registerVariable(name, type2, opts);
45426
45426
  return this;
45427
45427
  }
45428
+ deleteVariable(name) {
45429
+ this.#registry.deleteVariable(name);
45430
+ return this;
45431
+ }
45428
45432
  registerConstant(name, type2, value) {
45429
45433
  this.#registry.registerConstant(name, type2, value);
45430
45434
  return this;
@@ -81666,19 +81670,19 @@ const Triggers = Array$(Trigger).annotations({
81666
81670
  title: "触发操作",
81667
81671
  description: "按列表顺序执行"
81668
81672
  });
81669
- function md(...args2) {
81673
+ function md$1(...args2) {
81670
81674
  const [template, ...rest] = args2;
81671
81675
  const original = String.raw(template, ...rest.map((arg) => arg ?? ""));
81672
81676
  const indent = (original.startsWith("\n") ? original.slice(1) : original).split("\n", 1)[0]?.match(/^(\s*)/)?.[1]?.length ?? 0;
81673
81677
  return original.trim().replaceAll("\\`", "`").split("\n").map((line) => line.replace(new RegExp(`^${String.raw`\s`.repeat(indent)}`), "")).join("\n");
81674
81678
  }
81675
- const type$1u = "com.shwfed.actions.button.http.request.json.confirm";
81676
- const compatibilityDate$1u = "2026-04-18";
81677
- const metadata$1r = {
81679
+ const type$1v = "com.shwfed.actions.button.http.request.json.confirm";
81680
+ const compatibilityDate$1v = "2026-04-18";
81681
+ const metadata$1s = {
81678
81682
  name: "网络请求(JSON + 确认)",
81679
81683
  icon: "fluent:shield-checkmark-20-regular"
81680
81684
  };
81681
- function schema$1r(configure) {
81685
+ function schema$1s(configure) {
81682
81686
  const CelHttpRequest = Expression({ configure, resultType: "HttpRequest" });
81683
81687
  const CelMessage = Expression({
81684
81688
  configure: (env) => {
@@ -81690,17 +81694,17 @@ function schema$1r(configure) {
81690
81694
  resultType: "string"
81691
81695
  });
81692
81696
  return Struct({
81693
- type: Literal2(type$1u),
81694
- compatibilityDate: Literal2(compatibilityDate$1u),
81697
+ type: Literal2(type$1v),
81698
+ compatibilityDate: Literal2(compatibilityDate$1v),
81695
81699
  expression: CelHttpRequest.annotations({
81696
81700
  title: "请求",
81697
- description: md`
81701
+ description: md$1`
81698
81702
  用户确认后将立即被求值,当 HTTP 请求被成功构造后,调度器将尽可能快地安排执行这个请求
81699
81703
  `
81700
81704
  }),
81701
81705
  before: optional(Triggers.annotations({
81702
81706
  title: "确认前",
81703
- description: md`
81707
+ description: md$1`
81704
81708
  确认弹窗弹出前按列表顺序执行的操作。任一操作中止(例如表单校验未通过)将取消确认弹窗与请求。
81705
81709
 
81706
81710
  放在表单里的提交按钮应在此处首先触发所在表单的「校验」操作,使校验成为显式的提交前步骤。
@@ -81720,14 +81724,14 @@ function schema$1r(configure) {
81720
81724
  })),
81721
81725
  messageExpression: optional(CelMessage.annotations({
81722
81726
  title: "消息",
81723
- description: md`
81727
+ description: md$1`
81724
81728
  在响应体解析为 JSON 后对其求值,返回 \`string\`,作为 toast 显示。
81725
81729
  不配置则不显示。
81726
81730
  `
81727
81731
  })),
81728
81732
  resultExpression: optional(CelMessage.annotations({
81729
81733
  title: "执行结果",
81730
- description: md`
81734
+ description: md$1`
81731
81735
  在响应体解析为 JSON 后对其求值,返回 \`string\`。
81732
81736
  支持 \`'success' | 'warning' | 'error' | 'info'\`;其他值按 \`success\` 处理。不配置则按 \`success\` 处理。
81733
81737
 
@@ -81757,21 +81761,21 @@ function schema$1r(configure) {
81757
81761
  }
81758
81762
  const __vite_glob_0_0$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
81759
81763
  __proto__: null,
81760
- compatibilityDate: compatibilityDate$1u,
81761
- metadata: metadata$1r,
81762
- schema: schema$1r,
81763
- type: type$1u
81764
+ compatibilityDate: compatibilityDate$1v,
81765
+ metadata: metadata$1s,
81766
+ schema: schema$1s,
81767
+ type: type$1v
81764
81768
  }, Symbol.toStringTag, { value: "Module" }));
81765
81769
  const PAGE_TARGET_ID = "00000000-0000-0000-0000-000000000000";
81766
- const type$1t = "com.shwfed.operation.alert";
81767
- const compatibilityDate$1t = "2026-06-09";
81768
- const type$1s = "com.shwfed.actions.button.http.request.json";
81769
- const compatibilityDate$1s = "2026-04-18";
81770
- const metadata$1q = {
81770
+ const type$1u = "com.shwfed.operation.alert";
81771
+ const compatibilityDate$1u = "2026-06-09";
81772
+ const type$1t = "com.shwfed.actions.button.http.request.json";
81773
+ const compatibilityDate$1t = "2026-04-18";
81774
+ const metadata$1r = {
81771
81775
  name: "请求",
81772
81776
  icon: "fluent:cloud-arrow-up-20-regular"
81773
81777
  };
81774
- function schema$1q(configure) {
81778
+ function schema$1r(configure) {
81775
81779
  const CelHttpRequest = Expression({ configure, resultType: "HttpRequest" });
81776
81780
  const CelMessage = Expression({
81777
81781
  configure: (env) => {
@@ -81783,17 +81787,17 @@ function schema$1q(configure) {
81783
81787
  resultType: "string"
81784
81788
  });
81785
81789
  return Struct({
81786
- type: Literal2(type$1s),
81787
- compatibilityDate: Literal2(compatibilityDate$1s),
81790
+ type: Literal2(type$1t),
81791
+ compatibilityDate: Literal2(compatibilityDate$1t),
81788
81792
  expression: CelHttpRequest.annotations({
81789
81793
  title: "请求",
81790
- description: md`
81794
+ description: md$1`
81791
81795
  点击后将立即被求值,当 HTTP 请求被成功构造后,调度器将尽可能快地安排执行这个请求
81792
81796
  `
81793
81797
  }),
81794
81798
  before: optional(Triggers.annotations({
81795
81799
  title: "请求前",
81796
- description: md`
81800
+ description: md$1`
81797
81801
  请求发起前按列表顺序执行的操作。任一操作中止(例如表单校验未通过)将取消本次请求。
81798
81802
 
81799
81803
  放在表单里的提交按钮应在此处首先触发所在表单的「校验」操作,使校验成为显式的提交前步骤。
@@ -81801,14 +81805,14 @@ function schema$1q(configure) {
81801
81805
  })),
81802
81806
  messageExpression: optional(CelMessage.annotations({
81803
81807
  title: "消息",
81804
- description: md`
81808
+ description: md$1`
81805
81809
  在响应体解析为 JSON 后对其求值,返回 \`string\`,作为 toast 显示。
81806
81810
  不配置则不显示。
81807
81811
  `
81808
81812
  })),
81809
81813
  resultExpression: optional(CelMessage.annotations({
81810
81814
  title: "执行结果",
81811
- description: md`
81815
+ description: md$1`
81812
81816
  在响应体解析为 JSON 后对其求值,返回 \`string\`。
81813
81817
  支持 \`'success' | 'warning' | 'error' | 'info'\`;其他值按 \`success\` 处理。不配置则按 \`success\` 处理。
81814
81818
 
@@ -81837,7 +81841,7 @@ function schema$1q(configure) {
81837
81841
  });
81838
81842
  }
81839
81843
  const migrateFrom$m = [
81840
- { type: "com.shwfed.actions.button.http.request.json.confirm", compatibilityDate: compatibilityDate$1s }
81844
+ { type: "com.shwfed.actions.button.http.request.json.confirm", compatibilityDate: compatibilityDate$1t }
81841
81845
  ];
81842
81846
  const migrate$o = (prev) => try_({
81843
81847
  try: () => {
@@ -81852,15 +81856,15 @@ const migrate$o = (prev) => try_({
81852
81856
  if (color !== void 0) params.color = color;
81853
81857
  const alertTrigger = {
81854
81858
  target: PAGE_TARGET_ID,
81855
- operation: type$1t,
81856
- compatibilityDate: compatibilityDate$1t,
81859
+ operation: type$1u,
81860
+ compatibilityDate: compatibilityDate$1u,
81857
81861
  params
81858
81862
  };
81859
81863
  const prevBefore = Array.isArray(before) ? before : [];
81860
81864
  return {
81861
81865
  ...rest,
81862
- type: type$1s,
81863
- compatibilityDate: compatibilityDate$1s,
81866
+ type: type$1t,
81867
+ compatibilityDate: compatibilityDate$1t,
81864
81868
  before: [...prevBefore, alertTrigger]
81865
81869
  };
81866
81870
  },
@@ -81868,23 +81872,23 @@ const migrate$o = (prev) => try_({
81868
81872
  });
81869
81873
  const __vite_glob_0_1$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
81870
81874
  __proto__: null,
81871
- compatibilityDate: compatibilityDate$1s,
81872
- metadata: metadata$1q,
81875
+ compatibilityDate: compatibilityDate$1t,
81876
+ metadata: metadata$1r,
81873
81877
  migrate: migrate$o,
81874
81878
  migrateFrom: migrateFrom$m,
81875
- schema: schema$1q,
81876
- type: type$1s
81879
+ schema: schema$1r,
81880
+ type: type$1t
81877
81881
  }, Symbol.toStringTag, { value: "Module" }));
81878
- const type$1r = "com.shwfed.actions.button.prototype";
81879
- const compatibilityDate$1r = "2026-04-18";
81880
- const metadata$1p = {
81882
+ const type$1s = "com.shwfed.actions.button.prototype";
81883
+ const compatibilityDate$1s = "2026-04-18";
81884
+ const metadata$1q = {
81881
81885
  name: "原型",
81882
81886
  icon: "fluent:predictions-20-regular"
81883
81887
  };
81884
- function schema$1p(_configure) {
81888
+ function schema$1q(_configure) {
81885
81889
  return Struct({
81886
- type: Literal2(type$1r),
81887
- compatibilityDate: Literal2(compatibilityDate$1r)
81890
+ type: Literal2(type$1s),
81891
+ compatibilityDate: Literal2(compatibilityDate$1s)
81888
81892
  }).annotations({
81889
81893
  title: "PrototypeAction",
81890
81894
  description: "点击无副作用的原型按钮,可被一次性转换为其它类型"
@@ -81892,23 +81896,23 @@ function schema$1p(_configure) {
81892
81896
  }
81893
81897
  const __vite_glob_0_2$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
81894
81898
  __proto__: null,
81895
- compatibilityDate: compatibilityDate$1r,
81896
- metadata: metadata$1p,
81897
- schema: schema$1p,
81898
- type: type$1r
81899
+ compatibilityDate: compatibilityDate$1s,
81900
+ metadata: metadata$1q,
81901
+ schema: schema$1q,
81902
+ type: type$1s
81899
81903
  }, Symbol.toStringTag, { value: "Module" }));
81900
- const type$1q = "com.shwfed.actions.button.navigation";
81901
- const compatibilityDate$1q = "2026-04-21";
81902
- const metadata$1o = {
81904
+ const type$1r = "com.shwfed.actions.button.navigation";
81905
+ const compatibilityDate$1r = "2026-04-21";
81906
+ const metadata$1p = {
81903
81907
  name: "导航",
81904
81908
  icon: "fluent:link-20-regular"
81905
81909
  };
81906
81910
  const Mode = Literal2("_self", "_blank");
81907
- function schema$1o(configure) {
81911
+ function schema$1p(configure) {
81908
81912
  const CelUrl = Expression({ configure, resultType: "string" });
81909
81913
  return Struct({
81910
- type: Literal2(type$1q),
81911
- compatibilityDate: Literal2(compatibilityDate$1q),
81914
+ type: Literal2(type$1r),
81915
+ compatibilityDate: Literal2(compatibilityDate$1r),
81912
81916
  url: CelUrl.annotations({
81913
81917
  title: "链接",
81914
81918
  description: "点击后将打开的链接,返回 `string`"
@@ -81924,10 +81928,10 @@ function schema$1o(configure) {
81924
81928
  }
81925
81929
  const __vite_glob_0_3$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
81926
81930
  __proto__: null,
81927
- compatibilityDate: compatibilityDate$1q,
81928
- metadata: metadata$1o,
81929
- schema: schema$1o,
81930
- type: type$1q
81931
+ compatibilityDate: compatibilityDate$1r,
81932
+ metadata: metadata$1p,
81933
+ schema: schema$1p,
81934
+ type: type$1r
81931
81935
  }, Symbol.toStringTag, { value: "Module" }));
81932
81936
  const TrackCount = Number$.pipe(int(), positive());
81933
81937
  const GridCoord = Number$.pipe(int(), positive());
@@ -82063,9 +82067,9 @@ function registerBlockRef(configure, ref2) {
82063
82067
  function lookupBlockRef(configure) {
82064
82068
  return blockRefCache.get(configure);
82065
82069
  }
82066
- const type$1p = "com.shwfed.actions.button.modal.layout";
82067
- const compatibilityDate$1p = "2026-05-11";
82068
- const metadata$1n = {
82070
+ const type$1q = "com.shwfed.actions.button.modal.layout";
82071
+ const compatibilityDate$1q = "2026-05-11";
82072
+ const metadata$1o = {
82069
82073
  name: "模态窗口",
82070
82074
  icon: "fluent:window-edit-20-regular",
82071
82075
  drillable: true,
@@ -82076,12 +82080,12 @@ const metadata$1n = {
82076
82080
  const CssLength = String$.pipe(
82077
82081
  filter((s) => s.trim().length > 0 || "不能为空字符串")
82078
82082
  );
82079
- function schema$1n(configure) {
82083
+ function schema$1o(configure) {
82080
82084
  const blockUnion = lookupBlockRef(configure) ?? Unknown;
82081
82085
  const ModalSlot = Slot(blockUnion, configure);
82082
82086
  return Struct({
82083
- type: Literal2(type$1p),
82084
- compatibilityDate: Literal2(compatibilityDate$1p),
82087
+ type: Literal2(type$1q),
82088
+ compatibilityDate: Literal2(compatibilityDate$1q),
82085
82089
  modalTitle: optional(Locale.annotations({
82086
82090
  title: "弹窗标题",
82087
82091
  description: "弹窗顶部展示的本地化标题,支持行内 Markdown;不填则回退使用按钮自身的名称"
@@ -82110,27 +82114,27 @@ function defaultBody$a() {
82110
82114
  }
82111
82115
  const __vite_glob_0_4$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
82112
82116
  __proto__: null,
82113
- compatibilityDate: compatibilityDate$1p,
82117
+ compatibilityDate: compatibilityDate$1q,
82114
82118
  defaultBody: defaultBody$a,
82115
- metadata: metadata$1n,
82116
- schema: schema$1n,
82117
- type: type$1p
82119
+ metadata: metadata$1o,
82120
+ schema: schema$1o,
82121
+ type: type$1q
82118
82122
  }, Symbol.toStringTag, { value: "Module" }));
82119
82123
  const SELECTIONS_VAR = "selections";
82120
- const type$1o = "com.shwfed.operation.http.request.json";
82121
- const compatibilityDate$1o = "2026-06-11";
82122
- const type$1n = "com.shwfed.operation.navigation";
82123
- const compatibilityDate$1n = "2026-06-15";
82124
- const type$1m = "com.shwfed.actions.button.event.dispatch";
82125
- const compatibilityDate$1m = "2026-05-15";
82126
- const metadata$1m = {
82124
+ const type$1p = "com.shwfed.operation.http.request.json";
82125
+ const compatibilityDate$1p = "2026-06-11";
82126
+ const type$1o = "com.shwfed.operation.navigation";
82127
+ const compatibilityDate$1o = "2026-06-15";
82128
+ const type$1n = "com.shwfed.actions.button.event.dispatch";
82129
+ const compatibilityDate$1n = "2026-05-15";
82130
+ const metadata$1n = {
82127
82131
  name: "触发事件",
82128
82132
  icon: "fluent:flash-20-regular"
82129
82133
  };
82130
- function schema$1m(_configure) {
82134
+ function schema$1n(_configure) {
82131
82135
  return Struct({
82132
- type: Literal2(type$1m),
82133
- compatibilityDate: Literal2(compatibilityDate$1m),
82136
+ type: Literal2(type$1n),
82137
+ compatibilityDate: Literal2(compatibilityDate$1n),
82134
82138
  // This button's entire behaviour: the op-requests it bubbles up the
82135
82139
  // component tree on click. Stored on the button itself — there is no
82136
82140
  // host-level trigger field any more.
@@ -82179,24 +82183,24 @@ function migrateRequest(prev) {
82179
82183
  if (typeof resultExpression === "string" && resultExpression.length > 0) {
82180
82184
  params.resultExpression = resultExpression;
82181
82185
  }
82182
- const requestRow = pageOpRow(type$1o, compatibilityDate$1o, params);
82186
+ const requestRow = pageOpRow(type$1p, compatibilityDate$1p, params);
82183
82187
  const beforeRows = Array.isArray(before) ? before : [];
82184
82188
  const successRows = Array.isArray(onSuccess) ? onSuccess : [];
82185
82189
  return {
82186
82190
  ...rest,
82187
- type: type$1m,
82188
- compatibilityDate: compatibilityDate$1m,
82191
+ type: type$1n,
82192
+ compatibilityDate: compatibilityDate$1n,
82189
82193
  triggers: [...beforeRows, requestRow, ...successRows]
82190
82194
  };
82191
82195
  }
82192
82196
  function migrateNavigation(prev) {
82193
82197
  const { type: _t, compatibilityDate: _c, url, mode, ...rest } = prev;
82194
82198
  const params = { url, mode };
82195
- const row = pageOpRow(type$1n, compatibilityDate$1n, params);
82199
+ const row = pageOpRow(type$1o, compatibilityDate$1o, params);
82196
82200
  return {
82197
82201
  ...rest,
82198
- type: type$1m,
82199
- compatibilityDate: compatibilityDate$1m,
82202
+ type: type$1n,
82203
+ compatibilityDate: compatibilityDate$1n,
82200
82204
  triggers: [row]
82201
82205
  };
82202
82206
  }
@@ -82219,16 +82223,16 @@ const migrate$n = (prev) => try_({
82219
82223
  });
82220
82224
  const __vite_glob_0_5$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
82221
82225
  __proto__: null,
82222
- compatibilityDate: compatibilityDate$1m,
82223
- metadata: metadata$1m,
82226
+ compatibilityDate: compatibilityDate$1n,
82227
+ metadata: metadata$1n,
82224
82228
  migrate: migrate$n,
82225
82229
  migrateFrom: migrateFrom$l,
82226
- schema: schema$1m,
82227
- type: type$1m
82230
+ schema: schema$1n,
82231
+ type: type$1n
82228
82232
  }, Symbol.toStringTag, { value: "Module" }));
82229
- const type$1l = "com.shwfed.actions.button.http.download";
82230
- const compatibilityDate$1l = "2026-05-21";
82231
- const metadata$1l = {
82233
+ const type$1m = "com.shwfed.actions.button.http.download";
82234
+ const compatibilityDate$1m = "2026-05-21";
82235
+ const metadata$1m = {
82232
82236
  name: "下载文件",
82233
82237
  icon: "fluent:arrow-download-20-regular",
82234
82238
  // No structured migrate target — designers rebuild downloads by hand. Use a
@@ -82247,24 +82251,24 @@ function configureWithJson$6(configure) {
82247
82251
  env.registerVariable("json", JSON_VAR$6.type, { description: JSON_VAR$6.description });
82248
82252
  };
82249
82253
  }
82250
- function schema$1l(configure) {
82254
+ function schema$1m(configure) {
82251
82255
  const CelHttpRequest = Expression({ configure, resultType: "HttpRequest" });
82252
82256
  const CelDownloadRequest = Expression({ configure: configureWithJson$6(configure), resultType: "HttpRequest" });
82253
82257
  const CelMessage = Expression({ configure: configureWithJson$6(configure), resultType: "string" });
82254
82258
  return Struct({
82255
- type: Literal2(type$1l),
82256
- compatibilityDate: Literal2(compatibilityDate$1l),
82259
+ type: Literal2(type$1m),
82260
+ compatibilityDate: Literal2(compatibilityDate$1m),
82257
82261
  template: Struct({
82258
82262
  request: CelHttpRequest.annotations({
82259
82263
  title: "请求",
82260
- description: md`
82264
+ description: md$1`
82261
82265
  返回 \`HttpRequest\` 的 CEL 表达式。未配置「下载请求」时直接作为文件下载请求;
82262
82266
  配置了「下载请求」时作为第一步请求,其响应体(JSON)通过 \`json\` 暴露给「下载请求」与状态表达式
82263
82267
  `
82264
82268
  }),
82265
82269
  download: optional(CelDownloadRequest.annotations({
82266
82270
  title: "下载请求",
82267
- description: md`
82271
+ description: md$1`
82268
82272
  可选的第二步:返回 \`HttpRequest\` 的 CEL 表达式,可通过 \`json\` 引用第一步的响应体,
82269
82273
  例如用 \`json.data.key\` 构造真正的下载请求
82270
82274
  `
@@ -82275,14 +82279,14 @@ function schema$1l(configure) {
82275
82279
  }),
82276
82280
  messageExpression: optional(CelMessage.annotations({
82277
82281
  title: "消息",
82278
- description: md`
82282
+ description: md$1`
82279
82283
  仅当配置了「下载请求」时生效;对第一步响应体(\`json\`)求值,返回 \`string\` 作为 toast 显示。
82280
82284
  不配置则不显示。未配置「下载请求」时被忽略。
82281
82285
  `
82282
82286
  })),
82283
82287
  resultExpression: optional(CelMessage.annotations({
82284
82288
  title: "执行结果",
82285
- description: md`
82289
+ description: md$1`
82286
82290
  仅当配置了「下载请求」时生效;对第一步响应体(\`json\`)求值,返回 \`string\`。
82287
82291
  支持 \`'success' | 'warning' | 'error' | 'info'\`;其他值按 \`success\` 处理。不配置则按 \`success\` 处理。
82288
82292
 
@@ -82316,28 +82320,28 @@ function schema$1l(configure) {
82316
82320
  const __vite_glob_0_6$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
82317
82321
  __proto__: null,
82318
82322
  JSON_VAR: JSON_VAR$6,
82319
- compatibilityDate: compatibilityDate$1l,
82320
- metadata: metadata$1l,
82321
- schema: schema$1l,
82322
- type: type$1l
82323
+ compatibilityDate: compatibilityDate$1m,
82324
+ metadata: metadata$1m,
82325
+ schema: schema$1m,
82326
+ type: type$1m
82323
82327
  }, Symbol.toStringTag, { value: "Module" }));
82324
- const type$1k = "com.shwfed.actions.button.state.write";
82325
- const compatibilityDate$1k = "2026-05-24";
82326
- const metadata$1k = {
82328
+ const type$1l = "com.shwfed.actions.button.state.write";
82329
+ const compatibilityDate$1l = "2026-05-24";
82330
+ const metadata$1l = {
82327
82331
  name: "写入表单状态",
82328
82332
  icon: "fluent:document-edit-20-regular"
82329
82333
  };
82330
- function schema$1k(configure) {
82334
+ function schema$1l(configure) {
82331
82335
  const CelRecord = Expression({
82332
82336
  configure,
82333
82337
  resultType: (t) => t === "dyn" || t.startsWith("map")
82334
82338
  });
82335
82339
  return Struct({
82336
- type: Literal2(type$1k),
82337
- compatibilityDate: Literal2(compatibilityDate$1k),
82340
+ type: Literal2(type$1l),
82341
+ compatibilityDate: Literal2(compatibilityDate$1l),
82338
82342
  expression: CelRecord.annotations({
82339
82343
  title: "写入值",
82340
- description: md`
82344
+ description: md$1`
82341
82345
  点击后求值,返回一个 \`map\`。其每个顶层键都会被写入到最近祖先的表单状态中:
82342
82346
  对象值与当前值深合并(数组整体替换),其他类型直接替换。
82343
82347
  返回 \`{}\` 表示不进行任何写入。
@@ -82354,19 +82358,19 @@ function schema$1k(configure) {
82354
82358
  }
82355
82359
  const __vite_glob_0_7$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
82356
82360
  __proto__: null,
82357
- compatibilityDate: compatibilityDate$1k,
82358
- metadata: metadata$1k,
82359
- schema: schema$1k,
82360
- type: type$1k
82361
+ compatibilityDate: compatibilityDate$1l,
82362
+ metadata: metadata$1l,
82363
+ schema: schema$1l,
82364
+ type: type$1l
82361
82365
  }, Symbol.toStringTag, { value: "Module" }));
82362
- const type$1j = "com.shwfed.actions.button.http.request.json.batch";
82363
- const compatibilityDate$1j = "2026-06-08";
82364
- const metadata$1j = {
82366
+ const type$1k = "com.shwfed.actions.button.http.request.json.batch";
82367
+ const compatibilityDate$1k = "2026-06-08";
82368
+ const metadata$1k = {
82365
82369
  name: "批量请求",
82366
82370
  icon: "fluent:cloud-arrow-up-20-regular"
82367
82371
  };
82368
82372
  const isHttpRequestList = (t) => t === "dyn" || t === "list" || t === "list<dyn>" || t === "list<HttpRequest>";
82369
- function schema$1j(configure) {
82373
+ function schema$1k(configure) {
82370
82374
  const CelHttpRequestList = Expression({ configure, resultType: isHttpRequestList });
82371
82375
  const CelMessage = Expression({
82372
82376
  configure: (env) => {
@@ -82387,18 +82391,18 @@ function schema$1j(configure) {
82387
82391
  resultType: "bool"
82388
82392
  });
82389
82393
  return Struct({
82390
- type: Literal2(type$1j),
82391
- compatibilityDate: Literal2(compatibilityDate$1j),
82394
+ type: Literal2(type$1k),
82395
+ compatibilityDate: Literal2(compatibilityDate$1k),
82392
82396
  expression: CelHttpRequestList.annotations({
82393
82397
  title: "请求列表",
82394
- description: md`
82398
+ description: md$1`
82395
82399
  点击后将立即被求值,返回一个 \`HttpRequest\` 列表。调度器将按列表顺序逐个发起请求,
82396
82400
  并在弹窗中显示进度。
82397
82401
  `
82398
82402
  }),
82399
82403
  before: optional(Triggers.annotations({
82400
82404
  title: "请求前",
82401
- description: md`
82405
+ description: md$1`
82402
82406
  整批请求发起前按列表顺序执行的操作。任一操作中止(例如表单校验未通过)将取消本次批量请求。
82403
82407
 
82404
82408
  放在表单里的提交按钮应在此处首先触发所在表单的「校验」操作,使校验成为显式的提交前步骤。
@@ -82406,7 +82410,7 @@ function schema$1j(configure) {
82406
82410
  })),
82407
82411
  markdown: optional(Locale.annotations({
82408
82412
  title: "进度信息",
82409
- description: md`
82413
+ description: md$1`
82410
82414
  进度弹窗内显示的信息,支持 \`{{ expression }}\` 插值。可用变量:
82411
82415
  \`total\`(请求总数)、\`succeeded\`(成功数)、\`failure\`(失败数)。
82412
82416
 
@@ -82415,21 +82419,21 @@ function schema$1j(configure) {
82415
82419
  })),
82416
82420
  continueOnError: optional(Boolean$.annotations({
82417
82421
  title: "失败时继续",
82418
- description: md`
82422
+ description: md$1`
82419
82423
  开启后,单个请求失败不会中断整批 —— 失败项被跳过,继续发起后续请求。
82420
82424
  缺省(关闭)时,遇到第一个失败即终止整批。
82421
82425
  `
82422
82426
  })),
82423
82427
  messageExpression: optional(CelMessage.annotations({
82424
82428
  title: "消息",
82425
- description: md`
82429
+ description: md$1`
82426
82430
  整批完成后对成功响应体列表 \`jsons\` 求值,返回 \`string\`,作为 toast 显示。
82427
82431
  无失败时为成功样式,否则为错误样式。不配置则不显示。
82428
82432
  `
82429
82433
  })),
82430
82434
  resultExpression: optional(CelResult.annotations({
82431
82435
  title: "执行结果",
82432
- description: md`
82436
+ description: md$1`
82433
82437
  对**每一条**响应体 \`json\` 求值,返回 \`bool\` —— \`true\` 视为该条成功、\`false\` 视为失败。
82434
82438
  不配置时,任何未报错的响应都视为成功。
82435
82439
 
@@ -82443,25 +82447,25 @@ function schema$1j(configure) {
82443
82447
  }
82444
82448
  const __vite_glob_0_8$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
82445
82449
  __proto__: null,
82446
- compatibilityDate: compatibilityDate$1j,
82447
- metadata: metadata$1j,
82448
- schema: schema$1j,
82449
- type: type$1j
82450
+ compatibilityDate: compatibilityDate$1k,
82451
+ metadata: metadata$1k,
82452
+ schema: schema$1k,
82453
+ type: type$1k
82450
82454
  }, Symbol.toStringTag, { value: "Module" }));
82451
- const type$1i = "com.shwfed.actions.item.markdown";
82452
- const compatibilityDate$1i = "2026-05-21";
82453
- const metadata$1i = {
82455
+ const type$1j = "com.shwfed.actions.item.markdown";
82456
+ const compatibilityDate$1j = "2026-05-21";
82457
+ const metadata$1j = {
82454
82458
  name: "内联 Markdown",
82455
82459
  icon: "fluent:markdown-20-regular"
82456
82460
  };
82457
- function schema$1i(_configure) {
82461
+ function schema$1j(_configure) {
82458
82462
  return Struct({
82459
82463
  id: UUID.annotations({ description: "Markdown 项唯一标识" }),
82460
82464
  // Present when the item sits at group level; absent when it lives as a
82461
82465
  // dropdown sub-item (the parent is the dropdown itself).
82462
82466
  groupId: optional(UUID.annotations({ description: "所属按钮组标识" })),
82463
- type: Literal2(type$1i),
82464
- compatibilityDate: Literal2(compatibilityDate$1i),
82467
+ type: Literal2(type$1j),
82468
+ compatibilityDate: Literal2(compatibilityDate$1j),
82465
82469
  name: String$.annotations({
82466
82470
  title: "内部名称",
82467
82471
  description: "仅用于编辑器内识别该 Markdown 项,不会展示给最终用户"
@@ -82477,10 +82481,10 @@ function schema$1i(_configure) {
82477
82481
  }
82478
82482
  const __vite_glob_3_0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
82479
82483
  __proto__: null,
82480
- compatibilityDate: compatibilityDate$1i,
82481
- metadata: metadata$1i,
82482
- schema: schema$1i,
82483
- type: type$1i
82484
+ compatibilityDate: compatibilityDate$1j,
82485
+ metadata: metadata$1j,
82486
+ schema: schema$1j,
82487
+ type: type$1j
82484
82488
  }, Symbol.toStringTag, { value: "Module" }));
82485
82489
  function createResult(...args2) {
82486
82490
  if (args2.length === 0) {
@@ -83030,7 +83034,7 @@ function ActionSchemaFields(configure) {
83030
83034
  variant: optional(Variant.annotations({ title: "变体" })),
83031
83035
  hideTitle: optional(Boolean$.annotations({
83032
83036
  title: "仅显示图标",
83033
- description: md`
83037
+ description: md$1`
83034
83038
  隐藏按钮文字内容,仅显示其图标。常见于有一定关联隐喻的按钮,如
83035
83039
 
83036
83040
  - 异步下载与下载历史:下载历史仅展示历史图标
@@ -83084,7 +83088,7 @@ function ActionSchemaFields(configure) {
83084
83088
  })),
83085
83089
  hideTitle: optional(Boolean$.annotations({
83086
83090
  title: "仅显示图标",
83087
- description: md`
83091
+ description: md$1`
83088
83092
  隐藏下拉按钮触发器的文字内容,仅显示其图标。常见于有一定关联隐喻的下拉按钮,如
83089
83093
 
83090
83094
  - 异步下载与下载历史:下载历史仅展示历史图标
@@ -83106,7 +83110,7 @@ function ActionSchemaFields(configure) {
83106
83110
  id: UUID.annotations({ description: "按钮组唯一标识" }),
83107
83111
  variant: optional(Variant.annotations({
83108
83112
  title: "按钮组变体",
83109
- description: md`
83113
+ description: md$1`
83110
83114
  设置默认的按钮组变体。
83111
83115
 
83112
83116
  在该按钮组内新建的按钮,将会默认使用这个变体
@@ -83170,20 +83174,20 @@ function defaultActionsConfig() {
83170
83174
  items: []
83171
83175
  };
83172
83176
  }
83173
- const type$1h = "com.shwfed.block.actions";
83174
- const compatibilityDate$1h = "2026-05-06";
83175
- const metadata$1h = {
83177
+ const type$1i = "com.shwfed.block.actions";
83178
+ const compatibilityDate$1i = "2026-05-06";
83179
+ const metadata$1i = {
83176
83180
  name: "操作按钮",
83177
83181
  icon: "fluent:cursor-click-20-regular",
83178
83182
  w: { initial: 8, min: 8, max: Infinity },
83179
83183
  h: { initial: 2, min: 2, max: Infinity }
83180
83184
  };
83181
- function schema$1h(configure, _blockRef) {
83185
+ function schema$1i(configure, _blockRef) {
83182
83186
  const ActionsSchema = ActionsConfig(configure);
83183
83187
  return Struct({
83184
83188
  id: UUID.annotations({ description: "块唯一标识" }),
83185
- type: tag(type$1h),
83186
- compatibilityDate: tag(compatibilityDate$1h),
83189
+ type: tag(type$1i),
83190
+ compatibilityDate: tag(compatibilityDate$1i),
83187
83191
  actions: ActionsSchema.annotations({
83188
83192
  title: "操作按钮配置",
83189
83193
  description: "内嵌的 Actions 组件配置"
@@ -83198,18 +83202,18 @@ function defaultBody$9() {
83198
83202
  }
83199
83203
  const __vite_glob_0_0$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
83200
83204
  __proto__: null,
83201
- compatibilityDate: compatibilityDate$1h,
83205
+ compatibilityDate: compatibilityDate$1i,
83202
83206
  defaultBody: defaultBody$9,
83203
- metadata: metadata$1h,
83204
- schema: schema$1h,
83205
- type: type$1h
83207
+ metadata: metadata$1i,
83208
+ schema: schema$1i,
83209
+ type: type$1i
83206
83210
  }, Symbol.toStringTag, { value: "Module" }));
83207
83211
  function validationRuleStruct(configure) {
83208
83212
  const CelBool = Expression({ configure, resultType: "bool" });
83209
83213
  return Struct({
83210
83214
  when: CelBool.annotations({
83211
83215
  title: "规则",
83212
- description: md`
83216
+ description: md$1`
83213
83217
  返回 \`true\` 时视为校验**未**通过,返回 \`false\` 视为通过
83214
83218
  `
83215
83219
  }),
@@ -83275,7 +83279,7 @@ function derivedField(configure, resultType) {
83275
83279
  })
83276
83280
  }).annotations({
83277
83281
  title: "派生值",
83278
- description: md`
83282
+ description: md$1`
83279
83283
  该字段值的**派生来源**:
83280
83284
 
83281
83285
  - **计算值**:字段变为只读,其值始终由表达式计算得出,依赖字段提交时重算。
@@ -83285,18 +83289,18 @@ function derivedField(configure, resultType) {
83285
83289
  })
83286
83290
  );
83287
83291
  }
83288
- const type$1g = "com.shwfed.form.field.markdown";
83289
- const compatibilityDate$1g = "2026-04-22";
83290
- const metadata$1g = {
83292
+ const type$1h = "com.shwfed.form.field.markdown";
83293
+ const compatibilityDate$1h = "2026-04-22";
83294
+ const metadata$1h = {
83291
83295
  name: "Markdown",
83292
83296
  icon: "fluent:markdown-20-regular",
83293
83297
  w: { initial: 8, min: 2, max: Infinity },
83294
83298
  h: { initial: 2, min: 2, max: Infinity, grow: true }
83295
83299
  };
83296
- function schema$1g(configure) {
83300
+ function schema$1h(configure) {
83297
83301
  return Struct({
83298
- type: Literal2(type$1g),
83299
- compatibilityDate: Literal2(compatibilityDate$1g),
83302
+ type: Literal2(type$1h),
83303
+ compatibilityDate: Literal2(compatibilityDate$1h),
83300
83304
  ...commonFieldFields(configure),
83301
83305
  content: LocaleMarkdown({ configure }).annotations({
83302
83306
  title: "内容",
@@ -83309,10 +83313,10 @@ function schema$1g(configure) {
83309
83313
  }
83310
83314
  const __vite_glob_0_0$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
83311
83315
  __proto__: null,
83312
- compatibilityDate: compatibilityDate$1g,
83313
- metadata: metadata$1g,
83314
- schema: schema$1g,
83315
- type: type$1g
83316
+ compatibilityDate: compatibilityDate$1h,
83317
+ metadata: metadata$1h,
83318
+ schema: schema$1h,
83319
+ type: type$1h
83316
83320
  }, Symbol.toStringTag, { value: "Module" }));
83317
83321
  function AddonActions$1(configure) {
83318
83322
  const { groups, items: items2, ...rest } = ActionSchemaFields(configure).fields;
@@ -83325,19 +83329,19 @@ function AddonActions$1(configure) {
83325
83329
  description: "在输入框右侧内嵌一组操作按钮"
83326
83330
  });
83327
83331
  }
83328
- const type$1f = "com.shwfed.form.field.text";
83329
- const compatibilityDate$1f = "2026-04-22";
83330
- const metadata$1f = {
83332
+ const type$1g = "com.shwfed.form.field.text";
83333
+ const compatibilityDate$1g = "2026-04-22";
83334
+ const metadata$1g = {
83331
83335
  name: "文本输入",
83332
83336
  icon: "fluent:text-field-20-regular",
83333
83337
  w: { initial: 8, min: 4, max: Infinity },
83334
83338
  h: { initial: 2, min: 2, max: 2 }
83335
83339
  };
83336
- function schema$1f(configure) {
83340
+ function schema$1g(configure) {
83337
83341
  const CelBool = Expression({ configure, resultType: "bool" });
83338
83342
  return Struct({
83339
- type: Literal2(type$1f),
83340
- compatibilityDate: Literal2(compatibilityDate$1f),
83343
+ type: Literal2(type$1g),
83344
+ compatibilityDate: Literal2(compatibilityDate$1g),
83341
83345
  ...commonFieldFields(configure),
83342
83346
  label: optional(Locale.annotations({
83343
83347
  title: "标签",
@@ -83373,24 +83377,24 @@ function schema$1f(configure) {
83373
83377
  }
83374
83378
  const __vite_glob_0_1$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
83375
83379
  __proto__: null,
83376
- compatibilityDate: compatibilityDate$1f,
83377
- metadata: metadata$1f,
83378
- schema: schema$1f,
83379
- type: type$1f
83380
+ compatibilityDate: compatibilityDate$1g,
83381
+ metadata: metadata$1g,
83382
+ schema: schema$1g,
83383
+ type: type$1g
83380
83384
  }, Symbol.toStringTag, { value: "Module" }));
83381
- const type$1e = "com.shwfed.form.field.textarea";
83382
- const compatibilityDate$1e = "2026-04-22";
83383
- const metadata$1e = {
83385
+ const type$1f = "com.shwfed.form.field.textarea";
83386
+ const compatibilityDate$1f = "2026-04-22";
83387
+ const metadata$1f = {
83384
83388
  name: "多行文本输入",
83385
83389
  icon: "fluent:text-description-20-regular",
83386
83390
  w: { initial: 8, min: 4, max: Infinity },
83387
83391
  h: { initial: 3, min: 2, max: Infinity, grow: true }
83388
83392
  };
83389
- function schema$1e(configure) {
83393
+ function schema$1f(configure) {
83390
83394
  const CelBool = Expression({ configure, resultType: "bool" });
83391
83395
  return Struct({
83392
- type: Literal2(type$1e),
83393
- compatibilityDate: Literal2(compatibilityDate$1e),
83396
+ type: Literal2(type$1f),
83397
+ compatibilityDate: Literal2(compatibilityDate$1f),
83394
83398
  ...commonFieldFields(configure),
83395
83399
  label: optional(Locale.annotations({
83396
83400
  title: "标签",
@@ -83429,14 +83433,14 @@ function schema$1e(configure) {
83429
83433
  }
83430
83434
  const __vite_glob_0_2$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
83431
83435
  __proto__: null,
83432
- compatibilityDate: compatibilityDate$1e,
83433
- metadata: metadata$1e,
83434
- schema: schema$1e,
83435
- type: type$1e
83436
+ compatibilityDate: compatibilityDate$1f,
83437
+ metadata: metadata$1f,
83438
+ schema: schema$1f,
83439
+ type: type$1f
83436
83440
  }, Symbol.toStringTag, { value: "Module" }));
83437
- const type$1d = "com.shwfed.form.field.actions";
83438
- const compatibilityDate$1d = "2026-04-24";
83439
- const metadata$1d = {
83441
+ const type$1e = "com.shwfed.form.field.actions";
83442
+ const compatibilityDate$1e = "2026-04-24";
83443
+ const metadata$1e = {
83440
83444
  name: "操作",
83441
83445
  icon: "fluent:cursor-click-20-regular",
83442
83446
  w: { initial: 8, min: 4, max: Infinity },
@@ -83445,12 +83449,12 @@ const metadata$1d = {
83445
83449
  // fullscreen inline-config pane; keep the (fullscreen-exiting) drill-down.
83446
83450
  inlineConfig: false
83447
83451
  };
83448
- function schema$1d(configure) {
83452
+ function schema$1e(configure) {
83449
83453
  const { fields: actionFields } = ActionSchemaFields(configure);
83450
83454
  const { groups, items: items2, ...rest } = actionFields;
83451
83455
  return Struct({
83452
- type: Literal2(type$1d),
83453
- compatibilityDate: Literal2(compatibilityDate$1d),
83456
+ type: Literal2(type$1e),
83457
+ compatibilityDate: Literal2(compatibilityDate$1e),
83454
83458
  ...commonFieldFields(configure),
83455
83459
  ...rest,
83456
83460
  // Form's add-field factory creates new fields with only { type, compatibilityDate, id },
@@ -83464,14 +83468,14 @@ function schema$1d(configure) {
83464
83468
  }
83465
83469
  const __vite_glob_0_3$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
83466
83470
  __proto__: null,
83467
- compatibilityDate: compatibilityDate$1d,
83468
- metadata: metadata$1d,
83469
- schema: schema$1d,
83470
- type: type$1d
83471
+ compatibilityDate: compatibilityDate$1e,
83472
+ metadata: metadata$1e,
83473
+ schema: schema$1e,
83474
+ type: type$1e
83471
83475
  }, Symbol.toStringTag, { value: "Module" }));
83472
- const type$1c = "com.shwfed.form.field.combobox.single";
83473
- const compatibilityDate$1c = "2026-04-24";
83474
- const metadata$1c = {
83476
+ const type$1d = "com.shwfed.form.field.combobox.single";
83477
+ const compatibilityDate$1d = "2026-04-24";
83478
+ const metadata$1d = {
83475
83479
  name: "下拉单选",
83476
83480
  icon: "fluent:chevron-down-20-regular",
83477
83481
  w: { initial: 8, min: 4, max: Infinity },
@@ -83484,14 +83488,14 @@ function configureWithOption$6(configure) {
83484
83488
  };
83485
83489
  }
83486
83490
  const isListType$h = (actual) => actual === "dyn" || actual.startsWith("list");
83487
- function schema$1c(configure) {
83491
+ function schema$1d(configure) {
83488
83492
  const CelBool = Expression({ configure, resultType: "bool" });
83489
83493
  const CelOptions = Expression({ configure, resultType: isListType$h });
83490
83494
  const CelOptionValue = Expression({ configure: configureWithOption$6(configure), resultType: "dyn" });
83491
83495
  const LocaleOptionLabel = LocaleMarkdown({ configure: configureWithOption$6(configure) });
83492
83496
  return Struct({
83493
- type: Literal2(type$1c),
83494
- compatibilityDate: Literal2(compatibilityDate$1c),
83497
+ type: Literal2(type$1d),
83498
+ compatibilityDate: Literal2(compatibilityDate$1d),
83495
83499
  ...commonFieldFields(configure),
83496
83500
  label: optional(Locale.annotations({
83497
83501
  title: "标签",
@@ -83538,14 +83542,14 @@ function schema$1c(configure) {
83538
83542
  }
83539
83543
  const __vite_glob_0_4$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
83540
83544
  __proto__: null,
83541
- compatibilityDate: compatibilityDate$1c,
83542
- metadata: metadata$1c,
83543
- schema: schema$1c,
83544
- type: type$1c
83545
+ compatibilityDate: compatibilityDate$1d,
83546
+ metadata: metadata$1d,
83547
+ schema: schema$1d,
83548
+ type: type$1d
83545
83549
  }, Symbol.toStringTag, { value: "Module" }));
83546
- const type$1b = "com.shwfed.form.field.date";
83547
- const compatibilityDate$1b = "2026-04-27";
83548
- const metadata$1b = {
83550
+ const type$1c = "com.shwfed.form.field.date";
83551
+ const compatibilityDate$1c = "2026-04-27";
83552
+ const metadata$1c = {
83549
83553
  name: "日期",
83550
83554
  icon: "fluent:calendar-ltr-20-regular",
83551
83555
  w: { initial: 8, min: 4, max: Infinity },
@@ -83567,12 +83571,12 @@ function presetSchema$6(configure) {
83567
83571
  title: "DateFieldPreset"
83568
83572
  });
83569
83573
  }
83570
- function schema$1b(configure) {
83574
+ function schema$1c(configure) {
83571
83575
  const CelBool = Expression({ configure, resultType: "bool" });
83572
83576
  const Preset = presetSchema$6(configure);
83573
83577
  return Struct({
83574
- type: Literal2(type$1b),
83575
- compatibilityDate: Literal2(compatibilityDate$1b),
83578
+ type: Literal2(type$1c),
83579
+ compatibilityDate: Literal2(compatibilityDate$1c),
83576
83580
  ...commonFieldFields(configure),
83577
83581
  label: optional(Locale.annotations({
83578
83582
  title: "标签",
@@ -83619,14 +83623,14 @@ function schema$1b(configure) {
83619
83623
  }
83620
83624
  const __vite_glob_0_5$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
83621
83625
  __proto__: null,
83622
- compatibilityDate: compatibilityDate$1b,
83623
- metadata: metadata$1b,
83626
+ compatibilityDate: compatibilityDate$1c,
83627
+ metadata: metadata$1c,
83624
83628
  presetSchema: presetSchema$6,
83625
- schema: schema$1b,
83626
- type: type$1b
83629
+ schema: schema$1c,
83630
+ type: type$1c
83627
83631
  }, Symbol.toStringTag, { value: "Module" }));
83628
- const type$1a = "com.shwfed.form.field.daterange";
83629
- const compatibilityDate$1a = "2026-04-27";
83632
+ const type$1b = "com.shwfed.form.field.daterange";
83633
+ const compatibilityDate$1b = "2026-04-27";
83630
83634
  const BindingPath$4 = String$.pipe(minLength(1));
83631
83635
  const SplitBinding$4 = Tuple(BindingPath$4, BindingPath$4).pipe(
83632
83636
  filter(([a, b]) => a !== b, {
@@ -83637,7 +83641,7 @@ const bindingSchema$4 = Union2(BindingPath$4, SplitBinding$4).annotations({
83637
83641
  title: "绑定路径",
83638
83642
  description: "写入表单状态的 `dot-prop` 路径;填写单个路径时写入 `[start, end]` 字符串数组,例如 `event.range`;填写 `[起始路径, 结束路径]` 元组时分别写入两端;留空则为非受控字段"
83639
83643
  });
83640
- const metadata$1a = {
83644
+ const metadata$1b = {
83641
83645
  name: "日期范围",
83642
83646
  icon: "fluent:calendar-arrow-right-20-regular",
83643
83647
  w: { initial: 10, min: 10, max: Infinity },
@@ -83663,12 +83667,12 @@ function presetSchema$5(configure) {
83663
83667
  title: "DateRangeFieldPreset"
83664
83668
  });
83665
83669
  }
83666
- function schema$1a(configure) {
83670
+ function schema$1b(configure) {
83667
83671
  const CelBool = Expression({ configure, resultType: "bool" });
83668
83672
  const Preset = presetSchema$5(configure);
83669
83673
  return Struct({
83670
- type: Literal2(type$1a),
83671
- compatibilityDate: Literal2(compatibilityDate$1a),
83674
+ type: Literal2(type$1b),
83675
+ compatibilityDate: Literal2(compatibilityDate$1b),
83672
83676
  ...commonFieldFields(configure),
83673
83677
  label: optional(Locale.annotations({
83674
83678
  title: "标签",
@@ -83722,21 +83726,21 @@ function schema$1a(configure) {
83722
83726
  description: "日期范围选择输入"
83723
83727
  });
83724
83728
  }
83725
- function defaults$E() {
83729
+ function defaults$F() {
83726
83730
  return { rangeSeparatorIcon: "fluent:arrow-right-20-regular" };
83727
83731
  }
83728
83732
  const __vite_glob_0_6$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
83729
83733
  __proto__: null,
83730
- compatibilityDate: compatibilityDate$1a,
83731
- defaults: defaults$E,
83732
- metadata: metadata$1a,
83734
+ compatibilityDate: compatibilityDate$1b,
83735
+ defaults: defaults$F,
83736
+ metadata: metadata$1b,
83733
83737
  presetSchema: presetSchema$5,
83734
- schema: schema$1a,
83735
- type: type$1a
83738
+ schema: schema$1b,
83739
+ type: type$1b
83736
83740
  }, Symbol.toStringTag, { value: "Module" }));
83737
- const type$19 = "com.shwfed.form.field.datetime";
83738
- const compatibilityDate$19 = "2026-04-27";
83739
- const metadata$19 = {
83741
+ const type$1a = "com.shwfed.form.field.datetime";
83742
+ const compatibilityDate$1a = "2026-04-27";
83743
+ const metadata$1a = {
83740
83744
  name: "日期时间",
83741
83745
  icon: "fluent:calendar-clock-20-regular",
83742
83746
  w: { initial: 8, min: 4, max: Infinity },
@@ -83768,12 +83772,12 @@ function presetSchema$4(configure) {
83768
83772
  title: "DateTimeFieldPreset"
83769
83773
  });
83770
83774
  }
83771
- function schema$19(configure) {
83775
+ function schema$1a(configure) {
83772
83776
  const CelBool = Expression({ configure, resultType: "bool" });
83773
83777
  const Preset = presetSchema$4(configure);
83774
83778
  return Struct({
83775
- type: Literal2(type$19),
83776
- compatibilityDate: Literal2(compatibilityDate$19),
83779
+ type: Literal2(type$1a),
83780
+ compatibilityDate: Literal2(compatibilityDate$1a),
83777
83781
  ...commonFieldFields(configure),
83778
83782
  label: optional(Locale.annotations({
83779
83783
  title: "标签",
@@ -83831,14 +83835,14 @@ const __vite_glob_0_7$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
83831
83835
  HOUR_CYCLE_OPTIONS: HOUR_CYCLE_OPTIONS$3,
83832
83836
  TIME_GRANULARITIES: TIME_GRANULARITIES$3,
83833
83837
  TIME_GRANULARITY_OPTIONS: TIME_GRANULARITY_OPTIONS$3,
83834
- compatibilityDate: compatibilityDate$19,
83835
- metadata: metadata$19,
83838
+ compatibilityDate: compatibilityDate$1a,
83839
+ metadata: metadata$1a,
83836
83840
  presetSchema: presetSchema$4,
83837
- schema: schema$19,
83838
- type: type$19
83841
+ schema: schema$1a,
83842
+ type: type$1a
83839
83843
  }, Symbol.toStringTag, { value: "Module" }));
83840
- const type$18 = "com.shwfed.form.field.datetimerange";
83841
- const compatibilityDate$18 = "2026-04-27";
83844
+ const type$19 = "com.shwfed.form.field.datetimerange";
83845
+ const compatibilityDate$19 = "2026-04-27";
83842
83846
  const BindingPath$3 = String$.pipe(minLength(1));
83843
83847
  const SplitBinding$3 = Tuple(BindingPath$3, BindingPath$3).pipe(
83844
83848
  filter(([a, b]) => a !== b, {
@@ -83849,7 +83853,7 @@ const bindingSchema$3 = Union2(BindingPath$3, SplitBinding$3).annotations({
83849
83853
  title: "绑定路径",
83850
83854
  description: "写入表单状态的 `dot-prop` 路径;填写单个路径时写入 `[start, end]` 字符串数组,例如 `event.range`;填写 `[起始路径, 结束路径]` 元组时分别写入两端;留空则为非受控字段"
83851
83855
  });
83852
- const metadata$18 = {
83856
+ const metadata$19 = {
83853
83857
  name: "日期时间范围",
83854
83858
  icon: "fluent:calendar-clock-20-regular",
83855
83859
  w: { initial: 14, min: 14, max: Infinity },
@@ -83885,12 +83889,12 @@ function presetSchema$3(configure) {
83885
83889
  title: "DateTimeRangeFieldPreset"
83886
83890
  });
83887
83891
  }
83888
- function schema$18(configure) {
83892
+ function schema$19(configure) {
83889
83893
  const CelBool = Expression({ configure, resultType: "bool" });
83890
83894
  const Preset = presetSchema$3(configure);
83891
83895
  return Struct({
83892
- type: Literal2(type$18),
83893
- compatibilityDate: Literal2(compatibilityDate$18),
83896
+ type: Literal2(type$19),
83897
+ compatibilityDate: Literal2(compatibilityDate$19),
83894
83898
  ...commonFieldFields(configure),
83895
83899
  label: optional(Locale.annotations({
83896
83900
  title: "标签",
@@ -83952,7 +83956,7 @@ function schema$18(configure) {
83952
83956
  description: "日期时间范围选择输入"
83953
83957
  });
83954
83958
  }
83955
- function defaults$D() {
83959
+ function defaults$E() {
83956
83960
  return { rangeSeparatorIcon: "fluent:arrow-right-20-regular" };
83957
83961
  }
83958
83962
  const __vite_glob_0_8$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -83960,16 +83964,16 @@ const __vite_glob_0_8$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
83960
83964
  HOUR_CYCLE_OPTIONS: HOUR_CYCLE_OPTIONS$2,
83961
83965
  TIME_GRANULARITIES: TIME_GRANULARITIES$2,
83962
83966
  TIME_GRANULARITY_OPTIONS: TIME_GRANULARITY_OPTIONS$2,
83963
- compatibilityDate: compatibilityDate$18,
83964
- defaults: defaults$D,
83965
- metadata: metadata$18,
83967
+ compatibilityDate: compatibilityDate$19,
83968
+ defaults: defaults$E,
83969
+ metadata: metadata$19,
83966
83970
  presetSchema: presetSchema$3,
83967
- schema: schema$18,
83968
- type: type$18
83971
+ schema: schema$19,
83972
+ type: type$19
83969
83973
  }, Symbol.toStringTag, { value: "Module" }));
83970
- const type$17 = "com.shwfed.form.field.time";
83971
- const compatibilityDate$17 = "2026-04-27";
83972
- const metadata$17 = {
83974
+ const type$18 = "com.shwfed.form.field.time";
83975
+ const compatibilityDate$18 = "2026-04-27";
83976
+ const metadata$18 = {
83973
83977
  name: "时间",
83974
83978
  icon: "fluent:clock-20-regular",
83975
83979
  w: { initial: 8, min: 4, max: Infinity },
@@ -83985,11 +83989,11 @@ const HOUR_CYCLE_OPTIONS$1 = [
83985
83989
  { value: 24, label: "24 小时制" },
83986
83990
  { value: 12, label: "12 小时制" }
83987
83991
  ];
83988
- function schema$17(configure) {
83992
+ function schema$18(configure) {
83989
83993
  const CelBool = Expression({ configure, resultType: "bool" });
83990
83994
  return Struct({
83991
- type: Literal2(type$17),
83992
- compatibilityDate: Literal2(compatibilityDate$17),
83995
+ type: Literal2(type$18),
83996
+ compatibilityDate: Literal2(compatibilityDate$18),
83993
83997
  ...commonFieldFields(configure),
83994
83998
  label: optional(Locale.annotations({
83995
83999
  title: "标签",
@@ -84035,13 +84039,13 @@ const __vite_glob_0_9$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
84035
84039
  HOUR_CYCLE_OPTIONS: HOUR_CYCLE_OPTIONS$1,
84036
84040
  TIME_GRANULARITIES: TIME_GRANULARITIES$1,
84037
84041
  TIME_GRANULARITY_OPTIONS: TIME_GRANULARITY_OPTIONS$1,
84038
- compatibilityDate: compatibilityDate$17,
84039
- metadata: metadata$17,
84040
- schema: schema$17,
84041
- type: type$17
84042
+ compatibilityDate: compatibilityDate$18,
84043
+ metadata: metadata$18,
84044
+ schema: schema$18,
84045
+ type: type$18
84042
84046
  }, Symbol.toStringTag, { value: "Module" }));
84043
- const type$16 = "com.shwfed.form.field.timerange";
84044
- const compatibilityDate$16 = "2026-04-27";
84047
+ const type$17 = "com.shwfed.form.field.timerange";
84048
+ const compatibilityDate$17 = "2026-04-27";
84045
84049
  const BindingPath$2 = String$.pipe(minLength(1));
84046
84050
  const SplitBinding$2 = Tuple(BindingPath$2, BindingPath$2).pipe(
84047
84051
  filter(([a, b]) => a !== b, {
@@ -84052,7 +84056,7 @@ const bindingSchema$2 = Union2(BindingPath$2, SplitBinding$2).annotations({
84052
84056
  title: "绑定路径",
84053
84057
  description: "写入表单状态的 `dot-prop` 路径;填写单个路径时写入 `[start, end]` 字符串数组,例如 `meeting.timeRange`;填写 `[起始路径, 结束路径]` 元组时分别写入两端;留空则为非受控字段"
84054
84058
  });
84055
- const metadata$16 = {
84059
+ const metadata$17 = {
84056
84060
  name: "时间范围",
84057
84061
  icon: "fluent:clock-arrow-download-20-regular",
84058
84062
  w: { initial: 14, min: 14, max: Infinity },
@@ -84068,11 +84072,11 @@ const HOUR_CYCLE_OPTIONS = [
84068
84072
  { value: 24, label: "24 小时制" },
84069
84073
  { value: 12, label: "12 小时制" }
84070
84074
  ];
84071
- function schema$16(configure) {
84075
+ function schema$17(configure) {
84072
84076
  const CelBool = Expression({ configure, resultType: "bool" });
84073
84077
  return Struct({
84074
- type: Literal2(type$16),
84075
- compatibilityDate: Literal2(compatibilityDate$16),
84078
+ type: Literal2(type$17),
84079
+ compatibilityDate: Literal2(compatibilityDate$17),
84076
84080
  ...commonFieldFields(configure),
84077
84081
  label: optional(Locale.annotations({
84078
84082
  title: "标签",
@@ -84114,7 +84118,7 @@ function schema$16(configure) {
84114
84118
  description: "时间范围选择输入"
84115
84119
  });
84116
84120
  }
84117
- function defaults$C() {
84121
+ function defaults$D() {
84118
84122
  return { rangeSeparatorIcon: "fluent:arrow-right-20-regular" };
84119
84123
  }
84120
84124
  const __vite_glob_0_10$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -84122,11 +84126,11 @@ const __vite_glob_0_10$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.
84122
84126
  HOUR_CYCLE_OPTIONS,
84123
84127
  TIME_GRANULARITIES,
84124
84128
  TIME_GRANULARITY_OPTIONS,
84125
- compatibilityDate: compatibilityDate$16,
84126
- defaults: defaults$C,
84127
- metadata: metadata$16,
84128
- schema: schema$16,
84129
- type: type$16
84129
+ compatibilityDate: compatibilityDate$17,
84130
+ defaults: defaults$D,
84131
+ metadata: metadata$17,
84132
+ schema: schema$17,
84133
+ type: type$17
84130
84134
  }, Symbol.toStringTag, { value: "Module" }));
84131
84135
  function AddonActions(configure) {
84132
84136
  const { groups, items: items2, ...rest } = ActionSchemaFields(configure).fields;
@@ -84139,20 +84143,20 @@ function AddonActions(configure) {
84139
84143
  description: "在输入框右侧内嵌一组操作按钮"
84140
84144
  });
84141
84145
  }
84142
- const type$15 = "com.shwfed.form.field.number";
84143
- const compatibilityDate$15 = "2026-04-28";
84144
- const metadata$15 = {
84146
+ const type$16 = "com.shwfed.form.field.number";
84147
+ const compatibilityDate$16 = "2026-04-28";
84148
+ const metadata$16 = {
84145
84149
  name: "数值输入",
84146
84150
  icon: "fluent:number-symbol-20-regular",
84147
84151
  w: { initial: 8, min: 4, max: Infinity },
84148
84152
  h: { initial: 2, min: 2, max: 2 }
84149
84153
  };
84150
- function schema$15(configure) {
84154
+ function schema$16(configure) {
84151
84155
  const CelBool = Expression({ configure, resultType: "bool" });
84152
84156
  const CelNumber = Expression({ configure, resultType: "number" });
84153
84157
  return Struct({
84154
- type: Literal2(type$15),
84155
- compatibilityDate: Literal2(compatibilityDate$15),
84158
+ type: Literal2(type$16),
84159
+ compatibilityDate: Literal2(compatibilityDate$16),
84156
84160
  ...commonFieldFields(configure),
84157
84161
  label: optional(Locale.annotations({
84158
84162
  title: "标签",
@@ -84212,13 +84216,13 @@ function schema$15(configure) {
84212
84216
  }
84213
84217
  const __vite_glob_0_11$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
84214
84218
  __proto__: null,
84215
- compatibilityDate: compatibilityDate$15,
84216
- metadata: metadata$15,
84217
- schema: schema$15,
84218
- type: type$15
84219
+ compatibilityDate: compatibilityDate$16,
84220
+ metadata: metadata$16,
84221
+ schema: schema$16,
84222
+ type: type$16
84219
84223
  }, Symbol.toStringTag, { value: "Module" }));
84220
- const type$14 = "com.shwfed.form.field.numberrange";
84221
- const compatibilityDate$14 = "2026-04-28";
84224
+ const type$15 = "com.shwfed.form.field.numberrange";
84225
+ const compatibilityDate$15 = "2026-04-28";
84222
84226
  const BindingPath$1 = String$.pipe(minLength(1));
84223
84227
  const SplitBinding$1 = Tuple(BindingPath$1, BindingPath$1).pipe(
84224
84228
  filter(([a, b]) => a !== b, {
@@ -84229,18 +84233,18 @@ const bindingSchema$1 = Union2(BindingPath$1, SplitBinding$1).annotations({
84229
84233
  title: "绑定路径",
84230
84234
  description: "写入表单状态的 `dot-prop` 路径;填写单个路径时写入 `[start, end]` 数值数组,例如 `score.range`;填写 `[起始路径, 结束路径]` 元组时分别写入两端;留空则为非受控字段"
84231
84235
  });
84232
- const metadata$14 = {
84236
+ const metadata$15 = {
84233
84237
  name: "数值范围",
84234
84238
  icon: "fluent:arrow-bidirectional-left-right-20-regular",
84235
84239
  w: { initial: 8, min: 4, max: Infinity },
84236
84240
  h: { initial: 2, min: 2, max: 2 }
84237
84241
  };
84238
- function schema$14(configure) {
84242
+ function schema$15(configure) {
84239
84243
  const CelBool = Expression({ configure, resultType: "bool" });
84240
84244
  const CelNumber = Expression({ configure, resultType: "number" });
84241
84245
  return Struct({
84242
- type: Literal2(type$14),
84243
- compatibilityDate: Literal2(compatibilityDate$14),
84246
+ type: Literal2(type$15),
84247
+ compatibilityDate: Literal2(compatibilityDate$15),
84244
84248
  ...commonFieldFields(configure),
84245
84249
  label: optional(Locale.annotations({
84246
84250
  title: "标签",
@@ -84302,30 +84306,30 @@ function schema$14(configure) {
84302
84306
  description: "数值范围输入"
84303
84307
  });
84304
84308
  }
84305
- function defaults$B() {
84309
+ function defaults$C() {
84306
84310
  return { rangeSeparatorIcon: "fluent:arrow-right-20-regular" };
84307
84311
  }
84308
84312
  const __vite_glob_0_12$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
84309
84313
  __proto__: null,
84310
- compatibilityDate: compatibilityDate$14,
84311
- defaults: defaults$B,
84312
- metadata: metadata$14,
84313
- schema: schema$14,
84314
- type: type$14
84314
+ compatibilityDate: compatibilityDate$15,
84315
+ defaults: defaults$C,
84316
+ metadata: metadata$15,
84317
+ schema: schema$15,
84318
+ type: type$15
84315
84319
  }, Symbol.toStringTag, { value: "Module" }));
84316
- const type$13 = "com.shwfed.form.field.switch";
84317
- const compatibilityDate$13 = "2026-04-28";
84318
- const metadata$13 = {
84320
+ const type$14 = "com.shwfed.form.field.switch";
84321
+ const compatibilityDate$14 = "2026-04-28";
84322
+ const metadata$14 = {
84319
84323
  name: "开关",
84320
84324
  icon: "fluent:toggle-left-20-regular",
84321
84325
  w: { initial: 4, min: 4, max: Infinity },
84322
84326
  h: { initial: 2, min: 2, max: 2 }
84323
84327
  };
84324
- function schema$13(configure) {
84328
+ function schema$14(configure) {
84325
84329
  const CelBool = Expression({ configure, resultType: "bool" });
84326
84330
  return Struct({
84327
- type: Literal2(type$13),
84328
- compatibilityDate: Literal2(compatibilityDate$13),
84331
+ type: Literal2(type$14),
84332
+ compatibilityDate: Literal2(compatibilityDate$14),
84329
84333
  ...commonFieldFields(configure),
84330
84334
  label: optional(Locale.annotations({
84331
84335
  title: "标签",
@@ -84363,10 +84367,10 @@ function schema$13(configure) {
84363
84367
  }
84364
84368
  const __vite_glob_0_13$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
84365
84369
  __proto__: null,
84366
- compatibilityDate: compatibilityDate$13,
84367
- metadata: metadata$13,
84368
- schema: schema$13,
84369
- type: type$13
84370
+ compatibilityDate: compatibilityDate$14,
84371
+ metadata: metadata$14,
84372
+ schema: schema$14,
84373
+ type: type$14
84370
84374
  }, Symbol.toStringTag, { value: "Module" }));
84371
84375
  const decodeCache = {};
84372
84376
  function getDecodeCache(exclude2) {
@@ -89598,7 +89602,27 @@ function tooltipPlugin(md2) {
89598
89602
  return `<span class="${TRIGGER_CLASS}" title="${title2}">${trigger}</span>`;
89599
89603
  };
89600
89604
  }
89601
- new MarkdownIt({ html: true, linkify: false, breaks: true }).use(tooltipPlugin);
89605
+ const md = new MarkdownIt({ html: true, linkify: false, breaks: true }).use(tooltipPlugin);
89606
+ function withBase(path, base2) {
89607
+ const b = base2.endsWith("/") ? base2.slice(0, -1) : base2;
89608
+ if (!b) return path;
89609
+ if (path === b || path.startsWith(`${b}/`)) return path;
89610
+ return b + path;
89611
+ }
89612
+ function isRootRelative(href) {
89613
+ return href.startsWith("/") && !href.startsWith("//");
89614
+ }
89615
+ const renderToken2 = (tokens, idx, options, _env, self2) => self2.renderToken(tokens, idx, options);
89616
+ const baseLinkOpen = md.renderer.rules.link_open ?? renderToken2;
89617
+ md.renderer.rules.link_open = (tokens, idx, options, env, self2) => {
89618
+ const base2 = env?.base;
89619
+ if (base2) {
89620
+ const token = tokens[idx];
89621
+ const href = token.attrGet("href");
89622
+ if (href && isRootRelative(href)) token.attrSet("href", withBase(href, base2));
89623
+ }
89624
+ return baseLinkOpen(tokens, idx, options, env, self2);
89625
+ };
89602
89626
  const INTERPOLATION_RE$2 = /\{\{(.*?)\}\}/gs;
89603
89627
  function stringifyCelResult(value) {
89604
89628
  if (value === null || value === void 0) return "";
@@ -89617,9 +89641,9 @@ function interpolateMarkdown(template, $cel, context2) {
89617
89641
  }
89618
89642
  });
89619
89643
  }
89620
- const type$12 = "com.shwfed.form.field.combobox.single";
89621
- const compatibilityDate$12 = "2026-04-29";
89622
- const metadata$12 = {
89644
+ const type$13 = "com.shwfed.form.field.combobox.single";
89645
+ const compatibilityDate$13 = "2026-04-29";
89646
+ const metadata$13 = {
89623
89647
  name: "下拉单选(硬编码)",
89624
89648
  icon: "fluent:chevron-down-20-regular",
89625
89649
  w: { initial: 8, min: 4, max: Infinity },
@@ -89654,12 +89678,12 @@ function itemSchema$j(configure) {
89654
89678
  title: "ComboboxSingleItem"
89655
89679
  });
89656
89680
  }
89657
- function schema$12(configure) {
89681
+ function schema$13(configure) {
89658
89682
  const CelBool = Expression({ configure, resultType: "bool" });
89659
89683
  const Item = itemSchema$j(configure);
89660
89684
  return Struct({
89661
- type: Literal2(type$12),
89662
- compatibilityDate: Literal2(compatibilityDate$12),
89685
+ type: Literal2(type$13),
89686
+ compatibilityDate: Literal2(compatibilityDate$13),
89663
89687
  ...commonFieldFields(configure),
89664
89688
  label: optional(Locale.annotations({
89665
89689
  title: "标签",
@@ -89751,23 +89775,23 @@ const migrate$m = (prev, ctx) => {
89751
89775
  } = legacy;
89752
89776
  return {
89753
89777
  ...carryover,
89754
- compatibilityDate: compatibilityDate$12,
89778
+ compatibilityDate: compatibilityDate$13,
89755
89779
  items: items2
89756
89780
  };
89757
89781
  });
89758
89782
  };
89759
89783
  const __vite_glob_0_14$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
89760
89784
  __proto__: null,
89761
- compatibilityDate: compatibilityDate$12,
89785
+ compatibilityDate: compatibilityDate$13,
89762
89786
  itemSchema: itemSchema$j,
89763
- metadata: metadata$12,
89787
+ metadata: metadata$13,
89764
89788
  migrate: migrate$m,
89765
- schema: schema$12,
89766
- type: type$12
89789
+ schema: schema$13,
89790
+ type: type$13
89767
89791
  }, Symbol.toStringTag, { value: "Module" }));
89768
- const type$11 = "com.shwfed.form.field.upload";
89769
- const compatibilityDate$11 = "2026-05-12";
89770
- const metadata$11 = {
89792
+ const type$12 = "com.shwfed.form.field.upload";
89793
+ const compatibilityDate$12 = "2026-05-12";
89794
+ const metadata$12 = {
89771
89795
  name: "文件上传",
89772
89796
  icon: "fluent:cloud-arrow-up-20-regular",
89773
89797
  w: { initial: 8, min: 8, max: Infinity },
@@ -89784,14 +89808,14 @@ function configureWithJson$5(configure) {
89784
89808
  env.registerVariable("json", JSON_VAR$5.type, { description: JSON_VAR$5.description });
89785
89809
  };
89786
89810
  }
89787
- function schema$11(configure) {
89811
+ function schema$12(configure) {
89788
89812
  const CelBool = Expression({ configure, resultType: "bool" });
89789
89813
  const CelHttpRequest = Expression({ configure, resultType: "HttpRequest" });
89790
89814
  const CelDownloadRequest = Expression({ configure: configureWithJson$5(configure), resultType: "HttpRequest" });
89791
89815
  const LocaleMd = LocaleMarkdown({ configure });
89792
89816
  return Struct({
89793
- type: Literal2(type$11),
89794
- compatibilityDate: Literal2(compatibilityDate$11),
89817
+ type: Literal2(type$12),
89818
+ compatibilityDate: Literal2(compatibilityDate$12),
89795
89819
  ...commonFieldFields(configure),
89796
89820
  label: optional(Locale.annotations({
89797
89821
  title: "标签",
@@ -89871,14 +89895,14 @@ function schema$11(configure) {
89871
89895
  const __vite_glob_0_15$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
89872
89896
  __proto__: null,
89873
89897
  JSON_VAR: JSON_VAR$5,
89874
- compatibilityDate: compatibilityDate$11,
89875
- metadata: metadata$11,
89876
- schema: schema$11,
89877
- type: type$11
89898
+ compatibilityDate: compatibilityDate$12,
89899
+ metadata: metadata$12,
89900
+ schema: schema$12,
89901
+ type: type$12
89878
89902
  }, Symbol.toStringTag, { value: "Module" }));
89879
- const type$10 = "com.shwfed.form.field.combobox.single.remote";
89880
- const compatibilityDate$10 = "2026-05-13";
89881
- const metadata$10 = {
89903
+ const type$11 = "com.shwfed.form.field.combobox.single.remote";
89904
+ const compatibilityDate$11 = "2026-05-13";
89905
+ const metadata$11 = {
89882
89906
  name: "下拉单选(远程)",
89883
89907
  icon: "fluent:cloud-arrow-down-20-regular",
89884
89908
  w: { initial: 8, min: 4, max: Infinity },
@@ -89907,15 +89931,15 @@ function configureWithJson$4(configure) {
89907
89931
  };
89908
89932
  }
89909
89933
  const isListType$g = (actual) => actual === "dyn" || actual.startsWith("list");
89910
- function schema$10(configure) {
89934
+ function schema$11(configure) {
89911
89935
  const CelBool = Expression({ configure, resultType: "bool" });
89912
89936
  const CelHttpRequest = Expression({ configure, resultType: HttpRequestResult });
89913
89937
  const CelOptions = Expression({ configure: configureWithJson$4(configure), resultType: isListType$g });
89914
89938
  const CelOptionValue = Expression({ configure: configureWithOption$5(configure), resultType: "dyn" });
89915
89939
  const LocaleOptionLabel = LocaleMarkdown({ configure: configureWithOption$5(configure) });
89916
89940
  return Struct({
89917
- type: Literal2(type$10),
89918
- compatibilityDate: Literal2(compatibilityDate$10),
89941
+ type: Literal2(type$11),
89942
+ compatibilityDate: Literal2(compatibilityDate$11),
89919
89943
  ...commonFieldFields(configure),
89920
89944
  label: optional(Locale.annotations({
89921
89945
  title: "标签",
@@ -89968,14 +89992,14 @@ const __vite_glob_0_16$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.
89968
89992
  __proto__: null,
89969
89993
  JSON_VAR: JSON_VAR$4,
89970
89994
  OPTION_VAR: OPTION_VAR$2,
89971
- compatibilityDate: compatibilityDate$10,
89972
- metadata: metadata$10,
89973
- schema: schema$10,
89974
- type: type$10
89995
+ compatibilityDate: compatibilityDate$11,
89996
+ metadata: metadata$11,
89997
+ schema: schema$11,
89998
+ type: type$11
89975
89999
  }, Symbol.toStringTag, { value: "Module" }));
89976
- const type$$ = "com.shwfed.form.field.list";
89977
- const compatibilityDate$$ = "2026-05-13";
89978
- const metadata$$ = {
90000
+ const type$10 = "com.shwfed.form.field.list";
90001
+ const compatibilityDate$10 = "2026-05-13";
90002
+ const metadata$10 = {
89979
90003
  name: "列表",
89980
90004
  icon: "fluent:list-20-regular",
89981
90005
  w: { initial: 12, min: 4, max: Infinity },
@@ -89984,7 +90008,7 @@ const metadata$$ = {
89984
90008
  // fullscreen inline-config pane; keep the (fullscreen-exiting) drill-down.
89985
90009
  inlineConfig: false
89986
90010
  };
89987
- function schema$$(configure) {
90011
+ function schema$10(configure) {
89988
90012
  const CelBool = Expression({ configure, resultType: "bool" });
89989
90013
  const unitConfigure = (env) => {
89990
90014
  configure(env);
@@ -89998,8 +90022,8 @@ function schema$$(configure) {
89998
90022
  };
89999
90023
  const Unit = suspend(() => FormUnit(unitConfigure));
90000
90024
  return Struct({
90001
- type: Literal2(type$$),
90002
- compatibilityDate: Literal2(compatibilityDate$$),
90025
+ type: Literal2(type$10),
90026
+ compatibilityDate: Literal2(compatibilityDate$10),
90003
90027
  ...commonFieldFields(configure),
90004
90028
  label: optional(Locale.annotations({
90005
90029
  title: "标签",
@@ -90025,6 +90049,10 @@ function schema$$(configure) {
90025
90049
  title: "允许重排",
90026
90050
  description: "关闭后用户无法上下移动列表项;默认开启"
90027
90051
  })),
90052
+ addable: optional(Boolean$.annotations({
90053
+ title: "显示新增按钮",
90054
+ description: "关闭后不渲染内置的新增按钮;默认开启。关闭时可改由外部按钮向绑定路径追加列表项(例如 `state.write` 写入 `form.<路径> + [{}]`)"
90055
+ })),
90028
90056
  min: optional(Number$.pipe(int(), nonNegative()).annotations({
90029
90057
  title: "最少数量",
90030
90058
  description: "列表项数量的下限;低于该值时无法删除"
@@ -90056,7 +90084,7 @@ function schema$$(configure) {
90056
90084
  description: "可新增/删除/重排的同构子表单列表"
90057
90085
  });
90058
90086
  }
90059
- function defaults$A() {
90087
+ function defaults$B() {
90060
90088
  return {
90061
90089
  unit: {
90062
90090
  fields: [],
@@ -90066,15 +90094,15 @@ function defaults$A() {
90066
90094
  }
90067
90095
  const __vite_glob_0_17$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
90068
90096
  __proto__: null,
90069
- compatibilityDate: compatibilityDate$$,
90070
- defaults: defaults$A,
90071
- metadata: metadata$$,
90072
- schema: schema$$,
90073
- type: type$$
90097
+ compatibilityDate: compatibilityDate$10,
90098
+ defaults: defaults$B,
90099
+ metadata: metadata$10,
90100
+ schema: schema$10,
90101
+ type: type$10
90074
90102
  }, Symbol.toStringTag, { value: "Module" }));
90075
- const type$_ = "com.shwfed.form.field.checkbox.group";
90076
- const compatibilityDate$_ = "2026-05-17";
90077
- const metadata$_ = {
90103
+ const type$$ = "com.shwfed.form.field.checkbox.group";
90104
+ const compatibilityDate$$ = "2026-05-17";
90105
+ const metadata$$ = {
90078
90106
  name: "复选框组",
90079
90107
  icon: "fluent:checkbox-checked-20-regular",
90080
90108
  w: { initial: 8, min: 2, max: Infinity },
@@ -90109,12 +90137,12 @@ function itemSchema$i(configure) {
90109
90137
  title: "CheckboxGroupItem"
90110
90138
  });
90111
90139
  }
90112
- function schema$_(configure) {
90140
+ function schema$$(configure) {
90113
90141
  const CelBool = Expression({ configure, resultType: "bool" });
90114
90142
  const Item = itemSchema$i(configure);
90115
90143
  return Struct({
90116
- type: Literal2(type$_),
90117
- compatibilityDate: Literal2(compatibilityDate$_),
90144
+ type: Literal2(type$$),
90145
+ compatibilityDate: Literal2(compatibilityDate$$),
90118
90146
  ...commonFieldFields(configure),
90119
90147
  label: optional(Locale.annotations({
90120
90148
  title: "标签",
@@ -90148,15 +90176,15 @@ function schema$_(configure) {
90148
90176
  }
90149
90177
  const __vite_glob_0_18$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
90150
90178
  __proto__: null,
90151
- compatibilityDate: compatibilityDate$_,
90179
+ compatibilityDate: compatibilityDate$$,
90152
90180
  itemSchema: itemSchema$i,
90153
- metadata: metadata$_,
90154
- schema: schema$_,
90155
- type: type$_
90181
+ metadata: metadata$$,
90182
+ schema: schema$$,
90183
+ type: type$$
90156
90184
  }, Symbol.toStringTag, { value: "Module" }));
90157
- const type$Z = "com.shwfed.form.field.radio.group";
90158
- const compatibilityDate$Z = "2026-05-17";
90159
- const metadata$Z = {
90185
+ const type$_ = "com.shwfed.form.field.radio.group";
90186
+ const compatibilityDate$_ = "2026-05-17";
90187
+ const metadata$_ = {
90160
90188
  name: "单选框组",
90161
90189
  icon: "fluent:radio-button-20-regular",
90162
90190
  w: { initial: 8, min: 2, max: Infinity },
@@ -90191,12 +90219,12 @@ function itemSchema$h(configure) {
90191
90219
  title: "RadioGroupItem"
90192
90220
  });
90193
90221
  }
90194
- function schema$Z(configure) {
90222
+ function schema$_(configure) {
90195
90223
  const CelBool = Expression({ configure, resultType: "bool" });
90196
90224
  const Item = itemSchema$h(configure);
90197
90225
  return Struct({
90198
- type: Literal2(type$Z),
90199
- compatibilityDate: Literal2(compatibilityDate$Z),
90226
+ type: Literal2(type$_),
90227
+ compatibilityDate: Literal2(compatibilityDate$_),
90200
90228
  ...commonFieldFields(configure),
90201
90229
  label: optional(Locale.annotations({
90202
90230
  title: "标签",
@@ -90230,11 +90258,11 @@ function schema$Z(configure) {
90230
90258
  }
90231
90259
  const __vite_glob_0_19$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
90232
90260
  __proto__: null,
90233
- compatibilityDate: compatibilityDate$Z,
90261
+ compatibilityDate: compatibilityDate$_,
90234
90262
  itemSchema: itemSchema$h,
90235
- metadata: metadata$Z,
90236
- schema: schema$Z,
90237
- type: type$Z
90263
+ metadata: metadata$_,
90264
+ schema: schema$_,
90265
+ type: type$_
90238
90266
  }, Symbol.toStringTag, { value: "Module" }));
90239
90267
  const Align = Literal2("left", "center", "right").annotations({
90240
90268
  description: "对齐方式"
@@ -90257,7 +90285,7 @@ function columnFields(configure) {
90257
90285
  }),
90258
90286
  enableSorting: optional(Boolean$.annotations({
90259
90287
  title: "允许排序",
90260
- description: md`
90288
+ description: md$1`
90261
90289
  显示排序按钮:
90262
90290
 
90263
90291
  排序分为两类:**服务端排序** 和 **客户端排序**。
@@ -90339,14 +90367,14 @@ function LocaleMarkdownWithRow(configure) {
90339
90367
  function derivedRowField(configure, resultType) {
90340
90368
  return derivedField(configureWithRow(configure), resultType);
90341
90369
  }
90342
- const type$Y = "com.shwfed.table.column.actions";
90343
- const compatibilityDate$Y = "2026-04-14";
90344
- const metadata$Y = {
90370
+ const type$Z = "com.shwfed.table.column.actions";
90371
+ const compatibilityDate$Z = "2026-04-14";
90372
+ const metadata$Z = {
90345
90373
  name: "操作",
90346
90374
  icon: "fluent:cursor-click-20-regular"
90347
90375
  };
90348
90376
  const registerRowVariables = registerRowVariablesIfAbsent;
90349
- function schema$Y(configure) {
90377
+ function schema$Z(configure) {
90350
90378
  const configureWithRow2 = (env) => {
90351
90379
  configure(env);
90352
90380
  registerRowVariables(env);
@@ -90354,8 +90382,8 @@ function schema$Y(configure) {
90354
90382
  const { fields: actionFields } = ActionSchemaFields(configureWithRow2);
90355
90383
  const { size: _buttonSize, ...actionFieldsForColumn } = actionFields;
90356
90384
  return Struct({
90357
- type: Literal2(type$Y),
90358
- compatibilityDate: Literal2(compatibilityDate$Y),
90385
+ type: Literal2(type$Z),
90386
+ compatibilityDate: Literal2(compatibilityDate$Z),
90359
90387
  ...columnIdentityFields(),
90360
90388
  title: optional(Locale.annotations({ title: "标题", description: "列标题" })),
90361
90389
  size: optional(Number$.pipe(finite(), positive()).annotations({
@@ -90369,7 +90397,7 @@ function schema$Y(configure) {
90369
90397
  ...actionFieldsForColumn
90370
90398
  }).annotations({ title: "ActionsRenderer", description: "操作渲染器" });
90371
90399
  }
90372
- function defaults$z() {
90400
+ function defaults$A() {
90373
90401
  return {
90374
90402
  title: [{ locale: "zh", message: "" }],
90375
90403
  size: 200,
@@ -90390,35 +90418,35 @@ function toColumnDef$y(value, { getLocaleText }) {
90390
90418
  }
90391
90419
  const __vite_glob_0_0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
90392
90420
  __proto__: null,
90393
- compatibilityDate: compatibilityDate$Y,
90394
- defaults: defaults$z,
90395
- metadata: metadata$Y,
90421
+ compatibilityDate: compatibilityDate$Z,
90422
+ defaults: defaults$A,
90423
+ metadata: metadata$Z,
90396
90424
  registerRowVariables,
90397
- schema: schema$Y,
90425
+ schema: schema$Z,
90398
90426
  toColumnDef: toColumnDef$y,
90399
- type: type$Y
90427
+ type: type$Z
90400
90428
  }, Symbol.toStringTag, { value: "Module" }));
90401
- const type$X = "com.shwfed.table.column.date";
90402
- const compatibilityDate$X = "2026-04-14";
90403
- const metadata$X = {
90429
+ const type$Y = "com.shwfed.table.column.date";
90430
+ const compatibilityDate$Y = "2026-04-14";
90431
+ const metadata$Y = {
90404
90432
  name: "日期",
90405
90433
  icon: "fluent:calendar-ltr-20-regular"
90406
90434
  };
90407
- function schema$X(configure) {
90435
+ function schema$Y(configure) {
90408
90436
  return Struct({
90409
- type: Literal2(type$X),
90410
- compatibilityDate: Literal2(compatibilityDate$X),
90437
+ type: Literal2(type$Y),
90438
+ compatibilityDate: Literal2(compatibilityDate$Y),
90411
90439
  ...columnFields(configure),
90412
90440
  align: optionalWith(Align.annotations({ title: "对齐" }), { default: () => "left" }),
90413
90441
  format: String$.annotations({
90414
90442
  title: "日期格式",
90415
- description: md`
90443
+ description: md$1`
90416
90444
  参考 <a href="https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table" target="_blank">Unicode 日期格式</a>
90417
90445
  `
90418
90446
  })
90419
90447
  }).annotations({ title: "DateRenderer", description: "日期渲染器" });
90420
90448
  }
90421
- function defaults$y() {
90449
+ function defaults$z() {
90422
90450
  return {
90423
90451
  title: [{ locale: "zh", message: "" }],
90424
90452
  accessor: "",
@@ -90447,23 +90475,23 @@ function toColumnDef$x(value, { getLocaleText, $cel, inheritedContext }) {
90447
90475
  }
90448
90476
  const __vite_glob_0_1$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
90449
90477
  __proto__: null,
90450
- compatibilityDate: compatibilityDate$X,
90451
- defaults: defaults$y,
90452
- metadata: metadata$X,
90453
- schema: schema$X,
90478
+ compatibilityDate: compatibilityDate$Y,
90479
+ defaults: defaults$z,
90480
+ metadata: metadata$Y,
90481
+ schema: schema$Y,
90454
90482
  toColumnDef: toColumnDef$x,
90455
- type: type$X
90483
+ type: type$Y
90456
90484
  }, Symbol.toStringTag, { value: "Module" }));
90457
- const type$W = "com.shwfed.table.column.icon";
90458
- const compatibilityDate$W = "2026-04-14";
90459
- const metadata$W = {
90485
+ const type$X = "com.shwfed.table.column.icon";
90486
+ const compatibilityDate$X = "2026-04-14";
90487
+ const metadata$X = {
90460
90488
  name: "图标",
90461
90489
  icon: "fluent:shapes-20-regular"
90462
90490
  };
90463
- function schema$W(configure) {
90491
+ function schema$X(configure) {
90464
90492
  return Struct({
90465
- type: Literal2(type$W),
90466
- compatibilityDate: Literal2(compatibilityDate$W),
90493
+ type: Literal2(type$X),
90494
+ compatibilityDate: Literal2(compatibilityDate$X),
90467
90495
  ...columnFields(configure),
90468
90496
  accessor: CelRowAccess(configure).annotations({
90469
90497
  title: "图标",
@@ -90478,7 +90506,7 @@ function schema$W(configure) {
90478
90506
  align: optionalWith(Align.annotations({ title: "对齐" }), { default: () => "center" })
90479
90507
  }).annotations({ title: "IconRenderer", description: "图标渲染器" });
90480
90508
  }
90481
- function defaults$x() {
90509
+ function defaults$y() {
90482
90510
  return {
90483
90511
  title: [{ locale: "zh", message: "" }],
90484
90512
  accessor: "",
@@ -90506,26 +90534,26 @@ function toColumnDef$w(value, { getLocaleText, $cel, inheritedContext }) {
90506
90534
  }
90507
90535
  const __vite_glob_0_2$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
90508
90536
  __proto__: null,
90509
- compatibilityDate: compatibilityDate$W,
90510
- defaults: defaults$x,
90511
- metadata: metadata$W,
90512
- schema: schema$W,
90537
+ compatibilityDate: compatibilityDate$X,
90538
+ defaults: defaults$y,
90539
+ metadata: metadata$X,
90540
+ schema: schema$X,
90513
90541
  toColumnDef: toColumnDef$w,
90514
- type: type$W
90542
+ type: type$X
90515
90543
  }, Symbol.toStringTag, { value: "Module" }));
90516
- const type$V = "com.shwfed.table.column.markdown";
90517
- const compatibilityDate$V = "2026-04-14";
90518
- const metadata$V = {
90544
+ const type$W = "com.shwfed.table.column.markdown";
90545
+ const compatibilityDate$W = "2026-04-14";
90546
+ const metadata$W = {
90519
90547
  name: "MD",
90520
90548
  icon: "fluent:markdown-20-regular"
90521
90549
  };
90522
90550
  const isCopyExpressionType$1 = (t) => t === "string" || t === "dyn" || t.startsWith("optional");
90523
- function schema$V(configure) {
90551
+ function schema$W(configure) {
90524
90552
  const cel = CelRowAccess(configure, { resultType: isCopyExpressionType$1 });
90525
90553
  const localeMarkdown = LocaleMarkdownWithRow(configure);
90526
90554
  return Struct({
90527
- type: Literal2(type$V),
90528
- compatibilityDate: Literal2(compatibilityDate$V),
90555
+ type: Literal2(type$W),
90556
+ compatibilityDate: Literal2(compatibilityDate$W),
90529
90557
  ...columnIdentityFields(),
90530
90558
  title: Locale.annotations({ title: "标题", description: "列标题" }),
90531
90559
  align: optionalWith(Align.annotations({ title: "对齐" }), { default: () => "left" }),
@@ -90551,7 +90579,7 @@ function schema$V(configure) {
90551
90579
  }))
90552
90580
  }).annotations({ title: "MarkdownRenderer", description: "MD" });
90553
90581
  }
90554
- function defaults$w() {
90582
+ function defaults$x() {
90555
90583
  return {
90556
90584
  title: [{ locale: "zh", message: "" }],
90557
90585
  markdown: [{ locale: "zh", message: "" }],
@@ -90571,23 +90599,23 @@ function toColumnDef$v(value, { getLocaleText }) {
90571
90599
  }
90572
90600
  const __vite_glob_0_3$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
90573
90601
  __proto__: null,
90574
- compatibilityDate: compatibilityDate$V,
90575
- defaults: defaults$w,
90576
- metadata: metadata$V,
90577
- schema: schema$V,
90602
+ compatibilityDate: compatibilityDate$W,
90603
+ defaults: defaults$x,
90604
+ metadata: metadata$W,
90605
+ schema: schema$W,
90578
90606
  toColumnDef: toColumnDef$v,
90579
- type: type$V
90607
+ type: type$W
90580
90608
  }, Symbol.toStringTag, { value: "Module" }));
90581
- const type$U = "com.shwfed.table.column.number";
90582
- const compatibilityDate$U = "2026-04-14";
90583
- const metadata$U = {
90609
+ const type$V = "com.shwfed.table.column.number";
90610
+ const compatibilityDate$V = "2026-04-14";
90611
+ const metadata$V = {
90584
90612
  name: "数值",
90585
90613
  icon: "fluent:number-symbol-20-regular"
90586
90614
  };
90587
- function schema$U(configure) {
90615
+ function schema$V(configure) {
90588
90616
  return Struct({
90589
- type: Literal2(type$U),
90590
- compatibilityDate: Literal2(compatibilityDate$U),
90617
+ type: Literal2(type$V),
90618
+ compatibilityDate: Literal2(compatibilityDate$V),
90591
90619
  ...columnFields(configure),
90592
90620
  align: optionalWith(Align.annotations({ title: "对齐" }), { default: () => "right" }),
90593
90621
  displayMode: optionalWith(
@@ -90607,7 +90635,7 @@ function schema$U(configure) {
90607
90635
  }))
90608
90636
  }).annotations({ title: "NumberRenderer", description: "数值渲染器" });
90609
90637
  }
90610
- function defaults$v() {
90638
+ function defaults$w() {
90611
90639
  return {
90612
90640
  title: [{ locale: "zh", message: "" }],
90613
90641
  accessor: "",
@@ -90636,25 +90664,25 @@ function toColumnDef$u(value, { getLocaleText, $cel, inheritedContext }) {
90636
90664
  }
90637
90665
  const __vite_glob_0_4$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
90638
90666
  __proto__: null,
90639
- compatibilityDate: compatibilityDate$U,
90640
- defaults: defaults$v,
90641
- metadata: metadata$U,
90642
- schema: schema$U,
90667
+ compatibilityDate: compatibilityDate$V,
90668
+ defaults: defaults$w,
90669
+ metadata: metadata$V,
90670
+ schema: schema$V,
90643
90671
  toColumnDef: toColumnDef$u,
90644
- type: type$U
90672
+ type: type$V
90645
90673
  }, Symbol.toStringTag, { value: "Module" }));
90646
90674
  const __vite_glob_2_9 = {};
90647
90675
  const _stubVue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
90648
90676
  __proto__: null,
90649
90677
  default: __vite_glob_2_9
90650
90678
  }, Symbol.toStringTag, { value: "Module" }));
90651
- const type$T = "com.shwfed.table.column.select";
90652
- const compatibilityDate$T = "2026-04-14";
90653
- const metadata$T = {
90679
+ const type$U = "com.shwfed.table.column.select";
90680
+ const compatibilityDate$U = "2026-04-14";
90681
+ const metadata$U = {
90654
90682
  name: "选择",
90655
90683
  icon: "fluent:checkbox-checked-20-regular"
90656
90684
  };
90657
- function schema$T(configure) {
90685
+ function schema$U(configure) {
90658
90686
  const CelRowSelectionPredicate = Expression({
90659
90687
  configure: (env) => {
90660
90688
  configure(env);
@@ -90663,8 +90691,8 @@ function schema$T(configure) {
90663
90691
  resultType: "bool"
90664
90692
  });
90665
90693
  return Struct({
90666
- type: Literal2(type$T),
90667
- compatibilityDate: Literal2(compatibilityDate$T),
90694
+ type: Literal2(type$U),
90695
+ compatibilityDate: Literal2(compatibilityDate$U),
90668
90696
  ...columnIdentityFields(),
90669
90697
  mode: optionalWith(Literal2("radio", "checkbox").annotations({
90670
90698
  title: "模式",
@@ -90680,7 +90708,7 @@ function schema$T(configure) {
90680
90708
  })
90681
90709
  }).annotations({ title: "SelectRenderer", description: "选择渲染器" });
90682
90710
  }
90683
- function defaults$u() {
90711
+ function defaults$v() {
90684
90712
  return {
90685
90713
  mode: "checkbox"
90686
90714
  };
@@ -90696,25 +90724,25 @@ function toColumnDef$t(value) {
90696
90724
  }
90697
90725
  const __vite_glob_0_5$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
90698
90726
  __proto__: null,
90699
- compatibilityDate: compatibilityDate$T,
90700
- defaults: defaults$u,
90701
- metadata: metadata$T,
90702
- schema: schema$T,
90727
+ compatibilityDate: compatibilityDate$U,
90728
+ defaults: defaults$v,
90729
+ metadata: metadata$U,
90730
+ schema: schema$U,
90703
90731
  toColumnDef: toColumnDef$t,
90704
- type: type$T
90732
+ type: type$U
90705
90733
  }, Symbol.toStringTag, { value: "Module" }));
90706
- const type$S = "com.shwfed.table.column.text";
90707
- const compatibilityDate$S = "2026-04-14";
90708
- const metadata$S = {
90734
+ const type$T = "com.shwfed.table.column.text";
90735
+ const compatibilityDate$T = "2026-04-14";
90736
+ const metadata$T = {
90709
90737
  name: "文本",
90710
90738
  icon: "fluent:text-field-20-regular"
90711
90739
  };
90712
90740
  const isCopyExpressionType = (t) => t === "string" || t === "dyn" || t.startsWith("optional");
90713
- function schema$S(configure) {
90741
+ function schema$T(configure) {
90714
90742
  const cel = CelRowAccess(configure, { resultType: isCopyExpressionType });
90715
90743
  return Struct({
90716
- type: Literal2(type$S),
90717
- compatibilityDate: Literal2(compatibilityDate$S),
90744
+ type: Literal2(type$T),
90745
+ compatibilityDate: Literal2(compatibilityDate$T),
90718
90746
  ...columnFields(configure),
90719
90747
  align: optionalWith(Align.annotations({ title: "对齐" }), { default: () => "left" }),
90720
90748
  displayMode: optionalWith(
@@ -90730,7 +90758,7 @@ function schema$S(configure) {
90730
90758
  }))
90731
90759
  }).annotations({ title: "TextRenderer", description: "文本渲染器" });
90732
90760
  }
90733
- function defaults$t() {
90761
+ function defaults$u() {
90734
90762
  return {
90735
90763
  title: [{ locale: "zh", message: "" }],
90736
90764
  accessor: "",
@@ -90759,20 +90787,20 @@ function toColumnDef$s(value, { getLocaleText, $cel, inheritedContext }) {
90759
90787
  }
90760
90788
  const __vite_glob_0_6$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
90761
90789
  __proto__: null,
90762
- compatibilityDate: compatibilityDate$S,
90763
- defaults: defaults$t,
90764
- metadata: metadata$S,
90765
- schema: schema$S,
90790
+ compatibilityDate: compatibilityDate$T,
90791
+ defaults: defaults$u,
90792
+ metadata: metadata$T,
90793
+ schema: schema$T,
90766
90794
  toColumnDef: toColumnDef$s,
90767
- type: type$S
90795
+ type: type$T
90768
90796
  }, Symbol.toStringTag, { value: "Module" }));
90769
- const type$R = "com.shwfed.table.column.switch.remote";
90770
- const compatibilityDate$R = "2026-05-13";
90771
- const metadata$R = {
90797
+ const type$S = "com.shwfed.table.column.switch.remote";
90798
+ const compatibilityDate$S = "2026-05-13";
90799
+ const metadata$S = {
90772
90800
  name: "开关(远程)",
90773
90801
  icon: "fluent:toggle-left-20-regular"
90774
90802
  };
90775
- function schema$R(configure) {
90803
+ function schema$S(configure) {
90776
90804
  const CelBool = CelRowAccess(configure, { resultType: "bool" });
90777
90805
  const CelOnChange = Expression({
90778
90806
  configure: (env) => {
@@ -90790,8 +90818,8 @@ function schema$R(configure) {
90790
90818
  resultType: "string"
90791
90819
  });
90792
90820
  return Struct({
90793
- type: Literal2(type$R),
90794
- compatibilityDate: Literal2(compatibilityDate$R),
90821
+ type: Literal2(type$S),
90822
+ compatibilityDate: Literal2(compatibilityDate$S),
90795
90823
  ...columnFields(configure),
90796
90824
  align: optionalWith(Align.annotations({ title: "对齐" }), { default: () => "center" }),
90797
90825
  disabled: optional(CelBool.annotations({
@@ -90812,7 +90840,7 @@ function schema$R(configure) {
90812
90840
  }))
90813
90841
  }).annotations({ title: "SwitchRenderer", description: "开关渲染器(可编辑)" });
90814
90842
  }
90815
- function defaults$s() {
90843
+ function defaults$t() {
90816
90844
  return {
90817
90845
  title: [{ locale: "zh", message: "" }],
90818
90846
  accessor: "",
@@ -90820,14 +90848,14 @@ function defaults$s() {
90820
90848
  };
90821
90849
  }
90822
90850
  const migrateFrom$k = [
90823
- { type: "com.shwfed.table.column.switch", compatibilityDate: compatibilityDate$R }
90851
+ { type: "com.shwfed.table.column.switch", compatibilityDate: compatibilityDate$S }
90824
90852
  ];
90825
90853
  const migrate$l = (prev) => try_({
90826
90854
  try: () => {
90827
90855
  if (!prev || typeof prev !== "object") {
90828
90856
  throw new Error("开关(远程)迁移失败:原值不是对象");
90829
90857
  }
90830
- return { ...prev, type: type$R, compatibilityDate: compatibilityDate$R };
90858
+ return { ...prev, type: type$S, compatibilityDate: compatibilityDate$S };
90831
90859
  },
90832
90860
  catch: (e) => e instanceof Error ? e : new Error(String(e))
90833
90861
  });
@@ -90853,22 +90881,22 @@ function toColumnDef$r(value, { getLocaleText, $cel, inheritedContext }) {
90853
90881
  }
90854
90882
  const __vite_glob_0_7$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
90855
90883
  __proto__: null,
90856
- compatibilityDate: compatibilityDate$R,
90857
- defaults: defaults$s,
90858
- metadata: metadata$R,
90884
+ compatibilityDate: compatibilityDate$S,
90885
+ defaults: defaults$t,
90886
+ metadata: metadata$S,
90859
90887
  migrate: migrate$l,
90860
90888
  migrateFrom: migrateFrom$k,
90861
- schema: schema$R,
90889
+ schema: schema$S,
90862
90890
  toColumnDef: toColumnDef$r,
90863
- type: type$R
90891
+ type: type$S
90864
90892
  }, Symbol.toStringTag, { value: "Module" }));
90865
- const type$Q = "com.shwfed.table.column.switch";
90866
- const compatibilityDate$Q = "2026-05-13";
90867
- const metadata$Q = {
90893
+ const type$R = "com.shwfed.table.column.switch";
90894
+ const compatibilityDate$R = "2026-05-13";
90895
+ const metadata$R = {
90868
90896
  name: "开关(远程)",
90869
90897
  icon: "fluent:toggle-left-20-regular"
90870
90898
  };
90871
- function schema$Q(configure) {
90899
+ function schema$R(configure) {
90872
90900
  const CelBool = CelRowAccess(configure, { resultType: "bool" });
90873
90901
  const CelOnChange = Expression({
90874
90902
  configure: (env) => {
@@ -90886,8 +90914,8 @@ function schema$Q(configure) {
90886
90914
  resultType: "string"
90887
90915
  });
90888
90916
  return Struct({
90889
- type: Literal2(type$Q),
90890
- compatibilityDate: Literal2(compatibilityDate$Q),
90917
+ type: Literal2(type$R),
90918
+ compatibilityDate: Literal2(compatibilityDate$R),
90891
90919
  ...columnFields(configure),
90892
90920
  align: optionalWith(Align.annotations({ title: "对齐" }), { default: () => "center" }),
90893
90921
  disabled: optional(CelBool.annotations({
@@ -90930,11 +90958,11 @@ function toColumnDef$q(value, { getLocaleText, $cel, inheritedContext }) {
90930
90958
  }
90931
90959
  const __vite_glob_0_8$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
90932
90960
  __proto__: null,
90933
- compatibilityDate: compatibilityDate$Q,
90934
- metadata: metadata$Q,
90935
- schema: schema$Q,
90961
+ compatibilityDate: compatibilityDate$R,
90962
+ metadata: metadata$R,
90963
+ schema: schema$R,
90936
90964
  toColumnDef: toColumnDef$q,
90937
- type: type$Q
90965
+ type: type$R
90938
90966
  }, Symbol.toStringTag, { value: "Module" }));
90939
90967
  const isObject$1 = (value) => {
90940
90968
  const type2 = typeof value;
@@ -91133,9 +91161,9 @@ function getProperty(object2, path, value) {
91133
91161
  }
91134
91162
  return object2 === void 0 ? value : object2;
91135
91163
  }
91136
- const type$P = "com.shwfed.table.column.combobox-single";
91137
- const compatibilityDate$P = "2026-05-20";
91138
- const metadata$P = {
91164
+ const type$Q = "com.shwfed.table.column.combobox-single";
91165
+ const compatibilityDate$Q = "2026-05-20";
91166
+ const metadata$Q = {
91139
91167
  name: "下拉单选",
91140
91168
  icon: "fluent:chevron-down-20-regular"
91141
91169
  };
@@ -91168,12 +91196,12 @@ function itemSchema$g(configure) {
91168
91196
  title: "ComboboxSingleItem"
91169
91197
  });
91170
91198
  }
91171
- function schema$P(configure) {
91199
+ function schema$Q(configure) {
91172
91200
  const CelBool = CelRowAccess(configure, { resultType: "bool" });
91173
91201
  const Item = itemSchema$g(configure);
91174
91202
  return Struct({
91175
- type: Literal2(type$P),
91176
- compatibilityDate: Literal2(compatibilityDate$P),
91203
+ type: Literal2(type$Q),
91204
+ compatibilityDate: Literal2(compatibilityDate$Q),
91177
91205
  ...editableColumnFields(),
91178
91206
  placeholder: optional(Locale.annotations({
91179
91207
  title: "占位符",
@@ -91221,25 +91249,25 @@ function toColumnDef$p(value, { getLocaleText }) {
91221
91249
  }
91222
91250
  const __vite_glob_0_9$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
91223
91251
  __proto__: null,
91224
- compatibilityDate: compatibilityDate$P,
91252
+ compatibilityDate: compatibilityDate$Q,
91225
91253
  itemSchema: itemSchema$g,
91226
- metadata: metadata$P,
91227
- schema: schema$P,
91254
+ metadata: metadata$Q,
91255
+ schema: schema$Q,
91228
91256
  toColumnDef: toColumnDef$p,
91229
- type: type$P
91257
+ type: type$Q
91230
91258
  }, Symbol.toStringTag, { value: "Module" }));
91231
- const type$O = "com.shwfed.table.column.number-input";
91232
- const compatibilityDate$O = "2026-05-20";
91233
- const metadata$O = {
91259
+ const type$P = "com.shwfed.table.column.number-input";
91260
+ const compatibilityDate$P = "2026-05-20";
91261
+ const metadata$P = {
91234
91262
  name: "数值输入",
91235
91263
  icon: "fluent:number-symbol-20-regular"
91236
91264
  };
91237
- function schema$O(configure) {
91265
+ function schema$P(configure) {
91238
91266
  const CelBool = CelRowAccess(configure, { resultType: "bool" });
91239
91267
  const CelNumber = CelRowAccess(configure, { resultType: "number" });
91240
91268
  return Struct({
91241
- type: Literal2(type$O),
91242
- compatibilityDate: Literal2(compatibilityDate$O),
91269
+ type: Literal2(type$P),
91270
+ compatibilityDate: Literal2(compatibilityDate$P),
91243
91271
  ...editableColumnFields(),
91244
91272
  placeholder: optional(Locale.annotations({
91245
91273
  title: "占位符",
@@ -91284,7 +91312,7 @@ function schema$O(configure) {
91284
91312
  derived: derivedRowField(configure, "number")
91285
91313
  }).annotations({ title: "NumberInputRenderer", description: "数值输入渲染器(可编辑)" });
91286
91314
  }
91287
- function defaults$r() {
91315
+ function defaults$s() {
91288
91316
  return {
91289
91317
  title: [{ locale: "zh", message: "" }],
91290
91318
  binding: "",
@@ -91314,24 +91342,24 @@ function toColumnDef$o(value, { getLocaleText }) {
91314
91342
  }
91315
91343
  const __vite_glob_0_10 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
91316
91344
  __proto__: null,
91317
- compatibilityDate: compatibilityDate$O,
91318
- defaults: defaults$r,
91319
- metadata: metadata$O,
91320
- schema: schema$O,
91345
+ compatibilityDate: compatibilityDate$P,
91346
+ defaults: defaults$s,
91347
+ metadata: metadata$P,
91348
+ schema: schema$P,
91321
91349
  toColumnDef: toColumnDef$o,
91322
- type: type$O
91350
+ type: type$P
91323
91351
  }, Symbol.toStringTag, { value: "Module" }));
91324
- const type$N = "com.shwfed.table.column.switch.local";
91325
- const compatibilityDate$N = "2026-05-20";
91326
- const metadata$N = {
91352
+ const type$O = "com.shwfed.table.column.switch.local";
91353
+ const compatibilityDate$O = "2026-05-20";
91354
+ const metadata$O = {
91327
91355
  name: "开关",
91328
91356
  icon: "fluent:toggle-left-20-regular"
91329
91357
  };
91330
- function schema$N(configure) {
91358
+ function schema$O(configure) {
91331
91359
  const CelBool = CelRowAccess(configure, { resultType: "bool" });
91332
91360
  return Struct({
91333
- type: Literal2(type$N),
91334
- compatibilityDate: Literal2(compatibilityDate$N),
91361
+ type: Literal2(type$O),
91362
+ compatibilityDate: Literal2(compatibilityDate$O),
91335
91363
  ...editableColumnFields(),
91336
91364
  hidden: optional(CelBool.annotations({
91337
91365
  title: "隐藏条件",
@@ -91356,7 +91384,7 @@ function schema$N(configure) {
91356
91384
  derived: derivedRowField(configure, "bool")
91357
91385
  }).annotations({ title: "SwitchRenderer", description: "开关渲染器(可编辑、本地)" });
91358
91386
  }
91359
- function defaults$q() {
91387
+ function defaults$r() {
91360
91388
  return {
91361
91389
  title: [{ locale: "zh", message: "" }],
91362
91390
  binding: "",
@@ -91364,14 +91392,14 @@ function defaults$q() {
91364
91392
  };
91365
91393
  }
91366
91394
  const migrateFrom$j = [
91367
- { type: "com.shwfed.table.column.switch", compatibilityDate: compatibilityDate$N }
91395
+ { type: "com.shwfed.table.column.switch", compatibilityDate: compatibilityDate$O }
91368
91396
  ];
91369
91397
  const migrate$k = (prev) => try_({
91370
91398
  try: () => {
91371
91399
  if (!prev || typeof prev !== "object") {
91372
91400
  throw new Error("开关(本地)迁移失败:原值不是对象");
91373
91401
  }
91374
- return { ...prev, type: type$N, compatibilityDate: compatibilityDate$N };
91402
+ return { ...prev, type: type$O, compatibilityDate: compatibilityDate$O };
91375
91403
  },
91376
91404
  catch: (e) => e instanceof Error ? e : new Error(String(e))
91377
91405
  });
@@ -91397,26 +91425,26 @@ function toColumnDef$n(value, { getLocaleText }) {
91397
91425
  }
91398
91426
  const __vite_glob_0_11 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
91399
91427
  __proto__: null,
91400
- compatibilityDate: compatibilityDate$N,
91401
- defaults: defaults$q,
91402
- metadata: metadata$N,
91428
+ compatibilityDate: compatibilityDate$O,
91429
+ defaults: defaults$r,
91430
+ metadata: metadata$O,
91403
91431
  migrate: migrate$k,
91404
91432
  migrateFrom: migrateFrom$j,
91405
- schema: schema$N,
91433
+ schema: schema$O,
91406
91434
  toColumnDef: toColumnDef$n,
91407
- type: type$N
91435
+ type: type$O
91408
91436
  }, Symbol.toStringTag, { value: "Module" }));
91409
- const type$M = "com.shwfed.table.column.switch";
91410
- const compatibilityDate$M = "2026-05-20";
91411
- const metadata$M = {
91437
+ const type$N = "com.shwfed.table.column.switch";
91438
+ const compatibilityDate$N = "2026-05-20";
91439
+ const metadata$N = {
91412
91440
  name: "开关",
91413
91441
  icon: "fluent:toggle-left-20-regular"
91414
91442
  };
91415
- function schema$M(configure) {
91443
+ function schema$N(configure) {
91416
91444
  const CelBool = CelRowAccess(configure, { resultType: "bool" });
91417
91445
  return Struct({
91418
- type: Literal2(type$M),
91419
- compatibilityDate: Literal2(compatibilityDate$M),
91446
+ type: Literal2(type$N),
91447
+ compatibilityDate: Literal2(compatibilityDate$N),
91420
91448
  ...editableColumnFields(),
91421
91449
  hidden: optional(CelBool.annotations({
91422
91450
  title: "隐藏条件",
@@ -91463,23 +91491,23 @@ function toColumnDef$m(value, { getLocaleText }) {
91463
91491
  }
91464
91492
  const __vite_glob_0_12 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
91465
91493
  __proto__: null,
91466
- compatibilityDate: compatibilityDate$M,
91467
- metadata: metadata$M,
91468
- schema: schema$M,
91494
+ compatibilityDate: compatibilityDate$N,
91495
+ metadata: metadata$N,
91496
+ schema: schema$N,
91469
91497
  toColumnDef: toColumnDef$m,
91470
- type: type$M
91498
+ type: type$N
91471
91499
  }, Symbol.toStringTag, { value: "Module" }));
91472
- const type$L = "com.shwfed.table.column.text-input";
91473
- const compatibilityDate$L = "2026-05-20";
91474
- const metadata$L = {
91500
+ const type$M = "com.shwfed.table.column.text-input";
91501
+ const compatibilityDate$M = "2026-05-20";
91502
+ const metadata$M = {
91475
91503
  name: "文本输入",
91476
91504
  icon: "fluent:text-field-20-regular"
91477
91505
  };
91478
- function schema$L(configure) {
91506
+ function schema$M(configure) {
91479
91507
  const CelBool = CelRowAccess(configure, { resultType: "bool" });
91480
91508
  return Struct({
91481
- type: Literal2(type$L),
91482
- compatibilityDate: Literal2(compatibilityDate$L),
91509
+ type: Literal2(type$M),
91510
+ compatibilityDate: Literal2(compatibilityDate$M),
91483
91511
  ...editableColumnFields(),
91484
91512
  placeholder: optional(Locale.annotations({
91485
91513
  title: "占位符",
@@ -91500,7 +91528,7 @@ function schema$L(configure) {
91500
91528
  derived: derivedRowField(configure, "string")
91501
91529
  }).annotations({ title: "TextInputRenderer", description: "文本输入渲染器(可编辑)" });
91502
91530
  }
91503
- function defaults$p() {
91531
+ function defaults$q() {
91504
91532
  return {
91505
91533
  title: [{ locale: "zh", message: "" }],
91506
91534
  binding: "",
@@ -91527,12 +91555,12 @@ function toColumnDef$l(value, { getLocaleText }) {
91527
91555
  }
91528
91556
  const __vite_glob_0_13 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
91529
91557
  __proto__: null,
91530
- compatibilityDate: compatibilityDate$L,
91531
- defaults: defaults$p,
91532
- metadata: metadata$L,
91533
- schema: schema$L,
91558
+ compatibilityDate: compatibilityDate$M,
91559
+ defaults: defaults$q,
91560
+ metadata: metadata$M,
91561
+ schema: schema$M,
91534
91562
  toColumnDef: toColumnDef$l,
91535
- type: type$L
91563
+ type: type$M
91536
91564
  }, Symbol.toStringTag, { value: "Module" }));
91537
91565
  const matchIconName = /^[a-z0-9]+(-[a-z0-9]+)*$/;
91538
91566
  const stringToIcon = (value, validate2, allowSimpleName, provider = "") => {
@@ -92916,16 +92944,16 @@ const Icon = vueExports.defineComponent((props, { emit }) => {
92916
92944
  ],
92917
92945
  emits: ["load"]
92918
92946
  });
92919
- const type$K = "com.shwfed.table.column.drag-handle";
92920
- const compatibilityDate$K = "2026-05-21";
92921
- const metadata$K = {
92947
+ const type$L = "com.shwfed.table.column.drag-handle";
92948
+ const compatibilityDate$L = "2026-05-21";
92949
+ const metadata$L = {
92922
92950
  name: "拖拽",
92923
92951
  icon: "fluent:re-order-dots-vertical-20-regular"
92924
92952
  };
92925
- function schema$K(_configure) {
92953
+ function schema$L(_configure) {
92926
92954
  return Struct({
92927
- type: Literal2(type$K),
92928
- compatibilityDate: Literal2(compatibilityDate$K),
92955
+ type: Literal2(type$L),
92956
+ compatibilityDate: Literal2(compatibilityDate$L),
92929
92957
  ...columnIdentityFields()
92930
92958
  }).annotations({ title: "DragHandleRenderer", description: "行拖拽手柄列" });
92931
92959
  }
@@ -92945,15 +92973,15 @@ function toColumnDef$k(_value) {
92945
92973
  }
92946
92974
  const __vite_glob_0_14 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
92947
92975
  __proto__: null,
92948
- compatibilityDate: compatibilityDate$K,
92949
- metadata: metadata$K,
92950
- schema: schema$K,
92976
+ compatibilityDate: compatibilityDate$L,
92977
+ metadata: metadata$L,
92978
+ schema: schema$L,
92951
92979
  toColumnDef: toColumnDef$k,
92952
- type: type$K
92980
+ type: type$L
92953
92981
  }, Symbol.toStringTag, { value: "Module" }));
92954
- const type$J = "com.shwfed.table.column.combobox-single.remote.options-remote";
92955
- const compatibilityDate$J = "2026-05-24";
92956
- const metadata$J = {
92982
+ const type$K = "com.shwfed.table.column.combobox-single.remote.options-remote";
92983
+ const compatibilityDate$K = "2026-05-24";
92984
+ const metadata$K = {
92957
92985
  name: "远程下拉单选",
92958
92986
  icon: "fluent:cloud-arrow-down-20-regular"
92959
92987
  };
@@ -92968,7 +92996,7 @@ const JSON_VAR$3 = {
92968
92996
  description: "HTTP 响应体(已解析 JSON);请求失败或尚未完成时为 `null`"
92969
92997
  };
92970
92998
  const isListType$f = (actual) => actual === "dyn" || actual.startsWith("list");
92971
- function schema$J(configure) {
92999
+ function schema$K(configure) {
92972
93000
  const CelBool = CelRowAccess(configure, { resultType: "bool" });
92973
93001
  const CelRequest = Expression({
92974
93002
  configure: (env) => {
@@ -93016,8 +93044,8 @@ function schema$J(configure) {
93016
93044
  resultType: "string"
93017
93045
  });
93018
93046
  return Struct({
93019
- type: Literal2(type$J),
93020
- compatibilityDate: Literal2(compatibilityDate$J),
93047
+ type: Literal2(type$K),
93048
+ compatibilityDate: Literal2(compatibilityDate$K),
93021
93049
  ...columnFields(configure),
93022
93050
  placeholder: optional(Locale.annotations({
93023
93051
  title: "占位符",
@@ -93092,15 +93120,15 @@ const __vite_glob_0_15 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.de
93092
93120
  __proto__: null,
93093
93121
  JSON_VAR: JSON_VAR$3,
93094
93122
  OPTION_VAR: OPTION_VAR$1,
93095
- compatibilityDate: compatibilityDate$J,
93096
- metadata: metadata$J,
93097
- schema: schema$J,
93123
+ compatibilityDate: compatibilityDate$K,
93124
+ metadata: metadata$K,
93125
+ schema: schema$K,
93098
93126
  toColumnDef: toColumnDef$j,
93099
- type: type$J
93127
+ type: type$K
93100
93128
  }, Symbol.toStringTag, { value: "Module" }));
93101
- const type$I = "com.shwfed.table.column.combobox-single.remote.options-static";
93102
- const compatibilityDate$I = "2026-05-24";
93103
- const metadata$I = {
93129
+ const type$J = "com.shwfed.table.column.combobox-single.remote.options-static";
93130
+ const compatibilityDate$J = "2026-05-24";
93131
+ const metadata$J = {
93104
93132
  name: "下拉单选",
93105
93133
  icon: "fluent:chevron-down-20-regular"
93106
93134
  };
@@ -93133,7 +93161,7 @@ function itemSchema$f(configure) {
93133
93161
  title: "ComboboxSingleRemoteOptionsStaticItem"
93134
93162
  });
93135
93163
  }
93136
- function schema$I(configure) {
93164
+ function schema$J(configure) {
93137
93165
  const CelBool = CelRowAccess(configure, { resultType: "bool" });
93138
93166
  const Item = itemSchema$f(configure);
93139
93167
  const CelOnChange = Expression({
@@ -93152,8 +93180,8 @@ function schema$I(configure) {
93152
93180
  resultType: "string"
93153
93181
  });
93154
93182
  return Struct({
93155
- type: Literal2(type$I),
93156
- compatibilityDate: Literal2(compatibilityDate$I),
93183
+ type: Literal2(type$J),
93184
+ compatibilityDate: Literal2(compatibilityDate$J),
93157
93185
  ...columnFields(configure),
93158
93186
  placeholder: optional(Locale.annotations({
93159
93187
  title: "占位符",
@@ -93214,16 +93242,16 @@ function toColumnDef$i(value, { getLocaleText, $cel, inheritedContext }) {
93214
93242
  }
93215
93243
  const __vite_glob_0_16 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
93216
93244
  __proto__: null,
93217
- compatibilityDate: compatibilityDate$I,
93245
+ compatibilityDate: compatibilityDate$J,
93218
93246
  itemSchema: itemSchema$f,
93219
- metadata: metadata$I,
93220
- schema: schema$I,
93247
+ metadata: metadata$J,
93248
+ schema: schema$J,
93221
93249
  toColumnDef: toColumnDef$i,
93222
- type: type$I
93250
+ type: type$J
93223
93251
  }, Symbol.toStringTag, { value: "Module" }));
93224
- const type$H = "com.shwfed.table.column.combobox-multi.remote.options-remote";
93225
- const compatibilityDate$H = "2026-05-25";
93226
- const metadata$H = {
93252
+ const type$I = "com.shwfed.table.column.combobox-multi.remote.options-remote";
93253
+ const compatibilityDate$I = "2026-05-25";
93254
+ const metadata$I = {
93227
93255
  name: "远程下拉多选",
93228
93256
  icon: "fluent:cloud-arrow-down-20-regular"
93229
93257
  };
@@ -93238,7 +93266,7 @@ const JSON_VAR$2 = {
93238
93266
  description: "HTTP 响应体(已解析 JSON);请求失败或尚未完成时为 `null`"
93239
93267
  };
93240
93268
  const isListType$e = (actual) => actual === "dyn" || actual.startsWith("list");
93241
- function schema$H(configure) {
93269
+ function schema$I(configure) {
93242
93270
  const CelBool = CelRowAccess(configure, { resultType: "bool" });
93243
93271
  const CelRequest = Expression({
93244
93272
  configure: (env) => {
@@ -93286,8 +93314,8 @@ function schema$H(configure) {
93286
93314
  resultType: "string"
93287
93315
  });
93288
93316
  return Struct({
93289
- type: Literal2(type$H),
93290
- compatibilityDate: Literal2(compatibilityDate$H),
93317
+ type: Literal2(type$I),
93318
+ compatibilityDate: Literal2(compatibilityDate$I),
93291
93319
  ...columnFields(configure),
93292
93320
  placeholder: optional(Locale.annotations({
93293
93321
  title: "占位符",
@@ -93362,15 +93390,15 @@ const __vite_glob_0_17 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.de
93362
93390
  __proto__: null,
93363
93391
  JSON_VAR: JSON_VAR$2,
93364
93392
  OPTION_VAR,
93365
- compatibilityDate: compatibilityDate$H,
93366
- metadata: metadata$H,
93367
- schema: schema$H,
93393
+ compatibilityDate: compatibilityDate$I,
93394
+ metadata: metadata$I,
93395
+ schema: schema$I,
93368
93396
  toColumnDef: toColumnDef$h,
93369
- type: type$H
93397
+ type: type$I
93370
93398
  }, Symbol.toStringTag, { value: "Module" }));
93371
- const type$G = "com.shwfed.table.column.combobox-multi.remote.options-static";
93372
- const compatibilityDate$G = "2026-05-25";
93373
- const metadata$G = {
93399
+ const type$H = "com.shwfed.table.column.combobox-multi.remote.options-static";
93400
+ const compatibilityDate$H = "2026-05-25";
93401
+ const metadata$H = {
93374
93402
  name: "下拉多选",
93375
93403
  icon: "fluent:chevron-down-20-regular"
93376
93404
  };
@@ -93403,7 +93431,7 @@ function itemSchema$e(configure) {
93403
93431
  title: "ComboboxMultiRemoteOptionsStaticItem"
93404
93432
  });
93405
93433
  }
93406
- function schema$G(configure) {
93434
+ function schema$H(configure) {
93407
93435
  const CelBool = CelRowAccess(configure, { resultType: "bool" });
93408
93436
  const Item = itemSchema$e(configure);
93409
93437
  const CelOnChange = Expression({
@@ -93422,8 +93450,8 @@ function schema$G(configure) {
93422
93450
  resultType: "string"
93423
93451
  });
93424
93452
  return Struct({
93425
- type: Literal2(type$G),
93426
- compatibilityDate: Literal2(compatibilityDate$G),
93453
+ type: Literal2(type$H),
93454
+ compatibilityDate: Literal2(compatibilityDate$H),
93427
93455
  ...columnFields(configure),
93428
93456
  placeholder: optional(Locale.annotations({
93429
93457
  title: "占位符",
@@ -93484,16 +93512,16 @@ function toColumnDef$g(value, { getLocaleText, $cel, inheritedContext }) {
93484
93512
  }
93485
93513
  const __vite_glob_0_18 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
93486
93514
  __proto__: null,
93487
- compatibilityDate: compatibilityDate$G,
93515
+ compatibilityDate: compatibilityDate$H,
93488
93516
  itemSchema: itemSchema$e,
93489
- metadata: metadata$G,
93490
- schema: schema$G,
93517
+ metadata: metadata$H,
93518
+ schema: schema$H,
93491
93519
  toColumnDef: toColumnDef$g,
93492
- type: type$G
93520
+ type: type$H
93493
93521
  }, Symbol.toStringTag, { value: "Module" }));
93494
- const type$F = "com.shwfed.table.column.combobox-multi";
93495
- const compatibilityDate$F = "2026-05-25";
93496
- const metadata$F = {
93522
+ const type$G = "com.shwfed.table.column.combobox-multi";
93523
+ const compatibilityDate$G = "2026-05-25";
93524
+ const metadata$G = {
93497
93525
  name: "下拉多选",
93498
93526
  icon: "fluent:chevron-down-20-regular"
93499
93527
  };
@@ -93526,12 +93554,12 @@ function itemSchema$d(configure) {
93526
93554
  title: "ComboboxMultiItem"
93527
93555
  });
93528
93556
  }
93529
- function schema$F(configure) {
93557
+ function schema$G(configure) {
93530
93558
  const CelBool = CelRowAccess(configure, { resultType: "bool" });
93531
93559
  const Item = itemSchema$d(configure);
93532
93560
  return Struct({
93533
- type: Literal2(type$F),
93534
- compatibilityDate: Literal2(compatibilityDate$F),
93561
+ type: Literal2(type$G),
93562
+ compatibilityDate: Literal2(compatibilityDate$G),
93535
93563
  ...editableColumnFields(),
93536
93564
  placeholder: optional(Locale.annotations({
93537
93565
  title: "占位符",
@@ -93577,16 +93605,16 @@ function toColumnDef$f(value, { getLocaleText }) {
93577
93605
  }
93578
93606
  const __vite_glob_0_19 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
93579
93607
  __proto__: null,
93580
- compatibilityDate: compatibilityDate$F,
93608
+ compatibilityDate: compatibilityDate$G,
93581
93609
  itemSchema: itemSchema$d,
93582
- metadata: metadata$F,
93583
- schema: schema$F,
93610
+ metadata: metadata$G,
93611
+ schema: schema$G,
93584
93612
  toColumnDef: toColumnDef$f,
93585
- type: type$F
93613
+ type: type$G
93586
93614
  }, Symbol.toStringTag, { value: "Module" }));
93587
- const type$E = "com.shwfed.table.column.combobox-multi.remote";
93588
- const compatibilityDate$E = "2026-05-26";
93589
- const metadata$E = {
93615
+ const type$F = "com.shwfed.table.column.combobox-multi.remote";
93616
+ const compatibilityDate$F = "2026-05-26";
93617
+ const metadata$F = {
93590
93618
  name: "多选(远程)",
93591
93619
  icon: "fluent:cloud-arrow-up-20-regular"
93592
93620
  };
@@ -93686,7 +93714,7 @@ function optionsSchema$b(configure) {
93686
93714
  description: '选项可以是静态配置(`kind: "static"`)或由远程接口加载(`kind: "remote"`)'
93687
93715
  });
93688
93716
  }
93689
- function schema$E(configure) {
93717
+ function schema$F(configure) {
93690
93718
  const CelBool = CelRowAccess(configure, { resultType: "bool" });
93691
93719
  const Options = optionsSchema$b(configure);
93692
93720
  const CelOnChange = Expression({
@@ -93705,8 +93733,8 @@ function schema$E(configure) {
93705
93733
  resultType: "string"
93706
93734
  });
93707
93735
  return Struct({
93708
- type: Literal2(type$E),
93709
- compatibilityDate: Literal2(compatibilityDate$E),
93736
+ type: Literal2(type$F),
93737
+ compatibilityDate: Literal2(compatibilityDate$F),
93710
93738
  ...columnFields(configure),
93711
93739
  placeholder: optional(Locale.annotations({
93712
93740
  title: "占位符",
@@ -93760,8 +93788,8 @@ const migrate$j = (prev) => try_({
93760
93788
  const itemsArr = Array.isArray(items2) ? items2 : [];
93761
93789
  return {
93762
93790
  ...rest,
93763
- type: type$E,
93764
- compatibilityDate: compatibilityDate$E,
93791
+ type: type$F,
93792
+ compatibilityDate: compatibilityDate$F,
93765
93793
  options: { kind: "static", items: itemsArr }
93766
93794
  };
93767
93795
  }
@@ -93774,8 +93802,8 @@ const migrate$j = (prev) => try_({
93774
93802
  if (Array.isArray(optionLabel)) remote.optionLabel = optionLabel;
93775
93803
  return {
93776
93804
  ...rest,
93777
- type: type$E,
93778
- compatibilityDate: compatibilityDate$E,
93805
+ type: type$F,
93806
+ compatibilityDate: compatibilityDate$F,
93779
93807
  options: remote
93780
93808
  };
93781
93809
  }
@@ -93805,20 +93833,20 @@ function toColumnDef$e(value, { getLocaleText, $cel, inheritedContext }) {
93805
93833
  }
93806
93834
  const __vite_glob_0_20$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
93807
93835
  __proto__: null,
93808
- compatibilityDate: compatibilityDate$E,
93836
+ compatibilityDate: compatibilityDate$F,
93809
93837
  itemSchema: itemSchema$c,
93810
- metadata: metadata$E,
93838
+ metadata: metadata$F,
93811
93839
  migrate: migrate$j,
93812
93840
  migrateFrom: migrateFrom$i,
93813
93841
  optionsSchema: optionsSchema$b,
93814
93842
  remoteOptionsSchema: remoteOptionsSchema$b,
93815
- schema: schema$E,
93843
+ schema: schema$F,
93816
93844
  toColumnDef: toColumnDef$e,
93817
- type: type$E
93845
+ type: type$F
93818
93846
  }, Symbol.toStringTag, { value: "Module" }));
93819
- const type$D = "com.shwfed.table.column.combobox-multi";
93820
- const compatibilityDate$D = "2026-05-26";
93821
- const metadata$D = {
93847
+ const type$E = "com.shwfed.table.column.combobox-multi";
93848
+ const compatibilityDate$E = "2026-05-26";
93849
+ const metadata$E = {
93822
93850
  name: "多选",
93823
93851
  icon: "fluent:chevron-down-20-regular"
93824
93852
  };
@@ -93918,12 +93946,12 @@ function optionsSchema$a(configure) {
93918
93946
  description: '选项可以是静态配置(`kind: "static"`)或由远程接口加载(`kind: "remote"`)'
93919
93947
  });
93920
93948
  }
93921
- function schema$D(configure) {
93949
+ function schema$E(configure) {
93922
93950
  const CelBool = CelRowAccess(configure, { resultType: "bool" });
93923
93951
  const Options = optionsSchema$a(configure);
93924
93952
  return Struct({
93925
- type: Literal2(type$D),
93926
- compatibilityDate: Literal2(compatibilityDate$D),
93953
+ type: Literal2(type$E),
93954
+ compatibilityDate: Literal2(compatibilityDate$E),
93927
93955
  ...editableColumnFields(),
93928
93956
  placeholder: optional(Locale.annotations({
93929
93957
  title: "占位符",
@@ -93959,8 +93987,8 @@ const migrate$i = (prev) => try_({
93959
93987
  const itemsArr = Array.isArray(items2) ? items2 : [];
93960
93988
  return {
93961
93989
  ...rest,
93962
- type: type$D,
93963
- compatibilityDate: compatibilityDate$D,
93990
+ type: type$E,
93991
+ compatibilityDate: compatibilityDate$E,
93964
93992
  options: { kind: "static", items: itemsArr }
93965
93993
  };
93966
93994
  },
@@ -93984,20 +94012,20 @@ function toColumnDef$d(value, { getLocaleText }) {
93984
94012
  }
93985
94013
  const __vite_glob_0_21$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
93986
94014
  __proto__: null,
93987
- compatibilityDate: compatibilityDate$D,
94015
+ compatibilityDate: compatibilityDate$E,
93988
94016
  itemSchema: itemSchema$b,
93989
- metadata: metadata$D,
94017
+ metadata: metadata$E,
93990
94018
  migrate: migrate$i,
93991
94019
  migrateFrom: migrateFrom$h,
93992
94020
  optionsSchema: optionsSchema$a,
93993
94021
  remoteOptionsSchema: remoteOptionsSchema$a,
93994
- schema: schema$D,
94022
+ schema: schema$E,
93995
94023
  toColumnDef: toColumnDef$d,
93996
- type: type$D
94024
+ type: type$E
93997
94025
  }, Symbol.toStringTag, { value: "Module" }));
93998
- const type$C = "com.shwfed.table.column.combobox-single.remote";
93999
- const compatibilityDate$C = "2026-05-26";
94000
- const metadata$C = {
94026
+ const type$D = "com.shwfed.table.column.combobox-single.remote";
94027
+ const compatibilityDate$D = "2026-05-26";
94028
+ const metadata$D = {
94001
94029
  name: "单选(远程)",
94002
94030
  icon: "fluent:cloud-arrow-up-20-regular"
94003
94031
  };
@@ -94097,7 +94125,7 @@ function optionsSchema$9(configure) {
94097
94125
  description: '选项可以是静态配置(`kind: "static"`)或由远程接口加载(`kind: "remote"`)'
94098
94126
  });
94099
94127
  }
94100
- function schema$C(configure) {
94128
+ function schema$D(configure) {
94101
94129
  const CelBool = CelRowAccess(configure, { resultType: "bool" });
94102
94130
  const Options = optionsSchema$9(configure);
94103
94131
  const CelOnChange = Expression({
@@ -94116,8 +94144,8 @@ function schema$C(configure) {
94116
94144
  resultType: "string"
94117
94145
  });
94118
94146
  return Struct({
94119
- type: Literal2(type$C),
94120
- compatibilityDate: Literal2(compatibilityDate$C),
94147
+ type: Literal2(type$D),
94148
+ compatibilityDate: Literal2(compatibilityDate$D),
94121
94149
  ...columnFields(configure),
94122
94150
  placeholder: optional(Locale.annotations({
94123
94151
  title: "占位符",
@@ -94171,8 +94199,8 @@ const migrate$h = (prev) => try_({
94171
94199
  const itemsArr = Array.isArray(items2) ? items2 : [];
94172
94200
  return {
94173
94201
  ...rest,
94174
- type: type$C,
94175
- compatibilityDate: compatibilityDate$C,
94202
+ type: type$D,
94203
+ compatibilityDate: compatibilityDate$D,
94176
94204
  options: { kind: "static", items: itemsArr }
94177
94205
  };
94178
94206
  }
@@ -94185,8 +94213,8 @@ const migrate$h = (prev) => try_({
94185
94213
  if (Array.isArray(optionLabel)) remote.optionLabel = optionLabel;
94186
94214
  return {
94187
94215
  ...rest,
94188
- type: type$C,
94189
- compatibilityDate: compatibilityDate$C,
94216
+ type: type$D,
94217
+ compatibilityDate: compatibilityDate$D,
94190
94218
  options: remote
94191
94219
  };
94192
94220
  }
@@ -94216,20 +94244,20 @@ function toColumnDef$c(value, { getLocaleText, $cel, inheritedContext }) {
94216
94244
  }
94217
94245
  const __vite_glob_0_22$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
94218
94246
  __proto__: null,
94219
- compatibilityDate: compatibilityDate$C,
94247
+ compatibilityDate: compatibilityDate$D,
94220
94248
  itemSchema: itemSchema$a,
94221
- metadata: metadata$C,
94249
+ metadata: metadata$D,
94222
94250
  migrate: migrate$h,
94223
94251
  migrateFrom: migrateFrom$g,
94224
94252
  optionsSchema: optionsSchema$9,
94225
94253
  remoteOptionsSchema: remoteOptionsSchema$9,
94226
- schema: schema$C,
94254
+ schema: schema$D,
94227
94255
  toColumnDef: toColumnDef$c,
94228
- type: type$C
94256
+ type: type$D
94229
94257
  }, Symbol.toStringTag, { value: "Module" }));
94230
- const type$B = "com.shwfed.table.column.combobox-single";
94231
- const compatibilityDate$B = "2026-05-26";
94232
- const metadata$B = {
94258
+ const type$C = "com.shwfed.table.column.combobox-single";
94259
+ const compatibilityDate$C = "2026-05-26";
94260
+ const metadata$C = {
94233
94261
  name: "单选",
94234
94262
  icon: "fluent:chevron-down-20-regular"
94235
94263
  };
@@ -94329,12 +94357,12 @@ function optionsSchema$8(configure) {
94329
94357
  description: '选项可以是静态配置(`kind: "static"`)或由远程接口加载(`kind: "remote"`)'
94330
94358
  });
94331
94359
  }
94332
- function schema$B(configure) {
94360
+ function schema$C(configure) {
94333
94361
  const CelBool = CelRowAccess(configure, { resultType: "bool" });
94334
94362
  const Options = optionsSchema$8(configure);
94335
94363
  return Struct({
94336
- type: Literal2(type$B),
94337
- compatibilityDate: Literal2(compatibilityDate$B),
94364
+ type: Literal2(type$C),
94365
+ compatibilityDate: Literal2(compatibilityDate$C),
94338
94366
  ...editableColumnFields(),
94339
94367
  placeholder: optional(Locale.annotations({
94340
94368
  title: "占位符",
@@ -94370,8 +94398,8 @@ const migrate$g = (prev) => try_({
94370
94398
  const itemsArr = Array.isArray(items2) ? items2 : [];
94371
94399
  return {
94372
94400
  ...rest,
94373
- type: type$B,
94374
- compatibilityDate: compatibilityDate$B,
94401
+ type: type$C,
94402
+ compatibilityDate: compatibilityDate$C,
94375
94403
  options: { kind: "static", items: itemsArr }
94376
94404
  };
94377
94405
  },
@@ -94395,16 +94423,16 @@ function toColumnDef$b(value, { getLocaleText }) {
94395
94423
  }
94396
94424
  const __vite_glob_0_23$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
94397
94425
  __proto__: null,
94398
- compatibilityDate: compatibilityDate$B,
94426
+ compatibilityDate: compatibilityDate$C,
94399
94427
  itemSchema: itemSchema$9,
94400
- metadata: metadata$B,
94428
+ metadata: metadata$C,
94401
94429
  migrate: migrate$g,
94402
94430
  migrateFrom: migrateFrom$f,
94403
94431
  optionsSchema: optionsSchema$8,
94404
94432
  remoteOptionsSchema: remoteOptionsSchema$8,
94405
- schema: schema$B,
94433
+ schema: schema$C,
94406
94434
  toColumnDef: toColumnDef$b,
94407
- type: type$B
94435
+ type: type$C
94408
94436
  }, Symbol.toStringTag, { value: "Module" }));
94409
94437
  const NODE_VAR_TYPE = "dyn";
94410
94438
  const NODE_VAR_DESCRIPTION = "当前节点;由 `数据` 表达式返回的每一项";
@@ -94416,9 +94444,9 @@ function registerNodeVariableIfAbsent(env, meta = {}) {
94416
94444
  description: meta.description ?? NODE_VAR_DESCRIPTION
94417
94445
  });
94418
94446
  }
94419
- const type$A = "com.shwfed.table.column.tree-combobox-multi";
94420
- const compatibilityDate$A = "2026-05-27";
94421
- const metadata$A = {
94447
+ const type$B = "com.shwfed.table.column.tree-combobox-multi";
94448
+ const compatibilityDate$B = "2026-05-27";
94449
+ const metadata$B = {
94422
94450
  name: "下拉树(多选)",
94423
94451
  icon: "fluent:tree-evergreen-20-regular"
94424
94452
  };
@@ -94431,7 +94459,7 @@ function withRowAndNode$5(configure) {
94431
94459
  registerNodeVariableIfAbsent(env, { description: "`数据源` 返回的节点;由树逐层向下读取" });
94432
94460
  };
94433
94461
  }
94434
- function schema$A(configure) {
94462
+ function schema$B(configure) {
94435
94463
  const CelBool = CelRowAccess(configure, { resultType: "bool" });
94436
94464
  const CelNodeKey = Expression({ configure: withRowAndNode$5(configure), resultType: isKeyType$9 });
94437
94465
  const CelNodeChildren = Expression({ configure: withRowAndNode$5(configure), resultType: isListLike$9 });
@@ -94465,8 +94493,8 @@ function schema$A(configure) {
94465
94493
  })
94466
94494
  }).annotations({ title: "DataSource", description: "数据源配置" });
94467
94495
  return Struct({
94468
- type: Literal2(type$A),
94469
- compatibilityDate: Literal2(compatibilityDate$A),
94496
+ type: Literal2(type$B),
94497
+ compatibilityDate: Literal2(compatibilityDate$B),
94470
94498
  ...editableColumnFields(),
94471
94499
  placeholder: optional(Locale.annotations({
94472
94500
  title: "占位符",
@@ -94522,7 +94550,7 @@ function schema$A(configure) {
94522
94550
  })
94523
94551
  }).annotations({ title: "TreeComboboxMultiRenderer", description: "下拉树多选渲染器(可编辑)" });
94524
94552
  }
94525
- function defaults$o() {
94553
+ function defaults$p() {
94526
94554
  return {
94527
94555
  dataSource: { data: "[]" },
94528
94556
  nodeKey: "string(node.id)",
@@ -94550,16 +94578,16 @@ function toColumnDef$a(value, { getLocaleText }) {
94550
94578
  }
94551
94579
  const __vite_glob_0_24$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
94552
94580
  __proto__: null,
94553
- compatibilityDate: compatibilityDate$A,
94554
- defaults: defaults$o,
94555
- metadata: metadata$A,
94556
- schema: schema$A,
94581
+ compatibilityDate: compatibilityDate$B,
94582
+ defaults: defaults$p,
94583
+ metadata: metadata$B,
94584
+ schema: schema$B,
94557
94585
  toColumnDef: toColumnDef$a,
94558
- type: type$A
94586
+ type: type$B
94559
94587
  }, Symbol.toStringTag, { value: "Module" }));
94560
- const type$z = "com.shwfed.table.column.tree-combobox-single";
94561
- const compatibilityDate$z = "2026-05-27";
94562
- const metadata$z = {
94588
+ const type$A = "com.shwfed.table.column.tree-combobox-single";
94589
+ const compatibilityDate$A = "2026-05-27";
94590
+ const metadata$A = {
94563
94591
  name: "下拉树(单选)",
94564
94592
  icon: "fluent:tree-evergreen-20-regular"
94565
94593
  };
@@ -94572,7 +94600,7 @@ function withRowAndNode$4(configure) {
94572
94600
  registerNodeVariableIfAbsent(env, { description: "`数据源` 返回的节点;由树逐层向下读取" });
94573
94601
  };
94574
94602
  }
94575
- function schema$z(configure) {
94603
+ function schema$A(configure) {
94576
94604
  const CelBool = CelRowAccess(configure, { resultType: "bool" });
94577
94605
  const CelNodeKey = Expression({ configure: withRowAndNode$4(configure), resultType: isKeyType$8 });
94578
94606
  const CelNodeChildren = Expression({ configure: withRowAndNode$4(configure), resultType: isListLike$8 });
@@ -94606,8 +94634,8 @@ function schema$z(configure) {
94606
94634
  })
94607
94635
  }).annotations({ title: "DataSource", description: "数据源配置" });
94608
94636
  return Struct({
94609
- type: Literal2(type$z),
94610
- compatibilityDate: Literal2(compatibilityDate$z),
94637
+ type: Literal2(type$A),
94638
+ compatibilityDate: Literal2(compatibilityDate$A),
94611
94639
  ...editableColumnFields(),
94612
94640
  placeholder: optional(Locale.annotations({
94613
94641
  title: "占位符",
@@ -94656,7 +94684,7 @@ function schema$z(configure) {
94656
94684
  })
94657
94685
  }).annotations({ title: "TreeComboboxSingleRenderer", description: "下拉树单选渲染器(可编辑)" });
94658
94686
  }
94659
- function defaults$n() {
94687
+ function defaults$o() {
94660
94688
  return {
94661
94689
  dataSource: { data: "[]" },
94662
94690
  nodeKey: "string(node.id)",
@@ -94683,16 +94711,16 @@ function toColumnDef$9(value, { getLocaleText }) {
94683
94711
  }
94684
94712
  const __vite_glob_0_25$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
94685
94713
  __proto__: null,
94686
- compatibilityDate: compatibilityDate$z,
94687
- defaults: defaults$n,
94688
- metadata: metadata$z,
94689
- schema: schema$z,
94714
+ compatibilityDate: compatibilityDate$A,
94715
+ defaults: defaults$o,
94716
+ metadata: metadata$A,
94717
+ schema: schema$A,
94690
94718
  toColumnDef: toColumnDef$9,
94691
- type: type$z
94719
+ type: type$A
94692
94720
  }, Symbol.toStringTag, { value: "Module" }));
94693
- const type$y = "com.shwfed.table.column.combobox-multi";
94694
- const compatibilityDate$y = "2026-05-28";
94695
- const metadata$y = {
94721
+ const type$z = "com.shwfed.table.column.combobox-multi";
94722
+ const compatibilityDate$z = "2026-05-28";
94723
+ const metadata$z = {
94696
94724
  name: "多选",
94697
94725
  icon: "fluent:chevron-down-20-regular",
94698
94726
  // Publishes its resolved options (array) to the per-row `selections` registry
@@ -94844,14 +94872,14 @@ function writeSchema$3(configure) {
94844
94872
  description: '`kind: "binding"` 行内编辑写回 dot-prop 路径;`kind: "remote"` 只读回显并通过请求写入服务端'
94845
94873
  });
94846
94874
  }
94847
- function schema$y(configure) {
94875
+ function schema$z(configure) {
94848
94876
  const CelBool = CelRowAccess(configure, { resultType: "bool" });
94849
94877
  const Options = optionsSchema$7(configure);
94850
94878
  const Write = writeSchema$3(configure);
94851
94879
  const display = columnFields(configure);
94852
94880
  return Struct({
94853
- type: Literal2(type$y),
94854
- compatibilityDate: Literal2(compatibilityDate$y),
94881
+ type: Literal2(type$z),
94882
+ compatibilityDate: Literal2(compatibilityDate$z),
94855
94883
  ...columnIdentityFields(),
94856
94884
  title: display.title,
94857
94885
  placeholder: optional(Locale.annotations({
@@ -94886,7 +94914,7 @@ function schema$y(configure) {
94886
94914
  description: "下拉多选渲染器"
94887
94915
  });
94888
94916
  }
94889
- function defaults$m() {
94917
+ function defaults$n() {
94890
94918
  return {
94891
94919
  title: [{ locale: "zh", message: "" }],
94892
94920
  size: 200,
@@ -94905,7 +94933,7 @@ const migrate$f = (prev) => try_({
94905
94933
  throw new Error("下拉多选迁移失败:原值不是对象");
94906
94934
  }
94907
94935
  const src = prev;
94908
- const out = { type: type$y, compatibilityDate: compatibilityDate$y };
94936
+ const out = { type: type$z, compatibilityDate: compatibilityDate$z };
94909
94937
  for (const k of CARRY$1) {
94910
94938
  if (src[k] !== void 0) out[k] = src[k];
94911
94939
  }
@@ -94966,22 +94994,22 @@ function toColumnDef$8(value, { getLocaleText, $cel, inheritedContext }) {
94966
94994
  }
94967
94995
  const __vite_glob_0_26$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
94968
94996
  __proto__: null,
94969
- compatibilityDate: compatibilityDate$y,
94970
- defaults: defaults$m,
94997
+ compatibilityDate: compatibilityDate$z,
94998
+ defaults: defaults$n,
94971
94999
  itemSchema: itemSchema$8,
94972
- metadata: metadata$y,
95000
+ metadata: metadata$z,
94973
95001
  migrate: migrate$f,
94974
95002
  migrateFrom: migrateFrom$e,
94975
95003
  optionsSchema: optionsSchema$7,
94976
95004
  remoteOptionsSchema: remoteOptionsSchema$7,
94977
- schema: schema$y,
95005
+ schema: schema$z,
94978
95006
  toColumnDef: toColumnDef$8,
94979
- type: type$y,
95007
+ type: type$z,
94980
95008
  writeSchema: writeSchema$3
94981
95009
  }, Symbol.toStringTag, { value: "Module" }));
94982
- const type$x = "com.shwfed.table.column.combobox-single";
94983
- const compatibilityDate$x = "2026-05-28";
94984
- const metadata$x = {
95010
+ const type$y = "com.shwfed.table.column.combobox-single";
95011
+ const compatibilityDate$y = "2026-05-28";
95012
+ const metadata$y = {
94985
95013
  name: "单选",
94986
95014
  icon: "fluent:chevron-down-20-regular",
94987
95015
  // Publishes its resolved option (the source record) to the per-row
@@ -95133,14 +95161,14 @@ function writeSchema$2(configure) {
95133
95161
  description: '`kind: "binding"` 行内编辑写回 dot-prop 路径;`kind: "remote"` 只读回显并通过请求写入服务端'
95134
95162
  });
95135
95163
  }
95136
- function schema$x(configure) {
95164
+ function schema$y(configure) {
95137
95165
  const CelBool = CelRowAccess(configure, { resultType: "bool" });
95138
95166
  const Options = optionsSchema$6(configure);
95139
95167
  const Write = writeSchema$2(configure);
95140
95168
  const display = columnFields(configure);
95141
95169
  return Struct({
95142
- type: Literal2(type$x),
95143
- compatibilityDate: Literal2(compatibilityDate$x),
95170
+ type: Literal2(type$y),
95171
+ compatibilityDate: Literal2(compatibilityDate$y),
95144
95172
  ...columnIdentityFields(),
95145
95173
  title: display.title,
95146
95174
  placeholder: optional(Locale.annotations({
@@ -95175,7 +95203,7 @@ function schema$x(configure) {
95175
95203
  description: "下拉单选渲染器"
95176
95204
  });
95177
95205
  }
95178
- function defaults$l() {
95206
+ function defaults$m() {
95179
95207
  return {
95180
95208
  title: [{ locale: "zh", message: "" }],
95181
95209
  size: 200,
@@ -95194,7 +95222,7 @@ const migrate$e = (prev) => try_({
95194
95222
  throw new Error("下拉单选迁移失败:原值不是对象");
95195
95223
  }
95196
95224
  const src = prev;
95197
- const out = { type: type$x, compatibilityDate: compatibilityDate$x };
95225
+ const out = { type: type$y, compatibilityDate: compatibilityDate$y };
95198
95226
  for (const k of CARRY) {
95199
95227
  if (src[k] !== void 0) out[k] = src[k];
95200
95228
  }
@@ -95255,22 +95283,22 @@ function toColumnDef$7(value, { getLocaleText, $cel, inheritedContext }) {
95255
95283
  }
95256
95284
  const __vite_glob_0_27$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
95257
95285
  __proto__: null,
95258
- compatibilityDate: compatibilityDate$x,
95259
- defaults: defaults$l,
95286
+ compatibilityDate: compatibilityDate$y,
95287
+ defaults: defaults$m,
95260
95288
  itemSchema: itemSchema$7,
95261
- metadata: metadata$x,
95289
+ metadata: metadata$y,
95262
95290
  migrate: migrate$e,
95263
95291
  migrateFrom: migrateFrom$d,
95264
95292
  optionsSchema: optionsSchema$6,
95265
95293
  remoteOptionsSchema: remoteOptionsSchema$6,
95266
- schema: schema$x,
95294
+ schema: schema$y,
95267
95295
  toColumnDef: toColumnDef$7,
95268
- type: type$x,
95296
+ type: type$y,
95269
95297
  writeSchema: writeSchema$2
95270
95298
  }, Symbol.toStringTag, { value: "Module" }));
95271
- const type$w = "com.shwfed.table.column.tree-combobox-multi";
95272
- const compatibilityDate$w = "2026-05-28";
95273
- const metadata$w = {
95299
+ const type$x = "com.shwfed.table.column.tree-combobox-multi";
95300
+ const compatibilityDate$x = "2026-05-28";
95301
+ const metadata$x = {
95274
95302
  name: "下拉树(多选)",
95275
95303
  icon: "fluent:tree-evergreen-20-regular",
95276
95304
  // Publishes its resolved nodes (array) to the per-row `selections` registry (runtime.vue), readable via `selections["<id>"]`.
@@ -95285,7 +95313,7 @@ function withRowAndNode$3(configure) {
95285
95313
  registerNodeVariableIfAbsent(env, { description: "`数据源` 返回的节点;由树逐层向下读取" });
95286
95314
  };
95287
95315
  }
95288
- function schema$w(configure) {
95316
+ function schema$x(configure) {
95289
95317
  const CelBool = CelRowAccess(configure, { resultType: "bool" });
95290
95318
  const CelNodeKey = Expression({ configure: withRowAndNode$3(configure), resultType: isKeyType$7 });
95291
95319
  const CelNodeChildren = Expression({ configure: withRowAndNode$3(configure), resultType: isListLike$7 });
@@ -95320,8 +95348,8 @@ function schema$w(configure) {
95320
95348
  })
95321
95349
  }).annotations({ title: "DataSource", description: "数据源配置" });
95322
95350
  return Struct({
95323
- type: Literal2(type$w),
95324
- compatibilityDate: Literal2(compatibilityDate$w),
95351
+ type: Literal2(type$x),
95352
+ compatibilityDate: Literal2(compatibilityDate$x),
95325
95353
  ...editableColumnFields(),
95326
95354
  placeholder: optional(Locale.annotations({
95327
95355
  title: "占位符",
@@ -95381,7 +95409,7 @@ function schema$w(configure) {
95381
95409
  })
95382
95410
  }).annotations({ title: "TreeComboboxMultiRenderer", description: "下拉树多选渲染器(可编辑)" });
95383
95411
  }
95384
- function defaults$k() {
95412
+ function defaults$l() {
95385
95413
  return {
95386
95414
  title: [{ locale: "zh", message: "" }],
95387
95415
  binding: "",
@@ -95403,7 +95431,7 @@ const migrate$d = (prev) => try_({
95403
95431
  throw new Error("下拉树(多选)迁移失败:原值不是对象");
95404
95432
  }
95405
95433
  const { compatibilityDate: _omit, ...rest } = prev;
95406
- return { ...rest, type: type$w, compatibilityDate: compatibilityDate$w };
95434
+ return { ...rest, type: type$x, compatibilityDate: compatibilityDate$x };
95407
95435
  },
95408
95436
  catch: (e) => e instanceof Error ? e : new Error(String(e))
95409
95437
  });
@@ -95425,18 +95453,18 @@ function toColumnDef$6(value, { getLocaleText }) {
95425
95453
  }
95426
95454
  const __vite_glob_0_28$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
95427
95455
  __proto__: null,
95428
- compatibilityDate: compatibilityDate$w,
95429
- defaults: defaults$k,
95430
- metadata: metadata$w,
95456
+ compatibilityDate: compatibilityDate$x,
95457
+ defaults: defaults$l,
95458
+ metadata: metadata$x,
95431
95459
  migrate: migrate$d,
95432
95460
  migrateFrom: migrateFrom$c,
95433
- schema: schema$w,
95461
+ schema: schema$x,
95434
95462
  toColumnDef: toColumnDef$6,
95435
- type: type$w
95463
+ type: type$x
95436
95464
  }, Symbol.toStringTag, { value: "Module" }));
95437
- const type$v = "com.shwfed.table.column.tree-combobox-single";
95438
- const compatibilityDate$v = "2026-05-28";
95439
- const metadata$v = {
95465
+ const type$w = "com.shwfed.table.column.tree-combobox-single";
95466
+ const compatibilityDate$w = "2026-05-28";
95467
+ const metadata$w = {
95440
95468
  name: "下拉树(单选)",
95441
95469
  icon: "fluent:tree-evergreen-20-regular",
95442
95470
  // Publishes its resolved node (backend record) to the per-row `selections` registry (runtime.vue), readable via `selections["<id>"]`.
@@ -95451,7 +95479,7 @@ function withRowAndNode$2(configure) {
95451
95479
  registerNodeVariableIfAbsent(env, { description: "`数据源` 返回的节点;由树逐层向下读取" });
95452
95480
  };
95453
95481
  }
95454
- function schema$v(configure) {
95482
+ function schema$w(configure) {
95455
95483
  const CelBool = CelRowAccess(configure, { resultType: "bool" });
95456
95484
  const CelNodeKey = Expression({ configure: withRowAndNode$2(configure), resultType: isKeyType$6 });
95457
95485
  const CelNodeChildren = Expression({ configure: withRowAndNode$2(configure), resultType: isListLike$6 });
@@ -95486,8 +95514,8 @@ function schema$v(configure) {
95486
95514
  })
95487
95515
  }).annotations({ title: "DataSource", description: "数据源配置" });
95488
95516
  return Struct({
95489
- type: Literal2(type$v),
95490
- compatibilityDate: Literal2(compatibilityDate$v),
95517
+ type: Literal2(type$w),
95518
+ compatibilityDate: Literal2(compatibilityDate$w),
95491
95519
  ...editableColumnFields(),
95492
95520
  placeholder: optional(Locale.annotations({
95493
95521
  title: "占位符",
@@ -95540,7 +95568,7 @@ function schema$v(configure) {
95540
95568
  })
95541
95569
  }).annotations({ title: "TreeComboboxSingleRenderer", description: "下拉树单选渲染器(可编辑)" });
95542
95570
  }
95543
- function defaults$j() {
95571
+ function defaults$k() {
95544
95572
  return {
95545
95573
  title: [{ locale: "zh", message: "" }],
95546
95574
  binding: "",
@@ -95561,7 +95589,7 @@ const migrate$c = (prev) => try_({
95561
95589
  throw new Error("下拉树(单选)迁移失败:原值不是对象");
95562
95590
  }
95563
95591
  const { compatibilityDate: _omit, ...rest } = prev;
95564
- return { ...rest, type: type$v, compatibilityDate: compatibilityDate$v };
95592
+ return { ...rest, type: type$w, compatibilityDate: compatibilityDate$w };
95565
95593
  },
95566
95594
  catch: (e) => e instanceof Error ? e : new Error(String(e))
95567
95595
  });
@@ -95583,14 +95611,14 @@ function toColumnDef$5(value, { getLocaleText }) {
95583
95611
  }
95584
95612
  const __vite_glob_0_29$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
95585
95613
  __proto__: null,
95586
- compatibilityDate: compatibilityDate$v,
95587
- defaults: defaults$j,
95588
- metadata: metadata$v,
95614
+ compatibilityDate: compatibilityDate$w,
95615
+ defaults: defaults$k,
95616
+ metadata: metadata$w,
95589
95617
  migrate: migrate$c,
95590
95618
  migrateFrom: migrateFrom$b,
95591
- schema: schema$v,
95619
+ schema: schema$w,
95592
95620
  toColumnDef: toColumnDef$5,
95593
- type: type$v
95621
+ type: type$w
95594
95622
  }, Symbol.toStringTag, { value: "Module" }));
95595
95623
  const INTERPOLATION_RE$1 = /\{\{(.*?)\}\}/gs;
95596
95624
  function celString$1(text2) {
@@ -95628,9 +95656,9 @@ function localeLabelToExpression$1(label) {
95628
95656
  const message2 = chosen && typeof chosen.message === "string" ? chosen.message : "";
95629
95657
  return templateToExpression$1(message2);
95630
95658
  }
95631
- const type$u = "com.shwfed.table.column.combobox-multi";
95632
- const compatibilityDate$u = "2026-06-14";
95633
- const metadata$u = {
95659
+ const type$v = "com.shwfed.table.column.combobox-multi";
95660
+ const compatibilityDate$v = "2026-06-14";
95661
+ const metadata$v = {
95634
95662
  name: "多选",
95635
95663
  icon: "fluent:chevron-down-20-regular",
95636
95664
  // Publishes its resolved options (array) to the per-row `selections` registry
@@ -95783,14 +95811,14 @@ function writeSchema$1(configure) {
95783
95811
  description: '`kind: "binding"` 行内编辑写回 dot-prop 路径;`kind: "remote"` 只读回显并通过请求写入服务端'
95784
95812
  });
95785
95813
  }
95786
- function schema$u(configure) {
95814
+ function schema$v(configure) {
95787
95815
  const CelBool = CelRowAccess(configure, { resultType: "bool" });
95788
95816
  const Options = optionsSchema$5(configure);
95789
95817
  const Write = writeSchema$1(configure);
95790
95818
  const display = columnFields(configure);
95791
95819
  return Struct({
95792
- type: Literal2(type$u),
95793
- compatibilityDate: Literal2(compatibilityDate$u),
95820
+ type: Literal2(type$v),
95821
+ compatibilityDate: Literal2(compatibilityDate$v),
95794
95822
  ...columnIdentityFields(),
95795
95823
  title: display.title,
95796
95824
  placeholder: optional(Locale.annotations({
@@ -95825,7 +95853,7 @@ function schema$u(configure) {
95825
95853
  description: "下拉多选渲染器"
95826
95854
  });
95827
95855
  }
95828
- function defaults$i() {
95856
+ function defaults$j() {
95829
95857
  return {
95830
95858
  title: [{ locale: "zh", message: "" }],
95831
95859
  size: 200,
@@ -95856,8 +95884,8 @@ const migrate$b = (prev) => try_({
95856
95884
  }
95857
95885
  return {
95858
95886
  ...rest,
95859
- type: type$u,
95860
- compatibilityDate: compatibilityDate$u,
95887
+ type: type$v,
95888
+ compatibilityDate: compatibilityDate$v,
95861
95889
  options: nextOptions
95862
95890
  };
95863
95891
  }
@@ -95892,22 +95920,22 @@ function toColumnDef$4(value, { getLocaleText, $cel, inheritedContext }) {
95892
95920
  }
95893
95921
  const __vite_glob_0_30$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
95894
95922
  __proto__: null,
95895
- compatibilityDate: compatibilityDate$u,
95896
- defaults: defaults$i,
95923
+ compatibilityDate: compatibilityDate$v,
95924
+ defaults: defaults$j,
95897
95925
  itemSchema: itemSchema$6,
95898
- metadata: metadata$u,
95926
+ metadata: metadata$v,
95899
95927
  migrate: migrate$b,
95900
95928
  migrateFrom: migrateFrom$a,
95901
95929
  optionsSchema: optionsSchema$5,
95902
95930
  remoteOptionsSchema: remoteOptionsSchema$5,
95903
- schema: schema$u,
95931
+ schema: schema$v,
95904
95932
  toColumnDef: toColumnDef$4,
95905
- type: type$u,
95933
+ type: type$v,
95906
95934
  writeSchema: writeSchema$1
95907
95935
  }, Symbol.toStringTag, { value: "Module" }));
95908
- const type$t = "com.shwfed.table.column.combobox-single";
95909
- const compatibilityDate$t = "2026-06-14";
95910
- const metadata$t = {
95936
+ const type$u = "com.shwfed.table.column.combobox-single";
95937
+ const compatibilityDate$u = "2026-06-14";
95938
+ const metadata$u = {
95911
95939
  name: "单选",
95912
95940
  icon: "fluent:chevron-down-20-regular",
95913
95941
  // Publishes its resolved option (the source record) to the per-row
@@ -96060,14 +96088,14 @@ function writeSchema(configure) {
96060
96088
  description: '`kind: "binding"` 行内编辑写回 dot-prop 路径;`kind: "remote"` 只读回显并通过请求写入服务端'
96061
96089
  });
96062
96090
  }
96063
- function schema$t(configure) {
96091
+ function schema$u(configure) {
96064
96092
  const CelBool = CelRowAccess(configure, { resultType: "bool" });
96065
96093
  const Options = optionsSchema$4(configure);
96066
96094
  const Write = writeSchema(configure);
96067
96095
  const display = columnFields(configure);
96068
96096
  return Struct({
96069
- type: Literal2(type$t),
96070
- compatibilityDate: Literal2(compatibilityDate$t),
96097
+ type: Literal2(type$u),
96098
+ compatibilityDate: Literal2(compatibilityDate$u),
96071
96099
  ...columnIdentityFields(),
96072
96100
  title: display.title,
96073
96101
  placeholder: optional(Locale.annotations({
@@ -96102,7 +96130,7 @@ function schema$t(configure) {
96102
96130
  description: "下拉单选渲染器"
96103
96131
  });
96104
96132
  }
96105
- function defaults$h() {
96133
+ function defaults$i() {
96106
96134
  return {
96107
96135
  title: [{ locale: "zh", message: "" }],
96108
96136
  size: 200,
@@ -96133,8 +96161,8 @@ const migrate$a = (prev) => try_({
96133
96161
  }
96134
96162
  return {
96135
96163
  ...rest,
96136
- type: type$t,
96137
- compatibilityDate: compatibilityDate$t,
96164
+ type: type$u,
96165
+ compatibilityDate: compatibilityDate$u,
96138
96166
  options: nextOptions
96139
96167
  };
96140
96168
  }
@@ -96169,22 +96197,22 @@ function toColumnDef$3(value, { getLocaleText, $cel, inheritedContext }) {
96169
96197
  }
96170
96198
  const __vite_glob_0_31$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
96171
96199
  __proto__: null,
96172
- compatibilityDate: compatibilityDate$t,
96173
- defaults: defaults$h,
96200
+ compatibilityDate: compatibilityDate$u,
96201
+ defaults: defaults$i,
96174
96202
  itemSchema: itemSchema$5,
96175
- metadata: metadata$t,
96203
+ metadata: metadata$u,
96176
96204
  migrate: migrate$a,
96177
96205
  migrateFrom: migrateFrom$9,
96178
96206
  optionsSchema: optionsSchema$4,
96179
96207
  remoteOptionsSchema: remoteOptionsSchema$4,
96180
- schema: schema$t,
96208
+ schema: schema$u,
96181
96209
  toColumnDef: toColumnDef$3,
96182
- type: type$t,
96210
+ type: type$u,
96183
96211
  writeSchema
96184
96212
  }, Symbol.toStringTag, { value: "Module" }));
96185
- const type$s = "com.shwfed.table.column.tree-combobox-multi";
96186
- const compatibilityDate$s = "2026-06-14";
96187
- const metadata$s = {
96213
+ const type$t = "com.shwfed.table.column.tree-combobox-multi";
96214
+ const compatibilityDate$t = "2026-06-14";
96215
+ const metadata$t = {
96188
96216
  name: "下拉树(多选)",
96189
96217
  icon: "fluent:tree-evergreen-20-regular",
96190
96218
  // Publishes its resolved nodes (array) to the per-row `selections` registry (runtime.vue), readable via `selections["<id>"]`.
@@ -96199,7 +96227,7 @@ function withRowAndNode$1(configure) {
96199
96227
  registerNodeVariableIfAbsent(env, { description: "`数据源` 返回的节点;由树逐层向下读取" });
96200
96228
  };
96201
96229
  }
96202
- function schema$s(configure) {
96230
+ function schema$t(configure) {
96203
96231
  const CelBool = CelRowAccess(configure, { resultType: "bool" });
96204
96232
  const CelNodeKey = Expression({ configure: withRowAndNode$1(configure), resultType: isKeyType$5 });
96205
96233
  const CelNodeChildren = Expression({ configure: withRowAndNode$1(configure), resultType: isListLike$5 });
@@ -96235,8 +96263,8 @@ function schema$s(configure) {
96235
96263
  })
96236
96264
  }).annotations({ title: "DataSource", description: "数据源配置" });
96237
96265
  return Struct({
96238
- type: Literal2(type$s),
96239
- compatibilityDate: Literal2(compatibilityDate$s),
96266
+ type: Literal2(type$t),
96267
+ compatibilityDate: Literal2(compatibilityDate$t),
96240
96268
  ...editableColumnFields(),
96241
96269
  placeholder: optional(Locale.annotations({
96242
96270
  title: "占位符",
@@ -96296,7 +96324,7 @@ function schema$s(configure) {
96296
96324
  })
96297
96325
  }).annotations({ title: "TreeComboboxMultiRenderer", description: "下拉树多选渲染器(可编辑)" });
96298
96326
  }
96299
- function defaults$g() {
96327
+ function defaults$h() {
96300
96328
  return {
96301
96329
  title: [{ locale: "zh", message: "" }],
96302
96330
  binding: "",
@@ -96324,8 +96352,8 @@ const migrate$9 = (prev) => try_({
96324
96352
  const { nodeLabel, type: _t, compatibilityDate: _c, ...rest } = src;
96325
96353
  return {
96326
96354
  ...rest,
96327
- type: type$s,
96328
- compatibilityDate: compatibilityDate$s,
96355
+ type: type$t,
96356
+ compatibilityDate: compatibilityDate$t,
96329
96357
  nodeLabel: localeLabelToExpression$1(nodeLabel)
96330
96358
  };
96331
96359
  }
@@ -96351,18 +96379,18 @@ function toColumnDef$2(value, { getLocaleText }) {
96351
96379
  }
96352
96380
  const __vite_glob_0_32$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
96353
96381
  __proto__: null,
96354
- compatibilityDate: compatibilityDate$s,
96355
- defaults: defaults$g,
96356
- metadata: metadata$s,
96382
+ compatibilityDate: compatibilityDate$t,
96383
+ defaults: defaults$h,
96384
+ metadata: metadata$t,
96357
96385
  migrate: migrate$9,
96358
96386
  migrateFrom: migrateFrom$8,
96359
- schema: schema$s,
96387
+ schema: schema$t,
96360
96388
  toColumnDef: toColumnDef$2,
96361
- type: type$s
96389
+ type: type$t
96362
96390
  }, Symbol.toStringTag, { value: "Module" }));
96363
- const type$r = "com.shwfed.table.column.tree-combobox-single";
96364
- const compatibilityDate$r = "2026-06-14";
96365
- const metadata$r = {
96391
+ const type$s = "com.shwfed.table.column.tree-combobox-single";
96392
+ const compatibilityDate$s = "2026-06-14";
96393
+ const metadata$s = {
96366
96394
  name: "下拉树(单选)",
96367
96395
  icon: "fluent:tree-evergreen-20-regular",
96368
96396
  // Publishes its resolved node (backend record) to the per-row `selections` registry (runtime.vue), readable via `selections["<id>"]`.
@@ -96377,7 +96405,7 @@ function withRowAndNode(configure) {
96377
96405
  registerNodeVariableIfAbsent(env, { description: "`数据源` 返回的节点;由树逐层向下读取" });
96378
96406
  };
96379
96407
  }
96380
- function schema$r(configure) {
96408
+ function schema$s(configure) {
96381
96409
  const CelBool = CelRowAccess(configure, { resultType: "bool" });
96382
96410
  const CelNodeKey = Expression({ configure: withRowAndNode(configure), resultType: isKeyType$4 });
96383
96411
  const CelNodeChildren = Expression({ configure: withRowAndNode(configure), resultType: isListLike$4 });
@@ -96413,8 +96441,8 @@ function schema$r(configure) {
96413
96441
  })
96414
96442
  }).annotations({ title: "DataSource", description: "数据源配置" });
96415
96443
  return Struct({
96416
- type: Literal2(type$r),
96417
- compatibilityDate: Literal2(compatibilityDate$r),
96444
+ type: Literal2(type$s),
96445
+ compatibilityDate: Literal2(compatibilityDate$s),
96418
96446
  ...editableColumnFields(),
96419
96447
  placeholder: optional(Locale.annotations({
96420
96448
  title: "占位符",
@@ -96467,7 +96495,7 @@ function schema$r(configure) {
96467
96495
  })
96468
96496
  }).annotations({ title: "TreeComboboxSingleRenderer", description: "下拉树单选渲染器(可编辑)" });
96469
96497
  }
96470
- function defaults$f() {
96498
+ function defaults$g() {
96471
96499
  return {
96472
96500
  title: [{ locale: "zh", message: "" }],
96473
96501
  binding: "",
@@ -96494,8 +96522,8 @@ const migrate$8 = (prev) => try_({
96494
96522
  const { nodeLabel, type: _t, compatibilityDate: _c, ...rest } = src;
96495
96523
  return {
96496
96524
  ...rest,
96497
- type: type$r,
96498
- compatibilityDate: compatibilityDate$r,
96525
+ type: type$s,
96526
+ compatibilityDate: compatibilityDate$s,
96499
96527
  nodeLabel: localeLabelToExpression$1(nodeLabel)
96500
96528
  };
96501
96529
  }
@@ -96521,18 +96549,18 @@ function toColumnDef$1(value, { getLocaleText }) {
96521
96549
  }
96522
96550
  const __vite_glob_0_33$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
96523
96551
  __proto__: null,
96524
- compatibilityDate: compatibilityDate$r,
96525
- defaults: defaults$f,
96526
- metadata: metadata$r,
96552
+ compatibilityDate: compatibilityDate$s,
96553
+ defaults: defaults$g,
96554
+ metadata: metadata$s,
96527
96555
  migrate: migrate$8,
96528
96556
  migrateFrom: migrateFrom$7,
96529
- schema: schema$r,
96557
+ schema: schema$s,
96530
96558
  toColumnDef: toColumnDef$1,
96531
- type: type$r
96559
+ type: type$s
96532
96560
  }, Symbol.toStringTag, { value: "Module" }));
96533
- const type$q = "com.shwfed.table.column.date-input";
96534
- const compatibilityDate$q = "2026-06-17";
96535
- const metadata$q = {
96561
+ const type$r = "com.shwfed.table.column.date-input";
96562
+ const compatibilityDate$r = "2026-06-17";
96563
+ const metadata$r = {
96536
96564
  name: "日期输入",
96537
96565
  icon: "fluent:calendar-ltr-20-regular"
96538
96566
  };
@@ -96552,12 +96580,12 @@ function presetSchema$2(configure) {
96552
96580
  title: "DateInputPreset"
96553
96581
  });
96554
96582
  }
96555
- function schema$q(configure) {
96583
+ function schema$r(configure) {
96556
96584
  const CelBool = CelRowAccess(configure, { resultType: "bool" });
96557
96585
  const Preset = presetSchema$2(configure);
96558
96586
  return Struct({
96559
- type: Literal2(type$q),
96560
- compatibilityDate: Literal2(compatibilityDate$q),
96587
+ type: Literal2(type$r),
96588
+ compatibilityDate: Literal2(compatibilityDate$r),
96561
96589
  ...editableColumnFields(),
96562
96590
  placeholder: optional(Locale.annotations({
96563
96591
  title: "占位符",
@@ -96590,7 +96618,7 @@ function schema$q(configure) {
96590
96618
  }))
96591
96619
  }).annotations({ title: "DateInputRenderer", description: "日期输入渲染器(可编辑)" });
96592
96620
  }
96593
- function defaults$e() {
96621
+ function defaults$f() {
96594
96622
  return {
96595
96623
  title: [{ locale: "zh", message: "" }],
96596
96624
  binding: "",
@@ -96617,13 +96645,13 @@ function toColumnDef(value, { getLocaleText }) {
96617
96645
  }
96618
96646
  const __vite_glob_0_34$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
96619
96647
  __proto__: null,
96620
- compatibilityDate: compatibilityDate$q,
96621
- defaults: defaults$e,
96622
- metadata: metadata$q,
96648
+ compatibilityDate: compatibilityDate$r,
96649
+ defaults: defaults$f,
96650
+ metadata: metadata$r,
96623
96651
  presetSchema: presetSchema$2,
96624
- schema: schema$q,
96652
+ schema: schema$r,
96625
96653
  toColumnDef,
96626
- type: type$q
96654
+ type: type$r
96627
96655
  }, Symbol.toStringTag, { value: "Module" }));
96628
96656
  const schemaModules$2 = /* @__PURE__ */ Object.assign({
96629
96657
  "../columns/2026-04-14/com.shwfed.table.column.actions/schema.ts": __vite_glob_0_0,
@@ -96974,7 +97002,7 @@ const ColumnGroup = Struct({
96974
97002
  });
96975
97003
  const QUERY_VAR_DESCRIPTION = "搜索条件当前状态;未配置搜索条件时为空对象";
96976
97004
  const JSON_VAR_DESCRIPTION = "已解析的 JSON 响应;未配置 `request` 时为 `none`";
96977
- const SORTS_VAR_DESCRIPTION = md`
97005
+ const SORTS_VAR_DESCRIPTION = md$1`
96978
97006
  当前的排序状态,为一个**列表**,每个元素包含两个字段:
96979
97007
 
96980
97008
  - \`key: string\` 为该列上配置的键
@@ -96982,52 +97010,49 @@ const SORTS_VAR_DESCRIPTION = md`
96982
97010
 
96983
97011
  未排序的字段,**不会出现在这个列表中**。
96984
97012
  `;
97013
+ function registerVariableIfAbsent(env, name, type2, opts) {
97014
+ const declared = env.getDefinitions().variables.some((v) => v.name === name);
97015
+ if (!declared) env.registerVariable(name, type2, opts);
97016
+ }
96985
97017
  function configureTableActionsScope(env, configure) {
96986
97018
  configure(env);
96987
- const declared = new Set(env.getDefinitions().variables.map((v) => v.name));
96988
- if (!declared.has("selected")) {
96989
- env.registerVariable("selected", "list<dyn>", {
96990
- label: "已选行",
96991
- description: "当前已勾选的所有行(`row` 的数组)"
96992
- });
96993
- }
96994
- if (!declared.has("query")) {
96995
- env.registerVariable("query", "dyn", {
96996
- label: "搜索条件",
96997
- description: QUERY_VAR_DESCRIPTION
96998
- });
96999
- }
97000
- if (!declared.has("sorts")) {
97001
- env.registerVariable("sorts", "list<map<string, string>>", {
97002
- label: "排序状态",
97003
- description: SORTS_VAR_DESCRIPTION
97004
- });
97005
- }
97019
+ registerVariableIfAbsent(env, "selected", "list<dyn>", {
97020
+ label: "已选行",
97021
+ description: "当前已勾选的所有行(`row` 的数组)"
97022
+ });
97023
+ registerVariableIfAbsent(env, "query", "dyn", {
97024
+ label: "搜索条件",
97025
+ description: QUERY_VAR_DESCRIPTION
97026
+ });
97027
+ registerVariableIfAbsent(env, "sorts", "list<map<string, string>>", {
97028
+ label: "排序状态",
97029
+ description: SORTS_VAR_DESCRIPTION
97030
+ });
97006
97031
  }
97007
97032
  function registerDataSourceRequestVars(env) {
97008
- env.registerVariable("pageIndex", "number", {
97033
+ registerVariableIfAbsent(env, "pageIndex", "number", {
97009
97034
  label: "当前页码",
97010
97035
  description: "从 `0` 开始;未启用分页时为 `0`"
97011
97036
  });
97012
- env.registerVariable("pageSize", "number", {
97037
+ registerVariableIfAbsent(env, "pageSize", "number", {
97013
97038
  label: "每页行数",
97014
97039
  description: "当前每页行数;未启用分页时为 `0`"
97015
97040
  });
97016
- env.registerVariable("sorts", "list<map<string, string>>", {
97041
+ registerVariableIfAbsent(env, "sorts", "list<map<string, string>>", {
97017
97042
  label: "排序状态",
97018
97043
  description: SORTS_VAR_DESCRIPTION
97019
97044
  });
97020
- env.registerVariable("query", "dyn", {
97045
+ registerVariableIfAbsent(env, "query", "dyn", {
97021
97046
  label: "搜索条件",
97022
97047
  description: QUERY_VAR_DESCRIPTION
97023
97048
  });
97024
97049
  }
97025
97050
  function registerDataSourceResponseVars(env) {
97026
- env.registerVariable("json", "optional<dyn>", {
97051
+ registerVariableIfAbsent(env, "json", "optional<dyn>", {
97027
97052
  label: "HTTP 响应体",
97028
97053
  description: JSON_VAR_DESCRIPTION
97029
97054
  });
97030
- env.registerVariable("query", "dyn", {
97055
+ registerVariableIfAbsent(env, "query", "dyn", {
97031
97056
  label: "搜索条件",
97032
97057
  description: QUERY_VAR_DESCRIPTION
97033
97058
  });
@@ -97116,6 +97141,8 @@ function TableConfig(configure) {
97116
97141
  configure: (env) => {
97117
97142
  configure(env);
97118
97143
  registerRowVariablesIfAbsent(env);
97144
+ const declared = new Set(env.getDefinitions().variables.map((v) => v.name));
97145
+ if (declared.has("selected")) env.deleteVariable("selected");
97119
97146
  env.registerVariable("id", "string", { description: "列 ID" });
97120
97147
  env.registerVariable("selected", "bool", { description: "行是否选中" });
97121
97148
  env.registerVariable("pinned", "dyn", { description: "列固定状态" });
@@ -97220,9 +97247,9 @@ function defaultTableConfig() {
97220
97247
  : index % 2 == 1 ? { 'background-color': 'oklch(98.5% 0 0)' } : { 'background-color': 'white' }`
97221
97248
  };
97222
97249
  }
97223
- const type$p = "com.shwfed.form.field.table";
97224
- const compatibilityDate$p = "2026-05-18";
97225
- const metadata$p = {
97250
+ const type$q = "com.shwfed.form.field.table";
97251
+ const compatibilityDate$q = "2026-05-18";
97252
+ const metadata$q = {
97226
97253
  name: "表格",
97227
97254
  icon: "fluent:table-20-regular",
97228
97255
  w: { initial: 12, min: 6, max: Infinity },
@@ -97231,13 +97258,13 @@ const metadata$p = {
97231
97258
  // pane; keep the (fullscreen-exiting) drill-down.
97232
97259
  inlineConfig: false
97233
97260
  };
97234
- function schema$p(configure) {
97261
+ function schema$q(configure) {
97235
97262
  const Table = suspend(
97236
97263
  () => TableConfig(configure)
97237
97264
  );
97238
97265
  return Struct({
97239
- type: Literal2(type$p),
97240
- compatibilityDate: Literal2(compatibilityDate$p),
97266
+ type: Literal2(type$q),
97267
+ compatibilityDate: Literal2(compatibilityDate$q),
97241
97268
  ...commonFieldFields(configure),
97242
97269
  label: optional(Locale.annotations({
97243
97270
  title: "标签",
@@ -97261,21 +97288,21 @@ function schema$p(configure) {
97261
97288
  description: "把一个可本地编辑的表格嵌入表单,其实时数据写入绑定路径"
97262
97289
  });
97263
97290
  }
97264
- function defaults$d() {
97291
+ function defaults$e() {
97265
97292
  const { dataSource: _omit, ...rest } = defaultTableConfig();
97266
97293
  return { table: rest };
97267
97294
  }
97268
97295
  const __vite_glob_0_20 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
97269
97296
  __proto__: null,
97270
- compatibilityDate: compatibilityDate$p,
97271
- defaults: defaults$d,
97272
- metadata: metadata$p,
97273
- schema: schema$p,
97274
- type: type$p
97297
+ compatibilityDate: compatibilityDate$q,
97298
+ defaults: defaults$e,
97299
+ metadata: metadata$q,
97300
+ schema: schema$q,
97301
+ type: type$q
97275
97302
  }, Symbol.toStringTag, { value: "Module" }));
97276
- const type$o = "com.shwfed.form.field.collapsible";
97277
- const compatibilityDate$o = "2026-05-20";
97278
- const metadata$o = {
97303
+ const type$p = "com.shwfed.form.field.collapsible";
97304
+ const compatibilityDate$p = "2026-05-20";
97305
+ const metadata$p = {
97279
97306
  name: "可折叠区域",
97280
97307
  icon: "fluent:chevron-down-20-regular",
97281
97308
  w: { initial: 12, min: 4, max: Infinity },
@@ -97284,11 +97311,11 @@ const metadata$o = {
97284
97311
  // fullscreen inline-config pane; keep the (fullscreen-exiting) drill-down.
97285
97312
  inlineConfig: false
97286
97313
  };
97287
- function schema$o(configure) {
97314
+ function schema$p(configure) {
97288
97315
  const Unit = suspend(() => FormUnit(configure));
97289
97316
  return Struct({
97290
- type: Literal2(type$o),
97291
- compatibilityDate: Literal2(compatibilityDate$o),
97317
+ type: Literal2(type$p),
97318
+ compatibilityDate: Literal2(compatibilityDate$p),
97292
97319
  id: UUID.annotations({ description: "字段唯一标识;布局通过该 id 引用字段" }),
97293
97320
  displayName: optional(String$.annotations({
97294
97321
  title: "内部名称",
@@ -97312,7 +97339,7 @@ function schema$o(configure) {
97312
97339
  description: "带 Markdown 标题的可折叠区域,仅用于视觉分组,不影响字段在表单状态中的层级"
97313
97340
  });
97314
97341
  }
97315
- function defaults$c() {
97342
+ function defaults$d() {
97316
97343
  return {
97317
97344
  header: [{ locale: "zh", message: "" }],
97318
97345
  unit: {
@@ -97323,21 +97350,21 @@ function defaults$c() {
97323
97350
  }
97324
97351
  const __vite_glob_0_21 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
97325
97352
  __proto__: null,
97326
- compatibilityDate: compatibilityDate$o,
97327
- defaults: defaults$c,
97328
- metadata: metadata$o,
97329
- schema: schema$o,
97330
- type: type$o
97353
+ compatibilityDate: compatibilityDate$p,
97354
+ defaults: defaults$d,
97355
+ metadata: metadata$p,
97356
+ schema: schema$p,
97357
+ type: type$p
97331
97358
  }, Symbol.toStringTag, { value: "Module" }));
97332
- const type$n = "com.shwfed.form.field.tree.multi";
97333
- const compatibilityDate$n = "2026-05-23";
97334
- const metadata$n = {
97359
+ const type$o = "com.shwfed.form.field.tree.multi";
97360
+ const compatibilityDate$o = "2026-05-23";
97361
+ const metadata$o = {
97335
97362
  name: "树(多选)",
97336
97363
  icon: "fluent:tree-evergreen-20-regular",
97337
97364
  w: { initial: 8, min: 4, max: Infinity },
97338
97365
  h: { initial: 8, min: 4, max: Infinity, grow: true }
97339
97366
  };
97340
- function schema$n(configure) {
97367
+ function schema$o(configure) {
97341
97368
  const CelBool = Expression({ configure, resultType: "bool" });
97342
97369
  const nodeConfigure = (env) => {
97343
97370
  configure(env);
@@ -97366,8 +97393,8 @@ function schema$n(configure) {
97366
97393
  resultType: (t) => t === "dyn" || t.startsWith("list") || t.startsWith("optional")
97367
97394
  });
97368
97395
  return Struct({
97369
- type: Literal2(type$n),
97370
- compatibilityDate: Literal2(compatibilityDate$n),
97396
+ type: Literal2(type$o),
97397
+ compatibilityDate: Literal2(compatibilityDate$o),
97371
97398
  ...commonFieldFields(configure),
97372
97399
  label: optional(Locale.annotations({
97373
97400
  title: "标签",
@@ -97443,7 +97470,7 @@ function schema$n(configure) {
97443
97470
  description: "基于树形数据的多选输入"
97444
97471
  });
97445
97472
  }
97446
- function defaults$b() {
97473
+ function defaults$c() {
97447
97474
  return {
97448
97475
  dataSource: { data: "[]" },
97449
97476
  nodeKey: "string(node.id)",
@@ -97455,15 +97482,15 @@ function defaults$b() {
97455
97482
  }
97456
97483
  const __vite_glob_0_22 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
97457
97484
  __proto__: null,
97458
- compatibilityDate: compatibilityDate$n,
97459
- defaults: defaults$b,
97460
- metadata: metadata$n,
97461
- schema: schema$n,
97462
- type: type$n
97485
+ compatibilityDate: compatibilityDate$o,
97486
+ defaults: defaults$c,
97487
+ metadata: metadata$o,
97488
+ schema: schema$o,
97489
+ type: type$o
97463
97490
  }, Symbol.toStringTag, { value: "Module" }));
97464
- const type$m = "com.shwfed.form.field.month";
97465
- const compatibilityDate$m = "2026-05-24";
97466
- const metadata$m = {
97491
+ const type$n = "com.shwfed.form.field.month";
97492
+ const compatibilityDate$n = "2026-05-24";
97493
+ const metadata$n = {
97467
97494
  name: "月份",
97468
97495
  icon: "fluent:calendar-month-20-regular",
97469
97496
  w: { initial: 8, min: 4, max: Infinity },
@@ -97485,12 +97512,12 @@ function presetSchema$1(configure) {
97485
97512
  title: "MonthFieldPreset"
97486
97513
  });
97487
97514
  }
97488
- function schema$m(configure) {
97515
+ function schema$n(configure) {
97489
97516
  const CelBool = Expression({ configure, resultType: "bool" });
97490
97517
  const Preset = presetSchema$1(configure);
97491
97518
  return Struct({
97492
- type: Literal2(type$m),
97493
- compatibilityDate: Literal2(compatibilityDate$m),
97519
+ type: Literal2(type$n),
97520
+ compatibilityDate: Literal2(compatibilityDate$n),
97494
97521
  ...commonFieldFields(configure),
97495
97522
  label: optional(Locale.annotations({
97496
97523
  title: "标签",
@@ -97537,14 +97564,14 @@ function schema$m(configure) {
97537
97564
  }
97538
97565
  const __vite_glob_0_23 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
97539
97566
  __proto__: null,
97540
- compatibilityDate: compatibilityDate$m,
97541
- metadata: metadata$m,
97567
+ compatibilityDate: compatibilityDate$n,
97568
+ metadata: metadata$n,
97542
97569
  presetSchema: presetSchema$1,
97543
- schema: schema$m,
97544
- type: type$m
97570
+ schema: schema$n,
97571
+ type: type$n
97545
97572
  }, Symbol.toStringTag, { value: "Module" }));
97546
- const type$l = "com.shwfed.form.field.monthrange";
97547
- const compatibilityDate$l = "2026-05-24";
97573
+ const type$m = "com.shwfed.form.field.monthrange";
97574
+ const compatibilityDate$m = "2026-05-24";
97548
97575
  const BindingPath = String$.pipe(minLength(1));
97549
97576
  const SplitBinding = Tuple(BindingPath, BindingPath).pipe(
97550
97577
  filter(([a, b]) => a !== b, {
@@ -97555,7 +97582,7 @@ const bindingSchema = Union2(BindingPath, SplitBinding).annotations({
97555
97582
  title: "绑定路径",
97556
97583
  description: "写入表单状态的 `dot-prop` 路径;填写单个路径时写入 `[start, end]` 字符串数组,例如 `event.months`;填写 `[起始路径, 结束路径]` 元组时分别写入两端;留空则为非受控字段"
97557
97584
  });
97558
- const metadata$l = {
97585
+ const metadata$m = {
97559
97586
  name: "月份范围",
97560
97587
  icon: "fluent:calendar-arrow-right-20-regular",
97561
97588
  w: { initial: 10, min: 10, max: Infinity },
@@ -97581,12 +97608,12 @@ function presetSchema(configure) {
97581
97608
  title: "MonthRangeFieldPreset"
97582
97609
  });
97583
97610
  }
97584
- function schema$l(configure) {
97611
+ function schema$m(configure) {
97585
97612
  const CelBool = Expression({ configure, resultType: "bool" });
97586
97613
  const Preset = presetSchema(configure);
97587
97614
  return Struct({
97588
- type: Literal2(type$l),
97589
- compatibilityDate: Literal2(compatibilityDate$l),
97615
+ type: Literal2(type$m),
97616
+ compatibilityDate: Literal2(compatibilityDate$m),
97590
97617
  ...commonFieldFields(configure),
97591
97618
  label: optional(Locale.annotations({
97592
97619
  title: "标签",
@@ -97636,21 +97663,21 @@ function schema$l(configure) {
97636
97663
  description: "月份范围选择输入"
97637
97664
  });
97638
97665
  }
97639
- function defaults$a() {
97666
+ function defaults$b() {
97640
97667
  return { rangeSeparatorIcon: "fluent:arrow-right-20-regular" };
97641
97668
  }
97642
97669
  const __vite_glob_0_24 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
97643
97670
  __proto__: null,
97644
- compatibilityDate: compatibilityDate$l,
97645
- defaults: defaults$a,
97646
- metadata: metadata$l,
97671
+ compatibilityDate: compatibilityDate$m,
97672
+ defaults: defaults$b,
97673
+ metadata: metadata$m,
97647
97674
  presetSchema,
97648
- schema: schema$l,
97649
- type: type$l
97675
+ schema: schema$m,
97676
+ type: type$m
97650
97677
  }, Symbol.toStringTag, { value: "Module" }));
97651
- const type$k = "com.shwfed.form.field.combobox.multi";
97652
- const compatibilityDate$k = "2026-05-25";
97653
- const metadata$k = {
97678
+ const type$l = "com.shwfed.form.field.combobox.multi";
97679
+ const compatibilityDate$l = "2026-05-25";
97680
+ const metadata$l = {
97654
97681
  name: "下拉多选",
97655
97682
  icon: "fluent:chevron-down-20-regular",
97656
97683
  w: { initial: 8, min: 4, max: Infinity },
@@ -97663,14 +97690,14 @@ function configureWithOption$4(configure) {
97663
97690
  };
97664
97691
  }
97665
97692
  const isListType$5 = (actual) => actual === "dyn" || actual.startsWith("list");
97666
- function schema$k(configure) {
97693
+ function schema$l(configure) {
97667
97694
  const CelBool = Expression({ configure, resultType: "bool" });
97668
97695
  const CelOptions = Expression({ configure, resultType: isListType$5 });
97669
97696
  const CelOptionValue = Expression({ configure: configureWithOption$4(configure), resultType: "dyn" });
97670
97697
  const LocaleOptionLabel = LocaleMarkdown({ configure: configureWithOption$4(configure) });
97671
97698
  return Struct({
97672
- type: Literal2(type$k),
97673
- compatibilityDate: Literal2(compatibilityDate$k),
97699
+ type: Literal2(type$l),
97700
+ compatibilityDate: Literal2(compatibilityDate$l),
97674
97701
  ...commonFieldFields(configure),
97675
97702
  label: optional(Locale.annotations({
97676
97703
  title: "标签",
@@ -97717,14 +97744,14 @@ function schema$k(configure) {
97717
97744
  }
97718
97745
  const __vite_glob_0_25 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
97719
97746
  __proto__: null,
97720
- compatibilityDate: compatibilityDate$k,
97721
- metadata: metadata$k,
97722
- schema: schema$k,
97723
- type: type$k
97747
+ compatibilityDate: compatibilityDate$l,
97748
+ metadata: metadata$l,
97749
+ schema: schema$l,
97750
+ type: type$l
97724
97751
  }, Symbol.toStringTag, { value: "Module" }));
97725
- const type$j = "com.shwfed.form.field.tree.combobox.multi";
97726
- const compatibilityDate$j = "2026-05-26";
97727
- const metadata$j = {
97752
+ const type$k = "com.shwfed.form.field.tree.combobox.multi";
97753
+ const compatibilityDate$k = "2026-05-26";
97754
+ const metadata$k = {
97728
97755
  name: "下拉树(多选)",
97729
97756
  icon: "fluent:tree-evergreen-20-regular",
97730
97757
  w: { initial: 8, min: 4, max: Infinity },
@@ -97741,15 +97768,15 @@ function withNode$3(configure) {
97741
97768
  registerNodeVariableIfAbsent(env, { description: NODE_VAR$3.description });
97742
97769
  };
97743
97770
  }
97744
- function schema$j(configure) {
97771
+ function schema$k(configure) {
97745
97772
  const CelBool = Expression({ configure, resultType: "bool" });
97746
97773
  const CelNodeKey = Expression({ configure: withNode$3(configure), resultType: isKeyType$3 });
97747
97774
  const CelNodeChildren = Expression({ configure: withNode$3(configure), resultType: isListLike$3 });
97748
97775
  const CelNodeBool = Expression({ configure: withNode$3(configure), resultType: "bool" });
97749
97776
  const NodeLocaleMd = LocaleMarkdown({ configure: withNode$3(configure) });
97750
97777
  return Struct({
97751
- type: Literal2(type$j),
97752
- compatibilityDate: Literal2(compatibilityDate$j),
97778
+ type: Literal2(type$k),
97779
+ compatibilityDate: Literal2(compatibilityDate$k),
97753
97780
  ...commonFieldFields(configure),
97754
97781
  label: optional(Locale.annotations({
97755
97782
  title: "标签",
@@ -97817,7 +97844,7 @@ function schema$j(configure) {
97817
97844
  description: "基于树形数据的下拉多选输入"
97818
97845
  });
97819
97846
  }
97820
- function defaults$9() {
97847
+ function defaults$a() {
97821
97848
  return {
97822
97849
  dataSource: { data: "[]" },
97823
97850
  nodeKey: "string(node.id)",
@@ -97829,15 +97856,15 @@ function defaults$9() {
97829
97856
  }
97830
97857
  const __vite_glob_0_26 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
97831
97858
  __proto__: null,
97832
- compatibilityDate: compatibilityDate$j,
97833
- defaults: defaults$9,
97834
- metadata: metadata$j,
97835
- schema: schema$j,
97836
- type: type$j
97859
+ compatibilityDate: compatibilityDate$k,
97860
+ defaults: defaults$a,
97861
+ metadata: metadata$k,
97862
+ schema: schema$k,
97863
+ type: type$k
97837
97864
  }, Symbol.toStringTag, { value: "Module" }));
97838
- const type$i = "com.shwfed.form.field.tree.combobox.single";
97839
- const compatibilityDate$i = "2026-05-26";
97840
- const metadata$i = {
97865
+ const type$j = "com.shwfed.form.field.tree.combobox.single";
97866
+ const compatibilityDate$j = "2026-05-26";
97867
+ const metadata$j = {
97841
97868
  name: "下拉树(单选)",
97842
97869
  icon: "fluent:tree-evergreen-20-regular",
97843
97870
  w: { initial: 8, min: 4, max: Infinity },
@@ -97854,15 +97881,15 @@ function withNode$2(configure) {
97854
97881
  registerNodeVariableIfAbsent(env, { description: NODE_VAR$2.description });
97855
97882
  };
97856
97883
  }
97857
- function schema$i(configure) {
97884
+ function schema$j(configure) {
97858
97885
  const CelBool = Expression({ configure, resultType: "bool" });
97859
97886
  const CelNodeKey = Expression({ configure: withNode$2(configure), resultType: isKeyType$2 });
97860
97887
  const CelNodeChildren = Expression({ configure: withNode$2(configure), resultType: isListLike$2 });
97861
97888
  const CelNodeBool = Expression({ configure: withNode$2(configure), resultType: "bool" });
97862
97889
  const NodeLocaleMd = LocaleMarkdown({ configure: withNode$2(configure) });
97863
97890
  return Struct({
97864
- type: Literal2(type$i),
97865
- compatibilityDate: Literal2(compatibilityDate$i),
97891
+ type: Literal2(type$j),
97892
+ compatibilityDate: Literal2(compatibilityDate$j),
97866
97893
  ...commonFieldFields(configure),
97867
97894
  label: optional(Locale.annotations({
97868
97895
  title: "标签",
@@ -97923,7 +97950,7 @@ function schema$i(configure) {
97923
97950
  description: "基于树形数据的下拉单选输入"
97924
97951
  });
97925
97952
  }
97926
- function defaults$8() {
97953
+ function defaults$9() {
97927
97954
  return {
97928
97955
  dataSource: { data: "[]" },
97929
97956
  nodeKey: "string(node.id)",
@@ -97934,15 +97961,15 @@ function defaults$8() {
97934
97961
  }
97935
97962
  const __vite_glob_0_27 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
97936
97963
  __proto__: null,
97937
- compatibilityDate: compatibilityDate$i,
97938
- defaults: defaults$8,
97939
- metadata: metadata$i,
97940
- schema: schema$i,
97941
- type: type$i
97964
+ compatibilityDate: compatibilityDate$j,
97965
+ defaults: defaults$9,
97966
+ metadata: metadata$j,
97967
+ schema: schema$j,
97968
+ type: type$j
97942
97969
  }, Symbol.toStringTag, { value: "Module" }));
97943
- const type$h = "com.shwfed.form.field.combobox.multi";
97944
- const compatibilityDate$h = "2026-05-28";
97945
- const metadata$h = {
97970
+ const type$i = "com.shwfed.form.field.combobox.multi";
97971
+ const compatibilityDate$i = "2026-05-28";
97972
+ const metadata$i = {
97946
97973
  name: "下拉多选",
97947
97974
  icon: "fluent:chevron-down-20-regular",
97948
97975
  w: { initial: 8, min: 4, max: Infinity },
@@ -98048,12 +98075,12 @@ function optionsSchema$3(configure) {
98048
98075
  description: '选项可以是静态配置(`kind: "static"`)或由 CEL 表达式 / 远程接口产出(`kind: "remote"`)'
98049
98076
  });
98050
98077
  }
98051
- function schema$h(configure) {
98078
+ function schema$i(configure) {
98052
98079
  const CelBool = Expression({ configure, resultType: "bool" });
98053
98080
  const Options = optionsSchema$3(configure);
98054
98081
  return Struct({
98055
- type: Literal2(type$h),
98056
- compatibilityDate: Literal2(compatibilityDate$h),
98082
+ type: Literal2(type$i),
98083
+ compatibilityDate: Literal2(compatibilityDate$i),
98057
98084
  ...commonFieldFields(configure),
98058
98085
  label: optional(Locale.annotations({
98059
98086
  title: "标签",
@@ -98089,7 +98116,7 @@ function schema$h(configure) {
98089
98116
  description: "下拉多选输入"
98090
98117
  });
98091
98118
  }
98092
- function defaults$7() {
98119
+ function defaults$8() {
98093
98120
  return {
98094
98121
  options: { kind: "static", items: [] }
98095
98122
  };
@@ -98113,8 +98140,8 @@ const migrate$7 = (prev) => try_({
98113
98140
  if (Array.isArray(optionLabel)) remote.optionLabel = optionLabel;
98114
98141
  return {
98115
98142
  ...rest,
98116
- type: type$h,
98117
- compatibilityDate: compatibilityDate$h,
98143
+ type: type$i,
98144
+ compatibilityDate: compatibilityDate$i,
98118
98145
  options: remote
98119
98146
  };
98120
98147
  }
@@ -98124,20 +98151,20 @@ const migrate$7 = (prev) => try_({
98124
98151
  });
98125
98152
  const __vite_glob_0_28 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
98126
98153
  __proto__: null,
98127
- compatibilityDate: compatibilityDate$h,
98128
- defaults: defaults$7,
98154
+ compatibilityDate: compatibilityDate$i,
98155
+ defaults: defaults$8,
98129
98156
  itemSchema: itemSchema$4,
98130
- metadata: metadata$h,
98157
+ metadata: metadata$i,
98131
98158
  migrate: migrate$7,
98132
98159
  migrateFrom: migrateFrom$6,
98133
98160
  optionsSchema: optionsSchema$3,
98134
98161
  remoteOptionsSchema: remoteOptionsSchema$3,
98135
- schema: schema$h,
98136
- type: type$h
98162
+ schema: schema$i,
98163
+ type: type$i
98137
98164
  }, Symbol.toStringTag, { value: "Module" }));
98138
- const type$g = "com.shwfed.form.field.combobox.single";
98139
- const compatibilityDate$g = "2026-05-28";
98140
- const metadata$g = {
98165
+ const type$h = "com.shwfed.form.field.combobox.single";
98166
+ const compatibilityDate$h = "2026-05-28";
98167
+ const metadata$h = {
98141
98168
  name: "下拉单选",
98142
98169
  icon: "fluent:chevron-down-20-regular",
98143
98170
  w: { initial: 8, min: 4, max: Infinity },
@@ -98243,12 +98270,12 @@ function optionsSchema$2(configure) {
98243
98270
  description: '选项可以是静态配置(`kind: "static"`)或由 CEL 表达式 / 远程接口产出(`kind: "remote"`)'
98244
98271
  });
98245
98272
  }
98246
- function schema$g(configure) {
98273
+ function schema$h(configure) {
98247
98274
  const CelBool = Expression({ configure, resultType: "bool" });
98248
98275
  const Options = optionsSchema$2(configure);
98249
98276
  return Struct({
98250
- type: Literal2(type$g),
98251
- compatibilityDate: Literal2(compatibilityDate$g),
98277
+ type: Literal2(type$h),
98278
+ compatibilityDate: Literal2(compatibilityDate$h),
98252
98279
  ...commonFieldFields(configure),
98253
98280
  label: optional(Locale.annotations({
98254
98281
  title: "标签",
@@ -98284,7 +98311,7 @@ function schema$g(configure) {
98284
98311
  description: "下拉单选输入"
98285
98312
  });
98286
98313
  }
98287
- function defaults$6() {
98314
+ function defaults$7() {
98288
98315
  return {
98289
98316
  options: { kind: "static", items: [] }
98290
98317
  };
@@ -98307,8 +98334,8 @@ const migrate$6 = (prev) => try_({
98307
98334
  const itemsArr = Array.isArray(items2) ? items2 : [];
98308
98335
  return {
98309
98336
  ...rest,
98310
- type: type$g,
98311
- compatibilityDate: compatibilityDate$g,
98337
+ type: type$h,
98338
+ compatibilityDate: compatibilityDate$h,
98312
98339
  options: { kind: "static", items: itemsArr }
98313
98340
  };
98314
98341
  }
@@ -98320,8 +98347,8 @@ const migrate$6 = (prev) => try_({
98320
98347
  if (Array.isArray(optionLabel)) remote.optionLabel = optionLabel;
98321
98348
  return {
98322
98349
  ...rest,
98323
- type: type$g,
98324
- compatibilityDate: compatibilityDate$g,
98350
+ type: type$h,
98351
+ compatibilityDate: compatibilityDate$h,
98325
98352
  options: remote
98326
98353
  };
98327
98354
  }
@@ -98334,8 +98361,8 @@ const migrate$6 = (prev) => try_({
98334
98361
  if (Array.isArray(optionLabel)) remote.optionLabel = optionLabel;
98335
98362
  return {
98336
98363
  ...rest,
98337
- type: type$g,
98338
- compatibilityDate: compatibilityDate$g,
98364
+ type: type$h,
98365
+ compatibilityDate: compatibilityDate$h,
98339
98366
  options: remote
98340
98367
  };
98341
98368
  }
@@ -98345,20 +98372,20 @@ const migrate$6 = (prev) => try_({
98345
98372
  });
98346
98373
  const __vite_glob_0_29 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
98347
98374
  __proto__: null,
98348
- compatibilityDate: compatibilityDate$g,
98349
- defaults: defaults$6,
98375
+ compatibilityDate: compatibilityDate$h,
98376
+ defaults: defaults$7,
98350
98377
  itemSchema: itemSchema$3,
98351
- metadata: metadata$g,
98378
+ metadata: metadata$h,
98352
98379
  migrate: migrate$6,
98353
98380
  migrateFrom: migrateFrom$5,
98354
98381
  optionsSchema: optionsSchema$2,
98355
98382
  remoteOptionsSchema: remoteOptionsSchema$2,
98356
- schema: schema$g,
98357
- type: type$g
98383
+ schema: schema$h,
98384
+ type: type$h
98358
98385
  }, Symbol.toStringTag, { value: "Module" }));
98359
- const type$f = "com.shwfed.form.field.tree.combobox.multi";
98360
- const compatibilityDate$f = "2026-05-28";
98361
- const metadata$f = {
98386
+ const type$g = "com.shwfed.form.field.tree.combobox.multi";
98387
+ const compatibilityDate$g = "2026-05-28";
98388
+ const metadata$g = {
98362
98389
  name: "下拉树(多选)",
98363
98390
  icon: "fluent:tree-evergreen-20-regular",
98364
98391
  w: { initial: 8, min: 4, max: Infinity },
@@ -98378,7 +98405,7 @@ function withNode$1(configure) {
98378
98405
  registerNodeVariableIfAbsent(env, { description: NODE_VAR$1.description });
98379
98406
  };
98380
98407
  }
98381
- function schema$f(configure) {
98408
+ function schema$g(configure) {
98382
98409
  const CelBool = Expression({ configure, resultType: "bool" });
98383
98410
  const CelNodeKey = Expression({ configure: withNode$1(configure), resultType: isKeyType$1 });
98384
98411
  const CelNodeChildren = Expression({ configure: withNode$1(configure), resultType: isListLike$1 });
@@ -98386,8 +98413,8 @@ function schema$f(configure) {
98386
98413
  const NodeLocaleMd = LocaleMarkdown({ configure: withNode$1(configure) });
98387
98414
  const CelKeywords = Expression({ configure: withNode$1(configure), resultType: isListLike$1 });
98388
98415
  return Struct({
98389
- type: Literal2(type$f),
98390
- compatibilityDate: Literal2(compatibilityDate$f),
98416
+ type: Literal2(type$g),
98417
+ compatibilityDate: Literal2(compatibilityDate$g),
98391
98418
  ...commonFieldFields(configure),
98392
98419
  label: optional(Locale.annotations({
98393
98420
  title: "标签",
@@ -98459,7 +98486,7 @@ function schema$f(configure) {
98459
98486
  description: "基于树形数据的下拉多选输入"
98460
98487
  });
98461
98488
  }
98462
- function defaults$5() {
98489
+ function defaults$6() {
98463
98490
  return {
98464
98491
  dataSource: { data: "[]" },
98465
98492
  nodeKey: "string(node.id)",
@@ -98480,24 +98507,24 @@ const migrate$5 = (prev) => try_({
98480
98507
  const { compatibilityDate: _legacyDate, ...rest } = prev;
98481
98508
  return {
98482
98509
  ...rest,
98483
- compatibilityDate: compatibilityDate$f
98510
+ compatibilityDate: compatibilityDate$g
98484
98511
  };
98485
98512
  },
98486
98513
  catch: (e) => e instanceof Error ? e : new Error(String(e))
98487
98514
  });
98488
98515
  const __vite_glob_0_30 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
98489
98516
  __proto__: null,
98490
- compatibilityDate: compatibilityDate$f,
98491
- defaults: defaults$5,
98492
- metadata: metadata$f,
98517
+ compatibilityDate: compatibilityDate$g,
98518
+ defaults: defaults$6,
98519
+ metadata: metadata$g,
98493
98520
  migrate: migrate$5,
98494
98521
  migrateFrom: migrateFrom$4,
98495
- schema: schema$f,
98496
- type: type$f
98522
+ schema: schema$g,
98523
+ type: type$g
98497
98524
  }, Symbol.toStringTag, { value: "Module" }));
98498
- const type$e = "com.shwfed.form.field.tree.combobox.single";
98499
- const compatibilityDate$e = "2026-05-28";
98500
- const metadata$e = {
98525
+ const type$f = "com.shwfed.form.field.tree.combobox.single";
98526
+ const compatibilityDate$f = "2026-05-28";
98527
+ const metadata$f = {
98501
98528
  name: "下拉树(单选)",
98502
98529
  icon: "fluent:tree-evergreen-20-regular",
98503
98530
  w: { initial: 8, min: 4, max: Infinity },
@@ -98517,7 +98544,7 @@ function withNode(configure) {
98517
98544
  registerNodeVariableIfAbsent(env, { description: NODE_VAR.description });
98518
98545
  };
98519
98546
  }
98520
- function schema$e(configure) {
98547
+ function schema$f(configure) {
98521
98548
  const CelBool = Expression({ configure, resultType: "bool" });
98522
98549
  const CelNodeKey = Expression({ configure: withNode(configure), resultType: isKeyType });
98523
98550
  const CelNodeChildren = Expression({ configure: withNode(configure), resultType: isListLike });
@@ -98525,8 +98552,8 @@ function schema$e(configure) {
98525
98552
  const NodeLocaleMd = LocaleMarkdown({ configure: withNode(configure) });
98526
98553
  const CelKeywords = Expression({ configure: withNode(configure), resultType: isListLike });
98527
98554
  return Struct({
98528
- type: Literal2(type$e),
98529
- compatibilityDate: Literal2(compatibilityDate$e),
98555
+ type: Literal2(type$f),
98556
+ compatibilityDate: Literal2(compatibilityDate$f),
98530
98557
  ...commonFieldFields(configure),
98531
98558
  label: optional(Locale.annotations({
98532
98559
  title: "标签",
@@ -98591,7 +98618,7 @@ function schema$e(configure) {
98591
98618
  description: "基于树形数据的下拉单选输入"
98592
98619
  });
98593
98620
  }
98594
- function defaults$4() {
98621
+ function defaults$5() {
98595
98622
  return {
98596
98623
  dataSource: { data: "[]" },
98597
98624
  nodeKey: "string(node.id)",
@@ -98611,24 +98638,24 @@ const migrate$4 = (prev) => try_({
98611
98638
  const { compatibilityDate: _legacyDate, ...rest } = prev;
98612
98639
  return {
98613
98640
  ...rest,
98614
- compatibilityDate: compatibilityDate$e
98641
+ compatibilityDate: compatibilityDate$f
98615
98642
  };
98616
98643
  },
98617
98644
  catch: (e) => e instanceof Error ? e : new Error(String(e))
98618
98645
  });
98619
98646
  const __vite_glob_0_31 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
98620
98647
  __proto__: null,
98621
- compatibilityDate: compatibilityDate$e,
98622
- defaults: defaults$4,
98623
- metadata: metadata$e,
98648
+ compatibilityDate: compatibilityDate$f,
98649
+ defaults: defaults$5,
98650
+ metadata: metadata$f,
98624
98651
  migrate: migrate$4,
98625
98652
  migrateFrom: migrateFrom$3,
98626
- schema: schema$e,
98627
- type: type$e
98653
+ schema: schema$f,
98654
+ type: type$f
98628
98655
  }, Symbol.toStringTag, { value: "Module" }));
98629
- const type$d = "com.shwfed.form.field.tree.multi";
98630
- const compatibilityDate$d = "2026-05-28";
98631
- const metadata$d = {
98656
+ const type$e = "com.shwfed.form.field.tree.multi";
98657
+ const compatibilityDate$e = "2026-05-28";
98658
+ const metadata$e = {
98632
98659
  name: "树(多选)",
98633
98660
  icon: "fluent:tree-evergreen-20-regular",
98634
98661
  w: { initial: 8, min: 4, max: Infinity },
@@ -98637,7 +98664,7 @@ const metadata$d = {
98637
98664
  // registry (runtime.vue), readable via `selections["<id>"]`.
98638
98665
  selection: true
98639
98666
  };
98640
- function schema$d(configure) {
98667
+ function schema$e(configure) {
98641
98668
  const CelBool = Expression({ configure, resultType: "bool" });
98642
98669
  const nodeConfigure = (env) => {
98643
98670
  configure(env);
@@ -98666,8 +98693,8 @@ function schema$d(configure) {
98666
98693
  resultType: (t) => t === "dyn" || t.startsWith("list") || t.startsWith("optional")
98667
98694
  });
98668
98695
  return Struct({
98669
- type: Literal2(type$d),
98670
- compatibilityDate: Literal2(compatibilityDate$d),
98696
+ type: Literal2(type$e),
98697
+ compatibilityDate: Literal2(compatibilityDate$e),
98671
98698
  ...commonFieldFields(configure),
98672
98699
  label: optional(Locale.annotations({
98673
98700
  title: "标签",
@@ -98743,7 +98770,7 @@ function schema$d(configure) {
98743
98770
  description: "基于树形数据的多选输入"
98744
98771
  });
98745
98772
  }
98746
- function defaults$3() {
98773
+ function defaults$4() {
98747
98774
  return {
98748
98775
  dataSource: { data: "[]" },
98749
98776
  nodeKey: "string(node.id)",
@@ -98761,24 +98788,24 @@ const migrate$3 = (prev, _ctx) => try_({
98761
98788
  const { compatibilityDate: _legacyDate, ...carryover } = prev;
98762
98789
  return {
98763
98790
  ...carryover,
98764
- compatibilityDate: compatibilityDate$d
98791
+ compatibilityDate: compatibilityDate$e
98765
98792
  };
98766
98793
  },
98767
98794
  catch: (err) => err instanceof Error ? err : new Error(String(err))
98768
98795
  });
98769
98796
  const __vite_glob_0_32 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
98770
98797
  __proto__: null,
98771
- compatibilityDate: compatibilityDate$d,
98772
- defaults: defaults$3,
98773
- metadata: metadata$d,
98798
+ compatibilityDate: compatibilityDate$e,
98799
+ defaults: defaults$4,
98800
+ metadata: metadata$e,
98774
98801
  migrate: migrate$3,
98775
98802
  migrateFrom: migrateFrom$2,
98776
- schema: schema$d,
98777
- type: type$d
98803
+ schema: schema$e,
98804
+ type: type$e
98778
98805
  }, Symbol.toStringTag, { value: "Module" }));
98779
- const type$c = "com.shwfed.form.field.tree.single";
98780
- const compatibilityDate$c = "2026-05-28";
98781
- const metadata$c = {
98806
+ const type$d = "com.shwfed.form.field.tree.single";
98807
+ const compatibilityDate$d = "2026-05-28";
98808
+ const metadata$d = {
98782
98809
  name: "树(单选)",
98783
98810
  icon: "fluent:tree-evergreen-20-regular",
98784
98811
  w: { initial: 8, min: 4, max: Infinity },
@@ -98787,7 +98814,7 @@ const metadata$c = {
98787
98814
  // registry (runtime.vue), readable via `selections["<id>"]`.
98788
98815
  selection: true
98789
98816
  };
98790
- function schema$c(configure) {
98817
+ function schema$d(configure) {
98791
98818
  const CelBool = Expression({ configure, resultType: "bool" });
98792
98819
  const nodeConfigure = (env) => {
98793
98820
  configure(env);
@@ -98812,8 +98839,8 @@ function schema$c(configure) {
98812
98839
  resultType: (t) => t === "dyn" || t.startsWith("list") || t.startsWith("optional")
98813
98840
  });
98814
98841
  return Struct({
98815
- type: Literal2(type$c),
98816
- compatibilityDate: Literal2(compatibilityDate$c),
98842
+ type: Literal2(type$d),
98843
+ compatibilityDate: Literal2(compatibilityDate$d),
98817
98844
  ...commonFieldFields(configure),
98818
98845
  label: optional(Locale.annotations({
98819
98846
  title: "标签",
@@ -98883,7 +98910,7 @@ function schema$c(configure) {
98883
98910
  description: "基于树形数据的单选输入"
98884
98911
  });
98885
98912
  }
98886
- function defaults$2() {
98913
+ function defaults$3() {
98887
98914
  return {
98888
98915
  dataSource: { data: "[]" },
98889
98916
  nodeKey: "string(node.id)",
@@ -98894,15 +98921,15 @@ function defaults$2() {
98894
98921
  }
98895
98922
  const __vite_glob_0_33 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
98896
98923
  __proto__: null,
98897
- compatibilityDate: compatibilityDate$c,
98898
- defaults: defaults$2,
98899
- metadata: metadata$c,
98900
- schema: schema$c,
98901
- type: type$c
98924
+ compatibilityDate: compatibilityDate$d,
98925
+ defaults: defaults$3,
98926
+ metadata: metadata$d,
98927
+ schema: schema$d,
98928
+ type: type$d
98902
98929
  }, Symbol.toStringTag, { value: "Module" }));
98903
- const type$b = "com.shwfed.form.field.upload";
98904
- const compatibilityDate$b = "2026-06-09";
98905
- const metadata$b = {
98930
+ const type$c = "com.shwfed.form.field.upload";
98931
+ const compatibilityDate$c = "2026-06-09";
98932
+ const metadata$c = {
98906
98933
  name: "文件上传",
98907
98934
  icon: "fluent:cloud-arrow-up-20-regular",
98908
98935
  w: { initial: 8, min: 8, max: Infinity },
@@ -98934,7 +98961,7 @@ function withVar(configure, name, spec) {
98934
98961
  env.registerVariable(name, spec.type, { description: spec.description });
98935
98962
  };
98936
98963
  }
98937
- function schema$b(configure) {
98964
+ function schema$c(configure) {
98938
98965
  const CelBool = Expression({ configure, resultType: "bool" });
98939
98966
  const CelHttpRequest = Expression({ configure, resultType: "HttpRequest" });
98940
98967
  const CelDownloadRequest = Expression({ configure: withVar(configure, "json", JSON_VAR$1), resultType: "HttpRequest" });
@@ -98943,8 +98970,8 @@ function schema$b(configure) {
98943
98970
  const CelItemName = Expression({ configure: withVar(configure, "file", FILE_VAR), resultType: "string" });
98944
98971
  const LocaleMd = LocaleMarkdown({ configure });
98945
98972
  return Struct({
98946
- type: Literal2(type$b),
98947
- compatibilityDate: Literal2(compatibilityDate$b),
98973
+ type: Literal2(type$c),
98974
+ compatibilityDate: Literal2(compatibilityDate$c),
98948
98975
  ...commonFieldFields(configure),
98949
98976
  label: optional(Locale.annotations({
98950
98977
  title: "标签",
@@ -99060,7 +99087,7 @@ function migrate$2(prev) {
99060
99087
  compatibilityDate: _drop,
99061
99088
  ...rest
99062
99089
  } = prev;
99063
- const next = { ...rest, compatibilityDate: compatibilityDate$b };
99090
+ const next = { ...rest, compatibilityDate: compatibilityDate$c };
99064
99091
  if (template != null && typeof template === "object" && typeof template.request === "string") {
99065
99092
  const t = template;
99066
99093
  const entry = { request: t.request };
@@ -99080,11 +99107,11 @@ const __vite_glob_0_34 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.de
99080
99107
  FILE_VAR,
99081
99108
  JSON_VAR: JSON_VAR$1,
99082
99109
  UPLOAD_JSON_VAR,
99083
- compatibilityDate: compatibilityDate$b,
99084
- metadata: metadata$b,
99110
+ compatibilityDate: compatibilityDate$c,
99111
+ metadata: metadata$c,
99085
99112
  migrate: migrate$2,
99086
- schema: schema$b,
99087
- type: type$b
99113
+ schema: schema$c,
99114
+ type: type$c
99088
99115
  }, Symbol.toStringTag, { value: "Module" }));
99089
99116
  const INTERPOLATION_RE = /\{\{(.*?)\}\}/gs;
99090
99117
  function celString(text2) {
@@ -99122,9 +99149,9 @@ function localeLabelToExpression(optionLabel) {
99122
99149
  const message2 = chosen && typeof chosen.message === "string" ? chosen.message : "";
99123
99150
  return templateToExpression(message2);
99124
99151
  }
99125
- const type$a = "com.shwfed.form.field.combobox.multi";
99126
- const compatibilityDate$a = "2026-06-14";
99127
- const metadata$a = {
99152
+ const type$b = "com.shwfed.form.field.combobox.multi";
99153
+ const compatibilityDate$b = "2026-06-14";
99154
+ const metadata$b = {
99128
99155
  name: "下拉多选",
99129
99156
  icon: "fluent:chevron-down-20-regular",
99130
99157
  w: { initial: 8, min: 4, max: Infinity },
@@ -99230,12 +99257,12 @@ function optionsSchema$1(configure) {
99230
99257
  description: '选项可以是静态配置(`kind: "static"`)或由 CEL 表达式 / 远程接口产出(`kind: "remote"`)'
99231
99258
  });
99232
99259
  }
99233
- function schema$a(configure) {
99260
+ function schema$b(configure) {
99234
99261
  const CelBool = Expression({ configure, resultType: "bool" });
99235
99262
  const Options = optionsSchema$1(configure);
99236
99263
  return Struct({
99237
- type: Literal2(type$a),
99238
- compatibilityDate: Literal2(compatibilityDate$a),
99264
+ type: Literal2(type$b),
99265
+ compatibilityDate: Literal2(compatibilityDate$b),
99239
99266
  ...commonFieldFields(configure),
99240
99267
  label: optional(Locale.annotations({
99241
99268
  title: "标签",
@@ -99271,7 +99298,7 @@ function schema$a(configure) {
99271
99298
  description: "下拉多选输入"
99272
99299
  });
99273
99300
  }
99274
- function defaults$1() {
99301
+ function defaults$2() {
99275
99302
  return {
99276
99303
  options: { kind: "static", items: [] }
99277
99304
  };
@@ -99299,8 +99326,8 @@ const migrate$1 = (prev) => try_({
99299
99326
  }
99300
99327
  return {
99301
99328
  ...rest,
99302
- type: type$a,
99303
- compatibilityDate: compatibilityDate$a,
99329
+ type: type$b,
99330
+ compatibilityDate: compatibilityDate$b,
99304
99331
  options: nextOptions
99305
99332
  };
99306
99333
  }
@@ -99310,20 +99337,20 @@ const migrate$1 = (prev) => try_({
99310
99337
  });
99311
99338
  const __vite_glob_0_35 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
99312
99339
  __proto__: null,
99313
- compatibilityDate: compatibilityDate$a,
99314
- defaults: defaults$1,
99340
+ compatibilityDate: compatibilityDate$b,
99341
+ defaults: defaults$2,
99315
99342
  itemSchema: itemSchema$2,
99316
- metadata: metadata$a,
99343
+ metadata: metadata$b,
99317
99344
  migrate: migrate$1,
99318
99345
  migrateFrom: migrateFrom$1,
99319
99346
  optionsSchema: optionsSchema$1,
99320
99347
  remoteOptionsSchema: remoteOptionsSchema$1,
99321
- schema: schema$a,
99322
- type: type$a
99348
+ schema: schema$b,
99349
+ type: type$b
99323
99350
  }, Symbol.toStringTag, { value: "Module" }));
99324
- const type$9 = "com.shwfed.form.field.combobox.single";
99325
- const compatibilityDate$9 = "2026-06-14";
99326
- const metadata$9 = {
99351
+ const type$a = "com.shwfed.form.field.combobox.single";
99352
+ const compatibilityDate$a = "2026-06-14";
99353
+ const metadata$a = {
99327
99354
  name: "下拉单选",
99328
99355
  icon: "fluent:chevron-down-20-regular",
99329
99356
  w: { initial: 8, min: 4, max: Infinity },
@@ -99429,12 +99456,12 @@ function optionsSchema(configure) {
99429
99456
  description: '选项可以是静态配置(`kind: "static"`)或由 CEL 表达式 / 远程接口产出(`kind: "remote"`)'
99430
99457
  });
99431
99458
  }
99432
- function schema$9(configure) {
99459
+ function schema$a(configure) {
99433
99460
  const CelBool = Expression({ configure, resultType: "bool" });
99434
99461
  const Options = optionsSchema(configure);
99435
99462
  return Struct({
99436
- type: Literal2(type$9),
99437
- compatibilityDate: Literal2(compatibilityDate$9),
99463
+ type: Literal2(type$a),
99464
+ compatibilityDate: Literal2(compatibilityDate$a),
99438
99465
  ...commonFieldFields(configure),
99439
99466
  label: optional(Locale.annotations({
99440
99467
  title: "标签",
@@ -99470,7 +99497,7 @@ function schema$9(configure) {
99470
99497
  description: "下拉单选输入"
99471
99498
  });
99472
99499
  }
99473
- function defaults() {
99500
+ function defaults$1() {
99474
99501
  return {
99475
99502
  options: { kind: "static", items: [] }
99476
99503
  };
@@ -99498,8 +99525,8 @@ const migrate = (prev) => try_({
99498
99525
  }
99499
99526
  return {
99500
99527
  ...rest,
99501
- type: type$9,
99502
- compatibilityDate: compatibilityDate$9,
99528
+ type: type$a,
99529
+ compatibilityDate: compatibilityDate$a,
99503
99530
  options: nextOptions
99504
99531
  };
99505
99532
  }
@@ -99509,14 +99536,106 @@ const migrate = (prev) => try_({
99509
99536
  });
99510
99537
  const __vite_glob_0_36 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
99511
99538
  __proto__: null,
99512
- compatibilityDate: compatibilityDate$9,
99513
- defaults,
99539
+ compatibilityDate: compatibilityDate$a,
99540
+ defaults: defaults$1,
99514
99541
  itemSchema: itemSchema$1,
99515
- metadata: metadata$9,
99542
+ metadata: metadata$a,
99516
99543
  migrate,
99517
99544
  migrateFrom,
99518
99545
  optionsSchema,
99519
99546
  remoteOptionsSchema,
99547
+ schema: schema$a,
99548
+ type: type$a
99549
+ }, Symbol.toStringTag, { value: "Module" }));
99550
+ const type$9 = "com.shwfed.form.field.tabs";
99551
+ const compatibilityDate$9 = "2026-06-20";
99552
+ const metadata$9 = {
99553
+ name: "标签页",
99554
+ icon: "fluent:tabs-20-regular",
99555
+ w: { initial: 12, min: 4, max: Infinity },
99556
+ h: { initial: 6, min: 2, max: Infinity, grow: true },
99557
+ // Hosts a nested sub-form per tab (each tab's own fields + layout) — too
99558
+ // complex for the fullscreen inline-config pane; keep the drill-down.
99559
+ inlineConfig: false
99560
+ };
99561
+ const TabMeta = Struct({
99562
+ label: Locale.annotations({
99563
+ title: "标签名",
99564
+ description: "该标签页的本地化显示名"
99565
+ })
99566
+ });
99567
+ function schema$9(configure) {
99568
+ const Unit = suspend(() => FormUnit(configure));
99569
+ const Tab = Struct({
99570
+ id: UUID.annotations({ description: "标签页唯一标识" }),
99571
+ ...TabMeta.fields,
99572
+ unit: Unit.annotations({
99573
+ identifier: "FormFieldTabsUnit",
99574
+ title: "标签内容",
99575
+ description: "该标签内的字段与布局;这些字段在表单状态中保持扁平,不会因为分组而引入新的状态层级"
99576
+ })
99577
+ }).annotations({
99578
+ title: "Tab",
99579
+ description: "单个标签页:名称 + 内容 Unit"
99580
+ });
99581
+ return Struct({
99582
+ type: Literal2(type$9),
99583
+ compatibilityDate: Literal2(compatibilityDate$9),
99584
+ id: UUID.annotations({ description: "字段唯一标识;布局通过该 id 引用字段" }),
99585
+ displayName: optional(String$.annotations({
99586
+ title: "内部名称",
99587
+ description: "仅在编辑器内可见的区域名,用于在侧边栏和布局编辑器中识别该标签页;运行时不展示"
99588
+ })),
99589
+ style: optional(String$.annotations({
99590
+ title: "容器样式",
99591
+ description: "应用在标签页最外层容器上的 CSS 样式字符串"
99592
+ })),
99593
+ tabs: Array$(Tab).pipe(
99594
+ minItems(1),
99595
+ filter((tabs) => {
99596
+ const ids2 = /* @__PURE__ */ new Set();
99597
+ for (const t of tabs) {
99598
+ if (ids2.has(t.id)) return `标签页 id 重复: ${t.id}`;
99599
+ ids2.add(t.id);
99600
+ }
99601
+ return true;
99602
+ })
99603
+ ).annotations({
99604
+ title: "标签页",
99605
+ description: "至少 1 项,按顺序渲染"
99606
+ })
99607
+ }).annotations({
99608
+ title: "TabsField",
99609
+ description: "将一组带标签的子表单单元作为标签页分组;仅用于视觉分组,不影响字段在表单状态中的层级"
99610
+ });
99611
+ }
99612
+ function makeId$1() {
99613
+ if (typeof crypto !== "undefined" && "randomUUID" in crypto) return crypto.randomUUID();
99614
+ return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, (c) => {
99615
+ const r = Math.random() * 16 | 0;
99616
+ return (c === "x" ? r : r & 3 | 8).toString(16);
99617
+ });
99618
+ }
99619
+ function defaults() {
99620
+ return {
99621
+ tabs: [
99622
+ {
99623
+ id: makeId$1(),
99624
+ label: [{ locale: "zh", message: "标签 1" }],
99625
+ unit: {
99626
+ fields: [],
99627
+ layouts: [{ name: "默认", layout: { columns: 1, placements: {} } }]
99628
+ }
99629
+ }
99630
+ ]
99631
+ };
99632
+ }
99633
+ const __vite_glob_0_37 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
99634
+ __proto__: null,
99635
+ TabMeta,
99636
+ compatibilityDate: compatibilityDate$9,
99637
+ defaults,
99638
+ metadata: metadata$9,
99520
99639
  schema: schema$9,
99521
99640
  type: type$9
99522
99641
  }, Symbol.toStringTag, { value: "Module" }));
@@ -99557,7 +99676,8 @@ const schemaModules$1 = /* @__PURE__ */ Object.assign({
99557
99676
  "../fields/2026-05-28/com.shwfed.form.field.tree.single/schema.ts": __vite_glob_0_33,
99558
99677
  "../fields/2026-06-09/com.shwfed.form.field.upload/schema.ts": __vite_glob_0_34,
99559
99678
  "../fields/2026-06-14/com.shwfed.form.field.combobox.multi/schema.ts": __vite_glob_0_35,
99560
- "../fields/2026-06-14/com.shwfed.form.field.combobox.single/schema.ts": __vite_glob_0_36
99679
+ "../fields/2026-06-14/com.shwfed.form.field.combobox.single/schema.ts": __vite_glob_0_36,
99680
+ "../fields/2026-06-20/com.shwfed.form.field.tabs/schema.ts": __vite_glob_0_37
99561
99681
  });
99562
99682
  const configModules$1 = /* @__PURE__ */ Object.assign({
99563
99683
  "../fields/2026-04-22/com.shwfed.form.field.markdown/config.vue": __vite_glob_2_9,
@@ -99596,7 +99716,8 @@ const configModules$1 = /* @__PURE__ */ Object.assign({
99596
99716
  "../fields/2026-05-28/com.shwfed.form.field.tree.single/config.vue": __vite_glob_2_9,
99597
99717
  "../fields/2026-06-09/com.shwfed.form.field.upload/config.vue": __vite_glob_2_9,
99598
99718
  "../fields/2026-06-14/com.shwfed.form.field.combobox.multi/config.vue": __vite_glob_2_9,
99599
- "../fields/2026-06-14/com.shwfed.form.field.combobox.single/config.vue": __vite_glob_2_9
99719
+ "../fields/2026-06-14/com.shwfed.form.field.combobox.single/config.vue": __vite_glob_2_9,
99720
+ "../fields/2026-06-20/com.shwfed.form.field.tabs/config.vue": __vite_glob_2_9
99600
99721
  });
99601
99722
  const runtimeModules$1 = /* @__PURE__ */ Object.assign({
99602
99723
  "../fields/2026-04-22/com.shwfed.form.field.markdown/runtime.vue": __vite_glob_2_9,
@@ -99635,7 +99756,8 @@ const runtimeModules$1 = /* @__PURE__ */ Object.assign({
99635
99756
  "../fields/2026-05-28/com.shwfed.form.field.tree.single/runtime.vue": __vite_glob_2_9,
99636
99757
  "../fields/2026-06-09/com.shwfed.form.field.upload/runtime.vue": __vite_glob_2_9,
99637
99758
  "../fields/2026-06-14/com.shwfed.form.field.combobox.multi/runtime.vue": __vite_glob_2_9,
99638
- "../fields/2026-06-14/com.shwfed.form.field.combobox.single/runtime.vue": __vite_glob_2_9
99759
+ "../fields/2026-06-14/com.shwfed.form.field.combobox.single/runtime.vue": __vite_glob_2_9,
99760
+ "../fields/2026-06-20/com.shwfed.form.field.tabs/runtime.vue": __vite_glob_2_9
99639
99761
  });
99640
99762
  const sourceKey = (type2, compatibilityDate2) => `${type2}@${compatibilityDate2}`;
99641
99763
  const registry$1 = defineRegistry({
@@ -99784,7 +99906,7 @@ function FormConfig(configure) {
99784
99906
  const InitialStruct = Struct({
99785
99907
  request: optional(CelInitialRequest.annotations({
99786
99908
  title: "请求",
99787
- description: md`
99909
+ description: md$1`
99788
99910
  可选的 HTTP 请求表达式:返回 \`HttpRequest\`,运行时由宿主发起,并把响应体作为 \`json\` 传给「数据」表达式。
99789
99911
 
99790
99912
  留空时「数据」直接对 CEL 上下文求值(静态默认值,或引用 \`form\` 的表达式)。
@@ -99792,7 +99914,7 @@ function FormConfig(configure) {
99792
99914
  })),
99793
99915
  data: CelInitialData.annotations({
99794
99916
  title: "数据",
99795
- description: md`
99917
+ description: md$1`
99796
99918
  返回整个表单初始值的 CEL 表达式(应为一个对象):
99797
99919
 
99798
99920
  - 可以互相依赖,但应避免循环引用。考虑一个含「用户名」与「用户角色」的表单:可默认填入当前登入人的用户名,再以此为依据填入其默认角色。
@@ -99827,7 +99949,7 @@ function FormConfig(configure) {
99827
99949
  })),
99828
99950
  readonly: optional(CelFormReadonly.annotations({
99829
99951
  title: "只读条件",
99830
- description: md`
99952
+ description: md$1`
99831
99953
  返回 \`true\` 时整个表单切到只读:所有字段以纯文本展示、不可编辑。
99832
99954
 
99833
99955
  可访问 \`form\` 当前状态,因此可让表单按数据自锁——例如 \`form.status == 'submitted'\`,新建时可填、载入已提交的记录后只读。