@shwfed/config 2.5.3 → 2.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mcp.mjs +1220 -1045
- package/dist/module.json +1 -1
- package/dist/module.mjs +7 -1
- package/dist/preview/assets/config-B5FFtD0s.js +1 -0
- package/dist/preview/assets/config-BpWP2vu_.js +1 -0
- package/dist/preview/assets/{config-ekMG8PO0.js → config-C2OqUTNd.js} +1 -1
- package/dist/preview/assets/{config-BVjCjkAL.js → config-D7cjMBeK.js} +1 -1
- package/dist/preview/assets/config-DhORWTZC.js +1 -0
- package/dist/preview/assets/config-DuuYvFG_.js +1 -0
- package/dist/preview/assets/config-dpwN2-UY.js +1 -0
- package/dist/preview/assets/{config-DN6k6pjm.js → config-eP0EblYK.js} +1 -1
- package/dist/preview/assets/{config-CtGduGcR.js → config-hs_pZ5MM.js} +1 -1
- package/dist/preview/assets/{definition.vue_vue_type_script_setup_true_lang-I7unZVnH.js → definition.vue_vue_type_script_setup_true_lang-B8-Uydoy.js} +1 -1
- package/dist/preview/assets/index-BGFrUxgg.js +680 -0
- package/dist/preview/assets/index-BoGW90Pq.css +1 -0
- package/dist/preview/assets/index-Bw16PZhL.js +1 -0
- package/dist/preview/assets/index-CG261V86.js +1 -0
- package/dist/preview/assets/item-aVe51Gy6.js +1 -0
- package/dist/preview/assets/runtime-3rNI0KDH.js +1 -0
- package/dist/preview/assets/runtime-BOn8EwHL.js +1 -0
- package/dist/preview/assets/runtime-Bwr-rb58.js +1 -0
- package/dist/preview/assets/runtime-CXQuhSAX.js +1 -0
- package/dist/preview/assets/runtime-CYGmRjmI.js +1 -0
- package/dist/preview/assets/runtime-Ca79Fs6I.js +1 -0
- package/dist/preview/assets/runtime-CfVt6IWe.js +1 -0
- package/dist/preview/assets/runtime-DYj-R8SZ.js +1 -0
- package/dist/preview/assets/runtime-Dd1GqYeP.js +1 -0
- package/dist/preview/index.html +2 -2
- package/dist/runtime/components/config/blocks/2026-06-01/com.shwfed.block.animated.number/config.d.vue.ts +59 -0
- package/dist/runtime/components/config/blocks/2026-06-01/com.shwfed.block.animated.number/config.vue +452 -0
- package/dist/runtime/components/config/blocks/2026-06-01/com.shwfed.block.animated.number/config.vue.d.ts +59 -0
- package/dist/runtime/components/config/blocks/2026-06-01/com.shwfed.block.animated.number/item.d.vue.ts +7 -0
- package/dist/runtime/components/config/blocks/2026-06-01/com.shwfed.block.animated.number/item.vue +112 -0
- package/dist/runtime/components/config/blocks/2026-06-01/com.shwfed.block.animated.number/item.vue.d.ts +7 -0
- package/dist/runtime/components/config/blocks/2026-06-01/com.shwfed.block.animated.number/runtime.d.vue.ts +59 -0
- package/dist/runtime/components/config/blocks/2026-06-01/com.shwfed.block.animated.number/runtime.vue +47 -0
- package/dist/runtime/components/config/blocks/2026-06-01/com.shwfed.block.animated.number/runtime.vue.d.ts +59 -0
- package/dist/runtime/components/config/blocks/2026-06-01/com.shwfed.block.animated.number/schema.d.ts +92 -0
- package/dist/runtime/components/config/blocks/2026-06-01/com.shwfed.block.animated.number/schema.js +117 -0
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.d.vue.ts +4 -4
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.vue.d.ts +4 -4
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.d.vue.ts +6 -6
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.vue.d.ts +6 -6
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/config.d.vue.ts +2 -2
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/config.vue.d.ts +2 -2
- package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/config.d.vue.ts +4 -4
- package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/config.vue.d.ts +4 -4
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.combobox.multi/schema.js +1 -1
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.combobox.single/schema.js +1 -1
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/config.vue +17 -1
- package/dist/runtime/components/table/index.vue +1 -0
- package/dist/runtime/components/table/row-provider.d.vue.ts +1 -0
- package/dist/runtime/components/table/row-provider.vue +9 -2
- package/dist/runtime/components/table/row-provider.vue.d.ts +1 -0
- package/dist/runtime/components/ui/date-picker/DatePickerInput.d.vue.ts +1 -1
- package/dist/runtime/components/ui/date-picker/DatePickerInput.vue.d.ts +1 -1
- package/dist/runtime/components/ui/date-picker/DatePickerTimeInput.d.vue.ts +1 -1
- package/dist/runtime/components/ui/date-picker/DatePickerTimeInput.vue.d.ts +1 -1
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerInput.d.vue.ts +1 -1
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerInput.vue.d.ts +1 -1
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerTimeInput.d.vue.ts +2 -2
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerTimeInput.vue.d.ts +2 -2
- package/dist/runtime/components/ui/expression-editor/CodeMirrorInput.d.vue.ts +22 -0
- package/dist/runtime/components/ui/expression-editor/CodeMirrorInput.vue +134 -0
- package/dist/runtime/components/ui/expression-editor/CodeMirrorInput.vue.d.ts +22 -0
- package/dist/runtime/components/ui/expression-editor/ExpressionEditor.d.vue.ts +2 -2
- package/dist/runtime/components/ui/expression-editor/ExpressionEditor.vue +71 -50
- package/dist/runtime/components/ui/expression-editor/ExpressionEditor.vue.d.ts +2 -2
- package/dist/runtime/components/ui/expression-editor/cel-language.d.ts +16 -0
- package/dist/runtime/components/ui/expression-editor/cel-language.js +114 -0
- package/dist/runtime/components/ui/expression-editor/chip-extension.d.ts +5 -0
- package/dist/runtime/components/ui/expression-editor/chip-extension.js +123 -0
- package/dist/runtime/components/ui/expression-editor/picker-entries.d.ts +17 -0
- package/dist/runtime/components/ui/expression-editor/picker-entries.js +34 -0
- package/dist/runtime/components/ui/expression-editor/scope-refs.d.ts +20 -0
- package/dist/runtime/components/ui/expression-editor/scope-refs.js +39 -0
- package/dist/runtime/share/expression.js +9 -0
- package/dist/runtime/utils/cel-context.d.ts +36 -0
- package/dist/runtime/utils/cel-context.js +39 -0
- package/package.json +7 -1
- package/dist/preview/assets/config-C5TWIUX-.js +0 -1
- package/dist/preview/assets/config-CH28q4_H.js +0 -1
- package/dist/preview/assets/config-D9tBv8LD.js +0 -1
- package/dist/preview/assets/config-DxB8qwAu.js +0 -1
- package/dist/preview/assets/config-U359oLg8.js +0 -1
- package/dist/preview/assets/index-CZ-XSjS_.js +0 -668
- package/dist/preview/assets/index-HfGseg4M.js +0 -1
- package/dist/preview/assets/index-nvAUAYGM.css +0 -1
- package/dist/preview/assets/runtime-27bDIkKv.js +0 -1
- package/dist/preview/assets/runtime-BAQ6ezPo.js +0 -1
- package/dist/preview/assets/runtime-BKQvzSax.js +0 -1
- package/dist/preview/assets/runtime-BafXFP0s.js +0 -1
- package/dist/preview/assets/runtime-CAzVJ-if.js +0 -1
- package/dist/preview/assets/runtime-CQly-3c3.js +0 -1
- package/dist/preview/assets/runtime-DJgDXKfE.js +0 -1
- package/dist/preview/assets/runtime-Dhd51Wyr.js +0 -1
- package/dist/preview/assets/runtime-x8IdC454.js +0 -1
package/dist/mcp.mjs
CHANGED
|
@@ -15509,14 +15509,14 @@ function requireCompile() {
|
|
|
15509
15509
|
}
|
|
15510
15510
|
const $id$1 = "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#";
|
|
15511
15511
|
const description = "Meta-schema for $data reference (JSON AnySchema extension proposal)";
|
|
15512
|
-
const type$
|
|
15512
|
+
const type$1h = "object";
|
|
15513
15513
|
const required$1 = ["$data"];
|
|
15514
15514
|
const properties$2 = { "$data": { "type": "string", "anyOf": [{ "format": "relative-json-pointer" }, { "format": "json-pointer" }] } };
|
|
15515
15515
|
const additionalProperties$1 = false;
|
|
15516
15516
|
const require$$9 = {
|
|
15517
15517
|
$id: $id$1,
|
|
15518
15518
|
description,
|
|
15519
|
-
type: type$
|
|
15519
|
+
type: type$1h,
|
|
15520
15520
|
required: required$1,
|
|
15521
15521
|
properties: properties$2,
|
|
15522
15522
|
additionalProperties: additionalProperties$1
|
|
@@ -18516,14 +18516,14 @@ function requireFormat() {
|
|
|
18516
18516
|
format$7.default = format2;
|
|
18517
18517
|
return format$7;
|
|
18518
18518
|
}
|
|
18519
|
-
var metadata$
|
|
18519
|
+
var metadata$1g = {};
|
|
18520
18520
|
var hasRequiredMetadata;
|
|
18521
18521
|
function requireMetadata() {
|
|
18522
|
-
if (hasRequiredMetadata) return metadata$
|
|
18522
|
+
if (hasRequiredMetadata) return metadata$1g;
|
|
18523
18523
|
hasRequiredMetadata = 1;
|
|
18524
|
-
Object.defineProperty(metadata$
|
|
18525
|
-
metadata$
|
|
18526
|
-
metadata$
|
|
18524
|
+
Object.defineProperty(metadata$1g, "__esModule", { value: true });
|
|
18525
|
+
metadata$1g.contentVocabulary = metadata$1g.metadataVocabulary = void 0;
|
|
18526
|
+
metadata$1g.metadataVocabulary = [
|
|
18527
18527
|
"title",
|
|
18528
18528
|
"description",
|
|
18529
18529
|
"default",
|
|
@@ -18532,12 +18532,12 @@ function requireMetadata() {
|
|
|
18532
18532
|
"writeOnly",
|
|
18533
18533
|
"examples"
|
|
18534
18534
|
];
|
|
18535
|
-
metadata$
|
|
18535
|
+
metadata$1g.contentVocabulary = [
|
|
18536
18536
|
"contentMediaType",
|
|
18537
18537
|
"contentEncoding",
|
|
18538
18538
|
"contentSchema"
|
|
18539
18539
|
];
|
|
18540
|
-
return metadata$
|
|
18540
|
+
return metadata$1g;
|
|
18541
18541
|
}
|
|
18542
18542
|
var hasRequiredDraft7;
|
|
18543
18543
|
function requireDraft7() {
|
|
@@ -18683,14 +18683,14 @@ const $schema = "http://json-schema.org/draft-07/schema#";
|
|
|
18683
18683
|
const $id = "http://json-schema.org/draft-07/schema#";
|
|
18684
18684
|
const title = "Core schema meta-schema";
|
|
18685
18685
|
const definitions = { "schemaArray": { "type": "array", "minItems": 1, "items": { "$ref": "#" } }, "nonNegativeInteger": { "type": "integer", "minimum": 0 }, "nonNegativeIntegerDefault0": { "allOf": [{ "$ref": "#/definitions/nonNegativeInteger" }, { "default": 0 }] }, "simpleTypes": { "enum": ["array", "boolean", "integer", "null", "number", "object", "string"] }, "stringArray": { "type": "array", "items": { "type": "string" }, "uniqueItems": true, "default": [] } };
|
|
18686
|
-
const type$
|
|
18686
|
+
const type$1g = ["object", "boolean"];
|
|
18687
18687
|
const properties = { "$id": { "type": "string", "format": "uri-reference" }, "$schema": { "type": "string", "format": "uri" }, "$ref": { "type": "string", "format": "uri-reference" }, "$comment": { "type": "string" }, "title": { "type": "string" }, "description": { "type": "string" }, "default": true, "readOnly": { "type": "boolean", "default": false }, "examples": { "type": "array", "items": true }, "multipleOf": { "type": "number", "exclusiveMinimum": 0 }, "maximum": { "type": "number" }, "exclusiveMaximum": { "type": "number" }, "minimum": { "type": "number" }, "exclusiveMinimum": { "type": "number" }, "maxLength": { "$ref": "#/definitions/nonNegativeInteger" }, "minLength": { "$ref": "#/definitions/nonNegativeIntegerDefault0" }, "pattern": { "type": "string", "format": "regex" }, "additionalItems": { "$ref": "#" }, "items": { "anyOf": [{ "$ref": "#" }, { "$ref": "#/definitions/schemaArray" }], "default": true }, "maxItems": { "$ref": "#/definitions/nonNegativeInteger" }, "minItems": { "$ref": "#/definitions/nonNegativeIntegerDefault0" }, "uniqueItems": { "type": "boolean", "default": false }, "contains": { "$ref": "#" }, "maxProperties": { "$ref": "#/definitions/nonNegativeInteger" }, "minProperties": { "$ref": "#/definitions/nonNegativeIntegerDefault0" }, "required": { "$ref": "#/definitions/stringArray" }, "additionalProperties": { "$ref": "#" }, "definitions": { "type": "object", "additionalProperties": { "$ref": "#" }, "default": {} }, "properties": { "type": "object", "additionalProperties": { "$ref": "#" }, "default": {} }, "patternProperties": { "type": "object", "additionalProperties": { "$ref": "#" }, "propertyNames": { "format": "regex" }, "default": {} }, "dependencies": { "type": "object", "additionalProperties": { "anyOf": [{ "$ref": "#" }, { "$ref": "#/definitions/stringArray" }] } }, "propertyNames": { "$ref": "#" }, "const": true, "enum": { "type": "array", "items": true, "minItems": 1, "uniqueItems": true }, "type": { "anyOf": [{ "$ref": "#/definitions/simpleTypes" }, { "type": "array", "items": { "$ref": "#/definitions/simpleTypes" }, "minItems": 1, "uniqueItems": true }] }, "format": { "type": "string" }, "contentMediaType": { "type": "string" }, "contentEncoding": { "type": "string" }, "if": { "$ref": "#" }, "then": { "$ref": "#" }, "else": { "$ref": "#" }, "allOf": { "$ref": "#/definitions/schemaArray" }, "anyOf": { "$ref": "#/definitions/schemaArray" }, "oneOf": { "$ref": "#/definitions/schemaArray" }, "not": { "$ref": "#" } };
|
|
18688
18688
|
const require$$3 = {
|
|
18689
18689
|
$schema,
|
|
18690
18690
|
$id,
|
|
18691
18691
|
title,
|
|
18692
18692
|
definitions,
|
|
18693
|
-
type: type$
|
|
18693
|
+
type: type$1g,
|
|
18694
18694
|
properties,
|
|
18695
18695
|
"default": true
|
|
18696
18696
|
};
|
|
@@ -45421,6 +45421,12 @@ function formatExpectedType(expected) {
|
|
|
45421
45421
|
if (Array.isArray(expected)) return expected.join(" | ");
|
|
45422
45422
|
return "(自定义)";
|
|
45423
45423
|
}
|
|
45424
|
+
function registerScopeAddressVar(env) {
|
|
45425
|
+
env.registerVariable("__scopes__", "map<string, dyn>", {
|
|
45426
|
+
label: "跨层作用域",
|
|
45427
|
+
description: "按 UUID 寻址被遮蔽的祖先作用域"
|
|
45428
|
+
});
|
|
45429
|
+
}
|
|
45424
45430
|
function buildDescription(baseline, env, resultType) {
|
|
45425
45431
|
const defs = env.getDefinitions();
|
|
45426
45432
|
const baselineVarNames = new Set(baseline.variables.map((v) => v.name));
|
|
@@ -45448,6 +45454,7 @@ function Expression(options) {
|
|
|
45448
45454
|
const env = new Environment({
|
|
45449
45455
|
unlistedVariablesAreDyn: options.unlistedVariablesAreDyn ?? false
|
|
45450
45456
|
});
|
|
45457
|
+
registerScopeAddressVar(env);
|
|
45451
45458
|
const baseline = env.getDefinitions();
|
|
45452
45459
|
options.configure(env);
|
|
45453
45460
|
const description2 = buildDescription(baseline, env, options.resultType);
|
|
@@ -45478,6 +45485,7 @@ function Expression(options) {
|
|
|
45478
45485
|
const INTERPOLATION_RE$1 = /\{\{(.*?)\}\}/gs;
|
|
45479
45486
|
function LocaleMarkdown(options) {
|
|
45480
45487
|
const env = new Environment({ unlistedVariablesAreDyn: false });
|
|
45488
|
+
registerScopeAddressVar(env);
|
|
45481
45489
|
const baseline = env.getDefinitions();
|
|
45482
45490
|
options.configure(env);
|
|
45483
45491
|
const description2 = `Locale with Markdown CEL interpolation via {{ expression }}. ${buildDescription(baseline, env).slice("CEL expression. ".length)}`;
|
|
@@ -81490,13 +81498,13 @@ function md(...args2) {
|
|
|
81490
81498
|
const indent = (original.startsWith("\n") ? original.slice(1) : original).split("\n", 1)[0]?.match(/^(\s*)/)?.[1]?.length ?? 0;
|
|
81491
81499
|
return original.trim().replaceAll("\\`", "`").split("\n").map((line) => line.replace(new RegExp(`^${String.raw`\s`.repeat(indent)}`), "")).join("\n");
|
|
81492
81500
|
}
|
|
81493
|
-
const type$
|
|
81494
|
-
const compatibilityDate$
|
|
81495
|
-
const metadata$
|
|
81501
|
+
const type$1f = "com.shwfed.actions.button.http.request.json.confirm";
|
|
81502
|
+
const compatibilityDate$1f = "2026-04-18";
|
|
81503
|
+
const metadata$1f = {
|
|
81496
81504
|
name: "网络请求(JSON + 确认)",
|
|
81497
81505
|
icon: "fluent:shield-checkmark-20-regular"
|
|
81498
81506
|
};
|
|
81499
|
-
function schema$
|
|
81507
|
+
function schema$1f(configure) {
|
|
81500
81508
|
const CelHttpRequest = Expression({ configure, resultType: "HttpRequest" });
|
|
81501
81509
|
const CelMessage = Expression({
|
|
81502
81510
|
configure: (env) => {
|
|
@@ -81508,8 +81516,8 @@ function schema$1e(configure) {
|
|
|
81508
81516
|
resultType: "string"
|
|
81509
81517
|
});
|
|
81510
81518
|
return Struct({
|
|
81511
|
-
type: Literal2(type$
|
|
81512
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
81519
|
+
type: Literal2(type$1f),
|
|
81520
|
+
compatibilityDate: Literal2(compatibilityDate$1f),
|
|
81513
81521
|
expression: CelHttpRequest.annotations({
|
|
81514
81522
|
title: "请求",
|
|
81515
81523
|
description: md`
|
|
@@ -81567,18 +81575,18 @@ function schema$1e(configure) {
|
|
|
81567
81575
|
}
|
|
81568
81576
|
const __vite_glob_0_0$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
81569
81577
|
__proto__: null,
|
|
81570
|
-
compatibilityDate: compatibilityDate$
|
|
81571
|
-
metadata: metadata$
|
|
81572
|
-
schema: schema$
|
|
81573
|
-
type: type$
|
|
81578
|
+
compatibilityDate: compatibilityDate$1f,
|
|
81579
|
+
metadata: metadata$1f,
|
|
81580
|
+
schema: schema$1f,
|
|
81581
|
+
type: type$1f
|
|
81574
81582
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
81575
|
-
const type$
|
|
81576
|
-
const compatibilityDate$
|
|
81577
|
-
const metadata$
|
|
81583
|
+
const type$1e = "com.shwfed.actions.button.http.request.json";
|
|
81584
|
+
const compatibilityDate$1e = "2026-04-18";
|
|
81585
|
+
const metadata$1e = {
|
|
81578
81586
|
name: "网络请求(JSON)",
|
|
81579
81587
|
icon: "fluent:cloud-arrow-up-20-regular"
|
|
81580
81588
|
};
|
|
81581
|
-
function schema$
|
|
81589
|
+
function schema$1e(configure) {
|
|
81582
81590
|
const CelHttpRequest = Expression({ configure, resultType: "HttpRequest" });
|
|
81583
81591
|
const CelMessage = Expression({
|
|
81584
81592
|
configure: (env) => {
|
|
@@ -81590,8 +81598,8 @@ function schema$1d(configure) {
|
|
|
81590
81598
|
resultType: "string"
|
|
81591
81599
|
});
|
|
81592
81600
|
return Struct({
|
|
81593
|
-
type: Literal2(type$
|
|
81594
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
81601
|
+
type: Literal2(type$1e),
|
|
81602
|
+
compatibilityDate: Literal2(compatibilityDate$1e),
|
|
81595
81603
|
expression: CelHttpRequest.annotations({
|
|
81596
81604
|
title: "请求",
|
|
81597
81605
|
description: md`
|
|
@@ -81637,21 +81645,21 @@ function schema$1d(configure) {
|
|
|
81637
81645
|
}
|
|
81638
81646
|
const __vite_glob_0_1$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
81639
81647
|
__proto__: null,
|
|
81640
|
-
compatibilityDate: compatibilityDate$
|
|
81641
|
-
metadata: metadata$
|
|
81642
|
-
schema: schema$
|
|
81643
|
-
type: type$
|
|
81648
|
+
compatibilityDate: compatibilityDate$1e,
|
|
81649
|
+
metadata: metadata$1e,
|
|
81650
|
+
schema: schema$1e,
|
|
81651
|
+
type: type$1e
|
|
81644
81652
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
81645
|
-
const type$
|
|
81646
|
-
const compatibilityDate$
|
|
81647
|
-
const metadata$
|
|
81653
|
+
const type$1d = "com.shwfed.actions.button.prototype";
|
|
81654
|
+
const compatibilityDate$1d = "2026-04-18";
|
|
81655
|
+
const metadata$1d = {
|
|
81648
81656
|
name: "原型",
|
|
81649
81657
|
icon: "fluent:predictions-20-regular"
|
|
81650
81658
|
};
|
|
81651
|
-
function schema$
|
|
81659
|
+
function schema$1d(_configure) {
|
|
81652
81660
|
return Struct({
|
|
81653
|
-
type: Literal2(type$
|
|
81654
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
81661
|
+
type: Literal2(type$1d),
|
|
81662
|
+
compatibilityDate: Literal2(compatibilityDate$1d)
|
|
81655
81663
|
}).annotations({
|
|
81656
81664
|
title: "PrototypeAction",
|
|
81657
81665
|
description: "点击无副作用的原型按钮,可被一次性转换为其它类型"
|
|
@@ -81659,23 +81667,23 @@ function schema$1c(_configure) {
|
|
|
81659
81667
|
}
|
|
81660
81668
|
const __vite_glob_0_2$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
81661
81669
|
__proto__: null,
|
|
81662
|
-
compatibilityDate: compatibilityDate$
|
|
81663
|
-
metadata: metadata$
|
|
81664
|
-
schema: schema$
|
|
81665
|
-
type: type$
|
|
81670
|
+
compatibilityDate: compatibilityDate$1d,
|
|
81671
|
+
metadata: metadata$1d,
|
|
81672
|
+
schema: schema$1d,
|
|
81673
|
+
type: type$1d
|
|
81666
81674
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
81667
|
-
const type$
|
|
81668
|
-
const compatibilityDate$
|
|
81669
|
-
const metadata$
|
|
81675
|
+
const type$1c = "com.shwfed.actions.button.navigation";
|
|
81676
|
+
const compatibilityDate$1c = "2026-04-21";
|
|
81677
|
+
const metadata$1c = {
|
|
81670
81678
|
name: "导航",
|
|
81671
81679
|
icon: "fluent:link-20-regular"
|
|
81672
81680
|
};
|
|
81673
81681
|
const Mode = Literal2("_self", "_blank");
|
|
81674
|
-
function schema$
|
|
81682
|
+
function schema$1c(configure) {
|
|
81675
81683
|
const CelUrl = Expression({ configure, resultType: "string" });
|
|
81676
81684
|
return Struct({
|
|
81677
|
-
type: Literal2(type$
|
|
81678
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
81685
|
+
type: Literal2(type$1c),
|
|
81686
|
+
compatibilityDate: Literal2(compatibilityDate$1c),
|
|
81679
81687
|
url: CelUrl.annotations({
|
|
81680
81688
|
title: "链接",
|
|
81681
81689
|
description: "点击后将打开的链接,返回 `string`"
|
|
@@ -81691,10 +81699,10 @@ function schema$1b(configure) {
|
|
|
81691
81699
|
}
|
|
81692
81700
|
const __vite_glob_0_3$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
81693
81701
|
__proto__: null,
|
|
81694
|
-
compatibilityDate: compatibilityDate$
|
|
81695
|
-
metadata: metadata$
|
|
81696
|
-
schema: schema$
|
|
81697
|
-
type: type$
|
|
81702
|
+
compatibilityDate: compatibilityDate$1c,
|
|
81703
|
+
metadata: metadata$1c,
|
|
81704
|
+
schema: schema$1c,
|
|
81705
|
+
type: type$1c
|
|
81698
81706
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
81699
81707
|
const TrackCount = Number$.pipe(int(), positive());
|
|
81700
81708
|
const GridCoord = Number$.pipe(int(), positive());
|
|
@@ -81830,9 +81838,9 @@ function registerBlockRef(configure, ref2) {
|
|
|
81830
81838
|
function lookupBlockRef(configure) {
|
|
81831
81839
|
return blockRefCache.get(configure);
|
|
81832
81840
|
}
|
|
81833
|
-
const type$
|
|
81834
|
-
const compatibilityDate$
|
|
81835
|
-
const metadata$
|
|
81841
|
+
const type$1b = "com.shwfed.actions.button.modal.layout";
|
|
81842
|
+
const compatibilityDate$1b = "2026-05-11";
|
|
81843
|
+
const metadata$1b = {
|
|
81836
81844
|
name: "模态窗口",
|
|
81837
81845
|
icon: "fluent:window-edit-20-regular",
|
|
81838
81846
|
drillable: true,
|
|
@@ -81843,12 +81851,12 @@ const metadata$1a = {
|
|
|
81843
81851
|
const CssLength = String$.pipe(
|
|
81844
81852
|
filter((s) => s.trim().length > 0 || "不能为空字符串")
|
|
81845
81853
|
);
|
|
81846
|
-
function schema$
|
|
81854
|
+
function schema$1b(configure) {
|
|
81847
81855
|
const blockUnion = lookupBlockRef(configure) ?? Unknown;
|
|
81848
81856
|
const ModalSlot = Slot(blockUnion, configure);
|
|
81849
81857
|
return Struct({
|
|
81850
|
-
type: Literal2(type$
|
|
81851
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
81858
|
+
type: Literal2(type$1b),
|
|
81859
|
+
compatibilityDate: Literal2(compatibilityDate$1b),
|
|
81852
81860
|
modalTitle: optional(Locale.annotations({
|
|
81853
81861
|
title: "弹窗标题",
|
|
81854
81862
|
description: "弹窗顶部展示的本地化标题,支持行内 Markdown;不填则回退使用按钮自身的名称"
|
|
@@ -81870,29 +81878,29 @@ function schema$1a(configure) {
|
|
|
81870
81878
|
description: "点击后弹出包含一组块的弹窗"
|
|
81871
81879
|
});
|
|
81872
81880
|
}
|
|
81873
|
-
function defaultBody$
|
|
81881
|
+
function defaultBody$7() {
|
|
81874
81882
|
return {
|
|
81875
81883
|
slot: defaultSlot()
|
|
81876
81884
|
};
|
|
81877
81885
|
}
|
|
81878
81886
|
const __vite_glob_0_4$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
81879
81887
|
__proto__: null,
|
|
81880
|
-
compatibilityDate: compatibilityDate$
|
|
81881
|
-
defaultBody: defaultBody$
|
|
81882
|
-
metadata: metadata$
|
|
81883
|
-
schema: schema$
|
|
81884
|
-
type: type$
|
|
81888
|
+
compatibilityDate: compatibilityDate$1b,
|
|
81889
|
+
defaultBody: defaultBody$7,
|
|
81890
|
+
metadata: metadata$1b,
|
|
81891
|
+
schema: schema$1b,
|
|
81892
|
+
type: type$1b
|
|
81885
81893
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
81886
|
-
const type$
|
|
81887
|
-
const compatibilityDate$
|
|
81888
|
-
const metadata$
|
|
81894
|
+
const type$1a = "com.shwfed.actions.button.event.dispatch";
|
|
81895
|
+
const compatibilityDate$1a = "2026-05-15";
|
|
81896
|
+
const metadata$1a = {
|
|
81889
81897
|
name: "触发事件",
|
|
81890
81898
|
icon: "fluent:flash-20-regular"
|
|
81891
81899
|
};
|
|
81892
|
-
function schema$
|
|
81900
|
+
function schema$1a(_configure) {
|
|
81893
81901
|
return Struct({
|
|
81894
|
-
type: Literal2(type$
|
|
81895
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
81902
|
+
type: Literal2(type$1a),
|
|
81903
|
+
compatibilityDate: Literal2(compatibilityDate$1a),
|
|
81896
81904
|
// This button's entire behaviour: the op-requests it bubbles up the
|
|
81897
81905
|
// component tree on click. Stored on the button itself — there is no
|
|
81898
81906
|
// host-level trigger field any more.
|
|
@@ -81903,14 +81911,14 @@ function schema$19(_configure) {
|
|
|
81903
81911
|
}
|
|
81904
81912
|
const __vite_glob_0_5$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
81905
81913
|
__proto__: null,
|
|
81906
|
-
compatibilityDate: compatibilityDate$
|
|
81907
|
-
metadata: metadata$
|
|
81908
|
-
schema: schema$
|
|
81909
|
-
type: type$
|
|
81914
|
+
compatibilityDate: compatibilityDate$1a,
|
|
81915
|
+
metadata: metadata$1a,
|
|
81916
|
+
schema: schema$1a,
|
|
81917
|
+
type: type$1a
|
|
81910
81918
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
81911
|
-
const type$
|
|
81912
|
-
const compatibilityDate$
|
|
81913
|
-
const metadata$
|
|
81919
|
+
const type$19 = "com.shwfed.actions.button.http.download";
|
|
81920
|
+
const compatibilityDate$19 = "2026-05-21";
|
|
81921
|
+
const metadata$19 = {
|
|
81914
81922
|
name: "下载文件",
|
|
81915
81923
|
icon: "fluent:arrow-download-20-regular"
|
|
81916
81924
|
};
|
|
@@ -81925,13 +81933,13 @@ function configureWithJson$4(configure) {
|
|
|
81925
81933
|
env.registerVariable("json", JSON_VAR$4.type, { description: JSON_VAR$4.description });
|
|
81926
81934
|
};
|
|
81927
81935
|
}
|
|
81928
|
-
function schema$
|
|
81936
|
+
function schema$19(configure) {
|
|
81929
81937
|
const CelHttpRequest = Expression({ configure, resultType: "HttpRequest" });
|
|
81930
81938
|
const CelDownloadRequest = Expression({ configure: configureWithJson$4(configure), resultType: "HttpRequest" });
|
|
81931
81939
|
const CelMessage = Expression({ configure: configureWithJson$4(configure), resultType: "string" });
|
|
81932
81940
|
return Struct({
|
|
81933
|
-
type: Literal2(type$
|
|
81934
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
81941
|
+
type: Literal2(type$19),
|
|
81942
|
+
compatibilityDate: Literal2(compatibilityDate$19),
|
|
81935
81943
|
template: Struct({
|
|
81936
81944
|
request: CelHttpRequest.annotations({
|
|
81937
81945
|
title: "请求",
|
|
@@ -81991,28 +81999,28 @@ function schema$18(configure) {
|
|
|
81991
81999
|
description: "点击后发起 HTTP 请求并把响应保存为本地文件,支持两步式(先取凭据再下载)"
|
|
81992
82000
|
});
|
|
81993
82001
|
}
|
|
81994
|
-
const __vite_glob_0_6$
|
|
82002
|
+
const __vite_glob_0_6$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
81995
82003
|
__proto__: null,
|
|
81996
82004
|
JSON_VAR: JSON_VAR$4,
|
|
81997
|
-
compatibilityDate: compatibilityDate$
|
|
81998
|
-
metadata: metadata$
|
|
81999
|
-
schema: schema$
|
|
82000
|
-
type: type$
|
|
82005
|
+
compatibilityDate: compatibilityDate$19,
|
|
82006
|
+
metadata: metadata$19,
|
|
82007
|
+
schema: schema$19,
|
|
82008
|
+
type: type$19
|
|
82001
82009
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
82002
|
-
const type$
|
|
82003
|
-
const compatibilityDate$
|
|
82004
|
-
const metadata$
|
|
82010
|
+
const type$18 = "com.shwfed.actions.button.state.write";
|
|
82011
|
+
const compatibilityDate$18 = "2026-05-24";
|
|
82012
|
+
const metadata$18 = {
|
|
82005
82013
|
name: "写入表单状态",
|
|
82006
82014
|
icon: "fluent:document-edit-20-regular"
|
|
82007
82015
|
};
|
|
82008
|
-
function schema$
|
|
82016
|
+
function schema$18(configure) {
|
|
82009
82017
|
const CelRecord = Expression({
|
|
82010
82018
|
configure,
|
|
82011
82019
|
resultType: (t) => t === "dyn" || t.startsWith("map")
|
|
82012
82020
|
});
|
|
82013
82021
|
return Struct({
|
|
82014
|
-
type: Literal2(type$
|
|
82015
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
82022
|
+
type: Literal2(type$18),
|
|
82023
|
+
compatibilityDate: Literal2(compatibilityDate$18),
|
|
82016
82024
|
expression: CelRecord.annotations({
|
|
82017
82025
|
title: "写入值",
|
|
82018
82026
|
description: md`
|
|
@@ -82032,25 +82040,25 @@ function schema$17(configure) {
|
|
|
82032
82040
|
}
|
|
82033
82041
|
const __vite_glob_0_7$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
82034
82042
|
__proto__: null,
|
|
82035
|
-
compatibilityDate: compatibilityDate$
|
|
82036
|
-
metadata: metadata$
|
|
82037
|
-
schema: schema$
|
|
82038
|
-
type: type$
|
|
82043
|
+
compatibilityDate: compatibilityDate$18,
|
|
82044
|
+
metadata: metadata$18,
|
|
82045
|
+
schema: schema$18,
|
|
82046
|
+
type: type$18
|
|
82039
82047
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
82040
|
-
const type$
|
|
82041
|
-
const compatibilityDate$
|
|
82042
|
-
const metadata$
|
|
82048
|
+
const type$17 = "com.shwfed.actions.item.markdown";
|
|
82049
|
+
const compatibilityDate$17 = "2026-05-21";
|
|
82050
|
+
const metadata$17 = {
|
|
82043
82051
|
name: "内联 Markdown",
|
|
82044
82052
|
icon: "fluent:markdown-20-regular"
|
|
82045
82053
|
};
|
|
82046
|
-
function schema$
|
|
82054
|
+
function schema$17(_configure) {
|
|
82047
82055
|
return Struct({
|
|
82048
82056
|
id: UUID.annotations({ description: "Markdown 项唯一标识" }),
|
|
82049
82057
|
// Present when the item sits at group level; absent when it lives as a
|
|
82050
82058
|
// dropdown sub-item (the parent is the dropdown itself).
|
|
82051
82059
|
groupId: optional(UUID.annotations({ description: "所属按钮组标识" })),
|
|
82052
|
-
type: Literal2(type$
|
|
82053
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
82060
|
+
type: Literal2(type$17),
|
|
82061
|
+
compatibilityDate: Literal2(compatibilityDate$17),
|
|
82054
82062
|
name: String$.annotations({
|
|
82055
82063
|
title: "内部名称",
|
|
82056
82064
|
description: "仅用于编辑器内识别该 Markdown 项,不会展示给最终用户"
|
|
@@ -82066,10 +82074,10 @@ function schema$16(_configure) {
|
|
|
82066
82074
|
}
|
|
82067
82075
|
const __vite_glob_3_0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
82068
82076
|
__proto__: null,
|
|
82069
|
-
compatibilityDate: compatibilityDate$
|
|
82070
|
-
metadata: metadata$
|
|
82071
|
-
schema: schema$
|
|
82072
|
-
type: type$
|
|
82077
|
+
compatibilityDate: compatibilityDate$17,
|
|
82078
|
+
metadata: metadata$17,
|
|
82079
|
+
schema: schema$17,
|
|
82080
|
+
type: type$17
|
|
82073
82081
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
82074
82082
|
function defineRegistry(options) {
|
|
82075
82083
|
const {
|
|
@@ -82141,7 +82149,7 @@ const schemaModules$3 = /* @__PURE__ */ Object.assign({
|
|
|
82141
82149
|
"../buttons/2026-04-21/com.shwfed.actions.button.navigation/schema.ts": __vite_glob_0_3$3,
|
|
82142
82150
|
"../buttons/2026-05-11/com.shwfed.actions.button.modal.layout/schema.ts": __vite_glob_0_4$3,
|
|
82143
82151
|
"../buttons/2026-05-15/com.shwfed.actions.button.event.dispatch/schema.ts": __vite_glob_0_5$3,
|
|
82144
|
-
"../buttons/2026-05-21/com.shwfed.actions.button.http.download/schema.ts": __vite_glob_0_6$
|
|
82152
|
+
"../buttons/2026-05-21/com.shwfed.actions.button.http.download/schema.ts": __vite_glob_0_6$3,
|
|
82145
82153
|
"../buttons/2026-05-24/com.shwfed.actions.button.state.write/schema.ts": __vite_glob_0_7$2
|
|
82146
82154
|
});
|
|
82147
82155
|
const configModuleLoaders = /* @__PURE__ */ Object.assign({
|
|
@@ -82441,20 +82449,20 @@ function defaultActionsConfig() {
|
|
|
82441
82449
|
items: []
|
|
82442
82450
|
};
|
|
82443
82451
|
}
|
|
82444
|
-
const type$
|
|
82445
|
-
const compatibilityDate$
|
|
82446
|
-
const metadata$
|
|
82452
|
+
const type$16 = "com.shwfed.block.actions";
|
|
82453
|
+
const compatibilityDate$16 = "2026-05-06";
|
|
82454
|
+
const metadata$16 = {
|
|
82447
82455
|
name: "操作按钮",
|
|
82448
82456
|
icon: "fluent:cursor-click-20-regular",
|
|
82449
82457
|
w: { initial: 8, min: 8, max: Infinity },
|
|
82450
82458
|
h: { initial: 2, min: 2, max: Infinity }
|
|
82451
82459
|
};
|
|
82452
|
-
function schema$
|
|
82460
|
+
function schema$16(configure, _blockRef) {
|
|
82453
82461
|
const ActionsSchema = ActionsConfig(configure);
|
|
82454
82462
|
return Struct({
|
|
82455
82463
|
id: UUID.annotations({ description: "块唯一标识" }),
|
|
82456
|
-
type: tag(type$
|
|
82457
|
-
compatibilityDate: tag(compatibilityDate$
|
|
82464
|
+
type: tag(type$16),
|
|
82465
|
+
compatibilityDate: tag(compatibilityDate$16),
|
|
82458
82466
|
actions: ActionsSchema.annotations({
|
|
82459
82467
|
title: "操作按钮配置",
|
|
82460
82468
|
description: "内嵌的 Actions 组件配置"
|
|
@@ -82464,16 +82472,16 @@ function schema$15(configure, _blockRef) {
|
|
|
82464
82472
|
description: "将一组 Actions 按钮作为页面块嵌入"
|
|
82465
82473
|
});
|
|
82466
82474
|
}
|
|
82467
|
-
function defaultBody$
|
|
82475
|
+
function defaultBody$6() {
|
|
82468
82476
|
return { actions: defaultActionsConfig() };
|
|
82469
82477
|
}
|
|
82470
82478
|
const __vite_glob_0_0$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
82471
82479
|
__proto__: null,
|
|
82472
|
-
compatibilityDate: compatibilityDate$
|
|
82473
|
-
defaultBody: defaultBody$
|
|
82474
|
-
metadata: metadata$
|
|
82475
|
-
schema: schema$
|
|
82476
|
-
type: type$
|
|
82480
|
+
compatibilityDate: compatibilityDate$16,
|
|
82481
|
+
defaultBody: defaultBody$6,
|
|
82482
|
+
metadata: metadata$16,
|
|
82483
|
+
schema: schema$16,
|
|
82484
|
+
type: type$16
|
|
82477
82485
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
82478
82486
|
function validationRuleStruct(configure) {
|
|
82479
82487
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
@@ -82558,18 +82566,18 @@ function derivedField(configure, resultType) {
|
|
|
82558
82566
|
})
|
|
82559
82567
|
);
|
|
82560
82568
|
}
|
|
82561
|
-
const type$
|
|
82562
|
-
const compatibilityDate$
|
|
82563
|
-
const metadata$
|
|
82569
|
+
const type$15 = "com.shwfed.form.field.markdown";
|
|
82570
|
+
const compatibilityDate$15 = "2026-04-22";
|
|
82571
|
+
const metadata$15 = {
|
|
82564
82572
|
name: "Markdown",
|
|
82565
82573
|
icon: "fluent:markdown-20-regular",
|
|
82566
82574
|
w: { initial: 8, min: 2, max: Infinity },
|
|
82567
82575
|
h: { initial: 2, min: 2, max: Infinity }
|
|
82568
82576
|
};
|
|
82569
|
-
function schema$
|
|
82577
|
+
function schema$15(configure) {
|
|
82570
82578
|
return Struct({
|
|
82571
|
-
type: Literal2(type$
|
|
82572
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
82579
|
+
type: Literal2(type$15),
|
|
82580
|
+
compatibilityDate: Literal2(compatibilityDate$15),
|
|
82573
82581
|
...commonFieldFields(configure),
|
|
82574
82582
|
content: Locale.annotations({
|
|
82575
82583
|
title: "内容",
|
|
@@ -82582,24 +82590,24 @@ function schema$14(configure) {
|
|
|
82582
82590
|
}
|
|
82583
82591
|
const __vite_glob_0_0$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
82584
82592
|
__proto__: null,
|
|
82585
|
-
compatibilityDate: compatibilityDate$
|
|
82586
|
-
metadata: metadata$
|
|
82587
|
-
schema: schema$
|
|
82588
|
-
type: type$
|
|
82593
|
+
compatibilityDate: compatibilityDate$15,
|
|
82594
|
+
metadata: metadata$15,
|
|
82595
|
+
schema: schema$15,
|
|
82596
|
+
type: type$15
|
|
82589
82597
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
82590
|
-
const type$
|
|
82591
|
-
const compatibilityDate$
|
|
82592
|
-
const metadata$
|
|
82598
|
+
const type$14 = "com.shwfed.form.field.text";
|
|
82599
|
+
const compatibilityDate$14 = "2026-04-22";
|
|
82600
|
+
const metadata$14 = {
|
|
82593
82601
|
name: "文本输入",
|
|
82594
82602
|
icon: "fluent:text-field-20-regular",
|
|
82595
82603
|
w: { initial: 8, min: 4, max: Infinity },
|
|
82596
82604
|
h: { initial: 2, min: 2, max: 2 }
|
|
82597
82605
|
};
|
|
82598
|
-
function schema$
|
|
82606
|
+
function schema$14(configure) {
|
|
82599
82607
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
82600
82608
|
return Struct({
|
|
82601
|
-
type: Literal2(type$
|
|
82602
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
82609
|
+
type: Literal2(type$14),
|
|
82610
|
+
compatibilityDate: Literal2(compatibilityDate$14),
|
|
82603
82611
|
...commonFieldFields(configure),
|
|
82604
82612
|
label: optional(Locale.annotations({
|
|
82605
82613
|
title: "标签",
|
|
@@ -82634,24 +82642,24 @@ function schema$13(configure) {
|
|
|
82634
82642
|
}
|
|
82635
82643
|
const __vite_glob_0_1$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
82636
82644
|
__proto__: null,
|
|
82637
|
-
compatibilityDate: compatibilityDate$
|
|
82638
|
-
metadata: metadata$
|
|
82639
|
-
schema: schema$
|
|
82640
|
-
type: type$
|
|
82645
|
+
compatibilityDate: compatibilityDate$14,
|
|
82646
|
+
metadata: metadata$14,
|
|
82647
|
+
schema: schema$14,
|
|
82648
|
+
type: type$14
|
|
82641
82649
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
82642
|
-
const type$
|
|
82643
|
-
const compatibilityDate$
|
|
82644
|
-
const metadata$
|
|
82650
|
+
const type$13 = "com.shwfed.form.field.textarea";
|
|
82651
|
+
const compatibilityDate$13 = "2026-04-22";
|
|
82652
|
+
const metadata$13 = {
|
|
82645
82653
|
name: "多行文本输入",
|
|
82646
82654
|
icon: "fluent:text-description-20-regular",
|
|
82647
82655
|
w: { initial: 8, min: 4, max: Infinity },
|
|
82648
82656
|
h: { initial: 3, min: 2, max: Infinity, grow: true }
|
|
82649
82657
|
};
|
|
82650
|
-
function schema$
|
|
82658
|
+
function schema$13(configure) {
|
|
82651
82659
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
82652
82660
|
return Struct({
|
|
82653
|
-
type: Literal2(type$
|
|
82654
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
82661
|
+
type: Literal2(type$13),
|
|
82662
|
+
compatibilityDate: Literal2(compatibilityDate$13),
|
|
82655
82663
|
...commonFieldFields(configure),
|
|
82656
82664
|
label: optional(Locale.annotations({
|
|
82657
82665
|
title: "标签",
|
|
@@ -82690,25 +82698,25 @@ function schema$12(configure) {
|
|
|
82690
82698
|
}
|
|
82691
82699
|
const __vite_glob_0_2$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
82692
82700
|
__proto__: null,
|
|
82693
|
-
compatibilityDate: compatibilityDate$
|
|
82694
|
-
metadata: metadata$
|
|
82695
|
-
schema: schema$
|
|
82696
|
-
type: type$
|
|
82701
|
+
compatibilityDate: compatibilityDate$13,
|
|
82702
|
+
metadata: metadata$13,
|
|
82703
|
+
schema: schema$13,
|
|
82704
|
+
type: type$13
|
|
82697
82705
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
82698
|
-
const type$
|
|
82699
|
-
const compatibilityDate$
|
|
82700
|
-
const metadata$
|
|
82706
|
+
const type$12 = "com.shwfed.form.field.actions";
|
|
82707
|
+
const compatibilityDate$12 = "2026-04-24";
|
|
82708
|
+
const metadata$12 = {
|
|
82701
82709
|
name: "操作",
|
|
82702
82710
|
icon: "fluent:cursor-click-20-regular",
|
|
82703
82711
|
w: { initial: 8, min: 4, max: Infinity },
|
|
82704
82712
|
h: { initial: 2, min: 2, max: Infinity }
|
|
82705
82713
|
};
|
|
82706
|
-
function schema$
|
|
82714
|
+
function schema$12(configure) {
|
|
82707
82715
|
const { fields: actionFields } = ActionSchemaFields(configure);
|
|
82708
82716
|
const { size: _size, groups, items: items2, ...rest } = actionFields;
|
|
82709
82717
|
return Struct({
|
|
82710
|
-
type: Literal2(type$
|
|
82711
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
82718
|
+
type: Literal2(type$12),
|
|
82719
|
+
compatibilityDate: Literal2(compatibilityDate$12),
|
|
82712
82720
|
...commonFieldFields(configure),
|
|
82713
82721
|
...rest,
|
|
82714
82722
|
// Form's add-field factory creates new fields with only { type, compatibilityDate, id },
|
|
@@ -82722,14 +82730,14 @@ function schema$11(configure) {
|
|
|
82722
82730
|
}
|
|
82723
82731
|
const __vite_glob_0_3$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
82724
82732
|
__proto__: null,
|
|
82725
|
-
compatibilityDate: compatibilityDate$
|
|
82726
|
-
metadata: metadata$
|
|
82727
|
-
schema: schema$
|
|
82728
|
-
type: type$
|
|
82733
|
+
compatibilityDate: compatibilityDate$12,
|
|
82734
|
+
metadata: metadata$12,
|
|
82735
|
+
schema: schema$12,
|
|
82736
|
+
type: type$12
|
|
82729
82737
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
82730
|
-
const type$
|
|
82731
|
-
const compatibilityDate$
|
|
82732
|
-
const metadata$
|
|
82738
|
+
const type$11 = "com.shwfed.form.field.combobox.single";
|
|
82739
|
+
const compatibilityDate$11 = "2026-04-24";
|
|
82740
|
+
const metadata$11 = {
|
|
82733
82741
|
name: "下拉单选",
|
|
82734
82742
|
icon: "fluent:chevron-down-20-regular",
|
|
82735
82743
|
w: { initial: 8, min: 4, max: Infinity },
|
|
@@ -82742,14 +82750,14 @@ function configureWithOption$4(configure) {
|
|
|
82742
82750
|
};
|
|
82743
82751
|
}
|
|
82744
82752
|
const isListType$d = (actual) => actual === "dyn" || actual.startsWith("list");
|
|
82745
|
-
function schema$
|
|
82753
|
+
function schema$11(configure) {
|
|
82746
82754
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
82747
82755
|
const CelOptions = Expression({ configure, resultType: isListType$d });
|
|
82748
82756
|
const CelOptionValue = Expression({ configure: configureWithOption$4(configure), resultType: "dyn" });
|
|
82749
82757
|
const LocaleOptionLabel = LocaleMarkdown({ configure: configureWithOption$4(configure) });
|
|
82750
82758
|
return Struct({
|
|
82751
|
-
type: Literal2(type$
|
|
82752
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
82759
|
+
type: Literal2(type$11),
|
|
82760
|
+
compatibilityDate: Literal2(compatibilityDate$11),
|
|
82753
82761
|
...commonFieldFields(configure),
|
|
82754
82762
|
label: optional(Locale.annotations({
|
|
82755
82763
|
title: "标签",
|
|
@@ -82796,14 +82804,14 @@ function schema$10(configure) {
|
|
|
82796
82804
|
}
|
|
82797
82805
|
const __vite_glob_0_4$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
82798
82806
|
__proto__: null,
|
|
82799
|
-
compatibilityDate: compatibilityDate$
|
|
82800
|
-
metadata: metadata$
|
|
82801
|
-
schema: schema$
|
|
82802
|
-
type: type$
|
|
82807
|
+
compatibilityDate: compatibilityDate$11,
|
|
82808
|
+
metadata: metadata$11,
|
|
82809
|
+
schema: schema$11,
|
|
82810
|
+
type: type$11
|
|
82803
82811
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
82804
|
-
const type
|
|
82805
|
-
const compatibilityDate
|
|
82806
|
-
const metadata
|
|
82812
|
+
const type$10 = "com.shwfed.form.field.date";
|
|
82813
|
+
const compatibilityDate$10 = "2026-04-27";
|
|
82814
|
+
const metadata$10 = {
|
|
82807
82815
|
name: "日期",
|
|
82808
82816
|
icon: "fluent:calendar-ltr-20-regular",
|
|
82809
82817
|
w: { initial: 8, min: 4, max: Infinity },
|
|
@@ -82825,12 +82833,12 @@ function presetSchema$5(configure) {
|
|
|
82825
82833
|
title: "DateFieldPreset"
|
|
82826
82834
|
});
|
|
82827
82835
|
}
|
|
82828
|
-
function schema
|
|
82836
|
+
function schema$10(configure) {
|
|
82829
82837
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
82830
82838
|
const Preset = presetSchema$5(configure);
|
|
82831
82839
|
return Struct({
|
|
82832
|
-
type: Literal2(type
|
|
82833
|
-
compatibilityDate: Literal2(compatibilityDate
|
|
82840
|
+
type: Literal2(type$10),
|
|
82841
|
+
compatibilityDate: Literal2(compatibilityDate$10),
|
|
82834
82842
|
...commonFieldFields(configure),
|
|
82835
82843
|
label: optional(Locale.annotations({
|
|
82836
82844
|
title: "标签",
|
|
@@ -82877,14 +82885,14 @@ function schema$$(configure) {
|
|
|
82877
82885
|
}
|
|
82878
82886
|
const __vite_glob_0_5$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
82879
82887
|
__proto__: null,
|
|
82880
|
-
compatibilityDate: compatibilityDate
|
|
82881
|
-
metadata: metadata
|
|
82888
|
+
compatibilityDate: compatibilityDate$10,
|
|
82889
|
+
metadata: metadata$10,
|
|
82882
82890
|
presetSchema: presetSchema$5,
|
|
82883
|
-
schema: schema
|
|
82884
|
-
type: type
|
|
82891
|
+
schema: schema$10,
|
|
82892
|
+
type: type$10
|
|
82885
82893
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
82886
|
-
const type
|
|
82887
|
-
const compatibilityDate
|
|
82894
|
+
const type$$ = "com.shwfed.form.field.daterange";
|
|
82895
|
+
const compatibilityDate$$ = "2026-04-27";
|
|
82888
82896
|
const BindingPath$4 = String$.pipe(minLength(1));
|
|
82889
82897
|
const SplitBinding$4 = Tuple(BindingPath$4, BindingPath$4).pipe(
|
|
82890
82898
|
filter(([a, b]) => a !== b, {
|
|
@@ -82895,7 +82903,7 @@ const bindingSchema$4 = Union2(BindingPath$4, SplitBinding$4).annotations({
|
|
|
82895
82903
|
title: "绑定路径",
|
|
82896
82904
|
description: "写入表单状态的 `dot-prop` 路径;填写单个路径时写入 `[start, end]` 字符串数组,例如 `event.range`;填写 `[起始路径, 结束路径]` 元组时分别写入两端;留空则为非受控字段"
|
|
82897
82905
|
});
|
|
82898
|
-
const metadata
|
|
82906
|
+
const metadata$$ = {
|
|
82899
82907
|
name: "日期范围",
|
|
82900
82908
|
icon: "fluent:calendar-arrow-right-20-regular",
|
|
82901
82909
|
w: { initial: 10, min: 10, max: Infinity },
|
|
@@ -82921,12 +82929,12 @@ function presetSchema$4(configure) {
|
|
|
82921
82929
|
title: "DateRangeFieldPreset"
|
|
82922
82930
|
});
|
|
82923
82931
|
}
|
|
82924
|
-
function schema
|
|
82932
|
+
function schema$$(configure) {
|
|
82925
82933
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
82926
82934
|
const Preset = presetSchema$4(configure);
|
|
82927
82935
|
return Struct({
|
|
82928
|
-
type: Literal2(type
|
|
82929
|
-
compatibilityDate: Literal2(compatibilityDate
|
|
82936
|
+
type: Literal2(type$$),
|
|
82937
|
+
compatibilityDate: Literal2(compatibilityDate$$),
|
|
82930
82938
|
...commonFieldFields(configure),
|
|
82931
82939
|
label: optional(Locale.annotations({
|
|
82932
82940
|
title: "标签",
|
|
@@ -82983,18 +82991,18 @@ function schema$_(configure) {
|
|
|
82983
82991
|
function defaults$x() {
|
|
82984
82992
|
return { rangeSeparatorIcon: "fluent:arrow-right-20-regular" };
|
|
82985
82993
|
}
|
|
82986
|
-
const __vite_glob_0_6$
|
|
82994
|
+
const __vite_glob_0_6$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
82987
82995
|
__proto__: null,
|
|
82988
|
-
compatibilityDate: compatibilityDate
|
|
82996
|
+
compatibilityDate: compatibilityDate$$,
|
|
82989
82997
|
defaults: defaults$x,
|
|
82990
|
-
metadata: metadata
|
|
82998
|
+
metadata: metadata$$,
|
|
82991
82999
|
presetSchema: presetSchema$4,
|
|
82992
|
-
schema: schema
|
|
82993
|
-
type: type
|
|
83000
|
+
schema: schema$$,
|
|
83001
|
+
type: type$$
|
|
82994
83002
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
82995
|
-
const type$
|
|
82996
|
-
const compatibilityDate$
|
|
82997
|
-
const metadata$
|
|
83003
|
+
const type$_ = "com.shwfed.form.field.datetime";
|
|
83004
|
+
const compatibilityDate$_ = "2026-04-27";
|
|
83005
|
+
const metadata$_ = {
|
|
82998
83006
|
name: "日期时间",
|
|
82999
83007
|
icon: "fluent:calendar-clock-20-regular",
|
|
83000
83008
|
w: { initial: 8, min: 4, max: Infinity },
|
|
@@ -83026,12 +83034,12 @@ function presetSchema$3(configure) {
|
|
|
83026
83034
|
title: "DateTimeFieldPreset"
|
|
83027
83035
|
});
|
|
83028
83036
|
}
|
|
83029
|
-
function schema$
|
|
83037
|
+
function schema$_(configure) {
|
|
83030
83038
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
83031
83039
|
const Preset = presetSchema$3(configure);
|
|
83032
83040
|
return Struct({
|
|
83033
|
-
type: Literal2(type$
|
|
83034
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
83041
|
+
type: Literal2(type$_),
|
|
83042
|
+
compatibilityDate: Literal2(compatibilityDate$_),
|
|
83035
83043
|
...commonFieldFields(configure),
|
|
83036
83044
|
label: optional(Locale.annotations({
|
|
83037
83045
|
title: "标签",
|
|
@@ -83089,14 +83097,14 @@ const __vite_glob_0_7$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
|
|
|
83089
83097
|
HOUR_CYCLE_OPTIONS: HOUR_CYCLE_OPTIONS$3,
|
|
83090
83098
|
TIME_GRANULARITIES: TIME_GRANULARITIES$3,
|
|
83091
83099
|
TIME_GRANULARITY_OPTIONS: TIME_GRANULARITY_OPTIONS$3,
|
|
83092
|
-
compatibilityDate: compatibilityDate$
|
|
83093
|
-
metadata: metadata$
|
|
83100
|
+
compatibilityDate: compatibilityDate$_,
|
|
83101
|
+
metadata: metadata$_,
|
|
83094
83102
|
presetSchema: presetSchema$3,
|
|
83095
|
-
schema: schema$
|
|
83096
|
-
type: type$
|
|
83103
|
+
schema: schema$_,
|
|
83104
|
+
type: type$_
|
|
83097
83105
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
83098
|
-
const type$
|
|
83099
|
-
const compatibilityDate$
|
|
83106
|
+
const type$Z = "com.shwfed.form.field.datetimerange";
|
|
83107
|
+
const compatibilityDate$Z = "2026-04-27";
|
|
83100
83108
|
const BindingPath$3 = String$.pipe(minLength(1));
|
|
83101
83109
|
const SplitBinding$3 = Tuple(BindingPath$3, BindingPath$3).pipe(
|
|
83102
83110
|
filter(([a, b]) => a !== b, {
|
|
@@ -83107,7 +83115,7 @@ const bindingSchema$3 = Union2(BindingPath$3, SplitBinding$3).annotations({
|
|
|
83107
83115
|
title: "绑定路径",
|
|
83108
83116
|
description: "写入表单状态的 `dot-prop` 路径;填写单个路径时写入 `[start, end]` 字符串数组,例如 `event.range`;填写 `[起始路径, 结束路径]` 元组时分别写入两端;留空则为非受控字段"
|
|
83109
83117
|
});
|
|
83110
|
-
const metadata$
|
|
83118
|
+
const metadata$Z = {
|
|
83111
83119
|
name: "日期时间范围",
|
|
83112
83120
|
icon: "fluent:calendar-clock-20-regular",
|
|
83113
83121
|
w: { initial: 14, min: 14, max: Infinity },
|
|
@@ -83143,12 +83151,12 @@ function presetSchema$2(configure) {
|
|
|
83143
83151
|
title: "DateTimeRangeFieldPreset"
|
|
83144
83152
|
});
|
|
83145
83153
|
}
|
|
83146
|
-
function schema$
|
|
83154
|
+
function schema$Z(configure) {
|
|
83147
83155
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
83148
83156
|
const Preset = presetSchema$2(configure);
|
|
83149
83157
|
return Struct({
|
|
83150
|
-
type: Literal2(type$
|
|
83151
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
83158
|
+
type: Literal2(type$Z),
|
|
83159
|
+
compatibilityDate: Literal2(compatibilityDate$Z),
|
|
83152
83160
|
...commonFieldFields(configure),
|
|
83153
83161
|
label: optional(Locale.annotations({
|
|
83154
83162
|
title: "标签",
|
|
@@ -83218,16 +83226,16 @@ const __vite_glob_0_8$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
|
|
|
83218
83226
|
HOUR_CYCLE_OPTIONS: HOUR_CYCLE_OPTIONS$2,
|
|
83219
83227
|
TIME_GRANULARITIES: TIME_GRANULARITIES$2,
|
|
83220
83228
|
TIME_GRANULARITY_OPTIONS: TIME_GRANULARITY_OPTIONS$2,
|
|
83221
|
-
compatibilityDate: compatibilityDate$
|
|
83229
|
+
compatibilityDate: compatibilityDate$Z,
|
|
83222
83230
|
defaults: defaults$w,
|
|
83223
|
-
metadata: metadata$
|
|
83231
|
+
metadata: metadata$Z,
|
|
83224
83232
|
presetSchema: presetSchema$2,
|
|
83225
|
-
schema: schema$
|
|
83226
|
-
type: type$
|
|
83233
|
+
schema: schema$Z,
|
|
83234
|
+
type: type$Z
|
|
83227
83235
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
83228
|
-
const type$
|
|
83229
|
-
const compatibilityDate$
|
|
83230
|
-
const metadata$
|
|
83236
|
+
const type$Y = "com.shwfed.form.field.time";
|
|
83237
|
+
const compatibilityDate$Y = "2026-04-27";
|
|
83238
|
+
const metadata$Y = {
|
|
83231
83239
|
name: "时间",
|
|
83232
83240
|
icon: "fluent:clock-20-regular",
|
|
83233
83241
|
w: { initial: 8, min: 4, max: Infinity },
|
|
@@ -83243,11 +83251,11 @@ const HOUR_CYCLE_OPTIONS$1 = [
|
|
|
83243
83251
|
{ value: 24, label: "24 小时制" },
|
|
83244
83252
|
{ value: 12, label: "12 小时制" }
|
|
83245
83253
|
];
|
|
83246
|
-
function schema$
|
|
83254
|
+
function schema$Y(configure) {
|
|
83247
83255
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
83248
83256
|
return Struct({
|
|
83249
|
-
type: Literal2(type$
|
|
83250
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
83257
|
+
type: Literal2(type$Y),
|
|
83258
|
+
compatibilityDate: Literal2(compatibilityDate$Y),
|
|
83251
83259
|
...commonFieldFields(configure),
|
|
83252
83260
|
label: optional(Locale.annotations({
|
|
83253
83261
|
title: "标签",
|
|
@@ -83293,13 +83301,13 @@ const __vite_glob_0_9$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
|
|
|
83293
83301
|
HOUR_CYCLE_OPTIONS: HOUR_CYCLE_OPTIONS$1,
|
|
83294
83302
|
TIME_GRANULARITIES: TIME_GRANULARITIES$1,
|
|
83295
83303
|
TIME_GRANULARITY_OPTIONS: TIME_GRANULARITY_OPTIONS$1,
|
|
83296
|
-
compatibilityDate: compatibilityDate$
|
|
83297
|
-
metadata: metadata$
|
|
83298
|
-
schema: schema$
|
|
83299
|
-
type: type$
|
|
83304
|
+
compatibilityDate: compatibilityDate$Y,
|
|
83305
|
+
metadata: metadata$Y,
|
|
83306
|
+
schema: schema$Y,
|
|
83307
|
+
type: type$Y
|
|
83300
83308
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
83301
|
-
const type$
|
|
83302
|
-
const compatibilityDate$
|
|
83309
|
+
const type$X = "com.shwfed.form.field.timerange";
|
|
83310
|
+
const compatibilityDate$X = "2026-04-27";
|
|
83303
83311
|
const BindingPath$2 = String$.pipe(minLength(1));
|
|
83304
83312
|
const SplitBinding$2 = Tuple(BindingPath$2, BindingPath$2).pipe(
|
|
83305
83313
|
filter(([a, b]) => a !== b, {
|
|
@@ -83310,7 +83318,7 @@ const bindingSchema$2 = Union2(BindingPath$2, SplitBinding$2).annotations({
|
|
|
83310
83318
|
title: "绑定路径",
|
|
83311
83319
|
description: "写入表单状态的 `dot-prop` 路径;填写单个路径时写入 `[start, end]` 字符串数组,例如 `meeting.timeRange`;填写 `[起始路径, 结束路径]` 元组时分别写入两端;留空则为非受控字段"
|
|
83312
83320
|
});
|
|
83313
|
-
const metadata$
|
|
83321
|
+
const metadata$X = {
|
|
83314
83322
|
name: "时间范围",
|
|
83315
83323
|
icon: "fluent:clock-arrow-download-20-regular",
|
|
83316
83324
|
w: { initial: 14, min: 14, max: Infinity },
|
|
@@ -83326,11 +83334,11 @@ const HOUR_CYCLE_OPTIONS = [
|
|
|
83326
83334
|
{ value: 24, label: "24 小时制" },
|
|
83327
83335
|
{ value: 12, label: "12 小时制" }
|
|
83328
83336
|
];
|
|
83329
|
-
function schema$
|
|
83337
|
+
function schema$X(configure) {
|
|
83330
83338
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
83331
83339
|
return Struct({
|
|
83332
|
-
type: Literal2(type$
|
|
83333
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
83340
|
+
type: Literal2(type$X),
|
|
83341
|
+
compatibilityDate: Literal2(compatibilityDate$X),
|
|
83334
83342
|
...commonFieldFields(configure),
|
|
83335
83343
|
label: optional(Locale.annotations({
|
|
83336
83344
|
title: "标签",
|
|
@@ -83380,26 +83388,26 @@ const __vite_glob_0_10$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.
|
|
|
83380
83388
|
HOUR_CYCLE_OPTIONS,
|
|
83381
83389
|
TIME_GRANULARITIES,
|
|
83382
83390
|
TIME_GRANULARITY_OPTIONS,
|
|
83383
|
-
compatibilityDate: compatibilityDate$
|
|
83391
|
+
compatibilityDate: compatibilityDate$X,
|
|
83384
83392
|
defaults: defaults$v,
|
|
83385
|
-
metadata: metadata$
|
|
83386
|
-
schema: schema$
|
|
83387
|
-
type: type$
|
|
83393
|
+
metadata: metadata$X,
|
|
83394
|
+
schema: schema$X,
|
|
83395
|
+
type: type$X
|
|
83388
83396
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
83389
|
-
const type$
|
|
83390
|
-
const compatibilityDate$
|
|
83391
|
-
const metadata$
|
|
83397
|
+
const type$W = "com.shwfed.form.field.number";
|
|
83398
|
+
const compatibilityDate$W = "2026-04-28";
|
|
83399
|
+
const metadata$W = {
|
|
83392
83400
|
name: "数值输入",
|
|
83393
83401
|
icon: "fluent:number-symbol-20-regular",
|
|
83394
83402
|
w: { initial: 8, min: 4, max: Infinity },
|
|
83395
83403
|
h: { initial: 2, min: 2, max: 2 }
|
|
83396
83404
|
};
|
|
83397
|
-
function schema$
|
|
83405
|
+
function schema$W(configure) {
|
|
83398
83406
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
83399
83407
|
const CelNumber = Expression({ configure, resultType: "number" });
|
|
83400
83408
|
return Struct({
|
|
83401
|
-
type: Literal2(type$
|
|
83402
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
83409
|
+
type: Literal2(type$W),
|
|
83410
|
+
compatibilityDate: Literal2(compatibilityDate$W),
|
|
83403
83411
|
...commonFieldFields(configure),
|
|
83404
83412
|
label: optional(Locale.annotations({
|
|
83405
83413
|
title: "标签",
|
|
@@ -83458,13 +83466,13 @@ function schema$V(configure) {
|
|
|
83458
83466
|
}
|
|
83459
83467
|
const __vite_glob_0_11$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
83460
83468
|
__proto__: null,
|
|
83461
|
-
compatibilityDate: compatibilityDate$
|
|
83462
|
-
metadata: metadata$
|
|
83463
|
-
schema: schema$
|
|
83464
|
-
type: type$
|
|
83469
|
+
compatibilityDate: compatibilityDate$W,
|
|
83470
|
+
metadata: metadata$W,
|
|
83471
|
+
schema: schema$W,
|
|
83472
|
+
type: type$W
|
|
83465
83473
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
83466
|
-
const type$
|
|
83467
|
-
const compatibilityDate$
|
|
83474
|
+
const type$V = "com.shwfed.form.field.numberrange";
|
|
83475
|
+
const compatibilityDate$V = "2026-04-28";
|
|
83468
83476
|
const BindingPath$1 = String$.pipe(minLength(1));
|
|
83469
83477
|
const SplitBinding$1 = Tuple(BindingPath$1, BindingPath$1).pipe(
|
|
83470
83478
|
filter(([a, b]) => a !== b, {
|
|
@@ -83475,18 +83483,18 @@ const bindingSchema$1 = Union2(BindingPath$1, SplitBinding$1).annotations({
|
|
|
83475
83483
|
title: "绑定路径",
|
|
83476
83484
|
description: "写入表单状态的 `dot-prop` 路径;填写单个路径时写入 `[start, end]` 数值数组,例如 `score.range`;填写 `[起始路径, 结束路径]` 元组时分别写入两端;留空则为非受控字段"
|
|
83477
83485
|
});
|
|
83478
|
-
const metadata$
|
|
83486
|
+
const metadata$V = {
|
|
83479
83487
|
name: "数值范围",
|
|
83480
83488
|
icon: "fluent:arrow-bidirectional-left-right-20-regular",
|
|
83481
83489
|
w: { initial: 8, min: 4, max: Infinity },
|
|
83482
83490
|
h: { initial: 2, min: 2, max: 2 }
|
|
83483
83491
|
};
|
|
83484
|
-
function schema$
|
|
83492
|
+
function schema$V(configure) {
|
|
83485
83493
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
83486
83494
|
const CelNumber = Expression({ configure, resultType: "number" });
|
|
83487
83495
|
return Struct({
|
|
83488
|
-
type: Literal2(type$
|
|
83489
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
83496
|
+
type: Literal2(type$V),
|
|
83497
|
+
compatibilityDate: Literal2(compatibilityDate$V),
|
|
83490
83498
|
...commonFieldFields(configure),
|
|
83491
83499
|
label: optional(Locale.annotations({
|
|
83492
83500
|
title: "标签",
|
|
@@ -83553,25 +83561,25 @@ function defaults$u() {
|
|
|
83553
83561
|
}
|
|
83554
83562
|
const __vite_glob_0_12$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
83555
83563
|
__proto__: null,
|
|
83556
|
-
compatibilityDate: compatibilityDate$
|
|
83564
|
+
compatibilityDate: compatibilityDate$V,
|
|
83557
83565
|
defaults: defaults$u,
|
|
83558
|
-
metadata: metadata$
|
|
83559
|
-
schema: schema$
|
|
83560
|
-
type: type$
|
|
83566
|
+
metadata: metadata$V,
|
|
83567
|
+
schema: schema$V,
|
|
83568
|
+
type: type$V
|
|
83561
83569
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
83562
|
-
const type$
|
|
83563
|
-
const compatibilityDate$
|
|
83564
|
-
const metadata$
|
|
83570
|
+
const type$U = "com.shwfed.form.field.switch";
|
|
83571
|
+
const compatibilityDate$U = "2026-04-28";
|
|
83572
|
+
const metadata$U = {
|
|
83565
83573
|
name: "开关",
|
|
83566
83574
|
icon: "fluent:toggle-left-20-regular",
|
|
83567
83575
|
w: { initial: 4, min: 4, max: Infinity },
|
|
83568
83576
|
h: { initial: 2, min: 2, max: 2 }
|
|
83569
83577
|
};
|
|
83570
|
-
function schema$
|
|
83578
|
+
function schema$U(configure) {
|
|
83571
83579
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
83572
83580
|
return Struct({
|
|
83573
|
-
type: Literal2(type$
|
|
83574
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
83581
|
+
type: Literal2(type$U),
|
|
83582
|
+
compatibilityDate: Literal2(compatibilityDate$U),
|
|
83575
83583
|
...commonFieldFields(configure),
|
|
83576
83584
|
label: optional(Locale.annotations({
|
|
83577
83585
|
title: "标签",
|
|
@@ -83609,10 +83617,10 @@ function schema$T(configure) {
|
|
|
83609
83617
|
}
|
|
83610
83618
|
const __vite_glob_0_13$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
83611
83619
|
__proto__: null,
|
|
83612
|
-
compatibilityDate: compatibilityDate$
|
|
83613
|
-
metadata: metadata$
|
|
83614
|
-
schema: schema$
|
|
83615
|
-
type: type$
|
|
83620
|
+
compatibilityDate: compatibilityDate$U,
|
|
83621
|
+
metadata: metadata$U,
|
|
83622
|
+
schema: schema$U,
|
|
83623
|
+
type: type$U
|
|
83616
83624
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
83617
83625
|
const decodeCache = {};
|
|
83618
83626
|
function getDecodeCache(exclude2) {
|
|
@@ -88863,15 +88871,15 @@ function interpolateMarkdown(template, $cel, context2) {
|
|
|
88863
88871
|
}
|
|
88864
88872
|
});
|
|
88865
88873
|
}
|
|
88866
|
-
const type$
|
|
88867
|
-
const compatibilityDate$
|
|
88868
|
-
const metadata$
|
|
88874
|
+
const type$T = "com.shwfed.form.field.combobox.single";
|
|
88875
|
+
const compatibilityDate$T = "2026-04-29";
|
|
88876
|
+
const metadata$T = {
|
|
88869
88877
|
name: "下拉单选(硬编码)",
|
|
88870
88878
|
icon: "fluent:chevron-down-20-regular",
|
|
88871
88879
|
w: { initial: 8, min: 4, max: Infinity },
|
|
88872
88880
|
h: { initial: 2, min: 2, max: 2 }
|
|
88873
88881
|
};
|
|
88874
|
-
function itemSchema$
|
|
88882
|
+
function itemSchema$f(configure) {
|
|
88875
88883
|
const LocaleMd = LocaleMarkdown({ configure });
|
|
88876
88884
|
const TextValue = Struct({
|
|
88877
88885
|
kind: Literal2("text"),
|
|
@@ -88900,12 +88908,12 @@ function itemSchema$e(configure) {
|
|
|
88900
88908
|
title: "ComboboxSingleItem"
|
|
88901
88909
|
});
|
|
88902
88910
|
}
|
|
88903
|
-
function schema$
|
|
88911
|
+
function schema$T(configure) {
|
|
88904
88912
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
88905
|
-
const Item = itemSchema$
|
|
88913
|
+
const Item = itemSchema$f(configure);
|
|
88906
88914
|
return Struct({
|
|
88907
|
-
type: Literal2(type$
|
|
88908
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
88915
|
+
type: Literal2(type$T),
|
|
88916
|
+
compatibilityDate: Literal2(compatibilityDate$T),
|
|
88909
88917
|
...commonFieldFields(configure),
|
|
88910
88918
|
label: optional(Locale.annotations({
|
|
88911
88919
|
title: "标签",
|
|
@@ -88997,23 +89005,23 @@ const migrate$f = (prev, ctx) => {
|
|
|
88997
89005
|
} = legacy;
|
|
88998
89006
|
return {
|
|
88999
89007
|
...carryover,
|
|
89000
|
-
compatibilityDate: compatibilityDate$
|
|
89008
|
+
compatibilityDate: compatibilityDate$T,
|
|
89001
89009
|
items: items2
|
|
89002
89010
|
};
|
|
89003
89011
|
});
|
|
89004
89012
|
};
|
|
89005
89013
|
const __vite_glob_0_14$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
89006
89014
|
__proto__: null,
|
|
89007
|
-
compatibilityDate: compatibilityDate$
|
|
89008
|
-
itemSchema: itemSchema$
|
|
89009
|
-
metadata: metadata$
|
|
89015
|
+
compatibilityDate: compatibilityDate$T,
|
|
89016
|
+
itemSchema: itemSchema$f,
|
|
89017
|
+
metadata: metadata$T,
|
|
89010
89018
|
migrate: migrate$f,
|
|
89011
|
-
schema: schema$
|
|
89012
|
-
type: type$
|
|
89019
|
+
schema: schema$T,
|
|
89020
|
+
type: type$T
|
|
89013
89021
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
89014
|
-
const type$
|
|
89015
|
-
const compatibilityDate$
|
|
89016
|
-
const metadata$
|
|
89022
|
+
const type$S = "com.shwfed.form.field.upload";
|
|
89023
|
+
const compatibilityDate$S = "2026-05-12";
|
|
89024
|
+
const metadata$S = {
|
|
89017
89025
|
name: "文件上传",
|
|
89018
89026
|
icon: "fluent:cloud-arrow-up-20-regular",
|
|
89019
89027
|
w: { initial: 8, min: 8, max: Infinity },
|
|
@@ -89030,14 +89038,14 @@ function configureWithJson$3(configure) {
|
|
|
89030
89038
|
env.registerVariable("json", JSON_VAR$3.type, { description: JSON_VAR$3.description });
|
|
89031
89039
|
};
|
|
89032
89040
|
}
|
|
89033
|
-
function schema$
|
|
89041
|
+
function schema$S(configure) {
|
|
89034
89042
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
89035
89043
|
const CelHttpRequest = Expression({ configure, resultType: "HttpRequest" });
|
|
89036
89044
|
const CelDownloadRequest = Expression({ configure: configureWithJson$3(configure), resultType: "HttpRequest" });
|
|
89037
89045
|
const LocaleMd = LocaleMarkdown({ configure });
|
|
89038
89046
|
return Struct({
|
|
89039
|
-
type: Literal2(type$
|
|
89040
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
89047
|
+
type: Literal2(type$S),
|
|
89048
|
+
compatibilityDate: Literal2(compatibilityDate$S),
|
|
89041
89049
|
...commonFieldFields(configure),
|
|
89042
89050
|
label: optional(Locale.annotations({
|
|
89043
89051
|
title: "标签",
|
|
@@ -89117,14 +89125,14 @@ function schema$R(configure) {
|
|
|
89117
89125
|
const __vite_glob_0_15$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
89118
89126
|
__proto__: null,
|
|
89119
89127
|
JSON_VAR: JSON_VAR$3,
|
|
89120
|
-
compatibilityDate: compatibilityDate$
|
|
89121
|
-
metadata: metadata$
|
|
89122
|
-
schema: schema$
|
|
89123
|
-
type: type$
|
|
89128
|
+
compatibilityDate: compatibilityDate$S,
|
|
89129
|
+
metadata: metadata$S,
|
|
89130
|
+
schema: schema$S,
|
|
89131
|
+
type: type$S
|
|
89124
89132
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
89125
|
-
const type$
|
|
89126
|
-
const compatibilityDate$
|
|
89127
|
-
const metadata$
|
|
89133
|
+
const type$R = "com.shwfed.form.field.combobox.single.remote";
|
|
89134
|
+
const compatibilityDate$R = "2026-05-13";
|
|
89135
|
+
const metadata$R = {
|
|
89128
89136
|
name: "下拉单选(远程)",
|
|
89129
89137
|
icon: "fluent:cloud-arrow-down-20-regular",
|
|
89130
89138
|
w: { initial: 8, min: 4, max: Infinity },
|
|
@@ -89153,15 +89161,15 @@ function configureWithJson$2(configure) {
|
|
|
89153
89161
|
};
|
|
89154
89162
|
}
|
|
89155
89163
|
const isListType$c = (actual) => actual === "dyn" || actual.startsWith("list");
|
|
89156
|
-
function schema$
|
|
89164
|
+
function schema$R(configure) {
|
|
89157
89165
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
89158
89166
|
const CelHttpRequest = Expression({ configure, resultType: "HttpRequest" });
|
|
89159
89167
|
const CelOptions = Expression({ configure: configureWithJson$2(configure), resultType: isListType$c });
|
|
89160
89168
|
const CelOptionValue = Expression({ configure: configureWithOption$3(configure), resultType: "dyn" });
|
|
89161
89169
|
const LocaleOptionLabel = LocaleMarkdown({ configure: configureWithOption$3(configure) });
|
|
89162
89170
|
return Struct({
|
|
89163
|
-
type: Literal2(type$
|
|
89164
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
89171
|
+
type: Literal2(type$R),
|
|
89172
|
+
compatibilityDate: Literal2(compatibilityDate$R),
|
|
89165
89173
|
...commonFieldFields(configure),
|
|
89166
89174
|
label: optional(Locale.annotations({
|
|
89167
89175
|
title: "标签",
|
|
@@ -89214,20 +89222,20 @@ const __vite_glob_0_16$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.
|
|
|
89214
89222
|
__proto__: null,
|
|
89215
89223
|
JSON_VAR: JSON_VAR$2,
|
|
89216
89224
|
OPTION_VAR: OPTION_VAR$2,
|
|
89217
|
-
compatibilityDate: compatibilityDate$
|
|
89218
|
-
metadata: metadata$
|
|
89219
|
-
schema: schema$
|
|
89220
|
-
type: type$
|
|
89225
|
+
compatibilityDate: compatibilityDate$R,
|
|
89226
|
+
metadata: metadata$R,
|
|
89227
|
+
schema: schema$R,
|
|
89228
|
+
type: type$R
|
|
89221
89229
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
89222
|
-
const type$
|
|
89223
|
-
const compatibilityDate$
|
|
89224
|
-
const metadata$
|
|
89230
|
+
const type$Q = "com.shwfed.form.field.list";
|
|
89231
|
+
const compatibilityDate$Q = "2026-05-13";
|
|
89232
|
+
const metadata$Q = {
|
|
89225
89233
|
name: "列表",
|
|
89226
89234
|
icon: "fluent:list-20-regular",
|
|
89227
89235
|
w: { initial: 12, min: 4, max: Infinity },
|
|
89228
89236
|
h: { initial: 6, min: 4, max: Infinity, grow: true }
|
|
89229
89237
|
};
|
|
89230
|
-
function schema$
|
|
89238
|
+
function schema$Q(configure) {
|
|
89231
89239
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
89232
89240
|
const unitConfigure = (env) => {
|
|
89233
89241
|
configure(env);
|
|
@@ -89241,8 +89249,8 @@ function schema$P(configure) {
|
|
|
89241
89249
|
};
|
|
89242
89250
|
const Unit = suspend(() => FormUnit(unitConfigure));
|
|
89243
89251
|
return Struct({
|
|
89244
|
-
type: Literal2(type$
|
|
89245
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
89252
|
+
type: Literal2(type$Q),
|
|
89253
|
+
compatibilityDate: Literal2(compatibilityDate$Q),
|
|
89246
89254
|
...commonFieldFields(configure),
|
|
89247
89255
|
label: optional(Locale.annotations({
|
|
89248
89256
|
title: "标签",
|
|
@@ -89309,21 +89317,21 @@ function defaults$t() {
|
|
|
89309
89317
|
}
|
|
89310
89318
|
const __vite_glob_0_17$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
89311
89319
|
__proto__: null,
|
|
89312
|
-
compatibilityDate: compatibilityDate$
|
|
89320
|
+
compatibilityDate: compatibilityDate$Q,
|
|
89313
89321
|
defaults: defaults$t,
|
|
89314
|
-
metadata: metadata$
|
|
89315
|
-
schema: schema$
|
|
89316
|
-
type: type$
|
|
89322
|
+
metadata: metadata$Q,
|
|
89323
|
+
schema: schema$Q,
|
|
89324
|
+
type: type$Q
|
|
89317
89325
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
89318
|
-
const type$
|
|
89319
|
-
const compatibilityDate$
|
|
89320
|
-
const metadata$
|
|
89326
|
+
const type$P = "com.shwfed.form.field.checkbox.group";
|
|
89327
|
+
const compatibilityDate$P = "2026-05-17";
|
|
89328
|
+
const metadata$P = {
|
|
89321
89329
|
name: "复选框组",
|
|
89322
89330
|
icon: "fluent:checkbox-checked-20-regular",
|
|
89323
89331
|
w: { initial: 8, min: 2, max: Infinity },
|
|
89324
89332
|
h: { initial: 2, min: 2, max: 2 }
|
|
89325
89333
|
};
|
|
89326
|
-
function itemSchema$
|
|
89334
|
+
function itemSchema$e(configure) {
|
|
89327
89335
|
const LocaleMd = LocaleMarkdown({ configure });
|
|
89328
89336
|
const TextValue = Struct({
|
|
89329
89337
|
kind: Literal2("text"),
|
|
@@ -89352,12 +89360,12 @@ function itemSchema$d(configure) {
|
|
|
89352
89360
|
title: "CheckboxGroupItem"
|
|
89353
89361
|
});
|
|
89354
89362
|
}
|
|
89355
|
-
function schema$
|
|
89363
|
+
function schema$P(configure) {
|
|
89356
89364
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
89357
|
-
const Item = itemSchema$
|
|
89365
|
+
const Item = itemSchema$e(configure);
|
|
89358
89366
|
return Struct({
|
|
89359
|
-
type: Literal2(type$
|
|
89360
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
89367
|
+
type: Literal2(type$P),
|
|
89368
|
+
compatibilityDate: Literal2(compatibilityDate$P),
|
|
89361
89369
|
...commonFieldFields(configure),
|
|
89362
89370
|
label: optional(Locale.annotations({
|
|
89363
89371
|
title: "标签",
|
|
@@ -89391,21 +89399,21 @@ function schema$O(configure) {
|
|
|
89391
89399
|
}
|
|
89392
89400
|
const __vite_glob_0_18$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
89393
89401
|
__proto__: null,
|
|
89394
|
-
compatibilityDate: compatibilityDate$
|
|
89395
|
-
itemSchema: itemSchema$
|
|
89396
|
-
metadata: metadata$
|
|
89397
|
-
schema: schema$
|
|
89398
|
-
type: type$
|
|
89402
|
+
compatibilityDate: compatibilityDate$P,
|
|
89403
|
+
itemSchema: itemSchema$e,
|
|
89404
|
+
metadata: metadata$P,
|
|
89405
|
+
schema: schema$P,
|
|
89406
|
+
type: type$P
|
|
89399
89407
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
89400
|
-
const type$
|
|
89401
|
-
const compatibilityDate$
|
|
89402
|
-
const metadata$
|
|
89408
|
+
const type$O = "com.shwfed.form.field.radio.group";
|
|
89409
|
+
const compatibilityDate$O = "2026-05-17";
|
|
89410
|
+
const metadata$O = {
|
|
89403
89411
|
name: "单选框组",
|
|
89404
89412
|
icon: "fluent:radio-button-20-regular",
|
|
89405
89413
|
w: { initial: 8, min: 2, max: Infinity },
|
|
89406
89414
|
h: { initial: 2, min: 2, max: 2 }
|
|
89407
89415
|
};
|
|
89408
|
-
function itemSchema$
|
|
89416
|
+
function itemSchema$d(configure) {
|
|
89409
89417
|
const LocaleMd = LocaleMarkdown({ configure });
|
|
89410
89418
|
const TextValue = Struct({
|
|
89411
89419
|
kind: Literal2("text"),
|
|
@@ -89434,12 +89442,12 @@ function itemSchema$c(configure) {
|
|
|
89434
89442
|
title: "RadioGroupItem"
|
|
89435
89443
|
});
|
|
89436
89444
|
}
|
|
89437
|
-
function schema$
|
|
89445
|
+
function schema$O(configure) {
|
|
89438
89446
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
89439
|
-
const Item = itemSchema$
|
|
89447
|
+
const Item = itemSchema$d(configure);
|
|
89440
89448
|
return Struct({
|
|
89441
|
-
type: Literal2(type$
|
|
89442
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
89449
|
+
type: Literal2(type$O),
|
|
89450
|
+
compatibilityDate: Literal2(compatibilityDate$O),
|
|
89443
89451
|
...commonFieldFields(configure),
|
|
89444
89452
|
label: optional(Locale.annotations({
|
|
89445
89453
|
title: "标签",
|
|
@@ -89473,11 +89481,11 @@ function schema$N(configure) {
|
|
|
89473
89481
|
}
|
|
89474
89482
|
const __vite_glob_0_19$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
89475
89483
|
__proto__: null,
|
|
89476
|
-
compatibilityDate: compatibilityDate$
|
|
89477
|
-
itemSchema: itemSchema$
|
|
89478
|
-
metadata: metadata$
|
|
89479
|
-
schema: schema$
|
|
89480
|
-
type: type$
|
|
89484
|
+
compatibilityDate: compatibilityDate$O,
|
|
89485
|
+
itemSchema: itemSchema$d,
|
|
89486
|
+
metadata: metadata$O,
|
|
89487
|
+
schema: schema$O,
|
|
89488
|
+
type: type$O
|
|
89481
89489
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
89482
89490
|
const matchIconName = /^[a-z0-9]+(-[a-z0-9]+)*$/;
|
|
89483
89491
|
const stringToIcon = (value, validate2, allowSimpleName, provider = "") => {
|
|
@@ -90969,14 +90977,14 @@ function LocaleMarkdownWithRow(configure) {
|
|
|
90969
90977
|
function derivedRowField(configure, resultType) {
|
|
90970
90978
|
return derivedField(configureWithRow(configure), resultType);
|
|
90971
90979
|
}
|
|
90972
|
-
const type$
|
|
90973
|
-
const compatibilityDate$
|
|
90974
|
-
const metadata$
|
|
90980
|
+
const type$N = "com.shwfed.table.column.actions";
|
|
90981
|
+
const compatibilityDate$N = "2026-04-14";
|
|
90982
|
+
const metadata$N = {
|
|
90975
90983
|
name: "操作",
|
|
90976
90984
|
icon: "fluent:cursor-click-20-regular"
|
|
90977
90985
|
};
|
|
90978
90986
|
const registerRowVariables = registerRowVariablesIfAbsent;
|
|
90979
|
-
function schema$
|
|
90987
|
+
function schema$N(configure) {
|
|
90980
90988
|
const configureWithRow2 = (env) => {
|
|
90981
90989
|
configure(env);
|
|
90982
90990
|
registerRowVariables(env);
|
|
@@ -90984,8 +90992,8 @@ function schema$M(configure) {
|
|
|
90984
90992
|
const { fields: actionFields } = ActionSchemaFields(configureWithRow2);
|
|
90985
90993
|
const { size: _buttonSize, ...actionFieldsForColumn } = actionFields;
|
|
90986
90994
|
return Struct({
|
|
90987
|
-
type: Literal2(type$
|
|
90988
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
90995
|
+
type: Literal2(type$N),
|
|
90996
|
+
compatibilityDate: Literal2(compatibilityDate$N),
|
|
90989
90997
|
...columnIdentityFields(),
|
|
90990
90998
|
title: optional(Locale.annotations({ title: "标题", description: "列标题" })),
|
|
90991
90999
|
size: optional(Number$.pipe(finite(), positive()).annotations({
|
|
@@ -91020,24 +91028,24 @@ function toColumnDef$t(value, { getLocaleText }) {
|
|
|
91020
91028
|
}
|
|
91021
91029
|
const __vite_glob_0_0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
91022
91030
|
__proto__: null,
|
|
91023
|
-
compatibilityDate: compatibilityDate$
|
|
91031
|
+
compatibilityDate: compatibilityDate$N,
|
|
91024
91032
|
defaults: defaults$s,
|
|
91025
|
-
metadata: metadata$
|
|
91033
|
+
metadata: metadata$N,
|
|
91026
91034
|
registerRowVariables,
|
|
91027
|
-
schema: schema$
|
|
91035
|
+
schema: schema$N,
|
|
91028
91036
|
toColumnDef: toColumnDef$t,
|
|
91029
|
-
type: type$
|
|
91037
|
+
type: type$N
|
|
91030
91038
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
91031
|
-
const type$
|
|
91032
|
-
const compatibilityDate$
|
|
91033
|
-
const metadata$
|
|
91039
|
+
const type$M = "com.shwfed.table.column.date";
|
|
91040
|
+
const compatibilityDate$M = "2026-04-14";
|
|
91041
|
+
const metadata$M = {
|
|
91034
91042
|
name: "日期",
|
|
91035
91043
|
icon: "fluent:calendar-ltr-20-regular"
|
|
91036
91044
|
};
|
|
91037
|
-
function schema$
|
|
91045
|
+
function schema$M(configure) {
|
|
91038
91046
|
return Struct({
|
|
91039
|
-
type: Literal2(type$
|
|
91040
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
91047
|
+
type: Literal2(type$M),
|
|
91048
|
+
compatibilityDate: Literal2(compatibilityDate$M),
|
|
91041
91049
|
...columnFields(configure),
|
|
91042
91050
|
align: optionalWith(Align.annotations({ title: "对齐" }), { default: () => "left" }),
|
|
91043
91051
|
format: String$.annotations({
|
|
@@ -91077,23 +91085,23 @@ function toColumnDef$s(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
91077
91085
|
}
|
|
91078
91086
|
const __vite_glob_0_1$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
91079
91087
|
__proto__: null,
|
|
91080
|
-
compatibilityDate: compatibilityDate$
|
|
91088
|
+
compatibilityDate: compatibilityDate$M,
|
|
91081
91089
|
defaults: defaults$r,
|
|
91082
|
-
metadata: metadata$
|
|
91083
|
-
schema: schema$
|
|
91090
|
+
metadata: metadata$M,
|
|
91091
|
+
schema: schema$M,
|
|
91084
91092
|
toColumnDef: toColumnDef$s,
|
|
91085
|
-
type: type$
|
|
91093
|
+
type: type$M
|
|
91086
91094
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
91087
|
-
const type$
|
|
91088
|
-
const compatibilityDate$
|
|
91089
|
-
const metadata$
|
|
91095
|
+
const type$L = "com.shwfed.table.column.icon";
|
|
91096
|
+
const compatibilityDate$L = "2026-04-14";
|
|
91097
|
+
const metadata$L = {
|
|
91090
91098
|
name: "图标",
|
|
91091
91099
|
icon: "fluent:shapes-20-regular"
|
|
91092
91100
|
};
|
|
91093
|
-
function schema$
|
|
91101
|
+
function schema$L(configure) {
|
|
91094
91102
|
return Struct({
|
|
91095
|
-
type: Literal2(type$
|
|
91096
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
91103
|
+
type: Literal2(type$L),
|
|
91104
|
+
compatibilityDate: Literal2(compatibilityDate$L),
|
|
91097
91105
|
...columnFields(configure),
|
|
91098
91106
|
accessor: CelRowAccess(configure).annotations({
|
|
91099
91107
|
title: "图标",
|
|
@@ -91136,26 +91144,26 @@ function toColumnDef$r(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
91136
91144
|
}
|
|
91137
91145
|
const __vite_glob_0_2$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
91138
91146
|
__proto__: null,
|
|
91139
|
-
compatibilityDate: compatibilityDate$
|
|
91147
|
+
compatibilityDate: compatibilityDate$L,
|
|
91140
91148
|
defaults: defaults$q,
|
|
91141
|
-
metadata: metadata$
|
|
91142
|
-
schema: schema$
|
|
91149
|
+
metadata: metadata$L,
|
|
91150
|
+
schema: schema$L,
|
|
91143
91151
|
toColumnDef: toColumnDef$r,
|
|
91144
|
-
type: type$
|
|
91152
|
+
type: type$L
|
|
91145
91153
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
91146
|
-
const type$
|
|
91147
|
-
const compatibilityDate$
|
|
91148
|
-
const metadata$
|
|
91154
|
+
const type$K = "com.shwfed.table.column.markdown";
|
|
91155
|
+
const compatibilityDate$K = "2026-04-14";
|
|
91156
|
+
const metadata$K = {
|
|
91149
91157
|
name: "MD",
|
|
91150
91158
|
icon: "fluent:markdown-20-regular"
|
|
91151
91159
|
};
|
|
91152
91160
|
const isCopyExpressionType$1 = (t) => t === "string" || t === "dyn" || t.startsWith("optional");
|
|
91153
|
-
function schema$
|
|
91161
|
+
function schema$K(configure) {
|
|
91154
91162
|
const cel = CelRowAccess(configure, { resultType: isCopyExpressionType$1 });
|
|
91155
91163
|
const localeMarkdown = LocaleMarkdownWithRow(configure);
|
|
91156
91164
|
return Struct({
|
|
91157
|
-
type: Literal2(type$
|
|
91158
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
91165
|
+
type: Literal2(type$K),
|
|
91166
|
+
compatibilityDate: Literal2(compatibilityDate$K),
|
|
91159
91167
|
...columnIdentityFields(),
|
|
91160
91168
|
title: Locale.annotations({ title: "标题", description: "列标题" }),
|
|
91161
91169
|
align: optionalWith(Align.annotations({ title: "对齐" }), { default: () => "left" }),
|
|
@@ -91201,23 +91209,23 @@ function toColumnDef$q(value, { getLocaleText }) {
|
|
|
91201
91209
|
}
|
|
91202
91210
|
const __vite_glob_0_3$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
91203
91211
|
__proto__: null,
|
|
91204
|
-
compatibilityDate: compatibilityDate$
|
|
91212
|
+
compatibilityDate: compatibilityDate$K,
|
|
91205
91213
|
defaults: defaults$p,
|
|
91206
|
-
metadata: metadata$
|
|
91207
|
-
schema: schema$
|
|
91214
|
+
metadata: metadata$K,
|
|
91215
|
+
schema: schema$K,
|
|
91208
91216
|
toColumnDef: toColumnDef$q,
|
|
91209
|
-
type: type$
|
|
91217
|
+
type: type$K
|
|
91210
91218
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
91211
|
-
const type$
|
|
91212
|
-
const compatibilityDate$
|
|
91213
|
-
const metadata$
|
|
91219
|
+
const type$J = "com.shwfed.table.column.number";
|
|
91220
|
+
const compatibilityDate$J = "2026-04-14";
|
|
91221
|
+
const metadata$J = {
|
|
91214
91222
|
name: "数值",
|
|
91215
91223
|
icon: "fluent:number-symbol-20-regular"
|
|
91216
91224
|
};
|
|
91217
|
-
function schema$
|
|
91225
|
+
function schema$J(configure) {
|
|
91218
91226
|
return Struct({
|
|
91219
|
-
type: Literal2(type$
|
|
91220
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
91227
|
+
type: Literal2(type$J),
|
|
91228
|
+
compatibilityDate: Literal2(compatibilityDate$J),
|
|
91221
91229
|
...columnFields(configure),
|
|
91222
91230
|
align: optionalWith(Align.annotations({ title: "对齐" }), { default: () => "right" }),
|
|
91223
91231
|
displayMode: optionalWith(
|
|
@@ -91266,25 +91274,25 @@ function toColumnDef$p(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
91266
91274
|
}
|
|
91267
91275
|
const __vite_glob_0_4$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
91268
91276
|
__proto__: null,
|
|
91269
|
-
compatibilityDate: compatibilityDate$
|
|
91277
|
+
compatibilityDate: compatibilityDate$J,
|
|
91270
91278
|
defaults: defaults$o,
|
|
91271
|
-
metadata: metadata$
|
|
91272
|
-
schema: schema$
|
|
91279
|
+
metadata: metadata$J,
|
|
91280
|
+
schema: schema$J,
|
|
91273
91281
|
toColumnDef: toColumnDef$p,
|
|
91274
|
-
type: type$
|
|
91282
|
+
type: type$J
|
|
91275
91283
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
91276
|
-
const
|
|
91284
|
+
const __vite_glob_2_6 = {};
|
|
91277
91285
|
const _stubVue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
91278
91286
|
__proto__: null,
|
|
91279
|
-
default:
|
|
91287
|
+
default: __vite_glob_2_6
|
|
91280
91288
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
91281
|
-
const type$
|
|
91282
|
-
const compatibilityDate$
|
|
91283
|
-
const metadata$
|
|
91289
|
+
const type$I = "com.shwfed.table.column.select";
|
|
91290
|
+
const compatibilityDate$I = "2026-04-14";
|
|
91291
|
+
const metadata$I = {
|
|
91284
91292
|
name: "选择",
|
|
91285
91293
|
icon: "fluent:checkbox-checked-20-regular"
|
|
91286
91294
|
};
|
|
91287
|
-
function schema$
|
|
91295
|
+
function schema$I(configure) {
|
|
91288
91296
|
const CelRowSelectionPredicate = Expression({
|
|
91289
91297
|
configure: (env) => {
|
|
91290
91298
|
configure(env);
|
|
@@ -91293,8 +91301,8 @@ function schema$H(configure) {
|
|
|
91293
91301
|
resultType: "bool"
|
|
91294
91302
|
});
|
|
91295
91303
|
return Struct({
|
|
91296
|
-
type: Literal2(type$
|
|
91297
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
91304
|
+
type: Literal2(type$I),
|
|
91305
|
+
compatibilityDate: Literal2(compatibilityDate$I),
|
|
91298
91306
|
...columnIdentityFields(),
|
|
91299
91307
|
mode: optionalWith(Literal2("radio", "checkbox").annotations({
|
|
91300
91308
|
title: "模式",
|
|
@@ -91317,7 +91325,7 @@ function defaults$n() {
|
|
|
91317
91325
|
}
|
|
91318
91326
|
function toColumnDef$o(value) {
|
|
91319
91327
|
return {
|
|
91320
|
-
header: (ctx) => vueExports.h(
|
|
91328
|
+
header: (ctx) => vueExports.h(__vite_glob_2_6, { column: value, ctx }),
|
|
91321
91329
|
size: 40,
|
|
91322
91330
|
enableSorting: false,
|
|
91323
91331
|
enableResizing: false,
|
|
@@ -91326,25 +91334,25 @@ function toColumnDef$o(value) {
|
|
|
91326
91334
|
}
|
|
91327
91335
|
const __vite_glob_0_5$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
91328
91336
|
__proto__: null,
|
|
91329
|
-
compatibilityDate: compatibilityDate$
|
|
91337
|
+
compatibilityDate: compatibilityDate$I,
|
|
91330
91338
|
defaults: defaults$n,
|
|
91331
|
-
metadata: metadata$
|
|
91332
|
-
schema: schema$
|
|
91339
|
+
metadata: metadata$I,
|
|
91340
|
+
schema: schema$I,
|
|
91333
91341
|
toColumnDef: toColumnDef$o,
|
|
91334
|
-
type: type$
|
|
91342
|
+
type: type$I
|
|
91335
91343
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
91336
|
-
const type$
|
|
91337
|
-
const compatibilityDate$
|
|
91338
|
-
const metadata$
|
|
91344
|
+
const type$H = "com.shwfed.table.column.text";
|
|
91345
|
+
const compatibilityDate$H = "2026-04-14";
|
|
91346
|
+
const metadata$H = {
|
|
91339
91347
|
name: "文本",
|
|
91340
91348
|
icon: "fluent:text-field-20-regular"
|
|
91341
91349
|
};
|
|
91342
91350
|
const isCopyExpressionType = (t) => t === "string" || t === "dyn" || t.startsWith("optional");
|
|
91343
|
-
function schema$
|
|
91351
|
+
function schema$H(configure) {
|
|
91344
91352
|
const cel = CelRowAccess(configure, { resultType: isCopyExpressionType });
|
|
91345
91353
|
return Struct({
|
|
91346
|
-
type: Literal2(type$
|
|
91347
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
91354
|
+
type: Literal2(type$H),
|
|
91355
|
+
compatibilityDate: Literal2(compatibilityDate$H),
|
|
91348
91356
|
...columnFields(configure),
|
|
91349
91357
|
align: optionalWith(Align.annotations({ title: "对齐" }), { default: () => "left" }),
|
|
91350
91358
|
displayMode: optionalWith(
|
|
@@ -91387,22 +91395,22 @@ function toColumnDef$n(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
91387
91395
|
}
|
|
91388
91396
|
};
|
|
91389
91397
|
}
|
|
91390
|
-
const __vite_glob_0_6 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
91398
|
+
const __vite_glob_0_6$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
91391
91399
|
__proto__: null,
|
|
91392
|
-
compatibilityDate: compatibilityDate$
|
|
91400
|
+
compatibilityDate: compatibilityDate$H,
|
|
91393
91401
|
defaults: defaults$m,
|
|
91394
|
-
metadata: metadata$
|
|
91395
|
-
schema: schema$
|
|
91402
|
+
metadata: metadata$H,
|
|
91403
|
+
schema: schema$H,
|
|
91396
91404
|
toColumnDef: toColumnDef$n,
|
|
91397
|
-
type: type$
|
|
91405
|
+
type: type$H
|
|
91398
91406
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
91399
|
-
const type$
|
|
91400
|
-
const compatibilityDate$
|
|
91401
|
-
const metadata$
|
|
91407
|
+
const type$G = "com.shwfed.table.column.switch.remote";
|
|
91408
|
+
const compatibilityDate$G = "2026-05-13";
|
|
91409
|
+
const metadata$G = {
|
|
91402
91410
|
name: "开关(远程)",
|
|
91403
91411
|
icon: "fluent:toggle-left-20-regular"
|
|
91404
91412
|
};
|
|
91405
|
-
function schema$
|
|
91413
|
+
function schema$G(configure) {
|
|
91406
91414
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
91407
91415
|
const CelOnChange = Expression({
|
|
91408
91416
|
configure: (env) => {
|
|
@@ -91420,8 +91428,8 @@ function schema$F(configure) {
|
|
|
91420
91428
|
resultType: "string"
|
|
91421
91429
|
});
|
|
91422
91430
|
return Struct({
|
|
91423
|
-
type: Literal2(type$
|
|
91424
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
91431
|
+
type: Literal2(type$G),
|
|
91432
|
+
compatibilityDate: Literal2(compatibilityDate$G),
|
|
91425
91433
|
...columnFields(configure),
|
|
91426
91434
|
align: optionalWith(Align.annotations({ title: "对齐" }), { default: () => "center" }),
|
|
91427
91435
|
disabled: optional(CelBool.annotations({
|
|
@@ -91450,14 +91458,14 @@ function defaults$l() {
|
|
|
91450
91458
|
};
|
|
91451
91459
|
}
|
|
91452
91460
|
const migrateFrom$e = [
|
|
91453
|
-
{ type: "com.shwfed.table.column.switch", compatibilityDate: compatibilityDate$
|
|
91461
|
+
{ type: "com.shwfed.table.column.switch", compatibilityDate: compatibilityDate$G }
|
|
91454
91462
|
];
|
|
91455
91463
|
const migrate$e = (prev) => try_({
|
|
91456
91464
|
try: () => {
|
|
91457
91465
|
if (!prev || typeof prev !== "object") {
|
|
91458
91466
|
throw new Error("开关(远程)迁移失败:原值不是对象");
|
|
91459
91467
|
}
|
|
91460
|
-
return { ...prev, type: type$
|
|
91468
|
+
return { ...prev, type: type$G, compatibilityDate: compatibilityDate$G };
|
|
91461
91469
|
},
|
|
91462
91470
|
catch: (e) => e instanceof Error ? e : new Error(String(e))
|
|
91463
91471
|
});
|
|
@@ -91483,22 +91491,22 @@ function toColumnDef$m(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
91483
91491
|
}
|
|
91484
91492
|
const __vite_glob_0_7 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
91485
91493
|
__proto__: null,
|
|
91486
|
-
compatibilityDate: compatibilityDate$
|
|
91494
|
+
compatibilityDate: compatibilityDate$G,
|
|
91487
91495
|
defaults: defaults$l,
|
|
91488
|
-
metadata: metadata$
|
|
91496
|
+
metadata: metadata$G,
|
|
91489
91497
|
migrate: migrate$e,
|
|
91490
91498
|
migrateFrom: migrateFrom$e,
|
|
91491
|
-
schema: schema$
|
|
91499
|
+
schema: schema$G,
|
|
91492
91500
|
toColumnDef: toColumnDef$m,
|
|
91493
|
-
type: type$
|
|
91501
|
+
type: type$G
|
|
91494
91502
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
91495
|
-
const type$
|
|
91496
|
-
const compatibilityDate$
|
|
91497
|
-
const metadata$
|
|
91503
|
+
const type$F = "com.shwfed.table.column.switch";
|
|
91504
|
+
const compatibilityDate$F = "2026-05-13";
|
|
91505
|
+
const metadata$F = {
|
|
91498
91506
|
name: "开关(远程)",
|
|
91499
91507
|
icon: "fluent:toggle-left-20-regular"
|
|
91500
91508
|
};
|
|
91501
|
-
function schema$
|
|
91509
|
+
function schema$F(configure) {
|
|
91502
91510
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
91503
91511
|
const CelOnChange = Expression({
|
|
91504
91512
|
configure: (env) => {
|
|
@@ -91516,8 +91524,8 @@ function schema$E(configure) {
|
|
|
91516
91524
|
resultType: "string"
|
|
91517
91525
|
});
|
|
91518
91526
|
return Struct({
|
|
91519
|
-
type: Literal2(type$
|
|
91520
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
91527
|
+
type: Literal2(type$F),
|
|
91528
|
+
compatibilityDate: Literal2(compatibilityDate$F),
|
|
91521
91529
|
...columnFields(configure),
|
|
91522
91530
|
align: optionalWith(Align.annotations({ title: "对齐" }), { default: () => "center" }),
|
|
91523
91531
|
disabled: optional(CelBool.annotations({
|
|
@@ -91560,11 +91568,11 @@ function toColumnDef$l(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
91560
91568
|
}
|
|
91561
91569
|
const __vite_glob_0_8 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
91562
91570
|
__proto__: null,
|
|
91563
|
-
compatibilityDate: compatibilityDate$
|
|
91564
|
-
metadata: metadata$
|
|
91565
|
-
schema: schema$
|
|
91571
|
+
compatibilityDate: compatibilityDate$F,
|
|
91572
|
+
metadata: metadata$F,
|
|
91573
|
+
schema: schema$F,
|
|
91566
91574
|
toColumnDef: toColumnDef$l,
|
|
91567
|
-
type: type$
|
|
91575
|
+
type: type$F
|
|
91568
91576
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
91569
91577
|
const isObject$1 = (value) => {
|
|
91570
91578
|
const type2 = typeof value;
|
|
@@ -91763,13 +91771,13 @@ function getProperty(object2, path, value) {
|
|
|
91763
91771
|
}
|
|
91764
91772
|
return object2 === void 0 ? value : object2;
|
|
91765
91773
|
}
|
|
91766
|
-
const type$
|
|
91767
|
-
const compatibilityDate$
|
|
91768
|
-
const metadata$
|
|
91774
|
+
const type$E = "com.shwfed.table.column.combobox-single";
|
|
91775
|
+
const compatibilityDate$E = "2026-05-20";
|
|
91776
|
+
const metadata$E = {
|
|
91769
91777
|
name: "下拉单选",
|
|
91770
91778
|
icon: "fluent:chevron-down-20-regular"
|
|
91771
91779
|
};
|
|
91772
|
-
function itemSchema$
|
|
91780
|
+
function itemSchema$c(configure) {
|
|
91773
91781
|
const LocaleMd = LocaleMarkdownWithRow(configure);
|
|
91774
91782
|
const TextValue = Struct({
|
|
91775
91783
|
kind: Literal2("text"),
|
|
@@ -91798,12 +91806,12 @@ function itemSchema$b(configure) {
|
|
|
91798
91806
|
title: "ComboboxSingleItem"
|
|
91799
91807
|
});
|
|
91800
91808
|
}
|
|
91801
|
-
function schema$
|
|
91809
|
+
function schema$E(configure) {
|
|
91802
91810
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
91803
|
-
const Item = itemSchema$
|
|
91811
|
+
const Item = itemSchema$c(configure);
|
|
91804
91812
|
return Struct({
|
|
91805
|
-
type: Literal2(type$
|
|
91806
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
91813
|
+
type: Literal2(type$E),
|
|
91814
|
+
compatibilityDate: Literal2(compatibilityDate$E),
|
|
91807
91815
|
...editableColumnFields(),
|
|
91808
91816
|
placeholder: optional(Locale.annotations({
|
|
91809
91817
|
title: "占位符",
|
|
@@ -91851,25 +91859,25 @@ function toColumnDef$k(value, { getLocaleText }) {
|
|
|
91851
91859
|
}
|
|
91852
91860
|
const __vite_glob_0_9 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
91853
91861
|
__proto__: null,
|
|
91854
|
-
compatibilityDate: compatibilityDate$
|
|
91855
|
-
itemSchema: itemSchema$
|
|
91856
|
-
metadata: metadata$
|
|
91857
|
-
schema: schema$
|
|
91862
|
+
compatibilityDate: compatibilityDate$E,
|
|
91863
|
+
itemSchema: itemSchema$c,
|
|
91864
|
+
metadata: metadata$E,
|
|
91865
|
+
schema: schema$E,
|
|
91858
91866
|
toColumnDef: toColumnDef$k,
|
|
91859
|
-
type: type$
|
|
91867
|
+
type: type$E
|
|
91860
91868
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
91861
|
-
const type$
|
|
91862
|
-
const compatibilityDate$
|
|
91863
|
-
const metadata$
|
|
91869
|
+
const type$D = "com.shwfed.table.column.number-input";
|
|
91870
|
+
const compatibilityDate$D = "2026-05-20";
|
|
91871
|
+
const metadata$D = {
|
|
91864
91872
|
name: "数值输入",
|
|
91865
91873
|
icon: "fluent:number-symbol-20-regular"
|
|
91866
91874
|
};
|
|
91867
|
-
function schema$
|
|
91875
|
+
function schema$D(configure) {
|
|
91868
91876
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
91869
91877
|
const CelNumber = CelRowAccess(configure, { resultType: "number" });
|
|
91870
91878
|
return Struct({
|
|
91871
|
-
type: Literal2(type$
|
|
91872
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
91879
|
+
type: Literal2(type$D),
|
|
91880
|
+
compatibilityDate: Literal2(compatibilityDate$D),
|
|
91873
91881
|
...editableColumnFields(),
|
|
91874
91882
|
placeholder: optional(Locale.annotations({
|
|
91875
91883
|
title: "占位符",
|
|
@@ -91944,24 +91952,24 @@ function toColumnDef$j(value, { getLocaleText }) {
|
|
|
91944
91952
|
}
|
|
91945
91953
|
const __vite_glob_0_10 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
91946
91954
|
__proto__: null,
|
|
91947
|
-
compatibilityDate: compatibilityDate$
|
|
91955
|
+
compatibilityDate: compatibilityDate$D,
|
|
91948
91956
|
defaults: defaults$k,
|
|
91949
|
-
metadata: metadata$
|
|
91950
|
-
schema: schema$
|
|
91957
|
+
metadata: metadata$D,
|
|
91958
|
+
schema: schema$D,
|
|
91951
91959
|
toColumnDef: toColumnDef$j,
|
|
91952
|
-
type: type$
|
|
91960
|
+
type: type$D
|
|
91953
91961
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
91954
|
-
const type$
|
|
91955
|
-
const compatibilityDate$
|
|
91956
|
-
const metadata$
|
|
91962
|
+
const type$C = "com.shwfed.table.column.switch.local";
|
|
91963
|
+
const compatibilityDate$C = "2026-05-20";
|
|
91964
|
+
const metadata$C = {
|
|
91957
91965
|
name: "开关",
|
|
91958
91966
|
icon: "fluent:toggle-left-20-regular"
|
|
91959
91967
|
};
|
|
91960
|
-
function schema$
|
|
91968
|
+
function schema$C(configure) {
|
|
91961
91969
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
91962
91970
|
return Struct({
|
|
91963
|
-
type: Literal2(type$
|
|
91964
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
91971
|
+
type: Literal2(type$C),
|
|
91972
|
+
compatibilityDate: Literal2(compatibilityDate$C),
|
|
91965
91973
|
...editableColumnFields(),
|
|
91966
91974
|
hidden: optional(CelBool.annotations({
|
|
91967
91975
|
title: "隐藏条件",
|
|
@@ -91994,14 +92002,14 @@ function defaults$j() {
|
|
|
91994
92002
|
};
|
|
91995
92003
|
}
|
|
91996
92004
|
const migrateFrom$d = [
|
|
91997
|
-
{ type: "com.shwfed.table.column.switch", compatibilityDate: compatibilityDate$
|
|
92005
|
+
{ type: "com.shwfed.table.column.switch", compatibilityDate: compatibilityDate$C }
|
|
91998
92006
|
];
|
|
91999
92007
|
const migrate$d = (prev) => try_({
|
|
92000
92008
|
try: () => {
|
|
92001
92009
|
if (!prev || typeof prev !== "object") {
|
|
92002
92010
|
throw new Error("开关(本地)迁移失败:原值不是对象");
|
|
92003
92011
|
}
|
|
92004
|
-
return { ...prev, type: type$
|
|
92012
|
+
return { ...prev, type: type$C, compatibilityDate: compatibilityDate$C };
|
|
92005
92013
|
},
|
|
92006
92014
|
catch: (e) => e instanceof Error ? e : new Error(String(e))
|
|
92007
92015
|
});
|
|
@@ -92027,26 +92035,26 @@ function toColumnDef$i(value, { getLocaleText }) {
|
|
|
92027
92035
|
}
|
|
92028
92036
|
const __vite_glob_0_11 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
92029
92037
|
__proto__: null,
|
|
92030
|
-
compatibilityDate: compatibilityDate$
|
|
92038
|
+
compatibilityDate: compatibilityDate$C,
|
|
92031
92039
|
defaults: defaults$j,
|
|
92032
|
-
metadata: metadata$
|
|
92040
|
+
metadata: metadata$C,
|
|
92033
92041
|
migrate: migrate$d,
|
|
92034
92042
|
migrateFrom: migrateFrom$d,
|
|
92035
|
-
schema: schema$
|
|
92043
|
+
schema: schema$C,
|
|
92036
92044
|
toColumnDef: toColumnDef$i,
|
|
92037
|
-
type: type$
|
|
92045
|
+
type: type$C
|
|
92038
92046
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
92039
|
-
const type$
|
|
92040
|
-
const compatibilityDate$
|
|
92041
|
-
const metadata$
|
|
92047
|
+
const type$B = "com.shwfed.table.column.switch";
|
|
92048
|
+
const compatibilityDate$B = "2026-05-20";
|
|
92049
|
+
const metadata$B = {
|
|
92042
92050
|
name: "开关",
|
|
92043
92051
|
icon: "fluent:toggle-left-20-regular"
|
|
92044
92052
|
};
|
|
92045
|
-
function schema$
|
|
92053
|
+
function schema$B(configure) {
|
|
92046
92054
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
92047
92055
|
return Struct({
|
|
92048
|
-
type: Literal2(type$
|
|
92049
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
92056
|
+
type: Literal2(type$B),
|
|
92057
|
+
compatibilityDate: Literal2(compatibilityDate$B),
|
|
92050
92058
|
...editableColumnFields(),
|
|
92051
92059
|
hidden: optional(CelBool.annotations({
|
|
92052
92060
|
title: "隐藏条件",
|
|
@@ -92093,23 +92101,23 @@ function toColumnDef$h(value, { getLocaleText }) {
|
|
|
92093
92101
|
}
|
|
92094
92102
|
const __vite_glob_0_12 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
92095
92103
|
__proto__: null,
|
|
92096
|
-
compatibilityDate: compatibilityDate$
|
|
92097
|
-
metadata: metadata$
|
|
92098
|
-
schema: schema$
|
|
92104
|
+
compatibilityDate: compatibilityDate$B,
|
|
92105
|
+
metadata: metadata$B,
|
|
92106
|
+
schema: schema$B,
|
|
92099
92107
|
toColumnDef: toColumnDef$h,
|
|
92100
|
-
type: type$
|
|
92108
|
+
type: type$B
|
|
92101
92109
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
92102
|
-
const type$
|
|
92103
|
-
const compatibilityDate$
|
|
92104
|
-
const metadata$
|
|
92110
|
+
const type$A = "com.shwfed.table.column.text-input";
|
|
92111
|
+
const compatibilityDate$A = "2026-05-20";
|
|
92112
|
+
const metadata$A = {
|
|
92105
92113
|
name: "文本输入",
|
|
92106
92114
|
icon: "fluent:text-field-20-regular"
|
|
92107
92115
|
};
|
|
92108
|
-
function schema$
|
|
92116
|
+
function schema$A(configure) {
|
|
92109
92117
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
92110
92118
|
return Struct({
|
|
92111
|
-
type: Literal2(type$
|
|
92112
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
92119
|
+
type: Literal2(type$A),
|
|
92120
|
+
compatibilityDate: Literal2(compatibilityDate$A),
|
|
92113
92121
|
...editableColumnFields(),
|
|
92114
92122
|
placeholder: optional(Locale.annotations({
|
|
92115
92123
|
title: "占位符",
|
|
@@ -92157,23 +92165,23 @@ function toColumnDef$g(value, { getLocaleText }) {
|
|
|
92157
92165
|
}
|
|
92158
92166
|
const __vite_glob_0_13 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
92159
92167
|
__proto__: null,
|
|
92160
|
-
compatibilityDate: compatibilityDate$
|
|
92168
|
+
compatibilityDate: compatibilityDate$A,
|
|
92161
92169
|
defaults: defaults$i,
|
|
92162
|
-
metadata: metadata$
|
|
92163
|
-
schema: schema$
|
|
92170
|
+
metadata: metadata$A,
|
|
92171
|
+
schema: schema$A,
|
|
92164
92172
|
toColumnDef: toColumnDef$g,
|
|
92165
|
-
type: type$
|
|
92173
|
+
type: type$A
|
|
92166
92174
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
92167
|
-
const type$
|
|
92168
|
-
const compatibilityDate$
|
|
92169
|
-
const metadata$
|
|
92175
|
+
const type$z = "com.shwfed.table.column.drag-handle";
|
|
92176
|
+
const compatibilityDate$z = "2026-05-21";
|
|
92177
|
+
const metadata$z = {
|
|
92170
92178
|
name: "拖拽",
|
|
92171
92179
|
icon: "fluent:re-order-dots-vertical-20-regular"
|
|
92172
92180
|
};
|
|
92173
|
-
function schema$
|
|
92181
|
+
function schema$z(_configure) {
|
|
92174
92182
|
return Struct({
|
|
92175
|
-
type: Literal2(type$
|
|
92176
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
92183
|
+
type: Literal2(type$z),
|
|
92184
|
+
compatibilityDate: Literal2(compatibilityDate$z),
|
|
92177
92185
|
...columnIdentityFields()
|
|
92178
92186
|
}).annotations({ title: "DragHandleRenderer", description: "行拖拽手柄列" });
|
|
92179
92187
|
}
|
|
@@ -92193,15 +92201,15 @@ function toColumnDef$f(_value) {
|
|
|
92193
92201
|
}
|
|
92194
92202
|
const __vite_glob_0_14 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
92195
92203
|
__proto__: null,
|
|
92196
|
-
compatibilityDate: compatibilityDate$
|
|
92197
|
-
metadata: metadata$
|
|
92198
|
-
schema: schema$
|
|
92204
|
+
compatibilityDate: compatibilityDate$z,
|
|
92205
|
+
metadata: metadata$z,
|
|
92206
|
+
schema: schema$z,
|
|
92199
92207
|
toColumnDef: toColumnDef$f,
|
|
92200
|
-
type: type$
|
|
92208
|
+
type: type$z
|
|
92201
92209
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
92202
|
-
const type$
|
|
92203
|
-
const compatibilityDate$
|
|
92204
|
-
const metadata$
|
|
92210
|
+
const type$y = "com.shwfed.table.column.combobox-single.remote.options-remote";
|
|
92211
|
+
const compatibilityDate$y = "2026-05-24";
|
|
92212
|
+
const metadata$y = {
|
|
92205
92213
|
name: "远程下拉单选",
|
|
92206
92214
|
icon: "fluent:cloud-arrow-down-20-regular"
|
|
92207
92215
|
};
|
|
@@ -92216,7 +92224,7 @@ const JSON_VAR$1 = {
|
|
|
92216
92224
|
description: "HTTP 响应体(已解析 JSON);请求失败或尚未完成时为 `null`"
|
|
92217
92225
|
};
|
|
92218
92226
|
const isListType$b = (actual) => actual === "dyn" || actual.startsWith("list");
|
|
92219
|
-
function schema$
|
|
92227
|
+
function schema$y(configure) {
|
|
92220
92228
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
92221
92229
|
const CelRequest = Expression({
|
|
92222
92230
|
configure: (env) => {
|
|
@@ -92264,8 +92272,8 @@ function schema$x(configure) {
|
|
|
92264
92272
|
resultType: "string"
|
|
92265
92273
|
});
|
|
92266
92274
|
return Struct({
|
|
92267
|
-
type: Literal2(type$
|
|
92268
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
92275
|
+
type: Literal2(type$y),
|
|
92276
|
+
compatibilityDate: Literal2(compatibilityDate$y),
|
|
92269
92277
|
...columnFields(configure),
|
|
92270
92278
|
placeholder: optional(Locale.annotations({
|
|
92271
92279
|
title: "占位符",
|
|
@@ -92340,19 +92348,19 @@ const __vite_glob_0_15 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.de
|
|
|
92340
92348
|
__proto__: null,
|
|
92341
92349
|
JSON_VAR: JSON_VAR$1,
|
|
92342
92350
|
OPTION_VAR: OPTION_VAR$1,
|
|
92343
|
-
compatibilityDate: compatibilityDate$
|
|
92344
|
-
metadata: metadata$
|
|
92345
|
-
schema: schema$
|
|
92351
|
+
compatibilityDate: compatibilityDate$y,
|
|
92352
|
+
metadata: metadata$y,
|
|
92353
|
+
schema: schema$y,
|
|
92346
92354
|
toColumnDef: toColumnDef$e,
|
|
92347
|
-
type: type$
|
|
92355
|
+
type: type$y
|
|
92348
92356
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
92349
|
-
const type$
|
|
92350
|
-
const compatibilityDate$
|
|
92351
|
-
const metadata$
|
|
92357
|
+
const type$x = "com.shwfed.table.column.combobox-single.remote.options-static";
|
|
92358
|
+
const compatibilityDate$x = "2026-05-24";
|
|
92359
|
+
const metadata$x = {
|
|
92352
92360
|
name: "下拉单选",
|
|
92353
92361
|
icon: "fluent:chevron-down-20-regular"
|
|
92354
92362
|
};
|
|
92355
|
-
function itemSchema$
|
|
92363
|
+
function itemSchema$b(configure) {
|
|
92356
92364
|
const LocaleMd = LocaleMarkdownWithRow(configure);
|
|
92357
92365
|
const TextValue = Struct({
|
|
92358
92366
|
kind: Literal2("text"),
|
|
@@ -92381,9 +92389,9 @@ function itemSchema$a(configure) {
|
|
|
92381
92389
|
title: "ComboboxSingleRemoteOptionsStaticItem"
|
|
92382
92390
|
});
|
|
92383
92391
|
}
|
|
92384
|
-
function schema$
|
|
92392
|
+
function schema$x(configure) {
|
|
92385
92393
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
92386
|
-
const Item = itemSchema$
|
|
92394
|
+
const Item = itemSchema$b(configure);
|
|
92387
92395
|
const CelOnChange = Expression({
|
|
92388
92396
|
configure: (env) => {
|
|
92389
92397
|
configure(env);
|
|
@@ -92400,8 +92408,8 @@ function schema$w(configure) {
|
|
|
92400
92408
|
resultType: "string"
|
|
92401
92409
|
});
|
|
92402
92410
|
return Struct({
|
|
92403
|
-
type: Literal2(type$
|
|
92404
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
92411
|
+
type: Literal2(type$x),
|
|
92412
|
+
compatibilityDate: Literal2(compatibilityDate$x),
|
|
92405
92413
|
...columnFields(configure),
|
|
92406
92414
|
placeholder: optional(Locale.annotations({
|
|
92407
92415
|
title: "占位符",
|
|
@@ -92462,16 +92470,16 @@ function toColumnDef$d(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
92462
92470
|
}
|
|
92463
92471
|
const __vite_glob_0_16 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
92464
92472
|
__proto__: null,
|
|
92465
|
-
compatibilityDate: compatibilityDate$
|
|
92466
|
-
itemSchema: itemSchema$
|
|
92467
|
-
metadata: metadata$
|
|
92468
|
-
schema: schema$
|
|
92473
|
+
compatibilityDate: compatibilityDate$x,
|
|
92474
|
+
itemSchema: itemSchema$b,
|
|
92475
|
+
metadata: metadata$x,
|
|
92476
|
+
schema: schema$x,
|
|
92469
92477
|
toColumnDef: toColumnDef$d,
|
|
92470
|
-
type: type$
|
|
92478
|
+
type: type$x
|
|
92471
92479
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
92472
|
-
const type$
|
|
92473
|
-
const compatibilityDate$
|
|
92474
|
-
const metadata$
|
|
92480
|
+
const type$w = "com.shwfed.table.column.combobox-multi.remote.options-remote";
|
|
92481
|
+
const compatibilityDate$w = "2026-05-25";
|
|
92482
|
+
const metadata$w = {
|
|
92475
92483
|
name: "远程下拉多选",
|
|
92476
92484
|
icon: "fluent:cloud-arrow-down-20-regular"
|
|
92477
92485
|
};
|
|
@@ -92486,7 +92494,7 @@ const JSON_VAR = {
|
|
|
92486
92494
|
description: "HTTP 响应体(已解析 JSON);请求失败或尚未完成时为 `null`"
|
|
92487
92495
|
};
|
|
92488
92496
|
const isListType$a = (actual) => actual === "dyn" || actual.startsWith("list");
|
|
92489
|
-
function schema$
|
|
92497
|
+
function schema$w(configure) {
|
|
92490
92498
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
92491
92499
|
const CelRequest = Expression({
|
|
92492
92500
|
configure: (env) => {
|
|
@@ -92534,8 +92542,8 @@ function schema$v(configure) {
|
|
|
92534
92542
|
resultType: "string"
|
|
92535
92543
|
});
|
|
92536
92544
|
return Struct({
|
|
92537
|
-
type: Literal2(type$
|
|
92538
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
92545
|
+
type: Literal2(type$w),
|
|
92546
|
+
compatibilityDate: Literal2(compatibilityDate$w),
|
|
92539
92547
|
...columnFields(configure),
|
|
92540
92548
|
placeholder: optional(Locale.annotations({
|
|
92541
92549
|
title: "占位符",
|
|
@@ -92610,19 +92618,19 @@ const __vite_glob_0_17 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.de
|
|
|
92610
92618
|
__proto__: null,
|
|
92611
92619
|
JSON_VAR,
|
|
92612
92620
|
OPTION_VAR,
|
|
92613
|
-
compatibilityDate: compatibilityDate$
|
|
92614
|
-
metadata: metadata$
|
|
92615
|
-
schema: schema$
|
|
92621
|
+
compatibilityDate: compatibilityDate$w,
|
|
92622
|
+
metadata: metadata$w,
|
|
92623
|
+
schema: schema$w,
|
|
92616
92624
|
toColumnDef: toColumnDef$c,
|
|
92617
|
-
type: type$
|
|
92625
|
+
type: type$w
|
|
92618
92626
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
92619
|
-
const type$
|
|
92620
|
-
const compatibilityDate$
|
|
92621
|
-
const metadata$
|
|
92627
|
+
const type$v = "com.shwfed.table.column.combobox-multi.remote.options-static";
|
|
92628
|
+
const compatibilityDate$v = "2026-05-25";
|
|
92629
|
+
const metadata$v = {
|
|
92622
92630
|
name: "下拉多选",
|
|
92623
92631
|
icon: "fluent:chevron-down-20-regular"
|
|
92624
92632
|
};
|
|
92625
|
-
function itemSchema$
|
|
92633
|
+
function itemSchema$a(configure) {
|
|
92626
92634
|
const LocaleMd = LocaleMarkdownWithRow(configure);
|
|
92627
92635
|
const TextValue = Struct({
|
|
92628
92636
|
kind: Literal2("text"),
|
|
@@ -92651,9 +92659,9 @@ function itemSchema$9(configure) {
|
|
|
92651
92659
|
title: "ComboboxMultiRemoteOptionsStaticItem"
|
|
92652
92660
|
});
|
|
92653
92661
|
}
|
|
92654
|
-
function schema$
|
|
92662
|
+
function schema$v(configure) {
|
|
92655
92663
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
92656
|
-
const Item = itemSchema$
|
|
92664
|
+
const Item = itemSchema$a(configure);
|
|
92657
92665
|
const CelOnChange = Expression({
|
|
92658
92666
|
configure: (env) => {
|
|
92659
92667
|
configure(env);
|
|
@@ -92670,8 +92678,8 @@ function schema$u(configure) {
|
|
|
92670
92678
|
resultType: "string"
|
|
92671
92679
|
});
|
|
92672
92680
|
return Struct({
|
|
92673
|
-
type: Literal2(type$
|
|
92674
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
92681
|
+
type: Literal2(type$v),
|
|
92682
|
+
compatibilityDate: Literal2(compatibilityDate$v),
|
|
92675
92683
|
...columnFields(configure),
|
|
92676
92684
|
placeholder: optional(Locale.annotations({
|
|
92677
92685
|
title: "占位符",
|
|
@@ -92732,20 +92740,20 @@ function toColumnDef$b(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
92732
92740
|
}
|
|
92733
92741
|
const __vite_glob_0_18 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
92734
92742
|
__proto__: null,
|
|
92735
|
-
compatibilityDate: compatibilityDate$
|
|
92736
|
-
itemSchema: itemSchema$
|
|
92737
|
-
metadata: metadata$
|
|
92738
|
-
schema: schema$
|
|
92743
|
+
compatibilityDate: compatibilityDate$v,
|
|
92744
|
+
itemSchema: itemSchema$a,
|
|
92745
|
+
metadata: metadata$v,
|
|
92746
|
+
schema: schema$v,
|
|
92739
92747
|
toColumnDef: toColumnDef$b,
|
|
92740
|
-
type: type$
|
|
92748
|
+
type: type$v
|
|
92741
92749
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
92742
|
-
const type$
|
|
92743
|
-
const compatibilityDate$
|
|
92744
|
-
const metadata$
|
|
92750
|
+
const type$u = "com.shwfed.table.column.combobox-multi";
|
|
92751
|
+
const compatibilityDate$u = "2026-05-25";
|
|
92752
|
+
const metadata$u = {
|
|
92745
92753
|
name: "下拉多选",
|
|
92746
92754
|
icon: "fluent:chevron-down-20-regular"
|
|
92747
92755
|
};
|
|
92748
|
-
function itemSchema$
|
|
92756
|
+
function itemSchema$9(configure) {
|
|
92749
92757
|
const LocaleMd = LocaleMarkdownWithRow(configure);
|
|
92750
92758
|
const TextValue = Struct({
|
|
92751
92759
|
kind: Literal2("text"),
|
|
@@ -92774,12 +92782,12 @@ function itemSchema$8(configure) {
|
|
|
92774
92782
|
title: "ComboboxMultiItem"
|
|
92775
92783
|
});
|
|
92776
92784
|
}
|
|
92777
|
-
function schema$
|
|
92785
|
+
function schema$u(configure) {
|
|
92778
92786
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
92779
|
-
const Item = itemSchema$
|
|
92787
|
+
const Item = itemSchema$9(configure);
|
|
92780
92788
|
return Struct({
|
|
92781
|
-
type: Literal2(type$
|
|
92782
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
92789
|
+
type: Literal2(type$u),
|
|
92790
|
+
compatibilityDate: Literal2(compatibilityDate$u),
|
|
92783
92791
|
...editableColumnFields(),
|
|
92784
92792
|
placeholder: optional(Locale.annotations({
|
|
92785
92793
|
title: "占位符",
|
|
@@ -92825,21 +92833,21 @@ function toColumnDef$a(value, { getLocaleText }) {
|
|
|
92825
92833
|
}
|
|
92826
92834
|
const __vite_glob_0_19 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
92827
92835
|
__proto__: null,
|
|
92828
|
-
compatibilityDate: compatibilityDate$
|
|
92829
|
-
itemSchema: itemSchema$
|
|
92830
|
-
metadata: metadata$
|
|
92831
|
-
schema: schema$
|
|
92836
|
+
compatibilityDate: compatibilityDate$u,
|
|
92837
|
+
itemSchema: itemSchema$9,
|
|
92838
|
+
metadata: metadata$u,
|
|
92839
|
+
schema: schema$u,
|
|
92832
92840
|
toColumnDef: toColumnDef$a,
|
|
92833
|
-
type: type$
|
|
92841
|
+
type: type$u
|
|
92834
92842
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
92835
|
-
const type$
|
|
92836
|
-
const compatibilityDate$
|
|
92837
|
-
const metadata$
|
|
92843
|
+
const type$t = "com.shwfed.table.column.combobox-multi.remote";
|
|
92844
|
+
const compatibilityDate$t = "2026-05-26";
|
|
92845
|
+
const metadata$t = {
|
|
92838
92846
|
name: "多选(远程)",
|
|
92839
92847
|
icon: "fluent:cloud-arrow-up-20-regular"
|
|
92840
92848
|
};
|
|
92841
92849
|
const isListType$9 = (actual) => actual === "dyn" || actual.startsWith("list");
|
|
92842
|
-
function itemSchema$
|
|
92850
|
+
function itemSchema$8(configure) {
|
|
92843
92851
|
const LocaleMd = LocaleMarkdownWithRow(configure);
|
|
92844
92852
|
const TextValue = Struct({
|
|
92845
92853
|
kind: Literal2("text"),
|
|
@@ -92920,7 +92928,7 @@ function remoteOptionsSchema$7(configure) {
|
|
|
92920
92928
|
}).annotations({ title: "ComboboxMultiRemoteOptionsRemote", description: "远程加载的选项列表" });
|
|
92921
92929
|
}
|
|
92922
92930
|
function optionsSchema$7(configure) {
|
|
92923
|
-
const Item = itemSchema$
|
|
92931
|
+
const Item = itemSchema$8(configure);
|
|
92924
92932
|
const StaticSpec = Struct({
|
|
92925
92933
|
kind: Literal2("static"),
|
|
92926
92934
|
items: optionalWith(Array$(Item).annotations({
|
|
@@ -92934,7 +92942,7 @@ function optionsSchema$7(configure) {
|
|
|
92934
92942
|
description: '选项可以是静态配置(`kind: "static"`)或由远程接口加载(`kind: "remote"`)'
|
|
92935
92943
|
});
|
|
92936
92944
|
}
|
|
92937
|
-
function schema$
|
|
92945
|
+
function schema$t(configure) {
|
|
92938
92946
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
92939
92947
|
const Options = optionsSchema$7(configure);
|
|
92940
92948
|
const CelOnChange = Expression({
|
|
@@ -92953,8 +92961,8 @@ function schema$s(configure) {
|
|
|
92953
92961
|
resultType: "string"
|
|
92954
92962
|
});
|
|
92955
92963
|
return Struct({
|
|
92956
|
-
type: Literal2(type$
|
|
92957
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
92964
|
+
type: Literal2(type$t),
|
|
92965
|
+
compatibilityDate: Literal2(compatibilityDate$t),
|
|
92958
92966
|
...columnFields(configure),
|
|
92959
92967
|
placeholder: optional(Locale.annotations({
|
|
92960
92968
|
title: "占位符",
|
|
@@ -93008,8 +93016,8 @@ const migrate$c = (prev) => try_({
|
|
|
93008
93016
|
const itemsArr = Array.isArray(items2) ? items2 : [];
|
|
93009
93017
|
return {
|
|
93010
93018
|
...rest,
|
|
93011
|
-
type: type$
|
|
93012
|
-
compatibilityDate: compatibilityDate$
|
|
93019
|
+
type: type$t,
|
|
93020
|
+
compatibilityDate: compatibilityDate$t,
|
|
93013
93021
|
options: { kind: "static", items: itemsArr }
|
|
93014
93022
|
};
|
|
93015
93023
|
}
|
|
@@ -93022,8 +93030,8 @@ const migrate$c = (prev) => try_({
|
|
|
93022
93030
|
if (Array.isArray(optionLabel)) remote.optionLabel = optionLabel;
|
|
93023
93031
|
return {
|
|
93024
93032
|
...rest,
|
|
93025
|
-
type: type$
|
|
93026
|
-
compatibilityDate: compatibilityDate$
|
|
93033
|
+
type: type$t,
|
|
93034
|
+
compatibilityDate: compatibilityDate$t,
|
|
93027
93035
|
options: remote
|
|
93028
93036
|
};
|
|
93029
93037
|
}
|
|
@@ -93053,25 +93061,25 @@ function toColumnDef$9(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
93053
93061
|
}
|
|
93054
93062
|
const __vite_glob_0_20$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
93055
93063
|
__proto__: null,
|
|
93056
|
-
compatibilityDate: compatibilityDate$
|
|
93057
|
-
itemSchema: itemSchema$
|
|
93058
|
-
metadata: metadata$
|
|
93064
|
+
compatibilityDate: compatibilityDate$t,
|
|
93065
|
+
itemSchema: itemSchema$8,
|
|
93066
|
+
metadata: metadata$t,
|
|
93059
93067
|
migrate: migrate$c,
|
|
93060
93068
|
migrateFrom: migrateFrom$c,
|
|
93061
93069
|
optionsSchema: optionsSchema$7,
|
|
93062
93070
|
remoteOptionsSchema: remoteOptionsSchema$7,
|
|
93063
|
-
schema: schema$
|
|
93071
|
+
schema: schema$t,
|
|
93064
93072
|
toColumnDef: toColumnDef$9,
|
|
93065
|
-
type: type$
|
|
93073
|
+
type: type$t
|
|
93066
93074
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
93067
|
-
const type$
|
|
93068
|
-
const compatibilityDate$
|
|
93069
|
-
const metadata$
|
|
93075
|
+
const type$s = "com.shwfed.table.column.combobox-multi";
|
|
93076
|
+
const compatibilityDate$s = "2026-05-26";
|
|
93077
|
+
const metadata$s = {
|
|
93070
93078
|
name: "多选",
|
|
93071
93079
|
icon: "fluent:chevron-down-20-regular"
|
|
93072
93080
|
};
|
|
93073
93081
|
const isListType$8 = (actual) => actual === "dyn" || actual.startsWith("list");
|
|
93074
|
-
function itemSchema$
|
|
93082
|
+
function itemSchema$7(configure) {
|
|
93075
93083
|
const LocaleMd = LocaleMarkdownWithRow(configure);
|
|
93076
93084
|
const TextValue = Struct({
|
|
93077
93085
|
kind: Literal2("text"),
|
|
@@ -93152,7 +93160,7 @@ function remoteOptionsSchema$6(configure) {
|
|
|
93152
93160
|
}).annotations({ title: "ComboboxMultiOptionsRemote", description: "远程加载的选项列表" });
|
|
93153
93161
|
}
|
|
93154
93162
|
function optionsSchema$6(configure) {
|
|
93155
|
-
const Item = itemSchema$
|
|
93163
|
+
const Item = itemSchema$7(configure);
|
|
93156
93164
|
const StaticSpec = Struct({
|
|
93157
93165
|
kind: Literal2("static"),
|
|
93158
93166
|
items: optionalWith(Array$(Item).annotations({
|
|
@@ -93166,12 +93174,12 @@ function optionsSchema$6(configure) {
|
|
|
93166
93174
|
description: '选项可以是静态配置(`kind: "static"`)或由远程接口加载(`kind: "remote"`)'
|
|
93167
93175
|
});
|
|
93168
93176
|
}
|
|
93169
|
-
function schema$
|
|
93177
|
+
function schema$s(configure) {
|
|
93170
93178
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
93171
93179
|
const Options = optionsSchema$6(configure);
|
|
93172
93180
|
return Struct({
|
|
93173
|
-
type: Literal2(type$
|
|
93174
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
93181
|
+
type: Literal2(type$s),
|
|
93182
|
+
compatibilityDate: Literal2(compatibilityDate$s),
|
|
93175
93183
|
...editableColumnFields(),
|
|
93176
93184
|
placeholder: optional(Locale.annotations({
|
|
93177
93185
|
title: "占位符",
|
|
@@ -93207,8 +93215,8 @@ const migrate$b = (prev) => try_({
|
|
|
93207
93215
|
const itemsArr = Array.isArray(items2) ? items2 : [];
|
|
93208
93216
|
return {
|
|
93209
93217
|
...rest,
|
|
93210
|
-
type: type$
|
|
93211
|
-
compatibilityDate: compatibilityDate$
|
|
93218
|
+
type: type$s,
|
|
93219
|
+
compatibilityDate: compatibilityDate$s,
|
|
93212
93220
|
options: { kind: "static", items: itemsArr }
|
|
93213
93221
|
};
|
|
93214
93222
|
},
|
|
@@ -93232,25 +93240,25 @@ function toColumnDef$8(value, { getLocaleText }) {
|
|
|
93232
93240
|
}
|
|
93233
93241
|
const __vite_glob_0_21$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
93234
93242
|
__proto__: null,
|
|
93235
|
-
compatibilityDate: compatibilityDate$
|
|
93236
|
-
itemSchema: itemSchema$
|
|
93237
|
-
metadata: metadata$
|
|
93243
|
+
compatibilityDate: compatibilityDate$s,
|
|
93244
|
+
itemSchema: itemSchema$7,
|
|
93245
|
+
metadata: metadata$s,
|
|
93238
93246
|
migrate: migrate$b,
|
|
93239
93247
|
migrateFrom: migrateFrom$b,
|
|
93240
93248
|
optionsSchema: optionsSchema$6,
|
|
93241
93249
|
remoteOptionsSchema: remoteOptionsSchema$6,
|
|
93242
|
-
schema: schema$
|
|
93250
|
+
schema: schema$s,
|
|
93243
93251
|
toColumnDef: toColumnDef$8,
|
|
93244
|
-
type: type$
|
|
93252
|
+
type: type$s
|
|
93245
93253
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
93246
|
-
const type$
|
|
93247
|
-
const compatibilityDate$
|
|
93248
|
-
const metadata$
|
|
93254
|
+
const type$r = "com.shwfed.table.column.combobox-single.remote";
|
|
93255
|
+
const compatibilityDate$r = "2026-05-26";
|
|
93256
|
+
const metadata$r = {
|
|
93249
93257
|
name: "单选(远程)",
|
|
93250
93258
|
icon: "fluent:cloud-arrow-up-20-regular"
|
|
93251
93259
|
};
|
|
93252
93260
|
const isListType$7 = (actual) => actual === "dyn" || actual.startsWith("list");
|
|
93253
|
-
function itemSchema$
|
|
93261
|
+
function itemSchema$6(configure) {
|
|
93254
93262
|
const LocaleMd = LocaleMarkdownWithRow(configure);
|
|
93255
93263
|
const TextValue = Struct({
|
|
93256
93264
|
kind: Literal2("text"),
|
|
@@ -93331,7 +93339,7 @@ function remoteOptionsSchema$5(configure) {
|
|
|
93331
93339
|
}).annotations({ title: "ComboboxSingleRemoteOptionsRemote", description: "远程加载的选项列表" });
|
|
93332
93340
|
}
|
|
93333
93341
|
function optionsSchema$5(configure) {
|
|
93334
|
-
const Item = itemSchema$
|
|
93342
|
+
const Item = itemSchema$6(configure);
|
|
93335
93343
|
const StaticSpec = Struct({
|
|
93336
93344
|
kind: Literal2("static"),
|
|
93337
93345
|
items: optionalWith(Array$(Item).annotations({
|
|
@@ -93345,7 +93353,7 @@ function optionsSchema$5(configure) {
|
|
|
93345
93353
|
description: '选项可以是静态配置(`kind: "static"`)或由远程接口加载(`kind: "remote"`)'
|
|
93346
93354
|
});
|
|
93347
93355
|
}
|
|
93348
|
-
function schema$
|
|
93356
|
+
function schema$r(configure) {
|
|
93349
93357
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
93350
93358
|
const Options = optionsSchema$5(configure);
|
|
93351
93359
|
const CelOnChange = Expression({
|
|
@@ -93364,8 +93372,8 @@ function schema$q(configure) {
|
|
|
93364
93372
|
resultType: "string"
|
|
93365
93373
|
});
|
|
93366
93374
|
return Struct({
|
|
93367
|
-
type: Literal2(type$
|
|
93368
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
93375
|
+
type: Literal2(type$r),
|
|
93376
|
+
compatibilityDate: Literal2(compatibilityDate$r),
|
|
93369
93377
|
...columnFields(configure),
|
|
93370
93378
|
placeholder: optional(Locale.annotations({
|
|
93371
93379
|
title: "占位符",
|
|
@@ -93419,8 +93427,8 @@ const migrate$a = (prev) => try_({
|
|
|
93419
93427
|
const itemsArr = Array.isArray(items2) ? items2 : [];
|
|
93420
93428
|
return {
|
|
93421
93429
|
...rest,
|
|
93422
|
-
type: type$
|
|
93423
|
-
compatibilityDate: compatibilityDate$
|
|
93430
|
+
type: type$r,
|
|
93431
|
+
compatibilityDate: compatibilityDate$r,
|
|
93424
93432
|
options: { kind: "static", items: itemsArr }
|
|
93425
93433
|
};
|
|
93426
93434
|
}
|
|
@@ -93433,8 +93441,8 @@ const migrate$a = (prev) => try_({
|
|
|
93433
93441
|
if (Array.isArray(optionLabel)) remote.optionLabel = optionLabel;
|
|
93434
93442
|
return {
|
|
93435
93443
|
...rest,
|
|
93436
|
-
type: type$
|
|
93437
|
-
compatibilityDate: compatibilityDate$
|
|
93444
|
+
type: type$r,
|
|
93445
|
+
compatibilityDate: compatibilityDate$r,
|
|
93438
93446
|
options: remote
|
|
93439
93447
|
};
|
|
93440
93448
|
}
|
|
@@ -93464,25 +93472,25 @@ function toColumnDef$7(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
93464
93472
|
}
|
|
93465
93473
|
const __vite_glob_0_22$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
93466
93474
|
__proto__: null,
|
|
93467
|
-
compatibilityDate: compatibilityDate$
|
|
93468
|
-
itemSchema: itemSchema$
|
|
93469
|
-
metadata: metadata$
|
|
93475
|
+
compatibilityDate: compatibilityDate$r,
|
|
93476
|
+
itemSchema: itemSchema$6,
|
|
93477
|
+
metadata: metadata$r,
|
|
93470
93478
|
migrate: migrate$a,
|
|
93471
93479
|
migrateFrom: migrateFrom$a,
|
|
93472
93480
|
optionsSchema: optionsSchema$5,
|
|
93473
93481
|
remoteOptionsSchema: remoteOptionsSchema$5,
|
|
93474
|
-
schema: schema$
|
|
93482
|
+
schema: schema$r,
|
|
93475
93483
|
toColumnDef: toColumnDef$7,
|
|
93476
|
-
type: type$
|
|
93484
|
+
type: type$r
|
|
93477
93485
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
93478
|
-
const type$
|
|
93479
|
-
const compatibilityDate$
|
|
93480
|
-
const metadata$
|
|
93486
|
+
const type$q = "com.shwfed.table.column.combobox-single";
|
|
93487
|
+
const compatibilityDate$q = "2026-05-26";
|
|
93488
|
+
const metadata$q = {
|
|
93481
93489
|
name: "单选",
|
|
93482
93490
|
icon: "fluent:chevron-down-20-regular"
|
|
93483
93491
|
};
|
|
93484
93492
|
const isListType$6 = (actual) => actual === "dyn" || actual.startsWith("list");
|
|
93485
|
-
function itemSchema$
|
|
93493
|
+
function itemSchema$5(configure) {
|
|
93486
93494
|
const LocaleMd = LocaleMarkdownWithRow(configure);
|
|
93487
93495
|
const TextValue = Struct({
|
|
93488
93496
|
kind: Literal2("text"),
|
|
@@ -93563,7 +93571,7 @@ function remoteOptionsSchema$4(configure) {
|
|
|
93563
93571
|
}).annotations({ title: "ComboboxSingleOptionsRemote", description: "远程加载的选项列表" });
|
|
93564
93572
|
}
|
|
93565
93573
|
function optionsSchema$4(configure) {
|
|
93566
|
-
const Item = itemSchema$
|
|
93574
|
+
const Item = itemSchema$5(configure);
|
|
93567
93575
|
const StaticSpec = Struct({
|
|
93568
93576
|
kind: Literal2("static"),
|
|
93569
93577
|
items: optionalWith(Array$(Item).annotations({
|
|
@@ -93577,12 +93585,12 @@ function optionsSchema$4(configure) {
|
|
|
93577
93585
|
description: '选项可以是静态配置(`kind: "static"`)或由远程接口加载(`kind: "remote"`)'
|
|
93578
93586
|
});
|
|
93579
93587
|
}
|
|
93580
|
-
function schema$
|
|
93588
|
+
function schema$q(configure) {
|
|
93581
93589
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
93582
93590
|
const Options = optionsSchema$4(configure);
|
|
93583
93591
|
return Struct({
|
|
93584
|
-
type: Literal2(type$
|
|
93585
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
93592
|
+
type: Literal2(type$q),
|
|
93593
|
+
compatibilityDate: Literal2(compatibilityDate$q),
|
|
93586
93594
|
...editableColumnFields(),
|
|
93587
93595
|
placeholder: optional(Locale.annotations({
|
|
93588
93596
|
title: "占位符",
|
|
@@ -93618,8 +93626,8 @@ const migrate$9 = (prev) => try_({
|
|
|
93618
93626
|
const itemsArr = Array.isArray(items2) ? items2 : [];
|
|
93619
93627
|
return {
|
|
93620
93628
|
...rest,
|
|
93621
|
-
type: type$
|
|
93622
|
-
compatibilityDate: compatibilityDate$
|
|
93629
|
+
type: type$q,
|
|
93630
|
+
compatibilityDate: compatibilityDate$q,
|
|
93623
93631
|
options: { kind: "static", items: itemsArr }
|
|
93624
93632
|
};
|
|
93625
93633
|
},
|
|
@@ -93643,20 +93651,20 @@ function toColumnDef$6(value, { getLocaleText }) {
|
|
|
93643
93651
|
}
|
|
93644
93652
|
const __vite_glob_0_23$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
93645
93653
|
__proto__: null,
|
|
93646
|
-
compatibilityDate: compatibilityDate$
|
|
93647
|
-
itemSchema: itemSchema$
|
|
93648
|
-
metadata: metadata$
|
|
93654
|
+
compatibilityDate: compatibilityDate$q,
|
|
93655
|
+
itemSchema: itemSchema$5,
|
|
93656
|
+
metadata: metadata$q,
|
|
93649
93657
|
migrate: migrate$9,
|
|
93650
93658
|
migrateFrom: migrateFrom$9,
|
|
93651
93659
|
optionsSchema: optionsSchema$4,
|
|
93652
93660
|
remoteOptionsSchema: remoteOptionsSchema$4,
|
|
93653
|
-
schema: schema$
|
|
93661
|
+
schema: schema$q,
|
|
93654
93662
|
toColumnDef: toColumnDef$6,
|
|
93655
|
-
type: type$
|
|
93663
|
+
type: type$q
|
|
93656
93664
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
93657
|
-
const type$
|
|
93658
|
-
const compatibilityDate$
|
|
93659
|
-
const metadata$
|
|
93665
|
+
const type$p = "com.shwfed.table.column.tree-combobox-multi";
|
|
93666
|
+
const compatibilityDate$p = "2026-05-27";
|
|
93667
|
+
const metadata$p = {
|
|
93660
93668
|
name: "下拉树(多选)",
|
|
93661
93669
|
icon: "fluent:tree-evergreen-20-regular"
|
|
93662
93670
|
};
|
|
@@ -93669,7 +93677,7 @@ function withRowAndNode$3(configure) {
|
|
|
93669
93677
|
env.registerVariable("node", "dyn", { description: "`数据源` 返回的节点;由树逐层向下读取" });
|
|
93670
93678
|
};
|
|
93671
93679
|
}
|
|
93672
|
-
function schema$
|
|
93680
|
+
function schema$p(configure) {
|
|
93673
93681
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
93674
93682
|
const CelNodeKey = Expression({ configure: withRowAndNode$3(configure), resultType: isKeyType$7 });
|
|
93675
93683
|
const CelNodeChildren = Expression({ configure: withRowAndNode$3(configure), resultType: isListLike$7 });
|
|
@@ -93703,8 +93711,8 @@ function schema$o(configure) {
|
|
|
93703
93711
|
})
|
|
93704
93712
|
}).annotations({ title: "DataSource", description: "数据源配置" });
|
|
93705
93713
|
return Struct({
|
|
93706
|
-
type: Literal2(type$
|
|
93707
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
93714
|
+
type: Literal2(type$p),
|
|
93715
|
+
compatibilityDate: Literal2(compatibilityDate$p),
|
|
93708
93716
|
...editableColumnFields(),
|
|
93709
93717
|
placeholder: optional(Locale.annotations({
|
|
93710
93718
|
title: "占位符",
|
|
@@ -93788,16 +93796,16 @@ function toColumnDef$5(value, { getLocaleText }) {
|
|
|
93788
93796
|
}
|
|
93789
93797
|
const __vite_glob_0_24$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
93790
93798
|
__proto__: null,
|
|
93791
|
-
compatibilityDate: compatibilityDate$
|
|
93799
|
+
compatibilityDate: compatibilityDate$p,
|
|
93792
93800
|
defaults: defaults$h,
|
|
93793
|
-
metadata: metadata$
|
|
93794
|
-
schema: schema$
|
|
93801
|
+
metadata: metadata$p,
|
|
93802
|
+
schema: schema$p,
|
|
93795
93803
|
toColumnDef: toColumnDef$5,
|
|
93796
|
-
type: type$
|
|
93804
|
+
type: type$p
|
|
93797
93805
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
93798
|
-
const type$
|
|
93799
|
-
const compatibilityDate$
|
|
93800
|
-
const metadata$
|
|
93806
|
+
const type$o = "com.shwfed.table.column.tree-combobox-single";
|
|
93807
|
+
const compatibilityDate$o = "2026-05-27";
|
|
93808
|
+
const metadata$o = {
|
|
93801
93809
|
name: "下拉树(单选)",
|
|
93802
93810
|
icon: "fluent:tree-evergreen-20-regular"
|
|
93803
93811
|
};
|
|
@@ -93810,7 +93818,7 @@ function withRowAndNode$2(configure) {
|
|
|
93810
93818
|
env.registerVariable("node", "dyn", { description: "`数据源` 返回的节点;由树逐层向下读取" });
|
|
93811
93819
|
};
|
|
93812
93820
|
}
|
|
93813
|
-
function schema$
|
|
93821
|
+
function schema$o(configure) {
|
|
93814
93822
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
93815
93823
|
const CelNodeKey = Expression({ configure: withRowAndNode$2(configure), resultType: isKeyType$6 });
|
|
93816
93824
|
const CelNodeChildren = Expression({ configure: withRowAndNode$2(configure), resultType: isListLike$6 });
|
|
@@ -93844,8 +93852,8 @@ function schema$n(configure) {
|
|
|
93844
93852
|
})
|
|
93845
93853
|
}).annotations({ title: "DataSource", description: "数据源配置" });
|
|
93846
93854
|
return Struct({
|
|
93847
|
-
type: Literal2(type$
|
|
93848
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
93855
|
+
type: Literal2(type$o),
|
|
93856
|
+
compatibilityDate: Literal2(compatibilityDate$o),
|
|
93849
93857
|
...editableColumnFields(),
|
|
93850
93858
|
placeholder: optional(Locale.annotations({
|
|
93851
93859
|
title: "占位符",
|
|
@@ -93921,22 +93929,22 @@ function toColumnDef$4(value, { getLocaleText }) {
|
|
|
93921
93929
|
}
|
|
93922
93930
|
const __vite_glob_0_25$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
93923
93931
|
__proto__: null,
|
|
93924
|
-
compatibilityDate: compatibilityDate$
|
|
93932
|
+
compatibilityDate: compatibilityDate$o,
|
|
93925
93933
|
defaults: defaults$g,
|
|
93926
|
-
metadata: metadata$
|
|
93927
|
-
schema: schema$
|
|
93934
|
+
metadata: metadata$o,
|
|
93935
|
+
schema: schema$o,
|
|
93928
93936
|
toColumnDef: toColumnDef$4,
|
|
93929
|
-
type: type$
|
|
93937
|
+
type: type$o
|
|
93930
93938
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
93931
|
-
const type$
|
|
93932
|
-
const compatibilityDate$
|
|
93933
|
-
const metadata$
|
|
93939
|
+
const type$n = "com.shwfed.table.column.combobox-multi";
|
|
93940
|
+
const compatibilityDate$n = "2026-05-28";
|
|
93941
|
+
const metadata$n = {
|
|
93934
93942
|
name: "多选",
|
|
93935
93943
|
icon: "fluent:chevron-down-20-regular"
|
|
93936
93944
|
};
|
|
93937
93945
|
const isListType$5 = (actual) => actual === "dyn" || actual.startsWith("list");
|
|
93938
93946
|
const isKeywordsType$1 = (actual) => actual === "dyn" || actual.startsWith("list") || actual.startsWith("optional");
|
|
93939
|
-
function itemSchema$
|
|
93947
|
+
function itemSchema$4(configure) {
|
|
93940
93948
|
const LocaleMd = LocaleMarkdownWithRow(configure);
|
|
93941
93949
|
const TextValue = Struct({
|
|
93942
93950
|
kind: Literal2("text"),
|
|
@@ -94033,7 +94041,7 @@ function remoteOptionsSchema$3(configure) {
|
|
|
94033
94041
|
}).annotations({ title: "ComboboxMultiOptionsRemote", description: "远程加载的选项列表" });
|
|
94034
94042
|
}
|
|
94035
94043
|
function optionsSchema$3(configure) {
|
|
94036
|
-
const Item = itemSchema$
|
|
94044
|
+
const Item = itemSchema$4(configure);
|
|
94037
94045
|
const StaticSpec = Struct({
|
|
94038
94046
|
kind: Literal2("static"),
|
|
94039
94047
|
items: optionalWith(Array$(Item).annotations({
|
|
@@ -94079,14 +94087,14 @@ function writeSchema$1(configure) {
|
|
|
94079
94087
|
description: '`kind: "binding"` 行内编辑写回 dot-prop 路径;`kind: "remote"` 只读回显并通过请求写入服务端'
|
|
94080
94088
|
});
|
|
94081
94089
|
}
|
|
94082
|
-
function schema$
|
|
94090
|
+
function schema$n(configure) {
|
|
94083
94091
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
94084
94092
|
const Options = optionsSchema$3(configure);
|
|
94085
94093
|
const Write = writeSchema$1(configure);
|
|
94086
94094
|
const display = columnFields(configure);
|
|
94087
94095
|
return Struct({
|
|
94088
|
-
type: Literal2(type$
|
|
94089
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
94096
|
+
type: Literal2(type$n),
|
|
94097
|
+
compatibilityDate: Literal2(compatibilityDate$n),
|
|
94090
94098
|
...columnIdentityFields(),
|
|
94091
94099
|
title: display.title,
|
|
94092
94100
|
placeholder: optional(Locale.annotations({
|
|
@@ -94140,7 +94148,7 @@ const migrate$8 = (prev) => try_({
|
|
|
94140
94148
|
throw new Error("下拉多选迁移失败:原值不是对象");
|
|
94141
94149
|
}
|
|
94142
94150
|
const src = prev;
|
|
94143
|
-
const out = { type: type$
|
|
94151
|
+
const out = { type: type$n, compatibilityDate: compatibilityDate$n };
|
|
94144
94152
|
for (const k of CARRY$1) {
|
|
94145
94153
|
if (src[k] !== void 0) out[k] = src[k];
|
|
94146
94154
|
}
|
|
@@ -94201,28 +94209,28 @@ function toColumnDef$3(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
94201
94209
|
}
|
|
94202
94210
|
const __vite_glob_0_26$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
94203
94211
|
__proto__: null,
|
|
94204
|
-
compatibilityDate: compatibilityDate$
|
|
94212
|
+
compatibilityDate: compatibilityDate$n,
|
|
94205
94213
|
defaults: defaults$f,
|
|
94206
|
-
itemSchema: itemSchema$
|
|
94207
|
-
metadata: metadata$
|
|
94214
|
+
itemSchema: itemSchema$4,
|
|
94215
|
+
metadata: metadata$n,
|
|
94208
94216
|
migrate: migrate$8,
|
|
94209
94217
|
migrateFrom: migrateFrom$8,
|
|
94210
94218
|
optionsSchema: optionsSchema$3,
|
|
94211
94219
|
remoteOptionsSchema: remoteOptionsSchema$3,
|
|
94212
|
-
schema: schema$
|
|
94220
|
+
schema: schema$n,
|
|
94213
94221
|
toColumnDef: toColumnDef$3,
|
|
94214
|
-
type: type$
|
|
94222
|
+
type: type$n,
|
|
94215
94223
|
writeSchema: writeSchema$1
|
|
94216
94224
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
94217
|
-
const type$
|
|
94218
|
-
const compatibilityDate$
|
|
94219
|
-
const metadata$
|
|
94225
|
+
const type$m = "com.shwfed.table.column.combobox-single";
|
|
94226
|
+
const compatibilityDate$m = "2026-05-28";
|
|
94227
|
+
const metadata$m = {
|
|
94220
94228
|
name: "单选",
|
|
94221
94229
|
icon: "fluent:chevron-down-20-regular"
|
|
94222
94230
|
};
|
|
94223
94231
|
const isListType$4 = (actual) => actual === "dyn" || actual.startsWith("list");
|
|
94224
94232
|
const isKeywordsType = (actual) => actual === "dyn" || actual.startsWith("list") || actual.startsWith("optional");
|
|
94225
|
-
function itemSchema$
|
|
94233
|
+
function itemSchema$3(configure) {
|
|
94226
94234
|
const LocaleMd = LocaleMarkdownWithRow(configure);
|
|
94227
94235
|
const TextValue = Struct({
|
|
94228
94236
|
kind: Literal2("text"),
|
|
@@ -94319,7 +94327,7 @@ function remoteOptionsSchema$2(configure) {
|
|
|
94319
94327
|
}).annotations({ title: "ComboboxSingleOptionsRemote", description: "远程加载的选项列表" });
|
|
94320
94328
|
}
|
|
94321
94329
|
function optionsSchema$2(configure) {
|
|
94322
|
-
const Item = itemSchema$
|
|
94330
|
+
const Item = itemSchema$3(configure);
|
|
94323
94331
|
const StaticSpec = Struct({
|
|
94324
94332
|
kind: Literal2("static"),
|
|
94325
94333
|
items: optionalWith(Array$(Item).annotations({
|
|
@@ -94365,14 +94373,14 @@ function writeSchema(configure) {
|
|
|
94365
94373
|
description: '`kind: "binding"` 行内编辑写回 dot-prop 路径;`kind: "remote"` 只读回显并通过请求写入服务端'
|
|
94366
94374
|
});
|
|
94367
94375
|
}
|
|
94368
|
-
function schema$
|
|
94376
|
+
function schema$m(configure) {
|
|
94369
94377
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
94370
94378
|
const Options = optionsSchema$2(configure);
|
|
94371
94379
|
const Write = writeSchema(configure);
|
|
94372
94380
|
const display = columnFields(configure);
|
|
94373
94381
|
return Struct({
|
|
94374
|
-
type: Literal2(type$
|
|
94375
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
94382
|
+
type: Literal2(type$m),
|
|
94383
|
+
compatibilityDate: Literal2(compatibilityDate$m),
|
|
94376
94384
|
...columnIdentityFields(),
|
|
94377
94385
|
title: display.title,
|
|
94378
94386
|
placeholder: optional(Locale.annotations({
|
|
@@ -94426,7 +94434,7 @@ const migrate$7 = (prev) => try_({
|
|
|
94426
94434
|
throw new Error("下拉单选迁移失败:原值不是对象");
|
|
94427
94435
|
}
|
|
94428
94436
|
const src = prev;
|
|
94429
|
-
const out = { type: type$
|
|
94437
|
+
const out = { type: type$m, compatibilityDate: compatibilityDate$m };
|
|
94430
94438
|
for (const k of CARRY) {
|
|
94431
94439
|
if (src[k] !== void 0) out[k] = src[k];
|
|
94432
94440
|
}
|
|
@@ -94487,22 +94495,22 @@ function toColumnDef$2(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
94487
94495
|
}
|
|
94488
94496
|
const __vite_glob_0_27$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
94489
94497
|
__proto__: null,
|
|
94490
|
-
compatibilityDate: compatibilityDate$
|
|
94498
|
+
compatibilityDate: compatibilityDate$m,
|
|
94491
94499
|
defaults: defaults$e,
|
|
94492
|
-
itemSchema: itemSchema$
|
|
94493
|
-
metadata: metadata$
|
|
94500
|
+
itemSchema: itemSchema$3,
|
|
94501
|
+
metadata: metadata$m,
|
|
94494
94502
|
migrate: migrate$7,
|
|
94495
94503
|
migrateFrom: migrateFrom$7,
|
|
94496
94504
|
optionsSchema: optionsSchema$2,
|
|
94497
94505
|
remoteOptionsSchema: remoteOptionsSchema$2,
|
|
94498
|
-
schema: schema$
|
|
94506
|
+
schema: schema$m,
|
|
94499
94507
|
toColumnDef: toColumnDef$2,
|
|
94500
|
-
type: type$
|
|
94508
|
+
type: type$m,
|
|
94501
94509
|
writeSchema
|
|
94502
94510
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
94503
|
-
const type$
|
|
94504
|
-
const compatibilityDate$
|
|
94505
|
-
const metadata$
|
|
94511
|
+
const type$l = "com.shwfed.table.column.tree-combobox-multi";
|
|
94512
|
+
const compatibilityDate$l = "2026-05-28";
|
|
94513
|
+
const metadata$l = {
|
|
94506
94514
|
name: "下拉树(多选)",
|
|
94507
94515
|
icon: "fluent:tree-evergreen-20-regular"
|
|
94508
94516
|
};
|
|
@@ -94515,7 +94523,7 @@ function withRowAndNode$1(configure) {
|
|
|
94515
94523
|
env.registerVariable("node", "dyn", { description: "`数据源` 返回的节点;由树逐层向下读取" });
|
|
94516
94524
|
};
|
|
94517
94525
|
}
|
|
94518
|
-
function schema$
|
|
94526
|
+
function schema$l(configure) {
|
|
94519
94527
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
94520
94528
|
const CelNodeKey = Expression({ configure: withRowAndNode$1(configure), resultType: isKeyType$5 });
|
|
94521
94529
|
const CelNodeChildren = Expression({ configure: withRowAndNode$1(configure), resultType: isListLike$5 });
|
|
@@ -94550,8 +94558,8 @@ function schema$k(configure) {
|
|
|
94550
94558
|
})
|
|
94551
94559
|
}).annotations({ title: "DataSource", description: "数据源配置" });
|
|
94552
94560
|
return Struct({
|
|
94553
|
-
type: Literal2(type$
|
|
94554
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
94561
|
+
type: Literal2(type$l),
|
|
94562
|
+
compatibilityDate: Literal2(compatibilityDate$l),
|
|
94555
94563
|
...editableColumnFields(),
|
|
94556
94564
|
placeholder: optional(Locale.annotations({
|
|
94557
94565
|
title: "占位符",
|
|
@@ -94633,7 +94641,7 @@ const migrate$6 = (prev) => try_({
|
|
|
94633
94641
|
throw new Error("下拉树(多选)迁移失败:原值不是对象");
|
|
94634
94642
|
}
|
|
94635
94643
|
const { compatibilityDate: _omit, ...rest } = prev;
|
|
94636
|
-
return { ...rest, type: type$
|
|
94644
|
+
return { ...rest, type: type$l, compatibilityDate: compatibilityDate$l };
|
|
94637
94645
|
},
|
|
94638
94646
|
catch: (e) => e instanceof Error ? e : new Error(String(e))
|
|
94639
94647
|
});
|
|
@@ -94655,18 +94663,18 @@ function toColumnDef$1(value, { getLocaleText }) {
|
|
|
94655
94663
|
}
|
|
94656
94664
|
const __vite_glob_0_28$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
94657
94665
|
__proto__: null,
|
|
94658
|
-
compatibilityDate: compatibilityDate$
|
|
94666
|
+
compatibilityDate: compatibilityDate$l,
|
|
94659
94667
|
defaults: defaults$d,
|
|
94660
|
-
metadata: metadata$
|
|
94668
|
+
metadata: metadata$l,
|
|
94661
94669
|
migrate: migrate$6,
|
|
94662
94670
|
migrateFrom: migrateFrom$6,
|
|
94663
|
-
schema: schema$
|
|
94671
|
+
schema: schema$l,
|
|
94664
94672
|
toColumnDef: toColumnDef$1,
|
|
94665
|
-
type: type$
|
|
94673
|
+
type: type$l
|
|
94666
94674
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
94667
|
-
const type$
|
|
94668
|
-
const compatibilityDate$
|
|
94669
|
-
const metadata$
|
|
94675
|
+
const type$k = "com.shwfed.table.column.tree-combobox-single";
|
|
94676
|
+
const compatibilityDate$k = "2026-05-28";
|
|
94677
|
+
const metadata$k = {
|
|
94670
94678
|
name: "下拉树(单选)",
|
|
94671
94679
|
icon: "fluent:tree-evergreen-20-regular"
|
|
94672
94680
|
};
|
|
@@ -94679,7 +94687,7 @@ function withRowAndNode(configure) {
|
|
|
94679
94687
|
env.registerVariable("node", "dyn", { description: "`数据源` 返回的节点;由树逐层向下读取" });
|
|
94680
94688
|
};
|
|
94681
94689
|
}
|
|
94682
|
-
function schema$
|
|
94690
|
+
function schema$k(configure) {
|
|
94683
94691
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
94684
94692
|
const CelNodeKey = Expression({ configure: withRowAndNode(configure), resultType: isKeyType$4 });
|
|
94685
94693
|
const CelNodeChildren = Expression({ configure: withRowAndNode(configure), resultType: isListLike$4 });
|
|
@@ -94714,8 +94722,8 @@ function schema$j(configure) {
|
|
|
94714
94722
|
})
|
|
94715
94723
|
}).annotations({ title: "DataSource", description: "数据源配置" });
|
|
94716
94724
|
return Struct({
|
|
94717
|
-
type: Literal2(type$
|
|
94718
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
94725
|
+
type: Literal2(type$k),
|
|
94726
|
+
compatibilityDate: Literal2(compatibilityDate$k),
|
|
94719
94727
|
...editableColumnFields(),
|
|
94720
94728
|
placeholder: optional(Locale.annotations({
|
|
94721
94729
|
title: "占位符",
|
|
@@ -94789,7 +94797,7 @@ const migrate$5 = (prev) => try_({
|
|
|
94789
94797
|
throw new Error("下拉树(单选)迁移失败:原值不是对象");
|
|
94790
94798
|
}
|
|
94791
94799
|
const { compatibilityDate: _omit, ...rest } = prev;
|
|
94792
|
-
return { ...rest, type: type$
|
|
94800
|
+
return { ...rest, type: type$k, compatibilityDate: compatibilityDate$k };
|
|
94793
94801
|
},
|
|
94794
94802
|
catch: (e) => e instanceof Error ? e : new Error(String(e))
|
|
94795
94803
|
});
|
|
@@ -94811,14 +94819,14 @@ function toColumnDef(value, { getLocaleText }) {
|
|
|
94811
94819
|
}
|
|
94812
94820
|
const __vite_glob_0_29$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
94813
94821
|
__proto__: null,
|
|
94814
|
-
compatibilityDate: compatibilityDate$
|
|
94822
|
+
compatibilityDate: compatibilityDate$k,
|
|
94815
94823
|
defaults: defaults$c,
|
|
94816
|
-
metadata: metadata$
|
|
94824
|
+
metadata: metadata$k,
|
|
94817
94825
|
migrate: migrate$5,
|
|
94818
94826
|
migrateFrom: migrateFrom$5,
|
|
94819
|
-
schema: schema$
|
|
94827
|
+
schema: schema$k,
|
|
94820
94828
|
toColumnDef,
|
|
94821
|
-
type: type$
|
|
94829
|
+
type: type$k
|
|
94822
94830
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
94823
94831
|
const schemaModules$2 = /* @__PURE__ */ Object.assign({
|
|
94824
94832
|
"../columns/2026-04-14/com.shwfed.table.column.actions/schema.ts": __vite_glob_0_0,
|
|
@@ -94827,7 +94835,7 @@ const schemaModules$2 = /* @__PURE__ */ Object.assign({
|
|
|
94827
94835
|
"../columns/2026-04-14/com.shwfed.table.column.markdown/schema.ts": __vite_glob_0_3$1,
|
|
94828
94836
|
"../columns/2026-04-14/com.shwfed.table.column.number/schema.ts": __vite_glob_0_4$1,
|
|
94829
94837
|
"../columns/2026-04-14/com.shwfed.table.column.select/schema.ts": __vite_glob_0_5$1,
|
|
94830
|
-
"../columns/2026-04-14/com.shwfed.table.column.text/schema.ts": __vite_glob_0_6,
|
|
94838
|
+
"../columns/2026-04-14/com.shwfed.table.column.text/schema.ts": __vite_glob_0_6$1,
|
|
94831
94839
|
"../columns/2026-05-13/com.shwfed.table.column.switch.remote/schema.ts": __vite_glob_0_7,
|
|
94832
94840
|
"../columns/2026-05-13/com.shwfed.table.column.switch/schema.ts": __vite_glob_0_8,
|
|
94833
94841
|
"../columns/2026-05-20/com.shwfed.table.column.combobox-single/schema.ts": __vite_glob_0_9,
|
|
@@ -94853,68 +94861,68 @@ const schemaModules$2 = /* @__PURE__ */ Object.assign({
|
|
|
94853
94861
|
"../columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/schema.ts": __vite_glob_0_29$1
|
|
94854
94862
|
});
|
|
94855
94863
|
const configModules$2 = /* @__PURE__ */ Object.assign({
|
|
94856
|
-
"../columns/2026-04-14/com.shwfed.table.column.actions/config.vue":
|
|
94857
|
-
"../columns/2026-04-14/com.shwfed.table.column.date/config.vue":
|
|
94858
|
-
"../columns/2026-04-14/com.shwfed.table.column.icon/config.vue":
|
|
94859
|
-
"../columns/2026-04-14/com.shwfed.table.column.markdown/config.vue":
|
|
94860
|
-
"../columns/2026-04-14/com.shwfed.table.column.number/config.vue":
|
|
94861
|
-
"../columns/2026-04-14/com.shwfed.table.column.select/config.vue":
|
|
94862
|
-
"../columns/2026-04-14/com.shwfed.table.column.text/config.vue":
|
|
94863
|
-
"../columns/2026-05-13/com.shwfed.table.column.switch.remote/config.vue":
|
|
94864
|
-
"../columns/2026-05-13/com.shwfed.table.column.switch/config.vue":
|
|
94865
|
-
"../columns/2026-05-20/com.shwfed.table.column.combobox-single/config.vue":
|
|
94866
|
-
"../columns/2026-05-20/com.shwfed.table.column.number-input/config.vue":
|
|
94867
|
-
"../columns/2026-05-20/com.shwfed.table.column.switch.local/config.vue":
|
|
94868
|
-
"../columns/2026-05-20/com.shwfed.table.column.switch/config.vue":
|
|
94869
|
-
"../columns/2026-05-20/com.shwfed.table.column.text-input/config.vue":
|
|
94870
|
-
"../columns/2026-05-21/com.shwfed.table.column.drag-handle/config.vue":
|
|
94871
|
-
"../columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.vue":
|
|
94872
|
-
"../columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/config.vue":
|
|
94873
|
-
"../columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.vue":
|
|
94874
|
-
"../columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/config.vue":
|
|
94875
|
-
"../columns/2026-05-25/com.shwfed.table.column.combobox-multi/config.vue":
|
|
94876
|
-
"../columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/config.vue":
|
|
94877
|
-
"../columns/2026-05-26/com.shwfed.table.column.combobox-multi/config.vue":
|
|
94878
|
-
"../columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/config.vue":
|
|
94879
|
-
"../columns/2026-05-26/com.shwfed.table.column.combobox-single/config.vue":
|
|
94880
|
-
"../columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/config.vue":
|
|
94881
|
-
"../columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/config.vue":
|
|
94882
|
-
"../columns/2026-05-28/com.shwfed.table.column.combobox-multi/config.vue":
|
|
94883
|
-
"../columns/2026-05-28/com.shwfed.table.column.combobox-single/config.vue":
|
|
94884
|
-
"../columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/config.vue":
|
|
94885
|
-
"../columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/config.vue":
|
|
94864
|
+
"../columns/2026-04-14/com.shwfed.table.column.actions/config.vue": __vite_glob_2_6,
|
|
94865
|
+
"../columns/2026-04-14/com.shwfed.table.column.date/config.vue": __vite_glob_2_6,
|
|
94866
|
+
"../columns/2026-04-14/com.shwfed.table.column.icon/config.vue": __vite_glob_2_6,
|
|
94867
|
+
"../columns/2026-04-14/com.shwfed.table.column.markdown/config.vue": __vite_glob_2_6,
|
|
94868
|
+
"../columns/2026-04-14/com.shwfed.table.column.number/config.vue": __vite_glob_2_6,
|
|
94869
|
+
"../columns/2026-04-14/com.shwfed.table.column.select/config.vue": __vite_glob_2_6,
|
|
94870
|
+
"../columns/2026-04-14/com.shwfed.table.column.text/config.vue": __vite_glob_2_6,
|
|
94871
|
+
"../columns/2026-05-13/com.shwfed.table.column.switch.remote/config.vue": __vite_glob_2_6,
|
|
94872
|
+
"../columns/2026-05-13/com.shwfed.table.column.switch/config.vue": __vite_glob_2_6,
|
|
94873
|
+
"../columns/2026-05-20/com.shwfed.table.column.combobox-single/config.vue": __vite_glob_2_6,
|
|
94874
|
+
"../columns/2026-05-20/com.shwfed.table.column.number-input/config.vue": __vite_glob_2_6,
|
|
94875
|
+
"../columns/2026-05-20/com.shwfed.table.column.switch.local/config.vue": __vite_glob_2_6,
|
|
94876
|
+
"../columns/2026-05-20/com.shwfed.table.column.switch/config.vue": __vite_glob_2_6,
|
|
94877
|
+
"../columns/2026-05-20/com.shwfed.table.column.text-input/config.vue": __vite_glob_2_6,
|
|
94878
|
+
"../columns/2026-05-21/com.shwfed.table.column.drag-handle/config.vue": __vite_glob_2_6,
|
|
94879
|
+
"../columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.vue": __vite_glob_2_6,
|
|
94880
|
+
"../columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/config.vue": __vite_glob_2_6,
|
|
94881
|
+
"../columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.vue": __vite_glob_2_6,
|
|
94882
|
+
"../columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/config.vue": __vite_glob_2_6,
|
|
94883
|
+
"../columns/2026-05-25/com.shwfed.table.column.combobox-multi/config.vue": __vite_glob_2_6,
|
|
94884
|
+
"../columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/config.vue": __vite_glob_2_6,
|
|
94885
|
+
"../columns/2026-05-26/com.shwfed.table.column.combobox-multi/config.vue": __vite_glob_2_6,
|
|
94886
|
+
"../columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/config.vue": __vite_glob_2_6,
|
|
94887
|
+
"../columns/2026-05-26/com.shwfed.table.column.combobox-single/config.vue": __vite_glob_2_6,
|
|
94888
|
+
"../columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/config.vue": __vite_glob_2_6,
|
|
94889
|
+
"../columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/config.vue": __vite_glob_2_6,
|
|
94890
|
+
"../columns/2026-05-28/com.shwfed.table.column.combobox-multi/config.vue": __vite_glob_2_6,
|
|
94891
|
+
"../columns/2026-05-28/com.shwfed.table.column.combobox-single/config.vue": __vite_glob_2_6,
|
|
94892
|
+
"../columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/config.vue": __vite_glob_2_6,
|
|
94893
|
+
"../columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/config.vue": __vite_glob_2_6
|
|
94886
94894
|
});
|
|
94887
94895
|
const runtimeModules$2 = /* @__PURE__ */ Object.assign({
|
|
94888
|
-
"../columns/2026-04-14/com.shwfed.table.column.actions/runtime.vue":
|
|
94889
|
-
"../columns/2026-04-14/com.shwfed.table.column.date/runtime.vue":
|
|
94890
|
-
"../columns/2026-04-14/com.shwfed.table.column.icon/runtime.vue":
|
|
94891
|
-
"../columns/2026-04-14/com.shwfed.table.column.markdown/runtime.vue":
|
|
94892
|
-
"../columns/2026-04-14/com.shwfed.table.column.number/runtime.vue":
|
|
94893
|
-
"../columns/2026-04-14/com.shwfed.table.column.select/runtime.vue":
|
|
94894
|
-
"../columns/2026-04-14/com.shwfed.table.column.text/runtime.vue":
|
|
94895
|
-
"../columns/2026-05-13/com.shwfed.table.column.switch.remote/runtime.vue":
|
|
94896
|
-
"../columns/2026-05-13/com.shwfed.table.column.switch/runtime.vue":
|
|
94897
|
-
"../columns/2026-05-20/com.shwfed.table.column.combobox-single/runtime.vue":
|
|
94898
|
-
"../columns/2026-05-20/com.shwfed.table.column.number-input/runtime.vue":
|
|
94899
|
-
"../columns/2026-05-20/com.shwfed.table.column.switch.local/runtime.vue":
|
|
94900
|
-
"../columns/2026-05-20/com.shwfed.table.column.switch/runtime.vue":
|
|
94901
|
-
"../columns/2026-05-20/com.shwfed.table.column.text-input/runtime.vue":
|
|
94902
|
-
"../columns/2026-05-21/com.shwfed.table.column.drag-handle/runtime.vue":
|
|
94903
|
-
"../columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/runtime.vue":
|
|
94904
|
-
"../columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/runtime.vue":
|
|
94905
|
-
"../columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/runtime.vue":
|
|
94906
|
-
"../columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/runtime.vue":
|
|
94907
|
-
"../columns/2026-05-25/com.shwfed.table.column.combobox-multi/runtime.vue":
|
|
94908
|
-
"../columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/runtime.vue":
|
|
94909
|
-
"../columns/2026-05-26/com.shwfed.table.column.combobox-multi/runtime.vue":
|
|
94910
|
-
"../columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/runtime.vue":
|
|
94911
|
-
"../columns/2026-05-26/com.shwfed.table.column.combobox-single/runtime.vue":
|
|
94912
|
-
"../columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/runtime.vue":
|
|
94913
|
-
"../columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/runtime.vue":
|
|
94914
|
-
"../columns/2026-05-28/com.shwfed.table.column.combobox-multi/runtime.vue":
|
|
94915
|
-
"../columns/2026-05-28/com.shwfed.table.column.combobox-single/runtime.vue":
|
|
94916
|
-
"../columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/runtime.vue":
|
|
94917
|
-
"../columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/runtime.vue":
|
|
94896
|
+
"../columns/2026-04-14/com.shwfed.table.column.actions/runtime.vue": __vite_glob_2_6,
|
|
94897
|
+
"../columns/2026-04-14/com.shwfed.table.column.date/runtime.vue": __vite_glob_2_6,
|
|
94898
|
+
"../columns/2026-04-14/com.shwfed.table.column.icon/runtime.vue": __vite_glob_2_6,
|
|
94899
|
+
"../columns/2026-04-14/com.shwfed.table.column.markdown/runtime.vue": __vite_glob_2_6,
|
|
94900
|
+
"../columns/2026-04-14/com.shwfed.table.column.number/runtime.vue": __vite_glob_2_6,
|
|
94901
|
+
"../columns/2026-04-14/com.shwfed.table.column.select/runtime.vue": __vite_glob_2_6,
|
|
94902
|
+
"../columns/2026-04-14/com.shwfed.table.column.text/runtime.vue": __vite_glob_2_6,
|
|
94903
|
+
"../columns/2026-05-13/com.shwfed.table.column.switch.remote/runtime.vue": __vite_glob_2_6,
|
|
94904
|
+
"../columns/2026-05-13/com.shwfed.table.column.switch/runtime.vue": __vite_glob_2_6,
|
|
94905
|
+
"../columns/2026-05-20/com.shwfed.table.column.combobox-single/runtime.vue": __vite_glob_2_6,
|
|
94906
|
+
"../columns/2026-05-20/com.shwfed.table.column.number-input/runtime.vue": __vite_glob_2_6,
|
|
94907
|
+
"../columns/2026-05-20/com.shwfed.table.column.switch.local/runtime.vue": __vite_glob_2_6,
|
|
94908
|
+
"../columns/2026-05-20/com.shwfed.table.column.switch/runtime.vue": __vite_glob_2_6,
|
|
94909
|
+
"../columns/2026-05-20/com.shwfed.table.column.text-input/runtime.vue": __vite_glob_2_6,
|
|
94910
|
+
"../columns/2026-05-21/com.shwfed.table.column.drag-handle/runtime.vue": __vite_glob_2_6,
|
|
94911
|
+
"../columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/runtime.vue": __vite_glob_2_6,
|
|
94912
|
+
"../columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/runtime.vue": __vite_glob_2_6,
|
|
94913
|
+
"../columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/runtime.vue": __vite_glob_2_6,
|
|
94914
|
+
"../columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/runtime.vue": __vite_glob_2_6,
|
|
94915
|
+
"../columns/2026-05-25/com.shwfed.table.column.combobox-multi/runtime.vue": __vite_glob_2_6,
|
|
94916
|
+
"../columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/runtime.vue": __vite_glob_2_6,
|
|
94917
|
+
"../columns/2026-05-26/com.shwfed.table.column.combobox-multi/runtime.vue": __vite_glob_2_6,
|
|
94918
|
+
"../columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/runtime.vue": __vite_glob_2_6,
|
|
94919
|
+
"../columns/2026-05-26/com.shwfed.table.column.combobox-single/runtime.vue": __vite_glob_2_6,
|
|
94920
|
+
"../columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/runtime.vue": __vite_glob_2_6,
|
|
94921
|
+
"../columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/runtime.vue": __vite_glob_2_6,
|
|
94922
|
+
"../columns/2026-05-28/com.shwfed.table.column.combobox-multi/runtime.vue": __vite_glob_2_6,
|
|
94923
|
+
"../columns/2026-05-28/com.shwfed.table.column.combobox-single/runtime.vue": __vite_glob_2_6,
|
|
94924
|
+
"../columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/runtime.vue": __vite_glob_2_6,
|
|
94925
|
+
"../columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/runtime.vue": __vite_glob_2_6
|
|
94918
94926
|
});
|
|
94919
94927
|
const sourceKey$1 = (type2, compatibilityDate2) => `${type2}@${compatibilityDate2}`;
|
|
94920
94928
|
const registry$2 = defineRegistry({
|
|
@@ -95385,21 +95393,21 @@ function defaultTableConfig() {
|
|
|
95385
95393
|
: index % 2 == 1 ? { 'background-color': 'oklch(98.5% 0 0)' } : { 'background-color': 'white' }`
|
|
95386
95394
|
};
|
|
95387
95395
|
}
|
|
95388
|
-
const type$
|
|
95389
|
-
const compatibilityDate$
|
|
95390
|
-
const metadata$
|
|
95396
|
+
const type$j = "com.shwfed.form.field.table";
|
|
95397
|
+
const compatibilityDate$j = "2026-05-18";
|
|
95398
|
+
const metadata$j = {
|
|
95391
95399
|
name: "表格",
|
|
95392
95400
|
icon: "fluent:table-20-regular",
|
|
95393
95401
|
w: { initial: 12, min: 6, max: Infinity },
|
|
95394
95402
|
h: { initial: 10, min: 5, max: Infinity, grow: true }
|
|
95395
95403
|
};
|
|
95396
|
-
function schema$
|
|
95404
|
+
function schema$j(configure) {
|
|
95397
95405
|
const Table = suspend(
|
|
95398
95406
|
() => TableConfig(configure)
|
|
95399
95407
|
);
|
|
95400
95408
|
return Struct({
|
|
95401
|
-
type: Literal2(type$
|
|
95402
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
95409
|
+
type: Literal2(type$j),
|
|
95410
|
+
compatibilityDate: Literal2(compatibilityDate$j),
|
|
95403
95411
|
...commonFieldFields(configure),
|
|
95404
95412
|
label: optional(Locale.annotations({
|
|
95405
95413
|
title: "标签",
|
|
@@ -95429,25 +95437,25 @@ function defaults$b() {
|
|
|
95429
95437
|
}
|
|
95430
95438
|
const __vite_glob_0_20 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
95431
95439
|
__proto__: null,
|
|
95432
|
-
compatibilityDate: compatibilityDate$
|
|
95440
|
+
compatibilityDate: compatibilityDate$j,
|
|
95433
95441
|
defaults: defaults$b,
|
|
95434
|
-
metadata: metadata$
|
|
95435
|
-
schema: schema$
|
|
95436
|
-
type: type$
|
|
95442
|
+
metadata: metadata$j,
|
|
95443
|
+
schema: schema$j,
|
|
95444
|
+
type: type$j
|
|
95437
95445
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
95438
|
-
const type$
|
|
95439
|
-
const compatibilityDate$
|
|
95440
|
-
const metadata$
|
|
95446
|
+
const type$i = "com.shwfed.form.field.collapsible";
|
|
95447
|
+
const compatibilityDate$i = "2026-05-20";
|
|
95448
|
+
const metadata$i = {
|
|
95441
95449
|
name: "可折叠区域",
|
|
95442
95450
|
icon: "fluent:chevron-down-20-regular",
|
|
95443
95451
|
w: { initial: 12, min: 4, max: Infinity },
|
|
95444
95452
|
h: { initial: 4, min: 2, max: Infinity, grow: true }
|
|
95445
95453
|
};
|
|
95446
|
-
function schema$
|
|
95454
|
+
function schema$i(configure) {
|
|
95447
95455
|
const Unit = suspend(() => FormUnit(configure));
|
|
95448
95456
|
return Struct({
|
|
95449
|
-
type: Literal2(type$
|
|
95450
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
95457
|
+
type: Literal2(type$i),
|
|
95458
|
+
compatibilityDate: Literal2(compatibilityDate$i),
|
|
95451
95459
|
id: UUID.annotations({ description: "字段唯一标识;布局通过该 id 引用字段" }),
|
|
95452
95460
|
displayName: optional(String$.annotations({
|
|
95453
95461
|
title: "内部名称",
|
|
@@ -95482,21 +95490,21 @@ function defaults$a() {
|
|
|
95482
95490
|
}
|
|
95483
95491
|
const __vite_glob_0_21 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
95484
95492
|
__proto__: null,
|
|
95485
|
-
compatibilityDate: compatibilityDate$
|
|
95493
|
+
compatibilityDate: compatibilityDate$i,
|
|
95486
95494
|
defaults: defaults$a,
|
|
95487
|
-
metadata: metadata$
|
|
95488
|
-
schema: schema$
|
|
95489
|
-
type: type$
|
|
95495
|
+
metadata: metadata$i,
|
|
95496
|
+
schema: schema$i,
|
|
95497
|
+
type: type$i
|
|
95490
95498
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
95491
|
-
const type$
|
|
95492
|
-
const compatibilityDate$
|
|
95493
|
-
const metadata$
|
|
95499
|
+
const type$h = "com.shwfed.form.field.tree.multi";
|
|
95500
|
+
const compatibilityDate$h = "2026-05-23";
|
|
95501
|
+
const metadata$h = {
|
|
95494
95502
|
name: "树(多选)",
|
|
95495
95503
|
icon: "fluent:tree-evergreen-20-regular",
|
|
95496
95504
|
w: { initial: 8, min: 4, max: Infinity },
|
|
95497
95505
|
h: { initial: 8, min: 4, max: Infinity, grow: true }
|
|
95498
95506
|
};
|
|
95499
|
-
function schema$
|
|
95507
|
+
function schema$h(configure) {
|
|
95500
95508
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
95501
95509
|
const nodeConfigure = (env) => {
|
|
95502
95510
|
configure(env);
|
|
@@ -95525,8 +95533,8 @@ function schema$g(configure) {
|
|
|
95525
95533
|
resultType: (t) => t === "dyn" || t.startsWith("list") || t.startsWith("optional")
|
|
95526
95534
|
});
|
|
95527
95535
|
return Struct({
|
|
95528
|
-
type: Literal2(type$
|
|
95529
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
95536
|
+
type: Literal2(type$h),
|
|
95537
|
+
compatibilityDate: Literal2(compatibilityDate$h),
|
|
95530
95538
|
...commonFieldFields(configure),
|
|
95531
95539
|
label: optional(Locale.annotations({
|
|
95532
95540
|
title: "标签",
|
|
@@ -95614,15 +95622,15 @@ function defaults$9() {
|
|
|
95614
95622
|
}
|
|
95615
95623
|
const __vite_glob_0_22 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
95616
95624
|
__proto__: null,
|
|
95617
|
-
compatibilityDate: compatibilityDate$
|
|
95625
|
+
compatibilityDate: compatibilityDate$h,
|
|
95618
95626
|
defaults: defaults$9,
|
|
95619
|
-
metadata: metadata$
|
|
95620
|
-
schema: schema$
|
|
95621
|
-
type: type$
|
|
95627
|
+
metadata: metadata$h,
|
|
95628
|
+
schema: schema$h,
|
|
95629
|
+
type: type$h
|
|
95622
95630
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
95623
|
-
const type$
|
|
95624
|
-
const compatibilityDate$
|
|
95625
|
-
const metadata$
|
|
95631
|
+
const type$g = "com.shwfed.form.field.month";
|
|
95632
|
+
const compatibilityDate$g = "2026-05-24";
|
|
95633
|
+
const metadata$g = {
|
|
95626
95634
|
name: "月份",
|
|
95627
95635
|
icon: "fluent:calendar-month-20-regular",
|
|
95628
95636
|
w: { initial: 8, min: 4, max: Infinity },
|
|
@@ -95644,12 +95652,12 @@ function presetSchema$1(configure) {
|
|
|
95644
95652
|
title: "MonthFieldPreset"
|
|
95645
95653
|
});
|
|
95646
95654
|
}
|
|
95647
|
-
function schema$
|
|
95655
|
+
function schema$g(configure) {
|
|
95648
95656
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
95649
95657
|
const Preset = presetSchema$1(configure);
|
|
95650
95658
|
return Struct({
|
|
95651
|
-
type: Literal2(type$
|
|
95652
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
95659
|
+
type: Literal2(type$g),
|
|
95660
|
+
compatibilityDate: Literal2(compatibilityDate$g),
|
|
95653
95661
|
...commonFieldFields(configure),
|
|
95654
95662
|
label: optional(Locale.annotations({
|
|
95655
95663
|
title: "标签",
|
|
@@ -95696,14 +95704,14 @@ function schema$f(configure) {
|
|
|
95696
95704
|
}
|
|
95697
95705
|
const __vite_glob_0_23 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
95698
95706
|
__proto__: null,
|
|
95699
|
-
compatibilityDate: compatibilityDate$
|
|
95700
|
-
metadata: metadata$
|
|
95707
|
+
compatibilityDate: compatibilityDate$g,
|
|
95708
|
+
metadata: metadata$g,
|
|
95701
95709
|
presetSchema: presetSchema$1,
|
|
95702
|
-
schema: schema$
|
|
95703
|
-
type: type$
|
|
95710
|
+
schema: schema$g,
|
|
95711
|
+
type: type$g
|
|
95704
95712
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
95705
|
-
const type$
|
|
95706
|
-
const compatibilityDate$
|
|
95713
|
+
const type$f = "com.shwfed.form.field.monthrange";
|
|
95714
|
+
const compatibilityDate$f = "2026-05-24";
|
|
95707
95715
|
const BindingPath = String$.pipe(minLength(1));
|
|
95708
95716
|
const SplitBinding = Tuple(BindingPath, BindingPath).pipe(
|
|
95709
95717
|
filter(([a, b]) => a !== b, {
|
|
@@ -95714,7 +95722,7 @@ const bindingSchema = Union2(BindingPath, SplitBinding).annotations({
|
|
|
95714
95722
|
title: "绑定路径",
|
|
95715
95723
|
description: "写入表单状态的 `dot-prop` 路径;填写单个路径时写入 `[start, end]` 字符串数组,例如 `event.months`;填写 `[起始路径, 结束路径]` 元组时分别写入两端;留空则为非受控字段"
|
|
95716
95724
|
});
|
|
95717
|
-
const metadata$
|
|
95725
|
+
const metadata$f = {
|
|
95718
95726
|
name: "月份范围",
|
|
95719
95727
|
icon: "fluent:calendar-arrow-right-20-regular",
|
|
95720
95728
|
w: { initial: 10, min: 10, max: Infinity },
|
|
@@ -95740,12 +95748,12 @@ function presetSchema(configure) {
|
|
|
95740
95748
|
title: "MonthRangeFieldPreset"
|
|
95741
95749
|
});
|
|
95742
95750
|
}
|
|
95743
|
-
function schema$
|
|
95751
|
+
function schema$f(configure) {
|
|
95744
95752
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
95745
95753
|
const Preset = presetSchema(configure);
|
|
95746
95754
|
return Struct({
|
|
95747
|
-
type: Literal2(type$
|
|
95748
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
95755
|
+
type: Literal2(type$f),
|
|
95756
|
+
compatibilityDate: Literal2(compatibilityDate$f),
|
|
95749
95757
|
...commonFieldFields(configure),
|
|
95750
95758
|
label: optional(Locale.annotations({
|
|
95751
95759
|
title: "标签",
|
|
@@ -95800,16 +95808,16 @@ function defaults$8() {
|
|
|
95800
95808
|
}
|
|
95801
95809
|
const __vite_glob_0_24 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
95802
95810
|
__proto__: null,
|
|
95803
|
-
compatibilityDate: compatibilityDate$
|
|
95811
|
+
compatibilityDate: compatibilityDate$f,
|
|
95804
95812
|
defaults: defaults$8,
|
|
95805
|
-
metadata: metadata$
|
|
95813
|
+
metadata: metadata$f,
|
|
95806
95814
|
presetSchema,
|
|
95807
|
-
schema: schema$
|
|
95808
|
-
type: type$
|
|
95815
|
+
schema: schema$f,
|
|
95816
|
+
type: type$f
|
|
95809
95817
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
95810
|
-
const type$
|
|
95811
|
-
const compatibilityDate$
|
|
95812
|
-
const metadata$
|
|
95818
|
+
const type$e = "com.shwfed.form.field.combobox.multi";
|
|
95819
|
+
const compatibilityDate$e = "2026-05-25";
|
|
95820
|
+
const metadata$e = {
|
|
95813
95821
|
name: "下拉多选",
|
|
95814
95822
|
icon: "fluent:chevron-down-20-regular",
|
|
95815
95823
|
w: { initial: 8, min: 4, max: Infinity },
|
|
@@ -95822,14 +95830,14 @@ function configureWithOption$2(configure) {
|
|
|
95822
95830
|
};
|
|
95823
95831
|
}
|
|
95824
95832
|
const isListType$3 = (actual) => actual === "dyn" || actual.startsWith("list");
|
|
95825
|
-
function schema$
|
|
95833
|
+
function schema$e(configure) {
|
|
95826
95834
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
95827
95835
|
const CelOptions = Expression({ configure, resultType: isListType$3 });
|
|
95828
95836
|
const CelOptionValue = Expression({ configure: configureWithOption$2(configure), resultType: "dyn" });
|
|
95829
95837
|
const LocaleOptionLabel = LocaleMarkdown({ configure: configureWithOption$2(configure) });
|
|
95830
95838
|
return Struct({
|
|
95831
|
-
type: Literal2(type$
|
|
95832
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
95839
|
+
type: Literal2(type$e),
|
|
95840
|
+
compatibilityDate: Literal2(compatibilityDate$e),
|
|
95833
95841
|
...commonFieldFields(configure),
|
|
95834
95842
|
label: optional(Locale.annotations({
|
|
95835
95843
|
title: "标签",
|
|
@@ -95876,14 +95884,14 @@ function schema$d(configure) {
|
|
|
95876
95884
|
}
|
|
95877
95885
|
const __vite_glob_0_25 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
95878
95886
|
__proto__: null,
|
|
95879
|
-
compatibilityDate: compatibilityDate$
|
|
95880
|
-
metadata: metadata$
|
|
95881
|
-
schema: schema$
|
|
95882
|
-
type: type$
|
|
95887
|
+
compatibilityDate: compatibilityDate$e,
|
|
95888
|
+
metadata: metadata$e,
|
|
95889
|
+
schema: schema$e,
|
|
95890
|
+
type: type$e
|
|
95883
95891
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
95884
|
-
const type$
|
|
95885
|
-
const compatibilityDate$
|
|
95886
|
-
const metadata$
|
|
95892
|
+
const type$d = "com.shwfed.form.field.tree.combobox.multi";
|
|
95893
|
+
const compatibilityDate$d = "2026-05-26";
|
|
95894
|
+
const metadata$d = {
|
|
95887
95895
|
name: "下拉树(多选)",
|
|
95888
95896
|
icon: "fluent:tree-evergreen-20-regular",
|
|
95889
95897
|
w: { initial: 8, min: 4, max: Infinity },
|
|
@@ -95901,15 +95909,15 @@ function withNode$3(configure) {
|
|
|
95901
95909
|
env.registerVariable("node", NODE_VAR$3.type, { description: NODE_VAR$3.description });
|
|
95902
95910
|
};
|
|
95903
95911
|
}
|
|
95904
|
-
function schema$
|
|
95912
|
+
function schema$d(configure) {
|
|
95905
95913
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
95906
95914
|
const CelNodeKey = Expression({ configure: withNode$3(configure), resultType: isKeyType$3 });
|
|
95907
95915
|
const CelNodeChildren = Expression({ configure: withNode$3(configure), resultType: isListLike$3 });
|
|
95908
95916
|
const CelNodeBool = Expression({ configure: withNode$3(configure), resultType: "bool" });
|
|
95909
95917
|
const NodeLocaleMd = LocaleMarkdown({ configure: withNode$3(configure) });
|
|
95910
95918
|
return Struct({
|
|
95911
|
-
type: Literal2(type$
|
|
95912
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
95919
|
+
type: Literal2(type$d),
|
|
95920
|
+
compatibilityDate: Literal2(compatibilityDate$d),
|
|
95913
95921
|
...commonFieldFields(configure),
|
|
95914
95922
|
label: optional(Locale.annotations({
|
|
95915
95923
|
title: "标签",
|
|
@@ -95989,15 +95997,15 @@ function defaults$7() {
|
|
|
95989
95997
|
}
|
|
95990
95998
|
const __vite_glob_0_26 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
95991
95999
|
__proto__: null,
|
|
95992
|
-
compatibilityDate: compatibilityDate$
|
|
96000
|
+
compatibilityDate: compatibilityDate$d,
|
|
95993
96001
|
defaults: defaults$7,
|
|
95994
|
-
metadata: metadata$
|
|
95995
|
-
schema: schema$
|
|
95996
|
-
type: type$
|
|
96002
|
+
metadata: metadata$d,
|
|
96003
|
+
schema: schema$d,
|
|
96004
|
+
type: type$d
|
|
95997
96005
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
95998
|
-
const type$
|
|
95999
|
-
const compatibilityDate$
|
|
96000
|
-
const metadata$
|
|
96006
|
+
const type$c = "com.shwfed.form.field.tree.combobox.single";
|
|
96007
|
+
const compatibilityDate$c = "2026-05-26";
|
|
96008
|
+
const metadata$c = {
|
|
96001
96009
|
name: "下拉树(单选)",
|
|
96002
96010
|
icon: "fluent:tree-evergreen-20-regular",
|
|
96003
96011
|
w: { initial: 8, min: 4, max: Infinity },
|
|
@@ -96015,15 +96023,15 @@ function withNode$2(configure) {
|
|
|
96015
96023
|
env.registerVariable("node", NODE_VAR$2.type, { description: NODE_VAR$2.description });
|
|
96016
96024
|
};
|
|
96017
96025
|
}
|
|
96018
|
-
function schema$
|
|
96026
|
+
function schema$c(configure) {
|
|
96019
96027
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
96020
96028
|
const CelNodeKey = Expression({ configure: withNode$2(configure), resultType: isKeyType$2 });
|
|
96021
96029
|
const CelNodeChildren = Expression({ configure: withNode$2(configure), resultType: isListLike$2 });
|
|
96022
96030
|
const CelNodeBool = Expression({ configure: withNode$2(configure), resultType: "bool" });
|
|
96023
96031
|
const NodeLocaleMd = LocaleMarkdown({ configure: withNode$2(configure) });
|
|
96024
96032
|
return Struct({
|
|
96025
|
-
type: Literal2(type$
|
|
96026
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
96033
|
+
type: Literal2(type$c),
|
|
96034
|
+
compatibilityDate: Literal2(compatibilityDate$c),
|
|
96027
96035
|
...commonFieldFields(configure),
|
|
96028
96036
|
label: optional(Locale.annotations({
|
|
96029
96037
|
title: "标签",
|
|
@@ -96095,21 +96103,21 @@ function defaults$6() {
|
|
|
96095
96103
|
}
|
|
96096
96104
|
const __vite_glob_0_27 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
96097
96105
|
__proto__: null,
|
|
96098
|
-
compatibilityDate: compatibilityDate$
|
|
96106
|
+
compatibilityDate: compatibilityDate$c,
|
|
96099
96107
|
defaults: defaults$6,
|
|
96100
|
-
metadata: metadata$
|
|
96101
|
-
schema: schema$
|
|
96102
|
-
type: type$
|
|
96108
|
+
metadata: metadata$c,
|
|
96109
|
+
schema: schema$c,
|
|
96110
|
+
type: type$c
|
|
96103
96111
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
96104
|
-
const type$
|
|
96105
|
-
const compatibilityDate$
|
|
96106
|
-
const metadata$
|
|
96112
|
+
const type$b = "com.shwfed.form.field.combobox.multi";
|
|
96113
|
+
const compatibilityDate$b = "2026-05-28";
|
|
96114
|
+
const metadata$b = {
|
|
96107
96115
|
name: "下拉多选",
|
|
96108
96116
|
icon: "fluent:chevron-down-20-regular",
|
|
96109
96117
|
w: { initial: 8, min: 4, max: Infinity },
|
|
96110
96118
|
h: { initial: 2, min: 2, max: 2 }
|
|
96111
96119
|
};
|
|
96112
|
-
const isListType$2 = (actual) => actual === "dyn" || actual.startsWith("list");
|
|
96120
|
+
const isListType$2 = (actual) => actual === "dyn" || actual.startsWith("list") || actual.startsWith("optional");
|
|
96113
96121
|
function configureWithOption$1(configure) {
|
|
96114
96122
|
return (env) => {
|
|
96115
96123
|
configure(env);
|
|
@@ -96122,7 +96130,7 @@ function configureWithJson$1(configure) {
|
|
|
96122
96130
|
env.registerVariable("json", "dyn", { description: "HTTP 响应体(已解析 JSON);未配置请求或请求失败时为 `null`" });
|
|
96123
96131
|
};
|
|
96124
96132
|
}
|
|
96125
|
-
function itemSchema$
|
|
96133
|
+
function itemSchema$2(configure) {
|
|
96126
96134
|
const LocaleMd = LocaleMarkdown({ configure });
|
|
96127
96135
|
const TextValue = Struct({
|
|
96128
96136
|
kind: Literal2("text"),
|
|
@@ -96192,7 +96200,7 @@ function remoteOptionsSchema$1(configure) {
|
|
|
96192
96200
|
}).annotations({ title: "ComboboxMultiOptionsRemote", description: "由 CEL 表达式(可选远程拉取)产出的选项列表" });
|
|
96193
96201
|
}
|
|
96194
96202
|
function optionsSchema$1(configure) {
|
|
96195
|
-
const Item = itemSchema$
|
|
96203
|
+
const Item = itemSchema$2(configure);
|
|
96196
96204
|
const StaticSpec = Struct({
|
|
96197
96205
|
kind: Literal2("static"),
|
|
96198
96206
|
items: optionalWith(Array$(Item).annotations({
|
|
@@ -96206,12 +96214,12 @@ function optionsSchema$1(configure) {
|
|
|
96206
96214
|
description: '选项可以是静态配置(`kind: "static"`)或由 CEL 表达式 / 远程接口产出(`kind: "remote"`)'
|
|
96207
96215
|
});
|
|
96208
96216
|
}
|
|
96209
|
-
function schema$
|
|
96217
|
+
function schema$b(configure) {
|
|
96210
96218
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
96211
96219
|
const Options = optionsSchema$1(configure);
|
|
96212
96220
|
return Struct({
|
|
96213
|
-
type: Literal2(type$
|
|
96214
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
96221
|
+
type: Literal2(type$b),
|
|
96222
|
+
compatibilityDate: Literal2(compatibilityDate$b),
|
|
96215
96223
|
...commonFieldFields(configure),
|
|
96216
96224
|
label: optional(Locale.annotations({
|
|
96217
96225
|
title: "标签",
|
|
@@ -96271,8 +96279,8 @@ const migrate$4 = (prev) => try_({
|
|
|
96271
96279
|
if (Array.isArray(optionLabel)) remote.optionLabel = optionLabel;
|
|
96272
96280
|
return {
|
|
96273
96281
|
...rest,
|
|
96274
|
-
type: type$
|
|
96275
|
-
compatibilityDate: compatibilityDate$
|
|
96282
|
+
type: type$b,
|
|
96283
|
+
compatibilityDate: compatibilityDate$b,
|
|
96276
96284
|
options: remote
|
|
96277
96285
|
};
|
|
96278
96286
|
}
|
|
@@ -96282,26 +96290,26 @@ const migrate$4 = (prev) => try_({
|
|
|
96282
96290
|
});
|
|
96283
96291
|
const __vite_glob_0_28 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
96284
96292
|
__proto__: null,
|
|
96285
|
-
compatibilityDate: compatibilityDate$
|
|
96293
|
+
compatibilityDate: compatibilityDate$b,
|
|
96286
96294
|
defaults: defaults$5,
|
|
96287
|
-
itemSchema: itemSchema$
|
|
96288
|
-
metadata: metadata$
|
|
96295
|
+
itemSchema: itemSchema$2,
|
|
96296
|
+
metadata: metadata$b,
|
|
96289
96297
|
migrate: migrate$4,
|
|
96290
96298
|
migrateFrom: migrateFrom$4,
|
|
96291
96299
|
optionsSchema: optionsSchema$1,
|
|
96292
96300
|
remoteOptionsSchema: remoteOptionsSchema$1,
|
|
96293
|
-
schema: schema$
|
|
96294
|
-
type: type$
|
|
96301
|
+
schema: schema$b,
|
|
96302
|
+
type: type$b
|
|
96295
96303
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
96296
|
-
const type$
|
|
96297
|
-
const compatibilityDate$
|
|
96298
|
-
const metadata$
|
|
96304
|
+
const type$a = "com.shwfed.form.field.combobox.single";
|
|
96305
|
+
const compatibilityDate$a = "2026-05-28";
|
|
96306
|
+
const metadata$a = {
|
|
96299
96307
|
name: "下拉单选",
|
|
96300
96308
|
icon: "fluent:chevron-down-20-regular",
|
|
96301
96309
|
w: { initial: 8, min: 4, max: Infinity },
|
|
96302
96310
|
h: { initial: 2, min: 2, max: 2 }
|
|
96303
96311
|
};
|
|
96304
|
-
const isListType$1 = (actual) => actual === "dyn" || actual.startsWith("list");
|
|
96312
|
+
const isListType$1 = (actual) => actual === "dyn" || actual.startsWith("list") || actual.startsWith("optional");
|
|
96305
96313
|
function configureWithOption(configure) {
|
|
96306
96314
|
return (env) => {
|
|
96307
96315
|
configure(env);
|
|
@@ -96314,7 +96322,7 @@ function configureWithJson(configure) {
|
|
|
96314
96322
|
env.registerVariable("json", "dyn", { description: "HTTP 响应体(已解析 JSON);未配置请求或请求失败时为 `null`" });
|
|
96315
96323
|
};
|
|
96316
96324
|
}
|
|
96317
|
-
function itemSchema(configure) {
|
|
96325
|
+
function itemSchema$1(configure) {
|
|
96318
96326
|
const LocaleMd = LocaleMarkdown({ configure });
|
|
96319
96327
|
const TextValue = Struct({
|
|
96320
96328
|
kind: Literal2("text"),
|
|
@@ -96384,7 +96392,7 @@ function remoteOptionsSchema(configure) {
|
|
|
96384
96392
|
}).annotations({ title: "ComboboxSingleOptionsRemote", description: "由 CEL 表达式(可选远程拉取)产出的选项列表" });
|
|
96385
96393
|
}
|
|
96386
96394
|
function optionsSchema(configure) {
|
|
96387
|
-
const Item = itemSchema(configure);
|
|
96395
|
+
const Item = itemSchema$1(configure);
|
|
96388
96396
|
const StaticSpec = Struct({
|
|
96389
96397
|
kind: Literal2("static"),
|
|
96390
96398
|
items: optionalWith(Array$(Item).annotations({
|
|
@@ -96398,12 +96406,12 @@ function optionsSchema(configure) {
|
|
|
96398
96406
|
description: '选项可以是静态配置(`kind: "static"`)或由 CEL 表达式 / 远程接口产出(`kind: "remote"`)'
|
|
96399
96407
|
});
|
|
96400
96408
|
}
|
|
96401
|
-
function schema$
|
|
96409
|
+
function schema$a(configure) {
|
|
96402
96410
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
96403
96411
|
const Options = optionsSchema(configure);
|
|
96404
96412
|
return Struct({
|
|
96405
|
-
type: Literal2(type$
|
|
96406
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
96413
|
+
type: Literal2(type$a),
|
|
96414
|
+
compatibilityDate: Literal2(compatibilityDate$a),
|
|
96407
96415
|
...commonFieldFields(configure),
|
|
96408
96416
|
label: optional(Locale.annotations({
|
|
96409
96417
|
title: "标签",
|
|
@@ -96462,8 +96470,8 @@ const migrate$3 = (prev) => try_({
|
|
|
96462
96470
|
const itemsArr = Array.isArray(items2) ? items2 : [];
|
|
96463
96471
|
return {
|
|
96464
96472
|
...rest,
|
|
96465
|
-
type: type$
|
|
96466
|
-
compatibilityDate: compatibilityDate$
|
|
96473
|
+
type: type$a,
|
|
96474
|
+
compatibilityDate: compatibilityDate$a,
|
|
96467
96475
|
options: { kind: "static", items: itemsArr }
|
|
96468
96476
|
};
|
|
96469
96477
|
}
|
|
@@ -96475,8 +96483,8 @@ const migrate$3 = (prev) => try_({
|
|
|
96475
96483
|
if (Array.isArray(optionLabel)) remote.optionLabel = optionLabel;
|
|
96476
96484
|
return {
|
|
96477
96485
|
...rest,
|
|
96478
|
-
type: type$
|
|
96479
|
-
compatibilityDate: compatibilityDate$
|
|
96486
|
+
type: type$a,
|
|
96487
|
+
compatibilityDate: compatibilityDate$a,
|
|
96480
96488
|
options: remote
|
|
96481
96489
|
};
|
|
96482
96490
|
}
|
|
@@ -96489,8 +96497,8 @@ const migrate$3 = (prev) => try_({
|
|
|
96489
96497
|
if (Array.isArray(optionLabel)) remote.optionLabel = optionLabel;
|
|
96490
96498
|
return {
|
|
96491
96499
|
...rest,
|
|
96492
|
-
type: type$
|
|
96493
|
-
compatibilityDate: compatibilityDate$
|
|
96500
|
+
type: type$a,
|
|
96501
|
+
compatibilityDate: compatibilityDate$a,
|
|
96494
96502
|
options: remote
|
|
96495
96503
|
};
|
|
96496
96504
|
}
|
|
@@ -96500,20 +96508,20 @@ const migrate$3 = (prev) => try_({
|
|
|
96500
96508
|
});
|
|
96501
96509
|
const __vite_glob_0_29 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
96502
96510
|
__proto__: null,
|
|
96503
|
-
compatibilityDate: compatibilityDate$
|
|
96511
|
+
compatibilityDate: compatibilityDate$a,
|
|
96504
96512
|
defaults: defaults$4,
|
|
96505
|
-
itemSchema,
|
|
96506
|
-
metadata: metadata$
|
|
96513
|
+
itemSchema: itemSchema$1,
|
|
96514
|
+
metadata: metadata$a,
|
|
96507
96515
|
migrate: migrate$3,
|
|
96508
96516
|
migrateFrom: migrateFrom$3,
|
|
96509
96517
|
optionsSchema,
|
|
96510
96518
|
remoteOptionsSchema,
|
|
96511
|
-
schema: schema$
|
|
96512
|
-
type: type$
|
|
96519
|
+
schema: schema$a,
|
|
96520
|
+
type: type$a
|
|
96513
96521
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
96514
|
-
const type$
|
|
96515
|
-
const compatibilityDate$
|
|
96516
|
-
const metadata$
|
|
96522
|
+
const type$9 = "com.shwfed.form.field.tree.combobox.multi";
|
|
96523
|
+
const compatibilityDate$9 = "2026-05-28";
|
|
96524
|
+
const metadata$9 = {
|
|
96517
96525
|
name: "下拉树(多选)",
|
|
96518
96526
|
icon: "fluent:tree-evergreen-20-regular",
|
|
96519
96527
|
w: { initial: 8, min: 4, max: Infinity },
|
|
@@ -96531,7 +96539,7 @@ function withNode$1(configure) {
|
|
|
96531
96539
|
env.registerVariable("node", NODE_VAR$1.type, { description: NODE_VAR$1.description });
|
|
96532
96540
|
};
|
|
96533
96541
|
}
|
|
96534
|
-
function schema$
|
|
96542
|
+
function schema$9(configure) {
|
|
96535
96543
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
96536
96544
|
const CelNodeKey = Expression({ configure: withNode$1(configure), resultType: isKeyType$1 });
|
|
96537
96545
|
const CelNodeChildren = Expression({ configure: withNode$1(configure), resultType: isListLike$1 });
|
|
@@ -96539,8 +96547,8 @@ function schema$8(configure) {
|
|
|
96539
96547
|
const NodeLocaleMd = LocaleMarkdown({ configure: withNode$1(configure) });
|
|
96540
96548
|
const CelKeywords = Expression({ configure: withNode$1(configure), resultType: isListLike$1 });
|
|
96541
96549
|
return Struct({
|
|
96542
|
-
type: Literal2(type$
|
|
96543
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
96550
|
+
type: Literal2(type$9),
|
|
96551
|
+
compatibilityDate: Literal2(compatibilityDate$9),
|
|
96544
96552
|
...commonFieldFields(configure),
|
|
96545
96553
|
label: optional(Locale.annotations({
|
|
96546
96554
|
title: "标签",
|
|
@@ -96633,24 +96641,24 @@ const migrate$2 = (prev) => try_({
|
|
|
96633
96641
|
const { compatibilityDate: _legacyDate, ...rest } = prev;
|
|
96634
96642
|
return {
|
|
96635
96643
|
...rest,
|
|
96636
|
-
compatibilityDate: compatibilityDate$
|
|
96644
|
+
compatibilityDate: compatibilityDate$9
|
|
96637
96645
|
};
|
|
96638
96646
|
},
|
|
96639
96647
|
catch: (e) => e instanceof Error ? e : new Error(String(e))
|
|
96640
96648
|
});
|
|
96641
96649
|
const __vite_glob_0_30 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
96642
96650
|
__proto__: null,
|
|
96643
|
-
compatibilityDate: compatibilityDate$
|
|
96651
|
+
compatibilityDate: compatibilityDate$9,
|
|
96644
96652
|
defaults: defaults$3,
|
|
96645
|
-
metadata: metadata$
|
|
96653
|
+
metadata: metadata$9,
|
|
96646
96654
|
migrate: migrate$2,
|
|
96647
96655
|
migrateFrom: migrateFrom$2,
|
|
96648
|
-
schema: schema$
|
|
96649
|
-
type: type$
|
|
96656
|
+
schema: schema$9,
|
|
96657
|
+
type: type$9
|
|
96650
96658
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
96651
|
-
const type$
|
|
96652
|
-
const compatibilityDate$
|
|
96653
|
-
const metadata$
|
|
96659
|
+
const type$8 = "com.shwfed.form.field.tree.combobox.single";
|
|
96660
|
+
const compatibilityDate$8 = "2026-05-28";
|
|
96661
|
+
const metadata$8 = {
|
|
96654
96662
|
name: "下拉树(单选)",
|
|
96655
96663
|
icon: "fluent:tree-evergreen-20-regular",
|
|
96656
96664
|
w: { initial: 8, min: 4, max: Infinity },
|
|
@@ -96668,7 +96676,7 @@ function withNode(configure) {
|
|
|
96668
96676
|
env.registerVariable("node", NODE_VAR.type, { description: NODE_VAR.description });
|
|
96669
96677
|
};
|
|
96670
96678
|
}
|
|
96671
|
-
function schema$
|
|
96679
|
+
function schema$8(configure) {
|
|
96672
96680
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
96673
96681
|
const CelNodeKey = Expression({ configure: withNode(configure), resultType: isKeyType });
|
|
96674
96682
|
const CelNodeChildren = Expression({ configure: withNode(configure), resultType: isListLike });
|
|
@@ -96676,8 +96684,8 @@ function schema$7(configure) {
|
|
|
96676
96684
|
const NodeLocaleMd = LocaleMarkdown({ configure: withNode(configure) });
|
|
96677
96685
|
const CelKeywords = Expression({ configure: withNode(configure), resultType: isListLike });
|
|
96678
96686
|
return Struct({
|
|
96679
|
-
type: Literal2(type$
|
|
96680
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
96687
|
+
type: Literal2(type$8),
|
|
96688
|
+
compatibilityDate: Literal2(compatibilityDate$8),
|
|
96681
96689
|
...commonFieldFields(configure),
|
|
96682
96690
|
label: optional(Locale.annotations({
|
|
96683
96691
|
title: "标签",
|
|
@@ -96762,30 +96770,30 @@ const migrate$1 = (prev) => try_({
|
|
|
96762
96770
|
const { compatibilityDate: _legacyDate, ...rest } = prev;
|
|
96763
96771
|
return {
|
|
96764
96772
|
...rest,
|
|
96765
|
-
compatibilityDate: compatibilityDate$
|
|
96773
|
+
compatibilityDate: compatibilityDate$8
|
|
96766
96774
|
};
|
|
96767
96775
|
},
|
|
96768
96776
|
catch: (e) => e instanceof Error ? e : new Error(String(e))
|
|
96769
96777
|
});
|
|
96770
96778
|
const __vite_glob_0_31 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
96771
96779
|
__proto__: null,
|
|
96772
|
-
compatibilityDate: compatibilityDate$
|
|
96780
|
+
compatibilityDate: compatibilityDate$8,
|
|
96773
96781
|
defaults: defaults$2,
|
|
96774
|
-
metadata: metadata$
|
|
96782
|
+
metadata: metadata$8,
|
|
96775
96783
|
migrate: migrate$1,
|
|
96776
96784
|
migrateFrom: migrateFrom$1,
|
|
96777
|
-
schema: schema$
|
|
96778
|
-
type: type$
|
|
96785
|
+
schema: schema$8,
|
|
96786
|
+
type: type$8
|
|
96779
96787
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
96780
|
-
const type$
|
|
96781
|
-
const compatibilityDate$
|
|
96782
|
-
const metadata$
|
|
96788
|
+
const type$7 = "com.shwfed.form.field.tree.multi";
|
|
96789
|
+
const compatibilityDate$7 = "2026-05-28";
|
|
96790
|
+
const metadata$7 = {
|
|
96783
96791
|
name: "树(多选)",
|
|
96784
96792
|
icon: "fluent:tree-evergreen-20-regular",
|
|
96785
96793
|
w: { initial: 8, min: 4, max: Infinity },
|
|
96786
96794
|
h: { initial: 8, min: 4, max: Infinity, grow: true }
|
|
96787
96795
|
};
|
|
96788
|
-
function schema$
|
|
96796
|
+
function schema$7(configure) {
|
|
96789
96797
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
96790
96798
|
const nodeConfigure = (env) => {
|
|
96791
96799
|
configure(env);
|
|
@@ -96814,8 +96822,8 @@ function schema$6(configure) {
|
|
|
96814
96822
|
resultType: (t) => t === "dyn" || t.startsWith("list") || t.startsWith("optional")
|
|
96815
96823
|
});
|
|
96816
96824
|
return Struct({
|
|
96817
|
-
type: Literal2(type$
|
|
96818
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
96825
|
+
type: Literal2(type$7),
|
|
96826
|
+
compatibilityDate: Literal2(compatibilityDate$7),
|
|
96819
96827
|
...commonFieldFields(configure),
|
|
96820
96828
|
label: optional(Locale.annotations({
|
|
96821
96829
|
title: "标签",
|
|
@@ -96909,30 +96917,30 @@ const migrate = (prev, _ctx) => try_({
|
|
|
96909
96917
|
const { compatibilityDate: _legacyDate, ...carryover } = prev;
|
|
96910
96918
|
return {
|
|
96911
96919
|
...carryover,
|
|
96912
|
-
compatibilityDate: compatibilityDate$
|
|
96920
|
+
compatibilityDate: compatibilityDate$7
|
|
96913
96921
|
};
|
|
96914
96922
|
},
|
|
96915
96923
|
catch: (err) => err instanceof Error ? err : new Error(String(err))
|
|
96916
96924
|
});
|
|
96917
96925
|
const __vite_glob_0_32 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
96918
96926
|
__proto__: null,
|
|
96919
|
-
compatibilityDate: compatibilityDate$
|
|
96927
|
+
compatibilityDate: compatibilityDate$7,
|
|
96920
96928
|
defaults: defaults$1,
|
|
96921
|
-
metadata: metadata$
|
|
96929
|
+
metadata: metadata$7,
|
|
96922
96930
|
migrate,
|
|
96923
96931
|
migrateFrom,
|
|
96924
|
-
schema: schema$
|
|
96925
|
-
type: type$
|
|
96932
|
+
schema: schema$7,
|
|
96933
|
+
type: type$7
|
|
96926
96934
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
96927
|
-
const type$
|
|
96928
|
-
const compatibilityDate$
|
|
96929
|
-
const metadata$
|
|
96935
|
+
const type$6 = "com.shwfed.form.field.tree.single";
|
|
96936
|
+
const compatibilityDate$6 = "2026-05-28";
|
|
96937
|
+
const metadata$6 = {
|
|
96930
96938
|
name: "树(单选)",
|
|
96931
96939
|
icon: "fluent:tree-evergreen-20-regular",
|
|
96932
96940
|
w: { initial: 8, min: 4, max: Infinity },
|
|
96933
96941
|
h: { initial: 8, min: 4, max: Infinity, grow: true }
|
|
96934
96942
|
};
|
|
96935
|
-
function schema$
|
|
96943
|
+
function schema$6(configure) {
|
|
96936
96944
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
96937
96945
|
const nodeConfigure = (env) => {
|
|
96938
96946
|
configure(env);
|
|
@@ -96957,8 +96965,8 @@ function schema$5(configure) {
|
|
|
96957
96965
|
resultType: (t) => t === "dyn" || t.startsWith("list") || t.startsWith("optional")
|
|
96958
96966
|
});
|
|
96959
96967
|
return Struct({
|
|
96960
|
-
type: Literal2(type$
|
|
96961
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
96968
|
+
type: Literal2(type$6),
|
|
96969
|
+
compatibilityDate: Literal2(compatibilityDate$6),
|
|
96962
96970
|
...commonFieldFields(configure),
|
|
96963
96971
|
label: optional(Locale.annotations({
|
|
96964
96972
|
title: "标签",
|
|
@@ -97039,11 +97047,11 @@ function defaults() {
|
|
|
97039
97047
|
}
|
|
97040
97048
|
const __vite_glob_0_33 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
97041
97049
|
__proto__: null,
|
|
97042
|
-
compatibilityDate: compatibilityDate$
|
|
97050
|
+
compatibilityDate: compatibilityDate$6,
|
|
97043
97051
|
defaults,
|
|
97044
|
-
metadata: metadata$
|
|
97045
|
-
schema: schema$
|
|
97046
|
-
type: type$
|
|
97052
|
+
metadata: metadata$6,
|
|
97053
|
+
schema: schema$6,
|
|
97054
|
+
type: type$6
|
|
97047
97055
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
97048
97056
|
const schemaModules$1 = /* @__PURE__ */ Object.assign({
|
|
97049
97057
|
"../fields/2026-04-22/com.shwfed.form.field.markdown/schema.ts": __vite_glob_0_0$1,
|
|
@@ -97052,7 +97060,7 @@ const schemaModules$1 = /* @__PURE__ */ Object.assign({
|
|
|
97052
97060
|
"../fields/2026-04-24/com.shwfed.form.field.actions/schema.ts": __vite_glob_0_3$2,
|
|
97053
97061
|
"../fields/2026-04-24/com.shwfed.form.field.combobox.single/schema.ts": __vite_glob_0_4$2,
|
|
97054
97062
|
"../fields/2026-04-27/com.shwfed.form.field.date/schema.ts": __vite_glob_0_5$2,
|
|
97055
|
-
"../fields/2026-04-27/com.shwfed.form.field.daterange/schema.ts": __vite_glob_0_6$
|
|
97063
|
+
"../fields/2026-04-27/com.shwfed.form.field.daterange/schema.ts": __vite_glob_0_6$2,
|
|
97056
97064
|
"../fields/2026-04-27/com.shwfed.form.field.datetime/schema.ts": __vite_glob_0_7$1,
|
|
97057
97065
|
"../fields/2026-04-27/com.shwfed.form.field.datetimerange/schema.ts": __vite_glob_0_8$1,
|
|
97058
97066
|
"../fields/2026-04-27/com.shwfed.form.field.time/schema.ts": __vite_glob_0_9$1,
|
|
@@ -97082,76 +97090,76 @@ const schemaModules$1 = /* @__PURE__ */ Object.assign({
|
|
|
97082
97090
|
"../fields/2026-05-28/com.shwfed.form.field.tree.single/schema.ts": __vite_glob_0_33
|
|
97083
97091
|
});
|
|
97084
97092
|
const configModules$1 = /* @__PURE__ */ Object.assign({
|
|
97085
|
-
"../fields/2026-04-22/com.shwfed.form.field.markdown/config.vue":
|
|
97086
|
-
"../fields/2026-04-22/com.shwfed.form.field.text/config.vue":
|
|
97087
|
-
"../fields/2026-04-22/com.shwfed.form.field.textarea/config.vue":
|
|
97088
|
-
"../fields/2026-04-24/com.shwfed.form.field.actions/config.vue":
|
|
97089
|
-
"../fields/2026-04-24/com.shwfed.form.field.combobox.single/config.vue":
|
|
97090
|
-
"../fields/2026-04-27/com.shwfed.form.field.date/config.vue":
|
|
97091
|
-
"../fields/2026-04-27/com.shwfed.form.field.daterange/config.vue":
|
|
97092
|
-
"../fields/2026-04-27/com.shwfed.form.field.datetime/config.vue":
|
|
97093
|
-
"../fields/2026-04-27/com.shwfed.form.field.datetimerange/config.vue":
|
|
97094
|
-
"../fields/2026-04-27/com.shwfed.form.field.time/config.vue":
|
|
97095
|
-
"../fields/2026-04-27/com.shwfed.form.field.timerange/config.vue":
|
|
97096
|
-
"../fields/2026-04-28/com.shwfed.form.field.number/config.vue":
|
|
97097
|
-
"../fields/2026-04-28/com.shwfed.form.field.numberrange/config.vue":
|
|
97098
|
-
"../fields/2026-04-28/com.shwfed.form.field.switch/config.vue":
|
|
97099
|
-
"../fields/2026-04-29/com.shwfed.form.field.combobox.single/config.vue":
|
|
97100
|
-
"../fields/2026-05-12/com.shwfed.form.field.upload/config.vue":
|
|
97101
|
-
"../fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/config.vue":
|
|
97102
|
-
"../fields/2026-05-13/com.shwfed.form.field.list/config.vue":
|
|
97103
|
-
"../fields/2026-05-17/com.shwfed.form.field.checkbox.group/config.vue":
|
|
97104
|
-
"../fields/2026-05-17/com.shwfed.form.field.radio.group/config.vue":
|
|
97105
|
-
"../fields/2026-05-18/com.shwfed.form.field.table/config.vue":
|
|
97106
|
-
"../fields/2026-05-20/com.shwfed.form.field.collapsible/config.vue":
|
|
97107
|
-
"../fields/2026-05-23/com.shwfed.form.field.tree.multi/config.vue":
|
|
97108
|
-
"../fields/2026-05-24/com.shwfed.form.field.month/config.vue":
|
|
97109
|
-
"../fields/2026-05-24/com.shwfed.form.field.monthrange/config.vue":
|
|
97110
|
-
"../fields/2026-05-25/com.shwfed.form.field.combobox.multi/config.vue":
|
|
97111
|
-
"../fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/config.vue":
|
|
97112
|
-
"../fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/config.vue":
|
|
97113
|
-
"../fields/2026-05-28/com.shwfed.form.field.combobox.multi/config.vue":
|
|
97114
|
-
"../fields/2026-05-28/com.shwfed.form.field.combobox.single/config.vue":
|
|
97115
|
-
"../fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/config.vue":
|
|
97116
|
-
"../fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/config.vue":
|
|
97117
|
-
"../fields/2026-05-28/com.shwfed.form.field.tree.multi/config.vue":
|
|
97118
|
-
"../fields/2026-05-28/com.shwfed.form.field.tree.single/config.vue":
|
|
97093
|
+
"../fields/2026-04-22/com.shwfed.form.field.markdown/config.vue": __vite_glob_2_6,
|
|
97094
|
+
"../fields/2026-04-22/com.shwfed.form.field.text/config.vue": __vite_glob_2_6,
|
|
97095
|
+
"../fields/2026-04-22/com.shwfed.form.field.textarea/config.vue": __vite_glob_2_6,
|
|
97096
|
+
"../fields/2026-04-24/com.shwfed.form.field.actions/config.vue": __vite_glob_2_6,
|
|
97097
|
+
"../fields/2026-04-24/com.shwfed.form.field.combobox.single/config.vue": __vite_glob_2_6,
|
|
97098
|
+
"../fields/2026-04-27/com.shwfed.form.field.date/config.vue": __vite_glob_2_6,
|
|
97099
|
+
"../fields/2026-04-27/com.shwfed.form.field.daterange/config.vue": __vite_glob_2_6,
|
|
97100
|
+
"../fields/2026-04-27/com.shwfed.form.field.datetime/config.vue": __vite_glob_2_6,
|
|
97101
|
+
"../fields/2026-04-27/com.shwfed.form.field.datetimerange/config.vue": __vite_glob_2_6,
|
|
97102
|
+
"../fields/2026-04-27/com.shwfed.form.field.time/config.vue": __vite_glob_2_6,
|
|
97103
|
+
"../fields/2026-04-27/com.shwfed.form.field.timerange/config.vue": __vite_glob_2_6,
|
|
97104
|
+
"../fields/2026-04-28/com.shwfed.form.field.number/config.vue": __vite_glob_2_6,
|
|
97105
|
+
"../fields/2026-04-28/com.shwfed.form.field.numberrange/config.vue": __vite_glob_2_6,
|
|
97106
|
+
"../fields/2026-04-28/com.shwfed.form.field.switch/config.vue": __vite_glob_2_6,
|
|
97107
|
+
"../fields/2026-04-29/com.shwfed.form.field.combobox.single/config.vue": __vite_glob_2_6,
|
|
97108
|
+
"../fields/2026-05-12/com.shwfed.form.field.upload/config.vue": __vite_glob_2_6,
|
|
97109
|
+
"../fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/config.vue": __vite_glob_2_6,
|
|
97110
|
+
"../fields/2026-05-13/com.shwfed.form.field.list/config.vue": __vite_glob_2_6,
|
|
97111
|
+
"../fields/2026-05-17/com.shwfed.form.field.checkbox.group/config.vue": __vite_glob_2_6,
|
|
97112
|
+
"../fields/2026-05-17/com.shwfed.form.field.radio.group/config.vue": __vite_glob_2_6,
|
|
97113
|
+
"../fields/2026-05-18/com.shwfed.form.field.table/config.vue": __vite_glob_2_6,
|
|
97114
|
+
"../fields/2026-05-20/com.shwfed.form.field.collapsible/config.vue": __vite_glob_2_6,
|
|
97115
|
+
"../fields/2026-05-23/com.shwfed.form.field.tree.multi/config.vue": __vite_glob_2_6,
|
|
97116
|
+
"../fields/2026-05-24/com.shwfed.form.field.month/config.vue": __vite_glob_2_6,
|
|
97117
|
+
"../fields/2026-05-24/com.shwfed.form.field.monthrange/config.vue": __vite_glob_2_6,
|
|
97118
|
+
"../fields/2026-05-25/com.shwfed.form.field.combobox.multi/config.vue": __vite_glob_2_6,
|
|
97119
|
+
"../fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/config.vue": __vite_glob_2_6,
|
|
97120
|
+
"../fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/config.vue": __vite_glob_2_6,
|
|
97121
|
+
"../fields/2026-05-28/com.shwfed.form.field.combobox.multi/config.vue": __vite_glob_2_6,
|
|
97122
|
+
"../fields/2026-05-28/com.shwfed.form.field.combobox.single/config.vue": __vite_glob_2_6,
|
|
97123
|
+
"../fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/config.vue": __vite_glob_2_6,
|
|
97124
|
+
"../fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/config.vue": __vite_glob_2_6,
|
|
97125
|
+
"../fields/2026-05-28/com.shwfed.form.field.tree.multi/config.vue": __vite_glob_2_6,
|
|
97126
|
+
"../fields/2026-05-28/com.shwfed.form.field.tree.single/config.vue": __vite_glob_2_6
|
|
97119
97127
|
});
|
|
97120
97128
|
const runtimeModules$1 = /* @__PURE__ */ Object.assign({
|
|
97121
|
-
"../fields/2026-04-22/com.shwfed.form.field.markdown/runtime.vue":
|
|
97122
|
-
"../fields/2026-04-22/com.shwfed.form.field.text/runtime.vue":
|
|
97123
|
-
"../fields/2026-04-22/com.shwfed.form.field.textarea/runtime.vue":
|
|
97124
|
-
"../fields/2026-04-24/com.shwfed.form.field.actions/runtime.vue":
|
|
97125
|
-
"../fields/2026-04-24/com.shwfed.form.field.combobox.single/runtime.vue":
|
|
97126
|
-
"../fields/2026-04-27/com.shwfed.form.field.date/runtime.vue":
|
|
97127
|
-
"../fields/2026-04-27/com.shwfed.form.field.daterange/runtime.vue":
|
|
97128
|
-
"../fields/2026-04-27/com.shwfed.form.field.datetime/runtime.vue":
|
|
97129
|
-
"../fields/2026-04-27/com.shwfed.form.field.datetimerange/runtime.vue":
|
|
97130
|
-
"../fields/2026-04-27/com.shwfed.form.field.time/runtime.vue":
|
|
97131
|
-
"../fields/2026-04-27/com.shwfed.form.field.timerange/runtime.vue":
|
|
97132
|
-
"../fields/2026-04-28/com.shwfed.form.field.number/runtime.vue":
|
|
97133
|
-
"../fields/2026-04-28/com.shwfed.form.field.numberrange/runtime.vue":
|
|
97134
|
-
"../fields/2026-04-28/com.shwfed.form.field.switch/runtime.vue":
|
|
97135
|
-
"../fields/2026-04-29/com.shwfed.form.field.combobox.single/runtime.vue":
|
|
97136
|
-
"../fields/2026-05-12/com.shwfed.form.field.upload/runtime.vue":
|
|
97137
|
-
"../fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/runtime.vue":
|
|
97138
|
-
"../fields/2026-05-13/com.shwfed.form.field.list/runtime.vue":
|
|
97139
|
-
"../fields/2026-05-17/com.shwfed.form.field.checkbox.group/runtime.vue":
|
|
97140
|
-
"../fields/2026-05-17/com.shwfed.form.field.radio.group/runtime.vue":
|
|
97141
|
-
"../fields/2026-05-18/com.shwfed.form.field.table/runtime.vue":
|
|
97142
|
-
"../fields/2026-05-20/com.shwfed.form.field.collapsible/runtime.vue":
|
|
97143
|
-
"../fields/2026-05-23/com.shwfed.form.field.tree.multi/runtime.vue":
|
|
97144
|
-
"../fields/2026-05-24/com.shwfed.form.field.month/runtime.vue":
|
|
97145
|
-
"../fields/2026-05-24/com.shwfed.form.field.monthrange/runtime.vue":
|
|
97146
|
-
"../fields/2026-05-25/com.shwfed.form.field.combobox.multi/runtime.vue":
|
|
97147
|
-
"../fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/runtime.vue":
|
|
97148
|
-
"../fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/runtime.vue":
|
|
97149
|
-
"../fields/2026-05-28/com.shwfed.form.field.combobox.multi/runtime.vue":
|
|
97150
|
-
"../fields/2026-05-28/com.shwfed.form.field.combobox.single/runtime.vue":
|
|
97151
|
-
"../fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/runtime.vue":
|
|
97152
|
-
"../fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/runtime.vue":
|
|
97153
|
-
"../fields/2026-05-28/com.shwfed.form.field.tree.multi/runtime.vue":
|
|
97154
|
-
"../fields/2026-05-28/com.shwfed.form.field.tree.single/runtime.vue":
|
|
97129
|
+
"../fields/2026-04-22/com.shwfed.form.field.markdown/runtime.vue": __vite_glob_2_6,
|
|
97130
|
+
"../fields/2026-04-22/com.shwfed.form.field.text/runtime.vue": __vite_glob_2_6,
|
|
97131
|
+
"../fields/2026-04-22/com.shwfed.form.field.textarea/runtime.vue": __vite_glob_2_6,
|
|
97132
|
+
"../fields/2026-04-24/com.shwfed.form.field.actions/runtime.vue": __vite_glob_2_6,
|
|
97133
|
+
"../fields/2026-04-24/com.shwfed.form.field.combobox.single/runtime.vue": __vite_glob_2_6,
|
|
97134
|
+
"../fields/2026-04-27/com.shwfed.form.field.date/runtime.vue": __vite_glob_2_6,
|
|
97135
|
+
"../fields/2026-04-27/com.shwfed.form.field.daterange/runtime.vue": __vite_glob_2_6,
|
|
97136
|
+
"../fields/2026-04-27/com.shwfed.form.field.datetime/runtime.vue": __vite_glob_2_6,
|
|
97137
|
+
"../fields/2026-04-27/com.shwfed.form.field.datetimerange/runtime.vue": __vite_glob_2_6,
|
|
97138
|
+
"../fields/2026-04-27/com.shwfed.form.field.time/runtime.vue": __vite_glob_2_6,
|
|
97139
|
+
"../fields/2026-04-27/com.shwfed.form.field.timerange/runtime.vue": __vite_glob_2_6,
|
|
97140
|
+
"../fields/2026-04-28/com.shwfed.form.field.number/runtime.vue": __vite_glob_2_6,
|
|
97141
|
+
"../fields/2026-04-28/com.shwfed.form.field.numberrange/runtime.vue": __vite_glob_2_6,
|
|
97142
|
+
"../fields/2026-04-28/com.shwfed.form.field.switch/runtime.vue": __vite_glob_2_6,
|
|
97143
|
+
"../fields/2026-04-29/com.shwfed.form.field.combobox.single/runtime.vue": __vite_glob_2_6,
|
|
97144
|
+
"../fields/2026-05-12/com.shwfed.form.field.upload/runtime.vue": __vite_glob_2_6,
|
|
97145
|
+
"../fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/runtime.vue": __vite_glob_2_6,
|
|
97146
|
+
"../fields/2026-05-13/com.shwfed.form.field.list/runtime.vue": __vite_glob_2_6,
|
|
97147
|
+
"../fields/2026-05-17/com.shwfed.form.field.checkbox.group/runtime.vue": __vite_glob_2_6,
|
|
97148
|
+
"../fields/2026-05-17/com.shwfed.form.field.radio.group/runtime.vue": __vite_glob_2_6,
|
|
97149
|
+
"../fields/2026-05-18/com.shwfed.form.field.table/runtime.vue": __vite_glob_2_6,
|
|
97150
|
+
"../fields/2026-05-20/com.shwfed.form.field.collapsible/runtime.vue": __vite_glob_2_6,
|
|
97151
|
+
"../fields/2026-05-23/com.shwfed.form.field.tree.multi/runtime.vue": __vite_glob_2_6,
|
|
97152
|
+
"../fields/2026-05-24/com.shwfed.form.field.month/runtime.vue": __vite_glob_2_6,
|
|
97153
|
+
"../fields/2026-05-24/com.shwfed.form.field.monthrange/runtime.vue": __vite_glob_2_6,
|
|
97154
|
+
"../fields/2026-05-25/com.shwfed.form.field.combobox.multi/runtime.vue": __vite_glob_2_6,
|
|
97155
|
+
"../fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/runtime.vue": __vite_glob_2_6,
|
|
97156
|
+
"../fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/runtime.vue": __vite_glob_2_6,
|
|
97157
|
+
"../fields/2026-05-28/com.shwfed.form.field.combobox.multi/runtime.vue": __vite_glob_2_6,
|
|
97158
|
+
"../fields/2026-05-28/com.shwfed.form.field.combobox.single/runtime.vue": __vite_glob_2_6,
|
|
97159
|
+
"../fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/runtime.vue": __vite_glob_2_6,
|
|
97160
|
+
"../fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/runtime.vue": __vite_glob_2_6,
|
|
97161
|
+
"../fields/2026-05-28/com.shwfed.form.field.tree.multi/runtime.vue": __vite_glob_2_6,
|
|
97162
|
+
"../fields/2026-05-28/com.shwfed.form.field.tree.single/runtime.vue": __vite_glob_2_6
|
|
97155
97163
|
});
|
|
97156
97164
|
const sourceKey = (type2, compatibilityDate2) => `${type2}@${compatibilityDate2}`;
|
|
97157
97165
|
const registry$1 = defineRegistry({
|
|
@@ -97358,20 +97366,20 @@ function defaultFormConfig() {
|
|
|
97358
97366
|
layouts: [{ name: "默认", layout: { columns: 1, placements: {} } }]
|
|
97359
97367
|
};
|
|
97360
97368
|
}
|
|
97361
|
-
const type$
|
|
97362
|
-
const compatibilityDate$
|
|
97363
|
-
const metadata$
|
|
97369
|
+
const type$5 = "com.shwfed.block.form";
|
|
97370
|
+
const compatibilityDate$5 = "2026-05-06";
|
|
97371
|
+
const metadata$5 = {
|
|
97364
97372
|
name: "表单",
|
|
97365
97373
|
icon: "fluent:form-20-regular",
|
|
97366
97374
|
w: { initial: 32, min: 12, max: Infinity },
|
|
97367
97375
|
h: { initial: 8, min: 3, max: Infinity }
|
|
97368
97376
|
};
|
|
97369
|
-
function schema$
|
|
97377
|
+
function schema$5(configure, _blockRef) {
|
|
97370
97378
|
const FormSchema = FormConfig(configure);
|
|
97371
97379
|
return Struct({
|
|
97372
97380
|
id: UUID.annotations({ description: "块唯一标识" }),
|
|
97373
|
-
type: tag(type$
|
|
97374
|
-
compatibilityDate: tag(compatibilityDate$
|
|
97381
|
+
type: tag(type$5),
|
|
97382
|
+
compatibilityDate: tag(compatibilityDate$5),
|
|
97375
97383
|
form: FormSchema.annotations({
|
|
97376
97384
|
title: "表单配置",
|
|
97377
97385
|
description: "内嵌的 Form 组件配置"
|
|
@@ -97381,30 +97389,30 @@ function schema$4(configure, _blockRef) {
|
|
|
97381
97389
|
description: "将一个 Form 组件作为页面块嵌入"
|
|
97382
97390
|
});
|
|
97383
97391
|
}
|
|
97384
|
-
function defaultBody$
|
|
97392
|
+
function defaultBody$5() {
|
|
97385
97393
|
return { form: defaultFormConfig() };
|
|
97386
97394
|
}
|
|
97387
97395
|
const __vite_glob_0_1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
97388
97396
|
__proto__: null,
|
|
97389
|
-
compatibilityDate: compatibilityDate$
|
|
97390
|
-
defaultBody: defaultBody$
|
|
97391
|
-
metadata: metadata$
|
|
97392
|
-
schema: schema$
|
|
97393
|
-
type: type$
|
|
97397
|
+
compatibilityDate: compatibilityDate$5,
|
|
97398
|
+
defaultBody: defaultBody$5,
|
|
97399
|
+
metadata: metadata$5,
|
|
97400
|
+
schema: schema$5,
|
|
97401
|
+
type: type$5
|
|
97394
97402
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
97395
|
-
const type$
|
|
97396
|
-
const compatibilityDate$
|
|
97397
|
-
const metadata$
|
|
97403
|
+
const type$4 = "com.shwfed.block.markdown";
|
|
97404
|
+
const compatibilityDate$4 = "2026-05-06";
|
|
97405
|
+
const metadata$4 = {
|
|
97398
97406
|
name: "Markdown",
|
|
97399
97407
|
icon: "fluent:markdown-20-regular",
|
|
97400
97408
|
w: { initial: 8, min: 2, max: Infinity },
|
|
97401
97409
|
h: { initial: 2, min: 2, max: Infinity }
|
|
97402
97410
|
};
|
|
97403
|
-
function schema$
|
|
97411
|
+
function schema$4(_configure, _blockRef) {
|
|
97404
97412
|
return Struct({
|
|
97405
97413
|
id: UUID.annotations({ description: "块唯一标识" }),
|
|
97406
|
-
type: tag(type$
|
|
97407
|
-
compatibilityDate: tag(compatibilityDate$
|
|
97414
|
+
type: tag(type$4),
|
|
97415
|
+
compatibilityDate: tag(compatibilityDate$4),
|
|
97408
97416
|
displayName: optional(String$.annotations({
|
|
97409
97417
|
title: "内部名称",
|
|
97410
97418
|
description: "仅在编辑器内可见的块名,用于在侧边栏和布局编辑器中识别块;运行时不展示"
|
|
@@ -97418,31 +97426,31 @@ function schema$3(_configure, _blockRef) {
|
|
|
97418
97426
|
description: "渲染一段 Markdown 文本作为页面块"
|
|
97419
97427
|
});
|
|
97420
97428
|
}
|
|
97421
|
-
function defaultBody$
|
|
97429
|
+
function defaultBody$4() {
|
|
97422
97430
|
return { content: [{ locale: "zh", message: "" }] };
|
|
97423
97431
|
}
|
|
97424
97432
|
const __vite_glob_0_2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
97425
97433
|
__proto__: null,
|
|
97426
|
-
compatibilityDate: compatibilityDate$
|
|
97427
|
-
defaultBody: defaultBody$
|
|
97428
|
-
metadata: metadata$
|
|
97429
|
-
schema: schema$
|
|
97430
|
-
type: type$
|
|
97434
|
+
compatibilityDate: compatibilityDate$4,
|
|
97435
|
+
defaultBody: defaultBody$4,
|
|
97436
|
+
metadata: metadata$4,
|
|
97437
|
+
schema: schema$4,
|
|
97438
|
+
type: type$4
|
|
97431
97439
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
97432
|
-
const type$
|
|
97433
|
-
const compatibilityDate$
|
|
97434
|
-
const metadata$
|
|
97440
|
+
const type$3 = "com.shwfed.block.table";
|
|
97441
|
+
const compatibilityDate$3 = "2026-05-06";
|
|
97442
|
+
const metadata$3 = {
|
|
97435
97443
|
name: "表格",
|
|
97436
97444
|
icon: "fluent:table-20-regular",
|
|
97437
97445
|
w: { initial: 32, min: 12, max: Infinity },
|
|
97438
97446
|
h: { initial: 8, min: 3, max: Infinity }
|
|
97439
97447
|
};
|
|
97440
|
-
function schema$
|
|
97448
|
+
function schema$3(configure, _blockRef) {
|
|
97441
97449
|
const TableSchema = TableConfig(configure);
|
|
97442
97450
|
return Struct({
|
|
97443
97451
|
id: UUID.annotations({ description: "块唯一标识" }),
|
|
97444
|
-
type: tag(type$
|
|
97445
|
-
compatibilityDate: tag(compatibilityDate$
|
|
97452
|
+
type: tag(type$3),
|
|
97453
|
+
compatibilityDate: tag(compatibilityDate$3),
|
|
97446
97454
|
table: TableSchema.annotations({
|
|
97447
97455
|
title: "表格配置",
|
|
97448
97456
|
description: "内嵌的 Table 组件配置"
|
|
@@ -97452,20 +97460,20 @@ function schema$2(configure, _blockRef) {
|
|
|
97452
97460
|
description: "将一个 Table 组件作为页面块嵌入"
|
|
97453
97461
|
});
|
|
97454
97462
|
}
|
|
97455
|
-
function defaultBody$
|
|
97463
|
+
function defaultBody$3() {
|
|
97456
97464
|
return { table: defaultTableConfig() };
|
|
97457
97465
|
}
|
|
97458
97466
|
const __vite_glob_0_3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
97459
97467
|
__proto__: null,
|
|
97460
|
-
compatibilityDate: compatibilityDate$
|
|
97461
|
-
defaultBody: defaultBody$
|
|
97462
|
-
metadata: metadata$
|
|
97463
|
-
schema: schema$
|
|
97464
|
-
type: type$
|
|
97468
|
+
compatibilityDate: compatibilityDate$3,
|
|
97469
|
+
defaultBody: defaultBody$3,
|
|
97470
|
+
metadata: metadata$3,
|
|
97471
|
+
schema: schema$3,
|
|
97472
|
+
type: type$3
|
|
97465
97473
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
97466
|
-
const type$
|
|
97467
|
-
const compatibilityDate$
|
|
97468
|
-
const metadata$
|
|
97474
|
+
const type$2 = "com.shwfed.block.tabs";
|
|
97475
|
+
const compatibilityDate$2 = "2026-05-06";
|
|
97476
|
+
const metadata$2 = {
|
|
97469
97477
|
name: "标签页",
|
|
97470
97478
|
icon: "fluent:tabs-20-regular",
|
|
97471
97479
|
w: { initial: 12, min: 4, max: Infinity },
|
|
@@ -97485,7 +97493,7 @@ function tabsNestingExceeds(value, maxDepth, currentDepth = 0) {
|
|
|
97485
97493
|
return value.some((v) => tabsNestingExceeds(v, maxDepth, currentDepth));
|
|
97486
97494
|
}
|
|
97487
97495
|
const o = value;
|
|
97488
|
-
if (o.type === type$
|
|
97496
|
+
if (o.type === type$2 && Array.isArray(o.tabs)) {
|
|
97489
97497
|
return o.tabs.some((t) => {
|
|
97490
97498
|
if (!t || typeof t !== "object") return false;
|
|
97491
97499
|
const slot = t.slot;
|
|
@@ -97494,7 +97502,7 @@ function tabsNestingExceeds(value, maxDepth, currentDepth = 0) {
|
|
|
97494
97502
|
}
|
|
97495
97503
|
return Object.values(o).some((v) => tabsNestingExceeds(v, maxDepth, currentDepth));
|
|
97496
97504
|
}
|
|
97497
|
-
function schema$
|
|
97505
|
+
function schema$2(configure, blockRef2) {
|
|
97498
97506
|
const TabsSlot = Slot(blockRef2, configure);
|
|
97499
97507
|
const TabPane = Struct({
|
|
97500
97508
|
id: UUID.annotations({ description: "标签页唯一标识" }),
|
|
@@ -97509,8 +97517,8 @@ function schema$1(configure, blockRef2) {
|
|
|
97509
97517
|
});
|
|
97510
97518
|
return Struct({
|
|
97511
97519
|
id: UUID.annotations({ description: "块唯一标识" }),
|
|
97512
|
-
type: tag(type$
|
|
97513
|
-
compatibilityDate: tag(compatibilityDate$
|
|
97520
|
+
type: tag(type$2),
|
|
97521
|
+
compatibilityDate: tag(compatibilityDate$2),
|
|
97514
97522
|
displayName: optional(String$.annotations({
|
|
97515
97523
|
title: "内部名称",
|
|
97516
97524
|
description: "仅在编辑器内可见的块名"
|
|
@@ -97550,7 +97558,7 @@ function makeId() {
|
|
|
97550
97558
|
return (c === "x" ? r : r & 3 | 8).toString(16);
|
|
97551
97559
|
});
|
|
97552
97560
|
}
|
|
97553
|
-
function defaultBody$
|
|
97561
|
+
function defaultBody$2() {
|
|
97554
97562
|
return {
|
|
97555
97563
|
tabs: [
|
|
97556
97564
|
{
|
|
@@ -97564,17 +97572,17 @@ function defaultBody$1() {
|
|
|
97564
97572
|
const __vite_glob_0_4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
97565
97573
|
__proto__: null,
|
|
97566
97574
|
TabPaneMeta,
|
|
97567
|
-
compatibilityDate: compatibilityDate$
|
|
97568
|
-
defaultBody: defaultBody$
|
|
97575
|
+
compatibilityDate: compatibilityDate$2,
|
|
97576
|
+
defaultBody: defaultBody$2,
|
|
97569
97577
|
getStructFieldDescription,
|
|
97570
97578
|
getStructFieldTitle,
|
|
97571
|
-
metadata: metadata$
|
|
97572
|
-
schema: schema$
|
|
97573
|
-
type: type$
|
|
97579
|
+
metadata: metadata$2,
|
|
97580
|
+
schema: schema$2,
|
|
97581
|
+
type: type$2
|
|
97574
97582
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
97575
|
-
const type = "com.shwfed.block.chart.xy";
|
|
97576
|
-
const compatibilityDate = "2026-05-17";
|
|
97577
|
-
const metadata = {
|
|
97583
|
+
const type$1 = "com.shwfed.block.chart.xy";
|
|
97584
|
+
const compatibilityDate$1 = "2026-05-17";
|
|
97585
|
+
const metadata$1 = {
|
|
97578
97586
|
name: "图表",
|
|
97579
97587
|
icon: "fluent:chart-multiple-20-regular",
|
|
97580
97588
|
w: { initial: 20, min: 8, max: Infinity },
|
|
@@ -97614,7 +97622,7 @@ function numberExpression(configure) {
|
|
|
97614
97622
|
unlistedVariablesAreDyn: true
|
|
97615
97623
|
});
|
|
97616
97624
|
}
|
|
97617
|
-
function dataSourceSchema(configure) {
|
|
97625
|
+
function dataSourceSchema$1(configure) {
|
|
97618
97626
|
const base2 = DataSource(configure);
|
|
97619
97627
|
return Struct({
|
|
97620
97628
|
id: UUID.annotations({ description: "数据源唯一标识" }),
|
|
@@ -97691,11 +97699,11 @@ function ySeriesSchema(configure) {
|
|
|
97691
97699
|
})
|
|
97692
97700
|
}).annotations({ title: "Y 系列", description: "一个 Y 系列,可独立选择图表类型" });
|
|
97693
97701
|
}
|
|
97694
|
-
function schema(configure, _blockRef) {
|
|
97702
|
+
function schema$1(configure, _blockRef) {
|
|
97695
97703
|
return Struct({
|
|
97696
97704
|
id: UUID.annotations({ description: "块唯一标识" }),
|
|
97697
|
-
type: tag(type),
|
|
97698
|
-
compatibilityDate: tag(compatibilityDate),
|
|
97705
|
+
type: tag(type$1),
|
|
97706
|
+
compatibilityDate: tag(compatibilityDate$1),
|
|
97699
97707
|
displayName: optional(String$.annotations({
|
|
97700
97708
|
title: "内部名称",
|
|
97701
97709
|
description: "仅在编辑器内可见的块名,用于在侧边栏和布局编辑器中识别块;运行时不展示"
|
|
@@ -97704,7 +97712,7 @@ function schema(configure, _blockRef) {
|
|
|
97704
97712
|
title: "说明文字",
|
|
97705
97713
|
description: "显示在图表下方的本地化说明文字;留空则不显示"
|
|
97706
97714
|
}),
|
|
97707
|
-
dataSources: Array$(dataSourceSchema(configure)).annotations({
|
|
97715
|
+
dataSources: Array$(dataSourceSchema$1(configure)).annotations({
|
|
97708
97716
|
title: "数据源",
|
|
97709
97717
|
description: "一个或多个命名数据源;每个数据源的结果列表以其变量名提供给 X / Y 表达式"
|
|
97710
97718
|
}),
|
|
@@ -97730,7 +97738,7 @@ function schema(configure, _blockRef) {
|
|
|
97730
97738
|
description: "从命名数据源取数,把 X / Y 列表渲染为折线 / 面积 / 柱 / 散点图"
|
|
97731
97739
|
});
|
|
97732
97740
|
}
|
|
97733
|
-
function defaultBody() {
|
|
97741
|
+
function defaultBody$1() {
|
|
97734
97742
|
return {
|
|
97735
97743
|
dataSources: [],
|
|
97736
97744
|
x: "[]",
|
|
@@ -97747,15 +97755,141 @@ const __vite_glob_0_5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.def
|
|
|
97747
97755
|
__proto__: null,
|
|
97748
97756
|
ChartType,
|
|
97749
97757
|
CurveType,
|
|
97758
|
+
compatibilityDate: compatibilityDate$1,
|
|
97759
|
+
dataSourceSchema: dataSourceSchema$1,
|
|
97760
|
+
defaultBody: defaultBody$1,
|
|
97761
|
+
getStructFieldDescription,
|
|
97762
|
+
getStructFieldTitle,
|
|
97763
|
+
metadata: metadata$1,
|
|
97764
|
+
schema: schema$1,
|
|
97765
|
+
type: type$1,
|
|
97766
|
+
ySeriesSchema
|
|
97767
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
97768
|
+
const type = "com.shwfed.block.animated.number";
|
|
97769
|
+
const compatibilityDate = "2026-06-01";
|
|
97770
|
+
const metadata = {
|
|
97771
|
+
name: "动画数字",
|
|
97772
|
+
icon: "fluent:number-symbol-20-regular",
|
|
97773
|
+
w: { initial: 8, min: 2, max: Infinity },
|
|
97774
|
+
h: { initial: 3, min: 2, max: Infinity }
|
|
97775
|
+
};
|
|
97776
|
+
function registerJson(env) {
|
|
97777
|
+
env.registerVariable("json", "optional<dyn>", {
|
|
97778
|
+
label: "HTTP 响应体",
|
|
97779
|
+
description: "HTTP 响应体(配置了请求时为已解析 JSON,否则为 none)"
|
|
97780
|
+
});
|
|
97781
|
+
}
|
|
97782
|
+
function dataSourceSchema(configure) {
|
|
97783
|
+
const CelRequest = Expression({
|
|
97784
|
+
configure,
|
|
97785
|
+
resultType: "HttpRequest"
|
|
97786
|
+
});
|
|
97787
|
+
const CelNumber = Expression({
|
|
97788
|
+
configure: (env) => {
|
|
97789
|
+
configure(env);
|
|
97790
|
+
registerJson(env);
|
|
97791
|
+
},
|
|
97792
|
+
// Tolerate `dyn` / `optional` like `tableDataSource`'s total — most
|
|
97793
|
+
// response-derived expressions check as `dyn`, narrowing only at runtime.
|
|
97794
|
+
resultType: (t) => t === "number" || t === "dyn" || t.startsWith("optional")
|
|
97795
|
+
});
|
|
97796
|
+
return Struct({
|
|
97797
|
+
request: optional(CelRequest).annotations({
|
|
97798
|
+
title: "请求",
|
|
97799
|
+
description: "可选的 HTTP 请求表达式;未配置时数值直接从 `数值` 表达式读取(通常引用上下文变量)"
|
|
97800
|
+
}),
|
|
97801
|
+
value: CelNumber.annotations({
|
|
97802
|
+
title: "数值",
|
|
97803
|
+
description: "返回要展示的数字(`number`)的 CEL 表达式;配置了 `请求` 时可通过 `json` 引用响应体"
|
|
97804
|
+
})
|
|
97805
|
+
}).annotations({
|
|
97806
|
+
title: "数据源",
|
|
97807
|
+
description: "一个 HTTP 请求加一个返回数字的表达式"
|
|
97808
|
+
});
|
|
97809
|
+
}
|
|
97810
|
+
function itemSchema(configure) {
|
|
97811
|
+
const CelString = Expression({
|
|
97812
|
+
configure: (env) => {
|
|
97813
|
+
configure(env);
|
|
97814
|
+
registerJson(env);
|
|
97815
|
+
},
|
|
97816
|
+
// Tolerate `dyn` / `optional` so a `json`-derived string (which checks as
|
|
97817
|
+
// `dyn`) passes validation, mirroring the `value` field's tolerance.
|
|
97818
|
+
resultType: (t) => t === "string" || t === "dyn" || t.startsWith("optional")
|
|
97819
|
+
});
|
|
97820
|
+
const CelStyle = Expression({
|
|
97821
|
+
configure: (env) => {
|
|
97822
|
+
configure(env);
|
|
97823
|
+
registerJson(env);
|
|
97824
|
+
},
|
|
97825
|
+
resultType: (t) => t === "string" || t === "dyn" || t.startsWith("map") || t.startsWith("optional")
|
|
97826
|
+
});
|
|
97827
|
+
return Struct({
|
|
97828
|
+
id: UUID.annotations({ description: "数字项唯一标识" }),
|
|
97829
|
+
name: optional(String$.annotations({
|
|
97830
|
+
title: "内部名称",
|
|
97831
|
+
description: "仅在编辑器内可见的数字项名,用作侧边栏标签;运行时不展示"
|
|
97832
|
+
})),
|
|
97833
|
+
dataSource: dataSourceSchema(configure),
|
|
97834
|
+
pollingInterval: optional(
|
|
97835
|
+
Number$.pipe(int(), positive()).annotations({
|
|
97836
|
+
title: "轮询间隔",
|
|
97837
|
+
description: "轮询刷新间隔(秒),正整数;留空则不轮询。窗口失焦时暂停,重新聚焦时立即刷新并恢复轮询"
|
|
97838
|
+
})
|
|
97839
|
+
),
|
|
97840
|
+
prefix: optional(CelString.annotations({
|
|
97841
|
+
title: "前缀",
|
|
97842
|
+
description: "返回数字前展示文本(`string`)的 CEL 表达式;可引用 `json`。留空则不展示"
|
|
97843
|
+
})),
|
|
97844
|
+
suffix: optional(CelString.annotations({
|
|
97845
|
+
title: "后缀",
|
|
97846
|
+
description: "返回数字后展示文本(`string`)的 CEL 表达式;可引用 `json`。留空则不展示"
|
|
97847
|
+
})),
|
|
97848
|
+
style: optional(CelStyle.annotations({
|
|
97849
|
+
title: "样式",
|
|
97850
|
+
description: "返回应用在该数字上的样式的 CEL 表达式,可返回 CSS 字符串(如 `'font-size: 3rem'`)或样式对象(如 `{'fontSize': '3rem'}`);可引用 `json`。留空则不设样式"
|
|
97851
|
+
}))
|
|
97852
|
+
}).annotations({
|
|
97853
|
+
title: "数字项",
|
|
97854
|
+
description: "一个独立取数、可轮询的动画数字"
|
|
97855
|
+
});
|
|
97856
|
+
}
|
|
97857
|
+
function schema(configure, _blockRef) {
|
|
97858
|
+
return Struct({
|
|
97859
|
+
id: UUID.annotations({ description: "块唯一标识" }),
|
|
97860
|
+
type: tag(type),
|
|
97861
|
+
compatibilityDate: tag(compatibilityDate),
|
|
97862
|
+
displayName: optional(String$.annotations({
|
|
97863
|
+
title: "内部名称",
|
|
97864
|
+
description: "仅在编辑器内可见的块名,用于在侧边栏和布局编辑器中识别块;运行时不展示"
|
|
97865
|
+
})),
|
|
97866
|
+
locale: optional(LocaleMarkdown({ configure }).annotations({
|
|
97867
|
+
title: "说明文字",
|
|
97868
|
+
description: "显示在数字下方的本地化说明文字,按内联 Markdown 渲染,支持 `{{ 表达式 }}` CEL 插值;留空则不显示"
|
|
97869
|
+
})),
|
|
97870
|
+
items: Array$(itemSchema(configure)).pipe(minItems(1)).annotations({
|
|
97871
|
+
title: "数字项",
|
|
97872
|
+
description: "一个或多个动画数字,并排展示并共享动画分组;至少配置一个"
|
|
97873
|
+
})
|
|
97874
|
+
}).annotations({
|
|
97875
|
+
title: "动画数字块",
|
|
97876
|
+
description: "把一个或多个数据源各取一个数字,以动画过渡并排渲染,可选逐项轮询"
|
|
97877
|
+
});
|
|
97878
|
+
}
|
|
97879
|
+
function defaultBody() {
|
|
97880
|
+
return { items: [{ id: crypto.randomUUID(), dataSource: { value: "0" } }] };
|
|
97881
|
+
}
|
|
97882
|
+
const __vite_glob_0_6 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
97883
|
+
__proto__: null,
|
|
97750
97884
|
compatibilityDate,
|
|
97751
97885
|
dataSourceSchema,
|
|
97752
97886
|
defaultBody,
|
|
97753
97887
|
getStructFieldDescription,
|
|
97754
97888
|
getStructFieldTitle,
|
|
97889
|
+
itemSchema,
|
|
97755
97890
|
metadata,
|
|
97756
97891
|
schema,
|
|
97757
|
-
type
|
|
97758
|
-
ySeriesSchema
|
|
97892
|
+
type
|
|
97759
97893
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
97760
97894
|
const schemaModules = /* @__PURE__ */ Object.assign({
|
|
97761
97895
|
"../blocks/2026-05-06/com.shwfed.block.actions/schema.ts": __vite_glob_0_0$2,
|
|
@@ -97763,23 +97897,26 @@ const schemaModules = /* @__PURE__ */ Object.assign({
|
|
|
97763
97897
|
"../blocks/2026-05-06/com.shwfed.block.markdown/schema.ts": __vite_glob_0_2,
|
|
97764
97898
|
"../blocks/2026-05-06/com.shwfed.block.table/schema.ts": __vite_glob_0_3,
|
|
97765
97899
|
"../blocks/2026-05-06/com.shwfed.block.tabs/schema.ts": __vite_glob_0_4,
|
|
97766
|
-
"../blocks/2026-05-17/com.shwfed.block.chart.xy/schema.ts": __vite_glob_0_5
|
|
97900
|
+
"../blocks/2026-05-17/com.shwfed.block.chart.xy/schema.ts": __vite_glob_0_5,
|
|
97901
|
+
"../blocks/2026-06-01/com.shwfed.block.animated.number/schema.ts": __vite_glob_0_6
|
|
97767
97902
|
});
|
|
97768
97903
|
const configModules = /* @__PURE__ */ Object.assign({
|
|
97769
|
-
"../blocks/2026-05-06/com.shwfed.block.actions/config.vue":
|
|
97770
|
-
"../blocks/2026-05-06/com.shwfed.block.form/config.vue":
|
|
97771
|
-
"../blocks/2026-05-06/com.shwfed.block.markdown/config.vue":
|
|
97772
|
-
"../blocks/2026-05-06/com.shwfed.block.table/config.vue":
|
|
97773
|
-
"../blocks/2026-05-06/com.shwfed.block.tabs/config.vue":
|
|
97774
|
-
"../blocks/2026-05-17/com.shwfed.block.chart.xy/config.vue":
|
|
97904
|
+
"../blocks/2026-05-06/com.shwfed.block.actions/config.vue": __vite_glob_2_6,
|
|
97905
|
+
"../blocks/2026-05-06/com.shwfed.block.form/config.vue": __vite_glob_2_6,
|
|
97906
|
+
"../blocks/2026-05-06/com.shwfed.block.markdown/config.vue": __vite_glob_2_6,
|
|
97907
|
+
"../blocks/2026-05-06/com.shwfed.block.table/config.vue": __vite_glob_2_6,
|
|
97908
|
+
"../blocks/2026-05-06/com.shwfed.block.tabs/config.vue": __vite_glob_2_6,
|
|
97909
|
+
"../blocks/2026-05-17/com.shwfed.block.chart.xy/config.vue": __vite_glob_2_6,
|
|
97910
|
+
"../blocks/2026-06-01/com.shwfed.block.animated.number/config.vue": __vite_glob_2_6
|
|
97775
97911
|
});
|
|
97776
97912
|
const runtimeModules = /* @__PURE__ */ Object.assign({
|
|
97777
|
-
"../blocks/2026-05-06/com.shwfed.block.actions/runtime.vue":
|
|
97778
|
-
"../blocks/2026-05-06/com.shwfed.block.form/runtime.vue":
|
|
97779
|
-
"../blocks/2026-05-06/com.shwfed.block.markdown/runtime.vue":
|
|
97780
|
-
"../blocks/2026-05-06/com.shwfed.block.table/runtime.vue":
|
|
97781
|
-
"../blocks/2026-05-06/com.shwfed.block.tabs/runtime.vue":
|
|
97782
|
-
"../blocks/2026-05-17/com.shwfed.block.chart.xy/runtime.vue":
|
|
97913
|
+
"../blocks/2026-05-06/com.shwfed.block.actions/runtime.vue": __vite_glob_2_6,
|
|
97914
|
+
"../blocks/2026-05-06/com.shwfed.block.form/runtime.vue": __vite_glob_2_6,
|
|
97915
|
+
"../blocks/2026-05-06/com.shwfed.block.markdown/runtime.vue": __vite_glob_2_6,
|
|
97916
|
+
"../blocks/2026-05-06/com.shwfed.block.table/runtime.vue": __vite_glob_2_6,
|
|
97917
|
+
"../blocks/2026-05-06/com.shwfed.block.tabs/runtime.vue": __vite_glob_2_6,
|
|
97918
|
+
"../blocks/2026-05-17/com.shwfed.block.chart.xy/runtime.vue": __vite_glob_2_6,
|
|
97919
|
+
"../blocks/2026-06-01/com.shwfed.block.animated.number/runtime.vue": __vite_glob_2_6
|
|
97783
97920
|
});
|
|
97784
97921
|
const registry = defineRegistry({
|
|
97785
97922
|
hostName: "shwfed-config",
|
|
@@ -97838,6 +97975,43 @@ function PageConfig(configure) {
|
|
|
97838
97975
|
description: "页面组件完整配置"
|
|
97839
97976
|
});
|
|
97840
97977
|
}
|
|
97978
|
+
const animatedNumber = {
|
|
97979
|
+
scenario: "animated-number",
|
|
97980
|
+
title: "动画数字块:并排展示多个轮询指标",
|
|
97981
|
+
summary: "一个块里并排放多个动画数字(共享动画分组),每项独立取数、独立轮询,下方带内联 Markdown 说明文字。",
|
|
97982
|
+
notes: [
|
|
97983
|
+
"本片段是一个完整的页面块(`com.shwfed.block.animated.number`),放进某个 slot 的 `blocks` 数组;`id` 用 `generate_uuid` 替换 `<animated-number-id>`,每个 `items[].id` 用 `generate_uuid` 替换 `<item-id-*>`,并在所属布局的 `placements` 里给块分配区域。",
|
|
97984
|
+
"`items` 至少一项,每项就是一个 NumberFlow,并排展示并共享动画分组。",
|
|
97985
|
+
"每项的 `dataSource.request` 是返回 `HttpRequest` 的 CEL 表达式(如 `http.get(...)`),由宿主发起;`dataSource.value` 必须返回 `number`,配置了 `request` 时可通过 `json` 读响应体。未配置 `request` 时 `value` 直接引用上下文变量。",
|
|
97986
|
+
"每项的 `prefix` / `suffix` 是返回 `string` 的 CEL 表达式(字符串字面量要带引号,如 `'¥'`),可引用 `json`;留空则不展示。",
|
|
97987
|
+
"每项的 `pollingInterval` 是秒数(正整数);配置后该项开启轮询:窗口失焦时暂停,重新聚焦时立即刷新再按间隔继续。留空则只在挂载时取一次数。",
|
|
97988
|
+
"每项的 `style` 是返回样式的 CEL 表达式,可返回 CSS 字符串(如 `'font-size: 3rem'`)或样式对象(如 `{'fontSize': '3rem'}`),二者皆可直接喂给 Vue 的 `:style`;可引用 `json`;留空则不设样式。",
|
|
97989
|
+
"块级 `locale` 是展示在所有数字下方的本地化说明文字,按内联 Markdown 渲染并支持 `{{ 表达式 }}` CEL 插值;`displayName` 仅编辑器内可见。"
|
|
97990
|
+
],
|
|
97991
|
+
fragment: {
|
|
97992
|
+
id: "<animated-number-id>",
|
|
97993
|
+
type: "com.shwfed.block.animated.number",
|
|
97994
|
+
compatibilityDate: "2026-06-01",
|
|
97995
|
+
displayName: "核心指标",
|
|
97996
|
+
locale: [{ locale: "zh", message: "**实时概览**" }],
|
|
97997
|
+
items: [
|
|
97998
|
+
{
|
|
97999
|
+
id: "<item-id-1>",
|
|
98000
|
+
dataSource: { request: "http.get('/api/metrics')", value: "json.online" },
|
|
98001
|
+
suffix: "' 人'",
|
|
98002
|
+
pollingInterval: 10,
|
|
98003
|
+
style: "'font-size: 3rem; color: #10b981;'"
|
|
98004
|
+
},
|
|
98005
|
+
{
|
|
98006
|
+
id: "<item-id-2>",
|
|
98007
|
+
dataSource: { request: "http.get('/api/metrics')", value: "json.revenue" },
|
|
98008
|
+
prefix: "'¥'",
|
|
98009
|
+
pollingInterval: 30,
|
|
98010
|
+
style: "{'fontSize': '2rem'}"
|
|
98011
|
+
}
|
|
98012
|
+
]
|
|
98013
|
+
}
|
|
98014
|
+
};
|
|
97841
98015
|
const comboboxSingleRemote = {
|
|
97842
98016
|
scenario: "combobox-single-remote",
|
|
97843
98017
|
title: "表格内的下拉单选(写入服务端,选项静态或远程)",
|
|
@@ -98088,7 +98262,8 @@ const EXAMPLES = [
|
|
|
98088
98262
|
tableSearchBar,
|
|
98089
98263
|
tableDefaults,
|
|
98090
98264
|
comboboxSingleRemote,
|
|
98091
|
-
formSubmitCancel
|
|
98265
|
+
formSubmitCancel,
|
|
98266
|
+
animatedNumber
|
|
98092
98267
|
];
|
|
98093
98268
|
const isObject = (v) => typeof v === "object" && v !== null && !Array.isArray(v);
|
|
98094
98269
|
const branchesOf = (node, root) => {
|