@ldmjs/ui 1.0.75 → 1.0.77
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 +1 -1
- package/dist/index.js +68 -40
- package/dist/scss/_multiselect.scss +0 -1
- package/package.json +6 -4
package/dist/css/index.css
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
.ld-radiobutton[data-v-42a61559]{display:flex;align-items:center;font-size:var(--font-size)}
|
|
10
10
|
.ld-ragiogroup .validate[data-v-572c2151]{overflow:hidden;height:20px}.ld-ragiogroup--row[data-v-572c2151] .ld-radiobutton:not(:first-child){margin-left:8px}
|
|
11
11
|
.ld-select[data-v-04200e92]{position:relative;min-width:100%}.ld-select[data-v-04200e92] .v-field__append-inner{display:none}.ld-select[data-v-04200e92] .v-select{position:relative}.ld-select[data-v-04200e92] .v-select .v-input__control{position:relative}.ld-select[data-v-04200e92] .v-select .v-input__control:before{display:block;position:absolute;right:20px;top:calc(var(--input-height)/2);margin-top:-2px;color:var(--grey);border-style:solid;border-width:5px 5px 0;border-color:var(--grey) rgba(0,0,0,0) rgba(0,0,0,0);transition:transform .2s ease;content:"";z-index:1}.ld-select[data-v-04200e92] .v-input--readonly:before{opacity:.6}.ld-select[data-v-04200e92] .v-select--active-menu .v-input__control:before{transform:rotate(180deg)}input[type=checkbox]+.v-icon[data-v-04200e92]{display:block;width:12px !important;height:12px !important;font-size:10px !important;background-color:var(--white);color:rgba(0,0,0,0);border:1px solid var(--grey-l-5)}input[type=checkbox]:checked+.v-icon[data-v-04200e92]{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-04200e92]{min-height:var(--input-height)}.v-list-item--density-compact.v-list-item--one-line[data-v-04200e92] .v-list-item__content{display:flex;flex-wrap:nowrap}.v-list-item--density-compact.v-list-item--one-line[data-v-04200e92] .v-list-item__content .v-list-item-title{font-size:var(--font-size)}
|
|
12
|
-
.ld-select-list-box[data-v-
|
|
12
|
+
.ld-select-list-box[data-v-f23df862]{display:flex;min-width:100%;max-width:100%;width:100%}.ld-select-list-box .select-list-box-validate[data-v-f23df862]{overflow:hidden;height:20px}.ld-select-list-box .select-list-box-loading[data-v-f23df862]{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-f23df862]:before{content:"";display:block;position:absolute;top:0;left:0;width:25%;height:100%;background-color:var(--primary);animation:loading-f23df862 1.4s linear;animation-iteration-count:infinite}@keyframes loading-f23df862{from{transform:translateX(-300%)}to{transform:translateX(500%)}}
|
|
13
13
|
.ld-splitter[data-v-57e95903]{height:inherit;display:flex}.ld-splitter .splitter-pane[data-v-57e95903]{height:inherit;overflow-y:auto;background:var(--white)}.ld-splitter .splitter[data-v-57e95903]{display:flex;background-color:var(--white) !important;border-color:var(--grey-l-5);border-style:solid}.ld-splitter .splitter--hor[data-v-57e95903]{justify-content:center;width:100%;height:7px;cursor:ns-resize;border-width:1px 0}.ld-splitter .splitter--hor.splitter--disabled[data-v-57e95903]{height:1px;border-top:none}.ld-splitter .splitter--ver[data-v-57e95903]{align-items:center;width:7px;height:100%;cursor:ew-resize;border-width:0 1px}.ld-splitter .splitter--ver.splitter--disabled[data-v-57e95903]{width:1px;border-left:none}.ld-splitter .splitter--disabled[data-v-57e95903]{cursor:default}.ld-splitter .splitter--disabled svg[data-v-57e95903]{display:none}.ld-splitter.splitter[data-v-57e95903]{width:100%;border-left:none;border-right:none}
|
|
14
14
|
.ld-switch[data-v-649de2c4] .v-switch{display:block}.ld-switch[data-v-649de2c4] .v-switch .v-selection-control{min-height:var(--input-height) !important}.ld-switch[data-v-649de2c4] .v-switch .v-selection-control .v-selection-control__wrapper{width:40px}.ld-switch[data-v-649de2c4] .v-switch .v-selection-control:not(.v-selection-control--dirty) .v-selection-control__input{transform:translateX(-12px)}.ld-switch[data-v-649de2c4] .v-switch .v-selection-control:not(.v-selection-control--dirty) .v-switch__track{color:var(--grey-l-4) !important;background-color:var(--grey-l-4) !important}.ld-switch[data-v-649de2c4] .v-switch .v-selection-control .v-switch__track{opacity:1;width:40px}.ld-switch[data-v-649de2c4] .v-switch .v-selection-control--dirty .v-selection-control__input{transform:translateX(12px)}.ld-switch[data-v-649de2c4] .v-switch .v-selection-control--dirty .v-switch__thumb{color:var(--primary-l-3) !important;background-color:var(--primary-l-3) !important}.ld-switch[data-v-649de2c4] .v-switch .v-selection-control--dirty .v-switch__track{opacity:1;background-color:var(--primary-l-2) !important}.ld-switch[data-v-649de2c4] .v-switch .v-selection-control--dirty .v-label{color:var(--primary-l-2) !important}.ld-switch[data-v-649de2c4] .v-switch .v-selection-control .v-switch__thumb{color:var(--white) !important}.ld-switch[data-v-649de2c4] .v-switch .v-selection-control .v-label{padding-inline-start:4px}
|
|
15
15
|
.ld-tabs[data-v-0a53a285]{margin-left:0;display:flex;height:100%;width:100%;overflow-y:auto}.ld-tabs .header-text[data-v-0a53a285]{font-size:var(--font-size-2)}.ld-tabs-mobile[data-v-0a53a285]{height:100%}.ld-tabs .vertical-body[data-v-0a53a285]{--w: 44px;display:flex;flex-flow:column nowrap;width:calc(100% - var(--w)) !important;height:100%}.v-window[data-v-0a53a285]{background-color:var(--white);box-shadow:1px 0 var(--grey-l-5),-1px 0 0 var(--grey-l-5);overflow-y:auto;height:100%;width:100%}.vertical-window.v-window[data-v-0a53a285]{padding:10px 12px;border-bottom:1px solid var(--grey-l-5);border-right:1px solid var(--grey-l-5);border-top:1px solid var(--grey-l-5)}.vertical-window.v-window--no-padding[data-v-0a53a285]{padding:0 !important}[data-v-0a53a285] .ld-tabs .v-tabs--vertical{background:var(--grey-l-6)}[data-v-0a53a285] .ld-tabs .v-tabs--vertical .v-tab{justify-content:flex-start;border:1px solid var(--grey-l-5);border-bottom:none;border-radius:0 !important;text-transform:none !important;width:100%;min-width:auto !important}[data-v-0a53a285] .ld-tabs .v-tabs--vertical .v-tab--selected{background-color:var(--white);border-right-color:rgba(0,0,0,0)}[data-v-0a53a285] .ld-tabs .v-tabs--vertical .v-tab:last-child{border-bottom:1px solid var(--grey-l-5) !important}[data-v-0a53a285] .ld-tabs .v-tabs--vertical .v-slide-group__content{flex-flow:column nowrap;height:100% !important;width:100% !important}[data-v-0a53a285] .ld-tabs .v-tabs--vertical .v-slide-group__content .v-btn__content{text-overflow:ellipsis;display:inline-flex;justify-content:flex-start;gap:4px;white-space:nowrap;overflow:hidden}[data-v-0a53a285] .ld-tabs .v-tabs--horizontal .v-tab--selected{border-bottom:1px solid var(--primary)}[data-v-0a53a285] .ld-tabs .v-tabs .v-tab--selected .v-btn__content{font-weight:bold;color:var(--primary) !important}[data-v-0a53a285] .ld-tabs .v-tab{height:var(--ld-tab-height) !important;display:flex !important;text-transform:uppercase !important;padding:0 12px !important;font-size:var(--font-size);color:var(--text) !important;letter-spacing:0 !important}[data-v-0a53a285] .v-window.mobile .tg-field .v-row .v-col{flex:1 0 0 !important}[data-v-0a53a285] .v-window.mobile .tg-field .text-viewer-wrapper .v-col{flex:1 0 0 !important}[data-v-0a53a285] .v-slide-group--vertical{border-color:var(--grey-l-5);border:1px}[data-v-0a53a285] .v-slide-group--vertical .v-tab__slider{width:0px}[data-v-0a53a285] .v-slide-group__prev{display:none}[data-v-0a53a285] .v-slide-group__next{display:none}[data-v-0a53a285] .v-tabs-bar{flex:none;height:fit-content;height:-moz-max-content;max-height:fit-content;max-height:-moz-max-content;z-index:1}[data-v-0a53a285] .v-window-item{height:100%}[data-v-0a53a285] .ld-tabs-mobile.hide-tabs .v-tab{display:none !important}[data-v-0a53a285] .ld-tabs-mobile.hide-body .v-slide-group{width:100% !important}[data-v-0a53a285] .ld-tabs-mobile.hide-body .v-window{display:none !important}[data-v-0a53a285] .v-tabs-mobile .v-slide-group__content .v-btn__content{display:block !important}
|
package/dist/index.js
CHANGED
|
@@ -422,7 +422,7 @@ class BreadcrumbsComponent extends external_vue_property_decorator_.Vue {
|
|
|
422
422
|
go(item) {
|
|
423
423
|
if (!this.$router) {
|
|
424
424
|
/* eslint-disable no-console */
|
|
425
|
-
console.
|
|
425
|
+
console.error('Router is undefined');
|
|
426
426
|
return;
|
|
427
427
|
}
|
|
428
428
|
if (item.route) {
|
|
@@ -471,18 +471,18 @@ function reg(vue, options) {
|
|
|
471
471
|
}
|
|
472
472
|
/* harmony default export */ const src_ld_breadcrumbs = (reg);
|
|
473
473
|
|
|
474
|
-
;// ./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use!./src/ld-button/ld-button.vue?vue&type=template&id=
|
|
474
|
+
;// ./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use!./src/ld-button/ld-button.vue?vue&type=template&id=748c0a08
|
|
475
475
|
|
|
476
476
|
|
|
477
|
-
const
|
|
477
|
+
const ld_buttonvue_type_template_id_748c0a08_hoisted_1 = { class: "d-inline-flex" }
|
|
478
478
|
|
|
479
|
-
function
|
|
479
|
+
function ld_buttonvue_type_template_id_748c0a08_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
480
480
|
const _component_square_button = (0,external_vue_.resolveComponent)("square-button")
|
|
481
481
|
const _component_v_tooltip = (0,external_vue_.resolveComponent)("v-tooltip")
|
|
482
482
|
const _component_small_button = (0,external_vue_.resolveComponent)("small-button")
|
|
483
483
|
const _directive_active = (0,external_vue_.resolveDirective)("active")
|
|
484
484
|
|
|
485
|
-
return ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div",
|
|
485
|
+
return ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", ld_buttonvue_type_template_id_748c0a08_hoisted_1, [
|
|
486
486
|
(_ctx.isTabletView || _ctx.isTabletGlobal)
|
|
487
487
|
? ((0,external_vue_.openBlock)(), (0,external_vue_.createBlock)(_component_v_tooltip, {
|
|
488
488
|
key: 0,
|
|
@@ -490,6 +490,7 @@ function ld_buttonvue_type_template_id_c4f3f8da_render(_ctx, _cache, $props, $se
|
|
|
490
490
|
}, {
|
|
491
491
|
activator: (0,external_vue_.withCtx)(({ props }) => [
|
|
492
492
|
(0,external_vue_.withDirectives)(((0,external_vue_.openBlock)(), (0,external_vue_.createBlock)(_component_square_button, (0,external_vue_.mergeProps)(props, {
|
|
493
|
+
id: _ctx.id,
|
|
493
494
|
"data-testid": _ctx.testid,
|
|
494
495
|
variant: _ctx.variant,
|
|
495
496
|
color: _ctx.color,
|
|
@@ -504,7 +505,7 @@ function ld_buttonvue_type_template_id_c4f3f8da_render(_ctx, _cache, $props, $se
|
|
|
504
505
|
(0,external_vue_.renderSlot)(_ctx.$slots, "hidden")
|
|
505
506
|
]),
|
|
506
507
|
_: 2
|
|
507
|
-
}, 1040, ["data-testid", "variant", "color", "icon", "disabled", "loading", "onClick"])), [
|
|
508
|
+
}, 1040, ["id", "data-testid", "variant", "color", "icon", "disabled", "loading", "onClick"])), [
|
|
508
509
|
[_directive_active, _ctx.active]
|
|
509
510
|
])
|
|
510
511
|
]),
|
|
@@ -517,6 +518,7 @@ function ld_buttonvue_type_template_id_c4f3f8da_render(_ctx, _cache, $props, $se
|
|
|
517
518
|
: (_ctx.isDesktopView || _ctx.isDesktopGlobal)
|
|
518
519
|
? (0,external_vue_.withDirectives)(((0,external_vue_.openBlock)(), (0,external_vue_.createBlock)(_component_small_button, {
|
|
519
520
|
key: 1,
|
|
521
|
+
id: _ctx.id,
|
|
520
522
|
"data-testid": _ctx.testid,
|
|
521
523
|
variant: _ctx.variant,
|
|
522
524
|
color: _ctx.color,
|
|
@@ -532,12 +534,13 @@ function ld_buttonvue_type_template_id_c4f3f8da_render(_ctx, _cache, $props, $se
|
|
|
532
534
|
(0,external_vue_.renderSlot)(_ctx.$slots, "hidden")
|
|
533
535
|
]),
|
|
534
536
|
_: 3
|
|
535
|
-
}, 8, ["data-testid", "variant", "color", "disabled", "loading", "onClick"])), [
|
|
537
|
+
}, 8, ["id", "data-testid", "variant", "color", "disabled", "loading", "onClick"])), [
|
|
536
538
|
[_directive_active, _ctx.active]
|
|
537
539
|
])
|
|
538
540
|
: (_ctx.isMobileView || _ctx.isMobileGlobal)
|
|
539
541
|
? (0,external_vue_.withDirectives)(((0,external_vue_.openBlock)(), (0,external_vue_.createBlock)(_component_square_button, {
|
|
540
542
|
key: 2,
|
|
543
|
+
id: _ctx.id,
|
|
541
544
|
"data-testid": _ctx.testid,
|
|
542
545
|
color: _ctx.color,
|
|
543
546
|
disabled: _ctx.disabled,
|
|
@@ -552,13 +555,13 @@ function ld_buttonvue_type_template_id_c4f3f8da_render(_ctx, _cache, $props, $se
|
|
|
552
555
|
(0,external_vue_.renderSlot)(_ctx.$slots, "hidden")
|
|
553
556
|
]),
|
|
554
557
|
_: 3
|
|
555
|
-
}, 8, ["data-testid", "color", "disabled", "loading", "icon", "variant", "onClick"])), [
|
|
558
|
+
}, 8, ["id", "data-testid", "color", "disabled", "loading", "icon", "variant", "onClick"])), [
|
|
556
559
|
[_directive_active, _ctx.active]
|
|
557
560
|
])
|
|
558
561
|
: (0,external_vue_.createCommentVNode)("", true)
|
|
559
562
|
]))
|
|
560
563
|
}
|
|
561
|
-
;// ./src/ld-button/ld-button.vue?vue&type=template&id=
|
|
564
|
+
;// ./src/ld-button/ld-button.vue?vue&type=template&id=748c0a08
|
|
562
565
|
|
|
563
566
|
// EXTERNAL MODULE: external "vue-class-component"
|
|
564
567
|
var external_vue_class_component_ = __webpack_require__(9299);
|
|
@@ -688,6 +691,10 @@ let ResponsiveButtonComponent = class ResponsiveButtonComponent extends (0,exter
|
|
|
688
691
|
return this.globalDesktopKey ? this[this.globalDesktopKey] : false;
|
|
689
692
|
}
|
|
690
693
|
};
|
|
694
|
+
ld_buttonvue_type_script_lang_js_external_decorate([
|
|
695
|
+
(0,external_vue_property_decorator_.Prop)({ type: String, default: '' }),
|
|
696
|
+
ld_buttonvue_type_script_lang_js_external_metadata("design:type", String)
|
|
697
|
+
], ResponsiveButtonComponent.prototype, "id", void 0);
|
|
691
698
|
ld_buttonvue_type_script_lang_js_external_decorate([
|
|
692
699
|
(0,external_vue_property_decorator_.Prop)({ type: String, default: 'flat' }),
|
|
693
700
|
ld_buttonvue_type_script_lang_js_external_metadata("design:type", String)
|
|
@@ -753,7 +760,7 @@ ResponsiveButtonComponent = ld_buttonvue_type_script_lang_js_external_decorate([
|
|
|
753
760
|
|
|
754
761
|
|
|
755
762
|
;
|
|
756
|
-
const ld_button_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(ld_buttonvue_type_script_lang_js_external, [['render',
|
|
763
|
+
const ld_button_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(ld_buttonvue_type_script_lang_js_external, [['render',ld_buttonvue_type_template_id_748c0a08_render]])
|
|
757
764
|
|
|
758
765
|
/* harmony default export */ const ld_button = (ld_button_exports_);
|
|
759
766
|
;// ./src/ld-button/index.ts
|
|
@@ -12138,46 +12145,42 @@ function ld_select_reg(vue, options) {
|
|
|
12138
12145
|
}
|
|
12139
12146
|
/* harmony default export */ const src_ld_select = (ld_select_reg);
|
|
12140
12147
|
|
|
12141
|
-
;// ./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=
|
|
12148
|
+
;// ./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=f23df862&scoped=true&ts=true
|
|
12142
12149
|
|
|
12143
|
-
const
|
|
12150
|
+
const ld_select_list_boxvue_type_template_id_f23df862_scoped_true_ts_true_hoisted_1 = {
|
|
12144
12151
|
key: 0,
|
|
12145
12152
|
class: "w-full d-flex align-start overflow-hidden",
|
|
12146
|
-
style: { "border-radius": "var(--border-radius)" }
|
|
12153
|
+
style: { "border-radius": "var(--border-radius)", "max-width": "100%" }
|
|
12147
12154
|
};
|
|
12148
|
-
const
|
|
12149
|
-
|
|
12150
|
-
style: { "flex-basis": "100%" }
|
|
12151
|
-
};
|
|
12152
|
-
const ld_select_list_boxvue_type_template_id_b7c0d2d4_scoped_true_ts_true_hoisted_3 = { class: "text-crop" };
|
|
12153
|
-
const ld_select_list_boxvue_type_template_id_b7c0d2d4_scoped_true_ts_true_hoisted_4 = {
|
|
12155
|
+
const ld_select_list_boxvue_type_template_id_f23df862_scoped_true_ts_true_hoisted_2 = { style: { "display": "block", "overflow": "hidden", "text-overflow": "ellipsis" } };
|
|
12156
|
+
const ld_select_list_boxvue_type_template_id_f23df862_scoped_true_ts_true_hoisted_3 = {
|
|
12154
12157
|
key: 0,
|
|
12155
12158
|
class: "d-flex align-center"
|
|
12156
12159
|
};
|
|
12157
|
-
const
|
|
12158
|
-
const
|
|
12160
|
+
const ld_select_list_boxvue_type_template_id_f23df862_scoped_true_ts_true_hoisted_4 = { class: "d-flex flex-column justify-center" };
|
|
12161
|
+
const ld_select_list_boxvue_type_template_id_f23df862_scoped_true_ts_true_hoisted_5 = {
|
|
12159
12162
|
key: 0,
|
|
12160
12163
|
class: "grey--text",
|
|
12161
12164
|
style: { "font-size": "var(--font-size--1)" }
|
|
12162
12165
|
};
|
|
12163
|
-
const
|
|
12166
|
+
const ld_select_list_boxvue_type_template_id_f23df862_scoped_true_ts_true_hoisted_6 = {
|
|
12164
12167
|
key: 1,
|
|
12165
12168
|
class: "select-list-box-loading"
|
|
12166
12169
|
};
|
|
12167
|
-
const
|
|
12170
|
+
const ld_select_list_boxvue_type_template_id_f23df862_scoped_true_ts_true_hoisted_7 = {
|
|
12168
12171
|
class: "d-flex align-center",
|
|
12169
12172
|
style: { "height": "var(--input-height)" }
|
|
12170
12173
|
};
|
|
12171
|
-
const
|
|
12174
|
+
const ld_select_list_boxvue_type_template_id_f23df862_scoped_true_ts_true_hoisted_8 = {
|
|
12172
12175
|
key: 1,
|
|
12173
12176
|
class: "w-full",
|
|
12174
12177
|
style: { "min-height": "var(--input-height)" }
|
|
12175
12178
|
};
|
|
12176
|
-
const
|
|
12179
|
+
const ld_select_list_boxvue_type_template_id_f23df862_scoped_true_ts_true_hoisted_9 = {
|
|
12177
12180
|
key: 2,
|
|
12178
12181
|
class: "select-list-box-validate"
|
|
12179
12182
|
};
|
|
12180
|
-
function
|
|
12183
|
+
function ld_select_list_boxvue_type_template_id_f23df862_scoped_true_ts_true_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12181
12184
|
const _component_ld_label = (0,external_vue_.resolveComponent)("ld-label");
|
|
12182
12185
|
const _component_small_chip = (0,external_vue_.resolveComponent)("small-chip");
|
|
12183
12186
|
const _component_v_col = (0,external_vue_.resolveComponent)("v-col");
|
|
@@ -12205,8 +12208,14 @@ function ld_select_list_boxvue_type_template_id_b7c0d2d4_scoped_true_ts_true_ren
|
|
|
12205
12208
|
}, {
|
|
12206
12209
|
default: (0,external_vue_.withCtx)(() => [
|
|
12207
12210
|
(_ctx.multiselect || _ctx.selectedToArray.length === 0)
|
|
12208
|
-
? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div",
|
|
12209
|
-
(0,external_vue_.createElementVNode)("div",
|
|
12211
|
+
? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", ld_select_list_boxvue_type_template_id_f23df862_scoped_true_ts_true_hoisted_1, [
|
|
12212
|
+
(0,external_vue_.createElementVNode)("div", {
|
|
12213
|
+
class: "w-full d-flex position-relative",
|
|
12214
|
+
style: (0,external_vue_.normalizeStyle)({
|
|
12215
|
+
'flex-basis': '100%',
|
|
12216
|
+
'max-width': _ctx.fixWrapperMaxWidth,
|
|
12217
|
+
})
|
|
12218
|
+
}, [
|
|
12210
12219
|
(0,external_vue_.createVNode)(_component_multiselect, {
|
|
12211
12220
|
ref: "multiselect",
|
|
12212
12221
|
modelValue: _ctx.selected,
|
|
@@ -12216,6 +12225,7 @@ function ld_select_list_boxvue_type_template_id_b7c0d2d4_scoped_true_ts_true_ren
|
|
|
12216
12225
|
],
|
|
12217
12226
|
"track-by": "id",
|
|
12218
12227
|
class: (0,external_vue_.normalizeClass)({ 'multiselect--with-right-button': !_ctx.isDialogDisabled }),
|
|
12228
|
+
style: (0,external_vue_.normalizeStyle)({ 'max-width': _ctx.fixMultiselectMaxWidth }),
|
|
12219
12229
|
multiple: _ctx.multiselect,
|
|
12220
12230
|
placeholder: _ctx.placeholder,
|
|
12221
12231
|
"select-label": '',
|
|
@@ -12247,7 +12257,7 @@ function ld_select_list_boxvue_type_template_id_b7c0d2d4_scoped_true_ts_true_ren
|
|
|
12247
12257
|
"onClick:close": ($event) => (_ctx.onRemoveItem(option))
|
|
12248
12258
|
}, {
|
|
12249
12259
|
default: (0,external_vue_.withCtx)(() => [
|
|
12250
|
-
(0,external_vue_.createElementVNode)("span",
|
|
12260
|
+
(0,external_vue_.createElementVNode)("span", ld_select_list_boxvue_type_template_id_f23df862_scoped_true_ts_true_hoisted_2, (0,external_vue_.toDisplayString)(_ctx.$utils.deepValueGetter(option, this.itemTitle)), 1)
|
|
12251
12261
|
]),
|
|
12252
12262
|
_: 2
|
|
12253
12263
|
}, 1032, ["color", "closable", "onClick:close"]))
|
|
@@ -12275,7 +12285,7 @@ function ld_select_list_boxvue_type_template_id_b7c0d2d4_scoped_true_ts_true_ren
|
|
|
12275
12285
|
(0,external_vue_.createVNode)(_component_v_col, { class: "d-flex align-center" }, {
|
|
12276
12286
|
default: (0,external_vue_.withCtx)(() => [
|
|
12277
12287
|
(_ctx.multiselect)
|
|
12278
|
-
? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div",
|
|
12288
|
+
? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", ld_select_list_boxvue_type_template_id_f23df862_scoped_true_ts_true_hoisted_3, [
|
|
12279
12289
|
((0,external_vue_.openBlock)(), (0,external_vue_.createBlock)((0,external_vue_.resolveDynamicComponent)(_ctx.$ldmui.options.aliases['ld-checkbox']), {
|
|
12280
12290
|
key: JSON.stringify(option),
|
|
12281
12291
|
"model-value": _ctx.checkedItems,
|
|
@@ -12290,13 +12300,13 @@ function ld_select_list_boxvue_type_template_id_b7c0d2d4_scoped_true_ts_true_ren
|
|
|
12290
12300
|
}, [
|
|
12291
12301
|
(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),
|
|
12292
12302
|
_cache[4] || (_cache[4] = (0,external_vue_.createTextVNode)()),
|
|
12293
|
-
(0,external_vue_.createElementVNode)("div",
|
|
12303
|
+
(0,external_vue_.createElementVNode)("div", ld_select_list_boxvue_type_template_id_f23df862_scoped_true_ts_true_hoisted_4, [
|
|
12294
12304
|
(0,external_vue_.renderSlot)(_ctx.$slots, "option", (0,external_vue_.normalizeProps)((0,external_vue_.guardReactiveProps)({ item: option, isSelected: _ctx.checkedItems.includes(_ctx.itemIdentity(option)) })), () => [
|
|
12295
12305
|
(0,external_vue_.createElementVNode)("div", null, (0,external_vue_.toDisplayString)(_ctx.$utils.deepValueGetter(option, _ctx.itemTitle)), 1)
|
|
12296
12306
|
], true),
|
|
12297
12307
|
_cache[3] || (_cache[3] = (0,external_vue_.createTextVNode)()),
|
|
12298
12308
|
(_ctx.optionHint)
|
|
12299
|
-
? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div",
|
|
12309
|
+
? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", ld_select_list_boxvue_type_template_id_f23df862_scoped_true_ts_true_hoisted_5, [
|
|
12300
12310
|
(0,external_vue_.renderSlot)(_ctx.$slots, "option-hint", (0,external_vue_.normalizeProps)((0,external_vue_.guardReactiveProps)({ item: option })), () => [
|
|
12301
12311
|
_cache[2] || (_cache[2] = (0,external_vue_.createTextVNode)(" no slot \"option-hint\" found "))
|
|
12302
12312
|
], true)
|
|
@@ -12315,7 +12325,7 @@ function ld_select_list_boxvue_type_template_id_b7c0d2d4_scoped_true_ts_true_ren
|
|
|
12315
12325
|
(0,external_vue_.createElementVNode)("span", null, (0,external_vue_.toDisplayString)(_ctx.message), 1)
|
|
12316
12326
|
]),
|
|
12317
12327
|
_: 3
|
|
12318
|
-
}, 8, ["modelValue", "class", "multiple", "placeholder", "options", "searchable", "internal-search", "close-on-select", "disabled", "limit", "tabindex", "allow-empty", "onClose", "onSearchChange", "onUpdate:modelValue"]),
|
|
12328
|
+
}, 8, ["modelValue", "class", "style", "multiple", "placeholder", "options", "searchable", "internal-search", "close-on-select", "disabled", "limit", "tabindex", "allow-empty", "onClose", "onSearchChange", "onUpdate:modelValue"]),
|
|
12319
12329
|
_cache[9] || (_cache[9] = (0,external_vue_.createTextVNode)()),
|
|
12320
12330
|
(!_ctx.isDialogDisabled)
|
|
12321
12331
|
? ((0,external_vue_.openBlock)(), (0,external_vue_.createBlock)(_component_square_button, {
|
|
@@ -12343,11 +12353,11 @@ function ld_select_list_boxvue_type_template_id_b7c0d2d4_scoped_true_ts_true_ren
|
|
|
12343
12353
|
: (0,external_vue_.createCommentVNode)("", true),
|
|
12344
12354
|
_cache[10] || (_cache[10] = (0,external_vue_.createTextVNode)()),
|
|
12345
12355
|
(_ctx.loading)
|
|
12346
|
-
? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div",
|
|
12356
|
+
? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", ld_select_list_boxvue_type_template_id_f23df862_scoped_true_ts_true_hoisted_6))
|
|
12347
12357
|
: (0,external_vue_.createCommentVNode)("", true)
|
|
12348
|
-
]),
|
|
12358
|
+
], 4),
|
|
12349
12359
|
_cache[11] || (_cache[11] = (0,external_vue_.createTextVNode)()),
|
|
12350
|
-
(0,external_vue_.createElementVNode)("div",
|
|
12360
|
+
(0,external_vue_.createElementVNode)("div", ld_select_list_boxvue_type_template_id_f23df862_scoped_true_ts_true_hoisted_7, [
|
|
12351
12361
|
(_ctx.$utils.isDefined(_ctx.help))
|
|
12352
12362
|
? ((0,external_vue_.openBlock)(), (0,external_vue_.createBlock)(_component_ld_help, {
|
|
12353
12363
|
key: 0,
|
|
@@ -12360,7 +12370,7 @@ function ld_select_list_boxvue_type_template_id_b7c0d2d4_scoped_true_ts_true_ren
|
|
|
12360
12370
|
: (0,external_vue_.createCommentVNode)("", true),
|
|
12361
12371
|
_cache[12] || (_cache[12] = (0,external_vue_.createTextVNode)()),
|
|
12362
12372
|
(!_ctx.multiselect && _ctx.$utils.isDefined(_ctx.singleItem))
|
|
12363
|
-
? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div",
|
|
12373
|
+
? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", ld_select_list_boxvue_type_template_id_f23df862_scoped_true_ts_true_hoisted_8, [
|
|
12364
12374
|
(0,external_vue_.renderSlot)(_ctx.$slots, "tag", (0,external_vue_.normalizeProps)((0,external_vue_.guardReactiveProps)({ item: _ctx.singleItem, onRemove: _ctx.onRemoveItem })), () => [
|
|
12365
12375
|
((0,external_vue_.openBlock)(), (0,external_vue_.createBlock)(_component_small_chip, {
|
|
12366
12376
|
key: JSON.stringify(_ctx.selected),
|
|
@@ -12378,7 +12388,7 @@ function ld_select_list_boxvue_type_template_id_b7c0d2d4_scoped_true_ts_true_ren
|
|
|
12378
12388
|
: (0,external_vue_.createCommentVNode)("", true),
|
|
12379
12389
|
_cache[13] || (_cache[13] = (0,external_vue_.createTextVNode)()),
|
|
12380
12390
|
(!_ctx.hideDetails)
|
|
12381
|
-
? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div",
|
|
12391
|
+
? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", ld_select_list_boxvue_type_template_id_f23df862_scoped_true_ts_true_hoisted_9, [
|
|
12382
12392
|
(0,external_vue_.createVNode)(external_vue_.Transition, { name: "squash" }, {
|
|
12383
12393
|
default: (0,external_vue_.withCtx)(() => [
|
|
12384
12394
|
(_ctx.showHint)
|
|
@@ -12401,7 +12411,7 @@ function ld_select_list_boxvue_type_template_id_b7c0d2d4_scoped_true_ts_true_ren
|
|
|
12401
12411
|
}));
|
|
12402
12412
|
}
|
|
12403
12413
|
|
|
12404
|
-
;// ./src/ld-select-list-box/ld-select-list-box.vue?vue&type=template&id=
|
|
12414
|
+
;// ./src/ld-select-list-box/ld-select-list-box.vue?vue&type=template&id=f23df862&scoped=true&ts=true
|
|
12405
12415
|
|
|
12406
12416
|
;// ./node_modules/ts-loader/index.js??clonedRuleSet-1.use!./src/ld-select-list-box/ld-select-list-box.ts?vue&type=script&lang=ts&external
|
|
12407
12417
|
var ld_select_list_boxvue_type_script_lang_ts_external_decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
@@ -12702,6 +12712,22 @@ let ld_select_list_boxvue_type_script_lang_ts_external_SelectListBoxComponent =
|
|
|
12702
12712
|
get isInternalSearch() {
|
|
12703
12713
|
return this.internalSearch || this.isRestricted;
|
|
12704
12714
|
}
|
|
12715
|
+
get fixMultiselectMaxWidth() {
|
|
12716
|
+
let i = 0;
|
|
12717
|
+
if (!this.isDialogDisabled) {
|
|
12718
|
+
i++;
|
|
12719
|
+
}
|
|
12720
|
+
const w = `var(--input-height) *${i} `;
|
|
12721
|
+
return `calc(100% - ${w})`;
|
|
12722
|
+
}
|
|
12723
|
+
get fixWrapperMaxWidth() {
|
|
12724
|
+
let i = 0;
|
|
12725
|
+
if (this.$utils.isDefined(this.help)) {
|
|
12726
|
+
i++;
|
|
12727
|
+
}
|
|
12728
|
+
const w = `var(--input-height) *${i} `;
|
|
12729
|
+
return `calc(100% - ${w})`;
|
|
12730
|
+
}
|
|
12705
12731
|
emitUpdate() {
|
|
12706
12732
|
this.emitUpdateValue();
|
|
12707
12733
|
this.emitUpdateItems();
|
|
@@ -12887,7 +12913,7 @@ ld_select_list_boxvue_type_script_lang_ts_external_SelectListBoxComponent = ld_s
|
|
|
12887
12913
|
;
|
|
12888
12914
|
|
|
12889
12915
|
|
|
12890
|
-
const ld_select_list_box_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(ld_select_list_boxvue_type_script_lang_ts_external, [['render',
|
|
12916
|
+
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_f23df862_scoped_true_ts_true_render],['__scopeId',"data-v-f23df862"]])
|
|
12891
12917
|
|
|
12892
12918
|
/* harmony default export */ const ld_select_list_box = (ld_select_list_box_exports_);
|
|
12893
12919
|
;// ./src/ld-select-list-box/index.ts
|
|
@@ -20320,6 +20346,8 @@ let DatepickerComponent = class DatepickerComponent extends (0,external_vue_clas
|
|
|
20320
20346
|
setTimeout(() => {
|
|
20321
20347
|
this.validate();
|
|
20322
20348
|
this.dateMenu = false;
|
|
20349
|
+
this.currentYear = dt.getUTCFullYear();
|
|
20350
|
+
this.currentMonth = dt.getUTCMonth() + 1;
|
|
20323
20351
|
}, 100);
|
|
20324
20352
|
}
|
|
20325
20353
|
onInputDateFocus(e) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ldmjs/ui",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.77",
|
|
4
4
|
"description": "ldm ui",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"engines": {
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
"build:all": "npm run build && npm run build:demo",
|
|
15
15
|
"demo": "cross-env NODE_ENV=development webpack serve --config config/webpack.config.demo.js --progress --profile",
|
|
16
16
|
"test": "jest --runInBand --no-cache",
|
|
17
|
+
"lint": "npx eslint --cache --ext .ts src",
|
|
17
18
|
"version": "node config/version.js",
|
|
18
19
|
"pub": "node config/publish.js && npm publish --access=public"
|
|
19
20
|
},
|
|
@@ -44,7 +45,7 @@
|
|
|
44
45
|
"@floating-ui/dom": "1.7.0",
|
|
45
46
|
"@ldmjs/datatable": "1.0.9",
|
|
46
47
|
"@ldmjs/editor": "1.0.1",
|
|
47
|
-
"@ldmjs/treeview": "1.0.
|
|
48
|
+
"@ldmjs/treeview": "1.0.4",
|
|
48
49
|
"@popperjs/core": "2.11.8",
|
|
49
50
|
"@types/babel__core": "7",
|
|
50
51
|
"@types/babel__plugin-transform-runtime": "7",
|
|
@@ -111,7 +112,8 @@
|
|
|
111
112
|
},
|
|
112
113
|
"volta": {
|
|
113
114
|
"node": "22.15.0",
|
|
114
|
-
"yarn": "4.
|
|
115
|
+
"yarn": "4.9.2",
|
|
116
|
+
"npm": "11.4.2"
|
|
115
117
|
},
|
|
116
|
-
"packageManager": "yarn@4.
|
|
118
|
+
"packageManager": "yarn@4.9.2"
|
|
117
119
|
}
|