@ldmjs/ui 1.0.0-dev-14 → 1.0.0-dev-16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1845,12 +1845,12 @@ function ld_breadcrumbs_reg(vue, options) {
1845
1845
  }
1846
1846
  /* harmony default export */ const src_ld_breadcrumbs = (ld_breadcrumbs_reg);
1847
1847
 
1848
- ;// 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[0]!./src/ld-edit-text/ld-edit-text.vue?vue&type=template&id=b6178fe4&scoped=true&ts=true
1848
+ ;// 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[0]!./src/ld-edit-text/ld-edit-text.vue?vue&type=template&id=5dac00fe&scoped=true&ts=true
1849
1849
 
1850
- const ld_edit_textvue_type_template_id_b6178fe4_scoped_true_ts_true_withScopeId = n => ((0,external_vue_.pushScopeId)("data-v-b6178fe4"), n = n(), (0,external_vue_.popScopeId)(), n);
1851
- const ld_edit_textvue_type_template_id_b6178fe4_scoped_true_ts_true_hoisted_1 = { class: "ld-edit-text" };
1852
- const ld_edit_textvue_type_template_id_b6178fe4_scoped_true_ts_true_hoisted_2 = { key: 0 };
1853
- const _hoisted_3 = /*#__PURE__*/ ld_edit_textvue_type_template_id_b6178fe4_scoped_true_ts_true_withScopeId(() => /*#__PURE__*/ (0,external_vue_.createElementVNode)("span", null, "Показать пароль", -1));
1850
+ const ld_edit_textvue_type_template_id_5dac00fe_scoped_true_ts_true_withScopeId = n => ((0,external_vue_.pushScopeId)("data-v-5dac00fe"), n = n(), (0,external_vue_.popScopeId)(), n);
1851
+ const ld_edit_textvue_type_template_id_5dac00fe_scoped_true_ts_true_hoisted_1 = { class: "ld-edit-text" };
1852
+ const ld_edit_textvue_type_template_id_5dac00fe_scoped_true_ts_true_hoisted_2 = { key: 0 };
1853
+ const _hoisted_3 = /*#__PURE__*/ ld_edit_textvue_type_template_id_5dac00fe_scoped_true_ts_true_withScopeId(() => /*#__PURE__*/ (0,external_vue_.createElementVNode)("span", null, "Показать пароль", -1));
1854
1854
  const _hoisted_4 = {
1855
1855
  key: 1,
1856
1856
  class: "d-flex w-100 flex-column",
@@ -1864,7 +1864,7 @@ const _hoisted_6 = {
1864
1864
  key: 1,
1865
1865
  class: "v-input__details textbox-validate"
1866
1866
  };
1867
- function ld_edit_textvue_type_template_id_b6178fe4_scoped_true_ts_true_render(_ctx, _cache, $props, $setup, $data, $options) {
1867
+ function ld_edit_textvue_type_template_id_5dac00fe_scoped_true_ts_true_render(_ctx, _cache, $props, $setup, $data, $options) {
1868
1868
  const _component_ld_label = (0,external_vue_.resolveComponent)("ld-label");
1869
1869
  const _component_ld_icon = (0,external_vue_.resolveComponent)("ld-icon");
1870
1870
  const _component_square_button = (0,external_vue_.resolveComponent)("square-button");
@@ -1873,7 +1873,7 @@ function ld_edit_textvue_type_template_id_b6178fe4_scoped_true_ts_true_render(_c
1873
1873
  const _component_imask_input = (0,external_vue_.resolveComponent)("imask-input");
1874
1874
  const _component_v_col = (0,external_vue_.resolveComponent)("v-col");
1875
1875
  const _component_v_row = (0,external_vue_.resolveComponent)("v-row");
1876
- return ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", ld_edit_textvue_type_template_id_b6178fe4_scoped_true_ts_true_hoisted_1, [
1876
+ return ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", ld_edit_textvue_type_template_id_5dac00fe_scoped_true_ts_true_hoisted_1, [
1877
1877
  (0,external_vue_.createVNode)(_component_v_row, { "no-gutters": "" }, {
1878
1878
  default: (0,external_vue_.withCtx)(() => [
1879
1879
  (_ctx.label)
@@ -1901,7 +1901,7 @@ function ld_edit_textvue_type_template_id_b6178fe4_scoped_true_ts_true_render(_c
1901
1901
  variant: "outlined",
1902
1902
  "persistent-hint": _ctx.persistentHint,
1903
1903
  rules: _ctx.validRules,
1904
- "validate-on": _ctx.validateOnBlur ? 'blur' : 'input lazy',
1904
+ "validate-on": "input",
1905
1905
  "validation-value": _ctx.type === 'password' ? _ctx.savedModelValue : _ctx.modelValue,
1906
1906
  placeholder: _ctx.placeholder,
1907
1907
  disabled: _ctx.disabled,
@@ -1979,7 +1979,7 @@ function ld_edit_textvue_type_template_id_b6178fe4_scoped_true_ts_true_render(_c
1979
1979
  default: (0,external_vue_.withCtx)(() => [
1980
1980
  (0,external_vue_.createTextVNode)(),
1981
1981
  (_ctx.passwordVisible)
1982
- ? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("span", ld_edit_textvue_type_template_id_b6178fe4_scoped_true_ts_true_hoisted_2, "Скрыть пароль"))
1982
+ ? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("span", ld_edit_textvue_type_template_id_5dac00fe_scoped_true_ts_true_hoisted_2, "Скрыть пароль"))
1983
1983
  : (0,external_vue_.createCommentVNode)("", true),
1984
1984
  (0,external_vue_.createTextVNode)(),
1985
1985
  _hoisted_3
@@ -2002,7 +2002,7 @@ function ld_edit_textvue_type_template_id_b6178fe4_scoped_true_ts_true_render(_c
2002
2002
  key: "1"
2003
2003
  }
2004
2004
  : undefined
2005
- ]), 1032, ["model-value", "type", "class", "persistent-hint", "rules", "validate-on", "validation-value", "placeholder", "disabled", "readonly", "hint", "mask", "tabindex", "maxlength", "autofocus", "hide-details", "prefix", "suffix", "clearable", "error", "error-messages", "prepend-inner-icon", "autocomplete", "onChange", "onUpdate:modelValue", "onBlur", "onFocus", "onClick", "onKeydown", "onCopy"]))
2005
+ ]), 1032, ["model-value", "type", "class", "persistent-hint", "rules", "validation-value", "placeholder", "disabled", "readonly", "hint", "mask", "tabindex", "maxlength", "autofocus", "hide-details", "prefix", "suffix", "clearable", "error", "error-messages", "prepend-inner-icon", "autocomplete", "onChange", "onUpdate:modelValue", "onBlur", "onFocus", "onClick", "onKeydown", "onCopy"]))
2006
2006
  : ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", _hoisted_4, [
2007
2007
  (0,external_vue_.createVNode)(_component_imask_input, {
2008
2008
  ref: "maskInput",
@@ -2051,7 +2051,7 @@ function ld_edit_textvue_type_template_id_b6178fe4_scoped_true_ts_true_render(_c
2051
2051
  ]));
2052
2052
  }
2053
2053
 
2054
- ;// CONCATENATED MODULE: ./src/ld-edit-text/ld-edit-text.vue?vue&type=template&id=b6178fe4&scoped=true&ts=true
2054
+ ;// CONCATENATED MODULE: ./src/ld-edit-text/ld-edit-text.vue?vue&type=template&id=5dac00fe&scoped=true&ts=true
2055
2055
 
2056
2056
  ;// CONCATENATED MODULE: ./src/decorators/emit.decorator.ts
2057
2057
 
@@ -2345,6 +2345,41 @@ grid_mixin_decorate([
2345
2345
  grid_mixin_metadata("design:returntype", void 0)
2346
2346
  ], GridMixin.prototype, "onMobileViewChanged", null);
2347
2347
 
2348
+ ;// CONCATENATED MODULE: ./src/utils/UIDGenerator.ts
2349
+ function uidGen(len = 6, format) {
2350
+ let result = '';
2351
+ let dic = '';
2352
+ switch (format) {
2353
+ case 'a-z':
2354
+ dic = 'abcdefghijklmnopqrstuvwxyz';
2355
+ break;
2356
+ case 'A-Z':
2357
+ dic = 'ABCDEFGHIJKLMNOPQRSTUWVXYZ';
2358
+ break;
2359
+ case '0-9':
2360
+ dic = '1234567890';
2361
+ break;
2362
+ case 'a-zA-Z':
2363
+ dic = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUWVXYZ';
2364
+ break;
2365
+ case 'a-z0-9':
2366
+ dic = 'abcdefghijklmnopqrstuvwxyz1234567890';
2367
+ break;
2368
+ case 'A-Z0-9':
2369
+ dic = 'ABCDEFGHIJKLMNOPQRSTUWVXYZ1234567890';
2370
+ break;
2371
+ default:
2372
+ dic = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUWVXYZ1234567890';
2373
+ }
2374
+ for (let i = 0; i < len; i++) {
2375
+ result += dic.charAt(Math.floor(Math.random() * dic.length));
2376
+ }
2377
+ if (format === '0-9') {
2378
+ return Number(result);
2379
+ }
2380
+ return result;
2381
+ }
2382
+
2348
2383
  // EXTERNAL MODULE: external "@vuelidate/validators"
2349
2384
  var validators_ = __webpack_require__(887);
2350
2385
  ;// CONCATENATED MODULE: ./src/mixins/validators.ts
@@ -2494,41 +2529,6 @@ const validators = {
2494
2529
  };
2495
2530
  /* harmony default export */ const mixins_validators = ({});
2496
2531
 
2497
- ;// CONCATENATED MODULE: ./src/utils/UIDGenerator.ts
2498
- function uidGen(len = 6, format) {
2499
- let result = '';
2500
- let dic = '';
2501
- switch (format) {
2502
- case 'a-z':
2503
- dic = 'abcdefghijklmnopqrstuvwxyz';
2504
- break;
2505
- case 'A-Z':
2506
- dic = 'ABCDEFGHIJKLMNOPQRSTUWVXYZ';
2507
- break;
2508
- case '0-9':
2509
- dic = '1234567890';
2510
- break;
2511
- case 'a-zA-Z':
2512
- dic = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUWVXYZ';
2513
- break;
2514
- case 'a-z0-9':
2515
- dic = 'abcdefghijklmnopqrstuvwxyz1234567890';
2516
- break;
2517
- case 'A-Z0-9':
2518
- dic = 'ABCDEFGHIJKLMNOPQRSTUWVXYZ1234567890';
2519
- break;
2520
- default:
2521
- dic = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUWVXYZ1234567890';
2522
- }
2523
- for (let i = 0; i < len; i++) {
2524
- result += dic.charAt(Math.floor(Math.random() * dic.length));
2525
- }
2526
- if (format === '0-9') {
2527
- return Number(result);
2528
- }
2529
- return result;
2530
- }
2531
-
2532
2532
  ;// CONCATENATED MODULE: ./src/mixins/validatable.mixin.ts
2533
2533
  var validatable_mixin_decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
2534
2534
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
@@ -2944,7 +2944,7 @@ EditTextComponent = ld_edit_textvue_type_script_lang_ts_external_decorate([
2944
2944
  ;
2945
2945
 
2946
2946
 
2947
- const ld_edit_text_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(ld_edit_textvue_type_script_lang_ts_external, [['render',ld_edit_textvue_type_template_id_b6178fe4_scoped_true_ts_true_render],['__scopeId',"data-v-b6178fe4"]])
2947
+ const ld_edit_text_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(ld_edit_textvue_type_script_lang_ts_external, [['render',ld_edit_textvue_type_template_id_5dac00fe_scoped_true_ts_true_render],['__scopeId',"data-v-5dac00fe"]])
2948
2948
 
2949
2949
  /* harmony default export */ const ld_edit_text = (ld_edit_text_exports_);
2950
2950
  ;// CONCATENATED MODULE: ./src/ld-edit-text/index.ts
@@ -4512,25 +4512,25 @@ function ld_page_toolbar_reg(vue, options) {
4512
4512
  }
4513
4513
  /* harmony default export */ const src_ld_page_toolbar = (ld_page_toolbar_reg);
4514
4514
 
4515
- ;// 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[0]!./src/ld-select-list-box/ld-select-list-box.vue?vue&type=template&id=b48ca034&scoped=true&ts=true
4515
+ ;// 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[0]!./src/ld-select-list-box/ld-select-list-box.vue?vue&type=template&id=9fce65ba&scoped=true&ts=true
4516
4516
 
4517
- const ld_select_list_boxvue_type_template_id_b48ca034_scoped_true_ts_true_withScopeId = n => (_pushScopeId("data-v-b48ca034"), n = n(), _popScopeId(), n);
4518
- const ld_select_list_boxvue_type_template_id_b48ca034_scoped_true_ts_true_hoisted_1 = { class: "text-crop" };
4519
- const ld_select_list_boxvue_type_template_id_b48ca034_scoped_true_ts_true_hoisted_2 = {
4517
+ const ld_select_list_boxvue_type_template_id_9fce65ba_scoped_true_ts_true_withScopeId = n => (_pushScopeId("data-v-9fce65ba"), n = n(), _popScopeId(), n);
4518
+ const ld_select_list_boxvue_type_template_id_9fce65ba_scoped_true_ts_true_hoisted_1 = { class: "text-crop" };
4519
+ const ld_select_list_boxvue_type_template_id_9fce65ba_scoped_true_ts_true_hoisted_2 = {
4520
4520
  key: 0,
4521
4521
  class: "d-flex align-center"
4522
4522
  };
4523
- const ld_select_list_boxvue_type_template_id_b48ca034_scoped_true_ts_true_hoisted_3 = { class: "d-flex flex-column ml-2 justify-center" };
4524
- const ld_select_list_boxvue_type_template_id_b48ca034_scoped_true_ts_true_hoisted_4 = {
4523
+ const ld_select_list_boxvue_type_template_id_9fce65ba_scoped_true_ts_true_hoisted_3 = { class: "d-flex flex-column ml-2 justify-center" };
4524
+ const ld_select_list_boxvue_type_template_id_9fce65ba_scoped_true_ts_true_hoisted_4 = {
4525
4525
  key: 0,
4526
4526
  class: "grey--text",
4527
4527
  style: { "font-size": "var(--font-size--1)" }
4528
4528
  };
4529
- const ld_select_list_boxvue_type_template_id_b48ca034_scoped_true_ts_true_hoisted_5 = {
4529
+ const ld_select_list_boxvue_type_template_id_9fce65ba_scoped_true_ts_true_hoisted_5 = {
4530
4530
  key: 0,
4531
4531
  class: "select-list-textbox-loading"
4532
4532
  };
4533
- const ld_select_list_boxvue_type_template_id_b48ca034_scoped_true_ts_true_hoisted_6 = {
4533
+ const ld_select_list_boxvue_type_template_id_9fce65ba_scoped_true_ts_true_hoisted_6 = {
4534
4534
  key: 0,
4535
4535
  class: "select-list-textbox-validate"
4536
4536
  };
@@ -4538,7 +4538,7 @@ const _hoisted_7 = {
4538
4538
  key: 0,
4539
4539
  class: "select-list-textbox-validate"
4540
4540
  };
4541
- function ld_select_list_boxvue_type_template_id_b48ca034_scoped_true_ts_true_render(_ctx, _cache, $props, $setup, $data, $options) {
4541
+ function ld_select_list_boxvue_type_template_id_9fce65ba_scoped_true_ts_true_render(_ctx, _cache, $props, $setup, $data, $options) {
4542
4542
  const _component_ld_label = (0,external_vue_.resolveComponent)("ld-label");
4543
4543
  const _component_small_chip = (0,external_vue_.resolveComponent)("small-chip");
4544
4544
  const _component_v_col = (0,external_vue_.resolveComponent)("v-col");
@@ -4612,7 +4612,7 @@ function ld_select_list_boxvue_type_template_id_b48ca034_scoped_true_ts_true_ren
4612
4612
  "onClick:close": ($event) => (_ctx.onRemoveItem(option))
4613
4613
  }, {
4614
4614
  default: (0,external_vue_.withCtx)(() => [
4615
- (0,external_vue_.createElementVNode)("span", ld_select_list_boxvue_type_template_id_b48ca034_scoped_true_ts_true_hoisted_1, (0,external_vue_.toDisplayString)(_ctx.$utils.deepValueGetter(option, this.itemText)), 1)
4615
+ (0,external_vue_.createElementVNode)("span", ld_select_list_boxvue_type_template_id_9fce65ba_scoped_true_ts_true_hoisted_1, (0,external_vue_.toDisplayString)(_ctx.$utils.deepValueGetter(option, this.itemText)), 1)
4616
4616
  ]),
4617
4617
  _: 2
4618
4618
  }, 1032, ["color", "closable", "onClick:close"]))
@@ -4627,7 +4627,7 @@ function ld_select_list_boxvue_type_template_id_b48ca034_scoped_true_ts_true_ren
4627
4627
  (0,external_vue_.createVNode)(_component_v_col, { class: "d-flex align-center" }, {
4628
4628
  default: (0,external_vue_.withCtx)(() => [
4629
4629
  (_ctx.multiselect)
4630
- ? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", ld_select_list_boxvue_type_template_id_b48ca034_scoped_true_ts_true_hoisted_2, [
4630
+ ? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", ld_select_list_boxvue_type_template_id_9fce65ba_scoped_true_ts_true_hoisted_2, [
4631
4631
  ((0,external_vue_.openBlock)(), (0,external_vue_.createBlock)((0,external_vue_.resolveDynamicComponent)(_ctx.$ldmui.options.aliases['ld-checkbox']), {
4632
4632
  key: JSON.stringify(option),
4633
4633
  "model-value": _ctx.checkedItems,
@@ -4637,13 +4637,13 @@ function ld_select_list_boxvue_type_template_id_b48ca034_scoped_true_ts_true_ren
4637
4637
  ]))
4638
4638
  : (0,external_vue_.createCommentVNode)("", true),
4639
4639
  (0,external_vue_.createTextVNode)(),
4640
- (0,external_vue_.createElementVNode)("div", ld_select_list_boxvue_type_template_id_b48ca034_scoped_true_ts_true_hoisted_3, [
4640
+ (0,external_vue_.createElementVNode)("div", ld_select_list_boxvue_type_template_id_9fce65ba_scoped_true_ts_true_hoisted_3, [
4641
4641
  (0,external_vue_.renderSlot)(_ctx.$slots, "option", (0,external_vue_.normalizeProps)((0,external_vue_.guardReactiveProps)({ item: option, isSelected: _ctx.checkedItems.includes(_ctx.itemIdentity(option)) })), () => [
4642
- (0,external_vue_.createElementVNode)("div", null, (0,external_vue_.toDisplayString)(_ctx.$utils.deepValueGetter(option, _ctx.itemText)), 1)
4642
+ (0,external_vue_.createElementVNode)("div", null, (0,external_vue_.toDisplayString)(_ctx.$utils.deepValueGetter(option, _ctx.itemTitle)), 1)
4643
4643
  ], true),
4644
4644
  (0,external_vue_.createTextVNode)(),
4645
4645
  (_ctx.optionHint)
4646
- ? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", ld_select_list_boxvue_type_template_id_b48ca034_scoped_true_ts_true_hoisted_4, [
4646
+ ? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", ld_select_list_boxvue_type_template_id_9fce65ba_scoped_true_ts_true_hoisted_4, [
4647
4647
  (0,external_vue_.renderSlot)(_ctx.$slots, "option-hint", (0,external_vue_.normalizeProps)((0,external_vue_.guardReactiveProps)({ item: option })), () => [
4648
4648
  (0,external_vue_.createTextVNode)("\r\n no slot \"option-hint\" found\r\n ")
4649
4649
  ], true)
@@ -4684,7 +4684,7 @@ function ld_select_list_boxvue_type_template_id_b48ca034_scoped_true_ts_true_ren
4684
4684
  }, 8, ["disabled", "loading", "onClick"]),
4685
4685
  (0,external_vue_.createTextVNode)(),
4686
4686
  (_ctx.loading)
4687
- ? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", ld_select_list_boxvue_type_template_id_b48ca034_scoped_true_ts_true_hoisted_5))
4687
+ ? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", ld_select_list_boxvue_type_template_id_9fce65ba_scoped_true_ts_true_hoisted_5))
4688
4688
  : (0,external_vue_.createCommentVNode)("", true)
4689
4689
  ]),
4690
4690
  _: 3
@@ -4694,7 +4694,7 @@ function ld_select_list_boxvue_type_template_id_b48ca034_scoped_true_ts_true_ren
4694
4694
  }),
4695
4695
  (0,external_vue_.createTextVNode)(),
4696
4696
  (!_ctx.hideDetails)
4697
- ? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", ld_select_list_boxvue_type_template_id_b48ca034_scoped_true_ts_true_hoisted_6, [
4697
+ ? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", ld_select_list_boxvue_type_template_id_9fce65ba_scoped_true_ts_true_hoisted_6, [
4698
4698
  (0,external_vue_.createVNode)(external_vue_.Transition, { name: "squash" }, {
4699
4699
  default: (0,external_vue_.withCtx)(() => [
4700
4700
  (_ctx.showHint)
@@ -4746,7 +4746,7 @@ function ld_select_list_boxvue_type_template_id_b48ca034_scoped_true_ts_true_ren
4746
4746
  }));
4747
4747
  }
4748
4748
 
4749
- ;// CONCATENATED MODULE: ./src/ld-select-list-box/ld-select-list-box.vue?vue&type=template&id=b48ca034&scoped=true&ts=true
4749
+ ;// CONCATENATED MODULE: ./src/ld-select-list-box/ld-select-list-box.vue?vue&type=template&id=9fce65ba&scoped=true&ts=true
4750
4750
 
4751
4751
  // EXTERNAL MODULE: external "./multiselect.js"
4752
4752
  var external_multiselect_js_ = __webpack_require__(9225);
@@ -7330,8 +7330,8 @@ let SelectListBoxComponent = class SelectListBoxComponent extends (0,external_vu
7330
7330
  return this.readedItems;
7331
7331
  }
7332
7332
  return this.readedItems.filter(item => {
7333
- if (this.itemText in item) {
7334
- const value = String(this.$utils.deepValueGetter(item, this.itemText));
7333
+ if (this.itemTitle in item) {
7334
+ const value = String(this.$utils.deepValueGetter(item, this.itemTitle));
7335
7335
  return value.toLowerCase().indexOf(searchTerm.toLowerCase()) > -1;
7336
7336
  }
7337
7337
  });
@@ -7367,7 +7367,7 @@ ld_select_list_boxvue_type_script_lang_ts_external_decorate([
7367
7367
  ld_select_list_boxvue_type_script_lang_ts_external_decorate([
7368
7368
  (0,external_vue_property_decorator_.Prop)({ type: String, default: 'value' }),
7369
7369
  ld_select_list_boxvue_type_script_lang_ts_external_metadata("design:type", String)
7370
- ], SelectListBoxComponent.prototype, "itemText", void 0);
7370
+ ], SelectListBoxComponent.prototype, "itemTitle", void 0);
7371
7371
  ld_select_list_boxvue_type_script_lang_ts_external_decorate([
7372
7372
  (0,external_vue_property_decorator_.Prop)({ type: String, default: 'id' }),
7373
7373
  ld_select_list_boxvue_type_script_lang_ts_external_metadata("design:type", String)
@@ -7470,7 +7470,7 @@ SelectListBoxComponent = ld_select_list_boxvue_type_script_lang_ts_external_deco
7470
7470
  ;
7471
7471
 
7472
7472
 
7473
- 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_b48ca034_scoped_true_ts_true_render],['__scopeId',"data-v-b48ca034"]])
7473
+ 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_9fce65ba_scoped_true_ts_true_render],['__scopeId',"data-v-9fce65ba"]])
7474
7474
 
7475
7475
  /* harmony default export */ const ld_select_list_box = (ld_select_list_box_exports_);
7476
7476
  ;// CONCATENATED MODULE: ./src/ld-select-list-box/index.ts
@@ -8205,6 +8205,607 @@ function ld_radiogroup_reg(vue, options) {
8205
8205
  }
8206
8206
  /* harmony default export */ const src_ld_radiogroup = (ld_radiogroup_reg);
8207
8207
 
8208
+ ;// 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[0]!./src/ld-textarea/ld-textarea.vue?vue&type=template&id=515ad14b&scoped=true&ts=true
8209
+
8210
+ const ld_textareavue_type_template_id_515ad14b_scoped_true_ts_true_withScopeId = n => (_pushScopeId("data-v-515ad14b"), n = n(), _popScopeId(), n);
8211
+ const ld_textareavue_type_template_id_515ad14b_scoped_true_ts_true_hoisted_1 = { class: "ld-textarea" };
8212
+ function ld_textareavue_type_template_id_515ad14b_scoped_true_ts_true_render(_ctx, _cache, $props, $setup, $data, $options) {
8213
+ const _component_ld_label = (0,external_vue_.resolveComponent)("ld-label");
8214
+ const _component_ld_icon = (0,external_vue_.resolveComponent)("ld-icon");
8215
+ const _component_square_button = (0,external_vue_.resolveComponent)("square-button");
8216
+ const _component_v_textarea = (0,external_vue_.resolveComponent)("v-textarea");
8217
+ const _component_v_col = (0,external_vue_.resolveComponent)("v-col");
8218
+ const _component_v_row = (0,external_vue_.resolveComponent)("v-row");
8219
+ return ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", ld_textareavue_type_template_id_515ad14b_scoped_true_ts_true_hoisted_1, [
8220
+ (0,external_vue_.createVNode)(_component_v_row, { "no-gutters": "" }, {
8221
+ default: (0,external_vue_.withCtx)(() => [
8222
+ (_ctx.label)
8223
+ ? ((0,external_vue_.openBlock)(), (0,external_vue_.createBlock)(_component_ld_label, {
8224
+ key: 0,
8225
+ class: (0,external_vue_.normalizeClass)([_ctx.labelSizeClasses]),
8226
+ label: _ctx.label,
8227
+ required: _ctx.required,
8228
+ "align-label-to-right": _ctx.alignLabelToRight
8229
+ }, null, 8, ["class", "label", "required", "align-label-to-right"]))
8230
+ : (0,external_vue_.createCommentVNode)("", true),
8231
+ (0,external_vue_.createTextVNode)(),
8232
+ (0,external_vue_.createVNode)(_component_v_col, {
8233
+ class: (0,external_vue_.normalizeClass)(_ctx.inputSizeClasses)
8234
+ }, {
8235
+ default: (0,external_vue_.withCtx)(() => [
8236
+ (0,external_vue_.createVNode)(_component_v_textarea, {
8237
+ modelValue: _ctx.internalModel,
8238
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => ((_ctx.internalModel) = $event)),
8239
+ ref: "vInput",
8240
+ type: _ctx.type,
8241
+ class: (0,external_vue_.normalizeClass)({ disabled: _ctx.disabled, 'none-resizable': !_ctx.resizable }),
8242
+ "single-line": "",
8243
+ variant: "outlined",
8244
+ "hide-details": _ctx.hideDetails,
8245
+ "persistent-hint": _ctx.persistentHint,
8246
+ rules: _ctx.validRules,
8247
+ "validate-on": "input",
8248
+ placeholder: _ctx.placeholder,
8249
+ disabled: _ctx.disabled,
8250
+ readonly: _ctx.readonly,
8251
+ hint: _ctx.inputHint,
8252
+ tabindex: _ctx.tabIndex,
8253
+ maxlength: _ctx.maxlength,
8254
+ error: _ctx.showError,
8255
+ "error-messages": _ctx.validationMessage,
8256
+ rows: _ctx.rows,
8257
+ onBlur: _ctx.onBlur
8258
+ }, {
8259
+ "append-inner": (0,external_vue_.withCtx)(() => [
8260
+ (_ctx.clearIcon && _ctx.modelValue)
8261
+ ? ((0,external_vue_.openBlock)(), (0,external_vue_.createBlock)(_component_square_button, {
8262
+ key: 0,
8263
+ color: "error",
8264
+ onClick: _cache[0] || (_cache[0] = ($event) => (_ctx.emitUpdateValue('')))
8265
+ }, {
8266
+ default: (0,external_vue_.withCtx)(() => [
8267
+ (0,external_vue_.createVNode)(_component_ld_icon, null, {
8268
+ default: (0,external_vue_.withCtx)(() => [
8269
+ (0,external_vue_.createTextVNode)("close")
8270
+ ]),
8271
+ _: 1
8272
+ })
8273
+ ]),
8274
+ _: 1
8275
+ }))
8276
+ : (0,external_vue_.createCommentVNode)("", true)
8277
+ ]),
8278
+ _: 1
8279
+ }, 8, ["modelValue", "type", "class", "hide-details", "persistent-hint", "rules", "placeholder", "disabled", "readonly", "hint", "tabindex", "maxlength", "error", "error-messages", "rows", "onBlur"])
8280
+ ]),
8281
+ _: 1
8282
+ }, 8, ["class"])
8283
+ ]),
8284
+ _: 1
8285
+ })
8286
+ ]));
8287
+ }
8288
+
8289
+ ;// CONCATENATED MODULE: ./src/ld-textarea/ld-textarea.vue?vue&type=template&id=515ad14b&scoped=true&ts=true
8290
+
8291
+ ;// CONCATENATED MODULE: ./node_modules/ts-loader/index.js??clonedRuleSet-1.use!./src/ld-textarea/ld-textarea.ts?vue&type=script&lang=ts&external
8292
+ var ld_textareavue_type_script_lang_ts_external_decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
8293
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
8294
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
8295
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
8296
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
8297
+ };
8298
+ var ld_textareavue_type_script_lang_ts_external_metadata = (undefined && undefined.__metadata) || function (k, v) {
8299
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
8300
+ };
8301
+
8302
+
8303
+
8304
+
8305
+
8306
+
8307
+
8308
+ /**
8309
+ * @displayName ld-textarea
8310
+ */
8311
+ let TextareaComponent = class TextareaComponent extends (0,external_vue_class_component_.mixins)(ValidatableMixin, GridMixin, InputMixin) {
8312
+ constructor() {
8313
+ super(...arguments);
8314
+ this.internalModel = '';
8315
+ }
8316
+ emitUpdateValue(value) {
8317
+ return value;
8318
+ }
8319
+ emitBlur(event) {
8320
+ return event;
8321
+ }
8322
+ onTextChanged() {
8323
+ this.internalModel = this.modelValue;
8324
+ this.validate();
8325
+ }
8326
+ onInternalModelChanged() {
8327
+ this.emitUpdateValue(this.internalModel);
8328
+ }
8329
+ created() {
8330
+ if (this.form) {
8331
+ this.form?.register(this, null);
8332
+ }
8333
+ this.internalModel = this.modelValue;
8334
+ }
8335
+ onBlur(event) {
8336
+ this.emitBlur(event);
8337
+ }
8338
+ validate() {
8339
+ let funcResult = null;
8340
+ this.validationMessage = '';
8341
+ for (const func of this.validRules) {
8342
+ if (this.validationMessage) {
8343
+ break;
8344
+ }
8345
+ funcResult = func(this.modelValue);
8346
+ if (typeof funcResult === 'string') {
8347
+ this.validationMessage = funcResult;
8348
+ }
8349
+ }
8350
+ return !this.validationMessage;
8351
+ }
8352
+ get appendIcon() {
8353
+ if (this.clearIcon && this.modelValue) {
8354
+ return 'close';
8355
+ }
8356
+ return '';
8357
+ }
8358
+ };
8359
+ ld_textareavue_type_script_lang_ts_external_decorate([
8360
+ (0,external_vue_property_decorator_.Prop)(),
8361
+ ld_textareavue_type_script_lang_ts_external_metadata("design:type", String)
8362
+ ], TextareaComponent.prototype, "modelValue", void 0);
8363
+ ld_textareavue_type_script_lang_ts_external_decorate([
8364
+ (0,external_vue_property_decorator_.Prop)({ default: 'text' }),
8365
+ ld_textareavue_type_script_lang_ts_external_metadata("design:type", String)
8366
+ ], TextareaComponent.prototype, "type", void 0);
8367
+ ld_textareavue_type_script_lang_ts_external_decorate([
8368
+ (0,external_vue_property_decorator_.Prop)({ default: false, type: Boolean }),
8369
+ ld_textareavue_type_script_lang_ts_external_metadata("design:type", Boolean)
8370
+ ], TextareaComponent.prototype, "clearIcon", void 0);
8371
+ ld_textareavue_type_script_lang_ts_external_decorate([
8372
+ (0,external_vue_property_decorator_.Prop)({ type: Boolean, default: false }),
8373
+ ld_textareavue_type_script_lang_ts_external_metadata("design:type", Boolean)
8374
+ ], TextareaComponent.prototype, "persistentHint", void 0);
8375
+ ld_textareavue_type_script_lang_ts_external_decorate([
8376
+ (0,external_vue_property_decorator_.Prop)(),
8377
+ ld_textareavue_type_script_lang_ts_external_metadata("design:type", String)
8378
+ ], TextareaComponent.prototype, "inputHint", void 0);
8379
+ ld_textareavue_type_script_lang_ts_external_decorate([
8380
+ (0,external_vue_property_decorator_.Prop)(),
8381
+ ld_textareavue_type_script_lang_ts_external_metadata("design:type", Object)
8382
+ ], TextareaComponent.prototype, "maxlength", void 0);
8383
+ ld_textareavue_type_script_lang_ts_external_decorate([
8384
+ (0,external_vue_property_decorator_.Prop)(),
8385
+ ld_textareavue_type_script_lang_ts_external_metadata("design:type", Object)
8386
+ ], TextareaComponent.prototype, "rows", void 0);
8387
+ ld_textareavue_type_script_lang_ts_external_decorate([
8388
+ (0,external_vue_property_decorator_.Prop)({ type: Boolean, default: false }),
8389
+ ld_textareavue_type_script_lang_ts_external_metadata("design:type", Boolean)
8390
+ ], TextareaComponent.prototype, "resizable", void 0);
8391
+ ld_textareavue_type_script_lang_ts_external_decorate([
8392
+ (0,external_vue_property_decorator_.Inject)({ from: 'form', default: null }),
8393
+ ld_textareavue_type_script_lang_ts_external_metadata("design:type", Object)
8394
+ ], TextareaComponent.prototype, "form", void 0);
8395
+ ld_textareavue_type_script_lang_ts_external_decorate([
8396
+ Emit('update:model-value'),
8397
+ ld_textareavue_type_script_lang_ts_external_metadata("design:type", Function),
8398
+ ld_textareavue_type_script_lang_ts_external_metadata("design:paramtypes", [String]),
8399
+ ld_textareavue_type_script_lang_ts_external_metadata("design:returntype", void 0)
8400
+ ], TextareaComponent.prototype, "emitUpdateValue", null);
8401
+ ld_textareavue_type_script_lang_ts_external_decorate([
8402
+ Emit('blur'),
8403
+ ld_textareavue_type_script_lang_ts_external_metadata("design:type", Function),
8404
+ ld_textareavue_type_script_lang_ts_external_metadata("design:paramtypes", [Object]),
8405
+ ld_textareavue_type_script_lang_ts_external_metadata("design:returntype", void 0)
8406
+ ], TextareaComponent.prototype, "emitBlur", null);
8407
+ ld_textareavue_type_script_lang_ts_external_decorate([
8408
+ (0,external_vue_property_decorator_.Watch)('modelValue'),
8409
+ ld_textareavue_type_script_lang_ts_external_metadata("design:type", Function),
8410
+ ld_textareavue_type_script_lang_ts_external_metadata("design:paramtypes", []),
8411
+ ld_textareavue_type_script_lang_ts_external_metadata("design:returntype", void 0)
8412
+ ], TextareaComponent.prototype, "onTextChanged", null);
8413
+ ld_textareavue_type_script_lang_ts_external_decorate([
8414
+ (0,external_vue_property_decorator_.Watch)('internalModel'),
8415
+ ld_textareavue_type_script_lang_ts_external_metadata("design:type", Function),
8416
+ ld_textareavue_type_script_lang_ts_external_metadata("design:paramtypes", []),
8417
+ ld_textareavue_type_script_lang_ts_external_metadata("design:returntype", void 0)
8418
+ ], TextareaComponent.prototype, "onInternalModelChanged", null);
8419
+ TextareaComponent = ld_textareavue_type_script_lang_ts_external_decorate([
8420
+ (0,external_vue_class_component_.Options)({
8421
+ components: {
8422
+ 'ld-label': ld_label
8423
+ }
8424
+ })
8425
+ ], TextareaComponent);
8426
+ /* harmony default export */ const ld_textareavue_type_script_lang_ts_external = (TextareaComponent);
8427
+
8428
+ ;// CONCATENATED MODULE: ./src/ld-textarea/ld-textarea.ts?vue&type=script&lang=ts&external
8429
+
8430
+ ;// CONCATENATED MODULE: ./src/ld-textarea/ld-textarea.vue
8431
+
8432
+
8433
+
8434
+
8435
+ ;
8436
+
8437
+
8438
+ const ld_textarea_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(ld_textareavue_type_script_lang_ts_external, [['render',ld_textareavue_type_template_id_515ad14b_scoped_true_ts_true_render],['__scopeId',"data-v-515ad14b"]])
8439
+
8440
+ /* harmony default export */ const ld_textarea = (ld_textarea_exports_);
8441
+ ;// CONCATENATED MODULE: ./src/ld-textarea/index.ts
8442
+
8443
+ function ld_textarea_reg(vue, options) {
8444
+ vue.component(options.aliases['ld-textarea'], ld_textarea);
8445
+ }
8446
+ /* harmony default export */ const src_ld_textarea = (ld_textarea_reg);
8447
+
8448
+ ;// 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[0]!./src/ld-select/ld-select.vue?vue&type=template&id=6124ddba&scoped=true&ts=true
8449
+
8450
+ const ld_selectvue_type_template_id_6124ddba_scoped_true_ts_true_withScopeId = n => (_pushScopeId("data-v-6124ddba"), n = n(), _popScopeId(), n);
8451
+ const ld_selectvue_type_template_id_6124ddba_scoped_true_ts_true_hoisted_1 = { class: "ld-select" };
8452
+ const ld_selectvue_type_template_id_6124ddba_scoped_true_ts_true_hoisted_2 = {
8453
+ key: 1,
8454
+ class: "text-crop"
8455
+ };
8456
+ const ld_selectvue_type_template_id_6124ddba_scoped_true_ts_true_hoisted_3 = { class: "justify mr-2 flex items-center" };
8457
+ const ld_selectvue_type_template_id_6124ddba_scoped_true_ts_true_hoisted_4 = ["checked"];
8458
+ function ld_selectvue_type_template_id_6124ddba_scoped_true_ts_true_render(_ctx, _cache, $props, $setup, $data, $options) {
8459
+ const _component_ld_label = (0,external_vue_.resolveComponent)("ld-label");
8460
+ const _component_small_chip = (0,external_vue_.resolveComponent)("small-chip");
8461
+ const _component_v_icon = (0,external_vue_.resolveComponent)("v-icon");
8462
+ const _component_v_list_item = (0,external_vue_.resolveComponent)("v-list-item");
8463
+ const _component_v_select = (0,external_vue_.resolveComponent)("v-select");
8464
+ const _component_v_col = (0,external_vue_.resolveComponent)("v-col");
8465
+ const _component_v_row = (0,external_vue_.resolveComponent)("v-row");
8466
+ return ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", ld_selectvue_type_template_id_6124ddba_scoped_true_ts_true_hoisted_1, [
8467
+ (0,external_vue_.createVNode)(_component_v_row, { "no-gutters": "" }, {
8468
+ default: (0,external_vue_.withCtx)(() => [
8469
+ (_ctx.label)
8470
+ ? ((0,external_vue_.openBlock)(), (0,external_vue_.createBlock)(_component_ld_label, {
8471
+ key: 0,
8472
+ class: (0,external_vue_.normalizeClass)([_ctx.labelSizeClasses]),
8473
+ label: _ctx.label,
8474
+ required: _ctx.required,
8475
+ "align-label-to-right": _ctx.alignLabelToRight
8476
+ }, null, 8, ["class", "label", "required", "align-label-to-right"]))
8477
+ : (0,external_vue_.createCommentVNode)("", true),
8478
+ (0,external_vue_.createTextVNode)(),
8479
+ (0,external_vue_.createVNode)(_component_v_col, {
8480
+ class: (0,external_vue_.normalizeClass)([{ 'only-view': _ctx.readonly }, _ctx.inputSizeClasses])
8481
+ }, {
8482
+ default: (0,external_vue_.withCtx)(() => [
8483
+ (0,external_vue_.createVNode)(_component_v_select, {
8484
+ ref: "select",
8485
+ modelValue: _ctx.selected,
8486
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => ((_ctx.selected) = $event)),
8487
+ variant: "outlined",
8488
+ "item-value": _ctx.itemValue,
8489
+ "item-title": _ctx.itemTitle,
8490
+ items: _ctx.items,
8491
+ rules: _ctx.validRules,
8492
+ placeholder: _ctx.placeholder,
8493
+ "hide-details": _ctx.hideDetails,
8494
+ multiple: _ctx.multiselect,
8495
+ "return-object": _ctx.returnObject,
8496
+ error: Boolean(_ctx.validationMessage),
8497
+ "error-messages": _ctx.validationMessage,
8498
+ readonly: _ctx.readonly,
8499
+ disabled: _ctx.disabled,
8500
+ "menu-icon": "arrow_drop_down",
8501
+ onBlur: _ctx.onBlur,
8502
+ onFocus: _ctx.onFocus
8503
+ }, {
8504
+ selection: (0,external_vue_.withCtx)(({ item, index }) => [
8505
+ (_ctx.multiselect || _ctx.chips)
8506
+ ? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)(external_vue_.Fragment, { key: 0 }, [
8507
+ (index < _ctx.selectionShowCount)
8508
+ ? ((0,external_vue_.openBlock)(), (0,external_vue_.createBlock)(_component_small_chip, {
8509
+ key: 0,
8510
+ class: "my-0.5",
8511
+ closable: _ctx.multiselect || _ctx.closableChips,
8512
+ "onClick:close": ($event) => (_ctx.onUnselect(item.raw))
8513
+ }, {
8514
+ default: (0,external_vue_.withCtx)(() => [
8515
+ (0,external_vue_.createTextVNode)((0,external_vue_.toDisplayString)(item.title), 1)
8516
+ ]),
8517
+ _: 2
8518
+ }, 1032, ["closable", "onClick:close"]))
8519
+ : ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)(external_vue_.Fragment, { key: 1 }, [
8520
+ (Array.isArray(_ctx.selected) && index === _ctx.selectionShowCount)
8521
+ ? ((0,external_vue_.openBlock)(), (0,external_vue_.createBlock)(_component_small_chip, {
8522
+ key: 0,
8523
+ class: "my-0.5",
8524
+ closable: false
8525
+ }, {
8526
+ default: (0,external_vue_.withCtx)(() => [
8527
+ (0,external_vue_.createTextVNode)("\r\n + Еще " + (0,external_vue_.toDisplayString)(_ctx.selected.length - _ctx.selectionShowCount), 1)
8528
+ ]),
8529
+ _: 1
8530
+ }))
8531
+ : (0,external_vue_.createCommentVNode)("", true)
8532
+ ], 64))
8533
+ ], 64))
8534
+ : ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("span", ld_selectvue_type_template_id_6124ddba_scoped_true_ts_true_hoisted_2, (0,external_vue_.toDisplayString)(item.title), 1))
8535
+ ]),
8536
+ item: (0,external_vue_.withCtx)(({ item, props }) => [
8537
+ (0,external_vue_.createVNode)(_component_v_list_item, (0,external_vue_.normalizeProps)((0,external_vue_.guardReactiveProps)(props)), (0,external_vue_.createSlots)({ _: 2 }, [
8538
+ (_ctx.multiselect)
8539
+ ? {
8540
+ name: "prepend",
8541
+ fn: (0,external_vue_.withCtx)(() => [
8542
+ (0,external_vue_.createElementVNode)("label", ld_selectvue_type_template_id_6124ddba_scoped_true_ts_true_hoisted_3, [
8543
+ (0,external_vue_.createElementVNode)("input", {
8544
+ ref: "checkbox",
8545
+ type: "checkbox",
8546
+ class: "d-none",
8547
+ checked: _ctx.itemSelected(item.raw)
8548
+ }, null, 8, ld_selectvue_type_template_id_6124ddba_scoped_true_ts_true_hoisted_4),
8549
+ (0,external_vue_.createTextVNode)(),
8550
+ (0,external_vue_.createVNode)(_component_v_icon, {
8551
+ icon: "check",
8552
+ onClick: ($event) => (_ctx.onToggle(item.raw))
8553
+ }, null, 8, ["onClick"])
8554
+ ])
8555
+ ]),
8556
+ key: "0"
8557
+ }
8558
+ : undefined
8559
+ ]), 1040)
8560
+ ]),
8561
+ message: (0,external_vue_.withCtx)(({ message }) => [
8562
+ (0,external_vue_.createElementVNode)("span", {
8563
+ class: (0,external_vue_.normalizeClass)({ 'error--text': _ctx.validationMessage, 'grey--text': !_ctx.validationMessage })
8564
+ }, (0,external_vue_.toDisplayString)(message), 3)
8565
+ ]),
8566
+ _: 1
8567
+ }, 8, ["modelValue", "item-value", "item-title", "items", "rules", "placeholder", "hide-details", "multiple", "return-object", "error", "error-messages", "readonly", "disabled", "onBlur", "onFocus"])
8568
+ ]),
8569
+ _: 1
8570
+ }, 8, ["class"])
8571
+ ]),
8572
+ _: 1
8573
+ })
8574
+ ]));
8575
+ }
8576
+
8577
+ ;// CONCATENATED MODULE: ./src/ld-select/ld-select.vue?vue&type=template&id=6124ddba&scoped=true&ts=true
8578
+
8579
+ ;// CONCATENATED MODULE: ./node_modules/ts-loader/index.js??clonedRuleSet-1.use!./src/ld-select/ld-select.ts?vue&type=script&lang=ts&external
8580
+ var ld_selectvue_type_script_lang_ts_external_decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
8581
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
8582
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
8583
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
8584
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
8585
+ };
8586
+ var ld_selectvue_type_script_lang_ts_external_metadata = (undefined && undefined.__metadata) || function (k, v) {
8587
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
8588
+ };
8589
+ var ld_selectvue_type_script_lang_ts_external_a, ld_selectvue_type_script_lang_ts_external_b;
8590
+
8591
+
8592
+
8593
+
8594
+
8595
+
8596
+ /**
8597
+ * @displayName ld-select
8598
+ */
8599
+ let SelectComponent = class SelectComponent extends (0,external_vue_property_decorator_.mixins)(InputMixin, GridMixin, ValidatableMixin) {
8600
+ constructor() {
8601
+ super(...arguments);
8602
+ this.selected = null;
8603
+ this.noEmit = true;
8604
+ }
8605
+ emitUpdateSelected(value) {
8606
+ return value;
8607
+ }
8608
+ emitBlur(value) {
8609
+ return value;
8610
+ }
8611
+ onSelectedChanged() {
8612
+ if (this.noEmit) {
8613
+ return;
8614
+ }
8615
+ this.emitUpdateSelected(this.selected);
8616
+ }
8617
+ onValueChanged() {
8618
+ if (this.$utils.isDefined(this.modelValue)) {
8619
+ this.selected = this.modelValue;
8620
+ }
8621
+ else {
8622
+ this.selected = null;
8623
+ }
8624
+ }
8625
+ created() {
8626
+ this.form?.register(this, null);
8627
+ if (this.$utils.isDefined(this.modelValue)) {
8628
+ this.selected = this.modelValue;
8629
+ }
8630
+ if (this.multiselect && !this.modelValue) {
8631
+ this.selected = [];
8632
+ }
8633
+ this.$nextTick(() => {
8634
+ this.noEmit = false;
8635
+ });
8636
+ }
8637
+ onBlur(e) {
8638
+ this.emitBlur(e);
8639
+ this.validate();
8640
+ }
8641
+ onFocus(e) {
8642
+ this.validationMessage = '';
8643
+ }
8644
+ onToggle(item) {
8645
+ if (this.itemSelected(item)) {
8646
+ this.onUnselect(item);
8647
+ }
8648
+ else {
8649
+ this.onSelect(this.valueOf(item));
8650
+ }
8651
+ }
8652
+ itemSelected(item) {
8653
+ if (!Array.isArray(this.selected) || !this.selected.length) {
8654
+ return false;
8655
+ }
8656
+ if (typeof item === 'string' || typeof item === 'number') {
8657
+ return this.selected.indexOf(item) > -1;
8658
+ }
8659
+ const index = this.selected.findIndex((el) => this.isIdentity(el, item));
8660
+ return index > -1;
8661
+ }
8662
+ onSelect(value) {
8663
+ if (this.isModelArray || this.multiselect) {
8664
+ if (!this.selected) {
8665
+ this.selected = [];
8666
+ }
8667
+ this.selected.push(this.valueOf(value));
8668
+ }
8669
+ else {
8670
+ this.selected = this.valueOf(value);
8671
+ }
8672
+ }
8673
+ onUnselect(item) {
8674
+ if (this.isModelArray) {
8675
+ this.selected = this.selected.filter((el) => !this.isIdentity(el, item));
8676
+ }
8677
+ else if (this.$utils.isDefined(this.selected) && !Array.isArray(this.selected)) {
8678
+ this.selected = null;
8679
+ }
8680
+ }
8681
+ valueOf(item) {
8682
+ if (typeof item === 'string' || typeof item === 'number') {
8683
+ return item;
8684
+ }
8685
+ if (this.returnObject) {
8686
+ return item;
8687
+ }
8688
+ return item[this.itemValue];
8689
+ }
8690
+ validate() {
8691
+ let funcResult = null;
8692
+ this.validationMessage = '';
8693
+ this.validRules.forEach(func => {
8694
+ funcResult = func(this.modelValue);
8695
+ if (typeof funcResult === 'string') {
8696
+ this.validationMessage = funcResult;
8697
+ }
8698
+ });
8699
+ return !this.validationMessage;
8700
+ }
8701
+ isIdentity(current, target) {
8702
+ const isSimple = (v) => typeof v === 'string' || typeof v === 'number';
8703
+ if (isSimple(current) && isSimple(target)) {
8704
+ return current === target;
8705
+ }
8706
+ if (isSimple(current)) {
8707
+ return current === target[this.itemValue];
8708
+ }
8709
+ return (current[this.itemValue] ===
8710
+ target[this.itemValue]);
8711
+ }
8712
+ get isModelArray() {
8713
+ return Array.isArray(this.modelValue);
8714
+ }
8715
+ };
8716
+ ld_selectvue_type_script_lang_ts_external_decorate([
8717
+ (0,external_vue_property_decorator_.Prop)(),
8718
+ ld_selectvue_type_script_lang_ts_external_metadata("design:type", Object)
8719
+ ], SelectComponent.prototype, "modelValue", void 0);
8720
+ ld_selectvue_type_script_lang_ts_external_decorate([
8721
+ (0,external_vue_property_decorator_.Prop)(),
8722
+ ld_selectvue_type_script_lang_ts_external_metadata("design:type", typeof (ld_selectvue_type_script_lang_ts_external_a = typeof Array !== "undefined" && Array) === "function" ? ld_selectvue_type_script_lang_ts_external_a : Object)
8723
+ ], SelectComponent.prototype, "items", void 0);
8724
+ ld_selectvue_type_script_lang_ts_external_decorate([
8725
+ (0,external_vue_property_decorator_.Prop)({ type: Boolean, default: false }),
8726
+ ld_selectvue_type_script_lang_ts_external_metadata("design:type", Boolean)
8727
+ ], SelectComponent.prototype, "multiselect", void 0);
8728
+ ld_selectvue_type_script_lang_ts_external_decorate([
8729
+ (0,external_vue_property_decorator_.Prop)({ type: Boolean, default: false }),
8730
+ ld_selectvue_type_script_lang_ts_external_metadata("design:type", Boolean)
8731
+ ], SelectComponent.prototype, "returnObject", void 0);
8732
+ ld_selectvue_type_script_lang_ts_external_decorate([
8733
+ (0,external_vue_property_decorator_.Prop)({ type: String, default: 'id' }),
8734
+ ld_selectvue_type_script_lang_ts_external_metadata("design:type", String)
8735
+ ], SelectComponent.prototype, "itemValue", void 0);
8736
+ ld_selectvue_type_script_lang_ts_external_decorate([
8737
+ (0,external_vue_property_decorator_.Prop)({ type: String, default: 'value' }),
8738
+ ld_selectvue_type_script_lang_ts_external_metadata("design:type", String)
8739
+ ], SelectComponent.prototype, "itemTitle", void 0);
8740
+ ld_selectvue_type_script_lang_ts_external_decorate([
8741
+ (0,external_vue_property_decorator_.Prop)({ type: Boolean, default: false }),
8742
+ ld_selectvue_type_script_lang_ts_external_metadata("design:type", Boolean)
8743
+ ], SelectComponent.prototype, "chips", void 0);
8744
+ ld_selectvue_type_script_lang_ts_external_decorate([
8745
+ (0,external_vue_property_decorator_.Prop)({ type: Boolean, default: false }),
8746
+ ld_selectvue_type_script_lang_ts_external_metadata("design:type", Boolean)
8747
+ ], SelectComponent.prototype, "closableChips", void 0);
8748
+ ld_selectvue_type_script_lang_ts_external_decorate([
8749
+ (0,external_vue_property_decorator_.Prop)({ type: Number, default: 1000 }),
8750
+ ld_selectvue_type_script_lang_ts_external_metadata("design:type", Number)
8751
+ ], SelectComponent.prototype, "selectionShowCount", void 0);
8752
+ ld_selectvue_type_script_lang_ts_external_decorate([
8753
+ (0,external_vue_property_decorator_.Inject)({ from: 'form', default: null }),
8754
+ ld_selectvue_type_script_lang_ts_external_metadata("design:type", Object)
8755
+ ], SelectComponent.prototype, "form", void 0);
8756
+ ld_selectvue_type_script_lang_ts_external_decorate([
8757
+ Emit('update:model-value'),
8758
+ ld_selectvue_type_script_lang_ts_external_metadata("design:type", Function),
8759
+ ld_selectvue_type_script_lang_ts_external_metadata("design:paramtypes", [Object]),
8760
+ ld_selectvue_type_script_lang_ts_external_metadata("design:returntype", void 0)
8761
+ ], SelectComponent.prototype, "emitUpdateSelected", null);
8762
+ ld_selectvue_type_script_lang_ts_external_decorate([
8763
+ Emit('blur'),
8764
+ ld_selectvue_type_script_lang_ts_external_metadata("design:type", Function),
8765
+ ld_selectvue_type_script_lang_ts_external_metadata("design:paramtypes", [typeof (ld_selectvue_type_script_lang_ts_external_b = typeof FocusEvent !== "undefined" && FocusEvent) === "function" ? ld_selectvue_type_script_lang_ts_external_b : Object]),
8766
+ ld_selectvue_type_script_lang_ts_external_metadata("design:returntype", void 0)
8767
+ ], SelectComponent.prototype, "emitBlur", null);
8768
+ ld_selectvue_type_script_lang_ts_external_decorate([
8769
+ (0,external_vue_property_decorator_.Watch)('selected'),
8770
+ ld_selectvue_type_script_lang_ts_external_metadata("design:type", Function),
8771
+ ld_selectvue_type_script_lang_ts_external_metadata("design:paramtypes", []),
8772
+ ld_selectvue_type_script_lang_ts_external_metadata("design:returntype", void 0)
8773
+ ], SelectComponent.prototype, "onSelectedChanged", null);
8774
+ ld_selectvue_type_script_lang_ts_external_decorate([
8775
+ (0,external_vue_property_decorator_.Watch)('modelValue'),
8776
+ ld_selectvue_type_script_lang_ts_external_metadata("design:type", Function),
8777
+ ld_selectvue_type_script_lang_ts_external_metadata("design:paramtypes", []),
8778
+ ld_selectvue_type_script_lang_ts_external_metadata("design:returntype", void 0)
8779
+ ], SelectComponent.prototype, "onValueChanged", null);
8780
+ SelectComponent = ld_selectvue_type_script_lang_ts_external_decorate([
8781
+ (0,external_vue_property_decorator_.Options)({
8782
+ components: {
8783
+ 'ld-label': ld_label,
8784
+ }
8785
+ })
8786
+ ], SelectComponent);
8787
+ /* harmony default export */ const ld_selectvue_type_script_lang_ts_external = (SelectComponent);
8788
+
8789
+ ;// CONCATENATED MODULE: ./src/ld-select/ld-select.ts?vue&type=script&lang=ts&external
8790
+
8791
+ ;// CONCATENATED MODULE: ./src/ld-select/ld-select.vue
8792
+
8793
+
8794
+
8795
+
8796
+ ;
8797
+
8798
+
8799
+ const ld_select_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(ld_selectvue_type_script_lang_ts_external, [['render',ld_selectvue_type_template_id_6124ddba_scoped_true_ts_true_render],['__scopeId',"data-v-6124ddba"]])
8800
+
8801
+ /* harmony default export */ const ld_select = (ld_select_exports_);
8802
+ ;// CONCATENATED MODULE: ./src/ld-select/index.ts
8803
+
8804
+ function ld_select_reg(vue, options) {
8805
+ vue.component(options.aliases['ld-select'], ld_select);
8806
+ }
8807
+ /* harmony default export */ const src_ld_select = (ld_select_reg);
8808
+
8208
8809
  ;// CONCATENATED MODULE: ./src/utils/delay.ts
