@ldmjs/ui 1.0.12 → 1.0.13
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/css/index.css +2 -2
- package/dist/index.js +314 -337
- package/package.json +1 -1
package/dist/css/index.css
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
.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)}
|
|
14
14
|
|
|
15
|
-
.ld-select-list-box[data-v-
|
|
15
|
+
.ld-select-list-box[data-v-4ccf12f8]{display:flex;min-width:100%;max-width:100%;width:100%}.ld-select-list-box .select-list-box-validate[data-v-4ccf12f8]{overflow:hidden;height:20px}.ld-select-list-box .select-list-box-loading[data-v-4ccf12f8]{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-4ccf12f8]:before{content:'';display:block;position:absolute;top:0;left:0;width:25%;height:100%;background-color:var(--primary);animation:loading-4ccf12f8 1.4s linear;animation-iteration-count:infinite}@keyframes loading-4ccf12f8{from{transform:translateX(-300%)}to{transform:translateX(500%)}}
|
|
16
16
|
|
|
17
17
|
.ld-checkbox{display:flex;align-items:center;height:var(--input-height);font-size:var(--font-size);cursor:pointer}.ld-checkbox input[type='checkbox']+.v-icon{display:block;width:12px !important;height:12px !important;font-size:10px !important;background-color:var(--white);color:transparent;border:1px solid var(--grey-l-5)}.ld-checkbox input[type='checkbox']:checked+.v-icon{background-color:var(--primary-l-2);color:var(--white);font-size:10px;font-weight:bold}.ld-checkbox input[type='checkbox']: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}
|
|
18
18
|
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
|
|
25
25
|
.ld-select[data-v-eee64366]{position:relative;min-width:100%}.ld-select[data-v-eee64366] .v-field__append-inner{display:none}.ld-select[data-v-eee64366] .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) transparent transparent;transition:transform 0.2s ease;content:'';z-index:1}.ld-select[data-v-eee64366] .v-select--active-menu:before{transform:rotate(180deg)}input[type='checkbox']+.v-icon[data-v-eee64366]{display:block;width:12px !important;height:12px !important;font-size:10px !important;background-color:var(--white);color:transparent;border:1px solid var(--grey-l-5)}input[type='checkbox']:checked+.v-icon[data-v-eee64366]{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-eee64366]{min-height:var(--input-height)}.v-list-item--density-compact.v-list-item--one-line[data-v-eee64366] .v-list-item__content{display:flex;flex-wrap:nowrap}.v-list-item--density-compact.v-list-item--one-line[data-v-eee64366] .v-list-item__content .v-list-item-title{font-size:var(--font-size)}
|
|
26
26
|
|
|
27
|
-
.ld-combobox[data-v-
|
|
27
|
+
.ld-combobox[data-v-70de7eb0]{display:flex;min-width:100%;max-width:100%;width:100%}.ld-combobox .combobox-validate[data-v-70de7eb0]{overflow:hidden;height:20px}.ld-combobox .combobox-loading[data-v-70de7eb0]{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-70de7eb0]:before{content:'';display:block;position:absolute;top:0;left:0;width:25%;height:100%;background-color:var(--primary);animation:loading-70de7eb0 1.4s linear;animation-iteration-count:infinite}@keyframes loading-70de7eb0{from{transform:translateX(-300%)}to{transform:translateX(500%)}}
|
|
28
28
|
|
|
29
29
|
.time-selector[data-v-468c023f]{display:flex;flex-wrap:wrap;max-width:186px;padding:3px}.time-selector>span[data-v-468c023f]{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-468c023f]{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-468c023f]{overflow:hidden;height:20px}
|
|
30
30
|
|
package/dist/index.js
CHANGED
|
@@ -8412,33 +8412,40 @@ function ld_page_toolbar_reg(vue, options) {
|
|
|
8412
8412
|
}
|
|
8413
8413
|
/* harmony default export */ const src_ld_page_toolbar = (ld_page_toolbar_reg);
|
|
8414
8414
|
|
|
8415
|
-
;// 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=
|
|
8415
|
+
;// 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=4ccf12f8&scoped=true&ts=true
|
|
8416
8416
|
|
|
8417
|
-
const
|
|
8418
|
-
const
|
|
8419
|
-
|
|
8417
|
+
const ld_select_list_boxvue_type_template_id_4ccf12f8_scoped_true_ts_true_withScopeId = n => (_pushScopeId("data-v-4ccf12f8"), n = n(), _popScopeId(), n);
|
|
8418
|
+
const ld_select_list_boxvue_type_template_id_4ccf12f8_scoped_true_ts_true_hoisted_1 = {
|
|
8419
|
+
key: 0,
|
|
8420
|
+
class: "w-full overflow-hidden",
|
|
8421
|
+
style: { "border-radius": "var(--border-radius)" }
|
|
8422
|
+
};
|
|
8423
|
+
const ld_select_list_boxvue_type_template_id_4ccf12f8_scoped_true_ts_true_hoisted_2 = { class: "w-full d-flex position-relative" };
|
|
8424
|
+
const ld_select_list_boxvue_type_template_id_4ccf12f8_scoped_true_ts_true_hoisted_3 = { class: "text-crop" };
|
|
8425
|
+
const ld_select_list_boxvue_type_template_id_4ccf12f8_scoped_true_ts_true_hoisted_4 = {
|
|
8420
8426
|
key: 0,
|
|
8421
8427
|
class: "d-flex align-center"
|
|
8422
8428
|
};
|
|
8423
|
-
const
|
|
8424
|
-
const
|
|
8429
|
+
const ld_select_list_boxvue_type_template_id_4ccf12f8_scoped_true_ts_true_hoisted_5 = { class: "d-flex flex-column justify-center" };
|
|
8430
|
+
const ld_select_list_boxvue_type_template_id_4ccf12f8_scoped_true_ts_true_hoisted_6 = {
|
|
8425
8431
|
key: 0,
|
|
8426
8432
|
class: "grey--text",
|
|
8427
8433
|
style: { "font-size": "var(--font-size--1)" }
|
|
8428
8434
|
};
|
|
8429
|
-
const
|
|
8435
|
+
const ld_select_list_boxvue_type_template_id_4ccf12f8_scoped_true_ts_true_hoisted_7 = {
|
|
8430
8436
|
key: 1,
|
|
8431
8437
|
class: "select-list-box-loading"
|
|
8432
8438
|
};
|
|
8433
|
-
const
|
|
8434
|
-
key:
|
|
8435
|
-
class: "
|
|
8439
|
+
const ld_select_list_boxvue_type_template_id_4ccf12f8_scoped_true_ts_true_hoisted_8 = {
|
|
8440
|
+
key: 1,
|
|
8441
|
+
class: "w-full",
|
|
8442
|
+
style: { "min-height": "var(--input-height)" }
|
|
8436
8443
|
};
|
|
8437
|
-
const
|
|
8438
|
-
key:
|
|
8439
|
-
class: "select-list-
|
|
8444
|
+
const _hoisted_9 = {
|
|
8445
|
+
key: 2,
|
|
8446
|
+
class: "select-list-box-validate"
|
|
8440
8447
|
};
|
|
8441
|
-
function
|
|
8448
|
+
function ld_select_list_boxvue_type_template_id_4ccf12f8_scoped_true_ts_true_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8442
8449
|
const _component_ld_label = (0,external_vue_.resolveComponent)("ld-label");
|
|
8443
8450
|
const _component_small_chip = (0,external_vue_.resolveComponent)("small-chip");
|
|
8444
8451
|
const _component_v_col = (0,external_vue_.resolveComponent)("v-col");
|
|
@@ -8460,220 +8467,197 @@ function ld_select_list_boxvue_type_template_id_6b0ce187_scoped_true_ts_true_ren
|
|
|
8460
8467
|
}, null, 8, ["class", "label", "required", "align-label-to-right"]))
|
|
8461
8468
|
: (0,external_vue_.createCommentVNode)("", true),
|
|
8462
8469
|
(0,external_vue_.createTextVNode)(),
|
|
8463
|
-
(
|
|
8464
|
-
|
|
8465
|
-
|
|
8466
|
-
|
|
8467
|
-
|
|
8468
|
-
|
|
8469
|
-
|
|
8470
|
-
|
|
8471
|
-
|
|
8472
|
-
|
|
8473
|
-
|
|
8474
|
-
|
|
8475
|
-
|
|
8476
|
-
|
|
8470
|
+
(0,external_vue_.createVNode)(_component_v_col, {
|
|
8471
|
+
class: (0,external_vue_.normalizeClass)(_ctx.inputSizeClasses)
|
|
8472
|
+
}, {
|
|
8473
|
+
default: (0,external_vue_.withCtx)(() => [
|
|
8474
|
+
(_ctx.multiselect || _ctx.selectedToArray.length === 0)
|
|
8475
|
+
? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", ld_select_list_boxvue_type_template_id_4ccf12f8_scoped_true_ts_true_hoisted_1, [
|
|
8476
|
+
(0,external_vue_.createElementVNode)("div", ld_select_list_boxvue_type_template_id_4ccf12f8_scoped_true_ts_true_hoisted_2, [
|
|
8477
|
+
(0,external_vue_.createVNode)(_component_multiselect, {
|
|
8478
|
+
ref: "multiselect",
|
|
8479
|
+
modelValue: _ctx.selected,
|
|
8480
|
+
"onUpdate:modelValue": [
|
|
8481
|
+
_cache[0] || (_cache[0] = ($event) => ((_ctx.selected) = $event)),
|
|
8482
|
+
_ctx.onInput
|
|
8483
|
+
],
|
|
8484
|
+
"track-by": "id",
|
|
8485
|
+
class: "multiselect--with-right-button",
|
|
8486
|
+
multiple: _ctx.multiselect,
|
|
8487
|
+
placeholder: _ctx.placeholder,
|
|
8488
|
+
"select-label": '',
|
|
8489
|
+
options: _ctx.optionsList,
|
|
8490
|
+
searchable: true,
|
|
8491
|
+
"internal-search": _ctx.internalSearch,
|
|
8492
|
+
"clear-on-select": true,
|
|
8493
|
+
"close-on-select": !_ctx.multiselect,
|
|
8494
|
+
"options-limit": 300,
|
|
8495
|
+
"show-no-results": true,
|
|
8496
|
+
"show-no-options": false,
|
|
8497
|
+
disabled: _ctx.readonly || _ctx.disabled,
|
|
8498
|
+
limit: _ctx.limit,
|
|
8499
|
+
tabindex: _ctx.tabIndex,
|
|
8500
|
+
allowEmpty: _ctx.allowEmpty,
|
|
8501
|
+
onClose: _ctx.dropdownClose,
|
|
8502
|
+
onSearchChange: _ctx.getItems
|
|
8477
8503
|
}, {
|
|
8478
|
-
|
|
8479
|
-
(0,external_vue_.
|
|
8480
|
-
|
|
8481
|
-
|
|
8482
|
-
|
|
8483
|
-
|
|
8484
|
-
|
|
8485
|
-
|
|
8486
|
-
|
|
8487
|
-
|
|
8488
|
-
|
|
8489
|
-
|
|
8490
|
-
|
|
8491
|
-
|
|
8492
|
-
|
|
8493
|
-
|
|
8494
|
-
"
|
|
8495
|
-
|
|
8496
|
-
|
|
8497
|
-
|
|
8498
|
-
|
|
8499
|
-
|
|
8500
|
-
|
|
8501
|
-
|
|
8502
|
-
|
|
8503
|
-
|
|
8504
|
-
|
|
8504
|
+
tag: (0,external_vue_.withCtx)(({ option }) => [
|
|
8505
|
+
(0,external_vue_.renderSlot)(_ctx.$slots, "tag", (0,external_vue_.normalizeProps)((0,external_vue_.guardReactiveProps)({
|
|
8506
|
+
item: option,
|
|
8507
|
+
onRemove: _ctx.onRemoveItem,
|
|
8508
|
+
canRemove: _ctx.canRemove,
|
|
8509
|
+
})), () => [
|
|
8510
|
+
((0,external_vue_.openBlock)(), (0,external_vue_.createBlock)(_component_small_chip, {
|
|
8511
|
+
key: JSON.stringify(option),
|
|
8512
|
+
color: _ctx.disabled ? 'grey' : 'primary',
|
|
8513
|
+
closable: _ctx.canRemove,
|
|
8514
|
+
"onClick:close": ($event) => (_ctx.onRemoveItem(option))
|
|
8515
|
+
}, {
|
|
8516
|
+
default: (0,external_vue_.withCtx)(() => [
|
|
8517
|
+
(0,external_vue_.createElementVNode)("span", ld_select_list_boxvue_type_template_id_4ccf12f8_scoped_true_ts_true_hoisted_3, (0,external_vue_.toDisplayString)(_ctx.$utils.deepValueGetter(option, this.itemTitle)), 1)
|
|
8518
|
+
]),
|
|
8519
|
+
_: 2
|
|
8520
|
+
}, 1032, ["color", "closable", "onClick:close"]))
|
|
8521
|
+
], true)
|
|
8522
|
+
]),
|
|
8523
|
+
"tag-overflow": (0,external_vue_.withCtx)(({ limit, count }) => [
|
|
8524
|
+
(0,external_vue_.renderSlot)(_ctx.$slots, "tag-overflow", {
|
|
8525
|
+
limit: limit,
|
|
8526
|
+
count: count
|
|
8527
|
+
}, () => [
|
|
8528
|
+
(0,external_vue_.createVNode)(_component_small_chip, { closable: false }, {
|
|
8529
|
+
default: (0,external_vue_.withCtx)(() => [
|
|
8530
|
+
(0,external_vue_.createTextVNode)((0,external_vue_.toDisplayString)(`overflow => limit: ${limit}, count: ${count}`), 1)
|
|
8531
|
+
]),
|
|
8532
|
+
_: 2
|
|
8533
|
+
}, 1024)
|
|
8534
|
+
], true)
|
|
8535
|
+
]),
|
|
8536
|
+
option: (0,external_vue_.withCtx)(({ option }) => [
|
|
8537
|
+
(0,external_vue_.createVNode)(_component_v_row, {
|
|
8538
|
+
"no-gutters": "",
|
|
8539
|
+
class: "d-flex mb-1 align-center"
|
|
8505
8540
|
}, {
|
|
8506
|
-
|
|
8507
|
-
(0,external_vue_.
|
|
8508
|
-
item: option,
|
|
8509
|
-
onRemove: _ctx.onRemoveItem,
|
|
8510
|
-
canRemove: _ctx.canRemove,
|
|
8511
|
-
})), () => [
|
|
8512
|
-
((0,external_vue_.openBlock)(), (0,external_vue_.createBlock)(_component_small_chip, {
|
|
8513
|
-
key: JSON.stringify(option),
|
|
8514
|
-
color: _ctx.disabled ? 'grey' : 'primary',
|
|
8515
|
-
closable: _ctx.canRemove,
|
|
8516
|
-
"onClick:close": ($event) => (_ctx.onRemoveItem(option))
|
|
8517
|
-
}, {
|
|
8518
|
-
default: (0,external_vue_.withCtx)(() => [
|
|
8519
|
-
(0,external_vue_.createElementVNode)("span", ld_select_list_boxvue_type_template_id_6b0ce187_scoped_true_ts_true_hoisted_1, (0,external_vue_.toDisplayString)(_ctx.$utils.deepValueGetter(option, this.itemTitle)), 1)
|
|
8520
|
-
]),
|
|
8521
|
-
_: 2
|
|
8522
|
-
}, 1032, ["color", "closable", "onClick:close"]))
|
|
8523
|
-
], true)
|
|
8524
|
-
]),
|
|
8525
|
-
"tag-overflow": (0,external_vue_.withCtx)(({ limit, count }) => [
|
|
8526
|
-
(0,external_vue_.renderSlot)(_ctx.$slots, "tag-overflow", {
|
|
8527
|
-
limit: limit,
|
|
8528
|
-
count: count
|
|
8529
|
-
}, () => [
|
|
8530
|
-
(0,external_vue_.createVNode)(_component_small_chip, { closable: false }, {
|
|
8531
|
-
default: (0,external_vue_.withCtx)(() => [
|
|
8532
|
-
(0,external_vue_.createTextVNode)((0,external_vue_.toDisplayString)(`overflow => limit: ${limit}, count: ${count}`), 1)
|
|
8533
|
-
]),
|
|
8534
|
-
_: 2
|
|
8535
|
-
}, 1024)
|
|
8536
|
-
], true)
|
|
8537
|
-
]),
|
|
8538
|
-
option: (0,external_vue_.withCtx)(({ option }) => [
|
|
8539
|
-
(0,external_vue_.createVNode)(_component_v_row, {
|
|
8540
|
-
"no-gutters": "",
|
|
8541
|
-
class: "d-flex mb-1 align-center"
|
|
8542
|
-
}, {
|
|
8541
|
+
default: (0,external_vue_.withCtx)(() => [
|
|
8542
|
+
(0,external_vue_.createVNode)(_component_v_col, { class: "d-flex align-center" }, {
|
|
8543
8543
|
default: (0,external_vue_.withCtx)(() => [
|
|
8544
|
-
(
|
|
8545
|
-
|
|
8546
|
-
(_ctx.
|
|
8547
|
-
|
|
8548
|
-
|
|
8549
|
-
|
|
8550
|
-
|
|
8551
|
-
|
|
8552
|
-
|
|
8553
|
-
|
|
8554
|
-
|
|
8555
|
-
|
|
8544
|
+
(_ctx.multiselect)
|
|
8545
|
+
? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", ld_select_list_boxvue_type_template_id_4ccf12f8_scoped_true_ts_true_hoisted_4, [
|
|
8546
|
+
((0,external_vue_.openBlock)(), (0,external_vue_.createBlock)((0,external_vue_.resolveDynamicComponent)(_ctx.$ldmui.options.aliases['ld-checkbox']), {
|
|
8547
|
+
key: JSON.stringify(option),
|
|
8548
|
+
"model-value": _ctx.checkedItems,
|
|
8549
|
+
"initial-value": _ctx.$utils.deepValueGetter(option, _ctx.itemValue),
|
|
8550
|
+
"onUpdate:modelValue": ($event) => (_ctx.onCheckItem($event, option))
|
|
8551
|
+
}, null, 8, ["model-value", "initial-value", "onUpdate:modelValue"]))
|
|
8552
|
+
]))
|
|
8553
|
+
: (0,external_vue_.createCommentVNode)("", true),
|
|
8554
|
+
(0,external_vue_.createTextVNode)(),
|
|
8555
|
+
(0,external_vue_.createElementVNode)("div", {
|
|
8556
|
+
class: (0,external_vue_.normalizeClass)(["d-flex align-center", { 'ml-1': _ctx.multiselect }])
|
|
8557
|
+
}, [
|
|
8558
|
+
(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),
|
|
8559
|
+
(0,external_vue_.createTextVNode)(),
|
|
8560
|
+
(0,external_vue_.createElementVNode)("div", ld_select_list_boxvue_type_template_id_4ccf12f8_scoped_true_ts_true_hoisted_5, [
|
|
8561
|
+
(0,external_vue_.renderSlot)(_ctx.$slots, "option", (0,external_vue_.normalizeProps)((0,external_vue_.guardReactiveProps)({ item: option, isSelected: _ctx.checkedItems.includes(_ctx.itemIdentity(option)) })), () => [
|
|
8562
|
+
(0,external_vue_.createElementVNode)("div", null, (0,external_vue_.toDisplayString)(_ctx.$utils.deepValueGetter(option, _ctx.itemTitle)), 1)
|
|
8563
|
+
], true),
|
|
8556
8564
|
(0,external_vue_.createTextVNode)(),
|
|
8557
|
-
(
|
|
8558
|
-
|
|
8559
|
-
|
|
8560
|
-
|
|
8561
|
-
|
|
8562
|
-
|
|
8563
|
-
|
|
8564
|
-
|
|
8565
|
-
|
|
8566
|
-
(0,external_vue_.createTextVNode)(),
|
|
8567
|
-
(_ctx.optionHint)
|
|
8568
|
-
? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", ld_select_list_boxvue_type_template_id_6b0ce187_scoped_true_ts_true_hoisted_4, [
|
|
8569
|
-
(0,external_vue_.renderSlot)(_ctx.$slots, "option-hint", (0,external_vue_.normalizeProps)((0,external_vue_.guardReactiveProps)({ item: option })), () => [
|
|
8570
|
-
(0,external_vue_.createTextVNode)("\r\n no slot \"option-hint\" found\r\n ")
|
|
8571
|
-
], true)
|
|
8572
|
-
]))
|
|
8573
|
-
: (0,external_vue_.createCommentVNode)("", true)
|
|
8574
|
-
])
|
|
8575
|
-
], 2)
|
|
8576
|
-
]),
|
|
8577
|
-
_: 2
|
|
8578
|
-
}, 1024)
|
|
8565
|
+
(_ctx.optionHint)
|
|
8566
|
+
? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", ld_select_list_boxvue_type_template_id_4ccf12f8_scoped_true_ts_true_hoisted_6, [
|
|
8567
|
+
(0,external_vue_.renderSlot)(_ctx.$slots, "option-hint", (0,external_vue_.normalizeProps)((0,external_vue_.guardReactiveProps)({ item: option })), () => [
|
|
8568
|
+
(0,external_vue_.createTextVNode)("\r\n no slot \"option-hint\" found\r\n ")
|
|
8569
|
+
], true)
|
|
8570
|
+
]))
|
|
8571
|
+
: (0,external_vue_.createCommentVNode)("", true)
|
|
8572
|
+
])
|
|
8573
|
+
], 2)
|
|
8579
8574
|
]),
|
|
8580
8575
|
_: 2
|
|
8581
8576
|
}, 1024)
|
|
8582
8577
|
]),
|
|
8583
|
-
|
|
8584
|
-
|
|
8585
|
-
|
|
8586
|
-
|
|
8587
|
-
|
|
8588
|
-
|
|
8589
|
-
|
|
8590
|
-
|
|
8591
|
-
|
|
8592
|
-
|
|
8593
|
-
|
|
8594
|
-
|
|
8595
|
-
|
|
8596
|
-
|
|
8597
|
-
|
|
8578
|
+
_: 2
|
|
8579
|
+
}, 1024)
|
|
8580
|
+
]),
|
|
8581
|
+
noResult: (0,external_vue_.withCtx)(() => [
|
|
8582
|
+
(0,external_vue_.createElementVNode)("span", null, (0,external_vue_.toDisplayString)(_ctx.message), 1)
|
|
8583
|
+
]),
|
|
8584
|
+
_: 3
|
|
8585
|
+
}, 8, ["modelValue", "multiple", "placeholder", "options", "internal-search", "close-on-select", "disabled", "limit", "tabindex", "allowEmpty", "onClose", "onSearchChange", "onUpdate:modelValue"]),
|
|
8586
|
+
(0,external_vue_.createTextVNode)(),
|
|
8587
|
+
(!_ctx.disableDialog)
|
|
8588
|
+
? ((0,external_vue_.openBlock)(), (0,external_vue_.createBlock)(_component_square_button, {
|
|
8589
|
+
key: 0,
|
|
8590
|
+
variant: "outlined",
|
|
8591
|
+
id: "selectButton",
|
|
8592
|
+
color: "grey",
|
|
8593
|
+
disabled: _ctx.readonly || _ctx.disabled,
|
|
8594
|
+
loading: _ctx.loading,
|
|
8595
|
+
onClick: _ctx.onSelect
|
|
8596
|
+
}, {
|
|
8597
|
+
default: (0,external_vue_.withCtx)(() => [
|
|
8598
|
+
((0,external_vue_.openBlock)(), (0,external_vue_.createBlock)((0,external_vue_.resolveDynamicComponent)(_ctx.$ldmui.options.aliases['ld-icon']), {
|
|
8599
|
+
color: _ctx.validationMessage && !_ctx.readonly && !_ctx.disabled ? 'error' : 'grey'
|
|
8598
8600
|
}, {
|
|
8599
8601
|
default: (0,external_vue_.withCtx)(() => [
|
|
8600
|
-
(
|
|
8601
|
-
color: _ctx.validationMessage && !_ctx.readonly && !_ctx.disabled ? 'error' : 'grey'
|
|
8602
|
-
}, {
|
|
8603
|
-
default: (0,external_vue_.withCtx)(() => [
|
|
8604
|
-
(0,external_vue_.createTextVNode)((0,external_vue_.toDisplayString)(_ctx.icon), 1)
|
|
8605
|
-
]),
|
|
8606
|
-
_: 1
|
|
8607
|
-
}, 8, ["color"]))
|
|
8602
|
+
(0,external_vue_.createTextVNode)((0,external_vue_.toDisplayString)(_ctx.icon), 1)
|
|
8608
8603
|
]),
|
|
8609
8604
|
_: 1
|
|
8610
|
-
}, 8, ["
|
|
8611
|
-
|
|
8612
|
-
|
|
8613
|
-
|
|
8614
|
-
|
|
8615
|
-
|
|
8616
|
-
|
|
8617
|
-
|
|
8618
|
-
|
|
8619
|
-
])
|
|
8620
|
-
|
|
8621
|
-
|
|
8622
|
-
|
|
8623
|
-
|
|
8624
|
-
|
|
8625
|
-
|
|
8605
|
+
}, 8, ["color"]))
|
|
8606
|
+
]),
|
|
8607
|
+
_: 1
|
|
8608
|
+
}, 8, ["disabled", "loading", "onClick"]))
|
|
8609
|
+
: (0,external_vue_.createCommentVNode)("", true),
|
|
8610
|
+
(0,external_vue_.createTextVNode)(),
|
|
8611
|
+
(_ctx.loading)
|
|
8612
|
+
? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", ld_select_list_boxvue_type_template_id_4ccf12f8_scoped_true_ts_true_hoisted_7))
|
|
8613
|
+
: (0,external_vue_.createCommentVNode)("", true)
|
|
8614
|
+
])
|
|
8615
|
+
]))
|
|
8616
|
+
: (0,external_vue_.createCommentVNode)("", true),
|
|
8617
|
+
(0,external_vue_.createTextVNode)(),
|
|
8618
|
+
(!_ctx.multiselect && _ctx.$utils.isDefined(_ctx.singleItem))
|
|
8619
|
+
? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", ld_select_list_boxvue_type_template_id_4ccf12f8_scoped_true_ts_true_hoisted_8, [
|
|
8620
|
+
(0,external_vue_.renderSlot)(_ctx.$slots, "tag", (0,external_vue_.normalizeProps)((0,external_vue_.guardReactiveProps)({ item: _ctx.singleItem, onRemove: _ctx.onRemoveItem })), () => [
|
|
8621
|
+
((0,external_vue_.openBlock)(), (0,external_vue_.createBlock)(_component_small_chip, {
|
|
8622
|
+
key: JSON.stringify(_ctx.selected),
|
|
8623
|
+
closable: _ctx.canRemove,
|
|
8624
|
+
color: _ctx.disabled ? 'grey' : 'primary',
|
|
8625
|
+
"onClick:close": _cache[1] || (_cache[1] = ($event) => (_ctx.onRemoveItem(_ctx.singleItem)))
|
|
8626
|
+
}, {
|
|
8626
8627
|
default: (0,external_vue_.withCtx)(() => [
|
|
8627
|
-
(_ctx.
|
|
8628
|
-
? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("span", {
|
|
8629
|
-
key: 0,
|
|
8630
|
-
style: { "font-size": "var(--font-size--1)" },
|
|
8631
|
-
class: (0,external_vue_.normalizeClass)({ 'error--text': _ctx.warningHint, 'grey--text': !_ctx.validationMessage })
|
|
8632
|
-
}, (0,external_vue_.toDisplayString)(_ctx.displayingInputHint), 3))
|
|
8633
|
-
: (0,external_vue_.createCommentVNode)("", true)
|
|
8628
|
+
(0,external_vue_.createElementVNode)("span", null, (0,external_vue_.toDisplayString)(_ctx.$utils.deepValueGetter(_ctx.singleItem, this.itemTitle)), 1)
|
|
8634
8629
|
]),
|
|
8635
8630
|
_: 1
|
|
8636
|
-
})
|
|
8637
|
-
])
|
|
8638
|
-
|
|
8639
|
-
|
|
8640
|
-
|
|
8641
|
-
|
|
8642
|
-
|
|
8643
|
-
|
|
8644
|
-
(!_ctx.multiselect && _ctx.$utils.isDefined(_ctx.singeItem))
|
|
8645
|
-
? ((0,external_vue_.openBlock)(), (0,external_vue_.createBlock)(_component_v_col, {
|
|
8646
|
-
key: 2,
|
|
8647
|
-
class: (0,external_vue_.normalizeClass)(_ctx.inputSizeClasses)
|
|
8648
|
-
}, {
|
|
8649
|
-
default: (0,external_vue_.withCtx)(() => [
|
|
8650
|
-
(0,external_vue_.renderSlot)(_ctx.$slots, "tag", (0,external_vue_.normalizeProps)((0,external_vue_.guardReactiveProps)({ item: _ctx.singeItem, onRemove: _ctx.onRemoveItem })), () => [
|
|
8651
|
-
((0,external_vue_.openBlock)(), (0,external_vue_.createBlock)(_component_small_chip, {
|
|
8652
|
-
key: JSON.stringify(_ctx.selected),
|
|
8653
|
-
closable: _ctx.canRemove,
|
|
8654
|
-
color: _ctx.disabled ? 'grey' : 'primary',
|
|
8655
|
-
"onClick:close": _cache[1] || (_cache[1] = ($event) => (_ctx.onRemoveItem(_ctx.singeItem)))
|
|
8656
|
-
}, {
|
|
8631
|
+
}, 8, ["closable", "color"]))
|
|
8632
|
+
], true)
|
|
8633
|
+
]))
|
|
8634
|
+
: (0,external_vue_.createCommentVNode)("", true),
|
|
8635
|
+
(0,external_vue_.createTextVNode)(),
|
|
8636
|
+
(!_ctx.hideDetails)
|
|
8637
|
+
? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", _hoisted_9, [
|
|
8638
|
+
(0,external_vue_.createVNode)(external_vue_.Transition, { name: "squash" }, {
|
|
8657
8639
|
default: (0,external_vue_.withCtx)(() => [
|
|
8658
|
-
(
|
|
8640
|
+
(_ctx.showHint)
|
|
8641
|
+
? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("span", {
|
|
8642
|
+
key: 0,
|
|
8643
|
+
style: { "font-size": "var(--font-size--1)" },
|
|
8644
|
+
class: (0,external_vue_.normalizeClass)({ 'error--text': _ctx.warningHint, 'grey--text': !_ctx.validationMessage })
|
|
8645
|
+
}, (0,external_vue_.toDisplayString)(_ctx.displayingInputHint), 3))
|
|
8646
|
+
: (0,external_vue_.createCommentVNode)("", true)
|
|
8659
8647
|
]),
|
|
8660
8648
|
_: 1
|
|
8661
|
-
}
|
|
8662
|
-
]
|
|
8663
|
-
(0,external_vue_.
|
|
8664
|
-
|
|
8665
|
-
|
|
8666
|
-
|
|
8667
|
-
]),
|
|
8668
|
-
_: 3
|
|
8669
|
-
}, 8, ["class"]))
|
|
8670
|
-
: (0,external_vue_.createCommentVNode)("", true)
|
|
8649
|
+
})
|
|
8650
|
+
]))
|
|
8651
|
+
: (0,external_vue_.createCommentVNode)("", true)
|
|
8652
|
+
]),
|
|
8653
|
+
_: 3
|
|
8654
|
+
}, 8, ["class"])
|
|
8671
8655
|
]),
|
|
8672
8656
|
_: 3
|
|
8673
8657
|
}));
|
|
8674
8658
|
}
|
|
8675
8659
|
|
|
8676
|
-
;// CONCATENATED MODULE: ./src/ld-select-list-box/ld-select-list-box.vue?vue&type=template&id=
|
|
8660
|
+
;// CONCATENATED MODULE: ./src/ld-select-list-box/ld-select-list-box.vue?vue&type=template&id=4ccf12f8&scoped=true&ts=true
|
|
8677
8661
|
|
|
8678
8662
|
// EXTERNAL MODULE: external "./multiselect.js"
|
|
8679
8663
|
var external_multiselect_js_ = __webpack_require__(9225);
|
|
@@ -11232,7 +11216,7 @@ let SelectListBoxComponent = class SelectListBoxComponent extends (0,external_vu
|
|
|
11232
11216
|
get hasError() {
|
|
11233
11217
|
return Boolean(this.validationMessage);
|
|
11234
11218
|
}
|
|
11235
|
-
get
|
|
11219
|
+
get singleItem() {
|
|
11236
11220
|
return this.toSingleItem(this.selected);
|
|
11237
11221
|
}
|
|
11238
11222
|
get selectedToArray() {
|
|
@@ -11406,7 +11390,7 @@ SelectListBoxComponent = ld_select_list_boxvue_type_script_lang_ts_external_deco
|
|
|
11406
11390
|
;
|
|
11407
11391
|
|
|
11408
11392
|
|
|
11409
|
-
const ld_select_list_box_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(ld_select_list_boxvue_type_script_lang_ts_external, [['render',
|
|
11393
|
+
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_4ccf12f8_scoped_true_ts_true_render],['__scopeId',"data-v-4ccf12f8"]])
|
|
11410
11394
|
|
|
11411
11395
|
/* harmony default export */ const ld_select_list_box = (ld_select_list_box_exports_);
|
|
11412
11396
|
;// CONCATENATED MODULE: ./src/ld-select-list-box/index.ts
|
|
@@ -12807,29 +12791,34 @@ function ld_select_reg(vue, options) {
|
|
|
12807
12791
|
}
|
|
12808
12792
|
/* harmony default export */ const src_ld_select = (ld_select_reg);
|
|
12809
12793
|
|
|
12810
|
-
;// 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=
|
|
12794
|
+
;// 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=70de7eb0&scoped=true&ts=true
|
|
12811
12795
|
|
|
12812
|
-
const
|
|
12813
|
-
const
|
|
12814
|
-
|
|
12796
|
+
const ld_comboboxvue_type_template_id_70de7eb0_scoped_true_ts_true_withScopeId = n => (_pushScopeId("data-v-70de7eb0"), n = n(), _popScopeId(), n);
|
|
12797
|
+
const ld_comboboxvue_type_template_id_70de7eb0_scoped_true_ts_true_hoisted_1 = {
|
|
12798
|
+
class: "w-full overflow-hidden",
|
|
12799
|
+
style: { "border-radius": "var(--border-radius)" }
|
|
12800
|
+
};
|
|
12801
|
+
const ld_comboboxvue_type_template_id_70de7eb0_scoped_true_ts_true_hoisted_2 = { class: "w-full d-flex position-relative" };
|
|
12802
|
+
const ld_comboboxvue_type_template_id_70de7eb0_scoped_true_ts_true_hoisted_3 = { class: "text-crop" };
|
|
12803
|
+
const ld_comboboxvue_type_template_id_70de7eb0_scoped_true_ts_true_hoisted_4 = {
|
|
12815
12804
|
key: 0,
|
|
12816
12805
|
class: "d-flex align-center"
|
|
12817
12806
|
};
|
|
12818
|
-
const
|
|
12819
|
-
const
|
|
12807
|
+
const ld_comboboxvue_type_template_id_70de7eb0_scoped_true_ts_true_hoisted_5 = { class: "d-flex flex-column justify-center" };
|
|
12808
|
+
const ld_comboboxvue_type_template_id_70de7eb0_scoped_true_ts_true_hoisted_6 = {
|
|
12820
12809
|
key: 0,
|
|
12821
12810
|
class: "grey--text",
|
|
12822
12811
|
style: { "font-size": "var(--font-size--1)" }
|
|
12823
12812
|
};
|
|
12824
|
-
const
|
|
12813
|
+
const ld_comboboxvue_type_template_id_70de7eb0_scoped_true_ts_true_hoisted_7 = {
|
|
12825
12814
|
key: 0,
|
|
12826
12815
|
class: "combobox-loading"
|
|
12827
12816
|
};
|
|
12828
|
-
const
|
|
12817
|
+
const ld_comboboxvue_type_template_id_70de7eb0_scoped_true_ts_true_hoisted_8 = {
|
|
12829
12818
|
key: 0,
|
|
12830
12819
|
class: "combobox-validate"
|
|
12831
12820
|
};
|
|
12832
|
-
function
|
|
12821
|
+
function ld_comboboxvue_type_template_id_70de7eb0_scoped_true_ts_true_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12833
12822
|
const _component_ld_label = (0,external_vue_.resolveComponent)("ld-label");
|
|
12834
12823
|
const _component_small_chip = (0,external_vue_.resolveComponent)("small-chip");
|
|
12835
12824
|
const _component_v_col = (0,external_vue_.resolveComponent)("v-col");
|
|
@@ -12854,137 +12843,125 @@ function ld_comboboxvue_type_template_id_54095ac6_scoped_true_ts_true_render(_ct
|
|
|
12854
12843
|
class: (0,external_vue_.normalizeClass)(_ctx.inputSizeClasses)
|
|
12855
12844
|
}, {
|
|
12856
12845
|
default: (0,external_vue_.withCtx)(() => [
|
|
12857
|
-
(0,external_vue_.
|
|
12858
|
-
"
|
|
12859
|
-
|
|
12860
|
-
|
|
12861
|
-
|
|
12862
|
-
|
|
12863
|
-
|
|
12864
|
-
|
|
12846
|
+
(0,external_vue_.createElementVNode)("div", ld_comboboxvue_type_template_id_70de7eb0_scoped_true_ts_true_hoisted_1, [
|
|
12847
|
+
(0,external_vue_.createElementVNode)("div", ld_comboboxvue_type_template_id_70de7eb0_scoped_true_ts_true_hoisted_2, [
|
|
12848
|
+
(0,external_vue_.createVNode)(_component_multiselect, {
|
|
12849
|
+
ref: "multiselect",
|
|
12850
|
+
modelValue: _ctx.selected,
|
|
12851
|
+
"onUpdate:modelValue": [
|
|
12852
|
+
_cache[0] || (_cache[0] = ($event) => ((_ctx.selected) = $event)),
|
|
12853
|
+
_ctx.onInput
|
|
12854
|
+
],
|
|
12855
|
+
"track-by": "id",
|
|
12856
|
+
class: "multiselect--arrow",
|
|
12857
|
+
multiple: _ctx.multiselect,
|
|
12858
|
+
placeholder: _ctx.placeholder,
|
|
12859
|
+
"select-label": '',
|
|
12860
|
+
options: _ctx.optionsList,
|
|
12861
|
+
searchable: true,
|
|
12862
|
+
"internal-search": _ctx.internalSearch,
|
|
12863
|
+
"clear-on-select": true,
|
|
12864
|
+
"close-on-select": !_ctx.multiselect,
|
|
12865
|
+
"options-limit": 300,
|
|
12866
|
+
"show-no-results": true,
|
|
12867
|
+
"show-no-options": false,
|
|
12868
|
+
disabled: _ctx.readonly || _ctx.disabled,
|
|
12869
|
+
limit: _ctx.limit,
|
|
12870
|
+
tabindex: _ctx.tabIndex,
|
|
12871
|
+
allowEmpty: _ctx.allowEmpty,
|
|
12872
|
+
onClose: _ctx.dropdownClose,
|
|
12873
|
+
onOpen: _ctx.goSearch,
|
|
12874
|
+
onSearchChange: _ctx.getItems
|
|
12865
12875
|
}, {
|
|
12866
|
-
|
|
12867
|
-
(0,external_vue_.
|
|
12868
|
-
|
|
12869
|
-
|
|
12870
|
-
|
|
12871
|
-
|
|
12872
|
-
|
|
12873
|
-
|
|
12874
|
-
|
|
12875
|
-
|
|
12876
|
-
|
|
12877
|
-
|
|
12878
|
-
|
|
12879
|
-
|
|
12880
|
-
|
|
12881
|
-
|
|
12882
|
-
"
|
|
12883
|
-
|
|
12884
|
-
|
|
12885
|
-
|
|
12886
|
-
|
|
12887
|
-
|
|
12888
|
-
|
|
12889
|
-
|
|
12890
|
-
|
|
12891
|
-
|
|
12892
|
-
|
|
12893
|
-
|
|
12876
|
+
tag: (0,external_vue_.withCtx)(({ option }) => [
|
|
12877
|
+
(0,external_vue_.renderSlot)(_ctx.$slots, "tag", (0,external_vue_.normalizeProps)((0,external_vue_.guardReactiveProps)({
|
|
12878
|
+
item: option,
|
|
12879
|
+
onRemove: _ctx.onRemoveItem,
|
|
12880
|
+
canRemove: _ctx.canRemove,
|
|
12881
|
+
})), () => [
|
|
12882
|
+
((0,external_vue_.openBlock)(), (0,external_vue_.createBlock)(_component_small_chip, {
|
|
12883
|
+
key: JSON.stringify(option),
|
|
12884
|
+
color: _ctx.disabled ? 'grey' : 'primary',
|
|
12885
|
+
closable: _ctx.canRemove,
|
|
12886
|
+
"onClick:close": ($event) => (_ctx.onRemoveItem(option))
|
|
12887
|
+
}, {
|
|
12888
|
+
default: (0,external_vue_.withCtx)(() => [
|
|
12889
|
+
(0,external_vue_.createElementVNode)("span", ld_comboboxvue_type_template_id_70de7eb0_scoped_true_ts_true_hoisted_3, (0,external_vue_.toDisplayString)(_ctx.$utils.deepValueGetter(option, this.itemTitle)), 1)
|
|
12890
|
+
]),
|
|
12891
|
+
_: 2
|
|
12892
|
+
}, 1032, ["color", "closable", "onClick:close"]))
|
|
12893
|
+
], true)
|
|
12894
|
+
]),
|
|
12895
|
+
"tag-overflow": (0,external_vue_.withCtx)(({ limit, count }) => [
|
|
12896
|
+
(0,external_vue_.renderSlot)(_ctx.$slots, "tag-overflow", {
|
|
12897
|
+
limit: limit,
|
|
12898
|
+
count: count
|
|
12899
|
+
}, () => [
|
|
12900
|
+
(0,external_vue_.createVNode)(_component_small_chip, { closable: false }, {
|
|
12901
|
+
default: (0,external_vue_.withCtx)(() => [
|
|
12902
|
+
(0,external_vue_.createTextVNode)((0,external_vue_.toDisplayString)(`overflow => limit: ${limit}, count: ${count}`), 1)
|
|
12903
|
+
]),
|
|
12904
|
+
_: 2
|
|
12905
|
+
}, 1024)
|
|
12906
|
+
], true)
|
|
12907
|
+
]),
|
|
12908
|
+
option: (0,external_vue_.withCtx)(({ option }) => [
|
|
12909
|
+
(0,external_vue_.createVNode)(_component_v_row, {
|
|
12910
|
+
"no-gutters": "",
|
|
12911
|
+
class: "mb-1"
|
|
12894
12912
|
}, {
|
|
12895
|
-
|
|
12896
|
-
(0,external_vue_.
|
|
12897
|
-
item: option,
|
|
12898
|
-
onRemove: _ctx.onRemoveItem,
|
|
12899
|
-
canRemove: _ctx.canRemove,
|
|
12900
|
-
})), () => [
|
|
12901
|
-
((0,external_vue_.openBlock)(), (0,external_vue_.createBlock)(_component_small_chip, {
|
|
12902
|
-
key: JSON.stringify(option),
|
|
12903
|
-
color: _ctx.disabled ? 'grey' : 'primary',
|
|
12904
|
-
closable: _ctx.canRemove,
|
|
12905
|
-
"onClick:close": ($event) => (_ctx.onRemoveItem(option))
|
|
12906
|
-
}, {
|
|
12907
|
-
default: (0,external_vue_.withCtx)(() => [
|
|
12908
|
-
(0,external_vue_.createElementVNode)("span", ld_comboboxvue_type_template_id_54095ac6_scoped_true_ts_true_hoisted_1, (0,external_vue_.toDisplayString)(_ctx.$utils.deepValueGetter(option, this.itemTitle)), 1)
|
|
12909
|
-
]),
|
|
12910
|
-
_: 2
|
|
12911
|
-
}, 1032, ["color", "closable", "onClick:close"]))
|
|
12912
|
-
], true)
|
|
12913
|
-
]),
|
|
12914
|
-
"tag-overflow": (0,external_vue_.withCtx)(({ limit, count }) => [
|
|
12915
|
-
(0,external_vue_.renderSlot)(_ctx.$slots, "tag-overflow", {
|
|
12916
|
-
limit: limit,
|
|
12917
|
-
count: count
|
|
12918
|
-
}, () => [
|
|
12919
|
-
(0,external_vue_.createVNode)(_component_small_chip, { closable: false }, {
|
|
12920
|
-
default: (0,external_vue_.withCtx)(() => [
|
|
12921
|
-
(0,external_vue_.createTextVNode)((0,external_vue_.toDisplayString)(`overflow => limit: ${limit}, count: ${count}`), 1)
|
|
12922
|
-
]),
|
|
12923
|
-
_: 2
|
|
12924
|
-
}, 1024)
|
|
12925
|
-
], true)
|
|
12926
|
-
]),
|
|
12927
|
-
option: (0,external_vue_.withCtx)(({ option }) => [
|
|
12928
|
-
(0,external_vue_.createVNode)(_component_v_row, {
|
|
12929
|
-
"no-gutters": "",
|
|
12930
|
-
class: "mb-1"
|
|
12931
|
-
}, {
|
|
12913
|
+
default: (0,external_vue_.withCtx)(() => [
|
|
12914
|
+
(0,external_vue_.createVNode)(_component_v_col, { class: "d-flex align-center py-1" }, {
|
|
12932
12915
|
default: (0,external_vue_.withCtx)(() => [
|
|
12933
|
-
(
|
|
12934
|
-
|
|
12935
|
-
(_ctx.
|
|
12936
|
-
|
|
12937
|
-
|
|
12938
|
-
|
|
12939
|
-
|
|
12940
|
-
|
|
12941
|
-
|
|
12942
|
-
|
|
12943
|
-
|
|
12944
|
-
|
|
12916
|
+
(_ctx.multiselect)
|
|
12917
|
+
? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", ld_comboboxvue_type_template_id_70de7eb0_scoped_true_ts_true_hoisted_4, [
|
|
12918
|
+
((0,external_vue_.openBlock)(), (0,external_vue_.createBlock)((0,external_vue_.resolveDynamicComponent)(_ctx.$ldmui.options.aliases['ld-checkbox']), {
|
|
12919
|
+
key: JSON.stringify(option),
|
|
12920
|
+
"model-value": _ctx.checkedItems,
|
|
12921
|
+
"initial-value": _ctx.$utils.deepValueGetter(option, _ctx.itemValue),
|
|
12922
|
+
"onUpdate:modelValue": ($event) => (_ctx.onCheckItem($event, option))
|
|
12923
|
+
}, null, 8, ["model-value", "initial-value", "onUpdate:modelValue"]))
|
|
12924
|
+
]))
|
|
12925
|
+
: (0,external_vue_.createCommentVNode)("", true),
|
|
12926
|
+
(0,external_vue_.createTextVNode)(),
|
|
12927
|
+
(0,external_vue_.createElementVNode)("div", {
|
|
12928
|
+
class: (0,external_vue_.normalizeClass)(["d-flex align-center", { 'ml-1': _ctx.multiselect }])
|
|
12929
|
+
}, [
|
|
12930
|
+
(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),
|
|
12931
|
+
(0,external_vue_.createTextVNode)(),
|
|
12932
|
+
(0,external_vue_.createElementVNode)("div", ld_comboboxvue_type_template_id_70de7eb0_scoped_true_ts_true_hoisted_5, [
|
|
12933
|
+
(0,external_vue_.renderSlot)(_ctx.$slots, "option", (0,external_vue_.normalizeProps)((0,external_vue_.guardReactiveProps)({ item: option, isSelected: _ctx.checkedItems.includes(_ctx.itemIdentity(option)) })), () => [
|
|
12934
|
+
(0,external_vue_.createElementVNode)("div", null, (0,external_vue_.toDisplayString)(_ctx.$utils.deepValueGetter(option, _ctx.itemTitle)), 1)
|
|
12935
|
+
], true),
|
|
12945
12936
|
(0,external_vue_.createTextVNode)(),
|
|
12946
|
-
(
|
|
12947
|
-
|
|
12948
|
-
|
|
12949
|
-
|
|
12950
|
-
(0,external_vue_.
|
|
12951
|
-
|
|
12952
|
-
|
|
12953
|
-
(0,external_vue_.createElementVNode)("div", null, (0,external_vue_.toDisplayString)(_ctx.$utils.deepValueGetter(option, _ctx.itemTitle)), 1)
|
|
12954
|
-
], true),
|
|
12955
|
-
(0,external_vue_.createTextVNode)(),
|
|
12956
|
-
(_ctx.optionHint)
|
|
12957
|
-
? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", ld_comboboxvue_type_template_id_54095ac6_scoped_true_ts_true_hoisted_4, [
|
|
12958
|
-
(0,external_vue_.renderSlot)(_ctx.$slots, "option-hint", (0,external_vue_.normalizeProps)((0,external_vue_.guardReactiveProps)({ item: option })), undefined, true)
|
|
12959
|
-
]))
|
|
12960
|
-
: (0,external_vue_.createCommentVNode)("", true)
|
|
12961
|
-
])
|
|
12962
|
-
], 2)
|
|
12963
|
-
]),
|
|
12964
|
-
_: 2
|
|
12965
|
-
}, 1024)
|
|
12937
|
+
(_ctx.optionHint)
|
|
12938
|
+
? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", ld_comboboxvue_type_template_id_70de7eb0_scoped_true_ts_true_hoisted_6, [
|
|
12939
|
+
(0,external_vue_.renderSlot)(_ctx.$slots, "option-hint", (0,external_vue_.normalizeProps)((0,external_vue_.guardReactiveProps)({ item: option })), undefined, true)
|
|
12940
|
+
]))
|
|
12941
|
+
: (0,external_vue_.createCommentVNode)("", true)
|
|
12942
|
+
])
|
|
12943
|
+
], 2)
|
|
12966
12944
|
]),
|
|
12967
12945
|
_: 2
|
|
12968
12946
|
}, 1024)
|
|
12969
12947
|
]),
|
|
12970
|
-
|
|
12971
|
-
|
|
12972
|
-
|
|
12973
|
-
|
|
12974
|
-
|
|
12975
|
-
(0,external_vue_.createTextVNode)(),
|
|
12976
|
-
(_ctx.loading)
|
|
12977
|
-
? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", ld_comboboxvue_type_template_id_54095ac6_scoped_true_ts_true_hoisted_5))
|
|
12978
|
-
: (0,external_vue_.createCommentVNode)("", true)
|
|
12948
|
+
_: 2
|
|
12949
|
+
}, 1024)
|
|
12950
|
+
]),
|
|
12951
|
+
noResult: (0,external_vue_.withCtx)(() => [
|
|
12952
|
+
(0,external_vue_.createElementVNode)("span", null, (0,external_vue_.toDisplayString)(_ctx.message), 1)
|
|
12979
12953
|
]),
|
|
12980
12954
|
_: 3
|
|
12981
|
-
})
|
|
12982
|
-
|
|
12983
|
-
|
|
12984
|
-
|
|
12955
|
+
}, 8, ["modelValue", "multiple", "placeholder", "options", "internal-search", "close-on-select", "disabled", "limit", "tabindex", "allowEmpty", "onClose", "onOpen", "onSearchChange", "onUpdate:modelValue"]),
|
|
12956
|
+
(0,external_vue_.createTextVNode)(),
|
|
12957
|
+
(_ctx.loading)
|
|
12958
|
+
? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", ld_comboboxvue_type_template_id_70de7eb0_scoped_true_ts_true_hoisted_7))
|
|
12959
|
+
: (0,external_vue_.createCommentVNode)("", true)
|
|
12960
|
+
])
|
|
12961
|
+
]),
|
|
12985
12962
|
(0,external_vue_.createTextVNode)(),
|
|
12986
12963
|
(!_ctx.hideDetails)
|
|
12987
|
-
? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div",
|
|
12964
|
+
? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", ld_comboboxvue_type_template_id_70de7eb0_scoped_true_ts_true_hoisted_8, [
|
|
12988
12965
|
(0,external_vue_.createVNode)(external_vue_.Transition, { name: "squash" }, {
|
|
12989
12966
|
default: (0,external_vue_.withCtx)(() => [
|
|
12990
12967
|
(_ctx.showHint)
|
|
@@ -13007,7 +12984,7 @@ function ld_comboboxvue_type_template_id_54095ac6_scoped_true_ts_true_render(_ct
|
|
|
13007
12984
|
}));
|
|
13008
12985
|
}
|
|
13009
12986
|
|
|
13010
|
-
;// CONCATENATED MODULE: ./src/ld-combobox/ld-combobox.vue?vue&type=template&id=
|
|
12987
|
+
;// CONCATENATED MODULE: ./src/ld-combobox/ld-combobox.vue?vue&type=template&id=70de7eb0&scoped=true&ts=true
|
|
13011
12988
|
|
|
13012
12989
|
;// CONCATENATED MODULE: ./node_modules/ts-loader/index.js??clonedRuleSet-1.use!./src/ld-combobox/ld-combobox.ts?vue&type=script&lang=ts&external
|
|
13013
12990
|
var ld_comboboxvue_type_script_lang_ts_external_decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
@@ -13465,7 +13442,7 @@ ld_comboboxvue_type_script_lang_ts_external_SelectListBoxComponent = ld_combobox
|
|
|
13465
13442
|
;
|
|
13466
13443
|
|
|
13467
13444
|
|
|
13468
|
-
const ld_combobox_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(ld_comboboxvue_type_script_lang_ts_external, [['render',
|
|
13445
|
+
const ld_combobox_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(ld_comboboxvue_type_script_lang_ts_external, [['render',ld_comboboxvue_type_template_id_70de7eb0_scoped_true_ts_true_render],['__scopeId',"data-v-70de7eb0"]])
|
|
13469
13446
|
|
|
13470
13447
|
/* harmony default export */ const ld_combobox = (ld_combobox_exports_);
|
|
13471
13448
|
;// CONCATENATED MODULE: ./src/ld-combobox/index.ts
|