@deskhero/dh_ui 1.42.13 → 1.43.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/dh_ui.es.js CHANGED
@@ -23081,7 +23081,7 @@ const _sfc_main$n = {
23081
23081
  const _hoisted_1$n = { class: "bar" };
23082
23082
  const _hoisted_2$m = ["min", "max", "step", "value"];
23083
23083
  const _hoisted_3$e = { class: "caption" };
23084
- const _hoisted_4$b = { class: "min-caption" };
23084
+ const _hoisted_4$c = { class: "min-caption" };
23085
23085
  const _hoisted_5$8 = { class: "bar-inner" };
23086
23086
  const _hoisted_6$8 = ["min", "max", "step", "value"];
23087
23087
  const _hoisted_7$7 = { class: "caption" };
@@ -23124,7 +23124,7 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
23124
23124
  onTouchstart: _cache[3] || (_cache[3] = (...args) => $options.onLeftThumbMousedown && $options.onLeftThumbMousedown(...args))
23125
23125
  }, [
23126
23126
  createElementVNode("div", _hoisted_3$e, [
23127
- createElementVNode("span", _hoisted_4$b, toDisplayString($props.minCaption || $options.barMinVal), 1)
23127
+ createElementVNode("span", _hoisted_4$c, toDisplayString($props.minCaption || $options.barMinVal), 1)
23128
23128
  ])
23129
23129
  ], 32),
