@deskhero/dh_ui 1.48.9 → 1.48.10

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 CHANGED
@@ -10871,7 +10871,7 @@ const _sfc_main$q = defineComponent({
10871
10871
  });
10872
10872
  const _hoisted_1$q = { class: "dp__options" };
10873
10873
  const _hoisted_2$p = { class: "dp__options_switch" };
10874
- const _hoisted_3$g = /* @__PURE__ */ createElementVNode("span", { class: "dp__options_slider" }, null, -1);
10874
+ const _hoisted_3$h = /* @__PURE__ */ createElementVNode("span", { class: "dp__options_slider" }, null, -1);
10875
10875
  function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
10876
10876
  return openBlock(), createElementBlock("label", _hoisted_1$q, [
10877
10877
  createElementVNode("span", null, toDisplayString(_ctx.label), 1),
@@ -10883,7 +10883,7 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
10883
10883
  }, null, 512), [
10884
10884
  [vModelCheckbox, _ctx.checkedValue]
10885
10885
  ]),
10886
- _hoisted_3$g
10886
+ _hoisted_3$h
10887
10887
  ])
10888
10888
  ]);
10889
10889
  }
@@ -23089,7 +23089,7 @@ const _sfc_main$p = {
23089
23089
  };
23090
23090
  const _hoisted_1$p = { class: "bar" };
23091
23091
  const _hoisted_2$o = ["min", "max", "step", "value"];
23092
- const _hoisted_3$f = { class: "caption" };
23092
+ const _hoisted_3$g = { class: "caption" };
23093
23093
  const _hoisted_4$d = { class: "min-caption" };
23094
23094
  const _hoisted_5$8 = { class: "bar-inner" };
23095
23095
  const _hoisted_6$8 = ["min", "max", "step", "value"];
@@ -23132,7 +23132,7 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
23132
23132
  onMousedown: _cache[2] || (_cache[2] = (...args) => $options.onLeftThumbMousedown && $options.onLeftThumbMousedown(...args)),
23133
23133
  onTouchstart: _cache[3] || (_cache[3] = (...args) => $options.onLeftThumbMousedown && $options.onLeftThumbMousedown(...args))
23134
23134
  }, [
23135
- createElementVNode("div", _hoisted_3$f, [
23135
+ createElementVNode("div", _hoisted_3$g, [
23136
23136
  createElementVNode("span", _hoisted_4$d, toDisplayString($props.minCaption || $options.barMinVal), 1)
23137
23137
  ])
23138
23138
  ], 32),
@@ -23256,7 +23256,7 @@ const _sfc_main$o = defineComponent({
23256
23256
  });
23257
23257
  const _hoisted_1$o = { class: "dh-advanced-filter-container" };
23258
23258
  const _hoisted_2$n = { class: "advance_section" };
23259
- const _hoisted_3$e = { key: 0 };
23259
+ const _hoisted_3$f = { key: 0 };
23260
23260
  const _hoisted_4$c = { class: "list-none" };
23261
23261
  const _hoisted_5$7 = ["checked"];
23262
23262
  const _hoisted_6$7 = ["checked"];
@@ -23275,7 +23275,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
23275
23275
  size: 20
23276
23276
  }, null, 8, ["icon-name"])
23277
23277
  ]),
