form-imagining 0.0.80 → 0.0.81-2
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/{App-a2dfda40.js → App-26903e06.js} +5 -5
- package/dist/Code-fa80ed62.js +5 -0
- package/dist/Col-b530ffff.js +5 -0
- package/dist/Collapse-21a82f39.js +5 -0
- package/dist/{Demo-7bcea571.js → Demo-1c035d57.js} +1 -1
- package/dist/FX-799ffd23.js +5 -0
- package/dist/{FormGridCopy-f5e467d7.js → FormGridCopy-941f3b0f.js} +9 -9
- package/dist/GenerateForm-3dd5ba88.js +5 -0
- package/dist/{GenerateReport-9bc2c74c.js → GenerateReport-c3e386bc.js} +1 -1
- package/dist/{HelloWorld-2b4a82f3.js → HelloWorld-97c6e624.js} +1 -1
- package/dist/Input-/345/210/240/351/231/{244-e4443f2d.js → 244-a3076b08.js} +1 -1
- package/dist/Label-/345/210/240/351/231/{244-0f41c937.js → 244-32d4149f.js} +1 -1
- package/dist/{Login-71267382.js → Login-08151a1f.js} +1 -1
- package/dist/ReportModule-347a3e40.js +5 -0
- package/dist/SqlModule-5bf04b12.js +5 -0
- package/dist/Table-7c954b3a.js +5 -0
- package/dist/TableBtnModal-4a0e8be9.js +5 -0
- package/dist/cTable-c7958291.js +5 -0
- package/dist/childForm-4472e3bc.js +5 -0
- package/dist/{cssMode-85ffd5f0.js → cssMode-425e50b8.js} +1 -1
- package/dist/form-imagining.js +1 -1
- package/dist/form-imagining.umd.cjs +133 -95
- package/dist/{formTest-912e0085.js → formTest-5daf7d45.js} +1 -1
- package/dist/{freemarker2-caec6ed6.js → freemarker2-e6a04f32.js} +1 -1
- package/dist/{handlebars-de119bd6.js → handlebars-575945ec.js} +1 -1
- package/dist/{html-36abfe2f.js → html-f3a805d8.js} +1 -1
- package/dist/{htmlMode-c32264aa.js → htmlMode-bb801b8b.js} +1 -1
- package/dist/{index-33a04a3e.js → index-35f97bfe.js} +434 -348
- package/dist/{index-8f82e473.js → index-6ddc8556.js} +1 -1
- package/dist/{javascript-a17cd878.js → javascript-788e6bff.js} +2 -2
- package/dist/{jsonMode-6cb733ce.js → jsonMode-12f6723f.js} +1 -1
- package/dist/{liquid-a4ebe689.js → liquid-d56c4af6.js} +1 -1
- package/dist/{mdx-023913db.js → mdx-96b61891.js} +1 -1
- package/dist/{python-4edc865d.js → python-30a48b8a.js} +1 -1
- package/dist/{razor-56f593e3.js → razor-e7368a30.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{tableSelectDemo-595a984c.js → tableSelectDemo-6c07d419.js} +1 -1
- package/dist/{tableSelectDemo2-2e622d61.js → tableSelectDemo2-10eaacb1.js} +1 -1
- package/dist/{tsMode-5c4e870c.js → tsMode-a3191710.js} +1 -1
- package/dist/{typescript-70a021fb.js → typescript-bad82d7a.js} +1 -1
- package/dist/{xml-eb01328e.js → xml-8d9a5c83.js} +1 -1
- package/dist/{yaml-471b818e.js → yaml-7108d220.js} +1 -1
- package/package.json +1 -1
- package/dist/Code-b27cd7b4.js +0 -5
- package/dist/Col-2c5fa2fe.js +0 -5
- package/dist/Collapse-6c265d13.js +0 -5
- package/dist/FX-98698da2.js +0 -5
- package/dist/GenerateForm-aa44e09b.js +0 -5
- package/dist/ReportModule-93e5ae6f.js +0 -5
- package/dist/SqlModule-19b446d0.js +0 -5
- package/dist/Table-c75c1bb2.js +0 -5
- package/dist/TableBtnModal-343f3323.js +0 -5
- package/dist/cTable-7373b605.js +0 -5
- package/dist/childForm-9c5ea9b4.js +0 -5
|
@@ -21286,7 +21286,10 @@ const _hoisted_1$t = {
|
|
|
21286
21286
|
}, _hoisted_2$m = { class: "move" }, _hoisted_3$i = {
|
|
21287
21287
|
key: 0,
|
|
21288
21288
|
class: "widget-view-drag"
|
|
21289
|
-
}, _hoisted_4$e =
|
|
21289
|
+
}, _hoisted_4$e = {
|
|
21290
|
+
key: 0,
|
|
21291
|
+
style: { "margin-right": "5px" }
|
|
21292
|
+
}, _hoisted_5$d = ["src"], _hoisted_6$d = { class: "item-model" }, _hoisted_7$a = {
|
|
21290
21293
|
key: 17,
|
|
21291
21294
|
class: "item-action"
|
|
21292
21295
|
}, _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
@@ -21340,7 +21343,7 @@ const _hoisted_1$t = {
|
|
|
21340
21343
|
return "";
|
|
21341
21344
|
}
|
|
21342
21345
|
return (U, X) => {
|
|
21343
|
-
const ee = resolveComponent("a-form-item"), te = resolveComponent("a-
|
|
21346
|
+
const ee = resolveComponent("a-form-item"), te = resolveComponent("a-tooltip"), ie = resolveComponent("a-input"), ne = resolveComponent("a-textarea"), oe = resolveComponent("a-date-picker"), re = resolveComponent("a-range-picker"), se = resolveComponent("a-switch"), ae = resolveComponent("svg-icon"), le = resolveComponent("a-button"), ce = resolveComponent("a-select"), de = resolveComponent("a-radio-group"), ue = resolveComponent("a-checkbox-group"), he = resolveComponent("a-tree-select"), Ce = resolveComponent("a-cascader"), ge = resolveComponent("a-input-number");
|
|
21344
21347
|
return openBlock(), createElementBlock("div", _hoisted_1$t, [
|
|
21345
21348
|
createElementVNode("div", _hoisted_2$m, [
|
|
21346
21349
|
W.activeIndex == W.index ? (openBlock(), createElementBlock("div", _hoisted_3$i, [
|
|
@@ -21372,17 +21375,30 @@ const _hoisted_1$t = {
|
|
|
21372
21375
|
rules: [{ required: W.data.required, message: "请输入" + W.data.name }]
|
|
21373
21376
|
}, {
|
|
21374
21377
|
default: withCtx(() => [
|
|
21375
|
-
createVNode(
|
|
21378
|
+
createVNode(ie, {
|
|
21376
21379
|
value: W.data.defaultValue,
|
|
21377
|
-
"onUpdate:value": X[0] || (X[0] = (
|
|
21380
|
+
"onUpdate:value": X[0] || (X[0] = (fe) => W.data.defaultValue = fe),
|
|
21378
21381
|
defaultValue: W.data.defaultValue,
|
|
21379
21382
|
placeholder: W.data.placeholder,
|
|
21380
21383
|
style: normalizeStyle$1({ width: W.data.width }),
|
|
21381
21384
|
prefix: W.data.prefix,
|
|
21382
|
-
suffix: W.data.suffix,
|
|
21383
21385
|
disabled: "",
|
|
21384
21386
|
bordered: !W.data.bordered
|
|
21385
|
-
},
|
|
21387
|
+
}, {
|
|
21388
|
+
suffix: withCtx(() => [
|
|
21389
|
+
W.data.suffix ? (openBlock(), createElementBlock("span", _hoisted_4$e, toDisplayString(W.data.suffix), 1)) : createCommentVNode("", !0),
|
|
21390
|
+
W.data.tooltip ? (openBlock(), createBlock(te, {
|
|
21391
|
+
key: 1,
|
|
21392
|
+
title: W.data.tooltip
|
|
21393
|
+
}, {
|
|
21394
|
+
default: withCtx(() => [
|
|
21395
|
+
createVNode(unref(InfoCircleOutlined$1), { style: { color: "rgba(0, 0, 0, 0.45)" } })
|
|
21396
|
+
]),
|
|
21397
|
+
_: 1
|
|
21398
|
+
}, 8, ["title"])) : createCommentVNode("", !0)
|
|
21399
|
+
]),
|
|
21400
|
+
_: 1
|
|
21401
|
+
}, 8, ["value", "defaultValue", "placeholder", "style", "prefix", "bordered"])
|
|
21386
21402
|
]),
|
|
21387
21403
|
_: 1
|
|
21388
21404
|
}, 8, ["label", "rules"])) : W.data.type == "fx" ? (openBlock(), createBlock(ee, {
|
|
@@ -21390,9 +21406,9 @@ const _hoisted_1$t = {
|
|
|
21390
21406
|
label: W.data.name
|
|
21391
21407
|
}, {
|
|
21392
21408
|
default: withCtx(() => [
|
|
21393
|
-
createVNode(
|
|
21409
|
+
createVNode(ie, {
|
|
21394
21410
|
value: W.data.defaultValue,
|
|
21395
|
-
"onUpdate:value": X[1] || (X[1] = (
|
|
21411
|
+
"onUpdate:value": X[1] || (X[1] = (fe) => W.data.defaultValue = fe),
|
|
21396
21412
|
bordered: W.data.bordered,
|
|
21397
21413
|
defaultValue: W.data.defaultValue,
|
|
21398
21414
|
placeholder: W.data.placeholder,
|
|
@@ -21408,9 +21424,9 @@ const _hoisted_1$t = {
|
|
|
21408
21424
|
rules: [{ required: W.data.required }]
|
|
21409
21425
|
}, {
|
|
21410
21426
|
default: withCtx(() => [
|
|
21411
|
-
createVNode(
|
|
21427
|
+
createVNode(ne, {
|
|
21412
21428
|
value: W.data.defaultValue,
|
|
21413
|
-
"onUpdate:value": X[2] || (X[2] = (
|
|
21429
|
+
"onUpdate:value": X[2] || (X[2] = (fe) => W.data.defaultValue = fe),
|
|
21414
21430
|
placeholder: W.data.placeholder,
|
|
21415
21431
|
rows: parseInt(W.data.rows),
|
|
21416
21432
|
disabled: "",
|
|
@@ -21425,9 +21441,9 @@ const _hoisted_1$t = {
|
|
|
21425
21441
|
label: W.data.name
|
|
21426
21442
|
}, {
|
|
21427
21443
|
default: withCtx(() => [
|
|
21428
|
-
createVNode(
|
|
21444
|
+
createVNode(oe, {
|
|
21429
21445
|
value: W.data.defaultValue,
|
|
21430
|
-
"onUpdate:value": X[3] || (X[3] = (
|
|
21446
|
+
"onUpdate:value": X[3] || (X[3] = (fe) => W.data.defaultValue = fe),
|
|
21431
21447
|
placeholder: W.data.placeholder,
|
|
21432
21448
|
disabled: "",
|
|
21433
21449
|
style: normalizeStyle$1({ width: W.data.width }),
|
|
@@ -21441,9 +21457,9 @@ const _hoisted_1$t = {
|
|
|
21441
21457
|
label: W.data.name
|
|
21442
21458
|
}, {
|
|
21443
21459
|
default: withCtx(() => [
|
|
21444
|
-
createVNode(
|
|
21460
|
+
createVNode(re, {
|
|
21445
21461
|
value: W.data.defaultValue,
|
|
21446
|
-
"onUpdate:value": X[4] || (X[4] = (
|
|
21462
|
+
"onUpdate:value": X[4] || (X[4] = (fe) => W.data.defaultValue = fe),
|
|
21447
21463
|
disabled: "",
|
|
21448
21464
|
style: normalizeStyle$1({ width: W.data.width }),
|
|
21449
21465
|
picker: W.data.dateType,
|
|
@@ -21456,13 +21472,13 @@ const _hoisted_1$t = {
|
|
|
21456
21472
|
label: W.data.name
|
|
21457
21473
|
}, {
|
|
21458
21474
|
default: withCtx(() => [
|
|
21459
|
-
createVNode(
|
|
21475
|
+
createVNode(se, {
|
|
21460
21476
|
checked: W.data.defaultValue,
|
|
21461
|
-
"onUpdate:checked": X[5] || (X[5] = (
|
|
21477
|
+
"onUpdate:checked": X[5] || (X[5] = (fe) => W.data.defaultValue = fe)
|
|
21462
21478
|
}, null, 8, ["checked"])
|
|
21463
21479
|
]),
|
|
21464
21480
|
_: 1
|
|
21465
|
-
}, 8, ["label"])) : W.data.type == "button" ? (openBlock(), createBlock(
|
|
21481
|
+
}, 8, ["label"])) : W.data.type == "button" ? (openBlock(), createBlock(le, {
|
|
21466
21482
|
key: 8,
|
|
21467
21483
|
type: W.data.buttonType,
|
|
21468
21484
|
class: "btn-icon-content"
|
|
@@ -21478,7 +21494,7 @@ const _hoisted_1$t = {
|
|
|
21478
21494
|
W.data.beforeIcon ? {
|
|
21479
21495
|
name: "icon",
|
|
21480
21496
|
fn: withCtx(() => [
|
|
21481
|
-
createVNode(
|
|
21497
|
+
createVNode(ae, {
|
|
21482
21498
|
name: W.data.beforeIcon,
|
|
21483
21499
|
width: "16",
|
|
21484
21500
|
height: "16"
|
|
@@ -21492,11 +21508,24 @@ const _hoisted_1$t = {
|
|
|
21492
21508
|
rules: [{ required: W.data.required, message: "请输入" + W.data.name }]
|
|
21493
21509
|
}, {
|
|
21494
21510
|
default: withCtx(() => [
|
|
21495
|
-
createVNode(
|
|
21511
|
+
createVNode(ce, {
|
|
21496
21512
|
style: normalizeStyle$1([W.data.cssextended, { width: W.data.width }]),
|
|
21497
21513
|
placeholder: W.data.placeholder,
|
|
21498
21514
|
disabled: ""
|
|
21499
|
-
},
|
|
21515
|
+
}, {
|
|
21516
|
+
suffixIcon: withCtx(() => [
|
|
21517
|
+
W.data.tooltip ? (openBlock(), createBlock(te, {
|
|
21518
|
+
key: 0,
|
|
21519
|
+
title: W.data.tooltip
|
|
21520
|
+
}, {
|
|
21521
|
+
default: withCtx(() => [
|
|
21522
|
+
createVNode(unref(InfoCircleOutlined$1), { style: { "font-size": "13px", color: "rgba(0, 0, 0, 0.45)" } })
|
|
21523
|
+
]),
|
|
21524
|
+
_: 1
|
|
21525
|
+
}, 8, ["title"])) : createCommentVNode("", !0)
|
|
21526
|
+
]),
|
|
21527
|
+
_: 1
|
|
21528
|
+
}, 8, ["style", "placeholder"])
|
|
21500
21529
|
]),
|
|
21501
21530
|
_: 1
|
|
21502
21531
|
}, 8, ["label", "rules"])) : W.data.type == "radio" ? (openBlock(), createBlock(ee, {
|
|
@@ -21504,9 +21533,9 @@ const _hoisted_1$t = {
|
|
|
21504
21533
|
label: W.data.name
|
|
21505
21534
|
}, {
|
|
21506
21535
|
default: withCtx(() => [
|
|
21507
|
-
createVNode(
|
|
21536
|
+
createVNode(de, {
|
|
21508
21537
|
value: W.data.defaultValue,
|
|
21509
|
-
"onUpdate:value": X[6] || (X[6] = (
|
|
21538
|
+
"onUpdate:value": X[6] || (X[6] = (fe) => W.data.defaultValue = fe),
|
|
21510
21539
|
options: W.data.optionsType == "static" || !W.data.dic ? W.data.options : unref(getDictItemsByCode)(W.data.dic)
|
|
21511
21540
|
}, null, 8, ["value", "options"])
|
|
21512
21541
|
]),
|
|
@@ -21516,9 +21545,9 @@ const _hoisted_1$t = {
|
|
|
21516
21545
|
label: W.data.name
|
|
21517
21546
|
}, {
|
|
21518
21547
|
default: withCtx(() => [
|
|
21519
|
-
createVNode(
|
|
21548
|
+
createVNode(ue, {
|
|
21520
21549
|
value: W.data.defaultValue,
|
|
21521
|
-
"onUpdate:value": X[7] || (X[7] = (
|
|
21550
|
+
"onUpdate:value": X[7] || (X[7] = (fe) => W.data.defaultValue = fe),
|
|
21522
21551
|
options: W.data.optionsType == "static" || !W.data.dic ? W.data.options : unref(getDictItemsByCode)(W.data.dic)
|
|
21523
21552
|
}, null, 8, ["value", "options"])
|
|
21524
21553
|
]),
|
|
@@ -21529,9 +21558,9 @@ const _hoisted_1$t = {
|
|
|
21529
21558
|
rules: [{ required: W.data.required, message: "请输入" + W.data.name }]
|
|
21530
21559
|
}, {
|
|
21531
21560
|
default: withCtx(() => [
|
|
21532
|
-
createVNode(
|
|
21561
|
+
createVNode(he, {
|
|
21533
21562
|
value: W.data.defaultValue,
|
|
21534
|
-
"onUpdate:value": X[8] || (X[8] = (
|
|
21563
|
+
"onUpdate:value": X[8] || (X[8] = (fe) => W.data.defaultValue = fe),
|
|
21535
21564
|
placeholder: W.data.placeholder,
|
|
21536
21565
|
disabled: "",
|
|
21537
21566
|
style: normalizeStyle$1({ width: W.data.width })
|
|
@@ -21544,9 +21573,9 @@ const _hoisted_1$t = {
|
|
|
21544
21573
|
rules: [{ required: W.data.required, message: "请选择" + W.data.name }]
|
|
21545
21574
|
}, {
|
|
21546
21575
|
default: withCtx(() => [
|
|
21547
|
-
createVNode(
|
|
21576
|
+
createVNode(Ce, {
|
|
21548
21577
|
value: W.data.defaultValue,
|
|
21549
|
-
"onUpdate:value": X[9] || (X[9] = (
|
|
21578
|
+
"onUpdate:value": X[9] || (X[9] = (fe) => W.data.defaultValue = fe),
|
|
21550
21579
|
placeholder: W.data.placeholder,
|
|
21551
21580
|
disabled: "",
|
|
21552
21581
|
style: normalizeStyle$1({ width: W.data.width })
|
|
@@ -21570,7 +21599,7 @@ const _hoisted_1$t = {
|
|
|
21570
21599
|
createElementVNode("img", {
|
|
21571
21600
|
src: W.data.model ? W.data.model : W.data.static,
|
|
21572
21601
|
style: normalizeStyle$1({ width: W.data.width, height: W.data.height })
|
|
21573
|
-
}, null, 12,
|
|
21602
|
+
}, null, 12, _hoisted_5$d)
|
|
21574
21603
|
]),
|
|
21575
21604
|
_: 1
|
|
21576
21605
|
}, 8, ["label"])) : W.data.type == "inputnumber" ? (openBlock(), createBlock(ee, {
|
|
@@ -21579,9 +21608,9 @@ const _hoisted_1$t = {
|
|
|
21579
21608
|
rules: [{ required: W.data.required }]
|
|
21580
21609
|
}, {
|
|
21581
21610
|
default: withCtx(() => [
|
|
21582
|
-
createVNode(
|
|
21611
|
+
createVNode(ge, {
|
|
21583
21612
|
value: W.data.defaultValue,
|
|
21584
|
-
"onUpdate:value": X[10] || (X[10] = (
|
|
21613
|
+
"onUpdate:value": X[10] || (X[10] = (fe) => W.data.defaultValue = fe),
|
|
21585
21614
|
placeholder: W.data.placeholder,
|
|
21586
21615
|
disabled: "",
|
|
21587
21616
|
style: normalizeStyle$1({ width: W.data.width }),
|
|
@@ -21591,20 +21620,20 @@ const _hoisted_1$t = {
|
|
|
21591
21620
|
]),
|
|
21592
21621
|
_: 1
|
|
21593
21622
|
}, 8, ["label", "rules"])) : createCommentVNode("", !0),
|
|
21594
|
-
createElementVNode("div",
|
|
21595
|
-
W.activeIndex === W.index ? (openBlock(), createElementBlock("div",
|
|
21623
|
+
createElementVNode("div", _hoisted_6$d, toDisplayString(W.data.model), 1),
|
|
21624
|
+
W.activeIndex === W.index ? (openBlock(), createElementBlock("div", _hoisted_7$a, [
|
|
21596
21625
|
createVNode(unref(CopyOutlined$1), {
|
|
21597
21626
|
style: { padding: "3px 5px" },
|
|
21598
|
-
onClick: X[11] || (X[11] = (
|
|
21627
|
+
onClick: X[11] || (X[11] = (fe) => Z(W.data))
|
|
21599
21628
|
}),
|
|
21600
21629
|
createVNode(unref(DeleteOutlined$1), {
|
|
21601
|
-
onClick: X[12] || (X[12] = (
|
|
21630
|
+
onClick: X[12] || (X[12] = (fe) => Q(W.data))
|
|
21602
21631
|
})
|
|
21603
21632
|
])) : createCommentVNode("", !0)
|
|
21604
21633
|
]);
|
|
21605
21634
|
};
|
|
21606
21635
|
}
|
|
21607
|
-
}),
|
|
21636
|
+
}), FormInput_vue_vue_type_style_index_0_scoped_9d09f071_lang = "", FormInput = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-9d09f071"]]), FormInput$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
21608
21637
|
__proto__: null,
|
|
21609
21638
|
default: FormInput
|
|
21610
21639
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -29925,21 +29954,21 @@ const BaseSelect = defineComponent({
|
|
|
29925
29954
|
onKeydown: Dt,
|
|
29926
29955
|
onMousedown: xt,
|
|
29927
29956
|
onClear: Et,
|
|
29928
|
-
omitDomProps:
|
|
29957
|
+
omitDomProps: At,
|
|
29929
29958
|
getRawInputElement: jt,
|
|
29930
|
-
displayValues:
|
|
29931
|
-
onDisplayValuesChange:
|
|
29932
|
-
emptyOptions:
|
|
29959
|
+
displayValues: Ot,
|
|
29960
|
+
onDisplayValuesChange: Wt,
|
|
29961
|
+
emptyOptions: Lt,
|
|
29933
29962
|
activeDescendantId: ut,
|
|
29934
|
-
activeValue:
|
|
29935
|
-
OptionList:
|
|
29963
|
+
activeValue: kt,
|
|
29964
|
+
OptionList: bt
|
|
29936
29965
|
} = Te, Qt = __rest$M(Te, ["prefixCls", "id", "open", "defaultOpen", "mode", "showSearch", "searchValue", "onSearch", "allowClear", "clearIcon", "showArrow", "inputIcon", "disabled", "loading", "getInputElement", "getPopupContainer", "placement", "animation", "transitionName", "dropdownStyle", "dropdownClassName", "dropdownMatchSelectWidth", "dropdownRender", "dropdownAlign", "showAction", "direction", "tokenSeparators", "tagRender", "optionLabelRender", "onPopupScroll", "onDropdownVisibleChange", "onFocus", "onBlur", "onKeyup", "onKeydown", "onMousedown", "onClear", "omitDomProps", "getRawInputElement", "displayValues", "onDisplayValuesChange", "emptyOptions", "activeDescendantId", "activeValue", "OptionList"]), Rt = it === "combobox" && Re && Re() || null, $t = typeof jt == "function" && jt(), Zt = _extends$1({}, Qt);
|
|
29937
29966
|
let Vt;
|
|
29938
29967
|
$t && (Vt = (Nt) => {
|
|
29939
29968
|
ke(Nt);
|
|
29940
29969
|
}), DEFAULT_OMIT_PROPS.forEach((Nt) => {
|
|
29941
29970
|
delete Zt[Nt];
|
|
29942
|
-
}),
|
|
29971
|
+
}), At == null || At.forEach((Nt) => {
|
|
29943
29972
|
delete Zt[Nt];
|
|
29944
29973
|
});
|
|
29945
29974
|
const Ht = Be !== void 0 ? Be : Oe || !K.value && it !== "combobox";
|
|
@@ -29959,19 +29988,19 @@ const BaseSelect = defineComponent({
|
|
|
29959
29988
|
}, null));
|
|
29960
29989
|
let et;
|
|
29961
29990
|
const gt = () => {
|
|
29962
|
-
Et == null || Et(),
|
|
29991
|
+
Et == null || Et(), Wt([], {
|
|
29963
29992
|
type: "clear",
|
|
29964
|
-
values:
|
|
29993
|
+
values: Ot
|
|
29965
29994
|
}), be("", !1, !1);
|
|
29966
29995
|
};
|
|
29967
|
-
!Me && lt && (
|
|
29996
|
+
!Me && lt && (Ot.length || ue.value) && (et = createVNode(TransBtn$1, {
|
|
29968
29997
|
class: `${je}-clear`,
|
|
29969
29998
|
onMousedown: gt,
|
|
29970
29999
|
customizeIcon: ze
|
|
29971
30000
|
}, {
|
|
29972
30001
|
default: () => [createTextVNode("×")]
|
|
29973
30002
|
}));
|
|
29974
|
-
const mt = createVNode(
|
|
30003
|
+
const mt = createVNode(bt, {
|
|
29975
30004
|
ref: oe
|
|
29976
30005
|
}, _extends$1(_extends$1({}, X.customSlots), {
|
|
29977
30006
|
option: H.option
|
|
@@ -29986,7 +30015,7 @@ const BaseSelect = defineComponent({
|
|
|
29986
30015
|
[`${je}-open`]: ge.value,
|
|
29987
30016
|
[`${je}-customize-input`]: Rt,
|
|
29988
30017
|
[`${je}-show-search`]: G.value
|
|
29989
|
-
}),
|
|
30018
|
+
}), Mt = createVNode(SelectTrigger$1, {
|
|
29990
30019
|
ref: ie,
|
|
29991
30020
|
disabled: Me,
|
|
29992
30021
|
prefixCls: je,
|
|
@@ -30003,7 +30032,7 @@ const BaseSelect = defineComponent({
|
|
|
30003
30032
|
dropdownAlign: dt,
|
|
30004
30033
|
placement: Ye,
|
|
30005
30034
|
getPopupContainer: Ae,
|
|
30006
|
-
empty:
|
|
30035
|
+
empty: Lt,
|
|
30007
30036
|
getTriggerDOMNode: () => te.current,
|
|
30008
30037
|
onPopupVisibleChange: Vt,
|
|
30009
30038
|
onPopupMouseEnter: Ve,
|
|
@@ -30023,10 +30052,10 @@ const BaseSelect = defineComponent({
|
|
|
30023
30052
|
activeDescendantId: ut,
|
|
30024
30053
|
tagRender: It,
|
|
30025
30054
|
optionLabelRender: ft,
|
|
30026
|
-
values:
|
|
30055
|
+
values: Ot,
|
|
30027
30056
|
open: ge.value,
|
|
30028
30057
|
onToggleOpen: ke,
|
|
30029
|
-
activeValue:
|
|
30058
|
+
activeValue: kt,
|
|
30030
30059
|
searchValue: ue.value,
|
|
30031
30060
|
onSearch: be,
|
|
30032
30061
|
onSearchSubmit: Ne,
|
|
@@ -30035,7 +30064,7 @@ const BaseSelect = defineComponent({
|
|
|
30035
30064
|
}), null)
|
|
30036
30065
|
});
|
|
30037
30066
|
let Pt;
|
|
30038
|
-
return $t ? Pt =
|
|
30067
|
+
return $t ? Pt = Mt : Pt = createVNode("div", _objectSpread2$1(_objectSpread2$1({}, Zt), {}, {
|
|
30039
30068
|
class: St,
|
|
30040
30069
|
ref: ee,
|
|
30041
30070
|
onMousedown: We,
|
|
@@ -30050,13 +30079,13 @@ const BaseSelect = defineComponent({
|
|
|
30050
30079
|
opacity: 0
|
|
30051
30080
|
},
|
|
30052
30081
|
"aria-live": "polite"
|
|
30053
|
-
}, [`${
|
|
30082
|
+
}, [`${Ot.map((Nt) => {
|
|
30054
30083
|
let {
|
|
30055
30084
|
label: Yt,
|
|
30056
30085
|
value: Bt
|
|
30057
30086
|
} = Nt;
|
|
30058
30087
|
return ["number", "string"].includes(typeof Yt) ? Yt : Bt;
|
|
30059
|
-
}).join(", ")}`]),
|
|
30088
|
+
}).join(", ")}`]), Mt, vt, et]), Pt;
|
|
30060
30089
|
};
|
|
30061
30090
|
}
|
|
30062
30091
|
}), Filter = (W, C) => {
|
|
@@ -42426,12 +42455,12 @@ function RangerPicker() {
|
|
|
42426
42455
|
generateConfig: toRef(W, "generateConfig")
|
|
42427
42456
|
}), [ke, ve] = useMergedState(Ce.value, {
|
|
42428
42457
|
postState: (ut) => {
|
|
42429
|
-
let
|
|
42458
|
+
let kt = ut;
|
|
42430
42459
|
if (he.value[0] && he.value[1])
|
|
42431
|
-
return
|
|
42432
|
-
for (let
|
|
42433
|
-
he.value[
|
|
42434
|
-
return
|
|
42460
|
+
return kt;
|
|
42461
|
+
for (let bt = 0; bt < 2; bt += 1)
|
|
42462
|
+
he.value[bt] && !getValue$2(kt, bt) && !getValue$2(W.allowEmpty, bt) && (kt = updateValues(kt, W.generateConfig.getNow(), bt));
|
|
42463
|
+
return kt;
|
|
42435
42464
|
}
|
|
42436
42465
|
}), [be, Ne] = useMergedState([W.picker, W.picker], {
|
|
42437
42466
|
value: toRef(W, "mode")
|
|
@@ -42439,9 +42468,9 @@ function RangerPicker() {
|
|
|
42439
42468
|
watch(() => W.picker, () => {
|
|
42440
42469
|
Ne([W.picker, W.picker]);
|
|
42441
42470
|
});
|
|
42442
|
-
const Ie = (ut,
|
|
42443
|
-
var
|
|
42444
|
-
Ne(ut), (
|
|
42471
|
+
const Ie = (ut, kt) => {
|
|
42472
|
+
var bt;
|
|
42473
|
+
Ne(ut), (bt = W.onPanelChange) === null || bt === void 0 || bt.call(W, kt, ut);
|
|
42445
42474
|
}, [xe, De] = useRangeDisabled({
|
|
42446
42475
|
picker: toRef(W, "picker"),
|
|
42447
42476
|
selectedValue: ke,
|
|
@@ -42454,8 +42483,8 @@ function RangerPicker() {
|
|
|
42454
42483
|
defaultValue: W.defaultOpen,
|
|
42455
42484
|
postState: (ut) => he.value[ce.value] ? !1 : ut,
|
|
42456
42485
|
onChange: (ut) => {
|
|
42457
|
-
var
|
|
42458
|
-
(
|
|
42486
|
+
var kt;
|
|
42487
|
+
(kt = W.onOpenChange) === null || kt === void 0 || kt.call(W, ut), !ut && ue.value && ue.value.onClose && ue.value.onClose();
|
|
42459
42488
|
}
|
|
42460
42489
|
}), we = computed(() => ye.value && ce.value === 0), Je = computed(() => ye.value && ce.value === 1), Qe = ref(0), Ee = ref(0), Le = ref(0), {
|
|
42461
42490
|
width: Fe
|
|
@@ -42478,25 +42507,25 @@ function RangerPicker() {
|
|
|
42478
42507
|
immediate: !0
|
|
42479
42508
|
});
|
|
42480
42509
|
const Te = ref();
|
|
42481
|
-
function je(ut,
|
|
42510
|
+
function je(ut, kt) {
|
|
42482
42511
|
if (ut)
|
|
42483
|
-
clearTimeout(Te.value), X.value[
|
|
42484
|
-
else if (ce.value ===
|
|
42512
|
+
clearTimeout(Te.value), X.value[kt] = !0, de(kt), Se(ut), ye.value || pe(null, kt);
|
|
42513
|
+
else if (ce.value === kt) {
|
|
42485
42514
|
Se(ut);
|
|
42486
|
-
const
|
|
42515
|
+
const bt = X.value;
|
|
42487
42516
|
Te.value = setTimeout(() => {
|
|
42488
|
-
|
|
42517
|
+
bt === X.value && (X.value = {});
|
|
42489
42518
|
});
|
|
42490
42519
|
}
|
|
42491
42520
|
}
|
|
42492
42521
|
function He(ut) {
|
|
42493
42522
|
je(!0, ut), setTimeout(() => {
|
|
42494
|
-
const
|
|
42495
|
-
|
|
42523
|
+
const kt = [re, se][ut];
|
|
42524
|
+
kt.value && kt.value.focus();
|
|
42496
42525
|
}, 0);
|
|
42497
42526
|
}
|
|
42498
|
-
function Ke(ut,
|
|
42499
|
-
let
|
|
42527
|
+
function Ke(ut, kt) {
|
|
42528
|
+
let bt = ut, Qt = getValue$2(bt, 0), Rt = getValue$2(bt, 1);
|
|
42500
42529
|
const {
|
|
42501
42530
|
generateConfig: $t,
|
|
42502
42531
|
locale: Zt,
|
|
@@ -42510,37 +42539,37 @@ function RangerPicker() {
|
|
|
42510
42539
|
Qt && Rt && $t.isAfter(Qt, Rt) && (// WeekPicker only compare week
|
|
42511
42540
|
Vt === "week" && !isSameWeek($t, Zt.locale, Qt, Rt) || // QuotaPicker only compare week
|
|
42512
42541
|
Vt === "quarter" && !isSameQuarter($t, Qt, Rt) || // Other non-TimePicker compare date
|
|
42513
|
-
Vt !== "week" && Vt !== "quarter" && Vt !== "time" && !(mt ? isEqual$2($t, Qt, Rt) : isSameDate($t, Qt, Rt)) ? (
|
|
42514
|
-
[
|
|
42515
|
-
}) : (Vt !== "time" || Ht !== !1) && (
|
|
42516
|
-
const St =
|
|
42542
|
+
Vt !== "week" && Vt !== "quarter" && Vt !== "time" && !(mt ? isEqual$2($t, Qt, Rt) : isSameDate($t, Qt, Rt)) ? (kt === 0 ? (bt = [Qt, null], Rt = null) : (Qt = null, bt = [null, Rt]), X.value = {
|
|
42543
|
+
[kt]: !0
|
|
42544
|
+
}) : (Vt !== "time" || Ht !== !1) && (bt = reorderValues(bt, $t))), ve(bt);
|
|
42545
|
+
const St = bt && bt[0] ? formatValue(bt[0], {
|
|
42517
42546
|
generateConfig: $t,
|
|
42518
42547
|
locale: Zt,
|
|
42519
42548
|
format: le.value[0]
|
|
42520
|
-
}) : "",
|
|
42549
|
+
}) : "", Mt = bt && bt[1] ? formatValue(bt[1], {
|
|
42521
42550
|
generateConfig: $t,
|
|
42522
42551
|
locale: Zt,
|
|
42523
42552
|
format: le.value[0]
|
|
42524
42553
|
}) : "";
|
|
42525
|
-
vt && vt(
|
|
42526
|
-
range:
|
|
42554
|
+
vt && vt(bt, [St, Mt], {
|
|
42555
|
+
range: kt === 0 ? "start" : "end"
|
|
42527
42556
|
});
|
|
42528
42557
|
const Pt = canValueTrigger(Qt, 0, he.value, et), Nt = canValueTrigger(Rt, 1, he.value, et);
|
|
42529
|
-
(
|
|
42558
|
+
(bt === null || Pt && Nt) && (ge(bt), gt && (!isEqual$2($t, getValue$2(Ce.value, 0), Qt) || !isEqual$2($t, getValue$2(Ce.value, 1), Rt)) && gt(bt, [St, Mt]));
|
|
42530
42559
|
let Bt = null;
|
|
42531
|
-
|
|
42560
|
+
kt === 0 && !he.value[1] ? Bt = 1 : kt === 1 && !he.value[0] && (Bt = 0), Bt !== null && Bt !== ce.value && (!X.value[Bt] || !getValue$2(bt, Bt)) && getValue$2(bt, kt) ? He(Bt) : je(!1, kt);
|
|
42532
42561
|
}
|
|
42533
42562
|
const Ue = (ut) => ye && ue.value && ue.value.onKeydown ? ue.value.onKeydown(ut) : (warning$3(!1, "Picker not correct forward Keydown operation. Please help to fire issue about this."), !1), it = {
|
|
42534
42563
|
formatList: le,
|
|
42535
42564
|
generateConfig: toRef(W, "generateConfig"),
|
|
42536
42565
|
locale: toRef(W, "locale")
|
|
42537
|
-
}, [nt, at] = useValueTexts(computed(() => getValue$2(ke.value, 0)), it), [ot, lt] = useValueTexts(computed(() => getValue$2(ke.value, 1)), it), ze = (ut,
|
|
42538
|
-
const
|
|
42566
|
+
}, [nt, at] = useValueTexts(computed(() => getValue$2(ke.value, 0)), it), [ot, lt] = useValueTexts(computed(() => getValue$2(ke.value, 1)), it), ze = (ut, kt) => {
|
|
42567
|
+
const bt = parseValue(ut, {
|
|
42539
42568
|
locale: W.locale,
|
|
42540
42569
|
formatList: le.value,
|
|
42541
42570
|
generateConfig: W.generateConfig
|
|
42542
42571
|
});
|
|
42543
|
-
|
|
42572
|
+
bt && !(kt === 0 ? xe : De)(bt) && (ve(updateValues(ke.value, bt, kt)), pe(bt, kt));
|
|
42544
42573
|
}, [Be, Ze, Me] = useTextValueMapping({
|
|
42545
42574
|
valueTexts: nt,
|
|
42546
42575
|
onTextChange: (ut) => ze(ut, 0)
|
|
@@ -42551,19 +42580,19 @@ function RangerPicker() {
|
|
|
42551
42580
|
st(updateValues(ke.value, ut, ce.value)), ce.value === 0 ? Xe(ut) : ct(ut);
|
|
42552
42581
|
}, It = () => {
|
|
42553
42582
|
st(updateValues(ke.value, null, ce.value)), ce.value === 0 ? rt() : ht();
|
|
42554
|
-
}, ft = (ut,
|
|
42583
|
+
}, ft = (ut, kt) => ({
|
|
42555
42584
|
forwardKeydown: Ue,
|
|
42556
|
-
onBlur: (
|
|
42585
|
+
onBlur: (bt) => {
|
|
42557
42586
|
var Qt;
|
|
42558
|
-
(Qt = W.onBlur) === null || Qt === void 0 || Qt.call(W,
|
|
42587
|
+
(Qt = W.onBlur) === null || Qt === void 0 || Qt.call(W, bt);
|
|
42559
42588
|
},
|
|
42560
|
-
isClickOutside: (
|
|
42561
|
-
onFocus: (
|
|
42589
|
+
isClickOutside: (bt) => !elementsContains([te.value, ie.value, ne.value, ee.value], bt),
|
|
42590
|
+
onFocus: (bt) => {
|
|
42562
42591
|
var Qt;
|
|
42563
|
-
de(ut), (Qt = W.onFocus) === null || Qt === void 0 || Qt.call(W,
|
|
42592
|
+
de(ut), (Qt = W.onFocus) === null || Qt === void 0 || Qt.call(W, bt);
|
|
42564
42593
|
},
|
|
42565
|
-
triggerOpen: (
|
|
42566
|
-
je(
|
|
42594
|
+
triggerOpen: (bt) => {
|
|
42595
|
+
je(bt, ut);
|
|
42567
42596
|
},
|
|
42568
42597
|
onSubmit: () => {
|
|
42569
42598
|
if (
|
|
@@ -42572,10 +42601,10 @@ function RangerPicker() {
|
|
|
42572
42601
|
W.disabledDate && W.disabledDate(ke.value[ut])
|
|
42573
42602
|
)
|
|
42574
42603
|
return !1;
|
|
42575
|
-
Ke(ke.value, ut),
|
|
42604
|
+
Ke(ke.value, ut), kt();
|
|
42576
42605
|
},
|
|
42577
42606
|
onCancel: () => {
|
|
42578
|
-
je(!1, ut), ve(Ce.value),
|
|
42607
|
+
je(!1, ut), ve(Ce.value), kt();
|
|
42579
42608
|
}
|
|
42580
42609
|
}), [pt, {
|
|
42581
42610
|
focused: Jt,
|
|
@@ -42584,9 +42613,9 @@ function RangerPicker() {
|
|
|
42584
42613
|
blurToCancel: H,
|
|
42585
42614
|
open: we,
|
|
42586
42615
|
value: Be,
|
|
42587
|
-
onKeydown: (ut,
|
|
42588
|
-
var
|
|
42589
|
-
(
|
|
42616
|
+
onKeydown: (ut, kt) => {
|
|
42617
|
+
var bt;
|
|
42618
|
+
(bt = W.onKeydown) === null || bt === void 0 || bt.call(W, ut, kt);
|
|
42590
42619
|
}
|
|
42591
42620
|
})), [yt, {
|
|
42592
42621
|
focused: wt,
|
|
@@ -42595,17 +42624,17 @@ function RangerPicker() {
|
|
|
42595
42624
|
blurToCancel: H,
|
|
42596
42625
|
open: Je,
|
|
42597
42626
|
value: Oe,
|
|
42598
|
-
onKeydown: (ut,
|
|
42599
|
-
var
|
|
42600
|
-
(
|
|
42627
|
+
onKeydown: (ut, kt) => {
|
|
42628
|
+
var bt;
|
|
42629
|
+
(bt = W.onKeydown) === null || bt === void 0 || bt.call(W, ut, kt);
|
|
42601
42630
|
}
|
|
42602
42631
|
})), xt = (ut) => {
|
|
42603
|
-
var
|
|
42604
|
-
(
|
|
42632
|
+
var kt;
|
|
42633
|
+
(kt = W.onClick) === null || kt === void 0 || kt.call(W, ut), !ye.value && !re.value.contains(ut.target) && !se.value.contains(ut.target) && (he.value[0] ? he.value[1] || He(1) : He(0));
|
|
42605
42634
|
}, Et = (ut) => {
|
|
42606
|
-
var
|
|
42607
|
-
(
|
|
42608
|
-
},
|
|
42635
|
+
var kt;
|
|
42636
|
+
(kt = W.onMousedown) === null || kt === void 0 || kt.call(W, ut), ye.value && (Jt.value || wt.value) && !re.value.contains(ut.target) && !se.value.contains(ut.target) && ut.preventDefault();
|
|
42637
|
+
}, At = computed(() => {
|
|
42609
42638
|
var ut;
|
|
42610
42639
|
return !((ut = Ce.value) === null || ut === void 0) && ut[0] ? formatValue(Ce.value[0], {
|
|
42611
42640
|
locale: W.locale,
|
|
@@ -42622,14 +42651,14 @@ function RangerPicker() {
|
|
|
42622
42651
|
});
|
|
42623
42652
|
watch([ye, nt, ot], () => {
|
|
42624
42653
|
ye.value || (ve(Ce.value), !nt.value.length || nt.value[0] === "" ? Ze("") : at.value !== Be.value && Me(), !ot.value.length || ot.value[0] === "" ? Re("") : lt.value !== Oe.value && Ae());
|
|
42625
|
-
}), watch([
|
|
42654
|
+
}), watch([At, jt], () => {
|
|
42626
42655
|
ve(Ce.value);
|
|
42627
42656
|
}), process.env.NODE_ENV !== "production" && watchEffect(() => {
|
|
42628
42657
|
const {
|
|
42629
42658
|
value: ut,
|
|
42630
|
-
disabled:
|
|
42659
|
+
disabled: kt
|
|
42631
42660
|
} = W;
|
|
42632
|
-
ut && Array.isArray(
|
|
42661
|
+
ut && Array.isArray(kt) && (getValue$2(kt, 0) && !getValue$2(ut, 0) || getValue$2(kt, 1) && !getValue$2(ut, 1)) && warning$3(!1, "`disabled` should not set with empty `value`. You should set `allowEmpty` or `value` instead.");
|
|
42633
42662
|
}), Z({
|
|
42634
42663
|
focus: () => {
|
|
42635
42664
|
re.value && re.value.focus();
|
|
@@ -42638,11 +42667,11 @@ function RangerPicker() {
|
|
|
42638
42667
|
re.value && re.value.blur(), se.value && se.value.blur();
|
|
42639
42668
|
}
|
|
42640
42669
|
});
|
|
42641
|
-
const
|
|
42642
|
-
function
|
|
42643
|
-
let ut = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1,
|
|
42670
|
+
const Ot = computed(() => ye.value && tt.value && tt.value[0] && tt.value[1] && W.generateConfig.isAfter(tt.value[1], tt.value[0]) ? tt.value : null);
|
|
42671
|
+
function Wt() {
|
|
42672
|
+
let ut = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1, kt = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
42644
42673
|
const {
|
|
42645
|
-
generateConfig:
|
|
42674
|
+
generateConfig: bt,
|
|
42646
42675
|
showTime: Qt,
|
|
42647
42676
|
dateRender: Rt,
|
|
42648
42677
|
direction: $t,
|
|
@@ -42675,14 +42704,14 @@ function RangerPicker() {
|
|
|
42675
42704
|
inRange: !0,
|
|
42676
42705
|
panelPosition: ut,
|
|
42677
42706
|
rangedValue: Ye.value || ke.value,
|
|
42678
|
-
hoverRangedValue:
|
|
42707
|
+
hoverRangedValue: Ot.value
|
|
42679
42708
|
}
|
|
42680
42709
|
}, {
|
|
42681
|
-
default: () => [createVNode(PickerPanel$1, _objectSpread2$1(_objectSpread2$1(_objectSpread2$1({}, W),
|
|
42710
|
+
default: () => [createVNode(PickerPanel$1, _objectSpread2$1(_objectSpread2$1(_objectSpread2$1({}, W), kt), {}, {
|
|
42682
42711
|
dateRender: et,
|
|
42683
42712
|
showTime: vt,
|
|
42684
42713
|
mode: be.value[ce.value],
|
|
42685
|
-
generateConfig:
|
|
42714
|
+
generateConfig: bt,
|
|
42686
42715
|
style: void 0,
|
|
42687
42716
|
direction: $t,
|
|
42688
42717
|
disabledDate: ce.value === 0 ? xe : De,
|
|
@@ -42696,7 +42725,7 @@ function RangerPicker() {
|
|
|
42696
42725
|
onPanelChange: (gt, mt) => {
|
|
42697
42726
|
ce.value === 0 && rt(!0), ce.value === 1 && ht(!0), Ie(updateValues(be.value, mt, ce.value), updateValues(ke.value, gt, ce.value));
|
|
42698
42727
|
let St = gt;
|
|
42699
|
-
ut === "right" && be.value[ce.value] === mt && (St = getClosingViewDate(St, mt,
|
|
42728
|
+
ut === "right" && be.value[ce.value] === mt && (St = getClosingViewDate(St, mt, bt, -1)), pe(St, ce.value);
|
|
42700
42729
|
},
|
|
42701
42730
|
onOk: null,
|
|
42702
42731
|
onSelect: void 0,
|
|
@@ -42705,9 +42734,9 @@ function RangerPicker() {
|
|
|
42705
42734
|
}), null)]
|
|
42706
42735
|
});
|
|
42707
42736
|
}
|
|
42708
|
-
const
|
|
42709
|
-
const
|
|
42710
|
-
|
|
42737
|
+
const Lt = (ut, kt) => {
|
|
42738
|
+
const bt = updateValues(ke.value, ut, ce.value);
|
|
42739
|
+
kt === "submit" || kt !== "key" && !H.value ? (Ke(bt, ce.value), ce.value === 0 ? rt() : ht()) : ve(bt);
|
|
42711
42740
|
};
|
|
42712
42741
|
return useProvidePanel({
|
|
42713
42742
|
operationRef: ue,
|
|
@@ -42715,13 +42744,13 @@ function RangerPicker() {
|
|
|
42715
42744
|
onDateMouseenter: Ct,
|
|
42716
42745
|
onDateMouseleave: It,
|
|
42717
42746
|
hideRanges: computed(() => !0),
|
|
42718
|
-
onSelect:
|
|
42747
|
+
onSelect: Lt,
|
|
42719
42748
|
open: ye
|
|
42720
42749
|
}), () => {
|
|
42721
42750
|
const {
|
|
42722
42751
|
prefixCls: ut = "rc-picker",
|
|
42723
|
-
id:
|
|
42724
|
-
popupStyle:
|
|
42752
|
+
id: kt,
|
|
42753
|
+
popupStyle: bt,
|
|
42725
42754
|
dropdownClassName: Qt,
|
|
42726
42755
|
transitionName: Rt,
|
|
42727
42756
|
dropdownAlign: $t,
|
|
@@ -42733,7 +42762,7 @@ function RangerPicker() {
|
|
|
42733
42762
|
picker: gt = "date",
|
|
42734
42763
|
showTime: mt,
|
|
42735
42764
|
separator: St = "~",
|
|
42736
|
-
disabledDate:
|
|
42765
|
+
disabledDate: Mt,
|
|
42737
42766
|
panelRender: Pt,
|
|
42738
42767
|
allowClear: Nt,
|
|
42739
42768
|
suffixIcon: Yt,
|
|
@@ -42758,19 +42787,19 @@ function RangerPicker() {
|
|
|
42758
42787
|
prefixCls: ut,
|
|
42759
42788
|
components: wi,
|
|
42760
42789
|
needConfirmButton: H.value,
|
|
42761
|
-
okDisabled: !getValue$2(ke.value, ce.value) ||
|
|
42790
|
+
okDisabled: !getValue$2(ke.value, ce.value) || Mt && Mt(ke.value[ce.value]),
|
|
42762
42791
|
locale: Ht,
|
|
42763
42792
|
onOk: () => {
|
|
42764
42793
|
getValue$2(ke.value, ce.value) && (Ke(ke.value, ce.value), Ci && Ci(ke.value));
|
|
42765
42794
|
}
|
|
42766
42795
|
});
|
|
42767
42796
|
if (gt !== "time" && !mt) {
|
|
42768
|
-
const Ut = ce.value === 0 ? fe.value : me.value, Li = getClosingViewDate(Ut, gt, Vt), ai = be.value[ce.value] === gt, vi =
|
|
42797
|
+
const Ut = ce.value === 0 ? fe.value : me.value, Li = getClosingViewDate(Ut, gt, Vt), ai = be.value[ce.value] === gt, vi = Wt(ai ? "left" : !1, {
|
|
42769
42798
|
pickerValue: Ut,
|
|
42770
42799
|
onPickerValueChange: (li) => {
|
|
42771
42800
|
pe(li, ce.value);
|
|
42772
42801
|
}
|
|
42773
|
-
}), Ii =
|
|
42802
|
+
}), Ii = Wt("right", {
|
|
42774
42803
|
pickerValue: Li,
|
|
42775
42804
|
onPickerValueChange: (li) => {
|
|
42776
42805
|
pe(getClosingViewDate(li, gt, Vt, -1), ce.value);
|
|
@@ -42778,7 +42807,7 @@ function RangerPicker() {
|
|
|
42778
42807
|
});
|
|
42779
42808
|
ii === "rtl" ? zt = createVNode(Fragment, null, [Ii, ai && vi]) : zt = createVNode(Fragment, null, [vi, ai && Ii]);
|
|
42780
42809
|
} else
|
|
42781
|
-
zt =
|
|
42810
|
+
zt = Wt();
|
|
42782
42811
|
let si = createVNode("div", {
|
|
42783
42812
|
class: `${ut}-panel-layout`
|
|
42784
42813
|
}, [createVNode(PresetPanel, {
|
|
@@ -42864,7 +42893,7 @@ function RangerPicker() {
|
|
|
42864
42893
|
}),
|
|
42865
42894
|
ref: ie
|
|
42866
42895
|
}, [createVNode("input", _objectSpread2$1(_objectSpread2$1(_objectSpread2$1({
|
|
42867
|
-
id:
|
|
42896
|
+
id: kt,
|
|
42868
42897
|
disabled: he.value[0],
|
|
42869
42898
|
readonly: ti || typeof le.value[0] == "function" || !_t.value,
|
|
42870
42899
|
value: qe.value || Be.value,
|
|
@@ -42904,7 +42933,7 @@ function RangerPicker() {
|
|
|
42904
42933
|
})
|
|
42905
42934
|
}, null), mi, pi, createVNode(PickerTrigger, {
|
|
42906
42935
|
visible: ye.value,
|
|
42907
|
-
popupStyle:
|
|
42936
|
+
popupStyle: bt,
|
|
42908
42937
|
prefixCls: ut,
|
|
42909
42938
|
dropdownClassName: Qt,
|
|
42910
42939
|
dropdownAlign: $t,
|
|
@@ -50052,7 +50081,7 @@ const ICON_OPEN = "open", ICON_CLOSE = "close", defaultTitle = "---", VcTreeNode
|
|
|
50052
50081
|
data: !0
|
|
50053
50082
|
}), {
|
|
50054
50083
|
level: wt
|
|
50055
|
-
} = It[Ae] || {}, Dt = tt[tt.length - 1], xt = nt(), Et = !_t && xt,
|
|
50084
|
+
} = It[Ae] || {}, Dt = tt[tt.length - 1], xt = nt(), Et = !_t && xt, At = Jt === Ae, jt = dt !== void 0 ? {
|
|
50056
50085
|
"aria-selected": !!dt
|
|
50057
50086
|
} : void 0;
|
|
50058
50087
|
return createVNode("div", _objectSpread2$1(_objectSpread2$1({
|
|
@@ -50067,7 +50096,7 @@ const ICON_OPEN = "open", ICON_CLOSE = "close", defaultTitle = "---", VcTreeNode
|
|
|
50067
50096
|
[`${ht}-treenode-active`]: qe,
|
|
50068
50097
|
[`${ht}-treenode-leaf-last`]: Dt,
|
|
50069
50098
|
[`${ht}-treenode-draggable`]: Et,
|
|
50070
|
-
dragging:
|
|
50099
|
+
dragging: At,
|
|
50071
50100
|
"drop-target": pt === Ae,
|
|
50072
50101
|
"drop-container": ft === Ae,
|
|
50073
50102
|
"drag-over": !_t && ge.value,
|
|
@@ -50077,7 +50106,7 @@ const ICON_OPEN = "open", ICON_CLOSE = "close", defaultTitle = "---", VcTreeNode
|
|
|
50077
50106
|
}),
|
|
50078
50107
|
style: Q.style,
|
|
50079
50108
|
draggable: Et,
|
|
50080
|
-
"aria-grabbed":
|
|
50109
|
+
"aria-grabbed": At,
|
|
50081
50110
|
onDragstart: Et ? Ve : void 0,
|
|
50082
50111
|
onDragenter: xt ? Te : void 0,
|
|
50083
50112
|
onDragover: xt ? je : void 0,
|
|
@@ -69351,12 +69380,12 @@ const EMPTY_DATA = [], EMPTY_SCROLL_TARGET = {}, INTERNAL_HOOKS = "rc-table-inte
|
|
|
69351
69380
|
scrollbarSize: ze.value,
|
|
69352
69381
|
ref: ge,
|
|
69353
69382
|
onScroll: it
|
|
69354
|
-
}), xt.colWidths = de.value.map((
|
|
69383
|
+
}), xt.colWidths = de.value.map((Wt, Lt) => {
|
|
69355
69384
|
let {
|
|
69356
69385
|
width: ut
|
|
69357
|
-
} =
|
|
69358
|
-
const
|
|
69359
|
-
return typeof
|
|
69386
|
+
} = Wt;
|
|
69387
|
+
const kt = Lt === ce.value.length - 1 ? ut - ze.value : ut;
|
|
69388
|
+
return typeof kt == "number" && !Number.isNaN(kt) ? kt : (warning$3(!1, "When use `components.body` with render props. Each column should have a fixed `width` value."), 0);
|
|
69360
69389
|
})) : jt = () => createVNode("div", {
|
|
69361
69390
|
style: _extends$1(_extends$1({}, $e.value), Ve.value),
|
|
69362
69391
|
onScroll: it,
|
|
@@ -69374,7 +69403,7 @@ const EMPTY_DATA = [], EMPTY_SCROLL_TARGET = {}, INTERNAL_HOOKS = "rc-table-inte
|
|
|
69374
69403
|
default: () => [wt]
|
|
69375
69404
|
})]
|
|
69376
69405
|
})]);
|
|
69377
|
-
const
|
|
69406
|
+
const Ot = _extends$1(_extends$1(_extends$1({
|
|
69378
69407
|
noData: !K.value.length,
|
|
69379
69408
|
maxContentScroll: Je.value && Ge.x === "max-content"
|
|
69380
69409
|
}, xt), ue.value), {
|
|
@@ -69382,20 +69411,20 @@ const EMPTY_DATA = [], EMPTY_SCROLL_TARGET = {}, INTERNAL_HOOKS = "rc-table-inte
|
|
|
69382
69411
|
stickyClassName: pt,
|
|
69383
69412
|
onScroll: it
|
|
69384
69413
|
});
|
|
69385
|
-
Dt = () => createVNode(Fragment, null, [dt !== !1 && createVNode(FixedHolder, _objectSpread2$1(_objectSpread2$1({},
|
|
69414
|
+
Dt = () => createVNode(Fragment, null, [dt !== !1 && createVNode(FixedHolder, _objectSpread2$1(_objectSpread2$1({}, Ot), {}, {
|
|
69386
69415
|
stickyTopOffset: Ct,
|
|
69387
69416
|
class: `${Ye}-header`,
|
|
69388
69417
|
ref: Ce
|
|
69389
69418
|
}), {
|
|
69390
|
-
default: (
|
|
69419
|
+
default: (Wt) => createVNode(Fragment, null, [createVNode(Header$1, Wt, null), Pe.value === "top" && createVNode(Footer, Wt, {
|
|
69391
69420
|
default: () => [wt]
|
|
69392
69421
|
})])
|
|
69393
|
-
}), jt(), Pe.value && Pe.value !== "top" && createVNode(FixedHolder, _objectSpread2$1(_objectSpread2$1({},
|
|
69422
|
+
}), jt(), Pe.value && Pe.value !== "top" && createVNode(FixedHolder, _objectSpread2$1(_objectSpread2$1({}, Ot), {}, {
|
|
69394
69423
|
stickyBottomOffset: It,
|
|
69395
69424
|
class: `${Ye}-summary`,
|
|
69396
69425
|
ref: me
|
|
69397
69426
|
}), {
|
|
69398
|
-
default: (
|
|
69427
|
+
default: (Wt) => createVNode(Footer, Wt, {
|
|
69399
69428
|
default: () => [wt]
|
|
69400
69429
|
})
|
|
69401
69430
|
}), ht && ge.value && createVNode(StickyScrollBar, {
|
|
@@ -69427,7 +69456,7 @@ const EMPTY_DATA = [], EMPTY_SCROLL_TARGET = {}, INTERNAL_HOOKS = "rc-table-inte
|
|
|
69427
69456
|
const Et = pickAttrs(Q, {
|
|
69428
69457
|
aria: !0,
|
|
69429
69458
|
data: !0
|
|
69430
|
-
}),
|
|
69459
|
+
}), At = () => createVNode("div", _objectSpread2$1(_objectSpread2$1({}, Et), {}, {
|
|
69431
69460
|
class: classNames(Ye, {
|
|
69432
69461
|
[`${Ye}-rtl`]: st === "rtl",
|
|
69433
69462
|
[`${Ye}-ping-left`]: pe.value,
|
|
@@ -69458,8 +69487,8 @@ const EMPTY_DATA = [], EMPTY_SCROLL_TARGET = {}, INTERNAL_HOOKS = "rc-table-inte
|
|
|
69458
69487
|
return Je.value ? createVNode(ResizeObserver$1, {
|
|
69459
69488
|
onResize: lt
|
|
69460
69489
|
}, {
|
|
69461
|
-
default:
|
|
69462
|
-
}) :
|
|
69490
|
+
default: At
|
|
69491
|
+
}) : At();
|
|
69463
69492
|
};
|
|
69464
69493
|
}
|
|
69465
69494
|
});
|
|
@@ -71153,14 +71182,14 @@ const MAX_RETRY_TIMES = 10, Tree$2 = defineComponent({
|
|
|
71153
71182
|
draggable: Dt,
|
|
71154
71183
|
checkable: xt,
|
|
71155
71184
|
checkStrictly: Et,
|
|
71156
|
-
disabled:
|
|
71185
|
+
disabled: At,
|
|
71157
71186
|
motion: jt,
|
|
71158
|
-
loadData:
|
|
71159
|
-
filterTreeNode:
|
|
71160
|
-
height:
|
|
71187
|
+
loadData: Ot,
|
|
71188
|
+
filterTreeNode: Wt,
|
|
71189
|
+
height: Lt,
|
|
71161
71190
|
itemHeight: ut,
|
|
71162
|
-
virtual:
|
|
71163
|
-
dropIndicatorRender:
|
|
71191
|
+
virtual: kt,
|
|
71192
|
+
dropIndicatorRender: bt,
|
|
71164
71193
|
onContextmenu: Qt,
|
|
71165
71194
|
onScroll: Rt,
|
|
71166
71195
|
direction: $t,
|
|
@@ -71188,7 +71217,7 @@ const MAX_RETRY_TIMES = 10, Tree$2 = defineComponent({
|
|
|
71188
71217
|
checkable: xt,
|
|
71189
71218
|
customCheckable: Z.checkable,
|
|
71190
71219
|
checkStrictly: Et,
|
|
71191
|
-
disabled:
|
|
71220
|
+
disabled: At,
|
|
71192
71221
|
keyEntities: le.value,
|
|
71193
71222
|
dropLevelOffset: Xe,
|
|
71194
71223
|
dropContainerKey: rt,
|
|
@@ -71198,9 +71227,9 @@ const MAX_RETRY_TIMES = 10, Tree$2 = defineComponent({
|
|
|
71198
71227
|
dragging: qe !== null,
|
|
71199
71228
|
indent: U.value,
|
|
71200
71229
|
direction: $t,
|
|
71201
|
-
dropIndicatorRender:
|
|
71202
|
-
loadData:
|
|
71203
|
-
filterTreeNode:
|
|
71230
|
+
dropIndicatorRender: bt,
|
|
71231
|
+
loadData: Ot,
|
|
71232
|
+
filterTreeNode: Wt,
|
|
71204
71233
|
onNodeClick: Ke,
|
|
71205
71234
|
onNodeDoubleClick: Ue,
|
|
71206
71235
|
onNodeExpand: Me,
|
|
@@ -71231,13 +71260,13 @@ const MAX_RETRY_TIMES = 10, Tree$2 = defineComponent({
|
|
|
71231
71260
|
ref: Ce,
|
|
71232
71261
|
prefixCls: Ct,
|
|
71233
71262
|
style: vt,
|
|
71234
|
-
disabled:
|
|
71263
|
+
disabled: At,
|
|
71235
71264
|
selectable: Jt,
|
|
71236
71265
|
checkable: !!xt,
|
|
71237
71266
|
motion: jt,
|
|
71238
|
-
height:
|
|
71267
|
+
height: Lt,
|
|
71239
71268
|
itemHeight: ut,
|
|
71240
|
-
virtual:
|
|
71269
|
+
virtual: kt,
|
|
71241
71270
|
focusable: ft,
|
|
71242
71271
|
focused: ce.value,
|
|
71243
71272
|
tabindex: pt,
|
|
@@ -76107,120 +76136,120 @@ const pushToSearchData = (W, C) => {
|
|
|
76107
76136
|
H != "" && C.value.searchData.push({ name: `${Q}`, searchType: H, defaultValue: Z });
|
|
76108
76137
|
}
|
|
76109
76138
|
};
|
|
76110
|
-
function generateBase(W, C, Q, Z) {
|
|
76111
|
-
let
|
|
76112
|
-
const
|
|
76113
|
-
let
|
|
76114
|
-
const { writeField:
|
|
76115
|
-
|
|
76116
|
-
const
|
|
76117
|
-
let
|
|
76118
|
-
switch (C != null && C.length > 0 && (
|
|
76139
|
+
function generateBase(W, C, Q, Z, H) {
|
|
76140
|
+
let K = "";
|
|
76141
|
+
const G = W.type;
|
|
76142
|
+
let U = "";
|
|
76143
|
+
const { writeField: X, model: ee, defaultValue: te } = W, ie = X && X.length ? `write-field="${X}" ` : "", ne = ee ? `v-model:value="viewData.${ee}" ` : "", oe = ee ? `:data-value="JSON.stringify(viewData.${ee})"` : "", re = te ? `defaultValue="${W.defaultValue}"` : "";
|
|
76144
|
+
Z == "report" && pushToSearchData(W, H), U += ne, U += ie;
|
|
76145
|
+
const se = ee ? "viewData." + ee : "";
|
|
76146
|
+
let ae = `width:${W.width}`, { _ruleProperty: le, _rule: ce, _ruleEvent: de } = getRuleHtml(W), ue = "", he = "";
|
|
76147
|
+
switch (C != null && C.length > 0 && (ue = generateHtmlRule(C, W.name), he = generateHtmlRule_formItem(C, W.name)), G) {
|
|
76119
76148
|
case "label":
|
|
76120
|
-
|
|
76149
|
+
K += `<pre ${W.extended} style="fontSize:${W.font}px;textAlign:${W.align};color:${W.color};whiteSpace:pre-wrap;${W.cssextended};"> ${W.name}</pre>`;
|
|
76121
76150
|
break;
|
|
76122
76151
|
case "button":
|
|
76123
|
-
let
|
|
76124
|
-
|
|
76152
|
+
let Ce = W.beforeIcon ? `<svg-icon name="${W.beforeIcon}" width="16" height="16"></svg-icon>` : "";
|
|
76153
|
+
K += `
|
|
76125
76154
|
<a-form-item style="text-align: left;padding-left:5px">
|
|
76126
76155
|
<a-button type="${W.buttonType}" ${W.extended}>
|
|
76127
|
-
<div class="btn-icon-content">${
|
|
76156
|
+
<div class="btn-icon-content">${Ce}${W.name}</div>
|
|
76128
76157
|
</a-button>
|
|
76129
76158
|
</a-form-item>`;
|
|
76130
76159
|
break;
|
|
76131
76160
|
case "header":
|
|
76132
|
-
|
|
76161
|
+
K += `
|
|
76133
76162
|
<div class="${W.classname} title-${W.align}" ${W.extended}>
|
|
76134
76163
|
<span>${W.name}</span>
|
|
76135
76164
|
</div>`;
|
|
76136
76165
|
break;
|
|
76137
76166
|
default:
|
|
76138
|
-
let
|
|
76139
|
-
const
|
|
76140
|
-
switch (
|
|
76167
|
+
let ge = "", fe = "";
|
|
76168
|
+
const me = W.disabled == !0 ? " disabled " : "", pe = W.clearable == !0 ? " allowClear " : "", ke = W.hidden == !0 ? 'v-show="false"' : "", ve = W.bordered == !0 ? "" : ':bordered="false"', be = W.placeholder == null || W.placeholder == "" ? "" : `placeholder="${W.placeholder}"`, Ne = W.width == "100%" ? "" : ` style="width: ${W.width}"`, Ie = W.prefix == "" || W.prefix == null ? "" : ` prefix="${W.prefix}" `, xe = W.suffix == "" || W.suffix == null ? "" : ` suffix="${W.suffix}" `, De = W.dateType == null ? "" : ` picker="${W.dateType}"`, ye = ` value-format="${getDateType(W.dateType)}"`;
|
|
76169
|
+
switch (G) {
|
|
76141
76170
|
case "input":
|
|
76142
|
-
const
|
|
76143
|
-
|
|
76171
|
+
const Se = W.bordered == !0 ? ':bordered="false"' : "", we = getSuffixSlotHtml(W, Q);
|
|
76172
|
+
ge = `<a-input ${ue} ${U} ${re} ${be} ${Ne + Ie + me + pe + Se} ${ce} ${de} ${W.extended} >${we}</a-input>`;
|
|
76144
76173
|
break;
|
|
76145
76174
|
case "fx":
|
|
76146
|
-
const
|
|
76147
|
-
let
|
|
76148
|
-
if (
|
|
76149
|
-
let
|
|
76150
|
-
for (let
|
|
76151
|
-
|
|
76152
|
-
|
|
76153
|
-
}
|
|
76154
|
-
|
|
76175
|
+
const Je = W.accountField;
|
|
76176
|
+
let Qe = "";
|
|
76177
|
+
if (Je != null && Je.length > 0) {
|
|
76178
|
+
let ut = "";
|
|
76179
|
+
for (let kt = 0; kt < Je.length; kt++)
|
|
76180
|
+
ut += Je[kt] + ",";
|
|
76181
|
+
ut = ut.substring(0, ut.length - 1), Qe = ` :value="getAccount('${W.account}','${ut}',viewData)" `;
|
|
76182
|
+
}
|
|
76183
|
+
ge = `<a-input ${ue} ${Qe + ie} ${re} ${be} ${Ne + Ie + xe + me + ve} ${W.extended} />`;
|
|
76155
76184
|
break;
|
|
76156
76185
|
case "inputnumber":
|
|
76157
|
-
const
|
|
76158
|
-
|
|
76186
|
+
const Ee = W.minCheck || W.min == null ? "" : ` :min="${W.min}"`, Le = W.maxCheck || W.max == null ? "" : ` :max="${W.max}"`, Fe = W.addonBefore == "" || W.addonBefore == null ? "" : ` addonBefore="${W.addonBefore}" `, Pe = W.addonAfter == "" || W.addonAfter == null ? "" : ` addonAfter="${W.addonAfter}" `, We = W.step == null ? "" : ` :step="${W.step}"`, $e = W.precision == null ? "" : ` :precision="${W.precision}"`;
|
|
76187
|
+
ge = `<a-input-number ${ue} ${U} ${Ee + Le + We + $e} ${re} ${be} ${Fe} ${Pe} style='${ae}' ${me + pe} ${ce} ${de} ${W.extended} />`;
|
|
76159
76188
|
break;
|
|
76160
76189
|
case "textarea":
|
|
76161
|
-
const
|
|
76162
|
-
|
|
76190
|
+
const Ve = W.maxlength == null ? "" : ` show-count :maxlength="${W.maxlength}"`;
|
|
76191
|
+
ge = ` <a-textarea ${ue} ${U} ${re} ${me} ${be} ${pe} :rows="${W.rows}" ${ce} ${de} ${W.extended + Ve}/>`;
|
|
76163
76192
|
break;
|
|
76164
76193
|
case "select":
|
|
76165
|
-
|
|
76166
|
-
const
|
|
76167
|
-
let
|
|
76168
|
-
const
|
|
76169
|
-
|
|
76194
|
+
fe = W.multiple ? 'mode="multiple"' : "";
|
|
76195
|
+
const Te = selectSyncHtml(fe, W, ee), je = selectSlotHtml(fe, W, ee), He = getSuffixIconSlotHtml(W, Q), Ke = ee == null ? "" : `:value="formatMultipleSelectValue(viewData.${ee})"`;
|
|
76196
|
+
let Ue = W.multiple ? `${Ke}` : `${ne}`, it = W.model ? `:data-value="JSON.stringify(formatMultipleSelectValue(viewData.${ee}))"` : "", nt = W.multiple ? it : oe;
|
|
76197
|
+
const at = W.dictType == "remote" ? W.remoteUrl == "" ? "" : `:options="selectJsonSetting['${W.remoteUrl}'].options"` : W.dic == "" ? "" : `:options="getDictItemsByCode(${W.dictType == "dynamic" ? `viewData.${W.dic}` : `'${W.dic}'`})"`;
|
|
76198
|
+
ge = `<a-select ${ue} ${Ue} ${nt} ${ie} ${ce} ${de} ${fe} ${me + be} allow-clear show-search optionFilterProp="label" style='${ae}' ${at} ${W.extended + Te} >${He}${je}</a-select>`, getJsonSetting(H, W);
|
|
76170
76199
|
break;
|
|
76171
76200
|
case "treeselect":
|
|
76172
|
-
const
|
|
76173
|
-
let
|
|
76174
|
-
const
|
|
76175
|
-
getJsonSetting(
|
|
76176
|
-
<a-tree-select ${
|
|
76201
|
+
const ot = selectSyncHtml(fe, W, ee), lt = W.multiple ? "tree-checkable treeCheckStrictly" : "", ze = W.punctuation && W.multiple ? `,${W.punctuation}` : "", Be = W.dictType == "remote" ? W.remoteUrl == "" ? "''" : `selectJsonSetting['${W.remoteUrl}'].options` : W.dic == "" ? "''" : `'${W.dic}'`, Ze = ee == null ? "" : `:value="formatMultipleTreeSelectValue(viewData.${ee},${Be}${ze})"`;
|
|
76202
|
+
let Me = W.multiple ? `${Ze}` : `${ne}`, Oe = W.model ? `:data-value="JSON.stringify(formatMultipleTreeSelectValue(viewData.${ee},${Be}${ze}))"` : "", Re = W.multiple ? Oe : oe, Ae = W.punctuation && W.multiple ? `:punctuation="${W.punctuation}"` : "";
|
|
76203
|
+
const Ye = W.dictType == "remote" ? W.remoteUrl == "" ? "" : `:tree-data="selectJsonSetting['${W.remoteUrl}'].options"` : W.dic == "" ? "" : `:tree-data="getTreeDictItemsByCode('${W.dic}')"`;
|
|
76204
|
+
getJsonSetting(H, W), ge += `
|
|
76205
|
+
<a-tree-select ${Me} ${Re} ${ie} ${ce} ${de} ${lt} ${Ae} style='${ae}' ${be} ${me} allow-clear show-search treeNodeFilterProp="label" ${Ye} ${W.extended + ot}/>
|
|
76177
76206
|
`;
|
|
76178
76207
|
break;
|
|
76179
76208
|
case "cascader":
|
|
76180
|
-
const
|
|
76181
|
-
getJsonSetting(
|
|
76209
|
+
const Ge = W.dictType == "remote" ? W.remoteUrl == "" ? "" : `:options="selectJsonSetting['${W.remoteUrl}'].options"` : W.dic == "" ? "" : `:options="getTreeDictItemsByCode('${W.dic}')"`;
|
|
76210
|
+
getJsonSetting(H, W), ge = `<a-cascader ${U} ${ce} ${de} style='${ae}' ${be} ${me} allow-clear ${Ge} ${W.extended}/>`;
|
|
76182
76211
|
break;
|
|
76183
76212
|
case "tableselect":
|
|
76184
|
-
|
|
76185
|
-
const
|
|
76186
|
-
let
|
|
76187
|
-
const
|
|
76188
|
-
let
|
|
76189
|
-
const
|
|
76190
|
-
let
|
|
76191
|
-
|
|
76192
|
-
const
|
|
76193
|
-
|
|
76213
|
+
fe = W.multiple ? 'mode="multiple"' : "";
|
|
76214
|
+
const tt = ee == null ? "" : `:value="formatMultipleSelectValue(viewData.${ee})"`;
|
|
76215
|
+
let st = W.model ? `:data-value="JSON.stringify(formatMultipleSelectValue(viewData.${ee}))"` : "", qe = W.multiple ? st : oe;
|
|
76216
|
+
const Xe = W.dropMenuWidth ? `dropMenuWidth="${W.dropMenuWidth}"` : "", rt = W.dropMenuHeight ? `dropMenuHeight="${W.dropMenuHeight}"` : "", dt = W.tableKeyName ? `bindKeyName="${W.tableKeyName}"` : "", ct = W.tableLabelName ? `bindLabelName="${W.tableLabelName}"` : "", ht = W.tableSource ? `filePath="${W.tableSource}"` : "";
|
|
76217
|
+
let Ct = W.clearEvent ? "," + W.clearEvent : "";
|
|
76218
|
+
const It = ee == null ? "" : `@clear="onTableSelectClear(viewData, '${ee}'${Ct})"`, ft = W.syncField ? W.syncField : "";
|
|
76219
|
+
let pt = `value, viewData, '${ee}', '${W.tableKeyName}'`, Jt = W.rowChangeEvent ? "," + W.rowChangeEvent : "";
|
|
76220
|
+
pt = ft ? pt + `,'${ft}' , '${W.tableLabelName}'` : Jt ? pt + ",'',''" : pt;
|
|
76221
|
+
const _t = ee == null ? "" : `@rowChange="(value) => onTableSelectRowChange(${pt}${Jt})"`;
|
|
76222
|
+
ge = `<c-table-select ${tt} ${qe} ${ie} ${ce} ${de} ${fe} ${Xe} ${rt} ${ht} ${dt} ${ct} ${be} ${me} ${pe} ${W.extended} ${It} ${_t} style='${ae}'></c-table-select>`;
|
|
76194
76223
|
break;
|
|
76195
76224
|
case "datepicker":
|
|
76196
|
-
|
|
76225
|
+
ge = `<div class="ant-picker-custom" ${ue} ${ie} ${ce}><a-date-picker ${ne} ${re} ${de} ${me} ${pe} style='${ae}' ${be} ${De + ye} ${W.extended}/></div>`;
|
|
76197
76226
|
break;
|
|
76198
76227
|
case "rangepicker":
|
|
76199
|
-
|
|
76228
|
+
ge = `<div class="ant-picker-range-custom" ${ue} ${ie} ${ce}><a-range-picker ${ne} ${re} ${de} ${me} ${pe} style='${ae}' ${De + ye} ${W.extended}/></div>`;
|
|
76200
76229
|
break;
|
|
76201
76230
|
case "switch":
|
|
76202
|
-
|
|
76231
|
+
ge = `<a-switch v-model:checked="${se}" />`;
|
|
76203
76232
|
break;
|
|
76204
76233
|
case "radio":
|
|
76205
|
-
let
|
|
76206
|
-
|
|
76234
|
+
let yt = getOptionsHtml(W, "radio"), wt = W.optionsType == "data" ? `:options="getDictItemsByCode('${W.dic}')"` : "";
|
|
76235
|
+
ge = `<a-radio-group ${oe} ${ue} ${U} ${W.extended} ${wt} >${yt}</a-radio-group>`;
|
|
76207
76236
|
break;
|
|
76208
76237
|
case "checkbox":
|
|
76209
|
-
let
|
|
76210
|
-
const
|
|
76211
|
-
let
|
|
76212
|
-
|
|
76238
|
+
let Dt = getOptionsHtml(W, "checkbox");
|
|
76239
|
+
const xt = selectSyncHtml(fe, W, ee), Et = ee == null ? "" : `:value="formatMultipleSelectValue(viewData.${ee})"`;
|
|
76240
|
+
let At = W.model ? `:data-value="JSON.stringify(formatMultipleSelectValue(viewData.${ee}))"` : "", jt = W.optionsType == "data" ? `:options="getDictItemsByCode('${W.dic}')"` : "";
|
|
76241
|
+
ge = `<a-checkbox-group ${ue} ${Et} ${At} ${ie} ${W.extended} ${xt} ${jt}>${Dt} </a-checkbox-group>`;
|
|
76213
76242
|
break;
|
|
76214
76243
|
case "image":
|
|
76215
|
-
let
|
|
76216
|
-
const Wt = W.width ? `width: ${W.width};` : "",
|
|
76217
|
-
|
|
76244
|
+
let Ot = W.model ? `:src="${W.model}"` : W.static ? `src="${W.static}"` : "";
|
|
76245
|
+
const Wt = W.width ? `width: ${W.width};` : "", Lt = W.height ? `height: ${W.height};` : "";
|
|
76246
|
+
ge = `<img ${Ot} style="${Wt}${Lt}"/>`;
|
|
76218
76247
|
break;
|
|
76219
76248
|
}
|
|
76220
|
-
|
|
76249
|
+
K += `<a-form-item ${he} ${ke} label="${W.name}" ${le}>${ge}</a-form-item>`;
|
|
76221
76250
|
break;
|
|
76222
76251
|
}
|
|
76223
|
-
return
|
|
76252
|
+
return K;
|
|
76224
76253
|
}
|
|
76225
76254
|
function selectSyncHtml(W, C, Q) {
|
|
76226
76255
|
var U;
|
|
@@ -76245,6 +76274,27 @@ function selectSlotHtml(W, C, Q) {
|
|
|
76245
76274
|
}
|
|
76246
76275
|
return Z;
|
|
76247
76276
|
}
|
|
76277
|
+
function getSuffixSlotHtml(W, C) {
|
|
76278
|
+
let Q = "";
|
|
76279
|
+
if (W.suffix != "" && W.suffix != null || W.tooltip != "" && W.tooltip != null) {
|
|
76280
|
+
Q += "<template #suffix>";
|
|
76281
|
+
let Z = W.suffix != "" && W.suffix != null ? `<span style="margin-right: 5px">${W.suffix}</span>` : "";
|
|
76282
|
+
Q += Z;
|
|
76283
|
+
let H = W.tooltip != "" && W.tooltip != null ? `<a-tooltip title="${W.tooltip}">
|
|
76284
|
+
<info-circle-outlined style="color: rgba(0, 0, 0, 0.45)" />
|
|
76285
|
+
</a-tooltip>` : "";
|
|
76286
|
+
H.length > 0 && (C.value.importScript.includes("import { InfoCircleOutlined } from '@ant-design/icons-vue';") || (C.value.importScript += "import { InfoCircleOutlined } from '@ant-design/icons-vue';")), Q += H, Q += "</template>";
|
|
76287
|
+
}
|
|
76288
|
+
return Q;
|
|
76289
|
+
}
|
|
76290
|
+
function getSuffixIconSlotHtml(W, C) {
|
|
76291
|
+
let Q = "";
|
|
76292
|
+
return W.tooltip != "" && W.tooltip != null && (Q += `<template #suffixIcon>
|
|
76293
|
+
<a-tooltip title="${W.tooltip}">
|
|
76294
|
+
<info-circle-outlined style="font-size:13px; color: rgba(0, 0, 0, 0.45)" />
|
|
76295
|
+
</a-tooltip>
|
|
76296
|
+
</template>`, C.value.importScript.includes("import { InfoCircleOutlined } from '@ant-design/icons-vue';") || (C.value.importScript += "import { InfoCircleOutlined } from '@ant-design/icons-vue';")), Q;
|
|
76297
|
+
}
|
|
76248
76298
|
function getJsonSetting(W, C) {
|
|
76249
76299
|
W && C.remoteUrl && C.dictType == "remote" && (W.value.selectJsonSetting[C.remoteUrl] = {
|
|
76250
76300
|
remoteValue: C.remoteValue,
|
|
@@ -76272,7 +76322,7 @@ function getRuleHtml(W) {
|
|
|
76272
76322
|
case "select":
|
|
76273
76323
|
case "treeselect":
|
|
76274
76324
|
case "cascader":
|
|
76275
|
-
Z += ` @blur="validateFun($event, 'blur', viewData.${W.model}${H})"
|
|
76325
|
+
W.model && (Z += ` @blur="validateFun($event, 'blur', viewData.${W.model}${H})" `);
|
|
76276
76326
|
break;
|
|
76277
76327
|
default:
|
|
76278
76328
|
H = H == "" ? "" : `, null${H}`, Z += ` @blur="validateFun($event, 'blur'${H})" `;
|
|
@@ -76322,7 +76372,7 @@ function generateTabs(W, C, Q, Z, H, K) {
|
|
|
76322
76372
|
G += generateChildForm(ae);
|
|
76323
76373
|
break;
|
|
76324
76374
|
case "grid":
|
|
76325
|
-
G += generateGrid(ae, C, Q, K, H);
|
|
76375
|
+
G += generateGrid(ae, C, Q, Z, K, H);
|
|
76326
76376
|
break;
|
|
76327
76377
|
case "table":
|
|
76328
76378
|
G += generateTable(ae, te + se, Z, H, K);
|
|
@@ -76331,7 +76381,7 @@ function generateTabs(W, C, Q, Z, H, K) {
|
|
|
76331
76381
|
G += generateCollapsePanel(ae, C, Q, Z, H, K);
|
|
76332
76382
|
break;
|
|
76333
76383
|
default:
|
|
76334
|
-
G += generateBase(ae, C, K, H);
|
|
76384
|
+
G += generateBase(ae, C, Z, K, H);
|
|
76335
76385
|
break;
|
|
76336
76386
|
}
|
|
76337
76387
|
}
|
|
@@ -76356,7 +76406,7 @@ function generateCollapsePanel(W, C, Q, Z, H, K) {
|
|
|
76356
76406
|
G += generateChildForm(ce);
|
|
76357
76407
|
break;
|
|
76358
76408
|
case "grid":
|
|
76359
|
-
G += generateGrid(ce, C, Q, K, H);
|
|
76409
|
+
G += generateGrid(ce, C, Q, Z, K, H);
|
|
76360
76410
|
break;
|
|
76361
76411
|
case "table":
|
|
76362
76412
|
G += generateTable(ce, le, Z, H, K);
|
|
@@ -76365,29 +76415,29 @@ function generateCollapsePanel(W, C, Q, Z, H, K) {
|
|
|
76365
76415
|
G += generateTabs(ce, C, Q, Z, H, K);
|
|
76366
76416
|
break;
|
|
76367
76417
|
default:
|
|
76368
|
-
G += generateBase(ce, C, K, H);
|
|
76418
|
+
G += generateBase(ce, C, Z, K, H);
|
|
76369
76419
|
break;
|
|
76370
76420
|
}
|
|
76371
76421
|
}
|
|
76372
76422
|
let ae = se.length > 0 ? "</a-form>" : "";
|
|
76373
76423
|
return G += ae, G += "</c-collapse-panel>", G;
|
|
76374
76424
|
}
|
|
76375
|
-
function generateGrid(W, C, Q, Z, H) {
|
|
76376
|
-
let
|
|
76377
|
-
const
|
|
76378
|
-
|
|
76379
|
-
<a-row class="wonderform-row-css" style="padding: ${
|
|
76380
|
-
for (let
|
|
76381
|
-
const
|
|
76382
|
-
|
|
76383
|
-
<a-col :span="${
|
|
76384
|
-
for (let
|
|
76385
|
-
const
|
|
76386
|
-
|
|
76425
|
+
function generateGrid(W, C, Q, Z, H, K) {
|
|
76426
|
+
let G = "";
|
|
76427
|
+
const U = W.top == null ? 0 : W.top, X = W.right == null ? 0 : W.right, ee = W.bottom == null ? 0 : W.bottom, te = W.left == null ? 0 : W.left, ie = W.layout == null ? "" : ` layout="${W.layout}"`, ne = W.labelPosition == null ? "" : ` labelAlign="${W.labelPosition}"`, oe = `${U}px ${X}px ${ee}px ${te}px`;
|
|
76428
|
+
G += `
|
|
76429
|
+
<a-row class="wonderform-row-css" style="padding: ${oe}" ${W.extended || ""} :gutter="[${W.options.gutter}, 0]" tyle="flex">`;
|
|
76430
|
+
for (let ae = 0; ae < W.columns.length; ae++) {
|
|
76431
|
+
const le = W.columns[ae];
|
|
76432
|
+
G += `
|
|
76433
|
+
<a-col :span="${le.options.span}" :offset="${le.options.offset}" ${le.options.extended || ""}>`;
|
|
76434
|
+
for (let ce = 0; ce < le.list.length; ce++) {
|
|
76435
|
+
const de = le.list[ce];
|
|
76436
|
+
G += generateBase(de, C, Z, H, K);
|
|
76387
76437
|
}
|
|
76388
|
-
|
|
76438
|
+
G += " </a-col>";
|
|
76389
76439
|
}
|
|
76390
|
-
return
|
|
76440
|
+
return G += "</a-row>", ` <a-form id="wonder-form-css" ${Q.labelWidth == null ? "" : `:label-col="{ style: { width:'${Q.labelWidth}px'} }"`} :labelWrap="true" ${ie + ne}>${G}</a-form>`;
|
|
76391
76441
|
}
|
|
76392
76442
|
function generatePage(W, C, Q) {
|
|
76393
76443
|
let Z;
|
|
@@ -78237,7 +78287,7 @@ function getHtml(W, C, Q) {
|
|
|
78237
78287
|
const oe = W[ne];
|
|
78238
78288
|
switch (X = oe.type, X) {
|
|
78239
78289
|
case "grid":
|
|
78240
|
-
G += generateGrid(oe, ee, C, Z);
|
|
78290
|
+
G += generateGrid(oe, ee, C, Q, Z);
|
|
78241
78291
|
break;
|
|
78242
78292
|
case "table":
|
|
78243
78293
|
G += generateTable(oe, ne, Q, H, Z);
|
|
@@ -78252,7 +78302,7 @@ function getHtml(W, C, Q) {
|
|
|
78252
78302
|
G += generateCollapsePanel(oe, ee, C, Q, H, Z);
|
|
78253
78303
|
break;
|
|
78254
78304
|
default:
|
|
78255
|
-
G += generateBase(oe, ee, Z, H);
|
|
78305
|
+
G += generateBase(oe, ee, Q, Z, H);
|
|
78256
78306
|
}
|
|
78257
78307
|
}
|
|
78258
78308
|
const te = JSON.stringify(H.value.paginations);
|
|
@@ -79837,7 +79887,7 @@ const _hoisted_1$o = { style: { "text-align": "left" } }, _hoisted_2$h = { class
|
|
|
79837
79887
|
C.value = !1;
|
|
79838
79888
|
}
|
|
79839
79889
|
function ae(le) {
|
|
79840
|
-
let ce = G.configData.extended, de = ':row-selection="rowSelection" :rowKey="keyName" :customRow="customRow"', ue = Q.formData.config.eventScript[0].func, he = `
|
|
79890
|
+
let ce = G.configData.extended, de = 'class="select-table" :row-selection="rowSelection" :rowKey="keyName" :customRow="customRow"', ue = Q.formData.config.eventScript[0].func, he = `
|
|
79841
79891
|
// 必须参数 -- start ---
|
|
79842
79892
|
const props = defineProps({
|
|
79843
79893
|
value: {
|
|
@@ -79861,6 +79911,8 @@ const _hoisted_1$o = { style: { "text-align": "left" } }, _hoisted_2$h = { class
|
|
|
79861
79911
|
emit("update:value", val);
|
|
79862
79912
|
}
|
|
79863
79913
|
});
|
|
79914
|
+
// 下拉选中行
|
|
79915
|
+
let selectedRow = ref([])
|
|
79864
79916
|
// 触发父组件事件
|
|
79865
79917
|
const emit = defineEmits(['update:value','rowChange','getTable'])
|
|
79866
79918
|
// 行选择
|
|
@@ -79868,25 +79920,43 @@ const _hoisted_1$o = { style: { "text-align": "left" } }, _hoisted_2$h = { class
|
|
|
79868
79920
|
return {
|
|
79869
79921
|
type: props.mode === 'multiple' ? 'checkbox' : 'radio',
|
|
79870
79922
|
selectedRowKeys: selectedValue.value,
|
|
79871
|
-
|
|
79872
|
-
|
|
79873
|
-
|
|
79923
|
+
onSelect(record, selected) {
|
|
79924
|
+
selectRow(selected, record)
|
|
79925
|
+
},
|
|
79926
|
+
onSelectAll(selected, selectionRows, changeRows) {
|
|
79927
|
+
if (selected) {
|
|
79928
|
+
selectedRow.value = selectedRow.value.concat(changeRows)
|
|
79929
|
+
}
|
|
79930
|
+
if (!selected) {
|
|
79931
|
+
let selectionRows = JSON.parse(JSON.stringify(selectedRow.value))
|
|
79932
|
+
const delIndex = []
|
|
79933
|
+
selectionRows.forEach((item, index) => {
|
|
79934
|
+
changeRows.forEach(val => {
|
|
79935
|
+
if (item[props.keyName] === val[props.keyName]) {
|
|
79936
|
+
delIndex.push(index)
|
|
79937
|
+
}
|
|
79938
|
+
})
|
|
79939
|
+
})
|
|
79940
|
+
delIndex.forEach(item => {
|
|
79941
|
+
delete selectionRows[item]
|
|
79942
|
+
})
|
|
79943
|
+
selectionRows = selectionRows.filter(item => {
|
|
79944
|
+
return item !== undefined
|
|
79945
|
+
})
|
|
79946
|
+
selectedRow.value = selectionRows
|
|
79947
|
+
}
|
|
79948
|
+
selectedValue.value = selectedRow.value.map(m => m[props.keyName])
|
|
79949
|
+
emit('rowChange', selectedRow.value)
|
|
79874
79950
|
},
|
|
79875
79951
|
}
|
|
79876
79952
|
})
|
|
79877
|
-
|
|
79953
|
+
const customRow = (record) => {
|
|
79878
79954
|
return {
|
|
79879
79955
|
onClick: (event) => {
|
|
79880
|
-
if (props.mode == 'multiple'
|
|
79881
|
-
let find =
|
|
79882
|
-
let
|
|
79883
|
-
|
|
79884
|
-
let selectedRows = dataSource.value.filter(d => {
|
|
79885
|
-
if (copy.includes(d[props.keyName])) {
|
|
79886
|
-
return d
|
|
79887
|
-
}
|
|
79888
|
-
})
|
|
79889
|
-
emit('rowChange', selectedRows)
|
|
79956
|
+
if (props.mode == 'multiple') {
|
|
79957
|
+
let find = selectedValue.value?.find(f => f == record[props.keyName])
|
|
79958
|
+
let check = !find
|
|
79959
|
+
selectRow(check, record)
|
|
79890
79960
|
} else {
|
|
79891
79961
|
selectedValue.value = [record[props.keyName]]
|
|
79892
79962
|
emit('rowChange', [record])
|
|
@@ -79894,6 +79964,18 @@ const _hoisted_1$o = { style: { "text-align": "left" } }, _hoisted_2$h = { class
|
|
|
79894
79964
|
}
|
|
79895
79965
|
}
|
|
79896
79966
|
}
|
|
79967
|
+
function selectRow(selected, record) {
|
|
79968
|
+
if (selected) {
|
|
79969
|
+
selectedRow.value.push(record)
|
|
79970
|
+
} else {
|
|
79971
|
+
const delIndex = selectedRow.value.findIndex(val => {
|
|
79972
|
+
return val[props.keyName] === record[props.keyName]
|
|
79973
|
+
})
|
|
79974
|
+
selectedRow.value.splice(delIndex, 1)
|
|
79975
|
+
}
|
|
79976
|
+
selectedValue.value = selectedRow.value.map(m => m[props.keyName])
|
|
79977
|
+
emit('rowChange', selectedRow.value)
|
|
79978
|
+
}
|
|
79897
79979
|
watch(() => dataSource.value, (newVal) => {
|
|
79898
79980
|
emit('getTable',newVal)
|
|
79899
79981
|
},{
|
|
@@ -90723,8 +90805,8 @@ function createDOMPurify() {
|
|
|
90723
90805
|
}
|
|
90724
90806
|
}, wt = addToSet({}, ["mi", "mo", "mn", "ms", "mtext"]), Dt = addToSet({}, ["foreignobject", "desc", "title", "annotation-xml"]), xt = addToSet({}, ["title", "style", "font", "a", "script"]), Et = addToSet({}, svg$1);
|
|
90725
90807
|
addToSet(Et, svgFilters), addToSet(Et, svgDisallowed);
|
|
90726
|
-
const
|
|
90727
|
-
addToSet(
|
|
90808
|
+
const At = addToSet({}, mathMl$1);
|
|
90809
|
+
addToSet(At, mathMlDisallowed);
|
|
90728
90810
|
const jt = function(et) {
|
|
90729
90811
|
let gt = ce(et);
|
|
90730
90812
|
(!gt || !gt.tagName) && (gt = {
|
|
@@ -90732,8 +90814,8 @@ function createDOMPurify() {
|
|
|
90732
90814
|
tagName: "template"
|
|
90733
90815
|
});
|
|
90734
90816
|
const mt = stringToLowerCase(et.tagName), St = stringToLowerCase(gt.tagName);
|
|
90735
|
-
return dt[et.namespaceURI] ? et.namespaceURI === st ? gt.namespaceURI === qe ? mt === "svg" : gt.namespaceURI === tt ? mt === "svg" && (St === "annotation-xml" || wt[St]) : !!Et[mt] : et.namespaceURI === tt ? gt.namespaceURI === qe ? mt === "math" : gt.namespaceURI === st ? mt === "math" && Dt[St] : !!
|
|
90736
|
-
},
|
|
90817
|
+
return dt[et.namespaceURI] ? et.namespaceURI === st ? gt.namespaceURI === qe ? mt === "svg" : gt.namespaceURI === tt ? mt === "svg" && (St === "annotation-xml" || wt[St]) : !!Et[mt] : et.namespaceURI === tt ? gt.namespaceURI === qe ? mt === "math" : gt.namespaceURI === st ? mt === "math" && Dt[St] : !!At[mt] : et.namespaceURI === qe ? gt.namespaceURI === st && !Dt[St] || gt.namespaceURI === tt && !wt[St] ? !1 : !At[mt] && (xt[mt] || !Et[mt]) : !!(ht === "application/xhtml+xml" && dt[et.namespaceURI]) : !1;
|
|
90818
|
+
}, Ot = function(et) {
|
|
90737
90819
|
arrayPush(C.removed, {
|
|
90738
90820
|
element: et
|
|
90739
90821
|
});
|
|
@@ -90742,7 +90824,7 @@ function createDOMPurify() {
|
|
|
90742
90824
|
} catch {
|
|
90743
90825
|
et.remove();
|
|
90744
90826
|
}
|
|
90745
|
-
},
|
|
90827
|
+
}, Wt = function(et, gt) {
|
|
90746
90828
|
try {
|
|
90747
90829
|
arrayPush(C.removed, {
|
|
90748
90830
|
attribute: gt.getAttributeNode(et),
|
|
@@ -90757,7 +90839,7 @@ function createDOMPurify() {
|
|
|
90757
90839
|
if (gt.removeAttribute(et), et === "is" && !Je[et])
|
|
90758
90840
|
if (Ue || it)
|
|
90759
90841
|
try {
|
|
90760
|
-
|
|
90842
|
+
Ot(gt);
|
|
90761
90843
|
} catch {
|
|
90762
90844
|
}
|
|
90763
90845
|
else
|
|
@@ -90765,7 +90847,7 @@ function createDOMPurify() {
|
|
|
90765
90847
|
gt.setAttribute(et, "");
|
|
90766
90848
|
} catch {
|
|
90767
90849
|
}
|
|
90768
|
-
},
|
|
90850
|
+
}, Lt = function(et) {
|
|
90769
90851
|
let gt, mt;
|
|
90770
90852
|
if (Ke)
|
|
90771
90853
|
et = "<remove></remove>" + et;
|
|
@@ -90787,8 +90869,8 @@ function createDOMPurify() {
|
|
|
90787
90869
|
} catch {
|
|
90788
90870
|
}
|
|
90789
90871
|
}
|
|
90790
|
-
const
|
|
90791
|
-
return et && mt &&
|
|
90872
|
+
const Mt = gt.body || gt.documentElement;
|
|
90873
|
+
return et && mt && Mt.insertBefore(H.createTextNode(mt), Mt.childNodes[0] || null), Xe === qe ? fe.call(gt, je ? "html" : "body")[0] : je ? gt.documentElement : Mt;
|
|
90792
90874
|
}, ut = function(et) {
|
|
90793
90875
|
return Ce.call(
|
|
90794
90876
|
et.ownerDocument || et,
|
|
@@ -90798,9 +90880,9 @@ function createDOMPurify() {
|
|
|
90798
90880
|
null,
|
|
90799
90881
|
!1
|
|
90800
90882
|
);
|
|
90801
|
-
}, bt = function(et) {
|
|
90802
|
-
return et instanceof ie && (typeof et.nodeName != "string" || typeof et.textContent != "string" || typeof et.removeChild != "function" || !(et.attributes instanceof te) || typeof et.removeAttribute != "function" || typeof et.setAttribute != "function" || typeof et.namespaceURI != "string" || typeof et.insertBefore != "function" || typeof et.hasChildNodes != "function");
|
|
90803
90883
|
}, kt = function(et) {
|
|
90884
|
+
return et instanceof ie && (typeof et.nodeName != "string" || typeof et.textContent != "string" || typeof et.removeChild != "function" || !(et.attributes instanceof te) || typeof et.removeAttribute != "function" || typeof et.setAttribute != "function" || typeof et.namespaceURI != "string" || typeof et.insertBefore != "function" || typeof et.hasChildNodes != "function");
|
|
90885
|
+
}, bt = function(et) {
|
|
90804
90886
|
return typeof U == "object" ? et instanceof U : et && typeof et == "object" && typeof et.nodeType == "number" && typeof et.nodeName == "string";
|
|
90805
90887
|
}, Qt = function(et, gt, mt) {
|
|
90806
90888
|
pe[et] && arrayForEach(pe[et], (St) => {
|
|
@@ -90808,28 +90890,28 @@ function createDOMPurify() {
|
|
|
90808
90890
|
});
|
|
90809
90891
|
}, Rt = function(et) {
|
|
90810
90892
|
let gt;
|
|
90811
|
-
if (Qt("beforeSanitizeElements", et, null),
|
|
90812
|
-
return
|
|
90893
|
+
if (Qt("beforeSanitizeElements", et, null), kt(et))
|
|
90894
|
+
return Ot(et), !0;
|
|
90813
90895
|
const mt = ft(et.nodeName);
|
|
90814
90896
|
if (Qt("uponSanitizeElement", et, {
|
|
90815
90897
|
tagName: mt,
|
|
90816
90898
|
allowedTags: Se
|
|
90817
|
-
}), et.hasChildNodes() && !
|
|
90818
|
-
return
|
|
90899
|
+
}), et.hasChildNodes() && !bt(et.firstElementChild) && (!bt(et.content) || !bt(et.content.firstElementChild)) && regExpTest(/<[/\w]/g, et.innerHTML) && regExpTest(/<[/\w]/g, et.textContent))
|
|
90900
|
+
return Ot(et), !0;
|
|
90819
90901
|
if (!Se[mt] || Le[mt]) {
|
|
90820
90902
|
if (!Le[mt] && Zt(mt) && (Ee.tagNameCheck instanceof RegExp && regExpTest(Ee.tagNameCheck, mt) || Ee.tagNameCheck instanceof Function && Ee.tagNameCheck(mt)))
|
|
90821
90903
|
return !1;
|
|
90822
90904
|
if (ze && !Me[mt]) {
|
|
90823
|
-
const St = ce(et) || et.parentNode,
|
|
90824
|
-
if (
|
|
90825
|
-
const Pt =
|
|
90905
|
+
const St = ce(et) || et.parentNode, Mt = le(et) || et.childNodes;
|
|
90906
|
+
if (Mt && St) {
|
|
90907
|
+
const Pt = Mt.length;
|
|
90826
90908
|
for (let Nt = Pt - 1; Nt >= 0; --Nt)
|
|
90827
|
-
St.insertBefore(se(
|
|
90909
|
+
St.insertBefore(se(Mt[Nt], !0), ae(et));
|
|
90828
90910
|
}
|
|
90829
90911
|
}
|
|
90830
|
-
return
|
|
90912
|
+
return Ot(et), !0;
|
|
90831
90913
|
}
|
|
90832
|
-
return et instanceof X && !jt(et) || (mt === "noscript" || mt === "noembed" || mt === "noframes") && regExpTest(/<\/no(script|embed|frames)/i, et.innerHTML) ? (
|
|
90914
|
+
return et instanceof X && !jt(et) || (mt === "noscript" || mt === "noembed" || mt === "noframes") && regExpTest(/<\/no(script|embed|frames)/i, et.innerHTML) ? (Ot(et), !0) : (Te && et.nodeType === 3 && (gt = et.textContent, gt = stringReplace(gt, ke, " "), gt = stringReplace(gt, ve, " "), gt = stringReplace(gt, be, " "), et.textContent !== gt && (arrayPush(C.removed, {
|
|
90833
90915
|
element: et.cloneNode()
|
|
90834
90916
|
}), et.textContent = gt)), Qt("afterSanitizeElements", et, null), !1);
|
|
90835
90917
|
}, $t = function(et, gt, mt) {
|
|
@@ -90863,7 +90945,7 @@ function createDOMPurify() {
|
|
|
90863
90945
|
}, Zt = function(et) {
|
|
90864
90946
|
return et.indexOf("-") > 0;
|
|
90865
90947
|
}, Vt = function(et) {
|
|
90866
|
-
let gt, mt, St,
|
|
90948
|
+
let gt, mt, St, Mt;
|
|
90867
90949
|
Qt("beforeSanitizeAttributes", et, null);
|
|
90868
90950
|
const {
|
|
90869
90951
|
attributes: Pt
|
|
@@ -90876,22 +90958,22 @@ function createDOMPurify() {
|
|
|
90876
90958
|
keepAttr: !0,
|
|
90877
90959
|
allowedAttributes: Je
|
|
90878
90960
|
};
|
|
90879
|
-
for (
|
|
90880
|
-
gt = Pt[
|
|
90961
|
+
for (Mt = Pt.length; Mt--; ) {
|
|
90962
|
+
gt = Pt[Mt];
|
|
90881
90963
|
const {
|
|
90882
90964
|
name: Yt,
|
|
90883
90965
|
namespaceURI: Bt
|
|
90884
90966
|
} = gt;
|
|
90885
|
-
if (mt = Yt === "value" ? gt.value : stringTrim(gt.value), St = ft(Yt), Nt.attrName = St, Nt.attrValue = mt, Nt.keepAttr = !0, Nt.forceKeepAttr = void 0, Qt("uponSanitizeAttribute", et, Nt), mt = Nt.attrValue, Nt.forceKeepAttr || (
|
|
90967
|
+
if (mt = Yt === "value" ? gt.value : stringTrim(gt.value), St = ft(Yt), Nt.attrName = St, Nt.attrValue = mt, Nt.keepAttr = !0, Nt.forceKeepAttr = void 0, Qt("uponSanitizeAttribute", et, Nt), mt = Nt.attrValue, Nt.forceKeepAttr || (Wt(Yt, et), !Nt.keepAttr))
|
|
90886
90968
|
continue;
|
|
90887
90969
|
if (!Ve && regExpTest(/\/>/i, mt)) {
|
|
90888
|
-
|
|
90970
|
+
Wt(Yt, et);
|
|
90889
90971
|
continue;
|
|
90890
90972
|
}
|
|
90891
90973
|
Te && (mt = stringReplace(mt, ke, " "), mt = stringReplace(mt, ve, " "), mt = stringReplace(mt, be, " "));
|
|
90892
90974
|
const ti = ft(et.nodeName);
|
|
90893
90975
|
if ($t(ti, St, mt)) {
|
|
90894
|
-
if (ot && (St === "id" || St === "name") && (
|
|
90976
|
+
if (ot && (St === "id" || St === "name") && (Wt(Yt, et), mt = lt + mt), de && typeof oe == "object" && typeof oe.getAttributeType == "function" && !Bt)
|
|
90895
90977
|
switch (oe.getAttributeType(ti, St)) {
|
|
90896
90978
|
case "TrustedHTML": {
|
|
90897
90979
|
mt = de.createHTML(mt);
|
|
@@ -90917,8 +90999,8 @@ function createDOMPurify() {
|
|
|
90917
90999
|
Qt("afterSanitizeShadowDOM", et, null);
|
|
90918
91000
|
};
|
|
90919
91001
|
return C.sanitize = function(vt) {
|
|
90920
|
-
let et = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, gt, mt, St,
|
|
90921
|
-
if (rt = !vt, rt && (vt = "<!-->"), typeof vt != "string" && !
|
|
91002
|
+
let et = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, gt, mt, St, Mt;
|
|
91003
|
+
if (rt = !vt, rt && (vt = "<!-->"), typeof vt != "string" && !bt(vt))
|
|
90922
91004
|
if (typeof vt.toString == "function") {
|
|
90923
91005
|
if (vt = vt.toString(), typeof vt != "string")
|
|
90924
91006
|
throw typeErrorCreate("dirty is not a string, aborting");
|
|
@@ -90933,15 +91015,15 @@ function createDOMPurify() {
|
|
|
90933
91015
|
throw typeErrorCreate("root node is forbidden and cannot be sanitized in-place");
|
|
90934
91016
|
}
|
|
90935
91017
|
} else if (vt instanceof U)
|
|
90936
|
-
gt =
|
|
91018
|
+
gt = Lt("<!---->"), mt = gt.ownerDocument.importNode(vt, !0), mt.nodeType === 1 && mt.nodeName === "BODY" || mt.nodeName === "HTML" ? gt = mt : gt.appendChild(mt);
|
|
90937
91019
|
else {
|
|
90938
91020
|
if (!Ue && !Te && !je && // eslint-disable-next-line unicorn/prefer-includes
|
|
90939
91021
|
vt.indexOf("<") === -1)
|
|
90940
91022
|
return de && nt ? de.createHTML(vt) : vt;
|
|
90941
|
-
if (gt =
|
|
91023
|
+
if (gt = Lt(vt), !gt)
|
|
90942
91024
|
return Ue ? null : nt ? ue : "";
|
|
90943
91025
|
}
|
|
90944
|
-
gt && Ke &&
|
|
91026
|
+
gt && Ke && Ot(gt.firstChild);
|
|
90945
91027
|
const Pt = ut(Be ? vt : gt);
|
|
90946
91028
|
for (; St = Pt.nextNode(); )
|
|
90947
91029
|
Rt(St) || (St.content instanceof K && Ht(St.content), Vt(St));
|
|
@@ -90949,11 +91031,11 @@ function createDOMPurify() {
|
|
|
90949
91031
|
return vt;
|
|
90950
91032
|
if (Ue) {
|
|
90951
91033
|
if (it)
|
|
90952
|
-
for (
|
|
90953
|
-
|
|
91034
|
+
for (Mt = ge.call(gt.ownerDocument); gt.firstChild; )
|
|
91035
|
+
Mt.appendChild(gt.firstChild);
|
|
90954
91036
|
else
|
|
90955
|
-
|
|
90956
|
-
return (Je.shadowroot || Je.shadowrootmode) && (
|
|
91037
|
+
Mt = gt;
|
|
91038
|
+
return (Je.shadowroot || Je.shadowrootmode) && (Mt = me.call(Q, Mt, !0)), Mt;
|
|
90957
91039
|
}
|
|
90958
91040
|
let Nt = je ? gt.outerHTML : gt.innerHTML;
|
|
90959
91041
|
return je && Se["!doctype"] && gt.ownerDocument && gt.ownerDocument.doctype && gt.ownerDocument.doctype.name && regExpTest(DOCTYPE_NAME, gt.ownerDocument.doctype.name) && (Nt = "<!DOCTYPE " + gt.ownerDocument.doctype.name + `>
|
|
@@ -131924,13 +132006,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
131924
132006
|
var Dt = ft.items.length;
|
|
131925
132007
|
for (tt = 0; tt < Dt; tt++) {
|
|
131926
132008
|
this.lexer.state.top = !1, ft.items[tt].tokens = this.lexer.blockTokens(ft.items[tt].text, []);
|
|
131927
|
-
var xt = ft.items[tt].tokens.filter(function(
|
|
131928
|
-
return
|
|
131929
|
-
}), Et = xt.every(function(
|
|
131930
|
-
for (var jt =
|
|
131931
|
-
var ut =
|
|
132009
|
+
var xt = ft.items[tt].tokens.filter(function(At) {
|
|
132010
|
+
return At.type === "space";
|
|
132011
|
+
}), Et = xt.every(function(At) {
|
|
132012
|
+
for (var jt = At.raw.split(""), Ot = 0, Wt = G(jt), Lt; !(Lt = Wt()).done; ) {
|
|
132013
|
+
var ut = Lt.value;
|
|
131932
132014
|
if (ut === `
|
|
131933
|
-
` && (
|
|
132015
|
+
` && (Ot += 1), Ot > 1)
|
|
131934
132016
|
return !0;
|
|
131935
132017
|
}
|
|
131936
132018
|
return !1;
|
|
@@ -152627,37 +152709,37 @@ registerLanguage({
|
|
|
152627
152709
|
id: "freemarker2",
|
|
152628
152710
|
extensions: [".ftl", ".ftlh", ".ftlx"],
|
|
152629
152711
|
aliases: ["FreeMarker2", "Apache FreeMarker2"],
|
|
152630
|
-
loader: () => import("./freemarker2-
|
|
152712
|
+
loader: () => import("./freemarker2-e6a04f32.js").then((W) => W.TagAutoInterpolationDollar)
|
|
152631
152713
|
});
|
|
152632
152714
|
registerLanguage({
|
|
152633
152715
|
id: "freemarker2.tag-angle.interpolation-dollar",
|
|
152634
152716
|
aliases: ["FreeMarker2 (Angle/Dollar)", "Apache FreeMarker2 (Angle/Dollar)"],
|
|
152635
|
-
loader: () => import("./freemarker2-
|
|
152717
|
+
loader: () => import("./freemarker2-e6a04f32.js").then((W) => W.TagAngleInterpolationDollar)
|
|
152636
152718
|
});
|
|
152637
152719
|
registerLanguage({
|
|
152638
152720
|
id: "freemarker2.tag-bracket.interpolation-dollar",
|
|
152639
152721
|
aliases: ["FreeMarker2 (Bracket/Dollar)", "Apache FreeMarker2 (Bracket/Dollar)"],
|
|
152640
|
-
loader: () => import("./freemarker2-
|
|
152722
|
+
loader: () => import("./freemarker2-e6a04f32.js").then((W) => W.TagBracketInterpolationDollar)
|
|
152641
152723
|
});
|
|
152642
152724
|
registerLanguage({
|
|
152643
152725
|
id: "freemarker2.tag-angle.interpolation-bracket",
|
|
152644
152726
|
aliases: ["FreeMarker2 (Angle/Bracket)", "Apache FreeMarker2 (Angle/Bracket)"],
|
|
152645
|
-
loader: () => import("./freemarker2-
|
|
152727
|
+
loader: () => import("./freemarker2-e6a04f32.js").then((W) => W.TagAngleInterpolationBracket)
|
|
152646
152728
|
});
|
|
152647
152729
|
registerLanguage({
|
|
152648
152730
|
id: "freemarker2.tag-bracket.interpolation-bracket",
|
|
152649
152731
|
aliases: ["FreeMarker2 (Bracket/Bracket)", "Apache FreeMarker2 (Bracket/Bracket)"],
|
|
152650
|
-
loader: () => import("./freemarker2-
|
|
152732
|
+
loader: () => import("./freemarker2-e6a04f32.js").then((W) => W.TagBracketInterpolationBracket)
|
|
152651
152733
|
});
|
|
152652
152734
|
registerLanguage({
|
|
152653
152735
|
id: "freemarker2.tag-auto.interpolation-dollar",
|
|
152654
152736
|
aliases: ["FreeMarker2 (Auto/Dollar)", "Apache FreeMarker2 (Auto/Dollar)"],
|
|
152655
|
-
loader: () => import("./freemarker2-
|
|
152737
|
+
loader: () => import("./freemarker2-e6a04f32.js").then((W) => W.TagAutoInterpolationDollar)
|
|
152656
152738
|
});
|
|
152657
152739
|
registerLanguage({
|
|
152658
152740
|
id: "freemarker2.tag-auto.interpolation-bracket",
|
|
152659
152741
|
aliases: ["FreeMarker2 (Auto/Bracket)", "Apache FreeMarker2 (Auto/Bracket)"],
|
|
152660
|
-
loader: () => import("./freemarker2-
|
|
152742
|
+
loader: () => import("./freemarker2-e6a04f32.js").then((W) => W.TagAutoInterpolationBracket)
|
|
152661
152743
|
});
|
|
152662
152744
|
/*!-----------------------------------------------------------------------------
|
|
152663
152745
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -152695,7 +152777,7 @@ registerLanguage({
|
|
|
152695
152777
|
extensions: [".handlebars", ".hbs"],
|
|
152696
152778
|
aliases: ["Handlebars", "handlebars", "hbs"],
|
|
152697
152779
|
mimetypes: ["text/x-handlebars-template"],
|
|
152698
|
-
loader: () => import("./handlebars-
|
|
152780
|
+
loader: () => import("./handlebars-575945ec.js")
|
|
152699
152781
|
});
|
|
152700
152782
|
/*!-----------------------------------------------------------------------------
|
|
152701
152783
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -152720,7 +152802,7 @@ registerLanguage({
|
|
|
152720
152802
|
extensions: [".html", ".htm", ".shtml", ".xhtml", ".mdoc", ".jsp", ".asp", ".aspx", ".jshtm"],
|
|
152721
152803
|
aliases: ["HTML", "htm", "html", "xhtml"],
|
|
152722
152804
|
mimetypes: ["text/html", "text/x-jshtm", "text/template", "text/ng-template"],
|
|
152723
|
-
loader: () => import("./html-
|
|
152805
|
+
loader: () => import("./html-f3a805d8.js")
|
|
152724
152806
|
});
|
|
152725
152807
|
/*!-----------------------------------------------------------------------------
|
|
152726
152808
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -152761,7 +152843,7 @@ registerLanguage({
|
|
|
152761
152843
|
filenames: ["jakefile"],
|
|
152762
152844
|
aliases: ["JavaScript", "javascript", "js"],
|
|
152763
152845
|
mimetypes: ["text/javascript"],
|
|
152764
|
-
loader: () => import("./javascript-
|
|
152846
|
+
loader: () => import("./javascript-788e6bff.js")
|
|
152765
152847
|
});
|
|
152766
152848
|
/*!-----------------------------------------------------------------------------
|
|
152767
152849
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -152836,7 +152918,7 @@ registerLanguage({
|
|
|
152836
152918
|
extensions: [".liquid", ".html.liquid"],
|
|
152837
152919
|
aliases: ["Liquid", "liquid"],
|
|
152838
152920
|
mimetypes: ["application/liquid"],
|
|
152839
|
-
loader: () => import("./liquid-
|
|
152921
|
+
loader: () => import("./liquid-d56c4af6.js")
|
|
152840
152922
|
});
|
|
152841
152923
|
/*!-----------------------------------------------------------------------------
|
|
152842
152924
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -152872,7 +152954,7 @@ registerLanguage({
|
|
|
152872
152954
|
id: "mdx",
|
|
152873
152955
|
extensions: [".mdx"],
|
|
152874
152956
|
aliases: ["MDX", "mdx"],
|
|
152875
|
-
loader: () => import("./mdx-
|
|
152957
|
+
loader: () => import("./mdx-96b61891.js")
|
|
152876
152958
|
});
|
|
152877
152959
|
/*!-----------------------------------------------------------------------------
|
|
152878
152960
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -153067,7 +153149,7 @@ registerLanguage({
|
|
|
153067
153149
|
extensions: [".py", ".rpy", ".pyw", ".cpy", ".gyp", ".gypi"],
|
|
153068
153150
|
aliases: ["Python", "py"],
|
|
153069
153151
|
firstLine: "^#!/.*\\bpython[0-9.-]*\\b",
|
|
153070
|
-
loader: () => import("./python-
|
|
153152
|
+
loader: () => import("./python-30a48b8a.js")
|
|
153071
153153
|
});
|
|
153072
153154
|
/*!-----------------------------------------------------------------------------
|
|
153073
153155
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -153104,7 +153186,7 @@ registerLanguage({
|
|
|
153104
153186
|
extensions: [".cshtml"],
|
|
153105
153187
|
aliases: ["Razor", "razor"],
|
|
153106
153188
|
mimetypes: ["text/x-cshtml"],
|
|
153107
|
-
loader: () => import("./razor-
|
|
153189
|
+
loader: () => import("./razor-e7368a30.js")
|
|
153108
153190
|
});
|
|
153109
153191
|
/*!-----------------------------------------------------------------------------
|
|
153110
153192
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -153356,7 +153438,7 @@ registerLanguage({
|
|
|
153356
153438
|
extensions: [".ts", ".tsx", ".cts", ".mts"],
|
|
153357
153439
|
aliases: ["TypeScript", "ts", "typescript"],
|
|
153358
153440
|
mimetypes: ["text/typescript"],
|
|
153359
|
-
loader: () => import("./typescript-
|
|
153441
|
+
loader: () => import("./typescript-bad82d7a.js")
|
|
153360
153442
|
});
|
|
153361
153443
|
/*!-----------------------------------------------------------------------------
|
|
153362
153444
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -153412,7 +153494,7 @@ registerLanguage({
|
|
|
153412
153494
|
firstLine: "(\\<\\?xml.*)|(\\<svg)|(\\<\\!doctype\\s+svg)",
|
|
153413
153495
|
aliases: ["XML", "xml"],
|
|
153414
153496
|
mimetypes: ["text/xml", "application/xml", "application/xaml+xml", "application/xml-dtd"],
|
|
153415
|
-
loader: () => import("./xml-
|
|
153497
|
+
loader: () => import("./xml-8d9a5c83.js")
|
|
153416
153498
|
});
|
|
153417
153499
|
/*!-----------------------------------------------------------------------------
|
|
153418
153500
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -153425,7 +153507,7 @@ registerLanguage({
|
|
|
153425
153507
|
extensions: [".yaml", ".yml"],
|
|
153426
153508
|
aliases: ["YAML", "yaml", "YML", "yml"],
|
|
153427
153509
|
mimetypes: ["application/x-yaml", "text/x-yaml"],
|
|
153428
|
-
loader: () => import("./yaml-
|
|
153510
|
+
loader: () => import("./yaml-7108d220.js")
|
|
153429
153511
|
});
|
|
153430
153512
|
/*!-----------------------------------------------------------------------------
|
|
153431
153513
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -153520,7 +153602,7 @@ var LanguageServiceDefaultsImpl$3 = class {
|
|
|
153520
153602
|
}, cssDefaults = new LanguageServiceDefaultsImpl$3("css", optionsDefault$1, modeConfigurationDefault$2), scssDefaults = new LanguageServiceDefaultsImpl$3("scss", optionsDefault$1, modeConfigurationDefault$2), lessDefaults = new LanguageServiceDefaultsImpl$3("less", optionsDefault$1, modeConfigurationDefault$2);
|
|
153521
153603
|
monaco_editor_core_exports$3.languages.css = { cssDefaults, lessDefaults, scssDefaults };
|
|
153522
153604
|
function getMode$3() {
|
|
153523
|
-
return import("./cssMode-
|
|
153605
|
+
return import("./cssMode-425e50b8.js");
|
|
153524
153606
|
}
|
|
153525
153607
|
monaco_editor_core_exports$3.languages.onLanguage("less", () => {
|
|
153526
153608
|
getMode$3().then((W) => W.setupMode(lessDefaults));
|
|
@@ -153615,7 +153697,7 @@ monaco_editor_core_exports$2.languages.html = {
|
|
|
153615
153697
|
registerHTMLLanguageService
|
|
153616
153698
|
};
|
|
153617
153699
|
function getMode$2() {
|
|
153618
|
-
return import("./htmlMode-
|
|
153700
|
+
return import("./htmlMode-bb801b8b.js");
|
|
153619
153701
|
}
|
|
153620
153702
|
function registerHTMLLanguageService(W, C = optionsDefault, Q = getConfigurationDefault(W)) {
|
|
153621
153703
|
const Z = new LanguageServiceDefaultsImpl$2(W, C, Q);
|
|
@@ -153692,7 +153774,7 @@ var LanguageServiceDefaultsImpl$1 = class {
|
|
|
153692
153774
|
}, jsonDefaults = new LanguageServiceDefaultsImpl$1("json", diagnosticDefault, modeConfigurationDefault$1);
|
|
153693
153775
|
monaco_editor_core_exports$1.languages.json = { jsonDefaults };
|
|
153694
153776
|
function getMode$1() {
|
|
153695
|
-
return import("./jsonMode-
|
|
153777
|
+
return import("./jsonMode-12f6723f.js");
|
|
153696
153778
|
}
|
|
153697
153779
|
monaco_editor_core_exports$1.languages.register({
|
|
153698
153780
|
id: "json",
|
|
@@ -153855,7 +153937,7 @@ monaco_editor_core_exports.languages.typescript = {
|
|
|
153855
153937
|
getJavaScriptWorker
|
|
153856
153938
|
};
|
|
153857
153939
|
function getMode() {
|
|
153858
|
-
return import("./tsMode-
|
|
153940
|
+
return import("./tsMode-a3191710.js");
|
|
153859
153941
|
}
|
|
153860
153942
|
monaco_editor_core_exports.languages.onLanguage("typescript", () => getMode().then((W) => W.setupTypeScript(typescriptDefaults)));
|
|
153861
153943
|
monaco_editor_core_exports.languages.onLanguage("javascript", () => getMode().then((W) => W.setupJavaScript(javascriptDefaults)));
|
|
@@ -188432,6 +188514,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
188432
188514
|
{ title: "操作属性", type: "czsx", options: ["只读", "隐藏"] },
|
|
188433
188515
|
{ title: "校验", bind: "guize", type: "guize", placeholder: "", mode: "simple" },
|
|
188434
188516
|
//simple 为简单模式 pro 为全模式
|
|
188517
|
+
{ title: "提示信息", bind: "tooltip", type: "input", placeholder: "" },
|
|
188435
188518
|
// { title: '字典', bind: 'dic', type: 'dicall', placeholder: '' },
|
|
188436
188519
|
{ title: "字典选项", bind: "dictType", type: "dicall", placeholder: "" },
|
|
188437
188520
|
{ title: "扩展事件", type: "eventextended", options: ["blur", "change"] },
|
|
@@ -188475,6 +188558,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
188475
188558
|
{ title: "标题", bind: "name", type: "input", placeholder: "", required: !0 },
|
|
188476
188559
|
{ title: "占位内容", bind: "placeholder", type: "input", placeholder: "" },
|
|
188477
188560
|
...baseProperties$1,
|
|
188561
|
+
{ title: "提示信息", bind: "tooltip", type: "input", placeholder: "" },
|
|
188478
188562
|
{ title: "操作属性", type: "czsx", options: ["只读", "清除", "隐藏", "去边框"] },
|
|
188479
188563
|
{ title: "前缀", bind: "prefix", type: "input", placeholder: "" },
|
|
188480
188564
|
{ title: "后缀", bind: "suffix", type: "input", placeholder: "" },
|
|
@@ -188550,7 +188634,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
188550
188634
|
{ title: "选中字段绑定(唯一)", bind: "tableKeyName", type: "input", placeholder: "", required: !0 },
|
|
188551
188635
|
{ title: "显示字段绑定", bind: "tableLabelName", type: "input", placeholder: "", required: !0 },
|
|
188552
188636
|
{ title: "操作属性", type: "czsx", options: ["只读", "隐藏"] },
|
|
188553
|
-
{ title: "校验", bind: "guize", type: "guize", placeholder: "", mode: "
|
|
188637
|
+
{ title: "校验", bind: "guize", type: "guize", placeholder: "", mode: "pro" },
|
|
188554
188638
|
//simple 为简单模式 pro 为全模式
|
|
188555
188639
|
{ title: "扩展事件", type: "eventextended", options: ["blur", "rowChange", "clear"] },
|
|
188556
188640
|
...extendProperties$1
|
|
@@ -190211,7 +190295,7 @@ const DatePicker = locale, typeTemplate = "${label}不是一个有效的${type}"
|
|
|
190211
190295
|
}
|
|
190212
190296
|
},
|
|
190213
190297
|
setup(W, { expose: C }) {
|
|
190214
|
-
const Q = /* @__PURE__ */ Object.assign({ "/src/App.vue": () => import("./App-
|
|
190298
|
+
const Q = /* @__PURE__ */ Object.assign({ "/src/App.vue": () => import("./App-26903e06.js"), "/src/components/HelloWorld.vue": () => import("./HelloWorld-97c6e624.js"), "/src/components/cModal/index.vue": () => Promise.resolve().then(() => index$5), "/src/components/form-widget/widget/childForm.vue": () => import("./childForm-4472e3bc.js"), "/src/components/form-widget/widget/collapsePanel.vue": () => Promise.resolve().then(() => collapsePanel), "/src/components/form-widget/widget/tableSelect.vue": () => Promise.resolve().then(() => tableSelect), "/src/components/form-widget/widget/tableSelectDemo.vue": () => import("./tableSelectDemo-6c07d419.js"), "/src/components/form-widget/widget/tableSelectDemo2.vue": () => import("./tableSelectDemo2-10eaacb1.js"), "/src/components/generate/Demo.vue": () => import("./Demo-1c035d57.js"), "/src/components/generate/GenerateForm.vue": () => import("./GenerateForm-3dd5ba88.js"), "/src/components/generate/GenerateReport.vue": () => import("./GenerateReport-c3e386bc.js"), "/src/components/icon/SvgIcon.vue": () => Promise.resolve().then(() => SvgIcon$1), "/src/components/monaco/monacoEditor.vue": () => Promise.resolve().then(() => monacoEditor$1), "/src/components/table/cTable.vue": () => import("./cTable-c7958291.js"), "/src/components/wonderform/config/ReportIndex.vue": () => Promise.resolve().then(() => ReportIndex), "/src/components/wonderform/config/index.vue": () => Promise.resolve().then(() => index$6), "/src/components/wonderform/config/modules/Col.vue": () => import("./Col-b530ffff.js"), "/src/components/wonderform/config/modules/Collapse.vue": () => import("./Collapse-21a82f39.js"), "/src/components/wonderform/config/modules/DataSource.vue": () => Promise.resolve().then(() => DataSource$2), "/src/components/wonderform/config/modules/FX.vue": () => import("./FX-799ffd23.js"), "/src/components/wonderform/config/modules/Form.vue": () => Promise.resolve().then(() => Form), "/src/components/wonderform/config/modules/FormSetting.vue": () => Promise.resolve().then(() => FormSetting$1), "/src/components/wonderform/config/modules/FormSettingIndex.vue": () => Promise.resolve().then(() => FormSettingIndex), "/src/components/wonderform/config/modules/Grid.vue": () => Promise.resolve().then(() => Grid), "/src/components/wonderform/config/modules/Input-删除.vue": () => import("./Input-删除-a3076b08.js"), "/src/components/wonderform/config/modules/Label-删除.vue": () => import("./Label-删除-32d4149f.js"), "/src/components/wonderform/config/modules/Properties.vue": () => Promise.resolve().then(() => Properties), "/src/components/wonderform/config/modules/ReportProperties.vue": () => Promise.resolve().then(() => ReportProperties), "/src/components/wonderform/config/modules/Table.vue": () => import("./Table-7c954b3a.js"), "/src/components/wonderform/config/modules/TableBtnModal.vue": () => import("./TableBtnModal-4a0e8be9.js"), "/src/components/wonderform/config/modules/TableColumn.vue": () => Promise.resolve().then(() => TableColumn$1), "/src/components/wonderform/config/modules/Tabs.vue": () => Promise.resolve().then(() => Tabs), "/src/components/wonderform/config/modules/TypeScript.vue": () => Promise.resolve().then(() => TypeScript$1), "/src/components/wonderform/design/Form.vue": () => import("./Form-40f53810.js"), "/src/components/wonderform/design/index.vue": () => Promise.resolve().then(() => index$7), "/src/components/wonderform/design/modules/FormCol.vue": () => Promise.resolve().then(() => FormCol$1), "/src/components/wonderform/design/modules/FormCollapse.vue": () => Promise.resolve().then(() => FormCollapse$1), "/src/components/wonderform/design/modules/FormGrid.vue": () => Promise.resolve().then(() => FormGrid$1), "/src/components/wonderform/design/modules/FormGridCopy.vue": () => import("./FormGridCopy-941f3b0f.js"), "/src/components/wonderform/design/modules/FormInput.vue": () => Promise.resolve().then(() => FormInput$1), "/src/components/wonderform/design/modules/FormReport.vue": () => Promise.resolve().then(() => FormReport$1), "/src/components/wonderform/design/modules/FormTable.vue": () => Promise.resolve().then(() => FormTable$1), "/src/components/wonderform/design/modules/FormTabs.vue": () => Promise.resolve().then(() => FormTabs$1), "/src/components/wonderform/design/modules/FormVue.vue": () => Promise.resolve().then(() => FormVue$1), "/src/components/wonderform/dsource/index.vue": () => Promise.resolve().then(() => index$4), "/src/components/wonderform/dsource/modules/SqlModule.vue": () => import("./SqlModule-5bf04b12.js"), "/src/components/wonderform/header/Header.vue": () => Promise.resolve().then(() => Header), "/src/components/wonderform/header/modules/Code.vue": () => import("./Code-fa80ed62.js"), "/src/components/wonderform/index.vue": () => Promise.resolve().then(() => index$3), "/src/components/wonderform/tool/index.vue": () => Promise.resolve().then(() => index$9), "/src/components/wonderreport/Demo.vue": () => import("./Demo-be0d3a37.js"), "/src/components/wonderreport/ReportModule.vue": () => import("./ReportModule-347a3e40.js"), "/src/components/wonderreport/header/index.vue": () => Promise.resolve().then(() => index$2), "/src/components/wonderreport/index.vue": () => Promise.resolve().then(() => index$1), "/src/views/formTest.vue": () => import("./formTest-5daf7d45.js"), "/src/views/sys/login/Login.vue": () => import("./Login-08151a1f.js"), "/src/views/workbench/index.vue": () => import("./index-6ddc8556.js") });
|
|
190215
190299
|
let Z = ref(!1), H = ref(!1), K = ref(), G = ref(!1);
|
|
190216
190300
|
const U = computed(() => defineAsyncComponent(Q[`/src/${X.filePath}.vue`])), X = W, ee = computed(() => X.footer ? "" : { footer: null });
|
|
190217
190301
|
C({
|
|
@@ -190463,7 +190547,7 @@ const DatePicker = locale, typeTemplate = "${label}不是一个有效的${type}"
|
|
|
190463
190547
|
ne("update:value", le);
|
|
190464
190548
|
}
|
|
190465
190549
|
});
|
|
190466
|
-
const X = /* @__PURE__ */ Object.assign({ "/src/App.vue": () => import("./App-
|
|
190550
|
+
const X = /* @__PURE__ */ Object.assign({ "/src/App.vue": () => import("./App-26903e06.js"), "/src/components/HelloWorld.vue": () => import("./HelloWorld-97c6e624.js"), "/src/components/cModal/index.vue": () => Promise.resolve().then(() => index$5), "/src/components/form-widget/widget/childForm.vue": () => import("./childForm-4472e3bc.js"), "/src/components/form-widget/widget/collapsePanel.vue": () => Promise.resolve().then(() => collapsePanel), "/src/components/form-widget/widget/tableSelect.vue": () => Promise.resolve().then(() => tableSelect), "/src/components/form-widget/widget/tableSelectDemo.vue": () => import("./tableSelectDemo-6c07d419.js"), "/src/components/form-widget/widget/tableSelectDemo2.vue": () => import("./tableSelectDemo2-10eaacb1.js"), "/src/components/generate/Demo.vue": () => import("./Demo-1c035d57.js"), "/src/components/generate/GenerateForm.vue": () => import("./GenerateForm-3dd5ba88.js"), "/src/components/generate/GenerateReport.vue": () => import("./GenerateReport-c3e386bc.js"), "/src/components/icon/SvgIcon.vue": () => Promise.resolve().then(() => SvgIcon$1), "/src/components/monaco/monacoEditor.vue": () => Promise.resolve().then(() => monacoEditor$1), "/src/components/table/cTable.vue": () => import("./cTable-c7958291.js"), "/src/components/wonderform/config/ReportIndex.vue": () => Promise.resolve().then(() => ReportIndex), "/src/components/wonderform/config/index.vue": () => Promise.resolve().then(() => index$6), "/src/components/wonderform/config/modules/Col.vue": () => import("./Col-b530ffff.js"), "/src/components/wonderform/config/modules/Collapse.vue": () => import("./Collapse-21a82f39.js"), "/src/components/wonderform/config/modules/DataSource.vue": () => Promise.resolve().then(() => DataSource$2), "/src/components/wonderform/config/modules/FX.vue": () => import("./FX-799ffd23.js"), "/src/components/wonderform/config/modules/Form.vue": () => Promise.resolve().then(() => Form), "/src/components/wonderform/config/modules/FormSetting.vue": () => Promise.resolve().then(() => FormSetting$1), "/src/components/wonderform/config/modules/FormSettingIndex.vue": () => Promise.resolve().then(() => FormSettingIndex), "/src/components/wonderform/config/modules/Grid.vue": () => Promise.resolve().then(() => Grid), "/src/components/wonderform/config/modules/Input-删除.vue": () => import("./Input-删除-a3076b08.js"), "/src/components/wonderform/config/modules/Label-删除.vue": () => import("./Label-删除-32d4149f.js"), "/src/components/wonderform/config/modules/Properties.vue": () => Promise.resolve().then(() => Properties), "/src/components/wonderform/config/modules/ReportProperties.vue": () => Promise.resolve().then(() => ReportProperties), "/src/components/wonderform/config/modules/Table.vue": () => import("./Table-7c954b3a.js"), "/src/components/wonderform/config/modules/TableBtnModal.vue": () => import("./TableBtnModal-4a0e8be9.js"), "/src/components/wonderform/config/modules/TableColumn.vue": () => Promise.resolve().then(() => TableColumn$1), "/src/components/wonderform/config/modules/Tabs.vue": () => Promise.resolve().then(() => Tabs), "/src/components/wonderform/config/modules/TypeScript.vue": () => Promise.resolve().then(() => TypeScript$1), "/src/components/wonderform/design/Form.vue": () => import("./Form-40f53810.js"), "/src/components/wonderform/design/index.vue": () => Promise.resolve().then(() => index$7), "/src/components/wonderform/design/modules/FormCol.vue": () => Promise.resolve().then(() => FormCol$1), "/src/components/wonderform/design/modules/FormCollapse.vue": () => Promise.resolve().then(() => FormCollapse$1), "/src/components/wonderform/design/modules/FormGrid.vue": () => Promise.resolve().then(() => FormGrid$1), "/src/components/wonderform/design/modules/FormGridCopy.vue": () => import("./FormGridCopy-941f3b0f.js"), "/src/components/wonderform/design/modules/FormInput.vue": () => Promise.resolve().then(() => FormInput$1), "/src/components/wonderform/design/modules/FormReport.vue": () => Promise.resolve().then(() => FormReport$1), "/src/components/wonderform/design/modules/FormTable.vue": () => Promise.resolve().then(() => FormTable$1), "/src/components/wonderform/design/modules/FormTabs.vue": () => Promise.resolve().then(() => FormTabs$1), "/src/components/wonderform/design/modules/FormVue.vue": () => Promise.resolve().then(() => FormVue$1), "/src/components/wonderform/dsource/index.vue": () => Promise.resolve().then(() => index$4), "/src/components/wonderform/dsource/modules/SqlModule.vue": () => import("./SqlModule-5bf04b12.js"), "/src/components/wonderform/header/Header.vue": () => Promise.resolve().then(() => Header), "/src/components/wonderform/header/modules/Code.vue": () => import("./Code-fa80ed62.js"), "/src/components/wonderform/index.vue": () => Promise.resolve().then(() => index$3), "/src/components/wonderform/tool/index.vue": () => Promise.resolve().then(() => index$9), "/src/components/wonderreport/Demo.vue": () => import("./Demo-be0d3a37.js"), "/src/components/wonderreport/ReportModule.vue": () => import("./ReportModule-347a3e40.js"), "/src/components/wonderreport/header/index.vue": () => Promise.resolve().then(() => index$2), "/src/components/wonderreport/index.vue": () => Promise.resolve().then(() => index$1), "/src/views/formTest.vue": () => import("./formTest-5daf7d45.js"), "/src/views/sys/login/Login.vue": () => import("./Login-08151a1f.js"), "/src/views/workbench/index.vue": () => import("./index-6ddc8556.js") }), ee = computed(() => {
|
|
190467
190551
|
if (Q.filePath) {
|
|
190468
190552
|
let le = `/src/${Q.filePath}.vue`;
|
|
190469
190553
|
return Q.filePath ? Object.keys(X).includes(le) : !1;
|
|
@@ -190543,7 +190627,7 @@ const DatePicker = locale, typeTemplate = "${label}不是一个有效的${type}"
|
|
|
190543
190627
|
}
|
|
190544
190628
|
},
|
|
190545
190629
|
setup(W) {
|
|
190546
|
-
const C = /* @__PURE__ */ Object.assign({ "/src/App.vue": () => import("./App-
|
|
190630
|
+
const C = /* @__PURE__ */ Object.assign({ "/src/App.vue": () => import("./App-26903e06.js"), "/src/components/HelloWorld.vue": () => import("./HelloWorld-97c6e624.js"), "/src/components/cModal/index.vue": () => Promise.resolve().then(() => index$5), "/src/components/form-widget/widget/childForm.vue": () => import("./childForm-4472e3bc.js"), "/src/components/form-widget/widget/collapsePanel.vue": () => Promise.resolve().then(() => collapsePanel), "/src/components/form-widget/widget/tableSelect.vue": () => Promise.resolve().then(() => tableSelect), "/src/components/form-widget/widget/tableSelectDemo.vue": () => import("./tableSelectDemo-6c07d419.js"), "/src/components/form-widget/widget/tableSelectDemo2.vue": () => import("./tableSelectDemo2-10eaacb1.js"), "/src/components/generate/Demo.vue": () => import("./Demo-1c035d57.js"), "/src/components/generate/GenerateForm.vue": () => import("./GenerateForm-3dd5ba88.js"), "/src/components/generate/GenerateReport.vue": () => import("./GenerateReport-c3e386bc.js"), "/src/components/icon/SvgIcon.vue": () => Promise.resolve().then(() => SvgIcon$1), "/src/components/monaco/monacoEditor.vue": () => Promise.resolve().then(() => monacoEditor$1), "/src/components/table/cTable.vue": () => import("./cTable-c7958291.js"), "/src/components/wonderform/config/ReportIndex.vue": () => Promise.resolve().then(() => ReportIndex), "/src/components/wonderform/config/index.vue": () => Promise.resolve().then(() => index$6), "/src/components/wonderform/config/modules/Col.vue": () => import("./Col-b530ffff.js"), "/src/components/wonderform/config/modules/Collapse.vue": () => import("./Collapse-21a82f39.js"), "/src/components/wonderform/config/modules/DataSource.vue": () => Promise.resolve().then(() => DataSource$2), "/src/components/wonderform/config/modules/FX.vue": () => import("./FX-799ffd23.js"), "/src/components/wonderform/config/modules/Form.vue": () => Promise.resolve().then(() => Form), "/src/components/wonderform/config/modules/FormSetting.vue": () => Promise.resolve().then(() => FormSetting$1), "/src/components/wonderform/config/modules/FormSettingIndex.vue": () => Promise.resolve().then(() => FormSettingIndex), "/src/components/wonderform/config/modules/Grid.vue": () => Promise.resolve().then(() => Grid), "/src/components/wonderform/config/modules/Input-删除.vue": () => import("./Input-删除-a3076b08.js"), "/src/components/wonderform/config/modules/Label-删除.vue": () => import("./Label-删除-32d4149f.js"), "/src/components/wonderform/config/modules/Properties.vue": () => Promise.resolve().then(() => Properties), "/src/components/wonderform/config/modules/ReportProperties.vue": () => Promise.resolve().then(() => ReportProperties), "/src/components/wonderform/config/modules/Table.vue": () => import("./Table-7c954b3a.js"), "/src/components/wonderform/config/modules/TableBtnModal.vue": () => import("./TableBtnModal-4a0e8be9.js"), "/src/components/wonderform/config/modules/TableColumn.vue": () => Promise.resolve().then(() => TableColumn$1), "/src/components/wonderform/config/modules/Tabs.vue": () => Promise.resolve().then(() => Tabs), "/src/components/wonderform/config/modules/TypeScript.vue": () => Promise.resolve().then(() => TypeScript$1), "/src/components/wonderform/design/Form.vue": () => import("./Form-40f53810.js"), "/src/components/wonderform/design/index.vue": () => Promise.resolve().then(() => index$7), "/src/components/wonderform/design/modules/FormCol.vue": () => Promise.resolve().then(() => FormCol$1), "/src/components/wonderform/design/modules/FormCollapse.vue": () => Promise.resolve().then(() => FormCollapse$1), "/src/components/wonderform/design/modules/FormGrid.vue": () => Promise.resolve().then(() => FormGrid$1), "/src/components/wonderform/design/modules/FormGridCopy.vue": () => import("./FormGridCopy-941f3b0f.js"), "/src/components/wonderform/design/modules/FormInput.vue": () => Promise.resolve().then(() => FormInput$1), "/src/components/wonderform/design/modules/FormReport.vue": () => Promise.resolve().then(() => FormReport$1), "/src/components/wonderform/design/modules/FormTable.vue": () => Promise.resolve().then(() => FormTable$1), "/src/components/wonderform/design/modules/FormTabs.vue": () => Promise.resolve().then(() => FormTabs$1), "/src/components/wonderform/design/modules/FormVue.vue": () => Promise.resolve().then(() => FormVue$1), "/src/components/wonderform/dsource/index.vue": () => Promise.resolve().then(() => index$4), "/src/components/wonderform/dsource/modules/SqlModule.vue": () => import("./SqlModule-5bf04b12.js"), "/src/components/wonderform/header/Header.vue": () => Promise.resolve().then(() => Header), "/src/components/wonderform/header/modules/Code.vue": () => import("./Code-fa80ed62.js"), "/src/components/wonderform/index.vue": () => Promise.resolve().then(() => index$3), "/src/components/wonderform/tool/index.vue": () => Promise.resolve().then(() => index$9), "/src/components/wonderreport/Demo.vue": () => import("./Demo-be0d3a37.js"), "/src/components/wonderreport/ReportModule.vue": () => import("./ReportModule-347a3e40.js"), "/src/components/wonderreport/header/index.vue": () => Promise.resolve().then(() => index$2), "/src/components/wonderreport/index.vue": () => Promise.resolve().then(() => index$1), "/src/views/formTest.vue": () => import("./formTest-5daf7d45.js"), "/src/views/sys/login/Login.vue": () => import("./Login-08151a1f.js"), "/src/views/workbench/index.vue": () => import("./index-6ddc8556.js") }), Q = W, Z = computed(() => {
|
|
190547
190631
|
if (Q.filePath) {
|
|
190548
190632
|
let K = `/src/${Q.filePath}.vue`;
|
|
190549
190633
|
return Q.filePath ? Object.keys(C).includes(K) : !1;
|
|
@@ -192448,7 +192532,8 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
192448
192532
|
const generateVue3 = defineComponent({
|
|
192449
192533
|
template: generateData.html,
|
|
192450
192534
|
components: {
|
|
192451
|
-
VNodes
|
|
192535
|
+
VNodes,
|
|
192536
|
+
InfoCircleOutlined: InfoCircleOutlined$1
|
|
192452
192537
|
},
|
|
192453
192538
|
props: {
|
|
192454
192539
|
message: String
|
|
@@ -194901,8 +194986,8 @@ function requireSha512() {
|
|
|
194901
194986
|
var Re = ne[Be - 15], Ae = Re.high, Ye = Re.low, Ge = (Ae >>> 1 | Ye << 31) ^ (Ae >>> 8 | Ye << 24) ^ Ae >>> 7, tt = (Ye >>> 1 | Ae << 31) ^ (Ye >>> 8 | Ae << 24) ^ (Ye >>> 7 | Ae << 25), st = ne[Be - 2], qe = st.high, Xe = st.low, rt = (qe >>> 19 | Xe << 13) ^ (qe << 3 | Xe >>> 29) ^ qe >>> 6, dt = (Xe >>> 19 | qe << 13) ^ (Xe << 3 | qe >>> 29) ^ (Xe >>> 6 | qe << 26), ct = ne[Be - 7], ht = ct.high, Ct = ct.low, It = ne[Be - 16], ft = It.high, pt = It.low;
|
|
194902
194987
|
Ze = tt + Ct, Me = Ge + ht + (Ze >>> 0 < tt >>> 0 ? 1 : 0), Ze = Ze + dt, Me = Me + rt + (Ze >>> 0 < dt >>> 0 ? 1 : 0), Ze = Ze + pt, Me = Me + ft + (Ze >>> 0 < pt >>> 0 ? 1 : 0), Oe.high = Me, Oe.low = Ze;
|
|
194903
194988
|
}
|
|
194904
|
-
var Jt = Ke & it ^ ~Ke & at, _t = Ue & nt ^ ~Ue & ot, yt = Fe & We ^ Fe & Ve ^ We & Ve, wt = Pe & $e ^ Pe & Te ^ $e & Te, Dt = (Fe >>> 28 | Pe << 4) ^ (Fe << 30 | Pe >>> 2) ^ (Fe << 25 | Pe >>> 7), xt = (Pe >>> 28 | Fe << 4) ^ (Pe << 30 | Fe >>> 2) ^ (Pe << 25 | Fe >>> 7), Et = (Ke >>> 14 | Ue << 18) ^ (Ke >>> 18 | Ue << 14) ^ (Ke << 23 | Ue >>> 9),
|
|
194905
|
-
lt = at, ze = ot, at = it, ot = nt, it = Ke, nt = Ue, Ue = He +
|
|
194989
|
+
var Jt = Ke & it ^ ~Ke & at, _t = Ue & nt ^ ~Ue & ot, yt = Fe & We ^ Fe & Ve ^ We & Ve, wt = Pe & $e ^ Pe & Te ^ $e & Te, Dt = (Fe >>> 28 | Pe << 4) ^ (Fe << 30 | Pe >>> 2) ^ (Fe << 25 | Pe >>> 7), xt = (Pe >>> 28 | Fe << 4) ^ (Pe << 30 | Fe >>> 2) ^ (Pe << 25 | Fe >>> 7), Et = (Ke >>> 14 | Ue << 18) ^ (Ke >>> 18 | Ue << 14) ^ (Ke << 23 | Ue >>> 9), At = (Ue >>> 14 | Ke << 18) ^ (Ue >>> 18 | Ke << 14) ^ (Ue << 23 | Ke >>> 9), jt = ie[Be], Ot = jt.high, Wt = jt.low, Lt = ze + At, ut = lt + Et + (Lt >>> 0 < ze >>> 0 ? 1 : 0), Lt = Lt + _t, ut = ut + Jt + (Lt >>> 0 < _t >>> 0 ? 1 : 0), Lt = Lt + Wt, ut = ut + Ot + (Lt >>> 0 < Wt >>> 0 ? 1 : 0), Lt = Lt + Ze, ut = ut + Me + (Lt >>> 0 < Ze >>> 0 ? 1 : 0), kt = xt + wt, bt = Dt + yt + (kt >>> 0 < xt >>> 0 ? 1 : 0);
|
|
194990
|
+
lt = at, ze = ot, at = it, ot = nt, it = Ke, nt = Ue, Ue = He + Lt | 0, Ke = je + ut + (Ue >>> 0 < He >>> 0 ? 1 : 0) | 0, je = Ve, He = Te, Ve = We, Te = $e, We = Fe, $e = Pe, Pe = Lt + kt | 0, Fe = ut + bt + (Pe >>> 0 < Lt >>> 0 ? 1 : 0) | 0;
|
|
194906
194991
|
}
|
|
194907
194992
|
pe = le.low = pe + Pe, le.high = me + Fe + (pe >>> 0 < Pe >>> 0 ? 1 : 0), ve = ce.low = ve + $e, ce.high = ke + We + (ve >>> 0 < $e >>> 0 ? 1 : 0), Ne = de.low = Ne + Te, de.high = be + Ve + (Ne >>> 0 < Te >>> 0 ? 1 : 0), xe = ue.low = xe + He, ue.high = Ie + je + (xe >>> 0 < He >>> 0 ? 1 : 0), ye = he.low = ye + Ue, he.high = De + Ke + (ye >>> 0 < Ue >>> 0 ? 1 : 0), we = Ce.low = we + nt, Ce.high = Se + it + (we >>> 0 < nt >>> 0 ? 1 : 0), Qe = ge.low = Qe + ot, ge.high = Je + at + (Qe >>> 0 < ot >>> 0 ? 1 : 0), Le = fe.low = Le + ze, fe.high = Ee + lt + (Le >>> 0 < ze >>> 0 ? 1 : 0);
|
|
194908
194993
|
},
|
|
@@ -199448,7 +199533,7 @@ const _hoisted_1$7 = { class: "flex-div" }, _hoisted_2$3 = ["title"], _hoisted_3
|
|
|
199448
199533
|
props: {
|
|
199449
199534
|
id: {
|
|
199450
199535
|
type: Number,
|
|
199451
|
-
default:
|
|
199536
|
+
default: 122
|
|
199452
199537
|
}
|
|
199453
199538
|
},
|
|
199454
199539
|
setup(W) {
|
|
@@ -199578,7 +199663,7 @@ const _hoisted_1$7 = { class: "flex-div" }, _hoisted_2$3 = ["title"], _hoisted_3
|
|
|
199578
199663
|
});
|
|
199579
199664
|
};
|
|
199580
199665
|
}
|
|
199581
|
-
}),
|
|
199666
|
+
}), index_vue_vue_type_style_index_0_scoped_b7aa872d_lang = "", FormImage = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-b7aa872d"]]), index$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
199582
199667
|
__proto__: null,
|
|
199583
199668
|
default: FormImage
|
|
199584
199669
|
}, Symbol.toStringTag, { value: "Module" })), _withScopeId = (W) => (pushScopeId("data-v-7f7a30c9"), W = W(), popScopeId(), W), _hoisted_1$4 = {
|
|
@@ -200604,13 +200689,13 @@ function generateReportHtml(W, C, Q, Z) {
|
|
|
200604
200689
|
const ie = W[te];
|
|
200605
200690
|
switch (X = ie.type, X) {
|
|
200606
200691
|
case "grid":
|
|
200607
|
-
G += generateGrid(ie, [], C, H, generateData);
|
|
200692
|
+
G += generateGrid(ie, [], C, Q, H, generateData);
|
|
200608
200693
|
break;
|
|
200609
200694
|
case "table":
|
|
200610
200695
|
G += generateReportTable(ie, te, Q, H, generateData, Z);
|
|
200611
200696
|
break;
|
|
200612
200697
|
default:
|
|
200613
|
-
G += generateBase(ie, [], H, generateData);
|
|
200698
|
+
G += generateBase(ie, [], Q, H, generateData);
|
|
200614
200699
|
}
|
|
200615
200700
|
}
|
|
200616
200701
|
const ee = JSON.stringify(generateData.value.searchData);
|
|
@@ -201113,7 +201198,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
201113
201198
|
props: {
|
|
201114
201199
|
id: {
|
|
201115
201200
|
type: Number,
|
|
201116
|
-
default:
|
|
201201
|
+
default: 31
|
|
201117
201202
|
}
|
|
201118
201203
|
},
|
|
201119
201204
|
setup(W) {
|
|
@@ -201223,12 +201308,12 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
201223
201308
|
});
|
|
201224
201309
|
};
|
|
201225
201310
|
}
|
|
201226
|
-
}),
|
|
201311
|
+
}), index_vue_vue_type_style_index_0_scoped_db3add86_lang = "", ReportImage = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-db3add86"]]), index$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
201227
201312
|
__proto__: null,
|
|
201228
|
-
default:
|
|
201313
|
+
default: ReportImage
|
|
201229
201314
|
}, Symbol.toStringTag, { value: "Module" })), index = {
|
|
201230
201315
|
install: (W) => {
|
|
201231
|
-
setupStore(W), W.component("CImaginForm", FormImage), W.component("CGenerateForm", _sfc_main$a), W.component("CImaginReport",
|
|
201316
|
+
setupStore(W), W.component("CImaginForm", FormImage), W.component("CGenerateForm", _sfc_main$a), W.component("CImaginReport", ReportImage), W.component("CCollapsePanel", CCollapsePanel), W.component("CGenerateReportV3", _sfc_main$3);
|
|
201232
201317
|
}
|
|
201233
201318
|
};
|
|
201234
201319
|
export {
|
|
@@ -201237,9 +201322,10 @@ export {
|
|
|
201237
201322
|
CopyOutlined$1 as C,
|
|
201238
201323
|
DragOutlined$1 as D,
|
|
201239
201324
|
generateFormHtml as E,
|
|
201240
|
-
|
|
201325
|
+
FormInput as F,
|
|
201241
201326
|
index as G,
|
|
201242
201327
|
Modal as M,
|
|
201328
|
+
ReportImage as R,
|
|
201243
201329
|
VueDraggableNext as V,
|
|
201244
201330
|
_export_sfc as _,
|
|
201245
201331
|
_sfc_main$c as a,
|
|
@@ -201256,16 +201342,16 @@ export {
|
|
|
201256
201342
|
_sfc_main$j as l,
|
|
201257
201343
|
_sfc_main$t as m,
|
|
201258
201344
|
_sfc_main$u as n,
|
|
201259
|
-
|
|
201345
|
+
DeleteOutlined$1 as o,
|
|
201260
201346
|
paginations as p,
|
|
201261
|
-
|
|
201262
|
-
|
|
201263
|
-
_sfc_main$
|
|
201347
|
+
guid as q,
|
|
201348
|
+
_sfc_main$8 as r,
|
|
201349
|
+
_sfc_main$h as s,
|
|
201264
201350
|
tableSelectProps as t,
|
|
201265
201351
|
useFormStore as u,
|
|
201266
|
-
_sfc_main$
|
|
201267
|
-
|
|
201268
|
-
|
|
201352
|
+
_sfc_main$1 as v,
|
|
201353
|
+
useRoute as w,
|
|
201354
|
+
FormImage as x,
|
|
201269
201355
|
monaco_editor_core_star as y,
|
|
201270
201356
|
zhCN as z
|
|
201271
201357
|
};
|