8209
8810
  async function delay(timeout) {
8210
8811
  return new Promise(resolve => setTimeout(() => resolve(), timeout));
@@ -8601,6 +9202,8 @@ const ActiveDirectiveOptions = {
8601
9202
 
8602
9203
 
8603
9204
 
9205
+
9206
+
8604
9207
 
8605
9208
 
8606
9209
  const ldmuiPlugin = {
@@ -8625,6 +9228,8 @@ const ldmuiPlugin = {
8625
9228
  'ld-checkbox': options.aliases?.['ld-checkbox'] ?? 'ld-checkbox',
8626
9229
  'ld-radiobutton': options.aliases?.['ld-radiobutton'] ?? 'ld-radiobutton',
8627
9230
  'ld-radiogroup': options.aliases?.['ld-radiogroup'] ?? 'ld-radiogroup',
9231
+ 'ld-textarea': options.aliases?.['ld-textarea'] ?? 'ld-textarea',
9232
+ 'ld-select': options.aliases?.['ld-select'] ?? 'ld-select',
8628
9233
  };
8629
9234
  vue.config.globalProperties.$utils = {
8630
9235
  ...utils_namespaceObject,
@@ -8655,6 +9260,8 @@ const ldmuiPlugin = {
8655
9260
  src_ld_checkbox(vue, options);
8656
9261
  src_ld_radiobutton(vue, options);
8657
9262
  src_ld_radiogroup(vue, options);
9263
+ src_ld_textarea(vue, options);
9264
+ src_ld_select(vue, options);
8658
9265
  },
8659
9266
  };
8660
9267
  /* harmony default export */ const src = (ldmuiPlugin);