@shwfed/config 2.3.22 → 2.3.24

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 (76) hide show
  1. package/dist/mcp.mjs +1503 -645
  2. package/dist/module.json +1 -1
  3. package/dist/preview/assets/{config-DhwLB2Ee.js → config-B-6Htwv0.js} +1 -1
  4. package/dist/preview/assets/{config-BiFAbTJq.js → config-B2KjxFl5.js} +1 -1
  5. package/dist/preview/assets/{config-B3mv60t8.js → config-B3at5Bue.js} +1 -1
  6. package/dist/preview/assets/{config-CLjwrQXG.js → config-Bi9uFh4Y.js} +1 -1
  7. package/dist/preview/assets/{config-D4fS9GYw.js → config-CBHKrOP5.js} +1 -1
  8. package/dist/preview/assets/{config-CpvkgqGg.js → config-CWZxlCMJ.js} +1 -1
  9. package/dist/preview/assets/{config-Cb9lQXQG.js → config-CaZpOvHG.js} +1 -1
  10. package/dist/preview/assets/{config-DY7n8WvE.js → config-D5Kfssb7.js} +1 -1
  11. package/dist/preview/assets/{config-DX6QxjI7.js → config-DYAEfkYR.js} +1 -1
  12. package/dist/preview/assets/{definition.vue_vue_type_script_setup_true_lang-Hx2iV358.js → definition.vue_vue_type_script_setup_true_lang-8BVrrrak.js} +1 -1
  13. package/dist/preview/assets/index-B3wadvvl.js +1 -0
  14. package/dist/preview/assets/{index-CDhwf1Dw.css → index-CJMxrUKZ.css} +1 -1
  15. package/dist/preview/assets/index-DTsYYECD.js +643 -0
  16. package/dist/preview/assets/{runtime-BarNw942.js → runtime-C1iENPNJ.js} +1 -1
  17. package/dist/preview/assets/{runtime-HQv4w652.js → runtime-C5CCMnHt.js} +1 -1
  18. package/dist/preview/assets/{runtime-usxovPqT.js → runtime-CEP42oTV.js} +1 -1
  19. package/dist/preview/assets/{runtime-Dl0d8KFj.js → runtime-CRHn61GX.js} +1 -1
  20. package/dist/preview/assets/{runtime-BazV3vOW.js → runtime-CoRrnGx1.js} +1 -1
  21. package/dist/preview/assets/{runtime-DIcMvC6H.js → runtime-CqciI2ST.js} +1 -1
  22. package/dist/preview/assets/{runtime-BXZROm-z.js → runtime-Hvzx1ucy.js} +1 -1
  23. package/dist/preview/assets/{runtime-CShAGyQk.js → runtime-aBsBSCeg.js} +1 -1
  24. package/dist/preview/assets/{runtime-ECoXJ0-J.js → runtime-jrsJfwMb.js} +1 -1
  25. package/dist/preview/index.html +2 -2
  26. package/dist/runtime/components/form/fields/2026-05-25/com.shwfed.form.field.combobox.multi/config.d.vue.ts +99 -0
  27. package/dist/runtime/components/form/fields/2026-05-25/com.shwfed.form.field.combobox.multi/config.vue +329 -0
  28. package/dist/runtime/components/form/fields/2026-05-25/com.shwfed.form.field.combobox.multi/config.vue.d.ts +99 -0
  29. package/dist/runtime/components/form/fields/2026-05-25/com.shwfed.form.field.combobox.multi/runtime.d.vue.ts +8 -0
  30. package/dist/runtime/components/form/fields/2026-05-25/com.shwfed.form.field.combobox.multi/runtime.vue +265 -0
  31. package/dist/runtime/components/form/fields/2026-05-25/com.shwfed.form.field.combobox.multi/runtime.vue.d.ts +8 -0
  32. package/dist/runtime/components/form/fields/2026-05-25/com.shwfed.form.field.combobox.multi/schema.d.ts +79 -0
  33. package/dist/runtime/components/form/fields/2026-05-25/com.shwfed.form.field.combobox.multi/schema.js +71 -0
  34. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi/config.d.vue.ts +133 -0
  35. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi/config.vue +533 -0
  36. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi/config.vue.d.ts +133 -0
  37. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi/runtime.d.vue.ts +9 -0
  38. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi/runtime.vue +247 -0
  39. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi/runtime.vue.d.ts +9 -0
  40. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi/schema.d.ts +124 -0
  41. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi/schema.js +94 -0
  42. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.d.vue.ts +109 -0
  43. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.vue +426 -0
  44. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.vue.d.ts +109 -0
  45. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/runtime.d.vue.ts +9 -0
  46. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/runtime.vue +356 -0
  47. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/runtime.vue.d.ts +9 -0
  48. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/schema.d.ts +85 -0
  49. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/schema.js +147 -0
  50. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/config.d.vue.ts +137 -0
  51. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/config.vue +586 -0
  52. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/config.vue.d.ts +137 -0
  53. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/runtime.d.vue.ts +9 -0
  54. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/runtime.vue +287 -0
  55. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/runtime.vue.d.ts +9 -0
  56. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/schema.d.ts +126 -0
  57. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/schema.js +125 -0
  58. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi/config.d.vue.ts +163 -0
  59. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi/config.vue +709 -0
  60. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi/config.vue.d.ts +163 -0
  61. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi/runtime.d.vue.ts +9 -0
  62. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi/runtime.vue +368 -0
  63. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi/runtime.vue.d.ts +9 -0
  64. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi/schema.d.ts +225 -0
  65. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi/schema.js +175 -0
  66. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/config.d.vue.ts +167 -0
  67. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/config.vue +740 -0
  68. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/config.vue.d.ts +167 -0
  69. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/runtime.d.vue.ts +9 -0
  70. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/runtime.vue +402 -0
  71. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/runtime.vue.d.ts +9 -0
  72. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/schema.d.ts +227 -0
  73. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/schema.js +227 -0
  74. package/package.json +1 -1
  75. package/dist/preview/assets/index-B2gp2q3H.js +0 -643
  76. package/dist/preview/assets/index-Jytc_ICm.js +0 -1
package/dist/mcp.mjs CHANGED
@@ -15509,14 +15509,14 @@ function requireCompile() {
15509
15509
  }
15510
15510
  const $id$1 = "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#";
15511
15511
  const description = "Meta-schema for $data reference (JSON AnySchema extension proposal)";
15512
- const type$W = "object";
15512
+ const type$10 = "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$W,
15519
+ type: type$10,
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$V = {};
18519
+ var metadata$$ = {};
18520
18520
  var hasRequiredMetadata;
