@ldmjs/ui 1.0.36 → 1.0.37

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.
@@ -5,7 +5,7 @@
5
5
  .ld-datepicker[data-v-b58c40a8]{display:flex;min-width:100%;max-width:100%;width:100%;font-size:var(--font-size)}.ld-datepicker.column[data-v-b58c40a8]{flex-flow:column nowrap}.ld-datepicker-validate[data-v-b58c40a8]{overflow:hidden;height:20px}.custom-time-picker[data-v-b58c40a8]{max-width:var(--date-time-width);border-radius:var(--border-radius);background-color:var(--white);font-size:inherit !important}.custom-time-picker-validate[data-v-b58c40a8]{overflow:hidden;height:20px}.date-input[data-v-b58c40a8]{padding-left:5px;width:100%;font-size:var(--font-size)}.time-input[data-v-b58c40a8]{width:100%;padding-left:5px;font-size:var(--font-size)}.time-input-btn[data-v-b58c40a8]{padding-right:5px}.dt-col[data-v-b58c40a8]{max-width:110px}.time-selector[data-v-b58c40a8]{display:flex;flex-wrap:wrap;max-width:186px;padding:3px}.time-selector>span[data-v-b58c40a8]{display:inline-block;width:100%;text-align:center;font-family:"Roboto";font-size:var(--font-size-2);font-weight:700}.time-selector .v-btn[data-v-b58c40a8]{width:30px !important;height:30px !important;max-width:30px !important;max-height:30px !important;min-width:30px !important;min-height:30px !important;margin:3px}[data-v-b58c40a8] .vc-popover-content-wrapper{position:fixed !important}[data-v-b58c40a8] .v-input--is-disabled input{color:var(--text) !important}[data-v-b58c40a8] .vc-popover-content{border-color:var(--grey-l-5)}[data-v-b58c40a8] .vc-title span{color:var(--text);font-size:var(--font-size-2);font-weight:600;font-family:"Roboto"}[data-v-b58c40a8] .vc-arrow{color:var(--grey)}[data-v-b58c40a8] .vc-weekday{color:var(--grey-l-2);font-size:var(--font-size);font-weight:600;font-family:"Roboto"}[data-v-b58c40a8] .vc-day-content{color:var(--text);font-size:var(--font-size);font-weight:400;font-family:"Roboto"}[data-v-b58c40a8] .vc-day-content.vc-disabled{color:var(--grey-l-2) !important}[data-v-b58c40a8] .vc-day-content.vc-highlight-content-solid{color:var(--white) !important;font-weight:600 !important}
