@deskhero/dh_ui 2.0.5 → 2.2.0
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/dh_ui.es.js +122 -84
- package/dist/dh_ui.umd.js +12 -12
- package/dist/src/components/InputGroup.vue.d.ts +17 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/dh_ui.es.js
CHANGED
|
@@ -23094,8 +23094,8 @@ const _sfc_main$q = {
|
|
|
23094
23094
|
const _hoisted_1$q = { class: "bar" };
|
|
23095
23095
|
const _hoisted_2$o = ["min", "max", "step", "value"];
|
|
23096
23096
|
const _hoisted_3$f = { class: "caption" };
|
|
23097
|
-
const _hoisted_4$
|
|
23098
|
-
const _hoisted_5$
|
|
23097
|
+
const _hoisted_4$d = { class: "min-caption" };
|
|
23098
|
+
const _hoisted_5$9 = { class: "bar-inner" };
|
|
23099
23099
|
const _hoisted_6$8 = ["min", "max", "step", "value"];
|
|
23100
23100
|
const _hoisted_7$8 = { class: "caption" };
|
|
23101
23101
|
const _hoisted_8$3 = { class: "max-caption" };
|
|
@@ -23137,10 +23137,10 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23137
23137
|
onTouchstart: _cache[3] || (_cache[3] = (...args) => $options.onLeftThumbMousedown && $options.onLeftThumbMousedown(...args))
|
|
23138
23138
|
}, [
|
|
23139
23139
|
createElementVNode("div", _hoisted_3$f, [
|
|
23140
|
-
createElementVNode("span", _hoisted_4$
|
|
23140
|
+
createElementVNode("span", _hoisted_4$d, toDisplayString($props.minCaption || $options.barMinVal), 1)
|
|
23141
23141
|
])
|
|
23142
23142
|
], 32),
|
|
23143
|
-
createElementVNode("div", _hoisted_5$
|
|
23143
|
+
createElementVNode("div", _hoisted_5$9, [
|
|
23144
23144
|
createElementVNode("div", {
|
|
23145
23145
|
class: "bar-inner-left",
|
|
23146
23146
|
onClick: _cache[4] || (_cache[4] = (...args) => $options.onInnerBarLeftClick && $options.onInnerBarLeftClick(...args))
|
|
@@ -23416,8 +23416,8 @@ const _hoisted_3$e = {
|
|
|
23416
23416
|
key: 0,
|
|
23417
23417
|
class: "input-group-section"
|
|
23418
23418
|
};
|
|
23419
|
-
const _hoisted_4$
|
|
23420
|
-
const _hoisted_5$
|
|
23419
|
+
const _hoisted_4$c = { class: "input-group sb-input" };
|
|
23420
|
+
const _hoisted_5$8 = ["disabled", "max", "value"];
|
|
23421
23421
|
const _hoisted_6$7 = { class: "input-group sb-input" };
|
|
23422
23422
|
const _hoisted_7$7 = ["disabled", "max", "min", "value"];
|
|
23423
23423
|
function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -23449,7 +23449,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23449
23449
|
}, null, 8, ["base-class-name", "max", "max-caption", "max-value", "min-caption", "min-value", "onInput"])
|
|
23450
23450
|
]),
|
|
23451
23451
|
_ctx.includeForm ? (openBlock(), createElementBlock("div", _hoisted_3$e, [
|
|
23452
|
-
createElementVNode("div", _hoisted_4$
|
|
23452
|
+
createElementVNode("div", _hoisted_4$c, [
|
|
23453
23453
|
createElementVNode("label", {
|
|
23454
23454
|
class: normalizeClass(`dh-body-2 input-to ${_ctx.validated ? "disable" : ""}`)
|
|
23455
23455
|
}, " From ", 2),
|
|
@@ -23462,7 +23462,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23462
23462
|
type: "number",
|
|
23463
23463
|
value: _ctx.getMinKey,
|
|
23464
23464
|
onInput: _cache[0] || (_cache[0] = ($event) => _ctx.changeMin($event))
|
|
23465
|
-
}, null, 40, _hoisted_5$
|
|
23465
|
+
}, null, 40, _hoisted_5$8)
|
|
23466
23466
|
]),
|
|
23467
23467
|
createElementVNode("div", _hoisted_6$7, [
|
|
23468
23468
|
createElementVNode("label", {
|
|
@@ -23497,8 +23497,8 @@ const _hoisted_2$m = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ create
|
|
|
23497
23497
|
/* @__PURE__ */ createElementVNode("p", null, "To")
|
|
23498
23498
|
], -1));
|
|
23499
23499
|
const _hoisted_3$d = { class: "dp__multi" };
|
|
23500
|
-
const _hoisted_4$
|
|
23501
|
-
const _hoisted_5$
|
|
23500
|
+
const _hoisted_4$b = ["value"];
|
|
23501
|
+
const _hoisted_5$7 = ["value"];
|
|
23502
23502
|
const _hoisted_6$6 = /* @__PURE__ */ createTextVNode(" Back ");
|
|
23503
23503
|
const _hoisted_7$6 = ["onClick"];
|
|
23504
23504
|
const _hoisted_8$2 = ["onClick"];
|
|
@@ -23639,14 +23639,14 @@ const _sfc_main$o = {
|
|
|
23639
23639
|
type: "text",
|
|
23640
23640
|
value: minDate.value ? minDate.value : date.value[0],
|
|
23641
23641
|
onInput: _cache[0] || (_cache[0] = ($event) => changeFirstDate($event))
|
|
23642
|
-
}, null, 40, _hoisted_4$
|
|
23642
|
+
}, null, 40, _hoisted_4$b),
|
|
23643
23643
|
createElementVNode("input", {
|
|
23644
23644
|
class: "dp__input dp__multi_input",
|
|
23645
23645
|
placeholder: "MM/DD/YYYY",
|
|
23646
23646
|
type: "text",
|
|
23647
23647
|
value: maxDate.value ? maxDate.value : date.value[1],
|
|
23648
23648
|
onInput: _cache[1] || (_cache[1] = ($event) => changeSecondDate($event))
|
|
23649
|
-
}, null, 40, _hoisted_5$
|
|
23649
|
+
}, null, 40, _hoisted_5$7)
|
|
23650
23650
|
])
|
|
23651
23651
|
]),
|
|
23652
23652
|
"arrow-left": withCtx(() => [
|
|
@@ -23807,8 +23807,8 @@ const _sfc_main$n = defineComponent({
|
|
|
23807
23807
|
const _hoisted_1$n = { class: "dh-advanced-filter-container" };
|
|
23808
23808
|
const _hoisted_2$l = { class: "advance_section" };
|
|
23809
23809
|
const _hoisted_3$c = { key: 0 };
|
|
23810
|
-
const _hoisted_4$
|
|
23811
|
-
const _hoisted_5$
|
|
23810
|
+
const _hoisted_4$a = { class: "list-none" };
|
|
23811
|
+
const _hoisted_5$6 = ["checked"];
|
|
23812
23812
|
const _hoisted_6$5 = ["checked"];
|
|
23813
23813
|
const _hoisted_7$5 = ["checked"];
|
|
23814
23814
|
function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -23827,7 +23827,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23827
23827
|
]),
|
|
23828
23828
|
_ctx.activeFilter ? (openBlock(), createElementBlock("div", _hoisted_3$c, [
|
|
23829
23829
|
renderSlot(_ctx.$slots, "default"),
|
|
23830
|
-
createElementVNode("ul", _hoisted_4$
|
|
23830
|
+
createElementVNode("ul", _hoisted_4$a, [
|
|
23831
23831
|
createElementVNode("li", null, [
|
|
23832
23832
|
createElementVNode("label", null, [
|
|
23833
23833
|
createElementVNode("input", {
|
|
@@ -23835,7 +23835,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23835
23835
|
name: "number_filter",
|
|
23836
23836
|
type: "checkbox",
|
|
23837
23837
|
onChange: _cache[1] || (_cache[1] = ($event) => _ctx.missingFilter())
|
|
23838
|
-
}, null, 40, _hoisted_5$
|
|
23838
|
+
}, null, 40, _hoisted_5$6),
|
|
23839
23839
|
createTextVNode(" " + toDisplayString(_ctx.filterMissingText), 1)
|
|
23840
23840
|
])
|
|
23841
23841
|
]),
|
|
@@ -24436,8 +24436,8 @@ const _hoisted_2$e = {
|
|
|
24436
24436
|
class: "file__upload_items"
|
|
24437
24437
|
};
|
|
24438
24438
|
const _hoisted_3$9 = { class: "file__upload_list_item" };
|
|
24439
|
-
const _hoisted_4$
|
|
24440
|
-
const _hoisted_5$
|
|
24439
|
+
const _hoisted_4$9 = { class: "file__upload_list_item_label" };
|
|
24440
|
+
const _hoisted_5$5 = ["title"];
|
|
24441
24441
|
const _hoisted_6$4 = /* @__PURE__ */ createElementVNode("br", null, null, -1);
|
|
24442
24442
|
const _hoisted_7$4 = ["href"];
|
|
24443
24443
|
const _hoisted_8$1 = {
|
|
@@ -24719,11 +24719,11 @@ const _sfc_main$e = {
|
|
|
24719
24719
|
size: 40
|
|
24720
24720
|
}, null, 8, ["icon-name"]),
|
|
24721
24721
|
createElementVNode("div", _hoisted_3$9, [
|
|
24722
|
-
createElementVNode("div", _hoisted_4$
|
|
24722
|
+
createElementVNode("div", _hoisted_4$9, [
|
|
24723
24723
|
createElementVNode("div", null, [
|
|
24724
24724
|
createElementVNode("span", {
|
|
24725
24725
|
title: file.label
|
|
24726
|
-
}, toDisplayString(getName(file.label)) + toDisplayString(getExtension(file.label)), 9, _hoisted_5$
|
|
24726
|
+
}, toDisplayString(getName(file.label)) + toDisplayString(getExtension(file.label)), 9, _hoisted_5$5),
|
|
24727
24727
|
_hoisted_6$4,
|
|
24728
24728
|
createElementVNode("span", null, toDisplayString(formatKilobytes(file.size_kb)), 1)
|
|
24729
24729
|
])
|
|
@@ -24875,8 +24875,8 @@ var InputDropdown_vue_vue_type_style_index_0_lang = "";
|
|
|
24875
24875
|
const _hoisted_1$d = { class: "input__dropdown" };
|
|
24876
24876
|
const _hoisted_2$d = ["placeholder", "value"];
|
|
24877
24877
|
const _hoisted_3$8 = { class: "input__dropdown_second" };
|
|
24878
|
-
const _hoisted_4$
|
|
24879
|
-
const _hoisted_5$
|
|
24878
|
+
const _hoisted_4$8 = ["tabindex"];
|
|
24879
|
+
const _hoisted_5$4 = ["onClick"];
|
|
24880
24880
|
const _hoisted_6$3 = ["onClick"];
|
|
24881
24881
|
const _hoisted_7$3 = {
|
|
24882
24882
|
key: 2,
|
|
@@ -25015,7 +25015,7 @@ const _sfc_main$d = {
|
|
|
25015
25015
|
open.value = false;
|
|
25016
25016
|
update();
|
|
25017
25017
|
}
|
|
25018
|
-
}, toDisplayString(option[__props.labelProp]), 9, _hoisted_5$
|
|
25018
|
+
}, toDisplayString(option[__props.labelProp]), 9, _hoisted_5$4);
|
|
25019
25019
|
}), 128))
|
|
25020
25020
|
], 2)) : createCommentVNode("", true),
|
|
25021
25021
|
typeof __props.options[0] === "string" ? (openBlock(), createElementBlock("div", {
|
|
@@ -25036,12 +25036,12 @@ const _sfc_main$d = {
|
|
|
25036
25036
|
], 2)) : createCommentVNode("", true),
|
|
25037
25037
|
props.isClearable ? (openBlock(), createElementBlock("div", _hoisted_7$3, [
|
|
25038
25038
|
createVNode(DhButton, {
|
|
25039
|
+
color: "ghost",
|
|
25039
25040
|
icon: "close",
|
|
25040
|
-
onClick: clear2
|
|
25041
|
-
color: "ghost"
|
|
25041
|
+
onClick: clear2
|
|
25042
25042
|
})
|
|
25043
25043
|
])) : createCommentVNode("", true)
|
|
25044
|
-
], 40, _hoisted_4$
|
|
25044
|
+
], 40, _hoisted_4$8)
|
|
25045
25045
|
])
|
|
25046
25046
|
]);
|
|
25047
25047
|
};
|
|
@@ -25134,30 +25134,35 @@ const _sfc_main$c = {
|
|
|
25134
25134
|
return openBlock(), createBlock(_sfc_main$d, {
|
|
25135
25135
|
key: index,
|
|
25136
25136
|
icon: props.icon,
|
|
25137
|
-
"selected-option": item.selectedOption,
|
|
25138
25137
|
"input-value": item.input,
|
|
25139
25138
|
"input-width": props.inputWidth,
|
|
25139
|
+
"is-clearable": "",
|
|
25140
|
+
"label-prop": props.labelProp,
|
|
25140
25141
|
options: props.options,
|
|
25141
25142
|
"placeholder-input": props.placeholderInput,
|
|
25143
|
+
"selected-option": item.selectedOption,
|
|
25142
25144
|
tabindex: props.tabindex,
|
|
25143
|
-
onUpdate: (input, label, optionId) => updateDropdown(index, input, label),
|
|
25144
|
-
"label-prop": props.labelProp,
|
|
25145
25145
|
"value-prop": props.valueProp,
|
|
25146
|
-
|
|
25147
|
-
|
|
25148
|
-
}, null, 8, ["icon", "
|
|
25146
|
+
onClear: ($event) => removeItem(index),
|
|
25147
|
+
onUpdate: (input, label, optionId) => updateDropdown(index, input, label)
|
|
25148
|
+
}, null, 8, ["icon", "input-value", "input-width", "label-prop", "options", "placeholder-input", "selected-option", "tabindex", "value-prop", "onClear", "onUpdate"]);
|
|
25149
25149
|
}), 128))
|
|
25150
25150
|
], 64);
|
|
25151
25151
|
};
|
|
25152
25152
|
}
|
|
25153
25153
|
};
|
|
25154
25154
|
var InputGroup_vue_vue_type_style_index_0_lang = "";
|
|
25155
|
-
const _hoisted_1$b = ["placeholder", "value"];
|
|
25155
|
+
const _hoisted_1$b = ["data-e2e", "placeholder", "value"];
|
|
25156
25156
|
const _hoisted_2$b = {
|
|
25157
25157
|
key: 1,
|
|
25158
|
+
class: "input__group_content"
|
|
25159
|
+
};
|
|
25160
|
+
const _hoisted_3$7 = ["data-e2e", "placeholder", "value"];
|
|
25161
|
+
const _hoisted_4$7 = {
|
|
25162
|
+
key: 2,
|
|
25158
25163
|
class: "input__group"
|
|
25159
25164
|
};
|
|
25160
|
-
const
|
|
25165
|
+
const _hoisted_5$3 = ["data-e2e", "placeholder", "type", "value"];
|
|
25161
25166
|
const _sfc_main$b = {
|
|
25162
25167
|
__name: "InputGroup",
|
|
25163
25168
|
props: {
|
|
@@ -25167,36 +25172,52 @@ const _sfc_main$b = {
|
|
|
25167
25172
|
},
|
|
25168
25173
|
inputType: {
|
|
25169
25174
|
type: String,
|
|
25170
|
-
default: "text"
|
|
25175
|
+
default: "text",
|
|
25176
|
+
required: true
|
|
25171
25177
|
},
|
|
25172
25178
|
iconName: {
|
|
25173
25179
|
type: String,
|
|
25174
|
-
required:
|
|
25180
|
+
required: false,
|
|
25181
|
+
default: ""
|
|
25182
|
+
},
|
|
25183
|
+
sideContent: {
|
|
25184
|
+
type: String,
|
|
25185
|
+
required: false,
|
|
25186
|
+
default: ""
|
|
25175
25187
|
},
|
|
25176
25188
|
widthProp: {
|
|
25177
25189
|
type: String,
|
|
25178
|
-
default: "200px"
|
|
25190
|
+
default: "200px",
|
|
25191
|
+
required: false
|
|
25179
25192
|
},
|
|
25180
25193
|
heightProp: {
|
|
25181
25194
|
type: String,
|
|
25182
|
-
default: "30px"
|
|
25195
|
+
default: "30px",
|
|
25196
|
+
required: false
|
|
25183
25197
|
},
|
|
25184
25198
|
direction: {
|
|
25185
25199
|
type: String,
|
|
25186
|
-
default: "right"
|
|
25200
|
+
default: "right",
|
|
25201
|
+
required: false
|
|
25187
25202
|
},
|
|
25188
25203
|
placeholder: {
|
|
25189
25204
|
type: String,
|
|
25190
|
-
default: "type here"
|
|
25205
|
+
default: "type here",
|
|
25206
|
+
required: false
|
|
25207
|
+
},
|
|
25208
|
+
e2e: {
|
|
25209
|
+
type: String,
|
|
25210
|
+
default: "",
|
|
25211
|
+
required: false
|
|
25191
25212
|
}
|
|
25192
25213
|
},
|
|
25193
25214
|
emits: ["update:modelValue"],
|
|
25194
25215
|
setup(__props) {
|
|
25195
25216
|
const props = __props;
|
|
25196
25217
|
useCssVars((_ctx) => ({
|
|
25197
|
-
"
|
|
25198
|
-
"
|
|
25199
|
-
"
|
|
25218
|
+
"7e4306ae": flexDir.value,
|
|
25219
|
+
"60ba4ca3": __props.widthProp,
|
|
25220
|
+
"6ed0ae10": __props.heightProp
|
|
25200
25221
|
}));
|
|
25201
25222
|
const flexDir = ref("row");
|
|
25202
25223
|
onMounted(() => {
|
|
@@ -25205,41 +25226,58 @@ const _sfc_main$b = {
|
|
|
25205
25226
|
}
|
|
25206
25227
|
});
|
|
25207
25228
|
return (_ctx, _cache) => {
|
|
25208
|
-
return
|
|
25209
|
-
|
|
25210
|
-
class: normalizeClass(["text__area", __props.direction == "left" ? "text__area--left" : "text__area--right"])
|
|
25211
|
-
}, [
|
|
25212
|
-
createElementVNode("textarea", {
|
|
25213
|
-
class: "text__area_field",
|
|
25214
|
-
cols: "30",
|
|
25215
|
-
placeholder: __props.placeholder,
|
|
25216
|
-
rows: "10",
|
|
25217
|
-
value: __props.modelValue,
|
|
25218
|
-
onInput: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:modelValue", $event.target.value))
|
|
25219
|
-
}, null, 40, _hoisted_1$b),
|
|
25220
|
-
__props.direction == "left" ? (openBlock(), createBlock(DhIcon, {
|
|
25229
|
+
return openBlock(), createElementBlock(Fragment, null, [
|
|
25230
|
+
__props.inputType == "multi-line" ? (openBlock(), createElementBlock("div", {
|
|
25221
25231
|
key: 0,
|
|
25222
|
-
class: "
|
|
25223
|
-
|
|
25224
|
-
|
|
25225
|
-
|
|
25226
|
-
|
|
25227
|
-
|
|
25228
|
-
|
|
25229
|
-
|
|
25230
|
-
|
|
25231
|
-
|
|
25232
|
-
|
|
25233
|
-
|
|
25234
|
-
|
|
25235
|
-
|
|
25236
|
-
|
|
25237
|
-
|
|
25238
|
-
|
|
25239
|
-
|
|
25240
|
-
|
|
25241
|
-
|
|
25242
|
-
|
|
25232
|
+
class: normalizeClass(["text__area", __props.direction == "left" ? "text__area--left" : "text__area--right"])
|
|
25233
|
+
}, [
|
|
25234
|
+
createElementVNode("textarea", {
|
|
25235
|
+
class: "text__area_field",
|
|
25236
|
+
cols: "30",
|
|
25237
|
+
"data-e2e": __props.e2e,
|
|
25238
|
+
placeholder: __props.placeholder,
|
|
25239
|
+
rows: "10",
|
|
25240
|
+
value: __props.modelValue,
|
|
25241
|
+
onInput: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:modelValue", $event.target.value))
|
|
25242
|
+
}, null, 40, _hoisted_1$b),
|
|
25243
|
+
__props.direction == "left" && __props.iconName ? (openBlock(), createBlock(DhIcon, {
|
|
25244
|
+
key: 0,
|
|
25245
|
+
class: "text__area_icon text__area_icon--left",
|
|
25246
|
+
"icon-name": __props.iconName
|
|
25247
|
+
}, null, 8, ["icon-name"])) : createCommentVNode("", true),
|
|
25248
|
+
__props.direction == "right" && __props.iconName ? (openBlock(), createBlock(DhIcon, {
|
|
25249
|
+
key: 1,
|
|
25250
|
+
class: "text__area_icon text__area_icon--right",
|
|
25251
|
+
"icon-name": __props.iconName
|
|
25252
|
+
}, null, 8, ["icon-name"])) : createCommentVNode("", true)
|
|
25253
|
+
], 2)) : createCommentVNode("", true),
|
|
25254
|
+
__props.inputType == "text" && __props.sideContent ? (openBlock(), createElementBlock("div", _hoisted_2$b, [
|
|
25255
|
+
createElementVNode("input", {
|
|
25256
|
+
class: normalizeClass(["form-input", __props.direction == "left" ? "form-input--left" : "form-input--right"]),
|
|
25257
|
+
"data-e2e": __props.e2e,
|
|
25258
|
+
placeholder: __props.placeholder,
|
|
25259
|
+
value: __props.modelValue,
|
|
25260
|
+
onInput: _cache[1] || (_cache[1] = ($event) => _ctx.$emit("update:modelValue", $event.target.value))
|
|
25261
|
+
}, null, 42, _hoisted_3$7),
|
|
25262
|
+
createElementVNode("span", {
|
|
25263
|
+
class: normalizeClass(["form-span", __props.direction == "left" ? "form-span--left" : "form-span--right"])
|
|
25264
|
+
}, toDisplayString(__props.sideContent), 3)
|
|
25265
|
+
])) : __props.inputType !== "multi-line" ? (openBlock(), createElementBlock("div", _hoisted_4$7, [
|
|
25266
|
+
createElementVNode("input", {
|
|
25267
|
+
class: "input__group_field",
|
|
25268
|
+
"data-e2e": __props.e2e,
|
|
25269
|
+
placeholder: __props.placeholder,
|
|
25270
|
+
type: __props.inputType,
|
|
25271
|
+
value: __props.modelValue,
|
|
25272
|
+
onInput: _cache[2] || (_cache[2] = ($event) => _ctx.$emit("update:modelValue", $event.target.value))
|
|
25273
|
+
}, null, 40, _hoisted_5$3),
|
|
25274
|
+
__props.iconName ? (openBlock(), createBlock(DhIcon, {
|
|
25275
|
+
key: 0,
|
|
25276
|
+
class: "input__group_icon",
|
|
25277
|
+
"icon-name": __props.iconName
|
|
25278
|
+
}, null, 8, ["icon-name"])) : createCommentVNode("", true)
|
|
25279
|
+
])) : createCommentVNode("", true)
|
|
25280
|
+
], 64);
|
|
25243
25281
|
};
|
|
25244
25282
|
}
|
|
25245
25283
|
};
|
|
@@ -27439,7 +27477,7 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27439
27477
|
}
|
|
27440
27478
|
script.render = render$1;
|
|
27441
27479
|
script.__file = "src/Multiselect.vue";
|
|
27442
|
-
var
|
|
27480
|
+
var default_css_vue_type_style_index_0_src_59d857bc_lang = "";
|
|
27443
27481
|
var InputList_vue_vue_type_style_index_1_lang = "";
|
|
27444
27482
|
const _hoisted_1$9 = /* @__PURE__ */ createElementVNode("img", {
|
|
27445
27483
|
alt: "",
|
|
@@ -27486,7 +27524,7 @@ const _sfc_main$a = {
|
|
|
27486
27524
|
setup(__props, { emit }) {
|
|
27487
27525
|
const props = __props;
|
|
27488
27526
|
useCssVars((_ctx) => ({
|
|
27489
|
-
"
|
|
27527
|
+
"182bac7a": __props.maxHeight
|
|
27490
27528
|
}));
|
|
27491
27529
|
const computedValue = computed({
|
|
27492
27530
|
get() {
|
|
@@ -27511,9 +27549,9 @@ const _sfc_main$a = {
|
|
|
27511
27549
|
return openBlock(), createBlock(unref(script), {
|
|
27512
27550
|
modelValue: unref(computedValue),
|
|
27513
27551
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(computedValue) ? computedValue.value = $event : null),
|
|
27552
|
+
"can-clear": props.canClear,
|
|
27514
27553
|
label: __props.labelProp,
|
|
27515
27554
|
mode: "tags",
|
|
27516
|
-
canClear: props.canClear,
|
|
27517
27555
|
native: false,
|
|
27518
27556
|
object: true,
|
|
27519
27557
|
options: __props.list,
|
|
@@ -27521,9 +27559,9 @@ const _sfc_main$a = {
|
|
|
27521
27559
|
searchable: true,
|
|
27522
27560
|
"value-prop": __props.valueProp,
|
|
27523
27561
|
onChange: _cache[1] || (_cache[1] = (v) => update(v)),
|
|
27524
|
-
|
|
27525
|
-
|
|
27526
|
-
|
|
27562
|
+
onClear: _cache[2] || (_cache[2] = ($event) => clear2()),
|
|
27563
|
+
onDeselect: _cache[3] || (_cache[3] = (v) => deselect(v)),
|
|
27564
|
+
onSelect: _cache[4] || (_cache[4] = (v) => select(v))
|
|
27527
27565
|
}, {
|
|
27528
27566
|
tag: withCtx(({ option, handleTagRemove, disabled }) => [
|
|
27529
27567
|
createElementVNode("div", {
|
|
@@ -27541,7 +27579,7 @@ const _sfc_main$a = {
|
|
|
27541
27579
|
], 2)
|
|
27542
27580
|
]),
|
|
27543
27581
|
_: 3
|
|
27544
|
-
}, 8, ["modelValue", "
|
|
27582
|
+
}, 8, ["modelValue", "can-clear", "label", "options", "placeholder", "value-prop"]);
|
|
27545
27583
|
};
|
|
27546
27584
|
}
|
|
27547
27585
|
};
|