@deskhero/dh_ui 1.29.2 → 1.29.4
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/dh_ui.es.js +151 -188
- package/dist/dh_ui.umd.js +6 -6
- package/dist/src/components/DropdownMenu.vue.d.ts +33 -0
- package/dist/src/components/NumberRange.vue.d.ts +12 -3
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/dh_ui.es.js
CHANGED
|
@@ -55,22 +55,18 @@ const _sfc_main$i = defineComponent({
|
|
|
55
55
|
},
|
|
56
56
|
missingFilter() {
|
|
57
57
|
this.isFilterMissing = !this.isFilterMissing;
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
}
|
|
64
|
-
if (this.isExclude) {
|
|
65
|
-
this.excludeFilter();
|
|
66
|
-
}
|
|
58
|
+
this.$emit("filter_missing", this.isFilterMissing);
|
|
59
|
+
if (this.isFilterMissing && this.isMatch) {
|
|
60
|
+
this.matchFilter();
|
|
61
|
+
} else if (this.isFilterMissing && this.isExclude) {
|
|
62
|
+
this.excludeFilter();
|
|
67
63
|
}
|
|
68
64
|
}
|
|
69
65
|
}
|
|
70
66
|
});
|
|
71
67
|
const _hoisted_1$h = { class: "dh-advanced-filter-container" };
|
|
72
68
|
const _hoisted_2$d = { class: "advance_section" };
|
|
73
|
-
const _hoisted_3$
|
|
69
|
+
const _hoisted_3$9 = {
|
|
74
70
|
key: 0,
|
|
75
71
|
class: "list-none"
|
|
76
72
|
};
|
|
@@ -91,11 +87,12 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
91
87
|
size: 20
|
|
92
88
|
}, null, 8, ["icon-name"])
|
|
93
89
|
]),
|
|
94
|
-
_ctx.activeFilter ? (openBlock(), createElementBlock("ul", _hoisted_3$
|
|
90
|
+
_ctx.activeFilter ? (openBlock(), createElementBlock("ul", _hoisted_3$9, [
|
|
95
91
|
createElementVNode("li", null, [
|
|
96
92
|
createElementVNode("label", null, [
|
|
97
93
|
createElementVNode("input", {
|
|
98
94
|
checked: _ctx.isFilterMissing,
|
|
95
|
+
name: "number_filter",
|
|
99
96
|
type: "checkbox",
|
|
100
97
|
onChange: _cache[1] || (_cache[1] = ($event) => _ctx.missingFilter())
|
|
101
98
|
}, null, 40, _hoisted_4$6),
|
|
@@ -126,7 +123,7 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
126
123
|
])
|
|
127
124
|
]);
|
|
128
125
|
}
|
|
129
|
-
var
|
|
126
|
+
var DhAdvancedFilter = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_render$8]]);
|
|
130
127
|
function toInteger(dirtyNumber) {
|
|
131
128
|
if (dirtyNumber === null || dirtyNumber === true || dirtyNumber === false) {
|
|
132
129
|
return NaN;
|
|
@@ -10731,10 +10728,10 @@ Object.entries(ss).forEach(([e2, a3]) => {
|
|
|
10731
10728
|
var __glob_1_0$1 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iOSIgdmlld0JveD0iMCAwIDIxIDkiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0wLjk4NzgxMyA5QzAuOTIzODEzIDkgMC44Njc4MTMgOC45NzYgMC44MTk4MTMgOC45MjhDMC43NzE4MTMgOC44OCAwLjc0NzgxMyA4LjgyNCAwLjc0NzgxMyA4Ljc2QzAuNzQ3ODEzIDguNjk2IDAuNzUxODEzIDguNjUyIDAuNzU5ODEzIDguNjI4TDMuNzM1ODEgMC44NjRDMy43OTk4MSAwLjY4Nzk5OSAzLjkyNzgxIDAuNTk5OTk5IDQuMTE5ODEgMC41OTk5OTlINC45MzU4MUM1LjEyNzgxIDAuNTk5OTk5IDUuMjU1ODEgMC42ODc5OTkgNS4zMTk4MSAwLjg2NEw4LjI4MzgxIDguNj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c+Cg==";
|
|
10737
|
-
var
|
|
10734
|
+
var __glob_1_6 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgIDxwYXRoIGQ9Im0xMiA4IDYuMDYyIDZINS45MzhMMTIgOHoiIGZpbGw9IiNCRkJGQkYiLz4KPC9zdmc+Cg==";
|
|
10738
10735
|
var __glob_1_7 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI4IiB2aWV3Qm94PSIwIDAgOCA4IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNOCAyLjkxNTg5TDYuOTE1ODkgMS4wODQxMUw1LjA4NDExIDIuMTMwODRWMEgyLjkxNTg5VjIuMTMwODRMMS4wODQxMSAxLjA4NDExTDAgMi45MTU4OUwxLjg2OTE2IDRMMCA1LjA4NDExTDEuMDg0MTEgNi45MTU4OUwyLjkxNTg5IDUuODY5MTZWOEg1LjA4NDExVjUuODY5MTZMNi45MTU4OSA2LjkxNTg5TDggNS4wODQxMUw2LjEzMDg0IDRMOCAyLjkxNTg5WiIgZmlsbD0iI0FBQUNCNCIvPgo8L3N2Zz4K";
|
|
10739
10736
|
var __glob_1_8 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNSAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xMC41MTk1IDEuNDI1MjlDOS45NDQ1MSAxLjQyNTI5IDkuMzkzMDMgMS42NTM3MiA4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vc3ZnIj4KICAgIDxwYXRoIGQ9Ik02Ljk4IDExLjJhMi41OTcgMi41OTcgMCAwIDAtMi41OTkgMi41OTd2My4yOWExLjk3IDEuOTcgMCAxIDAgLjg2Ni4wMjJ2LTMuMzEyYTEuNzMyIDEuNzMyIDAgMCAxIDEuNzMyLTEuNzMyaDQuNjF2NS4wNDRhMS45NyAxLjk3IDAgMSAwIC44NjcgMHYtNS4wNDRoNC42MzJhMS43MzIgMS43MzIgMCAwIDEgMS43MzIgMS43MzJ2My4zMTJhMS45NyAxLjk3IDAgMSAwIC44NjYgMHYtMy4zMTJhMi41OTggMi41OTggMCAwIDAtMi41OTgtMi41OThoLTQuNjMyVjYuODkxYTEuOTcgMS45NyAwIDEgMC0uODY2IDBWMTEuMkg2Ljk4em0tMS4xMjcgNy43OTJhMS4xMDQgMS4xMDQgMCAxIDEtLjA3Ny0uNDA4Yy4wNTQuMTM3LjA4LjI4My4wNzcuNDN2LS4wMjJ6bTcuMjc0IDBhMS4xMDMgMS4xMDMgMCAxIDEtLjA3OC0uNDA4Yy4wNTQuMTM3LjA4LjI4My4wNzguNDN2LS4wMjJ6bTcuMjA4IDBhMS4xMDQgMS4xMDQgMCAxIDEtLjA3OC0uNDA4Yy4wNTQuMTM3LjA4LjI4My4wNzguNDN2LS4wMjJ6TTEwLjk0IDQuOTg3YTEuMTAzIDEuMTAzIDAgMSAxIDIuMjA3IDAgMS4xMDMgMS4xMDMgMCAwIDEtMi4yMDcgMHoiIGZpbGw9IiNCRkJGQkYiLz4KPC9zdmc+Cg==";
|
|
@@ -10836,7 +10833,7 @@ const _sfc_main$h = defineComponent({
|
|
|
10836
10833
|
},
|
|
10837
10834
|
methods: {
|
|
10838
10835
|
getIconUrl() {
|
|
10839
|
-
return new URL({ "../assets/icons/A-Z.svg": __glob_1_0$1, "../assets/icons/accept.svg": __glob_1_1$1, "../assets/icons/appearance.svg": __glob_1_2$1, "../assets/icons/arrow-down.svg":
|
|
10836
|
+
return new URL({ "../assets/icons/A-Z.svg": __glob_1_0$1, "../assets/icons/accept.svg": __glob_1_1$1, "../assets/icons/appearance.svg": __glob_1_2$1, "../assets/icons/arrow-down.svg": __glob_1_3$1, "../assets/icons/arrow-left.svg": __glob_1_4, "../assets/icons/arrow-right.svg": __glob_1_5, "../assets/icons/arrow-up.svg": __glob_1_6, "../assets/icons/asterisk.svg": __glob_1_7, "../assets/icons/attachment.svg": __glob_1_8, "../assets/icons/automation.svg": __glob_1_9, "../assets/icons/bar-chart.svg": __glob_1_10, "../assets/icons/billing.svg": __glob_1_11, "../assets/icons/calendar.svg": __glob_1_12, "../assets/icons/clock.svg": __glob_1_13, "../assets/icons/close.svg": _imports_0, "../assets/icons/columns.svg": __glob_1_15, "../assets/icons/dashboard.svg": __glob_1_16, "../assets/icons/delete.svg": __glob_1_17, "../assets/icons/deskHeroLogo.svg": __glob_1_18, "../assets/icons/dot.svg": __glob_1_19, "../assets/icons/drag-mark.svg": __glob_1_20, "../assets/icons/email-templates.svg": __glob_1_21, "../assets/icons/email.svg": __glob_1_22, "../assets/icons/emoji.svg": __glob_1_23, "../assets/icons/expand-collapse.svg": __glob_1_24, "../assets/icons/expand.svg": __glob_1_25, "../assets/icons/export.svg": __glob_1_26, "../assets/icons/field.svg": __glob_1_27, "../assets/icons/file-csv.svg": __glob_1_28, "../assets/icons/file-doc.svg": __glob_1_29, "../assets/icons/file-jpeg.svg": __glob_1_30, "../assets/icons/file-mp4.svg": __glob_1_31, "../assets/icons/file-pdf.svg": __glob_1_32, "../assets/icons/file-png.svg": __glob_1_33, "../assets/icons/file-txt.svg": __glob_1_34, "../assets/icons/file-unknown.svg": __glob_1_35, "../assets/icons/file-xls.svg": __glob_1_36, "../assets/icons/filter.svg": __glob_1_37, "../assets/icons/forms.svg": __glob_1_38, "../assets/icons/groups.svg": __glob_1_39, "../assets/icons/happy.svg": __glob_1_40, "../assets/icons/help-section.svg": __glob_1_41, "../assets/icons/help.svg": __glob_1_42, "../assets/icons/home.svg": __glob_1_43, "../assets/icons/info.svg": __glob_1_44, "../assets/icons/invisible.svg": __glob_1_45, "../assets/icons/kanban.svg": __glob_1_46, "../assets/icons/key.svg": __glob_1_47, "../assets/icons/knowledgeBase.svg": __glob_1_48, "../assets/icons/link.svg": __glob_1_49, "../assets/icons/lists.svg": __glob_1_50, "../assets/icons/loader.svg": __glob_1_51, "../assets/icons/logout.svg": __glob_1_52, "../assets/icons/more.svg": __glob_1_53, "../assets/icons/newItem.svg": __glob_1_54, "../assets/icons/newList.svg": __glob_1_55, "../assets/icons/next.svg": __glob_1_56, "../assets/icons/notification.svg": __glob_1_57, "../assets/icons/notifications.svg": __glob_1_58, "../assets/icons/number.svg": __glob_1_59, "../assets/icons/options.svg": __glob_1_60, "../assets/icons/plans.svg": __glob_1_61, "../assets/icons/plus.svg": __glob_1_62, "../assets/icons/previous.svg": __glob_1_63, "../assets/icons/radio.svg": __glob_1_64, "../assets/icons/regex.svg": __glob_1_65, "../assets/icons/roles.svg": __glob_1_66, "../assets/icons/save.svg": __glob_1_67, "../assets/icons/search.svg": __glob_1_68, "../assets/icons/select.svg": __glob_1_69, "../assets/icons/settings.svg": __glob_1_70, "../assets/icons/shortcut.svg": __glob_1_71, "../assets/icons/star.svg": __glob_1_72, "../assets/icons/text.svg": __glob_1_73, "../assets/icons/tickets.svg": __glob_1_74, "../assets/icons/upload.svg": __glob_1_75, "../assets/icons/user.svg": __glob_1_76, "../assets/icons/validation.svg": __glob_1_77, "../assets/icons/view.svg": __glob_1_78, "../assets/icons/visible.svg": __glob_1_79, "../assets/icons/wait.svg": __glob_1_80, "../assets/icons/warning.svg": __glob_1_81 }[`../assets/icons/${this.iconName}.svg`], self.location).href;
|
|
10840
10837
|
}
|
|
10841
10838
|
}
|
|
10842
10839
|
});
|
|
@@ -10949,7 +10946,7 @@ const _hoisted_2$c = /* @__PURE__ */ createElementVNode("label", { for: "upload_
|
|
|
10949
10946
|
/* @__PURE__ */ createTextVNode(" Drag and drop file or "),
|
|
10950
10947
|
/* @__PURE__ */ createElementVNode("span", { id: "upload" }, "browse")
|
|
10951
10948
|
], -1);
|
|
10952
|
-
const _hoisted_3$
|
|
10949
|
+
const _hoisted_3$8 = {
|
|
10953
10950
|
key: 0,
|
|
10954
10951
|
class: "file__upload_items"
|
|
10955
10952
|
};
|
|
@@ -10957,12 +10954,12 @@ const _hoisted_4$5 = { class: "file__upload_list_item" };
|
|
|
10957
10954
|
const _hoisted_5$3 = { class: "file__upload_list_item_label" };
|
|
10958
10955
|
const _hoisted_6$3 = ["title"];
|
|
10959
10956
|
const _hoisted_7$2 = ["value"];
|
|
10960
|
-
const _hoisted_8$
|
|
10957
|
+
const _hoisted_8$1 = {
|
|
10961
10958
|
key: 1,
|
|
10962
10959
|
class: "file__upload_placeholder"
|
|
10963
10960
|
};
|
|
10964
|
-
const _hoisted_9$
|
|
10965
|
-
const _hoisted_10$
|
|
10961
|
+
const _hoisted_9$1 = { class: "file__upload_action" };
|
|
10962
|
+
const _hoisted_10$1 = /* @__PURE__ */ createElementVNode("button", { class: "file__upload_action_cancel" }, "Cancel", -1);
|
|
10966
10963
|
const _sfc_main$e = {
|
|
10967
10964
|
__name: "FileUpload",
|
|
10968
10965
|
props: {
|
|
@@ -11055,7 +11052,7 @@ const _sfc_main$e = {
|
|
|
11055
11052
|
onInput: _cache[0] || (_cache[0] = ($event) => uploadFile($event))
|
|
11056
11053
|
}, null, 544)
|
|
11057
11054
|
], 32),
|
|
11058
|
-
fileSelected.value ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
11055
|
+
fileSelected.value ? (openBlock(), createElementBlock("div", _hoisted_3$8, [
|
|
11059
11056
|
(openBlock(true), createElementBlock(Fragment, null, renderList(files.value, (file, id) => {
|
|
11060
11057
|
return openBlock(), createElementBlock("div", {
|
|
11061
11058
|
key: id,
|
|
@@ -11094,9 +11091,9 @@ const _sfc_main$e = {
|
|
|
11094
11091
|
]);
|
|
11095
11092
|
}), 128))
|
|
11096
11093
|
])) : createCommentVNode("", true),
|
|
11097
|
-
!fileSelected.value ? (openBlock(), createElementBlock("div", _hoisted_8$
|
|
11098
|
-
createElementVNode("div", _hoisted_9$
|
|
11099
|
-
_hoisted_10$
|
|
11094
|
+
!fileSelected.value ? (openBlock(), createElementBlock("div", _hoisted_8$1, " No file selected ")) : createCommentVNode("", true),
|
|
11095
|
+
createElementVNode("div", _hoisted_9$1, [
|
|
11096
|
+
_hoisted_10$1,
|
|
11100
11097
|
createElementVNode("button", {
|
|
11101
11098
|
class: normalizeClass(["file__upload_action_done", fileSelected.value ? "file__upload_action_done--active" : ""])
|
|
11102
11099
|
}, " Done ", 2)
|
|
@@ -11162,7 +11159,7 @@ const _hoisted_2$b = {
|
|
|
11162
11159
|
id: "modalTitle",
|
|
11163
11160
|
class: "modal-header"
|
|
11164
11161
|
};
|
|
11165
|
-
const _hoisted_3$
|
|
11162
|
+
const _hoisted_3$7 = { class: "modal-footer" };
|
|
11166
11163
|
function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11167
11164
|
const _component_dh_icon = resolveComponent("dh-icon");
|
|
11168
11165
|
return openBlock(), createBlock(Transition, { name: "modal-fade" }, {
|
|
@@ -11208,7 +11205,7 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11208
11205
|
}, [
|
|
11209
11206
|
renderSlot(_ctx.$slots, "body")
|
|
11210
11207
|
], 2),
|
|
11211
|
-
createElementVNode("footer", _hoisted_3$
|
|
11208
|
+
createElementVNode("footer", _hoisted_3$7, [
|
|
11212
11209
|
_ctx.hasFooter ? renderSlot(_ctx.$slots, "footer", { key: 0 }) : createCommentVNode("", true),
|
|
11213
11210
|
_ctx.hasFooterButtonRight ? renderSlot(_ctx.$slots, "footer-button-right", { key: 1 }) : createCommentVNode("", true)
|
|
11214
11211
|
])
|
|
@@ -11303,7 +11300,7 @@ const _hoisted_1$b = /* @__PURE__ */ createElementVNode("img", {
|
|
|
11303
11300
|
const _hoisted_2$a = [
|
|
11304
11301
|
_hoisted_1$b
|
|
11305
11302
|
];
|
|
11306
|
-
const _hoisted_3$
|
|
11303
|
+
const _hoisted_3$6 = ["src"];
|
|
11307
11304
|
const _hoisted_4$4 = { class: "additional-text" };
|
|
11308
11305
|
const _hoisted_5$2 = {
|
|
11309
11306
|
key: 0,
|
|
@@ -11332,7 +11329,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11332
11329
|
createElementVNode("img", {
|
|
11333
11330
|
class: normalizeClass(`icons icons-${_ctx.status} icons-${_ctx.status}-${_ctx.notificationType}`),
|
|
11334
11331
|
src: _ctx.getIconUrl()
|
|
11335
|
-
}, null, 10, _hoisted_3$
|
|
11332
|
+
}, null, 10, _hoisted_3$6)
|
|
11336
11333
|
], 2),
|
|
11337
11334
|
createElementVNode("div", _hoisted_4$4, [
|
|
11338
11335
|
createElementVNode("div", {
|
|
@@ -23556,21 +23553,21 @@ const _sfc_main$b = {
|
|
|
23556
23553
|
};
|
|
23557
23554
|
const _hoisted_1$a = { class: "bar" };
|
|
23558
23555
|
const _hoisted_2$9 = ["min", "max", "step", "value"];
|
|
23559
|
-
const _hoisted_3$
|
|
23556
|
+
const _hoisted_3$5 = { class: "caption" };
|
|
23560
23557
|
const _hoisted_4$3 = { class: "min-caption" };
|
|
23561
23558
|
const _hoisted_5$1 = { class: "bar-inner" };
|
|
23562
23559
|
const _hoisted_6$1 = ["min", "max", "step", "value"];
|
|
23563
23560
|
const _hoisted_7$1 = { class: "caption" };
|
|
23564
|
-
const _hoisted_8
|
|
23565
|
-
const _hoisted_9
|
|
23561
|
+
const _hoisted_8 = { class: "max-caption" };
|
|
23562
|
+
const _hoisted_9 = {
|
|
23566
23563
|
key: 0,
|
|
23567
23564
|
class: "ruler"
|
|
23568
23565
|
};
|
|
23569
|
-
const _hoisted_10
|
|
23566
|
+
const _hoisted_10 = {
|
|
23570
23567
|
key: 1,
|
|
23571
23568
|
class: "sub-ruler"
|
|
23572
23569
|
};
|
|
23573
|
-
const _hoisted_11
|
|
23570
|
+
const _hoisted_11 = {
|
|
23574
23571
|
key: 2,
|
|
23575
23572
|
class: "labels"
|
|
23576
23573
|
};
|
|
@@ -23599,7 +23596,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23599
23596
|
onMousedown: _cache[2] || (_cache[2] = (...args) => $options.onLeftThumbMousedown && $options.onLeftThumbMousedown(...args)),
|
|
23600
23597
|
onTouchstart: _cache[3] || (_cache[3] = (...args) => $options.onLeftThumbMousedown && $options.onLeftThumbMousedown(...args))
|
|
23601
23598
|
}, [
|
|
23602
|
-
createElementVNode("div", _hoisted_3$
|
|
23599
|
+
createElementVNode("div", _hoisted_3$5, [
|
|
23603
23600
|
createElementVNode("span", _hoisted_4$3, toDisplayString($props.minCaption || $options.barMinVal), 1)
|
|
23604
23601
|
])
|
|
23605
23602
|
], 32),
|
|
@@ -23628,7 +23625,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23628
23625
|
onTouchstart: _cache[8] || (_cache[8] = (...args) => $options.onRightThumbMousedown && $options.onRightThumbMousedown(...args))
|
|
23629
23626
|
}, [
|
|
23630
23627
|
createElementVNode("div", _hoisted_7$1, [
|
|
23631
|
-
createElementVNode("span", _hoisted_8
|
|
23628
|
+
createElementVNode("span", _hoisted_8, toDisplayString($props.maxCaption || $options.barMaxVal), 1)
|
|
23632
23629
|
])
|
|
23633
23630
|
], 32),
|
|
23634
23631
|
createElementVNode("div", {
|
|
@@ -23637,7 +23634,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23637
23634
|
onClick: _cache[9] || (_cache[9] = (...args) => $options.onBarRightClick && $options.onBarRightClick(...args))
|
|
23638
23635
|
}, null, 4)
|
|
23639
23636
|
]),
|
|
23640
|
-
$props.ruler ? (openBlock(), createElementBlock("div", _hoisted_9
|
|
23637
|
+
$props.ruler ? (openBlock(), createElementBlock("div", _hoisted_9, [
|
|
23641
23638
|
(openBlock(true), createElementBlock(Fragment, null, renderList($options.stepCount, (n) => {
|
|
23642
23639
|
return openBlock(), createElementBlock("div", {
|
|
23643
23640
|
key: n,
|
|
@@ -23645,7 +23642,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23645
23642
|
});
|
|
23646
23643
|
}), 128))
|
|
23647
23644
|
])) : createCommentVNode("", true),
|
|
23648
|
-
$options.subStepCount ? (openBlock(), createElementBlock("div", _hoisted_10
|
|
23645
|
+
$options.subStepCount ? (openBlock(), createElementBlock("div", _hoisted_10, [
|
|
23649
23646
|
(openBlock(true), createElementBlock(Fragment, null, renderList($options.subStepCount, (n) => {
|
|
23650
23647
|
return openBlock(), createElementBlock("div", {
|
|
23651
23648
|
key: n,
|
|
@@ -23653,7 +23650,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23653
23650
|
});
|
|
23654
23651
|
}), 128))
|
|
23655
23652
|
])) : createCommentVNode("", true),
|
|
23656
|
-
$props.label ? (openBlock(), createElementBlock("div", _hoisted_11
|
|
23653
|
+
$props.label ? (openBlock(), createElementBlock("div", _hoisted_11, [
|
|
23657
23654
|
(openBlock(true), createElementBlock(Fragment, null, renderList($options.scaleLabels, (label) => {
|
|
23658
23655
|
return openBlock(), createElementBlock("div", {
|
|
23659
23656
|
class: "label",
|
|
@@ -23667,7 +23664,7 @@ var MultiRangeSlider = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc
|
|
|
23667
23664
|
var MultiRangeSliderBarOnly = "";
|
|
23668
23665
|
Chart.register(plugin_tooltip, BarElement, CategoryScale, LinearScale);
|
|
23669
23666
|
const _sfc_main$a = defineComponent({
|
|
23670
|
-
components: { Bar, MultiRangeSlider },
|
|
23667
|
+
components: { Bar, MultiRangeSlider, DhAdvancedFilter },
|
|
23671
23668
|
props: {
|
|
23672
23669
|
numberRange: {
|
|
23673
23670
|
type: Array,
|
|
@@ -23692,6 +23689,10 @@ const _sfc_main$a = defineComponent({
|
|
|
23692
23689
|
steps: {
|
|
23693
23690
|
type: Number,
|
|
23694
23691
|
default: 1
|
|
23692
|
+
},
|
|
23693
|
+
includeForm: {
|
|
23694
|
+
type: Boolean,
|
|
23695
|
+
default: false
|
|
23695
23696
|
}
|
|
23696
23697
|
},
|
|
23697
23698
|
data() {
|
|
@@ -23759,6 +23760,57 @@ const _sfc_main$a = defineComponent({
|
|
|
23759
23760
|
this.highlightChart();
|
|
23760
23761
|
},
|
|
23761
23762
|
methods: {
|
|
23763
|
+
matchFilter() {
|
|
23764
|
+
if (!this.isDisable) {
|
|
23765
|
+
this.isMatch = true;
|
|
23766
|
+
this.isExclude = false;
|
|
23767
|
+
var data = this.chartData.datasets[0].data;
|
|
23768
|
+
this.chartLines = this.chartData.datasets[0];
|
|
23769
|
+
this.chartData.datasets[0].backgroundColor = [];
|
|
23770
|
+
for (let i2 = 0; i2 <= data.length; i2++) {
|
|
23771
|
+
if (data[i2] >= this.min && data[i2] <= this.max) {
|
|
23772
|
+
this.chartData.datasets[0].backgroundColor.push("#5ea9e5");
|
|
23773
|
+
} else {
|
|
23774
|
+
this.chartData.datasets[0].backgroundColor.push("#e0e0e0");
|
|
23775
|
+
}
|
|
23776
|
+
}
|
|
23777
|
+
}
|
|
23778
|
+
},
|
|
23779
|
+
excludeFilter() {
|
|
23780
|
+
if (!this.isDisable) {
|
|
23781
|
+
this.isMatch = false;
|
|
23782
|
+
this.isExclude = true;
|
|
23783
|
+
var data = this.chartData.datasets[0].data;
|
|
23784
|
+
this.chartLines = this.chartData.datasets[0];
|
|
23785
|
+
this.chartData.datasets[0].backgroundColor = [];
|
|
23786
|
+
for (let i2 = 0; i2 < data.length; i2++) {
|
|
23787
|
+
if (data[i2] >= this.min && data[i2] <= this.max) {
|
|
23788
|
+
this.chartData.datasets[0].backgroundColor.push("#e0e0e0");
|
|
23789
|
+
} else {
|
|
23790
|
+
this.chartData.datasets[0].backgroundColor.push("#5ea9e5");
|
|
23791
|
+
}
|
|
23792
|
+
}
|
|
23793
|
+
}
|
|
23794
|
+
},
|
|
23795
|
+
missingFilter() {
|
|
23796
|
+
this.isDisable = !this.isDisable;
|
|
23797
|
+
this.validated = !this.validated;
|
|
23798
|
+
var data = this.chartData.datasets[0].data;
|
|
23799
|
+
this.chartLines = this.chartData.datasets[0];
|
|
23800
|
+
this.chartData.datasets[0].backgroundColor = [];
|
|
23801
|
+
if (this.validated) {
|
|
23802
|
+
for (let i2 = 1; i2 <= data.length; i2++) {
|
|
23803
|
+
this.chartData.datasets[0].backgroundColor.push("#e0e0e0");
|
|
23804
|
+
}
|
|
23805
|
+
} else {
|
|
23806
|
+
if (this.isMatch) {
|
|
23807
|
+
this.matchFilter();
|
|
23808
|
+
}
|
|
23809
|
+
if (this.isExclude) {
|
|
23810
|
+
this.excludeFilter();
|
|
23811
|
+
}
|
|
23812
|
+
}
|
|
23813
|
+
},
|
|
23762
23814
|
changeMin(e2) {
|
|
23763
23815
|
let minValue = e2.target.value;
|
|
23764
23816
|
this.min = minValue ? minValue : "1";
|
|
@@ -23825,57 +23877,6 @@ const _sfc_main$a = defineComponent({
|
|
|
23825
23877
|
this.chartData.datasets[0].data = [];
|
|
23826
23878
|
this.chart_dta = [];
|
|
23827
23879
|
},
|
|
23828
|
-
matchFilter() {
|
|
23829
|
-
if (!this.isDisable) {
|
|
23830
|
-
this.isMatch = true;
|
|
23831
|
-
this.isExclude = false;
|
|
23832
|
-
var data = this.chartData.datasets[0].data;
|
|
23833
|
-
this.chartLines = this.chartData.datasets[0];
|
|
23834
|
-
this.chartData.datasets[0].backgroundColor = [];
|
|
23835
|
-
for (let i2 = 0; i2 <= data.length; i2++) {
|
|
23836
|
-
if (data[i2] >= this.min && data[i2] <= this.max) {
|
|
23837
|
-
this.chartData.datasets[0].backgroundColor.push("#5ea9e5");
|
|
23838
|
-
} else {
|
|
23839
|
-
this.chartData.datasets[0].backgroundColor.push("#e0e0e0");
|
|
23840
|
-
}
|
|
23841
|
-
}
|
|
23842
|
-
}
|
|
23843
|
-
},
|
|
23844
|
-
excludeFilter() {
|
|
23845
|
-
if (!this.isDisable) {
|
|
23846
|
-
this.isMatch = false;
|
|
23847
|
-
this.isExclude = true;
|
|
23848
|
-
var data = this.chartData.datasets[0].data;
|
|
23849
|
-
this.chartLines = this.chartData.datasets[0];
|
|
23850
|
-
this.chartData.datasets[0].backgroundColor = [];
|
|
23851
|
-
for (let i2 = 0; i2 < data.length; i2++) {
|
|
23852
|
-
if (data[i2] >= this.min && data[i2] <= this.max) {
|
|
23853
|
-
this.chartData.datasets[0].backgroundColor.push("#e0e0e0");
|
|
23854
|
-
} else {
|
|
23855
|
-
this.chartData.datasets[0].backgroundColor.push("#5ea9e5");
|
|
23856
|
-
}
|
|
23857
|
-
}
|
|
23858
|
-
}
|
|
23859
|
-
},
|
|
23860
|
-
missingFilter() {
|
|
23861
|
-
this.isDisable = !this.isDisable;
|
|
23862
|
-
this.validated = !this.validated;
|
|
23863
|
-
var data = this.chartData.datasets[0].data;
|
|
23864
|
-
this.chartLines = this.chartData.datasets[0];
|
|
23865
|
-
this.chartData.datasets[0].backgroundColor = [];
|
|
23866
|
-
if (this.validated) {
|
|
23867
|
-
for (let i2 = 1; i2 <= data.length; i2++) {
|
|
23868
|
-
this.chartData.datasets[0].backgroundColor.push("#e0e0e0");
|
|
23869
|
-
}
|
|
23870
|
-
} else {
|
|
23871
|
-
if (this.isMatch) {
|
|
23872
|
-
this.matchFilter();
|
|
23873
|
-
}
|
|
23874
|
-
if (this.isExclude) {
|
|
23875
|
-
this.excludeFilter();
|
|
23876
|
-
}
|
|
23877
|
-
}
|
|
23878
|
-
},
|
|
23879
23880
|
sortData(arr) {
|
|
23880
23881
|
return arr.slice().sort(function(a3, b2) {
|
|
23881
23882
|
return a3.count - b2.count;
|
|
@@ -23916,38 +23917,18 @@ const _sfc_main$a = defineComponent({
|
|
|
23916
23917
|
});
|
|
23917
23918
|
const _hoisted_1$9 = { class: "dh-range-container" };
|
|
23918
23919
|
const _hoisted_2$8 = { class: "bar-chart" };
|
|
23919
|
-
const _hoisted_3$
|
|
23920
|
+
const _hoisted_3$4 = {
|
|
23921
|
+
key: 0,
|
|
23922
|
+
class: "input-group-section"
|
|
23923
|
+
};
|
|
23920
23924
|
const _hoisted_4$2 = { class: "input-group sb-input" };
|
|
23921
23925
|
const _hoisted_5 = ["disabled", "max", "value"];
|
|
23922
23926
|
const _hoisted_6 = { class: "input-group sb-input" };
|
|
23923
23927
|
const _hoisted_7 = ["disabled", "max", "min", "value"];
|
|
23924
|
-
const _hoisted_8 = { class: "advance_section" };
|
|
23925
|
-
const _hoisted_9 = /* @__PURE__ */ createTextVNode(" Advanced ");
|
|
23926
|
-
const _hoisted_10 = {
|
|
23927
|
-
key: 0,
|
|
23928
|
-
alt: "arrow",
|
|
23929
|
-
src: _imports_0$1,
|
|
23930
|
-
width: "20"
|
|
23931
|
-
};
|
|
23932
|
-
const _hoisted_11 = {
|
|
23933
|
-
key: 1,
|
|
23934
|
-
alt: "arrow",
|
|
23935
|
-
src: _imports_1,
|
|
23936
|
-
width: "20"
|
|
23937
|
-
};
|
|
23938
|
-
const _hoisted_12 = {
|
|
23939
|
-
key: 0,
|
|
23940
|
-
class: "list-none"
|
|
23941
|
-
};
|
|
23942
|
-
const _hoisted_13 = ["checked"];
|
|
23943
|
-
const _hoisted_14 = /* @__PURE__ */ createTextVNode(" Filter Missing ");
|
|
23944
|
-
const _hoisted_15 = ["checked", "disabled"];
|
|
23945
|
-
const _hoisted_16 = /* @__PURE__ */ createTextVNode(" Match ");
|
|
23946
|
-
const _hoisted_17 = ["checked", "disabled"];
|
|
23947
|
-
const _hoisted_18 = /* @__PURE__ */ createTextVNode(" Exclude ");
|
|
23948
23928
|
function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
23949
23929
|
const _component_Bar = resolveComponent("Bar");
|
|
23950
23930
|
const _component_MultiRangeSlider = resolveComponent("MultiRangeSlider");
|
|
23931
|
+
const _component_dh_advanced_filter = resolveComponent("dh-advanced-filter");
|
|
23951
23932
|
return openBlock(), createElementBlock("div", _hoisted_1$9, [
|
|
23952
23933
|
createElementVNode("div", _hoisted_2$8, [
|
|
23953
23934
|
createVNode(_component_Bar, {
|
|
@@ -23973,7 +23954,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23973
23954
|
onInput: _ctx.updateBarChart
|
|
23974
23955
|
}, null, 8, ["base-class-name", "max", "max-caption", "max-value", "min-caption", "min-value", "step", "onInput"])
|
|
23975
23956
|
]),
|
|
23976
|
-
|
|
23957
|
+
_ctx.includeForm ? (openBlock(), createElementBlock("div", _hoisted_3$4, [
|
|
23977
23958
|
createElementVNode("div", _hoisted_4$2, [
|
|
23978
23959
|
createElementVNode("label", {
|
|
23979
23960
|
class: normalizeClass(`text-2 input-to ${_ctx.validated ? "disable" : ""}`)
|
|
@@ -24004,58 +23985,20 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24004
23985
|
onInput: _cache[1] || (_cache[1] = ($event) => _ctx.changeMax($event))
|
|
24005
23986
|
}, null, 40, _hoisted_7)
|
|
24006
23987
|
])
|
|
24007
|
-
]),
|
|
24008
|
-
|
|
24009
|
-
|
|
24010
|
-
|
|
24011
|
-
|
|
24012
|
-
|
|
24013
|
-
|
|
24014
|
-
!_ctx.activeFilter ? (openBlock(), createElementBlock("img", _hoisted_10)) : createCommentVNode("", true),
|
|
24015
|
-
_ctx.activeFilter ? (openBlock(), createElementBlock("img", _hoisted_11)) : createCommentVNode("", true)
|
|
24016
|
-
]),
|
|
24017
|
-
_ctx.activeFilter ? (openBlock(), createElementBlock("ul", _hoisted_12, [
|
|
24018
|
-
createElementVNode("li", null, [
|
|
24019
|
-
createElementVNode("label", null, [
|
|
24020
|
-
createElementVNode("input", {
|
|
24021
|
-
checked: _ctx.isDisable,
|
|
24022
|
-
type: "checkbox",
|
|
24023
|
-
onChange: _cache[3] || (_cache[3] = ($event) => _ctx.missingFilter())
|
|
24024
|
-
}, null, 40, _hoisted_13),
|
|
24025
|
-
_hoisted_14
|
|
24026
|
-
])
|
|
24027
|
-
]),
|
|
24028
|
-
createElementVNode("li", null, [
|
|
24029
|
-
createElementVNode("label", null, [
|
|
24030
|
-
createElementVNode("input", {
|
|
24031
|
-
checked: _ctx.isMatch,
|
|
24032
|
-
disabled: _ctx.validated ? true : false,
|
|
24033
|
-
name: "number_filter",
|
|
24034
|
-
type: "radio",
|
|
24035
|
-
onChange: _cache[4] || (_cache[4] = ($event) => _ctx.matchFilter())
|
|
24036
|
-
}, null, 40, _hoisted_15),
|
|
24037
|
-
_hoisted_16
|
|
24038
|
-
]),
|
|
24039
|
-
createElementVNode("label", null, [
|
|
24040
|
-
createElementVNode("input", {
|
|
24041
|
-
checked: _ctx.isExclude,
|
|
24042
|
-
disabled: _ctx.validated ? true : false,
|
|
24043
|
-
name: "number_filter",
|
|
24044
|
-
type: "radio",
|
|
24045
|
-
onChange: _cache[5] || (_cache[5] = ($event) => _ctx.excludeFilter())
|
|
24046
|
-
}, null, 40, _hoisted_17),
|
|
24047
|
-
_hoisted_18
|
|
24048
|
-
])
|
|
24049
|
-
])
|
|
24050
|
-
])) : createCommentVNode("", true)
|
|
24051
|
-
])
|
|
23988
|
+
])) : createCommentVNode("", true),
|
|
23989
|
+
renderSlot(_ctx.$slots, "default"),
|
|
23990
|
+
createVNode(_component_dh_advanced_filter, {
|
|
23991
|
+
onExclude: _ctx.excludeFilter,
|
|
23992
|
+
onMatch: _ctx.matchFilter,
|
|
23993
|
+
onFilter_missing: _ctx.missingFilter
|
|
23994
|
+
}, null, 8, ["onExclude", "onMatch", "onFilter_missing"])
|
|
24052
23995
|
]);
|
|
24053
23996
|
}
|
|
24054
23997
|
var NumberRange = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["render", _sfc_render$3]]);
|
|
24055
23998
|
var PasswordField_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
24056
23999
|
const _hoisted_1$8 = { class: "password__panel" };
|
|
24057
24000
|
const _hoisted_2$7 = ["placeholder", "type"];
|
|
24058
|
-
const _hoisted_3$
|
|
24001
|
+
const _hoisted_3$3 = { class: "icon is-right" };
|
|
24059
24002
|
const _hoisted_4$1 = {
|
|
24060
24003
|
key: 0,
|
|
24061
24004
|
class: "password__tooltip"
|
|
@@ -24134,7 +24077,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
24134
24077
|
type: "button",
|
|
24135
24078
|
onClick: toggleShow
|
|
24136
24079
|
}, [
|
|
24137
|
-
createElementVNode("span", _hoisted_3$
|
|
24080
|
+
createElementVNode("span", _hoisted_3$3, [
|
|
24138
24081
|
createVNode(DhIcon, {
|
|
24139
24082
|
active: isActive.value,
|
|
24140
24083
|
"icon-name": showPassword.value ? "invisible" : "visible",
|
|
@@ -24182,7 +24125,7 @@ var PasswordField = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "dat
|
|
|
24182
24125
|
var RadioBox_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
24183
24126
|
const _hoisted_1$7 = { class: "radio" };
|
|
24184
24127
|
const _hoisted_2$6 = ["for"];
|
|
24185
|
-
const _hoisted_3$
|
|
24128
|
+
const _hoisted_3$2 = ["id", "type", "value"];
|
|
24186
24129
|
const _hoisted_4 = { class: "radio__label_txt" };
|
|
24187
24130
|
const _sfc_main$8 = {
|
|
24188
24131
|
__name: "RadioBox",
|
|
@@ -24215,7 +24158,7 @@ const _sfc_main$8 = {
|
|
|
24215
24158
|
type: __props.type,
|
|
24216
24159
|
value: __props.value,
|
|
24217
24160
|
onClick: _cache[0] || (_cache[0] = ($event) => emit("clickBox"))
|
|
24218
|
-
}, null, 8, _hoisted_3$
|
|
24161
|
+
}, null, 8, _hoisted_3$2),
|
|
24219
24162
|
createElementVNode("span", _hoisted_4, toDisplayString(__props.label), 1)
|
|
24220
24163
|
], 8, _hoisted_2$6)
|
|
24221
24164
|
]);
|
|
@@ -24416,7 +24359,7 @@ const _sfc_main$4 = defineComponent({
|
|
|
24416
24359
|
});
|
|
24417
24360
|
const _hoisted_1$4 = { class: "dp__options" };
|
|
24418
24361
|
const _hoisted_2$3 = { class: "dp__options_switch" };
|
|
24419
|
-
const _hoisted_3$
|
|
24362
|
+
const _hoisted_3$1 = /* @__PURE__ */ createElementVNode("span", { class: "dp__options_slider" }, null, -1);
|
|
24420
24363
|
function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
24421
24364
|
return openBlock(), createElementBlock("div", _hoisted_1$4, [
|
|
24422
24365
|
createElementVNode("span", null, toDisplayString(_ctx.label), 1),
|
|
@@ -24428,7 +24371,7 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24428
24371
|
}, null, 512), [
|
|
24429
24372
|
[vModelCheckbox, _ctx.checkedValue]
|
|
24430
24373
|
]),
|
|
24431
|
-
_hoisted_3$
|
|
24374
|
+
_hoisted_3$1
|
|
24432
24375
|
])
|
|
24433
24376
|
]);
|
|
24434
24377
|
}
|
|
@@ -24464,7 +24407,7 @@ const _sfc_main$3 = defineComponent({
|
|
|
24464
24407
|
});
|
|
24465
24408
|
const _hoisted_1$3 = ["placement", "target", "tooltipText", "trigger"];
|
|
24466
24409
|
const _hoisted_2$2 = ["id"];
|
|
24467
|
-
const _hoisted_3
|
|
24410
|
+
const _hoisted_3 = { class: "text" };
|
|
24468
24411
|
function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
24469
24412
|
return openBlock(), createElementBlock("div", {
|
|
24470
24413
|
id: "main-contain",
|
|
@@ -24483,7 +24426,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24483
24426
|
ref: _ctx.target,
|
|
24484
24427
|
class: normalizeClass(`tooltiptext ${_ctx.show}`)
|
|
24485
24428
|
}, [
|
|
24486
|
-
createElementVNode("span", _hoisted_3
|
|
24429
|
+
createElementVNode("span", _hoisted_3, toDisplayString(_ctx.tooltipText), 1)
|
|
24487
24430
|
], 10, _hoisted_2$2)
|
|
24488
24431
|
], 40, _hoisted_1$3);
|
|
24489
24432
|
}
|
|
@@ -24758,12 +24701,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24758
24701
|
}
|
|
24759
24702
|
var ExpansionPanel = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render]]);
|
|
24760
24703
|
var DropdownMenu_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
24761
|
-
const _hoisted_1 =
|
|
24762
|
-
|
|
24763
|
-
"data-id": "dropdown-menu"
|
|
24764
|
-
};
|
|
24765
|
-
const _hoisted_2 = ["src"];
|
|
24766
|
-
const _hoisted_3 = {
|
|
24704
|
+
const _hoisted_1 = ["src"];
|
|
24705
|
+
const _hoisted_2 = {
|
|
24767
24706
|
key: 3,
|
|
24768
24707
|
class: "menu-item-text-wrapper"
|
|
24769
24708
|
};
|
|
@@ -24783,6 +24722,21 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
24783
24722
|
type: Number,
|
|
24784
24723
|
required: false,
|
|
24785
24724
|
default: 24
|
|
24725
|
+
},
|
|
24726
|
+
closeOnClickOutside: {
|
|
24727
|
+
type: Boolean,
|
|
24728
|
+
required: false,
|
|
24729
|
+
default: true
|
|
24730
|
+
},
|
|
24731
|
+
zIndex: {
|
|
24732
|
+
type: Number,
|
|
24733
|
+
required: false,
|
|
24734
|
+
default: 100
|
|
24735
|
+
},
|
|
24736
|
+
closeOnItemSelected: {
|
|
24737
|
+
type: Boolean,
|
|
24738
|
+
required: false,
|
|
24739
|
+
default: true
|
|
24786
24740
|
}
|
|
24787
24741
|
},
|
|
24788
24742
|
emits: ["itemSelected", "close"],
|
|
@@ -24790,25 +24744,34 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
24790
24744
|
const props = __props;
|
|
24791
24745
|
onMounted(() => {
|
|
24792
24746
|
document.addEventListener("click", (event) => {
|
|
24793
|
-
|
|
24794
|
-
const dropdownToggle = document.querySelector(".dropdown-toggle");
|
|
24795
|
-
if (dropdownMenu && !dropdownMenu.contains(event.target) && !dropdownToggle.contains(event.target)) {
|
|
24796
|
-
emit("close");
|
|
24797
|
-
}
|
|
24747
|
+
closeOnClickOutside(event);
|
|
24798
24748
|
});
|
|
24799
24749
|
});
|
|
24750
|
+
function closeOnClickOutside(event) {
|
|
24751
|
+
const target = event.target;
|
|
24752
|
+
const dropdownMenu = document.querySelector("[data-id='dropdown-menu']");
|
|
24753
|
+
if (dropdownMenu && !dropdownMenu.contains(event.target) && !target.classList.contains("dropdown-toggle") && props.closeOnClickOutside) {
|
|
24754
|
+
emit("close");
|
|
24755
|
+
}
|
|
24756
|
+
}
|
|
24800
24757
|
function itemSelected(item) {
|
|
24801
24758
|
emit("itemSelected", item);
|
|
24802
|
-
|
|
24759
|
+
if (props.closeOnItemSelected) {
|
|
24760
|
+
emit("close");
|
|
24761
|
+
}
|
|
24803
24762
|
}
|
|
24804
24763
|
return (_ctx, _cache) => {
|
|
24805
24764
|
const _component_router_link = resolveComponent("router-link");
|
|
24806
|
-
return openBlock(), createElementBlock("div",
|
|
24765
|
+
return openBlock(), createElementBlock("div", {
|
|
24766
|
+
class: "dropdown-menu",
|
|
24767
|
+
"data-id": "dropdown-menu",
|
|
24768
|
+
style: normalizeStyle({ "z-index": props.zIndex })
|
|
24769
|
+
}, [
|
|
24807
24770
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.items, (item) => {
|
|
24808
24771
|
return openBlock(), createBlock(_component_router_link, {
|
|
24809
24772
|
key: item.iconName,
|
|
24810
24773
|
class: "menu-item",
|
|
24811
|
-
"data-e2e":
|
|
24774
|
+
"data-e2e": item.dataE2eTag,
|
|
24812
24775
|
to: { path: item.url },
|
|
24813
24776
|
onClick: ($event) => itemSelected(item)
|
|
24814
24777
|
}, {
|
|
@@ -24818,7 +24781,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
24818
24781
|
alt: "icon image",
|
|
24819
24782
|
class: "icon icon-url",
|
|
24820
24783
|
src: item.iconUrl
|
|
24821
|
-
}, null, 8,
|
|
24784
|
+
}, null, 8, _hoisted_1)) : createCommentVNode("", true),
|
|
24822
24785
|
!item.iconUrl ? (openBlock(), createBlock(DhIcon, mergeProps({
|
|
24823
24786
|
key: 1,
|
|
24824
24787
|
class: "icon"
|
|
@@ -24827,7 +24790,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
24827
24790
|
key: 2,
|
|
24828
24791
|
class: normalizeClass(["text-2", { "text-ellipsis": props.textEllipsis }])
|
|
24829
24792
|
}, toDisplayString(item.text), 3)) : createCommentVNode("", true),
|
|
24830
|
-
item.subText ? (openBlock(), createElementBlock("div",
|
|
24793
|
+
item.subText ? (openBlock(), createElementBlock("div", _hoisted_2, [
|
|
24831
24794
|
createElementVNode("span", {
|
|
24832
24795
|
class: normalizeClass(["text-4", { "text-ellipsis": props.textEllipsis }])
|
|
24833
24796
|
}, toDisplayString(item.text), 3),
|
|
@@ -24843,11 +24806,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
24843
24806
|
})) : createCommentVNode("", true)
|
|
24844
24807
|
]),
|
|
24845
24808
|
_: 2
|
|
24846
|
-
}, 1032, ["to", "onClick"]);
|
|
24809
|
+
}, 1032, ["data-e2e", "to", "onClick"]);
|
|
24847
24810
|
}), 128))
|
|
24848
|
-
]);
|
|
24811
|
+
], 4);
|
|
24849
24812
|
};
|
|
24850
24813
|
}
|
|
24851
24814
|
});
|
|
24852
|
-
var DropdownMenu = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
24853
|
-
export {
|
|
24815
|
+
var DropdownMenu = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-3f98d032"]]);
|
|
24816
|
+
export { DhAdvancedFilter, _sfc_main$g as DhDatePicker, DropdownMenu as DhDropdownMenu, _sfc_main$f as DhError, ExpansionPanel as DhExpansionPanel, _sfc_main$e as DhFileUpload, DhIcon, Modal as DhModal, Notification as DhNotification, NumberRange as DhNumberRange, PasswordField as DhPasswordField, DhRadioBox, _sfc_main$7 as DhRadioBoxGroup, SearchInput as DhSearchInput, Stepper as DhStepper, Switch as DhSwitch, Tooltip as DhTooltip, VerificationCode as DhVerificationCode };
|