6
6
  .ld-tabs[data-v-bd490ea2]{margin-left:0;display:flex;height:100%;width:100%;overflow-y:auto}.ld-tabs .header-text[data-v-bd490ea2]{font-size:var(--font-size-2)}.ld-tabs-mobile[data-v-bd490ea2]{height:100%}.ld-tabs .vertical-body[data-v-bd490ea2]{--w: 44px;display:flex;flex-flow:column nowrap;width:calc(100% - var(--w)) !important;height:100%}.v-window[data-v-bd490ea2]{background-color:var(--white);box-shadow:1px 0 var(--grey-l-5),-1px 0 0 var(--grey-l-5);overflow-y:auto;height:100%;width:100%}.vertical-window.v-window[data-v-bd490ea2]{padding:10px 12px;border-bottom:1px solid var(--grey-l-5);border-right:1px solid var(--grey-l-5);border-top:1px solid var(--grey-l-5)}.vertical-window.v-window--no-padding[data-v-bd490ea2]{padding:0 !important}[data-v-bd490ea2] .ld-tabs .v-tabs--vertical{background:var(--grey-l-6)}[data-v-bd490ea2] .ld-tabs .v-tabs--vertical .v-tab{justify-content:flex-start;border:1px solid var(--grey-l-5);border-bottom:none;border-radius:0 !important;text-transform:none !important;width:100%;min-width:auto !important}[data-v-bd490ea2] .ld-tabs .v-tabs--vertical .v-tab--selected{background-color:var(--white);border-right-color:rgba(0,0,0,0)}[data-v-bd490ea2] .ld-tabs .v-tabs--vertical .v-tab:last-child{border-bottom:1px solid var(--grey-l-5) !important}[data-v-bd490ea2] .ld-tabs .v-tabs--vertical .v-slide-group__content{flex-flow:column nowrap;height:100% !important;width:100% !important}[data-v-bd490ea2] .ld-tabs .v-tabs--vertical .v-slide-group__content .v-btn__content{text-overflow:ellipsis;display:inline-flex;justify-content:flex-start;gap:4px;white-space:nowrap;overflow:hidden}[data-v-bd490ea2] .ld-tabs .v-tabs--horizontal .v-tab--selected{border-bottom:1px solid var(--primary)}[data-v-bd490ea2] .ld-tabs .v-tabs .v-tab--selected .v-btn__content{font-weight:bold;color:var(--primary) !important}[data-v-bd490ea2] .ld-tabs .v-tab{height:var(--ld-tab-height) !important;display:flex !important;text-transform:uppercase !important;padding:0 12px !important;font-size:var(--font-size);color:var(--text) !important;letter-spacing:0 !important}[data-v-bd490ea2] .v-window.mobile .tg-field .v-row .v-col{flex:1 0 0 !important}[data-v-bd490ea2] .v-window.mobile .tg-field .text-viewer-wrapper .v-col{flex:1 0 0 !important}[data-v-bd490ea2] .v-slide-group--vertical{border-color:var(--grey-l-5);border:1px}[data-v-bd490ea2] .v-slide-group--vertical .v-tab__slider{width:0px}[data-v-bd490ea2] .v-slide-group__prev{display:none}[data-v-bd490ea2] .v-slide-group__next{display:none}[data-v-bd490ea2] .v-tabs-bar{flex:none;height:fit-content;height:-moz-max-content;max-height:fit-content;max-height:-moz-max-content;z-index:1}[data-v-bd490ea2] .v-window-item{height:100%}[data-v-bd490ea2] .ld-tabs-mobile.hide-tabs .v-tab{display:none !important}[data-v-bd490ea2] .ld-tabs-mobile.hide-body .v-slide-group{width:100% !important}[data-v-bd490ea2] .ld-tabs-mobile.hide-body .v-window{display:none !important}[data-v-bd490ea2] .v-tabs-mobile .v-slide-group__content .v-btn__content{display:block !important}
7
7
  .v-toolbar[data-v-79e04ede]{position:relative;background-color:var(--white);box-shadow:var(--shadow-1);z-index:1}.toolbar-wrapper[data-v-79e04ede]{display:grid;width:100%;height:100%;padding:0 12px}.toolbar-wrapper[data-v-79e04ede]:not(.--preview){grid-template-columns:100%;grid-template-rows:var(--input-height);row-gap:4px}.toolbar-wrapper.--preview[data-v-79e04ede]{grid-template-columns:1fr}.toolbar-inner[data-v-79e04ede]{display:grid;grid-template-rows:100%;grid-template-columns:1fr max-content;column-gap:8px}.toolbar-caption[data-v-79e04ede]{--left: calc(var(--input-height) + 8px);display:flex;align-items:center;position:absolute;height:100%;width:calc(100% - var(--left));top:0;left:var(--left)}