18521
18521
  function requireMetadata() {
18522
- if (hasRequiredMetadata) return metadata$V;
18522
+ if (hasRequiredMetadata) return metadata$$;
18523
18523
  hasRequiredMetadata = 1;
18524
- Object.defineProperty(metadata$V, "__esModule", { value: true });
18525
- metadata$V.contentVocabulary = metadata$V.metadataVocabulary = void 0;
18526
- metadata$V.metadataVocabulary = [
18524
+ Object.defineProperty(metadata$$, "__esModule", { value: true });
18525
+ metadata$$.contentVocabulary = metadata$$.metadataVocabulary = void 0;
18526
+ metadata$$.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$V.contentVocabulary = [
18535
+ metadata$$.contentVocabulary = [
18536
18536
  "contentMediaType",
18537
18537
  "contentEncoding",
18538
18538
  "contentSchema"
18539
18539
  ];
18540
- return metadata$V;
18540
+ return metadata$$;
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$V = ["object", "boolean"];
18686
+ const type$$ = ["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$V,
18693
+ type: type$$,
18694
18694
  properties,
18695
18695
  "default": true
18696
18696
  };
@@ -81490,13 +81490,13 @@ function md(...args2) {
81490
81490
  const indent = (original.startsWith("\n") ? original.slice(1) : original).split("\n", 1)[0]?.match(/^(\s*)/)?.[1]?.length ?? 0;
81491
81491
  return original.trim().replaceAll("\\`", "`").split("\n").map((line) => line.replace(new RegExp(`^${String.raw`\s`.repeat(indent)}`), "")).join("\n");
81492
81492
  }
81493
- const type$U = "com.shwfed.actions.button.http.request.json.confirm";
81494
- const compatibilityDate$U = "2026-04-18";
81495
- const metadata$U = {
81493
+ const type$_ = "com.shwfed.actions.button.http.request.json.confirm";
81494
+ const compatibilityDate$_ = "2026-04-18";
81495
+ const metadata$_ = {
81496
81496
  name: "网络请求(JSON + 确认)",
81497
81497
  icon: "fluent:shield-checkmark-20-regular"
81498
81498
  };
81499
- function schema$U(configure) {
81499
+ function schema$_(configure) {
81500
81500
  const CelHttpRequest = Expression({ configure, resultType: "HttpRequest" });
81501
81501
  const CelMessage = Expression({
81502
81502
  configure: (env) => {
@@ -81508,8 +81508,8 @@ function schema$U(configure) {
81508
81508
  resultType: "string"
81509
81509
  });
81510
81510
  return Struct({
81511
- type: Literal2(type$U),
81512
- compatibilityDate: Literal2(compatibilityDate$U),
81511
+ type: Literal2(type$_),
81512
+ compatibilityDate: Literal2(compatibilityDate$_),
81513
81513
  expression: CelHttpRequest.annotations({
81514
81514
  title: "请求",
81515
81515
  description: md`
@@ -81567,18 +81567,18 @@ function schema$U(configure) {
81567
81567
  }
81568
81568
  const __vite_glob_0_0$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
81569
81569
  __proto__: null,
81570
- compatibilityDate: compatibilityDate$U,
81571
- metadata: metadata$U,
81572
- schema: schema$U,
81573
- type: type$U
81570
+ compatibilityDate: compatibilityDate$_,
81571
+ metadata: metadata$_,
81572
+ schema: schema$_,
81573
+ type: type$_
81574
81574
  }, Symbol.toStringTag, { value: "Module" }));
81575
- const type$T = "com.shwfed.actions.button.http.request.json";
81576
- const compatibilityDate$T = "2026-04-18";
81577
- const metadata$T = {
81575
+ const type$Z = "com.shwfed.actions.button.http.request.json";
81576
+ const compatibilityDate$Z = "2026-04-18";
81577
+ const metadata$Z = {
81578
81578
  name: "网络请求(JSON)",
81579
81579
  icon: "fluent:cloud-arrow-up-20-regular"
81580
81580
  };
81581
- function schema$T(configure) {
81581
+ function schema$Z(configure) {
81582
81582
  const CelHttpRequest = Expression({ configure, resultType: "HttpRequest" });
81583
81583
  const CelMessage = Expression({
81584
81584
  configure: (env) => {
@@ -81590,8 +81590,8 @@ function schema$T(configure) {
81590
81590
  resultType: "string"
81591
81591
  });
81592
81592
  return Struct({
81593
- type: Literal2(type$T),
81594
- compatibilityDate: Literal2(compatibilityDate$T),
81593
+ type: Literal2(type$Z),
81594
+ compatibilityDate: Literal2(compatibilityDate$Z),
81595
81595
  expression: CelHttpRequest.annotations({
81596
81596
  title: "请求",
81597
81597
  description: md`
@@ -81637,21 +81637,21 @@ function schema$T(configure) {
81637
81637
  }
81638
81638
  const __vite_glob_0_1$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
81639
81639
  __proto__: null,
81640
- compatibilityDate: compatibilityDate$T,
81641
- metadata: metadata$T,
81642
- schema: schema$T,
81643
- type: type$T
81640
+ compatibilityDate: compatibilityDate$Z,
81641
+ metadata: metadata$Z,
81642
+ schema: schema$Z,
81643
+ type: type$Z
81644
81644
  }, Symbol.toStringTag, { value: "Module" }));
81645
- const type$S = "com.shwfed.actions.button.prototype";
81646
- const compatibilityDate$S = "2026-04-18";
81647
- const metadata$S = {
81645
+ const type$Y = "com.shwfed.actions.button.prototype";
81646
+ const compatibilityDate$Y = "2026-04-18";
81647
+ const metadata$Y = {
81648
81648
  name: "原型",
81649
81649
  icon: "fluent:predictions-20-regular"
81650
81650
  };
81651
- function schema$S(_configure) {
81651
+ function schema$Y(_configure) {
81652
81652
  return Struct({
81653
- type: Literal2(type$S),
81654
- compatibilityDate: Literal2(compatibilityDate$S)
81653
+ type: Literal2(type$Y),
81654
+ compatibilityDate: Literal2(compatibilityDate$Y)
81655
81655
  }).annotations({
81656
81656
  title: "PrototypeAction",
81657
81657
  description: "点击无副作用的原型按钮,可被一次性转换为其它类型"
@@ -81659,23 +81659,23 @@ function schema$S(_configure) {
81659
81659
  }
81660
81660
  const __vite_glob_0_2$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
81661
81661
  __proto__: null,
81662
- compatibilityDate: compatibilityDate$S,
81663
- metadata: metadata$S,
81664
- schema: schema$S,
81665
- type: type$S
81662
+ compatibilityDate: compatibilityDate$Y,
81663
+ metadata: metadata$Y,
81664
+ schema: schema$Y,
81665
+ type: type$Y
81666
81666
  }, Symbol.toStringTag, { value: "Module" }));
81667
- const type$R = "com.shwfed.actions.button.navigation";
81668
- const compatibilityDate$R = "2026-04-21";
81669
- const metadata$R = {
81667
+ const type$X = "com.shwfed.actions.button.navigation";
81668
+ const compatibilityDate$X = "2026-04-21";
81669
+ const metadata$X = {
81670
81670
  name: "导航",
81671
81671
  icon: "fluent:link-20-regular"
81672
81672
  };
81673
81673
  const Mode = Literal2("_self", "_blank");
81674
- function schema$R(configure) {
81674
+ function schema$X(configure) {
81675
81675
  const CelUrl = Expression({ configure, resultType: "string" });
81676
81676
  return Struct({
81677
- type: Literal2(type$R),
81678
- compatibilityDate: Literal2(compatibilityDate$R),
81677
+ type: Literal2(type$X),
81678
+ compatibilityDate: Literal2(compatibilityDate$X),
81679
81679
  url: CelUrl.annotations({
81680
81680
  title: "链接",
81681
81681
  description: "点击后将打开的链接,返回 `string`"
@@ -81691,10 +81691,10 @@ function schema$R(configure) {
81691
81691
  }
81692
81692
  const __vite_glob_0_3$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
81693
81693
  __proto__: null,
81694
- compatibilityDate: compatibilityDate$R,
81695
- metadata: metadata$R,
81696
- schema: schema$R,
81697
- type: type$R
81694
+ compatibilityDate: compatibilityDate$X,
81695
+ metadata: metadata$X,
81696
+ schema: schema$X,
81697
+ type: type$X
81698
81698
  }, Symbol.toStringTag, { value: "Module" }));
81699
81699
  const TrackCount = Number$.pipe(int(), positive());
81700
81700
  const GridCoord = Number$.pipe(int(), positive());
@@ -81830,9 +81830,9 @@ function registerBlockRef(configure, ref2) {
81830
81830
  function lookupBlockRef(configure) {
81831
81831
  return blockRefCache.get(configure);
81832
81832
  }
81833
- const type$Q = "com.shwfed.actions.button.modal.layout";
81834
- const compatibilityDate$Q = "2026-05-11";
81835
- const metadata$Q = {
81833
+ const type$W = "com.shwfed.actions.button.modal.layout";
81834
+ const compatibilityDate$W = "2026-05-11";
81835
+ const metadata$W = {
81836
81836
  name: "模态窗口",
81837
81837
  icon: "fluent:window-edit-20-regular",
81838
81838
  drillable: true,
@@ -81843,12 +81843,12 @@ const metadata$Q = {
81843
81843
  const CssLength = String$.pipe(
81844
81844
  filter((s) => s.trim().length > 0 || "不能为空字符串")
81845
81845
  );
81846
- function schema$Q(configure) {
81846
+ function schema$W(configure) {
81847
81847
  const blockUnion = lookupBlockRef(configure) ?? Unknown;
81848
81848
  const ModalSlot = Slot(blockUnion, configure);
81849
81849
  return Struct({
81850
- type: Literal2(type$Q),
81851
- compatibilityDate: Literal2(compatibilityDate$Q),
81850
+ type: Literal2(type$W),
81851
+ compatibilityDate: Literal2(compatibilityDate$W),
81852
81852
  modalTitle: optional(Locale.annotations({
81853
81853
  title: "弹窗标题",
81854
81854
  description: "弹窗顶部展示的本地化标题,支持行内 Markdown;不填则回退使用按钮自身的名称"
@@ -81877,22 +81877,22 @@ function defaultBody$6() {
81877
81877
  }
81878
81878
  const __vite_glob_0_4$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
81879
81879
  __proto__: null,
81880
- compatibilityDate: compatibilityDate$Q,
81880
+ compatibilityDate: compatibilityDate$W,
81881
81881
  defaultBody: defaultBody$6,
81882
- metadata: metadata$Q,
81883
- schema: schema$Q,
81884
- type: type$Q
81882
+ metadata: metadata$W,
81883
+ schema: schema$W,
81884
+ type: type$W
81885
81885
  }, Symbol.toStringTag, { value: "Module" }));
81886
- const type$P = "com.shwfed.actions.button.event.dispatch";
81887
- const compatibilityDate$P = "2026-05-15";
81888
- const metadata$P = {
81886
+ const type$V = "com.shwfed.actions.button.event.dispatch";
81887
+ const compatibilityDate$V = "2026-05-15";
81888
+ const metadata$V = {
81889
81889
  name: "触发事件",
81890
81890
  icon: "fluent:flash-20-regular"
81891
81891
  };
81892
- function schema$P(_configure) {
81892
+ function schema$V(_configure) {
81893
81893
  return Struct({
81894
- type: Literal2(type$P),
81895
- compatibilityDate: Literal2(compatibilityDate$P),
81894
+ type: Literal2(type$V),
81895
+ compatibilityDate: Literal2(compatibilityDate$V),
81896
81896
  // This button's entire behaviour: the op-requests it bubbles up the
81897
81897
  // component tree on click. Stored on the button itself — there is no
81898
81898
  // host-level trigger field any more.
@@ -81903,18 +81903,18 @@ function schema$P(_configure) {
81903
81903
  }
81904
81904
  const __vite_glob_0_5$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
81905
81905
  __proto__: null,
81906
- compatibilityDate: compatibilityDate$P,
81907
- metadata: metadata$P,
81908
- schema: schema$P,
81909
- type: type$P
81906
+ compatibilityDate: compatibilityDate$V,
81907
+ metadata: metadata$V,
81908
+ schema: schema$V,
81909
+ type: type$V
81910
81910
  }, Symbol.toStringTag, { value: "Module" }));
81911
- const type$O = "com.shwfed.actions.button.http.download";
81912
- const compatibilityDate$O = "2026-05-21";
81913
- const metadata$O = {
81911
+ const type$U = "com.shwfed.actions.button.http.download";
81912
+ const compatibilityDate$U = "2026-05-21";
81913
+ const metadata$U = {
81914
81914
  name: "下载文件",
81915
81915
  icon: "fluent:arrow-download-20-regular"
81916
81916
  };
81917
- const JSON_VAR$3 = {
81917
+ const JSON_VAR$4 = {
81918
81918
  type: "dyn",
81919
81919
  label: "HTTP 响应体",
81920
81920
  description: "第一步 `请求` 的响应体(已解析 JSON);用于构造第二步下载请求"
@@ -81922,16 +81922,16 @@ const JSON_VAR$3 = {
81922
81922
  function configureWithJson$2(configure) {
81923
81923
  return (env) => {
81924
81924
  configure(env);
81925
- env.registerVariable("json", JSON_VAR$3.type, { description: JSON_VAR$3.description });
81925
+ env.registerVariable("json", JSON_VAR$4.type, { description: JSON_VAR$4.description });
81926
81926
  };
81927
81927
  }
81928
- function schema$O(configure) {
81928
+ function schema$U(configure) {
81929
81929
  const CelHttpRequest = Expression({ configure, resultType: "HttpRequest" });
81930
81930
  const CelDownloadRequest = Expression({ configure: configureWithJson$2(configure), resultType: "HttpRequest" });
81931
81931
  const CelMessage = Expression({ configure: configureWithJson$2(configure), resultType: "string" });
81932
81932
  return Struct({
81933
- type: Literal2(type$O),
81934
- compatibilityDate: Literal2(compatibilityDate$O),
81933
+ type: Literal2(type$U),
81934
+ compatibilityDate: Literal2(compatibilityDate$U),
81935
81935
  template: Struct({
81936
81936
  request: CelHttpRequest.annotations({
81937
81937
  title: "请求",
@@ -81993,26 +81993,26 @@ function schema$O(configure) {
81993
81993
  }
81994
81994
  const __vite_glob_0_6$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
81995
81995
  __proto__: null,
81996
- JSON_VAR: JSON_VAR$3,
81997
- compatibilityDate: compatibilityDate$O,
81998
- metadata: metadata$O,
81999
- schema: schema$O,
82000
- type: type$O
81996
+ JSON_VAR: JSON_VAR$4,
81997
+ compatibilityDate: compatibilityDate$U,
81998
+ metadata: metadata$U,
81999
+ schema: schema$U,
82000
+ type: type$U
82001
82001
  }, Symbol.toStringTag, { value: "Module" }));
82002
- const type$N = "com.shwfed.actions.button.state.write";
82003
- const compatibilityDate$N = "2026-05-24";
82004
- const metadata$N = {
82002
+ const type$T = "com.shwfed.actions.button.state.write";
82003
+ const compatibilityDate$T = "2026-05-24";
82004
+ const metadata$T = {
82005
82005
  name: "写入表单状态",
82006
82006
  icon: "fluent:document-edit-20-regular"
82007
82007
  };
82008
- function schema$N(configure) {
82008
+ function schema$T(configure) {
82009
82009
  const CelRecord = Expression({
82010
82010
  configure,
82011
82011
  resultType: (t) => t === "dyn" || t.startsWith("map")
82012
82012
  });
82013
82013
  return Struct({
82014
- type: Literal2(type$N),
82015
- compatibilityDate: Literal2(compatibilityDate$N),
82014
+ type: Literal2(type$T),
82015
+ compatibilityDate: Literal2(compatibilityDate$T),
82016
82016
  expression: CelRecord.annotations({
82017
82017
  title: "写入值",
82018
82018
  description: md`
@@ -82032,25 +82032,25 @@ function schema$N(configure) {
82032
82032
  }
82033
82033
  const __vite_glob_0_7$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
82034
82034
  __proto__: null,
82035
- compatibilityDate: compatibilityDate$N,
82036
- metadata: metadata$N,
82037
- schema: schema$N,
82038
- type: type$N
82035
+ compatibilityDate: compatibilityDate$T,
82036
+ metadata: metadata$T,
82037
+ schema: schema$T,
82038
+ type: type$T
82039
82039
  }, Symbol.toStringTag, { value: "Module" }));
82040
- const type$M = "com.shwfed.actions.item.markdown";
82041
- const compatibilityDate$M = "2026-05-21";
82042
- const metadata$M = {
82040
+ const type$S = "com.shwfed.actions.item.markdown";
82041
+ const compatibilityDate$S = "2026-05-21";
82042
+ const metadata$S = {
82043
82043
  name: "内联 Markdown",
82044
82044
  icon: "fluent:markdown-20-regular"
82045
82045
  };
82046
- function schema$M(_configure) {
82046
+ function schema$S(_configure) {
82047
82047
  return Struct({
82048
82048
  id: UUID.annotations({ description: "Markdown 项唯一标识" }),
82049
82049
  // Present when the item sits at group level; absent when it lives as a
82050
82050
  // dropdown sub-item (the parent is the dropdown itself).
82051
82051
  groupId: optional(UUID.annotations({ description: "所属按钮组标识" })),
82052
- type: Literal2(type$M),
82053
- compatibilityDate: Literal2(compatibilityDate$M),
82052
+ type: Literal2(type$S),
82053
+ compatibilityDate: Literal2(compatibilityDate$S),
82054
82054
  name: String$.annotations({
82055
82055
  title: "内部名称",
82056
82056
  description: "仅用于编辑器内识别该 Markdown 项,不会展示给最终用户"
@@ -82066,10 +82066,10 @@ function schema$M(_configure) {
82066
82066
  }
82067
82067
  const __vite_glob_3_0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
82068
82068
  __proto__: null,
82069
- compatibilityDate: compatibilityDate$M,
82070
- metadata: metadata$M,
82071
- schema: schema$M,
82072
- type: type$M
82069
+ compatibilityDate: compatibilityDate$S,
82070
+ metadata: metadata$S,
82071
+ schema: schema$S,
82072
+ type: type$S
82073
82073
  }, Symbol.toStringTag, { value: "Module" }));
82074
82074
  function defineRegistry(options) {
82075
82075
  const {
@@ -82441,20 +82441,20 @@ function defaultActionsConfig() {
82441
82441
  items: []
82442
82442
  };
82443
82443
  }
82444
- const type$L = "com.shwfed.block.actions";
82445
- const compatibilityDate$L = "2026-05-06";
82446
- const metadata$L = {
82444
+ const type$R = "com.shwfed.block.actions";
82445
+ const compatibilityDate$R = "2026-05-06";
82446
+ const metadata$R = {
82447
82447
  name: "操作按钮",
82448
82448
  icon: "fluent:cursor-click-20-regular",
82449
82449
  w: { initial: 8, min: 8, max: Infinity },
82450
82450
  h: { initial: 2, min: 2, max: Infinity }
82451
82451
  };
82452
- function schema$L(configure, _blockRef) {
82452
+ function schema$R(configure, _blockRef) {
82453
82453
  const ActionsSchema = ActionsConfig(configure);
82454
82454
  return Struct({
82455
82455
  id: UUID.annotations({ description: "块唯一标识" }),
82456
- type: tag(type$L),
82457
- compatibilityDate: tag(compatibilityDate$L),
82456
+ type: tag(type$R),
82457
+ compatibilityDate: tag(compatibilityDate$R),
82458
82458
  actions: ActionsSchema.annotations({
82459
82459
  title: "操作按钮配置",
82460
82460
  description: "内嵌的 Actions 组件配置"
@@ -82469,11 +82469,11 @@ function defaultBody$5() {
82469
82469
  }
82470
82470
  const __vite_glob_0_0$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
82471
82471
  __proto__: null,
82472
- compatibilityDate: compatibilityDate$L,
82472
+ compatibilityDate: compatibilityDate$R,
82473
82473
  defaultBody: defaultBody$5,
82474
- metadata: metadata$L,
82475
- schema: schema$L,
82476
- type: type$L
82474
+ metadata: metadata$R,
82475
+ schema: schema$R,
82476
+ type: type$R
82477
82477
  }, Symbol.toStringTag, { value: "Module" }));
82478
82478
  function commonFieldFields(configure) {
82479
82479
  const CelBool = Expression({ configure, resultType: "bool" });
@@ -82520,18 +82520,18 @@ function derivedField(configure, resultType) {
82520
82520
  })
82521
82521
  );
82522
82522
  }
82523
- const type$K = "com.shwfed.form.field.markdown";
82524
- const compatibilityDate$K = "2026-04-22";
82525
- const metadata$K = {
82523
+ const type$Q = "com.shwfed.form.field.markdown";
82524
+ const compatibilityDate$Q = "2026-04-22";
82525
+ const metadata$Q = {
82526
82526
  name: "Markdown",
82527
82527
  icon: "fluent:markdown-20-regular",
82528
82528
  w: { initial: 8, min: 2, max: Infinity },
82529
82529
  h: { initial: 2, min: 2, max: Infinity }
82530
82530
  };
82531
- function schema$K(configure) {
82531
+ function schema$Q(configure) {
82532
82532
  return Struct({
82533
- type: Literal2(type$K),
82534
- compatibilityDate: Literal2(compatibilityDate$K),
82533
+ type: Literal2(type$Q),
82534
+ compatibilityDate: Literal2(compatibilityDate$Q),
82535
82535
  ...commonFieldFields(configure),
82536
82536
  content: Locale.annotations({
82537
82537
  title: "内容",
@@ -82544,24 +82544,24 @@ function schema$K(configure) {
82544
82544
  }
82545
82545
  const __vite_glob_0_0$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
82546
82546
  __proto__: null,
82547
- compatibilityDate: compatibilityDate$K,
82548
- metadata: metadata$K,
82549
- schema: schema$K,
82550
- type: type$K
82547
+ compatibilityDate: compatibilityDate$Q,
82548
+ metadata: metadata$Q,
82549
+ schema: schema$Q,
82550
+ type: type$Q
82551
82551
  }, Symbol.toStringTag, { value: "Module" }));
82552
- const type$J = "com.shwfed.form.field.text";
82553
- const compatibilityDate$J = "2026-04-22";
82554
- const metadata$J = {
82552
+ const type$P = "com.shwfed.form.field.text";
82553
+ const compatibilityDate$P = "2026-04-22";
82554
+ const metadata$P = {
82555
82555
  name: "文本输入",
82556
82556
  icon: "fluent:text-field-20-regular",
82557
82557
  w: { initial: 8, min: 4, max: Infinity },
82558
82558
  h: { initial: 2, min: 2, max: 2 }
82559
82559
  };
82560
- function schema$J(configure) {
82560
+ function schema$P(configure) {
82561
82561
  const CelBool = Expression({ configure, resultType: "bool" });
82562
82562
  return Struct({
82563
- type: Literal2(type$J),
82564
- compatibilityDate: Literal2(compatibilityDate$J),
82563
+ type: Literal2(type$P),
82564
+ compatibilityDate: Literal2(compatibilityDate$P),
82565
82565
  ...commonFieldFields(configure),
82566
82566
  label: optional(Locale.annotations({
82567
82567
  title: "标签",
@@ -82596,24 +82596,24 @@ function schema$J(configure) {
82596
82596
  }
82597
82597
  const __vite_glob_0_1$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
82598
82598
  __proto__: null,
82599
- compatibilityDate: compatibilityDate$J,
82600
- metadata: metadata$J,
82601
- schema: schema$J,
82602
- type: type$J
82599
+ compatibilityDate: compatibilityDate$P,
82600
+ metadata: metadata$P,
82601
+ schema: schema$P,
82602
+ type: type$P
82603
82603
  }, Symbol.toStringTag, { value: "Module" }));
82604
- const type$I = "com.shwfed.form.field.textarea";
82605
- const compatibilityDate$I = "2026-04-22";
82606
- const metadata$I = {
82604
+ const type$O = "com.shwfed.form.field.textarea";
82605
+ const compatibilityDate$O = "2026-04-22";
82606
+ const metadata$O = {
82607
82607
  name: "多行文本输入",
82608
82608
  icon: "fluent:text-description-20-regular",
82609
82609
  w: { initial: 8, min: 4, max: Infinity },
82610
82610
  h: { initial: 3, min: 2, max: Infinity, grow: true }
82611
82611
  };
82612
- function schema$I(configure) {
82612
+ function schema$O(configure) {
82613
82613
  const CelBool = Expression({ configure, resultType: "bool" });
82614
82614
  return Struct({
82615
- type: Literal2(type$I),
82616
- compatibilityDate: Literal2(compatibilityDate$I),
82615
+ type: Literal2(type$O),
82616
+ compatibilityDate: Literal2(compatibilityDate$O),
82617
82617
  ...commonFieldFields(configure),
82618
82618
  label: optional(Locale.annotations({
82619
82619
  title: "标签",
@@ -82652,25 +82652,25 @@ function schema$I(configure) {
82652
82652
  }
82653
82653
  const __vite_glob_0_2$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
82654
82654
  __proto__: null,
82655
- compatibilityDate: compatibilityDate$I,
82656
- metadata: metadata$I,
82657
- schema: schema$I,
82658
- type: type$I
82655
+ compatibilityDate: compatibilityDate$O,
82656
+ metadata: metadata$O,
82657
+ schema: schema$O,
82658
+ type: type$O
82659
82659
  }, Symbol.toStringTag, { value: "Module" }));
82660
- const type$H = "com.shwfed.form.field.actions";
82661
- const compatibilityDate$H = "2026-04-24";
82662
- const metadata$H = {
82660
+ const type$N = "com.shwfed.form.field.actions";
82661
+ const compatibilityDate$N = "2026-04-24";
82662
+ const metadata$N = {
82663
82663
  name: "操作",
82664
82664
  icon: "fluent:cursor-click-20-regular",
82665
82665
  w: { initial: 8, min: 4, max: Infinity },
82666
82666
  h: { initial: 2, min: 2, max: Infinity }
82667
82667
  };
82668
- function schema$H(configure) {
82668
+ function schema$N(configure) {
82669
82669
  const { fields: actionFields } = ActionSchemaFields(configure);
82670
82670
  const { size: _size, groups, items: items2, ...rest } = actionFields;
82671
82671
  return Struct({
82672
- type: Literal2(type$H),
82673
- compatibilityDate: Literal2(compatibilityDate$H),
82672
+ type: Literal2(type$N),
82673
+ compatibilityDate: Literal2(compatibilityDate$N),
82674
82674
  ...commonFieldFields(configure),
82675
82675
  ...rest,
82676
82676
  // Form's add-field factory creates new fields with only { type, compatibilityDate, id },
@@ -82684,34 +82684,34 @@ function schema$H(configure) {
82684
82684
  }
82685
82685
  const __vite_glob_0_3$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
82686
82686
  __proto__: null,
82687
- compatibilityDate: compatibilityDate$H,
82688
- metadata: metadata$H,
82689
- schema: schema$H,
82690
- type: type$H
82687
+ compatibilityDate: compatibilityDate$N,
82688
+ metadata: metadata$N,
82689
+ schema: schema$N,
82690
+ type: type$N
82691
82691
  }, Symbol.toStringTag, { value: "Module" }));
82692
- const type$G = "com.shwfed.form.field.combobox.single";
82693
- const compatibilityDate$G = "2026-04-24";
82694
- const metadata$G = {
82692
+ const type$M = "com.shwfed.form.field.combobox.single";
82693
+ const compatibilityDate$M = "2026-04-24";
82694
+ const metadata$M = {
82695
82695
  name: "下拉单选",
82696
82696
  icon: "fluent:chevron-down-20-regular",
82697
82697
  w: { initial: 8, min: 4, max: Infinity },
82698
82698
  h: { initial: 2, min: 2, max: 2 }
82699
82699
  };
82700
- function configureWithOption$1(configure) {
82700
+ function configureWithOption$2(configure) {
82701
82701
  return (env) => {
82702
82702
  configure(env);
82703
82703
  env.registerVariable("option", "dyn", { description: "当前选项" });
82704
82704
  };
82705
82705
  }
82706
- const isListType$3 = (actual) => actual === "dyn" || actual.startsWith("list");
82707
- function schema$G(configure) {
82706
+ const isListType$7 = (actual) => actual === "dyn" || actual.startsWith("list");
82707
+ function schema$M(configure) {
82708
82708
  const CelBool = Expression({ configure, resultType: "bool" });
82709
- const CelOptions = Expression({ configure, resultType: isListType$3 });
82710
- const CelOptionValue = Expression({ configure: configureWithOption$1(configure), resultType: "dyn" });
82711
- const LocaleOptionLabel = LocaleMarkdown({ configure: configureWithOption$1(configure) });
82709
+ const CelOptions = Expression({ configure, resultType: isListType$7 });
82710
+ const CelOptionValue = Expression({ configure: configureWithOption$2(configure), resultType: "dyn" });
82711
+ const LocaleOptionLabel = LocaleMarkdown({ configure: configureWithOption$2(configure) });
82712
82712
  return Struct({
82713
- type: Literal2(type$G),
82714
- compatibilityDate: Literal2(compatibilityDate$G),
82713
+ type: Literal2(type$M),
82714
+ compatibilityDate: Literal2(compatibilityDate$M),
82715
82715
  ...commonFieldFields(configure),
82716
82716
  label: optional(Locale.annotations({
82717
82717
  title: "标签",
@@ -82758,14 +82758,14 @@ function schema$G(configure) {
82758
82758
  }
82759
82759
  const __vite_glob_0_4$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
82760
82760
  __proto__: null,
82761
- compatibilityDate: compatibilityDate$G,
82762
- metadata: metadata$G,
82763
- schema: schema$G,
82764
- type: type$G
82761
+ compatibilityDate: compatibilityDate$M,
82762
+ metadata: metadata$M,
82763
+ schema: schema$M,
82764
+ type: type$M
82765
82765
  }, Symbol.toStringTag, { value: "Module" }));
82766
- const type$F = "com.shwfed.form.field.date";
82767
- const compatibilityDate$F = "2026-04-27";
82768
- const metadata$F = {
82766
+ const type$L = "com.shwfed.form.field.date";
82767
+ const compatibilityDate$L = "2026-04-27";
82768
+ const metadata$L = {
82769
82769
  name: "日期",
82770
82770
  icon: "fluent:calendar-ltr-20-regular",
82771
82771
  w: { initial: 8, min: 4, max: Infinity },
@@ -82787,12 +82787,12 @@ function presetSchema$5(configure) {
82787
82787
  title: "DateFieldPreset"
82788
82788
  });
82789
82789
  }
82790
- function schema$F(configure) {
82790
+ function schema$L(configure) {
82791
82791
  const CelBool = Expression({ configure, resultType: "bool" });
82792
82792
  const Preset = presetSchema$5(configure);
82793
82793
  return Struct({
82794
- type: Literal2(type$F),
82795
- compatibilityDate: Literal2(compatibilityDate$F),
82794
+ type: Literal2(type$L),
82795
+ compatibilityDate: Literal2(compatibilityDate$L),
82796
82796
  ...commonFieldFields(configure),
82797
82797
  label: optional(Locale.annotations({
82798
82798
  title: "标签",
@@ -82839,14 +82839,14 @@ function schema$F(configure) {
82839
82839
  }
82840
82840
  const __vite_glob_0_5$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
82841
82841
  __proto__: null,
82842
- compatibilityDate: compatibilityDate$F,
82843
- metadata: metadata$F,
82842
+ compatibilityDate: compatibilityDate$L,
82843
+ metadata: metadata$L,
82844
82844
  presetSchema: presetSchema$5,
82845
- schema: schema$F,
82846
- type: type$F
82845
+ schema: schema$L,
82846
+ type: type$L
82847
82847
  }, Symbol.toStringTag, { value: "Module" }));
82848
- const type$E = "com.shwfed.form.field.daterange";
82849
- const compatibilityDate$E = "2026-04-27";
82848
+ const type$K = "com.shwfed.form.field.daterange";
82849
+ const compatibilityDate$K = "2026-04-27";
82850
82850
  const BindingPath$4 = String$.pipe(minLength(1));
82851
82851
  const SplitBinding$4 = Tuple(BindingPath$4, BindingPath$4).pipe(
82852
82852
  filter(([a, b]) => a !== b, {
@@ -82857,7 +82857,7 @@ const bindingSchema$4 = Union2(BindingPath$4, SplitBinding$4).annotations({
82857
82857
  title: "绑定路径",
82858
82858
  description: "写入表单状态的 `dot-prop` 路径;填写单个路径时写入 `[start, end]` 字符串数组,例如 `event.range`;填写 `[起始路径, 结束路径]` 元组时分别写入两端;留空则为非受控字段"
82859
82859
  });
82860
- const metadata$E = {
82860
+ const metadata$K = {
82861
82861
  name: "日期范围",
82862
82862
  icon: "fluent:calendar-arrow-right-20-regular",
82863
82863
  w: { initial: 10, min: 10, max: Infinity },
@@ -82883,12 +82883,12 @@ function presetSchema$4(configure) {
82883
82883
  title: "DateRangeFieldPreset"
82884
82884
  });
82885
82885
  }
82886
- function schema$E(configure) {
82886
+ function schema$K(configure) {
82887
82887
  const CelBool = Expression({ configure, resultType: "bool" });
82888
82888
  const Preset = presetSchema$4(configure);
82889
82889
  return Struct({
82890
- type: Literal2(type$E),
82891
- compatibilityDate: Literal2(compatibilityDate$E),
82890
+ type: Literal2(type$K),
82891
+ compatibilityDate: Literal2(compatibilityDate$K),
82892
82892
  ...commonFieldFields(configure),
82893
82893
  label: optional(Locale.annotations({
82894
82894
  title: "标签",
@@ -82947,16 +82947,16 @@ function defaults$8() {
82947
82947
  }
82948
82948
  const __vite_glob_0_6$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
82949
82949
  __proto__: null,
82950
- compatibilityDate: compatibilityDate$E,
82950
+ compatibilityDate: compatibilityDate$K,
82951
82951
  defaults: defaults$8,
82952
- metadata: metadata$E,
82952
+ metadata: metadata$K,
82953
82953
  presetSchema: presetSchema$4,
82954
- schema: schema$E,
82955
- type: type$E
82954
+ schema: schema$K,
82955
+ type: type$K
82956
82956
  }, Symbol.toStringTag, { value: "Module" }));
82957
- const type$D = "com.shwfed.form.field.datetime";
82958
- const compatibilityDate$D = "2026-04-27";
82959
- const metadata$D = {
82957
+ const type$J = "com.shwfed.form.field.datetime";
82958
+ const compatibilityDate$J = "2026-04-27";
82959
+ const metadata$J = {
82960
82960
  name: "日期时间",
82961
82961
  icon: "fluent:calendar-clock-20-regular",
82962
82962
  w: { initial: 8, min: 4, max: Infinity },
@@ -82988,12 +82988,12 @@ function presetSchema$3(configure) {
82988
82988
  title: "DateTimeFieldPreset"
82989
82989
  });
82990
82990
  }
82991
- function schema$D(configure) {
82991
+ function schema$J(configure) {
82992
82992
  const CelBool = Expression({ configure, resultType: "bool" });
82993
82993
  const Preset = presetSchema$3(configure);
82994
82994
  return Struct({
82995
- type: Literal2(type$D),
82996
- compatibilityDate: Literal2(compatibilityDate$D),
82995
+ type: Literal2(type$J),
82996
+ compatibilityDate: Literal2(compatibilityDate$J),
82997
82997
  ...commonFieldFields(configure),
82998
82998
  label: optional(Locale.annotations({
82999
82999
  title: "标签",
@@ -83051,14 +83051,14 @@ const __vite_glob_0_7$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
83051
83051
  HOUR_CYCLE_OPTIONS: HOUR_CYCLE_OPTIONS$3,
83052
83052
  TIME_GRANULARITIES: TIME_GRANULARITIES$3,
83053
83053
  TIME_GRANULARITY_OPTIONS: TIME_GRANULARITY_OPTIONS$3,
83054
- compatibilityDate: compatibilityDate$D,
83055
- metadata: metadata$D,
83054
+ compatibilityDate: compatibilityDate$J,
83055
+ metadata: metadata$J,
83056
83056
  presetSchema: presetSchema$3,
83057
- schema: schema$D,
83058
- type: type$D
83057
+ schema: schema$J,
83058
+ type: type$J
83059
83059
  }, Symbol.toStringTag, { value: "Module" }));
83060
- const type$C = "com.shwfed.form.field.datetimerange";
83061
- const compatibilityDate$C = "2026-04-27";
83060
+ const type$I = "com.shwfed.form.field.datetimerange";
83061
+ const compatibilityDate$I = "2026-04-27";
83062
83062
  const BindingPath$3 = String$.pipe(minLength(1));
83063
83063
  const SplitBinding$3 = Tuple(BindingPath$3, BindingPath$3).pipe(
83064
83064
  filter(([a, b]) => a !== b, {
@@ -83069,7 +83069,7 @@ const bindingSchema$3 = Union2(BindingPath$3, SplitBinding$3).annotations({
83069
83069
  title: "绑定路径",
83070
83070
  description: "写入表单状态的 `dot-prop` 路径;填写单个路径时写入 `[start, end]` 字符串数组,例如 `event.range`;填写 `[起始路径, 结束路径]` 元组时分别写入两端;留空则为非受控字段"
83071
83071
  });
83072
- const metadata$C = {
83072
+ const metadata$I = {
83073
83073
  name: "日期时间范围",
83074
83074
  icon: "fluent:calendar-clock-20-regular",
83075
83075
  w: { initial: 14, min: 14, max: Infinity },
@@ -83105,12 +83105,12 @@ function presetSchema$2(configure) {
83105
83105
  title: "DateTimeRangeFieldPreset"
83106
83106
  });
83107
83107
  }
83108
- function schema$C(configure) {
83108
+ function schema$I(configure) {
83109
83109
  const CelBool = Expression({ configure, resultType: "bool" });
83110
83110
  const Preset = presetSchema$2(configure);
83111
83111
  return Struct({
83112
- type: Literal2(type$C),
83113
- compatibilityDate: Literal2(compatibilityDate$C),
83112
+ type: Literal2(type$I),
83113
+ compatibilityDate: Literal2(compatibilityDate$I),
83114
83114
  ...commonFieldFields(configure),
83115
83115
  label: optional(Locale.annotations({
83116
83116
  title: "标签",
@@ -83180,16 +83180,16 @@ const __vite_glob_0_8$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
83180
83180
  HOUR_CYCLE_OPTIONS: HOUR_CYCLE_OPTIONS$2,
83181
83181
  TIME_GRANULARITIES: TIME_GRANULARITIES$2,
83182
83182
  TIME_GRANULARITY_OPTIONS: TIME_GRANULARITY_OPTIONS$2,
83183
- compatibilityDate: compatibilityDate$C,
83183
+ compatibilityDate: compatibilityDate$I,
83184
83184
  defaults: defaults$7,
83185
- metadata: metadata$C,
83185
+ metadata: metadata$I,
83186
83186
  presetSchema: presetSchema$2,
83187
- schema: schema$C,
83188
- type: type$C
83187
+ schema: schema$I,
83188
+ type: type$I
83189
83189
  }, Symbol.toStringTag, { value: "Module" }));
83190
- const type$B = "com.shwfed.form.field.time";
83191
- const compatibilityDate$B = "2026-04-27";
83192
- const metadata$B = {
83190
+ const type$H = "com.shwfed.form.field.time";
83191
+ const compatibilityDate$H = "2026-04-27";
83192
+ const metadata$H = {
83193
83193
  name: "时间",
83194
83194
  icon: "fluent:clock-20-regular",
83195
83195
  w: { initial: 8, min: 4, max: Infinity },
@@ -83205,11 +83205,11 @@ const HOUR_CYCLE_OPTIONS$1 = [
83205
83205
  { value: 24, label: "24 小时制" },
83206
83206
  { value: 12, label: "12 小时制" }
83207
83207
  ];
83208
- function schema$B(configure) {
83208
+ function schema$H(configure) {
83209
83209
  const CelBool = Expression({ configure, resultType: "bool" });
83210
83210
  return Struct({
83211
- type: Literal2(type$B),
83212
- compatibilityDate: Literal2(compatibilityDate$B),
83211
+ type: Literal2(type$H),
83212
+ compatibilityDate: Literal2(compatibilityDate$H),
83213
83213
  ...commonFieldFields(configure),
83214
83214
  label: optional(Locale.annotations({
83215
83215
  title: "标签",
@@ -83255,13 +83255,13 @@ const __vite_glob_0_9$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
83255
83255
  HOUR_CYCLE_OPTIONS: HOUR_CYCLE_OPTIONS$1,
83256
83256
  TIME_GRANULARITIES: TIME_GRANULARITIES$1,
83257
83257
  TIME_GRANULARITY_OPTIONS: TIME_GRANULARITY_OPTIONS$1,
83258
- compatibilityDate: compatibilityDate$B,
83259
- metadata: metadata$B,
83260
- schema: schema$B,
83261
- type: type$B
83258
+ compatibilityDate: compatibilityDate$H,
83259
+ metadata: metadata$H,
83260
+ schema: schema$H,
83261
+ type: type$H
83262
83262
  }, Symbol.toStringTag, { value: "Module" }));
83263
- const type$A = "com.shwfed.form.field.timerange";
83264
- const compatibilityDate$A = "2026-04-27";
83263
+ const type$G = "com.shwfed.form.field.timerange";
83264
+ const compatibilityDate$G = "2026-04-27";
83265
83265
  const BindingPath$2 = String$.pipe(minLength(1));
83266
83266
  const SplitBinding$2 = Tuple(BindingPath$2, BindingPath$2).pipe(
83267
83267
  filter(([a, b]) => a !== b, {
@@ -83272,7 +83272,7 @@ const bindingSchema$2 = Union2(BindingPath$2, SplitBinding$2).annotations({
83272
83272
  title: "绑定路径",
83273
83273
  description: "写入表单状态的 `dot-prop` 路径;填写单个路径时写入 `[start, end]` 字符串数组,例如 `meeting.timeRange`;填写 `[起始路径, 结束路径]` 元组时分别写入两端;留空则为非受控字段"
83274
83274
  });
83275
- const metadata$A = {
83275
+ const metadata$G = {
83276
83276
  name: "时间范围",
83277
83277
  icon: "fluent:clock-arrow-download-20-regular",
83278
83278
  w: { initial: 14, min: 14, max: Infinity },
@@ -83288,11 +83288,11 @@ const HOUR_CYCLE_OPTIONS = [
83288
83288
  { value: 24, label: "24 小时制" },
83289
83289
  { value: 12, label: "12 小时制" }
83290
83290
  ];
83291
- function schema$A(configure) {
83291
+ function schema$G(configure) {
83292
83292
  const CelBool = Expression({ configure, resultType: "bool" });
83293
83293
  return Struct({
83294
- type: Literal2(type$A),
83295
- compatibilityDate: Literal2(compatibilityDate$A),
83294
+ type: Literal2(type$G),
83295
+ compatibilityDate: Literal2(compatibilityDate$G),
83296
83296
  ...commonFieldFields(configure),
83297
83297
  label: optional(Locale.annotations({
83298
83298
  title: "标签",
@@ -83342,26 +83342,26 @@ const __vite_glob_0_10$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.
83342
83342
  HOUR_CYCLE_OPTIONS,
83343
83343
  TIME_GRANULARITIES,
83344
83344
  TIME_GRANULARITY_OPTIONS,
83345
- compatibilityDate: compatibilityDate$A,
83345
+ compatibilityDate: compatibilityDate$G,
83346
83346
  defaults: defaults$6,
83347
- metadata: metadata$A,
83348
- schema: schema$A,
83349
- type: type$A
83347
+ metadata: metadata$G,
83348
+ schema: schema$G,
83349
+ type: type$G
83350
83350
  }, Symbol.toStringTag, { value: "Module" }));
83351
- const type$z = "com.shwfed.form.field.number";
83352
- const compatibilityDate$z = "2026-04-28";
83353
- const metadata$z = {
83351
+ const type$F = "com.shwfed.form.field.number";
83352
+ const compatibilityDate$F = "2026-04-28";
83353
+ const metadata$F = {
83354
83354
  name: "数值输入",
83355
83355
  icon: "fluent:number-symbol-20-regular",
83356
83356
  w: { initial: 8, min: 4, max: Infinity },
83357
83357
  h: { initial: 2, min: 2, max: 2 }
83358
83358
  };
83359
- function schema$z(configure) {
83359
+ function schema$F(configure) {
83360
83360
  const CelBool = Expression({ configure, resultType: "bool" });
83361
83361
  const CelNumber = Expression({ configure, resultType: "number" });
83362
83362
  return Struct({
83363
- type: Literal2(type$z),
83364
- compatibilityDate: Literal2(compatibilityDate$z),
83363
+ type: Literal2(type$F),
83364
+ compatibilityDate: Literal2(compatibilityDate$F),
83365
83365
  ...commonFieldFields(configure),
83366
83366
  label: optional(Locale.annotations({
83367
83367
  title: "标签",
@@ -83420,13 +83420,13 @@ function schema$z(configure) {
83420
83420
  }
83421
83421
  const __vite_glob_0_11$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
83422
83422
  __proto__: null,
83423
- compatibilityDate: compatibilityDate$z,
83424
- metadata: metadata$z,
83425
- schema: schema$z,
83426
- type: type$z
83423
+ compatibilityDate: compatibilityDate$F,
83424
+ metadata: metadata$F,
83425
+ schema: schema$F,
83426
+ type: type$F
83427
83427
  }, Symbol.toStringTag, { value: "Module" }));
83428
- const type$y = "com.shwfed.form.field.numberrange";
83429
- const compatibilityDate$y = "2026-04-28";
83428
+ const type$E = "com.shwfed.form.field.numberrange";
83429
+ const compatibilityDate$E = "2026-04-28";
83430
83430
  const BindingPath$1 = String$.pipe(minLength(1));
83431
83431
  const SplitBinding$1 = Tuple(BindingPath$1, BindingPath$1).pipe(
83432
83432
  filter(([a, b]) => a !== b, {
@@ -83437,18 +83437,18 @@ const bindingSchema$1 = Union2(BindingPath$1, SplitBinding$1).annotations({
83437
83437
  title: "绑定路径",
83438
83438
  description: "写入表单状态的 `dot-prop` 路径;填写单个路径时写入 `[start, end]` 数值数组,例如 `score.range`;填写 `[起始路径, 结束路径]` 元组时分别写入两端;留空则为非受控字段"
83439
83439
  });
83440
- const metadata$y = {
83440
+ const metadata$E = {
83441
83441
  name: "数值范围",
83442
83442
  icon: "fluent:arrow-bidirectional-left-right-20-regular",
83443
83443
  w: { initial: 8, min: 4, max: Infinity },
83444
83444
  h: { initial: 2, min: 2, max: 2 }
83445
83445
  };
83446
- function schema$y(configure) {
83446
+ function schema$E(configure) {
83447
83447
  const CelBool = Expression({ configure, resultType: "bool" });
83448
83448
  const CelNumber = Expression({ configure, resultType: "number" });
83449
83449
  return Struct({
83450
- type: Literal2(type$y),
83451
- compatibilityDate: Literal2(compatibilityDate$y),
83450
+ type: Literal2(type$E),
83451
+ compatibilityDate: Literal2(compatibilityDate$E),
83452
83452
  ...commonFieldFields(configure),
83453
83453
  label: optional(Locale.annotations({
83454
83454
  title: "标签",
@@ -83515,25 +83515,25 @@ function defaults$5() {
83515
83515
  }
83516
83516
  const __vite_glob_0_12$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
83517
83517
  __proto__: null,
83518
- compatibilityDate: compatibilityDate$y,
83518
+ compatibilityDate: compatibilityDate$E,
83519
83519
  defaults: defaults$5,
83520
- metadata: metadata$y,
83521
- schema: schema$y,
83522
- type: type$y
83520
+ metadata: metadata$E,
83521
+ schema: schema$E,
83522
+ type: type$E
83523
83523
  }, Symbol.toStringTag, { value: "Module" }));
83524
- const type$x = "com.shwfed.form.field.switch";
83525
- const compatibilityDate$x = "2026-04-28";
83526
- const metadata$x = {
83524
+ const type$D = "com.shwfed.form.field.switch";
83525
+ const compatibilityDate$D = "2026-04-28";
83526
+ const metadata$D = {
83527
83527
  name: "开关",
83528
83528
  icon: "fluent:toggle-left-20-regular",
83529
83529
  w: { initial: 4, min: 4, max: Infinity },
83530
83530
  h: { initial: 2, min: 2, max: 2 }
83531
83531
  };
83532
- function schema$x(configure) {
83532
+ function schema$D(configure) {
83533
83533
  const CelBool = Expression({ configure, resultType: "bool" });
83534
83534
  return Struct({
83535
- type: Literal2(type$x),
83536
- compatibilityDate: Literal2(compatibilityDate$x),
83535
+ type: Literal2(type$D),
83536
+ compatibilityDate: Literal2(compatibilityDate$D),
83537
83537
  ...commonFieldFields(configure),
83538
83538
  label: optional(Locale.annotations({
83539
83539
  title: "标签",
@@ -83571,10 +83571,10 @@ function schema$x(configure) {
83571
83571
  }
83572
83572
  const __vite_glob_0_13$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
83573
83573
  __proto__: null,
83574
- compatibilityDate: compatibilityDate$x,
83575
- metadata: metadata$x,
83576
- schema: schema$x,
83577
- type: type$x
83574
+ compatibilityDate: compatibilityDate$D,
83575
+ metadata: metadata$D,
83576
+ schema: schema$D,
83577
+ type: type$D
83578
83578
  }, Symbol.toStringTag, { value: "Module" }));
83579
83579
  const decodeCache = {};
83580
83580
  function getDecodeCache(exclude2) {
@@ -88825,15 +88825,15 @@ function interpolateMarkdown(template, $cel, context2) {
88825
88825
  }
88826
88826
  });
88827
88827
  }
88828
- const type$w = "com.shwfed.form.field.combobox.single";
88829
- const compatibilityDate$w = "2026-04-29";
88830
- const metadata$w = {
88828
+ const type$C = "com.shwfed.form.field.combobox.single";
88829
+ const compatibilityDate$C = "2026-04-29";
88830
+ const metadata$C = {
88831
88831
  name: "下拉单选(硬编码)",
88832
88832
  icon: "fluent:chevron-down-20-regular",
88833
88833
  w: { initial: 8, min: 4, max: Infinity },
88834
88834
  h: { initial: 2, min: 2, max: 2 }
88835
88835
  };
88836
- function itemSchema$4(configure) {
88836
+ function itemSchema$8(configure) {
88837
88837
  const LocaleMd = LocaleMarkdown({ configure });
88838
88838
  const TextValue = Struct({
88839
88839
  kind: Literal2("text"),
@@ -88862,12 +88862,12 @@ function itemSchema$4(configure) {
88862
88862
  title: "ComboboxSingleItem"
88863
88863
  });
88864
88864
  }
88865
- function schema$w(configure) {
88865
+ function schema$C(configure) {
88866
88866
  const CelBool = Expression({ configure, resultType: "bool" });
88867
- const Item = itemSchema$4(configure);
88867
+ const Item = itemSchema$8(configure);
88868
88868
  return Struct({
88869
- type: Literal2(type$w),
88870
- compatibilityDate: Literal2(compatibilityDate$w),
88869
+ type: Literal2(type$C),
88870
+ compatibilityDate: Literal2(compatibilityDate$C),
88871
88871
  ...commonFieldFields(configure),
88872
88872
  label: optional(Locale.annotations({
88873
88873
  title: "标签",
@@ -88920,7 +88920,7 @@ function formatErrorMessage(err) {
88920
88920
  return String(err);
88921
88921
  }
88922
88922
  }
88923
- const migrate$2 = (prev, ctx) => {
88923
+ const migrate$4 = (prev, ctx) => {
88924
88924
  const legacy = prev;
88925
88925
  return gen(function* () {
88926
88926
  const rawOptions = yield* mapError$1(
@@ -88959,29 +88959,29 @@ const migrate$2 = (prev, ctx) => {
88959
88959
  } = legacy;
88960
88960
  return {
88961
88961
  ...carryover,
88962
- compatibilityDate: compatibilityDate$w,
88962
+ compatibilityDate: compatibilityDate$C,
88963
88963
  items: items2
88964
88964
  };
88965
88965
  });
88966
88966
  };
88967
88967
  const __vite_glob_0_14$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
88968
88968
  __proto__: null,
88969
- compatibilityDate: compatibilityDate$w,
88970
- itemSchema: itemSchema$4,
88971
- metadata: metadata$w,
88972
- migrate: migrate$2,
88973
- schema: schema$w,
88974
- type: type$w
88969
+ compatibilityDate: compatibilityDate$C,
88970
+ itemSchema: itemSchema$8,
88971
+ metadata: metadata$C,
88972
+ migrate: migrate$4,
88973
+ schema: schema$C,
88974
+ type: type$C
88975
88975
  }, Symbol.toStringTag, { value: "Module" }));
88976
- const type$v = "com.shwfed.form.field.upload";
88977
- const compatibilityDate$v = "2026-05-12";
88978
- const metadata$v = {
88976
+ const type$B = "com.shwfed.form.field.upload";
88977
+ const compatibilityDate$B = "2026-05-12";
88978
+ const metadata$B = {
88979
88979
  name: "文件上传",
88980
88980
  icon: "fluent:cloud-arrow-up-20-regular",
88981
88981
  w: { initial: 8, min: 8, max: Infinity },
88982
88982
  h: { initial: 6, min: 6, max: Infinity, grow: true }
88983
88983
  };
88984
- const JSON_VAR$2 = {
88984
+ const JSON_VAR$3 = {
88985
88985
  type: "dyn",
88986
88986
  label: "HTTP 响应体",
88987
88987
  description: "第一步 `请求` 的响应体(已解析 JSON);用于构造第二步下载请求"
@@ -88989,17 +88989,17 @@ const JSON_VAR$2 = {
88989
88989
  function configureWithJson$1(configure) {
88990
88990
  return (env) => {
88991
88991
  configure(env);
88992
- env.registerVariable("json", JSON_VAR$2.type, { description: JSON_VAR$2.description });
88992
+ env.registerVariable("json", JSON_VAR$3.type, { description: JSON_VAR$3.description });
88993
88993
  };
88994
88994
  }
88995
- function schema$v(configure) {
88995
+ function schema$B(configure) {
88996
88996
  const CelBool = Expression({ configure, resultType: "bool" });
88997
88997
  const CelHttpRequest = Expression({ configure, resultType: "HttpRequest" });
88998
88998
  const CelDownloadRequest = Expression({ configure: configureWithJson$1(configure), resultType: "HttpRequest" });
88999
88999
  const LocaleMd = LocaleMarkdown({ configure });
89000
89000
  return Struct({
89001
- type: Literal2(type$v),
89002
- compatibilityDate: Literal2(compatibilityDate$v),
89001
+ type: Literal2(type$B),
89002
+ compatibilityDate: Literal2(compatibilityDate$B),
89003
89003
  ...commonFieldFields(configure),
89004
89004
  label: optional(Locale.annotations({
89005
89005
  title: "标签",
@@ -89078,52 +89078,52 @@ function schema$v(configure) {
89078
89078
  }
89079
89079
  const __vite_glob_0_15$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
89080
89080
  __proto__: null,
89081
- JSON_VAR: JSON_VAR$2,
89082
- compatibilityDate: compatibilityDate$v,
89083
- metadata: metadata$v,
89084
- schema: schema$v,
89085
- type: type$v
89081
+ JSON_VAR: JSON_VAR$3,
89082
+ compatibilityDate: compatibilityDate$B,
89083
+ metadata: metadata$B,
89084
+ schema: schema$B,
89085
+ type: type$B
89086
89086
  }, Symbol.toStringTag, { value: "Module" }));
89087
- const type$u = "com.shwfed.form.field.combobox.single.remote";
89088
- const compatibilityDate$u = "2026-05-13";
89089
- const metadata$u = {
89087
+ const type$A = "com.shwfed.form.field.combobox.single.remote";
89088
+ const compatibilityDate$A = "2026-05-13";
89089
+ const metadata$A = {
89090
89090
  name: "下拉单选(远程)",
89091
89091
  icon: "fluent:cloud-arrow-down-20-regular",
89092
89092
  w: { initial: 8, min: 4, max: Infinity },
89093
89093
  h: { initial: 2, min: 2, max: 2 }
89094
89094
  };
89095
- const OPTION_VAR$1 = {
89095
+ const OPTION_VAR$2 = {
89096
89096
  type: "dyn",
89097
89097
  label: "当前选项",
89098
89098
  description: "`选项` 表达式产出的数组中迭代到的单个元素"
89099
89099
  };
89100
- const JSON_VAR$1 = {
89100
+ const JSON_VAR$2 = {
89101
89101
  type: "dyn",
89102
89102
  label: "HTTP 响应体",
89103
89103
  description: "HTTP 响应体(已解析 JSON);请求失败或尚未完成时为 `null`"
89104
89104
  };
89105
- function configureWithOption(configure) {
89105
+ function configureWithOption$1(configure) {
89106
89106
  return (env) => {
89107
89107
  configure(env);
89108
- env.registerVariable("option", OPTION_VAR$1.type, { description: OPTION_VAR$1.description });
89108
+ env.registerVariable("option", OPTION_VAR$2.type, { description: OPTION_VAR$2.description });
89109
89109
  };
89110
89110
  }
89111
89111
  function configureWithJson(configure) {
89112
89112
  return (env) => {
89113
89113
  configure(env);
89114
- env.registerVariable("json", JSON_VAR$1.type, { description: JSON_VAR$1.description });
89114
+ env.registerVariable("json", JSON_VAR$2.type, { description: JSON_VAR$2.description });
89115
89115
  };
89116
89116
  }
89117
- const isListType$2 = (actual) => actual === "dyn" || actual.startsWith("list");
89118
- function schema$u(configure) {
89117
+ const isListType$6 = (actual) => actual === "dyn" || actual.startsWith("list");
89118
+ function schema$A(configure) {
89119
89119
  const CelBool = Expression({ configure, resultType: "bool" });
89120
89120
  const CelHttpRequest = Expression({ configure, resultType: "HttpRequest" });
89121
- const CelOptions = Expression({ configure: configureWithJson(configure), resultType: isListType$2 });
89122
- const CelOptionValue = Expression({ configure: configureWithOption(configure), resultType: "dyn" });
89123
- const LocaleOptionLabel = LocaleMarkdown({ configure: configureWithOption(configure) });
89121
+ const CelOptions = Expression({ configure: configureWithJson(configure), resultType: isListType$6 });
89122
+ const CelOptionValue = Expression({ configure: configureWithOption$1(configure), resultType: "dyn" });
89123
+ const LocaleOptionLabel = LocaleMarkdown({ configure: configureWithOption$1(configure) });
89124
89124
  return Struct({
89125
- type: Literal2(type$u),
89126
- compatibilityDate: Literal2(compatibilityDate$u),
89125
+ type: Literal2(type$A),
89126
+ compatibilityDate: Literal2(compatibilityDate$A),
89127
89127
  ...commonFieldFields(configure),
89128
89128
  label: optional(Locale.annotations({
89129
89129
  title: "标签",
@@ -89174,22 +89174,22 @@ function schema$u(configure) {
89174
89174
  }
89175
89175
  const __vite_glob_0_16$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
89176
89176
  __proto__: null,
89177
- JSON_VAR: JSON_VAR$1,
89178
- OPTION_VAR: OPTION_VAR$1,
89179
- compatibilityDate: compatibilityDate$u,
89180
- metadata: metadata$u,
89181
- schema: schema$u,
89182
- type: type$u
89177
+ JSON_VAR: JSON_VAR$2,
89178
+ OPTION_VAR: OPTION_VAR$2,
89179
+ compatibilityDate: compatibilityDate$A,
89180
+ metadata: metadata$A,
89181
+ schema: schema$A,
89182
+ type: type$A
89183
89183
  }, Symbol.toStringTag, { value: "Module" }));
89184
- const type$t = "com.shwfed.form.field.list";
89185
- const compatibilityDate$t = "2026-05-13";
89186
- const metadata$t = {
89184
+ const type$z = "com.shwfed.form.field.list";
89185
+ const compatibilityDate$z = "2026-05-13";
89186
+ const metadata$z = {
89187
89187
  name: "列表",
89188
89188
  icon: "fluent:list-20-regular",
89189
89189
  w: { initial: 12, min: 4, max: Infinity },
89190
89190
  h: { initial: 6, min: 4, max: Infinity, grow: true }
89191
89191
  };
89192
- function schema$t(configure) {
89192
+ function schema$z(configure) {
89193
89193
  const CelBool = Expression({ configure, resultType: "bool" });
89194
89194
  const unitConfigure = (env) => {
89195
89195
  configure(env);
@@ -89203,8 +89203,8 @@ function schema$t(configure) {
89203
89203
  };
89204
89204
  const Unit = suspend(() => FormUnit(unitConfigure));
89205
89205
  return Struct({
89206
- type: Literal2(type$t),
89207
- compatibilityDate: Literal2(compatibilityDate$t),
89206
+ type: Literal2(type$z),
89207
+ compatibilityDate: Literal2(compatibilityDate$z),
89208
89208
  ...commonFieldFields(configure),
89209
89209
  label: optional(Locale.annotations({
89210
89210
  title: "标签",
@@ -89269,23 +89269,23 @@ function defaults$4() {
89269
89269
  }
89270
89270
  };
89271
89271
  }
89272
- const __vite_glob_0_17 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
89272
+ const __vite_glob_0_17$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
89273
89273
  __proto__: null,
89274
- compatibilityDate: compatibilityDate$t,
89274
+ compatibilityDate: compatibilityDate$z,
89275
89275
  defaults: defaults$4,
89276
- metadata: metadata$t,
89277
- schema: schema$t,
89278
- type: type$t
89276
+ metadata: metadata$z,
89277
+ schema: schema$z,
89278
+ type: type$z
89279
89279
  }, Symbol.toStringTag, { value: "Module" }));
89280
- const type$s = "com.shwfed.form.field.checkbox.group";
89281
- const compatibilityDate$s = "2026-05-17";
89282
- const metadata$s = {
89280
+ const type$y = "com.shwfed.form.field.checkbox.group";
89281
+ const compatibilityDate$y = "2026-05-17";
89282
+ const metadata$y = {
89283
89283
  name: "复选框组",
89284
89284
  icon: "fluent:checkbox-checked-20-regular",
89285
89285
  w: { initial: 8, min: 2, max: Infinity },
89286
89286
  h: { initial: 2, min: 2, max: 2 }
89287
89287
  };
89288
- function itemSchema$3(configure) {
89288
+ function itemSchema$7(configure) {
89289
89289
  const LocaleMd = LocaleMarkdown({ configure });
89290
89290
  const TextValue = Struct({
89291
89291
  kind: Literal2("text"),
@@ -89314,12 +89314,12 @@ function itemSchema$3(configure) {
89314
89314
  title: "CheckboxGroupItem"
89315
89315
  });
89316
89316
  }
89317
- function schema$s(configure) {
89317
+ function schema$y(configure) {
89318
89318
  const CelBool = Expression({ configure, resultType: "bool" });
89319
- const Item = itemSchema$3(configure);
89319
+ const Item = itemSchema$7(configure);
89320
89320
  return Struct({
89321
- type: Literal2(type$s),
89322
- compatibilityDate: Literal2(compatibilityDate$s),
89321
+ type: Literal2(type$y),
89322
+ compatibilityDate: Literal2(compatibilityDate$y),
89323
89323
  ...commonFieldFields(configure),
89324
89324
  label: optional(Locale.annotations({
89325
89325
  title: "标签",
@@ -89351,23 +89351,23 @@ function schema$s(configure) {
89351
89351
  description: "复选框组多选输入"
89352
89352
  });
89353
89353
  }
89354
- const __vite_glob_0_18 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
89354
+ const __vite_glob_0_18$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
89355
89355
  __proto__: null,
89356
- compatibilityDate: compatibilityDate$s,
89357
- itemSchema: itemSchema$3,
89358
- metadata: metadata$s,
89359
- schema: schema$s,
89360
- type: type$s
89356
+ compatibilityDate: compatibilityDate$y,
89357
+ itemSchema: itemSchema$7,
89358
+ metadata: metadata$y,
89359
+ schema: schema$y,
89360
+ type: type$y
89361
89361
  }, Symbol.toStringTag, { value: "Module" }));
89362
- const type$r = "com.shwfed.form.field.radio.group";
89363
- const compatibilityDate$r = "2026-05-17";
89364
- const metadata$r = {
89362
+ const type$x = "com.shwfed.form.field.radio.group";
89363
+ const compatibilityDate$x = "2026-05-17";
89364
+ const metadata$x = {
89365
89365
  name: "单选框组",
89366
89366
  icon: "fluent:radio-button-20-regular",
89367
89367
  w: { initial: 8, min: 2, max: Infinity },
89368
89368
  h: { initial: 2, min: 2, max: 2 }
89369
89369
  };
89370
- function itemSchema$2(configure) {
89370
+ function itemSchema$6(configure) {
89371
89371
  const LocaleMd = LocaleMarkdown({ configure });
89372
89372
  const TextValue = Struct({
89373
89373
  kind: Literal2("text"),
@@ -89396,12 +89396,12 @@ function itemSchema$2(configure) {
89396
89396
  title: "RadioGroupItem"
89397
89397
  });
89398
89398
  }
89399
- function schema$r(configure) {
89399
+ function schema$x(configure) {
89400
89400
  const CelBool = Expression({ configure, resultType: "bool" });
89401
- const Item = itemSchema$2(configure);
89401
+ const Item = itemSchema$6(configure);
89402
89402
  return Struct({
89403
- type: Literal2(type$r),
89404
- compatibilityDate: Literal2(compatibilityDate$r),
89403
+ type: Literal2(type$x),
89404
+ compatibilityDate: Literal2(compatibilityDate$x),
89405
89405
  ...commonFieldFields(configure),
89406
89406
  label: optional(Locale.annotations({
89407
89407
  title: "标签",
@@ -89433,13 +89433,13 @@ function schema$r(configure) {
89433
89433
  description: "单选框组单选输入"
89434
89434
  });
89435
89435
  }
89436
- const __vite_glob_0_19 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
89436
+ const __vite_glob_0_19$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
89437
89437
  __proto__: null,
89438
- compatibilityDate: compatibilityDate$r,
89439
- itemSchema: itemSchema$2,
89440
- metadata: metadata$r,
89441
- schema: schema$r,
89442
- type: type$r
89438
+ compatibilityDate: compatibilityDate$x,
89439
+ itemSchema: itemSchema$6,
89440
+ metadata: metadata$x,
89441
+ schema: schema$x,
89442
+ type: type$x
89443
89443
  }, Symbol.toStringTag, { value: "Module" }));
89444
89444
  const matchIconName = /^[a-z0-9]+(-[a-z0-9]+)*$/;
89445
89445
  const stringToIcon = (value, validate2, allowSimpleName, provider = "") => {
@@ -90923,14 +90923,14 @@ function LocaleMarkdownWithRow(configure) {
90923
90923
  function derivedRowField(configure, resultType) {
90924
90924
  return derivedField(configureWithRow(configure), resultType);
90925
90925
  }
90926
- const type$q = "com.shwfed.table.column.actions";
90927
- const compatibilityDate$q = "2026-04-14";
90928
- const metadata$q = {
90926
+ const type$w = "com.shwfed.table.column.actions";
90927
+ const compatibilityDate$w = "2026-04-14";
90928
+ const metadata$w = {
90929
90929
  name: "操作",
90930
90930
  icon: "fluent:cursor-click-20-regular"
90931
90931
  };
90932
90932
  const registerRowVariables = registerRowVariablesIfAbsent;
90933
- function schema$q(configure) {
90933
+ function schema$w(configure) {
90934
90934
  const configureWithRow2 = (env) => {
90935
90935
  configure(env);
90936
90936
  registerRowVariables(env);
@@ -90938,8 +90938,8 @@ function schema$q(configure) {
90938
90938
  const { fields: actionFields } = ActionSchemaFields(configureWithRow2);
90939
90939
  const { size: _buttonSize, ...actionFieldsForColumn } = actionFields;
90940
90940
  return Struct({
90941
- type: Literal2(type$q),
90942
- compatibilityDate: Literal2(compatibilityDate$q),
90941
+ type: Literal2(type$w),
90942
+ compatibilityDate: Literal2(compatibilityDate$w),
90943
90943
  ...columnIdentityFields(),
90944
90944
  title: optional(Locale.annotations({ title: "标题", description: "列标题" })),
90945
90945
  size: optional(Number$.pipe(finite(), positive()).annotations({
@@ -90953,7 +90953,7 @@ function schema$q(configure) {
90953
90953
  ...actionFieldsForColumn
90954
90954
  }).annotations({ title: "ActionsRenderer", description: "操作渲染器" });
90955
90955
  }
90956
- function toColumnDef$g(value, { getLocaleText }) {
90956
+ function toColumnDef$l(value, { getLocaleText }) {
90957
90957
  return {
90958
90958
  header: value.title ? getLocaleText(value.title) : void 0,
90959
90959
  enableSorting: false,
@@ -90966,23 +90966,23 @@ function toColumnDef$g(value, { getLocaleText }) {
90966
90966
  }
90967
90967
  const __vite_glob_0_0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
90968
90968
  __proto__: null,
90969
- compatibilityDate: compatibilityDate$q,
90970
- metadata: metadata$q,
90969
+ compatibilityDate: compatibilityDate$w,
90970
+ metadata: metadata$w,
90971
90971
  registerRowVariables,
90972
- schema: schema$q,
90973
- toColumnDef: toColumnDef$g,
90974
- type: type$q
90972
+ schema: schema$w,
90973
+ toColumnDef: toColumnDef$l,
90974
+ type: type$w
90975
90975
  }, Symbol.toStringTag, { value: "Module" }));
90976
- const type$p = "com.shwfed.table.column.date";
90977
- const compatibilityDate$p = "2026-04-14";
90978
- const metadata$p = {
90976
+ const type$v = "com.shwfed.table.column.date";
90977
+ const compatibilityDate$v = "2026-04-14";
90978
+ const metadata$v = {
90979
90979
  name: "日期",
90980
90980
  icon: "fluent:calendar-ltr-20-regular"
90981
90981
  };
90982
- function schema$p(configure) {
90982
+ function schema$v(configure) {
90983
90983
  return Struct({
90984
- type: Literal2(type$p),
90985
- compatibilityDate: Literal2(compatibilityDate$p),
90984
+ type: Literal2(type$v),
90985
+ compatibilityDate: Literal2(compatibilityDate$v),
90986
90986
  ...columnFields(configure),
90987
90987
  align: optionalWith(Align.annotations({ title: "对齐" }), { default: () => "left" }),
90988
90988
  format: String$.annotations({
@@ -90993,7 +90993,7 @@ function schema$p(configure) {
90993
90993
  })
90994
90994
  }).annotations({ title: "DateRenderer", description: "日期渲染器" });
90995
90995
  }
90996
- function toColumnDef$f(value, { getLocaleText, $cel, inheritedContext }) {
90996
+ function toColumnDef$k(value, { getLocaleText, $cel, inheritedContext }) {
90997
90997
  return {
90998
90998
  header: getLocaleText(value.title),
90999
90999
  accessorFn: (row, index) => {
@@ -91014,22 +91014,22 @@ function toColumnDef$f(value, { getLocaleText, $cel, inheritedContext }) {
91014
91014
  }
91015
91015
  const __vite_glob_0_1$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
91016
91016
  __proto__: null,
91017
- compatibilityDate: compatibilityDate$p,
91018
- metadata: metadata$p,
91019
- schema: schema$p,
91020
- toColumnDef: toColumnDef$f,
91021
- type: type$p
91017
+ compatibilityDate: compatibilityDate$v,
91018
+ metadata: metadata$v,
91019
+ schema: schema$v,
91020
+ toColumnDef: toColumnDef$k,
91021
+ type: type$v
91022
91022
  }, Symbol.toStringTag, { value: "Module" }));
91023
- const type$o = "com.shwfed.table.column.icon";
91024
- const compatibilityDate$o = "2026-04-14";
91025
- const metadata$o = {
91023
+ const type$u = "com.shwfed.table.column.icon";
91024
+ const compatibilityDate$u = "2026-04-14";
91025
+ const metadata$u = {
91026
91026
  name: "图标",
91027
91027
  icon: "fluent:shapes-20-regular"
91028
91028
  };
91029
- function schema$o(configure) {
91029
+ function schema$u(configure) {
91030
91030
  return Struct({
91031
- type: Literal2(type$o),
91032
- compatibilityDate: Literal2(compatibilityDate$o),
91031
+ type: Literal2(type$u),
91032
+ compatibilityDate: Literal2(compatibilityDate$u),
91033
91033
  ...columnFields(configure),
91034
91034
  accessor: CelRowAccess(configure).annotations({
91035
91035
  title: "图标",
@@ -91044,7 +91044,7 @@ function schema$o(configure) {
91044
91044
  align: optionalWith(Align.annotations({ title: "对齐" }), { default: () => "center" })
91045
91045
  }).annotations({ title: "IconRenderer", description: "图标渲染器" });
91046
91046
  }
91047
- function toColumnDef$e(value, { getLocaleText, $cel, inheritedContext }) {
91047
+ function toColumnDef$j(value, { getLocaleText, $cel, inheritedContext }) {
91048
91048
  return {
91049
91049
  header: getLocaleText(value.title),
91050
91050
  accessorFn: (row, index) => {
@@ -91065,25 +91065,25 @@ function toColumnDef$e(value, { getLocaleText, $cel, inheritedContext }) {
91065
91065
  }
91066
91066
  const __vite_glob_0_2$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
91067
91067
  __proto__: null,
91068
- compatibilityDate: compatibilityDate$o,
91069
- metadata: metadata$o,
91070
- schema: schema$o,
91071
- toColumnDef: toColumnDef$e,
91072
- type: type$o
91068
+ compatibilityDate: compatibilityDate$u,
91069
+ metadata: metadata$u,
91070
+ schema: schema$u,
91071
+ toColumnDef: toColumnDef$j,
91072
+ type: type$u
91073
91073
  }, Symbol.toStringTag, { value: "Module" }));
91074
- const type$n = "com.shwfed.table.column.markdown";
91075
- const compatibilityDate$n = "2026-04-14";
91076
- const metadata$n = {
91074
+ const type$t = "com.shwfed.table.column.markdown";
91075
+ const compatibilityDate$t = "2026-04-14";
91076
+ const metadata$t = {
91077
91077
  name: "MD",
91078
91078
  icon: "fluent:markdown-20-regular"
91079
91079
  };
91080
91080
  const isCopyExpressionType$1 = (t) => t === "string" || t === "dyn" || t.startsWith("optional");
91081
- function schema$n(configure) {
91081
+ function schema$t(configure) {
91082
91082
  const cel = CelRowAccess(configure, { resultType: isCopyExpressionType$1 });
91083
91083
  const localeMarkdown = LocaleMarkdownWithRow(configure);
91084
91084
  return Struct({
91085
- type: Literal2(type$n),
91086
- compatibilityDate: Literal2(compatibilityDate$n),
91085
+ type: Literal2(type$t),
91086
+ compatibilityDate: Literal2(compatibilityDate$t),
91087
91087
  ...columnIdentityFields(),
91088
91088
  title: Locale.annotations({ title: "标题", description: "列标题" }),
91089
91089
  align: optionalWith(Align.annotations({ title: "对齐" }), { default: () => "left" }),
@@ -91109,7 +91109,7 @@ function schema$n(configure) {
91109
91109
  }))
91110
91110
  }).annotations({ title: "MarkdownRenderer", description: "MD" });
91111
91111
  }
91112
- function toColumnDef$d(value, { getLocaleText }) {
91112
+ function toColumnDef$i(value, { getLocaleText }) {
91113
91113
  return {
91114
91114
  header: getLocaleText(value.title),
91115
91115
  enableSorting: false,
@@ -91122,22 +91122,22 @@ function toColumnDef$d(value, { getLocaleText }) {
91122
91122
  }
91123
91123
  const __vite_glob_0_3$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
91124
91124
  __proto__: null,
91125
- compatibilityDate: compatibilityDate$n,
91126
- metadata: metadata$n,
91127
- schema: schema$n,
91128
- toColumnDef: toColumnDef$d,
91129
- type: type$n
91125
+ compatibilityDate: compatibilityDate$t,
91126
+ metadata: metadata$t,
91127
+ schema: schema$t,
91128
+ toColumnDef: toColumnDef$i,
91129
+ type: type$t
91130
91130
  }, Symbol.toStringTag, { value: "Module" }));
91131
- const type$m = "com.shwfed.table.column.number";
91132
- const compatibilityDate$m = "2026-04-14";
91133
- const metadata$m = {
91131
+ const type$s = "com.shwfed.table.column.number";
91132
+ const compatibilityDate$s = "2026-04-14";
91133
+ const metadata$s = {
91134
91134
  name: "数值",
91135
91135
  icon: "fluent:number-symbol-20-regular"
91136
91136
  };
91137
- function schema$m(configure) {
91137
+ function schema$s(configure) {
91138
91138
  return Struct({
91139
- type: Literal2(type$m),
91140
- compatibilityDate: Literal2(compatibilityDate$m),
91139
+ type: Literal2(type$s),
91140
+ compatibilityDate: Literal2(compatibilityDate$s),
91141
91141
  ...columnFields(configure),
91142
91142
  align: optionalWith(Align.annotations({ title: "对齐" }), { default: () => "right" }),
91143
91143
  displayMode: optionalWith(
@@ -91157,7 +91157,7 @@ function schema$m(configure) {
91157
91157
  }))
91158
91158
  }).annotations({ title: "NumberRenderer", description: "数值渲染器" });
91159
91159
  }
91160
- function toColumnDef$c(value, { getLocaleText, $cel, inheritedContext }) {
91160
+ function toColumnDef$h(value, { getLocaleText, $cel, inheritedContext }) {
91161
91161
  return {
91162
91162
  header: getLocaleText(value.title),
91163
91163
  accessorFn: (row, index) => {
@@ -91178,24 +91178,24 @@ function toColumnDef$c(value, { getLocaleText, $cel, inheritedContext }) {
91178
91178
  }
91179
91179
  const __vite_glob_0_4$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
91180
91180
  __proto__: null,
91181
- compatibilityDate: compatibilityDate$m,
91182
- metadata: metadata$m,
91183
- schema: schema$m,
91184
- toColumnDef: toColumnDef$c,
91185
- type: type$m
91181
+ compatibilityDate: compatibilityDate$s,
91182
+ metadata: metadata$s,
91183
+ schema: schema$s,
91184
+ toColumnDef: toColumnDef$h,
91185
+ type: type$s
91186
91186
  }, Symbol.toStringTag, { value: "Module" }));
91187
91187
  const __vite_glob_2_5 = {};
91188
91188
  const _stubVue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
91189
91189
  __proto__: null,
91190
91190
  default: __vite_glob_2_5
91191
91191
  }, Symbol.toStringTag, { value: "Module" }));
91192
- const type$l = "com.shwfed.table.column.select";
91193
- const compatibilityDate$l = "2026-04-14";
91194
- const metadata$l = {
91192
+ const type$r = "com.shwfed.table.column.select";
91193
+ const compatibilityDate$r = "2026-04-14";
91194
+ const metadata$r = {
91195
91195
  name: "选择",
91196
91196
  icon: "fluent:checkbox-checked-20-regular"
91197
91197
  };
91198
- function schema$l(configure) {
91198
+ function schema$r(configure) {
91199
91199
  const CelRowSelectionPredicate = Expression({
91200
91200
  configure: (env) => {
91201
91201
  configure(env);
@@ -91204,8 +91204,8 @@ function schema$l(configure) {
91204
91204
  resultType: "bool"
91205
91205
  });
91206
91206
  return Struct({
91207
- type: Literal2(type$l),
91208
- compatibilityDate: Literal2(compatibilityDate$l),
91207
+ type: Literal2(type$r),
91208
+ compatibilityDate: Literal2(compatibilityDate$r),
91209
91209
  ...columnIdentityFields(),
91210
91210
  mode: optionalWith(Literal2("radio", "checkbox").annotations({
91211
91211
  title: "模式",
@@ -91225,7 +91225,7 @@ function schema$l(configure) {
91225
91225
  })
91226
91226
  }).annotations({ title: "SelectRenderer", description: "选择渲染器" });
91227
91227
  }
91228
- function toColumnDef$b(value) {
91228
+ function toColumnDef$g(value) {
91229
91229
  return {
91230
91230
  header: (ctx) => vueExports.h(__vite_glob_2_5, { column: value, ctx }),
91231
91231
  size: 40,
@@ -91236,24 +91236,24 @@ function toColumnDef$b(value) {
91236
91236
  }
91237
91237
  const __vite_glob_0_5$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
91238
91238
  __proto__: null,
91239
- compatibilityDate: compatibilityDate$l,
91240
- metadata: metadata$l,
91241
- schema: schema$l,
91242
- toColumnDef: toColumnDef$b,
91243
- type: type$l
91239
+ compatibilityDate: compatibilityDate$r,
91240
+ metadata: metadata$r,
91241
+ schema: schema$r,
91242
+ toColumnDef: toColumnDef$g,
91243
+ type: type$r
91244
91244
  }, Symbol.toStringTag, { value: "Module" }));
91245
- const type$k = "com.shwfed.table.column.text";
91246
- const compatibilityDate$k = "2026-04-14";
91247
- const metadata$k = {
91245
+ const type$q = "com.shwfed.table.column.text";
91246
+ const compatibilityDate$q = "2026-04-14";
91247
+ const metadata$q = {
91248
91248
  name: "文本",
91249
91249
  icon: "fluent:text-field-20-regular"
91250
91250
  };
91251
91251
  const isCopyExpressionType = (t) => t === "string" || t === "dyn" || t.startsWith("optional");
91252
- function schema$k(configure) {
91252
+ function schema$q(configure) {
91253
91253
  const cel = CelRowAccess(configure, { resultType: isCopyExpressionType });
91254
91254
  return Struct({
91255
- type: Literal2(type$k),
91256
- compatibilityDate: Literal2(compatibilityDate$k),
91255
+ type: Literal2(type$q),
91256
+ compatibilityDate: Literal2(compatibilityDate$q),
91257
91257
  ...columnFields(configure),
91258
91258
  align: optionalWith(Align.annotations({ title: "对齐" }), { default: () => "left" }),
91259
91259
  displayMode: optionalWith(
@@ -91269,7 +91269,7 @@ function schema$k(configure) {
91269
91269
  }))
91270
91270
  }).annotations({ title: "TextRenderer", description: "文本渲染器" });
91271
91271
  }
91272
- function toColumnDef$a(value, { getLocaleText, $cel, inheritedContext }) {
91272
+ function toColumnDef$f(value, { getLocaleText, $cel, inheritedContext }) {
91273
91273
  return {
91274
91274
  header: getLocaleText(value.title),
91275
91275
  accessorFn: (row, index) => {
@@ -91291,19 +91291,19 @@ function toColumnDef$a(value, { getLocaleText, $cel, inheritedContext }) {
91291
91291
  }
91292
91292
  const __vite_glob_0_6 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
91293
91293
  __proto__: null,
91294
- compatibilityDate: compatibilityDate$k,
91295
- metadata: metadata$k,
91296
- schema: schema$k,
91297
- toColumnDef: toColumnDef$a,
91298
- type: type$k
91294
+ compatibilityDate: compatibilityDate$q,
91295
+ metadata: metadata$q,
91296
+ schema: schema$q,
91297
+ toColumnDef: toColumnDef$f,
91298
+ type: type$q
91299
91299
  }, Symbol.toStringTag, { value: "Module" }));
91300
- const type$j = "com.shwfed.table.column.switch.remote";
91301
- const compatibilityDate$j = "2026-05-13";
91302
- const metadata$j = {
91300
+ const type$p = "com.shwfed.table.column.switch.remote";
91301
+ const compatibilityDate$p = "2026-05-13";
91302
+ const metadata$p = {
91303
91303
  name: "开关(远程)",
91304
91304
  icon: "fluent:toggle-left-20-regular"
91305
91305
  };
91306
- function schema$j(configure) {
91306
+ function schema$p(configure) {
91307
91307
  const CelBool = CelRowAccess(configure, { resultType: "bool" });
91308
91308
  const CelOnChange = Expression({
91309
91309
  configure: (env) => {
@@ -91321,8 +91321,8 @@ function schema$j(configure) {
91321
91321
  resultType: "string"
91322
91322
  });
91323
91323
  return Struct({
91324
- type: Literal2(type$j),
91325
- compatibilityDate: Literal2(compatibilityDate$j),
91324
+ type: Literal2(type$p),
91325
+ compatibilityDate: Literal2(compatibilityDate$p),
91326
91326
  ...columnFields(configure),
91327
91327
  align: optionalWith(Align.annotations({ title: "对齐" }), { default: () => "center" }),
91328
91328
  disabled: optional(CelBool.annotations({
@@ -91343,19 +91343,19 @@ function schema$j(configure) {
91343
91343
  }))
91344
91344
  }).annotations({ title: "SwitchRenderer", description: "开关渲染器(可编辑)" });
91345
91345
  }
91346
- const migrateFrom$1 = [
91347
- { type: "com.shwfed.table.column.switch", compatibilityDate: compatibilityDate$j }
91346
+ const migrateFrom$3 = [
91347
+ { type: "com.shwfed.table.column.switch", compatibilityDate: compatibilityDate$p }
91348
91348
  ];
91349
- const migrate$1 = (prev) => try_({
91349
+ const migrate$3 = (prev) => try_({
91350
91350
  try: () => {
91351
91351
  if (!prev || typeof prev !== "object") {
91352
91352
  throw new Error("开关(远程)迁移失败:原值不是对象");
91353
91353
  }
91354
- return { ...prev, type: type$j, compatibilityDate: compatibilityDate$j };
91354
+ return { ...prev, type: type$p, compatibilityDate: compatibilityDate$p };
91355
91355
  },
91356
91356
  catch: (e) => e instanceof Error ? e : new Error(String(e))
91357
91357
  });
91358
- function toColumnDef$9(value, { getLocaleText, $cel, inheritedContext }) {
91358
+ function toColumnDef$e(value, { getLocaleText, $cel, inheritedContext }) {
91359
91359
  return {
91360
91360
  header: getLocaleText(value.title),
91361
91361
  accessorFn: (row, index) => {
@@ -91377,21 +91377,21 @@ function toColumnDef$9(value, { getLocaleText, $cel, inheritedContext }) {
91377
91377
  }
91378
91378
  const __vite_glob_0_7 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
91379
91379
  __proto__: null,
91380
- compatibilityDate: compatibilityDate$j,
91381
- metadata: metadata$j,
91382
- migrate: migrate$1,
91383
- migrateFrom: migrateFrom$1,
91384
- schema: schema$j,
91385
- toColumnDef: toColumnDef$9,
91386
- type: type$j
91380
+ compatibilityDate: compatibilityDate$p,
91381
+ metadata: metadata$p,
91382
+ migrate: migrate$3,
91383
+ migrateFrom: migrateFrom$3,
91384
+ schema: schema$p,
91385
+ toColumnDef: toColumnDef$e,
91386
+ type: type$p
91387
91387
  }, Symbol.toStringTag, { value: "Module" }));
91388
- const type$i = "com.shwfed.table.column.switch";
91389
- const compatibilityDate$i = "2026-05-13";
91390
- const metadata$i = {
91388
+ const type$o = "com.shwfed.table.column.switch";
91389
+ const compatibilityDate$o = "2026-05-13";
91390
+ const metadata$o = {
91391
91391
  name: "开关(远程)",
91392
91392
  icon: "fluent:toggle-left-20-regular"
91393
91393
  };
91394
- function schema$i(configure) {
91394
+ function schema$o(configure) {
91395
91395
  const CelBool = CelRowAccess(configure, { resultType: "bool" });
91396
91396
  const CelOnChange = Expression({
91397
91397
  configure: (env) => {
@@ -91409,8 +91409,8 @@ function schema$i(configure) {
91409
91409
  resultType: "string"
91410
91410
  });
91411
91411
  return Struct({
91412
- type: Literal2(type$i),
91413
- compatibilityDate: Literal2(compatibilityDate$i),
91412
+ type: Literal2(type$o),
91413
+ compatibilityDate: Literal2(compatibilityDate$o),
91414
91414
  ...columnFields(configure),
91415
91415
  align: optionalWith(Align.annotations({ title: "对齐" }), { default: () => "center" }),
91416
91416
  disabled: optional(CelBool.annotations({
@@ -91431,7 +91431,7 @@ function schema$i(configure) {
91431
91431
  }))
91432
91432
  }).annotations({ title: "SwitchRenderer", description: "开关渲染器(可编辑)" });
91433
91433
  }
91434
- function toColumnDef$8(value, { getLocaleText, $cel, inheritedContext }) {
91434
+ function toColumnDef$d(value, { getLocaleText, $cel, inheritedContext }) {
91435
91435
  return {
91436
91436
  header: getLocaleText(value.title),
91437
91437
  accessorFn: (row, index) => {
@@ -91453,11 +91453,11 @@ function toColumnDef$8(value, { getLocaleText, $cel, inheritedContext }) {
91453
91453
  }
91454
91454
  const __vite_glob_0_8 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
91455
91455
  __proto__: null,
91456
- compatibilityDate: compatibilityDate$i,
91457
- metadata: metadata$i,
91458
- schema: schema$i,
91459
- toColumnDef: toColumnDef$8,
91460
- type: type$i
91456
+ compatibilityDate: compatibilityDate$o,
91457
+ metadata: metadata$o,
91458
+ schema: schema$o,
91459
+ toColumnDef: toColumnDef$d,
91460
+ type: type$o
91461
91461
  }, Symbol.toStringTag, { value: "Module" }));
91462
91462
  const isObject$1 = (value) => {
91463
91463
  const type2 = typeof value;
@@ -91656,13 +91656,13 @@ function getProperty(object2, path, value) {
91656
91656
  }
91657
91657
  return object2 === void 0 ? value : object2;
91658
91658
  }
91659
- const type$h = "com.shwfed.table.column.combobox-single";
91660
- const compatibilityDate$h = "2026-05-20";
91661
- const metadata$h = {
91659
+ const type$n = "com.shwfed.table.column.combobox-single";
91660
+ const compatibilityDate$n = "2026-05-20";
91661
+ const metadata$n = {
91662
91662
  name: "下拉单选",
91663
91663
  icon: "fluent:chevron-down-20-regular"
91664
91664
  };
91665
- function itemSchema$1(configure) {
91665
+ function itemSchema$5(configure) {
91666
91666
  const LocaleMd = LocaleMarkdownWithRow(configure);
91667
91667
  const TextValue = Struct({
91668
91668
  kind: Literal2("text"),
@@ -91691,12 +91691,12 @@ function itemSchema$1(configure) {
91691
91691
  title: "ComboboxSingleItem"
91692
91692
  });
91693
91693
  }
91694
- function schema$h(configure) {
91694
+ function schema$n(configure) {
91695
91695
  const CelBool = CelRowAccess(configure, { resultType: "bool" });
91696
- const Item = itemSchema$1(configure);
91696
+ const Item = itemSchema$5(configure);
91697
91697
  return Struct({
91698
- type: Literal2(type$h),
91699
- compatibilityDate: Literal2(compatibilityDate$h),
91698
+ type: Literal2(type$n),
91699
+ compatibilityDate: Literal2(compatibilityDate$n),
91700
91700
  ...editableColumnFields(),
91701
91701
  placeholder: optional(Locale.annotations({
91702
91702
  title: "占位符",
@@ -91721,7 +91721,7 @@ function schema$h(configure) {
91721
91721
  }), { default: () => [] })
91722
91722
  }).annotations({ title: "ComboboxSingleRenderer", description: "下拉单选渲染器(可编辑)" });
91723
91723
  }
91724
- function toColumnDef$7(value, { getLocaleText }) {
91724
+ function toColumnDef$c(value, { getLocaleText }) {
91725
91725
  return {
91726
91726
  header: editableHeader(getLocaleText(value.title)),
91727
91727
  // `binding` is a dot-prop path (validated non-empty); the cell renderer
@@ -91744,25 +91744,25 @@ function toColumnDef$7(value, { getLocaleText }) {
91744
91744
  }
91745
91745
  const __vite_glob_0_9 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
91746
91746
  __proto__: null,
91747
- compatibilityDate: compatibilityDate$h,
91748
- itemSchema: itemSchema$1,
91749
- metadata: metadata$h,
91750
- schema: schema$h,
91751
- toColumnDef: toColumnDef$7,
91752
- type: type$h
91747
+ compatibilityDate: compatibilityDate$n,
91748
+ itemSchema: itemSchema$5,
91749
+ metadata: metadata$n,
91750
+ schema: schema$n,
91751
+ toColumnDef: toColumnDef$c,
91752
+ type: type$n
91753
91753
  }, Symbol.toStringTag, { value: "Module" }));
91754
- const type$g = "com.shwfed.table.column.number-input";
91755
- const compatibilityDate$g = "2026-05-20";
91756
- const metadata$g = {
91754
+ const type$m = "com.shwfed.table.column.number-input";
91755
+ const compatibilityDate$m = "2026-05-20";
91756
+ const metadata$m = {
91757
91757
  name: "数值输入",
91758
91758
  icon: "fluent:number-symbol-20-regular"
91759
91759
  };
91760
- function schema$g(configure) {
91760
+ function schema$m(configure) {
91761
91761
  const CelBool = CelRowAccess(configure, { resultType: "bool" });
91762
91762
  const CelNumber = CelRowAccess(configure, { resultType: "number" });
91763
91763
  return Struct({
91764
- type: Literal2(type$g),
91765
- compatibilityDate: Literal2(compatibilityDate$g),
91764
+ type: Literal2(type$m),
91765
+ compatibilityDate: Literal2(compatibilityDate$m),
91766
91766
  ...editableColumnFields(),
91767
91767
  placeholder: optional(Locale.annotations({
91768
91768
  title: "占位符",
@@ -91807,7 +91807,7 @@ function schema$g(configure) {
91807
91807
  derived: derivedRowField(configure, "number")
91808
91808
  }).annotations({ title: "NumberInputRenderer", description: "数值输入渲染器(可编辑)" });
91809
91809
  }
91810
- function toColumnDef$6(value, { getLocaleText }) {
91810
+ function toColumnDef$b(value, { getLocaleText }) {
91811
91811
  return {
91812
91812
  header: editableHeader(getLocaleText(value.title)),
91813
91813
  // `binding` is a dot-prop path (validated non-empty); the cell renderer
@@ -91830,23 +91830,23 @@ function toColumnDef$6(value, { getLocaleText }) {
91830
91830
  }
91831
91831
  const __vite_glob_0_10 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
91832
91832
  __proto__: null,
91833
- compatibilityDate: compatibilityDate$g,
91834
- metadata: metadata$g,
91835
- schema: schema$g,
91836
- toColumnDef: toColumnDef$6,
91837
- type: type$g
91833
+ compatibilityDate: compatibilityDate$m,
91834
+ metadata: metadata$m,
91835
+ schema: schema$m,
91836
+ toColumnDef: toColumnDef$b,
91837
+ type: type$m
91838
91838
  }, Symbol.toStringTag, { value: "Module" }));
91839
- const type$f = "com.shwfed.table.column.switch.local";
91840
- const compatibilityDate$f = "2026-05-20";
91841
- const metadata$f = {
91839
+ const type$l = "com.shwfed.table.column.switch.local";
91840
+ const compatibilityDate$l = "2026-05-20";
91841
+ const metadata$l = {
91842
91842
  name: "开关",
91843
91843
  icon: "fluent:toggle-left-20-regular"
91844
91844
  };
91845
- function schema$f(configure) {
91845
+ function schema$l(configure) {
91846
91846
  const CelBool = CelRowAccess(configure, { resultType: "bool" });
91847
91847
  return Struct({
91848
- type: Literal2(type$f),
91849
- compatibilityDate: Literal2(compatibilityDate$f),
91848
+ type: Literal2(type$l),
91849
+ compatibilityDate: Literal2(compatibilityDate$l),
91850
91850
  ...editableColumnFields(),
91851
91851
  hidden: optional(CelBool.annotations({
91852
91852
  title: "隐藏条件",
@@ -91871,19 +91871,19 @@ function schema$f(configure) {
91871
91871
  derived: derivedRowField(configure, "bool")
91872
91872
  }).annotations({ title: "SwitchRenderer", description: "开关渲染器(可编辑、本地)" });
91873
91873
  }
91874
- const migrateFrom = [
91875
- { type: "com.shwfed.table.column.switch", compatibilityDate: compatibilityDate$f }
91874
+ const migrateFrom$2 = [
91875
+ { type: "com.shwfed.table.column.switch", compatibilityDate: compatibilityDate$l }
91876
91876
  ];
91877
- const migrate = (prev) => try_({
91877
+ const migrate$2 = (prev) => try_({
91878
91878
  try: () => {
91879
91879
  if (!prev || typeof prev !== "object") {
91880
91880
  throw new Error("开关(本地)迁移失败:原值不是对象");
91881
91881
  }
91882
- return { ...prev, type: type$f, compatibilityDate: compatibilityDate$f };
91882
+ return { ...prev, type: type$l, compatibilityDate: compatibilityDate$l };
91883
91883
  },
91884
91884
  catch: (e) => e instanceof Error ? e : new Error(String(e))
91885
91885
  });
91886
- function toColumnDef$5(value, { getLocaleText }) {
91886
+ function toColumnDef$a(value, { getLocaleText }) {
91887
91887
  return {
91888
91888
  header: editableHeader(getLocaleText(value.title)),
91889
91889
  // `binding` is a dot-prop path (validated non-empty); the cell renderer
@@ -91905,25 +91905,25 @@ function toColumnDef$5(value, { getLocaleText }) {
91905
91905
  }
91906
91906
  const __vite_glob_0_11 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
91907
91907
  __proto__: null,
91908
- compatibilityDate: compatibilityDate$f,
91909
- metadata: metadata$f,
91910
- migrate,
91911
- migrateFrom,
91912
- schema: schema$f,
91913
- toColumnDef: toColumnDef$5,
91914
- type: type$f
91908
+ compatibilityDate: compatibilityDate$l,
91909
+ metadata: metadata$l,
91910
+ migrate: migrate$2,
91911
+ migrateFrom: migrateFrom$2,
91912
+ schema: schema$l,
91913
+ toColumnDef: toColumnDef$a,
91914
+ type: type$l
91915
91915
  }, Symbol.toStringTag, { value: "Module" }));
91916
- const type$e = "com.shwfed.table.column.switch";
91917
- const compatibilityDate$e = "2026-05-20";
91918
- const metadata$e = {
91916
+ const type$k = "com.shwfed.table.column.switch";
91917
+ const compatibilityDate$k = "2026-05-20";
91918
+ const metadata$k = {
91919
91919
  name: "开关",
91920
91920
  icon: "fluent:toggle-left-20-regular"
91921
91921
  };
91922
- function schema$e(configure) {
91922
+ function schema$k(configure) {
91923
91923
  const CelBool = CelRowAccess(configure, { resultType: "bool" });
91924
91924
  return Struct({
91925
- type: Literal2(type$e),
91926
- compatibilityDate: Literal2(compatibilityDate$e),
91925
+ type: Literal2(type$k),
91926
+ compatibilityDate: Literal2(compatibilityDate$k),
91927
91927
  ...editableColumnFields(),
91928
91928
  hidden: optional(CelBool.annotations({
91929
91929
  title: "隐藏条件",
@@ -91948,7 +91948,7 @@ function schema$e(configure) {
91948
91948
  derived: derivedRowField(configure, "bool")
91949
91949
  }).annotations({ title: "SwitchRenderer", description: "开关渲染器(可编辑、本地)" });
91950
91950
  }
91951
- function toColumnDef$4(value, { getLocaleText }) {
91951
+ function toColumnDef$9(value, { getLocaleText }) {
91952
91952
  return {
91953
91953
  header: editableHeader(getLocaleText(value.title)),
91954
91954
  // `binding` is a dot-prop path (validated non-empty); the cell renderer
@@ -91970,23 +91970,23 @@ function toColumnDef$4(value, { getLocaleText }) {
91970
91970
  }
91971
91971
  const __vite_glob_0_12 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
91972
91972
  __proto__: null,
91973
- compatibilityDate: compatibilityDate$e,
91974
- metadata: metadata$e,
91975
- schema: schema$e,
91976
- toColumnDef: toColumnDef$4,
91977
- type: type$e
91973
+ compatibilityDate: compatibilityDate$k,
91974
+ metadata: metadata$k,
91975
+ schema: schema$k,
91976
+ toColumnDef: toColumnDef$9,
91977
+ type: type$k
91978
91978
  }, Symbol.toStringTag, { value: "Module" }));
91979
- const type$d = "com.shwfed.table.column.text-input";
91980
- const compatibilityDate$d = "2026-05-20";
91981
- const metadata$d = {
91979
+ const type$j = "com.shwfed.table.column.text-input";
91980
+ const compatibilityDate$j = "2026-05-20";
91981
+ const metadata$j = {
91982
91982
  name: "文本输入",
91983
91983
  icon: "fluent:text-field-20-regular"
91984
91984
  };
91985
- function schema$d(configure) {
91985
+ function schema$j(configure) {
91986
91986
  const CelBool = CelRowAccess(configure, { resultType: "bool" });
91987
91987
  return Struct({
91988
- type: Literal2(type$d),
91989
- compatibilityDate: Literal2(compatibilityDate$d),
91988
+ type: Literal2(type$j),
91989
+ compatibilityDate: Literal2(compatibilityDate$j),
91990
91990
  ...editableColumnFields(),
91991
91991
  placeholder: optional(Locale.annotations({
91992
91992
  title: "占位符",
@@ -92007,7 +92007,7 @@ function schema$d(configure) {
92007
92007
  derived: derivedRowField(configure, "string")
92008
92008
  }).annotations({ title: "TextInputRenderer", description: "文本输入渲染器(可编辑)" });
92009
92009
  }
92010
- function toColumnDef$3(value, { getLocaleText }) {
92010
+ function toColumnDef$8(value, { getLocaleText }) {
92011
92011
  return {
92012
92012
  header: editableHeader(getLocaleText(value.title)),
92013
92013
  // `binding` is a dot-prop path (validated non-empty); the cell renderer
@@ -92027,26 +92027,26 @@ function toColumnDef$3(value, { getLocaleText }) {
92027
92027
  }
92028
92028
  const __vite_glob_0_13 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
92029
92029
  __proto__: null,
92030
- compatibilityDate: compatibilityDate$d,
92031
- metadata: metadata$d,
92032
- schema: schema$d,
92033
- toColumnDef: toColumnDef$3,
92034
- type: type$d
92030
+ compatibilityDate: compatibilityDate$j,
92031
+ metadata: metadata$j,
92032
+ schema: schema$j,
92033
+ toColumnDef: toColumnDef$8,
92034
+ type: type$j
92035
92035
  }, Symbol.toStringTag, { value: "Module" }));
92036
- const type$c = "com.shwfed.table.column.drag-handle";
92037
- const compatibilityDate$c = "2026-05-21";
92038
- const metadata$c = {
92036
+ const type$i = "com.shwfed.table.column.drag-handle";
92037
+ const compatibilityDate$i = "2026-05-21";
92038
+ const metadata$i = {
92039
92039
  name: "拖拽",
92040
92040
  icon: "fluent:re-order-dots-vertical-20-regular"
92041
92041
  };
92042
- function schema$c(_configure) {
92042
+ function schema$i(_configure) {
92043
92043
  return Struct({
92044
- type: Literal2(type$c),
92045
- compatibilityDate: Literal2(compatibilityDate$c),
92044
+ type: Literal2(type$i),
92045
+ compatibilityDate: Literal2(compatibilityDate$i),
92046
92046
  ...columnIdentityFields()
92047
92047
  }).annotations({ title: "DragHandleRenderer", description: "行拖拽手柄列" });
92048
92048
  }
92049
- function toColumnDef$2(_value) {
92049
+ function toColumnDef$7(_value) {
92050
92050
  return {
92051
92051
  header: () => vueExports.h(Icon, {
92052
92052
  "icon": "fluent:re-order-dots-vertical-20-regular",
@@ -92062,30 +92062,30 @@ function toColumnDef$2(_value) {
92062
92062
  }
92063
92063
  const __vite_glob_0_14 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
92064
92064
  __proto__: null,
92065
- compatibilityDate: compatibilityDate$c,
92066
- metadata: metadata$c,
92067
- schema: schema$c,
92068
- toColumnDef: toColumnDef$2,
92069
- type: type$c
92065
+ compatibilityDate: compatibilityDate$i,
92066
+ metadata: metadata$i,
92067
+ schema: schema$i,
92068
+ toColumnDef: toColumnDef$7,
92069
+ type: type$i
92070
92070
  }, Symbol.toStringTag, { value: "Module" }));
92071
- const type$b = "com.shwfed.table.column.combobox-single.remote.options-remote";
92072
- const compatibilityDate$b = "2026-05-24";
92073
- const metadata$b = {
92071
+ const type$h = "com.shwfed.table.column.combobox-single.remote.options-remote";
92072
+ const compatibilityDate$h = "2026-05-24";
92073
+ const metadata$h = {
92074
92074
  name: "远程下拉单选",
92075
92075
  icon: "fluent:cloud-arrow-down-20-regular"
92076
92076
  };
92077
- const OPTION_VAR = {
92077
+ const OPTION_VAR$1 = {
92078
92078
  type: "dyn",
92079
92079
  label: "当前选项",
92080
92080
  description: "`选项` 表达式产出的数组中迭代到的单个元素"
92081
92081
  };
92082
- const JSON_VAR = {
92082
+ const JSON_VAR$1 = {
92083
92083
  type: "dyn",
92084
92084
  label: "HTTP 响应体",
92085
92085
  description: "HTTP 响应体(已解析 JSON);请求失败或尚未完成时为 `null`"
92086
92086
  };
92087
- const isListType$1 = (actual) => actual === "dyn" || actual.startsWith("list");
92088
- function schema$b(configure) {
92087
+ const isListType$5 = (actual) => actual === "dyn" || actual.startsWith("list");
92088
+ function schema$h(configure) {
92089
92089
  const CelBool = CelRowAccess(configure, { resultType: "bool" });
92090
92090
  const CelRequest = Expression({
92091
92091
  configure: (env) => {
@@ -92098,15 +92098,15 @@ function schema$b(configure) {
92098
92098
  configure: (env) => {
92099
92099
  configure(env);
92100
92100
  registerRowVariablesIfAbsent(env);
92101
- env.registerVariable("json", JSON_VAR.type, { description: JSON_VAR.description });
92101
+ env.registerVariable("json", JSON_VAR$1.type, { description: JSON_VAR$1.description });
92102
92102
  },
92103
- resultType: isListType$1
92103
+ resultType: isListType$5
92104
92104
  });
92105
92105
  const CelOptionValue = Expression({
92106
92106
  configure: (env) => {
92107
92107
  configure(env);
92108
92108
  registerRowVariablesIfAbsent(env);
92109
- env.registerVariable("option", OPTION_VAR.type, { description: OPTION_VAR.description });
92109
+ env.registerVariable("option", OPTION_VAR$1.type, { description: OPTION_VAR$1.description });
92110
92110
  },
92111
92111
  resultType: "dyn"
92112
92112
  });
@@ -92114,7 +92114,7 @@ function schema$b(configure) {
92114
92114
  configure: (env) => {
92115
92115
  configure(env);
92116
92116
  registerRowVariablesIfAbsent(env);
92117
- env.registerVariable("option", OPTION_VAR.type, { description: OPTION_VAR.description });
92117
+ env.registerVariable("option", OPTION_VAR$1.type, { description: OPTION_VAR$1.description });
92118
92118
  }
92119
92119
  });
92120
92120
  const CelOnChange = Expression({
@@ -92133,8 +92133,8 @@ function schema$b(configure) {
92133
92133
  resultType: "string"
92134
92134
  });
92135
92135
  return Struct({
92136
- type: Literal2(type$b),
92137
- compatibilityDate: Literal2(compatibilityDate$b),
92136
+ type: Literal2(type$h),
92137
+ compatibilityDate: Literal2(compatibilityDate$h),
92138
92138
  ...columnFields(configure),
92139
92139
  placeholder: optional(Locale.annotations({
92140
92140
  title: "占位符",
@@ -92185,7 +92185,7 @@ function schema$b(configure) {
92185
92185
  description: "下拉单选渲染器(远程写入·远程选项)"
92186
92186
  });
92187
92187
  }
92188
- function toColumnDef$1(value, { getLocaleText, $cel, inheritedContext }) {
92188
+ function toColumnDef$6(value, { getLocaleText, $cel, inheritedContext }) {
92189
92189
  return {
92190
92190
  header: editableHeader(getLocaleText(value.title)),
92191
92191
  accessorFn: (row, index) => {
@@ -92206,22 +92206,509 @@ function toColumnDef$1(value, { getLocaleText, $cel, inheritedContext }) {
92206
92206
  };
92207
92207
  }
92208
92208
  const __vite_glob_0_15 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
92209
+ __proto__: null,
92210
+ JSON_VAR: JSON_VAR$1,
92211
+ OPTION_VAR: OPTION_VAR$1,
92212
+ compatibilityDate: compatibilityDate$h,
92213
+ metadata: metadata$h,
92214
+ schema: schema$h,
92215
+ toColumnDef: toColumnDef$6,
92216
+ type: type$h
92217
+ }, Symbol.toStringTag, { value: "Module" }));
92218
+ const type$g = "com.shwfed.table.column.combobox-single.remote.options-static";
92219
+ const compatibilityDate$g = "2026-05-24";
92220
+ const metadata$g = {
92221
+ name: "下拉单选",
92222
+ icon: "fluent:chevron-down-20-regular"
92223
+ };
92224
+ function itemSchema$4(configure) {
92225
+ const LocaleMd = LocaleMarkdownWithRow(configure);
92226
+ const TextValue = Struct({
92227
+ kind: Literal2("text"),
92228
+ value: String$
92229
+ });
92230
+ const NumberValue = Struct({
92231
+ kind: Literal2("number"),
92232
+ value: Number$
92233
+ });
92234
+ const ItemValue = Union2(TextValue, NumberValue).annotations({
92235
+ title: "值",
92236
+ description: "选项绑定的值,可以是文本或数字"
92237
+ });
92238
+ return Struct({
92239
+ id: UUID.annotations({ description: "选项唯一标识,用于稳定的 v-for key" }),
92240
+ label: LocaleMd.annotations({
92241
+ title: "标签",
92242
+ description: "选项展示的本地化文本,支持 Markdown 与 `{{ row.foo }}` / `{{ form.bar }}` 插值"
92243
+ }),
92244
+ value: ItemValue,
92245
+ tooltip: optional(LocaleMd.annotations({
92246
+ title: "提示",
92247
+ description: "鼠标悬停在选项上时展示的本地化提示,支持 Markdown"
92248
+ }))
92249
+ }).annotations({
92250
+ title: "ComboboxSingleRemoteOptionsStaticItem"
92251
+ });
92252
+ }
92253
+ function schema$g(configure) {
92254
+ const CelBool = CelRowAccess(configure, { resultType: "bool" });
92255
+ const Item = itemSchema$4(configure);
92256
+ const CelOnChange = Expression({
92257
+ configure: (env) => {
92258
+ configure(env);
92259
+ registerRowVariablesIfAbsent(env);
92260
+ env.registerVariable("value", "dyn", { description: "用户选中的新值(与所选项的 `value` 一致;清空时为 `null`)" });
92261
+ },
92262
+ resultType: "HttpRequest"
92263
+ });
92264
+ const CelMessage = Expression({
92265
+ configure: (env) => {
92266
+ configure(env);
92267
+ env.registerVariable("json", "dyn", { description: "HTTP 响应体(已解析 JSON)" });
92268
+ },
92269
+ resultType: "string"
92270
+ });
92271
+ return Struct({
92272
+ type: Literal2(type$g),
92273
+ compatibilityDate: Literal2(compatibilityDate$g),
92274
+ ...columnFields(configure),
92275
+ placeholder: optional(Locale.annotations({
92276
+ title: "占位符",
92277
+ description: "未选中任何选项时输入框中的占位文本"
92278
+ })),
92279
+ hidden: optional(CelBool.annotations({
92280
+ title: "隐藏条件",
92281
+ description: "返回 `true` 时该行的下拉框不渲染(其余行不受影响)"
92282
+ })),
92283
+ disabled: optional(CelBool.annotations({
92284
+ title: "禁用条件",
92285
+ description: "返回 `true` 时下拉框仍然渲染但不可选择"
92286
+ })),
92287
+ readonly: optional(CelBool.annotations({
92288
+ title: "只读条件",
92289
+ description: "返回 `true` 时仅以纯文本展示当前选项的标签"
92290
+ })),
92291
+ items: optionalWith(Array$(Item).annotations({
92292
+ title: "选项",
92293
+ description: "下拉框可选项列表"
92294
+ }), { default: () => [] }),
92295
+ onChange: optional(CelOnChange.annotations({
92296
+ title: "切换请求",
92297
+ description: "用户选择后立即求值并发起的 HTTP 请求;`value` 为新值。未配置时下拉框只读"
92298
+ })),
92299
+ successMessage: optional(CelMessage.annotations({
92300
+ title: "成功消息",
92301
+ description: "请求成功后弹出的 toast 内容;未配置则静默"
92302
+ })),
92303
+ triggers: optional(Triggers.annotations({
92304
+ title: "成功后触发",
92305
+ description: "请求成功后按列表顺序冒泡的操作请求;未配置则什么都不做"
92306
+ }))
92307
+ }).annotations({
92308
+ title: "ComboboxSingleRemoteOptionsStaticRenderer",
92309
+ description: "下拉单选渲染器(远程写入·静态选项)"
92310
+ });
92311
+ }
92312
+ function toColumnDef$5(value, { getLocaleText, $cel, inheritedContext }) {
92313
+ return {
92314
+ header: editableHeader(getLocaleText(value.title)),
92315
+ accessorFn: (row, index) => {
92316
+ try {
92317
+ return runSync($cel(value.accessor, { ...inheritedContext, row, index }));
92318
+ } catch (e) {
92319
+ console.error("[shwfed-table] combobox-single.remote.options-static accessor failed", e);
92320
+ return void 0;
92321
+ }
92322
+ },
92323
+ enableSorting: value.enableSorting ?? false,
92324
+ sortingFn: "basic",
92325
+ size: value.size,
92326
+ meta: {
92327
+ grow: value.grow ?? false,
92328
+ tooltip: getLocaleText(value.tooltip)
92329
+ }
92330
+ };
92331
+ }
92332
+ const __vite_glob_0_16 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
92333
+ __proto__: null,
92334
+ compatibilityDate: compatibilityDate$g,
92335
+ itemSchema: itemSchema$4,
92336
+ metadata: metadata$g,
92337
+ schema: schema$g,
92338
+ toColumnDef: toColumnDef$5,
92339
+ type: type$g
92340
+ }, Symbol.toStringTag, { value: "Module" }));
92341
+ const type$f = "com.shwfed.table.column.combobox-multi.remote.options-remote";
92342
+ const compatibilityDate$f = "2026-05-25";
92343
+ const metadata$f = {
92344
+ name: "远程下拉多选",
92345
+ icon: "fluent:cloud-arrow-down-20-regular"
92346
+ };
92347
+ const OPTION_VAR = {
92348
+ type: "dyn",
92349
+ label: "当前选项",
92350
+ description: "`选项` 表达式产出的数组中迭代到的单个元素"
92351
+ };
92352
+ const JSON_VAR = {
92353
+ type: "dyn",
92354
+ label: "HTTP 响应体",
92355
+ description: "HTTP 响应体(已解析 JSON);请求失败或尚未完成时为 `null`"
92356
+ };
92357
+ const isListType$4 = (actual) => actual === "dyn" || actual.startsWith("list");
92358
+ function schema$f(configure) {
92359
+ const CelBool = CelRowAccess(configure, { resultType: "bool" });
92360
+ const CelRequest = Expression({
92361
+ configure: (env) => {
92362
+ configure(env);
92363
+ registerRowVariablesIfAbsent(env);
92364
+ },
92365
+ resultType: "HttpRequest"
92366
+ });
92367
+ const CelOptions = Expression({
92368
+ configure: (env) => {
92369
+ configure(env);
92370
+ registerRowVariablesIfAbsent(env);
92371
+ env.registerVariable("json", JSON_VAR.type, { description: JSON_VAR.description });
92372
+ },
92373
+ resultType: isListType$4
92374
+ });
92375
+ const CelOptionValue = Expression({
92376
+ configure: (env) => {
92377
+ configure(env);
92378
+ registerRowVariablesIfAbsent(env);
92379
+ env.registerVariable("option", OPTION_VAR.type, { description: OPTION_VAR.description });
92380
+ },
92381
+ resultType: "dyn"
92382
+ });
92383
+ const LocaleOptionLabel = LocaleMarkdown({
92384
+ configure: (env) => {
92385
+ configure(env);
92386
+ registerRowVariablesIfAbsent(env);
92387
+ env.registerVariable("option", OPTION_VAR.type, { description: OPTION_VAR.description });
92388
+ }
92389
+ });
92390
+ const CelOnChange = Expression({
92391
+ configure: (env) => {
92392
+ configure(env);
92393
+ registerRowVariablesIfAbsent(env);
92394
+ env.registerVariable("value", "dyn", { description: "用户当前选中项 `value` 组成的数组;清空时为空数组 `[]`" });
92395
+ },
92396
+ resultType: "HttpRequest"
92397
+ });
92398
+ const CelMessage = Expression({
92399
+ configure: (env) => {
92400
+ configure(env);
92401
+ env.registerVariable("json", "dyn", { description: "HTTP 响应体(已解析 JSON)" });
92402
+ },
92403
+ resultType: "string"
92404
+ });
92405
+ return Struct({
92406
+ type: Literal2(type$f),
92407
+ compatibilityDate: Literal2(compatibilityDate$f),
92408
+ ...columnFields(configure),
92409
+ placeholder: optional(Locale.annotations({
92410
+ title: "占位符",
92411
+ description: "未选中任何选项时输入框中的占位文本"
92412
+ })),
92413
+ hidden: optional(CelBool.annotations({
92414
+ title: "隐藏条件",
92415
+ description: "返回 `true` 时该行的下拉框不渲染(其余行不受影响)"
92416
+ })),
92417
+ disabled: optional(CelBool.annotations({
92418
+ title: "禁用条件",
92419
+ description: "返回 `true` 时下拉框仍然渲染但不可选择"
92420
+ })),
92421
+ readonly: optional(CelBool.annotations({
92422
+ title: "只读条件",
92423
+ description: "返回 `true` 时仅以纯文本展示当前已选项的标签"
92424
+ })),
92425
+ request: CelRequest.annotations({
92426
+ title: "请求",
92427
+ description: "返回 `HttpRequest` 的 CEL 表达式;可访问 `row` 与 `index`。相同签名的请求会在该表格内自动去重"
92428
+ }),
92429
+ options: CelOptions.annotations({
92430
+ title: "选项",
92431
+ description: "从 HTTP 响应体提取选项数组的 CEL 表达式;可访问 `row`、`index` 与 `json`。例:`json.data`"
92432
+ }),
92433
+ optionValue: optionalWith(CelOptionValue.annotations({
92434
+ title: "选项值",
92435
+ description: "从当前 `option` 提取写入值的 CEL;例:`option.value`"
92436
+ }), { default: () => "option" }),
92437
+ optionLabel: optionalWith(LocaleOptionLabel.annotations({
92438
+ title: "选项标签",
92439
+ description: "每个选项展示的本地化文本,支持 `{{ string(option.foo) }}` 插值"
92440
+ }), { default: () => [{ locale: "zh", message: "" }] }),
92441
+ onChange: optional(CelOnChange.annotations({
92442
+ title: "切换请求",
92443
+ description: "用户选择后立即求值并发起的 HTTP 请求;`value` 为新数组。未配置时下拉框只读"
92444
+ })),
92445
+ successMessage: optional(CelMessage.annotations({
92446
+ title: "成功消息",
92447
+ description: "请求成功后弹出的 toast 内容;未配置则静默"
92448
+ })),
92449
+ triggers: optional(Triggers.annotations({
92450
+ title: "成功后触发",
92451
+ description: "请求成功后按列表顺序冒泡的操作请求;未配置则什么都不做"
92452
+ }))
92453
+ }).annotations({
92454
+ title: "ComboboxMultiRemoteOptionsRemoteRenderer",
92455
+ description: "下拉多选渲染器(远程写入·远程选项)"
92456
+ });
92457
+ }
92458
+ function toColumnDef$4(value, { getLocaleText, $cel, inheritedContext }) {
92459
+ return {
92460
+ header: editableHeader(getLocaleText(value.title)),
92461
+ accessorFn: (row, index) => {
92462
+ try {
92463
+ return runSync($cel(value.accessor, { ...inheritedContext, row, index }));
92464
+ } catch (e) {
92465
+ console.error("[shwfed-table] combobox-multi.remote.options-remote accessor failed", e);
92466
+ return void 0;
92467
+ }
92468
+ },
92469
+ enableSorting: value.enableSorting ?? false,
92470
+ sortingFn: "basic",
92471
+ size: value.size,
92472
+ meta: {
92473
+ grow: value.grow ?? false,
92474
+ tooltip: getLocaleText(value.tooltip)
92475
+ }
92476
+ };
92477
+ }
92478
+ const __vite_glob_0_17 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
92209
92479
  __proto__: null,
92210
92480
  JSON_VAR,
92211
92481
  OPTION_VAR,
92212
- compatibilityDate: compatibilityDate$b,
92213
- metadata: metadata$b,
92214
- schema: schema$b,
92215
- toColumnDef: toColumnDef$1,
92216
- type: type$b
92482
+ compatibilityDate: compatibilityDate$f,
92483
+ metadata: metadata$f,
92484
+ schema: schema$f,
92485
+ toColumnDef: toColumnDef$4,
92486
+ type: type$f
92217
92487
  }, Symbol.toStringTag, { value: "Module" }));
92218
- const type$a = "com.shwfed.table.column.combobox-single.remote.options-static";
92219
- const compatibilityDate$a = "2026-05-24";
92220
- const metadata$a = {
92221
- name: "下拉单选",
92488
+ const type$e = "com.shwfed.table.column.combobox-multi.remote.options-static";
92489
+ const compatibilityDate$e = "2026-05-25";
92490
+ const metadata$e = {
92491
+ name: "下拉多选",
92222
92492
  icon: "fluent:chevron-down-20-regular"
92223
92493
  };
92224
- function itemSchema(configure) {
92494
+ function itemSchema$3(configure) {
92495
+ const LocaleMd = LocaleMarkdownWithRow(configure);
92496
+ const TextValue = Struct({
92497
+ kind: Literal2("text"),
92498
+ value: String$
92499
+ });
92500
+ const NumberValue = Struct({
92501
+ kind: Literal2("number"),
92502
+ value: Number$
92503
+ });
92504
+ const ItemValue = Union2(TextValue, NumberValue).annotations({
92505
+ title: "值",
92506
+ description: "选项绑定的值,可以是文本或数字"
92507
+ });
92508
+ return Struct({
92509
+ id: UUID.annotations({ description: "选项唯一标识,用于稳定的 v-for key" }),
92510
+ label: LocaleMd.annotations({
92511
+ title: "标签",
92512
+ description: "选项展示的本地化文本,支持 Markdown 与 `{{ row.foo }}` / `{{ form.bar }}` 插值"
92513
+ }),
92514
+ value: ItemValue,
92515
+ tooltip: optional(LocaleMd.annotations({
92516
+ title: "提示",
92517
+ description: "鼠标悬停在选项上时展示的本地化提示,支持 Markdown"
92518
+ }))
92519
+ }).annotations({
92520
+ title: "ComboboxMultiRemoteOptionsStaticItem"
92521
+ });
92522
+ }
92523
+ function schema$e(configure) {
92524
+ const CelBool = CelRowAccess(configure, { resultType: "bool" });
92525
+ const Item = itemSchema$3(configure);
92526
+ const CelOnChange = Expression({
92527
+ configure: (env) => {
92528
+ configure(env);
92529
+ registerRowVariablesIfAbsent(env);
92530
+ env.registerVariable("value", "dyn", { description: "用户当前选中项 `value` 组成的数组;清空时为空数组 `[]`" });
92531
+ },
92532
+ resultType: "HttpRequest"
92533
+ });
92534
+ const CelMessage = Expression({
92535
+ configure: (env) => {
92536
+ configure(env);
92537
+ env.registerVariable("json", "dyn", { description: "HTTP 响应体(已解析 JSON)" });
92538
+ },
92539
+ resultType: "string"
92540
+ });
92541
+ return Struct({
92542
+ type: Literal2(type$e),
92543
+ compatibilityDate: Literal2(compatibilityDate$e),
92544
+ ...columnFields(configure),
92545
+ placeholder: optional(Locale.annotations({
92546
+ title: "占位符",
92547
+ description: "未选中任何选项时输入框中的占位文本"
92548
+ })),
92549
+ hidden: optional(CelBool.annotations({
92550
+ title: "隐藏条件",
92551
+ description: "返回 `true` 时该行的下拉框不渲染(其余行不受影响)"
92552
+ })),
92553
+ disabled: optional(CelBool.annotations({
92554
+ title: "禁用条件",
92555
+ description: "返回 `true` 时下拉框仍然渲染但不可选择"
92556
+ })),
92557
+ readonly: optional(CelBool.annotations({
92558
+ title: "只读条件",
92559
+ description: "返回 `true` 时仅以纯文本展示当前已选项的标签"
92560
+ })),
92561
+ items: optionalWith(Array$(Item).annotations({
92562
+ title: "选项",
92563
+ description: "下拉框可选项列表"
92564
+ }), { default: () => [] }),
92565
+ onChange: optional(CelOnChange.annotations({
92566
+ title: "切换请求",
92567
+ description: "用户选择后立即求值并发起的 HTTP 请求;`value` 为新数组。未配置时下拉框只读"
92568
+ })),
92569
+ successMessage: optional(CelMessage.annotations({
92570
+ title: "成功消息",
92571
+ description: "请求成功后弹出的 toast 内容;未配置则静默"
92572
+ })),
92573
+ triggers: optional(Triggers.annotations({
92574
+ title: "成功后触发",
92575
+ description: "请求成功后按列表顺序冒泡的操作请求;未配置则什么都不做"
92576
+ }))
92577
+ }).annotations({
92578
+ title: "ComboboxMultiRemoteOptionsStaticRenderer",
92579
+ description: "下拉多选渲染器(远程写入·静态选项)"
92580
+ });
92581
+ }
92582
+ function toColumnDef$3(value, { getLocaleText, $cel, inheritedContext }) {
92583
+ return {
92584
+ header: editableHeader(getLocaleText(value.title)),
92585
+ accessorFn: (row, index) => {
92586
+ try {
92587
+ return runSync($cel(value.accessor, { ...inheritedContext, row, index }));
92588
+ } catch (e) {
92589
+ console.error("[shwfed-table] combobox-multi.remote.options-static accessor failed", e);
92590
+ return void 0;
92591
+ }
92592
+ },
92593
+ enableSorting: value.enableSorting ?? false,
92594
+ sortingFn: "basic",
92595
+ size: value.size,
92596
+ meta: {
92597
+ grow: value.grow ?? false,
92598
+ tooltip: getLocaleText(value.tooltip)
92599
+ }
92600
+ };
92601
+ }
92602
+ const __vite_glob_0_18 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
92603
+ __proto__: null,
92604
+ compatibilityDate: compatibilityDate$e,
92605
+ itemSchema: itemSchema$3,
92606
+ metadata: metadata$e,
92607
+ schema: schema$e,
92608
+ toColumnDef: toColumnDef$3,
92609
+ type: type$e
92610
+ }, Symbol.toStringTag, { value: "Module" }));
92611
+ const type$d = "com.shwfed.table.column.combobox-multi";
92612
+ const compatibilityDate$d = "2026-05-25";
92613
+ const metadata$d = {
92614
+ name: "下拉多选",
92615
+ icon: "fluent:chevron-down-20-regular"
92616
+ };
92617
+ function itemSchema$2(configure) {
92618
+ const LocaleMd = LocaleMarkdownWithRow(configure);
92619
+ const TextValue = Struct({
92620
+ kind: Literal2("text"),
92621
+ value: String$
92622
+ });
92623
+ const NumberValue = Struct({
92624
+ kind: Literal2("number"),
92625
+ value: Number$
92626
+ });
92627
+ const ItemValue = Union2(TextValue, NumberValue).annotations({
92628
+ title: "值",
92629
+ description: "选项绑定的值,可以是文本或数字"
92630
+ });
92631
+ return Struct({
92632
+ id: UUID.annotations({ description: "选项唯一标识,用于稳定的 v-for key" }),
92633
+ label: LocaleMd.annotations({
92634
+ title: "标签",
92635
+ description: "选项展示的本地化文本,支持 Markdown 与 `{{ row.foo }}` / `{{ form.bar }}` 插值"
92636
+ }),
92637
+ value: ItemValue,
92638
+ tooltip: optional(LocaleMd.annotations({
92639
+ title: "提示",
92640
+ description: "鼠标悬停在选项上时展示的本地化提示,支持 Markdown"
92641
+ }))
92642
+ }).annotations({
92643
+ title: "ComboboxMultiItem"
92644
+ });
92645
+ }
92646
+ function schema$d(configure) {
92647
+ const CelBool = CelRowAccess(configure, { resultType: "bool" });
92648
+ const Item = itemSchema$2(configure);
92649
+ return Struct({
92650
+ type: Literal2(type$d),
92651
+ compatibilityDate: Literal2(compatibilityDate$d),
92652
+ ...editableColumnFields(),
92653
+ placeholder: optional(Locale.annotations({
92654
+ title: "占位符",
92655
+ description: "未选中任何选项时输入框中的占位文本"
92656
+ })),
92657
+ hidden: optional(CelBool.annotations({
92658
+ title: "隐藏条件",
92659
+ description: "返回 `true` 时该行的下拉框不渲染(其余行不受影响)"
92660
+ })),
92661
+ disabled: optional(CelBool.annotations({
92662
+ title: "禁用条件",
92663
+ description: "返回 `true` 时下拉框仍然渲染但不可选择"
92664
+ })),
92665
+ readonly: optional(CelBool.annotations({
92666
+ title: "只读条件",
92667
+ description: "返回 `true` 时仅以纯文本展示当前已选项的标签"
92668
+ })),
92669
+ derived: derivedRowField(configure, "dyn"),
92670
+ items: optionalWith(Array$(Item).annotations({
92671
+ title: "选项",
92672
+ description: "下拉框可选项列表"
92673
+ }), { default: () => [] })
92674
+ }).annotations({ title: "ComboboxMultiRenderer", description: "下拉多选渲染器(可编辑)" });
92675
+ }
92676
+ function toColumnDef$2(value, { getLocaleText }) {
92677
+ return {
92678
+ header: editableHeader(getLocaleText(value.title)),
92679
+ // `binding` is a dot-prop path; the cell renderer reads through the same
92680
+ // path it writes to. The bound value is an array of selected item
92681
+ // `value`s; sorting falls back to that raw array (basic comparator).
92682
+ accessorFn: (row) => {
92683
+ if (!row || typeof row !== "object") return void 0;
92684
+ return getProperty(row, value.binding);
92685
+ },
92686
+ enableSorting: value.enableSorting ?? false,
92687
+ sortingFn: "basic",
92688
+ size: value.size,
92689
+ meta: {
92690
+ grow: value.grow ?? false,
92691
+ tooltip: getLocaleText(value.tooltip)
92692
+ }
92693
+ };
92694
+ }
92695
+ const __vite_glob_0_19 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
92696
+ __proto__: null,
92697
+ compatibilityDate: compatibilityDate$d,
92698
+ itemSchema: itemSchema$2,
92699
+ metadata: metadata$d,
92700
+ schema: schema$d,
92701
+ toColumnDef: toColumnDef$2,
92702
+ type: type$d
92703
+ }, Symbol.toStringTag, { value: "Module" }));
92704
+ const type$c = "com.shwfed.table.column.combobox-multi.remote";
92705
+ const compatibilityDate$c = "2026-05-26";
92706
+ const metadata$c = {
92707
+ name: "下拉多选(远程写入)",
92708
+ icon: "fluent:cloud-arrow-up-20-regular"
92709
+ };
92710
+ const isListType$3 = (actual) => actual === "dyn" || actual.startsWith("list");
92711
+ function itemSchema$1(configure) {
92225
92712
  const LocaleMd = LocaleMarkdownWithRow(configure);
92226
92713
  const TextValue = Struct({
92227
92714
  kind: Literal2("text"),
@@ -92247,17 +92734,80 @@ function itemSchema(configure) {
92247
92734
  description: "鼠标悬停在选项上时展示的本地化提示,支持 Markdown"
92248
92735
  }))
92249
92736
  }).annotations({
92250
- title: "ComboboxSingleRemoteOptionsStaticItem"
92737
+ title: "ComboboxMultiRemoteItem"
92251
92738
  });
92252
92739
  }
92253
- function schema$a(configure) {
92740
+ function optionsSchema$1(configure) {
92741
+ const Item = itemSchema$1(configure);
92742
+ const CelRequest = Expression({
92743
+ configure: (env) => {
92744
+ configure(env);
92745
+ registerRowVariablesIfAbsent(env);
92746
+ },
92747
+ resultType: "HttpRequest"
92748
+ });
92749
+ const CelOptions = Expression({
92750
+ configure: (env) => {
92751
+ configure(env);
92752
+ registerRowVariablesIfAbsent(env);
92753
+ env.registerVariable("json", "dyn", { description: "HTTP 响应体(已解析 JSON);请求失败或尚未完成时为 `null`" });
92754
+ },
92755
+ resultType: isListType$3
92756
+ });
92757
+ const CelOptionValue = Expression({
92758
+ configure: (env) => {
92759
+ configure(env);
92760
+ registerRowVariablesIfAbsent(env);
92761
+ env.registerVariable("option", "dyn", { description: "`选项` 表达式产出的数组中迭代到的单个元素" });
92762
+ },
92763
+ resultType: "dyn"
92764
+ });
92765
+ const LocaleOptionLabel = LocaleMarkdown({
92766
+ configure: (env) => {
92767
+ configure(env);
92768
+ registerRowVariablesIfAbsent(env);
92769
+ env.registerVariable("option", "dyn", { description: "`选项` 表达式产出的数组中迭代到的单个元素" });
92770
+ }
92771
+ });
92772
+ const StaticSpec = Struct({
92773
+ kind: Literal2("static"),
92774
+ items: optionalWith(Array$(Item).annotations({
92775
+ title: "选项",
92776
+ description: "下拉框可选项列表"
92777
+ }), { default: () => [] })
92778
+ }).annotations({ title: "ComboboxMultiRemoteOptionsStatic", description: "静态配置的选项列表" });
92779
+ const RemoteSpec = Struct({
92780
+ kind: Literal2("remote"),
92781
+ request: CelRequest.annotations({
92782
+ title: "请求",
92783
+ description: "返回 `HttpRequest` 的 CEL 表达式;可访问 `row` 与 `index`。相同签名的请求会在该表格内自动去重"
92784
+ }),
92785
+ options: CelOptions.annotations({
92786
+ title: "选项",
92787
+ description: "从 HTTP 响应体提取选项数组的 CEL 表达式;可访问 `row`、`index` 与 `json`。例:`json.data`"
92788
+ }),
92789
+ optionValue: optionalWith(CelOptionValue.annotations({
92790
+ title: "选项值",
92791
+ description: "从当前 `option` 提取写入值的 CEL;例:`option.value`"
92792
+ }), { default: () => "option" }),
92793
+ optionLabel: optionalWith(LocaleOptionLabel.annotations({
92794
+ title: "选项标签",
92795
+ description: "每个选项展示的本地化文本,支持 `{{ string(option.foo) }}` 插值"
92796
+ }), { default: () => [{ locale: "zh", message: "" }] })
92797
+ }).annotations({ title: "ComboboxMultiRemoteOptionsRemote", description: "远程加载的选项列表" });
92798
+ return Union2(StaticSpec, RemoteSpec).annotations({
92799
+ title: "选项来源",
92800
+ description: '选项可以是静态配置(`kind: "static"`)或由远程接口加载(`kind: "remote"`)'
92801
+ });
92802
+ }
92803
+ function schema$c(configure) {
92254
92804
  const CelBool = CelRowAccess(configure, { resultType: "bool" });
92255
- const Item = itemSchema(configure);
92805
+ const Options = optionsSchema$1(configure);
92256
92806
  const CelOnChange = Expression({
92257
92807
  configure: (env) => {
92258
92808
  configure(env);
92259
92809
  registerRowVariablesIfAbsent(env);
92260
- env.registerVariable("value", "dyn", { description: "用户选中的新值(与所选项的 `value` 一致;清空时为 `null`)" });
92810
+ env.registerVariable("value", "dyn", { description: "用户当前选中项 `value` 组成的数组;清空时为空数组 `[]`" });
92261
92811
  },
92262
92812
  resultType: "HttpRequest"
92263
92813
  });
@@ -92269,8 +92819,8 @@ function schema$a(configure) {
92269
92819
  resultType: "string"
92270
92820
  });
92271
92821
  return Struct({
92272
- type: Literal2(type$a),
92273
- compatibilityDate: Literal2(compatibilityDate$a),
92822
+ type: Literal2(type$c),
92823
+ compatibilityDate: Literal2(compatibilityDate$c),
92274
92824
  ...columnFields(configure),
92275
92825
  placeholder: optional(Locale.annotations({
92276
92826
  title: "占位符",
@@ -92286,15 +92836,14 @@ function schema$a(configure) {
92286
92836
  })),
92287
92837
  readonly: optional(CelBool.annotations({
92288
92838
  title: "只读条件",
92289
- description: "返回 `true` 时仅以纯文本展示当前选项的标签"
92839
+ description: "返回 `true` 时仅以纯文本展示当前已选项的标签"
92290
92840
  })),
92291
- items: optionalWith(Array$(Item).annotations({
92292
- title: "选项",
92293
- description: "下拉框可选项列表"
92294
- }), { default: () => [] }),
92841
+ options: optionalWith(Options, {
92842
+ default: () => ({ kind: "static", items: [] })
92843
+ }),
92295
92844
  onChange: optional(CelOnChange.annotations({
92296
92845
  title: "切换请求",
92297
- description: "用户选择后立即求值并发起的 HTTP 请求;`value` 为新值。未配置时下拉框只读"
92846
+ description: "用户选择后立即求值并发起的 HTTP 请求;`value` 为新数组。未配置时下拉框只读"
92298
92847
  })),
92299
92848
  successMessage: optional(CelMessage.annotations({
92300
92849
  title: "成功消息",
@@ -92305,18 +92854,57 @@ function schema$a(configure) {
92305
92854
  description: "请求成功后按列表顺序冒泡的操作请求;未配置则什么都不做"
92306
92855
  }))
92307
92856
  }).annotations({
92308
- title: "ComboboxSingleRemoteOptionsStaticRenderer",
92309
- description: "下拉单选渲染器(远程写入·静态选项)"
92857
+ title: "ComboboxMultiRemoteRenderer",
92858
+ description: "下拉多选渲染器(远程写入)"
92310
92859
  });
92311
92860
  }
92312
- function toColumnDef(value, { getLocaleText, $cel, inheritedContext }) {
92861
+ const migrateFrom$1 = [
92862
+ { type: "com.shwfed.table.column.combobox-multi.remote.options-static", compatibilityDate: "2026-05-25" },
92863
+ { type: "com.shwfed.table.column.combobox-multi.remote.options-remote", compatibilityDate: "2026-05-25" }
92864
+ ];
92865
+ const migrate$1 = (prev) => try_({
92866
+ try: () => {
92867
+ if (!prev || typeof prev !== "object") {
92868
+ throw new Error("下拉多选(远程写入)迁移失败:原值不是对象");
92869
+ }
92870
+ const src = prev;
92871
+ const srcType = src.type;
92872
+ if (srcType === "com.shwfed.table.column.combobox-multi.remote.options-static") {
92873
+ const { items: items2, type: _t, compatibilityDate: _c, ...rest } = src;
92874
+ const itemsArr = Array.isArray(items2) ? items2 : [];
92875
+ return {
92876
+ ...rest,
92877
+ type: type$c,
92878
+ compatibilityDate: compatibilityDate$c,
92879
+ options: { kind: "static", items: itemsArr }
92880
+ };
92881
+ }
92882
+ if (srcType === "com.shwfed.table.column.combobox-multi.remote.options-remote") {
92883
+ const { request, options, optionValue, optionLabel, type: _t, compatibilityDate: _c, ...rest } = src;
92884
+ const remote = { kind: "remote" };
92885
+ if (typeof request === "string") remote.request = request;
92886
+ if (typeof options === "string") remote.options = options;
92887
+ if (typeof optionValue === "string") remote.optionValue = optionValue;
92888
+ if (Array.isArray(optionLabel)) remote.optionLabel = optionLabel;
92889
+ return {
92890
+ ...rest,
92891
+ type: type$c,
92892
+ compatibilityDate: compatibilityDate$c,
92893
+ options: remote
92894
+ };
92895
+ }
92896
+ throw new Error(`下拉多选(远程写入)迁移失败:未识别的来源类型 ${String(srcType)}`);
92897
+ },
92898
+ catch: (e) => e instanceof Error ? e : new Error(String(e))
92899
+ });
92900
+ function toColumnDef$1(value, { getLocaleText, $cel, inheritedContext }) {
92313
92901
  return {
92314
92902
  header: editableHeader(getLocaleText(value.title)),
92315
92903
  accessorFn: (row, index) => {
92316
92904
  try {
92317
92905
  return runSync($cel(value.accessor, { ...inheritedContext, row, index }));
92318
92906
  } catch (e) {
92319
- console.error("[shwfed-table] combobox-single.remote.options-static accessor failed", e);
92907
+ console.error("[shwfed-table] combobox-multi.remote accessor failed", e);
92320
92908
  return void 0;
92321
92909
  }
92322
92910
  },
@@ -92329,14 +92917,192 @@ function toColumnDef(value, { getLocaleText, $cel, inheritedContext }) {
92329
92917
  }
92330
92918
  };
92331
92919
  }
92332
- const __vite_glob_0_16 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
92920
+ const __vite_glob_0_20$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
92333
92921
  __proto__: null,
92334
- compatibilityDate: compatibilityDate$a,
92922
+ compatibilityDate: compatibilityDate$c,
92923
+ itemSchema: itemSchema$1,
92924
+ metadata: metadata$c,
92925
+ migrate: migrate$1,
92926
+ migrateFrom: migrateFrom$1,
92927
+ optionsSchema: optionsSchema$1,
92928
+ schema: schema$c,
92929
+ toColumnDef: toColumnDef$1,
92930
+ type: type$c
92931
+ }, Symbol.toStringTag, { value: "Module" }));
92932
+ const type$b = "com.shwfed.table.column.combobox-multi";
92933
+ const compatibilityDate$b = "2026-05-26";
92934
+ const metadata$b = {
92935
+ name: "下拉多选",
92936
+ icon: "fluent:chevron-down-20-regular"
92937
+ };
92938
+ const isListType$2 = (actual) => actual === "dyn" || actual.startsWith("list");
92939
+ function itemSchema(configure) {
92940
+ const LocaleMd = LocaleMarkdownWithRow(configure);
92941
+ const TextValue = Struct({
92942
+ kind: Literal2("text"),
92943
+ value: String$
92944
+ });
92945
+ const NumberValue = Struct({
92946
+ kind: Literal2("number"),
92947
+ value: Number$
92948
+ });
92949
+ const ItemValue = Union2(TextValue, NumberValue).annotations({
92950
+ title: "值",
92951
+ description: "选项绑定的值,可以是文本或数字"
92952
+ });
92953
+ return Struct({
92954
+ id: UUID.annotations({ description: "选项唯一标识,用于稳定的 v-for key" }),
92955
+ label: LocaleMd.annotations({
92956
+ title: "标签",
92957
+ description: "选项展示的本地化文本,支持 Markdown 与 `{{ row.foo }}` / `{{ form.bar }}` 插值"
92958
+ }),
92959
+ value: ItemValue,
92960
+ tooltip: optional(LocaleMd.annotations({
92961
+ title: "提示",
92962
+ description: "鼠标悬停在选项上时展示的本地化提示,支持 Markdown"
92963
+ }))
92964
+ }).annotations({
92965
+ title: "ComboboxMultiItem"
92966
+ });
92967
+ }
92968
+ function optionsSchema(configure) {
92969
+ const Item = itemSchema(configure);
92970
+ const CelRequest = Expression({
92971
+ configure: (env) => {
92972
+ configure(env);
92973
+ registerRowVariablesIfAbsent(env);
92974
+ },
92975
+ resultType: "HttpRequest"
92976
+ });
92977
+ const CelOptions = Expression({
92978
+ configure: (env) => {
92979
+ configure(env);
92980
+ registerRowVariablesIfAbsent(env);
92981
+ env.registerVariable("json", "dyn", { description: "HTTP 响应体(已解析 JSON);请求失败或尚未完成时为 `null`" });
92982
+ },
92983
+ resultType: isListType$2
92984
+ });
92985
+ const CelOptionValue = Expression({
92986
+ configure: (env) => {
92987
+ configure(env);
92988
+ registerRowVariablesIfAbsent(env);
92989
+ env.registerVariable("option", "dyn", { description: "`选项` 表达式产出的数组中迭代到的单个元素" });
92990
+ },
92991
+ resultType: "dyn"
92992
+ });
92993
+ const LocaleOptionLabel = LocaleMarkdown({
92994
+ configure: (env) => {
92995
+ configure(env);
92996
+ registerRowVariablesIfAbsent(env);
92997
+ env.registerVariable("option", "dyn", { description: "`选项` 表达式产出的数组中迭代到的单个元素" });
92998
+ }
92999
+ });
93000
+ const StaticSpec = Struct({
93001
+ kind: Literal2("static"),
93002
+ items: optionalWith(Array$(Item).annotations({
93003
+ title: "选项",
93004
+ description: "下拉框可选项列表"
93005
+ }), { default: () => [] })
93006
+ }).annotations({ title: "ComboboxMultiOptionsStatic", description: "静态配置的选项列表" });
93007
+ const RemoteSpec = Struct({
93008
+ kind: Literal2("remote"),
93009
+ request: CelRequest.annotations({
93010
+ title: "请求",
93011
+ description: "返回 `HttpRequest` 的 CEL 表达式;可访问 `row` 与 `index`。相同签名的请求会在该表格内自动去重"
93012
+ }),
93013
+ options: CelOptions.annotations({
93014
+ title: "选项",
93015
+ description: "从 HTTP 响应体提取选项数组的 CEL 表达式;可访问 `row`、`index` 与 `json`。例:`json.data`"
93016
+ }),
93017
+ optionValue: optionalWith(CelOptionValue.annotations({
93018
+ title: "选项值",
93019
+ description: "从当前 `option` 提取写入值的 CEL;例:`option.value`"
93020
+ }), { default: () => "option" }),
93021
+ optionLabel: optionalWith(LocaleOptionLabel.annotations({
93022
+ title: "选项标签",
93023
+ description: "每个选项展示的本地化文本,支持 `{{ string(option.foo) }}` 插值"
93024
+ }), { default: () => [{ locale: "zh", message: "" }] })
93025
+ }).annotations({ title: "ComboboxMultiOptionsRemote", description: "远程加载的选项列表" });
93026
+ return Union2(StaticSpec, RemoteSpec).annotations({
93027
+ title: "选项来源",
93028
+ description: '选项可以是静态配置(`kind: "static"`)或由远程接口加载(`kind: "remote"`)'
93029
+ });
93030
+ }
93031
+ function schema$b(configure) {
93032
+ const CelBool = CelRowAccess(configure, { resultType: "bool" });
93033
+ const Options = optionsSchema(configure);
93034
+ return Struct({
93035
+ type: Literal2(type$b),
93036
+ compatibilityDate: Literal2(compatibilityDate$b),
93037
+ ...editableColumnFields(),
93038
+ placeholder: optional(Locale.annotations({
93039
+ title: "占位符",
93040
+ description: "未选中任何选项时输入框中的占位文本"
93041
+ })),
93042
+ hidden: optional(CelBool.annotations({
93043
+ title: "隐藏条件",
93044
+ description: "返回 `true` 时该行的下拉框不渲染(其余行不受影响)"
93045
+ })),
93046
+ disabled: optional(CelBool.annotations({
93047
+ title: "禁用条件",
93048
+ description: "返回 `true` 时下拉框仍然渲染但不可选择"
93049
+ })),
93050
+ readonly: optional(CelBool.annotations({
93051
+ title: "只读条件",
93052
+ description: "返回 `true` 时仅以纯文本展示当前已选项的标签"
93053
+ })),
93054
+ derived: derivedRowField(configure, "dyn"),
93055
+ options: optionalWith(Options, {
93056
+ default: () => ({ kind: "static", items: [] })
93057
+ })
93058
+ }).annotations({ title: "ComboboxMultiRenderer", description: "下拉多选渲染器(可编辑)" });
93059
+ }
93060
+ const migrateFrom = [
93061
+ { type: "com.shwfed.table.column.combobox-multi", compatibilityDate: "2026-05-25" }
93062
+ ];
93063
+ const migrate = (prev) => try_({
93064
+ try: () => {
93065
+ if (!prev || typeof prev !== "object") {
93066
+ throw new Error("下拉多选迁移失败:原值不是对象");
93067
+ }
93068
+ const { items: items2, ...rest } = prev;
93069
+ const itemsArr = Array.isArray(items2) ? items2 : [];
93070
+ return {
93071
+ ...rest,
93072
+ type: type$b,
93073
+ compatibilityDate: compatibilityDate$b,
93074
+ options: { kind: "static", items: itemsArr }
93075
+ };
93076
+ },
93077
+ catch: (e) => e instanceof Error ? e : new Error(String(e))
93078
+ });
93079
+ function toColumnDef(value, { getLocaleText }) {
93080
+ return {
93081
+ header: editableHeader(getLocaleText(value.title)),
93082
+ accessorFn: (row) => {
93083
+ if (!row || typeof row !== "object") return void 0;
93084
+ return getProperty(row, value.binding);
93085
+ },
93086
+ enableSorting: value.enableSorting ?? false,
93087
+ sortingFn: "basic",
93088
+ size: value.size,
93089
+ meta: {
93090
+ grow: value.grow ?? false,
93091
+ tooltip: getLocaleText(value.tooltip)
93092
+ }
93093
+ };
93094
+ }
93095
+ const __vite_glob_0_21$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
93096
+ __proto__: null,
93097
+ compatibilityDate: compatibilityDate$b,
92335
93098
  itemSchema,
92336
- metadata: metadata$a,
92337
- schema: schema$a,
93099
+ metadata: metadata$b,
93100
+ migrate,
93101
+ migrateFrom,
93102
+ optionsSchema,
93103
+ schema: schema$b,
92338
93104
  toColumnDef,
92339
- type: type$a
93105
+ type: type$b
92340
93106
  }, Symbol.toStringTag, { value: "Module" }));
92341
93107
  const schemaModules$2 = /* @__PURE__ */ Object.assign({
92342
93108
  "../columns/2026-04-14/com.shwfed.table.column.actions/schema.ts": __vite_glob_0_0,
@@ -92355,7 +93121,12 @@ const schemaModules$2 = /* @__PURE__ */ Object.assign({
92355
93121
  "../columns/2026-05-20/com.shwfed.table.column.text-input/schema.ts": __vite_glob_0_13,
92356
93122
  "../columns/2026-05-21/com.shwfed.table.column.drag-handle/schema.ts": __vite_glob_0_14,
92357
93123
  "../columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/schema.ts": __vite_glob_0_15,
92358
- "../columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/schema.ts": __vite_glob_0_16
93124
+ "../columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/schema.ts": __vite_glob_0_16,
93125
+ "../columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/schema.ts": __vite_glob_0_17,
93126
+ "../columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/schema.ts": __vite_glob_0_18,
93127
+ "../columns/2026-05-25/com.shwfed.table.column.combobox-multi/schema.ts": __vite_glob_0_19,
93128
+ "../columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/schema.ts": __vite_glob_0_20$1,
93129
+ "../columns/2026-05-26/com.shwfed.table.column.combobox-multi/schema.ts": __vite_glob_0_21$1
92359
93130
  });
92360
93131
  const configModules$2 = /* @__PURE__ */ Object.assign({
92361
93132
  "../columns/2026-04-14/com.shwfed.table.column.actions/config.vue": __vite_glob_2_5,
@@ -92374,7 +93145,12 @@ const configModules$2 = /* @__PURE__ */ Object.assign({
92374
93145
  "../columns/2026-05-20/com.shwfed.table.column.text-input/config.vue": __vite_glob_2_5,
92375
93146
  "../columns/2026-05-21/com.shwfed.table.column.drag-handle/config.vue": __vite_glob_2_5,
92376
93147
  "../columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.vue": __vite_glob_2_5,
92377
- "../columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/config.vue": __vite_glob_2_5
93148
+ "../columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/config.vue": __vite_glob_2_5,
93149
+ "../columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.vue": __vite_glob_2_5,
93150
+ "../columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/config.vue": __vite_glob_2_5,
93151
+ "../columns/2026-05-25/com.shwfed.table.column.combobox-multi/config.vue": __vite_glob_2_5,
93152
+ "../columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/config.vue": __vite_glob_2_5,
93153
+ "../columns/2026-05-26/com.shwfed.table.column.combobox-multi/config.vue": __vite_glob_2_5
92378
93154
  });
92379
93155
  const runtimeModules$2 = /* @__PURE__ */ Object.assign({
92380
93156
  "../columns/2026-04-14/com.shwfed.table.column.actions/runtime.vue": __vite_glob_2_5,
@@ -92393,7 +93169,12 @@ const runtimeModules$2 = /* @__PURE__ */ Object.assign({
92393
93169
  "../columns/2026-05-20/com.shwfed.table.column.text-input/runtime.vue": __vite_glob_2_5,
92394
93170
  "../columns/2026-05-21/com.shwfed.table.column.drag-handle/runtime.vue": __vite_glob_2_5,
92395
93171
  "../columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/runtime.vue": __vite_glob_2_5,
92396
- "../columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/runtime.vue": __vite_glob_2_5
93172
+ "../columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/runtime.vue": __vite_glob_2_5,
93173
+ "../columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/runtime.vue": __vite_glob_2_5,
93174
+ "../columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/runtime.vue": __vite_glob_2_5,
93175
+ "../columns/2026-05-25/com.shwfed.table.column.combobox-multi/runtime.vue": __vite_glob_2_5,
93176
+ "../columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/runtime.vue": __vite_glob_2_5,
93177
+ "../columns/2026-05-26/com.shwfed.table.column.combobox-multi/runtime.vue": __vite_glob_2_5
92397
93178
  });
92398
93179
  const sourceKey$1 = (type2, compatibilityDate2) => `${type2}@${compatibilityDate2}`;
92399
93180
  const registry$2 = defineRegistry({
@@ -92810,21 +93591,21 @@ function defaultTableConfig() {
92810
93591
  : index % 2 == 1 ? { 'background-color': 'oklch(98.5% 0 0)' } : { 'background-color': 'white' }`
92811
93592
  };
92812
93593
  }
92813
- const type$9 = "com.shwfed.form.field.table";
92814
- const compatibilityDate$9 = "2026-05-18";
92815
- const metadata$9 = {
93594
+ const type$a = "com.shwfed.form.field.table";
93595
+ const compatibilityDate$a = "2026-05-18";
93596
+ const metadata$a = {
92816
93597
  name: "表格",
92817
93598
  icon: "fluent:table-20-regular",
92818
93599
  w: { initial: 12, min: 6, max: Infinity },
92819
93600
  h: { initial: 10, min: 5, max: Infinity, grow: true }
92820
93601
  };
92821
- function schema$9(configure) {
93602
+ function schema$a(configure) {
92822
93603
  const Table = suspend(
92823
93604
  () => TableConfig(configure)
92824
93605
  );
92825
93606
  return Struct({
92826
- type: Literal2(type$9),
92827
- compatibilityDate: Literal2(compatibilityDate$9),
93607
+ type: Literal2(type$a),
93608
+ compatibilityDate: Literal2(compatibilityDate$a),
92828
93609
  ...commonFieldFields(configure),
92829
93610
  label: optional(Locale.annotations({
92830
93611
  title: "标签",
@@ -92854,25 +93635,25 @@ function defaults$3() {
92854
93635
  }
92855
93636
  const __vite_glob_0_20 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
92856
93637
  __proto__: null,
92857
- compatibilityDate: compatibilityDate$9,
93638
+ compatibilityDate: compatibilityDate$a,
92858
93639
  defaults: defaults$3,
92859
- metadata: metadata$9,
92860
- schema: schema$9,
92861
- type: type$9
93640
+ metadata: metadata$a,
93641
+ schema: schema$a,
93642
+ type: type$a
92862
93643
  }, Symbol.toStringTag, { value: "Module" }));
92863
- const type$8 = "com.shwfed.form.field.collapsible";
92864
- const compatibilityDate$8 = "2026-05-20";
92865
- const metadata$8 = {
93644
+ const type$9 = "com.shwfed.form.field.collapsible";
93645
+ const compatibilityDate$9 = "2026-05-20";
93646
+ const metadata$9 = {
92866
93647
  name: "可折叠区域",
92867
93648
  icon: "fluent:chevron-down-20-regular",
92868
93649
  w: { initial: 12, min: 4, max: Infinity },
92869
93650
  h: { initial: 4, min: 2, max: Infinity, grow: true }
92870
93651
  };
92871
- function schema$8(configure) {
93652
+ function schema$9(configure) {
92872
93653
  const Unit = suspend(() => FormUnit(configure));
92873
93654
  return Struct({
92874
- type: Literal2(type$8),
92875
- compatibilityDate: Literal2(compatibilityDate$8),
93655
+ type: Literal2(type$9),
93656
+ compatibilityDate: Literal2(compatibilityDate$9),
92876
93657
  id: UUID.annotations({ description: "字段唯一标识;布局通过该 id 引用字段" }),
92877
93658
  displayName: optional(String$.annotations({
92878
93659
  title: "内部名称",
@@ -92907,21 +93688,21 @@ function defaults$2() {
92907
93688
  }
92908
93689
  const __vite_glob_0_21 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
92909
93690
  __proto__: null,
92910
- compatibilityDate: compatibilityDate$8,
93691
+ compatibilityDate: compatibilityDate$9,
92911
93692
  defaults: defaults$2,
92912
- metadata: metadata$8,
92913
- schema: schema$8,
92914
- type: type$8
93693
+ metadata: metadata$9,
93694
+ schema: schema$9,
93695
+ type: type$9
92915
93696
  }, Symbol.toStringTag, { value: "Module" }));
92916
- const type$7 = "com.shwfed.form.field.tree.multi";
92917
- const compatibilityDate$7 = "2026-05-23";
92918
- const metadata$7 = {
93697
+ const type$8 = "com.shwfed.form.field.tree.multi";
93698
+ const compatibilityDate$8 = "2026-05-23";
93699
+ const metadata$8 = {
92919
93700
  name: "树(多选)",
92920
93701
  icon: "fluent:tree-evergreen-20-regular",
92921
93702
  w: { initial: 8, min: 4, max: Infinity },
92922
93703
  h: { initial: 8, min: 4, max: Infinity, grow: true }
92923
93704
  };
92924
- function schema$7(configure) {
93705
+ function schema$8(configure) {
92925
93706
  const CelBool = Expression({ configure, resultType: "bool" });
92926
93707
  const nodeConfigure = (env) => {
92927
93708
  configure(env);
@@ -92950,8 +93731,8 @@ function schema$7(configure) {
92950
93731
  resultType: (t) => t === "dyn" || t.startsWith("list") || t.startsWith("optional")
92951
93732
  });
92952
93733
  return Struct({
92953
- type: Literal2(type$7),
92954
- compatibilityDate: Literal2(compatibilityDate$7),
93734
+ type: Literal2(type$8),
93735
+ compatibilityDate: Literal2(compatibilityDate$8),
92955
93736
  ...commonFieldFields(configure),
92956
93737
  label: optional(Locale.annotations({
92957
93738
  title: "标签",
@@ -93039,15 +93820,15 @@ function defaults$1() {
93039
93820
  }
93040
93821
  const __vite_glob_0_22 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
93041
93822
  __proto__: null,
93042
- compatibilityDate: compatibilityDate$7,
93823
+ compatibilityDate: compatibilityDate$8,
93043
93824
  defaults: defaults$1,
93044
- metadata: metadata$7,
93045
- schema: schema$7,
93046
- type: type$7
93825
+ metadata: metadata$8,
93826
+ schema: schema$8,
93827
+ type: type$8
93047
93828
  }, Symbol.toStringTag, { value: "Module" }));
93048
- const type$6 = "com.shwfed.form.field.month";
93049
- const compatibilityDate$6 = "2026-05-24";
93050
- const metadata$6 = {
93829
+ const type$7 = "com.shwfed.form.field.month";
93830
+ const compatibilityDate$7 = "2026-05-24";
93831
+ const metadata$7 = {
93051
93832
  name: "月份",
93052
93833
  icon: "fluent:calendar-month-20-regular",
93053
93834
  w: { initial: 8, min: 4, max: Infinity },
@@ -93069,12 +93850,12 @@ function presetSchema$1(configure) {
93069
93850
  title: "MonthFieldPreset"
93070
93851
  });
93071
93852
  }
93072
- function schema$6(configure) {
93853
+ function schema$7(configure) {
93073
93854
  const CelBool = Expression({ configure, resultType: "bool" });
93074
93855
  const Preset = presetSchema$1(configure);
93075
93856
  return Struct({
93076
- type: Literal2(type$6),
93077
- compatibilityDate: Literal2(compatibilityDate$6),
93857
+ type: Literal2(type$7),
93858
+ compatibilityDate: Literal2(compatibilityDate$7),
93078
93859
  ...commonFieldFields(configure),
93079
93860
  label: optional(Locale.annotations({
93080
93861
  title: "标签",
@@ -93121,14 +93902,14 @@ function schema$6(configure) {
93121
93902
  }
93122
93903
  const __vite_glob_0_23 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
93123
93904
  __proto__: null,
93124
- compatibilityDate: compatibilityDate$6,
93125
- metadata: metadata$6,
93905
+ compatibilityDate: compatibilityDate$7,
93906
+ metadata: metadata$7,
93126
93907
  presetSchema: presetSchema$1,
93127
- schema: schema$6,
93128
- type: type$6
93908
+ schema: schema$7,
93909
+ type: type$7
93129
93910
  }, Symbol.toStringTag, { value: "Module" }));
93130
- const type$5 = "com.shwfed.form.field.monthrange";
93131
- const compatibilityDate$5 = "2026-05-24";
93911
+ const type$6 = "com.shwfed.form.field.monthrange";
93912
+ const compatibilityDate$6 = "2026-05-24";
93132
93913
  const BindingPath = String$.pipe(minLength(1));
93133
93914
  const SplitBinding = Tuple(BindingPath, BindingPath).pipe(
93134
93915
  filter(([a, b]) => a !== b, {
@@ -93139,7 +93920,7 @@ const bindingSchema = Union2(BindingPath, SplitBinding).annotations({
93139
93920
  title: "绑定路径",
93140
93921
  description: "写入表单状态的 `dot-prop` 路径;填写单个路径时写入 `[start, end]` 字符串数组,例如 `event.months`;填写 `[起始路径, 结束路径]` 元组时分别写入两端;留空则为非受控字段"
93141
93922
  });
93142
- const metadata$5 = {
93923
+ const metadata$6 = {
93143
93924
  name: "月份范围",
93144
93925
  icon: "fluent:calendar-arrow-right-20-regular",
93145
93926
  w: { initial: 10, min: 10, max: Infinity },
@@ -93165,12 +93946,12 @@ function presetSchema(configure) {
93165
93946
  title: "MonthRangeFieldPreset"
93166
93947
  });
93167
93948
  }
93168
- function schema$5(configure) {
93949
+ function schema$6(configure) {
93169
93950
  const CelBool = Expression({ configure, resultType: "bool" });
93170
93951
  const Preset = presetSchema(configure);
93171
93952
  return Struct({
93172
- type: Literal2(type$5),
93173
- compatibilityDate: Literal2(compatibilityDate$5),
93953
+ type: Literal2(type$6),
93954
+ compatibilityDate: Literal2(compatibilityDate$6),
93174
93955
  ...commonFieldFields(configure),
93175
93956
  label: optional(Locale.annotations({
93176
93957
  title: "标签",
@@ -93225,10 +94006,84 @@ function defaults() {
93225
94006
  }
93226
94007
  const __vite_glob_0_24 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
93227
94008
  __proto__: null,
93228
- compatibilityDate: compatibilityDate$5,
94009
+ compatibilityDate: compatibilityDate$6,
93229
94010
  defaults,
93230
- metadata: metadata$5,
94011
+ metadata: metadata$6,
93231
94012
  presetSchema,
94013
+ schema: schema$6,
94014
+ type: type$6
94015
+ }, Symbol.toStringTag, { value: "Module" }));
94016
+ const type$5 = "com.shwfed.form.field.combobox.multi";
94017
+ const compatibilityDate$5 = "2026-05-25";
94018
+ const metadata$5 = {
94019
+ name: "下拉多选",
94020
+ icon: "fluent:chevron-down-20-regular",
94021
+ w: { initial: 8, min: 4, max: Infinity },
94022
+ h: { initial: 2, min: 2, max: 2 }
94023
+ };
94024
+ function configureWithOption(configure) {
94025
+ return (env) => {
94026
+ configure(env);
94027
+ env.registerVariable("option", "dyn", { description: "当前选项" });
94028
+ };
94029
+ }
94030
+ const isListType$1 = (actual) => actual === "dyn" || actual.startsWith("list");
94031
+ function schema$5(configure) {
94032
+ const CelBool = Expression({ configure, resultType: "bool" });
94033
+ const CelOptions = Expression({ configure, resultType: isListType$1 });
94034
+ const CelOptionValue = Expression({ configure: configureWithOption(configure), resultType: "dyn" });
94035
+ const LocaleOptionLabel = LocaleMarkdown({ configure: configureWithOption(configure) });
94036
+ return Struct({
94037
+ type: Literal2(type$5),
94038
+ compatibilityDate: Literal2(compatibilityDate$5),
94039
+ ...commonFieldFields(configure),
94040
+ label: optional(Locale.annotations({
94041
+ title: "标签",
94042
+ description: "字段前展示的文本;留空则不渲染标签"
94043
+ })),
94044
+ placeholder: optional(Locale.annotations({
94045
+ title: "占位符",
94046
+ description: "未选中任何选项时输入框中的占位文本"
94047
+ })),
94048
+ tooltip: optional(Locale.annotations({
94049
+ title: "提示",
94050
+ description: "鼠标悬停在标签上时展示的说明"
94051
+ })),
94052
+ orientation: optional(FieldOrientationSchema),
94053
+ binding: optional(String$.pipe(minLength(1)).annotations({
94054
+ title: "绑定路径",
94055
+ description: "写入表单状态的 `dot-prop` 路径,例如 `user.roles`;写入值为已选项 `value` 组成的数组;留空则为非受控字段"
94056
+ })),
94057
+ disabled: optional(CelBool.annotations({
94058
+ title: "禁用条件",
94059
+ description: "返回 `true` 时下拉框仍然渲染但不可选择"
94060
+ })),
94061
+ readonly: optional(CelBool.annotations({
94062
+ title: "只读条件",
94063
+ description: "返回 `true` 时仅以纯文本展示当前已选项的标签"
94064
+ })),
94065
+ derived: derivedField(configure, "dyn"),
94066
+ options: optionalWith(CelOptions.annotations({
94067
+ title: "选项",
94068
+ description: "返回选项数组的 CEL 表达式,可访问 `form` 当前状态;例:`[{value: 'a', label: 'A'}]`"
94069
+ }), { default: () => "[]" }),
94070
+ optionValue: optionalWith(CelOptionValue.annotations({
94071
+ title: "选项值",
94072
+ description: "从当前 `option` 提取写入绑定的值;例:`option.value`"
94073
+ }), { default: () => "option" }),
94074
+ optionLabel: optionalWith(LocaleOptionLabel.annotations({
94075
+ title: "选项标签",
94076
+ description: "每个选项展示的本地化文本,支持 `{{ string(option.foo) }}` 插值"
94077
+ }), { default: () => [{ locale: "zh", message: "" }] })
94078
+ }).annotations({
94079
+ title: "ComboboxMultiField",
94080
+ description: "下拉多选输入"
94081
+ });
94082
+ }
94083
+ const __vite_glob_0_25 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
94084
+ __proto__: null,
94085
+ compatibilityDate: compatibilityDate$5,
94086
+ metadata: metadata$5,
93232
94087
  schema: schema$5,
93233
94088
  type: type$5
93234
94089
  }, Symbol.toStringTag, { value: "Module" }));
@@ -93250,14 +94105,15 @@ const schemaModules$1 = /* @__PURE__ */ Object.assign({
93250
94105
  "../fields/2026-04-29/com.shwfed.form.field.combobox.single/schema.ts": __vite_glob_0_14$1,
93251
94106
  "../fields/2026-05-12/com.shwfed.form.field.upload/schema.ts": __vite_glob_0_15$1,
93252
94107
  "../fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/schema.ts": __vite_glob_0_16$1,
93253
- "../fields/2026-05-13/com.shwfed.form.field.list/schema.ts": __vite_glob_0_17,
93254
- "../fields/2026-05-17/com.shwfed.form.field.checkbox.group/schema.ts": __vite_glob_0_18,
93255
- "../fields/2026-05-17/com.shwfed.form.field.radio.group/schema.ts": __vite_glob_0_19,
94108
+ "../fields/2026-05-13/com.shwfed.form.field.list/schema.ts": __vite_glob_0_17$1,
94109
+ "../fields/2026-05-17/com.shwfed.form.field.checkbox.group/schema.ts": __vite_glob_0_18$1,
94110
+ "../fields/2026-05-17/com.shwfed.form.field.radio.group/schema.ts": __vite_glob_0_19$1,
93256
94111
  "../fields/2026-05-18/com.shwfed.form.field.table/schema.ts": __vite_glob_0_20,
93257
94112
  "../fields/2026-05-20/com.shwfed.form.field.collapsible/schema.ts": __vite_glob_0_21,
93258
94113
  "../fields/2026-05-23/com.shwfed.form.field.tree.multi/schema.ts": __vite_glob_0_22,
93259
94114
  "../fields/2026-05-24/com.shwfed.form.field.month/schema.ts": __vite_glob_0_23,
93260
- "../fields/2026-05-24/com.shwfed.form.field.monthrange/schema.ts": __vite_glob_0_24
94115
+ "../fields/2026-05-24/com.shwfed.form.field.monthrange/schema.ts": __vite_glob_0_24,
94116
+ "../fields/2026-05-25/com.shwfed.form.field.combobox.multi/schema.ts": __vite_glob_0_25
93261
94117
  });
93262
94118
  const configModules$1 = /* @__PURE__ */ Object.assign({
93263
94119
  "../fields/2026-04-22/com.shwfed.form.field.markdown/config.vue": __vite_glob_2_5,
@@ -93284,7 +94140,8 @@ const configModules$1 = /* @__PURE__ */ Object.assign({
93284
94140
  "../fields/2026-05-20/com.shwfed.form.field.collapsible/config.vue": __vite_glob_2_5,
93285
94141
  "../fields/2026-05-23/com.shwfed.form.field.tree.multi/config.vue": __vite_glob_2_5,
93286
94142
  "../fields/2026-05-24/com.shwfed.form.field.month/config.vue": __vite_glob_2_5,
93287
- "../fields/2026-05-24/com.shwfed.form.field.monthrange/config.vue": __vite_glob_2_5
94143
+ "../fields/2026-05-24/com.shwfed.form.field.monthrange/config.vue": __vite_glob_2_5,
94144
+ "../fields/2026-05-25/com.shwfed.form.field.combobox.multi/config.vue": __vite_glob_2_5
93288
94145
  });
93289
94146
  const runtimeModules$1 = /* @__PURE__ */ Object.assign({
93290
94147
  "../fields/2026-04-22/com.shwfed.form.field.markdown/runtime.vue": __vite_glob_2_5,
@@ -93311,7 +94168,8 @@ const runtimeModules$1 = /* @__PURE__ */ Object.assign({
93311
94168
  "../fields/2026-05-20/com.shwfed.form.field.collapsible/runtime.vue": __vite_glob_2_5,
93312
94169
  "../fields/2026-05-23/com.shwfed.form.field.tree.multi/runtime.vue": __vite_glob_2_5,
93313
94170
  "../fields/2026-05-24/com.shwfed.form.field.month/runtime.vue": __vite_glob_2_5,
93314
- "../fields/2026-05-24/com.shwfed.form.field.monthrange/runtime.vue": __vite_glob_2_5
94171
+ "../fields/2026-05-24/com.shwfed.form.field.monthrange/runtime.vue": __vite_glob_2_5,
94172
+ "../fields/2026-05-25/com.shwfed.form.field.combobox.multi/runtime.vue": __vite_glob_2_5
93315
94173
  });
93316
94174
  const sourceKey = (type2, compatibilityDate2) => `${type2}@${compatibilityDate2}`;
93317
94175
  const registry$1 = defineRegistry({