@ironsource/shared-ui 2.1.11-test.6 → 2.1.11-test.7
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/ButtonFilterDropdownTrigger.vue_vue_type_style_index_0_scoped_1aa6df01_lang.css +1 -0
- package/DateRangeV4.vue_vue_type_style_index_0_scoped_309e5351_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_0_scoped_562f0b72_lang.css +1 -0
- package/InlineCopy.vue_vue_type_style_index_0_scoped_ad48b61e_lang.css +1 -0
- package/OptionV4.vue_vue_type_style_index_0_scoped_da829544_lang.css +1 -0
- package/PopoverV4.vue_vue_type_style_index_0_scoped_43b5cba4_lang.css +1 -0
- package/ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_c81a7d3e_lang.css +1 -0
- package/TreeDropdown.vue_vue_type_style_index_0_scoped_985779f7_lang.css +1 -0
- package/components/button/v4/ToggleButtonGroupAB.vue.d.ts +3 -1
- package/components/button/v4/ToggleButtonGroupAB.vue.js +2 -2
- package/components/button/v4/ToggleButtonGroupAB.vue2.js +44 -39
- package/components/button/v4/index.d.ts +9 -3
- package/components/dateRange/v4/DateRangeV4.vue.js +2 -2
- package/components/dateRange/v4/DateRangeV4.vue2.js +21 -22
- package/components/dropdown/v3/Dropdown.vue.d.ts +1 -1
- package/components/dropdown/v3/index.d.ts +20 -20
- package/components/dropdown/v4/AppDropdownTrigger.vue.d.ts +1 -1
- package/components/dropdown/v4/ButtonFilterDropdownTrigger.vue.js +2 -2
- package/components/dropdown/v4/ButtonFilterDropdownTrigger.vue2.js +7 -7
- package/components/dropdown/v4/DropdownV4.vue.d.ts +8 -1
- package/components/dropdown/v4/DropdownV4.vue.js +3 -3
- package/components/dropdown/v4/DropdownV4.vue2.js +128 -122
- package/components/dropdown/v4/OptionV4.vue.d.ts +5 -0
- package/components/dropdown/v4/OptionV4.vue.js +2 -2
- package/components/dropdown/v4/OptionV4.vue2.js +78 -67
- package/components/dropdown/v4/TreeDropdown.vue.d.ts +6 -1
- package/components/dropdown/v4/TreeDropdown.vue.js +2 -2
- package/components/dropdown/v4/TreeDropdown.vue2.js +151 -116
- package/components/dropdown/v4/index.d.ts +112 -53
- package/components/inlineCopy/InlineCopy.vue.d.ts +5 -0
- package/components/inlineCopy/InlineCopy.vue.js +2 -2
- package/components/inlineCopy/InlineCopy.vue2.js +24 -22
- package/components/inlineCopy/index.d.ts +9 -0
- package/components/popover/v4/PopoverV4.vue.d.ts +3 -1
- package/components/popover/v4/PopoverV4.vue.js +2 -2
- package/components/popover/v4/PopoverV4.vue2.js +22 -20
- package/components/popover/v4/index.d.ts +9 -3
- package/index.d.ts +278 -118
- package/index.js +1 -1
- package/mocks/options.d.ts +29 -2
- package/package.json +1 -1
- package/ButtonFilterDropdownTrigger.vue_vue_type_style_index_0_scoped_7f750550_lang.css +0 -1
- package/DateRangeV4.vue_vue_type_style_index_0_scoped_f81413ec_lang.css +0 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_e899ec7a_lang.css +0 -1
- package/InlineCopy.vue_vue_type_style_index_0_scoped_893a203c_lang.css +0 -1
- package/OptionV4.vue_vue_type_style_index_0_scoped_4070942a_lang.css +0 -1
- package/PopoverV4.vue_vue_type_style_index_0_scoped_74bbce13_lang.css +0 -1
- package/ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_9d9e51c0_lang.css +0 -1
- package/TreeDropdown.vue_vue_type_style_index_0_scoped_6ac5f602_lang.css +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.button-filter-dropdown-trigger[data-v-1aa6df01]{border-radius:var(--border-radius-md);transition:all .2s ease;color:var(--text-primary);display:inline-flex;padding:3px 7px;align-items:center}.button-filter-dropdown-trigger[data-v-1aa6df01]:hover{cursor:pointer;background:var(--action-hover)}.button-filter-dropdown-trigger.outlined[data-v-1aa6df01]{border:1px solid var(--default-outlined-border)}.button-filter-dropdown-trigger.outlined[data-v-1aa6df01]:hover{border:1px solid var(--action-active)}.button-filter-dropdown-trigger.outlined.disabled[data-v-1aa6df01]{background:transparent;border:1px solid var(--default-outlined-border)}.button-filter-dropdown-trigger.open[data-v-1aa6df01]{background:var(--action-selected);outline:2px solid var(--action-active);outline-offset:-2px;transition:outline 0s}.button-filter-dropdown-trigger.open[data-v-1aa6df01]:hover{background:var(--action-selected)}.button-filter-dropdown-trigger.disabled[data-v-1aa6df01]{cursor:default;color:var(--text-disabled)}.button-filter-dropdown-trigger.disabled[data-v-1aa6df01]:hover{background:transparent}.start-icon[data-v-1aa6df01]{color:var(--action-active);margin-right:var(--spacing-50)}.end-icon[data-v-1aa6df01]{color:var(--action-active);margin-left:var(--spacing-50)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.label[data-v-309e5351]{color:#41454d}.pop-up[data-v-309e5351]{width:668px;position:absolute;z-index:1000;top:32px;left:1px;overflow:hidden;border-radius:8px;border:1px solid var(--common-divider, #e4e4e4);background:var(--background-modelElevation, #fff);box-shadow:var(--elevation-lg)}.pop-up.open-on-top[data-v-309e5351]{top:0}.pop-up.hide-presets[data-v-309e5351],.pop-up.hide-presets .calendar-wrap[data-v-309e5351]{width:520px}.pop-up.hide-presets .date-picker-calendar[data-v-309e5351]{padding:15px 16px}.pop-up .date-picker-menu[data-v-309e5351]{width:164px;background:#ffffff;vertical-align:top;border-right:1px solid var(--common-divider-elevation-0, #e4e4e4);background:var(--background-paper, #fcfcfc)}.pop-up .date-picker-menu .preset-element[data-v-309e5351]{padding-left:8px;height:32px;border-radius:8px;color:var(--text-primary, #202020);line-height:32px}.pop-up .date-picker-menu .preset-element[data-v-309e5351]:hover{background:var(--action-hover, rgba(0, 0, 0, .05))}.pop-up .date-picker-menu .selected-preset[data-v-309e5351]{border-radius:8px;background:var(--action-selected, #ebebeb)}.pop-up .date-picker-menu li[data-v-309e5351]{cursor:pointer;margin-bottom:2px}.pop-up .left-box[data-v-309e5351]{left:-1px}.pop-up .date-picker-calendar[data-v-309e5351]{box-sizing:border-box;height:100%;padding:16px;display:grid;grid-template-columns:1fr 1fr;grid-gap:24px}.pop-up .calendars-wrapper[data-v-309e5351]{padding-left:6px}.pop-up .preset-dropdown ul[data-v-309e5351]{list-style:none;margin:0;padding:8px;line-height:32px}.pop-up .buttons-cover[data-v-309e5351]{height:48px;position:absolute;bottom:0;width:100%;right:0;box-sizing:border-box;border-top:1px solid var(--common-divider-elevation-0, #e4e4e4);background:var(--background-modelElevation, #fff);align-items:center;display:flex;justify-content:space-between;padding:12px 16px}.pop-up .buttons-cover .text-container[data-v-309e5351]{flex:1;color:var(--text-secondary, #646464)}.pop-up button[data-v-309e5351]{float:right;margin-left:8px}.pop-up .error[data-v-309e5351]{display:none;position:absolute;left:270px;top:22px}.pop-up .inline-block[data-v-309e5351]{display:inline-block}.pop-up.right[data-v-309e5351]{left:initial;right:1px}.calendar-wrap[data-v-309e5351]{width:504px;height:372px;position:relative;border-bottom-right-radius:8px;border-top-right-radius:8px;vertical-align:top}.type-picker[data-v-309e5351]{height:60px;line-height:60px;padding-left:15px;box-shadow:0 1px 3px #0000003b}.range-type[data-v-309e5351]{color:#8e959d;padding-left:15px;padding-right:15px;cursor:pointer}.selected-range-type[data-v-309e5351]{color:#fff;background-color:#3083ff;border-radius:20px;padding:6px 15px;cursor:default}.date-range-field[data-v-309e5351]{display:inline-block;width:100%;height:30px;position:relative;cursor:pointer;border-radius:3px}.date-range-field.selected-item-as-title[data-v-309e5351]{left:0;border:none;background-image:none;max-width:100%;height:22px;color:#3083ff;overflow:visible}.date-range-field.selected-item-as-title .small-triangle[data-v-309e5351]{right:-25px}.date-range-field.selected-item-as-title .small-triangle[data-v-309e5351]:after{border-top-color:currentColor}.date-range-field.selected-item-as-title span[data-v-309e5351]{padding-left:12px}.date-range-field.no-button-limit[data-v-309e5351]{overflow:visible}.date-range-field.no-button-limit span[data-v-309e5351]{width:100%;line-height:22px}.date-range-field span[data-v-309e5351]{line-height:28px;padding-left:15px;overflow:hidden;text-overflow:ellipsis;display:inline-block;width:calc(100% - 26px);white-space:nowrap;position:relative}.date-range-disabled .date-range-field[data-v-309e5351]{cursor:default;color:#8e959d;pointer-events:none}.date-range-disabled .small-triangle[data-v-309e5351]:after{border-top-color:#8e959d}.pop-up-content[data-v-309e5351]{margin-top:1px}.type-message[data-v-309e5351]{color:#8e959d;padding:10px 20px;line-height:1.5}.relative-wrap[data-v-309e5351]{position:relative}.space-right[data-v-309e5351]{margin-right:13px}.space-left[data-v-309e5351]{margin-left:9px}.top-date[data-v-309e5351]{line-height:13px}.flex[data-v-309e5351]{display:flex}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.v-enter-active[data-v-562f0b72],.v-leave-active[data-v-562f0b72]{transition:opacity .25s ease}ol[data-v-562f0b72],ul[data-v-562f0b72],menu[data-v-562f0b72]{list-style:none;margin:0;padding:0}.dropdown.full-width[data-v-562f0b72],.dropdown.full-width .button__container[data-v-562f0b72]{width:100%}.dropdown-list-wrapper[data-v-562f0b72]{display:flex;flex-direction:column;padding:.5rem .5rem .25rem}.dropdown-list-wrapper--multi[data-v-562f0b72]{padding:.5rem}.list-container--multi[data-v-562f0b72]{margin-bottom:0}.inline-search .inline-search-wrapper[data-v-562f0b72]{padding-bottom:.25rem;display:flex;flex-direction:row;gap:.25rem}.inline-search .list-container[data-v-562f0b72]{padding-top:0}.inline-search-wrapper[data-v-562f0b72]{padding-bottom:.25rem;display:flex;flex-direction:row;gap:.25rem}.no-result-container[data-v-562f0b72]{height:100%;display:flex;align-items:center;padding:.375rem .5rem;color:var(--text-disabled)}.no-result[data-v-562f0b72]{color:var(--text-disabled);padding-left:.5rem}.list[data-v-562f0b72]{outline:none;display:flex;flex-direction:column;width:100%;min-height:2rem}.list--multi[data-v-562f0b72]{margin-bottom:.5rem;border-bottom-left-radius:0;border-bottom-right-radius:0}.image-slot[data-v-562f0b72]{margin-right:.5rem}.actions-wrapper[data-v-562f0b72]{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-562f0b72]{margin-left:.5rem}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.inline-copy[data-v-ad48b61e]{display:inline-flex;cursor:pointer;color:var(--text-secondary)}.inline-copy .icon-copy[data-v-ad48b61e]{padding:0 4px;cursor:pointer;color:var(--action-active)}.inline-copy .icon-copy[data-v-ad48b61e]:hover{color:var(--action-primary)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.label[data-v-da829544]{color:#41454d}.item-container[data-v-da829544]{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-da829544]{cursor:initial;color:var(--text-disabled)}.item-container[data-v-da829544]:hover:not(.item-container--disabled){background-color:var(--action-hover)}.item-container--active[data-v-da829544],.item-container[data-v-da829544]:active{background-color:var(--action-selected)}.item-container:not(.item-container--multi).item-container--selected[data-v-da829544]{background-color:var(--action-selected)}.subtitle[data-v-da829544]{color:#7b838c;line-height:1rem}.clear-button[data-v-da829544]{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-da829544]:hover{color:#3083ff}.item[data-v-da829544]{width:100%;display:flex;gap:.5rem;align-items:center}.item--with-icon[data-v-da829544],.item--multi[data-v-da829544]{display:flex;flex-direction:row;align-items:center;justify-content:start}.item .image[data-v-da829544]{width:20px;height:20px;flex:none}.item .image img[data-v-da829544]{width:20px;height:20px;border-radius:4px}.item .flag[data-v-da829544]{width:16px;height:16px}.item .flag img[data-v-da829544]{width:16px;height:16px;border-radius:50%}.item .start-icon[data-v-da829544],.item .end-icon[data-v-da829544]{display:flex;color:var(--action-active)}.item .end-text-icon[data-v-da829544]{display:inline-flex}.item .option-text[data-v-da829544]{line-height:1.1875rem}.text-container[data-v-da829544]{width:100%;text-overflow:ellipsis;overflow:hidden}.tooltip-option[data-v-da829544]{display:block}.tooltip-option[data-v-da829544] .container{width:100%}.app-trigger--icon[data-v-da829544]{color:var(--action-active);transform:rotate(-90deg);transition:transform .2s}.app-trigger--icon.expanded[data-v-da829544]{transform:rotate(0)}.option-content[data-v-da829544]{display:flex}.option-content[data-v-da829544]:not(.option-content-vertical){gap:.5rem;align-items:center}.option-content-horizontal[data-v-da829544]{justify-content:space-between;gap:.5rem}.option-content-vertical[data-v-da829544]{flex-direction:column}.option-text .main-text[data-v-da829544]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-align:left}.option-text .caption-text[data-v-da829544]{color:var(--text-secondary)}.multiline-tooltip[data-v-da829544]{display:flex;flex-direction:column}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
div[data-v-43b5cba4]{display:block}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.group-button-wrapper[data-v-c81a7d3e]{display:flex}.group-button-wrapper[data-v-c81a7d3e] button{border-radius:0}.group-button-wrapper .toggle-button[data-v-c81a7d3e]:nth-child(1){border-top-left-radius:var(--border-radius-md);border-bottom-left-radius:var(--border-radius-md);border-right:none;background-color:var(--common-inverse-white);width:32px}.group-button-wrapper .toggle-button[data-v-c81a7d3e]:nth-child(2){border-right:none;border-left:none;width:32px}.group-button-wrapper .toggle-button[data-v-c81a7d3e]:last-child{border-top-right-radius:var(--border-radius-md);border-bottom-right-radius:var(--border-radius-md);border-right:1px solid var(--default-outlined-border)}.group-button-wrapper .toggle-button[data-v-c81a7d3e]:nth-child(3){padding:0}.group-button-wrapper .popover-trigger[data-v-c81a7d3e]{padding:5px 3px}.group-button-wrapper .trigger-active[data-v-c81a7d3e]{background:var(--default-light)}.group-button-wrapper .primary[data-v-c81a7d3e]{border-color:var(--default-outlined-border);color:var(--action-active)}.group-button-wrapper .toggle-button[data-v-c81a7d3e]:nth-child(3):hover,.group-button-wrapper .toggle-button[data-v-c81a7d3e]:nth-child(1):not(.selected-a):hover,.group-button-wrapper .toggle-button[data-v-c81a7d3e]:nth-child(2):not(.selected-b):hover{background-color:var(--action-hover)}.group-button-wrapper .toggle-button.selected-a[data-v-c81a7d3e],.group-button-wrapper .toggle-button.selected-a[data-v-c81a7d3e]:hover{background-color:var(--aba);color:var(--common-inverse-white)}.group-button-wrapper .toggle-button.selected-b[data-v-c81a7d3e],.group-button-wrapper .toggle-button.selected-b[data-v-c81a7d3e]:hover{background-color:var(--abb);color:var(--common-inverse-white)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.child-options[data-v-985779f7]{padding-left:1rem}
|
|
@@ -15,7 +15,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
15
15
|
};
|
|
16
16
|
}>, {
|
|
17
17
|
testId: string;
|
|
18
|
-
}>, {
|
|
18
|
+
}>, {
|
|
19
|
+
toggle: import("vue").ComputedRef<(value?: boolean) => boolean>;
|
|
20
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
19
21
|
"update:modelValue": (...args: any[]) => void;
|
|
20
22
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
21
23
|
modelValue: "a" | "b";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./ToggleButtonGroupAB.vue2.js";
|
|
2
2
|
/* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../../ToggleButtonGroupAB.
|
|
4
|
-
const s = /* @__PURE__ */ e(o, [["__scopeId", "data-v-
|
|
3
|
+
// import "../../../ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_c81a7d3e_lang.css"; //*');
|
|
4
|
+
const s = /* @__PURE__ */ e(o, [["__scopeId", "data-v-c81a7d3e"]]);
|
|
5
5
|
export {
|
|
6
6
|
s as default
|
|
7
7
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import "../../../ToggleButtonGroupAB.
|
|
2
|
-
import
|
|
3
|
-
import { useVModel as
|
|
4
|
-
import
|
|
1
|
+
import "../../../ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_c81a7d3e_lang.css"; import { defineComponent as A, ref as s, onMounted as C, computed as y, openBlock as f, createElementBlock as N, createVNode as a, mergeProps as p, unref as e, withCtx as r, createTextVNode as B, createBlock as w, createElementVNode as O, renderSlot as R, createCommentVNode as x } from "vue";
|
|
2
|
+
import i from "./ButtonV4.vue.js";
|
|
3
|
+
import { useVModel as E } from "@vueuse/core";
|
|
4
|
+
import G from "../../icon/v4/IconV4.vue.js";
|
|
5
5
|
import "../../icon/v4/IconFlag.vue.js";
|
|
6
|
-
import
|
|
7
|
-
import { useTestIdAttrs as
|
|
8
|
-
import { ToggleButtonGroupABTestIdModifiers as
|
|
9
|
-
const
|
|
6
|
+
import M from "../../popover/v4/PopoverV4.vue.js";
|
|
7
|
+
import { useTestIdAttrs as $ } from "../../../utils/testIds.js";
|
|
8
|
+
import { ToggleButtonGroupABTestIdModifiers as u } from "../../../testids/index.js";
|
|
9
|
+
const h = { class: "group-button-wrapper" }, U = { class: "popover-trigger" }, K = /* @__PURE__ */ A({
|
|
10
10
|
__name: "ToggleButtonGroupAB",
|
|
11
11
|
props: {
|
|
12
12
|
modelValue: null,
|
|
@@ -15,81 +15,86 @@ const G = { class: "group-button-wrapper" }, M = { class: "popover-trigger" }, D
|
|
|
15
15
|
popoverProps: null
|
|
16
16
|
},
|
|
17
17
|
emits: ["update:modelValue"],
|
|
18
|
-
setup(d, { emit:
|
|
19
|
-
const t = d, m =
|
|
20
|
-
|
|
21
|
-
},
|
|
18
|
+
setup(d, { expose: T, emit: P }) {
|
|
19
|
+
const t = d, m = s(null), v = s(!1), _ = (o) => {
|
|
20
|
+
v.value = o;
|
|
21
|
+
}, c = $(
|
|
22
22
|
t.testId,
|
|
23
|
-
|
|
23
|
+
u,
|
|
24
24
|
!0
|
|
25
|
-
),
|
|
25
|
+
), V = s(
|
|
26
26
|
t.popoverProps ? { ...t.popoverProps } : {}
|
|
27
|
-
), l =
|
|
28
|
-
|
|
27
|
+
), l = s(), k = E(t, "modelValue", P);
|
|
28
|
+
C(() => {
|
|
29
29
|
l.value = t.modelValue;
|
|
30
30
|
});
|
|
31
|
-
const
|
|
32
|
-
l.value = o,
|
|
33
|
-
};
|
|
34
|
-
return (
|
|
35
|
-
|
|
31
|
+
const g = (o) => {
|
|
32
|
+
l.value = o, k.value = o;
|
|
33
|
+
}, I = y(() => m.value?.toggle);
|
|
34
|
+
return T({
|
|
35
|
+
toggle: I
|
|
36
|
+
}), (o, n) => (f(), N("div", h, [
|
|
37
|
+
a(i, p({
|
|
36
38
|
class: ["toggle-button", { "selected-a": l.value === "a" }],
|
|
37
39
|
color: "primary",
|
|
38
40
|
variant: "outlined"
|
|
39
|
-
}, e(
|
|
40
|
-
onClick:
|
|
41
|
+
}, e(c)[e(u).BUTTON_A], {
|
|
42
|
+
onClick: n[0] || (n[0] = (b) => g("a"))
|
|
41
43
|
}), {
|
|
42
44
|
default: r(() => [
|
|
43
|
-
|
|
45
|
+
B(" A ")
|
|
44
46
|
]),
|
|
45
47
|
_: 1
|
|
46
48
|
}, 16, ["class"]),
|
|
47
|
-
|
|
49
|
+
a(i, p({
|
|
48
50
|
class: ["toggle-button", { "selected-b": l.value === "b" }],
|
|
49
51
|
color: "primary",
|
|
50
52
|
variant: "outlined"
|
|
51
|
-
}, e(
|
|
52
|
-
onClick:
|
|
53
|
+
}, e(c)[e(u).BUTTON_B], {
|
|
54
|
+
onClick: n[1] || (n[1] = (b) => g("b"))
|
|
53
55
|
}), {
|
|
54
56
|
default: r(() => [
|
|
55
|
-
|
|
57
|
+
B(" B ")
|
|
56
58
|
]),
|
|
57
59
|
_: 1
|
|
58
60
|
}, 16, ["class"]),
|
|
59
|
-
d.withPopover ? (
|
|
61
|
+
d.withPopover ? (f(), w(i, p({
|
|
60
62
|
key: 0,
|
|
61
63
|
class: [
|
|
62
64
|
"toggle-button",
|
|
63
65
|
{
|
|
64
|
-
"trigger-active":
|
|
66
|
+
"trigger-active": v.value
|
|
65
67
|
}
|
|
66
68
|
],
|
|
67
69
|
color: "primary",
|
|
68
70
|
variant: "outlined"
|
|
69
|
-
}, e(
|
|
71
|
+
}, e(c)[e(u).POPOVER_TRIGGER]), {
|
|
70
72
|
default: r(() => [
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
73
|
+
a(e(M), p({
|
|
74
|
+
ref_key: "popoverRef",
|
|
75
|
+
ref: m
|
|
76
|
+
}, {
|
|
77
|
+
...V.value
|
|
78
|
+
}, { onIsOpen: _ }), {
|
|
74
79
|
trigger: r(() => [
|
|
75
|
-
|
|
76
|
-
|
|
80
|
+
O("div", U, [
|
|
81
|
+
a(e(G), {
|
|
77
82
|
name: "caret-down",
|
|
78
83
|
size: "16px"
|
|
79
84
|
})
|
|
80
85
|
])
|
|
81
86
|
]),
|
|
82
87
|
content: r(() => [
|
|
83
|
-
|
|
88
|
+
R(o.$slots, "popover-content", {}, void 0, !0)
|
|
84
89
|
]),
|
|
85
90
|
_: 3
|
|
86
91
|
}, 16)
|
|
87
92
|
]),
|
|
88
93
|
_: 3
|
|
89
|
-
}, 16, ["class"])) :
|
|
94
|
+
}, 16, ["class"])) : x("", !0)
|
|
90
95
|
]));
|
|
91
96
|
}
|
|
92
97
|
});
|
|
93
98
|
export {
|
|
94
|
-
|
|
99
|
+
K as default
|
|
95
100
|
};
|
|
@@ -374,7 +374,9 @@ declare const ButtonTypes: () => (({
|
|
|
374
374
|
};
|
|
375
375
|
}>> & {
|
|
376
376
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
377
|
-
}, {
|
|
377
|
+
}, {
|
|
378
|
+
toggle: import("vue").ComputedRef<(value?: boolean) => boolean>;
|
|
379
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
378
380
|
"update:modelValue": (...args: any[]) => void;
|
|
379
381
|
}, string, {
|
|
380
382
|
testId: string;
|
|
@@ -426,7 +428,9 @@ declare const ButtonTypes: () => (({
|
|
|
426
428
|
};
|
|
427
429
|
}>> & {
|
|
428
430
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
429
|
-
} & import("vue").ShallowUnwrapRef<{
|
|
431
|
+
} & import("vue").ShallowUnwrapRef<{
|
|
432
|
+
toggle: import("vue").ComputedRef<(value?: boolean) => boolean>;
|
|
433
|
+
}> & {} & import("vue").ComponentCustomProperties & {};
|
|
430
434
|
__isFragment?: never;
|
|
431
435
|
__isTeleport?: never;
|
|
432
436
|
__isSuspense?: never;
|
|
@@ -458,7 +462,9 @@ declare const ButtonTypes: () => (({
|
|
|
458
462
|
};
|
|
459
463
|
}>> & {
|
|
460
464
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
461
|
-
}, {
|
|
465
|
+
}, {
|
|
466
|
+
toggle: import("vue").ComputedRef<(value?: boolean) => boolean>;
|
|
467
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
462
468
|
"update:modelValue": (...args: any[]) => void;
|
|
463
469
|
}, string, {
|
|
464
470
|
testId: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import e from "./DateRangeV4.vue2.js";
|
|
2
2
|
/* empty css */import o from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../../DateRangeV4.
|
|
4
|
-
const a = /* @__PURE__ */ o(e, [["__scopeId", "data-v-
|
|
3
|
+
// import "../../../DateRangeV4.vue_vue_type_style_index_0_scoped_309e5351_lang.css"; //*');
|
|
4
|
+
const a = /* @__PURE__ */ o(e, [["__scopeId", "data-v-309e5351"]]);
|
|
5
5
|
export {
|
|
6
6
|
a as default
|
|
7
7
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "../../../DateRangeV4.
|
|
1
|
+
import "../../../DateRangeV4.vue_vue_type_style_index_0_scoped_309e5351_lang.css"; import { defineComponent as J, openBlock as n, createElementBlock as s, unref as e, normalizeClass as r, createElementVNode as d, renderSlot as N, createVNode as i, withDirectives as v, Fragment as k, renderList as C, withCtx as l, createTextVNode as m, toDisplayString as g, createCommentVNode as P, vShow as $, normalizeStyle as Q, setBlockTracking as x } from "vue";
|
|
2
2
|
import X from "./CalendarMonthV4.vue.js";
|
|
3
3
|
import { typeToName as Z, messagePerType as _ } from "../common/consts.common.js";
|
|
4
|
-
import
|
|
4
|
+
import E from "../../button/v4/ButtonV4.vue.js";
|
|
5
5
|
import "../../button/v4/IconButtonV4.vue.js";
|
|
6
6
|
import "../../button/v4/ButtonGroup.vue.js";
|
|
7
7
|
import "../../button/v4/ToggleButtonGroupAB.vue.js";
|
|
@@ -17,7 +17,7 @@ import "../../dropdown/v4/OptionV4.vue.js";
|
|
|
17
17
|
import { DateRangeTestIdModifiers as o, DatePickerTestIdModifiers as te } from "../../../testids/index.js";
|
|
18
18
|
import { dateRangeCommon as ae } from "../common/DateRange.common.js";
|
|
19
19
|
import p from "../../typography/v4/Typography.vue.js";
|
|
20
|
-
const de = ["id", "data-testid"], ne = ["data-testid"],
|
|
20
|
+
const de = ["id", "data-testid"], ne = ["data-testid"], se = ["id", "data-testid"], ie = {
|
|
21
21
|
key: 0,
|
|
22
22
|
class: "type-picker"
|
|
23
23
|
}, oe = ["onClick"], le = ["data-testid"], re = ["id"], ue = ["id"], ce = ["onClick"], me = { class: "dropdown-rightTriangle" }, pe = ["data-testid"], ye = { class: "date-picker-calendar left-box" }, ge = { class: "buttons-cover" }, fe = { class: "range" }, he = { class: "text-container" }, Oe = /* @__PURE__ */ J({
|
|
@@ -47,7 +47,7 @@ const de = ["id", "data-testid"], ne = ["data-testid"], ie = ["id", "data-testid
|
|
|
47
47
|
"opened",
|
|
48
48
|
"dismissed"
|
|
49
49
|
],
|
|
50
|
-
setup(t, { emit:
|
|
50
|
+
setup(t, { emit: R }) {
|
|
51
51
|
const A = t, {
|
|
52
52
|
datePicker: B,
|
|
53
53
|
datePickerId: M,
|
|
@@ -72,8 +72,8 @@ const de = ["id", "data-testid"], ne = ["data-testid"], ie = ["id", "data-testid
|
|
|
72
72
|
selectionChanged: j,
|
|
73
73
|
toggle: b,
|
|
74
74
|
isCompact: H
|
|
75
|
-
} = ae(A,
|
|
76
|
-
return (D, u) => (n(),
|
|
75
|
+
} = ae(A, R);
|
|
76
|
+
return (D, u) => (n(), s("div", {
|
|
77
77
|
id: e(M),
|
|
78
78
|
ref_key: "datePicker",
|
|
79
79
|
ref: B,
|
|
@@ -89,11 +89,10 @@ const de = ["id", "data-testid"], ne = ["data-testid"], ie = ["id", "data-testid
|
|
|
89
89
|
currentDate: e(w),
|
|
90
90
|
isOpen: e(h)
|
|
91
91
|
}, () => [
|
|
92
|
-
|
|
92
|
+
i(e(ee), {
|
|
93
93
|
label: e(w),
|
|
94
94
|
"start-icon-name": "calendar-blank",
|
|
95
95
|
variant: "outlined",
|
|
96
|
-
style: { marginRight: "10px" },
|
|
97
96
|
"test-id": `${t.testId}-${e(te).INPUT}`,
|
|
98
97
|
open: e(h)
|
|
99
98
|
}, null, 8, ["label", "test-id", "open"])
|
|
@@ -110,13 +109,13 @@ const de = ["id", "data-testid"], ne = ["data-testid"], ie = ["id", "data-testid
|
|
|
110
109
|
]]),
|
|
111
110
|
"data-testid": `${t.testId}-${e(o).CONTAINER}`
|
|
112
111
|
}, [
|
|
113
|
-
t.types.length > 1 ? (n(),
|
|
114
|
-
(n(!0),
|
|
112
|
+
t.types.length > 1 ? (n(), s("div", ie, [
|
|
113
|
+
(n(!0), s(k, null, C(t.types, (a) => (n(), s("span", {
|
|
115
114
|
key: a,
|
|
116
115
|
class: r(["range-type", { "selected-range-type": e(f) === a }]),
|
|
117
116
|
onClick: (c) => e(F)(a, !0)
|
|
118
117
|
}, [
|
|
119
|
-
|
|
118
|
+
i(e(p), { variant: "h1" }, {
|
|
120
119
|
default: l(() => [
|
|
121
120
|
m(g(e(Z)[a]), 1)
|
|
122
121
|
]),
|
|
@@ -127,7 +126,7 @@ const de = ["id", "data-testid"], ne = ["data-testid"], ie = ["id", "data-testid
|
|
|
127
126
|
d("div", {
|
|
128
127
|
class: r(["flex", { "pop-up-content": t.types.length > 1 }])
|
|
129
128
|
}, [
|
|
130
|
-
t.showPresets ? (n(),
|
|
129
|
+
t.showPresets ? (n(), s("div", {
|
|
131
130
|
key: 0,
|
|
132
131
|
class: "date-picker-menu",
|
|
133
132
|
"data-testid": `${t.testId}-${e(o).MENU}`
|
|
@@ -139,7 +138,7 @@ const de = ["id", "data-testid"], ne = ["data-testid"], ie = ["id", "data-testid
|
|
|
139
138
|
d("ul", {
|
|
140
139
|
id: "customDropDownList" + t.uniqueId
|
|
141
140
|
}, [
|
|
142
|
-
(n(!0),
|
|
141
|
+
(n(!0), s(k, null, C(e(z), (a) => (n(), s("li", {
|
|
143
142
|
key: a.id,
|
|
144
143
|
class: r({
|
|
145
144
|
"selected-preset-container": e(I) === a.id
|
|
@@ -149,7 +148,7 @@ const de = ["id", "data-testid"], ne = ["data-testid"], ie = ["id", "data-testid
|
|
|
149
148
|
class: r([{ "selected-preset": e(I) === a.id }, "preset-element"]),
|
|
150
149
|
onClick: (c) => e(G)(a)
|
|
151
150
|
}, [
|
|
152
|
-
|
|
151
|
+
i(e(p), {
|
|
153
152
|
variant: "body2",
|
|
154
153
|
"data-testid": `${t.testId}-${e(o).MENU}-${a.id}`
|
|
155
154
|
}, {
|
|
@@ -175,8 +174,8 @@ const de = ["id", "data-testid"], ne = ["data-testid"], ie = ["id", "data-testid
|
|
|
175
174
|
style: Q({ height: e(H) ? "336px" : "372px" })
|
|
176
175
|
}, [
|
|
177
176
|
d("div", ye, [
|
|
178
|
-
(n(!0),
|
|
179
|
-
|
|
177
|
+
(n(!0), s(k, null, C(e(T), (a, c) => (n(), s("div", { key: a }, [
|
|
178
|
+
i(X, {
|
|
180
179
|
id: t.uniqueId,
|
|
181
180
|
navigation: e(W)(
|
|
182
181
|
c === 0,
|
|
@@ -200,7 +199,7 @@ const de = ["id", "data-testid"], ne = ["data-testid"], ie = ["id", "data-testid
|
|
|
200
199
|
N(D.$slots, "footer", {}, void 0, !0)
|
|
201
200
|
]),
|
|
202
201
|
d("div", he, [
|
|
203
|
-
|
|
202
|
+
i(e(p), { variant: "body2" }, {
|
|
204
203
|
default: l(() => [
|
|
205
204
|
m("All dates are in UTC")
|
|
206
205
|
]),
|
|
@@ -211,7 +210,7 @@ const de = ["id", "data-testid"], ne = ["data-testid"], ie = ["id", "data-testid
|
|
|
211
210
|
[$, e(q)]
|
|
212
211
|
]),
|
|
213
212
|
u[1] || (x(-1), u[1] = d("div", { class: "buttons" }, [
|
|
214
|
-
|
|
213
|
+
i(e(E), {
|
|
215
214
|
id: "button-ok" + t.uniqueId,
|
|
216
215
|
size: "small",
|
|
217
216
|
class: "button",
|
|
@@ -220,7 +219,7 @@ const de = ["id", "data-testid"], ne = ["data-testid"], ie = ["id", "data-testid
|
|
|
220
219
|
onClick: (a) => e(K)()
|
|
221
220
|
}, {
|
|
222
221
|
default: l(() => [
|
|
223
|
-
|
|
222
|
+
i(e(p), { variant: "button" }, {
|
|
224
223
|
default: l(() => [
|
|
225
224
|
m("Apply")
|
|
226
225
|
]),
|
|
@@ -229,7 +228,7 @@ const de = ["id", "data-testid"], ne = ["data-testid"], ie = ["id", "data-testid
|
|
|
229
228
|
]),
|
|
230
229
|
_: 1
|
|
231
230
|
}, 8, ["id", "data-testid", "onClick"]),
|
|
232
|
-
|
|
231
|
+
i(e(E), {
|
|
233
232
|
id: "button-cancel" + t.uniqueId,
|
|
234
233
|
size: "small",
|
|
235
234
|
theme: "third",
|
|
@@ -240,7 +239,7 @@ const de = ["id", "data-testid"], ne = ["data-testid"], ie = ["id", "data-testid
|
|
|
240
239
|
onClick: (a) => e(b)()
|
|
241
240
|
}, {
|
|
242
241
|
default: l(() => [
|
|
243
|
-
|
|
242
|
+
i(e(p), { variant: "button" }, {
|
|
244
243
|
default: l(() => [
|
|
245
244
|
m(" Cancel ")
|
|
246
245
|
]),
|
|
@@ -254,7 +253,7 @@ const de = ["id", "data-testid"], ne = ["data-testid"], ie = ["id", "data-testid
|
|
|
254
253
|
])
|
|
255
254
|
], 4)
|
|
256
255
|
], 2)
|
|
257
|
-
], 10,
|
|
256
|
+
], 10, se), [
|
|
258
257
|
[$, e(h)]
|
|
259
258
|
])
|
|
260
259
|
], 10, de));
|
|
@@ -186,6 +186,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
186
186
|
skidding: number;
|
|
187
187
|
modelValue: any;
|
|
188
188
|
selected: any;
|
|
189
|
+
valueToCopy: string;
|
|
189
190
|
placeholder: string;
|
|
190
191
|
autoFocus: boolean;
|
|
191
192
|
multi: boolean;
|
|
@@ -197,7 +198,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
197
198
|
inlineSearch: boolean;
|
|
198
199
|
onSearch: (option: any, term: string) => boolean;
|
|
199
200
|
noResultsText: string;
|
|
200
|
-
valueToCopy: string;
|
|
201
201
|
helperText: string;
|
|
202
202
|
searchPlaceholder: string;
|
|
203
203
|
showButtonOnOpen: boolean;
|
|
@@ -22,6 +22,7 @@ declare const DropdownTypes: () => (({
|
|
|
22
22
|
skidding: number;
|
|
23
23
|
modelValue: any;
|
|
24
24
|
selected: any;
|
|
25
|
+
valueToCopy: string;
|
|
25
26
|
placeholder: string;
|
|
26
27
|
autoFocus: boolean;
|
|
27
28
|
multi: boolean;
|
|
@@ -33,7 +34,6 @@ declare const DropdownTypes: () => (({
|
|
|
33
34
|
inlineSearch: boolean;
|
|
34
35
|
onSearch: (option: any, term: string) => boolean;
|
|
35
36
|
noResultsText: string;
|
|
36
|
-
valueToCopy: string;
|
|
37
37
|
helperText: string;
|
|
38
38
|
searchPlaceholder: string;
|
|
39
39
|
showButtonOnOpen: boolean;
|
|
@@ -108,6 +108,10 @@ declare const DropdownTypes: () => (({
|
|
|
108
108
|
type: import("vue").PropType<unknown>;
|
|
109
109
|
default: any;
|
|
110
110
|
};
|
|
111
|
+
valueToCopy: {
|
|
112
|
+
type: import("vue").PropType<string>;
|
|
113
|
+
default: string;
|
|
114
|
+
};
|
|
111
115
|
options: {
|
|
112
116
|
type: import("vue").PropType<any[]>;
|
|
113
117
|
required: true;
|
|
@@ -163,10 +167,6 @@ declare const DropdownTypes: () => (({
|
|
|
163
167
|
type: import("vue").PropType<(option: unknown) => string>;
|
|
164
168
|
required: true;
|
|
165
169
|
};
|
|
166
|
-
valueToCopy: {
|
|
167
|
-
type: import("vue").PropType<string>;
|
|
168
|
-
default: string;
|
|
169
|
-
};
|
|
170
170
|
helperText: {
|
|
171
171
|
type: import("vue").PropType<string>;
|
|
172
172
|
default: string;
|
|
@@ -203,7 +203,7 @@ declare const DropdownTypes: () => (({
|
|
|
203
203
|
"onUpdate:isOpen"?: (value: unknown) => any;
|
|
204
204
|
onOpened?: () => any;
|
|
205
205
|
onClosed?: () => any;
|
|
206
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "title" | "theme" | "testId" | "placement" | "disabled" | "distance" | "container" | "popperClass" | "size" | "flip" | "mandatory" | "error" | "skidding" | "modelValue" | "selected" | "placeholder" | "autoFocus" | "multi" | "defaultOpen" | "keepOpen" | "autoSize" | "disableKeyboardEvents" | "isOnTop" | "inlineSearch" | "onSearch" | "noResultsText" | "
|
|
206
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "title" | "theme" | "testId" | "placement" | "disabled" | "distance" | "container" | "popperClass" | "size" | "flip" | "mandatory" | "error" | "skidding" | "modelValue" | "selected" | "valueToCopy" | "placeholder" | "autoFocus" | "multi" | "defaultOpen" | "keepOpen" | "autoSize" | "disableKeyboardEvents" | "isOnTop" | "inlineSearch" | "onSearch" | "noResultsText" | "helperText" | "searchPlaceholder" | "showButtonOnOpen" | "clearable" | "multiOptionsPlaceholderPrefix" | "multiOptionsPlaceholderSuffix" | "darkTheme">;
|
|
207
207
|
$attrs: {
|
|
208
208
|
[x: string]: unknown;
|
|
209
209
|
};
|
|
@@ -284,6 +284,10 @@ declare const DropdownTypes: () => (({
|
|
|
284
284
|
type: import("vue").PropType<unknown>;
|
|
285
285
|
default: any;
|
|
286
286
|
};
|
|
287
|
+
valueToCopy: {
|
|
288
|
+
type: import("vue").PropType<string>;
|
|
289
|
+
default: string;
|
|
290
|
+
};
|
|
287
291
|
options: {
|
|
288
292
|
type: import("vue").PropType<any[]>;
|
|
289
293
|
required: true;
|
|
@@ -339,10 +343,6 @@ declare const DropdownTypes: () => (({
|
|
|
339
343
|
type: import("vue").PropType<(option: unknown) => string>;
|
|
340
344
|
required: true;
|
|
341
345
|
};
|
|
342
|
-
valueToCopy: {
|
|
343
|
-
type: import("vue").PropType<string>;
|
|
344
|
-
default: string;
|
|
345
|
-
};
|
|
346
346
|
helperText: {
|
|
347
347
|
type: import("vue").PropType<string>;
|
|
348
348
|
default: string;
|
|
@@ -406,6 +406,7 @@ declare const DropdownTypes: () => (({
|
|
|
406
406
|
skidding: number;
|
|
407
407
|
modelValue: any;
|
|
408
408
|
selected: any;
|
|
409
|
+
valueToCopy: string;
|
|
409
410
|
placeholder: string;
|
|
410
411
|
autoFocus: boolean;
|
|
411
412
|
multi: boolean;
|
|
@@ -417,7 +418,6 @@ declare const DropdownTypes: () => (({
|
|
|
417
418
|
inlineSearch: boolean;
|
|
418
419
|
onSearch: (option: any, term: string) => boolean;
|
|
419
420
|
noResultsText: string;
|
|
420
|
-
valueToCopy: string;
|
|
421
421
|
helperText: string;
|
|
422
422
|
searchPlaceholder: string;
|
|
423
423
|
showButtonOnOpen: boolean;
|
|
@@ -512,6 +512,10 @@ declare const DropdownTypes: () => (({
|
|
|
512
512
|
type: import("vue").PropType<unknown>;
|
|
513
513
|
default: any;
|
|
514
514
|
};
|
|
515
|
+
valueToCopy: {
|
|
516
|
+
type: import("vue").PropType<string>;
|
|
517
|
+
default: string;
|
|
518
|
+
};
|
|
515
519
|
options: {
|
|
516
520
|
type: import("vue").PropType<any[]>;
|
|
517
521
|
required: true;
|
|
@@ -567,10 +571,6 @@ declare const DropdownTypes: () => (({
|
|
|
567
571
|
type: import("vue").PropType<(option: unknown) => string>;
|
|
568
572
|
required: true;
|
|
569
573
|
};
|
|
570
|
-
valueToCopy: {
|
|
571
|
-
type: import("vue").PropType<string>;
|
|
572
|
-
default: string;
|
|
573
|
-
};
|
|
574
574
|
helperText: {
|
|
575
575
|
type: import("vue").PropType<string>;
|
|
576
576
|
default: string;
|
|
@@ -681,6 +681,10 @@ declare const DropdownTypes: () => (({
|
|
|
681
681
|
type: import("vue").PropType<unknown>;
|
|
682
682
|
default: any;
|
|
683
683
|
};
|
|
684
|
+
valueToCopy: {
|
|
685
|
+
type: import("vue").PropType<string>;
|
|
686
|
+
default: string;
|
|
687
|
+
};
|
|
684
688
|
options: {
|
|
685
689
|
type: import("vue").PropType<any[]>;
|
|
686
690
|
required: true;
|
|
@@ -736,10 +740,6 @@ declare const DropdownTypes: () => (({
|
|
|
736
740
|
type: import("vue").PropType<(option: unknown) => string>;
|
|
737
741
|
required: true;
|
|
738
742
|
};
|
|
739
|
-
valueToCopy: {
|
|
740
|
-
type: import("vue").PropType<string>;
|
|
741
|
-
default: string;
|
|
742
|
-
};
|
|
743
743
|
helperText: {
|
|
744
744
|
type: import("vue").PropType<string>;
|
|
745
745
|
default: string;
|
|
@@ -803,6 +803,7 @@ declare const DropdownTypes: () => (({
|
|
|
803
803
|
skidding: number;
|
|
804
804
|
modelValue: any;
|
|
805
805
|
selected: any;
|
|
806
|
+
valueToCopy: string;
|
|
806
807
|
placeholder: string;
|
|
807
808
|
autoFocus: boolean;
|
|
808
809
|
multi: boolean;
|
|
@@ -814,7 +815,6 @@ declare const DropdownTypes: () => (({
|
|
|
814
815
|
inlineSearch: boolean;
|
|
815
816
|
onSearch: (option: any, term: string) => boolean;
|
|
816
817
|
noResultsText: string;
|
|
817
|
-
valueToCopy: string;
|
|
818
818
|
helperText: string;
|
|
819
819
|
searchPlaceholder: string;
|
|
820
820
|
showButtonOnOpen: boolean;
|
|
@@ -106,6 +106,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
106
106
|
open: boolean;
|
|
107
107
|
mandatory: boolean;
|
|
108
108
|
loading: boolean;
|
|
109
|
+
valueToCopy: string;
|
|
109
110
|
options: unknown[];
|
|
110
111
|
singleAppSelection: boolean;
|
|
111
112
|
placeholder: string;
|
|
@@ -116,7 +117,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
116
117
|
optionIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
117
118
|
optionEndIconKey: string;
|
|
118
119
|
optionEndIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
119
|
-
valueToCopy: string;
|
|
120
120
|
selectedOption: any;
|
|
121
121
|
brandIconType: "android" | "ios";
|
|
122
122
|
}>, {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./ButtonFilterDropdownTrigger.vue2.js";
|
|
2
2
|
/* empty css */import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../../ButtonFilterDropdownTrigger.
|
|
4
|
-
const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-
|
|
3
|
+
// import "../../../ButtonFilterDropdownTrigger.vue_vue_type_style_index_0_scoped_1aa6df01_lang.css"; //*');
|
|
4
|
+
const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-1aa6df01"]]);
|
|
5
5
|
export {
|
|
6
6
|
p as default
|
|
7
7
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "../../../ButtonFilterDropdownTrigger.
|
|
1
|
+
import "../../../ButtonFilterDropdownTrigger.vue_vue_type_style_index_0_scoped_1aa6df01_lang.css"; import { defineComponent as m, openBlock as o, createElementBlock as u, mergeProps as l, unref as t, createBlock as d, createCommentVNode as i, createVNode as f, withCtx as p, createTextVNode as I, toDisplayString as T } from "vue";
|
|
2
2
|
import y from "../../typography/v4/Typography.vue.js";
|
|
3
3
|
import s from "../../icon/v4/IconV4.vue.js";
|
|
4
4
|
import "../../icon/v4/IconFlag.vue.js";
|
|
5
5
|
import { useTestIdAttrs as N } from "../../../utils/testIds.js";
|
|
6
|
-
import { DropdownTestIdModifiers as
|
|
7
|
-
const
|
|
6
|
+
import { DropdownTestIdModifiers as n } from "../../../testids/index.js";
|
|
7
|
+
const h = /* @__PURE__ */ m({
|
|
8
8
|
__name: "ButtonFilterDropdownTrigger",
|
|
9
9
|
props: {
|
|
10
10
|
label: null,
|
|
@@ -18,10 +18,10 @@ const E = /* @__PURE__ */ m({
|
|
|
18
18
|
},
|
|
19
19
|
emits: ["click"],
|
|
20
20
|
setup(e, { emit: c }) {
|
|
21
|
-
const
|
|
21
|
+
const a = N(e.testId, n);
|
|
22
22
|
return (g, r) => (o(), u("div", l({
|
|
23
23
|
class: ["button-filter-dropdown-trigger", [e.variant, { disabled: e.disabled, open: e.open }]]
|
|
24
|
-
}, t(
|
|
24
|
+
}, t(a)[t(n).BUTTON], {
|
|
25
25
|
onClick: r[0] || (r[0] = (k) => c("click"))
|
|
26
26
|
}), [
|
|
27
27
|
e.startIconName ? (o(), d(t(s), {
|
|
@@ -31,7 +31,7 @@ const E = /* @__PURE__ */ m({
|
|
|
31
31
|
size: "16px",
|
|
32
32
|
class: "start-icon"
|
|
33
33
|
}, null, 8, ["name", "type"])) : i("", !0),
|
|
34
|
-
f(t(y), l({ variant: "
|
|
34
|
+
f(t(y), l({ variant: "button" }, t(a)[t(n).BUTTON_CONTENT]), {
|
|
35
35
|
default: p(() => [
|
|
36
36
|
I(T(e.label), 1)
|
|
37
37
|
]),
|
|
@@ -47,5 +47,5 @@ const E = /* @__PURE__ */ m({
|
|
|
47
47
|
}
|
|
48
48
|
});
|
|
49
49
|
export {
|
|
50
|
-
|
|
50
|
+
h as default
|
|
51
51
|
};
|