23130
23130
  createElementVNode("div", _hoisted_5$8, [
@@ -23248,7 +23248,7 @@ const _sfc_main$m = defineComponent({
23248
23248
  const _hoisted_1$m = { class: "dh-advanced-filter-container" };
23249
23249
  const _hoisted_2$l = { class: "advance_section" };
23250
23250
  const _hoisted_3$d = { key: 0 };
23251
- const _hoisted_4$a = { class: "list-none" };
23251
+ const _hoisted_4$b = { class: "list-none" };
23252
23252
  const _hoisted_5$7 = ["checked"];
23253
23253
  const _hoisted_6$7 = ["checked"];
23254
23254
  const _hoisted_7$6 = ["checked"];
@@ -23268,7 +23268,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
23268
23268
  ]),
23269
23269
  _ctx.activeFilter ? (openBlock(), createElementBlock("div", _hoisted_3$d, [
23270
23270
  renderSlot(_ctx.$slots, "default"),
23271
- createElementVNode("ul", _hoisted_4$a, [
23271
+ createElementVNode("ul", _hoisted_4$b, [
23272
23272
  createElementVNode("li", null, [
23273
23273
  createElementVNode("label", null, [
23274
23274
  createElementVNode("input", {
@@ -23568,7 +23568,7 @@ const _hoisted_3$c = {
23568
23568
  key: 0,
23569
23569
  class: "input-group-section"
23570
23570
  };
23571
- const _hoisted_4$9 = { class: "input-group sb-input" };
23571
+ const _hoisted_4$a = { class: "input-group sb-input" };
23572
23572
  const _hoisted_5$6 = ["disabled", "max", "value"];
23573
23573
  const _hoisted_6$6 = { class: "input-group sb-input" };
23574
23574
  const _hoisted_7$5 = ["disabled", "max", "min", "value"];
@@ -23603,7 +23603,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
23603
23603
  }, null, 8, ["base-class-name", "labels", "max", "max-caption", "max-value", "min-caption", "min-value", "step", "onInput"])
23604
23604
  ]),
23605
23605
  _ctx.includeForm ? (openBlock(), createElementBlock("div", _hoisted_3$c, [
23606
- createElementVNode("div", _hoisted_4$9, [
23606
+ createElementVNode("div", _hoisted_4$a, [
23607
23607
  createElementVNode("label", {
23608
23608
  class: normalizeClass(`dh-body-2 input-to ${_ctx.validated ? "disable" : ""}`)
23609
23609
  }, " From ", 2),
@@ -23656,7 +23656,7 @@ const _hoisted_2$j = /* @__PURE__ */ createElementVNode("div", { class: "dp__cal
23656
23656
  /* @__PURE__ */ createElementVNode("p", null, "To")
23657
23657
  ], -1);
23658
23658
  const _hoisted_3$b = { class: "dp__multi" };
23659
- const _hoisted_4$8 = ["value"];
23659
+ const _hoisted_4$9 = ["value"];
23660
23660
  const _hoisted_5$5 = ["value"];
23661
23661
  const _hoisted_6$5 = /* @__PURE__ */ createTextVNode(" Back ");
23662
23662
  const _hoisted_7$4 = ["onClick"];
@@ -23798,7 +23798,7 @@ const _sfc_main$k = {
23798
23798
  type: "text",
23799
23799
  value: minDate.value ? minDate.value : date.value[0],
23800
23800
  onInput: _cache[0] || (_cache[0] = ($event) => changeFirstDate($event))
23801
- }, null, 40, _hoisted_4$8),
23801
+ }, null, 40, _hoisted_4$9),
23802
23802
  createElementVNode("input", {
23803
23803
  class: "dp__input dp__multi_input",
23804
23804
  placeholder: "MM/DD/YYYY",
@@ -24354,7 +24354,7 @@ const _hoisted_2$c = {
24354
24354
  class: "file__upload_items"
24355
24355
  };
24356
24356
  const _hoisted_3$9 = { class: "file__upload_list_item" };
24357
- const _hoisted_4$7 = { class: "file__upload_list_item_label" };
24357
+ const _hoisted_4$8 = { class: "file__upload_list_item_label" };
24358
24358
  const _hoisted_5$4 = ["title"];
24359
24359
  const _hoisted_6$4 = {
24360
24360
  key: 0,
@@ -24590,7 +24590,7 @@ const _sfc_main$c = {
24590
24590
  style: normalizeStyle({ "z-index": props.zIndex })
24591
24591
  }, null, 8, ["style"])) : createCommentVNode("", true),
24592
24592
  createElementVNode("div", _hoisted_3$9, [
24593
- createElementVNode("div", _hoisted_4$7, [
24593
+ createElementVNode("div", _hoisted_4$8, [
24594
24594
  createElementVNode("div", null, [
24595
24595
  createElementVNode("span", {
24596
24596
  title: file.name
@@ -24676,7 +24676,7 @@ var InputDropdown_vue_vue_type_style_index_0_lang = "";
24676
24676
  const _hoisted_1$b = { class: "input__dropdown" };
24677
24677
  const _hoisted_2$b = ["value"];
24678
24678
  const _hoisted_3$8 = { class: "input__dropdown_second" };
24679
- const _hoisted_4$6 = ["tabindex"];
24679
+ const _hoisted_4$7 = ["tabindex"];
24680
24680
  const _hoisted_5$3 = ["onClick"];
24681
24681
  const _hoisted_6$3 = ["onClick"];
24682
24682
  const _sfc_main$b = {
@@ -24775,7 +24775,7 @@ const _sfc_main$b = {
24775
24775
  }, toDisplayString(option), 9, _hoisted_6$3);
24776
24776
  }), 128))
24777
24777
  ], 2)) : createCommentVNode("", true)
24778
- ], 40, _hoisted_4$6)
24778
+ ], 40, _hoisted_4$7)
24779
24779
  ])
24780
24780
  ]);
24781
24781
  };
@@ -26678,7 +26678,7 @@ var script = {
26678
26678
  const _hoisted_1$9 = ["id", "dir"];
26679
26679
  const _hoisted_2$9 = ["tabindex", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable", "role"];
26680
26680
  const _hoisted_3$7 = ["type", "modelValue", "value", "autocomplete", "id", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable"];
26681
- const _hoisted_4$5 = ["onKeyup", "aria-label"];
26681
+ const _hoisted_4$6 = ["onKeyup", "aria-label"];
26682
26682
  const _hoisted_5$2 = ["onClick"];
26683
26683
  const _hoisted_6$2 = ["type", "modelValue", "value", "id", "autocomplete", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable"];
26684
26684
  const _hoisted_7$2 = ["innerHTML"];
@@ -26770,7 +26770,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
26770
26770
  class: normalizeClass(_ctx.classList.tagRemoveIcon)
26771
26771
  }, null, 2)
26772
26772
  ], 10, _hoisted_5$2)) : createCommentVNode("v-if", true)
26773
- ], 42, _hoisted_4$5))
26773
+ ], 42, _hoisted_4$6))
26774
26774
  ]);
26775
26775
  }), 256)),
