@gct-paas/word 0.1.65 → 0.1.66
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/index.es.js +336 -214
- package/dist/word.css +99 -78
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -19240,7 +19240,7 @@ const _hoisted_1$2B = { class: "gct-time-container" };
|
|
|
19240
19240
|
const _hoisted_2$1E = { class: "scrollbar-container" };
|
|
19241
19241
|
const _hoisted_3$1i = ["onClick"];
|
|
19242
19242
|
const _hoisted_4$Y = { class: "gct-time-footer" };
|
|
19243
|
-
const _hoisted_5$
|
|
19243
|
+
const _hoisted_5$N = { class: "gct-right-btns" };
|
|
19244
19244
|
const _sfc_main$3T = /* @__PURE__ */ defineComponent({
|
|
19245
19245
|
__name: "time",
|
|
19246
19246
|
props: {
|
|
@@ -19432,7 +19432,7 @@ const _sfc_main$3T = /* @__PURE__ */ defineComponent({
|
|
|
19432
19432
|
class: "gct-now-btn",
|
|
19433
19433
|
onClick: nowDay
|
|
19434
19434
|
}, "此刻"),
|
|
19435
|
-
createElementVNode("div", _hoisted_5$
|
|
19435
|
+
createElementVNode("div", _hoisted_5$N, [
|
|
19436
19436
|
__props.showClearBtn && __props.modelValue ? (openBlock(), createBlock(unref(GctButton), {
|
|
19437
19437
|
key: 0,
|
|
19438
19438
|
class: "gct-sure-btn",
|
|
@@ -19468,9 +19468,9 @@ const _hoisted_1$2A = { class: "gct-dtp-panel-inner" };
|
|
|
19468
19468
|
const _hoisted_2$1D = { class: "gct-dtp-date" };
|
|
19469
19469
|
const _hoisted_3$1h = { class: "gct-dtp-header" };
|
|
19470
19470
|
const _hoisted_4$X = { class: "text" };
|
|
19471
|
-
const _hoisted_5$
|
|
19472
|
-
const _hoisted_6$
|
|
19473
|
-
const _hoisted_7$
|
|
19471
|
+
const _hoisted_5$M = { class: "gct-dtp-head" };
|
|
19472
|
+
const _hoisted_6$u = { class: "gct-dtp-rows-wrapper" };
|
|
19473
|
+
const _hoisted_7$p = ["onClick"];
|
|
19474
19474
|
const _hoisted_8$j = { class: "dtp-day-label" };
|
|
19475
19475
|
const _hoisted_9$d = {
|
|
19476
19476
|
key: 0,
|
|
@@ -19481,7 +19481,7 @@ const _hoisted_10$b = {
|
|
|
19481
19481
|
class: "gct-dtp-time"
|
|
19482
19482
|
};
|
|
19483
19483
|
const _hoisted_11$8 = { class: "gct-dtp-time-header" };
|
|
19484
|
-
const _hoisted_12$
|
|
19484
|
+
const _hoisted_12$7 = { class: "gct-dtp-time-container" };
|
|
19485
19485
|
const _sfc_main$3S = /* @__PURE__ */ defineComponent({
|
|
19486
19486
|
__name: "calendar",
|
|
19487
19487
|
props: {
|
|
@@ -19677,7 +19677,7 @@ const _sfc_main$3S = /* @__PURE__ */ defineComponent({
|
|
|
19677
19677
|
onClick: withModifiers(nextMonth, ["stop"])
|
|
19678
19678
|
})
|
|
19679
19679
|
]),
|
|
19680
|
-
createElementVNode("div", _hoisted_5$
|
|
19680
|
+
createElementVNode("div", _hoisted_5$M, [
|
|
19681
19681
|
(openBlock(true), createElementBlock(Fragment, null, renderList(weekdayShort.value, (d) => {
|
|
19682
19682
|
return openBlock(), createElementBlock("div", {
|
|
19683
19683
|
class: "day head",
|
|
@@ -19685,7 +19685,7 @@ const _sfc_main$3S = /* @__PURE__ */ defineComponent({
|
|
|
19685
19685
|
}, toDisplayString(d), 1);
|
|
19686
19686
|
}), 128))
|
|
19687
19687
|
]),
|
|
19688
|
-
createElementVNode("div", _hoisted_6$
|
|
19688
|
+
createElementVNode("div", _hoisted_6$u, [
|
|
19689
19689
|
createVNode(Transition, {
|
|
19690
19690
|
name: transitionName.value,
|
|
19691
19691
|
mode: "out-in"
|
|
@@ -19707,7 +19707,7 @@ const _sfc_main$3S = /* @__PURE__ */ defineComponent({
|
|
|
19707
19707
|
onClick: ($event) => onSelectDay(day)
|
|
19708
19708
|
}, [
|
|
19709
19709
|
createElementVNode("div", _hoisted_8$j, toDisplayString(day.label), 1)
|
|
19710
|
-
], 10, _hoisted_7$
|
|
19710
|
+
], 10, _hoisted_7$p);
|
|
19711
19711
|
}), 128))
|
|
19712
19712
|
]);
|
|
19713
19713
|
}), 128))
|
|
@@ -19732,7 +19732,7 @@ const _sfc_main$3S = /* @__PURE__ */ defineComponent({
|
|
|
19732
19732
|
]),
|
|
19733
19733
|
showTimeLocal.value ? (openBlock(), createElementBlock("div", _hoisted_10$b, [
|
|
19734
19734
|
createElementVNode("div", _hoisted_11$8, toDisplayString(timeValue.value), 1),
|
|
19735
|
-
createElementVNode("div", _hoisted_12$
|
|
19735
|
+
createElementVNode("div", _hoisted_12$7, [
|
|
19736
19736
|
createVNode(GctTimer, {
|
|
19737
19737
|
"model-value": timeValue.value,
|
|
19738
19738
|
format: __props.timeFormat,
|
|
@@ -19881,9 +19881,9 @@ const _hoisted_3$1f = {
|
|
|
19881
19881
|
class: "group-label"
|
|
19882
19882
|
};
|
|
19883
19883
|
const _hoisted_4$W = ["onClick"];
|
|
19884
|
-
const _hoisted_5$
|
|
19885
|
-
const _hoisted_6$
|
|
19886
|
-
const _hoisted_7$
|
|
19884
|
+
const _hoisted_5$L = { class: "option-label" };
|
|
19885
|
+
const _hoisted_6$t = { class: "option-right" };
|
|
19886
|
+
const _hoisted_7$o = {
|
|
19887
19887
|
key: 1,
|
|
19888
19888
|
class: "divider"
|
|
19889
19889
|
};
|
|
@@ -20005,11 +20005,11 @@ const _sfc_main$3O = /* @__PURE__ */ defineComponent({
|
|
|
20005
20005
|
createTextVNode(toDisplayString(item.tip || item.label), 1)
|
|
20006
20006
|
]),
|
|
20007
20007
|
default: withCtx(() => [
|
|
20008
|
-
createElementVNode("span", _hoisted_5$
|
|
20008
|
+
createElementVNode("span", _hoisted_5$L, toDisplayString(item.label), 1)
|
|
20009
20009
|
]),
|
|
20010
20010
|
_: 2
|
|
20011
20011
|
}, 1032, ["disabled"]),
|
|
20012
|
-
createElementVNode("div", _hoisted_6$
|
|
20012
|
+
createElementVNode("div", _hoisted_6$t, [
|
|
20013
20013
|
withDirectives(createVNode(unref(GctIcon), {
|
|
20014
20014
|
class: "edit-icon",
|
|
20015
20015
|
icon: "icon-sheji-2",
|
|
@@ -20029,7 +20029,7 @@ const _sfc_main$3O = /* @__PURE__ */ defineComponent({
|
|
|
20029
20029
|
], 64))
|
|
20030
20030
|
], 10, _hoisted_4$W);
|
|
20031
20031
|
}), 128)),
|
|
20032
|
-
group2._showDivider !== false && groupIndex !== normalizedGroupOptions.value.length - 1 ? (openBlock(), createElementBlock("div", _hoisted_7$
|
|
20032
|
+
group2._showDivider !== false && groupIndex !== normalizedGroupOptions.value.length - 1 ? (openBlock(), createElementBlock("div", _hoisted_7$o)) : createCommentVNode("", true)
|
|
20033
20033
|
], 64);
|
|
20034
20034
|
}), 128)) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(normalizedFlatOptions.value, (item) => {
|
|
20035
20035
|
return openBlock(), createElementBlock("div", {
|
|
@@ -20331,12 +20331,12 @@ const _hoisted_1$2t = {
|
|
|
20331
20331
|
const _hoisted_2$1x = ["src"];
|
|
20332
20332
|
const _hoisted_3$1b = { class: "upload-img-mask" };
|
|
20333
20333
|
const _hoisted_4$V = { class: "tip-text" };
|
|
20334
|
-
const _hoisted_5$
|
|
20334
|
+
const _hoisted_5$K = {
|
|
20335
20335
|
key: 2,
|
|
20336
20336
|
class: "upload-loading"
|
|
20337
20337
|
};
|
|
20338
|
-
const _hoisted_6$
|
|
20339
|
-
const _hoisted_7$
|
|
20338
|
+
const _hoisted_6$s = ["accept"];
|
|
20339
|
+
const _hoisted_7$n = ["src"];
|
|
20340
20340
|
const _sfc_main$3J = /* @__PURE__ */ defineComponent({
|
|
20341
20341
|
__name: "image-upload",
|
|
20342
20342
|
props: {
|
|
@@ -20425,7 +20425,7 @@ const _sfc_main$3J = /* @__PURE__ */ defineComponent({
|
|
|
20425
20425
|
createElementVNode("div", _hoisted_4$V, toDisplayString(__props.tip), 1)
|
|
20426
20426
|
])
|
|
20427
20427
|
])),
|
|
20428
|
-
loading.value ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
20428
|
+
loading.value ? (openBlock(), createElementBlock("div", _hoisted_5$K, [..._cache[2] || (_cache[2] = [
|
|
20429
20429
|
createElementVNode("i", { class: "iconfont icon-gongzuotai_gongshi" }, null, -1)
|
|
20430
20430
|
])])) : createCommentVNode("", true)
|
|
20431
20431
|
], 4),
|
|
@@ -20436,13 +20436,13 @@ const _sfc_main$3J = /* @__PURE__ */ defineComponent({
|
|
|
20436
20436
|
class: "gct-upload-hidden-input",
|
|
20437
20437
|
accept: __props.accept,
|
|
20438
20438
|
onChange: handleChange
|
|
20439
|
-
}, null, 40, _hoisted_6$
|
|
20439
|
+
}, null, 40, _hoisted_6$s),
|
|
20440
20440
|
previewUrl.value ? (openBlock(), createElementBlock("div", {
|
|
20441
20441
|
key: 0,
|
|
20442
20442
|
class: "preview-mask",
|
|
20443
20443
|
onClick: _cache[0] || (_cache[0] = ($event) => previewUrl.value = "")
|
|
20444
20444
|
}, [
|
|
20445
|
-
createElementVNode("img", { src: previewUrl.value }, null, 8, _hoisted_7$
|
|
20445
|
+
createElementVNode("img", { src: previewUrl.value }, null, 8, _hoisted_7$n)
|
|
20446
20446
|
])) : createCommentVNode("", true)
|
|
20447
20447
|
], 64);
|
|
20448
20448
|
};
|
|
@@ -20462,12 +20462,12 @@ const _hoisted_4$U = {
|
|
|
20462
20462
|
key: 2,
|
|
20463
20463
|
class: "gct-input-count"
|
|
20464
20464
|
};
|
|
20465
|
-
const _hoisted_5$
|
|
20466
|
-
const _hoisted_6$
|
|
20465
|
+
const _hoisted_5$J = { key: 0 };
|
|
20466
|
+
const _hoisted_6$r = {
|
|
20467
20467
|
key: 3,
|
|
20468
20468
|
class: "gct-input-suffix"
|
|
20469
20469
|
};
|
|
20470
|
-
const _hoisted_7$
|
|
20470
|
+
const _hoisted_7$m = { class: "gct-input-suffix-text" };
|
|
20471
20471
|
const _sfc_main$3I = /* @__PURE__ */ defineComponent({
|
|
20472
20472
|
__name: "input",
|
|
20473
20473
|
props: {
|
|
@@ -20671,10 +20671,10 @@ const _sfc_main$3I = /* @__PURE__ */ defineComponent({
|
|
|
20671
20671
|
])) : createCommentVNode("", true),
|
|
20672
20672
|
props.showCount ? (openBlock(), createElementBlock("span", _hoisted_4$U, [
|
|
20673
20673
|
createTextVNode(toDisplayString(countValue.value), 1),
|
|
20674
|
-
props.maxLength ? (openBlock(), createElementBlock("span", _hoisted_5$
|
|
20674
|
+
props.maxLength ? (openBlock(), createElementBlock("span", _hoisted_5$J, " / " + toDisplayString(props.maxLength), 1)) : createCommentVNode("", true)
|
|
20675
20675
|
])) : createCommentVNode("", true),
|
|
20676
|
-
props.suffix ? (openBlock(), createElementBlock("span", _hoisted_6$
|
|
20677
|
-
createElementVNode("span", _hoisted_7$
|
|
20676
|
+
props.suffix ? (openBlock(), createElementBlock("span", _hoisted_6$r, [
|
|
20677
|
+
createElementVNode("span", _hoisted_7$m, toDisplayString(__props.suffix), 1)
|
|
20678
20678
|
])) : createCommentVNode("", true)
|
|
20679
20679
|
], 2)
|
|
20680
20680
|
], 6);
|
|
@@ -23817,7 +23817,7 @@ const _hoisted_4$T = {
|
|
|
23817
23817
|
key: 2,
|
|
23818
23818
|
class: "gct-input-number-suffix"
|
|
23819
23819
|
};
|
|
23820
|
-
const _hoisted_5$
|
|
23820
|
+
const _hoisted_5$I = { class: "gct-input-number-suffix-text" };
|
|
23821
23821
|
const _sfc_main$3H = /* @__PURE__ */ defineComponent({
|
|
23822
23822
|
__name: "input-number",
|
|
23823
23823
|
props: {
|
|
@@ -24080,7 +24080,7 @@ const _sfc_main$3H = /* @__PURE__ */ defineComponent({
|
|
|
24080
24080
|
], 2)
|
|
24081
24081
|
])) : createCommentVNode("", true),
|
|
24082
24082
|
props.suffix ? (openBlock(), createElementBlock("span", _hoisted_4$T, [
|
|
24083
|
-
createElementVNode("span", _hoisted_5$
|
|
24083
|
+
createElementVNode("span", _hoisted_5$I, toDisplayString(__props.suffix), 1)
|
|
24084
24084
|
])) : createCommentVNode("", true)
|
|
24085
24085
|
], 2);
|
|
24086
24086
|
};
|
|
@@ -25715,12 +25715,12 @@ const _hoisted_1$2i = { class: "popper-container" };
|
|
|
25715
25715
|
const _hoisted_2$1q = { class: "group-name" };
|
|
25716
25716
|
const _hoisted_3$14 = ["onClick"];
|
|
25717
25717
|
const _hoisted_4$Q = ["onClick"];
|
|
25718
|
-
const _hoisted_5$
|
|
25718
|
+
const _hoisted_5$H = {
|
|
25719
25719
|
key: 2,
|
|
25720
25720
|
class: "empty"
|
|
25721
25721
|
};
|
|
25722
|
-
const _hoisted_6$
|
|
25723
|
-
const _hoisted_7$
|
|
25722
|
+
const _hoisted_6$q = ["title"];
|
|
25723
|
+
const _hoisted_7$l = { class: "selection-tag-content" };
|
|
25724
25724
|
const _hoisted_8$h = {
|
|
25725
25725
|
key: 2,
|
|
25726
25726
|
class: "placeholder"
|
|
@@ -25925,7 +25925,7 @@ const _sfc_main$3x = /* @__PURE__ */ defineComponent({
|
|
|
25925
25925
|
], 64))
|
|
25926
25926
|
], 10, _hoisted_4$Q);
|
|
25927
25927
|
}), 128)),
|
|
25928
|
-
!normalizedFlatOptions.value.length ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
25928
|
+
!normalizedFlatOptions.value.length ? (openBlock(), createElementBlock("div", _hoisted_5$H, " 暂无数据 ")) : createCommentVNode("", true)
|
|
25929
25929
|
])
|
|
25930
25930
|
]),
|
|
25931
25931
|
_: 3
|
|
@@ -25942,13 +25942,13 @@ const _sfc_main$3x = /* @__PURE__ */ defineComponent({
|
|
|
25942
25942
|
key: 0,
|
|
25943
25943
|
class: "select-selection-item",
|
|
25944
25944
|
title: selectedOptions.value[0].label
|
|
25945
|
-
}, toDisplayString(selectedOptions.value[0].label), 9, _hoisted_6$
|
|
25945
|
+
}, toDisplayString(selectedOptions.value[0].label), 9, _hoisted_6$q)) : createCommentVNode("", true),
|
|
25946
25946
|
__props.multiple ? (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(selectedOptions.value, (item, idx) => {
|
|
25947
25947
|
return openBlock(), createElementBlock("span", {
|
|
25948
25948
|
class: "select-selection-tag",
|
|
25949
25949
|
key: item.value
|
|
25950
25950
|
}, [
|
|
25951
|
-
createElementVNode("span", _hoisted_7$
|
|
25951
|
+
createElementVNode("span", _hoisted_7$l, toDisplayString(item.label), 1),
|
|
25952
25952
|
createVNode(unref(GctIcon), {
|
|
25953
25953
|
class: "selection-tag-remove",
|
|
25954
25954
|
icon: "icon-guanbi-Paddanchuang",
|
|
@@ -25993,12 +25993,17 @@ const _sfc_main$3x = /* @__PURE__ */ defineComponent({
|
|
|
25993
25993
|
const GctSelect = /* @__PURE__ */ _export_sfc(_sfc_main$3x, [["__scopeId", "data-v-24259f13"]]);
|
|
25994
25994
|
const _hoisted_1$2h = ["value", "placeholder", "disabled"];
|
|
25995
25995
|
const _hoisted_2$1p = {
|
|
25996
|
-
key:
|
|
25997
|
-
class: "gct-ss-
|
|
25996
|
+
key: 2,
|
|
25997
|
+
class: "gct-ss-suffix-icon"
|
|
25998
25998
|
};
|
|
25999
|
-
const _hoisted_3$13 = {
|
|
26000
|
-
|
|
26001
|
-
|
|
25999
|
+
const _hoisted_3$13 = {
|
|
26000
|
+
key: 3,
|
|
26001
|
+
class: "gct-ss-suffix-icon"
|
|
26002
|
+
};
|
|
26003
|
+
const _hoisted_4$P = { class: "gct-ss-list" };
|
|
26004
|
+
const _hoisted_5$G = ["onClick"];
|
|
26005
|
+
const _hoisted_6$p = { class: "gct-ss-option-label" };
|
|
26006
|
+
const _hoisted_7$k = {
|
|
26002
26007
|
key: 0,
|
|
26003
26008
|
class: "gct-ss-empty"
|
|
26004
26009
|
};
|
|
@@ -26021,17 +26026,25 @@ const _sfc_main$3w = /* @__PURE__ */ defineComponent({
|
|
|
26021
26026
|
const inputRef = ref();
|
|
26022
26027
|
const dropdownRef = ref();
|
|
26023
26028
|
const isOpen = ref(false);
|
|
26029
|
+
const isHovered = ref(false);
|
|
26024
26030
|
const keyword = ref("");
|
|
26025
26031
|
const dropdownStyle = ref({});
|
|
26026
|
-
const selectedOption = computed(
|
|
26027
|
-
() => props.options.find((o) => o.value === props.modelValue)
|
|
26028
|
-
);
|
|
26032
|
+
const selectedOption = computed(() => props.options.find((o) => o.value === props.modelValue));
|
|
26029
26033
|
const selectedLabel = computed(() => selectedOption.value?.label ?? "");
|
|
26030
26034
|
const inputDisplayValue = computed(() => isOpen.value ? keyword.value : "");
|
|
26035
|
+
const suffixIcon = computed(() => {
|
|
26036
|
+
if (props.allowClear && !props.disabled && !props.readonly && !isOpen.value && !!selectedLabel.value && isHovered.value) {
|
|
26037
|
+
return "clear";
|
|
26038
|
+
}
|
|
26039
|
+
if (isOpen.value) return "search";
|
|
26040
|
+
return "arrow";
|
|
26041
|
+
});
|
|
26031
26042
|
const filteredOptions = computed(() => {
|
|
26032
26043
|
if (!keyword.value.trim()) return props.options;
|
|
26033
26044
|
const kw = keyword.value.trim().toLowerCase();
|
|
26034
|
-
return props.options.filter(
|
|
26045
|
+
return props.options.filter(
|
|
26046
|
+
(o) => String(o.label ?? "").toLowerCase().includes(kw)
|
|
26047
|
+
);
|
|
26035
26048
|
});
|
|
26036
26049
|
function calcDropdownPosition() {
|
|
26037
26050
|
if (!rootRef.value) return;
|
|
@@ -26084,6 +26097,7 @@ const _sfc_main$3w = /* @__PURE__ */ defineComponent({
|
|
|
26084
26097
|
emit("update:modelValue", void 0);
|
|
26085
26098
|
emit("change", void 0);
|
|
26086
26099
|
keyword.value = "";
|
|
26100
|
+
close();
|
|
26087
26101
|
}
|
|
26088
26102
|
function onClickOutside(e) {
|
|
26089
26103
|
if (!isOpen.value) return;
|
|
@@ -26104,9 +26118,12 @@ const _sfc_main$3w = /* @__PURE__ */ defineComponent({
|
|
|
26104
26118
|
window.removeEventListener("resize", onScroll);
|
|
26105
26119
|
window.removeEventListener("scroll", onScroll, true);
|
|
26106
26120
|
});
|
|
26107
|
-
watch(
|
|
26108
|
-
|
|
26109
|
-
|
|
26121
|
+
watch(
|
|
26122
|
+
() => props.modelValue,
|
|
26123
|
+
() => {
|
|
26124
|
+
keyword.value = "";
|
|
26125
|
+
}
|
|
26126
|
+
);
|
|
26110
26127
|
return (_ctx, _cache) => {
|
|
26111
26128
|
return openBlock(), createElementBlock("div", {
|
|
26112
26129
|
ref_key: "rootRef",
|
|
@@ -26115,8 +26132,18 @@ const _sfc_main$3w = /* @__PURE__ */ defineComponent({
|
|
|
26115
26132
|
}, [
|
|
26116
26133
|
createElementVNode("div", {
|
|
26117
26134
|
class: normalizeClass(["gct-ss-trigger", { open: isOpen.value, disabled: __props.disabled, readonly: __props.readonly }]),
|
|
26118
|
-
onClick: onTriggerClick
|
|
26135
|
+
onClick: onTriggerClick,
|
|
26136
|
+
onMouseenter: _cache[1] || (_cache[1] = ($event) => isHovered.value = true),
|
|
26137
|
+
onMouseleave: _cache[2] || (_cache[2] = ($event) => isHovered.value = false)
|
|
26119
26138
|
}, [
|
|
26139
|
+
selectedOption.value?.icon && !isOpen.value ? (openBlock(), createBlock(unref(GctIcon), {
|
|
26140
|
+
key: 0,
|
|
26141
|
+
class: "gct-ss-trigger-icon",
|
|
26142
|
+
icon: selectedOption.value.icon,
|
|
26143
|
+
color: selectedOption.value.iconColor || "#026ac8",
|
|
26144
|
+
size: "16",
|
|
26145
|
+
version: selectedOption.value.iconVersion
|
|
26146
|
+
}, null, 8, ["icon", "color", "version"])) : createCommentVNode("", true),
|
|
26120
26147
|
createElementVNode("input", {
|
|
26121
26148
|
ref_key: "inputRef",
|
|
26122
26149
|
ref: inputRef,
|
|
@@ -26132,9 +26159,11 @@ const _sfc_main$3w = /* @__PURE__ */ defineComponent({
|
|
|
26132
26159
|
withKeys(close, ["tab"])
|
|
26133
26160
|
]
|
|
26134
26161
|
}, null, 42, _hoisted_1$2h),
|
|
26135
|
-
|
|
26136
|
-
key:
|
|
26162
|
+
suffixIcon.value === "clear" ? (openBlock(), createElementBlock("span", {
|
|
26163
|
+
key: 1,
|
|
26137
26164
|
class: "gct-ss-clear",
|
|
26165
|
+
onMousedown: _cache[0] || (_cache[0] = withModifiers(() => {
|
|
26166
|
+
}, ["prevent"])),
|
|
26138
26167
|
onClick: withModifiers(onClear, ["stop"])
|
|
26139
26168
|
}, [
|
|
26140
26169
|
createVNode(unref(GctIcon), {
|
|
@@ -26142,14 +26171,20 @@ const _sfc_main$3w = /* @__PURE__ */ defineComponent({
|
|
|
26142
26171
|
color: "rgba(0,0,0,0.25)",
|
|
26143
26172
|
size: "14"
|
|
26144
26173
|
})
|
|
26145
|
-
])) : (openBlock(), createElementBlock("span", _hoisted_2$1p, [
|
|
26174
|
+
], 32)) : suffixIcon.value === "search" ? (openBlock(), createElementBlock("span", _hoisted_2$1p, [
|
|
26146
26175
|
createVNode(unref(GctIcon), {
|
|
26147
26176
|
icon: "icon-sousuo",
|
|
26148
26177
|
color: "rgba(0, 0, 0, 0.45)",
|
|
26149
26178
|
size: "14"
|
|
26150
26179
|
})
|
|
26180
|
+
])) : (openBlock(), createElementBlock("span", _hoisted_3$13, [
|
|
26181
|
+
createVNode(unref(GctIcon), {
|
|
26182
|
+
icon: "icon-arrow_zhankai",
|
|
26183
|
+
color: "#6b6b6b",
|
|
26184
|
+
version: "v2"
|
|
26185
|
+
})
|
|
26151
26186
|
]))
|
|
26152
|
-
],
|
|
26187
|
+
], 34),
|
|
26153
26188
|
(openBlock(), createBlock(Teleport, { to: "body" }, [
|
|
26154
26189
|
isOpen.value ? (openBlock(), createElementBlock("div", {
|
|
26155
26190
|
key: 0,
|
|
@@ -26157,7 +26192,7 @@ const _sfc_main$3w = /* @__PURE__ */ defineComponent({
|
|
|
26157
26192
|
ref: dropdownRef,
|
|
26158
26193
|
class: "gct-ss-dropdown",
|
|
26159
26194
|
style: normalizeStyle(dropdownStyle.value),
|
|
26160
|
-
onMousedown: _cache[
|
|
26195
|
+
onMousedown: _cache[3] || (_cache[3] = withModifiers(() => {
|
|
26161
26196
|
}, ["prevent"]))
|
|
26162
26197
|
}, [
|
|
26163
26198
|
createVNode(unref(GctScrollbar), {
|
|
@@ -26165,15 +26200,25 @@ const _sfc_main$3w = /* @__PURE__ */ defineComponent({
|
|
|
26165
26200
|
"wrap-style": { maxHeight: "280px" }
|
|
26166
26201
|
}, {
|
|
26167
26202
|
default: withCtx(() => [
|
|
26168
|
-
createElementVNode("div",
|
|
26203
|
+
createElementVNode("div", _hoisted_4$P, [
|
|
26169
26204
|
(openBlock(true), createElementBlock(Fragment, null, renderList(filteredOptions.value, (item) => {
|
|
26170
26205
|
return openBlock(), createElementBlock("div", {
|
|
26171
26206
|
key: item.value,
|
|
26172
26207
|
class: normalizeClass(["gct-ss-option", { selected: item.value === __props.modelValue, disabled: item.disabled }]),
|
|
26173
26208
|
onClick: ($event) => onSelect(item)
|
|
26174
|
-
},
|
|
26209
|
+
}, [
|
|
26210
|
+
item.icon ? (openBlock(), createBlock(unref(GctIcon), {
|
|
26211
|
+
key: 0,
|
|
26212
|
+
class: "gct-ss-option-icon",
|
|
26213
|
+
icon: item.icon,
|
|
26214
|
+
color: item.iconColor || "#026ac8",
|
|
26215
|
+
size: "16",
|
|
26216
|
+
version: item.iconVersion
|
|
26217
|
+
}, null, 8, ["icon", "color", "version"])) : createCommentVNode("", true),
|
|
26218
|
+
createElementVNode("span", _hoisted_6$p, toDisplayString(item.label), 1)
|
|
26219
|
+
], 10, _hoisted_5$G);
|
|
26175
26220
|
}), 128)),
|
|
26176
|
-
!filteredOptions.value.length ? (openBlock(), createElementBlock("div",
|
|
26221
|
+
!filteredOptions.value.length ? (openBlock(), createElementBlock("div", _hoisted_7$k, "暂无数据")) : createCommentVNode("", true)
|
|
26177
26222
|
])
|
|
26178
26223
|
]),
|
|
26179
26224
|
_: 1
|
|
@@ -26184,7 +26229,7 @@ const _sfc_main$3w = /* @__PURE__ */ defineComponent({
|
|
|
26184
26229
|
};
|
|
26185
26230
|
}
|
|
26186
26231
|
});
|
|
26187
|
-
const GctSearchableSelect = /* @__PURE__ */ _export_sfc(_sfc_main$3w, [["__scopeId", "data-v-
|
|
26232
|
+
const GctSearchableSelect = /* @__PURE__ */ _export_sfc(_sfc_main$3w, [["__scopeId", "data-v-a62a8441"]]);
|
|
26188
26233
|
const _hoisted_1$2g = ["disabled"];
|
|
26189
26234
|
const _sfc_main$3v = /* @__PURE__ */ defineComponent({
|
|
26190
26235
|
__name: "switch",
|
|
@@ -26238,7 +26283,7 @@ const _hoisted_3$12 = {
|
|
|
26238
26283
|
class: "selection-col"
|
|
26239
26284
|
};
|
|
26240
26285
|
const _hoisted_4$O = ["onClick"];
|
|
26241
|
-
const _hoisted_5$
|
|
26286
|
+
const _hoisted_5$F = {
|
|
26242
26287
|
key: 0,
|
|
26243
26288
|
class: "selection-col"
|
|
26244
26289
|
};
|
|
@@ -26362,7 +26407,7 @@ const _sfc_main$3u = /* @__PURE__ */ defineComponent({
|
|
|
26362
26407
|
}),
|
|
26363
26408
|
onClick: ($event) => _ctx.$emit("row-click", row)
|
|
26364
26409
|
}, [
|
|
26365
|
-
__props.selectable ? (openBlock(), createElementBlock("td", _hoisted_5$
|
|
26410
|
+
__props.selectable ? (openBlock(), createElementBlock("td", _hoisted_5$F, [
|
|
26366
26411
|
renderSlot(_ctx.$slots, "select", {
|
|
26367
26412
|
row,
|
|
26368
26413
|
checked: getIsSelected(row)
|
|
@@ -26506,7 +26551,7 @@ const _hoisted_2$1n = {
|
|
|
26506
26551
|
};
|
|
26507
26552
|
const _hoisted_3$11 = { class: "rdo-tree-select-node__title" };
|
|
26508
26553
|
const _hoisted_4$N = { class: "rdo-tree-select-node__label" };
|
|
26509
|
-
const _hoisted_5$
|
|
26554
|
+
const _hoisted_5$E = {
|
|
26510
26555
|
key: 0,
|
|
26511
26556
|
class: "rdo-tree-select-node__tag"
|
|
26512
26557
|
};
|
|
@@ -26566,7 +26611,7 @@ const _sfc_main$3r = /* @__PURE__ */ defineComponent({
|
|
|
26566
26611
|
], 2)) : (openBlock(), createElementBlock("span", _hoisted_2$1n)),
|
|
26567
26612
|
createElementVNode("span", _hoisted_3$11, [
|
|
26568
26613
|
createElementVNode("span", _hoisted_4$N, toDisplayString(__props.node.title), 1),
|
|
26569
|
-
__props.node.isDefault && !hasChildren.value ? (openBlock(), createElementBlock("span", _hoisted_5$
|
|
26614
|
+
__props.node.isDefault && !hasChildren.value ? (openBlock(), createElementBlock("span", _hoisted_5$E, "默认")) : createCommentVNode("", true)
|
|
26570
26615
|
])
|
|
26571
26616
|
], 6),
|
|
26572
26617
|
hasChildren.value && expanded.value ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(__props.node.children, (child) => {
|
|
@@ -27089,7 +27134,7 @@ const _hoisted_4$M = {
|
|
|
27089
27134
|
key: 0,
|
|
27090
27135
|
class: "rdo-tree-select__value-tag"
|
|
27091
27136
|
};
|
|
27092
|
-
const _hoisted_5$
|
|
27137
|
+
const _hoisted_5$D = ["value", "placeholder", "disabled", "onKeydown"];
|
|
27093
27138
|
const _hoisted_6$o = {
|
|
27094
27139
|
key: 1,
|
|
27095
27140
|
class: "rdo-tree-select__value"
|
|
@@ -27098,13 +27143,21 @@ const _hoisted_7$j = {
|
|
|
27098
27143
|
key: 0,
|
|
27099
27144
|
class: "rdo-tree-select__value-tag"
|
|
27100
27145
|
};
|
|
27101
|
-
const _hoisted_8$g =
|
|
27102
|
-
|
|
27103
|
-
|
|
27146
|
+
const _hoisted_8$g = {
|
|
27147
|
+
key: 1,
|
|
27148
|
+
class: "rdo-tree-select__suffix-icon"
|
|
27149
|
+
};
|
|
27150
|
+
const _hoisted_9$b = {
|
|
27151
|
+
key: 2,
|
|
27152
|
+
class: "rdo-tree-select__suffix-icon"
|
|
27153
|
+
};
|
|
27154
|
+
const _hoisted_10$9 = ["title"];
|
|
27155
|
+
const _hoisted_11$7 = { class: "rdo-tree-select__value-text" };
|
|
27156
|
+
const _hoisted_12$6 = {
|
|
27104
27157
|
key: 0,
|
|
27105
27158
|
class: "rdo-tree-select__value-tag"
|
|
27106
27159
|
};
|
|
27107
|
-
const
|
|
27160
|
+
const _hoisted_13$5 = {
|
|
27108
27161
|
key: 1,
|
|
27109
27162
|
class: "rdo-tree-select__placeholder"
|
|
27110
27163
|
};
|
|
@@ -27133,6 +27186,7 @@ const _sfc_main$3p = /* @__PURE__ */ defineComponent({
|
|
|
27133
27186
|
const dropdownRef = ref();
|
|
27134
27187
|
const isOpen = ref(false);
|
|
27135
27188
|
const isDropdownOpen = ref(false);
|
|
27189
|
+
const isHovered = ref(false);
|
|
27136
27190
|
const dropdownStyle = ref({});
|
|
27137
27191
|
const loading = ref(false);
|
|
27138
27192
|
const expandedKeys = ref([]);
|
|
@@ -27155,10 +27209,19 @@ const _sfc_main$3p = /* @__PURE__ */ defineComponent({
|
|
|
27155
27209
|
});
|
|
27156
27210
|
const innerValue = computed(() => props.modelValue || void 0);
|
|
27157
27211
|
const selectedLabel = computed(() => selectedDisplay.value.text || "");
|
|
27158
|
-
const
|
|
27159
|
-
|
|
27160
|
-
|
|
27161
|
-
|
|
27212
|
+
const searchableSuffixIcon = computed(() => {
|
|
27213
|
+
if (props.allowClear && !props.disabled && !isOpen.value && !!selectedLabel.value && isHovered.value) {
|
|
27214
|
+
return "clear";
|
|
27215
|
+
}
|
|
27216
|
+
if (isOpen.value) return "search";
|
|
27217
|
+
return "arrow";
|
|
27218
|
+
});
|
|
27219
|
+
const defaultSuffixIcon = computed(() => {
|
|
27220
|
+
if (props.allowClear && !props.disabled && !!innerValue.value && isHovered.value) {
|
|
27221
|
+
return "clear";
|
|
27222
|
+
}
|
|
27223
|
+
return "arrow";
|
|
27224
|
+
});
|
|
27162
27225
|
const displayTreeData = computed(() => {
|
|
27163
27226
|
if (!props.disabledParent) {
|
|
27164
27227
|
return treeData.value.map((node) => ({ ...node, disabled: false }));
|
|
@@ -27273,14 +27336,6 @@ const _sfc_main$3p = /* @__PURE__ */ defineComponent({
|
|
|
27273
27336
|
keyword.value = "";
|
|
27274
27337
|
activeKeyword.value = "";
|
|
27275
27338
|
}
|
|
27276
|
-
function toggleSearchPanel() {
|
|
27277
|
-
if (props.disabled) return;
|
|
27278
|
-
if (isOpen.value) {
|
|
27279
|
-
closeSearch();
|
|
27280
|
-
return;
|
|
27281
|
-
}
|
|
27282
|
-
void openSearch();
|
|
27283
|
-
}
|
|
27284
27339
|
function onSearchTriggerClick() {
|
|
27285
27340
|
if (props.disabled) return;
|
|
27286
27341
|
if (!isOpen.value) {
|
|
@@ -27291,20 +27346,9 @@ const _sfc_main$3p = /* @__PURE__ */ defineComponent({
|
|
|
27291
27346
|
keyword.value = e.target.value;
|
|
27292
27347
|
debouncedSearch();
|
|
27293
27348
|
}
|
|
27294
|
-
|
|
27295
|
-
debouncedSearch.cancel();
|
|
27296
|
-
keyword.value = "";
|
|
27297
|
-
activeKeyword.value = "";
|
|
27298
|
-
await syncPanelData({ forceRefresh: true });
|
|
27299
|
-
await nextTick();
|
|
27300
|
-
inputRef.value?.focus();
|
|
27301
|
-
}
|
|
27302
|
-
function onClearIconClick() {
|
|
27303
|
-
if (showSearchClearIcon.value) {
|
|
27304
|
-
void clearSearchKeyword();
|
|
27305
|
-
return;
|
|
27306
|
-
}
|
|
27349
|
+
function onSearchClear() {
|
|
27307
27350
|
clearValue();
|
|
27351
|
+
closeSearch();
|
|
27308
27352
|
}
|
|
27309
27353
|
function onClickOutside(e) {
|
|
27310
27354
|
if (!isOpen.value) return;
|
|
@@ -27416,7 +27460,9 @@ const _sfc_main$3p = /* @__PURE__ */ defineComponent({
|
|
|
27416
27460
|
}, [
|
|
27417
27461
|
createElementVNode("div", {
|
|
27418
27462
|
class: normalizeClass(["rdo-tree-select__trigger rdo-tree-select__trigger--searchable", { open: isOpen.value }]),
|
|
27419
|
-
onClick: onSearchTriggerClick
|
|
27463
|
+
onClick: onSearchTriggerClick,
|
|
27464
|
+
onMouseenter: _cache[1] || (_cache[1] = ($event) => isHovered.value = true),
|
|
27465
|
+
onMouseleave: _cache[2] || (_cache[2] = ($event) => isHovered.value = false)
|
|
27420
27466
|
}, [
|
|
27421
27467
|
createElementVNode("div", {
|
|
27422
27468
|
class: normalizeClass(["rdo-tree-select__field", { "is-open": isOpen.value }])
|
|
@@ -27439,7 +27485,7 @@ const _sfc_main$3p = /* @__PURE__ */ defineComponent({
|
|
|
27439
27485
|
withKeys(withModifiers(closeSearch, ["stop"]), ["esc"]),
|
|
27440
27486
|
withKeys(closeSearch, ["tab"])
|
|
27441
27487
|
]
|
|
27442
|
-
}, null, 42, _hoisted_5$
|
|
27488
|
+
}, null, 42, _hoisted_5$D)
|
|
27443
27489
|
])) : (openBlock(), createElementBlock("span", _hoisted_6$o, [
|
|
27444
27490
|
createElementVNode("span", {
|
|
27445
27491
|
class: normalizeClass(["rdo-tree-select__value-text", { "is-placeholder": !selectedLabel.value }])
|
|
@@ -27447,22 +27493,32 @@ const _sfc_main$3p = /* @__PURE__ */ defineComponent({
|
|
|
27447
27493
|
selectedDisplay.value.showDefaultTag ? (openBlock(), createElementBlock("span", _hoisted_7$j, "默认")) : createCommentVNode("", true)
|
|
27448
27494
|
]))
|
|
27449
27495
|
], 2),
|
|
27450
|
-
|
|
27496
|
+
searchableSuffixIcon.value === "clear" ? (openBlock(), createElementBlock("span", {
|
|
27451
27497
|
key: 0,
|
|
27452
|
-
class: "rdo-tree-select__clear
|
|
27453
|
-
|
|
27454
|
-
|
|
27455
|
-
|
|
27456
|
-
|
|
27457
|
-
|
|
27458
|
-
|
|
27459
|
-
|
|
27460
|
-
|
|
27461
|
-
|
|
27462
|
-
|
|
27463
|
-
|
|
27464
|
-
|
|
27465
|
-
|
|
27498
|
+
class: "rdo-tree-select__clear",
|
|
27499
|
+
onMousedown: _cache[0] || (_cache[0] = withModifiers(() => {
|
|
27500
|
+
}, ["prevent"])),
|
|
27501
|
+
onClick: withModifiers(onSearchClear, ["stop"])
|
|
27502
|
+
}, [
|
|
27503
|
+
createVNode(unref(GctIcon), {
|
|
27504
|
+
icon: "icon-cuowu2",
|
|
27505
|
+
color: "rgba(0, 0, 0, 0.25)",
|
|
27506
|
+
size: "14"
|
|
27507
|
+
})
|
|
27508
|
+
], 32)) : searchableSuffixIcon.value === "search" ? (openBlock(), createElementBlock("span", _hoisted_8$g, [
|
|
27509
|
+
createVNode(unref(GctIcon), {
|
|
27510
|
+
icon: "icon-sousuo",
|
|
27511
|
+
color: "rgba(0, 0, 0, 0.45)",
|
|
27512
|
+
size: "14"
|
|
27513
|
+
})
|
|
27514
|
+
])) : (openBlock(), createElementBlock("span", _hoisted_9$b, [
|
|
27515
|
+
createVNode(unref(GctIcon), {
|
|
27516
|
+
icon: "icon-arrow_zhankai",
|
|
27517
|
+
color: "#6b6b6b",
|
|
27518
|
+
version: "v2"
|
|
27519
|
+
})
|
|
27520
|
+
]))
|
|
27521
|
+
], 34),
|
|
27466
27522
|
(openBlock(), createBlock(Teleport, { to: "body" }, [
|
|
27467
27523
|
isOpen.value ? (openBlock(), createElementBlock("div", {
|
|
27468
27524
|
key: 0,
|
|
@@ -27470,7 +27526,7 @@ const _sfc_main$3p = /* @__PURE__ */ defineComponent({
|
|
|
27470
27526
|
ref: searchDropdownRef,
|
|
27471
27527
|
class: "rdo-tree-select__dropdown",
|
|
27472
27528
|
style: normalizeStyle(dropdownStyle.value),
|
|
27473
|
-
onMousedown: _cache[
|
|
27529
|
+
onMousedown: _cache[3] || (_cache[3] = withModifiers(() => {
|
|
27474
27530
|
}, ["prevent"]))
|
|
27475
27531
|
}, [
|
|
27476
27532
|
createVNode(RdoTreeSelectPanel, {
|
|
@@ -27520,31 +27576,41 @@ const _sfc_main$3p = /* @__PURE__ */ defineComponent({
|
|
|
27520
27576
|
]),
|
|
27521
27577
|
default: withCtx(() => [
|
|
27522
27578
|
createElementVNode("div", {
|
|
27523
|
-
class: normalizeClass(["rdo-tree-select__trigger", { active: isDropdownOpen.value }])
|
|
27579
|
+
class: normalizeClass(["rdo-tree-select__trigger", { active: isDropdownOpen.value }]),
|
|
27580
|
+
onMouseenter: _cache[5] || (_cache[5] = ($event) => isHovered.value = true),
|
|
27581
|
+
onMouseleave: _cache[6] || (_cache[6] = ($event) => isHovered.value = false)
|
|
27524
27582
|
}, [
|
|
27525
27583
|
selectedDisplay.value.text ? (openBlock(), createElementBlock("span", {
|
|
27526
27584
|
key: 0,
|
|
27527
27585
|
class: "rdo-tree-select__value",
|
|
27528
27586
|
title: selectedDisplay.value.text
|
|
27529
27587
|
}, [
|
|
27530
|
-
createElementVNode("span",
|
|
27531
|
-
selectedDisplay.value.showDefaultTag ? (openBlock(), createElementBlock("span",
|
|
27532
|
-
], 8,
|
|
27533
|
-
|
|
27588
|
+
createElementVNode("span", _hoisted_11$7, toDisplayString(selectedDisplay.value.text), 1),
|
|
27589
|
+
selectedDisplay.value.showDefaultTag ? (openBlock(), createElementBlock("span", _hoisted_12$6, "默认")) : createCommentVNode("", true)
|
|
27590
|
+
], 8, _hoisted_10$9)) : (openBlock(), createElementBlock("span", _hoisted_13$5, toDisplayString(__props.placeholder), 1)),
|
|
27591
|
+
defaultSuffixIcon.value === "clear" ? (openBlock(), createElementBlock("span", {
|
|
27534
27592
|
key: 2,
|
|
27535
|
-
class: "rdo-tree-select__clear
|
|
27536
|
-
|
|
27537
|
-
|
|
27538
|
-
size: "14",
|
|
27593
|
+
class: "rdo-tree-select__clear",
|
|
27594
|
+
onMousedown: _cache[4] || (_cache[4] = withModifiers(() => {
|
|
27595
|
+
}, ["prevent"])),
|
|
27539
27596
|
onClick: withModifiers(clearValue, ["stop"])
|
|
27540
|
-
}
|
|
27541
|
-
|
|
27542
|
-
|
|
27543
|
-
|
|
27544
|
-
|
|
27545
|
-
|
|
27546
|
-
|
|
27547
|
-
|
|
27597
|
+
}, [
|
|
27598
|
+
createVNode(unref(GctIcon), {
|
|
27599
|
+
icon: "icon-cuowu2",
|
|
27600
|
+
color: "rgba(0, 0, 0, 0.25)",
|
|
27601
|
+
size: "14"
|
|
27602
|
+
})
|
|
27603
|
+
], 32)) : (openBlock(), createElementBlock("span", {
|
|
27604
|
+
key: 3,
|
|
27605
|
+
class: normalizeClass(["rdo-tree-select__suffix-icon", { active: isDropdownOpen.value }])
|
|
27606
|
+
}, [
|
|
27607
|
+
createVNode(unref(GctIcon), {
|
|
27608
|
+
icon: "icon-arrow_zhankai",
|
|
27609
|
+
color: "#6b6b6b",
|
|
27610
|
+
version: "v2"
|
|
27611
|
+
})
|
|
27612
|
+
], 2))
|
|
27613
|
+
], 34)
|
|
27548
27614
|
]),
|
|
27549
27615
|
_: 1
|
|
27550
27616
|
}, 8, ["disabled"])
|
|
@@ -27552,7 +27618,7 @@ const _sfc_main$3p = /* @__PURE__ */ defineComponent({
|
|
|
27552
27618
|
};
|
|
27553
27619
|
}
|
|
27554
27620
|
});
|
|
27555
|
-
const GctRdoTreeSelect = /* @__PURE__ */ _export_sfc(_sfc_main$3p, [["__scopeId", "data-v-
|
|
27621
|
+
const GctRdoTreeSelect = /* @__PURE__ */ _export_sfc(_sfc_main$3p, [["__scopeId", "data-v-77e15b9b"]]);
|
|
27556
27622
|
const _hoisted_1$2b = { class: "gct-datetime-picker" };
|
|
27557
27623
|
const _hoisted_2$1k = {
|
|
27558
27624
|
key: 0,
|
|
@@ -29368,7 +29434,7 @@ const _hoisted_1$2a = { class: "color-picker-container" };
|
|
|
29368
29434
|
const _hoisted_2$1j = { class: "color-submenu-panel" };
|
|
29369
29435
|
const _hoisted_3$Z = { class: "color-content-standard" };
|
|
29370
29436
|
const _hoisted_4$L = { class: "items" };
|
|
29371
|
-
const _hoisted_5$
|
|
29437
|
+
const _hoisted_5$C = ["onClick"];
|
|
29372
29438
|
const _sfc_main$3n = /* @__PURE__ */ defineComponent({
|
|
29373
29439
|
__name: "ColorPicker",
|
|
29374
29440
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -29429,7 +29495,7 @@ const _sfc_main$3n = /* @__PURE__ */ defineComponent({
|
|
|
29429
29495
|
class: normalizeClass(["color-icon", { active: model.value === c2.color }]),
|
|
29430
29496
|
style: normalizeStyle({ backgroundColor: c2.color }),
|
|
29431
29497
|
onClick: ($event) => handleColorClick(c2.color)
|
|
29432
|
-
}, null, 14, _hoisted_5$
|
|
29498
|
+
}, null, 14, _hoisted_5$C)
|
|
29433
29499
|
]),
|
|
29434
29500
|
_: 2
|
|
29435
29501
|
}, 1024);
|
|
@@ -89062,7 +89128,7 @@ const _hoisted_1$28 = { class: "material-consume-modal" };
|
|
|
89062
89128
|
const _hoisted_2$1h = { class: "material-consume-table-scroll" };
|
|
89063
89129
|
const _hoisted_3$X = { class: "material-consume-table" };
|
|
89064
89130
|
const _hoisted_4$K = ["title"];
|
|
89065
|
-
const _hoisted_5$
|
|
89131
|
+
const _hoisted_5$B = { class: "qty-col" };
|
|
89066
89132
|
const _sfc_main$3l = /* @__PURE__ */ defineComponent({
|
|
89067
89133
|
__name: "material-consume-modal",
|
|
89068
89134
|
props: {
|
|
@@ -89085,7 +89151,7 @@ const _sfc_main$3l = /* @__PURE__ */ defineComponent({
|
|
|
89085
89151
|
createElementVNode("td", {
|
|
89086
89152
|
title: row.materialLabel
|
|
89087
89153
|
}, toDisplayString(row.materialLabel), 9, _hoisted_4$K),
|
|
89088
|
-
createElementVNode("td", _hoisted_5$
|
|
89154
|
+
createElementVNode("td", _hoisted_5$B, toDisplayString(row.consumeQty), 1)
|
|
89089
89155
|
]);
|
|
89090
89156
|
}), 128))
|
|
89091
89157
|
])
|
|
@@ -115747,7 +115813,7 @@ const _hoisted_1$22 = { class: "col-headers" };
|
|
|
115747
115813
|
const _hoisted_2$1f = ["onMouseenter"];
|
|
115748
115814
|
const _hoisted_3$W = ["onClick"];
|
|
115749
115815
|
const _hoisted_4$J = ["onMousedown"];
|
|
115750
|
-
const _hoisted_5$
|
|
115816
|
+
const _hoisted_5$A = { class: "row-headers" };
|
|
115751
115817
|
const _hoisted_6$n = ["onMouseenter"];
|
|
115752
115818
|
const _hoisted_7$i = ["onClick"];
|
|
115753
115819
|
const _hoisted_8$f = ["onMousedown"];
|
|
@@ -116041,7 +116107,7 @@ const _sfc_main$2X = /* @__PURE__ */ defineComponent({
|
|
|
116041
116107
|
]);
|
|
116042
116108
|
}), 128))
|
|
116043
116109
|
]),
|
|
116044
|
-
createElementVNode("div", _hoisted_5$
|
|
116110
|
+
createElementVNode("div", _hoisted_5$A, [
|
|
116045
116111
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.rows, (row, rowIndex) => {
|
|
116046
116112
|
return openBlock(), createElementBlock("div", {
|
|
116047
116113
|
key: row.id,
|
|
@@ -116339,7 +116405,7 @@ const _hoisted_3$V = {
|
|
|
116339
116405
|
class: "action-menu"
|
|
116340
116406
|
};
|
|
116341
116407
|
const _hoisted_4$I = { class: "item-icon" };
|
|
116342
|
-
const _hoisted_5$
|
|
116408
|
+
const _hoisted_5$z = { class: "item-icon" };
|
|
116343
116409
|
const _hoisted_6$m = { class: "item-icon" };
|
|
116344
116410
|
const _hoisted_7$h = { class: "item-icon scale-large" };
|
|
116345
116411
|
const _hoisted_8$e = {
|
|
@@ -116597,7 +116663,7 @@ const _sfc_main$2T = /* @__PURE__ */ defineComponent({
|
|
|
116597
116663
|
class: "menu-item",
|
|
116598
116664
|
onClick: _cache[1] || (_cache[1] = ($event) => handleMaterialConsumeAction("scan"))
|
|
116599
116665
|
}, [
|
|
116600
|
-
createElementVNode("div", _hoisted_5$
|
|
116666
|
+
createElementVNode("div", _hoisted_5$z, [
|
|
116601
116667
|
createVNode(unref(GctIcon), { icon: "icon-saoyisao" })
|
|
116602
116668
|
]),
|
|
116603
116669
|
_cache[17] || (_cache[17] = createElementVNode("div", { class: "item-label" }, "条码扫描", -1))
|
|
@@ -118686,7 +118752,7 @@ const _hoisted_1$1X = { class: "color-picker-container" };
|
|
|
118686
118752
|
const _hoisted_2$19 = { class: "color-content-auto" };
|
|
118687
118753
|
const _hoisted_3$S = { class: "color-content-theme" };
|
|
118688
118754
|
const _hoisted_4$H = ["onClick"];
|
|
118689
|
-
const _hoisted_5$
|
|
118755
|
+
const _hoisted_5$y = { class: "color-content-standard" };
|
|
118690
118756
|
const _hoisted_6$l = { class: "items" };
|
|
118691
118757
|
const _hoisted_7$g = ["onClick"];
|
|
118692
118758
|
const _hoisted_8$d = { class: "color-content-used" };
|
|
@@ -118776,7 +118842,7 @@ const _sfc_main$2K = /* @__PURE__ */ defineComponent({
|
|
|
118776
118842
|
]);
|
|
118777
118843
|
}), 128))
|
|
118778
118844
|
]),
|
|
118779
|
-
createElementVNode("div", _hoisted_5$
|
|
118845
|
+
createElementVNode("div", _hoisted_5$y, [
|
|
118780
118846
|
_cache[4] || (_cache[4] = createElementVNode("div", { class: "title" }, "标准色", -1)),
|
|
118781
118847
|
createElementVNode("div", _hoisted_6$l, [
|
|
118782
118848
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(colorUtils).standard, (c2, idx) => {
|
|
@@ -119589,7 +119655,7 @@ const _hoisted_1$1R = { class: "items-container" };
|
|
|
119589
119655
|
const _hoisted_2$17 = { class: "ribbon-tab-item" };
|
|
119590
119656
|
const _hoisted_3$Q = { class: "ribbon-tab-item" };
|
|
119591
119657
|
const _hoisted_4$G = { class: "ribbon-tab-item" };
|
|
119592
|
-
const _hoisted_5$
|
|
119658
|
+
const _hoisted_5$x = { class: "ribbon-tab-item" };
|
|
119593
119659
|
const _sfc_main$2E = /* @__PURE__ */ defineComponent({
|
|
119594
119660
|
__name: "word-tab",
|
|
119595
119661
|
setup(__props) {
|
|
@@ -119784,7 +119850,7 @@ const _sfc_main$2E = /* @__PURE__ */ defineComponent({
|
|
|
119784
119850
|
})
|
|
119785
119851
|
]),
|
|
119786
119852
|
_cache[18] || (_cache[18] = createElementVNode("div", { class: "split-divider" }, null, -1)),
|
|
119787
|
-
createElementVNode("div", _hoisted_5$
|
|
119853
|
+
createElementVNode("div", _hoisted_5$x, [
|
|
119788
119854
|
createVNode(ButtonIcon, {
|
|
119789
119855
|
tooltip: "左对齐",
|
|
119790
119856
|
iconExtraProps: { icon: "icon-zuoduiqi2" },
|
|
@@ -119872,7 +119938,7 @@ const _hoisted_1$1O = { class: "toolkit-item" };
|
|
|
119872
119938
|
const _hoisted_2$15 = { class: "toolkit-popper-wrap" };
|
|
119873
119939
|
const _hoisted_3$P = { class: "toolkit-popper-title" };
|
|
119874
119940
|
const _hoisted_4$F = { class: "title" };
|
|
119875
|
-
const _hoisted_5$
|
|
119941
|
+
const _hoisted_5$w = { class: "label" };
|
|
119876
119942
|
const _sfc_main$2B = /* @__PURE__ */ defineComponent({
|
|
119877
119943
|
__name: "toolkit-item",
|
|
119878
119944
|
props: {
|
|
@@ -119929,7 +119995,7 @@ const _sfc_main$2B = /* @__PURE__ */ defineComponent({
|
|
|
119929
119995
|
name: __props.icon,
|
|
119930
119996
|
size: 20
|
|
119931
119997
|
}, null, 8, ["name"]),
|
|
119932
|
-
createElementVNode("span", _hoisted_5$
|
|
119998
|
+
createElementVNode("span", _hoisted_5$w, toDisplayString(__props.label), 1)
|
|
119933
119999
|
], 2)
|
|
119934
120000
|
]),
|
|
119935
120001
|
_: 2
|
|
@@ -120117,7 +120183,7 @@ const _hoisted_1$1N = { class: "field-pallette" };
|
|
|
120117
120183
|
const _hoisted_2$14 = { class: "pallette-search" };
|
|
120118
120184
|
const _hoisted_3$O = { class: "pallette-main" };
|
|
120119
120185
|
const _hoisted_4$E = { class: "main-title" };
|
|
120120
|
-
const _hoisted_5$
|
|
120186
|
+
const _hoisted_5$v = {
|
|
120121
120187
|
key: 0,
|
|
120122
120188
|
class: "main-list"
|
|
120123
120189
|
};
|
|
@@ -120187,7 +120253,7 @@ const _sfc_main$2A = /* @__PURE__ */ defineComponent({
|
|
|
120187
120253
|
]),
|
|
120188
120254
|
createElementVNode("div", _hoisted_3$O, [
|
|
120189
120255
|
createElementVNode("div", _hoisted_4$E, toDisplayString(__props.modelName), 1),
|
|
120190
|
-
filteredFields.value.length ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
120256
|
+
filteredFields.value.length ? (openBlock(), createElementBlock("div", _hoisted_5$v, [
|
|
120191
120257
|
createVNode(unref(GctScrollbar), null, {
|
|
120192
120258
|
default: withCtx(() => [
|
|
120193
120259
|
createElementVNode("div", _hoisted_6$k, [
|
|
@@ -120553,7 +120619,7 @@ const _hoisted_4$D = {
|
|
|
120553
120619
|
key: 1,
|
|
120554
120620
|
class: "title"
|
|
120555
120621
|
};
|
|
120556
|
-
const _hoisted_5$
|
|
120622
|
+
const _hoisted_5$u = {
|
|
120557
120623
|
key: 1,
|
|
120558
120624
|
class: "empty"
|
|
120559
120625
|
};
|
|
@@ -120605,7 +120671,7 @@ const _sfc_main$2w = /* @__PURE__ */ defineComponent({
|
|
|
120605
120671
|
key: 0,
|
|
120606
120672
|
widget: unref(widget),
|
|
120607
120673
|
active: unref(active)
|
|
120608
|
-
}, null, 8, ["widget", "active"])) : (openBlock(), createElementBlock("div", _hoisted_5$
|
|
120674
|
+
}, null, 8, ["widget", "active"])) : (openBlock(), createElementBlock("div", _hoisted_5$u, "请选择一个元素"))
|
|
120609
120675
|
]),
|
|
120610
120676
|
_: 1
|
|
120611
120677
|
})
|
|
@@ -121438,7 +121504,7 @@ const _hoisted_1$1H = { class: "validation-comment-item" };
|
|
|
121438
121504
|
const _hoisted_2$10 = { class: "validation-comment-panel-container" };
|
|
121439
121505
|
const _hoisted_3$K = { class: "comment-header" };
|
|
121440
121506
|
const _hoisted_4$B = { class: "comment-messages" };
|
|
121441
|
-
const _hoisted_5$
|
|
121507
|
+
const _hoisted_5$t = { class: "message-item" };
|
|
121442
121508
|
const _hoisted_6$j = { class: "field-name" };
|
|
121443
121509
|
const _hoisted_7$e = { class: "error-text" };
|
|
121444
121510
|
const _sfc_main$2o = /* @__PURE__ */ defineComponent({
|
|
@@ -121525,7 +121591,7 @@ const _sfc_main$2o = /* @__PURE__ */ defineComponent({
|
|
|
121525
121591
|
]),
|
|
121526
121592
|
createElementVNode("div", _hoisted_4$B, [
|
|
121527
121593
|
(openBlock(true), createElementBlock(Fragment, null, renderList(fieldErrorList.value, (item) => {
|
|
121528
|
-
return openBlock(), createElementBlock("div", _hoisted_5$
|
|
121594
|
+
return openBlock(), createElementBlock("div", _hoisted_5$t, [
|
|
121529
121595
|
createElementVNode("div", _hoisted_6$j, toDisplayString(unref(fieldInfo)?.name) + ":", 1),
|
|
121530
121596
|
createElementVNode("div", _hoisted_7$e, toDisplayString(item.message), 1)
|
|
121531
121597
|
]);
|
|
@@ -121626,7 +121692,7 @@ const _hoisted_1$1F = { class: "cl__item" };
|
|
|
121626
121692
|
const _hoisted_2$$ = { class: "cl__item-panel-container" };
|
|
121627
121693
|
const _hoisted_3$J = { class: "cl__hdr" };
|
|
121628
121694
|
const _hoisted_4$A = { class: "cl__hdr-title" };
|
|
121629
|
-
const _hoisted_5$
|
|
121695
|
+
const _hoisted_5$s = {
|
|
121630
121696
|
key: 0,
|
|
121631
121697
|
class: "cl__hdr-flag"
|
|
121632
121698
|
};
|
|
@@ -121741,7 +121807,7 @@ const _sfc_main$2m = /* @__PURE__ */ defineComponent({
|
|
|
121741
121807
|
createElementVNode("article", _hoisted_2$$, [
|
|
121742
121808
|
createElementVNode("header", _hoisted_3$J, [
|
|
121743
121809
|
createElementVNode("div", _hoisted_4$A, toDisplayString(getHeaderLabel(__props.data.changeType)), 1),
|
|
121744
|
-
__props.data.isCurrentChange ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
121810
|
+
__props.data.isCurrentChange ? (openBlock(), createElementBlock("div", _hoisted_5$s, "本次变更")) : createCommentVNode("", true)
|
|
121745
121811
|
]),
|
|
121746
121812
|
createElementVNode("div", _hoisted_6$i, [
|
|
121747
121813
|
createVNode(unref(GctAvatar), {
|
|
@@ -122338,7 +122404,7 @@ const _hoisted_4$z = {
|
|
|
122338
122404
|
key: 0,
|
|
122339
122405
|
class: "right-container"
|
|
122340
122406
|
};
|
|
122341
|
-
const _hoisted_5$
|
|
122407
|
+
const _hoisted_5$r = {
|
|
122342
122408
|
key: 1,
|
|
122343
122409
|
class: "design-footer"
|
|
122344
122410
|
};
|
|
@@ -122432,7 +122498,7 @@ const _sfc_main$2i = /* @__PURE__ */ defineComponent({
|
|
|
122432
122498
|
])) : createCommentVNode("", true)
|
|
122433
122499
|
], 4)
|
|
122434
122500
|
]),
|
|
122435
|
-
!isPreview.value ? (openBlock(), createElementBlock("footer", _hoisted_5$
|
|
122501
|
+
!isPreview.value ? (openBlock(), createElementBlock("footer", _hoisted_5$r, [
|
|
122436
122502
|
createElementVNode("div", null, [
|
|
122437
122503
|
createElementVNode("span", _hoisted_6$h, " 布局刷新次数:" + toDisplayString(unref(docInfo).updateTick), 1),
|
|
122438
122504
|
createElementVNode("span", _hoisted_7$c, " 模式:" + toDisplayString(unref(docInst)?.modeLabel), 1)
|
|
@@ -127323,7 +127389,7 @@ const _hoisted_3$G = {
|
|
|
127323
127389
|
class: "head"
|
|
127324
127390
|
};
|
|
127325
127391
|
const _hoisted_4$x = { class: "title" };
|
|
127326
|
-
const _hoisted_5$
|
|
127392
|
+
const _hoisted_5$q = {
|
|
127327
127393
|
key: 1,
|
|
127328
127394
|
class: "link"
|
|
127329
127395
|
};
|
|
@@ -127367,7 +127433,7 @@ const _sfc_main$1W = /* @__PURE__ */ defineComponent({
|
|
|
127367
127433
|
onClick: withModifiers(($event) => _ctx.$emit("delete-thead", item), ["stop"])
|
|
127368
127434
|
}, null, 8, ["onClick"])
|
|
127369
127435
|
])) : createCommentVNode("", true),
|
|
127370
|
-
__props.type !== "table-header" && item?.thead ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
127436
|
+
__props.type !== "table-header" && item?.thead ? (openBlock(), createElementBlock("div", _hoisted_5$q, [
|
|
127371
127437
|
createVNode(unref(GctIcon), {
|
|
127372
127438
|
class: "icon",
|
|
127373
127439
|
icon: "icon-lianjie2",
|
|
@@ -127858,7 +127924,7 @@ const _hoisted_4$v = {
|
|
|
127858
127924
|
key: 1,
|
|
127859
127925
|
class: "error-text map-error"
|
|
127860
127926
|
};
|
|
127861
|
-
const _hoisted_5$
|
|
127927
|
+
const _hoisted_5$p = { class: "qrcode-parse-modal__map" };
|
|
127862
127928
|
const _hoisted_6$f = {
|
|
127863
127929
|
key: 0,
|
|
127864
127930
|
class: "error-text"
|
|
@@ -128037,7 +128103,7 @@ const _sfc_main$1R = /* @__PURE__ */ defineComponent({
|
|
|
128037
128103
|
])) : createCommentVNode("", true),
|
|
128038
128104
|
_cache[2] || (_cache[2] = createElementVNode("div", { class: "qrcode-parse-modal__subtitle" }, "字段映射", -1)),
|
|
128039
128105
|
mapError.value ? (openBlock(), createElementBlock("div", _hoisted_4$v, toDisplayString(mapError.value), 1)) : createCommentVNode("", true),
|
|
128040
|
-
createElementVNode("div", _hoisted_5$
|
|
128106
|
+
createElementVNode("div", _hoisted_5$p, [
|
|
128041
128107
|
(openBlock(true), createElementBlock(Fragment, null, renderList(formState.fillMapArr, (item, index2) => {
|
|
128042
128108
|
return openBlock(), createElementBlock("div", {
|
|
128043
128109
|
key: index2,
|
|
@@ -128501,7 +128567,7 @@ const _hoisted_1$1r = { class: "panel-repeating-sub-table" };
|
|
|
128501
128567
|
const _hoisted_2$S = { class: "container" };
|
|
128502
128568
|
const _hoisted_3$C = { class: "form-custom-label" };
|
|
128503
128569
|
const _hoisted_4$u = { class: "content" };
|
|
128504
|
-
const _hoisted_5$
|
|
128570
|
+
const _hoisted_5$o = { class: "content" };
|
|
128505
128571
|
const _sfc_main$1N = /* @__PURE__ */ defineComponent({
|
|
128506
128572
|
__name: "RepeatingSubTablePanel",
|
|
128507
128573
|
props: {
|
|
@@ -128611,7 +128677,7 @@ const _sfc_main$1N = /* @__PURE__ */ defineComponent({
|
|
|
128611
128677
|
label: "库存自动加载"
|
|
128612
128678
|
}, {
|
|
128613
128679
|
default: withCtx(() => [
|
|
128614
|
-
createElementVNode("div", _hoisted_5$
|
|
128680
|
+
createElementVNode("div", _hoisted_5$o, [
|
|
128615
128681
|
createVNode(unref(GctSwitch), {
|
|
128616
128682
|
modelValue: unref(regionProps).autoLoadInventory,
|
|
128617
128683
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => unref(regionProps).autoLoadInventory = $event),
|
|
@@ -128953,7 +129019,7 @@ const _hoisted_3$B = {
|
|
|
128953
129019
|
class: "iconfont icon-drag mover"
|
|
128954
129020
|
};
|
|
128955
129021
|
const _hoisted_4$t = { class: "bom-entry-item-content ks-col" };
|
|
128956
|
-
const _hoisted_5$
|
|
129022
|
+
const _hoisted_5$n = { class: "bom-entry-item-content-item ell overflow-hidden" };
|
|
128957
129023
|
const _hoisted_6$e = ["title"];
|
|
128958
129024
|
const _hoisted_7$9 = { class: "bom-entry-item-btns ml8px" };
|
|
128959
129025
|
const _hoisted_8$8 = ["onClick"];
|
|
@@ -129049,7 +129115,7 @@ const _sfc_main$1H = /* @__PURE__ */ defineComponent({
|
|
|
129049
129115
|
createElementVNode("div", _hoisted_2$Q, [
|
|
129050
129116
|
!__props.disabled ? (openBlock(), createElementBlock("i", _hoisted_3$B)) : createCommentVNode("", true),
|
|
129051
129117
|
createElementVNode("div", _hoisted_4$t, [
|
|
129052
|
-
createElementVNode("div", _hoisted_5$
|
|
129118
|
+
createElementVNode("div", _hoisted_5$n, [
|
|
129053
129119
|
(openBlock(), createBlock(_sfc_main$1I, {
|
|
129054
129120
|
key: element.product_id_,
|
|
129055
129121
|
value: element.product_id_
|
|
@@ -129099,7 +129165,7 @@ const _hoisted_1$1m = { class: "panel-material-consume-table" };
|
|
|
129099
129165
|
const _hoisted_2$P = { class: "container" };
|
|
129100
129166
|
const _hoisted_3$A = { class: "content" };
|
|
129101
129167
|
const _hoisted_4$s = { class: "entries-container" };
|
|
129102
|
-
const _hoisted_5$
|
|
129168
|
+
const _hoisted_5$m = { class: "content" };
|
|
129103
129169
|
const _sfc_main$1G = /* @__PURE__ */ defineComponent({
|
|
129104
129170
|
__name: "MaterialConsumeTablePanel",
|
|
129105
129171
|
props: {
|
|
@@ -129203,7 +129269,7 @@ const _sfc_main$1G = /* @__PURE__ */ defineComponent({
|
|
|
129203
129269
|
createElementVNode("div", { class: "form-custom-label" }, " 按顺序投料 ", -1)
|
|
129204
129270
|
])]),
|
|
129205
129271
|
default: withCtx(() => [
|
|
129206
|
-
createElementVNode("div", _hoisted_5$
|
|
129272
|
+
createElementVNode("div", _hoisted_5$m, [
|
|
129207
129273
|
createVNode(unref(GctSwitch), {
|
|
129208
129274
|
modelValue: unref(regionProps).sequence_loading_enabled_,
|
|
129209
129275
|
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => unref(regionProps).sequence_loading_enabled_ = $event),
|
|
@@ -130593,7 +130659,7 @@ const _hoisted_1$1d = { class: "data-source-model-link-wrapper" };
|
|
|
130593
130659
|
const _hoisted_2$I = { class: "model-link-container" };
|
|
130594
130660
|
const _hoisted_3$w = { class: "model-link-content" };
|
|
130595
130661
|
const _hoisted_4$p = { class: "model-link-item" };
|
|
130596
|
-
const _hoisted_5$
|
|
130662
|
+
const _hoisted_5$l = { class: "model-link-item" };
|
|
130597
130663
|
const _sfc_main$1q = /* @__PURE__ */ defineComponent({
|
|
130598
130664
|
__name: "data-source-model-link",
|
|
130599
130665
|
props: {
|
|
@@ -130843,7 +130909,7 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
|
|
|
130843
130909
|
return openBlock(), createElementBlock(Fragment, {
|
|
130844
130910
|
key: item.id
|
|
130845
130911
|
}, [
|
|
130846
|
-
createElementVNode("div", _hoisted_5$
|
|
130912
|
+
createElementVNode("div", _hoisted_5$l, [
|
|
130847
130913
|
createVNode(_sfc_main$1t, {
|
|
130848
130914
|
class: "custom-select",
|
|
130849
130915
|
placeholder: "请选择字段",
|
|
@@ -131021,7 +131087,7 @@ const _hoisted_1$1b = { class: "data-source-field-map-wrapper" };
|
|
|
131021
131087
|
const _hoisted_2$G = { class: "field-map-container" };
|
|
131022
131088
|
const _hoisted_3$u = { class: "field-map-content" };
|
|
131023
131089
|
const _hoisted_4$o = { class: "field-map-item" };
|
|
131024
|
-
const _hoisted_5$
|
|
131090
|
+
const _hoisted_5$k = { class: "blank last" };
|
|
131025
131091
|
const _hoisted_6$d = ["onClick"];
|
|
131026
131092
|
const _sfc_main$1n = /* @__PURE__ */ defineComponent({
|
|
131027
131093
|
__name: "data-source-field-map",
|
|
@@ -131235,7 +131301,7 @@ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
|
|
|
131235
131301
|
field.fieldLink = opt.fieldLink;
|
|
131236
131302
|
}
|
|
131237
131303
|
}, null, 8, ["joinModelType", "joinFormRefId", "joinModelKey", "filterFieldType", "selectCascaderValue", "onUpdate:selectCascaderValue", "selectFieldKey", "onUpdate:selectFieldKey", "onOnSelect"])),
|
|
131238
|
-
createElementVNode("span", _hoisted_5$
|
|
131304
|
+
createElementVNode("span", _hoisted_5$k, [
|
|
131239
131305
|
createElementVNode("i", {
|
|
131240
131306
|
class: "iconfont icon-shanchu",
|
|
131241
131307
|
onClick: ($event) => removeFieldItem(field)
|
|
@@ -131259,7 +131325,7 @@ const _hoisted_1$1a = { class: "param-link-container" };
|
|
|
131259
131325
|
const _hoisted_2$F = { class: "param-link-content" };
|
|
131260
131326
|
const _hoisted_3$t = { class: "param-link-item" };
|
|
131261
131327
|
const _hoisted_4$n = { class: "blank last" };
|
|
131262
|
-
const _hoisted_5$
|
|
131328
|
+
const _hoisted_5$j = ["onClick"];
|
|
131263
131329
|
const _sfc_main$1m = /* @__PURE__ */ defineComponent({
|
|
131264
131330
|
__name: "param-field-link",
|
|
131265
131331
|
props: {
|
|
@@ -131404,7 +131470,7 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
|
|
|
131404
131470
|
createElementVNode("i", {
|
|
131405
131471
|
class: "iconfont icon-shanchu",
|
|
131406
131472
|
onClick: ($event) => removeFieldItem(fieldItem)
|
|
131407
|
-
}, null, 8, _hoisted_5$
|
|
131473
|
+
}, null, 8, _hoisted_5$j)
|
|
131408
131474
|
])
|
|
131409
131475
|
]);
|
|
131410
131476
|
}), 128))
|
|
@@ -131423,7 +131489,7 @@ const _hoisted_1$19 = { class: "item-info" };
|
|
|
131423
131489
|
const _hoisted_2$E = { class: "info-text" };
|
|
131424
131490
|
const _hoisted_3$s = { class: "text-row" };
|
|
131425
131491
|
const _hoisted_4$m = { class: "row-value" };
|
|
131426
|
-
const _hoisted_5$
|
|
131492
|
+
const _hoisted_5$i = { class: "text-row" };
|
|
131427
131493
|
const _hoisted_6$c = { class: "row-value" };
|
|
131428
131494
|
const _hoisted_7$8 = ["onClick"];
|
|
131429
131495
|
const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
@@ -131504,7 +131570,7 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
|
131504
131570
|
_cache[0] || (_cache[0] = createElementVNode("span", { class: "row-label" }, "字段名称:", -1)),
|
|
131505
131571
|
createElementVNode("span", _hoisted_4$m, toDisplayString(item.objectFieldName), 1)
|
|
131506
131572
|
]),
|
|
131507
|
-
createElementVNode("div", _hoisted_5$
|
|
131573
|
+
createElementVNode("div", _hoisted_5$i, [
|
|
131508
131574
|
_cache[1] || (_cache[1] = createElementVNode("span", { class: "row-label" }, "字段类型:", -1)),
|
|
131509
131575
|
createElementVNode("span", _hoisted_6$c, toDisplayString(getObjectFieldTypeName(item.objectField)), 1)
|
|
131510
131576
|
])
|
|
@@ -131551,7 +131617,7 @@ const _hoisted_1$18 = { class: "panel-data-init" };
|
|
|
131551
131617
|
const _hoisted_2$D = { class: "collapse-inner param-area" };
|
|
131552
131618
|
const _hoisted_3$r = { class: "collapse-inner data-source-area" };
|
|
131553
131619
|
const _hoisted_4$l = { class: "collapse-inner" };
|
|
131554
|
-
const _hoisted_5$
|
|
131620
|
+
const _hoisted_5$h = { class: "collapse-inner data-load-area" };
|
|
131555
131621
|
const _sfc_main$1k = /* @__PURE__ */ defineComponent({
|
|
131556
131622
|
__name: "DataInitPanel",
|
|
131557
131623
|
setup(__props) {
|
|
@@ -131827,7 +131893,7 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
|
|
|
131827
131893
|
title: "数据加载"
|
|
131828
131894
|
}, {
|
|
131829
131895
|
default: withCtx(() => [
|
|
131830
|
-
createElementVNode("div", _hoisted_5$
|
|
131896
|
+
createElementVNode("div", _hoisted_5$h, [
|
|
131831
131897
|
(openBlock(), createBlock(resolveDynamicComponent(dataLoadPanel.value)))
|
|
131832
131898
|
])
|
|
131833
131899
|
]),
|
|
@@ -131982,10 +132048,14 @@ function filterFieldTree(nodes, keyword) {
|
|
|
131982
132048
|
const _hoisted_1$16 = ["value", "placeholder"];
|
|
131983
132049
|
const _hoisted_2$B = {
|
|
131984
132050
|
key: 2,
|
|
131985
|
-
class: "field-tree-
|
|
132051
|
+
class: "field-tree-select__suffix-icon"
|
|
131986
132052
|
};
|
|
131987
|
-
const _hoisted_3$p = {
|
|
131988
|
-
|
|
132053
|
+
const _hoisted_3$p = {
|
|
132054
|
+
key: 3,
|
|
132055
|
+
class: "field-tree-select__suffix-icon"
|
|
132056
|
+
};
|
|
132057
|
+
const _hoisted_4$j = { class: "field-tree-dropdown__list" };
|
|
132058
|
+
const _hoisted_5$g = {
|
|
131989
132059
|
key: 0,
|
|
131990
132060
|
class: "field-tree-dropdown__empty"
|
|
131991
132061
|
};
|
|
@@ -132007,6 +132077,7 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
|
132007
132077
|
const inputRef = ref();
|
|
132008
132078
|
const dropdownRef = ref();
|
|
132009
132079
|
const isOpen = ref(false);
|
|
132080
|
+
const isHovered = ref(false);
|
|
132010
132081
|
const dropdownStyle = ref({});
|
|
132011
132082
|
const { keyword, highlightName } = useHighlightSearch();
|
|
132012
132083
|
const displayTree = computed(() => filterFieldTree(props.treeData, keyword.value));
|
|
@@ -132016,9 +132087,11 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
|
132016
132087
|
);
|
|
132017
132088
|
const selectedLabel = computed(() => selectedNode.value?.label ?? "");
|
|
132018
132089
|
const inputDisplayValue = computed(() => isOpen.value ? keyword.value : "");
|
|
132019
|
-
const
|
|
132020
|
-
(
|
|
132021
|
-
|
|
132090
|
+
const suffixIcon = computed(() => {
|
|
132091
|
+
if (!isOpen.value && !!props.modelValue && isHovered.value) return "clear";
|
|
132092
|
+
if (isOpen.value) return "search";
|
|
132093
|
+
return "arrow";
|
|
132094
|
+
});
|
|
132022
132095
|
function calcDropdownPosition() {
|
|
132023
132096
|
if (!rootRef.value) return;
|
|
132024
132097
|
const rect = rootRef.value.getBoundingClientRect();
|
|
@@ -132062,15 +132135,10 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
|
132062
132135
|
calcDropdownPosition();
|
|
132063
132136
|
}
|
|
132064
132137
|
function onClear() {
|
|
132065
|
-
if (keyword.value.trim()) {
|
|
132066
|
-
keyword.value = "";
|
|
132067
|
-
inputRef.value?.focus();
|
|
132068
|
-
return;
|
|
132069
|
-
}
|
|
132070
132138
|
emit("update:modelValue", void 0);
|
|
132071
132139
|
emit("change", void 0);
|
|
132072
132140
|
keyword.value = "";
|
|
132073
|
-
|
|
132141
|
+
close();
|
|
132074
132142
|
}
|
|
132075
132143
|
function onSelect(value, node) {
|
|
132076
132144
|
emit("update:modelValue", value);
|
|
@@ -132112,7 +132180,9 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
|
132112
132180
|
}, [
|
|
132113
132181
|
createElementVNode("div", {
|
|
132114
132182
|
class: normalizeClass(["field-tree-select__trigger", { open: isOpen.value }]),
|
|
132115
|
-
onClick: onTriggerClick
|
|
132183
|
+
onClick: onTriggerClick,
|
|
132184
|
+
onMouseenter: _cache[1] || (_cache[1] = ($event) => isHovered.value = true),
|
|
132185
|
+
onMouseleave: _cache[2] || (_cache[2] = ($event) => isHovered.value = false)
|
|
132116
132186
|
}, [
|
|
132117
132187
|
selectedNode.value?.icon && !isOpen.value ? (openBlock(), createBlock(unref(GctIcon), {
|
|
132118
132188
|
key: 0,
|
|
@@ -132136,9 +132206,11 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
|
132136
132206
|
withKeys(close, ["tab"])
|
|
132137
132207
|
]
|
|
132138
132208
|
}, null, 42, _hoisted_1$16),
|
|
132139
|
-
|
|
132209
|
+
suffixIcon.value === "clear" ? (openBlock(), createElementBlock("span", {
|
|
132140
132210
|
key: 1,
|
|
132141
132211
|
class: "field-tree-select__clear",
|
|
132212
|
+
onMousedown: _cache[0] || (_cache[0] = withModifiers(() => {
|
|
132213
|
+
}, ["prevent"])),
|
|
132142
132214
|
onClick: withModifiers(onClear, ["stop"])
|
|
132143
132215
|
}, [
|
|
132144
132216
|
createVNode(unref(GctIcon), {
|
|
@@ -132146,14 +132218,20 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
|
132146
132218
|
color: "rgba(0, 0, 0, 0.25)",
|
|
132147
132219
|
size: "14"
|
|
132148
132220
|
})
|
|
132149
|
-
])) : (openBlock(), createElementBlock("span", _hoisted_2$B, [
|
|
132221
|
+
], 32)) : suffixIcon.value === "search" ? (openBlock(), createElementBlock("span", _hoisted_2$B, [
|
|
132150
132222
|
createVNode(unref(GctIcon), {
|
|
132151
132223
|
icon: "icon-sousuo",
|
|
132152
132224
|
color: "rgba(0, 0, 0, 0.45)",
|
|
132153
132225
|
size: "14"
|
|
132154
132226
|
})
|
|
132227
|
+
])) : (openBlock(), createElementBlock("span", _hoisted_3$p, [
|
|
132228
|
+
createVNode(unref(GctIcon), {
|
|
132229
|
+
icon: "icon-arrow_zhankai",
|
|
132230
|
+
color: "#6b6b6b",
|
|
132231
|
+
version: "v2"
|
|
132232
|
+
})
|
|
132155
132233
|
]))
|
|
132156
|
-
],
|
|
132234
|
+
], 34),
|
|
132157
132235
|
(openBlock(), createBlock(Teleport, { to: "body" }, [
|
|
132158
132236
|
isOpen.value ? (openBlock(), createElementBlock("div", {
|
|
132159
132237
|
key: 0,
|
|
@@ -132161,7 +132239,7 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
|
132161
132239
|
ref: dropdownRef,
|
|
132162
132240
|
class: "field-tree-dropdown",
|
|
132163
132241
|
style: normalizeStyle(dropdownStyle.value),
|
|
132164
|
-
onMousedown: _cache[
|
|
132242
|
+
onMousedown: _cache[3] || (_cache[3] = withModifiers(() => {
|
|
132165
132243
|
}, ["prevent"]))
|
|
132166
132244
|
}, [
|
|
132167
132245
|
createVNode(unref(GctScrollbar), {
|
|
@@ -132169,7 +132247,7 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
|
132169
132247
|
"wrap-style": { maxHeight: "280px" }
|
|
132170
132248
|
}, {
|
|
132171
132249
|
default: withCtx(() => [
|
|
132172
|
-
createElementVNode("div",
|
|
132250
|
+
createElementVNode("div", _hoisted_4$j, [
|
|
132173
132251
|
(openBlock(true), createElementBlock(Fragment, null, renderList(displayTree.value, (node) => {
|
|
132174
132252
|
return openBlock(), createBlock(FieldTreeNode, {
|
|
132175
132253
|
key: node.value,
|
|
@@ -132183,7 +132261,7 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
|
132183
132261
|
onSelect
|
|
132184
132262
|
}, null, 8, ["node", "model-value", "force-expand", "default-expanded", "group-only-expand", "highlight-name"]);
|
|
132185
132263
|
}), 128)),
|
|
132186
|
-
!displayTree.value.length ? (openBlock(), createElementBlock("div",
|
|
132264
|
+
!displayTree.value.length ? (openBlock(), createElementBlock("div", _hoisted_5$g, "暂无数据")) : createCommentVNode("", true)
|
|
132187
132265
|
])
|
|
132188
132266
|
]),
|
|
132189
132267
|
_: 1
|
|
@@ -132194,7 +132272,7 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
|
132194
132272
|
};
|
|
132195
132273
|
}
|
|
132196
132274
|
});
|
|
132197
|
-
const FieldTreeSelect = /* @__PURE__ */ _export_sfc(_sfc_main$1i, [["__scopeId", "data-v-
|
|
132275
|
+
const FieldTreeSelect = /* @__PURE__ */ _export_sfc(_sfc_main$1i, [["__scopeId", "data-v-60520932"]]);
|
|
132198
132276
|
const SOURCE_UNIT_KEY = "sourceUnit";
|
|
132199
132277
|
const TARGET_UNIT_KEY = "targetUnit";
|
|
132200
132278
|
const EXPR_FIELD_TITLE = "规则表达式值";
|
|
@@ -135085,7 +135163,7 @@ const _hoisted_5$a = {
|
|
|
135085
135163
|
};
|
|
135086
135164
|
const _hoisted_6$8 = { class: "form-col" };
|
|
135087
135165
|
const _hoisted_7$5 = {
|
|
135088
|
-
key:
|
|
135166
|
+
key: 2,
|
|
135089
135167
|
class: "error-text"
|
|
135090
135168
|
};
|
|
135091
135169
|
const _hoisted_8$5 = ["onClick"];
|
|
@@ -135114,6 +135192,9 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
|
135114
135192
|
]
|
|
135115
135193
|
});
|
|
135116
135194
|
const errors = ref({});
|
|
135195
|
+
const isFlatToFieldMode = computed(
|
|
135196
|
+
() => !props.toFieldList.length && props.toSubTables.length > 0
|
|
135197
|
+
);
|
|
135117
135198
|
const fullToFieldTree = computed(
|
|
135118
135199
|
() => buildToFieldTree(props.toModelInfo, props.toFieldList, props.toSubTables)
|
|
135119
135200
|
);
|
|
@@ -135135,31 +135216,59 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
|
135135
135216
|
const fromMeta = resolveFromFieldMeta(fromField, props.refModelFieldList, props.currentField);
|
|
135136
135217
|
return filterToFieldTreeBySource(fullToFieldTree.value, fromMeta);
|
|
135137
135218
|
}
|
|
135219
|
+
function getToFieldFlatOptions(fromField) {
|
|
135220
|
+
return getToFieldTree(fromField).flatMap(
|
|
135221
|
+
(group2) => (group2.children ?? []).map((child) => ({
|
|
135222
|
+
label: child.label,
|
|
135223
|
+
value: child.value,
|
|
135224
|
+
icon: child.icon,
|
|
135225
|
+
iconVersion: child.iconVersion,
|
|
135226
|
+
iconColor: child.iconColor,
|
|
135227
|
+
_item: child._targetMeta
|
|
135228
|
+
}))
|
|
135229
|
+
);
|
|
135230
|
+
}
|
|
135138
135231
|
function getToFieldValue(rule) {
|
|
135139
135232
|
return encodeToFieldValueFromRule(rule);
|
|
135140
135233
|
}
|
|
135141
|
-
function
|
|
135142
|
-
if (!
|
|
135234
|
+
function applyToFieldMeta(rule, meta) {
|
|
135235
|
+
if (!meta) {
|
|
135143
135236
|
rule.toField = void 0;
|
|
135144
135237
|
rule.toModelKey = void 0;
|
|
135145
135238
|
rule.toSubModel = void 0;
|
|
135146
135239
|
rule.toSubFieldKey = void 0;
|
|
135240
|
+
return;
|
|
135241
|
+
}
|
|
135242
|
+
rule.toField = meta.fieldKey;
|
|
135243
|
+
rule.toModelKey = meta.modelKey;
|
|
135244
|
+
rule.toSubModel = meta.subModel;
|
|
135245
|
+
rule.toSubFieldKey = meta.subFieldKey;
|
|
135246
|
+
}
|
|
135247
|
+
function clearRuleError(rule, field) {
|
|
135248
|
+
if (!errors.value[rule.id]) return;
|
|
135249
|
+
delete errors.value[rule.id][field];
|
|
135250
|
+
if (!Object.keys(errors.value[rule.id]).length) {
|
|
135251
|
+
delete errors.value[rule.id];
|
|
135252
|
+
}
|
|
135253
|
+
}
|
|
135254
|
+
function onToFieldValueChange(rule, value) {
|
|
135255
|
+
if (!value) {
|
|
135256
|
+
applyToFieldMeta(rule);
|
|
135147
135257
|
validateRule(rule);
|
|
135148
135258
|
}
|
|
135149
135259
|
}
|
|
135150
135260
|
function onToFieldChange(rule, node) {
|
|
135151
|
-
|
|
135152
|
-
|
|
135153
|
-
|
|
135154
|
-
|
|
135155
|
-
|
|
135156
|
-
rule
|
|
135157
|
-
|
|
135158
|
-
|
|
135159
|
-
rule.toModelKey = meta.modelKey;
|
|
135160
|
-
rule.toSubModel = meta.subModel;
|
|
135161
|
-
rule.toSubFieldKey = meta.subFieldKey;
|
|
135261
|
+
applyToFieldMeta(rule, node?._targetMeta);
|
|
135262
|
+
validateRule(rule);
|
|
135263
|
+
}
|
|
135264
|
+
function onToFieldFlatChange(rule, value, item) {
|
|
135265
|
+
if (value == null || value === "") {
|
|
135266
|
+
applyToFieldMeta(rule);
|
|
135267
|
+
validateRule(rule);
|
|
135268
|
+
return;
|
|
135162
135269
|
}
|
|
135270
|
+
const meta = item?._item ?? getToFieldFlatOptions(rule.fromField).find((opt) => opt.value === value)?._item;
|
|
135271
|
+
applyToFieldMeta(rule, meta);
|
|
135163
135272
|
validateRule(rule);
|
|
135164
135273
|
}
|
|
135165
135274
|
const ruleDescriptor = {
|
|
@@ -135230,12 +135339,16 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
|
135230
135339
|
if (index2 > -1) formState.rules.splice(index2, 1);
|
|
135231
135340
|
delete errors.value[rule.id];
|
|
135232
135341
|
}
|
|
135233
|
-
function onFromFieldChange(rule) {
|
|
135342
|
+
async function onFromFieldChange(rule) {
|
|
135343
|
+
const hadToFieldError = !!errors.value[rule.id]?.toField;
|
|
135234
135344
|
rule.toField = void 0;
|
|
135235
135345
|
rule.toModelKey = void 0;
|
|
135236
135346
|
rule.toSubModel = void 0;
|
|
135237
135347
|
rule.toSubFieldKey = void 0;
|
|
135238
|
-
validateRule(rule);
|
|
135348
|
+
await validateRule(rule);
|
|
135349
|
+
if (!hadToFieldError) {
|
|
135350
|
+
clearRuleError(rule, "toField");
|
|
135351
|
+
}
|
|
135239
135352
|
}
|
|
135240
135353
|
const save = async () => {
|
|
135241
135354
|
const ok = await validateForm();
|
|
@@ -135257,7 +135370,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
|
135257
135370
|
_cache[0] || (_cache[0] = createTextVNode(" 填充规则 ", -1))
|
|
135258
135371
|
]),
|
|
135259
135372
|
createElementVNode("div", _hoisted_2$p, [
|
|
135260
|
-
_cache[2] || (_cache[2] = createStaticVNode('<div class="header" data-v-
|
|
135373
|
+
_cache[2] || (_cache[2] = createStaticVNode('<div class="header" data-v-c4dcc73a><div class="header-title" data-v-c4dcc73a>取值来源</div><div class="header-label" data-v-c4dcc73a>值填充至</div><div class="header-title" data-v-c4dcc73a>目标字段(当前表单模型字段)</div><div class="header-action" data-v-c4dcc73a></div></div>', 1)),
|
|
135261
135374
|
createElementVNode("div", _hoisted_3$e, [
|
|
135262
135375
|
(openBlock(true), createElementBlock(Fragment, null, renderList(formState.rules, (rule) => {
|
|
135263
135376
|
return openBlock(), createElementBlock("div", {
|
|
@@ -135276,16 +135389,25 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
|
135276
135389
|
]),
|
|
135277
135390
|
_cache[1] || (_cache[1] = createElementVNode("div", { class: "form-table-label" }, "值填充至", -1)),
|
|
135278
135391
|
createElementVNode("div", _hoisted_6$8, [
|
|
135279
|
-
|
|
135392
|
+
isFlatToFieldMode.value ? (openBlock(), createBlock(unref(GctSearchableSelect), {
|
|
135393
|
+
key: 0,
|
|
135394
|
+
"model-value": getToFieldValue(rule),
|
|
135395
|
+
options: getToFieldFlatOptions(rule.fromField),
|
|
135396
|
+
allowClear: "",
|
|
135397
|
+
placeholder: "请选择字段",
|
|
135398
|
+
onChange: (v, item) => onToFieldFlatChange(rule, v, item)
|
|
135399
|
+
}, null, 8, ["model-value", "options", "onChange"])) : (openBlock(), createBlock(FieldTreeSelect, {
|
|
135400
|
+
key: 1,
|
|
135280
135401
|
"model-value": getToFieldValue(rule),
|
|
135281
135402
|
"tree-data": getToFieldTree(rule.fromField),
|
|
135282
135403
|
"group-only-expand": "",
|
|
135283
135404
|
"onUpdate:modelValue": (v) => onToFieldValueChange(rule, v),
|
|
135284
135405
|
onChange: (_2, node) => onToFieldChange(rule, node)
|
|
135285
|
-
}, null, 8, ["model-value", "tree-data", "onUpdate:modelValue", "onChange"]),
|
|
135406
|
+
}, null, 8, ["model-value", "tree-data", "onUpdate:modelValue", "onChange"])),
|
|
135286
135407
|
getError(rule, "toField") ? (openBlock(), createElementBlock("div", _hoisted_7$5, toDisplayString(getError(rule, "toField")), 1)) : createCommentVNode("", true)
|
|
135287
135408
|
]),
|
|
135288
|
-
|
|
135409
|
+
formState.rules.length > 1 ? (openBlock(), createElementBlock("div", {
|
|
135410
|
+
key: 0,
|
|
135289
135411
|
class: "action rule-item__remove",
|
|
135290
135412
|
onClick: withModifiers(($event) => removeRule(rule), ["stop"])
|
|
135291
135413
|
}, [
|
|
@@ -135293,7 +135415,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
|
135293
135415
|
icon: "icon-shanchu1",
|
|
135294
135416
|
color: "#8B8B8B"
|
|
135295
135417
|
})
|
|
135296
|
-
], 8, _hoisted_8$5)
|
|
135418
|
+
], 8, _hoisted_8$5)) : createCommentVNode("", true)
|
|
135297
135419
|
]);
|
|
135298
135420
|
}), 128))
|
|
135299
135421
|
])
|
|
@@ -135302,7 +135424,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
|
135302
135424
|
};
|
|
135303
135425
|
}
|
|
135304
135426
|
});
|
|
135305
|
-
const AutofillRulesModel = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__scopeId", "data-v-
|
|
135427
|
+
const AutofillRulesModel = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__scopeId", "data-v-c4dcc73a"]]);
|
|
135306
135428
|
const _hoisted_1$P = { class: "ref-autofill-editor__extra" };
|
|
135307
135429
|
const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
135308
135430
|
__name: "ref-autofill-editor",
|