@deskhero/dh_ui 1.43.10 → 1.44.0
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 +353 -195
- package/dist/dh_ui.umd.js +54 -54
- package/dist/src/components/FileUpload.vue.d.ts +9 -8
- package/dist/src/components/ImageUpload.vue.d.ts +29 -0
- package/dist/src/components/InputDropdown.vue.d.ts +11 -1
- package/dist/src/components/InputDropdownMultiple.vue.d.ts +42 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/dh_ui.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { reactive, ref, defineComponent, useSlots, toRef, provide, computed, onMounted, onUnmounted, watch, openBlock, createElementBlock, normalizeClass, unref, createVNode, mergeProps, isRef, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps, createBlock, Teleport, createCommentVNode, inject, withKeys, withModifiers, Transition, createElementVNode, Fragment, normalizeStyle, createTextVNode, toDisplayString, resolveDynamicComponent, nextTick, withDirectives, vShow, onBeforeUpdate, getCurrentScope, onScopeDispose, vModelCheckbox, shallowRef, onBeforeUnmount, toRaw, h, isProxy, resolveComponent, vModelText, useCssVars, toRefs, getCurrentInstance, vModelDynamic, pushScopeId, popScopeId } from "vue";
|
|
1
|
+
import { reactive, ref, defineComponent, useSlots, toRef, provide, computed, onMounted, onUnmounted, watch, openBlock, createElementBlock, normalizeClass, unref, createVNode, mergeProps, isRef, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps, createBlock, Teleport, createCommentVNode, inject, withKeys, withModifiers, Transition, createElementVNode, Fragment, normalizeStyle, createTextVNode, toDisplayString, resolveDynamicComponent, nextTick, withDirectives, vShow, onBeforeUpdate, getCurrentScope, onScopeDispose, vModelCheckbox, shallowRef, onBeforeUnmount, toRaw, h, isProxy, resolveComponent, vModelText, useCssVars, toRefs, getCurrentInstance, vModelDynamic, pushScopeId, popScopeId, createApp } from "vue";
|
|
2
2
|
var main$1 = "";
|
|
3
3
|
function toInteger(dirtyNumber) {
|
|
4
4
|
if (dirtyNumber === null || dirtyNumber === true || dirtyNumber === false) {
|
|
@@ -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$q = defineComponent({
|
|
10788
10788
|
props: {
|
|
10789
10789
|
iconName: {
|
|
10790
10790
|
type: String,
|
|
@@ -10818,7 +10818,7 @@ const _sfc_main$p = defineComponent({
|
|
|
10818
10818
|
}
|
|
10819
10819
|
}
|
|
10820
10820
|
});
|
|
10821
|
-
const _hoisted_1$
|
|
10821
|
+
const _hoisted_1$q = ["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$q);
|
|
10835
10835
|
}
|
|
10836
|
-
var DhIcon = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10837
|
-
const _sfc_main$
|
|
10836
|
+
var DhIcon = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render$8], ["__scopeId", "data-v-346530c9"]]);
|
|
10837
|
+
const _sfc_main$p = defineComponent({
|
|
10838
10838
|
props: {
|
|
10839
10839
|
data: {
|
|
10840
10840
|
type: Boolean,
|
|
@@ -10864,13 +10864,13 @@ const _sfc_main$o = defineComponent({
|
|
|
10864
10864
|
}
|
|
10865
10865
|
}
|
|
10866
10866
|
});
|
|
10867
|
-
const _hoisted_1$
|
|
10868
|
-
const _hoisted_2$
|
|
10869
|
-
const _hoisted_3$
|
|
10867
|
+
const _hoisted_1$p = { class: "dp__options" };
|
|
10868
|
+
const _hoisted_2$o = { class: "dp__options_switch" };
|
|
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$p, [
|
|
10872
10872
|
createElementVNode("span", null, toDisplayString(_ctx.label), 1),
|
|
10873
|
-
createElementVNode("div", _hoisted_2$
|
|
10873
|
+
createElementVNode("div", _hoisted_2$o, [
|
|
10874
10874
|
withDirectives(createElementVNode("input", {
|
|
10875
10875
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.checkedValue = $event),
|
|
10876
10876
|
name: "switch",
|
|
@@ -10878,11 +10878,11 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10878
10878
|
}, null, 512), [
|
|
10879
10879
|
[vModelCheckbox, _ctx.checkedValue]
|
|
10880
10880
|
]),
|
|
10881
|
-
_hoisted_3$
|
|
10881
|
+
_hoisted_3$g
|
|
10882
10882
|
])
|
|
10883
10883
|
]);
|
|
10884
10884
|
}
|
|
10885
|
-
var DhSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10885
|
+
var DhSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["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$o = {
|
|
22788
22788
|
name: "MultiRangeSlider",
|
|
22789
22789
|
props: {
|
|
22790
22790
|
baseClassName: {
|
|
@@ -23082,10 +23082,10 @@ const _sfc_main$n = {
|
|
|
23082
23082
|
mounted() {
|
|
23083
23083
|
}
|
|
23084
23084
|
};
|
|
23085
|
-
const _hoisted_1$
|
|
23086
|
-
const _hoisted_2$
|
|
23087
|
-
const _hoisted_3$
|
|
23088
|
-
const _hoisted_4$
|
|
23085
|
+
const _hoisted_1$o = { class: "bar" };
|
|
23086
|
+
const _hoisted_2$n = ["min", "max", "step", "value"];
|
|
23087
|
+
const _hoisted_3$f = { class: "caption" };
|
|
23088
|
+
const _hoisted_4$d = { class: "min-caption" };
|
|
23089
23089
|
const _hoisted_5$8 = { class: "bar-inner" };
|
|
23090
23090
|
const _hoisted_6$8 = ["min", "max", "step", "value"];
|
|
23091
23091
|
const _hoisted_7$7 = { class: "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$o, [
|
|
23111
23111
|
createElementVNode("div", {
|
|
23112
23112
|
class: "bar-left",
|
|
23113
23113
|
style: normalizeStyle({ width: $options.barMin + "%" }),
|
|
@@ -23121,14 +23121,14 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23121
23121
|
step: $props.step,
|
|
23122
23122
|
value: $data.valueMin,
|
|
23123
23123
|
onInput: _cache[1] || (_cache[1] = withModifiers((...args) => $options.onInputMinChange && $options.onInputMinChange(...args), ["stop", "prevent"]))
|
|
23124
|
-
}, null, 40, _hoisted_2$
|
|
23124
|
+
}, null, 40, _hoisted_2$n),
|
|
23125
23125
|
createElementVNode("div", {
|
|
23126
23126
|
class: "thumb thumb-left",
|
|
23127
23127
|
onMousedown: _cache[2] || (_cache[2] = (...args) => $options.onLeftThumbMousedown && $options.onLeftThumbMousedown(...args)),
|
|
23128
23128
|
onTouchstart: _cache[3] || (_cache[3] = (...args) => $options.onLeftThumbMousedown && $options.onLeftThumbMousedown(...args))
|
|
23129
23129
|
}, [
|
|
23130
|
-
createElementVNode("div", _hoisted_3$
|
|
23131
|
-
createElementVNode("span", _hoisted_4$
|
|
23130
|
+
createElementVNode("div", _hoisted_3$f, [
|
|
23131
|
+
createElementVNode("span", _hoisted_4$d, toDisplayString($props.minCaption || $options.barMinVal), 1)
|
|
23132
23132
|
])
|
|
23133
23133
|
], 32),
|
|
23134
23134
|
createElementVNode("div", _hoisted_5$8, [
|
|
@@ -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$o, [["render", _sfc_render$6]]);
|
|
23195
|
+
const _sfc_main$n = defineComponent({
|
|
23196
23196
|
components: { DhIcon },
|
|
23197
23197
|
props: {
|
|
23198
23198
|
mainText: {
|
|
@@ -23249,17 +23249,17 @@ const _sfc_main$m = defineComponent({
|
|
|
23249
23249
|
}
|
|
23250
23250
|
}
|
|
23251
23251
|
});
|
|
23252
|
-
const _hoisted_1$
|
|
23253
|
-
const _hoisted_2$
|
|
23254
|
-
const _hoisted_3$
|
|
23255
|
-
const _hoisted_4$
|
|
23252
|
+
const _hoisted_1$n = { class: "dh-advanced-filter-container" };
|
|
23253
|
+
const _hoisted_2$m = { class: "advance_section" };
|
|
23254
|
+
const _hoisted_3$e = { key: 0 };
|
|
23255
|
+
const _hoisted_4$c = { class: "list-none" };
|
|
23256
23256
|
const _hoisted_5$7 = ["checked"];
|
|
23257
23257
|
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$
|
|
23262
|
-
createElementVNode("div", _hoisted_2$
|
|
23261
|
+
return openBlock(), createElementBlock("div", _hoisted_1$n, [
|
|
23262
|
+
createElementVNode("div", _hoisted_2$m, [
|
|
23263
23263
|
createElementVNode("span", {
|
|
23264
23264
|
class: "toggle-icon",
|
|
23265
23265
|
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.toggleFilter())
|
|
@@ -23270,9 +23270,9 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23270
23270
|
size: 20
|
|
23271
23271
|
}, null, 8, ["icon-name"])
|
|
23272
23272
|
]),
|
|
23273
|
-
_ctx.activeFilter ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
23273
|
+
_ctx.activeFilter ? (openBlock(), createElementBlock("div", _hoisted_3$e, [
|
|
23274
23274
|
renderSlot(_ctx.$slots, "default"),
|
|
23275
|
-
createElementVNode("ul", _hoisted_4$
|
|
23275
|
+
createElementVNode("ul", _hoisted_4$c, [
|
|
23276
23276
|
createElementVNode("li", null, [
|
|
23277
23277
|
createElementVNode("label", null, [
|
|
23278
23278
|
createElementVNode("input", {
|
|
@@ -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$n, [["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$m = defineComponent({
|
|
23316
23316
|
components: { Bar, MultiRangeSlider, DhAdvancedFilter },
|
|
23317
23317
|
props: {
|
|
23318
23318
|
numberRange: {
|
|
@@ -23566,13 +23566,13 @@ const _sfc_main$l = defineComponent({
|
|
|
23566
23566
|
}
|
|
23567
23567
|
}
|
|
23568
23568
|
});
|
|
23569
|
-
const _hoisted_1$
|
|
23570
|
-
const _hoisted_2$
|
|
23571
|
-
const _hoisted_3$
|
|
23569
|
+
const _hoisted_1$m = { class: "dh-range-container" };
|
|
23570
|
+
const _hoisted_2$l = { class: "bar-chart" };
|
|
23571
|
+
const _hoisted_3$d = {
|
|
23572
23572
|
key: 0,
|
|
23573
23573
|
class: "input-group-section"
|
|
23574
23574
|
};
|
|
23575
|
-
const _hoisted_4$
|
|
23575
|
+
const _hoisted_4$b = { class: "input-group sb-input" };
|
|
23576
23576
|
const _hoisted_5$6 = ["disabled", "max", "value"];
|
|
23577
23577
|
const _hoisted_6$6 = { class: "input-group sb-input" };
|
|
23578
23578
|
const _hoisted_7$5 = ["disabled", "max", "min", "value"];
|
|
@@ -23580,8 +23580,8 @@ 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$
|
|
23584
|
-
createElementVNode("div", _hoisted_2$
|
|
23583
|
+
return openBlock(), createElementBlock("div", _hoisted_1$m, [
|
|
23584
|
+
createElementVNode("div", _hoisted_2$l, [
|
|
23585
23585
|
createVNode(_component_Bar, {
|
|
23586
23586
|
"chart-data": _ctx.chartData,
|
|
23587
23587
|
"chart-id": _ctx.chartId,
|
|
@@ -23606,8 +23606,8 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23606
23606
|
onInput: _ctx.updateBarChart
|
|
23607
23607
|
}, null, 8, ["base-class-name", "labels", "max", "max-caption", "max-value", "min-caption", "min-value", "step", "onInput"])
|
|
23608
23608
|
]),
|
|
23609
|
-
_ctx.includeForm ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
23610
|
-
createElementVNode("div", _hoisted_4$
|
|
23609
|
+
_ctx.includeForm ? (openBlock(), createElementBlock("div", _hoisted_3$d, [
|
|
23610
|
+
createElementVNode("div", _hoisted_4$b, [
|
|
23611
23611
|
createElementVNode("label", {
|
|
23612
23612
|
class: normalizeClass(`dh-body-2 input-to ${_ctx.validated ? "disable" : ""}`)
|
|
23613
23613
|
}, " From ", 2),
|
|
@@ -23651,16 +23651,16 @@ 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$m, [["render", _sfc_render$4]]);
|
|
23655
23655
|
var main = "";
|
|
23656
23656
|
var AdvancedDatePicker_vue_vue_type_style_index_0_lang = "";
|
|
23657
|
-
const _hoisted_1$
|
|
23658
|
-
const _hoisted_2$
|
|
23657
|
+
const _hoisted_1$l = { id: "dp-container" };
|
|
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")
|
|
23661
23661
|
], -1);
|
|
23662
|
-
const _hoisted_3$
|
|
23663
|
-
const _hoisted_4$
|
|
23662
|
+
const _hoisted_3$c = { class: "dp__multi" };
|
|
23663
|
+
const _hoisted_4$a = ["value"];
|
|
23664
23664
|
const _hoisted_5$5 = ["value"];
|
|
23665
23665
|
const _hoisted_6$5 = /* @__PURE__ */ createTextVNode(" Back ");
|
|
23666
23666
|
const _hoisted_7$4 = ["onClick"];
|
|
@@ -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$l = {
|
|
23679
23679
|
__name: "AdvancedDatePicker",
|
|
23680
23680
|
props: {
|
|
23681
23681
|
numberRange: {
|
|
@@ -23768,8 +23768,8 @@ const _sfc_main$k = {
|
|
|
23768
23768
|
datePicker.value.openMenu();
|
|
23769
23769
|
}
|
|
23770
23770
|
return (_ctx, _cache) => {
|
|
23771
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
23772
|
-
_hoisted_2$
|
|
23771
|
+
return openBlock(), createElementBlock("div", _hoisted_1$l, [
|
|
23772
|
+
_hoisted_2$k,
|
|
23773
23773
|
createVNode(unref(ca), {
|
|
23774
23774
|
ref_key: "datePicker",
|
|
23775
23775
|
ref: datePicker,
|
|
@@ -23795,14 +23795,14 @@ const _sfc_main$k = {
|
|
|
23795
23795
|
onClosed: reOpen
|
|
23796
23796
|
}, {
|
|
23797
23797
|
"dp-input": withCtx(() => [
|
|
23798
|
-
createElementVNode("div", _hoisted_3$
|
|
23798
|
+
createElementVNode("div", _hoisted_3$c, [
|
|
23799
23799
|
createElementVNode("input", {
|
|
23800
23800
|
class: "dp__input dp__multi_input",
|
|
23801
23801
|
placeholder: "MM/DD/YYYY",
|
|
23802
23802
|
type: "text",
|
|
23803
23803
|
value: minDate.value ? minDate.value : date.value[0],
|
|
23804
23804
|
onInput: _cache[0] || (_cache[0] = ($event) => changeFirstDate($event))
|
|
23805
|
-
}, null, 40, _hoisted_4$
|
|
23805
|
+
}, null, 40, _hoisted_4$a),
|
|
23806
23806
|
createElementVNode("input", {
|
|
23807
23807
|
class: "dp__input dp__multi_input",
|
|
23808
23808
|
placeholder: "MM/DD/YYYY",
|
|
@@ -23909,7 +23909,7 @@ const _sfc_main$k = {
|
|
|
23909
23909
|
};
|
|
23910
23910
|
}
|
|
23911
23911
|
};
|
|
23912
|
-
const _sfc_main$
|
|
23912
|
+
const _sfc_main$k = defineComponent({
|
|
23913
23913
|
props: {
|
|
23914
23914
|
target: { type: String, required: true },
|
|
23915
23915
|
trigger: { type: String, required: true },
|
|
@@ -23938,9 +23938,9 @@ const _sfc_main$j = defineComponent({
|
|
|
23938
23938
|
}
|
|
23939
23939
|
}
|
|
23940
23940
|
});
|
|
23941
|
-
const _hoisted_1$
|
|
23942
|
-
const _hoisted_2$
|
|
23943
|
-
const _hoisted_3$
|
|
23941
|
+
const _hoisted_1$k = ["placement", "target", "tooltipText", "trigger"];
|
|
23942
|
+
const _hoisted_2$j = ["id"];
|
|
23943
|
+
const _hoisted_3$b = { class: "text" };
|
|
23944
23944
|
function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
23945
23945
|
return openBlock(), createElementBlock("div", {
|
|
23946
23946
|
id: "main-contain",
|
|
@@ -23959,15 +23959,15 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23959
23959
|
ref: _ctx.target,
|
|
23960
23960
|
class: normalizeClass(`tooltiptext ${_ctx.show}`)
|
|
23961
23961
|
}, [
|
|
23962
|
-
createElementVNode("span", _hoisted_3$
|
|
23963
|
-
], 10, _hoisted_2$
|
|
23964
|
-
], 40, _hoisted_1$
|
|
23962
|
+
createElementVNode("span", _hoisted_3$b, toDisplayString(_ctx.tooltipText), 1)
|
|
23963
|
+
], 10, _hoisted_2$j)
|
|
23964
|
+
], 40, _hoisted_1$k);
|
|
23965
23965
|
}
|
|
23966
|
-
var Tooltip = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
23966
|
+
var Tooltip = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["render", _sfc_render$3]]);
|
|
23967
23967
|
var Copiable_vue_vue_type_style_index_0_lang = "";
|
|
23968
|
-
const _hoisted_1$
|
|
23969
|
-
const _hoisted_2$
|
|
23970
|
-
const _sfc_main$
|
|
23968
|
+
const _hoisted_1$j = { class: "copy__text" };
|
|
23969
|
+
const _hoisted_2$i = ["readonly"];
|
|
23970
|
+
const _sfc_main$j = {
|
|
23971
23971
|
__name: "Copiable",
|
|
23972
23972
|
props: {
|
|
23973
23973
|
text: {
|
|
@@ -23998,13 +23998,13 @@ const _sfc_main$i = {
|
|
|
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$j, [
|
|
24002
24002
|
withDirectives(createElementVNode("input", {
|
|
24003
24003
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => inputText.value = $event),
|
|
24004
24004
|
readonly: __props.readonly,
|
|
24005
24005
|
type: "text",
|
|
24006
24006
|
onInput: resetCopyText
|
|
24007
|
-
}, null, 40, _hoisted_2$
|
|
24007
|
+
}, null, 40, _hoisted_2$i), [
|
|
24008
24008
|
[vModelText, inputText.value]
|
|
24009
24009
|
]),
|
|
24010
24010
|
createVNode(Tooltip, {
|
|
@@ -24028,9 +24028,9 @@ const _sfc_main$i = {
|
|
|
24028
24028
|
}
|
|
24029
24029
|
};
|
|
24030
24030
|
var DatePicker_vue_vue_type_style_index_0_lang = "";
|
|
24031
|
-
const _hoisted_1$
|
|
24032
|
-
const _hoisted_2$
|
|
24033
|
-
const _sfc_main$
|
|
24031
|
+
const _hoisted_1$i = /* @__PURE__ */ createTextVNode(" Back ");
|
|
24032
|
+
const _hoisted_2$h = /* @__PURE__ */ createElementVNode("div", null, "today", -1);
|
|
24033
|
+
const _sfc_main$i = {
|
|
24034
24034
|
__name: "DatePicker",
|
|
24035
24035
|
props: {
|
|
24036
24036
|
inline: {
|
|
@@ -24087,12 +24087,12 @@ const _sfc_main$h = {
|
|
|
24087
24087
|
})
|
|
24088
24088
|
]),
|
|
24089
24089
|
"calendar-icon": withCtx(() => [
|
|
24090
|
-
_hoisted_1$
|
|
24090
|
+
_hoisted_1$i
|
|
24091
24091
|
]),
|
|
24092
24092
|
"clear-icon": withCtx(() => []),
|
|
24093
24093
|
"action-preview": withCtx(() => []),
|
|
24094
24094
|
"marker-tooltip": withCtx(() => [
|
|
24095
|
-
_hoisted_2$
|
|
24095
|
+
_hoisted_2$h
|
|
24096
24096
|
]),
|
|
24097
24097
|
_: 1
|
|
24098
24098
|
}, 8, ["modelValue", "inline", "markers"])
|
|
@@ -24101,12 +24101,12 @@ const _sfc_main$h = {
|
|
|
24101
24101
|
}
|
|
24102
24102
|
};
|
|
24103
24103
|
var DropdownMenuItem_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
24104
|
-
const _hoisted_1$
|
|
24105
|
-
const _hoisted_2$
|
|
24104
|
+
const _hoisted_1$h = ["src"];
|
|
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$h = /* @__PURE__ */ defineComponent({
|
|
24110
24110
|
__name: "DropdownMenuItem",
|
|
24111
24111
|
props: {
|
|
24112
24112
|
item: {
|
|
@@ -24136,7 +24136,7 @@ const _sfc_main$g = /* @__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$h)) : createCommentVNode("", true),
|
|
24140
24140
|
!__props.item.iconUrl ? (openBlock(), createBlock(DhIcon, mergeProps({
|
|
24141
24141
|
key: 1,
|
|
24142
24142
|
class: "icon"
|
|
@@ -24145,7 +24145,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
24145
24145
|
key: 2,
|
|
24146
24146
|
class: normalizeClass(["dh-body-2", __props.textEllipsisStyle])
|
|
24147
24147
|
}, toDisplayString(__props.item.text), 3)) : createCommentVNode("", true),
|
|
24148
|
-
__props.item.subText ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
24148
|
+
__props.item.subText ? (openBlock(), createElementBlock("div", _hoisted_2$g, [
|
|
24149
24149
|
createElementVNode("span", {
|
|
24150
24150
|
class: normalizeClass(["dh-body-1", __props.textEllipsisStyle])
|
|
24151
24151
|
}, toDisplayString(__props.item.text), 3),
|
|
@@ -24163,11 +24163,11 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
24163
24163
|
};
|
|
24164
24164
|
}
|
|
24165
24165
|
});
|
|
24166
|
-
var DhDropdownMenuItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
24166
|
+
var DhDropdownMenuItem = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-3a3f37c0"]]);
|
|
24167
24167
|
var DropdownMenu_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
24168
|
-
const _hoisted_1$
|
|
24169
|
-
const _hoisted_2$
|
|
24170
|
-
const _sfc_main$
|
|
24168
|
+
const _hoisted_1$g = ["data-e2e", "onClick"];
|
|
24169
|
+
const _hoisted_2$f = ["onClick"];
|
|
24170
|
+
const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
24171
24171
|
__name: "DropdownMenu",
|
|
24172
24172
|
props: {
|
|
24173
24173
|
items: {
|
|
@@ -24262,20 +24262,20 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
24262
24262
|
item,
|
|
24263
24263
|
"text-ellipsis-style": __props.textEllipsisStyle
|
|
24264
24264
|
}, null, 8, ["icon-size", "item", "text-ellipsis-style"])
|
|
24265
|
-
], 8, _hoisted_2$
|
|
24266
|
-
], 8, _hoisted_1$
|
|
24265
|
+
], 8, _hoisted_2$f))
|
|
24266
|
+
], 8, _hoisted_1$g);
|
|
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$g, [["__scopeId", "data-v-2fa20f7b"]]);
|
|
24273
24273
|
var Error_vue_vue_type_style_index_0_lang = "";
|
|
24274
|
-
const _hoisted_1$
|
|
24274
|
+
const _hoisted_1$f = {
|
|
24275
24275
|
key: 0,
|
|
24276
24276
|
class: "invalid-feedback"
|
|
24277
24277
|
};
|
|
24278
|
-
const _sfc_main$
|
|
24278
|
+
const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
24279
24279
|
__name: "Error",
|
|
24280
24280
|
props: {
|
|
24281
24281
|
errors: {
|
|
@@ -24288,7 +24288,7 @@ const _sfc_main$e = /* @__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$f, [
|
|
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$e = /* @__PURE__ */ defineComponent({
|
|
|
24296
24296
|
};
|
|
24297
24297
|
}
|
|
24298
24298
|
});
|
|
24299
|
-
const _sfc_main$
|
|
24299
|
+
const _sfc_main$e = defineComponent({
|
|
24300
24300
|
components: { DhIcon },
|
|
24301
24301
|
props: {
|
|
24302
24302
|
title: {
|
|
@@ -24322,8 +24322,8 @@ const _sfc_main$d = defineComponent({
|
|
|
24322
24322
|
this.isAdvancedSettingsCurrentlyOpen = this.isAdvancedSettingsOpen;
|
|
24323
24323
|
}
|
|
24324
24324
|
});
|
|
24325
|
-
const _hoisted_1$
|
|
24326
|
-
const _hoisted_2$
|
|
24325
|
+
const _hoisted_1$e = { class: "dh-body-1-medium" };
|
|
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");
|
|
24329
24329
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
@@ -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$e, toDisplayString(_ctx.title), 1),
|
|
24339
24339
|
createVNode(_component_dh_icon, {
|
|
24340
24340
|
class: "icon",
|
|
24341
24341
|
"icon-name": _ctx.isAdvancedSettingsCurrentlyOpen ? "arrow-up" : "arrow-down",
|
|
@@ -24343,22 +24343,22 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24343
24343
|
}, null, 8, ["icon-name"])
|
|
24344
24344
|
], 2),
|
|
24345
24345
|
_ctx.isAdvancedSettingsCurrentlyOpen ? renderSlot(_ctx.$slots, "content", { key: 0 }, () => [
|
|
24346
|
-
_hoisted_2$
|
|
24346
|
+
_hoisted_2$e
|
|
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$e, [["render", _sfc_render$2]]);
|
|
24351
24351
|
var FileUpload_vue_vue_type_style_index_0_lang = "";
|
|
24352
|
-
const _hoisted_1$
|
|
24352
|
+
const _hoisted_1$d = /* @__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);
|
|
24356
|
-
const _hoisted_2$
|
|
24356
|
+
const _hoisted_2$d = {
|
|
24357
24357
|
key: 1,
|
|
24358
24358
|
class: "file__upload_items"
|
|
24359
24359
|
};
|
|
24360
|
-
const _hoisted_3$
|
|
24361
|
-
const _hoisted_4$
|
|
24360
|
+
const _hoisted_3$a = { class: "file__upload_list_item" };
|
|
24361
|
+
const _hoisted_4$9 = { class: "file__upload_list_item_label" };
|
|
24362
24362
|
const _hoisted_5$4 = ["title"];
|
|
24363
24363
|
const _hoisted_6$4 = {
|
|
24364
24364
|
key: 0,
|
|
@@ -24387,13 +24387,21 @@ 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$d = {
|
|
24391
24391
|
__name: "FileUpload",
|
|
24392
24392
|
props: {
|
|
24393
24393
|
uploadProgress: {
|
|
24394
24394
|
type: Array,
|
|
24395
24395
|
required: true
|
|
24396
24396
|
},
|
|
24397
|
+
errorOccurred: {
|
|
24398
|
+
type: Array,
|
|
24399
|
+
required: true
|
|
24400
|
+
},
|
|
24401
|
+
virusCheck: {
|
|
24402
|
+
type: Array,
|
|
24403
|
+
required: true
|
|
24404
|
+
},
|
|
24397
24405
|
modelValue: {
|
|
24398
24406
|
type: FileList,
|
|
24399
24407
|
required: false,
|
|
@@ -24404,10 +24412,6 @@ const _sfc_main$c = {
|
|
|
24404
24412
|
required: false,
|
|
24405
24413
|
default: false
|
|
24406
24414
|
},
|
|
24407
|
-
errorOccurred: {
|
|
24408
|
-
type: Array,
|
|
24409
|
-
required: true
|
|
24410
|
-
},
|
|
24411
24415
|
errorMessage: {
|
|
24412
24416
|
type: String,
|
|
24413
24417
|
required: false,
|
|
@@ -24415,12 +24419,9 @@ const _sfc_main$c = {
|
|
|
24415
24419
|
},
|
|
24416
24420
|
fileSaved: {
|
|
24417
24421
|
type: Boolean,
|
|
24422
|
+
required: false,
|
|
24418
24423
|
default: false
|
|
24419
24424
|
},
|
|
24420
|
-
virusCheck: {
|
|
24421
|
-
type: Array,
|
|
24422
|
-
required: true
|
|
24423
|
-
},
|
|
24424
24425
|
virusCheckText: {
|
|
24425
24426
|
type: String,
|
|
24426
24427
|
required: false,
|
|
@@ -24543,7 +24544,7 @@ const _sfc_main$c = {
|
|
|
24543
24544
|
"icon-name": "upload",
|
|
24544
24545
|
size: 24
|
|
24545
24546
|
}),
|
|
24546
|
-
_hoisted_1$
|
|
24547
|
+
_hoisted_1$d,
|
|
24547
24548
|
createElementVNode("input", {
|
|
24548
24549
|
id: "upload_pdf",
|
|
24549
24550
|
ref_key: "upload",
|
|
@@ -24554,7 +24555,7 @@ const _sfc_main$c = {
|
|
|
24554
24555
|
onInput: _cache[0] || (_cache[0] = ($event) => uploadFile($event))
|
|
24555
24556
|
}, null, 544)
|
|
24556
24557
|
], 32)) : createCommentVNode("", true),
|
|
24557
|
-
fileSelected.value ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
24558
|
+
fileSelected.value ? (openBlock(), createElementBlock("div", _hoisted_2$d, [
|
|
24558
24559
|
(openBlock(true), createElementBlock(Fragment, null, renderList(files.value, (file, id) => {
|
|
24559
24560
|
return openBlock(), createElementBlock("div", {
|
|
24560
24561
|
key: id,
|
|
@@ -24593,8 +24594,8 @@ const _sfc_main$c = {
|
|
|
24593
24594
|
size: 20,
|
|
24594
24595
|
style: normalizeStyle({ "z-index": props.zIndex })
|
|
24595
24596
|
}, null, 8, ["style"])) : createCommentVNode("", true),
|
|
24596
|
-
createElementVNode("div", _hoisted_3$
|
|
24597
|
-
createElementVNode("div", _hoisted_4$
|
|
24597
|
+
createElementVNode("div", _hoisted_3$a, [
|
|
24598
|
+
createElementVNode("div", _hoisted_4$9, [
|
|
24598
24599
|
createElementVNode("div", null, [
|
|
24599
24600
|
createElementVNode("span", {
|
|
24600
24601
|
title: file.name
|
|
@@ -24677,13 +24678,13 @@ const _sfc_main$c = {
|
|
|
24677
24678
|
}
|
|
24678
24679
|
};
|
|
24679
24680
|
var InputDropdown_vue_vue_type_style_index_0_lang = "";
|
|
24680
|
-
const _hoisted_1$
|
|
24681
|
-
const _hoisted_2$
|
|
24682
|
-
const _hoisted_3$
|
|
24683
|
-
const _hoisted_4$
|
|
24681
|
+
const _hoisted_1$c = { class: "input__dropdown" };
|
|
24682
|
+
const _hoisted_2$c = ["placeholder", "value"];
|
|
24683
|
+
const _hoisted_3$9 = { class: "input__dropdown_second" };
|
|
24684
|
+
const _hoisted_4$8 = ["tabindex"];
|
|
24684
24685
|
const _hoisted_5$3 = ["onClick"];
|
|
24685
24686
|
const _hoisted_6$3 = ["onClick"];
|
|
24686
|
-
const _sfc_main$
|
|
24687
|
+
const _sfc_main$c = {
|
|
24687
24688
|
__name: "InputDropdown",
|
|
24688
24689
|
props: {
|
|
24689
24690
|
list: {
|
|
@@ -24698,9 +24699,9 @@ const _sfc_main$b = {
|
|
|
24698
24699
|
type: String,
|
|
24699
24700
|
required: true
|
|
24700
24701
|
},
|
|
24701
|
-
|
|
24702
|
+
placeholderInput: {
|
|
24702
24703
|
type: String,
|
|
24703
|
-
default: "
|
|
24704
|
+
default: "Enter value"
|
|
24704
24705
|
},
|
|
24705
24706
|
tabindex: {
|
|
24706
24707
|
type: Number,
|
|
@@ -24711,31 +24712,43 @@ const _sfc_main$b = {
|
|
|
24711
24712
|
type: String,
|
|
24712
24713
|
required: false,
|
|
24713
24714
|
default: ""
|
|
24715
|
+
},
|
|
24716
|
+
inputIndex: {
|
|
24717
|
+
type: Number,
|
|
24718
|
+
required: false,
|
|
24719
|
+
default: 0
|
|
24720
|
+
},
|
|
24721
|
+
inputWidth: {
|
|
24722
|
+
type: String,
|
|
24723
|
+
required: false,
|
|
24724
|
+
default: "75%"
|
|
24714
24725
|
}
|
|
24715
24726
|
},
|
|
24716
24727
|
emits: ["update"],
|
|
24717
24728
|
setup(__props, { emit }) {
|
|
24718
24729
|
const props = __props;
|
|
24719
|
-
const selected = ref(props.
|
|
24730
|
+
const selected = ref(props.list[0].label);
|
|
24720
24731
|
const open = ref(false);
|
|
24721
24732
|
const name = ref(null);
|
|
24722
24733
|
onMounted(() => {
|
|
24723
24734
|
emit("update", "", selected.value);
|
|
24724
24735
|
});
|
|
24725
24736
|
function update() {
|
|
24726
|
-
emit("update", name.value.value, selected.value);
|
|
24737
|
+
emit("update", name.value.value, selected.value, props.inputIndex);
|
|
24727
24738
|
}
|
|
24728
24739
|
return (_ctx, _cache) => {
|
|
24729
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
24740
|
+
return openBlock(), createElementBlock("div", _hoisted_1$c, [
|
|
24730
24741
|
createElementVNode("input", {
|
|
24731
24742
|
ref_key: "name",
|
|
24732
24743
|
ref: name,
|
|
24733
24744
|
class: "input__dropdown_text",
|
|
24745
|
+
placeholder: __props.placeholderInput,
|
|
24746
|
+
style: normalizeStyle({ width: __props.inputWidth }),
|
|
24734
24747
|
type: "text",
|
|
24735
24748
|
value: __props.inputValue,
|
|
24736
24749
|
onInput: update
|
|
24737
|
-
}, null,
|
|
24738
|
-
createElementVNode("div", _hoisted_3$
|
|
24750
|
+
}, null, 44, _hoisted_2$c),
|
|
24751
|
+
createElementVNode("div", _hoisted_3$9, [
|
|
24739
24752
|
createVNode(DhIcon, {
|
|
24740
24753
|
"icon-name": __props.icon,
|
|
24741
24754
|
size: 18
|
|
@@ -24779,16 +24792,16 @@ const _sfc_main$b = {
|
|
|
24779
24792
|
}, toDisplayString(option), 9, _hoisted_6$3);
|
|
24780
24793
|
}), 128))
|
|
24781
24794
|
], 2)) : createCommentVNode("", true)
|
|
24782
|
-
], 40, _hoisted_4$
|
|
24795
|
+
], 40, _hoisted_4$8)
|
|
24783
24796
|
])
|
|
24784
24797
|
]);
|
|
24785
24798
|
};
|
|
24786
24799
|
}
|
|
24787
24800
|
};
|
|
24788
24801
|
var InputGroup_vue_vue_type_style_index_0_lang = "";
|
|
24789
|
-
const _hoisted_1$
|
|
24790
|
-
const _hoisted_2$
|
|
24791
|
-
const _sfc_main$
|
|
24802
|
+
const _hoisted_1$b = { class: "input__group" };
|
|
24803
|
+
const _hoisted_2$b = ["type"];
|
|
24804
|
+
const _sfc_main$b = {
|
|
24792
24805
|
__name: "InputGroup",
|
|
24793
24806
|
props: {
|
|
24794
24807
|
inputType: {
|
|
@@ -24821,11 +24834,11 @@ const _sfc_main$a = {
|
|
|
24821
24834
|
}
|
|
24822
24835
|
});
|
|
24823
24836
|
return (_ctx, _cache) => {
|
|
24824
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
24837
|
+
return openBlock(), createElementBlock("div", _hoisted_1$b, [
|
|
24825
24838
|
createElementVNode("input", {
|
|
24826
24839
|
class: "input__group_field",
|
|
24827
24840
|
type: __props.inputType
|
|
24828
|
-
}, null, 8, _hoisted_2$
|
|
24841
|
+
}, null, 8, _hoisted_2$b),
|
|
24829
24842
|
createVNode(DhIcon, {
|
|
24830
24843
|
class: "input__group_icon",
|
|
24831
24844
|
"icon-name": __props.iconName
|
|
@@ -26679,10 +26692,10 @@ var script = {
|
|
|
26679
26692
|
]);
|
|
26680
26693
|
}
|
|
26681
26694
|
};
|
|
26682
|
-
const _hoisted_1$
|
|
26683
|
-
const _hoisted_2$
|
|
26684
|
-
const _hoisted_3$
|
|
26685
|
-
const _hoisted_4$
|
|
26695
|
+
const _hoisted_1$a = ["id", "dir"];
|
|
26696
|
+
const _hoisted_2$a = ["tabindex", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable", "role"];
|
|
26697
|
+
const _hoisted_3$8 = ["type", "modelValue", "value", "autocomplete", "id", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable"];
|
|
26698
|
+
const _hoisted_4$7 = ["onKeyup", "aria-label"];
|
|
26686
26699
|
const _hoisted_5$2 = ["onClick"];
|
|
26687
26700
|
const _hoisted_6$2 = ["type", "modelValue", "value", "id", "autocomplete", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable"];
|
|
26688
26701
|
const _hoisted_7$2 = ["innerHTML"];
|
|
@@ -26744,7 +26757,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
26744
26757
|
}, {
|
|
26745
26758
|
...$props.attrs,
|
|
26746
26759
|
..._ctx.arias
|
|
26747
|
-
}), null, 16, _hoisted_3$
|
|
26760
|
+
}), null, 16, _hoisted_3$8)) : createCommentVNode("v-if", true),
|
|
26748
26761
|
createCommentVNode(" Tags (with search) "),
|
|
26749
26762
|
$props.mode == "tags" ? (openBlock(), createElementBlock("div", {
|
|
26750
26763
|
key: 1,
|
|
@@ -26774,7 +26787,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
26774
26787
|
class: normalizeClass(_ctx.classList.tagRemoveIcon)
|
|
26775
26788
|
}, null, 2)
|
|
26776
26789
|
], 10, _hoisted_5$2)) : createCommentVNode("v-if", true)
|
|
26777
|
-
], 42, _hoisted_4$
|
|
26790
|
+
], 42, _hoisted_4$7))
|
|
26778
26791
|
]);
|
|
26779
26792
|
}), 256)),
|
|
26780
26793
|
createElementVNode("div", {
|
|
@@ -26875,7 +26888,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
26875
26888
|
"aria-hidden": "true"
|
|
26876
26889
|
}, null, 2)
|
|
26877
26890
|
]) : createCommentVNode("v-if", true)
|
|
26878
|
-
], 16, _hoisted_2$
|
|
26891
|
+
], 16, _hoisted_2$a),
|
|
26879
26892
|
createCommentVNode(" Options "),
|
|
26880
26893
|
createElementVNode("div", {
|
|
26881
26894
|
class: normalizeClass(_ctx.classList.dropdown),
|
|
@@ -27026,20 +27039,20 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27026
27039
|
createElementVNode("div", {
|
|
27027
27040
|
class: normalizeClass(_ctx.classList.spacer)
|
|
27028
27041
|
}, null, 2)
|
|
27029
|
-
], 42, _hoisted_1$
|
|
27042
|
+
], 42, _hoisted_1$a);
|
|
27030
27043
|
}
|
|
27031
27044
|
script.render = render;
|
|
27032
27045
|
script.__file = "src/Multiselect.vue";
|
|
27033
27046
|
var default_css_vue_type_style_index_0_src_dc967fa4_lang = "";
|
|
27034
27047
|
var InputList_vue_vue_type_style_index_1_lang = "";
|
|
27035
|
-
const _hoisted_1$
|
|
27048
|
+
const _hoisted_1$9 = /* @__PURE__ */ createElementVNode("img", {
|
|
27036
27049
|
alt: "",
|
|
27037
27050
|
class: "list__item_thumb",
|
|
27038
27051
|
src: _imports_0
|
|
27039
27052
|
}, null, -1);
|
|
27040
|
-
const _hoisted_2$
|
|
27041
|
-
const _hoisted_3$
|
|
27042
|
-
const _sfc_main$
|
|
27053
|
+
const _hoisted_2$9 = { class: "list__item_text" };
|
|
27054
|
+
const _hoisted_3$7 = /* @__PURE__ */ createElementVNode("div", { id: "list" }, null, -1);
|
|
27055
|
+
const _sfc_main$a = {
|
|
27043
27056
|
__name: "InputList",
|
|
27044
27057
|
props: {
|
|
27045
27058
|
list: {
|
|
@@ -27088,8 +27101,8 @@ const _sfc_main$9 = {
|
|
|
27088
27101
|
createElementVNode("div", {
|
|
27089
27102
|
class: normalizeClass(["list__item", { "is-disabled": disabled }])
|
|
27090
27103
|
}, [
|
|
27091
|
-
_hoisted_1$
|
|
27092
|
-
createElementVNode("p", _hoisted_2$
|
|
27104
|
+
_hoisted_1$9,
|
|
27105
|
+
createElementVNode("p", _hoisted_2$9, toDisplayString(option[__props.labelProp]), 1),
|
|
27093
27106
|
createVNode(DhIcon, {
|
|
27094
27107
|
class: "list__item_icon",
|
|
27095
27108
|
"icon-name": "delete",
|
|
@@ -27102,12 +27115,12 @@ const _sfc_main$9 = {
|
|
|
27102
27115
|
]),
|
|
27103
27116
|
_: 3
|
|
27104
27117
|
}, 8, ["modelValue", "label", "options", "value-prop"]),
|
|
27105
|
-
_hoisted_3$
|
|
27118
|
+
_hoisted_3$7
|
|
27106
27119
|
], 64);
|
|
27107
27120
|
};
|
|
27108
27121
|
}
|
|
27109
27122
|
};
|
|
27110
|
-
const _sfc_main$
|
|
27123
|
+
const _sfc_main$9 = defineComponent({
|
|
27111
27124
|
components: { DhIcon },
|
|
27112
27125
|
props: {
|
|
27113
27126
|
hasCloseButton: {
|
|
@@ -27165,18 +27178,18 @@ const _sfc_main$8 = defineComponent({
|
|
|
27165
27178
|
}
|
|
27166
27179
|
}
|
|
27167
27180
|
});
|
|
27168
|
-
const _hoisted_1$
|
|
27169
|
-
const _hoisted_2$
|
|
27181
|
+
const _hoisted_1$8 = { class: "modal-content" };
|
|
27182
|
+
const _hoisted_2$8 = {
|
|
27170
27183
|
key: 0,
|
|
27171
27184
|
id: "modal-sidebar",
|
|
27172
27185
|
class: "modal-sidebar"
|
|
27173
27186
|
};
|
|
27174
|
-
const _hoisted_3$
|
|
27187
|
+
const _hoisted_3$6 = {
|
|
27175
27188
|
key: 0,
|
|
27176
27189
|
id: "modalTitle",
|
|
27177
27190
|
class: "modal-header"
|
|
27178
27191
|
};
|
|
27179
|
-
const _hoisted_4$
|
|
27192
|
+
const _hoisted_4$6 = { class: "modal-footer" };
|
|
27180
27193
|
function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
27181
27194
|
const _component_dh_icon = resolveComponent("dh-icon");
|
|
27182
27195
|
return openBlock(), createBlock(Transition, { name: "modal-fade" }, {
|
|
@@ -27206,15 +27219,15 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27206
27219
|
size: 24
|
|
27207
27220
|
})
|
|
27208
27221
|
])) : createCommentVNode("", true),
|
|
27209
|
-
createElementVNode("div", _hoisted_1$
|
|
27210
|
-
_ctx.hasSideBar ? (openBlock(), createElementBlock("aside", _hoisted_2$
|
|
27222
|
+
createElementVNode("div", _hoisted_1$8, [
|
|
27223
|
+
_ctx.hasSideBar ? (openBlock(), createElementBlock("aside", _hoisted_2$8, [
|
|
27211
27224
|
renderSlot(_ctx.$slots, "sidebar"),
|
|
27212
27225
|
_ctx.hasSideBarButtonBottom ? renderSlot(_ctx.$slots, "sidebar-button-bottom", { key: 0 }) : createCommentVNode("", true)
|
|
27213
27226
|
])) : createCommentVNode("", true),
|
|
27214
27227
|
createElementVNode("section", {
|
|
27215
27228
|
class: normalizeClass(`right-section ${_ctx.hasSideBar ? "" : "full"}`)
|
|
27216
27229
|
}, [
|
|
27217
|
-
_ctx.hasHeader ? (openBlock(), createElementBlock("header", _hoisted_3$
|
|
27230
|
+
_ctx.hasHeader ? (openBlock(), createElementBlock("header", _hoisted_3$6, [
|
|
27218
27231
|
renderSlot(_ctx.$slots, "header")
|
|
27219
27232
|
])) : createCommentVNode("", true),
|
|
27220
27233
|
createElementVNode("section", {
|
|
@@ -27226,7 +27239,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27226
27239
|
}, [
|
|
27227
27240
|
renderSlot(_ctx.$slots, "body")
|
|
27228
27241
|
], 2),
|
|
27229
|
-
createElementVNode("footer", _hoisted_4$
|
|
27242
|
+
createElementVNode("footer", _hoisted_4$6, [
|
|
27230
27243
|
_ctx.hasFooter ? renderSlot(_ctx.$slots, "footer", { key: 0 }) : createCommentVNode("", true),
|
|
27231
27244
|
_ctx.hasFooterButtonRight ? renderSlot(_ctx.$slots, "footer-button-right", { key: 1 }) : createCommentVNode("", true)
|
|
27232
27245
|
])
|
|
@@ -27238,8 +27251,8 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27238
27251
|
_: 3
|
|
27239
27252
|
});
|
|
27240
27253
|
}
|
|
27241
|
-
var Modal = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
27242
|
-
const _sfc_main$
|
|
27254
|
+
var Modal = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", _sfc_render$1]]);
|
|
27255
|
+
const _sfc_main$8 = defineComponent({
|
|
27243
27256
|
components: {
|
|
27244
27257
|
DhIcon
|
|
27245
27258
|
},
|
|
@@ -27313,16 +27326,16 @@ const _sfc_main$7 = defineComponent({
|
|
|
27313
27326
|
}
|
|
27314
27327
|
}
|
|
27315
27328
|
});
|
|
27316
|
-
const _hoisted_1$
|
|
27329
|
+
const _hoisted_1$7 = /* @__PURE__ */ createElementVNode("img", {
|
|
27317
27330
|
alt: "icon",
|
|
27318
27331
|
class: "close-icon",
|
|
27319
27332
|
src: _imports_0$1
|
|
27320
27333
|
}, null, -1);
|
|
27321
|
-
const _hoisted_2$
|
|
27322
|
-
_hoisted_1$
|
|
27334
|
+
const _hoisted_2$7 = [
|
|
27335
|
+
_hoisted_1$7
|
|
27323
27336
|
];
|
|
27324
|
-
const _hoisted_3$
|
|
27325
|
-
const _hoisted_4$
|
|
27337
|
+
const _hoisted_3$5 = { class: "additional-text" };
|
|
27338
|
+
const _hoisted_4$5 = {
|
|
27326
27339
|
key: 0,
|
|
27327
27340
|
class: "descriptions"
|
|
27328
27341
|
};
|
|
@@ -27340,7 +27353,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27340
27353
|
key: 0,
|
|
27341
27354
|
class: "close-notification",
|
|
27342
27355
|
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.close(false))
|
|
27343
|
-
}, _hoisted_2$
|
|
27356
|
+
}, _hoisted_2$7)) : createCommentVNode("", true),
|
|
27344
27357
|
createElementVNode("div", {
|
|
27345
27358
|
class: normalizeClass(`content content- ${_ctx.notificationType}`)
|
|
27346
27359
|
}, [
|
|
@@ -27353,11 +27366,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27353
27366
|
size: 33
|
|
27354
27367
|
}, null, 8, ["class", "icon-name"])
|
|
27355
27368
|
], 2),
|
|
27356
|
-
createElementVNode("div", _hoisted_3$
|
|
27369
|
+
createElementVNode("div", _hoisted_3$5, [
|
|
27357
27370
|
createElementVNode("div", {
|
|
27358
27371
|
class: normalizeClass(`body-section-title title-${_ctx.notificationType}`)
|
|
27359
27372
|
}, toDisplayString(_ctx.limitTitle(_ctx.title, _ctx.notificationType)), 3),
|
|
27360
|
-
!["bottom-message"].includes(_ctx.notificationType) ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
27373
|
+
!["bottom-message"].includes(_ctx.notificationType) ? (openBlock(), createElementBlock("div", _hoisted_4$5, toDisplayString(_ctx.message.length >= 280 ? `${_ctx.message.substring(0, 280)}..` : _ctx.message), 1)) : createCommentVNode("", true)
|
|
27361
27374
|
]),
|
|
27362
27375
|
!["toast", "bottom-message"].includes(_ctx.notificationType) ? (openBlock(), createElementBlock("div", {
|
|
27363
27376
|
key: 0,
|
|
@@ -27376,16 +27389,16 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27376
27389
|
], 2)) : createCommentVNode("", true)
|
|
27377
27390
|
], 6);
|
|
27378
27391
|
}
|
|
27379
|
-
var Notification = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
27392
|
+
var Notification = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["render", _sfc_render]]);
|
|
27380
27393
|
var PasswordField_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
27381
|
-
const _hoisted_1$
|
|
27382
|
-
const _hoisted_2$
|
|
27383
|
-
const _hoisted_3$
|
|
27384
|
-
const _hoisted_4$
|
|
27394
|
+
const _hoisted_1$6 = { class: "password__panel" };
|
|
27395
|
+
const _hoisted_2$6 = ["placeholder", "type"];
|
|
27396
|
+
const _hoisted_3$4 = { class: "icon is-right" };
|
|
27397
|
+
const _hoisted_4$4 = {
|
|
27385
27398
|
key: 0,
|
|
27386
27399
|
class: "password__tooltip"
|
|
27387
27400
|
};
|
|
27388
|
-
const _sfc_main$
|
|
27401
|
+
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
27389
27402
|
__name: "PasswordField",
|
|
27390
27403
|
props: {
|
|
27391
27404
|
modelValue: {
|
|
@@ -27441,7 +27454,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
27441
27454
|
onMounted(() => () => password.value = props.modelValue || "");
|
|
27442
27455
|
watch(props, () => (password.value = props.modelValue || "", hasMinimumLength.value = password.value.length > 11, hasNumber.value = /\d/.test(password.value), hasSpecial.value = /[!@#$%^&*)(+=._-]/.test(password.value)));
|
|
27443
27456
|
return (_ctx, _cache) => {
|
|
27444
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
27457
|
+
return openBlock(), createElementBlock("div", _hoisted_1$6, [
|
|
27445
27458
|
withDirectives(createElementVNode("input", {
|
|
27446
27459
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => password.value = $event),
|
|
27447
27460
|
class: "form__input password__panel_input",
|
|
@@ -27451,7 +27464,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
27451
27464
|
onChange: emitChanged,
|
|
27452
27465
|
onFocus,
|
|
27453
27466
|
onFocusout: outFocus
|
|
27454
|
-
}, null, 40, _hoisted_2$
|
|
27467
|
+
}, null, 40, _hoisted_2$6), [
|
|
27455
27468
|
[vModelDynamic, password.value]
|
|
27456
27469
|
]),
|
|
27457
27470
|
createElementVNode("button", {
|
|
@@ -27459,7 +27472,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
27459
27472
|
type: "button",
|
|
27460
27473
|
onClick: toggleShow
|
|
27461
27474
|
}, [
|
|
27462
|
-
createElementVNode("span", _hoisted_3$
|
|
27475
|
+
createElementVNode("span", _hoisted_3$4, [
|
|
27463
27476
|
createVNode(DhIcon, {
|
|
27464
27477
|
active: isActive.value,
|
|
27465
27478
|
"icon-name": showPassword.value ? "invisible" : "visible",
|
|
@@ -27467,7 +27480,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
27467
27480
|
}, null, 8, ["active", "icon-name"])
|
|
27468
27481
|
])
|
|
27469
27482
|
]),
|
|
27470
|
-
tooltip.value && !props.passwordTooltipDisabled ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
27483
|
+
tooltip.value && !props.passwordTooltipDisabled ? (openBlock(), createElementBlock("div", _hoisted_4$4, [
|
|
27471
27484
|
createElementVNode("p", {
|
|
27472
27485
|
class: normalizeClass(["password__tooltip_text", hasMinimumLength.value ? "password__tooltip_text--valid" : ""])
|
|
27473
27486
|
}, [
|
|
@@ -27503,13 +27516,13 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
27503
27516
|
};
|
|
27504
27517
|
}
|
|
27505
27518
|
});
|
|
27506
|
-
var PasswordField = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
27519
|
+
var PasswordField = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-5ec7ff50"]]);
|
|
27507
27520
|
var RadioBox_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
27508
|
-
const _hoisted_1$
|
|
27509
|
-
const _hoisted_2$
|
|
27510
|
-
const _hoisted_3$
|
|
27511
|
-
const _hoisted_4$
|
|
27512
|
-
const _sfc_main$
|
|
27521
|
+
const _hoisted_1$5 = { class: "radio" };
|
|
27522
|
+
const _hoisted_2$5 = ["for"];
|
|
27523
|
+
const _hoisted_3$3 = ["id", "type", "value"];
|
|
27524
|
+
const _hoisted_4$3 = { class: "radio__label_txt" };
|
|
27525
|
+
const _sfc_main$6 = {
|
|
27513
27526
|
__name: "RadioBox",
|
|
27514
27527
|
props: {
|
|
27515
27528
|
type: {
|
|
@@ -27528,7 +27541,7 @@ const _sfc_main$5 = {
|
|
|
27528
27541
|
emits: ["clickBox"],
|
|
27529
27542
|
setup(__props, { emit }) {
|
|
27530
27543
|
return (_ctx, _cache) => {
|
|
27531
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
27544
|
+
return openBlock(), createElementBlock("div", _hoisted_1$5, [
|
|
27532
27545
|
createElementVNode("label", {
|
|
27533
27546
|
class: "radio__label",
|
|
27534
27547
|
for: __props.value
|
|
@@ -27540,16 +27553,16 @@ const _sfc_main$5 = {
|
|
|
27540
27553
|
type: __props.type,
|
|
27541
27554
|
value: __props.value,
|
|
27542
27555
|
onClick: _cache[0] || (_cache[0] = ($event) => emit("clickBox"))
|
|
27543
|
-
}, null, 8, _hoisted_3$
|
|
27544
|
-
createElementVNode("span", _hoisted_4$
|
|
27545
|
-
], 8, _hoisted_2$
|
|
27556
|
+
}, null, 8, _hoisted_3$3),
|
|
27557
|
+
createElementVNode("span", _hoisted_4$3, toDisplayString(__props.label), 1)
|
|
27558
|
+
], 8, _hoisted_2$5)
|
|
27546
27559
|
]);
|
|
27547
27560
|
};
|
|
27548
27561
|
}
|
|
27549
27562
|
};
|
|
27550
|
-
var DhRadioBox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
27563
|
+
var DhRadioBox = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-29696bd5"]]);
|
|
27551
27564
|
var RadioBoxGroup_vue_vue_type_style_index_0_lang = "";
|
|
27552
|
-
const _sfc_main$
|
|
27565
|
+
const _sfc_main$5 = {
|
|
27553
27566
|
__name: "RadioBoxGroup",
|
|
27554
27567
|
props: {
|
|
27555
27568
|
orientation: {
|
|
@@ -27601,9 +27614,9 @@ const _sfc_main$4 = {
|
|
|
27601
27614
|
}
|
|
27602
27615
|
};
|
|
27603
27616
|
var SearchInput_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
27604
|
-
const _hoisted_1$
|
|
27605
|
-
const _hoisted_2$
|
|
27606
|
-
const _sfc_main$
|
|
27617
|
+
const _hoisted_1$4 = { class: "search-panel" };
|
|
27618
|
+
const _hoisted_2$4 = ["placeholder"];
|
|
27619
|
+
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
27607
27620
|
__name: "SearchInput",
|
|
27608
27621
|
props: {
|
|
27609
27622
|
modelValue: {
|
|
@@ -27631,14 +27644,14 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
27631
27644
|
onMounted(() => () => search.value = props.modelValue || "");
|
|
27632
27645
|
watch(props, () => search.value = props.modelValue || "");
|
|
27633
27646
|
return (_ctx, _cache) => {
|
|
27634
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
27647
|
+
return openBlock(), createElementBlock("div", _hoisted_1$4, [
|
|
27635
27648
|
withDirectives(createElementVNode("input", {
|
|
27636
27649
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => search.value = $event),
|
|
27637
27650
|
class: "form-input search-panel-input",
|
|
27638
27651
|
"data-e2e": "search-input",
|
|
27639
27652
|
placeholder: props.placeholder,
|
|
27640
27653
|
onKeyup: emitChanged
|
|
27641
|
-
}, null, 40, _hoisted_2$
|
|
27654
|
+
}, null, 40, _hoisted_2$4), [
|
|
27642
27655
|
[vModelText, search.value]
|
|
27643
27656
|
]),
|
|
27644
27657
|
!search.value ? (openBlock(), createElementBlock("button", {
|
|
@@ -27669,12 +27682,12 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
27669
27682
|
};
|
|
27670
27683
|
}
|
|
27671
27684
|
});
|
|
27672
|
-
var SearchInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
27685
|
+
var SearchInput = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-562faa14"]]);
|
|
27673
27686
|
var Stepper_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
27674
27687
|
const _withScopeId = (n) => (pushScopeId("data-v-0213b522"), n = n(), popScopeId(), n);
|
|
27675
|
-
const _hoisted_1$
|
|
27676
|
-
const _hoisted_2$
|
|
27677
|
-
const _sfc_main$
|
|
27688
|
+
const _hoisted_1$3 = { class: "stepper" };
|
|
27689
|
+
const _hoisted_2$3 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("hr", { class: "solid" }, null, -1));
|
|
27690
|
+
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
27678
27691
|
__name: "Stepper",
|
|
27679
27692
|
props: {
|
|
27680
27693
|
maxSteps: {
|
|
@@ -27692,7 +27705,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
27692
27705
|
return Array.from(Array(props.maxSteps || 0).keys());
|
|
27693
27706
|
}
|
|
27694
27707
|
return (_ctx, _cache) => {
|
|
27695
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
27708
|
+
return openBlock(), createElementBlock("div", _hoisted_1$3, [
|
|
27696
27709
|
(openBlock(true), createElementBlock(Fragment, null, renderList(getSteps(), (step, id) => {
|
|
27697
27710
|
return openBlock(), createElementBlock("div", {
|
|
27698
27711
|
key: id,
|
|
@@ -27701,14 +27714,14 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
27701
27714
|
createElementVNode("span", {
|
|
27702
27715
|
class: normalizeClass(["step-number", { active: step === __props.currentStep }])
|
|
27703
27716
|
}, toDisplayString(step + 1), 3),
|
|
27704
|
-
_hoisted_2$
|
|
27717
|
+
_hoisted_2$3
|
|
27705
27718
|
]);
|
|
27706
27719
|
}), 128))
|
|
27707
27720
|
]);
|
|
27708
27721
|
};
|
|
27709
27722
|
}
|
|
27710
27723
|
});
|
|
27711
|
-
var Stepper = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
27724
|
+
var Stepper = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-0213b522"]]);
|
|
27712
27725
|
function getDefaultExportFromCjs(x2) {
|
|
27713
27726
|
return x2 && x2.__esModule && Object.prototype.hasOwnProperty.call(x2, "default") ? x2["default"] : x2;
|
|
27714
27727
|
}
|
|
@@ -42963,6 +42976,108 @@ var bundle = { exports: {} };
|
|
|
42963
42976
|
});
|
|
42964
42977
|
})(bundle);
|
|
42965
42978
|
var Checklist = /* @__PURE__ */ getDefaultExportFromCjs(bundle.exports);
|
|
42979
|
+
var ImageUpload_vue_vue_type_style_index_0_lang = "";
|
|
42980
|
+
const _hoisted_1$2 = { class: "file__upload" };
|
|
42981
|
+
const _hoisted_2$2 = /* @__PURE__ */ createElementVNode("label", { for: "upload_pdf" }, [
|
|
42982
|
+
/* @__PURE__ */ createTextVNode(" Drag and drop image file or "),
|
|
42983
|
+
/* @__PURE__ */ createElementVNode("span", { id: "upload" }, "browse")
|
|
42984
|
+
], -1);
|
|
42985
|
+
const _hoisted_3$2 = {
|
|
42986
|
+
key: 1,
|
|
42987
|
+
class: "file__upload_items"
|
|
42988
|
+
};
|
|
42989
|
+
const _hoisted_4$2 = ["alt", "src"];
|
|
42990
|
+
const _sfc_main$2 = {
|
|
42991
|
+
__name: "ImageUpload",
|
|
42992
|
+
props: {
|
|
42993
|
+
uploadProgress: {
|
|
42994
|
+
type: Array,
|
|
42995
|
+
required: true,
|
|
42996
|
+
default: () => {
|
|
42997
|
+
return [100];
|
|
42998
|
+
}
|
|
42999
|
+
},
|
|
43000
|
+
errorOccurred: {
|
|
43001
|
+
type: Array,
|
|
43002
|
+
required: true,
|
|
43003
|
+
default: () => {
|
|
43004
|
+
return [false];
|
|
43005
|
+
}
|
|
43006
|
+
},
|
|
43007
|
+
modelValue: {
|
|
43008
|
+
type: FileList,
|
|
43009
|
+
required: false,
|
|
43010
|
+
default: void 0
|
|
43011
|
+
},
|
|
43012
|
+
errorMessage: {
|
|
43013
|
+
type: String,
|
|
43014
|
+
required: false,
|
|
43015
|
+
default: "an error occurred while uploading"
|
|
43016
|
+
}
|
|
43017
|
+
},
|
|
43018
|
+
emits: ["update:modelValue", "save:modelValue", "reload"],
|
|
43019
|
+
setup(__props, { emit }) {
|
|
43020
|
+
const props = __props;
|
|
43021
|
+
const upload = ref(null);
|
|
43022
|
+
const fileSelected = ref(false);
|
|
43023
|
+
const files = ref([]);
|
|
43024
|
+
function uploadFile(e2) {
|
|
43025
|
+
e2.stopPropagation();
|
|
43026
|
+
files.value = upload.value.files;
|
|
43027
|
+
if (files.value) {
|
|
43028
|
+
fileSelected.value = true;
|
|
43029
|
+
}
|
|
43030
|
+
emit("update:modelValue", files.value);
|
|
43031
|
+
}
|
|
43032
|
+
function dragFile(e2) {
|
|
43033
|
+
e2.stopPropagation();
|
|
43034
|
+
e2.dataTransfer.dropEffect = "copy";
|
|
43035
|
+
}
|
|
43036
|
+
function dropFile(e2) {
|
|
43037
|
+
e2.stopPropagation();
|
|
43038
|
+
fileSelected.value = true;
|
|
43039
|
+
files.value = e2.dataTransfer.files;
|
|
43040
|
+
emit("update:modelValue", files.value);
|
|
43041
|
+
}
|
|
43042
|
+
function generateLink(file) {
|
|
43043
|
+
return URL.createObjectURL(file);
|
|
43044
|
+
}
|
|
43045
|
+
return (_ctx, _cache) => {
|
|
43046
|
+
return openBlock(), createElementBlock("div", _hoisted_1$2, [
|
|
43047
|
+
!fileSelected.value ? (openBlock(), createElementBlock("div", {
|
|
43048
|
+
key: 0,
|
|
43049
|
+
class: "file__upload_btn",
|
|
43050
|
+
onDragover: _cache[1] || (_cache[1] = withModifiers(($event) => dragFile($event), ["prevent"])),
|
|
43051
|
+
onDrop: _cache[2] || (_cache[2] = withModifiers(($event) => dropFile($event), ["prevent"]))
|
|
43052
|
+
}, [
|
|
43053
|
+
createVNode(DhIcon, {
|
|
43054
|
+
class: "file__upload_btn_icon",
|
|
43055
|
+
"icon-name": "upload",
|
|
43056
|
+
size: 24
|
|
43057
|
+
}),
|
|
43058
|
+
_hoisted_2$2,
|
|
43059
|
+
createElementVNode("input", {
|
|
43060
|
+
id: "upload_pdf",
|
|
43061
|
+
ref_key: "upload",
|
|
43062
|
+
ref: upload,
|
|
43063
|
+
multiple: "",
|
|
43064
|
+
name: "file",
|
|
43065
|
+
type: "file",
|
|
43066
|
+
onInput: _cache[0] || (_cache[0] = ($event) => uploadFile($event))
|
|
43067
|
+
}, null, 544)
|
|
43068
|
+
], 32)) : createCommentVNode("", true),
|
|
43069
|
+
fileSelected.value ? (openBlock(), createElementBlock("div", _hoisted_3$2, [
|
|
43070
|
+
props.uploadProgress[0] == 100 && !__props.errorOccurred[0] ? (openBlock(), createElementBlock("img", {
|
|
43071
|
+
key: 0,
|
|
43072
|
+
alt: files.value[0].name,
|
|
43073
|
+
class: "file__upload_img",
|
|
43074
|
+
src: generateLink(files.value[0])
|
|
43075
|
+
}, null, 8, _hoisted_4$2)) : createCommentVNode("", true)
|
|
43076
|
+
])) : createCommentVNode("", true)
|
|
43077
|
+
]);
|
|
43078
|
+
};
|
|
43079
|
+
}
|
|
43080
|
+
};
|
|
42966
43081
|
var TextEditor_vue_vue_type_style_index_0_lang = "";
|
|
42967
43082
|
const _hoisted_1$1 = { class: "editor__wrapper" };
|
|
42968
43083
|
const _hoisted_2$1 = {
|
|
@@ -43168,6 +43283,9 @@ const _sfc_main$1 = {
|
|
|
43168
43283
|
marker: {
|
|
43169
43284
|
class: Marker,
|
|
43170
43285
|
shortcut: "CMD+SHIFT+H"
|
|
43286
|
+
},
|
|
43287
|
+
upload: {
|
|
43288
|
+
class: Upload
|
|
43171
43289
|
}
|
|
43172
43290
|
}
|
|
43173
43291
|
});
|
|
@@ -43184,6 +43302,46 @@ const _sfc_main$1 = {
|
|
|
43184
43302
|
addFirstBlock.value = true;
|
|
43185
43303
|
}
|
|
43186
43304
|
});
|
|
43305
|
+
class Upload {
|
|
43306
|
+
static get isReadOnlySupported() {
|
|
43307
|
+
return true;
|
|
43308
|
+
}
|
|
43309
|
+
static get toolbox() {
|
|
43310
|
+
return {
|
|
43311
|
+
title: "Image upload",
|
|
43312
|
+
icon: '<svg width="15" height="16" viewBox="0 0 15 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M12 7.86105L8.00238 11.8587C7.44745 12.3993 6.70189 12.6997 5.92714 12.6946C5.15239 12.6896 4.4108 12.3796 3.86295 11.8317C3.31511 11.2839 3.0051 10.5423 3.00006 9.76755C2.99502 8.9928 3.29535 8.24724 3.83602 7.69231L7.95308 3.57525C8.3214 3.20693 8.82097 3 9.34186 3C9.86276 3 10.3623 3.20693 10.7306 3.57525C11.099 3.94358 11.3059 4.44314 11.3059 4.96404C11.3059 5.48494 11.099 5.9845 10.7306 6.35283L6.73233 10.3511C6.54817 10.5353 6.29839 10.6388 6.03794 10.6388C5.77749 10.6388 5.52771 10.5353 5.34355 10.3511C5.15938 10.167 5.05592 9.9172 5.05592 9.65675C5.05592 9.3963 5.15938 9.14652 5.34355 8.96236L9.22243 5.08348" stroke="black" stroke-width="0.5"/></svg>'
|
|
43313
|
+
};
|
|
43314
|
+
}
|
|
43315
|
+
constructor({ data }) {
|
|
43316
|
+
this.data = data;
|
|
43317
|
+
this.wrapper = void 0;
|
|
43318
|
+
}
|
|
43319
|
+
render() {
|
|
43320
|
+
this.wrapper = document.createElement("div");
|
|
43321
|
+
if (this.data && this.data.url) {
|
|
43322
|
+
this._createImage(this.data.url);
|
|
43323
|
+
return this.wrapper;
|
|
43324
|
+
}
|
|
43325
|
+
const app = createApp(_sfc_main$2, {
|
|
43326
|
+
data: function() {
|
|
43327
|
+
return this.data;
|
|
43328
|
+
}
|
|
43329
|
+
});
|
|
43330
|
+
app.mount(this.wrapper);
|
|
43331
|
+
return this.wrapper;
|
|
43332
|
+
}
|
|
43333
|
+
_createImage(url) {
|
|
43334
|
+
const image = document.createElement("img");
|
|
43335
|
+
image.classList.add("file__upload_img");
|
|
43336
|
+
image.src = url;
|
|
43337
|
+
this.wrapper.innerHTML = "";
|
|
43338
|
+
this.wrapper.appendChild(image);
|
|
43339
|
+
}
|
|
43340
|
+
save(blockContent) {
|
|
43341
|
+
const image = blockContent.querySelector("img");
|
|
43342
|
+
return { url: image.src };
|
|
43343
|
+
}
|
|
43344
|
+
}
|
|
43187
43345
|
return (_ctx, _cache) => {
|
|
43188
43346
|
return openBlock(), createElementBlock("div", _hoisted_1$1, [
|
|
43189
43347
|
__props.wordCount ? (openBlock(), createElementBlock("div", _hoisted_2$1, [
|
|
@@ -43473,4 +43631,4 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
43473
43631
|
}
|
|
43474
43632
|
});
|
|
43475
43633
|
var VerificationCode = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-2ace876a"]]);
|
|
43476
|
-
export { _sfc_main$
|
|
43634
|
+
export { _sfc_main$l as DhAdvancedDatePicker, DhAdvancedFilter, _sfc_main$j as DhCopyText, _sfc_main$i as DhDatePicker, DropdownMenu as DhDropdownMenu, _sfc_main$f as DhError, ExpansionPanel as DhExpansionPanel, _sfc_main$d as DhFileUpload, DhIcon, _sfc_main$c as DhInputDropdown, _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 };
|