@deskhero/dh_ui 1.58.1 → 1.59.1
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 +28 -29
- package/dist/dh_ui.umd.js +12 -12
- package/dist/src/models/DropdownMenuItem.model.d.ts +1 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/dh_ui.es.js
CHANGED
|
@@ -10874,12 +10874,12 @@ const _sfc_main$r = defineComponent({
|
|
|
10874
10874
|
}
|
|
10875
10875
|
});
|
|
10876
10876
|
const _hoisted_1$r = { class: "dp__options" };
|
|
10877
|
-
const _hoisted_2$
|
|
10877
|
+
const _hoisted_2$p = { class: "dp__options_switch" };
|
|
10878
10878
|
const _hoisted_3$h = /* @__PURE__ */ createElementVNode("span", { class: "dp__options_slider" }, null, -1);
|
|
10879
10879
|
function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10880
10880
|
return openBlock(), createElementBlock("label", _hoisted_1$r, [
|
|
10881
10881
|
createElementVNode("span", null, toDisplayString(_ctx.label), 1),
|
|
10882
|
-
createElementVNode("div", _hoisted_2$
|
|
10882
|
+
createElementVNode("div", _hoisted_2$p, [
|
|
10883
10883
|
withDirectives(createElementVNode("input", {
|
|
10884
10884
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.checkedValue = $event),
|
|
10885
10885
|
name: "switch",
|
|
@@ -23092,7 +23092,7 @@ const _sfc_main$q = {
|
|
|
23092
23092
|
}
|
|
23093
23093
|
};
|
|
23094
23094
|
const _hoisted_1$q = { class: "bar" };
|
|
23095
|
-
const _hoisted_2$
|
|
23095
|
+
const _hoisted_2$o = ["min", "max", "step", "value"];
|
|
23096
23096
|
const _hoisted_3$g = { class: "caption" };
|
|
23097
23097
|
const _hoisted_4$c = { class: "min-caption" };
|
|
23098
23098
|
const _hoisted_5$8 = { class: "bar-inner" };
|
|
@@ -23130,7 +23130,7 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23130
23130
|
step: $props.step,
|
|
23131
23131
|
value: $data.valueMin,
|
|
23132
23132
|
onInput: _cache[1] || (_cache[1] = withModifiers((...args) => $options.onInputMinChange && $options.onInputMinChange(...args), ["stop", "prevent"]))
|
|
23133
|
-
}, null, 40, _hoisted_2$
|
|
23133
|
+
}, null, 40, _hoisted_2$o),
|
|
23134
23134
|
createElementVNode("div", {
|
|
23135
23135
|
class: "thumb thumb-left",
|
|
23136
23136
|
onMousedown: _cache[2] || (_cache[2] = (...args) => $options.onLeftThumbMousedown && $options.onLeftThumbMousedown(...args)),
|
|
@@ -23411,7 +23411,7 @@ const _sfc_main$p = defineComponent({
|
|
|
23411
23411
|
}
|
|
23412
23412
|
});
|
|
23413
23413
|
const _hoisted_1$p = { class: "dh-range-container" };
|
|
23414
|
-
const _hoisted_2$
|
|
23414
|
+
const _hoisted_2$n = { class: "bar-chart" };
|
|
23415
23415
|
const _hoisted_3$f = {
|
|
23416
23416
|
key: 0,
|
|
23417
23417
|
class: "input-group-section"
|
|
@@ -23424,7 +23424,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23424
23424
|
const _component_Bar = resolveComponent("Bar");
|
|
23425
23425
|
const _component_MultiRangeSlider = resolveComponent("MultiRangeSlider");
|
|
23426
23426
|
return openBlock(), createElementBlock("div", _hoisted_1$p, [
|
|
23427
|
-
createElementVNode("div", _hoisted_2$
|
|
23427
|
+
createElementVNode("div", _hoisted_2$n, [
|
|
23428
23428
|
createVNode(_component_Bar, {
|
|
23429
23429
|
"chart-data": _ctx.chartData,
|
|
23430
23430
|
"chart-id": _ctx.chartId,
|
|
@@ -23492,7 +23492,7 @@ var main = "";
|
|
|
23492
23492
|
var AdvancedDatePicker_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
23493
23493
|
const _withScopeId$1 = (n) => (pushScopeId("data-v-f12ea7b0"), n = n(), popScopeId(), n);
|
|
23494
23494
|
const _hoisted_1$o = { id: "dp-container" };
|
|
23495
|
-
const _hoisted_2$
|
|
23495
|
+
const _hoisted_2$m = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("div", { class: "dp__calendar_range" }, [
|
|
23496
23496
|
/* @__PURE__ */ createElementVNode("p", null, "From"),
|
|
23497
23497
|
/* @__PURE__ */ createElementVNode("p", null, "To")
|
|
23498
23498
|
], -1));
|
|
@@ -23606,7 +23606,7 @@ const _sfc_main$o = {
|
|
|
23606
23606
|
}
|
|
23607
23607
|
return (_ctx, _cache) => {
|
|
23608
23608
|
return openBlock(), createElementBlock("div", _hoisted_1$o, [
|
|
23609
|
-
_hoisted_2$
|
|
23609
|
+
_hoisted_2$m,
|
|
23610
23610
|
createVNode(unref(ca), {
|
|
23611
23611
|
ref_key: "datePicker",
|
|
23612
23612
|
ref: datePicker,
|
|
@@ -23805,7 +23805,7 @@ const _sfc_main$n = defineComponent({
|
|
|
23805
23805
|
}
|
|
23806
23806
|
});
|
|
23807
23807
|
const _hoisted_1$n = { class: "dh-advanced-filter-container" };
|
|
23808
|
-
const _hoisted_2$
|
|
23808
|
+
const _hoisted_2$l = { class: "advance_section" };
|
|
23809
23809
|
const _hoisted_3$d = { key: 0 };
|
|
23810
23810
|
const _hoisted_4$9 = { class: "list-none" };
|
|
23811
23811
|
const _hoisted_5$5 = ["checked"];
|
|
@@ -23814,7 +23814,7 @@ const _hoisted_7$4 = ["checked"];
|
|
|
23814
23814
|
function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
23815
23815
|
const _component_dh_icon = resolveComponent("dh-icon");
|
|
23816
23816
|
return openBlock(), createElementBlock("div", _hoisted_1$n, [
|
|
23817
|
-
createElementVNode("div", _hoisted_2$
|
|
23817
|
+
createElementVNode("div", _hoisted_2$l, [
|
|
23818
23818
|
createElementVNode("span", {
|
|
23819
23819
|
class: "toggle-icon",
|
|
23820
23820
|
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.toggleFilter())
|
|
@@ -23867,7 +23867,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23867
23867
|
var AdvancedFilter = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$4]]);
|
|
23868
23868
|
var Button_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
23869
23869
|
const _hoisted_1$m = ["disabled"];
|
|
23870
|
-
const _hoisted_2$
|
|
23870
|
+
const _hoisted_2$k = {
|
|
23871
23871
|
key: 1,
|
|
23872
23872
|
class: "prepend-icon"
|
|
23873
23873
|
};
|
|
@@ -23950,7 +23950,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
23950
23950
|
}),
|
|
23951
23951
|
iconName: "loader"
|
|
23952
23952
|
}, null, 8, ["class"])) : createCommentVNode("", true),
|
|
23953
|
-
!__props.loading ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
23953
|
+
!__props.loading ? (openBlock(), createElementBlock("div", _hoisted_2$k, [
|
|
23954
23954
|
renderSlot(_ctx.$slots, "prepend-icon", {}, void 0, true)
|
|
23955
23955
|
])) : createCommentVNode("", true),
|
|
23956
23956
|
!__props.icon ? renderSlot(_ctx.$slots, "default", { key: 2 }, void 0, true) : createCommentVNode("", true),
|
|
@@ -23997,7 +23997,7 @@ const _sfc_main$l = defineComponent({
|
|
|
23997
23997
|
}
|
|
23998
23998
|
});
|
|
23999
23999
|
const _hoisted_1$l = ["placement", "target", "tooltipText", "trigger"];
|
|
24000
|
-
const _hoisted_2$
|
|
24000
|
+
const _hoisted_2$j = ["id"];
|
|
24001
24001
|
const _hoisted_3$b = { class: "text" };
|
|
24002
24002
|
function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
24003
24003
|
return openBlock(), createElementBlock("div", {
|
|
@@ -24018,13 +24018,13 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24018
24018
|
class: normalizeClass(`tooltiptext ${_ctx.show}`)
|
|
24019
24019
|
}, [
|
|
24020
24020
|
createElementVNode("span", _hoisted_3$b, toDisplayString(_ctx.tooltipText), 1)
|
|
24021
|
-
], 10, _hoisted_2$
|
|
24021
|
+
], 10, _hoisted_2$j)
|
|
24022
24022
|
], 40, _hoisted_1$l);
|
|
24023
24023
|
}
|
|
24024
24024
|
var Tooltip = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["render", _sfc_render$3]]);
|
|
24025
24025
|
var Copiable_vue_vue_type_style_index_0_lang = "";
|
|
24026
24026
|
const _hoisted_1$k = { class: "copy__text" };
|
|
24027
|
-
const _hoisted_2$
|
|
24027
|
+
const _hoisted_2$i = ["readonly"];
|
|
24028
24028
|
const _sfc_main$k = {
|
|
24029
24029
|
__name: "Copiable",
|
|
24030
24030
|
props: {
|
|
@@ -24062,7 +24062,7 @@ const _sfc_main$k = {
|
|
|
24062
24062
|
readonly: __props.readonly,
|
|
24063
24063
|
type: "text",
|
|
24064
24064
|
onInput: resetCopyText
|
|
24065
|
-
}, null, 40, _hoisted_2$
|
|
24065
|
+
}, null, 40, _hoisted_2$i), [
|
|
24066
24066
|
[vModelText, inputText.value]
|
|
24067
24067
|
]),
|
|
24068
24068
|
createVNode(Tooltip, {
|
|
@@ -24087,7 +24087,7 @@ const _sfc_main$k = {
|
|
|
24087
24087
|
};
|
|
24088
24088
|
var DatePicker_vue_vue_type_style_index_0_lang = "";
|
|
24089
24089
|
const _hoisted_1$j = /* @__PURE__ */ createTextVNode(" Back ");
|
|
24090
|
-
const _hoisted_2$
|
|
24090
|
+
const _hoisted_2$h = /* @__PURE__ */ createElementVNode("div", null, "today", -1);
|
|
24091
24091
|
const _sfc_main$j = {
|
|
24092
24092
|
__name: "DatePicker",
|
|
24093
24093
|
props: {
|
|
@@ -24165,7 +24165,7 @@ const _sfc_main$j = {
|
|
|
24165
24165
|
"clear-icon": withCtx(() => []),
|
|
24166
24166
|
"action-preview": withCtx(() => []),
|
|
24167
24167
|
"marker-tooltip": withCtx(() => [
|
|
24168
|
-
_hoisted_2$
|
|
24168
|
+
_hoisted_2$h
|
|
24169
24169
|
]),
|
|
24170
24170
|
_: 1
|
|
24171
24171
|
}, 8, ["modelValue", "enable-time-picker", "inline", "markers", "multi-calendars", "range"])
|
|
@@ -24175,7 +24175,7 @@ const _sfc_main$j = {
|
|
|
24175
24175
|
};
|
|
24176
24176
|
var DropdownMenuItem_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
24177
24177
|
const _hoisted_1$i = ["src"];
|
|
24178
|
-
const _hoisted_2$
|
|
24178
|
+
const _hoisted_2$g = {
|
|
24179
24179
|
key: 3,
|
|
24180
24180
|
class: "menu-item-text-wrapper"
|
|
24181
24181
|
};
|
|
@@ -24218,7 +24218,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
24218
24218
|
key: 2,
|
|
24219
24219
|
class: normalizeClass(["dh-body-2", __props.textEllipsisStyle])
|
|
24220
24220
|
}, toDisplayString(__props.item.text), 3)) : createCommentVNode("", true),
|
|
24221
|
-
__props.item.subText ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
24221
|
+
__props.item.subText ? (openBlock(), createElementBlock("div", _hoisted_2$g, [
|
|
24222
24222
|
createElementVNode("span", {
|
|
24223
24223
|
class: normalizeClass(["dh-body-1", __props.textEllipsisStyle])
|
|
24224
24224
|
}, toDisplayString(__props.item.text), 3),
|
|
@@ -24239,10 +24239,6 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
24239
24239
|
var DhDropdownMenuItem = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-5820c7e5"]]);
|
|
24240
24240
|
var DropdownMenu_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
24241
24241
|
const _hoisted_1$h = ["data-e2e", "onClick"];
|
|
24242
|
-
const _hoisted_2$g = {
|
|
24243
|
-
key: 1,
|
|
24244
|
-
class: "center-vertical"
|
|
24245
|
-
};
|
|
24246
24242
|
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
24247
24243
|
__name: "DropdownMenu",
|
|
24248
24244
|
props: {
|
|
@@ -24288,7 +24284,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
24288
24284
|
setup(__props, { emit }) {
|
|
24289
24285
|
const props = __props;
|
|
24290
24286
|
useCssVars((_ctx) => ({
|
|
24291
|
-
"
|
|
24287
|
+
"0e047e18": __props.widthProp
|
|
24292
24288
|
}));
|
|
24293
24289
|
onMounted(() => {
|
|
24294
24290
|
document.addEventListener("click", (event) => {
|
|
@@ -24324,7 +24320,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
24324
24320
|
}, [
|
|
24325
24321
|
item.url ? (openBlock(), createBlock(_component_router_link, {
|
|
24326
24322
|
key: 0,
|
|
24327
|
-
class: "center-vertical",
|
|
24323
|
+
class: normalizeClass({ "center-vertical": true, disabled: item.disabled }),
|
|
24328
24324
|
to: { path: item.url }
|
|
24329
24325
|
}, {
|
|
24330
24326
|
default: withCtx(() => [
|
|
@@ -24335,20 +24331,23 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
24335
24331
|
}, null, 8, ["icon-size", "item", "text-ellipsis-style"])
|
|
24336
24332
|
]),
|
|
24337
24333
|
_: 2
|
|
24338
|
-
}, 1032, ["to"])) : (openBlock(), createElementBlock("div",
|
|
24334
|
+
}, 1032, ["class", "to"])) : (openBlock(), createElementBlock("div", {
|
|
24335
|
+
key: 1,
|
|
24336
|
+
class: normalizeClass({ "center-vertical": true, disabled: item.disabled })
|
|
24337
|
+
}, [
|
|
24339
24338
|
createVNode(DhDropdownMenuItem, {
|
|
24340
24339
|
"icon-size": __props.iconSize,
|
|
24341
24340
|
item,
|
|
24342
24341
|
"text-ellipsis-style": __props.textEllipsisStyle
|
|
24343
24342
|
}, null, 8, ["icon-size", "item", "text-ellipsis-style"])
|
|
24344
|
-
]))
|
|
24343
|
+
], 2))
|
|
24345
24344
|
], 8, _hoisted_1$h);
|
|
24346
24345
|
}), 128))
|
|
24347
24346
|
], 4);
|
|
24348
24347
|
};
|
|
24349
24348
|
}
|
|
24350
24349
|
});
|
|
24351
|
-
var DropdownMenu = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-
|
|
24350
|
+
var DropdownMenu = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-f2460dfc"]]);
|
|
24352
24351
|
var Error_vue_vue_type_style_index_0_lang = "";
|
|
24353
24352
|
const _hoisted_1$g = {
|
|
24354
24353
|
key: 0,
|