@deskhero/dh_ui 1.44.1 → 1.44.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dh_ui.es.js +154 -55
- package/dist/dh_ui.umd.js +21 -21
- package/dist/src/index.d.ts +2 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/dh_ui.es.js
CHANGED
|
@@ -10784,7 +10784,7 @@ var _export_sfc = (sfc, props) => {
|
|
|
10784
10784
|
}
|
|
10785
10785
|
return target;
|
|
10786
10786
|
};
|
|
10787
|
-
const _sfc_main$
|
|
10787
|
+
const _sfc_main$r = defineComponent({
|
|
10788
10788
|
props: {
|
|
10789
10789
|
iconName: {
|
|
10790
10790
|
type: String,
|
|
@@ -10818,7 +10818,7 @@ const _sfc_main$q = defineComponent({
|
|
|
10818
10818
|
}
|
|
10819
10819
|
}
|
|
10820
10820
|
});
|
|
10821
|
-
const _hoisted_1$
|
|
10821
|
+
const _hoisted_1$r = ["alt", "data-e2e", "height", "src", "width"];
|
|
10822
10822
|
function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10823
10823
|
return openBlock(), createElementBlock("img", {
|
|
10824
10824
|
alt: _ctx.iconName + `-icon`,
|
|
@@ -10831,10 +10831,10 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10831
10831
|
height: _ctx.size,
|
|
10832
10832
|
src: _ctx.getIconUrl(),
|
|
10833
10833
|
width: _ctx.size
|
|
10834
|
-
}, null, 10, _hoisted_1$
|
|
10834
|
+
}, null, 10, _hoisted_1$r);
|
|
10835
10835
|
}
|
|
10836
|
-
var DhIcon = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10837
|
-
const _sfc_main$
|
|
10836
|
+
var DhIcon = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["render", _sfc_render$8], ["__scopeId", "data-v-346530c9"]]);
|
|
10837
|
+
const _sfc_main$q = defineComponent({
|
|
10838
10838
|
props: {
|
|
10839
10839
|
data: {
|
|
10840
10840
|
type: Boolean,
|
|
@@ -10864,11 +10864,11 @@ const _sfc_main$p = defineComponent({
|
|
|
10864
10864
|
}
|
|
10865
10865
|
}
|
|
10866
10866
|
});
|
|
10867
|
-
const _hoisted_1$
|
|
10867
|
+
const _hoisted_1$q = { class: "dp__options" };
|
|
10868
10868
|
const _hoisted_2$o = { class: "dp__options_switch" };
|
|
10869
10869
|
const _hoisted_3$g = /* @__PURE__ */ createElementVNode("span", { class: "dp__options_slider" }, null, -1);
|
|
10870
10870
|
function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10871
|
-
return openBlock(), createElementBlock("label", _hoisted_1$
|
|
10871
|
+
return openBlock(), createElementBlock("label", _hoisted_1$q, [
|
|
10872
10872
|
createElementVNode("span", null, toDisplayString(_ctx.label), 1),
|
|
10873
10873
|
createElementVNode("div", _hoisted_2$o, [
|
|
10874
10874
|
withDirectives(createElementVNode("input", {
|
|
@@ -10882,7 +10882,7 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10882
10882
|
])
|
|
10883
10883
|
]);
|
|
10884
10884
|
}
|
|
10885
|
-
var DhSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10885
|
+
var DhSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render$7]]);
|
|
10886
10886
|
/*!
|
|
10887
10887
|
* Chart.js v3.9.1
|
|
10888
10888
|
* https://www.chartjs.org
|
|
@@ -22784,7 +22784,7 @@ const generateChart = (chartId, chartType, chartController) => {
|
|
|
22784
22784
|
};
|
|
22785
22785
|
const Bar = /* @__PURE__ */ generateChart("bar-chart", "bar", BarController);
|
|
22786
22786
|
var MultiRangeSlider_vue_vue_type_style_index_0_lang = "";
|
|
22787
|
-
const _sfc_main$
|
|
22787
|
+
const _sfc_main$p = {
|
|
22788
22788
|
name: "MultiRangeSlider",
|
|
22789
22789
|
props: {
|
|
22790
22790
|
baseClassName: {
|
|
@@ -23082,7 +23082,7 @@ const _sfc_main$o = {
|
|
|
23082
23082
|
mounted() {
|
|
23083
23083
|
}
|
|
23084
23084
|
};
|
|
23085
|
-
const _hoisted_1$
|
|
23085
|
+
const _hoisted_1$p = { class: "bar" };
|
|
23086
23086
|
const _hoisted_2$n = ["min", "max", "step", "value"];
|
|
23087
23087
|
const _hoisted_3$f = { class: "caption" };
|
|
23088
23088
|
const _hoisted_4$d = { class: "min-caption" };
|
|
@@ -23107,7 +23107,7 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23107
23107
|
class: normalizeClass([$props.baseClassName, $data.rangeMarginValue === 0 ? "zero-ranage-margin" : ""]),
|
|
23108
23108
|
onMousewheel: _cache[10] || (_cache[10] = withModifiers((...args) => $options.onMouseWheel && $options.onMouseWheel(...args), ["prevent", "stop"]))
|
|
23109
23109
|
}, [
|
|
23110
|
-
createElementVNode("div", _hoisted_1$
|
|
23110
|
+
createElementVNode("div", _hoisted_1$p, [
|
|
23111
23111
|
createElementVNode("div", {
|
|
23112
23112
|
class: "bar-left",
|
|
23113
23113
|
style: normalizeStyle({ width: $options.barMin + "%" }),
|
|
@@ -23191,8 +23191,8 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23191
23191
|
])) : createCommentVNode("", true)
|
|
23192
23192
|
], 34);
|
|
23193
23193
|
}
|
|
23194
|
-
var MultiRangeSlider = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
23195
|
-
const _sfc_main$
|
|
23194
|
+
var MultiRangeSlider = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_render$6]]);
|
|
23195
|
+
const _sfc_main$o = defineComponent({
|
|
23196
23196
|
components: { DhIcon },
|
|
23197
23197
|
props: {
|
|
23198
23198
|
mainText: {
|
|
@@ -23249,7 +23249,7 @@ const _sfc_main$n = defineComponent({
|
|
|
23249
23249
|
}
|
|
23250
23250
|
}
|
|
23251
23251
|
});
|
|
23252
|
-
const _hoisted_1$
|
|
23252
|
+
const _hoisted_1$o = { class: "dh-advanced-filter-container" };
|
|
23253
23253
|
const _hoisted_2$m = { class: "advance_section" };
|
|
23254
23254
|
const _hoisted_3$e = { key: 0 };
|
|
23255
23255
|
const _hoisted_4$c = { class: "list-none" };
|
|
@@ -23258,7 +23258,7 @@ const _hoisted_6$7 = ["checked"];
|
|
|
23258
23258
|
const _hoisted_7$6 = ["checked"];
|
|
23259
23259
|
function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
23260
23260
|
const _component_dh_icon = resolveComponent("dh-icon");
|
|
23261
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
23261
|
+
return openBlock(), createElementBlock("div", _hoisted_1$o, [
|
|
23262
23262
|
createElementVNode("div", _hoisted_2$m, [
|
|
23263
23263
|
createElementVNode("span", {
|
|
23264
23264
|
class: "toggle-icon",
|
|
@@ -23309,10 +23309,10 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23309
23309
|
])
|
|
23310
23310
|
]);
|
|
23311
23311
|
}
|
|
23312
|
-
var DhAdvancedFilter = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
23312
|
+
var DhAdvancedFilter = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["render", _sfc_render$5]]);
|
|
23313
23313
|
var MultiRangeSliderBarOnly = "";
|
|
23314
23314
|
Chart.register(plugin_tooltip, BarElement, CategoryScale, LinearScale);
|
|
23315
|
-
const _sfc_main$
|
|
23315
|
+
const _sfc_main$n = defineComponent({
|
|
23316
23316
|
components: { Bar, MultiRangeSlider, DhAdvancedFilter },
|
|
23317
23317
|
props: {
|
|
23318
23318
|
numberRange: {
|
|
@@ -23566,7 +23566,7 @@ const _sfc_main$m = defineComponent({
|
|
|
23566
23566
|
}
|
|
23567
23567
|
}
|
|
23568
23568
|
});
|
|
23569
|
-
const _hoisted_1$
|
|
23569
|
+
const _hoisted_1$n = { class: "dh-range-container" };
|
|
23570
23570
|
const _hoisted_2$l = { class: "bar-chart" };
|
|
23571
23571
|
const _hoisted_3$d = {
|
|
23572
23572
|
key: 0,
|
|
@@ -23580,7 +23580,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23580
23580
|
const _component_Bar = resolveComponent("Bar");
|
|
23581
23581
|
const _component_MultiRangeSlider = resolveComponent("MultiRangeSlider");
|
|
23582
23582
|
const _component_dh_advanced_filter = resolveComponent("dh-advanced-filter");
|
|
23583
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
23583
|
+
return openBlock(), createElementBlock("div", _hoisted_1$n, [
|
|
23584
23584
|
createElementVNode("div", _hoisted_2$l, [
|
|
23585
23585
|
createVNode(_component_Bar, {
|
|
23586
23586
|
"chart-data": _ctx.chartData,
|
|
@@ -23651,10 +23651,10 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23651
23651
|
}, 8, ["onExclude", "onFilter_missing", "onMatch"])
|
|
23652
23652
|
]);
|
|
23653
23653
|
}
|
|
23654
|
-
var DhNumberRange = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
23654
|
+
var DhNumberRange = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$4]]);
|
|
23655
23655
|
var main = "";
|
|
23656
23656
|
var AdvancedDatePicker_vue_vue_type_style_index_0_lang = "";
|
|
23657
|
-
const _hoisted_1$
|
|
23657
|
+
const _hoisted_1$m = { id: "dp-container" };
|
|
23658
23658
|
const _hoisted_2$k = /* @__PURE__ */ createElementVNode("div", { class: "dp__calendar_range" }, [
|
|
23659
23659
|
/* @__PURE__ */ createElementVNode("p", null, "From"),
|
|
23660
23660
|
/* @__PURE__ */ createElementVNode("p", null, "To")
|
|
@@ -23675,7 +23675,7 @@ const _hoisted_15$2 = /* @__PURE__ */ createElementVNode("div", {
|
|
|
23675
23675
|
id: "tags",
|
|
23676
23676
|
class: "dp__calendar_tags"
|
|
23677
23677
|
}, null, -1);
|
|
23678
|
-
const _sfc_main$
|
|
23678
|
+
const _sfc_main$m = {
|
|
23679
23679
|
__name: "AdvancedDatePicker",
|
|
23680
23680
|
props: {
|
|
23681
23681
|
numberRange: {
|
|
@@ -23768,7 +23768,7 @@ const _sfc_main$l = {
|
|
|
23768
23768
|
datePicker.value.openMenu();
|
|
23769
23769
|
}
|
|
23770
23770
|
return (_ctx, _cache) => {
|
|
23771
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
23771
|
+
return openBlock(), createElementBlock("div", _hoisted_1$m, [
|
|
23772
23772
|
_hoisted_2$k,
|
|
23773
23773
|
createVNode(unref(ca), {
|
|
23774
23774
|
ref_key: "datePicker",
|
|
@@ -23909,7 +23909,7 @@ const _sfc_main$l = {
|
|
|
23909
23909
|
};
|
|
23910
23910
|
}
|
|
23911
23911
|
};
|
|
23912
|
-
const _sfc_main$
|
|
23912
|
+
const _sfc_main$l = defineComponent({
|
|
23913
23913
|
props: {
|
|
23914
23914
|
target: { type: String, required: true },
|
|
23915
23915
|
trigger: { type: String, required: true },
|
|
@@ -23938,7 +23938,7 @@ const _sfc_main$k = defineComponent({
|
|
|
23938
23938
|
}
|
|
23939
23939
|
}
|
|
23940
23940
|
});
|
|
23941
|
-
const _hoisted_1$
|
|
23941
|
+
const _hoisted_1$l = ["placement", "target", "tooltipText", "trigger"];
|
|
23942
23942
|
const _hoisted_2$j = ["id"];
|
|
23943
23943
|
const _hoisted_3$b = { class: "text" };
|
|
23944
23944
|
function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -23961,13 +23961,13 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23961
23961
|
}, [
|
|
23962
23962
|
createElementVNode("span", _hoisted_3$b, toDisplayString(_ctx.tooltipText), 1)
|
|
23963
23963
|
], 10, _hoisted_2$j)
|
|
23964
|
-
], 40, _hoisted_1$
|
|
23964
|
+
], 40, _hoisted_1$l);
|
|
23965
23965
|
}
|
|
23966
|
-
var Tooltip = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
23966
|
+
var Tooltip = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["render", _sfc_render$3]]);
|
|
23967
23967
|
var Copiable_vue_vue_type_style_index_0_lang = "";
|
|
23968
|
-
const _hoisted_1$
|
|
23968
|
+
const _hoisted_1$k = { class: "copy__text" };
|
|
23969
23969
|
const _hoisted_2$i = ["readonly"];
|
|
23970
|
-
const _sfc_main$
|
|
23970
|
+
const _sfc_main$k = {
|
|
23971
23971
|
__name: "Copiable",
|
|
23972
23972
|
props: {
|
|
23973
23973
|
text: {
|
|
@@ -23998,7 +23998,7 @@ const _sfc_main$j = {
|
|
|
23998
23998
|
inputText.value = props.text;
|
|
23999
23999
|
});
|
|
24000
24000
|
return (_ctx, _cache) => {
|
|
24001
|
-
return openBlock(), createElementBlock("span", _hoisted_1$
|
|
24001
|
+
return openBlock(), createElementBlock("span", _hoisted_1$k, [
|
|
24002
24002
|
withDirectives(createElementVNode("input", {
|
|
24003
24003
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => inputText.value = $event),
|
|
24004
24004
|
readonly: __props.readonly,
|
|
@@ -24028,9 +24028,9 @@ const _sfc_main$j = {
|
|
|
24028
24028
|
}
|
|
24029
24029
|
};
|
|
24030
24030
|
var DatePicker_vue_vue_type_style_index_0_lang = "";
|
|
24031
|
-
const _hoisted_1$
|
|
24031
|
+
const _hoisted_1$j = /* @__PURE__ */ createTextVNode(" Back ");
|
|
24032
24032
|
const _hoisted_2$h = /* @__PURE__ */ createElementVNode("div", null, "today", -1);
|
|
24033
|
-
const _sfc_main$
|
|
24033
|
+
const _sfc_main$j = {
|
|
24034
24034
|
__name: "DatePicker",
|
|
24035
24035
|
props: {
|
|
24036
24036
|
inline: {
|
|
@@ -24087,7 +24087,7 @@ const _sfc_main$i = {
|
|
|
24087
24087
|
})
|
|
24088
24088
|
]),
|
|
24089
24089
|
"calendar-icon": withCtx(() => [
|
|
24090
|
-
_hoisted_1$
|
|
24090
|
+
_hoisted_1$j
|
|
24091
24091
|
]),
|
|
24092
24092
|
"clear-icon": withCtx(() => []),
|
|
24093
24093
|
"action-preview": withCtx(() => []),
|
|
@@ -24101,12 +24101,12 @@ const _sfc_main$i = {
|
|
|
24101
24101
|
}
|
|
24102
24102
|
};
|
|
24103
24103
|
var DropdownMenuItem_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
24104
|
-
const _hoisted_1$
|
|
24104
|
+
const _hoisted_1$i = ["src"];
|
|
24105
24105
|
const _hoisted_2$g = {
|
|
24106
24106
|
key: 3,
|
|
24107
24107
|
class: "menu-item-text-wrapper"
|
|
24108
24108
|
};
|
|
24109
|
-
const _sfc_main$
|
|
24109
|
+
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
24110
24110
|
__name: "DropdownMenuItem",
|
|
24111
24111
|
props: {
|
|
24112
24112
|
item: {
|
|
@@ -24136,7 +24136,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
24136
24136
|
alt: "icon image",
|
|
24137
24137
|
class: "icon icon-url",
|
|
24138
24138
|
src: __props.item.iconUrl
|
|
24139
|
-
}, null, 8, _hoisted_1$
|
|
24139
|
+
}, null, 8, _hoisted_1$i)) : createCommentVNode("", true),
|
|
24140
24140
|
!__props.item.iconUrl ? (openBlock(), createBlock(DhIcon, mergeProps({
|
|
24141
24141
|
key: 1,
|
|
24142
24142
|
class: "icon"
|
|
@@ -24163,11 +24163,11 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
24163
24163
|
};
|
|
24164
24164
|
}
|
|
24165
24165
|
});
|
|
24166
|
-
var DhDropdownMenuItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
24166
|
+
var DhDropdownMenuItem = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-3a3f37c0"]]);
|
|
24167
24167
|
var DropdownMenu_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
24168
|
-
const _hoisted_1$
|
|
24168
|
+
const _hoisted_1$h = ["data-e2e", "onClick"];
|
|
24169
24169
|
const _hoisted_2$f = ["onClick"];
|
|
24170
|
-
const _sfc_main$
|
|
24170
|
+
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
24171
24171
|
__name: "DropdownMenu",
|
|
24172
24172
|
props: {
|
|
24173
24173
|
items: {
|
|
@@ -24263,19 +24263,19 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
24263
24263
|
"text-ellipsis-style": __props.textEllipsisStyle
|
|
24264
24264
|
}, null, 8, ["icon-size", "item", "text-ellipsis-style"])
|
|
24265
24265
|
], 8, _hoisted_2$f))
|
|
24266
|
-
], 8, _hoisted_1$
|
|
24266
|
+
], 8, _hoisted_1$h);
|
|
24267
24267
|
}), 128))
|
|
24268
24268
|
], 4);
|
|
24269
24269
|
};
|
|
24270
24270
|
}
|
|
24271
24271
|
});
|
|
24272
|
-
var DropdownMenu = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
24272
|
+
var DropdownMenu = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-2fa20f7b"]]);
|
|
24273
24273
|
var Error_vue_vue_type_style_index_0_lang = "";
|
|
24274
|
-
const _hoisted_1$
|
|
24274
|
+
const _hoisted_1$g = {
|
|
24275
24275
|
key: 0,
|
|
24276
24276
|
class: "invalid-feedback"
|
|
24277
24277
|
};
|
|
24278
|
-
const _sfc_main$
|
|
24278
|
+
const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
24279
24279
|
__name: "Error",
|
|
24280
24280
|
props: {
|
|
24281
24281
|
errors: {
|
|
@@ -24288,7 +24288,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
24288
24288
|
const props = __props;
|
|
24289
24289
|
return (_ctx, _cache) => {
|
|
24290
24290
|
var _a;
|
|
24291
|
-
return unref(props).errors && ((_a = unref(props).errors) == null ? void 0 : _a.length) > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
24291
|
+
return unref(props).errors && ((_a = unref(props).errors) == null ? void 0 : _a.length) > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$g, [
|
|
24292
24292
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.errors, (error) => {
|
|
24293
24293
|
return openBlock(), createElementBlock("span", { key: error }, toDisplayString(error), 1);
|
|
24294
24294
|
}), 128))
|
|
@@ -24296,7 +24296,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
24296
24296
|
};
|
|
24297
24297
|
}
|
|
24298
24298
|
});
|
|
24299
|
-
const _sfc_main$
|
|
24299
|
+
const _sfc_main$f = defineComponent({
|
|
24300
24300
|
components: { DhIcon },
|
|
24301
24301
|
props: {
|
|
24302
24302
|
title: {
|
|
@@ -24322,7 +24322,7 @@ const _sfc_main$e = defineComponent({
|
|
|
24322
24322
|
this.isAdvancedSettingsCurrentlyOpen = this.isAdvancedSettingsOpen;
|
|
24323
24323
|
}
|
|
24324
24324
|
});
|
|
24325
|
-
const _hoisted_1$
|
|
24325
|
+
const _hoisted_1$f = { class: "dh-body-1-medium" };
|
|
24326
24326
|
const _hoisted_2$e = /* @__PURE__ */ createTextVNode(" Content ");
|
|
24327
24327
|
function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
24328
24328
|
const _component_dh_icon = resolveComponent("dh-icon");
|
|
@@ -24335,7 +24335,7 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24335
24335
|
"data-e2e": "expansion-panel-button",
|
|
24336
24336
|
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.isAdvancedSettingsCurrentlyOpen = !_ctx.isAdvancedSettingsCurrentlyOpen)
|
|
24337
24337
|
}, [
|
|
24338
|
-
createElementVNode("h4", _hoisted_1$
|
|
24338
|
+
createElementVNode("h4", _hoisted_1$f, toDisplayString(_ctx.title), 1),
|
|
24339
24339
|
createVNode(_component_dh_icon, {
|
|
24340
24340
|
class: "icon",
|
|
24341
24341
|
"icon-name": _ctx.isAdvancedSettingsCurrentlyOpen ? "arrow-up" : "arrow-down",
|
|
@@ -24347,9 +24347,9 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24347
24347
|
]) : createCommentVNode("", true)
|
|
24348
24348
|
], 64);
|
|
24349
24349
|
}
|
|
24350
|
-
var ExpansionPanel = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
24350
|
+
var ExpansionPanel = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc_render$2]]);
|
|
24351
24351
|
var FileUpload_vue_vue_type_style_index_0_lang = "";
|
|
24352
|
-
const _hoisted_1$
|
|
24352
|
+
const _hoisted_1$e = /* @__PURE__ */ createElementVNode("label", { for: "upload_pdf" }, [
|
|
24353
24353
|
/* @__PURE__ */ createTextVNode(" Drag and drop file or "),
|
|
24354
24354
|
/* @__PURE__ */ createElementVNode("span", { id: "upload" }, "browse")
|
|
24355
24355
|
], -1);
|
|
@@ -24387,7 +24387,7 @@ const _hoisted_16$1 = {
|
|
|
24387
24387
|
class: "file__upload_action"
|
|
24388
24388
|
};
|
|
24389
24389
|
const _hoisted_17$1 = /* @__PURE__ */ createElementVNode("button", { class: "file__upload_action_cancel" }, "Cancel", -1);
|
|
24390
|
-
const _sfc_main$
|
|
24390
|
+
const _sfc_main$e = {
|
|
24391
24391
|
__name: "FileUpload",
|
|
24392
24392
|
props: {
|
|
24393
24393
|
uploadProgress: {
|
|
@@ -24544,7 +24544,7 @@ const _sfc_main$d = {
|
|
|
24544
24544
|
"icon-name": "upload",
|
|
24545
24545
|
size: 24
|
|
24546
24546
|
}),
|
|
24547
|
-
_hoisted_1$
|
|
24547
|
+
_hoisted_1$e,
|
|
24548
24548
|
createElementVNode("input", {
|
|
24549
24549
|
id: "upload_pdf",
|
|
24550
24550
|
ref_key: "upload",
|
|
@@ -24678,13 +24678,13 @@ const _sfc_main$d = {
|
|
|
24678
24678
|
}
|
|
24679
24679
|
};
|
|
24680
24680
|
var InputDropdown_vue_vue_type_style_index_0_lang = "";
|
|
24681
|
-
const _hoisted_1$
|
|
24681
|
+
const _hoisted_1$d = { class: "input__dropdown" };
|
|
24682
24682
|
const _hoisted_2$c = ["placeholder", "value"];
|
|
24683
24683
|
const _hoisted_3$9 = { class: "input__dropdown_second" };
|
|
24684
24684
|
const _hoisted_4$8 = ["tabindex"];
|
|
24685
24685
|
const _hoisted_5$3 = ["onClick"];
|
|
24686
24686
|
const _hoisted_6$3 = ["onClick"];
|
|
24687
|
-
const _sfc_main$
|
|
24687
|
+
const _sfc_main$d = {
|
|
24688
24688
|
__name: "InputDropdown",
|
|
24689
24689
|
props: {
|
|
24690
24690
|
list: {
|
|
@@ -24737,7 +24737,7 @@ const _sfc_main$c = {
|
|
|
24737
24737
|
emit("update", name.value.value, selected.value, props.inputIndex);
|
|
24738
24738
|
}
|
|
24739
24739
|
return (_ctx, _cache) => {
|
|
24740
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
24740
|
+
return openBlock(), createElementBlock("div", _hoisted_1$d, [
|
|
24741
24741
|
createElementVNode("input", {
|
|
24742
24742
|
ref_key: "name",
|
|
24743
24743
|
ref: name,
|
|
@@ -24798,6 +24798,105 @@ const _sfc_main$c = {
|
|
|
24798
24798
|
};
|
|
24799
24799
|
}
|
|
24800
24800
|
};
|
|
24801
|
+
var InputDropdownMultiple_vue_vue_type_style_index_0_lang = "";
|
|
24802
|
+
const _hoisted_1$c = { class: "input-group-multiple" };
|
|
24803
|
+
const _sfc_main$c = {
|
|
24804
|
+
__name: "InputDropdownMultiple",
|
|
24805
|
+
props: {
|
|
24806
|
+
labelProp: {
|
|
24807
|
+
type: String,
|
|
24808
|
+
default: "Label"
|
|
24809
|
+
},
|
|
24810
|
+
icon: {
|
|
24811
|
+
type: String,
|
|
24812
|
+
required: true
|
|
24813
|
+
},
|
|
24814
|
+
placeholderInput: {
|
|
24815
|
+
type: String,
|
|
24816
|
+
default: "Enter value"
|
|
24817
|
+
},
|
|
24818
|
+
tabindex: {
|
|
24819
|
+
type: Number,
|
|
24820
|
+
required: false,
|
|
24821
|
+
default: 0
|
|
24822
|
+
},
|
|
24823
|
+
inputValue: {
|
|
24824
|
+
type: String,
|
|
24825
|
+
required: false,
|
|
24826
|
+
default: ""
|
|
24827
|
+
},
|
|
24828
|
+
inputIndex: {
|
|
24829
|
+
type: Number,
|
|
24830
|
+
required: false,
|
|
24831
|
+
default: 0
|
|
24832
|
+
},
|
|
24833
|
+
inputWidth: {
|
|
24834
|
+
type: String,
|
|
24835
|
+
required: false,
|
|
24836
|
+
default: "75%"
|
|
24837
|
+
},
|
|
24838
|
+
multipleProp: {
|
|
24839
|
+
type: Array,
|
|
24840
|
+
required: true
|
|
24841
|
+
}
|
|
24842
|
+
},
|
|
24843
|
+
emits: ["update"],
|
|
24844
|
+
setup(__props, { emit }) {
|
|
24845
|
+
const props = __props;
|
|
24846
|
+
const multiple = reactive(props.multipleProp);
|
|
24847
|
+
function updateDropdown(name, email, index) {
|
|
24848
|
+
console.log(multiple);
|
|
24849
|
+
if (multiple) {
|
|
24850
|
+
multiple.map((item) => {
|
|
24851
|
+
if (item.id === index) {
|
|
24852
|
+
item.input = name;
|
|
24853
|
+
item.optionSelected = email;
|
|
24854
|
+
}
|
|
24855
|
+
});
|
|
24856
|
+
emit("update", multiple);
|
|
24857
|
+
}
|
|
24858
|
+
}
|
|
24859
|
+
function addMultiple() {
|
|
24860
|
+
if (multiple) {
|
|
24861
|
+
multiple.push({
|
|
24862
|
+
id: multiple.length + 1,
|
|
24863
|
+
list: multiple[0].list,
|
|
24864
|
+
input: null,
|
|
24865
|
+
optionSelected: null
|
|
24866
|
+
});
|
|
24867
|
+
}
|
|
24868
|
+
}
|
|
24869
|
+
return (_ctx, _cache) => {
|
|
24870
|
+
return openBlock(), createElementBlock(Fragment, null, [
|
|
24871
|
+
createElementVNode("div", _hoisted_1$c, [
|
|
24872
|
+
createElementVNode("label", null, toDisplayString(__props.labelProp), 1),
|
|
24873
|
+
createElementVNode("button", {
|
|
24874
|
+
class: "btn btn-secondary btn-multiple",
|
|
24875
|
+
onClick: addMultiple
|
|
24876
|
+
}, [
|
|
24877
|
+
createVNode(DhIcon, {
|
|
24878
|
+
"icon-name": "plus",
|
|
24879
|
+
size: 24
|
|
24880
|
+
})
|
|
24881
|
+
])
|
|
24882
|
+
]),
|
|
24883
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(multiple, (item, index) => {
|
|
24884
|
+
return openBlock(), createBlock(_sfc_main$d, {
|
|
24885
|
+
key: index,
|
|
24886
|
+
icon: props.icon,
|
|
24887
|
+
"input-index": item.id,
|
|
24888
|
+
"input-value": item.input,
|
|
24889
|
+
"input-width": props.inputWidth,
|
|
24890
|
+
list: item.list,
|
|
24891
|
+
"placeholder-input": props.placeholderInput,
|
|
24892
|
+
tabindex: props.tabindex,
|
|
24893
|
+
onUpdate: updateDropdown
|
|
24894
|
+
}, null, 8, ["icon", "input-index", "input-value", "input-width", "list", "placeholder-input", "tabindex"]);
|
|
24895
|
+
}), 128))
|
|
24896
|
+
], 64);
|
|
24897
|
+
};
|
|
24898
|
+
}
|
|
24899
|
+
};
|
|
24801
24900
|
var InputGroup_vue_vue_type_style_index_0_lang = "";
|
|
24802
24901
|
const _hoisted_1$b = { class: "input__group" };
|
|
24803
24902
|
const _hoisted_2$b = ["type"];
|
|
@@ -43634,4 +43733,4 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
43634
43733
|
}
|
|
43635
43734
|
});
|
|
43636
43735
|
var VerificationCode = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-2ace876a"]]);
|
|
43637
|
-
export { _sfc_main$
|
|
43736
|
+
export { _sfc_main$m as DhAdvancedDatePicker, DhAdvancedFilter, _sfc_main$k as DhCopyText, _sfc_main$j as DhDatePicker, DropdownMenu as DhDropdownMenu, _sfc_main$g as DhError, ExpansionPanel as DhExpansionPanel, _sfc_main$e as DhFileUpload, DhIcon, _sfc_main$d as DhInputDropdown, _sfc_main$c as DhInputDropdownMultiple, _sfc_main$b as DhInputGroup, _sfc_main$a as DhInputList, Modal as DhModal, Notification as DhNotification, DhNumberRange, PasswordField as DhPasswordField, DhRadioBox, _sfc_main$5 as DhRadioBoxGroup, SearchInput as DhSearchInput, Stepper as DhStepper, DhSwitch, _sfc_main$1 as DhTextEditor, Tooltip as DhTooltip, VerificationCode as DhVerificationCode };
|