23278
- _ctx.activeFilter ? (openBlock(), createElementBlock("div", _hoisted_3$e, [
23278
+ _ctx.activeFilter ? (openBlock(), createElementBlock("div", _hoisted_3$f, [
23279
23279
  renderSlot(_ctx.$slots, "default"),
23280
23280
  createElementVNode("ul", _hoisted_4$c, [
23281
23281
  createElementVNode("li", null, [
@@ -23573,7 +23573,7 @@ const _sfc_main$n = defineComponent({
23573
23573
  });
23574
23574
  const _hoisted_1$n = { class: "dh-range-container" };
23575
23575
  const _hoisted_2$m = { class: "bar-chart" };
23576
- const _hoisted_3$d = {
23576
+ const _hoisted_3$e = {
23577
23577
  key: 0,
23578
23578
  class: "input-group-section"
23579
23579
  };
@@ -23611,7 +23611,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
23611
23611
  onInput: _ctx.updateBarChart
23612
23612
  }, null, 8, ["base-class-name", "labels", "max", "max-caption", "max-value", "min-caption", "min-value", "step", "onInput"])
23613
23613
  ]),
23614
- _ctx.includeForm ? (openBlock(), createElementBlock("div", _hoisted_3$d, [
23614
+ _ctx.includeForm ? (openBlock(), createElementBlock("div", _hoisted_3$e, [
23615
23615
  createElementVNode("div", _hoisted_4$b, [
23616
23616
  createElementVNode("label", {
23617
23617
  class: normalizeClass(`dh-body-2 input-to ${_ctx.validated ? "disable" : ""}`)
@@ -23664,7 +23664,7 @@ const _hoisted_2$l = /* @__PURE__ */ createElementVNode("div", { class: "dp__cal
23664
23664
  /* @__PURE__ */ createElementVNode("p", null, "From"),
23665
23665
  /* @__PURE__ */ createElementVNode("p", null, "To")
23666
23666
  ], -1);
23667
- const _hoisted_3$c = { class: "dp__multi" };
23667
+ const _hoisted_3$d = { class: "dp__multi" };
23668
23668
  const _hoisted_4$a = ["value"];
23669
23669
  const _hoisted_5$5 = ["value"];
23670
23670
  const _hoisted_6$5 = /* @__PURE__ */ createTextVNode(" Back ");
@@ -23800,7 +23800,7 @@ const _sfc_main$m = {
23800
23800
  onClosed: reOpen
23801
23801
  }, {
23802
23802
  "dp-input": withCtx(() => [
23803
- createElementVNode("div", _hoisted_3$c, [
23803
+ createElementVNode("div", _hoisted_3$d, [
23804
23804
  createElementVNode("input", {
23805
23805
  class: "dp__input dp__multi_input",
23806
23806
  placeholder: "MM/DD/YYYY",
@@ -23945,7 +23945,7 @@ const _sfc_main$l = defineComponent({
23945
23945
  });
23946
23946
  const _hoisted_1$l = ["placement", "target", "tooltipText", "trigger"];
23947
23947
  const _hoisted_2$k = ["id"];
23948
- const _hoisted_3$b = { class: "text" };
23948
+ const _hoisted_3$c = { class: "text" };
23949
23949
  function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
23950
23950
  return openBlock(), createElementBlock("div", {
23951
23951
  id: "main-contain",
@@ -23964,7 +23964,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
23964
23964
  ref: _ctx.target,
23965
23965
  class: normalizeClass(`tooltiptext ${_ctx.show}`)
23966
23966
  }, [
23967
- createElementVNode("span", _hoisted_3$b, toDisplayString(_ctx.tooltipText), 1)
23967
+ createElementVNode("span", _hoisted_3$c, toDisplayString(_ctx.tooltipText), 1)
23968
23968
  ], 10, _hoisted_2$k)
23969
23969
  ], 40, _hoisted_1$l);
23970
23970
  }
@@ -24360,7 +24360,7 @@ const _hoisted_2$e = {
24360
24360
  key: 1,
24361
24361
  class: "file__upload_items"
24362
24362
  };
24363
- const _hoisted_3$a = { class: "file__upload_list_item" };
24363
+ const _hoisted_3$b = { class: "file__upload_list_item" };
24364
24364
  const _hoisted_4$9 = { class: "file__upload_list_item_label" };
24365
24365
  const _hoisted_5$4 = ["title"];
24366
24366
  const _hoisted_6$4 = {
@@ -24597,7 +24597,7 @@ const _sfc_main$e = {
24597
24597
  size: 20,
24598
24598
  style: normalizeStyle({ "z-index": props.zIndex })
24599
24599
  }, null, 8, ["style"])) : createCommentVNode("", true),
24600
- createElementVNode("div", _hoisted_3$a, [
24600
+ createElementVNode("div", _hoisted_3$b, [
24601
24601
  createElementVNode("div", _hoisted_4$9, [
24602
24602
  createElementVNode("div", null, [
24603
24603
  createElementVNode("span", {
@@ -24683,7 +24683,7 @@ const _sfc_main$e = {
24683
24683
  var InputDropdown_vue_vue_type_style_index_0_lang = "";
24684
24684
  const _hoisted_1$d = { class: "input__dropdown" };
24685
24685
  const _hoisted_2$d = ["placeholder", "value"];
24686
- const _hoisted_3$9 = { class: "input__dropdown_second" };
24686
+ const _hoisted_3$a = { class: "input__dropdown_second" };
24687
24687
  const _hoisted_4$8 = ["tabindex"];
24688
24688
  const _hoisted_5$3 = ["onClick"];
24689
24689
  const _hoisted_6$3 = ["onClick"];
@@ -24760,7 +24760,7 @@ const _sfc_main$d = {
24760
24760
  value: __props.inputValue,
24761
24761
  onInput: update
24762
24762
  }, null, 44, _hoisted_2$d),
24763
- createElementVNode("div", _hoisted_3$9, [
24763
+ createElementVNode("div", _hoisted_3$a, [
24764
24764
  createVNode(DhIcon, {
24765
24765
  "icon-name": __props.icon,
24766
24766
  size: 18
@@ -24911,8 +24911,12 @@ const _sfc_main$c = {
24911
24911
  }
24912
24912
  };
24913
24913
  var InputGroup_vue_vue_type_style_index_0_lang = "";
24914
- const _hoisted_1$b = { class: "input__group" };
24915
- const _hoisted_2$b = ["placeholder", "type", "value"];
24914
+ const _hoisted_1$b = ["placeholder", "value"];
24915
+ const _hoisted_2$b = {
24916
+ key: 1,
24917
+ class: "input__group"
24918
+ };
24919
+ const _hoisted_3$9 = ["placeholder", "type", "value"];
24916
24920
  const _sfc_main$b = {
24917
24921
  __name: "InputGroup",
24918
24922
  props: {
@@ -24949,9 +24953,9 @@ const _sfc_main$b = {
24949
24953
  setup(__props) {
24950
24954
  const props = __props;
24951
24955
  useCssVars((_ctx) => ({
24952
- "9bbc973e": flexDir.value,
24953
- "17a45996": __props.widthProp,
24954
- "d5af8106": __props.heightProp
24956
+ "22ddfa82": flexDir.value,
24957
+ "4a679b77": __props.widthProp,
24958
+ "8a658c88": __props.heightProp
24955
24959
  }));
24956
24960
  const flexDir = ref("row");
24957
24961
  onMounted(() => {
@@ -24960,19 +24964,41 @@ const _sfc_main$b = {
24960
24964
  }
24961
24965
  });
24962
24966
  return (_ctx, _cache) => {
24963
- return openBlock(), createElementBlock("div", _hoisted_1$b, [
24967
+ return __props.inputType == "multi-line" ? (openBlock(), createElementBlock("div", {
24968
+ key: 0,
24969
+ class: normalizeClass(["text__area", __props.direction == "left" ? "text__area--left" : "text__area--right"])
24970
+ }, [
24971
+ createElementVNode("textarea", {
24972
+ class: "text__area_field",
24973
+ cols: "30",
24974
+ placeholder: __props.placeholder,
24975
+ rows: "10",
24976
+ value: __props.modelValue,
24977
+ onInput: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:modelValue", $event.target.value))
24978
+ }, null, 40, _hoisted_1$b),
24979
+ __props.direction == "left" ? (openBlock(), createBlock(DhIcon, {
24980
+ key: 0,
24981
+ class: "text__area_icon text__area_icon--left",
24982
+ "icon-name": __props.iconName
24983
+ }, null, 8, ["icon-name"])) : createCommentVNode("", true),
24984
+ __props.direction == "right" ? (openBlock(), createBlock(DhIcon, {
24985
+ key: 1,
24986
+ class: "text__area_icon text__area_icon--right",
24987
+ "icon-name": __props.iconName
24988
+ }, null, 8, ["icon-name"])) : createCommentVNode("", true)
24989
+ ], 2)) : (openBlock(), createElementBlock("div", _hoisted_2$b, [
24964
24990
  createElementVNode("input", {
24965
24991
  class: "input__group_field",
24966
24992
  placeholder: __props.placeholder,
24967
24993
  type: __props.inputType,
24968
24994
  value: __props.modelValue,
24969
- onInput: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:modelValue", $event.target.value))
24970
- }, null, 40, _hoisted_2$b),
24995
+ onInput: _cache[1] || (_cache[1] = ($event) => _ctx.$emit("update:modelValue", $event.target.value))
24996
+ }, null, 40, _hoisted_3$9),
24971
24997
  createVNode(DhIcon, {
24972
24998
  class: "input__group_icon",
24973
24999
  "icon-name": __props.iconName
24974
25000
  }, null, 8, ["icon-name"])
24975
- ]);
25001
+ ]));
24976
25002
  };
24977
25003
  }
24978
25004
  };
@@ -27618,7 +27644,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
27618
27644
  "data-e2e": "password-input",
27619
27645
  placeholder: props.placeholder,
27620
27646
  type: showPassword.value ? "text" : "password",
27621
- onChange: emitChanged,
27647
+ onInput: emitChanged,
27622
27648
  onFocus,
27623
27649
  onFocusout: outFocus
27624
27650
  }, null, 40, _hoisted_2$6), [
@@ -27673,7 +27699,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
27673
27699
  };
27674
27700
  }
27675
27701
  });
27676
- var PasswordField = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-5ec7ff50"]]);
27702
+ var PasswordField = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-93d2f9fc"]]);
27677
27703
  var RadioBox_vue_vue_type_style_index_0_scoped_true_lang = "";
27678
27704
  const _hoisted_1$5 = { class: "radio" };
27679
27705
  const _hoisted_2$5 = ["for"];