@shwfed/config 2.3.17 → 2.3.18
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 +727 -534
- package/dist/module.json +1 -1
- package/dist/preview/assets/{config-lCt8xg5R.js → config-C8Y4mJbo.js} +1 -1
- package/dist/preview/assets/{config-DkE2KJox.js → config-CGjY6-4G.js} +1 -1
- package/dist/preview/assets/{config-CDcbWHz1.js → config-CR-ypZys.js} +1 -1
- package/dist/preview/assets/{config-D9wKVRfv.js → config-Cs3k3BuR.js} +1 -1
- package/dist/preview/assets/{config-DReApS3g.js → config-D9mrL0UY.js} +1 -1
- package/dist/preview/assets/{config-CAzy2oY1.js → config-DRy0SpMq.js} +1 -1
- package/dist/preview/assets/{config-CAUy5OIr.js → config-eopfzGON.js} +1 -1
- package/dist/preview/assets/{config-B_D_DLrg.js → config-qmkDiyXK.js} +1 -1
- package/dist/preview/assets/{definition.vue_vue_type_script_setup_true_lang-CvzBdDHI.js → definition.vue_vue_type_script_setup_true_lang-BakGkJ_w.js} +1 -1
- package/dist/preview/assets/index-Bsbk3Okp.js +1 -0
- package/dist/preview/assets/index-Dz_SnGc9.js +639 -0
- package/dist/preview/assets/{runtime-eRS_ur88.js → runtime-B1Lqn7iS.js} +1 -1
- package/dist/preview/assets/{runtime-C7iG_6_s.js → runtime-BvJjQaAU.js} +1 -1
- package/dist/preview/assets/{runtime-CWwZuZQ7.js → runtime-C-3DIGFz.js} +1 -1
- package/dist/preview/assets/{runtime-CNI--nfZ.js → runtime-C2q2Mp8_.js} +1 -1
- package/dist/preview/assets/{runtime-Dj39BqNd.js → runtime-CdELhC3y.js} +1 -1
- package/dist/preview/assets/{runtime-TUjKxXEj.js → runtime-D8OAMic8.js} +1 -1
- package/dist/preview/assets/{runtime-Dg8BS7Rt.js → runtime-DQcKN5I_.js} +1 -1
- package/dist/preview/assets/{runtime-CEymLc8o.js → runtime-DQvlwOZl.js} +1 -1
- package/dist/preview/index.html +1 -1
- package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.month/config.d.vue.ts +107 -0
- package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.month/config.vue +493 -0
- package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.month/config.vue.d.ts +107 -0
- package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.month/runtime.d.vue.ts +8 -0
- package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.month/runtime.vue +123 -0
- package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.month/runtime.vue.d.ts +8 -0
- package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.month/schema.d.ts +79 -0
- package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.month/schema.js +78 -0
- package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/config.d.vue.ts +125 -0
- package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/config.vue +645 -0
- package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/config.vue.d.ts +125 -0
- package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/runtime.d.vue.ts +8 -0
- package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/runtime.vue +155 -0
- package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/runtime.vue.d.ts +8 -0
- package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/schema.d.ts +90 -0
- package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/schema.js +100 -0
- package/package.json +1 -1
- package/dist/preview/assets/index-DOUzPsqV.js +0 -639
- package/dist/preview/assets/index-DUZhCCDY.js +0 -1
package/dist/mcp.mjs
CHANGED
|
@@ -14094,13 +14094,13 @@ function requireDataType() {
|
|
|
14094
14094
|
}
|
|
14095
14095
|
return dataType;
|
|
14096
14096
|
}
|
|
14097
|
-
var defaults$
|
|
14097
|
+
var defaults$9 = {};
|
|
14098
14098
|
var hasRequiredDefaults;
|
|
14099
14099
|
function requireDefaults() {
|
|
14100
|
-
if (hasRequiredDefaults) return defaults$
|
|
14100
|
+
if (hasRequiredDefaults) return defaults$9;
|
|
14101
14101
|
hasRequiredDefaults = 1;
|
|
14102
|
-
Object.defineProperty(defaults$
|
|
14103
|
-
defaults$
|
|
14102
|
+
Object.defineProperty(defaults$9, "__esModule", { value: true });
|
|
14103
|
+
defaults$9.assignDefaults = void 0;
|
|
14104
14104
|
const codegen_1 = /* @__PURE__ */ requireCodegen();
|
|
14105
14105
|
const util_1 = /* @__PURE__ */ requireUtil$1();
|
|
14106
14106
|
function assignDefaults(it, ty) {
|
|
@@ -14113,7 +14113,7 @@ function requireDefaults() {
|
|
|
14113
14113
|
items2.forEach((sch, i) => assignDefault(it, i, sch.default));
|
|
14114
14114
|
}
|
|
14115
14115
|
}
|
|
14116
|
-
defaults$
|
|
14116
|
+
defaults$9.assignDefaults = assignDefaults;
|
|
14117
14117
|
function assignDefault(it, prop, defaultValue) {
|
|
14118
14118
|
const { gen: gen2, compositeRule, data, opts } = it;
|
|
14119
14119
|
if (defaultValue === void 0)
|
|
@@ -14129,7 +14129,7 @@ function requireDefaults() {
|
|
|
14129
14129
|
}
|
|
14130
14130
|
gen2.if(condition, (0, codegen_1._)`${childData} = ${(0, codegen_1.stringify)(defaultValue)}`);
|
|
14131
14131
|
}
|
|
14132
|
-
return defaults$
|
|
14132
|
+
return defaults$9;
|
|
14133
14133
|
}
|
|
14134
14134
|
var keyword = {};
|
|
14135
14135
|
var code$1 = {};
|
|
@@ -15509,14 +15509,14 @@ function requireCompile() {
|
|
|
15509
15509
|
}
|
|
15510
15510
|
const $id$1 = "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#";
|
|
15511
15511
|
const description = "Meta-schema for $data reference (JSON AnySchema extension proposal)";
|
|
15512
|
-
const type$
|
|
15512
|
+
const type$T = "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$T,
|
|
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$S = {};
|
|
18520
18520
|
var hasRequiredMetadata;
|
|
18521
18521
|
function requireMetadata() {
|
|
18522
|
-
if (hasRequiredMetadata) return metadata$
|
|
18522
|
+
if (hasRequiredMetadata) return metadata$S;
|
|
18523
18523
|
hasRequiredMetadata = 1;
|
|
18524
|
-
Object.defineProperty(metadata$
|
|
18525
|
-
metadata$
|
|
18526
|
-
metadata$
|
|
18524
|
+
Object.defineProperty(metadata$S, "__esModule", { value: true });
|
|
18525
|
+
metadata$S.contentVocabulary = metadata$S.metadataVocabulary = void 0;
|
|
18526
|
+
metadata$S.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$S.contentVocabulary = [
|
|
18536
18536
|
"contentMediaType",
|
|
18537
18537
|
"contentEncoding",
|
|
18538
18538
|
"contentSchema"
|
|
18539
18539
|
];
|
|
18540
|
-
return metadata$
|
|
18540
|
+
return metadata$S;
|
|
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$S = ["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$S,
|
|
18694
18694
|
properties,
|
|
18695
18695
|
"default": true
|
|
18696
18696
|
};
|
|
@@ -81490,13 +81490,13 @@ function md(...args2) {
|
|
|
81490
81490
|
const indent = (original.startsWith("\n") ? original.slice(1) : original).split("\n", 1)[0]?.match(/^(\s*)/)?.[1]?.length ?? 0;
|
|
81491
81491
|
return original.trim().replaceAll("\\`", "`").split("\n").map((line) => line.replace(new RegExp(`^${String.raw`\s`.repeat(indent)}`), "")).join("\n");
|
|
81492
81492
|
}
|
|
81493
|
-
const type$
|
|
81494
|
-
const compatibilityDate$
|
|
81495
|
-
const metadata$
|
|
81493
|
+
const type$R = "com.shwfed.actions.button.http.request.json.confirm";
|
|
81494
|
+
const compatibilityDate$R = "2026-04-18";
|
|
81495
|
+
const metadata$R = {
|
|
81496
81496
|
name: "网络请求(JSON + 确认)",
|
|
81497
81497
|
icon: "fluent:shield-checkmark-20-regular"
|
|
81498
81498
|
};
|
|
81499
|
-
function schema$
|
|
81499
|
+
function schema$R(configure) {
|
|
81500
81500
|
const CelHttpRequest = Expression({ configure, resultType: "HttpRequest" });
|
|
81501
81501
|
const CelMessage = Expression({
|
|
81502
81502
|
configure: (env) => {
|
|
@@ -81508,8 +81508,8 @@ function schema$P(configure) {
|
|
|
81508
81508
|
resultType: "string"
|
|
81509
81509
|
});
|
|
81510
81510
|
return Struct({
|
|
81511
|
-
type: Literal2(type$
|
|
81512
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
81511
|
+
type: Literal2(type$R),
|
|
81512
|
+
compatibilityDate: Literal2(compatibilityDate$R),
|
|
81513
81513
|
expression: CelHttpRequest.annotations({
|
|
81514
81514
|
title: "请求",
|
|
81515
81515
|
description: md`
|
|
@@ -81567,18 +81567,18 @@ function schema$P(configure) {
|
|
|
81567
81567
|
}
|
|
81568
81568
|
const __vite_glob_0_0$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
81569
81569
|
__proto__: null,
|
|
81570
|
-
compatibilityDate: compatibilityDate$
|
|
81571
|
-
metadata: metadata$
|
|
81572
|
-
schema: schema$
|
|
81573
|
-
type: type$
|
|
81570
|
+
compatibilityDate: compatibilityDate$R,
|
|
81571
|
+
metadata: metadata$R,
|
|
81572
|
+
schema: schema$R,
|
|
81573
|
+
type: type$R
|
|
81574
81574
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
81575
|
-
const type$
|
|
81576
|
-
const compatibilityDate$
|
|
81577
|
-
const metadata$
|
|
81575
|
+
const type$Q = "com.shwfed.actions.button.http.request.json";
|
|
81576
|
+
const compatibilityDate$Q = "2026-04-18";
|
|
81577
|
+
const metadata$Q = {
|
|
81578
81578
|
name: "网络请求(JSON)",
|
|
81579
81579
|
icon: "fluent:cloud-arrow-up-20-regular"
|
|
81580
81580
|
};
|
|
81581
|
-
function schema$
|
|
81581
|
+
function schema$Q(configure) {
|
|
81582
81582
|
const CelHttpRequest = Expression({ configure, resultType: "HttpRequest" });
|
|
81583
81583
|
const CelMessage = Expression({
|
|
81584
81584
|
configure: (env) => {
|
|
@@ -81590,8 +81590,8 @@ function schema$O(configure) {
|
|
|
81590
81590
|
resultType: "string"
|
|
81591
81591
|
});
|
|
81592
81592
|
return Struct({
|
|
81593
|
-
type: Literal2(type$
|
|
81594
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
81593
|
+
type: Literal2(type$Q),
|
|
81594
|
+
compatibilityDate: Literal2(compatibilityDate$Q),
|
|
81595
81595
|
expression: CelHttpRequest.annotations({
|
|
81596
81596
|
title: "请求",
|
|
81597
81597
|
description: md`
|
|
@@ -81637,21 +81637,21 @@ function schema$O(configure) {
|
|
|
81637
81637
|
}
|
|
81638
81638
|
const __vite_glob_0_1$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
81639
81639
|
__proto__: null,
|
|
81640
|
-
compatibilityDate: compatibilityDate$
|
|
81641
|
-
metadata: metadata$
|
|
81642
|
-
schema: schema$
|
|
81643
|
-
type: type$
|
|
81640
|
+
compatibilityDate: compatibilityDate$Q,
|
|
81641
|
+
metadata: metadata$Q,
|
|
81642
|
+
schema: schema$Q,
|
|
81643
|
+
type: type$Q
|
|
81644
81644
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
81645
|
-
const type$
|
|
81646
|
-
const compatibilityDate$
|
|
81647
|
-
const metadata$
|
|
81645
|
+
const type$P = "com.shwfed.actions.button.prototype";
|
|
81646
|
+
const compatibilityDate$P = "2026-04-18";
|
|
81647
|
+
const metadata$P = {
|
|
81648
81648
|
name: "原型",
|
|
81649
81649
|
icon: "fluent:predictions-20-regular"
|
|
81650
81650
|
};
|
|
81651
|
-
function schema$
|
|
81651
|
+
function schema$P(_configure) {
|
|
81652
81652
|
return Struct({
|
|
81653
|
-
type: Literal2(type$
|
|
81654
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
81653
|
+
type: Literal2(type$P),
|
|
81654
|
+
compatibilityDate: Literal2(compatibilityDate$P)
|
|
81655
81655
|
}).annotations({
|
|
81656
81656
|
title: "PrototypeAction",
|
|
81657
81657
|
description: "点击无副作用的原型按钮,可被一次性转换为其它类型"
|
|
@@ -81659,23 +81659,23 @@ function schema$N(_configure) {
|
|
|
81659
81659
|
}
|
|
81660
81660
|
const __vite_glob_0_2$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
81661
81661
|
__proto__: null,
|
|
81662
|
-
compatibilityDate: compatibilityDate$
|
|
81663
|
-
metadata: metadata$
|
|
81664
|
-
schema: schema$
|
|
81665
|
-
type: type$
|
|
81662
|
+
compatibilityDate: compatibilityDate$P,
|
|
81663
|
+
metadata: metadata$P,
|
|
81664
|
+
schema: schema$P,
|
|
81665
|
+
type: type$P
|
|
81666
81666
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
81667
|
-
const type$
|
|
81668
|
-
const compatibilityDate$
|
|
81669
|
-
const metadata$
|
|
81667
|
+
const type$O = "com.shwfed.actions.button.navigation";
|
|
81668
|
+
const compatibilityDate$O = "2026-04-21";
|
|
81669
|
+
const metadata$O = {
|
|
81670
81670
|
name: "导航",
|
|
81671
81671
|
icon: "fluent:link-20-regular"
|
|
81672
81672
|
};
|
|
81673
81673
|
const Mode = Literal2("_self", "_blank");
|
|
81674
|
-
function schema$
|
|
81674
|
+
function schema$O(configure) {
|
|
81675
81675
|
const CelUrl = Expression({ configure, resultType: "string" });
|
|
81676
81676
|
return Struct({
|
|
81677
|
-
type: Literal2(type$
|
|
81678
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
81677
|
+
type: Literal2(type$O),
|
|
81678
|
+
compatibilityDate: Literal2(compatibilityDate$O),
|
|
81679
81679
|
url: CelUrl.annotations({
|
|
81680
81680
|
title: "链接",
|
|
81681
81681
|
description: "点击后将打开的链接,返回 `string`"
|
|
@@ -81691,10 +81691,10 @@ function schema$M(configure) {
|
|
|
81691
81691
|
}
|
|
81692
81692
|
const __vite_glob_0_3$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
81693
81693
|
__proto__: null,
|
|
81694
|
-
compatibilityDate: compatibilityDate$
|
|
81695
|
-
metadata: metadata$
|
|
81696
|
-
schema: schema$
|
|
81697
|
-
type: type$
|
|
81694
|
+
compatibilityDate: compatibilityDate$O,
|
|
81695
|
+
metadata: metadata$O,
|
|
81696
|
+
schema: schema$O,
|
|
81697
|
+
type: type$O
|
|
81698
81698
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
81699
81699
|
const TrackCount = Number$.pipe(int(), positive());
|
|
81700
81700
|
const GridCoord = Number$.pipe(int(), positive());
|
|
@@ -81830,9 +81830,9 @@ function registerBlockRef(configure, ref2) {
|
|
|
81830
81830
|
function lookupBlockRef(configure) {
|
|
81831
81831
|
return blockRefCache.get(configure);
|
|
81832
81832
|
}
|
|
81833
|
-
const type$
|
|
81834
|
-
const compatibilityDate$
|
|
81835
|
-
const metadata$
|
|
81833
|
+
const type$N = "com.shwfed.actions.button.modal.layout";
|
|
81834
|
+
const compatibilityDate$N = "2026-05-11";
|
|
81835
|
+
const metadata$N = {
|
|
81836
81836
|
name: "模态窗口",
|
|
81837
81837
|
icon: "fluent:window-edit-20-regular",
|
|
81838
81838
|
drillable: true,
|
|
@@ -81843,12 +81843,12 @@ const metadata$L = {
|
|
|
81843
81843
|
const CssLength = String$.pipe(
|
|
81844
81844
|
filter((s) => s.trim().length > 0 || "不能为空字符串")
|
|
81845
81845
|
);
|
|
81846
|
-
function schema$
|
|
81846
|
+
function schema$N(configure) {
|
|
81847
81847
|
const blockUnion = lookupBlockRef(configure) ?? Unknown;
|
|
81848
81848
|
const ModalSlot = Slot(blockUnion, configure);
|
|
81849
81849
|
return Struct({
|
|
81850
|
-
type: Literal2(type$
|
|
81851
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
81850
|
+
type: Literal2(type$N),
|
|
81851
|
+
compatibilityDate: Literal2(compatibilityDate$N),
|
|
81852
81852
|
modalTitle: optional(Locale.annotations({
|
|
81853
81853
|
title: "弹窗标题",
|
|
81854
81854
|
description: "弹窗顶部展示的本地化标题,支持行内 Markdown;不填则回退使用按钮自身的名称"
|
|
@@ -81877,22 +81877,22 @@ function defaultBody$6() {
|
|
|
81877
81877
|
}
|
|
81878
81878
|
const __vite_glob_0_4$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
81879
81879
|
__proto__: null,
|
|
81880
|
-
compatibilityDate: compatibilityDate$
|
|
81880
|
+
compatibilityDate: compatibilityDate$N,
|
|
81881
81881
|
defaultBody: defaultBody$6,
|
|
81882
|
-
metadata: metadata$
|
|
81883
|
-
schema: schema$
|
|
81884
|
-
type: type$
|
|
81882
|
+
metadata: metadata$N,
|
|
81883
|
+
schema: schema$N,
|
|
81884
|
+
type: type$N
|
|
81885
81885
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
81886
|
-
const type$
|
|
81887
|
-
const compatibilityDate$
|
|
81888
|
-
const metadata$
|
|
81886
|
+
const type$M = "com.shwfed.actions.button.event.dispatch";
|
|
81887
|
+
const compatibilityDate$M = "2026-05-15";
|
|
81888
|
+
const metadata$M = {
|
|
81889
81889
|
name: "触发事件",
|
|
81890
81890
|
icon: "fluent:flash-20-regular"
|
|
81891
81891
|
};
|
|
81892
|
-
function schema$
|
|
81892
|
+
function schema$M(_configure) {
|
|
81893
81893
|
return Struct({
|
|
81894
|
-
type: Literal2(type$
|
|
81895
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
81894
|
+
type: Literal2(type$M),
|
|
81895
|
+
compatibilityDate: Literal2(compatibilityDate$M),
|
|
81896
81896
|
// This button's entire behaviour: the op-requests it bubbles up the
|
|
81897
81897
|
// component tree on click. Stored on the button itself — there is no
|
|
81898
81898
|
// host-level trigger field any more.
|
|
@@ -81903,14 +81903,14 @@ function schema$K(_configure) {
|
|
|
81903
81903
|
}
|
|
81904
81904
|
const __vite_glob_0_5$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
81905
81905
|
__proto__: null,
|
|
81906
|
-
compatibilityDate: compatibilityDate$
|
|
81907
|
-
metadata: metadata$
|
|
81908
|
-
schema: schema$
|
|
81909
|
-
type: type$
|
|
81906
|
+
compatibilityDate: compatibilityDate$M,
|
|
81907
|
+
metadata: metadata$M,
|
|
81908
|
+
schema: schema$M,
|
|
81909
|
+
type: type$M
|
|
81910
81910
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
81911
|
-
const type$
|
|
81912
|
-
const compatibilityDate$
|
|
81913
|
-
const metadata$
|
|
81911
|
+
const type$L = "com.shwfed.actions.button.http.download";
|
|
81912
|
+
const compatibilityDate$L = "2026-05-21";
|
|
81913
|
+
const metadata$L = {
|
|
81914
81914
|
name: "下载文件",
|
|
81915
81915
|
icon: "fluent:arrow-download-20-regular"
|
|
81916
81916
|
};
|
|
@@ -81925,13 +81925,13 @@ function configureWithJson$2(configure) {
|
|
|
81925
81925
|
env.registerVariable("json", JSON_VAR$2.type, { description: JSON_VAR$2.description });
|
|
81926
81926
|
};
|
|
81927
81927
|
}
|
|
81928
|
-
function schema$
|
|
81928
|
+
function schema$L(configure) {
|
|
81929
81929
|
const CelHttpRequest = Expression({ configure, resultType: "HttpRequest" });
|
|
81930
81930
|
const CelDownloadRequest = Expression({ configure: configureWithJson$2(configure), resultType: "HttpRequest" });
|
|
81931
81931
|
const CelMessage = Expression({ configure: configureWithJson$2(configure), resultType: "string" });
|
|
81932
81932
|
return Struct({
|
|
81933
|
-
type: Literal2(type$
|
|
81934
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
81933
|
+
type: Literal2(type$L),
|
|
81934
|
+
compatibilityDate: Literal2(compatibilityDate$L),
|
|
81935
81935
|
template: Struct({
|
|
81936
81936
|
request: CelHttpRequest.annotations({
|
|
81937
81937
|
title: "请求",
|
|
@@ -81994,25 +81994,25 @@ function schema$J(configure) {
|
|
|
81994
81994
|
const __vite_glob_0_6$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
81995
81995
|
__proto__: null,
|
|
81996
81996
|
JSON_VAR: JSON_VAR$2,
|
|
81997
|
-
compatibilityDate: compatibilityDate$
|
|
81998
|
-
metadata: metadata$
|
|
81999
|
-
schema: schema$
|
|
82000
|
-
type: type$
|
|
81997
|
+
compatibilityDate: compatibilityDate$L,
|
|
81998
|
+
metadata: metadata$L,
|
|
81999
|
+
schema: schema$L,
|
|
82000
|
+
type: type$L
|
|
82001
82001
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
82002
|
-
const type$
|
|
82003
|
-
const compatibilityDate$
|
|
82004
|
-
const metadata$
|
|
82002
|
+
const type$K = "com.shwfed.actions.item.markdown";
|
|
82003
|
+
const compatibilityDate$K = "2026-05-21";
|
|
82004
|
+
const metadata$K = {
|
|
82005
82005
|
name: "内联 Markdown",
|
|
82006
82006
|
icon: "fluent:markdown-20-regular"
|
|
82007
82007
|
};
|
|
82008
|
-
function schema$
|
|
82008
|
+
function schema$K(_configure) {
|
|
82009
82009
|
return Struct({
|
|
82010
82010
|
id: UUID.annotations({ description: "Markdown 项唯一标识" }),
|
|
82011
82011
|
// Present when the item sits at group level; absent when it lives as a
|
|
82012
82012
|
// dropdown sub-item (the parent is the dropdown itself).
|
|
82013
82013
|
groupId: optional(UUID.annotations({ description: "所属按钮组标识" })),
|
|
82014
|
-
type: Literal2(type$
|
|
82015
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
82014
|
+
type: Literal2(type$K),
|
|
82015
|
+
compatibilityDate: Literal2(compatibilityDate$K),
|
|
82016
82016
|
name: String$.annotations({
|
|
82017
82017
|
title: "内部名称",
|
|
82018
82018
|
description: "仅用于编辑器内识别该 Markdown 项,不会展示给最终用户"
|
|
@@ -82028,10 +82028,10 @@ function schema$I(_configure) {
|
|
|
82028
82028
|
}
|
|
82029
82029
|
const __vite_glob_3_0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
82030
82030
|
__proto__: null,
|
|
82031
|
-
compatibilityDate: compatibilityDate$
|
|
82032
|
-
metadata: metadata$
|
|
82033
|
-
schema: schema$
|
|
82034
|
-
type: type$
|
|
82031
|
+
compatibilityDate: compatibilityDate$K,
|
|
82032
|
+
metadata: metadata$K,
|
|
82033
|
+
schema: schema$K,
|
|
82034
|
+
type: type$K
|
|
82035
82035
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
82036
82036
|
function defineRegistry(options) {
|
|
82037
82037
|
const {
|
|
@@ -82400,20 +82400,20 @@ function defaultActionsConfig() {
|
|
|
82400
82400
|
items: []
|
|
82401
82401
|
};
|
|
82402
82402
|
}
|
|
82403
|
-
const type$
|
|
82404
|
-
const compatibilityDate$
|
|
82405
|
-
const metadata$
|
|
82403
|
+
const type$J = "com.shwfed.block.actions";
|
|
82404
|
+
const compatibilityDate$J = "2026-05-06";
|
|
82405
|
+
const metadata$J = {
|
|
82406
82406
|
name: "操作按钮",
|
|
82407
82407
|
icon: "fluent:cursor-click-20-regular",
|
|
82408
82408
|
w: { initial: 8, min: 8, max: Infinity },
|
|
82409
82409
|
h: { initial: 2, min: 2, max: Infinity }
|
|
82410
82410
|
};
|
|
82411
|
-
function schema$
|
|
82411
|
+
function schema$J(configure, _blockRef) {
|
|
82412
82412
|
const ActionsSchema = ActionsConfig(configure);
|
|
82413
82413
|
return Struct({
|
|
82414
82414
|
id: UUID.annotations({ description: "块唯一标识" }),
|
|
82415
|
-
type: tag(type$
|
|
82416
|
-
compatibilityDate: tag(compatibilityDate$
|
|
82415
|
+
type: tag(type$J),
|
|
82416
|
+
compatibilityDate: tag(compatibilityDate$J),
|
|
82417
82417
|
actions: ActionsSchema.annotations({
|
|
82418
82418
|
title: "操作按钮配置",
|
|
82419
82419
|
description: "内嵌的 Actions 组件配置"
|
|
@@ -82428,11 +82428,11 @@ function defaultBody$5() {
|
|
|
82428
82428
|
}
|
|
82429
82429
|
const __vite_glob_0_0$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
82430
82430
|
__proto__: null,
|
|
82431
|
-
compatibilityDate: compatibilityDate$
|
|
82431
|
+
compatibilityDate: compatibilityDate$J,
|
|
82432
82432
|
defaultBody: defaultBody$5,
|
|
82433
|
-
metadata: metadata$
|
|
82434
|
-
schema: schema$
|
|
82435
|
-
type: type$
|
|
82433
|
+
metadata: metadata$J,
|
|
82434
|
+
schema: schema$J,
|
|
82435
|
+
type: type$J
|
|
82436
82436
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
82437
82437
|
function commonFieldFields(configure) {
|
|
82438
82438
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
@@ -82479,18 +82479,18 @@ function derivedField(configure, resultType) {
|
|
|
82479
82479
|
})
|
|
82480
82480
|
);
|
|
82481
82481
|
}
|
|
82482
|
-
const type$
|
|
82483
|
-
const compatibilityDate$
|
|
82484
|
-
const metadata$
|
|
82482
|
+
const type$I = "com.shwfed.form.field.markdown";
|
|
82483
|
+
const compatibilityDate$I = "2026-04-22";
|
|
82484
|
+
const metadata$I = {
|
|
82485
82485
|
name: "Markdown",
|
|
82486
82486
|
icon: "fluent:markdown-20-regular",
|
|
82487
82487
|
w: { initial: 8, min: 2, max: Infinity },
|
|
82488
82488
|
h: { initial: 2, min: 2, max: Infinity }
|
|
82489
82489
|
};
|
|
82490
|
-
function schema$
|
|
82490
|
+
function schema$I(configure) {
|
|
82491
82491
|
return Struct({
|
|
82492
|
-
type: Literal2(type$
|
|
82493
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
82492
|
+
type: Literal2(type$I),
|
|
82493
|
+
compatibilityDate: Literal2(compatibilityDate$I),
|
|
82494
82494
|
...commonFieldFields(configure),
|
|
82495
82495
|
content: Locale.annotations({
|
|
82496
82496
|
title: "内容",
|
|
@@ -82503,24 +82503,24 @@ function schema$G(configure) {
|
|
|
82503
82503
|
}
|
|
82504
82504
|
const __vite_glob_0_0$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
82505
82505
|
__proto__: null,
|
|
82506
|
-
compatibilityDate: compatibilityDate$
|
|
82507
|
-
metadata: metadata$
|
|
82508
|
-
schema: schema$
|
|
82509
|
-
type: type$
|
|
82506
|
+
compatibilityDate: compatibilityDate$I,
|
|
82507
|
+
metadata: metadata$I,
|
|
82508
|
+
schema: schema$I,
|
|
82509
|
+
type: type$I
|
|
82510
82510
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
82511
|
-
const type$
|
|
82512
|
-
const compatibilityDate$
|
|
82513
|
-
const metadata$
|
|
82511
|
+
const type$H = "com.shwfed.form.field.text";
|
|
82512
|
+
const compatibilityDate$H = "2026-04-22";
|
|
82513
|
+
const metadata$H = {
|
|
82514
82514
|
name: "文本输入",
|
|
82515
82515
|
icon: "fluent:text-field-20-regular",
|
|
82516
82516
|
w: { initial: 8, min: 4, max: Infinity },
|
|
82517
82517
|
h: { initial: 2, min: 2, max: 2 }
|
|
82518
82518
|
};
|
|
82519
|
-
function schema$
|
|
82519
|
+
function schema$H(configure) {
|
|
82520
82520
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
82521
82521
|
return Struct({
|
|
82522
|
-
type: Literal2(type$
|
|
82523
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
82522
|
+
type: Literal2(type$H),
|
|
82523
|
+
compatibilityDate: Literal2(compatibilityDate$H),
|
|
82524
82524
|
...commonFieldFields(configure),
|
|
82525
82525
|
label: optional(Locale.annotations({
|
|
82526
82526
|
title: "标签",
|
|
@@ -82555,24 +82555,24 @@ function schema$F(configure) {
|
|
|
82555
82555
|
}
|
|
82556
82556
|
const __vite_glob_0_1$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
82557
82557
|
__proto__: null,
|
|
82558
|
-
compatibilityDate: compatibilityDate$
|
|
82559
|
-
metadata: metadata$
|
|
82560
|
-
schema: schema$
|
|
82561
|
-
type: type$
|
|
82558
|
+
compatibilityDate: compatibilityDate$H,
|
|
82559
|
+
metadata: metadata$H,
|
|
82560
|
+
schema: schema$H,
|
|
82561
|
+
type: type$H
|
|
82562
82562
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
82563
|
-
const type$
|
|
82564
|
-
const compatibilityDate$
|
|
82565
|
-
const metadata$
|
|
82563
|
+
const type$G = "com.shwfed.form.field.textarea";
|
|
82564
|
+
const compatibilityDate$G = "2026-04-22";
|
|
82565
|
+
const metadata$G = {
|
|
82566
82566
|
name: "多行文本输入",
|
|
82567
82567
|
icon: "fluent:text-description-20-regular",
|
|
82568
82568
|
w: { initial: 8, min: 4, max: Infinity },
|
|
82569
82569
|
h: { initial: 3, min: 2, max: Infinity, grow: true }
|
|
82570
82570
|
};
|
|
82571
|
-
function schema$
|
|
82571
|
+
function schema$G(configure) {
|
|
82572
82572
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
82573
82573
|
return Struct({
|
|
82574
|
-
type: Literal2(type$
|
|
82575
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
82574
|
+
type: Literal2(type$G),
|
|
82575
|
+
compatibilityDate: Literal2(compatibilityDate$G),
|
|
82576
82576
|
...commonFieldFields(configure),
|
|
82577
82577
|
label: optional(Locale.annotations({
|
|
82578
82578
|
title: "标签",
|
|
@@ -82611,25 +82611,25 @@ function schema$E(configure) {
|
|
|
82611
82611
|
}
|
|
82612
82612
|
const __vite_glob_0_2$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
82613
82613
|
__proto__: null,
|
|
82614
|
-
compatibilityDate: compatibilityDate$
|
|
82615
|
-
metadata: metadata$
|
|
82616
|
-
schema: schema$
|
|
82617
|
-
type: type$
|
|
82614
|
+
compatibilityDate: compatibilityDate$G,
|
|
82615
|
+
metadata: metadata$G,
|
|
82616
|
+
schema: schema$G,
|
|
82617
|
+
type: type$G
|
|
82618
82618
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
82619
|
-
const type$
|
|
82620
|
-
const compatibilityDate$
|
|
82621
|
-
const metadata$
|
|
82619
|
+
const type$F = "com.shwfed.form.field.actions";
|
|
82620
|
+
const compatibilityDate$F = "2026-04-24";
|
|
82621
|
+
const metadata$F = {
|
|
82622
82622
|
name: "操作",
|
|
82623
82623
|
icon: "fluent:cursor-click-20-regular",
|
|
82624
82624
|
w: { initial: 8, min: 4, max: Infinity },
|
|
82625
82625
|
h: { initial: 2, min: 2, max: Infinity }
|
|
82626
82626
|
};
|
|
82627
|
-
function schema$
|
|
82627
|
+
function schema$F(configure) {
|
|
82628
82628
|
const { fields: actionFields } = ActionSchemaFields(configure);
|
|
82629
82629
|
const { size: _size, groups, items: items2, ...rest } = actionFields;
|
|
82630
82630
|
return Struct({
|
|
82631
|
-
type: Literal2(type$
|
|
82632
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
82631
|
+
type: Literal2(type$F),
|
|
82632
|
+
compatibilityDate: Literal2(compatibilityDate$F),
|
|
82633
82633
|
...commonFieldFields(configure),
|
|
82634
82634
|
...rest,
|
|
82635
82635
|
// Form's add-field factory creates new fields with only { type, compatibilityDate, id },
|
|
@@ -82643,14 +82643,14 @@ function schema$D(configure) {
|
|
|
82643
82643
|
}
|
|
82644
82644
|
const __vite_glob_0_3$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
82645
82645
|
__proto__: null,
|
|
82646
|
-
compatibilityDate: compatibilityDate$
|
|
82647
|
-
metadata: metadata$
|
|
82648
|
-
schema: schema$
|
|
82649
|
-
type: type$
|
|
82646
|
+
compatibilityDate: compatibilityDate$F,
|
|
82647
|
+
metadata: metadata$F,
|
|
82648
|
+
schema: schema$F,
|
|
82649
|
+
type: type$F
|
|
82650
82650
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
82651
|
-
const type$
|
|
82652
|
-
const compatibilityDate$
|
|
82653
|
-
const metadata$
|
|
82651
|
+
const type$E = "com.shwfed.form.field.combobox.single";
|
|
82652
|
+
const compatibilityDate$E = "2026-04-24";
|
|
82653
|
+
const metadata$E = {
|
|
82654
82654
|
name: "下拉单选",
|
|
82655
82655
|
icon: "fluent:chevron-down-20-regular",
|
|
82656
82656
|
w: { initial: 8, min: 4, max: Infinity },
|
|
@@ -82663,14 +82663,14 @@ function configureWithOption$1(configure) {
|
|
|
82663
82663
|
};
|
|
82664
82664
|
}
|
|
82665
82665
|
const isListType$2 = (actual) => actual === "dyn" || actual.startsWith("list");
|
|
82666
|
-
function schema$
|
|
82666
|
+
function schema$E(configure) {
|
|
82667
82667
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
82668
82668
|
const CelOptions = Expression({ configure, resultType: isListType$2 });
|
|
82669
82669
|
const CelOptionValue = Expression({ configure: configureWithOption$1(configure), resultType: "dyn" });
|
|
82670
82670
|
const LocaleOptionLabel = LocaleMarkdown({ configure: configureWithOption$1(configure) });
|
|
82671
82671
|
return Struct({
|
|
82672
|
-
type: Literal2(type$
|
|
82673
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
82672
|
+
type: Literal2(type$E),
|
|
82673
|
+
compatibilityDate: Literal2(compatibilityDate$E),
|
|
82674
82674
|
...commonFieldFields(configure),
|
|
82675
82675
|
label: optional(Locale.annotations({
|
|
82676
82676
|
title: "标签",
|
|
@@ -82717,20 +82717,20 @@ function schema$C(configure) {
|
|
|
82717
82717
|
}
|
|
82718
82718
|
const __vite_glob_0_4$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
82719
82719
|
__proto__: null,
|
|
82720
|
-
compatibilityDate: compatibilityDate$
|
|
82721
|
-
metadata: metadata$
|
|
82722
|
-
schema: schema$
|
|
82723
|
-
type: type$
|
|
82720
|
+
compatibilityDate: compatibilityDate$E,
|
|
82721
|
+
metadata: metadata$E,
|
|
82722
|
+
schema: schema$E,
|
|
82723
|
+
type: type$E
|
|
82724
82724
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
82725
|
-
const type$
|
|
82726
|
-
const compatibilityDate$
|
|
82727
|
-
const metadata$
|
|
82725
|
+
const type$D = "com.shwfed.form.field.date";
|
|
82726
|
+
const compatibilityDate$D = "2026-04-27";
|
|
82727
|
+
const metadata$D = {
|
|
82728
82728
|
name: "日期",
|
|
82729
82729
|
icon: "fluent:calendar-ltr-20-regular",
|
|
82730
82730
|
w: { initial: 8, min: 4, max: Infinity },
|
|
82731
82731
|
h: { initial: 2, min: 2, max: 2 }
|
|
82732
82732
|
};
|
|
82733
|
-
function presetSchema$
|
|
82733
|
+
function presetSchema$5(configure) {
|
|
82734
82734
|
const CelDate = Expression({ configure, resultType: "Date" });
|
|
82735
82735
|
return Struct({
|
|
82736
82736
|
id: UUID.annotations({ description: "预设唯一标识,用于稳定的 v-for key" }),
|
|
@@ -82746,12 +82746,12 @@ function presetSchema$3(configure) {
|
|
|
82746
82746
|
title: "DateFieldPreset"
|
|
82747
82747
|
});
|
|
82748
82748
|
}
|
|
82749
|
-
function schema$
|
|
82749
|
+
function schema$D(configure) {
|
|
82750
82750
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
82751
|
-
const Preset = presetSchema$
|
|
82751
|
+
const Preset = presetSchema$5(configure);
|
|
82752
82752
|
return Struct({
|
|
82753
|
-
type: Literal2(type$
|
|
82754
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
82753
|
+
type: Literal2(type$D),
|
|
82754
|
+
compatibilityDate: Literal2(compatibilityDate$D),
|
|
82755
82755
|
...commonFieldFields(configure),
|
|
82756
82756
|
label: optional(Locale.annotations({
|
|
82757
82757
|
title: "标签",
|
|
@@ -82798,31 +82798,31 @@ function schema$B(configure) {
|
|
|
82798
82798
|
}
|
|
82799
82799
|
const __vite_glob_0_5$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
82800
82800
|
__proto__: null,
|
|
82801
|
-
compatibilityDate: compatibilityDate$
|
|
82802
|
-
metadata: metadata$
|
|
82803
|
-
presetSchema: presetSchema$
|
|
82804
|
-
schema: schema$
|
|
82805
|
-
type: type$
|
|
82801
|
+
compatibilityDate: compatibilityDate$D,
|
|
82802
|
+
metadata: metadata$D,
|
|
82803
|
+
presetSchema: presetSchema$5,
|
|
82804
|
+
schema: schema$D,
|
|
82805
|
+
type: type$D
|
|
82806
82806
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
82807
|
-
const type$
|
|
82808
|
-
const compatibilityDate$
|
|
82809
|
-
const BindingPath$
|
|
82810
|
-
const SplitBinding$
|
|
82807
|
+
const type$C = "com.shwfed.form.field.daterange";
|
|
82808
|
+
const compatibilityDate$C = "2026-04-27";
|
|
82809
|
+
const BindingPath$4 = String$.pipe(minLength(1));
|
|
82810
|
+
const SplitBinding$4 = Tuple(BindingPath$4, BindingPath$4).pipe(
|
|
82811
82811
|
filter(([a, b]) => a !== b, {
|
|
82812
82812
|
message: () => "起始与结束绑定路径不能相同"
|
|
82813
82813
|
})
|
|
82814
82814
|
);
|
|
82815
|
-
const bindingSchema$
|
|
82815
|
+
const bindingSchema$4 = Union2(BindingPath$4, SplitBinding$4).annotations({
|
|
82816
82816
|
title: "绑定路径",
|
|
82817
82817
|
description: "写入表单状态的 `dot-prop` 路径;填写单个路径时写入 `[start, end]` 字符串数组,例如 `event.range`;填写 `[起始路径, 结束路径]` 元组时分别写入两端;留空则为非受控字段"
|
|
82818
82818
|
});
|
|
82819
|
-
const metadata$
|
|
82819
|
+
const metadata$C = {
|
|
82820
82820
|
name: "日期范围",
|
|
82821
82821
|
icon: "fluent:calendar-arrow-right-20-regular",
|
|
82822
82822
|
w: { initial: 10, min: 10, max: Infinity },
|
|
82823
82823
|
h: { initial: 2, min: 2, max: 2 }
|
|
82824
82824
|
};
|
|
82825
|
-
function presetSchema$
|
|
82825
|
+
function presetSchema$4(configure) {
|
|
82826
82826
|
const CelDate = Expression({ configure, resultType: "Date" });
|
|
82827
82827
|
return Struct({
|
|
82828
82828
|
id: UUID.annotations({ description: "预设唯一标识,用于稳定的 v-for key" }),
|
|
@@ -82842,12 +82842,12 @@ function presetSchema$2(configure) {
|
|
|
82842
82842
|
title: "DateRangeFieldPreset"
|
|
82843
82843
|
});
|
|
82844
82844
|
}
|
|
82845
|
-
function schema$
|
|
82845
|
+
function schema$C(configure) {
|
|
82846
82846
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
82847
|
-
const Preset = presetSchema$
|
|
82847
|
+
const Preset = presetSchema$4(configure);
|
|
82848
82848
|
return Struct({
|
|
82849
|
-
type: Literal2(type$
|
|
82850
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
82849
|
+
type: Literal2(type$C),
|
|
82850
|
+
compatibilityDate: Literal2(compatibilityDate$C),
|
|
82851
82851
|
...commonFieldFields(configure),
|
|
82852
82852
|
label: optional(Locale.annotations({
|
|
82853
82853
|
title: "标签",
|
|
@@ -82866,7 +82866,7 @@ function schema$A(configure) {
|
|
|
82866
82866
|
description: "鼠标悬停在标签上时展示的说明"
|
|
82867
82867
|
})),
|
|
82868
82868
|
orientation: optional(FieldOrientationSchema),
|
|
82869
|
-
binding: optional(bindingSchema$
|
|
82869
|
+
binding: optional(bindingSchema$4),
|
|
82870
82870
|
disabled: optional(CelBool.annotations({
|
|
82871
82871
|
title: "禁用条件",
|
|
82872
82872
|
description: "返回 `true` 时输入框仍然渲染但不可编辑"
|
|
@@ -82901,21 +82901,21 @@ function schema$A(configure) {
|
|
|
82901
82901
|
description: "日期范围选择输入"
|
|
82902
82902
|
});
|
|
82903
82903
|
}
|
|
82904
|
-
function defaults$
|
|
82904
|
+
function defaults$8() {
|
|
82905
82905
|
return { rangeSeparatorIcon: "fluent:arrow-right-20-regular" };
|
|
82906
82906
|
}
|
|
82907
82907
|
const __vite_glob_0_6$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
82908
82908
|
__proto__: null,
|
|
82909
|
-
compatibilityDate: compatibilityDate$
|
|
82910
|
-
defaults: defaults$
|
|
82911
|
-
metadata: metadata$
|
|
82912
|
-
presetSchema: presetSchema$
|
|
82913
|
-
schema: schema$
|
|
82914
|
-
type: type$
|
|
82909
|
+
compatibilityDate: compatibilityDate$C,
|
|
82910
|
+
defaults: defaults$8,
|
|
82911
|
+
metadata: metadata$C,
|
|
82912
|
+
presetSchema: presetSchema$4,
|
|
82913
|
+
schema: schema$C,
|
|
82914
|
+
type: type$C
|
|
82915
82915
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
82916
|
-
const type$
|
|
82917
|
-
const compatibilityDate$
|
|
82918
|
-
const metadata$
|
|
82916
|
+
const type$B = "com.shwfed.form.field.datetime";
|
|
82917
|
+
const compatibilityDate$B = "2026-04-27";
|
|
82918
|
+
const metadata$B = {
|
|
82919
82919
|
name: "日期时间",
|
|
82920
82920
|
icon: "fluent:calendar-clock-20-regular",
|
|
82921
82921
|
w: { initial: 8, min: 4, max: Infinity },
|
|
@@ -82931,7 +82931,7 @@ const HOUR_CYCLE_OPTIONS$3 = [
|
|
|
82931
82931
|
{ value: 24, label: "24 小时制" },
|
|
82932
82932
|
{ value: 12, label: "12 小时制" }
|
|
82933
82933
|
];
|
|
82934
|
-
function presetSchema$
|
|
82934
|
+
function presetSchema$3(configure) {
|
|
82935
82935
|
const CelDate = Expression({ configure, resultType: "Date" });
|
|
82936
82936
|
return Struct({
|
|
82937
82937
|
id: UUID.annotations({ description: "预设唯一标识,用于稳定的 v-for key" }),
|
|
@@ -82947,12 +82947,12 @@ function presetSchema$1(configure) {
|
|
|
82947
82947
|
title: "DateTimeFieldPreset"
|
|
82948
82948
|
});
|
|
82949
82949
|
}
|
|
82950
|
-
function schema$
|
|
82950
|
+
function schema$B(configure) {
|
|
82951
82951
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
82952
|
-
const Preset = presetSchema$
|
|
82952
|
+
const Preset = presetSchema$3(configure);
|
|
82953
82953
|
return Struct({
|
|
82954
|
-
type: Literal2(type$
|
|
82955
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
82954
|
+
type: Literal2(type$B),
|
|
82955
|
+
compatibilityDate: Literal2(compatibilityDate$B),
|
|
82956
82956
|
...commonFieldFields(configure),
|
|
82957
82957
|
label: optional(Locale.annotations({
|
|
82958
82958
|
title: "标签",
|
|
@@ -83010,25 +83010,25 @@ const __vite_glob_0_7$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
|
|
|
83010
83010
|
HOUR_CYCLE_OPTIONS: HOUR_CYCLE_OPTIONS$3,
|
|
83011
83011
|
TIME_GRANULARITIES: TIME_GRANULARITIES$3,
|
|
83012
83012
|
TIME_GRANULARITY_OPTIONS: TIME_GRANULARITY_OPTIONS$3,
|
|
83013
|
-
compatibilityDate: compatibilityDate$
|
|
83014
|
-
metadata: metadata$
|
|
83015
|
-
presetSchema: presetSchema$
|
|
83016
|
-
schema: schema$
|
|
83017
|
-
type: type$
|
|
83013
|
+
compatibilityDate: compatibilityDate$B,
|
|
83014
|
+
metadata: metadata$B,
|
|
83015
|
+
presetSchema: presetSchema$3,
|
|
83016
|
+
schema: schema$B,
|
|
83017
|
+
type: type$B
|
|
83018
83018
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
83019
|
-
const type$
|
|
83020
|
-
const compatibilityDate$
|
|
83021
|
-
const BindingPath$
|
|
83022
|
-
const SplitBinding$
|
|
83019
|
+
const type$A = "com.shwfed.form.field.datetimerange";
|
|
83020
|
+
const compatibilityDate$A = "2026-04-27";
|
|
83021
|
+
const BindingPath$3 = String$.pipe(minLength(1));
|
|
83022
|
+
const SplitBinding$3 = Tuple(BindingPath$3, BindingPath$3).pipe(
|
|
83023
83023
|
filter(([a, b]) => a !== b, {
|
|
83024
83024
|
message: () => "起始与结束绑定路径不能相同"
|
|
83025
83025
|
})
|
|
83026
83026
|
);
|
|
83027
|
-
const bindingSchema$
|
|
83027
|
+
const bindingSchema$3 = Union2(BindingPath$3, SplitBinding$3).annotations({
|
|
83028
83028
|
title: "绑定路径",
|
|
83029
83029
|
description: "写入表单状态的 `dot-prop` 路径;填写单个路径时写入 `[start, end]` 字符串数组,例如 `event.range`;填写 `[起始路径, 结束路径]` 元组时分别写入两端;留空则为非受控字段"
|
|
83030
83030
|
});
|
|
83031
|
-
const metadata$
|
|
83031
|
+
const metadata$A = {
|
|
83032
83032
|
name: "日期时间范围",
|
|
83033
83033
|
icon: "fluent:calendar-clock-20-regular",
|
|
83034
83034
|
w: { initial: 14, min: 14, max: Infinity },
|
|
@@ -83044,7 +83044,7 @@ const HOUR_CYCLE_OPTIONS$2 = [
|
|
|
83044
83044
|
{ value: 24, label: "24 小时制" },
|
|
83045
83045
|
{ value: 12, label: "12 小时制" }
|
|
83046
83046
|
];
|
|
83047
|
-
function presetSchema(configure) {
|
|
83047
|
+
function presetSchema$2(configure) {
|
|
83048
83048
|
const CelDate = Expression({ configure, resultType: "Date" });
|
|
83049
83049
|
return Struct({
|
|
83050
83050
|
id: UUID.annotations({ description: "预设唯一标识,用于稳定的 v-for key" }),
|
|
@@ -83064,12 +83064,12 @@ function presetSchema(configure) {
|
|
|
83064
83064
|
title: "DateTimeRangeFieldPreset"
|
|
83065
83065
|
});
|
|
83066
83066
|
}
|
|
83067
|
-
function schema$
|
|
83067
|
+
function schema$A(configure) {
|
|
83068
83068
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
83069
|
-
const Preset = presetSchema(configure);
|
|
83069
|
+
const Preset = presetSchema$2(configure);
|
|
83070
83070
|
return Struct({
|
|
83071
|
-
type: Literal2(type$
|
|
83072
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
83071
|
+
type: Literal2(type$A),
|
|
83072
|
+
compatibilityDate: Literal2(compatibilityDate$A),
|
|
83073
83073
|
...commonFieldFields(configure),
|
|
83074
83074
|
label: optional(Locale.annotations({
|
|
83075
83075
|
title: "标签",
|
|
@@ -83088,7 +83088,7 @@ function schema$y(configure) {
|
|
|
83088
83088
|
description: "鼠标悬停在标签上时展示的说明"
|
|
83089
83089
|
})),
|
|
83090
83090
|
orientation: optional(FieldOrientationSchema),
|
|
83091
|
-
binding: optional(bindingSchema$
|
|
83091
|
+
binding: optional(bindingSchema$3),
|
|
83092
83092
|
disabled: optional(CelBool.annotations({
|
|
83093
83093
|
title: "禁用条件",
|
|
83094
83094
|
description: "返回 `true` 时输入框仍然渲染但不可编辑"
|
|
@@ -83131,7 +83131,7 @@ function schema$y(configure) {
|
|
|
83131
83131
|
description: "日期时间范围选择输入"
|
|
83132
83132
|
});
|
|
83133
83133
|
}
|
|
83134
|
-
function defaults$
|
|
83134
|
+
function defaults$7() {
|
|
83135
83135
|
return { rangeSeparatorIcon: "fluent:arrow-right-20-regular" };
|
|
83136
83136
|
}
|
|
83137
83137
|
const __vite_glob_0_8$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -83139,16 +83139,16 @@ const __vite_glob_0_8$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
|
|
|
83139
83139
|
HOUR_CYCLE_OPTIONS: HOUR_CYCLE_OPTIONS$2,
|
|
83140
83140
|
TIME_GRANULARITIES: TIME_GRANULARITIES$2,
|
|
83141
83141
|
TIME_GRANULARITY_OPTIONS: TIME_GRANULARITY_OPTIONS$2,
|
|
83142
|
-
compatibilityDate: compatibilityDate$
|
|
83143
|
-
defaults: defaults$
|
|
83144
|
-
metadata: metadata$
|
|
83145
|
-
presetSchema,
|
|
83146
|
-
schema: schema$
|
|
83147
|
-
type: type$
|
|
83142
|
+
compatibilityDate: compatibilityDate$A,
|
|
83143
|
+
defaults: defaults$7,
|
|
83144
|
+
metadata: metadata$A,
|
|
83145
|
+
presetSchema: presetSchema$2,
|
|
83146
|
+
schema: schema$A,
|
|
83147
|
+
type: type$A
|
|
83148
83148
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
83149
|
-
const type$
|
|
83150
|
-
const compatibilityDate$
|
|
83151
|
-
const metadata$
|
|
83149
|
+
const type$z = "com.shwfed.form.field.time";
|
|
83150
|
+
const compatibilityDate$z = "2026-04-27";
|
|
83151
|
+
const metadata$z = {
|
|
83152
83152
|
name: "时间",
|
|
83153
83153
|
icon: "fluent:clock-20-regular",
|
|
83154
83154
|
w: { initial: 8, min: 4, max: Infinity },
|
|
@@ -83164,11 +83164,11 @@ const HOUR_CYCLE_OPTIONS$1 = [
|
|
|
83164
83164
|
{ value: 24, label: "24 小时制" },
|
|
83165
83165
|
{ value: 12, label: "12 小时制" }
|
|
83166
83166
|
];
|
|
83167
|
-
function schema$
|
|
83167
|
+
function schema$z(configure) {
|
|
83168
83168
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
83169
83169
|
return Struct({
|
|
83170
|
-
type: Literal2(type$
|
|
83171
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
83170
|
+
type: Literal2(type$z),
|
|
83171
|
+
compatibilityDate: Literal2(compatibilityDate$z),
|
|
83172
83172
|
...commonFieldFields(configure),
|
|
83173
83173
|
label: optional(Locale.annotations({
|
|
83174
83174
|
title: "标签",
|
|
@@ -83214,24 +83214,24 @@ const __vite_glob_0_9$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
|
|
|
83214
83214
|
HOUR_CYCLE_OPTIONS: HOUR_CYCLE_OPTIONS$1,
|
|
83215
83215
|
TIME_GRANULARITIES: TIME_GRANULARITIES$1,
|
|
83216
83216
|
TIME_GRANULARITY_OPTIONS: TIME_GRANULARITY_OPTIONS$1,
|
|
83217
|
-
compatibilityDate: compatibilityDate$
|
|
83218
|
-
metadata: metadata$
|
|
83219
|
-
schema: schema$
|
|
83220
|
-
type: type$
|
|
83217
|
+
compatibilityDate: compatibilityDate$z,
|
|
83218
|
+
metadata: metadata$z,
|
|
83219
|
+
schema: schema$z,
|
|
83220
|
+
type: type$z
|
|
83221
83221
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
83222
|
-
const type$
|
|
83223
|
-
const compatibilityDate$
|
|
83224
|
-
const BindingPath$
|
|
83225
|
-
const SplitBinding$
|
|
83222
|
+
const type$y = "com.shwfed.form.field.timerange";
|
|
83223
|
+
const compatibilityDate$y = "2026-04-27";
|
|
83224
|
+
const BindingPath$2 = String$.pipe(minLength(1));
|
|
83225
|
+
const SplitBinding$2 = Tuple(BindingPath$2, BindingPath$2).pipe(
|
|
83226
83226
|
filter(([a, b]) => a !== b, {
|
|
83227
83227
|
message: () => "起始与结束绑定路径不能相同"
|
|
83228
83228
|
})
|
|
83229
83229
|
);
|
|
83230
|
-
const bindingSchema$
|
|
83230
|
+
const bindingSchema$2 = Union2(BindingPath$2, SplitBinding$2).annotations({
|
|
83231
83231
|
title: "绑定路径",
|
|
83232
83232
|
description: "写入表单状态的 `dot-prop` 路径;填写单个路径时写入 `[start, end]` 字符串数组,例如 `meeting.timeRange`;填写 `[起始路径, 结束路径]` 元组时分别写入两端;留空则为非受控字段"
|
|
83233
83233
|
});
|
|
83234
|
-
const metadata$
|
|
83234
|
+
const metadata$y = {
|
|
83235
83235
|
name: "时间范围",
|
|
83236
83236
|
icon: "fluent:clock-arrow-download-20-regular",
|
|
83237
83237
|
w: { initial: 14, min: 14, max: Infinity },
|
|
@@ -83247,11 +83247,11 @@ const HOUR_CYCLE_OPTIONS = [
|
|
|
83247
83247
|
{ value: 24, label: "24 小时制" },
|
|
83248
83248
|
{ value: 12, label: "12 小时制" }
|
|
83249
83249
|
];
|
|
83250
|
-
function schema$
|
|
83250
|
+
function schema$y(configure) {
|
|
83251
83251
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
83252
83252
|
return Struct({
|
|
83253
|
-
type: Literal2(type$
|
|
83254
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
83253
|
+
type: Literal2(type$y),
|
|
83254
|
+
compatibilityDate: Literal2(compatibilityDate$y),
|
|
83255
83255
|
...commonFieldFields(configure),
|
|
83256
83256
|
label: optional(Locale.annotations({
|
|
83257
83257
|
title: "标签",
|
|
@@ -83262,7 +83262,7 @@ function schema$w(configure) {
|
|
|
83262
83262
|
description: "鼠标悬停在标签上时展示的说明"
|
|
83263
83263
|
})),
|
|
83264
83264
|
orientation: optional(FieldOrientationSchema),
|
|
83265
|
-
binding: optional(bindingSchema$
|
|
83265
|
+
binding: optional(bindingSchema$2),
|
|
83266
83266
|
disabled: optional(CelBool.annotations({
|
|
83267
83267
|
title: "禁用条件",
|
|
83268
83268
|
description: "返回 `true` 时输入框仍然渲染但不可编辑"
|
|
@@ -83293,7 +83293,7 @@ function schema$w(configure) {
|
|
|
83293
83293
|
description: "时间范围选择输入"
|
|
83294
83294
|
});
|
|
83295
83295
|
}
|
|
83296
|
-
function defaults$
|
|
83296
|
+
function defaults$6() {
|
|
83297
83297
|
return { rangeSeparatorIcon: "fluent:arrow-right-20-regular" };
|
|
83298
83298
|
}
|
|
83299
83299
|
const __vite_glob_0_10$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -83301,26 +83301,26 @@ const __vite_glob_0_10$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.
|
|
|
83301
83301
|
HOUR_CYCLE_OPTIONS,
|
|
83302
83302
|
TIME_GRANULARITIES,
|
|
83303
83303
|
TIME_GRANULARITY_OPTIONS,
|
|
83304
|
-
compatibilityDate: compatibilityDate$
|
|
83305
|
-
defaults: defaults$
|
|
83306
|
-
metadata: metadata$
|
|
83307
|
-
schema: schema$
|
|
83308
|
-
type: type$
|
|
83304
|
+
compatibilityDate: compatibilityDate$y,
|
|
83305
|
+
defaults: defaults$6,
|
|
83306
|
+
metadata: metadata$y,
|
|
83307
|
+
schema: schema$y,
|
|
83308
|
+
type: type$y
|
|
83309
83309
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
83310
|
-
const type$
|
|
83311
|
-
const compatibilityDate$
|
|
83312
|
-
const metadata$
|
|
83310
|
+
const type$x = "com.shwfed.form.field.number";
|
|
83311
|
+
const compatibilityDate$x = "2026-04-28";
|
|
83312
|
+
const metadata$x = {
|
|
83313
83313
|
name: "数值输入",
|
|
83314
83314
|
icon: "fluent:number-symbol-20-regular",
|
|
83315
83315
|
w: { initial: 8, min: 4, max: Infinity },
|
|
83316
83316
|
h: { initial: 2, min: 2, max: 2 }
|
|
83317
83317
|
};
|
|
83318
|
-
function schema$
|
|
83318
|
+
function schema$x(configure) {
|
|
83319
83319
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
83320
83320
|
const CelNumber = Expression({ configure, resultType: "number" });
|
|
83321
83321
|
return Struct({
|
|
83322
|
-
type: Literal2(type$
|
|
83323
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
83322
|
+
type: Literal2(type$x),
|
|
83323
|
+
compatibilityDate: Literal2(compatibilityDate$x),
|
|
83324
83324
|
...commonFieldFields(configure),
|
|
83325
83325
|
label: optional(Locale.annotations({
|
|
83326
83326
|
title: "标签",
|
|
@@ -83379,35 +83379,35 @@ function schema$v(configure) {
|
|
|
83379
83379
|
}
|
|
83380
83380
|
const __vite_glob_0_11$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
83381
83381
|
__proto__: null,
|
|
83382
|
-
compatibilityDate: compatibilityDate$
|
|
83383
|
-
metadata: metadata$
|
|
83384
|
-
schema: schema$
|
|
83385
|
-
type: type$
|
|
83382
|
+
compatibilityDate: compatibilityDate$x,
|
|
83383
|
+
metadata: metadata$x,
|
|
83384
|
+
schema: schema$x,
|
|
83385
|
+
type: type$x
|
|
83386
83386
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
83387
|
-
const type$
|
|
83388
|
-
const compatibilityDate$
|
|
83389
|
-
const BindingPath = String$.pipe(minLength(1));
|
|
83390
|
-
const SplitBinding = Tuple(BindingPath, BindingPath).pipe(
|
|
83387
|
+
const type$w = "com.shwfed.form.field.numberrange";
|
|
83388
|
+
const compatibilityDate$w = "2026-04-28";
|
|
83389
|
+
const BindingPath$1 = String$.pipe(minLength(1));
|
|
83390
|
+
const SplitBinding$1 = Tuple(BindingPath$1, BindingPath$1).pipe(
|
|
83391
83391
|
filter(([a, b]) => a !== b, {
|
|
83392
83392
|
message: () => "起始与结束绑定路径不能相同"
|
|
83393
83393
|
})
|
|
83394
83394
|
);
|
|
83395
|
-
const bindingSchema = Union2(BindingPath, SplitBinding).annotations({
|
|
83395
|
+
const bindingSchema$1 = Union2(BindingPath$1, SplitBinding$1).annotations({
|
|
83396
83396
|
title: "绑定路径",
|
|
83397
83397
|
description: "写入表单状态的 `dot-prop` 路径;填写单个路径时写入 `[start, end]` 数值数组,例如 `score.range`;填写 `[起始路径, 结束路径]` 元组时分别写入两端;留空则为非受控字段"
|
|
83398
83398
|
});
|
|
83399
|
-
const metadata$
|
|
83399
|
+
const metadata$w = {
|
|
83400
83400
|
name: "数值范围",
|
|
83401
83401
|
icon: "fluent:arrow-bidirectional-left-right-20-regular",
|
|
83402
83402
|
w: { initial: 8, min: 4, max: Infinity },
|
|
83403
83403
|
h: { initial: 2, min: 2, max: 2 }
|
|
83404
83404
|
};
|
|
83405
|
-
function schema$
|
|
83405
|
+
function schema$w(configure) {
|
|
83406
83406
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
83407
83407
|
const CelNumber = Expression({ configure, resultType: "number" });
|
|
83408
83408
|
return Struct({
|
|
83409
|
-
type: Literal2(type$
|
|
83410
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
83409
|
+
type: Literal2(type$w),
|
|
83410
|
+
compatibilityDate: Literal2(compatibilityDate$w),
|
|
83411
83411
|
...commonFieldFields(configure),
|
|
83412
83412
|
label: optional(Locale.annotations({
|
|
83413
83413
|
title: "标签",
|
|
@@ -83426,7 +83426,7 @@ function schema$u(configure) {
|
|
|
83426
83426
|
description: "鼠标悬停在标签上时展示的说明"
|
|
83427
83427
|
})),
|
|
83428
83428
|
orientation: optional(FieldOrientationSchema),
|
|
83429
|
-
binding: optional(bindingSchema),
|
|
83429
|
+
binding: optional(bindingSchema$1),
|
|
83430
83430
|
disabled: optional(CelBool.annotations({
|
|
83431
83431
|
title: "禁用条件",
|
|
83432
83432
|
description: "返回 `true` 时输入框仍然渲染但不可编辑"
|
|
@@ -83469,30 +83469,30 @@ function schema$u(configure) {
|
|
|
83469
83469
|
description: "数值范围输入"
|
|
83470
83470
|
});
|
|
83471
83471
|
}
|
|
83472
|
-
function defaults$
|
|
83472
|
+
function defaults$5() {
|
|
83473
83473
|
return { rangeSeparatorIcon: "fluent:arrow-right-20-regular" };
|
|
83474
83474
|
}
|
|
83475
83475
|
const __vite_glob_0_12$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
83476
83476
|
__proto__: null,
|
|
83477
|
-
compatibilityDate: compatibilityDate$
|
|
83478
|
-
defaults: defaults$
|
|
83479
|
-
metadata: metadata$
|
|
83480
|
-
schema: schema$
|
|
83481
|
-
type: type$
|
|
83477
|
+
compatibilityDate: compatibilityDate$w,
|
|
83478
|
+
defaults: defaults$5,
|
|
83479
|
+
metadata: metadata$w,
|
|
83480
|
+
schema: schema$w,
|
|
83481
|
+
type: type$w
|
|
83482
83482
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
83483
|
-
const type$
|
|
83484
|
-
const compatibilityDate$
|
|
83485
|
-
const metadata$
|
|
83483
|
+
const type$v = "com.shwfed.form.field.switch";
|
|
83484
|
+
const compatibilityDate$v = "2026-04-28";
|
|
83485
|
+
const metadata$v = {
|
|
83486
83486
|
name: "开关",
|
|
83487
83487
|
icon: "fluent:toggle-left-20-regular",
|
|
83488
83488
|
w: { initial: 4, min: 4, max: Infinity },
|
|
83489
83489
|
h: { initial: 2, min: 2, max: 2 }
|
|
83490
83490
|
};
|
|
83491
|
-
function schema$
|
|
83491
|
+
function schema$v(configure) {
|
|
83492
83492
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
83493
83493
|
return Struct({
|
|
83494
|
-
type: Literal2(type$
|
|
83495
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
83494
|
+
type: Literal2(type$v),
|
|
83495
|
+
compatibilityDate: Literal2(compatibilityDate$v),
|
|
83496
83496
|
...commonFieldFields(configure),
|
|
83497
83497
|
label: optional(Locale.annotations({
|
|
83498
83498
|
title: "标签",
|
|
@@ -83530,10 +83530,10 @@ function schema$t(configure) {
|
|
|
83530
83530
|
}
|
|
83531
83531
|
const __vite_glob_0_13$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
83532
83532
|
__proto__: null,
|
|
83533
|
-
compatibilityDate: compatibilityDate$
|
|
83534
|
-
metadata: metadata$
|
|
83535
|
-
schema: schema$
|
|
83536
|
-
type: type$
|
|
83533
|
+
compatibilityDate: compatibilityDate$v,
|
|
83534
|
+
metadata: metadata$v,
|
|
83535
|
+
schema: schema$v,
|
|
83536
|
+
type: type$v
|
|
83537
83537
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
83538
83538
|
const decodeCache = {};
|
|
83539
83539
|
function getDecodeCache(exclude2) {
|
|
@@ -88784,9 +88784,9 @@ function interpolateMarkdown(template, $cel, context2) {
|
|
|
88784
88784
|
}
|
|
88785
88785
|
});
|
|
88786
88786
|
}
|
|
88787
|
-
const type$
|
|
88788
|
-
const compatibilityDate$
|
|
88789
|
-
const metadata$
|
|
88787
|
+
const type$u = "com.shwfed.form.field.combobox.single";
|
|
88788
|
+
const compatibilityDate$u = "2026-04-29";
|
|
88789
|
+
const metadata$u = {
|
|
88790
88790
|
name: "下拉单选(硬编码)",
|
|
88791
88791
|
icon: "fluent:chevron-down-20-regular",
|
|
88792
88792
|
w: { initial: 8, min: 4, max: Infinity },
|
|
@@ -88821,12 +88821,12 @@ function itemSchema$3(configure) {
|
|
|
88821
88821
|
title: "ComboboxSingleItem"
|
|
88822
88822
|
});
|
|
88823
88823
|
}
|
|
88824
|
-
function schema$
|
|
88824
|
+
function schema$u(configure) {
|
|
88825
88825
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
88826
88826
|
const Item = itemSchema$3(configure);
|
|
88827
88827
|
return Struct({
|
|
88828
|
-
type: Literal2(type$
|
|
88829
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
88828
|
+
type: Literal2(type$u),
|
|
88829
|
+
compatibilityDate: Literal2(compatibilityDate$u),
|
|
88830
88830
|
...commonFieldFields(configure),
|
|
88831
88831
|
label: optional(Locale.annotations({
|
|
88832
88832
|
title: "标签",
|
|
@@ -88918,23 +88918,23 @@ const migrate$2 = (prev, ctx) => {
|
|
|
88918
88918
|
} = legacy;
|
|
88919
88919
|
return {
|
|
88920
88920
|
...carryover,
|
|
88921
|
-
compatibilityDate: compatibilityDate$
|
|
88921
|
+
compatibilityDate: compatibilityDate$u,
|
|
88922
88922
|
items: items2
|
|
88923
88923
|
};
|
|
88924
88924
|
});
|
|
88925
88925
|
};
|
|
88926
88926
|
const __vite_glob_0_14$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
88927
88927
|
__proto__: null,
|
|
88928
|
-
compatibilityDate: compatibilityDate$
|
|
88928
|
+
compatibilityDate: compatibilityDate$u,
|
|
88929
88929
|
itemSchema: itemSchema$3,
|
|
88930
|
-
metadata: metadata$
|
|
88930
|
+
metadata: metadata$u,
|
|
88931
88931
|
migrate: migrate$2,
|
|
88932
|
-
schema: schema$
|
|
88933
|
-
type: type$
|
|
88932
|
+
schema: schema$u,
|
|
88933
|
+
type: type$u
|
|
88934
88934
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
88935
|
-
const type$
|
|
88936
|
-
const compatibilityDate$
|
|
88937
|
-
const metadata$
|
|
88935
|
+
const type$t = "com.shwfed.form.field.upload";
|
|
88936
|
+
const compatibilityDate$t = "2026-05-12";
|
|
88937
|
+
const metadata$t = {
|
|
88938
88938
|
name: "文件上传",
|
|
88939
88939
|
icon: "fluent:cloud-arrow-up-20-regular",
|
|
88940
88940
|
w: { initial: 8, min: 8, max: Infinity },
|
|
@@ -88951,14 +88951,14 @@ function configureWithJson$1(configure) {
|
|
|
88951
88951
|
env.registerVariable("json", JSON_VAR$1.type, { description: JSON_VAR$1.description });
|
|
88952
88952
|
};
|
|
88953
88953
|
}
|
|
88954
|
-
function schema$
|
|
88954
|
+
function schema$t(configure) {
|
|
88955
88955
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
88956
88956
|
const CelHttpRequest = Expression({ configure, resultType: "HttpRequest" });
|
|
88957
88957
|
const CelDownloadRequest = Expression({ configure: configureWithJson$1(configure), resultType: "HttpRequest" });
|
|
88958
88958
|
const LocaleMd = LocaleMarkdown({ configure });
|
|
88959
88959
|
return Struct({
|
|
88960
|
-
type: Literal2(type$
|
|
88961
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
88960
|
+
type: Literal2(type$t),
|
|
88961
|
+
compatibilityDate: Literal2(compatibilityDate$t),
|
|
88962
88962
|
...commonFieldFields(configure),
|
|
88963
88963
|
label: optional(Locale.annotations({
|
|
88964
88964
|
title: "标签",
|
|
@@ -89038,14 +89038,14 @@ function schema$r(configure) {
|
|
|
89038
89038
|
const __vite_glob_0_15 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
89039
89039
|
__proto__: null,
|
|
89040
89040
|
JSON_VAR: JSON_VAR$1,
|
|
89041
|
-
compatibilityDate: compatibilityDate$
|
|
89042
|
-
metadata: metadata$
|
|
89043
|
-
schema: schema$
|
|
89044
|
-
type: type$
|
|
89041
|
+
compatibilityDate: compatibilityDate$t,
|
|
89042
|
+
metadata: metadata$t,
|
|
89043
|
+
schema: schema$t,
|
|
89044
|
+
type: type$t
|
|
89045
89045
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
89046
|
-
const type$
|
|
89047
|
-
const compatibilityDate$
|
|
89048
|
-
const metadata$
|
|
89046
|
+
const type$s = "com.shwfed.form.field.combobox.single.remote";
|
|
89047
|
+
const compatibilityDate$s = "2026-05-13";
|
|
89048
|
+
const metadata$s = {
|
|
89049
89049
|
name: "下拉单选(远程)",
|
|
89050
89050
|
icon: "fluent:cloud-arrow-down-20-regular",
|
|
89051
89051
|
w: { initial: 8, min: 4, max: Infinity },
|
|
@@ -89074,15 +89074,15 @@ function configureWithJson(configure) {
|
|
|
89074
89074
|
};
|
|
89075
89075
|
}
|
|
89076
89076
|
const isListType$1 = (actual) => actual === "dyn" || actual.startsWith("list");
|
|
89077
|
-
function schema$
|
|
89077
|
+
function schema$s(configure) {
|
|
89078
89078
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
89079
89079
|
const CelHttpRequest = Expression({ configure, resultType: "HttpRequest" });
|
|
89080
89080
|
const CelOptions = Expression({ configure: configureWithJson(configure), resultType: isListType$1 });
|
|
89081
89081
|
const CelOptionValue = Expression({ configure: configureWithOption(configure), resultType: "dyn" });
|
|
89082
89082
|
const LocaleOptionLabel = LocaleMarkdown({ configure: configureWithOption(configure) });
|
|
89083
89083
|
return Struct({
|
|
89084
|
-
type: Literal2(type$
|
|
89085
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
89084
|
+
type: Literal2(type$s),
|
|
89085
|
+
compatibilityDate: Literal2(compatibilityDate$s),
|
|
89086
89086
|
...commonFieldFields(configure),
|
|
89087
89087
|
label: optional(Locale.annotations({
|
|
89088
89088
|
title: "标签",
|
|
@@ -89135,20 +89135,20 @@ const __vite_glob_0_16 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.de
|
|
|
89135
89135
|
__proto__: null,
|
|
89136
89136
|
JSON_VAR,
|
|
89137
89137
|
OPTION_VAR,
|
|
89138
|
-
compatibilityDate: compatibilityDate$
|
|
89139
|
-
metadata: metadata$
|
|
89140
|
-
schema: schema$
|
|
89141
|
-
type: type$
|
|
89138
|
+
compatibilityDate: compatibilityDate$s,
|
|
89139
|
+
metadata: metadata$s,
|
|
89140
|
+
schema: schema$s,
|
|
89141
|
+
type: type$s
|
|
89142
89142
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
89143
|
-
const type$
|
|
89144
|
-
const compatibilityDate$
|
|
89145
|
-
const metadata$
|
|
89143
|
+
const type$r = "com.shwfed.form.field.list";
|
|
89144
|
+
const compatibilityDate$r = "2026-05-13";
|
|
89145
|
+
const metadata$r = {
|
|
89146
89146
|
name: "列表",
|
|
89147
89147
|
icon: "fluent:list-20-regular",
|
|
89148
89148
|
w: { initial: 12, min: 4, max: Infinity },
|
|
89149
89149
|
h: { initial: 6, min: 4, max: Infinity, grow: true }
|
|
89150
89150
|
};
|
|
89151
|
-
function schema$
|
|
89151
|
+
function schema$r(configure) {
|
|
89152
89152
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
89153
89153
|
const unitConfigure = (env) => {
|
|
89154
89154
|
configure(env);
|
|
@@ -89162,8 +89162,8 @@ function schema$p(configure) {
|
|
|
89162
89162
|
};
|
|
89163
89163
|
const Unit = suspend(() => FormUnit(unitConfigure));
|
|
89164
89164
|
return Struct({
|
|
89165
|
-
type: Literal2(type$
|
|
89166
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
89165
|
+
type: Literal2(type$r),
|
|
89166
|
+
compatibilityDate: Literal2(compatibilityDate$r),
|
|
89167
89167
|
...commonFieldFields(configure),
|
|
89168
89168
|
label: optional(Locale.annotations({
|
|
89169
89169
|
title: "标签",
|
|
@@ -89220,7 +89220,7 @@ function schema$p(configure) {
|
|
|
89220
89220
|
description: "可新增/删除/重排的同构子表单列表"
|
|
89221
89221
|
});
|
|
89222
89222
|
}
|
|
89223
|
-
function defaults$
|
|
89223
|
+
function defaults$4() {
|
|
89224
89224
|
return {
|
|
89225
89225
|
unit: {
|
|
89226
89226
|
fields: [],
|
|
@@ -89230,15 +89230,15 @@ function defaults$3() {
|
|
|
89230
89230
|
}
|
|
89231
89231
|
const __vite_glob_0_17 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
89232
89232
|
__proto__: null,
|
|
89233
|
-
compatibilityDate: compatibilityDate$
|
|
89234
|
-
defaults: defaults$
|
|
89235
|
-
metadata: metadata$
|
|
89236
|
-
schema: schema$
|
|
89237
|
-
type: type$
|
|
89233
|
+
compatibilityDate: compatibilityDate$r,
|
|
89234
|
+
defaults: defaults$4,
|
|
89235
|
+
metadata: metadata$r,
|
|
89236
|
+
schema: schema$r,
|
|
89237
|
+
type: type$r
|
|
89238
89238
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
89239
|
-
const type$
|
|
89240
|
-
const compatibilityDate$
|
|
89241
|
-
const metadata$
|
|
89239
|
+
const type$q = "com.shwfed.form.field.checkbox.group";
|
|
89240
|
+
const compatibilityDate$q = "2026-05-17";
|
|
89241
|
+
const metadata$q = {
|
|
89242
89242
|
name: "复选框组",
|
|
89243
89243
|
icon: "fluent:checkbox-checked-20-regular",
|
|
89244
89244
|
w: { initial: 8, min: 2, max: Infinity },
|
|
@@ -89273,12 +89273,12 @@ function itemSchema$2(configure) {
|
|
|
89273
89273
|
title: "CheckboxGroupItem"
|
|
89274
89274
|
});
|
|
89275
89275
|
}
|
|
89276
|
-
function schema$
|
|
89276
|
+
function schema$q(configure) {
|
|
89277
89277
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
89278
89278
|
const Item = itemSchema$2(configure);
|
|
89279
89279
|
return Struct({
|
|
89280
|
-
type: Literal2(type$
|
|
89281
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
89280
|
+
type: Literal2(type$q),
|
|
89281
|
+
compatibilityDate: Literal2(compatibilityDate$q),
|
|
89282
89282
|
...commonFieldFields(configure),
|
|
89283
89283
|
label: optional(Locale.annotations({
|
|
89284
89284
|
title: "标签",
|
|
@@ -89312,15 +89312,15 @@ function schema$o(configure) {
|
|
|
89312
89312
|
}
|
|
89313
89313
|
const __vite_glob_0_18 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
89314
89314
|
__proto__: null,
|
|
89315
|
-
compatibilityDate: compatibilityDate$
|
|
89315
|
+
compatibilityDate: compatibilityDate$q,
|
|
89316
89316
|
itemSchema: itemSchema$2,
|
|
89317
|
-
metadata: metadata$
|
|
89318
|
-
schema: schema$
|
|
89319
|
-
type: type$
|
|
89317
|
+
metadata: metadata$q,
|
|
89318
|
+
schema: schema$q,
|
|
89319
|
+
type: type$q
|
|
89320
89320
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
89321
|
-
const type$
|
|
89322
|
-
const compatibilityDate$
|
|
89323
|
-
const metadata$
|
|
89321
|
+
const type$p = "com.shwfed.form.field.radio.group";
|
|
89322
|
+
const compatibilityDate$p = "2026-05-17";
|
|
89323
|
+
const metadata$p = {
|
|
89324
89324
|
name: "单选框组",
|
|
89325
89325
|
icon: "fluent:radio-button-20-regular",
|
|
89326
89326
|
w: { initial: 8, min: 2, max: Infinity },
|
|
@@ -89355,12 +89355,12 @@ function itemSchema$1(configure) {
|
|
|
89355
89355
|
title: "RadioGroupItem"
|
|
89356
89356
|
});
|
|
89357
89357
|
}
|
|
89358
|
-
function schema$
|
|
89358
|
+
function schema$p(configure) {
|
|
89359
89359
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
89360
89360
|
const Item = itemSchema$1(configure);
|
|
89361
89361
|
return Struct({
|
|
89362
|
-
type: Literal2(type$
|
|
89363
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
89362
|
+
type: Literal2(type$p),
|
|
89363
|
+
compatibilityDate: Literal2(compatibilityDate$p),
|
|
89364
89364
|
...commonFieldFields(configure),
|
|
89365
89365
|
label: optional(Locale.annotations({
|
|
89366
89366
|
title: "标签",
|
|
@@ -89394,11 +89394,11 @@ function schema$n(configure) {
|
|
|
89394
89394
|
}
|
|
89395
89395
|
const __vite_glob_0_19 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
89396
89396
|
__proto__: null,
|
|
89397
|
-
compatibilityDate: compatibilityDate$
|
|
89397
|
+
compatibilityDate: compatibilityDate$p,
|
|
89398
89398
|
itemSchema: itemSchema$1,
|
|
89399
|
-
metadata: metadata$
|
|
89400
|
-
schema: schema$
|
|
89401
|
-
type: type$
|
|
89399
|
+
metadata: metadata$p,
|
|
89400
|
+
schema: schema$p,
|
|
89401
|
+
type: type$p
|
|
89402
89402
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
89403
89403
|
const matchIconName = /^[a-z0-9]+(-[a-z0-9]+)*$/;
|
|
89404
89404
|
const stringToIcon = (value, validate2, allowSimpleName, provider = "") => {
|
|
@@ -90882,14 +90882,14 @@ function LocaleMarkdownWithRow(configure) {
|
|
|
90882
90882
|
function derivedRowField(configure, resultType) {
|
|
90883
90883
|
return derivedField(configureWithRow(configure), resultType);
|
|
90884
90884
|
}
|
|
90885
|
-
const type$
|
|
90886
|
-
const compatibilityDate$
|
|
90887
|
-
const metadata$
|
|
90885
|
+
const type$o = "com.shwfed.table.column.actions";
|
|
90886
|
+
const compatibilityDate$o = "2026-04-14";
|
|
90887
|
+
const metadata$o = {
|
|
90888
90888
|
name: "操作",
|
|
90889
90889
|
icon: "fluent:cursor-click-20-regular"
|
|
90890
90890
|
};
|
|
90891
90891
|
const registerRowVariables = registerRowVariablesIfAbsent;
|
|
90892
|
-
function schema$
|
|
90892
|
+
function schema$o(configure) {
|
|
90893
90893
|
const configureWithRow2 = (env) => {
|
|
90894
90894
|
configure(env);
|
|
90895
90895
|
registerRowVariables(env);
|
|
@@ -90897,8 +90897,8 @@ function schema$m(configure) {
|
|
|
90897
90897
|
const { fields: actionFields } = ActionSchemaFields(configureWithRow2);
|
|
90898
90898
|
const { size: _buttonSize, ...actionFieldsForColumn } = actionFields;
|
|
90899
90899
|
return Struct({
|
|
90900
|
-
type: Literal2(type$
|
|
90901
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
90900
|
+
type: Literal2(type$o),
|
|
90901
|
+
compatibilityDate: Literal2(compatibilityDate$o),
|
|
90902
90902
|
...columnIdentityFields(),
|
|
90903
90903
|
title: optional(Locale.annotations({ title: "标题", description: "列标题" })),
|
|
90904
90904
|
size: optional(Number$.pipe(finite(), positive()).annotations({
|
|
@@ -90925,23 +90925,23 @@ function toColumnDef$e(value, { getLocaleText }) {
|
|
|
90925
90925
|
}
|
|
90926
90926
|
const __vite_glob_0_0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
90927
90927
|
__proto__: null,
|
|
90928
|
-
compatibilityDate: compatibilityDate$
|
|
90929
|
-
metadata: metadata$
|
|
90928
|
+
compatibilityDate: compatibilityDate$o,
|
|
90929
|
+
metadata: metadata$o,
|
|
90930
90930
|
registerRowVariables,
|
|
90931
|
-
schema: schema$
|
|
90931
|
+
schema: schema$o,
|
|
90932
90932
|
toColumnDef: toColumnDef$e,
|
|
90933
|
-
type: type$
|
|
90933
|
+
type: type$o
|
|
90934
90934
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
90935
|
-
const type$
|
|
90936
|
-
const compatibilityDate$
|
|
90937
|
-
const metadata$
|
|
90935
|
+
const type$n = "com.shwfed.table.column.date";
|
|
90936
|
+
const compatibilityDate$n = "2026-04-14";
|
|
90937
|
+
const metadata$n = {
|
|
90938
90938
|
name: "日期",
|
|
90939
90939
|
icon: "fluent:calendar-ltr-20-regular"
|
|
90940
90940
|
};
|
|
90941
|
-
function schema$
|
|
90941
|
+
function schema$n(configure) {
|
|
90942
90942
|
return Struct({
|
|
90943
|
-
type: Literal2(type$
|
|
90944
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
90943
|
+
type: Literal2(type$n),
|
|
90944
|
+
compatibilityDate: Literal2(compatibilityDate$n),
|
|
90945
90945
|
...columnFields(configure),
|
|
90946
90946
|
align: optionalWith(Align.annotations({ title: "对齐" }), { default: () => "left" }),
|
|
90947
90947
|
format: String$.annotations({
|
|
@@ -90973,22 +90973,22 @@ function toColumnDef$d(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
90973
90973
|
}
|
|
90974
90974
|
const __vite_glob_0_1$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
90975
90975
|
__proto__: null,
|
|
90976
|
-
compatibilityDate: compatibilityDate$
|
|
90977
|
-
metadata: metadata$
|
|
90978
|
-
schema: schema$
|
|
90976
|
+
compatibilityDate: compatibilityDate$n,
|
|
90977
|
+
metadata: metadata$n,
|
|
90978
|
+
schema: schema$n,
|
|
90979
90979
|
toColumnDef: toColumnDef$d,
|
|
90980
|
-
type: type$
|
|
90980
|
+
type: type$n
|
|
90981
90981
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
90982
|
-
const type$
|
|
90983
|
-
const compatibilityDate$
|
|
90984
|
-
const metadata$
|
|
90982
|
+
const type$m = "com.shwfed.table.column.icon";
|
|
90983
|
+
const compatibilityDate$m = "2026-04-14";
|
|
90984
|
+
const metadata$m = {
|
|
90985
90985
|
name: "图标",
|
|
90986
90986
|
icon: "fluent:shapes-20-regular"
|
|
90987
90987
|
};
|
|
90988
|
-
function schema$
|
|
90988
|
+
function schema$m(configure) {
|
|
90989
90989
|
return Struct({
|
|
90990
|
-
type: Literal2(type$
|
|
90991
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
90990
|
+
type: Literal2(type$m),
|
|
90991
|
+
compatibilityDate: Literal2(compatibilityDate$m),
|
|
90992
90992
|
...columnFields(configure),
|
|
90993
90993
|
accessor: CelRowAccess(configure).annotations({
|
|
90994
90994
|
title: "图标",
|
|
@@ -91024,25 +91024,25 @@ function toColumnDef$c(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
91024
91024
|
}
|
|
91025
91025
|
const __vite_glob_0_2$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
91026
91026
|
__proto__: null,
|
|
91027
|
-
compatibilityDate: compatibilityDate$
|
|
91028
|
-
metadata: metadata$
|
|
91029
|
-
schema: schema$
|
|
91027
|
+
compatibilityDate: compatibilityDate$m,
|
|
91028
|
+
metadata: metadata$m,
|
|
91029
|
+
schema: schema$m,
|
|
91030
91030
|
toColumnDef: toColumnDef$c,
|
|
91031
|
-
type: type$
|
|
91031
|
+
type: type$m
|
|
91032
91032
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
91033
|
-
const type$
|
|
91034
|
-
const compatibilityDate$
|
|
91035
|
-
const metadata$
|
|
91033
|
+
const type$l = "com.shwfed.table.column.markdown";
|
|
91034
|
+
const compatibilityDate$l = "2026-04-14";
|
|
91035
|
+
const metadata$l = {
|
|
91036
91036
|
name: "MD",
|
|
91037
91037
|
icon: "fluent:markdown-20-regular"
|
|
91038
91038
|
};
|
|
91039
91039
|
const isCopyExpressionType$1 = (t) => t === "string" || t === "dyn" || t.startsWith("optional");
|
|
91040
|
-
function schema$
|
|
91040
|
+
function schema$l(configure) {
|
|
91041
91041
|
const cel = CelRowAccess(configure, { resultType: isCopyExpressionType$1 });
|
|
91042
91042
|
const localeMarkdown = LocaleMarkdownWithRow(configure);
|
|
91043
91043
|
return Struct({
|
|
91044
|
-
type: Literal2(type$
|
|
91045
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
91044
|
+
type: Literal2(type$l),
|
|
91045
|
+
compatibilityDate: Literal2(compatibilityDate$l),
|
|
91046
91046
|
...columnIdentityFields(),
|
|
91047
91047
|
title: Locale.annotations({ title: "标题", description: "列标题" }),
|
|
91048
91048
|
align: optionalWith(Align.annotations({ title: "对齐" }), { default: () => "left" }),
|
|
@@ -91081,22 +91081,22 @@ function toColumnDef$b(value, { getLocaleText }) {
|
|
|
91081
91081
|
}
|
|
91082
91082
|
const __vite_glob_0_3$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
91083
91083
|
__proto__: null,
|
|
91084
|
-
compatibilityDate: compatibilityDate$
|
|
91085
|
-
metadata: metadata$
|
|
91086
|
-
schema: schema$
|
|
91084
|
+
compatibilityDate: compatibilityDate$l,
|
|
91085
|
+
metadata: metadata$l,
|
|
91086
|
+
schema: schema$l,
|
|
91087
91087
|
toColumnDef: toColumnDef$b,
|
|
91088
|
-
type: type$
|
|
91088
|
+
type: type$l
|
|
91089
91089
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
91090
|
-
const type$
|
|
91091
|
-
const compatibilityDate$
|
|
91092
|
-
const metadata$
|
|
91090
|
+
const type$k = "com.shwfed.table.column.number";
|
|
91091
|
+
const compatibilityDate$k = "2026-04-14";
|
|
91092
|
+
const metadata$k = {
|
|
91093
91093
|
name: "数值",
|
|
91094
91094
|
icon: "fluent:number-symbol-20-regular"
|
|
91095
91095
|
};
|
|
91096
|
-
function schema$
|
|
91096
|
+
function schema$k(configure) {
|
|
91097
91097
|
return Struct({
|
|
91098
|
-
type: Literal2(type$
|
|
91099
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
91098
|
+
type: Literal2(type$k),
|
|
91099
|
+
compatibilityDate: Literal2(compatibilityDate$k),
|
|
91100
91100
|
...columnFields(configure),
|
|
91101
91101
|
align: optionalWith(Align.annotations({ title: "对齐" }), { default: () => "right" }),
|
|
91102
91102
|
displayMode: optionalWith(
|
|
@@ -91137,24 +91137,24 @@ function toColumnDef$a(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
91137
91137
|
}
|
|
91138
91138
|
const __vite_glob_0_4$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
91139
91139
|
__proto__: null,
|
|
91140
|
-
compatibilityDate: compatibilityDate$
|
|
91141
|
-
metadata: metadata$
|
|
91142
|
-
schema: schema$
|
|
91140
|
+
compatibilityDate: compatibilityDate$k,
|
|
91141
|
+
metadata: metadata$k,
|
|
91142
|
+
schema: schema$k,
|
|
91143
91143
|
toColumnDef: toColumnDef$a,
|
|
91144
|
-
type: type$
|
|
91144
|
+
type: type$k
|
|
91145
91145
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
91146
91146
|
const __vite_glob_2_5 = {};
|
|
91147
91147
|
const _stubVue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
91148
91148
|
__proto__: null,
|
|
91149
91149
|
default: __vite_glob_2_5
|
|
91150
91150
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
91151
|
-
const type$
|
|
91152
|
-
const compatibilityDate$
|
|
91153
|
-
const metadata$
|
|
91151
|
+
const type$j = "com.shwfed.table.column.select";
|
|
91152
|
+
const compatibilityDate$j = "2026-04-14";
|
|
91153
|
+
const metadata$j = {
|
|
91154
91154
|
name: "选择",
|
|
91155
91155
|
icon: "fluent:checkbox-checked-20-regular"
|
|
91156
91156
|
};
|
|
91157
|
-
function schema$
|
|
91157
|
+
function schema$j(configure) {
|
|
91158
91158
|
const CelRowSelectionPredicate = Expression({
|
|
91159
91159
|
configure: (env) => {
|
|
91160
91160
|
configure(env);
|
|
@@ -91163,8 +91163,8 @@ function schema$h(configure) {
|
|
|
91163
91163
|
resultType: "bool"
|
|
91164
91164
|
});
|
|
91165
91165
|
return Struct({
|
|
91166
|
-
type: Literal2(type$
|
|
91167
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
91166
|
+
type: Literal2(type$j),
|
|
91167
|
+
compatibilityDate: Literal2(compatibilityDate$j),
|
|
91168
91168
|
...columnIdentityFields(),
|
|
91169
91169
|
mode: optionalWith(Literal2("radio", "checkbox").annotations({
|
|
91170
91170
|
title: "模式",
|
|
@@ -91195,24 +91195,24 @@ function toColumnDef$9(value) {
|
|
|
91195
91195
|
}
|
|
91196
91196
|
const __vite_glob_0_5$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
91197
91197
|
__proto__: null,
|
|
91198
|
-
compatibilityDate: compatibilityDate$
|
|
91199
|
-
metadata: metadata$
|
|
91200
|
-
schema: schema$
|
|
91198
|
+
compatibilityDate: compatibilityDate$j,
|
|
91199
|
+
metadata: metadata$j,
|
|
91200
|
+
schema: schema$j,
|
|
91201
91201
|
toColumnDef: toColumnDef$9,
|
|
91202
|
-
type: type$
|
|
91202
|
+
type: type$j
|
|
91203
91203
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
91204
|
-
const type$
|
|
91205
|
-
const compatibilityDate$
|
|
91206
|
-
const metadata$
|
|
91204
|
+
const type$i = "com.shwfed.table.column.text";
|
|
91205
|
+
const compatibilityDate$i = "2026-04-14";
|
|
91206
|
+
const metadata$i = {
|
|
91207
91207
|
name: "文本",
|
|
91208
91208
|
icon: "fluent:text-field-20-regular"
|
|
91209
91209
|
};
|
|
91210
91210
|
const isCopyExpressionType = (t) => t === "string" || t === "dyn" || t.startsWith("optional");
|
|
91211
|
-
function schema$
|
|
91211
|
+
function schema$i(configure) {
|
|
91212
91212
|
const cel = CelRowAccess(configure, { resultType: isCopyExpressionType });
|
|
91213
91213
|
return Struct({
|
|
91214
|
-
type: Literal2(type$
|
|
91215
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
91214
|
+
type: Literal2(type$i),
|
|
91215
|
+
compatibilityDate: Literal2(compatibilityDate$i),
|
|
91216
91216
|
...columnFields(configure),
|
|
91217
91217
|
align: optionalWith(Align.annotations({ title: "对齐" }), { default: () => "left" }),
|
|
91218
91218
|
displayMode: optionalWith(
|
|
@@ -91250,19 +91250,19 @@ function toColumnDef$8(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
91250
91250
|
}
|
|
91251
91251
|
const __vite_glob_0_6 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
91252
91252
|
__proto__: null,
|
|
91253
|
-
compatibilityDate: compatibilityDate$
|
|
91254
|
-
metadata: metadata$
|
|
91255
|
-
schema: schema$
|
|
91253
|
+
compatibilityDate: compatibilityDate$i,
|
|
91254
|
+
metadata: metadata$i,
|
|
91255
|
+
schema: schema$i,
|
|
91256
91256
|
toColumnDef: toColumnDef$8,
|
|
91257
|
-
type: type$
|
|
91257
|
+
type: type$i
|
|
91258
91258
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
91259
|
-
const type$
|
|
91260
|
-
const compatibilityDate$
|
|
91261
|
-
const metadata$
|
|
91259
|
+
const type$h = "com.shwfed.table.column.switch.remote";
|
|
91260
|
+
const compatibilityDate$h = "2026-05-13";
|
|
91261
|
+
const metadata$h = {
|
|
91262
91262
|
name: "开关(远程)",
|
|
91263
91263
|
icon: "fluent:toggle-left-20-regular"
|
|
91264
91264
|
};
|
|
91265
|
-
function schema$
|
|
91265
|
+
function schema$h(configure) {
|
|
91266
91266
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
91267
91267
|
const CelOnChange = Expression({
|
|
91268
91268
|
configure: (env) => {
|
|
@@ -91280,8 +91280,8 @@ function schema$f(configure) {
|
|
|
91280
91280
|
resultType: "string"
|
|
91281
91281
|
});
|
|
91282
91282
|
return Struct({
|
|
91283
|
-
type: Literal2(type$
|
|
91284
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
91283
|
+
type: Literal2(type$h),
|
|
91284
|
+
compatibilityDate: Literal2(compatibilityDate$h),
|
|
91285
91285
|
...columnFields(configure),
|
|
91286
91286
|
align: optionalWith(Align.annotations({ title: "对齐" }), { default: () => "center" }),
|
|
91287
91287
|
disabled: optional(CelBool.annotations({
|
|
@@ -91303,14 +91303,14 @@ function schema$f(configure) {
|
|
|
91303
91303
|
}).annotations({ title: "SwitchRenderer", description: "开关渲染器(可编辑)" });
|
|
91304
91304
|
}
|
|
91305
91305
|
const migrateFrom$1 = [
|
|
91306
|
-
{ type: "com.shwfed.table.column.switch", compatibilityDate: compatibilityDate$
|
|
91306
|
+
{ type: "com.shwfed.table.column.switch", compatibilityDate: compatibilityDate$h }
|
|
91307
91307
|
];
|
|
91308
91308
|
const migrate$1 = (prev) => try_({
|
|
91309
91309
|
try: () => {
|
|
91310
91310
|
if (!prev || typeof prev !== "object") {
|
|
91311
91311
|
throw new Error("开关(远程)迁移失败:原值不是对象");
|
|
91312
91312
|
}
|
|
91313
|
-
return { ...prev, type: type$
|
|
91313
|
+
return { ...prev, type: type$h, compatibilityDate: compatibilityDate$h };
|
|
91314
91314
|
},
|
|
91315
91315
|
catch: (e) => e instanceof Error ? e : new Error(String(e))
|
|
91316
91316
|
});
|
|
@@ -91336,21 +91336,21 @@ function toColumnDef$7(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
91336
91336
|
}
|
|
91337
91337
|
const __vite_glob_0_7 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
91338
91338
|
__proto__: null,
|
|
91339
|
-
compatibilityDate: compatibilityDate$
|
|
91340
|
-
metadata: metadata$
|
|
91339
|
+
compatibilityDate: compatibilityDate$h,
|
|
91340
|
+
metadata: metadata$h,
|
|
91341
91341
|
migrate: migrate$1,
|
|
91342
91342
|
migrateFrom: migrateFrom$1,
|
|
91343
|
-
schema: schema$
|
|
91343
|
+
schema: schema$h,
|
|
91344
91344
|
toColumnDef: toColumnDef$7,
|
|
91345
|
-
type: type$
|
|
91345
|
+
type: type$h
|
|
91346
91346
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
91347
|
-
const type$
|
|
91348
|
-
const compatibilityDate$
|
|
91349
|
-
const metadata$
|
|
91347
|
+
const type$g = "com.shwfed.table.column.switch";
|
|
91348
|
+
const compatibilityDate$g = "2026-05-13";
|
|
91349
|
+
const metadata$g = {
|
|
91350
91350
|
name: "开关(远程)",
|
|
91351
91351
|
icon: "fluent:toggle-left-20-regular"
|
|
91352
91352
|
};
|
|
91353
|
-
function schema$
|
|
91353
|
+
function schema$g(configure) {
|
|
91354
91354
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
91355
91355
|
const CelOnChange = Expression({
|
|
91356
91356
|
configure: (env) => {
|
|
@@ -91368,8 +91368,8 @@ function schema$e(configure) {
|
|
|
91368
91368
|
resultType: "string"
|
|
91369
91369
|
});
|
|
91370
91370
|
return Struct({
|
|
91371
|
-
type: Literal2(type$
|
|
91372
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
91371
|
+
type: Literal2(type$g),
|
|
91372
|
+
compatibilityDate: Literal2(compatibilityDate$g),
|
|
91373
91373
|
...columnFields(configure),
|
|
91374
91374
|
align: optionalWith(Align.annotations({ title: "对齐" }), { default: () => "center" }),
|
|
91375
91375
|
disabled: optional(CelBool.annotations({
|
|
@@ -91412,11 +91412,11 @@ function toColumnDef$6(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
91412
91412
|
}
|
|
91413
91413
|
const __vite_glob_0_8 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
91414
91414
|
__proto__: null,
|
|
91415
|
-
compatibilityDate: compatibilityDate$
|
|
91416
|
-
metadata: metadata$
|
|
91417
|
-
schema: schema$
|
|
91415
|
+
compatibilityDate: compatibilityDate$g,
|
|
91416
|
+
metadata: metadata$g,
|
|
91417
|
+
schema: schema$g,
|
|
91418
91418
|
toColumnDef: toColumnDef$6,
|
|
91419
|
-
type: type$
|
|
91419
|
+
type: type$g
|
|
91420
91420
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
91421
91421
|
const isObject$1 = (value) => {
|
|
91422
91422
|
const type2 = typeof value;
|
|
@@ -91615,9 +91615,9 @@ function getProperty(object2, path, value) {
|
|
|
91615
91615
|
}
|
|
91616
91616
|
return object2 === void 0 ? value : object2;
|
|
91617
91617
|
}
|
|
91618
|
-
const type$
|
|
91619
|
-
const compatibilityDate$
|
|
91620
|
-
const metadata$
|
|
91618
|
+
const type$f = "com.shwfed.table.column.combobox-single";
|
|
91619
|
+
const compatibilityDate$f = "2026-05-20";
|
|
91620
|
+
const metadata$f = {
|
|
91621
91621
|
name: "下拉单选",
|
|
91622
91622
|
icon: "fluent:chevron-down-20-regular"
|
|
91623
91623
|
};
|
|
@@ -91650,12 +91650,12 @@ function itemSchema(configure) {
|
|
|
91650
91650
|
title: "ComboboxSingleItem"
|
|
91651
91651
|
});
|
|
91652
91652
|
}
|
|
91653
|
-
function schema$
|
|
91653
|
+
function schema$f(configure) {
|
|
91654
91654
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
91655
91655
|
const Item = itemSchema(configure);
|
|
91656
91656
|
return Struct({
|
|
91657
|
-
type: Literal2(type$
|
|
91658
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
91657
|
+
type: Literal2(type$f),
|
|
91658
|
+
compatibilityDate: Literal2(compatibilityDate$f),
|
|
91659
91659
|
...editableColumnFields(),
|
|
91660
91660
|
placeholder: optional(Locale.annotations({
|
|
91661
91661
|
title: "占位符",
|
|
@@ -91703,25 +91703,25 @@ function toColumnDef$5(value, { getLocaleText }) {
|
|
|
91703
91703
|
}
|
|
91704
91704
|
const __vite_glob_0_9 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
91705
91705
|
__proto__: null,
|
|
91706
|
-
compatibilityDate: compatibilityDate$
|
|
91706
|
+
compatibilityDate: compatibilityDate$f,
|
|
91707
91707
|
itemSchema,
|
|
91708
|
-
metadata: metadata$
|
|
91709
|
-
schema: schema$
|
|
91708
|
+
metadata: metadata$f,
|
|
91709
|
+
schema: schema$f,
|
|
91710
91710
|
toColumnDef: toColumnDef$5,
|
|
91711
|
-
type: type$
|
|
91711
|
+
type: type$f
|
|
91712
91712
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
91713
|
-
const type$
|
|
91714
|
-
const compatibilityDate$
|
|
91715
|
-
const metadata$
|
|
91713
|
+
const type$e = "com.shwfed.table.column.number-input";
|
|
91714
|
+
const compatibilityDate$e = "2026-05-20";
|
|
91715
|
+
const metadata$e = {
|
|
91716
91716
|
name: "数值输入",
|
|
91717
91717
|
icon: "fluent:number-symbol-20-regular"
|
|
91718
91718
|
};
|
|
91719
|
-
function schema$
|
|
91719
|
+
function schema$e(configure) {
|
|
91720
91720
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
91721
91721
|
const CelNumber = CelRowAccess(configure, { resultType: "number" });
|
|
91722
91722
|
return Struct({
|
|
91723
|
-
type: Literal2(type$
|
|
91724
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
91723
|
+
type: Literal2(type$e),
|
|
91724
|
+
compatibilityDate: Literal2(compatibilityDate$e),
|
|
91725
91725
|
...editableColumnFields(),
|
|
91726
91726
|
placeholder: optional(Locale.annotations({
|
|
91727
91727
|
title: "占位符",
|
|
@@ -91789,23 +91789,23 @@ function toColumnDef$4(value, { getLocaleText }) {
|
|
|
91789
91789
|
}
|
|
91790
91790
|
const __vite_glob_0_10 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
91791
91791
|
__proto__: null,
|
|
91792
|
-
compatibilityDate: compatibilityDate$
|
|
91793
|
-
metadata: metadata$
|
|
91794
|
-
schema: schema$
|
|
91792
|
+
compatibilityDate: compatibilityDate$e,
|
|
91793
|
+
metadata: metadata$e,
|
|
91794
|
+
schema: schema$e,
|
|
91795
91795
|
toColumnDef: toColumnDef$4,
|
|
91796
|
-
type: type$
|
|
91796
|
+
type: type$e
|
|
91797
91797
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
91798
|
-
const type$
|
|
91799
|
-
const compatibilityDate$
|
|
91800
|
-
const metadata$
|
|
91798
|
+
const type$d = "com.shwfed.table.column.switch.local";
|
|
91799
|
+
const compatibilityDate$d = "2026-05-20";
|
|
91800
|
+
const metadata$d = {
|
|
91801
91801
|
name: "开关",
|
|
91802
91802
|
icon: "fluent:toggle-left-20-regular"
|
|
91803
91803
|
};
|
|
91804
|
-
function schema$
|
|
91804
|
+
function schema$d(configure) {
|
|
91805
91805
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
91806
91806
|
return Struct({
|
|
91807
|
-
type: Literal2(type$
|
|
91808
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
91807
|
+
type: Literal2(type$d),
|
|
91808
|
+
compatibilityDate: Literal2(compatibilityDate$d),
|
|
91809
91809
|
...editableColumnFields(),
|
|
91810
91810
|
hidden: optional(CelBool.annotations({
|
|
91811
91811
|
title: "隐藏条件",
|
|
@@ -91831,14 +91831,14 @@ function schema$b(configure) {
|
|
|
91831
91831
|
}).annotations({ title: "SwitchRenderer", description: "开关渲染器(可编辑、本地)" });
|
|
91832
91832
|
}
|
|
91833
91833
|
const migrateFrom = [
|
|
91834
|
-
{ type: "com.shwfed.table.column.switch", compatibilityDate: compatibilityDate$
|
|
91834
|
+
{ type: "com.shwfed.table.column.switch", compatibilityDate: compatibilityDate$d }
|
|
91835
91835
|
];
|
|
91836
91836
|
const migrate = (prev) => try_({
|
|
91837
91837
|
try: () => {
|
|
91838
91838
|
if (!prev || typeof prev !== "object") {
|
|
91839
91839
|
throw new Error("开关(本地)迁移失败:原值不是对象");
|
|
91840
91840
|
}
|
|
91841
|
-
return { ...prev, type: type$
|
|
91841
|
+
return { ...prev, type: type$d, compatibilityDate: compatibilityDate$d };
|
|
91842
91842
|
},
|
|
91843
91843
|
catch: (e) => e instanceof Error ? e : new Error(String(e))
|
|
91844
91844
|
});
|
|
@@ -91864,25 +91864,25 @@ function toColumnDef$3(value, { getLocaleText }) {
|
|
|
91864
91864
|
}
|
|
91865
91865
|
const __vite_glob_0_11 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
91866
91866
|
__proto__: null,
|
|
91867
|
-
compatibilityDate: compatibilityDate$
|
|
91868
|
-
metadata: metadata$
|
|
91867
|
+
compatibilityDate: compatibilityDate$d,
|
|
91868
|
+
metadata: metadata$d,
|
|
91869
91869
|
migrate,
|
|
91870
91870
|
migrateFrom,
|
|
91871
|
-
schema: schema$
|
|
91871
|
+
schema: schema$d,
|
|
91872
91872
|
toColumnDef: toColumnDef$3,
|
|
91873
|
-
type: type$
|
|
91873
|
+
type: type$d
|
|
91874
91874
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
91875
|
-
const type$
|
|
91876
|
-
const compatibilityDate$
|
|
91877
|
-
const metadata$
|
|
91875
|
+
const type$c = "com.shwfed.table.column.switch";
|
|
91876
|
+
const compatibilityDate$c = "2026-05-20";
|
|
91877
|
+
const metadata$c = {
|
|
91878
91878
|
name: "开关",
|
|
91879
91879
|
icon: "fluent:toggle-left-20-regular"
|
|
91880
91880
|
};
|
|
91881
|
-
function schema$
|
|
91881
|
+
function schema$c(configure) {
|
|
91882
91882
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
91883
91883
|
return Struct({
|
|
91884
|
-
type: Literal2(type$
|
|
91885
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
91884
|
+
type: Literal2(type$c),
|
|
91885
|
+
compatibilityDate: Literal2(compatibilityDate$c),
|
|
91886
91886
|
...editableColumnFields(),
|
|
91887
91887
|
hidden: optional(CelBool.annotations({
|
|
91888
91888
|
title: "隐藏条件",
|
|
@@ -91929,23 +91929,23 @@ function toColumnDef$2(value, { getLocaleText }) {
|
|
|
91929
91929
|
}
|
|
91930
91930
|
const __vite_glob_0_12 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
91931
91931
|
__proto__: null,
|
|
91932
|
-
compatibilityDate: compatibilityDate$
|
|
91933
|
-
metadata: metadata$
|
|
91934
|
-
schema: schema$
|
|
91932
|
+
compatibilityDate: compatibilityDate$c,
|
|
91933
|
+
metadata: metadata$c,
|
|
91934
|
+
schema: schema$c,
|
|
91935
91935
|
toColumnDef: toColumnDef$2,
|
|
91936
|
-
type: type$
|
|
91936
|
+
type: type$c
|
|
91937
91937
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
91938
|
-
const type$
|
|
91939
|
-
const compatibilityDate$
|
|
91940
|
-
const metadata$
|
|
91938
|
+
const type$b = "com.shwfed.table.column.text-input";
|
|
91939
|
+
const compatibilityDate$b = "2026-05-20";
|
|
91940
|
+
const metadata$b = {
|
|
91941
91941
|
name: "文本输入",
|
|
91942
91942
|
icon: "fluent:text-field-20-regular"
|
|
91943
91943
|
};
|
|
91944
|
-
function schema$
|
|
91944
|
+
function schema$b(configure) {
|
|
91945
91945
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
91946
91946
|
return Struct({
|
|
91947
|
-
type: Literal2(type$
|
|
91948
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
91947
|
+
type: Literal2(type$b),
|
|
91948
|
+
compatibilityDate: Literal2(compatibilityDate$b),
|
|
91949
91949
|
...editableColumnFields(),
|
|
91950
91950
|
placeholder: optional(Locale.annotations({
|
|
91951
91951
|
title: "占位符",
|
|
@@ -91986,22 +91986,22 @@ function toColumnDef$1(value, { getLocaleText }) {
|
|
|
91986
91986
|
}
|
|
91987
91987
|
const __vite_glob_0_13 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
91988
91988
|
__proto__: null,
|
|
91989
|
-
compatibilityDate: compatibilityDate$
|
|
91990
|
-
metadata: metadata$
|
|
91991
|
-
schema: schema$
|
|
91989
|
+
compatibilityDate: compatibilityDate$b,
|
|
91990
|
+
metadata: metadata$b,
|
|
91991
|
+
schema: schema$b,
|
|
91992
91992
|
toColumnDef: toColumnDef$1,
|
|
91993
|
-
type: type$
|
|
91993
|
+
type: type$b
|
|
91994
91994
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
91995
|
-
const type$
|
|
91996
|
-
const compatibilityDate$
|
|
91997
|
-
const metadata$
|
|
91995
|
+
const type$a = "com.shwfed.table.column.drag-handle";
|
|
91996
|
+
const compatibilityDate$a = "2026-05-21";
|
|
91997
|
+
const metadata$a = {
|
|
91998
91998
|
name: "拖拽",
|
|
91999
91999
|
icon: "fluent:re-order-dots-vertical-20-regular"
|
|
92000
92000
|
};
|
|
92001
|
-
function schema$
|
|
92001
|
+
function schema$a(_configure) {
|
|
92002
92002
|
return Struct({
|
|
92003
|
-
type: Literal2(type$
|
|
92004
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
92003
|
+
type: Literal2(type$a),
|
|
92004
|
+
compatibilityDate: Literal2(compatibilityDate$a),
|
|
92005
92005
|
...columnIdentityFields()
|
|
92006
92006
|
}).annotations({ title: "DragHandleRenderer", description: "行拖拽手柄列" });
|
|
92007
92007
|
}
|
|
@@ -92021,11 +92021,11 @@ function toColumnDef(_value) {
|
|
|
92021
92021
|
}
|
|
92022
92022
|
const __vite_glob_0_14 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
92023
92023
|
__proto__: null,
|
|
92024
|
-
compatibilityDate: compatibilityDate$
|
|
92025
|
-
metadata: metadata$
|
|
92026
|
-
schema: schema$
|
|
92024
|
+
compatibilityDate: compatibilityDate$a,
|
|
92025
|
+
metadata: metadata$a,
|
|
92026
|
+
schema: schema$a,
|
|
92027
92027
|
toColumnDef,
|
|
92028
|
-
type: type$
|
|
92028
|
+
type: type$a
|
|
92029
92029
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
92030
92030
|
const schemaModules$2 = /* @__PURE__ */ Object.assign({
|
|
92031
92031
|
"../columns/2026-04-14/com.shwfed.table.column.actions/schema.ts": __vite_glob_0_0,
|
|
@@ -92487,21 +92487,21 @@ function defaultTableConfig() {
|
|
|
92487
92487
|
: index % 2 == 1 ? { 'background-color': 'oklch(98.5% 0 0)' } : { 'background-color': 'white' }`
|
|
92488
92488
|
};
|
|
92489
92489
|
}
|
|
92490
|
-
const type$
|
|
92491
|
-
const compatibilityDate$
|
|
92492
|
-
const metadata$
|
|
92490
|
+
const type$9 = "com.shwfed.form.field.table";
|
|
92491
|
+
const compatibilityDate$9 = "2026-05-18";
|
|
92492
|
+
const metadata$9 = {
|
|
92493
92493
|
name: "表格",
|
|
92494
92494
|
icon: "fluent:table-20-regular",
|
|
92495
92495
|
w: { initial: 12, min: 6, max: Infinity },
|
|
92496
92496
|
h: { initial: 10, min: 5, max: Infinity, grow: true }
|
|
92497
92497
|
};
|
|
92498
|
-
function schema$
|
|
92498
|
+
function schema$9(configure) {
|
|
92499
92499
|
const Table = suspend(
|
|
92500
92500
|
() => TableConfig(configure)
|
|
92501
92501
|
);
|
|
92502
92502
|
return Struct({
|
|
92503
|
-
type: Literal2(type$
|
|
92504
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
92503
|
+
type: Literal2(type$9),
|
|
92504
|
+
compatibilityDate: Literal2(compatibilityDate$9),
|
|
92505
92505
|
...commonFieldFields(configure),
|
|
92506
92506
|
label: optional(Locale.annotations({
|
|
92507
92507
|
title: "标签",
|
|
@@ -92525,31 +92525,31 @@ function schema$7(configure) {
|
|
|
92525
92525
|
description: "把一个可本地编辑的表格嵌入表单,其实时数据写入绑定路径"
|
|
92526
92526
|
});
|
|
92527
92527
|
}
|
|
92528
|
-
function defaults$
|
|
92528
|
+
function defaults$3() {
|
|
92529
92529
|
const { dataSource: _omit, ...rest } = defaultTableConfig();
|
|
92530
92530
|
return { table: rest };
|
|
92531
92531
|
}
|
|
92532
92532
|
const __vite_glob_0_20 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
92533
92533
|
__proto__: null,
|
|
92534
|
-
compatibilityDate: compatibilityDate$
|
|
92535
|
-
defaults: defaults$
|
|
92536
|
-
metadata: metadata$
|
|
92537
|
-
schema: schema$
|
|
92538
|
-
type: type$
|
|
92534
|
+
compatibilityDate: compatibilityDate$9,
|
|
92535
|
+
defaults: defaults$3,
|
|
92536
|
+
metadata: metadata$9,
|
|
92537
|
+
schema: schema$9,
|
|
92538
|
+
type: type$9
|
|
92539
92539
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
92540
|
-
const type$
|
|
92541
|
-
const compatibilityDate$
|
|
92542
|
-
const metadata$
|
|
92540
|
+
const type$8 = "com.shwfed.form.field.collapsible";
|
|
92541
|
+
const compatibilityDate$8 = "2026-05-20";
|
|
92542
|
+
const metadata$8 = {
|
|
92543
92543
|
name: "可折叠区域",
|
|
92544
92544
|
icon: "fluent:chevron-down-20-regular",
|
|
92545
92545
|
w: { initial: 12, min: 4, max: Infinity },
|
|
92546
92546
|
h: { initial: 4, min: 2, max: Infinity, grow: true }
|
|
92547
92547
|
};
|
|
92548
|
-
function schema$
|
|
92548
|
+
function schema$8(configure) {
|
|
92549
92549
|
const Unit = suspend(() => FormUnit(configure));
|
|
92550
92550
|
return Struct({
|
|
92551
|
-
type: Literal2(type$
|
|
92552
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
92551
|
+
type: Literal2(type$8),
|
|
92552
|
+
compatibilityDate: Literal2(compatibilityDate$8),
|
|
92553
92553
|
id: UUID.annotations({ description: "字段唯一标识;布局通过该 id 引用字段" }),
|
|
92554
92554
|
displayName: optional(String$.annotations({
|
|
92555
92555
|
title: "内部名称",
|
|
@@ -92573,7 +92573,7 @@ function schema$6(configure) {
|
|
|
92573
92573
|
description: "带 Markdown 标题的可折叠区域,仅用于视觉分组,不影响字段在表单状态中的层级"
|
|
92574
92574
|
});
|
|
92575
92575
|
}
|
|
92576
|
-
function defaults$
|
|
92576
|
+
function defaults$2() {
|
|
92577
92577
|
return {
|
|
92578
92578
|
header: [{ locale: "zh", message: "" }],
|
|
92579
92579
|
unit: {
|
|
@@ -92584,21 +92584,21 @@ function defaults$1() {
|
|
|
92584
92584
|
}
|
|
92585
92585
|
const __vite_glob_0_21 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
92586
92586
|
__proto__: null,
|
|
92587
|
-
compatibilityDate: compatibilityDate$
|
|
92588
|
-
defaults: defaults$
|
|
92589
|
-
metadata: metadata$
|
|
92590
|
-
schema: schema$
|
|
92591
|
-
type: type$
|
|
92587
|
+
compatibilityDate: compatibilityDate$8,
|
|
92588
|
+
defaults: defaults$2,
|
|
92589
|
+
metadata: metadata$8,
|
|
92590
|
+
schema: schema$8,
|
|
92591
|
+
type: type$8
|
|
92592
92592
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
92593
|
-
const type$
|
|
92594
|
-
const compatibilityDate$
|
|
92595
|
-
const metadata$
|
|
92593
|
+
const type$7 = "com.shwfed.form.field.tree.multi";
|
|
92594
|
+
const compatibilityDate$7 = "2026-05-23";
|
|
92595
|
+
const metadata$7 = {
|
|
92596
92596
|
name: "树(多选)",
|
|
92597
92597
|
icon: "fluent:tree-evergreen-20-regular",
|
|
92598
92598
|
w: { initial: 8, min: 4, max: Infinity },
|
|
92599
92599
|
h: { initial: 8, min: 4, max: Infinity, grow: true }
|
|
92600
92600
|
};
|
|
92601
|
-
function schema$
|
|
92601
|
+
function schema$7(configure) {
|
|
92602
92602
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
92603
92603
|
const nodeConfigure = (env) => {
|
|
92604
92604
|
configure(env);
|
|
@@ -92627,8 +92627,8 @@ function schema$5(configure) {
|
|
|
92627
92627
|
resultType: (t) => t === "dyn" || t.startsWith("list") || t.startsWith("optional")
|
|
92628
92628
|
});
|
|
92629
92629
|
return Struct({
|
|
92630
|
-
type: Literal2(type$
|
|
92631
|
-
compatibilityDate: Literal2(compatibilityDate$
|
|
92630
|
+
type: Literal2(type$7),
|
|
92631
|
+
compatibilityDate: Literal2(compatibilityDate$7),
|
|
92632
92632
|
...commonFieldFields(configure),
|
|
92633
92633
|
label: optional(Locale.annotations({
|
|
92634
92634
|
title: "标签",
|
|
@@ -92704,7 +92704,7 @@ function schema$5(configure) {
|
|
|
92704
92704
|
description: "基于树形数据的多选输入"
|
|
92705
92705
|
});
|
|
92706
92706
|
}
|
|
92707
|
-
function defaults() {
|
|
92707
|
+
function defaults$1() {
|
|
92708
92708
|
return {
|
|
92709
92709
|
dataSource: { data: "[]" },
|
|
92710
92710
|
nodeKey: "string(node.id)",
|
|
@@ -92715,10 +92715,197 @@ function defaults() {
|
|
|
92715
92715
|
};
|
|
92716
92716
|
}
|
|
92717
92717
|
const __vite_glob_0_22 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
92718
|
+
__proto__: null,
|
|
92719
|
+
compatibilityDate: compatibilityDate$7,
|
|
92720
|
+
defaults: defaults$1,
|
|
92721
|
+
metadata: metadata$7,
|
|
92722
|
+
schema: schema$7,
|
|
92723
|
+
type: type$7
|
|
92724
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
92725
|
+
const type$6 = "com.shwfed.form.field.month";
|
|
92726
|
+
const compatibilityDate$6 = "2026-05-24";
|
|
92727
|
+
const metadata$6 = {
|
|
92728
|
+
name: "月份",
|
|
92729
|
+
icon: "fluent:calendar-month-20-regular",
|
|
92730
|
+
w: { initial: 8, min: 4, max: Infinity },
|
|
92731
|
+
h: { initial: 2, min: 2, max: 2 }
|
|
92732
|
+
};
|
|
92733
|
+
function presetSchema$1(configure) {
|
|
92734
|
+
const CelDate = Expression({ configure, resultType: "Date" });
|
|
92735
|
+
return Struct({
|
|
92736
|
+
id: UUID.annotations({ description: "预设唯一标识,用于稳定的 v-for key" }),
|
|
92737
|
+
label: Locale.annotations({
|
|
92738
|
+
title: "标签",
|
|
92739
|
+
description: "快捷选项展示的本地化文本"
|
|
92740
|
+
}),
|
|
92741
|
+
value: CelDate.annotations({
|
|
92742
|
+
title: "值",
|
|
92743
|
+
description: '点击该预设时计算出的月份,例如 `now().offset(-1, "months")`'
|
|
92744
|
+
})
|
|
92745
|
+
}).annotations({
|
|
92746
|
+
title: "MonthFieldPreset"
|
|
92747
|
+
});
|
|
92748
|
+
}
|
|
92749
|
+
function schema$6(configure) {
|
|
92750
|
+
const CelBool = Expression({ configure, resultType: "bool" });
|
|
92751
|
+
const Preset = presetSchema$1(configure);
|
|
92752
|
+
return Struct({
|
|
92753
|
+
type: Literal2(type$6),
|
|
92754
|
+
compatibilityDate: Literal2(compatibilityDate$6),
|
|
92755
|
+
...commonFieldFields(configure),
|
|
92756
|
+
label: optional(Locale.annotations({
|
|
92757
|
+
title: "标签",
|
|
92758
|
+
description: "字段前展示的文本;留空则不渲染标签"
|
|
92759
|
+
})),
|
|
92760
|
+
placeholder: optional(Locale.annotations({
|
|
92761
|
+
title: "占位符",
|
|
92762
|
+
description: "未选中月份时输入框中的占位文本"
|
|
92763
|
+
})),
|
|
92764
|
+
tooltip: optional(Locale.annotations({
|
|
92765
|
+
title: "提示",
|
|
92766
|
+
description: "鼠标悬停在标签上时展示的说明"
|
|
92767
|
+
})),
|
|
92768
|
+
orientation: optional(FieldOrientationSchema),
|
|
92769
|
+
binding: optional(String$.pipe(minLength(1)).annotations({
|
|
92770
|
+
title: "绑定路径",
|
|
92771
|
+
description: "写入表单状态的 `dot-prop` 路径,例如 `user.joinMonth`;留空则为非受控字段"
|
|
92772
|
+
})),
|
|
92773
|
+
disabled: optional(CelBool.annotations({
|
|
92774
|
+
title: "禁用条件",
|
|
92775
|
+
description: "返回 `true` 时输入框仍然渲染但不可编辑"
|
|
92776
|
+
})),
|
|
92777
|
+
readonly: optional(CelBool.annotations({
|
|
92778
|
+
title: "只读条件",
|
|
92779
|
+
description: "返回 `true` 时仅以纯文本展示当前值"
|
|
92780
|
+
})),
|
|
92781
|
+
derived: derivedField(configure, "string"),
|
|
92782
|
+
format: optional(String$.pipe(minLength(1)).annotations({
|
|
92783
|
+
title: "展示格式",
|
|
92784
|
+
description: "输入框中展示月份的 `date-fns` 格式串;留空时使用默认 `yyyy-MM`"
|
|
92785
|
+
})),
|
|
92786
|
+
valueFormat: optional(String$.pipe(minLength(1)).annotations({
|
|
92787
|
+
title: "存储格式",
|
|
92788
|
+
description: "写入表单状态的 `date-fns` 格式串;留空时使用默认 `yyyy-MM`"
|
|
92789
|
+
})),
|
|
92790
|
+
presets: optional(Array$(Preset).annotations({
|
|
92791
|
+
title: "快捷选项",
|
|
92792
|
+
description: "在选择器侧栏展示的快捷预设;留空则不渲染侧栏"
|
|
92793
|
+
}))
|
|
92794
|
+
}).annotations({
|
|
92795
|
+
title: "MonthField",
|
|
92796
|
+
description: "月份选择输入"
|
|
92797
|
+
});
|
|
92798
|
+
}
|
|
92799
|
+
const __vite_glob_0_23 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
92800
|
+
__proto__: null,
|
|
92801
|
+
compatibilityDate: compatibilityDate$6,
|
|
92802
|
+
metadata: metadata$6,
|
|
92803
|
+
presetSchema: presetSchema$1,
|
|
92804
|
+
schema: schema$6,
|
|
92805
|
+
type: type$6
|
|
92806
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
92807
|
+
const type$5 = "com.shwfed.form.field.monthrange";
|
|
92808
|
+
const compatibilityDate$5 = "2026-05-24";
|
|
92809
|
+
const BindingPath = String$.pipe(minLength(1));
|
|
92810
|
+
const SplitBinding = Tuple(BindingPath, BindingPath).pipe(
|
|
92811
|
+
filter(([a, b]) => a !== b, {
|
|
92812
|
+
message: () => "起始与结束绑定路径不能相同"
|
|
92813
|
+
})
|
|
92814
|
+
);
|
|
92815
|
+
const bindingSchema = Union2(BindingPath, SplitBinding).annotations({
|
|
92816
|
+
title: "绑定路径",
|
|
92817
|
+
description: "写入表单状态的 `dot-prop` 路径;填写单个路径时写入 `[start, end]` 字符串数组,例如 `event.months`;填写 `[起始路径, 结束路径]` 元组时分别写入两端;留空则为非受控字段"
|
|
92818
|
+
});
|
|
92819
|
+
const metadata$5 = {
|
|
92820
|
+
name: "月份范围",
|
|
92821
|
+
icon: "fluent:calendar-arrow-right-20-regular",
|
|
92822
|
+
w: { initial: 10, min: 10, max: Infinity },
|
|
92823
|
+
h: { initial: 2, min: 2, max: 2 }
|
|
92824
|
+
};
|
|
92825
|
+
function presetSchema(configure) {
|
|
92826
|
+
const CelDate = Expression({ configure, resultType: "Date" });
|
|
92827
|
+
return Struct({
|
|
92828
|
+
id: UUID.annotations({ description: "预设唯一标识,用于稳定的 v-for key" }),
|
|
92829
|
+
label: Locale.annotations({
|
|
92830
|
+
title: "标签",
|
|
92831
|
+
description: "快捷选项展示的本地化文本"
|
|
92832
|
+
}),
|
|
92833
|
+
start: CelDate.annotations({
|
|
92834
|
+
title: "起始值",
|
|
92835
|
+
description: '点击该预设时计算出的起始月份,例如 `now.offset(-3, "months")`'
|
|
92836
|
+
}),
|
|
92837
|
+
end: CelDate.annotations({
|
|
92838
|
+
title: "结束值",
|
|
92839
|
+
description: "点击该预设时计算出的结束月份,例如 `now`"
|
|
92840
|
+
})
|
|
92841
|
+
}).annotations({
|
|
92842
|
+
title: "MonthRangeFieldPreset"
|
|
92843
|
+
});
|
|
92844
|
+
}
|
|
92845
|
+
function schema$5(configure) {
|
|
92846
|
+
const CelBool = Expression({ configure, resultType: "bool" });
|
|
92847
|
+
const Preset = presetSchema(configure);
|
|
92848
|
+
return Struct({
|
|
92849
|
+
type: Literal2(type$5),
|
|
92850
|
+
compatibilityDate: Literal2(compatibilityDate$5),
|
|
92851
|
+
...commonFieldFields(configure),
|
|
92852
|
+
label: optional(Locale.annotations({
|
|
92853
|
+
title: "标签",
|
|
92854
|
+
description: "字段前展示的文本;留空则不渲染标签"
|
|
92855
|
+
})),
|
|
92856
|
+
startPlaceholder: optional(Locale.annotations({
|
|
92857
|
+
title: "起始占位符",
|
|
92858
|
+
description: "未选中起始月份时输入框中的占位文本"
|
|
92859
|
+
})),
|
|
92860
|
+
endPlaceholder: optional(Locale.annotations({
|
|
92861
|
+
title: "结束占位符",
|
|
92862
|
+
description: "未选中结束月份时输入框中的占位文本"
|
|
92863
|
+
})),
|
|
92864
|
+
tooltip: optional(Locale.annotations({
|
|
92865
|
+
title: "提示",
|
|
92866
|
+
description: "鼠标悬停在标签上时展示的说明"
|
|
92867
|
+
})),
|
|
92868
|
+
orientation: optional(FieldOrientationSchema),
|
|
92869
|
+
binding: optional(bindingSchema),
|
|
92870
|
+
disabled: optional(CelBool.annotations({
|
|
92871
|
+
title: "禁用条件",
|
|
92872
|
+
description: "返回 `true` 时输入框仍然渲染但不可编辑"
|
|
92873
|
+
})),
|
|
92874
|
+
readonly: optional(CelBool.annotations({
|
|
92875
|
+
title: "只读条件",
|
|
92876
|
+
description: "返回 `true` 时仅以纯文本展示当前值"
|
|
92877
|
+
})),
|
|
92878
|
+
derived: derivedField(configure, "dyn"),
|
|
92879
|
+
format: optional(String$.pipe(minLength(1)).annotations({
|
|
92880
|
+
title: "展示格式",
|
|
92881
|
+
description: "输入框中展示月份的 `date-fns` 格式串;留空时使用默认 `yyyy-MM`"
|
|
92882
|
+
})),
|
|
92883
|
+
valueFormat: optional(String$.pipe(minLength(1)).annotations({
|
|
92884
|
+
title: "存储格式",
|
|
92885
|
+
description: "写入表单状态的 `date-fns` 格式串;留空时使用默认 `yyyy-MM`"
|
|
92886
|
+
})),
|
|
92887
|
+
rangeSeparatorIcon: optional(String$.pipe(minLength(1)).annotations({
|
|
92888
|
+
title: "范围分隔图标",
|
|
92889
|
+
description: "范围两端之间分隔图标的 Iconify 名称"
|
|
92890
|
+
})),
|
|
92891
|
+
presets: optional(Array$(Preset).annotations({
|
|
92892
|
+
title: "快捷选项",
|
|
92893
|
+
description: "在选择器底部展示的快捷预设;留空则不渲染"
|
|
92894
|
+
}))
|
|
92895
|
+
}).annotations({
|
|
92896
|
+
title: "MonthRangeField",
|
|
92897
|
+
description: "月份范围选择输入"
|
|
92898
|
+
});
|
|
92899
|
+
}
|
|
92900
|
+
function defaults() {
|
|
92901
|
+
return { rangeSeparatorIcon: "fluent:arrow-right-20-regular" };
|
|
92902
|
+
}
|
|
92903
|
+
const __vite_glob_0_24 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
92718
92904
|
__proto__: null,
|
|
92719
92905
|
compatibilityDate: compatibilityDate$5,
|
|
92720
92906
|
defaults,
|
|
92721
92907
|
metadata: metadata$5,
|
|
92908
|
+
presetSchema,
|
|
92722
92909
|
schema: schema$5,
|
|
92723
92910
|
type: type$5
|
|
92724
92911
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -92745,7 +92932,9 @@ const schemaModules$1 = /* @__PURE__ */ Object.assign({
|
|
|
92745
92932
|
"../fields/2026-05-17/com.shwfed.form.field.radio.group/schema.ts": __vite_glob_0_19,
|
|
92746
92933
|
"../fields/2026-05-18/com.shwfed.form.field.table/schema.ts": __vite_glob_0_20,
|
|
92747
92934
|
"../fields/2026-05-20/com.shwfed.form.field.collapsible/schema.ts": __vite_glob_0_21,
|
|
92748
|
-
"../fields/2026-05-23/com.shwfed.form.field.tree.multi/schema.ts": __vite_glob_0_22
|
|
92935
|
+
"../fields/2026-05-23/com.shwfed.form.field.tree.multi/schema.ts": __vite_glob_0_22,
|
|
92936
|
+
"../fields/2026-05-24/com.shwfed.form.field.month/schema.ts": __vite_glob_0_23,
|
|
92937
|
+
"../fields/2026-05-24/com.shwfed.form.field.monthrange/schema.ts": __vite_glob_0_24
|
|
92749
92938
|
});
|
|
92750
92939
|
const configModules$1 = /* @__PURE__ */ Object.assign({
|
|
92751
92940
|
"../fields/2026-04-22/com.shwfed.form.field.markdown/config.vue": __vite_glob_2_5,
|
|
@@ -92770,7 +92959,9 @@ const configModules$1 = /* @__PURE__ */ Object.assign({
|
|
|
92770
92959
|
"../fields/2026-05-17/com.shwfed.form.field.radio.group/config.vue": __vite_glob_2_5,
|
|
92771
92960
|
"../fields/2026-05-18/com.shwfed.form.field.table/config.vue": __vite_glob_2_5,
|
|
92772
92961
|
"../fields/2026-05-20/com.shwfed.form.field.collapsible/config.vue": __vite_glob_2_5,
|
|
92773
|
-
"../fields/2026-05-23/com.shwfed.form.field.tree.multi/config.vue": __vite_glob_2_5
|
|
92962
|
+
"../fields/2026-05-23/com.shwfed.form.field.tree.multi/config.vue": __vite_glob_2_5,
|
|
92963
|
+
"../fields/2026-05-24/com.shwfed.form.field.month/config.vue": __vite_glob_2_5,
|
|
92964
|
+
"../fields/2026-05-24/com.shwfed.form.field.monthrange/config.vue": __vite_glob_2_5
|
|
92774
92965
|
});
|
|
92775
92966
|
const runtimeModules$1 = /* @__PURE__ */ Object.assign({
|
|
92776
92967
|
"../fields/2026-04-22/com.shwfed.form.field.markdown/runtime.vue": __vite_glob_2_5,
|
|
@@ -92795,7 +92986,9 @@ const runtimeModules$1 = /* @__PURE__ */ Object.assign({
|
|
|
92795
92986
|
"../fields/2026-05-17/com.shwfed.form.field.radio.group/runtime.vue": __vite_glob_2_5,
|
|
92796
92987
|
"../fields/2026-05-18/com.shwfed.form.field.table/runtime.vue": __vite_glob_2_5,
|
|
92797
92988
|
"../fields/2026-05-20/com.shwfed.form.field.collapsible/runtime.vue": __vite_glob_2_5,
|
|
92798
|
-
"../fields/2026-05-23/com.shwfed.form.field.tree.multi/runtime.vue": __vite_glob_2_5
|
|
92989
|
+
"../fields/2026-05-23/com.shwfed.form.field.tree.multi/runtime.vue": __vite_glob_2_5,
|
|
92990
|
+
"../fields/2026-05-24/com.shwfed.form.field.month/runtime.vue": __vite_glob_2_5,
|
|
92991
|
+
"../fields/2026-05-24/com.shwfed.form.field.monthrange/runtime.vue": __vite_glob_2_5
|
|
92799
92992
|
});
|
|
92800
92993
|
const sourceKey = (type2, compatibilityDate2) => `${type2}@${compatibilityDate2}`;
|
|
92801
92994
|
const registry$1 = defineRegistry({
|