8
- .ld-select-list-box[data-v-0b117ea1]{display:flex;min-width:100%;max-width:100%;width:100%}.ld-select-list-box .select-list-box-validate[data-v-0b117ea1]{overflow:hidden;height:20px}.ld-select-list-box .select-list-box-loading[data-v-0b117ea1]{position:absolute;left:0;bottom:0;width:calc(100% - var(--input-height));height:3px;overflow:hidden;background-color:var(--grey-l-5)}.ld-select-list-box .select-list-box-loading[data-v-0b117ea1]:before{content:"";display:block;position:absolute;top:0;left:0;width:25%;height:100%;background-color:var(--primary);animation:loading-0b117ea1 1.4s linear;animation-iteration-count:infinite}@keyframes loading-0b117ea1{from{transform:translateX(-300%)}to{transform:translateX(500%)}}
8
+ .ld-select-list-box[data-v-2977fc13]{display:flex;min-width:100%;max-width:100%;width:100%}.ld-select-list-box .select-list-box-validate[data-v-2977fc13]{overflow:hidden;height:20px}.ld-select-list-box .select-list-box-loading[data-v-2977fc13]{position:absolute;left:0;bottom:0;width:calc(100% - var(--input-height));height:3px;overflow:hidden;background-color:var(--grey-l-5)}.ld-select-list-box .select-list-box-loading[data-v-2977fc13]:before{content:"";display:block;position:absolute;top:0;left:0;width:25%;height:100%;background-color:var(--primary);animation:loading-2977fc13 1.4s linear;animation-iteration-count:infinite}@keyframes loading-2977fc13{from{transform:translateX(-300%)}to{transform:translateX(500%)}}
9
9
  .ld-checkbox{display:flex;align-items:center;position:relative;height:var(--input-height);font-size:var(--font-size);cursor:pointer}.ld-checkbox input[type=checkbox]{position:absolute;top:0;left:0;width:100%;height:100%;opacity:0}.ld-checkbox input[type=checkbox]+.v-icon{display:flex;align-items:center;width:14px !important;height:15px !important;font-size:11px !important;background-color:var(--white);color:rgba(0,0,0,0);border:1px solid var(--grey-l-5)}.ld-checkbox input[type=checkbox]:focus+.v-icon{background-color:var(--grey-l-6)}.ld-checkbox input[type=checkbox]:checked+.v-icon{background-color:var(--primary-l-2);color:var(--white);font-size:10px;font-weight:bold}.ld-checkbox input[type=checkbox]:checked:focus+.v-icon{background-color:var(--primary-l-3)}.ld-checkbox input[type=checkbox]:disabled+.v-icon{background-color:var(--grey-l-3)}.checkbox-label{word-wrap:break-word;max-width:100%}.checkbox-label--disabled{color:var(--grey-l-3) !important}
10
10
  .ld-radiobutton[data-v-2d8a7abd]{display:flex;align-items:center;font-size:var(--font-size)}
11
11
  .ld-ragiogroup .validate[data-v-bd740210]{overflow:hidden;height:20px}.ld-ragiogroup--row[data-v-bd740210] .ld-radiobutton:not(:first-child){margin-left:8px}
package/dist/index.js CHANGED
@@ -8622,31 +8622,31 @@ function ld_page_toolbar_reg(vue, options) {
8622
8622
  }
8623
8623
  /* harmony default export */ const src_ld_page_toolbar = (ld_page_toolbar_reg);
8624
8624
 
8625
- ;// CONCATENATED MODULE: ./node_modules/ts-loader/index.js??clonedRuleSet-1.use!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use!./src/ld-select-list-box/ld-select-list-box.vue?vue&type=template&id=0b117ea1&scoped=true&ts=true
8625
+ ;// CONCATENATED MODULE: ./node_modules/ts-loader/index.js??clonedRuleSet-1.use!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use!./src/ld-select-list-box/ld-select-list-box.vue?vue&type=template&id=2977fc13&scoped=true&ts=true
8626
8626
 
