@ldmjs/ui 1.0.43 → 1.0.45

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.
@@ -2,17 +2,17 @@
2
2
  .ld-splitter[data-v-1efbeaf2]{height:inherit;display:flex}.ld-splitter .splitter-pane[data-v-1efbeaf2]{height:inherit;overflow-y:auto;background:var(--white)}.ld-splitter .splitter[data-v-1efbeaf2]{display:flex;background-color:var(--white) !important;border-color:var(--grey-l-5);border-style:solid}.ld-splitter .splitter--hor[data-v-1efbeaf2]{justify-content:center;width:100%;height:7px;cursor:ns-resize;border-width:1px 0}.ld-splitter .splitter--hor.splitter--disabled[data-v-1efbeaf2]{height:1px;border-top:none}.ld-splitter .splitter--ver[data-v-1efbeaf2]{align-items:center;width:7px;height:100%;cursor:ew-resize;border-width:0 1px}.ld-splitter .splitter--ver.splitter--disabled[data-v-1efbeaf2]{width:1px;border-left:none}.ld-splitter .splitter--disabled[data-v-1efbeaf2]{cursor:default}.ld-splitter .splitter--disabled svg[data-v-1efbeaf2]{display:none}.ld-splitter.splitter[data-v-1efbeaf2]{width:100%;border-left:none;border-right:none}
3
3
  .label[data-v-12071c41]{word-wrap:break-word;max-width:100%;padding-bottom:2px;color:var(--label) !important;font-size:var(--font-size)}.label-wrapper[data-v-12071c41]{display:flex;align-items:center;min-height:var(--input-height)}.require[data-v-12071c41]::after{content:"*";display:inline-block;color:var(--error)}
4
4
  .ld-edit-text[data-v-e4dd6820]{min-width:100%}.input-class[data-v-e4dd6820]{height:var(--input-height);font-size:var(--font-size);max-width:100%;border-radius:var(--border-radius);border:1px solid var(--grey-l-5);padding:0 6px}.input-class[data-v-e4dd6820]:not(.disabled){background-color:var(--white)}.input-class[data-v-e4dd6820]:focus{border:1px solid var(--grey-l-4);outline:none}.input-class__suffix[data-v-e4dd6820]{position:absolute;top:3px;right:6px;color:var(--label)}
5
- .ld-datepicker[data-v-e576578c]{display:flex;min-width:100%;max-width:100%;width:100%;font-size:var(--font-size)}.ld-datepicker.column[data-v-e576578c]{flex-flow:column nowrap}.ld-datepicker-validate[data-v-e576578c]{overflow:hidden;height:20px}.custom-time-picker[data-v-e576578c]{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-e576578c]{overflow:hidden;height:20px}.date-input[data-v-e576578c]{padding-left:5px;width:100%;font-size:var(--font-size)}.time-input[data-v-e576578c]{width:100%;padding-left:5px;font-size:var(--font-size)}.time-input-btn[data-v-e576578c]{padding-right:5px}.dt-col[data-v-e576578c]{max-width:110px}.time-selector[data-v-e576578c]{display:flex;flex-wrap:wrap;max-width:186px;padding:3px}.time-selector>span[data-v-e576578c]{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-e576578c]{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-e576578c] .v-input--is-disabled input{color:var(--text) !important}[data-v-e576578c] .vc-popover-content{border-color:var(--grey-l-5)}[data-v-e576578c] .vc-title span{color:var(--text);font-size:var(--font-size-2);font-weight:600;font-family:"Roboto"}[data-v-e576578c] .vc-arrow{color:var(--grey)}[data-v-e576578c] .vc-weekday{color:var(--grey-l-2);font-size:var(--font-size);font-weight:600;font-family:"Roboto"}[data-v-e576578c] .vc-day-content{color:var(--text);font-size:var(--font-size);font-weight:400;font-family:"Roboto"}[data-v-e576578c] .vc-day-content.vc-disabled{color:var(--grey-l-2) !important}[data-v-e576578c] .vc-day-content.vc-highlight-content-solid{color:var(--white) !important;font-weight:600 !important}
5
+ .ld-datepicker[data-v-136d8d38]{display:flex;min-width:100%;max-width:100%;width:100%;font-size:var(--font-size)}.ld-datepicker.column[data-v-136d8d38]{flex-flow:column nowrap}.ld-datepicker-validate[data-v-136d8d38]{overflow:hidden;height:20px}.custom-time-picker[data-v-136d8d38]{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-136d8d38]{overflow:hidden;height:20px}.date-input[data-v-136d8d38]{padding-left:5px;width:100%;font-size:var(--font-size)}.time-input[data-v-136d8d38]{width:100%;padding-left:5px;font-size:var(--font-size)}.time-input-btn[data-v-136d8d38]{padding-right:5px}.dt-col[data-v-136d8d38]{max-width:110px}.time-selector[data-v-136d8d38]{display:flex;flex-wrap:wrap;max-width:186px;padding:3px}.time-selector>span[data-v-136d8d38]{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-136d8d38]{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-136d8d38] .v-input--is-disabled input{color:var(--text) !important}[data-v-136d8d38] .vc-popover-content{border-color:var(--grey-l-5)}[data-v-136d8d38] .vc-title span{color:var(--text);font-size:var(--font-size-2);font-weight:600;font-family:"Roboto"}[data-v-136d8d38] .vc-arrow{color:var(--grey)}[data-v-136d8d38] .vc-weekday{color:var(--grey-l-2);font-size:var(--font-size);font-weight:600;font-family:"Roboto"}[data-v-136d8d38] .vc-day-content{color:var(--text);font-size:var(--font-size);font-weight:400;font-family:"Roboto"}[data-v-136d8d38] .vc-day-content.vc-disabled{color:var(--grey-l-2) !important}[data-v-136d8d38] .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-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%)}}
8
+ .ld-select-list-box[data-v-195dd2c7]{display:flex;min-width:100%;max-width:100%;width:100%}.ld-select-list-box .select-list-box-validate[data-v-195dd2c7]{overflow:hidden;height:20px}.ld-select-list-box .select-list-box-loading[data-v-195dd2c7]{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-195dd2c7]:before{content:"";display:block;position:absolute;top:0;left:0;width:25%;height:100%;background-color:var(--primary);animation:loading-195dd2c7 1.4s linear;animation-iteration-count:infinite}@keyframes loading-195dd2c7{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);border:1px solid var(--primary);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]:checked: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}
12
12
  .ld-textarea[data-v-5e5438c4]{display:flex;min-width:100%;max-width:100%;width:100%}[data-v-5e5438c4] .none-resizable textarea{resize:none}
13
13
  .ld-select[data-v-5d9c6c2a]{position:relative;min-width:100%}.ld-select[data-v-5d9c6c2a] .v-field__append-inner{display:none}.ld-select[data-v-5d9c6c2a] .v-select{position:relative}.ld-select[data-v-5d9c6c2a] .v-select:before{display:block;position:absolute;right:20px;top:calc(var(--input-height)/2);margin-top:-2px;color:var(--grey);border-style:solid;border-width:5px 5px 0;border-color:var(--grey) rgba(0,0,0,0) rgba(0,0,0,0);transition:transform .2s ease;content:"";z-index:1}.ld-select[data-v-5d9c6c2a] .v-select--active-menu:before{transform:rotate(180deg)}input[type=checkbox]+.v-icon[data-v-5d9c6c2a]{display:block;width:12px !important;height:12px !important;font-size:10px !important;background-color:var(--white);color:rgba(0,0,0,0);border:1px solid var(--grey-l-5)}input[type=checkbox]:checked+.v-icon[data-v-5d9c6c2a]{background-color:var(--primary-l-2);color:var(--white);font-size:10px;font-weight:bold}.v-list-item--density-compact.v-list-item--one-line[data-v-5d9c6c2a]{min-height:var(--input-height)}.v-list-item--density-compact.v-list-item--one-line[data-v-5d9c6c2a] .v-list-item__content{display:flex;flex-wrap:nowrap}.v-list-item--density-compact.v-list-item--one-line[data-v-5d9c6c2a] .v-list-item__content .v-list-item-title{font-size:var(--font-size)}
14
- .ld-combobox[data-v-31853b17]{display:flex;min-width:100%;max-width:100%;width:100%}.ld-combobox .combobox-validate[data-v-31853b17]{overflow:hidden;height:20px}.ld-combobox .combobox-loading[data-v-31853b17]{position:absolute;left:0;bottom:0;width:calc(100% - var(--input-height));height:3px;overflow:hidden;background-color:var(--grey-l-5)}.ld-combobox .combobox-loading[data-v-31853b17]:before{content:"";display:block;position:absolute;top:0;left:0;width:25%;height:100%;background-color:var(--primary);animation:loading-31853b17 1.4s linear;animation-iteration-count:infinite}@keyframes loading-31853b17{from{transform:translateX(-300%)}to{transform:translateX(500%)}}
15
- .time-selector[data-v-22954066]{display:flex;flex-wrap:wrap;max-width:186px;padding:3px}.time-selector>span[data-v-22954066]{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-22954066]{width:30px !important;height:30px !important;max-width:30px !important;max-height:30px !important;min-width:30px !important;min-height:30px !important;margin:3px}.ld-timepicker-validate[data-v-22954066]{overflow:hidden;height:20px}
14
+ .ld-combobox[data-v-5e97d7e3]{display:flex;min-width:100%;max-width:100%;width:100%}.ld-combobox .combobox-validate[data-v-5e97d7e3]{overflow:hidden;height:20px}.ld-combobox .combobox-loading[data-v-5e97d7e3]{position:absolute;left:0;bottom:0;width:calc(100% - var(--input-height));height:3px;overflow:hidden;background-color:var(--grey-l-5)}.ld-combobox .combobox-loading[data-v-5e97d7e3]:before{content:"";display:block;position:absolute;top:0;left:0;width:25%;height:100%;background-color:var(--primary);animation:loading-5e97d7e3 1.4s linear;animation-iteration-count:infinite}@keyframes loading-5e97d7e3{from{transform:translateX(-300%)}to{transform:translateX(500%)}}
15
+ .time-selector[data-v-64220520]{display:flex;flex-wrap:wrap;max-width:186px;padding:3px}.time-selector>span[data-v-64220520]{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-64220520]{width:30px !important;height:30px !important;max-width:30px !important;max-height:30px !important;min-width:30px !important;min-height:30px !important;margin:3px}.ld-timepicker-validate[data-v-64220520]{overflow:hidden;height:20px}
16
16
  .ld-text-viewer[data-v-26123e5c]{min-width:100%;display:flex;flex-direction:column;white-space:break-spaces;font-size:var(--font-size)}.ld-text-viewer .column[data-v-26123e5c]{flex-flow:column}
17
17
  .ld-edit-masked-text[data-v-33aa4ec6]{min-width:100%;font-size:inherit !important;display:flex}.ld-edit-masked-text .column[data-v-33aa4ec6]{flex-flow:column}input[data-v-33aa4ec6]{border:1px solid var(--grey-l-5);border-radius:var(--border-radius);width:100%;padding:0 8px;font-size:var(--font-size);height:var(--input-height)}input[data-v-33aa4ec6]:focus,input[data-v-33aa4ec6]:active{outline:none;border:1px solid var(--grey-l-4)}.ld-edit-masked-text-validate[data-v-33aa4ec6]{overflow:hidden;height:20px}
18
18
  .ld-text-markup[data-v-12e81c9c]{display:flex;flex-direction:column;min-width:100%;max-width:100%;width:100%;min-height:180px;padding-bottom:18px}.ld-text-markup-validate[data-v-12e81c9c]{overflow:hidden;height:20px;flex-grow:0}.content-wrapper[data-v-12e81c9c]{display:flex;flex-direction:column;position:relative;background-color:var(--grey-l-6);border-radius:4px}.tabs-wrapper[data-v-12e81c9c]{position:relative;display:flex;width:50%;max-width:155px;margin-bottom:-1px;z-index:1;flex-shrink:0}.tabs-wrapper .v-btn[data-v-12e81c9c]{border:1px solid var(--grey-l-5);height:30px !important;opacity:.6;border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.tabs-wrapper .v-btn[data-v-12e81c9c]:before,.tabs-wrapper .v-btn[data-v-12e81c9c]:after{display:none}.tabs-wrapper .v-btn.active[data-v-12e81c9c]{background-color:var(--white);border:1px solid var(--grey-l-4);border-bottom:none;opacity:1}.content[data-v-12e81c9c]{position:relative;z-index:0;flex-basis:100%;font-size:var(--font-size);color:var(--text)}.content .md-editor[data-v-12e81c9c]{height:100%}.contentbox[data-v-12e81c9c]{border:1px solid var(--grey-l-4);background-color:var(--white);border-radius:0 4px 4px 4px;padding:10px}[data-v-12e81c9c] .contentbox ul{padding:0 12px;list-style:disc;margin-bottom:8px}[data-v-12e81c9c] .contentbox ol{list-style:decimal;padding:0 12px;margin-bottom:8px}[data-v-12e81c9c] .contentbox p{margin-bottom:8px}[data-v-12e81c9c] .contentbox pre{padding:4px}[data-v-12e81c9c] .contentbox code{background:none;color:var(--text);padding:0;font-size:100%}[data-v-12e81c9c] .md-editor{border:1px solid var(--grey-l-4)}
package/dist/index.js CHANGED
@@ -3055,20 +3055,20 @@ function ld_edit_text_reg(vue, options) {
3055
3055
  }
3056
3056
  /* harmony default export */ const src_ld_edit_text = (ld_edit_text_reg);
3057
3057
 
3058
- ;// CONCATENATED MODULE: ./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use!./src/ld-datepicker/ld-datepicker.vue?vue&type=template&id=e576578c&scoped=true
3058
+ ;// CONCATENATED MODULE: ./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use!./src/ld-datepicker/ld-datepicker.vue?vue&type=template&id=136d8d38&scoped=true
3059
3059
 
3060
3060
 
3061
- const ld_datepickervue_type_template_id_e576578c_scoped_true_withScopeId = n => (_pushScopeId("data-v-e576578c"),n=n(),_popScopeId(),n)
3062
- const ld_datepickervue_type_template_id_e576578c_scoped_true_hoisted_1 = { class: "time-selector" }
3063
- const ld_datepickervue_type_template_id_e576578c_scoped_true_hoisted_2 = { key: 0 }
3064
- const ld_datepickervue_type_template_id_e576578c_scoped_true_hoisted_3 = { key: 1 }
3065
- const ld_datepickervue_type_template_id_e576578c_scoped_true_hoisted_4 = {
3061
+ const ld_datepickervue_type_template_id_136d8d38_scoped_true_withScopeId = n => (_pushScopeId("data-v-136d8d38"),n=n(),_popScopeId(),n)
3062
+ const ld_datepickervue_type_template_id_136d8d38_scoped_true_hoisted_1 = { class: "time-selector" }
3063
+ const ld_datepickervue_type_template_id_136d8d38_scoped_true_hoisted_2 = { key: 0 }
3064
+ const ld_datepickervue_type_template_id_136d8d38_scoped_true_hoisted_3 = { key: 1 }
3065
+ const ld_datepickervue_type_template_id_136d8d38_scoped_true_hoisted_4 = {
3066
3066
  key: 1,
3067
3067
  class: "w-100",
3068
3068
  style: {"position":"relative"}
3069
3069
  }
3070
3070
 
3071
- function ld_datepickervue_type_template_id_e576578c_scoped_true_render(_ctx, _cache, $props, $setup, $data, $options) {
3071
+ function ld_datepickervue_type_template_id_136d8d38_scoped_true_render(_ctx, _cache, $props, $setup, $data, $options) {
3072
3072
  const _component_ld_label = (0,external_vue_.resolveComponent)("ld-label")
3073
3073
  const _component_ld_icon = (0,external_vue_.resolveComponent)("ld-icon")
3074
3074
  const _component_square_button = (0,external_vue_.resolveComponent)("square-button")
@@ -3234,11 +3234,11 @@ function ld_datepickervue_type_template_id_e576578c_scoped_true_render(_ctx, _ca
3234
3234
  class: "w-100",
3235
3235
  tabindex: _ctx.timeTabIndex,
3236
3236
  disabled: _ctx.isDateEmpty,
3237
- placeholder: "ЧЧ:ММ",
3237
+ placeholder: _ctx.placeholderTimepicker,
3238
3238
  "hide-details": "",
3239
3239
  readonly: _ctx.isMobileGlobal,
3240
3240
  onFocus: _ctx.onInputTimeFocus
3241
- }, null, 40, ["id", "model-value", "style", "tabindex", "disabled", "readonly", "onFocus"])),
3241
+ }, null, 40, ["id", "model-value", "style", "tabindex", "disabled", "placeholder", "readonly", "onFocus"])),
3242
3242
  (0,external_vue_.createTextVNode)(),