26776
26776
  createElementVNode("div", {
@@ -27130,6 +27130,10 @@ const _sfc_main$8 = defineComponent({
27130
27130
  type: Boolean,
27131
27131
  default: true
27132
27132
  },
27133
+ hasBodyScrolling: {
27134
+ type: Boolean,
27135
+ default: true
27136
+ },
27133
27137
  sideBarPosition: {
27134
27138
  type: String,
27135
27139
  default: "left"
@@ -27157,17 +27161,18 @@ const _sfc_main$8 = defineComponent({
27157
27161
  }
27158
27162
  }
27159
27163
  });
27160
- const _hoisted_1$7 = {
27161
- key: 1,
27164
+ const _hoisted_1$7 = { class: "modal-content" };
27165
+ const _hoisted_2$7 = {
27166
+ key: 0,
27162
27167
  id: "modal-sidebar",
27163
27168
  class: "modal-sidebar"
27164
27169
  };
27165
- const _hoisted_2$7 = {
27170
+ const _hoisted_3$5 = {
27166
27171
  key: 0,
27167
27172
  id: "modalTitle",
27168
27173
  class: "modal-header"
27169
27174
  };
27170
- const _hoisted_3$5 = { class: "modal-footer" };
27175
+ const _hoisted_4$5 = { class: "modal-footer" };
27171
27176
  function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
27172
27177
  const _component_dh_icon = resolveComponent("dh-icon");
27173
27178
  return openBlock(), createBlock(Transition, { name: "modal-fade" }, {
@@ -27179,7 +27184,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
27179
27184
  createElementVNode("div", {
27180
27185
  "aria-describedby": "modalDescription",
27181
27186
  "aria-labelledby": "modalTitle",
27182
- class: normalizeClass(`modal ${_ctx.hasSideBar ? _ctx.sideBarPosition : ""}`),
27187
+ class: normalizeClass(`modal ${_ctx.hasSideBar ? _ctx.sideBarPosition : ""} ${_ctx.hasBodyScrolling ? "" : "modal-auto-height"}`),
27183
27188
  role: "dialog",
27184
27189
  onClick: _cache[1] || (_cache[1] = withModifiers(() => {
27185
27190
  }, ["stop"]))
@@ -27197,27 +27202,32 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
27197
27202
  size: 24
27198
27203
  })
27199
27204
  ])) : createCommentVNode("", true),
27200
- _ctx.hasSideBar ? (openBlock(), createElementBlock("aside", _hoisted_1$7, [
27201
- renderSlot(_ctx.$slots, "sidebar"),
27202
- _ctx.hasSideBarButtonBottom ? renderSlot(_ctx.$slots, "sidebar-button-bottom", { key: 0 }) : createCommentVNode("", true)
27203
- ])) : createCommentVNode("", true),
27204
- createElementVNode("section", {
27205
- class: normalizeClass(`right-section ${_ctx.hasSideBar ? "" : "full"}`)
27206
- }, [
27207
- _ctx.hasHeader ? (openBlock(), createElementBlock("header", _hoisted_2$7, [
27208
- renderSlot(_ctx.$slots, "header")
27205
+ createElementVNode("div", _hoisted_1$7, [
27206
+ _ctx.hasSideBar ? (openBlock(), createElementBlock("aside", _hoisted_2$7, [
27207
+ renderSlot(_ctx.$slots, "sidebar"),
27208
+ _ctx.hasSideBarButtonBottom ? renderSlot(_ctx.$slots, "sidebar-button-bottom", { key: 0 }) : createCommentVNode("", true)
27209
27209
  ])) : createCommentVNode("", true),
27210
27210
  createElementVNode("section", {
27211
- id: "modalDescription",
27212
- class: normalizeClass(["modal-body", _ctx.bodyClass])
27211
+ class: normalizeClass(`right-section ${_ctx.hasSideBar ? "" : "full"}`)
27213
27212
  }, [
27214
- renderSlot(_ctx.$slots, "body")
27215
- ], 2),
27216
- createElementVNode("footer", _hoisted_3$5, [
27217
- _ctx.hasFooter ? renderSlot(_ctx.$slots, "footer", { key: 0 }) : createCommentVNode("", true),
27218
- _ctx.hasFooterButtonRight ? renderSlot(_ctx.$slots, "footer-button-right", { key: 1 }) : createCommentVNode("", true)
27219
- ])
27220
- ], 2)
27213
+ _ctx.hasHeader ? (openBlock(), createElementBlock("header", _hoisted_3$5, [
27214
+ renderSlot(_ctx.$slots, "header")
27215
+ ])) : createCommentVNode("", true),
27216
+ createElementVNode("section", {
27217
+ id: "modalDescription",
27218
+ class: normalizeClass(["modal-body", [
27219
+ _ctx.bodyClass,
27220
+ _ctx.hasBodyScrolling ? "" : "modal-body-no-scroll"
27221
+ ]])
27222
+ }, [
27223
+ renderSlot(_ctx.$slots, "body")
27224
+ ], 2),
27225
+ createElementVNode("footer", _hoisted_4$5, [
27226
+ _ctx.hasFooter ? renderSlot(_ctx.$slots, "footer", { key: 0 }) : createCommentVNode("", true),
27227
+ _ctx.hasFooterButtonRight ? renderSlot(_ctx.$slots, "footer-button-right", { key: 1 }) : createCommentVNode("", true)
27228
+ ])
27229
+ ], 2)
27230
+ ])
27221
27231
  ], 2)
27222
27232
  ])
27223
27233
  ]),