@ironsource/shared-ui 2.1.6-rc.14 → 2.1.6-rc.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AppDropdownTrigger.vue_vue_type_style_index_0_scoped_71c3ab74_lang.css +1 -0
- package/Dropdown.vue_vue_type_style_index_0_scoped_aaa8c4bb_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_0_scoped_77f8bdb6_lang.css +1 -0
- package/InlineCopy.vue_vue_type_style_index_0_scoped_6a7b3795_lang.css +1 -0
- package/OptionV4.vue_vue_type_style_index_0_scoped_7f8f35a1_lang.css +1 -0
- package/TextField.vue_vue_type_style_index_0_scoped_a6457440_lang.css +1 -0
- package/TooltipV4.vue_vue_type_style_index_0_scoped_fcdb9d02_lang.css +1 -0
- package/components/dropdown/common/Dropdown.common.js +20 -20
- package/components/dropdown/v3/Dropdown.vue.d.ts +4 -0
- package/components/dropdown/v3/Dropdown.vue.js +4 -4
- package/components/dropdown/v3/Dropdown.vue2.js +32 -32
- package/components/dropdown/v3/index.d.ts +13 -1
- package/components/dropdown/v4/AppDropdownTrigger.vue.js +2 -2
- package/components/dropdown/v4/AppDropdownTrigger.vue2.js +1 -1
- package/components/dropdown/v4/DropdownV4.vue.d.ts +14 -0
- package/components/dropdown/v4/DropdownV4.vue.js +2 -2
- package/components/dropdown/v4/DropdownV4.vue2.js +61 -57
- package/components/dropdown/v4/OptionV4.vue.d.ts +11 -0
- package/components/dropdown/v4/OptionV4.vue.js +2 -2
- package/components/dropdown/v4/OptionV4.vue2.js +62 -45
- package/components/dropdown/v4/index.d.ts +92 -3
- package/components/inlineCopy/InlineCopy.vue.d.ts +6 -2
- package/components/inlineCopy/InlineCopy.vue.js +3 -3
- package/components/inlineCopy/InlineCopy.vue2.js +23 -22
- package/components/inlineCopy/index.d.ts +6 -2
- package/components/input/v4/TextField.vue.d.ts +5 -0
- package/components/input/v4/TextField.vue.js +3 -3
- package/components/input/v4/TextField.vue2.js +21 -19
- package/components/input/v4/index.d.ts +20 -1
- package/components/tooltip/v4/TooltipV4.vue.d.ts +6 -2
- package/components/tooltip/v4/TooltipV4.vue.js +2 -2
- package/components/tooltip/v4/TooltipV4.vue2.js +21 -19
- package/components/tooltip/v4/index.d.ts +17 -5
- package/index.d.ts +270 -22
- package/package.json +1 -1
- package/AppDropdownTrigger.vue_vue_type_style_index_0_scoped_0267d003_lang.css +0 -1
- package/Dropdown.vue_vue_type_style_index_0_scoped_d4f8e790_lang.css +0 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_0968078f_lang.css +0 -1
- package/InlineCopy.vue_vue_type_style_index_0_scoped_ff9f4a0f_lang.css +0 -1
- package/OptionV4.vue_vue_type_style_index_0_scoped_b8375219_lang.css +0 -1
- package/TextField.vue_vue_type_style_index_0_scoped_22c12586_lang.css +0 -1
- package/TooltipV4.vue_vue_type_style_index_0_scoped_25809092_lang.css +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.app-trigger-wrapper[data-v-71c3ab74]{display:flex}.app-trigger-wrapper.with-copy .app-trigger[data-v-71c3ab74]{border-radius:var(--border-radius-lg) 0 0 var(--border-radius-lg);width:calc(100% - 41px)}.app-trigger-key[data-v-71c3ab74]{flex:none}.app-trigger-key--content[data-v-71c3ab74]{padding:10px;background:var(--default-main);cursor:pointer;border-radius:0 var(--border-radius-lg) var(--border-radius-lg) 0;border-left:1px solid var(--common-divider);color:var(--action-active)}.app-trigger-key--content[data-v-71c3ab74]:hover{background:var(--action-selected);color:var(--action-primary)}.app-trigger[data-v-71c3ab74]{width:100%;padding:0 12px;border-radius:var(--border-radius-lg);cursor:pointer;user-select:none;display:inline-flex;background:var(--default-main);height:40px;align-items:center}.app-trigger[data-v-71c3ab74]:hover,.app-trigger.active[data-v-71c3ab74]{background:var(--action-selected)}.app-trigger.disabled[data-v-71c3ab74]{cursor:auto}.app-trigger--content[data-v-71c3ab74]{color:var(--text-primary);display:flex;column-gap:4px;width:calc(100% - 20px);align-items:center}.app-trigger--content .x-circle-wrapper[data-v-71c3ab74]{color:var(--primary-dark)}.app-trigger--content .x-circle-wrapper[data-v-71c3ab74]:hover{color:var(--primary-main)}.app-trigger--icon[data-v-71c3ab74]{display:flex;align-items:center;color:var(--action-active)}.app-trigger .displayed-value[data-v-71c3ab74]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.app-trigger .image[data-v-71c3ab74]{width:28px;height:28px;flex:none}.app-trigger .image img[data-v-71c3ab74]{border-radius:4px;width:100%;height:100%}.app-trigger .start-icon[data-v-71c3ab74]{display:flex;color:var(--action-active)}.app-trigger .label-text[data-v-71c3ab74]{display:flex;align-items:center;gap:8px}.app-trigger .label-text .text-content[data-v-71c3ab74]{display:flex;align-items:center;gap:4px;width:100%}.app-trigger .label-text .text-content .text-content-value[data-v-71c3ab74]{width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.app-trigger .label-text .is-mandatory[data-v-71c3ab74]{padding-top:5px;color:var(--error-main)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.label[data-v-aaa8c4bb]{color:#41454d}.v-enter-active[data-v-aaa8c4bb],.v-leave-active[data-v-aaa8c4bb]{transition:opacity .25s ease}ol[data-v-aaa8c4bb],ul[data-v-aaa8c4bb],menu[data-v-aaa8c4bb]{list-style:none;margin:0;padding:0}.dropdown[data-v-aaa8c4bb]{display:flex;flex-direction:column}.dropdown--disabled[data-v-aaa8c4bb]{opacity:.7}.list-container[data-v-aaa8c4bb]{padding:.5rem}.list-container--multi[data-v-aaa8c4bb]{margin-bottom:0}.v-popper__arrow-container[data-v-aaa8c4bb]{display:none}.helper-text[data-v-aaa8c4bb]{padding-top:.25rem;color:#696a6b}.helper-text--error[data-v-aaa8c4bb]{color:#da564f}.no-result-container[data-v-aaa8c4bb]{height:100%;display:flex;align-items:center}.no-result[data-v-aaa8c4bb]{color:#8e959d;padding-left:.5rem}.list[data-v-aaa8c4bb]{outline:none;display:flex;flex-direction:column;width:100%;min-height:2rem;border-radius:.5rem}.list--multi[data-v-aaa8c4bb]{margin-bottom:.5rem;border-bottom-left-radius:0;border-bottom-right-radius:0}.button__container[data-v-aaa8c4bb]{display:flex;justify-content:center;flex-direction:column;position:relative}.button__container[data-v-aaa8c4bb]:not(.button__container--disabled){cursor:pointer}.loader[data-v-aaa8c4bb]{color:#8e959d;display:flex;height:100%;margin-left:.375rem;justify-self:center;align-items:center}.loader-icon[data-v-aaa8c4bb]{margin-right:.25rem;display:flex}.button[data-v-aaa8c4bb]{font-size:.875rem;line-height:1.25rem;min-width:15rem;color:#53575b;height:2rem;text-align:start;padding:.25rem .75rem;background:#f1f3f4;border-radius:.5rem;display:flex;border:none;align-items:center}.button--lg[data-v-aaa8c4bb]{height:2.5rem}.button[data-v-aaa8c4bb]:hover:not(.button--open):not(.button--disabled){color:#53575b;background:#edeff0}.button--open[data-v-aaa8c4bb],.button[data-v-aaa8c4bb]:focus-visible{background:linear-gradient(0deg,#3083ff 0,#3083ff 2px,#f1f3f4 0)}.image-slot[data-v-aaa8c4bb]{margin-right:.5rem}.angle-down[data-v-aaa8c4bb]{margin-left:auto;display:flex;color:#7b838c}.actions[data-v-aaa8c4bb]{display:flex;width:100%;margin-left:auto;padding:.75rem 1rem;border-top:1px solid #dddfe1;justify-content:flex-end}.actions[data-v-aaa8c4bb]:first-child{padding-right:.25rem}.apply-button[data-v-aaa8c4bb]{margin-left:.25rem}.dropdown-title__text[data-v-aaa8c4bb]{color:#41454d;border-bottom:1px solid #dddfe1;padding:1rem}.dropdown-title__search[data-v-aaa8c4bb]{padding:3px 0;width:100%;border-bottom:1px solid #dddfe1}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.v-enter-active[data-v-77f8bdb6],.v-leave-active[data-v-77f8bdb6]{transition:opacity .25s ease}ol[data-v-77f8bdb6],ul[data-v-77f8bdb6],menu[data-v-77f8bdb6]{list-style:none;margin:0;padding:0}.dropdown.full-width[data-v-77f8bdb6],.dropdown.full-width .button__container[data-v-77f8bdb6]{width:100%}.dropdown-list-wrapper[data-v-77f8bdb6]{display:flex;flex-direction:column;padding:.5rem .5rem .25rem}.dropdown-list-wrapper--multi[data-v-77f8bdb6]{padding:.5rem}.list-container--multi[data-v-77f8bdb6]{margin-bottom:0}.inline-search .inline-search-wrapper[data-v-77f8bdb6]{padding-bottom:.25rem}.inline-search .list-container[data-v-77f8bdb6]{padding-top:0}.no-result-container[data-v-77f8bdb6]{height:100%;display:flex;align-items:center;padding:.375rem .5rem;color:var(--text-disabled)}.no-result[data-v-77f8bdb6]{color:var(--text-disabled);padding-left:.5rem}.list[data-v-77f8bdb6]{outline:none;display:flex;flex-direction:column;width:100%;min-height:2rem}.list--multi[data-v-77f8bdb6]{margin-bottom:.5rem;border-bottom-left-radius:0;border-bottom-right-radius:0}.image-slot[data-v-77f8bdb6]{margin-right:.5rem}.actions-wrapper[data-v-77f8bdb6]{display:flex;width:100%;padding:.5rem .5rem .5rem .125rem;padding-bottom:0;border-top:1px solid var(--common-divider);justify-content:space-between;margin-top:.25rem}.apply-button[data-v-77f8bdb6]{margin-left:.5rem}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.inline-copy[data-v-6a7b3795]{display:inline-flex;cursor:pointer;color:var(--action-active)}.inline-copy .icon-copy[data-v-6a7b3795]{padding:0 4px;cursor:pointer;color:var(--action-active)}.inline-copy .icon-copy[data-v-6a7b3795]:hover{color:var(--action-primary)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.label[data-v-7f8f35a1]{color:#41454d}.item-container[data-v-7f8f35a1]{width:100%;display:flex;align-items:center;cursor:pointer;border-radius:var(--border-radius-lg);margin-bottom:.25rem;color:var(--text-primary);padding:6px 8px}.item-container--disabled[data-v-7f8f35a1]{cursor:initial;color:var(--text-disabled)}.item-container[data-v-7f8f35a1]:hover:not(.item-container--disabled){background-color:var(--action-hover)}.item-container--active[data-v-7f8f35a1],.item-container[data-v-7f8f35a1]:active{background-color:var(--action-selected)}.item-container:not(.item-container--multi).item-container--selected[data-v-7f8f35a1]{background-color:var(--action-selected)}.subtitle[data-v-7f8f35a1]{color:#7b838c;line-height:1rem}.clear-button[data-v-7f8f35a1]{display:flex;padding:0 4px;color:#7b838c;align-items:center;height:auto;background-image:none;min-width:auto;border:none;background-color:transparent}.clear-button[data-v-7f8f35a1]:hover{color:#3083ff}.item[data-v-7f8f35a1]{width:100%;display:flex;gap:.5rem;align-items:center}.item--with-icon[data-v-7f8f35a1],.item--multi[data-v-7f8f35a1]{display:flex;flex-direction:row;align-items:center;justify-content:start}.item .image[data-v-7f8f35a1]{width:20px;height:20px;flex:none}.item .image img[data-v-7f8f35a1]{width:20px;height:20px;border-radius:4px}.item .start-icon[data-v-7f8f35a1],.item .end-icon[data-v-7f8f35a1]{display:flex;color:var(--action-active)}.item .option-text[data-v-7f8f35a1]{line-height:1.1875rem}.text-container[data-v-7f8f35a1]{width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-align:left}.tooltip-option[data-v-7f8f35a1]{display:block}.tooltip-option[data-v-7f8f35a1] .container{width:100%}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap";.font-tab-label2[data-v-a6457440],.font-chart-2[data-v-a6457440],.font-chart-1[data-v-a6457440]{font-family:Inter,sans-serif;font-weight:700}.font-chip-label[data-v-a6457440],.font-table-label[data-v-a6457440],.font-button[data-v-a6457440],.font-heading-6[data-v-a6457440],.font-heading-5[data-v-a6457440],.font-heading-4[data-v-a6457440],.font-heading-3[data-v-a6457440],.font-heading-2[data-v-a6457440],.font-heading-1[data-v-a6457440],.font-title[data-v-a6457440]{font-family:Inter,sans-serif;font-weight:600}.font-tab-label1[data-v-a6457440],.font-input-label[data-v-a6457440],.font-overline[data-v-a6457440],.font-subtitle-2[data-v-a6457440],.font-subtitle-1[data-v-a6457440]{font-family:Inter,sans-serif;font-weight:500}.font-caption[data-v-a6457440],.font-body-2[data-v-a6457440],.input-container .input[data-v-a6457440],.font-body-1[data-v-a6457440]{font-family:Inter,sans-serif;font-weight:400}.font-title[data-v-a6457440]{font-size:2.5rem;line-height:3rem;letter-spacing:-.055rem}.font-heading-1[data-v-a6457440]{font-size:1.5rem;line-height:1.75rem;letter-spacing:-.0285rem}.font-heading-2[data-v-a6457440]{font-size:1.125rem;line-height:1.75rem;letter-spacing:-.01575rem}.font-heading-3[data-v-a6457440]{font-size:1rem;line-height:1.5rem;letter-spacing:-.011rem}.font-heading-4[data-v-a6457440]{font-size:.875rem;line-height:1rem;letter-spacing:unset}.font-heading-5[data-v-a6457440]{font-size:.8125rem;line-height:16px;letter-spacing:unset}.font-heading-6[data-v-a6457440]{font-size:.75rem;line-height:.75rem;letter-spacing:0}.input-container .input[data-v-a6457440],.font-body-1[data-v-a6457440]{font-size:.875rem;line-height:1.25rem;letter-spacing:-.00525rem}.font-body-2[data-v-a6457440]{font-size:.8125rem;line-height:1.25rem;letter-spacing:-.00244rem}.font-subtitle-1[data-v-a6457440]{font-size:.875rem;line-height:1.25rem;letter-spacing:-.00525rem}.font-subtitle-2[data-v-a6457440]{font-size:.8125rem;line-height:1.25rem;letter-spacing:-.00244rem}.font-chart-1[data-v-a6457440]{font-size:1.5rem;line-height:1.5rem;letter-spacing:-.015rem}.font-chart-2[data-v-a6457440]{font-size:1.25rem;line-height:1.25rem;letter-spacing:-.0125rem}.font-button[data-v-a6457440]{font-size:.875rem;line-height:1.25rem;letter-spacing:.00875rem}.font-overline[data-v-a6457440]{font-size:.75rem;line-height:1rem;letter-spacing:.045rem;text-transform:uppercase}.font-caption[data-v-a6457440]{font-size:.75rem;line-height:1rem}.font-table-label[data-v-a6457440]{font-size:.8125rem;line-height:1.25rem;letter-spacing:.00813rem}.font-input-label[data-v-a6457440]{font-size:.8125rem;line-height:1rem;letter-spacing:.00813rem}.font-tab-label1[data-v-a6457440],.font-tab-label2[data-v-a6457440]{font-size:.875rem;line-height:1rem}.font-chip-label[data-v-a6457440]{font-size:.75rem;line-height:1rem}h1[data-v-a6457440],h2[data-v-a6457440],h3[data-v-a6457440],h4[data-v-a6457440],h5[data-v-a6457440],h6[data-v-a6457440]{margin:0}.disabled .input[data-v-a6457440]::placeholder{color:var(--text-disabled)}.disabled .input-container[data-v-a6457440]{cursor:no-drop;background-color:var(--action-disabled-background)}.disabled .input-container[data-v-a6457440]:hover{outline:1px solid var(--action-outlined-border);background-color:var(--action-disabled-background)}.input-size-small[data-v-a6457440]{height:28px}.input-size-medium[data-v-a6457440]{height:32px}.input-size-large[data-v-a6457440]{height:40px}.input-with-label-container[data-v-a6457440]{display:flex;flex-direction:column}.input-container[data-v-a6457440]{flex-grow:2;display:flex;flex-direction:row;align-items:center;border-radius:var(--border-radius-md);background:var(--default-main);outline:1px solid var(--action-outlined-border);outline-offset:-1px;padding:0 var(--spacing-100);position:relative}.input-container[data-v-a6457440]:hover{outline:1px solid var(--action-active);background-color:var(--action-hover)}.input-container .input[data-v-a6457440]{padding:0;width:100%;border:none;background:transparent;color:var(--text-primary);line-height:normal}.input-container .input[data-v-a6457440]:focus{outline:none}.input-container .input[data-v-a6457440]:disabled{color:var(--text-disabled);cursor:no-drop}.input-container .input.view-only[data-v-a6457440]{color:var(--text-disabled)}.input-container .input[type=number][data-v-a6457440]::-webkit-inner-spin-button{opacity:.7;transform:scale(1.1)}.input-container .hide-arrows.input[type=number][data-v-a6457440]::-webkit-inner-spin-button,.input-container .hide-arrows.input[type=number][data-v-a6457440]::-webkit-outer-spin-button{margin:0;-webkit-appearance:none;appearance:none}.input-container .input[type=password][data-v-a6457440]{letter-spacing:4px}.input-container[data-v-a6457440] ::placeholder{color:var(--text-secondary);letter-spacing:normal}.input-container .label-inside[data-v-a6457440]::placeholder{color:var(--text-primary)}.input-container .icon-container[data-v-a6457440]{display:flex;align-items:center;color:var(--text-secondary)}.input-container .icon-before[data-v-a6457440]{padding-right:var(--spacing-100)}.input-container .icon-after[data-v-a6457440]{padding-left:var(--spacing-100)}.prefix-text[data-v-a6457440]{color:var(--text-secondary, #646464);margin-right:var(--spacing-100)}.suffix-text[data-v-a6457440]{color:var(--text-secondary, #646464);margin-left:var(--spacing-100)}.focused[data-v-a6457440],.focused[data-v-a6457440]:hover{outline:2px solid var(--primary-main);background-color:var(--action-hover)}.error-icon.error-icon[data-v-a6457440],.error-icon.error-icon[data-v-a6457440]:hover{color:var(--error-main)}.confirm-icon.confirm-icon[data-v-a6457440]{padding-left:.25rem}.confirm-icon.confirm-icon[data-v-a6457440]:hover{color:var(--primary-main)}.label-direction-left[data-v-a6457440]{flex-direction:row;align-items:center;justify-content:space-between}.apply-button[data-v-a6457440]{cursor:pointer;color:var(--primary-main);width:var(--spacing-250);height:var(--spacing-250)}.inline-error[data-v-a6457440]{cursor:pointer;color:var(--error-main);display:flex;justify-content:center;align-items:center}.footer[data-v-a6457440]{display:flex;justify-content:flex-end;margin-top:var(--spacing-50)}.footer.footer-absolute[data-v-a6457440]{position:absolute;bottom:calc(0px - var(--spacing-300))}.password-visibility-toggle[data-v-a6457440]{cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--text-secondary)}.variant-success .input-container[data-v-a6457440],.variant-success .input-container[data-v-a6457440]:hover{outline:2px solid var(--success-dark)}.variant-error .input-container[data-v-a6457440],.variant-error .input-container[data-v-a6457440]:hover{outline:2px solid var(--error-main)}.variant-warning .input-container[data-v-a6457440],.variant-warning .input-container[data-v-a6457440]:hover{outline:2px solid var(--warning-dark)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
div[data-v-fcdb9d02]{display:block}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { useToggle as me } from "../../../composables/useToggle.js";
|
|
2
|
-
import { ref as n, computed as r, watch as
|
|
2
|
+
import { ref as n, computed as r, watch as P, useSlots as Pe, toRaw as A, nextTick as D, provide as Te, onMounted as we } from "vue";
|
|
3
3
|
import { isObjectInArray as W } from "../../../utils/array.js";
|
|
4
4
|
import { objectsEqual as xe } from "../../../utils/object.js";
|
|
5
5
|
import { useClamp as Ie, useVirtualList as De, onClickOutside as Y } from "@vueuse/core";
|
|
6
|
-
import { Mode as
|
|
6
|
+
import { Mode as m, Type as _, DropdownContext as Ne } from "./DropdownContext.js";
|
|
7
7
|
import { pxToRem as Re } from "../../../utils/style.js";
|
|
8
8
|
import { useEditableContext as Ee } from "../../table-cells/common/EditableContext.js";
|
|
9
|
-
const Ue = (l,
|
|
9
|
+
const Ue = (l, O, b) => {
|
|
10
10
|
const Z = (e, t) => l.multi ? W(e, t) : A(e) === t;
|
|
11
11
|
let k;
|
|
12
12
|
((e) => {
|
|
@@ -19,10 +19,10 @@ const Ue = (l, P, b) => {
|
|
|
19
19
|
return N?.value?.value ?? a.value;
|
|
20
20
|
},
|
|
21
21
|
set(e) {
|
|
22
|
-
N.onChange?.(e), N.onClose?.(),
|
|
22
|
+
N.onChange?.(e), N.onClose?.(), O("update:selected", e);
|
|
23
23
|
}
|
|
24
24
|
});
|
|
25
|
-
|
|
25
|
+
P(
|
|
26
26
|
() => l.selected,
|
|
27
27
|
() => {
|
|
28
28
|
a.value = l.selected, v.value = l.selected;
|
|
@@ -32,7 +32,7 @@ const Ue = (l, P, b) => {
|
|
|
32
32
|
disabled: l.disabled,
|
|
33
33
|
initialValue: l.defaultOpen
|
|
34
34
|
});
|
|
35
|
-
|
|
35
|
+
P(
|
|
36
36
|
() => l.disabled,
|
|
37
37
|
(e) => {
|
|
38
38
|
e !== void 0 && ae(e);
|
|
@@ -45,7 +45,7 @@ const Ue = (l, P, b) => {
|
|
|
45
45
|
return l.isOpen;
|
|
46
46
|
},
|
|
47
47
|
set(e) {
|
|
48
|
-
|
|
48
|
+
O("update:isOpen", e);
|
|
49
49
|
}
|
|
50
50
|
}), ne = r(() => s.value.length - 1), o = Ie(0, 0, ne), K = r(() => u.value ? l.displayValue(u.value) : ""), ie = (e) => {
|
|
51
51
|
if (!e.value.length && !l.multiOptionsPlaceholderPrefix && !l.multiOptionsPlaceholderSuffix)
|
|
@@ -74,7 +74,7 @@ const Ue = (l, P, b) => {
|
|
|
74
74
|
}), s = r(() => {
|
|
75
75
|
const e = Array.isArray(v.value) && l.multi && b.VERSION === 4 ? se.value : l.options;
|
|
76
76
|
return l.onSearch ? e.filter((t) => l.onSearch(t, I.value)) : e;
|
|
77
|
-
}), ce = r(() => c.value[0]?.hasSubtitle), X = r(() => i.mode ===
|
|
77
|
+
}), ce = r(() => c.value[0]?.hasSubtitle), X = r(() => i.mode === m.Multi), j = r(
|
|
78
78
|
() => ce.value ? b.MULTILINE_LIST_HEIGHT : b.LIST_HEIGHT
|
|
79
79
|
), {
|
|
80
80
|
list: z,
|
|
@@ -85,14 +85,14 @@ const Ue = (l, P, b) => {
|
|
|
85
85
|
itemHeight: j.value,
|
|
86
86
|
overscan: 2
|
|
87
87
|
});
|
|
88
|
-
|
|
88
|
+
P(
|
|
89
89
|
() => l.isOpen,
|
|
90
90
|
(e) => {
|
|
91
91
|
G(e);
|
|
92
92
|
}
|
|
93
|
-
),
|
|
93
|
+
), P([x], async () => {
|
|
94
94
|
await D();
|
|
95
|
-
}),
|
|
95
|
+
}), P(
|
|
96
96
|
[d, o, x],
|
|
97
97
|
async ([e], [t]) => {
|
|
98
98
|
d.value && (await D(), x.value !== -1 && e !== t && setTimeout(() => {
|
|
@@ -104,10 +104,10 @@ const Ue = (l, P, b) => {
|
|
|
104
104
|
);
|
|
105
105
|
const h = (e, t = !1) => {
|
|
106
106
|
l.disabled || (G(e), D(() => {
|
|
107
|
-
d.value &&
|
|
107
|
+
d.value && O("opened"), d.value || O("closed"), T.value && t && T.value.focus();
|
|
108
108
|
}));
|
|
109
109
|
};
|
|
110
|
-
|
|
110
|
+
P(d, (e) => {
|
|
111
111
|
if (e) {
|
|
112
112
|
X.value && Array.isArray(u.value) && (v.value = A(u.value).slice());
|
|
113
113
|
return;
|
|
@@ -127,13 +127,13 @@ const Ue = (l, P, b) => {
|
|
|
127
127
|
a.value = s.value;
|
|
128
128
|
}
|
|
129
129
|
}, fe = () => {
|
|
130
|
-
de(), b.VERSION !== 4 && (u.value = a.value);
|
|
130
|
+
de(), b.VERSION !== 4 && (u.value = a.value), O("selectAll");
|
|
131
131
|
}, ge = (e = !0) => {
|
|
132
|
-
a.value = [], e && (u.value = [], v.value = []);
|
|
132
|
+
a.value = [], e && (u.value = [], v.value = [], O("clear"));
|
|
133
133
|
}, C = (e, t) => {
|
|
134
134
|
if (e = A(e), c.value[t]?.disabled)
|
|
135
135
|
return;
|
|
136
|
-
if (x.value = t, i.mode !==
|
|
136
|
+
if (x.value = t, i.mode !== m.Multi) {
|
|
137
137
|
l.keepOpen || h(!1), i.goToOption(
|
|
138
138
|
0
|
|
139
139
|
/* None */
|
|
@@ -162,7 +162,7 @@ const Ue = (l, P, b) => {
|
|
|
162
162
|
listRef: T,
|
|
163
163
|
clearable: l.clearable,
|
|
164
164
|
type: p.input ? _.Search : _.Dropdown,
|
|
165
|
-
mode: l.multi ?
|
|
165
|
+
mode: l.multi ? m.Multi : m.Single,
|
|
166
166
|
query: I,
|
|
167
167
|
selectedValue: K,
|
|
168
168
|
toggle: h,
|
|
@@ -173,7 +173,7 @@ const Ue = (l, P, b) => {
|
|
|
173
173
|
placeholder: l.placeholder,
|
|
174
174
|
select: C,
|
|
175
175
|
clearSelection: () => {
|
|
176
|
-
E(""), u.value = i.mode ===
|
|
176
|
+
E(""), u.value = i.mode === m.Single ? null : [], v.value = i.mode === m.Single ? null : [], g.value && (g.value.value = "");
|
|
177
177
|
},
|
|
178
178
|
search: E,
|
|
179
179
|
goToOption: async (e) => {
|
|
@@ -229,7 +229,7 @@ const Ue = (l, P, b) => {
|
|
|
229
229
|
})), i.goToOption(0);
|
|
230
230
|
});
|
|
231
231
|
const Se = () => {
|
|
232
|
-
u.value = a.value, Array.isArray(u.value) && (v.value = A(u.value).slice()),
|
|
232
|
+
u.value = a.value, Array.isArray(u.value) && (v.value = A(u.value).slice()), O("apply", u.value), h(!1), ye();
|
|
233
233
|
}, Q = () => {
|
|
234
234
|
X.value && Array.isArray(v.value) && (u.value = A(v.value).slice()), I.value = "", h(!1);
|
|
235
235
|
}, be = (e) => {
|
|
@@ -281,7 +281,7 @@ const Ue = (l, P, b) => {
|
|
|
281
281
|
h(!0);
|
|
282
282
|
return;
|
|
283
283
|
}
|
|
284
|
-
C(s.value[o.value], o.value), i.mode ===
|
|
284
|
+
C(s.value[o.value], o.value), i.mode === m.Single && !l.keepOpen && h(!1), e.preventDefault();
|
|
285
285
|
break;
|
|
286
286
|
}
|
|
287
287
|
}
|
|
@@ -84,6 +84,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
84
84
|
closed: () => void;
|
|
85
85
|
opened: () => void;
|
|
86
86
|
apply: (value: unknown) => void;
|
|
87
|
+
selectAll: () => void;
|
|
88
|
+
clear: () => void;
|
|
87
89
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
88
90
|
modelValue?: unknown;
|
|
89
91
|
placeholder?: string;
|
|
@@ -161,7 +163,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
161
163
|
darkTheme: boolean;
|
|
162
164
|
valueToCopy: string;
|
|
163
165
|
}>>> & {
|
|
166
|
+
onClear?: () => any;
|
|
164
167
|
onApply?: (value: unknown) => any;
|
|
168
|
+
onSelectAll?: () => any;
|
|
165
169
|
"onUpdate:selected"?: (value: unknown) => any;
|
|
166
170
|
"onUpdate:isOpen"?: (value: unknown) => any;
|
|
167
171
|
onOpened?: () => any;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import o from "./Dropdown.vue2.js";
|
|
2
|
-
/* empty css *//* empty css */import
|
|
3
|
-
// import "../../../Dropdown.
|
|
2
|
+
/* empty css *//* empty css */import _ from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../../Dropdown.vue_vue_type_style_index_0_scoped_aaa8c4bb_lang.css"; //*');
|
|
4
4
|
// import "../../../Dropdown.vue_vue_type_style_index_1_lang.css"; //');
|
|
5
|
-
const
|
|
5
|
+
const a = /* @__PURE__ */ _(o, [["__scopeId", "data-v-aaa8c4bb"]]);
|
|
6
6
|
export {
|
|
7
|
-
|
|
7
|
+
a as default
|
|
8
8
|
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import "../../../Dropdown.
|
|
2
|
-
import
|
|
1
|
+
import "../../../Dropdown.vue_vue_type_style_index_0_scoped_aaa8c4bb_lang.css"; import "../../../Dropdown.vue_vue_type_style_index_1_lang.css"; import { defineComponent as le, openBlock as a, createElementBlock as i, normalizeClass as T, unref as e, renderSlot as b, createVNode as s, withCtx as n, Transition as ae, createTextVNode as r, toDisplayString as h, createCommentVNode as o, createBlock as I, isRef as de, createElementVNode as m, mergeProps as P, withModifiers as A, Fragment as oe, renderList as ie, toRaw as $, pushScopeId as ne, popScopeId as se } from "vue";
|
|
2
|
+
import N from "../../button/v3/Button.vue.js";
|
|
3
3
|
import "../../button/v3/IconButton.vue.js";
|
|
4
4
|
import "../../button/v3/ScrollButton.vue.js";
|
|
5
5
|
import re from "./Option.vue.js";
|
|
6
|
-
import
|
|
6
|
+
import x from "../../icon/v3/Icon.vue.js";
|
|
7
7
|
import ue from "../../search/v3/Search.vue.js";
|
|
8
8
|
import "../../typography/Heading.vue.js";
|
|
9
9
|
import y from "../../typography/Text.vue.js";
|
|
10
|
-
import { Dropdown as
|
|
10
|
+
import { Dropdown as ce } from "floating-vue";
|
|
11
11
|
import { DropdownTestIdModifiers as u } from "../../../testids/index.js";
|
|
12
|
-
import { dropdownCommon as
|
|
13
|
-
const me = (t) => (ne("data-v-
|
|
12
|
+
import { dropdownCommon as fe } from "../common/Dropdown.common.js";
|
|
13
|
+
const me = (t) => (ne("data-v-aaa8c4bb"), t = t(), se(), t), ye = ["tabindex", "data-testid"], pe = ["disabled", "aria-expanded", "aria-labelledby", "aria-disabled"], be = {
|
|
14
14
|
key: 0,
|
|
15
15
|
class: "image-slot"
|
|
16
16
|
}, he = { class: "angle-down" }, ke = {
|
|
@@ -91,7 +91,7 @@ const me = (t) => (ne("data-v-d4f8e790"), t = t(), se(), t), ye = ["tabindex", "
|
|
|
91
91
|
darkTheme: { type: Boolean, default: !0 },
|
|
92
92
|
valueToCopy: { default: "" }
|
|
93
93
|
},
|
|
94
|
-
emits: ["update:selected", "update:isOpen", "closed", "opened", "apply"],
|
|
94
|
+
emits: ["update:selected", "update:isOpen", "closed", "opened", "apply", "selectAll", "clear"],
|
|
95
95
|
setup(t, { expose: L, emit: V }) {
|
|
96
96
|
const K = t, H = {
|
|
97
97
|
MULTILINE_LIST_HEIGHT: 48,
|
|
@@ -101,7 +101,7 @@ const me = (t) => (ne("data-v-d4f8e790"), t = t(), se(), t), ye = ["tabindex", "
|
|
|
101
101
|
}, {
|
|
102
102
|
onKeydown: p,
|
|
103
103
|
location: D,
|
|
104
|
-
open:
|
|
104
|
+
open: c,
|
|
105
105
|
toggleMenu: g,
|
|
106
106
|
onButtonKeydown: k,
|
|
107
107
|
displayedValue: C,
|
|
@@ -127,11 +127,11 @@ const me = (t) => (ne("data-v-d4f8e790"), t = t(), se(), t), ye = ["tabindex", "
|
|
|
127
127
|
cancel: ee,
|
|
128
128
|
el: te,
|
|
129
129
|
buttonRef: z
|
|
130
|
-
} =
|
|
130
|
+
} = fe(K, V, H);
|
|
131
131
|
return L({
|
|
132
132
|
selectItem: E,
|
|
133
133
|
scrollTo: Q
|
|
134
|
-
}), (
|
|
134
|
+
}), (f, d) => (a(), i("div", {
|
|
135
135
|
ref_key: "el",
|
|
136
136
|
ref: te,
|
|
137
137
|
class: T(["dropdown", { "dropdown--disabled": t.disabled }]),
|
|
@@ -140,8 +140,8 @@ const me = (t) => (ne("data-v-d4f8e790"), t = t(), se(), t), ye = ["tabindex", "
|
|
|
140
140
|
onKeydown: d[7] || (d[7] = //@ts-ignore
|
|
141
141
|
(...l) => e(p) && e(p)(...l))
|
|
142
142
|
}, [
|
|
143
|
-
b(
|
|
144
|
-
s(e(
|
|
143
|
+
b(f.$slots, "label", {}, void 0, !0),
|
|
144
|
+
s(e(ce), {
|
|
145
145
|
theme: t.theme,
|
|
146
146
|
"popper-class": [
|
|
147
147
|
t.popperClass,
|
|
@@ -152,7 +152,7 @@ const me = (t) => (ne("data-v-d4f8e790"), t = t(), se(), t), ye = ["tabindex", "
|
|
|
152
152
|
distance: t.isOnTop ? -e(D) : t.distance,
|
|
153
153
|
flip: t.flip,
|
|
154
154
|
triggers: [],
|
|
155
|
-
shown: !!e(
|
|
155
|
+
shown: !!e(c),
|
|
156
156
|
"auto-hide": !1,
|
|
157
157
|
container: t.container,
|
|
158
158
|
"auto-size": t.autoSize,
|
|
@@ -161,7 +161,7 @@ const me = (t) => (ne("data-v-d4f8e790"), t = t(), se(), t), ye = ["tabindex", "
|
|
|
161
161
|
popper: n(() => [
|
|
162
162
|
s(ae, null, {
|
|
163
163
|
default: n(() => [
|
|
164
|
-
e(
|
|
164
|
+
e(c) ? (a(), i("div", {
|
|
165
165
|
key: 0,
|
|
166
166
|
ref_key: "listRef",
|
|
167
167
|
ref: Z,
|
|
@@ -192,13 +192,13 @@ const me = (t) => (ne("data-v-d4f8e790"), t = t(), se(), t), ye = ["tabindex", "
|
|
|
192
192
|
onKeydown: e(p)
|
|
193
193
|
}, null, 8, ["modelValue", "placeholder", "test-id", "onKeydown"])) : o("", !0)
|
|
194
194
|
])) : o("", !0),
|
|
195
|
-
e(
|
|
195
|
+
e(c) ? (a(), i("div", {
|
|
196
196
|
key: 1,
|
|
197
197
|
class: "dropdown",
|
|
198
198
|
onKeydown: d[6] || (d[6] = //@ts-ignore
|
|
199
199
|
(...l) => e(p) && e(p)(...l))
|
|
200
200
|
}, [
|
|
201
|
-
b(
|
|
201
|
+
b(f.$slots, "input-list", { open: e(c) }, void 0, !0),
|
|
202
202
|
m("div", P(e(G), {
|
|
203
203
|
class: ["list-container", { "list-container--multi": t.multi }],
|
|
204
204
|
style: { height: `${e(F)}rem` },
|
|
@@ -220,7 +220,7 @@ const me = (t) => (ne("data-v-d4f8e790"), t = t(), se(), t), ye = ["tabindex", "
|
|
|
220
220
|
})
|
|
221
221
|
])) : o("", !0),
|
|
222
222
|
t.loading ? (a(), i("li", Ie, [
|
|
223
|
-
s(e(
|
|
223
|
+
s(e(x), {
|
|
224
224
|
"font-size": "md",
|
|
225
225
|
class: "loader-icon"
|
|
226
226
|
}, {
|
|
@@ -243,7 +243,7 @@ const me = (t) => (ne("data-v-d4f8e790"), t = t(), se(), t), ye = ["tabindex", "
|
|
|
243
243
|
"selected-prop": e(S),
|
|
244
244
|
"is-indeterminate": e(q),
|
|
245
245
|
"select-all-option": "",
|
|
246
|
-
onClick: d[5] || (d[5] =
|
|
246
|
+
onClick: d[5] || (d[5] = A((l) => e(W)(), ["stop"]))
|
|
247
247
|
}, {
|
|
248
248
|
default: n(() => [
|
|
249
249
|
r("Select all ")
|
|
@@ -255,9 +255,9 @@ const me = (t) => (ne("data-v-d4f8e790"), t = t(), se(), t), ye = ["tabindex", "
|
|
|
255
255
|
key: w,
|
|
256
256
|
"aria-selected": e(O)($(e(R)), l),
|
|
257
257
|
"aria-disabled": !!t.disabled,
|
|
258
|
-
onClick:
|
|
258
|
+
onClick: A(() => e(E)(l, w), ["stop"])
|
|
259
259
|
}, [
|
|
260
|
-
b(
|
|
260
|
+
b(f.$slots, "default", {
|
|
261
261
|
option: l,
|
|
262
262
|
selected: e(O)($(e(R)), l),
|
|
263
263
|
active: $(e(Y)) === w
|
|
@@ -266,7 +266,7 @@ const me = (t) => (ne("data-v-d4f8e790"), t = t(), se(), t), ye = ["tabindex", "
|
|
|
266
266
|
], 16)
|
|
267
267
|
], 16, we),
|
|
268
268
|
t.multi ? (a(), i("div", Se, [
|
|
269
|
-
s(e(
|
|
269
|
+
s(e(N), {
|
|
270
270
|
ref_key: "cancel",
|
|
271
271
|
ref: ee,
|
|
272
272
|
size: "sm",
|
|
@@ -280,7 +280,7 @@ const me = (t) => (ne("data-v-d4f8e790"), t = t(), se(), t), ye = ["tabindex", "
|
|
|
280
280
|
]),
|
|
281
281
|
_: 1
|
|
282
282
|
}, 8, ["test-id", "onClick"]),
|
|
283
|
-
s(e(
|
|
283
|
+
s(e(N), {
|
|
284
284
|
ref_key: "apply",
|
|
285
285
|
ref: _,
|
|
286
286
|
"data-testid": "mutli-apply",
|
|
@@ -304,12 +304,12 @@ const me = (t) => (ne("data-v-d4f8e790"), t = t(), se(), t), ye = ["tabindex", "
|
|
|
304
304
|
default: n(() => [
|
|
305
305
|
m("div", {
|
|
306
306
|
class: T(["button__container", {
|
|
307
|
-
"button__container--open": !!e(
|
|
307
|
+
"button__container--open": !!e(c),
|
|
308
308
|
[`button__container--${t.size}`]: !0,
|
|
309
309
|
"button__container--disabled": t.disabled
|
|
310
310
|
}])
|
|
311
311
|
}, [
|
|
312
|
-
|
|
312
|
+
f.$slots.input ? (a(), i("div", {
|
|
313
313
|
key: 0,
|
|
314
314
|
ref_key: "buttonRef",
|
|
315
315
|
ref: z,
|
|
@@ -317,23 +317,23 @@ const me = (t) => (ne("data-v-d4f8e790"), t = t(), se(), t), ye = ["tabindex", "
|
|
|
317
317
|
onKeydown: d[1] || (d[1] = //@ts-ignore
|
|
318
318
|
(...l) => e(k) && e(k)(...l))
|
|
319
319
|
}, [
|
|
320
|
-
b(
|
|
321
|
-
open: e(
|
|
320
|
+
b(f.$slots, "input", {
|
|
321
|
+
open: e(c),
|
|
322
322
|
value: e(C),
|
|
323
323
|
disabled: t.disabled
|
|
324
324
|
}, void 0, !0)
|
|
325
325
|
], 544)) : o("", !0),
|
|
326
|
-
|
|
326
|
+
f.$slots.input ? o("", !0) : (a(), i("button", {
|
|
327
327
|
key: 1,
|
|
328
328
|
ref_key: "buttonRef",
|
|
329
329
|
ref: z,
|
|
330
330
|
disabled: t.disabled,
|
|
331
331
|
"aria-haspopup": !0,
|
|
332
|
-
"aria-expanded": !!e(
|
|
332
|
+
"aria-expanded": !!e(c),
|
|
333
333
|
"aria-labelledby": e(M)?.id,
|
|
334
334
|
"aria-disabled": t.disabled,
|
|
335
335
|
class: T([{
|
|
336
|
-
"button--open": !!e(
|
|
336
|
+
"button--open": !!e(c),
|
|
337
337
|
[`button--${t.size}`]: !0,
|
|
338
338
|
"button--disabled": t.disabled
|
|
339
339
|
}, "button"]),
|
|
@@ -341,8 +341,8 @@ const me = (t) => (ne("data-v-d4f8e790"), t = t(), se(), t), ye = ["tabindex", "
|
|
|
341
341
|
(...l) => e(k) && e(k)(...l)),
|
|
342
342
|
onClick: d[3] || (d[3] = (l) => e(g)())
|
|
343
343
|
}, [
|
|
344
|
-
|
|
345
|
-
b(
|
|
344
|
+
f.$slots.image ? (a(), i("div", be, [
|
|
345
|
+
b(f.$slots, "image", {}, void 0, !0)
|
|
346
346
|
])) : o("", !0),
|
|
347
347
|
s(e(y), {
|
|
348
348
|
size: "sm",
|
|
@@ -354,7 +354,7 @@ const me = (t) => (ne("data-v-d4f8e790"), t = t(), se(), t), ye = ["tabindex", "
|
|
|
354
354
|
_: 1
|
|
355
355
|
}),
|
|
356
356
|
m("div", he, [
|
|
357
|
-
s(e(
|
|
357
|
+
s(e(x), {
|
|
358
358
|
name: "angle-down",
|
|
359
359
|
"font-size": "sm"
|
|
360
360
|
})
|
|
@@ -196,7 +196,9 @@ declare const DropdownTypes: () => (({
|
|
|
196
196
|
default: boolean;
|
|
197
197
|
};
|
|
198
198
|
}>> & {
|
|
199
|
+
onClear?: () => any;
|
|
199
200
|
onApply?: (value: unknown) => any;
|
|
201
|
+
onSelectAll?: () => any;
|
|
200
202
|
"onUpdate:selected"?: (value: unknown) => any;
|
|
201
203
|
"onUpdate:isOpen"?: (value: unknown) => any;
|
|
202
204
|
onOpened?: () => any;
|
|
@@ -213,7 +215,7 @@ declare const DropdownTypes: () => (({
|
|
|
213
215
|
}>;
|
|
214
216
|
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
|
|
215
217
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
|
|
216
|
-
$emit: ((event: "apply", value: unknown) => void) & ((event: "update:selected", value: unknown) => void) & ((event: "update:isOpen", value: unknown) => void) & ((event: "opened") => void) & ((event: "closed") => void);
|
|
218
|
+
$emit: ((event: "clear") => void) & ((event: "apply", value: unknown) => void) & ((event: "update:selected", value: unknown) => void) & ((event: "selectAll") => void) & ((event: "update:isOpen", value: unknown) => void) & ((event: "opened") => void) & ((event: "closed") => void);
|
|
217
219
|
$el: any;
|
|
218
220
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
219
221
|
title: {
|
|
@@ -370,7 +372,9 @@ declare const DropdownTypes: () => (({
|
|
|
370
372
|
default: boolean;
|
|
371
373
|
};
|
|
372
374
|
}>> & {
|
|
375
|
+
onClear?: () => any;
|
|
373
376
|
onApply?: (value: unknown) => any;
|
|
377
|
+
onSelectAll?: () => any;
|
|
374
378
|
"onUpdate:selected"?: (value: unknown) => any;
|
|
375
379
|
"onUpdate:isOpen"?: (value: unknown) => any;
|
|
376
380
|
onOpened?: () => any;
|
|
@@ -384,6 +388,8 @@ declare const DropdownTypes: () => (({
|
|
|
384
388
|
closed: () => void;
|
|
385
389
|
opened: () => void;
|
|
386
390
|
apply: (value: unknown) => void;
|
|
391
|
+
selectAll: () => void;
|
|
392
|
+
clear: () => void;
|
|
387
393
|
}, string, {
|
|
388
394
|
title: string;
|
|
389
395
|
theme: string;
|
|
@@ -594,7 +600,9 @@ declare const DropdownTypes: () => (({
|
|
|
594
600
|
default: boolean;
|
|
595
601
|
};
|
|
596
602
|
}>> & {
|
|
603
|
+
onClear?: () => any;
|
|
597
604
|
onApply?: (value: unknown) => any;
|
|
605
|
+
onSelectAll?: () => any;
|
|
598
606
|
"onUpdate:selected"?: (value: unknown) => any;
|
|
599
607
|
"onUpdate:isOpen"?: (value: unknown) => any;
|
|
600
608
|
onOpened?: () => any;
|
|
@@ -761,7 +769,9 @@ declare const DropdownTypes: () => (({
|
|
|
761
769
|
default: boolean;
|
|
762
770
|
};
|
|
763
771
|
}>> & {
|
|
772
|
+
onClear?: () => any;
|
|
764
773
|
onApply?: (value: unknown) => any;
|
|
774
|
+
onSelectAll?: () => any;
|
|
765
775
|
"onUpdate:selected"?: (value: unknown) => any;
|
|
766
776
|
"onUpdate:isOpen"?: (value: unknown) => any;
|
|
767
777
|
onOpened?: () => any;
|
|
@@ -775,6 +785,8 @@ declare const DropdownTypes: () => (({
|
|
|
775
785
|
closed: () => void;
|
|
776
786
|
opened: () => void;
|
|
777
787
|
apply: (value: unknown) => void;
|
|
788
|
+
selectAll: () => void;
|
|
789
|
+
clear: () => void;
|
|
778
790
|
}, string, {
|
|
779
791
|
title: string;
|
|
780
792
|
theme: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./AppDropdownTrigger.vue2.js";
|
|
2
2
|
/* empty css */import p from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../../AppDropdownTrigger.
|
|
4
|
-
const s = /* @__PURE__ */ p(o, [["__scopeId", "data-v-
|
|
3
|
+
// import "../../../AppDropdownTrigger.vue_vue_type_style_index_0_scoped_71c3ab74_lang.css"; //*');
|
|
4
|
+
const s = /* @__PURE__ */ p(o, [["__scopeId", "data-v-71c3ab74"]]);
|
|
5
5
|
export {
|
|
6
6
|
s as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../../AppDropdownTrigger.
|
|
1
|
+
import "../../../AppDropdownTrigger.vue_vue_type_style_index_0_scoped_71c3ab74_lang.css"; import { defineComponent as V, computed as p, openBlock as o, createElementBlock as n, normalizeClass as B, createElementVNode as a, mergeProps as h, unref as l, renderSlot as O, createCommentVNode as i, createVNode as s, withCtx as v, toDisplayString as $ } from "vue";
|
|
2
2
|
import r from "../../icon/v4/IconV4.vue.js";
|
|
3
3
|
import x from "../../typography/v4/Typography.vue.js";
|
|
4
4
|
import { DropdownTestIdModifiers as u } from "../../../testids/index.js";
|
|
@@ -40,6 +40,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
40
40
|
optionIconKey?: string;
|
|
41
41
|
optionImageKey?: string;
|
|
42
42
|
optionIconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
43
|
+
optionEndIconKey?: string;
|
|
44
|
+
optionEndIconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
43
45
|
valueToCopy?: string;
|
|
44
46
|
disabledOptionKey?: string;
|
|
45
47
|
theme?: string;
|
|
@@ -85,6 +87,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
85
87
|
optionIconKey: string;
|
|
86
88
|
optionImageKey: string;
|
|
87
89
|
optionIconType: any;
|
|
90
|
+
optionEndIconKey: string;
|
|
91
|
+
optionEndIconType: any;
|
|
88
92
|
valueToCopy: any;
|
|
89
93
|
disabledOptionKey: string;
|
|
90
94
|
fullWidth: boolean;
|
|
@@ -99,6 +103,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
99
103
|
closed: () => void;
|
|
100
104
|
opened: () => void;
|
|
101
105
|
apply: (value: unknown) => void;
|
|
106
|
+
selectAll: () => void;
|
|
107
|
+
clear: () => void;
|
|
102
108
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
103
109
|
modelValue?: unknown;
|
|
104
110
|
selected?: unknown;
|
|
@@ -140,6 +146,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
140
146
|
optionIconKey?: string;
|
|
141
147
|
optionImageKey?: string;
|
|
142
148
|
optionIconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
149
|
+
optionEndIconKey?: string;
|
|
150
|
+
optionEndIconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
143
151
|
valueToCopy?: string;
|
|
144
152
|
disabledOptionKey?: string;
|
|
145
153
|
theme?: string;
|
|
@@ -185,13 +193,17 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
185
193
|
optionIconKey: string;
|
|
186
194
|
optionImageKey: string;
|
|
187
195
|
optionIconType: any;
|
|
196
|
+
optionEndIconKey: string;
|
|
197
|
+
optionEndIconType: any;
|
|
188
198
|
valueToCopy: any;
|
|
189
199
|
disabledOptionKey: string;
|
|
190
200
|
fullWidth: boolean;
|
|
191
201
|
optionsListWidth: any;
|
|
192
202
|
statusType: any;
|
|
193
203
|
}>>> & {
|
|
204
|
+
onClear?: () => any;
|
|
194
205
|
onApply?: (value: unknown) => any;
|
|
206
|
+
onSelectAll?: () => any;
|
|
195
207
|
"onUpdate:selected"?: (value: unknown) => any;
|
|
196
208
|
"onUpdate:isOpen"?: (value: unknown) => any;
|
|
197
209
|
onOpened?: () => any;
|
|
@@ -234,6 +246,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
234
246
|
optionIconKey: string;
|
|
235
247
|
optionImageKey: string;
|
|
236
248
|
optionIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
249
|
+
optionEndIconKey: string;
|
|
250
|
+
optionEndIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
237
251
|
valueToCopy: string;
|
|
238
252
|
disabledOptionKey: string;
|
|
239
253
|
fullWidth: boolean;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import o from "./DropdownV4.vue2.js";
|
|
2
2
|
/* empty css *//* empty css */import _ from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../../DropdownV4.
|
|
3
|
+
// import "../../../DropdownV4.vue_vue_type_style_index_0_scoped_77f8bdb6_lang.css"; //*');
|
|
4
4
|
// import "../../../DropdownV4.vue_vue_type_style_index_1_lang.css"; //');
|
|
5
|
-
const r = /* @__PURE__ */ _(o, [["__scopeId", "data-v-
|
|
5
|
+
const r = /* @__PURE__ */ _(o, [["__scopeId", "data-v-77f8bdb6"]]);
|
|
6
6
|
export {
|
|
7
7
|
r as default
|
|
8
8
|
};
|