3243
3243
  (_ctx.canClear && !_ctx.disabled && !_ctx.readonly)
3244
3244
  ? ((0,external_vue_.openBlock)(), (0,external_vue_.createBlock)(_component_square_button, {
@@ -3287,13 +3287,13 @@ function ld_datepickervue_type_template_id_e576578c_scoped_true_render(_ctx, _ca
3287
3287
  style: {"border":"1px solid var(--grey-l-5)"}
3288
3288
  }, {
3289
3289
  default: (0,external_vue_.withCtx)(() => [
3290
- (0,external_vue_.createElementVNode)("div", ld_datepickervue_type_template_id_e576578c_scoped_true_hoisted_1, [
3290
+ (0,external_vue_.createElementVNode)("div", ld_datepickervue_type_template_id_136d8d38_scoped_true_hoisted_1, [
3291
3291
  (_ctx.isHours)
3292
- ? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("span", ld_datepickervue_type_template_id_e576578c_scoped_true_hoisted_2, "Часы"))
3292
+ ? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("span", ld_datepickervue_type_template_id_136d8d38_scoped_true_hoisted_2, "Часы"))
3293
3293
  : (0,external_vue_.createCommentVNode)("", true),
3294
3294
  (0,external_vue_.createTextVNode)(),
3295
3295
  (_ctx.isMinutes)
3296
- ? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("span", ld_datepickervue_type_template_id_e576578c_scoped_true_hoisted_3, "Минуты"))
3296
+ ? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("span", ld_datepickervue_type_template_id_136d8d38_scoped_true_hoisted_3, "Минуты"))
3297
3297
  : (0,external_vue_.createCommentVNode)("", true),
3298
3298
  (0,external_vue_.createTextVNode)(),
3299
3299
  (0,external_vue_.createElementVNode)("div", null, [
@@ -3340,7 +3340,7 @@ function ld_datepickervue_type_template_id_e576578c_scoped_true_render(_ctx, _ca
3340
3340
  ]),
3341
3341
  _: 1
3342
3342
  }, 8, ["modelValue", "disabled"]))
3343
- : ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", ld_datepickervue_type_template_id_e576578c_scoped_true_hoisted_4, [
3343
+ : ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", ld_datepickervue_type_template_id_136d8d38_scoped_true_hoisted_4, [
3344
3344
  ((0,external_vue_.openBlock)(), (0,external_vue_.createBlock)((0,external_vue_.resolveDynamicComponent)(_ctx.$ldmui.options.aliases['ld-edit-text']), {
3345
3345
  modelValue: _ctx.timeString,
3346
3346
  "onUpdate:modelValue": _cache[4] || (_cache[4] = $event => ((_ctx.timeString) = $event)),
@@ -3409,7 +3409,7 @@ function ld_datepickervue_type_template_id_e576578c_scoped_true_render(_ctx, _ca
3409
3409
  _: 1
3410
3410
  }))
3411
3411
  }
3412
- ;// CONCATENATED MODULE: ./src/ld-datepicker/ld-datepicker.vue?vue&type=template&id=e576578c&scoped=true
3412
+ ;// CONCATENATED MODULE: ./src/ld-datepicker/ld-datepicker.vue?vue&type=template&id=136d8d38&scoped=true
3413
3413
 
3414
3414
  ;// CONCATENATED MODULE: ./node_modules/imask/esm/core/utils.js
3415
3415
  /** Checks if value is string */
@@ -7965,6 +7965,10 @@ ld_datepickervue_type_script_lang_js_external_decorate([
7965
7965
  (0,external_vue_property_decorator_.Prop)({ type: String, default: 'ДД.ММ.ГГГГ' }),
7966
7966
  ld_datepickervue_type_script_lang_js_external_metadata("design:type", String)
7967
7967
  ], DatepickerComponent.prototype, "placeholder", void 0);
7968
+ ld_datepickervue_type_script_lang_js_external_decorate([
7969
+ (0,external_vue_property_decorator_.Prop)({ type: String, default: 'ЧЧ.ММ' }),
7970
+ ld_datepickervue_type_script_lang_js_external_metadata("design:type", String)
7971
+ ], DatepickerComponent.prototype, "placeholderTimepicker", void 0);
7968
7972
  ld_datepickervue_type_script_lang_js_external_decorate([
7969
7973
  (0,external_vue_property_decorator_.Prop)(),
7970
7974
  ld_datepickervue_type_script_lang_js_external_metadata("design:type", typeof (ld_datepickervue_type_script_lang_js_external_b = typeof Date !== "undefined" && Date) === "function" ? ld_datepickervue_type_script_lang_js_external_b : Object)
@@ -8065,7 +8069,7 @@ DatepickerComponent = ld_datepickervue_type_script_lang_js_external_decorate([
8065
8069
  ;
8066
8070
 
8067
8071
 
8068
- const ld_datepicker_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(ld_datepickervue_type_script_lang_js_external, [['render',ld_datepickervue_type_template_id_e576578c_scoped_true_render],['__scopeId',"data-v-e576578c"]])
8072
+ const ld_datepicker_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(ld_datepickervue_type_script_lang_js_external, [['render',ld_datepickervue_type_template_id_136d8d38_scoped_true_render],['__scopeId',"data-v-136d8d38"]])
8069
8073
 
8070
8074
  /* harmony default export */ const ld_datepicker = (ld_datepicker_exports_);
8071
8075
  ;// CONCATENATED MODULE: ./src/ld-datepicker/index.ts
@@ -8627,31 +8631,31 @@ function ld_page_toolbar_reg(vue, options) {
8627
8631
  }
8628
8632
  /* harmony default export */ const src_ld_page_toolbar = (ld_page_toolbar_reg);
8629
8633
 
8630
- ;// 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
8634
+ ;// 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=195dd2c7&scoped=true&ts=true
8631
8635
 
8632
- const ld_select_list_boxvue_type_template_id_2977fc13_scoped_true_ts_true_withScopeId = n => (_pushScopeId("data-v-2977fc13"), n = n(), _popScopeId(), n);
8633
- const ld_select_list_boxvue_type_template_id_2977fc13_scoped_true_ts_true_hoisted_1 = {
8636
+ const ld_select_list_boxvue_type_template_id_195dd2c7_scoped_true_ts_true_withScopeId = n => (_pushScopeId("data-v-195dd2c7"), n = n(), _popScopeId(), n);
8637
+ const ld_select_list_boxvue_type_template_id_195dd2c7_scoped_true_ts_true_hoisted_1 = {
8634
8638
  key: 0,
8635
8639
  class: "w-full overflow-hidden",
8636
8640
  style: { "border-radius": "var(--border-radius)" }
8637
8641
  };
8638
- const ld_select_list_boxvue_type_template_id_2977fc13_scoped_true_ts_true_hoisted_2 = { class: "w-full d-flex position-relative" };
8639
- const ld_select_list_boxvue_type_template_id_2977fc13_scoped_true_ts_true_hoisted_3 = { class: "text-crop" };
8640
- const ld_select_list_boxvue_type_template_id_2977fc13_scoped_true_ts_true_hoisted_4 = {
8642
+ const ld_select_list_boxvue_type_template_id_195dd2c7_scoped_true_ts_true_hoisted_2 = { class: "w-full d-flex position-relative" };
8643
+ const ld_select_list_boxvue_type_template_id_195dd2c7_scoped_true_ts_true_hoisted_3 = { class: "text-crop" };
8644
+ const ld_select_list_boxvue_type_template_id_195dd2c7_scoped_true_ts_true_hoisted_4 = {
8641
8645
  key: 0,
8642
8646
  class: "d-flex align-center"
8643
8647
  };
8644
- const ld_select_list_boxvue_type_template_id_2977fc13_scoped_true_ts_true_hoisted_5 = { class: "d-flex flex-column justify-center" };
8645
- const ld_select_list_boxvue_type_template_id_2977fc13_scoped_true_ts_true_hoisted_6 = {
8648
+ const ld_select_list_boxvue_type_template_id_195dd2c7_scoped_true_ts_true_hoisted_5 = { class: "d-flex flex-column justify-center" };
8649
+ const ld_select_list_boxvue_type_template_id_195dd2c7_scoped_true_ts_true_hoisted_6 = {
8646
8650
  key: 0,
8647
8651
  class: "grey--text",
8648
8652
  style: { "font-size": "var(--font-size--1)" }
8649
8653
  };
8650
- const ld_select_list_boxvue_type_template_id_2977fc13_scoped_true_ts_true_hoisted_7 = {
8654
+ const ld_select_list_boxvue_type_template_id_195dd2c7_scoped_true_ts_true_hoisted_7 = {
8651
8655
  key: 1,
8652
8656
  class: "select-list-box-loading"
8653
8657
  };
8654
- const ld_select_list_boxvue_type_template_id_2977fc13_scoped_true_ts_true_hoisted_8 = {
8658
+ const ld_select_list_boxvue_type_template_id_195dd2c7_scoped_true_ts_true_hoisted_8 = {
8655
8659
  key: 1,
8656
8660
  class: "w-full",
8657
8661
  style: { "min-height": "var(--input-height)" }
@@ -8660,7 +8664,7 @@ const _hoisted_9 = {
8660
8664
  key: 2,
8661
8665
  class: "select-list-box-validate"
8662
8666
  };
8663
- function ld_select_list_boxvue_type_template_id_2977fc13_scoped_true_ts_true_render(_ctx, _cache, $props, $setup, $data, $options) {
8667
+ function ld_select_list_boxvue_type_template_id_195dd2c7_scoped_true_ts_true_render(_ctx, _cache, $props, $setup, $data, $options) {
8664
8668
  const _component_ld_label = (0,external_vue_.resolveComponent)("ld-label");
8665
8669
  const _component_small_chip = (0,external_vue_.resolveComponent)("small-chip");
8666
8670
  const _component_v_col = (0,external_vue_.resolveComponent)("v-col");
@@ -8687,8 +8691,8 @@ function ld_select_list_boxvue_type_template_id_2977fc13_scoped_true_ts_true_ren
8687
8691
  }, {
8688
8692
  default: (0,external_vue_.withCtx)(() => [
8689
8693
  (_ctx.multiselect || _ctx.selectedToArray.length === 0)
8690
- ? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", ld_select_list_boxvue_type_template_id_2977fc13_scoped_true_ts_true_hoisted_1, [
8691
- (0,external_vue_.createElementVNode)("div", ld_select_list_boxvue_type_template_id_2977fc13_scoped_true_ts_true_hoisted_2, [
8694
+ ? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", ld_select_list_boxvue_type_template_id_195dd2c7_scoped_true_ts_true_hoisted_1, [
8695
+ (0,external_vue_.createElementVNode)("div", ld_select_list_boxvue_type_template_id_195dd2c7_scoped_true_ts_true_hoisted_2, [
8692
8696
  (0,external_vue_.createVNode)(_component_multiselect, {
8693
8697
  ref: "multiselect",
8694
8698
  modelValue: _ctx.selected,
@@ -8702,7 +8706,7 @@ function ld_select_list_boxvue_type_template_id_2977fc13_scoped_true_ts_true_ren
8702
8706
  placeholder: _ctx.placeholder,
8703
8707
  "select-label": '',
8704
8708
  options: _ctx.optionsList,
8705
- searchable: true,
8709
+ searchable: _ctx.searchable,
8706
8710
  "internal-search": _ctx.isInternalSearch,
8707
8711
  "clear-on-select": true,
8708
8712
  "close-on-select": !_ctx.multiselect,
@@ -8729,7 +8733,7 @@ function ld_select_list_boxvue_type_template_id_2977fc13_scoped_true_ts_true_ren
8729
8733
  "onClick:close": ($event) => (_ctx.onRemoveItem(option))
8730
8734
  }, {
8731
8735
  default: (0,external_vue_.withCtx)(() => [
8732
- (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)
8736
+ (0,external_vue_.createElementVNode)("span", ld_select_list_boxvue_type_template_id_195dd2c7_scoped_true_ts_true_hoisted_3, (0,external_vue_.toDisplayString)(_ctx.$utils.deepValueGetter(option, this.itemTitle)), 1)
8733
8737
  ]),
8734
8738
  _: 2
8735
8739
  }, 1032, ["color", "closable", "onClick:close"]))
@@ -8757,7 +8761,7 @@ function ld_select_list_boxvue_type_template_id_2977fc13_scoped_true_ts_true_ren
8757
8761
  (0,external_vue_.createVNode)(_component_v_col, { class: "d-flex align-center" }, {
8758
8762
  default: (0,external_vue_.withCtx)(() => [
8759
8763
  (_ctx.multiselect)
8760
- ? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", ld_select_list_boxvue_type_template_id_2977fc13_scoped_true_ts_true_hoisted_4, [
8764
+ ? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", ld_select_list_boxvue_type_template_id_195dd2c7_scoped_true_ts_true_hoisted_4, [
8761
8765
  ((0,external_vue_.openBlock)(), (0,external_vue_.createBlock)((0,external_vue_.resolveDynamicComponent)(_ctx.$ldmui.options.aliases['ld-checkbox']), {
8762
8766
  key: JSON.stringify(option),
8763
8767
  "model-value": _ctx.checkedItems,
@@ -8772,13 +8776,13 @@ function ld_select_list_boxvue_type_template_id_2977fc13_scoped_true_ts_true_ren
8772
8776
  }, [
8773
8777
  (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),
8774
8778
  (0,external_vue_.createTextVNode)(),
8775
- (0,external_vue_.createElementVNode)("div", ld_select_list_boxvue_type_template_id_2977fc13_scoped_true_ts_true_hoisted_5, [
8779
+ (0,external_vue_.createElementVNode)("div", ld_select_list_boxvue_type_template_id_195dd2c7_scoped_true_ts_true_hoisted_5, [
8776
8780
  (0,external_vue_.renderSlot)(_ctx.$slots, "option", (0,external_vue_.normalizeProps)((0,external_vue_.guardReactiveProps)({ item: option, isSelected: _ctx.checkedItems.includes(_ctx.itemIdentity(option)) })), () => [
8777
8781
  (0,external_vue_.createElementVNode)("div", null, (0,external_vue_.toDisplayString)(_ctx.$utils.deepValueGetter(option, _ctx.itemTitle)), 1)
8778
8782
  ], true),
8779
8783
  (0,external_vue_.createTextVNode)(),
8780
8784
  (_ctx.optionHint)
8781
- ? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", ld_select_list_boxvue_type_template_id_2977fc13_scoped_true_ts_true_hoisted_6, [
8785
+ ? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", ld_select_list_boxvue_type_template_id_195dd2c7_scoped_true_ts_true_hoisted_6, [
8782
8786
  (0,external_vue_.renderSlot)(_ctx.$slots, "option-hint", (0,external_vue_.normalizeProps)((0,external_vue_.guardReactiveProps)({ item: option })), () => [
8783
8787
  (0,external_vue_.createTextVNode)("\r\n no slot \"option-hint\" found\r\n ")
8784
8788
  ], true)
@@ -8797,7 +8801,7 @@ function ld_select_list_boxvue_type_template_id_2977fc13_scoped_true_ts_true_ren
8797
8801
  (0,external_vue_.createElementVNode)("span", null, (0,external_vue_.toDisplayString)(_ctx.message), 1)
8798
8802
  ]),
8799
8803
  _: 3
8800
- }, 8, ["modelValue", "class", "multiple", "placeholder", "options", "internal-search", "close-on-select", "disabled", "limit", "tabindex", "allow-empty", "onClose", "onSearchChange", "onUpdate:modelValue"]),
8804
+ }, 8, ["modelValue", "class", "multiple", "placeholder", "options", "searchable", "internal-search", "close-on-select", "disabled", "limit", "tabindex", "allow-empty", "onClose", "onSearchChange", "onUpdate:modelValue"]),
8801
8805
  (0,external_vue_.createTextVNode)(),
8802
8806
  (!_ctx.isDialogDisabled)
8803
8807
  ? ((0,external_vue_.openBlock)(), (0,external_vue_.createBlock)(_component_square_button, {
@@ -8824,14 +8828,14 @@ function ld_select_list_boxvue_type_template_id_2977fc13_scoped_true_ts_true_ren
8824
8828
  : (0,external_vue_.createCommentVNode)("", true),
8825
8829
  (0,external_vue_.createTextVNode)(),
8826
8830
  (_ctx.loading)
8827
- ? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", ld_select_list_boxvue_type_template_id_2977fc13_scoped_true_ts_true_hoisted_7))
8831
+ ? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", ld_select_list_boxvue_type_template_id_195dd2c7_scoped_true_ts_true_hoisted_7))
8828
8832
  : (0,external_vue_.createCommentVNode)("", true)
8829
8833
  ])
8830
8834
  ]))
8831
8835
  : (0,external_vue_.createCommentVNode)("", true),
8832
8836
  (0,external_vue_.createTextVNode)(),
8833
8837
  (!_ctx.multiselect && _ctx.$utils.isDefined(_ctx.singleItem))
8834
- ? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", ld_select_list_boxvue_type_template_id_2977fc13_scoped_true_ts_true_hoisted_8, [
8838
+ ? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", ld_select_list_boxvue_type_template_id_195dd2c7_scoped_true_ts_true_hoisted_8, [
8835
8839
  (0,external_vue_.renderSlot)(_ctx.$slots, "tag", (0,external_vue_.normalizeProps)((0,external_vue_.guardReactiveProps)({ item: _ctx.singleItem, onRemove: _ctx.onRemoveItem })), () => [
8836
8840
  ((0,external_vue_.openBlock)(), (0,external_vue_.createBlock)(_component_small_chip, {
8837
8841
  key: JSON.stringify(_ctx.selected),
@@ -8872,7 +8876,7 @@ function ld_select_list_boxvue_type_template_id_2977fc13_scoped_true_ts_true_ren
8872
8876
  }));
8873
8877
  }
8874
8878
 
8875
- ;// CONCATENATED MODULE: ./src/ld-select-list-box/ld-select-list-box.vue?vue&type=template&id=2977fc13&scoped=true&ts=true
8879
+ ;// CONCATENATED MODULE: ./src/ld-select-list-box/ld-select-list-box.vue?vue&type=template&id=195dd2c7&scoped=true&ts=true
8876
8880
 
8877
8881
  // EXTERNAL MODULE: external "./lib/multiselect.js"
8878
8882
  var multiselect_js_ = __webpack_require__(5733);
@@ -11279,13 +11283,13 @@ let SelectListBoxComponent = class SelectListBoxComponent extends (0,external_vu
11279
11283
  return;
11280
11284
  }
11281
11285
  let val = Array.from(new Set(this.toArray(value)));
11282
- if (lodash_es_isEqual(val, this.selectedIds)) {
11283
- return;
11284
- }
11285
11286
  if (!val.length) {
11286
11287
  this.clear();
11287
11288
  return;
11288
11289
  }
11290
+ if (lodash_es_isEqual(val, this.selectedIds)) {
11291
+ return;
11292
+ }
11289
11293
  if (this.multiselect) {
11290
11294
  for (const id of [...this.selectedIds]) {
11291
11295
  if (!val.includes(id)) {
@@ -11597,6 +11601,10 @@ ld_select_list_boxvue_type_script_lang_ts_external_decorate([
11597
11601
  (0,external_vue_property_decorator_.Prop)({ default: 'more_horiz' }),
11598
11602
  ld_select_list_boxvue_type_script_lang_ts_external_metadata("design:type", String)
11599
11603
  ], SelectListBoxComponent.prototype, "icon", void 0);
11604
+ ld_select_list_boxvue_type_script_lang_ts_external_decorate([
11605
+ (0,external_vue_property_decorator_.Prop)({ type: Boolean, default: true }),
11606
+ ld_select_list_boxvue_type_script_lang_ts_external_metadata("design:type", Boolean)
11607
+ ], SelectListBoxComponent.prototype, "searchable", void 0);
11600
11608
  ld_select_list_boxvue_type_script_lang_ts_external_decorate([
11601
11609
  (0,external_vue_property_decorator_.Prop)({ type: Boolean, default: false }),
11602
11610
  ld_select_list_boxvue_type_script_lang_ts_external_metadata("design:type", Boolean)
@@ -11679,7 +11687,7 @@ SelectListBoxComponent = ld_select_list_boxvue_type_script_lang_ts_external_deco
11679
11687
  ;
11680
11688
 
11681
11689
 
11682
- 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"]])
11690
+ 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_195dd2c7_scoped_true_ts_true_render],['__scopeId',"data-v-195dd2c7"]])
11683
11691
 
11684
11692
  /* harmony default export */ const ld_select_list_box = (ld_select_list_box_exports_);
11685
11693
  ;// CONCATENATED MODULE: ./src/ld-select-list-box/index.ts
@@ -13113,34 +13121,34 @@ function ld_select_reg(vue, options) {
13113
13121
  }
13114
13122
  /* harmony default export */ const src_ld_select = (ld_select_reg);
13115
13123
 
13116
- ;// 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-combobox/ld-combobox.vue?vue&type=template&id=31853b17&scoped=true&ts=true
13124
+ ;// 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-combobox/ld-combobox.vue?vue&type=template&id=5e97d7e3&scoped=true&ts=true
13117
13125
 
13118
- const ld_comboboxvue_type_template_id_31853b17_scoped_true_ts_true_withScopeId = n => (_pushScopeId("data-v-31853b17"), n = n(), _popScopeId(), n);
13119
- const ld_comboboxvue_type_template_id_31853b17_scoped_true_ts_true_hoisted_1 = {
13126
+ const ld_comboboxvue_type_template_id_5e97d7e3_scoped_true_ts_true_withScopeId = n => (_pushScopeId("data-v-5e97d7e3"), n = n(), _popScopeId(), n);
13127
+ const ld_comboboxvue_type_template_id_5e97d7e3_scoped_true_ts_true_hoisted_1 = {
13120
13128
  class: "w-full overflow-hidden",
13121
13129
  style: { "border-radius": "var(--border-radius)" }
13122
13130
  };
13123
- const ld_comboboxvue_type_template_id_31853b17_scoped_true_ts_true_hoisted_2 = { class: "w-full d-flex position-relative" };
13124
- const ld_comboboxvue_type_template_id_31853b17_scoped_true_ts_true_hoisted_3 = { class: "text-crop" };
13125
- const ld_comboboxvue_type_template_id_31853b17_scoped_true_ts_true_hoisted_4 = {
13131
+ const ld_comboboxvue_type_template_id_5e97d7e3_scoped_true_ts_true_hoisted_2 = { class: "w-full d-flex position-relative" };
13132
+ const ld_comboboxvue_type_template_id_5e97d7e3_scoped_true_ts_true_hoisted_3 = { class: "text-crop" };
13133
+ const ld_comboboxvue_type_template_id_5e97d7e3_scoped_true_ts_true_hoisted_4 = {
13126
13134
  key: 0,
13127
13135
  class: "d-flex align-center"
13128
13136
  };
13129
- const ld_comboboxvue_type_template_id_31853b17_scoped_true_ts_true_hoisted_5 = { class: "d-flex flex-column justify-center" };
13130
- const ld_comboboxvue_type_template_id_31853b17_scoped_true_ts_true_hoisted_6 = {
13137
+ const ld_comboboxvue_type_template_id_5e97d7e3_scoped_true_ts_true_hoisted_5 = { class: "d-flex flex-column justify-center" };
13138
+ const ld_comboboxvue_type_template_id_5e97d7e3_scoped_true_ts_true_hoisted_6 = {
13131
13139
  key: 0,
13132
13140
  class: "grey--text",
13133
13141
  style: { "font-size": "var(--font-size--1)" }
13134
13142
  };
13135
- const ld_comboboxvue_type_template_id_31853b17_scoped_true_ts_true_hoisted_7 = {
13143
+ const ld_comboboxvue_type_template_id_5e97d7e3_scoped_true_ts_true_hoisted_7 = {
13136
13144
  key: 0,
13137
13145
  class: "combobox-loading"
13138
13146
  };
13139
- const ld_comboboxvue_type_template_id_31853b17_scoped_true_ts_true_hoisted_8 = {
13147
+ const ld_comboboxvue_type_template_id_5e97d7e3_scoped_true_ts_true_hoisted_8 = {
13140
13148
  key: 0,
13141
13149
  class: "combobox-validate"
13142
13150
  };
13143
- function ld_comboboxvue_type_template_id_31853b17_scoped_true_ts_true_render(_ctx, _cache, $props, $setup, $data, $options) {
13151
+ function ld_comboboxvue_type_template_id_5e97d7e3_scoped_true_ts_true_render(_ctx, _cache, $props, $setup, $data, $options) {
13144
13152
  const _component_ld_label = (0,external_vue_.resolveComponent)("ld-label");
13145
13153
  const _component_small_chip = (0,external_vue_.resolveComponent)("small-chip");
13146
13154
  const _component_v_col = (0,external_vue_.resolveComponent)("v-col");
@@ -13165,8 +13173,8 @@ function ld_comboboxvue_type_template_id_31853b17_scoped_true_ts_true_render(_ct
13165
13173
  class: (0,external_vue_.normalizeClass)(_ctx.inputSizeClasses)
13166
13174
  }, {
13167
13175
  default: (0,external_vue_.withCtx)(() => [
13168
- (0,external_vue_.createElementVNode)("div", ld_comboboxvue_type_template_id_31853b17_scoped_true_ts_true_hoisted_1, [
13169
- (0,external_vue_.createElementVNode)("div", ld_comboboxvue_type_template_id_31853b17_scoped_true_ts_true_hoisted_2, [
13176
+ (0,external_vue_.createElementVNode)("div", ld_comboboxvue_type_template_id_5e97d7e3_scoped_true_ts_true_hoisted_1, [
13177
+ (0,external_vue_.createElementVNode)("div", ld_comboboxvue_type_template_id_5e97d7e3_scoped_true_ts_true_hoisted_2, [
13170
13178
  (0,external_vue_.createVNode)(_component_multiselect, {
13171
13179
  ref: "multiselect",
13172
13180
  modelValue: _ctx.selected,
@@ -13180,7 +13188,7 @@ function ld_comboboxvue_type_template_id_31853b17_scoped_true_ts_true_render(_ct
13180
13188
  placeholder: _ctx.placeholder,
13181
13189
  "select-label": '',
13182
13190
  options: _ctx.optionsList,
13183
- searchable: true,
13191
+ searchable: _ctx.searchable,
13184
13192
  "internal-search": _ctx.internalSearch,
13185
13193
  "clear-on-select": true,
13186
13194
  "close-on-select": !_ctx.multiselect,
@@ -13208,7 +13216,7 @@ function ld_comboboxvue_type_template_id_31853b17_scoped_true_ts_true_render(_ct
13208
13216
  "onClick:close": ($event) => (_ctx.onRemoveItem(option))
13209
13217
  }, {
13210
13218
  default: (0,external_vue_.withCtx)(() => [
13211
- (0,external_vue_.createElementVNode)("span", ld_comboboxvue_type_template_id_31853b17_scoped_true_ts_true_hoisted_3, (0,external_vue_.toDisplayString)(_ctx.$utils.deepValueGetter(option, this.itemTitle)), 1)
13219
+ (0,external_vue_.createElementVNode)("span", ld_comboboxvue_type_template_id_5e97d7e3_scoped_true_ts_true_hoisted_3, (0,external_vue_.toDisplayString)(_ctx.$utils.deepValueGetter(option, this.itemTitle)), 1)
13212
13220
  ]),
13213
13221
  _: 2
13214
13222
  }, 1032, ["color", "closable", "onClick:close"]))
@@ -13236,7 +13244,7 @@ function ld_comboboxvue_type_template_id_31853b17_scoped_true_ts_true_render(_ct
13236
13244
  (0,external_vue_.createVNode)(_component_v_col, { class: "d-flex align-center py-1" }, {
13237
13245
  default: (0,external_vue_.withCtx)(() => [
13238
13246
  (_ctx.multiselect)
13239
- ? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", ld_comboboxvue_type_template_id_31853b17_scoped_true_ts_true_hoisted_4, [
13247
+ ? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", ld_comboboxvue_type_template_id_5e97d7e3_scoped_true_ts_true_hoisted_4, [
13240
13248
  ((0,external_vue_.openBlock)(), (0,external_vue_.createBlock)((0,external_vue_.resolveDynamicComponent)(_ctx.$ldmui.options.aliases['ld-checkbox']), {
13241
13249
  key: JSON.stringify(option),
13242
13250
  "model-value": _ctx.checkedItems,
@@ -13251,13 +13259,13 @@ function ld_comboboxvue_type_template_id_31853b17_scoped_true_ts_true_render(_ct
13251
13259
  }, [
13252
13260
  (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),
13253
13261
  (0,external_vue_.createTextVNode)(),
13254
- (0,external_vue_.createElementVNode)("div", ld_comboboxvue_type_template_id_31853b17_scoped_true_ts_true_hoisted_5, [
13262
+ (0,external_vue_.createElementVNode)("div", ld_comboboxvue_type_template_id_5e97d7e3_scoped_true_ts_true_hoisted_5, [
13255
13263
  (0,external_vue_.renderSlot)(_ctx.$slots, "option", (0,external_vue_.normalizeProps)((0,external_vue_.guardReactiveProps)({ item: option, isSelected: _ctx.checkedItems.includes(_ctx.itemIdentity(option)) })), () => [
13256
13264
  (0,external_vue_.createElementVNode)("div", null, (0,external_vue_.toDisplayString)(_ctx.$utils.deepValueGetter(option, _ctx.itemTitle)), 1)
13257
13265
  ], true),
13258
13266
  (0,external_vue_.createTextVNode)(),
13259
13267
  (_ctx.optionHint)
13260
- ? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", ld_comboboxvue_type_template_id_31853b17_scoped_true_ts_true_hoisted_6, [
13268
+ ? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", ld_comboboxvue_type_template_id_5e97d7e3_scoped_true_ts_true_hoisted_6, [
13261
13269
  (0,external_vue_.renderSlot)(_ctx.$slots, "option-hint", (0,external_vue_.normalizeProps)((0,external_vue_.guardReactiveProps)({ item: option })), undefined, true)
13262
13270
  ]))
13263
13271
  : (0,external_vue_.createCommentVNode)("", true)
@@ -13274,16 +13282,16 @@ function ld_comboboxvue_type_template_id_31853b17_scoped_true_ts_true_render(_ct
13274
13282
  (0,external_vue_.createElementVNode)("span", null, (0,external_vue_.toDisplayString)(_ctx.message), 1)
13275
13283
  ]),
13276
13284
  _: 3
13277
- }, 8, ["modelValue", "multiple", "placeholder", "options", "internal-search", "close-on-select", "disabled", "limit", "tabindex", "allowEmpty", "onClose", "onOpen", "onSearchChange", "onUpdate:modelValue"]),
13285
+ }, 8, ["modelValue", "multiple", "placeholder", "options", "searchable", "internal-search", "close-on-select", "disabled", "limit", "tabindex", "allowEmpty", "onClose", "onOpen", "onSearchChange", "onUpdate:modelValue"]),
13278
13286
  (0,external_vue_.createTextVNode)(),
13279
13287
  (_ctx.loading)
13280
- ? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", ld_comboboxvue_type_template_id_31853b17_scoped_true_ts_true_hoisted_7))
13288
+ ? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", ld_comboboxvue_type_template_id_5e97d7e3_scoped_true_ts_true_hoisted_7))
13281
13289
  : (0,external_vue_.createCommentVNode)("", true)
13282
13290
  ])
13283
13291
  ]),
13284
13292
  (0,external_vue_.createTextVNode)(),
13285
13293
  (!_ctx.hideDetails)
13286
- ? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", ld_comboboxvue_type_template_id_31853b17_scoped_true_ts_true_hoisted_8, [
13294
+ ? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", ld_comboboxvue_type_template_id_5e97d7e3_scoped_true_ts_true_hoisted_8, [
13287
13295
  (0,external_vue_.createVNode)(external_vue_.Transition, { name: "squash" }, {
13288
13296
  default: (0,external_vue_.withCtx)(() => [
13289
13297
  (_ctx.showHint)
@@ -13306,7 +13314,7 @@ function ld_comboboxvue_type_template_id_31853b17_scoped_true_ts_true_render(_ct
13306
13314
  }));
13307
13315
  }
13308
13316
 
13309
- ;// CONCATENATED MODULE: ./src/ld-combobox/ld-combobox.vue?vue&type=template&id=31853b17&scoped=true&ts=true
13317
+ ;// CONCATENATED MODULE: ./src/ld-combobox/ld-combobox.vue?vue&type=template&id=5e97d7e3&scoped=true&ts=true
13310
13318
 
13311
13319
  ;// CONCATENATED MODULE: ./node_modules/ts-loader/index.js??clonedRuleSet-1.use!./src/ld-combobox/ld-combobox.ts?vue&type=script&lang=ts&external
13312
13320
  var ld_comboboxvue_type_script_lang_ts_external_decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
@@ -13669,6 +13677,10 @@ ld_comboboxvue_type_script_lang_ts_external_decorate([
13669
13677
  (0,external_vue_property_decorator_.Prop)(),
13670
13678
  ld_comboboxvue_type_script_lang_ts_external_metadata("design:type", String)
13671
13679
  ], ld_comboboxvue_type_script_lang_ts_external_SelectListBoxComponent.prototype, "inputHint", void 0);
13680
+ ld_comboboxvue_type_script_lang_ts_external_decorate([
13681
+ (0,external_vue_property_decorator_.Prop)({ type: Boolean, default: true }),
13682
+ ld_comboboxvue_type_script_lang_ts_external_metadata("design:type", Boolean)
13683
+ ], ld_comboboxvue_type_script_lang_ts_external_SelectListBoxComponent.prototype, "searchable", void 0);
13672
13684
  ld_comboboxvue_type_script_lang_ts_external_decorate([
13673
13685
  (0,external_vue_property_decorator_.Prop)({ type: Boolean, default: false }),
13674
13686
  ld_comboboxvue_type_script_lang_ts_external_metadata("design:type", Boolean)
@@ -13773,7 +13785,7 @@ ld_comboboxvue_type_script_lang_ts_external_SelectListBoxComponent = ld_combobox
13773
13785
  ;
13774
13786
 
13775
13787
 
13776
- const ld_combobox_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(ld_comboboxvue_type_script_lang_ts_external, [['render',ld_comboboxvue_type_template_id_31853b17_scoped_true_ts_true_render],['__scopeId',"data-v-31853b17"]])
13788
+ const ld_combobox_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(ld_comboboxvue_type_script_lang_ts_external, [['render',ld_comboboxvue_type_template_id_5e97d7e3_scoped_true_ts_true_render],['__scopeId',"data-v-5e97d7e3"]])
13777
13789
 
13778
13790
  /* harmony default export */ const ld_combobox = (ld_combobox_exports_);
13779
13791
  ;// CONCATENATED MODULE: ./src/ld-combobox/index.ts
@@ -13783,18 +13795,18 @@ function ld_combobox_reg(vue, options) {
13783
13795
  }
13784
13796
  /* harmony default export */ const src_ld_combobox = (ld_combobox_reg);
13785
13797
 
13786
- ;// 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-timepicker/ld-timepicker.vue?vue&type=template&id=22954066&scoped=true&ts=true
13798
+ ;// 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-timepicker/ld-timepicker.vue?vue&type=template&id=64220520&scoped=true&ts=true
13787
13799
 
13788
- const ld_timepickervue_type_template_id_22954066_scoped_true_ts_true_withScopeId = n => (_pushScopeId("data-v-22954066"), n = n(), _popScopeId(), n);
13789
- const ld_timepickervue_type_template_id_22954066_scoped_true_ts_true_hoisted_1 = { class: "ld-timepicker" };
13790
- const ld_timepickervue_type_template_id_22954066_scoped_true_ts_true_hoisted_2 = { class: "time-selector" };
13791
- const ld_timepickervue_type_template_id_22954066_scoped_true_ts_true_hoisted_3 = { key: 0 };
13792
- const ld_timepickervue_type_template_id_22954066_scoped_true_ts_true_hoisted_4 = { key: 1 };
13793
- const ld_timepickervue_type_template_id_22954066_scoped_true_ts_true_hoisted_5 = {
13800
+ const ld_timepickervue_type_template_id_64220520_scoped_true_ts_true_withScopeId = n => (_pushScopeId("data-v-64220520"), n = n(), _popScopeId(), n);
13801
+ const ld_timepickervue_type_template_id_64220520_scoped_true_ts_true_hoisted_1 = { class: "ld-timepicker" };
13802
+ const ld_timepickervue_type_template_id_64220520_scoped_true_ts_true_hoisted_2 = { class: "time-selector" };
13803
+ const ld_timepickervue_type_template_id_64220520_scoped_true_ts_true_hoisted_3 = { key: 0 };
13804
+ const ld_timepickervue_type_template_id_64220520_scoped_true_ts_true_hoisted_4 = { key: 1 };
13805
+ const ld_timepickervue_type_template_id_64220520_scoped_true_ts_true_hoisted_5 = {
13794
13806
  key: 0,
13795
13807
  class: "ld-timepicker-validate"
13796
13808
  };
13797
- function ld_timepickervue_type_template_id_22954066_scoped_true_ts_true_render(_ctx, _cache, $props, $setup, $data, $options) {
13809
+ function ld_timepickervue_type_template_id_64220520_scoped_true_ts_true_render(_ctx, _cache, $props, $setup, $data, $options) {
13798
13810
  const _component_ld_label = (0,external_vue_.resolveComponent)("ld-label");
13799
13811
  const _component_ld_icon = (0,external_vue_.resolveComponent)("ld-icon");
13800
13812
  const _component_square_button = (0,external_vue_.resolveComponent)("square-button");
@@ -13802,7 +13814,7 @@ function ld_timepickervue_type_template_id_22954066_scoped_true_ts_true_render(_
13802
13814
  const _component_v_menu = (0,external_vue_.resolveComponent)("v-menu");
13803
13815
  const _component_v_col = (0,external_vue_.resolveComponent)("v-col");
13804
13816
  const _component_v_row = (0,external_vue_.resolveComponent)("v-row");
13805
- return ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", ld_timepickervue_type_template_id_22954066_scoped_true_ts_true_hoisted_1, [
13817
+ return ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", ld_timepickervue_type_template_id_64220520_scoped_true_ts_true_hoisted_1, [
13806
13818
  (0,external_vue_.createVNode)(_component_v_row, { "no-gutters": "" }, {
13807
13819
  default: (0,external_vue_.withCtx)(() => [
13808
13820
  (_ctx.label)
@@ -13836,10 +13848,10 @@ function ld_timepickervue_type_template_id_22954066_scoped_true_ts_true_render(_
13836
13848
  class: "w-100",
13837
13849
  tabindex: _ctx.tabIndex,
13838
13850
  disabled: _ctx.readonly || _ctx.disabled,
13839
- placeholder: "ЧЧ:ММ",
13851
+ placeholder: _ctx.placeholder,
13840
13852
  "hide-details": "",
13841
13853
  readonly: true
13842
- }, null, 8, ["model-value", "tabindex", "disabled"])),
13854
+ }, null, 8, ["model-value", "tabindex", "disabled", "placeholder"])),
13843
13855
  (0,external_vue_.createTextVNode)(),
13844
13856
  (!_ctx.disabled && !_ctx.readonly)
13845
13857
  ? ((0,external_vue_.openBlock)(), (0,external_vue_.createBlock)(_component_square_button, {
@@ -13888,13 +13900,13 @@ function ld_timepickervue_type_template_id_22954066_scoped_true_ts_true_render(_
13888
13900
  width: "190px"
13889
13901
  }, {
13890
13902
  default: (0,external_vue_.withCtx)(() => [
13891
- (0,external_vue_.createElementVNode)("div", ld_timepickervue_type_template_id_22954066_scoped_true_ts_true_hoisted_2, [
13903
+ (0,external_vue_.createElementVNode)("div", ld_timepickervue_type_template_id_64220520_scoped_true_ts_true_hoisted_2, [
13892
13904
  (_ctx.isHours)
13893
- ? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("span", ld_timepickervue_type_template_id_22954066_scoped_true_ts_true_hoisted_3, "Часы"))
13905
+ ? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("span", ld_timepickervue_type_template_id_64220520_scoped_true_ts_true_hoisted_3, "Часы"))
13894
13906
  : (0,external_vue_.createCommentVNode)("", true),
13895
13907
  (0,external_vue_.createTextVNode)(),
13896
13908
  (_ctx.isMinutes)
13897
- ? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("span", ld_timepickervue_type_template_id_22954066_scoped_true_ts_true_hoisted_4, "Минуты"))
13909
+ ? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("span", ld_timepickervue_type_template_id_64220520_scoped_true_ts_true_hoisted_4, "Минуты"))
13898
13910
  : (0,external_vue_.createCommentVNode)("", true),
13899
13911
  (0,external_vue_.createTextVNode)(),
13900
13912
  (0,external_vue_.createElementVNode)("div", null, [
@@ -13943,7 +13955,7 @@ function ld_timepickervue_type_template_id_22954066_scoped_true_ts_true_render(_
13943
13955
  }, 8, ["modelValue", "disabled"]),
13944
13956
  (0,external_vue_.createTextVNode)(),
13945
13957
  (!_ctx.hideDetails)
13946
- ? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", ld_timepickervue_type_template_id_22954066_scoped_true_ts_true_hoisted_5, [
13958
+ ? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", ld_timepickervue_type_template_id_64220520_scoped_true_ts_true_hoisted_5, [
13947
13959
  (0,external_vue_.createVNode)(external_vue_.Transition, { name: "squash" }, {
13948
13960
  default: (0,external_vue_.withCtx)(() => [
13949
13961
  (0,external_vue_.createElementVNode)("span", {
@@ -13964,7 +13976,7 @@ function ld_timepickervue_type_template_id_22954066_scoped_true_ts_true_render(_
13964
13976
  ]));
13965
13977
  }
13966
13978
 
13967
- ;// CONCATENATED MODULE: ./src/ld-timepicker/ld-timepicker.vue?vue&type=template&id=22954066&scoped=true&ts=true
13979
+ ;// CONCATENATED MODULE: ./src/ld-timepicker/ld-timepicker.vue?vue&type=template&id=64220520&scoped=true&ts=true
13968
13980
 
13969
13981
  ;// CONCATENATED MODULE: ./node_modules/ts-loader/index.js??clonedRuleSet-1.use!./src/ld-timepicker/ld-timepicker.ts?vue&type=script&lang=ts&external
13970
13982
  var ld_timepickervue_type_script_lang_ts_external_decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
@@ -14105,6 +14117,10 @@ ld_timepickervue_type_script_lang_ts_external_decorate([
14105
14117
  (0,external_vue_property_decorator_.Prop)(),
14106
14118
  ld_timepickervue_type_script_lang_ts_external_metadata("design:type", String)
14107
14119
  ], TimepickerComponent.prototype, "inputHint", void 0);
14120
+ ld_timepickervue_type_script_lang_ts_external_decorate([
14121
+ (0,external_vue_property_decorator_.Prop)({ type: String, default: 'ЧЧ.ММ' }),
14122
+ ld_timepickervue_type_script_lang_ts_external_metadata("design:type", String)
14123
+ ], TimepickerComponent.prototype, "placeholder", void 0);
14108
14124
  ld_timepickervue_type_script_lang_ts_external_decorate([
14109
14125
  (0,external_vue_property_decorator_.Inject)({ from: 'form', default: null }),
14110
14126
  ld_timepickervue_type_script_lang_ts_external_metadata("design:type", Object)
@@ -14158,7 +14174,7 @@ TimepickerComponent = ld_timepickervue_type_script_lang_ts_external_decorate([
14158
14174
  ;
14159
14175
 
14160
14176
 
14161
- const ld_timepicker_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(ld_timepickervue_type_script_lang_ts_external, [['render',ld_timepickervue_type_template_id_22954066_scoped_true_ts_true_render],['__scopeId',"data-v-22954066"]])
14177
+ const ld_timepicker_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(ld_timepickervue_type_script_lang_ts_external, [['render',ld_timepickervue_type_template_id_64220520_scoped_true_ts_true_render],['__scopeId',"data-v-64220520"]])
14162
14178
 
14163
14179
  /* harmony default export */ const ld_timepicker = (ld_timepicker_exports_);
14164
14180
  ;// CONCATENATED MODULE: ./src/ld-timepicker/index.ts
@@ -1 +1 @@
1
- (function webpackUniversalModuleDefinition(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t(require("vue")):"function"===typeof define&&define.amd?define(["vue"],t):"object"===typeof exports?exports["ldmui"]=t(require("vue")):e["ldmui"]=t(e["vue"])})(self,(e=>(()=>{"use strict";var t={6262:(e,t)=>{t.A=(e,t)=>{const i=e.__vccOpts||e;for(const[e,s]of t)i[e]=s;return i}},2380:t=>{t.exports=e}},i={};function __webpack_require__(e){var s=i[e];if(void 0!==s)return s.exports;var l=i[e]={exports:{}};return t[e](l,l.exports,__webpack_require__),l.exports}(()=>{__webpack_require__.d=(e,t)=>{for(var i in t)__webpack_require__.o(t,i)&&!__webpack_require__.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})}})(),(()=>{__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})(),(()=>{__webpack_require__.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}})();var s={};__webpack_require__.r(s),__webpack_require__.d(s,{default:()=>N});var l=__webpack_require__(2380);const o=["tabindex","aria-owns"],n={ref:"tags",class:"multiselect__tags"},r={class:"multiselect__tags-wrap"},a=["textContent"],h=["onKeypress","onMousedown"],p={class:"multiselect__tag"},c=["textContent"],u={class:"multiselect__spinner"},d=["name","id","placeholder","value","disabled","tabindex","aria-controls"],m=["id"],g={key:0},f={class:"multiselect__option"},b=["id","role"],y=["onClick","onMouseenter","data-select","data-selected","data-deselect"],w=["data-select","data-deselect","onMouseenter","onMousedown"],V={class:"multiselect__option"},v={class:"multiselect__option"};function render(e,t,i,s,_,S){return(0,l.openBlock)(),(0,l.createElementBlock)("div",{tabindex:e.searchable?-1:i.tabindex,class:(0,l.normalizeClass)([{"multiselect--active":e.isOpen,"multiselect--disabled":i.disabled,"multiselect--above":S.isAbove,"multiselect--has-options-group":S.hasOptionGroup,"multiselect--list-empty":e.isOpen&&!S.showNoResultsSlot&&!S.showNoOptionsSlot&&0===e.filteredOptions.length},"multiselect"]),onFocus:t[12]||(t[12]=t=>e.activate()),onBlur:t[13]||(t[13]=t=>!e.searchable&&e.deactivate()),onKeydown:[t[14]||(t[14]=(0,l.withKeys)((0,l.withModifiers)((t=>e.pointerForward()),["self","prevent"]),["down"])),t[15]||(t[15]=(0,l.withKeys)((0,l.withModifiers)((t=>e.pointerBackward()),["self","prevent"]),["up"]))],onKeypress:t[16]||(t[16]=(0,l.withKeys)((0,l.withModifiers)((t=>e.addPointerElement(t)),["stop","self"]),["enter","tab"])),onKeyup:t[17]||(t[17]=(0,l.withKeys)((t=>e.deactivate()),["esc"])),role:"combobox","aria-owns":"listbox-"+e.id},[(0,l.renderSlot)(e.$slots,"caret",{toggle:e.toggle},(()=>[(0,l.createElementVNode)("div",{onMousedown:t[0]||(t[0]=(0,l.withModifiers)((t=>e.toggle()),["prevent","stop"])),class:"multiselect__select"},null,32)])),(0,l.createTextVNode)(),(0,l.renderSlot)(e.$slots,"clear",{search:e.search}),(0,l.createTextVNode)(),(0,l.createElementVNode)("div",n,[(0,l.renderSlot)(e.$slots,"selection",{search:e.search,remove:e.removeElement,values:S.visibleValues,isOpen:e.isOpen},(()=>[(0,l.withDirectives)((0,l.createElementVNode)("div",r,[((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(S.visibleValues,((t,i)=>(0,l.renderSlot)(e.$slots,"tag",{option:t,search:e.search,remove:e.removeElement},(()=>[((0,l.openBlock)(),(0,l.createElementBlock)("span",{class:"multiselect__tag",key:i},[(0,l.createElementVNode)("span",{textContent:(0,l.toDisplayString)(e.getOptionLabel(t))},null,8,a),(0,l.createTextVNode)(),(0,l.createElementVNode)("i",{tabindex:"1",onKeypress:(0,l.withKeys)((0,l.withModifiers)((i=>e.removeElement(t)),["prevent"]),["enter"]),onMousedown:(0,l.withModifiers)((i=>e.removeElement(t)),["prevent"]),class:"multiselect__tag-icon"},null,40,h)]))])))),256)),(0,l.createTextVNode)(),e.internalValue&&e.internalValue.length>i.limit?(0,l.renderSlot)(e.$slots,"tag-overflow",{key:0,limit:i.limit,count:e.internalValue.length},(()=>[(0,l.createElementVNode)("span",p,[(0,l.createElementVNode)("strong",{class:"multiselect__strong",textContent:(0,l.toDisplayString)(i.limitText(e.internalValue.length-i.limit))},null,8,c)])])):(0,l.createCommentVNode)("",!0)],512),[[l.vShow,S.visibleValues.length>0]])])),(0,l.createTextVNode)(),(0,l.createVNode)(l.Transition,{name:"multiselect__loading"},{default:(0,l.withCtx)((()=>[(0,l.renderSlot)(e.$slots,"loading",{},(()=>[(0,l.withDirectives)((0,l.createElementVNode)("div",u,null,512),[[l.vShow,i.loading]])]))])),_:3}),(0,l.createTextVNode)(),e.searchable?((0,l.openBlock)(),(0,l.createElementBlock)("input",{key:0,ref:"search",name:i.name,id:e.id,type:"text",autocomplete:"off",spellcheck:"false",placeholder:e.placeholder,style:(0,l.normalizeStyle)(S.inputStyle),value:e.search,disabled:i.disabled,tabindex:i.tabindex,class:"multiselect__input","aria-controls":"listbox-"+e.id,onInput:t[1]||(t[1]=t=>e.updateSearch(t.target.value)),onFocus:t[2]||(t[2]=(0,l.withModifiers)((t=>e.activate()),["prevent"])),onKeyup:t[3]||(t[3]=(0,l.withKeys)((t=>e.deactivate()),["esc"])),onKeydown:[t[4]||(t[4]=(0,l.withKeys)((0,l.withModifiers)((t=>e.pointerForward()),["prevent"]),["down"])),t[5]||(t[5]=(0,l.withKeys)((0,l.withModifiers)((t=>e.pointerBackward()),["prevent"]),["up"])),t[7]||(t[7]=(0,l.withKeys)((0,l.withModifiers)((t=>e.removeLastElement()),["stop"]),["delete"]))],onKeypress:t[6]||(t[6]=(0,l.withKeys)((0,l.withModifiers)((t=>e.addPointerElement(t)),["prevent","stop","self"]),["enter"]))},null,44,d)):(0,l.createCommentVNode)("",!0),(0,l.createTextVNode)(),S.isSingleLabelVisible?((0,l.openBlock)(),(0,l.createElementBlock)("span",{key:1,class:"multiselect__single",onMousedown:t[8]||(t[8]=(0,l.withModifiers)(((...t)=>e.toggle&&e.toggle(...t)),["prevent"]))},[(0,l.renderSlot)(e.$slots,"singleLabel",{option:S.singleValue},(()=>[(0,l.createTextVNode)((0,l.toDisplayString)(e.currentOptionLabel),1)]))],32)):(0,l.createCommentVNode)("",!0),(0,l.createTextVNode)(),S.isPlaceholderVisible?((0,l.openBlock)(),(0,l.createElementBlock)("span",{key:2,class:"multiselect__placeholder",onMousedown:t[9]||(t[9]=(0,l.withModifiers)(((...t)=>e.toggle&&e.toggle(...t)),["prevent"]))},[(0,l.renderSlot)(e.$slots,"placeholder",{},(()=>[(0,l.createTextVNode)((0,l.toDisplayString)(e.placeholder),1)]))],32)):(0,l.createCommentVNode)("",!0)],512),(0,l.createTextVNode)(),(0,l.createVNode)(l.Transition,{name:"multiselect"},{default:(0,l.withCtx)((()=>[(0,l.withDirectives)((0,l.createElementVNode)("div",{class:"multiselect__content-wrapper",onFocus:t[10]||(t[10]=(...t)=>e.activate&&e.activate(...t)),tabindex:"-1",onMousedown:t[11]||(t[11]=(0,l.withModifiers)((()=>{}),["prevent"])),style:(0,l.normalizeStyle)({maxHeight:e.optimizedHeight+"px"}),ref:"list"},[(0,l.createElementVNode)("ul",{class:"multiselect__content",style:(0,l.normalizeStyle)(S.contentStyle),role:"listbox",id:"listbox-"+e.id},[(0,l.renderSlot)(e.$slots,"beforeList"),(0,l.createTextVNode)(),e.multiple&&e.max===e.internalValue.length?((0,l.openBlock)(),(0,l.createElementBlock)("li",g,[(0,l.createElementVNode)("span",f,[(0,l.renderSlot)(e.$slots,"maxElements",{},(()=>[(0,l.createTextVNode)("Maximum of "+(0,l.toDisplayString)(e.max)+" options selected. First remove a selected option to select another.",1)]))])])):(0,l.createCommentVNode)("",!0),(0,l.createTextVNode)(),!e.max||e.internalValue.length<e.max?((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,{key:1},(0,l.renderList)(e.filteredOptions,((t,i)=>((0,l.openBlock)(),(0,l.createElementBlock)("li",{class:"multiselect__element",key:i,id:e.id+"-"+i,role:t&&(t.$isLabel||t.$isDisabled)?null:"option"},[t&&(t.$isLabel||t.$isDisabled)?(0,l.createCommentVNode)("",!0):((0,l.openBlock)(),(0,l.createElementBlock)("span",{key:0,class:(0,l.normalizeClass)([e.optionHighlight(i,t),"multiselect__option"]),onClick:(0,l.withModifiers)((i=>e.select(t)),["stop"]),onMouseenter:(0,l.withModifiers)((t=>e.pointerSet(i)),["self"]),"data-select":t&&t.isTag?e.tagPlaceholder:S.selectLabelText,"data-selected":S.selectedLabelText,"data-deselect":S.deselectLabelText},[(0,l.renderSlot)(e.$slots,"option",{option:t,search:e.search,index:i},(()=>[(0,l.createElementVNode)("span",null,(0,l.toDisplayString)(e.getOptionLabel(t)),1)]))],42,y)),(0,l.createTextVNode)(),t&&(t.$isLabel||t.$isDisabled)?((0,l.openBlock)(),(0,l.createElementBlock)("span",{key:1,"data-select":e.groupSelect&&S.selectGroupLabelText,"data-deselect":e.groupSelect&&S.deselectGroupLabelText,class:(0,l.normalizeClass)([e.groupHighlight(i,t),"multiselect__option"]),onMouseenter:(0,l.withModifiers)((t=>e.groupSelect&&e.pointerSet(i)),["self"]),onMousedown:(0,l.withModifiers)((i=>e.selectGroup(t)),["prevent"])},[(0,l.renderSlot)(e.$slots,"option",{option:t,search:e.search,index:i},(()=>[(0,l.createElementVNode)("span",null,(0,l.toDisplayString)(e.getOptionLabel(t)),1)]))],42,w)):(0,l.createCommentVNode)("",!0)],8,b)))),128)):(0,l.createCommentVNode)("",!0),(0,l.createTextVNode)(),(0,l.withDirectives)((0,l.createElementVNode)("li",null,[(0,l.createElementVNode)("span",V,[(0,l.renderSlot)(e.$slots,"noResult",{search:e.search},(()=>[(0,l.createTextVNode)("No elements found. Consider changing the search query.")]))])],512),[[l.vShow,S.showNoResultsSlot]]),(0,l.createTextVNode)(),(0,l.withDirectives)((0,l.createElementVNode)("li",null,[(0,l.createElementVNode)("span",v,[(0,l.renderSlot)(e.$slots,"noOptions",{},(()=>[(0,l.createTextVNode)("List is empty.")]))])],512),[[l.vShow,S.showNoOptionsSlot]]),(0,l.createTextVNode)(),(0,l.renderSlot)(e.$slots,"afterList")],12,m)],36),[[l.vShow,e.isOpen]])])),_:3})],42,o)}function isEmpty(e){return 0!==e&&(!(!Array.isArray(e)||0!==e.length)||!e)}function not(e){return(...t)=>!e(...t)}function includes(e,t){void 0===e&&(e="undefined"),null===e&&(e="null"),!1===e&&(e="false");const i=e.toString().toLowerCase();return-1!==i.indexOf(t.trim())}function filterOptions(e,t,i,s){return t?e.filter((e=>includes(s(e,i),t))).sort(((e,t)=>s(e,i).length-s(t,i).length)):e}function stripGroups(e){return e.filter((e=>!e.$isLabel))}function flattenOptions(e,t){return i=>i.reduce(((i,s)=>s[e]&&s[e].length?(i.push({$groupLabel:s[t],$isLabel:!0}),i.concat(s[e])):i),[])}function filterGroups(e,t,i,s,l){return o=>o.map((o=>{if(!o[i])return console.warn("Options passed to vue-multiselect do not contain groups, despite the config."),[];const n=filterOptions(o[i],e,t,l);return n.length?{[s]:o[s],[i]:n}:[]}))}const flow=(...e)=>t=>e.reduce(((e,t)=>t(e)),t),_={data(){return{search:"",isOpen:!1,preferredOpenDirection:"below",optimizedHeight:this.maxHeight}},props:{internalSearch:{type:Boolean,default:!0},options:{type:Array,required:!0},multiple:{type:Boolean,default:!1},trackBy:{type:String},label:{type:String},searchable:{type:Boolean,default:!0},clearOnSelect:{type:Boolean,default:!0},hideSelected:{type:Boolean,default:!1},placeholder:{type:String,default:"Select option"},allowEmpty:{type:Boolean,default:!0},resetAfter:{type:Boolean,default:!1},closeOnSelect:{type:Boolean,default:!0},customLabel:{type:Function,default(e,t){return isEmpty(e)?"":t?e[t]:e}},taggable:{type:Boolean,default:!1},tagPlaceholder:{type:String,default:"Press enter to create a tag"},tagPosition:{type:String,default:"top"},max:{type:[Number,Boolean],default:!1},id:{default:null},optionsLimit:{type:Number,default:1e3},groupValues:{type:String},groupLabel:{type:String},groupSelect:{type:Boolean,default:!1},blockKeys:{type:Array,default(){return[]}},preserveSearch:{type:Boolean,default:!1},preselectFirst:{type:Boolean,default:!1},preventAutofocus:{type:Boolean,default:!1}},mounted(){!this.multiple&&this.max&&console.warn("[Vue-Multiselect warn]: Max prop should not be used when prop Multiple equals false."),this.preselectFirst&&!this.internalValue.length&&this.options.length&&this.select(this.filteredOptions[0])},computed:{internalValue(){return this.modelValue||0===this.modelValue?Array.isArray(this.modelValue)?this.modelValue:[this.modelValue]:[]},filteredOptions(){const e=this.search||"",t=e.toLowerCase().trim();let i=this.options.concat();return i=this.internalSearch?this.groupValues?this.filterAndFlat(i,t,this.label):filterOptions(i,t,this.label,this.customLabel):this.groupValues?flattenOptions(this.groupValues,this.groupLabel)(i):i,i=this.hideSelected?i.filter(not(this.isSelected)):i,this.taggable&&t.length&&!this.isExistingOption(t)&&("bottom"===this.tagPosition?i.push({isTag:!0,label:e}):i.unshift({isTag:!0,label:e})),i.slice(0,this.optionsLimit)},valueKeys(){return this.trackBy?this.internalValue.map((e=>e[this.trackBy])):this.internalValue},optionKeys(){const e=this.groupValues?this.flatAndStrip(this.options):this.options;return e.map((e=>this.customLabel(e,this.label).toString().toLowerCase()))},currentOptionLabel(){return this.multiple?this.searchable?"":this.placeholder:this.internalValue.length?this.getOptionLabel(this.internalValue[0]):this.searchable?"":this.placeholder}},watch:{internalValue:{handler(){this.resetAfter&&this.internalValue.length&&(this.search="",this.$emit("update:modelValue",this.multiple?[]:null))},deep:!0},search(){this.$emit("search-change",this.search)}},emits:["open","search-change","close","select","update:modelValue","remove","tag"],methods:{getValue(){return this.multiple?this.internalValue:0===this.internalValue.length?null:this.internalValue[0]},filterAndFlat(e,t,i){return flow(filterGroups(t,i,this.groupValues,this.groupLabel,this.customLabel),flattenOptions(this.groupValues,this.groupLabel))(e)},flatAndStrip(e){return flow(flattenOptions(this.groupValues,this.groupLabel),stripGroups)(e)},updateSearch(e){this.search=e},isExistingOption(e){return!!this.options&&this.optionKeys.indexOf(e)>-1},isSelected(e){const t=this.trackBy?e[this.trackBy]:e;return this.valueKeys.indexOf(t)>-1},isOptionDisabled(e){return!!e.$isDisabled},getOptionLabel(e){if(isEmpty(e))return"";if(e.isTag)return e.label;if(e.$isLabel)return e.$groupLabel;const t=this.customLabel(e,this.label);return isEmpty(t)?"":t},select(e,t){if(e.$isLabel&&this.groupSelect)this.selectGroup(e);else if(!(-1!==this.blockKeys.indexOf(t)||this.disabled||e.$isDisabled||e.$isLabel)&&(!this.max||!this.multiple||this.internalValue.length!==this.max)&&("Tab"!==t||this.pointerDirty)){if(e.isTag)this.$emit("tag",e.label,this.id),this.search="",this.closeOnSelect&&!this.multiple&&this.deactivate();else{const i=this.isSelected(e);if(i)return void("Tab"!==t&&this.removeElement(e));this.multiple?this.$emit("update:modelValue",this.internalValue.concat([e])):this.$emit("update:modelValue",e),this.$emit("select",e,this.id),this.clearOnSelect&&(this.search="")}this.closeOnSelect&&this.deactivate()}},selectGroup(e){const t=this.options.find((t=>t[this.groupLabel]===e.$groupLabel));if(t){if(this.wholeGroupSelected(t)){this.$emit("remove",t[this.groupValues],this.id);const e=this.internalValue.filter((e=>-1===t[this.groupValues].indexOf(e)));this.$emit("update:modelValue",e)}else{let e=t[this.groupValues].filter((e=>!(this.isOptionDisabled(e)||this.isSelected(e))));this.max&&e.splice(this.max-this.internalValue.length),this.$emit("select",e,this.id),this.$emit("update:modelValue",this.internalValue.concat(e))}this.closeOnSelect&&this.deactivate()}},wholeGroupSelected(e){return e[this.groupValues].every((e=>this.isSelected(e)||this.isOptionDisabled(e)))},wholeGroupDisabled(e){return e[this.groupValues].every(this.isOptionDisabled)},removeElement(e,t=!0){if(this.disabled)return;if(e.$isDisabled)return;if(!this.allowEmpty&&this.internalValue.length<=1)return void this.deactivate();const i="object"===typeof e?this.valueKeys.indexOf(e[this.trackBy]):this.valueKeys.indexOf(e);if(this.multiple){const e=this.internalValue.slice(0,i).concat(this.internalValue.slice(i+1));this.$emit("update:modelValue",e)}else this.$emit("update:modelValue",null);this.$emit("remove",e,this.id),this.closeOnSelect&&t&&this.deactivate()},removeLastElement(){-1===this.blockKeys.indexOf("Delete")&&0===this.search.length&&Array.isArray(this.internalValue)&&this.internalValue.length&&this.removeElement(this.internalValue[this.internalValue.length-1],!1)},activate(){if(this.isOpen||this.disabled)return;this.adjustPosition(),this.groupValues&&0===this.pointer&&this.filteredOptions.length&&(this.pointer=1),this.isOpen=!0,this.searchable?(this.preserveSearch||(this.search=""),this.preventAutofocus||this.$nextTick((()=>this.$refs.search&&this.$refs.search.focus()))):this.preventAutofocus||"undefined"!==typeof this.$el&&this.$el.focus(),this.$emit("open",this.id);const onMouseDown=e=>{if(e?.target){const t=e.target.closest(".multiselect");Boolean(t)||(this.deactivate(),document.removeEventListener("mousedown",onMouseDown))}};setTimeout((()=>{document.addEventListener("mousedown",onMouseDown)}),300)},deactivate(){this.isOpen&&(this.isOpen=!1,this.searchable?this.$refs.search&&this.$refs.search.blur():tthis.$el&&this.$el.blur(),this.preserveSearch||(this.search=""),this.$emit("close",this.getValue(),this.id))},toggle(){this.isOpen?this.deactivate():this.activate()},adjustPosition(){if("undefined"===typeof window)return;const e=this.$el.getBoundingClientRect().top,t=window.innerHeight-this.$el.getBoundingClientRect().bottom,i=t>this.maxHeight;i||t>e||"below"===this.openDirection||"bottom"===this.openDirection?(this.preferredOpenDirection="below",this.optimizedHeight=Math.min(t-40,this.maxHeight)):(this.preferredOpenDirection="above",this.optimizedHeight=Math.min(e-40,this.maxHeight))}}},S={data(){return{pointer:0,pointerDirty:!1}},props:{showPointer:{type:Boolean,default:!0},optionHeight:{type:Number,default:40}},computed:{pointerPosition(){return this.pointer*this.optionHeight},visibleElements(){return this.optimizedHeight/this.optionHeight}},watch:{filteredOptions(){this.pointerAdjust()},isOpen(){this.pointerDirty=!1},pointer(){this.$refs.search&&this.$refs.search.setAttribute("aria-activedescendant",this.id+"-"+this.pointer.toString())}},methods:{optionHighlight(e,t){return{"multiselect__option--highlight":e===this.pointer&&this.showPointer,"multiselect__option--selected":this.isSelected(t)}},groupHighlight(e,t){if(!this.groupSelect)return["multiselect__option--disabled",{"multiselect__option--group":t.$isLabel}];const i=this.options.find((e=>e[this.groupLabel]===t.$groupLabel));return i&&!this.wholeGroupDisabled(i)?["multiselect__option--group",{"multiselect__option--highlight":e===this.pointer&&this.showPointer},{"multiselect__option--group-selected":this.wholeGroupSelected(i)}]:"multiselect__option--disabled"},addPointerElement({key:e}="Enter"){this.filteredOptions.length>0&&this.select(this.filteredOptions[this.pointer],e),this.pointerReset()},pointerForward(){this.pointer<this.filteredOptions.length-1&&(this.pointer++,this.$refs.list.scrollTop<=this.pointerPosition-(this.visibleElements-1)*this.optionHeight&&(this.$refs.list.scrollTop=this.pointerPosition-(this.visibleElements-1)*this.optionHeight),this.filteredOptions[this.pointer]&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerForward()),this.pointerDirty=!0},pointerBackward(){this.pointer>0?(this.pointer--,this.$refs.list.scrollTop>=this.pointerPosition&&(this.$refs.list.scrollTop=this.pointerPosition),this.filteredOptions[this.pointer]&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerBackward()):this.filteredOptions[this.pointer]&&this.filteredOptions[0].$isLabel&&!this.groupSelect&&this.pointerForward(),this.pointerDirty=!0},pointerReset(){this.closeOnSelect&&(this.pointer=0,this.$refs.list&&(this.$refs.list.scrollTop=0))},pointerAdjust(){this.pointer>=this.filteredOptions.length-1&&(this.pointer=this.filteredOptions.length?this.filteredOptions.length-1:0),this.filteredOptions.length>0&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerForward()},pointerSet(e){this.pointer=e,this.pointerDirty=!0}}},x={name:"vue-multiselect",mixins:[_,S],compatConfig:{MODE:3,ATTR_ENUMERATED_COERCION:!1},props:{name:{type:String,default:""},modelValue:{type:null,default(){return[]}},selectLabel:{type:String,default:"Press enter to select"},selectGroupLabel:{type:String,default:"Press enter to select group"},selectedLabel:{type:String,default:"Selected"},deselectLabel:{type:String,default:"Press enter to remove"},deselectGroupLabel:{type:String,default:"Press enter to deselect group"},showLabels:{type:Boolean,default:!0},limit:{type:Number,default:99999},maxHeight:{type:Number,default:300},limitText:{type:Function,default:e=>`and ${e} more`},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},openDirection:{type:String,default:""},showNoOptions:{type:Boolean,default:!0},showNoResults:{type:Boolean,default:!0},tabindex:{type:Number,default:0}},computed:{hasOptionGroup(){return this.groupValues&&this.groupLabel&&this.groupSelect},isSingleLabelVisible(){return!1},isPlaceholderVisible(){return!this.internalValue.length&&(!this.searchable||!this.isOpen)},visibleValues(){return this.internalValue.slice(0,this.limit)},singleValue(){return this.internalValue[0]},deselectLabelText(){return this.showLabels?this.deselectLabel:""},deselectGroupLabelText(){return this.showLabels?this.deselectGroupLabel:""},selectLabelText(){return this.showLabels?this.selectLabel:""},selectGroupLabelText(){return this.showLabels?this.selectGroupLabel:""},selectedLabelText(){return this.showLabels?this.selectedLabel:""},inputStyle(){return this.searchable||this.multiple&&this.modelValue&&this.modelValue.length?this.isOpen?{width:"100%"}:{width:"0",position:"absolute",padding:"0"}:""},contentStyle(){return this.options.length?{display:"inline-block"}:{display:"block"}},isAbove(){return"above"===this.openDirection||"top"===this.openDirection||"below"!==this.openDirection&&"bottom"!==this.openDirection&&"above"===this.preferredOpenDirection},showSearchInput(){return this.searchable&&(!this.hasSingleSelectedSlot||!this.visibleSingleValue&&0!==this.visibleSingleValue||this.isOpen)},showNoResultsSlot(){return this.showNoResults&&0===this.filteredOptions.length&&this.search&&!this.loading},showNoOptionsSlot(){return this.showNoOptions&&(0===this.options.length||!0===this.hasOptionGroup&&0===this.filteredOptions.length)&&!this.search&&!this.loading}}};var O=__webpack_require__(6262);const L=(0,O.A)(x,[["render",render]]),$=L,N=$;return s})()));
1
+ (function webpackUniversalModuleDefinition(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t(require("vue")):"function"===typeof define&&define.amd?define(["vue"],t):"object"===typeof exports?exports["ldmui"]=t(require("vue")):e["ldmui"]=t(e["vue"])})(self,(e=>(()=>{"use strict";var t={6262:(e,t)=>{t.A=(e,t)=>{const i=e.__vccOpts||e;for(const[e,s]of t)i[e]=s;return i}},2380:t=>{t.exports=e}},i={};function __webpack_require__(e){var s=i[e];if(void 0!==s)return s.exports;var l=i[e]={exports:{}};return t[e](l,l.exports,__webpack_require__),l.exports}(()=>{__webpack_require__.d=(e,t)=>{for(var i in t)__webpack_require__.o(t,i)&&!__webpack_require__.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})}})(),(()=>{__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})(),(()=>{__webpack_require__.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}})();var s={};__webpack_require__.r(s),__webpack_require__.d(s,{default:()=>N});var l=__webpack_require__(2380);const o=["tabindex","aria-owns"],n={ref:"tags",class:"multiselect__tags"},r={class:"multiselect__tags-wrap"},a=["textContent"],h=["onKeypress","onMousedown"],p={class:"multiselect__tag"},c=["textContent"],u={class:"multiselect__spinner"},d=["name","id","placeholder","value","disabled","tabindex","aria-controls"],m=["id"],g={key:0},f={class:"multiselect__option"},b=["id","role"],y=["onClick","onMouseenter","data-select","data-selected","data-deselect"],w=["data-select","data-deselect","onMouseenter","onMousedown"],V={class:"multiselect__option"},v={class:"multiselect__option"};function render(e,t,i,s,_,S){return(0,l.openBlock)(),(0,l.createElementBlock)("div",{tabindex:e.searchable?-1:i.tabindex,class:(0,l.normalizeClass)([{"multiselect--active":e.isOpen,"multiselect--disabled":i.disabled,"multiselect--above":S.isAbove,"multiselect--has-options-group":S.hasOptionGroup,"multiselect--list-empty":e.isOpen&&!S.showNoResultsSlot&&!S.showNoOptionsSlot&&0===e.filteredOptions.length},"multiselect"]),onFocus:t[12]||(t[12]=t=>e.activate()),onBlur:t[13]||(t[13]=t=>!e.searchable&&e.deactivate()),onKeydown:[t[14]||(t[14]=(0,l.withKeys)((0,l.withModifiers)((t=>e.pointerForward()),["self","prevent"]),["down"])),t[15]||(t[15]=(0,l.withKeys)((0,l.withModifiers)((t=>e.pointerBackward()),["self","prevent"]),["up"]))],onKeypress:t[16]||(t[16]=(0,l.withKeys)((0,l.withModifiers)((t=>e.addPointerElement(t)),["stop","self"]),["enter","tab"])),onKeyup:t[17]||(t[17]=(0,l.withKeys)((t=>e.deactivate()),["esc"])),role:"combobox","aria-owns":"listbox-"+e.id},[(0,l.renderSlot)(e.$slots,"caret",{toggle:e.toggle},(()=>[(0,l.createElementVNode)("div",{onMousedown:t[0]||(t[0]=(0,l.withModifiers)((t=>e.toggle()),["prevent","stop"])),class:"multiselect__select"},null,32)])),(0,l.createTextVNode)(),(0,l.renderSlot)(e.$slots,"clear",{search:e.search}),(0,l.createTextVNode)(),(0,l.createElementVNode)("div",n,[(0,l.renderSlot)(e.$slots,"selection",{search:e.search,remove:e.removeElement,values:S.visibleValues,isOpen:e.isOpen},(()=>[(0,l.withDirectives)((0,l.createElementVNode)("div",r,[((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(S.visibleValues,((t,i)=>(0,l.renderSlot)(e.$slots,"tag",{option:t,search:e.search,remove:e.removeElement},(()=>[((0,l.openBlock)(),(0,l.createElementBlock)("span",{class:"multiselect__tag",key:i},[(0,l.createElementVNode)("span",{textContent:(0,l.toDisplayString)(e.getOptionLabel(t))},null,8,a),(0,l.createTextVNode)(),(0,l.createElementVNode)("i",{tabindex:"1",onKeypress:(0,l.withKeys)((0,l.withModifiers)((i=>e.removeElement(t)),["prevent"]),["enter"]),onMousedown:(0,l.withModifiers)((i=>e.removeElement(t)),["prevent"]),class:"multiselect__tag-icon"},null,40,h)]))])))),256)),(0,l.createTextVNode)(),e.internalValue&&e.internalValue.length>i.limit?(0,l.renderSlot)(e.$slots,"tag-overflow",{key:0,limit:i.limit,count:e.internalValue.length},(()=>[(0,l.createElementVNode)("span",p,[(0,l.createElementVNode)("strong",{class:"multiselect__strong",textContent:(0,l.toDisplayString)(i.limitText(e.internalValue.length-i.limit))},null,8,c)])])):(0,l.createCommentVNode)("",!0)],512),[[l.vShow,S.visibleValues.length>0]])])),(0,l.createTextVNode)(),(0,l.createVNode)(l.Transition,{name:"multiselect__loading"},{default:(0,l.withCtx)((()=>[(0,l.renderSlot)(e.$slots,"loading",{},(()=>[(0,l.withDirectives)((0,l.createElementVNode)("div",u,null,512),[[l.vShow,i.loading]])]))])),_:3}),(0,l.createTextVNode)(),e.searchable?((0,l.openBlock)(),(0,l.createElementBlock)("input",{key:0,ref:"search",name:i.name,id:e.id,type:"text",autocomplete:"off",spellcheck:"false",placeholder:e.placeholder,style:(0,l.normalizeStyle)(S.inputStyle),value:e.search,disabled:i.disabled,tabindex:i.tabindex,class:"multiselect__input","aria-controls":"listbox-"+e.id,onInput:t[1]||(t[1]=t=>e.updateSearch(t.target.value)),onFocus:t[2]||(t[2]=(0,l.withModifiers)((t=>e.activate()),["prevent"])),onKeyup:t[3]||(t[3]=(0,l.withKeys)((t=>e.deactivate()),["esc"])),onKeydown:[t[4]||(t[4]=(0,l.withKeys)((0,l.withModifiers)((t=>e.pointerForward()),["prevent"]),["down"])),t[5]||(t[5]=(0,l.withKeys)((0,l.withModifiers)((t=>e.pointerBackward()),["prevent"]),["up"])),t[7]||(t[7]=(0,l.withKeys)((0,l.withModifiers)((t=>e.removeLastElement()),["stop"]),["delete"]))],onKeypress:t[6]||(t[6]=(0,l.withKeys)((0,l.withModifiers)((t=>e.addPointerElement(t)),["prevent","stop","self"]),["enter"]))},null,44,d)):(0,l.createCommentVNode)("",!0),(0,l.createTextVNode)(),S.isSingleLabelVisible?((0,l.openBlock)(),(0,l.createElementBlock)("span",{key:1,class:"multiselect__single",onMousedown:t[8]||(t[8]=(0,l.withModifiers)(((...t)=>e.toggle&&e.toggle(...t)),["prevent"]))},[(0,l.renderSlot)(e.$slots,"singleLabel",{option:S.singleValue},(()=>[(0,l.createTextVNode)((0,l.toDisplayString)(e.currentOptionLabel),1)]))],32)):(0,l.createCommentVNode)("",!0),(0,l.createTextVNode)(),S.isPlaceholderVisible?((0,l.openBlock)(),(0,l.createElementBlock)("span",{key:2,class:"multiselect__placeholder",onMousedown:t[9]||(t[9]=(0,l.withModifiers)(((...t)=>e.toggle&&e.toggle(...t)),["prevent"]))},[(0,l.renderSlot)(e.$slots,"placeholder",{},(()=>[(0,l.createTextVNode)((0,l.toDisplayString)(e.placeholder),1)]))],32)):(0,l.createCommentVNode)("",!0)],512),(0,l.createTextVNode)(),(0,l.createVNode)(l.Transition,{name:"multiselect"},{default:(0,l.withCtx)((()=>[(0,l.withDirectives)((0,l.createElementVNode)("div",{class:"multiselect__content-wrapper",onFocus:t[10]||(t[10]=(...t)=>e.activate&&e.activate(...t)),tabindex:"-1",onMousedown:t[11]||(t[11]=(0,l.withModifiers)((()=>{}),["prevent"])),style:(0,l.normalizeStyle)({maxHeight:e.optimizedHeight+"px"}),ref:"list"},[(0,l.createElementVNode)("ul",{class:"multiselect__content",style:(0,l.normalizeStyle)(S.contentStyle),role:"listbox",id:"listbox-"+e.id},[(0,l.renderSlot)(e.$slots,"beforeList"),(0,l.createTextVNode)(),e.multiple&&e.max===e.internalValue.length?((0,l.openBlock)(),(0,l.createElementBlock)("li",g,[(0,l.createElementVNode)("span",f,[(0,l.renderSlot)(e.$slots,"maxElements",{},(()=>[(0,l.createTextVNode)("Maximum of "+(0,l.toDisplayString)(e.max)+" options selected. First remove a selected option to select another.",1)]))])])):(0,l.createCommentVNode)("",!0),(0,l.createTextVNode)(),!e.max||e.internalValue.length<e.max?((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,{key:1},(0,l.renderList)(e.filteredOptions,((t,i)=>((0,l.openBlock)(),(0,l.createElementBlock)("li",{class:"multiselect__element",key:i,id:e.id+"-"+i,role:t&&(t.$isLabel||t.$isDisabled)?null:"option"},[t&&(t.$isLabel||t.$isDisabled)?(0,l.createCommentVNode)("",!0):((0,l.openBlock)(),(0,l.createElementBlock)("span",{key:0,class:(0,l.normalizeClass)([e.optionHighlight(i,t),"multiselect__option"]),onClick:(0,l.withModifiers)((i=>e.select(t)),["stop"]),onMouseenter:(0,l.withModifiers)((t=>e.pointerSet(i)),["self"]),"data-select":t&&t.isTag?e.tagPlaceholder:S.selectLabelText,"data-selected":S.selectedLabelText,"data-deselect":S.deselectLabelText},[(0,l.renderSlot)(e.$slots,"option",{option:t,search:e.search,index:i},(()=>[(0,l.createElementVNode)("span",null,(0,l.toDisplayString)(e.getOptionLabel(t)),1)]))],42,y)),(0,l.createTextVNode)(),t&&(t.$isLabel||t.$isDisabled)?((0,l.openBlock)(),(0,l.createElementBlock)("span",{key:1,"data-select":e.groupSelect&&S.selectGroupLabelText,"data-deselect":e.groupSelect&&S.deselectGroupLabelText,class:(0,l.normalizeClass)([e.groupHighlight(i,t),"multiselect__option"]),onMouseenter:(0,l.withModifiers)((t=>e.groupSelect&&e.pointerSet(i)),["self"]),onMousedown:(0,l.withModifiers)((i=>e.selectGroup(t)),["prevent"])},[(0,l.renderSlot)(e.$slots,"option",{option:t,search:e.search,index:i},(()=>[(0,l.createElementVNode)("span",null,(0,l.toDisplayString)(e.getOptionLabel(t)),1)]))],42,w)):(0,l.createCommentVNode)("",!0)],8,b)))),128)):(0,l.createCommentVNode)("",!0),(0,l.createTextVNode)(),(0,l.withDirectives)((0,l.createElementVNode)("li",null,[(0,l.createElementVNode)("span",V,[(0,l.renderSlot)(e.$slots,"noResult",{search:e.search},(()=>[(0,l.createTextVNode)("No elements found. Consider changing the search query.")]))])],512),[[l.vShow,S.showNoResultsSlot]]),(0,l.createTextVNode)(),(0,l.withDirectives)((0,l.createElementVNode)("li",null,[(0,l.createElementVNode)("span",v,[(0,l.renderSlot)(e.$slots,"noOptions",{},(()=>[(0,l.createTextVNode)("List is empty.")]))])],512),[[l.vShow,S.showNoOptionsSlot]]),(0,l.createTextVNode)(),(0,l.renderSlot)(e.$slots,"afterList")],12,m)],36),[[l.vShow,e.isOpen]])])),_:3})],42,o)}function isEmpty(e){return 0!==e&&(!(!Array.isArray(e)||0!==e.length)||!e)}function not(e){return(...t)=>!e(...t)}function includes(e,t){void 0===e&&(e="undefined"),null===e&&(e="null"),!1===e&&(e="false");const i=e.toString().toLowerCase();return-1!==i.indexOf(t.trim())}function filterOptions(e,t,i,s){return t?e.filter((e=>includes(s(e,i),t))).sort(((e,t)=>s(e,i).length-s(t,i).length)):e}function stripGroups(e){return e.filter((e=>!e.$isLabel))}function flattenOptions(e,t){return i=>i.reduce(((i,s)=>s[e]&&s[e].length?(i.push({$groupLabel:s[t],$isLabel:!0}),i.concat(s[e])):i),[])}function filterGroups(e,t,i,s,l){return o=>o.map((o=>{if(!o[i])return console.warn("Options passed to vue-multiselect do not contain groups, despite the config."),[];const n=filterOptions(o[i],e,t,l);return n.length?{[s]:o[s],[i]:n}:[]}))}const flow=(...e)=>t=>e.reduce(((e,t)=>t(e)),t),_={data(){return{search:"",isOpen:!1,preferredOpenDirection:"below",optimizedHeight:this.maxHeight}},props:{internalSearch:{type:Boolean,default:!0},options:{type:Array,required:!0},multiple:{type:Boolean,default:!1},trackBy:{type:String},label:{type:String},searchable:{type:Boolean,default:!0},clearOnSelect:{type:Boolean,default:!0},hideSelected:{type:Boolean,default:!1},placeholder:{type:String,default:"Select option"},allowEmpty:{type:Boolean,default:!0},resetAfter:{type:Boolean,default:!1},closeOnSelect:{type:Boolean,default:!0},customLabel:{type:Function,default(e,t){return isEmpty(e)?"":t?e[t]:e}},taggable:{type:Boolean,default:!1},tagPlaceholder:{type:String,default:"Press enter to create a tag"},tagPosition:{type:String,default:"top"},max:{type:[Number,Boolean],default:!1},id:{default:null},optionsLimit:{type:Number,default:1e3},groupValues:{type:String},groupLabel:{type:String},groupSelect:{type:Boolean,default:!1},blockKeys:{type:Array,default(){return[]}},preserveSearch:{type:Boolean,default:!1},preselectFirst:{type:Boolean,default:!1},preventAutofocus:{type:Boolean,default:!1}},mounted(){!this.multiple&&this.max&&console.warn("[Vue-Multiselect warn]: Max prop should not be used when prop Multiple equals false."),this.preselectFirst&&!this.internalValue.length&&this.options.length&&this.select(this.filteredOptions[0])},computed:{internalValue(){return this.modelValue||0===this.modelValue?Array.isArray(this.modelValue)?this.modelValue:[this.modelValue]:[]},filteredOptions(){const e=this.search||"",t=e.toLowerCase().trim();let i=this.options.concat();return i=this.internalSearch?this.groupValues?this.filterAndFlat(i,t,this.label):filterOptions(i,t,this.label,this.customLabel):this.groupValues?flattenOptions(this.groupValues,this.groupLabel)(i):i,i=this.hideSelected?i.filter(not(this.isSelected)):i,this.taggable&&t.length&&!this.isExistingOption(t)&&("bottom"===this.tagPosition?i.push({isTag:!0,label:e}):i.unshift({isTag:!0,label:e})),i.slice(0,this.optionsLimit)},valueKeys(){return this.trackBy?this.internalValue.map((e=>e[this.trackBy])):this.internalValue},optionKeys(){const e=this.groupValues?this.flatAndStrip(this.options):this.options;return e.map((e=>this.customLabel(e,this.label).toString().toLowerCase()))},currentOptionLabel(){return this.multiple?this.searchable?"":this.placeholder:this.internalValue.length?this.getOptionLabel(this.internalValue[0]):this.searchable?"":this.placeholder}},watch:{internalValue:{handler(){this.resetAfter&&this.internalValue.length&&(this.search="",this.$emit("update:modelValue",this.multiple?[]:null))},deep:!0},search(){this.$emit("search-change",this.search)}},emits:["open","search-change","close","select","update:modelValue","remove","tag"],methods:{getValue(){return this.multiple?this.internalValue:0===this.internalValue.length?null:this.internalValue[0]},filterAndFlat(e,t,i){return flow(filterGroups(t,i,this.groupValues,this.groupLabel,this.customLabel),flattenOptions(this.groupValues,this.groupLabel))(e)},flatAndStrip(e){return flow(flattenOptions(this.groupValues,this.groupLabel),stripGroups)(e)},updateSearch(e){this.search=e},isExistingOption(e){return!!this.options&&this.optionKeys.indexOf(e)>-1},isSelected(e){const t=this.trackBy?e[this.trackBy]:e;return this.valueKeys.indexOf(t)>-1},isOptionDisabled(e){return!!e.$isDisabled},getOptionLabel(e){if(isEmpty(e))return"";if(e.isTag)return e.label;if(e.$isLabel)return e.$groupLabel;const t=this.customLabel(e,this.label);return isEmpty(t)?"":t},select(e,t){if(e.$isLabel&&this.groupSelect)this.selectGroup(e);else if(!(-1!==this.blockKeys.indexOf(t)||this.disabled||e.$isDisabled||e.$isLabel)&&(!this.max||!this.multiple||this.internalValue.length!==this.max)&&("Tab"!==t||this.pointerDirty)){if(e.isTag)this.$emit("tag",e.label,this.id),this.search="",this.closeOnSelect&&!this.multiple&&this.deactivate();else{const i=this.isSelected(e);if(i)return void("Tab"!==t&&this.removeElement(e));this.multiple?this.$emit("update:modelValue",this.internalValue.concat([e])):this.$emit("update:modelValue",e),this.$emit("select",e,this.id),this.clearOnSelect&&(this.search="")}this.closeOnSelect&&this.deactivate()}},selectGroup(e){const t=this.options.find((t=>t[this.groupLabel]===e.$groupLabel));if(t){if(this.wholeGroupSelected(t)){this.$emit("remove",t[this.groupValues],this.id);const e=this.internalValue.filter((e=>-1===t[this.groupValues].indexOf(e)));this.$emit("update:modelValue",e)}else{let e=t[this.groupValues].filter((e=>!(this.isOptionDisabled(e)||this.isSelected(e))));this.max&&e.splice(this.max-this.internalValue.length),this.$emit("select",e,this.id),this.$emit("update:modelValue",this.internalValue.concat(e))}this.closeOnSelect&&this.deactivate()}},wholeGroupSelected(e){return e[this.groupValues].every((e=>this.isSelected(e)||this.isOptionDisabled(e)))},wholeGroupDisabled(e){return e[this.groupValues].every(this.isOptionDisabled)},removeElement(e,t=!0){if(this.disabled)return;if(e.$isDisabled)return;if(!this.allowEmpty&&this.internalValue.length<=1)return void this.deactivate();const i="object"===typeof e?this.valueKeys.indexOf(e[this.trackBy]):this.valueKeys.indexOf(e);if(this.multiple){const e=this.internalValue.slice(0,i).concat(this.internalValue.slice(i+1));this.$emit("update:modelValue",e)}else this.$emit("update:modelValue",null);this.$emit("remove",e,this.id),this.closeOnSelect&&t&&this.deactivate()},removeLastElement(){-1===this.blockKeys.indexOf("Delete")&&0===this.search.length&&Array.isArray(this.internalValue)&&this.internalValue.length&&this.removeElement(this.internalValue[this.internalValue.length-1],!1)},activate(){if(this.isOpen||this.disabled)return;this.adjustPosition(),this.groupValues&&0===this.pointer&&this.filteredOptions.length&&(this.pointer=1),this.isOpen=!0,this.searchable?(this.preserveSearch||(this.search=""),this.preventAutofocus||this.$nextTick((()=>this.$refs.search&&this.$refs.search.focus()))):this.preventAutofocus||"undefined"!==typeof this.$el&&this.$el.focus(),this.$emit("open",this.id);const onMouseDown=e=>{if(e?.target){const t=e.target.closest(".multiselect");Boolean(t)||(this.deactivate(),document.removeEventListener("mousedown",onMouseDown))}};setTimeout((()=>{document.addEventListener("mousedown",onMouseDown)}),300)},deactivate(){this.isOpen&&(this.isOpen=!1,this.searchable?this.$refs.search&&this.$refs.search.blur():this.$el&&this.$el.blur(),this.preserveSearch||(this.search=""),this.$emit("close",this.getValue(),this.id))},toggle(){this.isOpen?this.deactivate():this.activate()},adjustPosition(){if("undefined"===typeof window)return;const e=this.$el.getBoundingClientRect().top,t=window.innerHeight-this.$el.getBoundingClientRect().bottom,i=t>this.maxHeight;i||t>e||"below"===this.openDirection||"bottom"===this.openDirection?(this.preferredOpenDirection="below",this.optimizedHeight=Math.min(t-40,this.maxHeight)):(this.preferredOpenDirection="above",this.optimizedHeight=Math.min(e-40,this.maxHeight))}}},S={data(){return{pointer:0,pointerDirty:!1}},props:{showPointer:{type:Boolean,default:!0},optionHeight:{type:Number,default:40}},computed:{pointerPosition(){return this.pointer*this.optionHeight},visibleElements(){return this.optimizedHeight/this.optionHeight}},watch:{filteredOptions(){this.pointerAdjust()},isOpen(){this.pointerDirty=!1},pointer(){this.$refs.search&&this.$refs.search.setAttribute("aria-activedescendant",this.id+"-"+this.pointer.toString())}},methods:{optionHighlight(e,t){return{"multiselect__option--highlight":e===this.pointer&&this.showPointer,"multiselect__option--selected":this.isSelected(t)}},groupHighlight(e,t){if(!this.groupSelect)return["multiselect__option--disabled",{"multiselect__option--group":t.$isLabel}];const i=this.options.find((e=>e[this.groupLabel]===t.$groupLabel));return i&&!this.wholeGroupDisabled(i)?["multiselect__option--group",{"multiselect__option--highlight":e===this.pointer&&this.showPointer},{"multiselect__option--group-selected":this.wholeGroupSelected(i)}]:"multiselect__option--disabled"},addPointerElement({key:e}="Enter"){this.filteredOptions.length>0&&this.select(this.filteredOptions[this.pointer],e),this.pointerReset()},pointerForward(){this.pointer<this.filteredOptions.length-1&&(this.pointer++,this.$refs.list.scrollTop<=this.pointerPosition-(this.visibleElements-1)*this.optionHeight&&(this.$refs.list.scrollTop=this.pointerPosition-(this.visibleElements-1)*this.optionHeight),this.filteredOptions[this.pointer]&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerForward()),this.pointerDirty=!0},pointerBackward(){this.pointer>0?(this.pointer--,this.$refs.list.scrollTop>=this.pointerPosition&&(this.$refs.list.scrollTop=this.pointerPosition),this.filteredOptions[this.pointer]&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerBackward()):this.filteredOptions[this.pointer]&&this.filteredOptions[0].$isLabel&&!this.groupSelect&&this.pointerForward(),this.pointerDirty=!0},pointerReset(){this.closeOnSelect&&(this.pointer=0,this.$refs.list&&(this.$refs.list.scrollTop=0))},pointerAdjust(){this.pointer>=this.filteredOptions.length-1&&(this.pointer=this.filteredOptions.length?this.filteredOptions.length-1:0),this.filteredOptions.length>0&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerForward()},pointerSet(e){this.pointer=e,this.pointerDirty=!0}}},x={name:"vue-multiselect",mixins:[_,S],compatConfig:{MODE:3,ATTR_ENUMERATED_COERCION:!1},props:{name:{type:String,default:""},modelValue:{type:null,default(){return[]}},selectLabel:{type:String,default:"Press enter to select"},selectGroupLabel:{type:String,default:"Press enter to select group"},selectedLabel:{type:String,default:"Selected"},deselectLabel:{type:String,default:"Press enter to remove"},deselectGroupLabel:{type:String,default:"Press enter to deselect group"},showLabels:{type:Boolean,default:!0},limit:{type:Number,default:99999},maxHeight:{type:Number,default:300},limitText:{type:Function,default:e=>`and ${e} more`},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},openDirection:{type:String,default:""},showNoOptions:{type:Boolean,default:!0},showNoResults:{type:Boolean,default:!0},tabindex:{type:Number,default:0}},computed:{hasOptionGroup(){return this.groupValues&&this.groupLabel&&this.groupSelect},isSingleLabelVisible(){return!1},isPlaceholderVisible(){return!this.internalValue.length&&(!this.searchable||!this.isOpen)},visibleValues(){return this.internalValue.slice(0,this.limit)},singleValue(){return this.internalValue[0]},deselectLabelText(){return this.showLabels?this.deselectLabel:""},deselectGroupLabelText(){return this.showLabels?this.deselectGroupLabel:""},selectLabelText(){return this.showLabels?this.selectLabel:""},selectGroupLabelText(){return this.showLabels?this.selectGroupLabel:""},selectedLabelText(){return this.showLabels?this.selectedLabel:""},inputStyle(){return this.searchable||this.multiple&&this.modelValue&&this.modelValue.length?this.isOpen?{width:"100%"}:{width:"0",position:"absolute",padding:"0"}:""},contentStyle(){return this.options.length?{display:"inline-block"}:{display:"block"}},isAbove(){return"above"===this.openDirection||"top"===this.openDirection||"below"!==this.openDirection&&"bottom"!==this.openDirection&&"above"===this.preferredOpenDirection},showSearchInput(){return this.searchable&&(!this.hasSingleSelectedSlot||!this.visibleSingleValue&&0!==this.visibleSingleValue||this.isOpen)},showNoResultsSlot(){return this.showNoResults&&0===this.filteredOptions.length&&this.search&&!this.loading},showNoOptionsSlot(){return this.showNoOptions&&(0===this.options.length||!0===this.hasOptionGroup&&0===this.filteredOptions.length)&&!this.search&&!this.loading}}};var O=__webpack_require__(6262);const L=(0,O.A)(x,[["render",render]]),$=L,N=$;return s})()));
@@ -32,7 +32,7 @@ export interface ldmuiOptions {
32
32
  isTablet: string;
33
33
  isDesktop: string;
34
34
  },
35
- language?: 'ru',
35
+ language?: string;
36
36
  LdIcon?: {
37
37
  path: string;
38
38
  map: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ldmjs/ui",
3
- "version": "1.0.43",
3
+ "version": "1.0.45",
4
4
  "description": "ldm ui",
5
5
  "main": "dist/index.js",
6
6
  "engines": {