8627
- const ld_select_list_boxvue_type_template_id_0b117ea1_scoped_true_ts_true_withScopeId = n => (_pushScopeId("data-v-0b117ea1"), n = n(), _popScopeId(), n);
8628
- const ld_select_list_boxvue_type_template_id_0b117ea1_scoped_true_ts_true_hoisted_1 = {
8627
+ const ld_select_list_boxvue_type_template_id_2977fc13_scoped_true_ts_true_withScopeId = n => (_pushScopeId("data-v-2977fc13"), n = n(), _popScopeId(), n);
8628
+ const ld_select_list_boxvue_type_template_id_2977fc13_scoped_true_ts_true_hoisted_1 = {
8629
8629
  key: 0,
8630
8630
  class: "w-full overflow-hidden",
8631
8631
  style: { "border-radius": "var(--border-radius)" }
8632
8632
  };
8633
- const ld_select_list_boxvue_type_template_id_0b117ea1_scoped_true_ts_true_hoisted_2 = { class: "w-full d-flex position-relative" };
8634
- const ld_select_list_boxvue_type_template_id_0b117ea1_scoped_true_ts_true_hoisted_3 = { class: "text-crop" };
8635
- const ld_select_list_boxvue_type_template_id_0b117ea1_scoped_true_ts_true_hoisted_4 = {
8633
+ const ld_select_list_boxvue_type_template_id_2977fc13_scoped_true_ts_true_hoisted_2 = { class: "w-full d-flex position-relative" };
8634
+ const ld_select_list_boxvue_type_template_id_2977fc13_scoped_true_ts_true_hoisted_3 = { class: "text-crop" };
8635
+ const ld_select_list_boxvue_type_template_id_2977fc13_scoped_true_ts_true_hoisted_4 = {
8636
8636
  key: 0,
8637
8637
  class: "d-flex align-center"
8638
8638
  };
8639
- const ld_select_list_boxvue_type_template_id_0b117ea1_scoped_true_ts_true_hoisted_5 = { class: "d-flex flex-column justify-center" };
8640
- const ld_select_list_boxvue_type_template_id_0b117ea1_scoped_true_ts_true_hoisted_6 = {
8639
+ const ld_select_list_boxvue_type_template_id_2977fc13_scoped_true_ts_true_hoisted_5 = { class: "d-flex flex-column justify-center" };
8640
+ const ld_select_list_boxvue_type_template_id_2977fc13_scoped_true_ts_true_hoisted_6 = {
8641
8641
  key: 0,
8642
8642
  class: "grey--text",
8643
8643
  style: { "font-size": "var(--font-size--1)" }
8644
8644
  };
8645
- const ld_select_list_boxvue_type_template_id_0b117ea1_scoped_true_ts_true_hoisted_7 = {
8645
+ const ld_select_list_boxvue_type_template_id_2977fc13_scoped_true_ts_true_hoisted_7 = {
8646
8646
  key: 1,
8647
8647
  class: "select-list-box-loading"
8648
8648
  };
8649
- const ld_select_list_boxvue_type_template_id_0b117ea1_scoped_true_ts_true_hoisted_8 = {
8649
+ const ld_select_list_boxvue_type_template_id_2977fc13_scoped_true_ts_true_hoisted_8 = {
8650
8650
  key: 1,
8651
8651
  class: "w-full",
8652
8652
  style: { "min-height": "var(--input-height)" }
@@ -8655,7 +8655,7 @@ const _hoisted_9 = {
8655
8655
  key: 2,
8656
8656
  class: "select-list-box-validate"
8657
8657
  };
8658
- function ld_select_list_boxvue_type_template_id_0b117ea1_scoped_true_ts_true_render(_ctx, _cache, $props, $setup, $data, $options) {
8658
+ function ld_select_list_boxvue_type_template_id_2977fc13_scoped_true_ts_true_render(_ctx, _cache, $props, $setup, $data, $options) {
8659
8659
  const _component_ld_label = (0,external_vue_.resolveComponent)("ld-label");
8660
8660
  const _component_small_chip = (0,external_vue_.resolveComponent)("small-chip");
8661
8661
  const _component_v_col = (0,external_vue_.resolveComponent)("v-col");
@@ -8682,8 +8682,8 @@ function ld_select_list_boxvue_type_template_id_0b117ea1_scoped_true_ts_true_ren
8682
8682
  }, {
8683
8683
  default: (0,external_vue_.withCtx)(() => [
8684
8684
  (_ctx.multiselect || _ctx.selectedToArray.length === 0)
8685
- ? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", ld_select_list_boxvue_type_template_id_0b117ea1_scoped_true_ts_true_hoisted_1, [
8686
- (0,external_vue_.createElementVNode)("div", ld_select_list_boxvue_type_template_id_0b117ea1_scoped_true_ts_true_hoisted_2, [
8685
+ ? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", ld_select_list_boxvue_type_template_id_2977fc13_scoped_true_ts_true_hoisted_1, [
8686
+ (0,external_vue_.createElementVNode)("div", ld_select_list_boxvue_type_template_id_2977fc13_scoped_true_ts_true_hoisted_2, [
8687
8687
  (0,external_vue_.createVNode)(_component_multiselect, {
8688
8688
  ref: "multiselect",
8689
8689
  modelValue: _ctx.selected,
@@ -8692,13 +8692,13 @@ function ld_select_list_boxvue_type_template_id_0b117ea1_scoped_true_ts_true_ren
8692
8692
  _ctx.onInput
8693
8693
  ],
8694
8694
  "track-by": "id",
8695
- class: "multiselect--with-right-button",
8695
+ class: (0,external_vue_.normalizeClass)({ 'multiselect--with-right-button': !_ctx.isDialogDisabled }),
8696
8696
  multiple: _ctx.multiselect,
8697
8697
  placeholder: _ctx.placeholder,
8698
8698
  "select-label": '',
8699
8699
  options: _ctx.optionsList,
8700
8700
  searchable: true,
8701
- "internal-search": _ctx.internalSearch,
8701
+ "internal-search": _ctx.isInternalSearch,
8702
8702
  "clear-on-select": true,
8703
8703
  "close-on-select": !_ctx.multiselect,
8704
8704
  "options-limit": 300,
@@ -8707,7 +8707,7 @@ function ld_select_list_boxvue_type_template_id_0b117ea1_scoped_true_ts_true_ren
8707
8707
  disabled: _ctx.readonly || _ctx.disabled,
8708
8708
  limit: _ctx.limit,
8709
8709
  tabindex: _ctx.tabIndex,
8710
- allowEmpty: _ctx.allowEmpty,
8710
+ "allow-empty": _ctx.allowEmpty,
8711
8711
  onClose: _ctx.dropdownClose,
8712
8712
  onSearchChange: _ctx.getItems
8713
8713
  }, {
@@ -8724,7 +8724,7 @@ function ld_select_list_boxvue_type_template_id_0b117ea1_scoped_true_ts_true_ren
8724
8724
  "onClick:close": ($event) => (_ctx.onRemoveItem(option))
8725
8725
  }, {
8726
8726
  default: (0,external_vue_.withCtx)(() => [
8727
- (0,external_vue_.createElementVNode)("span", ld_select_list_boxvue_type_template_id_0b117ea1_scoped_true_ts_true_hoisted_3, (0,external_vue_.toDisplayString)(_ctx.$utils.deepValueGetter(option, this.itemTitle)), 1)
8727
+ (0,external_vue_.createElementVNode)("span", ld_select_list_boxvue_type_template_id_2977fc13_scoped_true_ts_true_hoisted_3, (0,external_vue_.toDisplayString)(_ctx.$utils.deepValueGetter(option, this.itemTitle)), 1)
8728
8728
  ]),
8729
8729
  _: 2
8730
8730
  }, 1032, ["color", "closable", "onClick:close"]))
@@ -8752,7 +8752,7 @@ function ld_select_list_boxvue_type_template_id_0b117ea1_scoped_true_ts_true_ren
8752
8752
  (0,external_vue_.createVNode)(_component_v_col, { class: "d-flex align-center" }, {
8753
8753
  default: (0,external_vue_.withCtx)(() => [
8754
8754
  (_ctx.multiselect)
8755
- ? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", ld_select_list_boxvue_type_template_id_0b117ea1_scoped_true_ts_true_hoisted_4, [
8755
+ ? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", ld_select_list_boxvue_type_template_id_2977fc13_scoped_true_ts_true_hoisted_4, [
8756
8756
  ((0,external_vue_.openBlock)(), (0,external_vue_.createBlock)((0,external_vue_.resolveDynamicComponent)(_ctx.$ldmui.options.aliases['ld-checkbox']), {
8757
8757
  key: JSON.stringify(option),
8758
8758
  "model-value": _ctx.checkedItems,
@@ -8767,13 +8767,13 @@ function ld_select_list_boxvue_type_template_id_0b117ea1_scoped_true_ts_true_ren
8767
8767
  }, [
8768
8768
  (0,external_vue_.renderSlot)(_ctx.$slots, "option-icon", (0,external_vue_.normalizeProps)((0,external_vue_.guardReactiveProps)({ item: option, isSelected: _ctx.checkedItems.includes(_ctx.itemIdentity(option)) })), undefined, true),
8769
8769
  (0,external_vue_.createTextVNode)(),
8770
- (0,external_vue_.createElementVNode)("div", ld_select_list_boxvue_type_template_id_0b117ea1_scoped_true_ts_true_hoisted_5, [
8770
+ (0,external_vue_.createElementVNode)("div", ld_select_list_boxvue_type_template_id_2977fc13_scoped_true_ts_true_hoisted_5, [
8771
8771
  (0,external_vue_.renderSlot)(_ctx.$slots, "option", (0,external_vue_.normalizeProps)((0,external_vue_.guardReactiveProps)({ item: option, isSelected: _ctx.checkedItems.includes(_ctx.itemIdentity(option)) })), () => [
8772
8772
  (0,external_vue_.createElementVNode)("div", null, (0,external_vue_.toDisplayString)(_ctx.$utils.deepValueGetter(option, _ctx.itemTitle)), 1)
8773
8773
  ], true),
8774
8774
  (0,external_vue_.createTextVNode)(),
8775
8775
  (_ctx.optionHint)
8776
- ? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", ld_select_list_boxvue_type_template_id_0b117ea1_scoped_true_ts_true_hoisted_6, [
8776
+ ? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", ld_select_list_boxvue_type_template_id_2977fc13_scoped_true_ts_true_hoisted_6, [
8777
8777
  (0,external_vue_.renderSlot)(_ctx.$slots, "option-hint", (0,external_vue_.normalizeProps)((0,external_vue_.guardReactiveProps)({ item: option })), () => [
8778
8778
  (0,external_vue_.createTextVNode)("\r\n no slot \"option-hint\" found\r\n ")
8779
8779
  ], true)
@@ -8792,9 +8792,9 @@ function ld_select_list_boxvue_type_template_id_0b117ea1_scoped_true_ts_true_ren
8792
8792
  (0,external_vue_.createElementVNode)("span", null, (0,external_vue_.toDisplayString)(_ctx.message), 1)
8793
8793
  ]),
8794
8794
  _: 3
8795
- }, 8, ["modelValue", "multiple", "placeholder", "options", "internal-search", "close-on-select", "disabled", "limit", "tabindex", "allowEmpty", "onClose", "onSearchChange", "onUpdate:modelValue"]),
8795
+ }, 8, ["modelValue", "class", "multiple", "placeholder", "options", "internal-search", "close-on-select", "disabled", "limit", "tabindex", "allow-empty", "onClose", "onSearchChange", "onUpdate:modelValue"]),
8796
8796
  (0,external_vue_.createTextVNode)(),
8797
- (!_ctx.disableDialog)
8797
+ (!_ctx.isDialogDisabled)
8798
8798
  ? ((0,external_vue_.openBlock)(), (0,external_vue_.createBlock)(_component_square_button, {
8799
8799
  key: 0,
8800
8800
  variant: "outlined",
@@ -8819,14 +8819,14 @@ function ld_select_list_boxvue_type_template_id_0b117ea1_scoped_true_ts_true_ren
8819
8819
  : (0,external_vue_.createCommentVNode)("", true),
8820
8820
  (0,external_vue_.createTextVNode)(),
8821
8821
  (_ctx.loading)
8822
- ? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", ld_select_list_boxvue_type_template_id_0b117ea1_scoped_true_ts_true_hoisted_7))
8822
+ ? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", ld_select_list_boxvue_type_template_id_2977fc13_scoped_true_ts_true_hoisted_7))
8823
8823
  : (0,external_vue_.createCommentVNode)("", true)
8824
8824
  ])
8825
8825
  ]))
8826
8826
  : (0,external_vue_.createCommentVNode)("", true),
8827
8827
  (0,external_vue_.createTextVNode)(),
8828
8828
  (!_ctx.multiselect && _ctx.$utils.isDefined(_ctx.singleItem))
8829
- ? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", ld_select_list_boxvue_type_template_id_0b117ea1_scoped_true_ts_true_hoisted_8, [
8829
+ ? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", ld_select_list_boxvue_type_template_id_2977fc13_scoped_true_ts_true_hoisted_8, [
8830
8830
  (0,external_vue_.renderSlot)(_ctx.$slots, "tag", (0,external_vue_.normalizeProps)((0,external_vue_.guardReactiveProps)({ item: _ctx.singleItem, onRemove: _ctx.onRemoveItem })), () => [
8831
8831
  ((0,external_vue_.openBlock)(), (0,external_vue_.createBlock)(_component_small_chip, {
8832
8832
  key: JSON.stringify(_ctx.selected),
@@ -8867,7 +8867,7 @@ function ld_select_list_boxvue_type_template_id_0b117ea1_scoped_true_ts_true_ren
8867
8867
  }));
8868
8868
  }
8869
8869
 
8870
- ;// CONCATENATED MODULE: ./src/ld-select-list-box/ld-select-list-box.vue?vue&type=template&id=0b117ea1&scoped=true&ts=true
8870
+ ;// CONCATENATED MODULE: ./src/ld-select-list-box/ld-select-list-box.vue?vue&type=template&id=2977fc13&scoped=true&ts=true
8871
8871
 
8872
8872
  // EXTERNAL MODULE: external "./lib/multiselect.js"
8873
8873
  var multiselect_js_ = __webpack_require__(5733);
@@ -11209,7 +11209,7 @@ var ld_select_list_boxvue_type_script_lang_ts_external_decorate = (undefined &&
11209
11209
  var ld_select_list_boxvue_type_script_lang_ts_external_metadata = (undefined && undefined.__metadata) || function (k, v) {
11210
11210
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
11211
11211
  };
11212
- var ld_select_list_boxvue_type_script_lang_ts_external_a;
11212
+ var ld_select_list_boxvue_type_script_lang_ts_external_a, ld_select_list_boxvue_type_script_lang_ts_external_b, ld_select_list_boxvue_type_script_lang_ts_external_c;
11213
11213
 
11214
11214
 
11215
11215
 
@@ -11298,7 +11298,7 @@ let SelectListBoxComponent = class SelectListBoxComponent extends (0,external_vu
11298
11298
  try {
11299
11299
  this.loading = true;
11300
11300
  if (this.handlers.fetchItem instanceof Function) {
11301
- const selected = await this.handlers.fetchItem(val);
11301
+ const selected = await this.fetchItem(val);
11302
11302
  this.selected = [...this.toArray(this.selected), ...selected];
11303
11303
  this.onInput();
11304
11304
  this.validate();
@@ -11308,6 +11308,11 @@ let SelectListBoxComponent = class SelectListBoxComponent extends (0,external_vu
11308
11308
  this.loading = false;
11309
11309
  }
11310
11310
  }
11311
+ async onRestrictedChanged(value) {
11312
+ if (this.isRestricted) {
11313
+ this.optionsList = await this.fetchItem(this.restricted);
11314
+ }
11315
+ }
11311
11316
  created() {
11312
11317
  this.messagesBucket = {
11313
11318
  ...this.messagesBucket,
@@ -11359,7 +11364,9 @@ let SelectListBoxComponent = class SelectListBoxComponent extends (0,external_vu
11359
11364
  dropdownClose() {
11360
11365
  this.validate();
11361
11366
  this.emitBlur(this.selectedToArray);
11362
- this.optionsList = [];
11367
+ if (!this.isRestricted) {
11368
+ this.optionsList = [];
11369
+ }
11363
11370
  }
11364
11371
  async onSelect() {
11365
11372
  if (this.handlers.select instanceof Function) {
@@ -11431,6 +11438,11 @@ let SelectListBoxComponent = class SelectListBoxComponent extends (0,external_vu
11431
11438
  this.readedItems = await this.handlers.fetchData();
11432
11439
  }
11433
11440
  }
11441
+ async fetchItem(ids) {
11442
+ if (this.handlers.fetchItem instanceof Function && ids?.length > 0) {
11443
+ return this.handlers.fetchItem(ids);
11444
+ }
11445
+ }
11434
11446
  get hasItems() {
11435
11447
  return this.readedItems.length > 0;
11436
11448
  }
@@ -11474,6 +11486,15 @@ let SelectListBoxComponent = class SelectListBoxComponent extends (0,external_vu
11474
11486
  }
11475
11487
  return result;
11476
11488
  }
11489
+ get isRestricted() {
11490
+ return this.restricted?.length > 0;
11491
+ }
11492
+ get isDialogDisabled() {
11493
+ return this.disableDialog || this.isRestricted;
11494
+ }
11495
+ get isInternalSearch() {
11496
+ return this.internalSearch || this.isRestricted;
11497
+ }
11477
11498
  emitUpdate() {
11478
11499
  this.emitUpdateValue();
11479
11500
  this.emitUpdateItems();
@@ -11576,6 +11597,10 @@ ld_select_list_boxvue_type_script_lang_ts_external_decorate([
11576
11597
  (0,external_vue_property_decorator_.Prop)({ type: Boolean, default: true }),
11577
11598
  ld_select_list_boxvue_type_script_lang_ts_external_metadata("design:type", Boolean)
11578
11599
  ], SelectListBoxComponent.prototype, "allowEmpty", void 0);
11600
+ ld_select_list_boxvue_type_script_lang_ts_external_decorate([
11601
+ (0,external_vue_property_decorator_.Prop)({ type: Array, default: () => [] }),
11602
+ ld_select_list_boxvue_type_script_lang_ts_external_metadata("design:type", typeof (ld_select_list_boxvue_type_script_lang_ts_external_b = typeof Array !== "undefined" && Array) === "function" ? ld_select_list_boxvue_type_script_lang_ts_external_b : Object)
11603
+ ], SelectListBoxComponent.prototype, "restricted", void 0);
11579
11604
  ld_select_list_boxvue_type_script_lang_ts_external_decorate([
11580
11605
  (0,external_vue_property_decorator_.Prop)({ default: () => ({}) }),
11581
11606
  ld_select_list_boxvue_type_script_lang_ts_external_metadata("design:type", Object)
@@ -11620,6 +11645,12 @@ ld_select_list_boxvue_type_script_lang_ts_external_decorate([
11620
11645
  ld_select_list_boxvue_type_script_lang_ts_external_metadata("design:paramtypes", [Object]),
11621
11646
  ld_select_list_boxvue_type_script_lang_ts_external_metadata("design:returntype", Promise)
11622
11647
  ], SelectListBoxComponent.prototype, "onValueChanged", null);
11648
+ ld_select_list_boxvue_type_script_lang_ts_external_decorate([
11649
+ (0,external_vue_property_decorator_.Watch)('restricted', { immediate: true }),
11650
+ ld_select_list_boxvue_type_script_lang_ts_external_metadata("design:type", Function),
11651
+ ld_select_list_boxvue_type_script_lang_ts_external_metadata("design:paramtypes", [typeof (ld_select_list_boxvue_type_script_lang_ts_external_c = typeof Array !== "undefined" && Array) === "function" ? ld_select_list_boxvue_type_script_lang_ts_external_c : Object]),
11652
+ ld_select_list_boxvue_type_script_lang_ts_external_metadata("design:returntype", Promise)
11653
+ ], SelectListBoxComponent.prototype, "onRestrictedChanged", null);
11623
11654
  SelectListBoxComponent = ld_select_list_boxvue_type_script_lang_ts_external_decorate([
11624
11655
  (0,external_vue_property_decorator_.Options)({
11625
11656
  components: {
@@ -11640,7 +11671,7 @@ SelectListBoxComponent = ld_select_list_boxvue_type_script_lang_ts_external_deco
11640
11671
  ;
11641
11672
 
11642
11673
 
11643
- const ld_select_list_box_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(ld_select_list_boxvue_type_script_lang_ts_external, [['render',ld_select_list_boxvue_type_template_id_0b117ea1_scoped_true_ts_true_render],['__scopeId',"data-v-0b117ea1"]])
11674
+ const ld_select_list_box_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(ld_select_list_boxvue_type_script_lang_ts_external, [['render',ld_select_list_boxvue_type_template_id_2977fc13_scoped_true_ts_true_render],['__scopeId',"data-v-2977fc13"]])
11644
11675
 
11645
11676
  /* harmony default export */ const ld_select_list_box = (ld_select_list_box_exports_);
11646
11677
  ;// CONCATENATED MODULE: ./src/ld-select-list-box/index.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ldmjs/ui",
3
- "version": "1.0.36",
3
+ "version": "1.0.37",
4
4
  "description": "ldm ui",
5
5
  "main": "dist/index.js",
6
6
  "engines": {