@ironsource/shared-ui 2.1.12-rc.3 → 2.1.12-rc.30
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/ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_adb49e50_lang.css +1 -0
- package/ButtonFilterDropdownTrigger.vue_vue_type_style_index_0_scoped_0198fee8_lang.css +1 -0
- package/ButtonV4.vue_vue_type_style_index_0_scoped_852be7ec_lang.css +1 -0
- package/Chart.vue_vue_type_style_index_0_scoped_fa533a3d_lang.css +1 -0
- package/ChartHeader.vue_vue_type_style_index_0_scoped_af520313_lang.css +1 -0
- package/ChartHeaderTrend.vue_vue_type_style_index_0_scoped_db8a902c_lang.css +1 -0
- package/ChartLegend.vue_vue_type_style_index_0_scoped_6103d8bd_lang.css +1 -0
- package/ChartPlane.vue_vue_type_style_index_0_scoped_4f67d41d_lang.css +1 -0
- package/ChartTooltip.vue_vue_type_style_index_0_scoped_3315b68f_lang.css +1 -0
- package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_38354f10_lang.css +1 -0
- package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_f5204c04_lang.css +1 -0
- package/DataGrid.vue_vue_type_style_index_0_scoped_8e8df067_lang.css +1 -0
- package/DateRangeV4.vue_vue_type_style_index_0_scoped_a849128a_lang.css +1 -0
- package/DialogV4.vue_vue_type_style_index_0_scoped_eb226e31_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_0_scoped_55dd36a7_lang.css +1 -0
- package/FieldLabel.vue_vue_type_style_index_0_scoped_921d4087_lang.css +1 -0
- package/FormRow.vue_vue_type_style_index_0_scoped_2d5a3057_lang.css +1 -0
- package/IconButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_99e51ecc_lang.css +1 -0
- package/Link.vue_vue_type_style_index_0_scoped_ad98fe7b_lang.css +1 -0
- package/OptionV4.vue_vue_type_style_index_0_scoped_0287cebf_lang.css +1 -0
- package/SettingsHeader.vue_vue_type_style_index_0_scoped_01f78cd7_lang.css +1 -0
- package/SubHeader.vue_vue_type_style_index_0_scoped_e6008b6c_lang.css +1 -0
- package/SwitchV4.vue_vue_type_style_index_0_scoped_cd6621a7_lang.css +1 -0
- package/ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_2076b5ab_lang.css +1 -0
- package/Tooltip.vue_vue_type_style_index_0_scoped_20630944_lang.css +1 -0
- package/TooltipHeader.vue_vue_type_style_index_0_scoped_3b15c693_lang.css +1 -0
- package/TooltipV4.vue_vue_type_style_index_0_scoped_bcb40ed4_lang.css +1 -0
- package/TreeDropdown.vue_vue_type_style_index_0_scoped_4ba9e4bd_lang.css +1 -0
- package/components/appIcon/index.d.ts +3 -3
- package/components/banner/Banner.vue.d.ts +3 -3
- package/components/banner/index.d.ts +7 -7
- package/components/button/common/consts.d.ts +1 -0
- package/components/button/v3/Button.vue.d.ts +3 -3
- package/components/button/v3/ButtonBase.vue.d.ts +3 -3
- package/components/button/v3/IconButton.vue.d.ts +3 -3
- package/components/button/v3/index.d.ts +14 -14
- package/components/button/v4/ButtonV4.vue.d.ts +5 -3
- package/components/button/v4/ButtonV4.vue.js +4 -4
- package/components/button/v4/ButtonV4.vue2.js +28 -27
- package/components/button/v4/ToggleButtonGroupAB.vue.js +3 -3
- package/components/button/v4/ToggleButtonGroupAB.vue2.js +40 -44
- package/components/chart/Chart.vue.d.ts +158 -37
- package/components/chart/Chart.vue.js +2 -2
- package/components/chart/Chart.vue2.js +150 -297
- package/components/chart/ChartHeader.vue.d.ts +50 -11
- package/components/chart/ChartHeader.vue.js +3 -3
- package/components/chart/ChartHeader.vue2.js +73 -54
- package/components/chart/ChartHeaderTrend.vue.d.ts +48 -0
- package/components/chart/ChartHeaderTrend.vue.js +7 -0
- package/components/chart/ChartHeaderTrend.vue2.js +96 -0
- package/components/chart/ChartLegend.vue.d.ts +24 -0
- package/components/chart/ChartLegend.vue.js +3 -3
- package/components/chart/ChartLegend.vue2.js +82 -63
- package/components/chart/ChartPlane.vue.d.ts +226 -0
- package/components/chart/ChartPlane.vue.js +7 -0
- package/components/chart/ChartPlane.vue2.js +370 -0
- package/components/chart/ChartStoryArgs.d.ts +184 -0
- package/components/chart/ChartTooltip.vue.d.ts +22 -2
- package/components/chart/ChartTooltip.vue.js +2 -2
- package/components/chart/ChartTooltip.vue2.js +50 -55
- package/components/chart/LegendSorting.vue.d.ts +37 -0
- package/components/chart/LegendSorting.vue.js +45 -0
- package/components/chart/LegendSorting.vue2.js +4 -0
- package/components/chart/SettingsHeader.vue.d.ts +1 -0
- package/components/chart/SettingsHeader.vue.js +3 -3
- package/components/chart/SettingsHeader.vue2.js +17 -16
- package/components/chart/SubHeader.vue.d.ts +52 -0
- package/components/chart/SubHeader.vue.js +7 -0
- package/components/chart/SubHeader.vue2.js +61 -0
- package/components/chart/TooltipHeader.vue.d.ts +50 -0
- package/components/chart/TooltipHeader.vue.js +7 -0
- package/components/chart/TooltipHeader.vue2.js +69 -0
- package/components/chart/colorPalette.d.ts +5 -0
- package/components/chart/colorPalette.js +68 -0
- package/components/chart/composables/useChartHeight.d.ts +5 -0
- package/components/chart/composables/useChartHeight.js +24 -0
- package/components/chart/composables/useColorsMap.d.ts +12 -0
- package/components/chart/composables/useColorsMap.js +48 -0
- package/components/chart/composables/useTooltipPosition.d.ts +1 -1
- package/components/chart/composables/useTooltipPosition.js +11 -15
- package/components/chart/consts.d.ts +29 -7
- package/components/chart/consts.js +41 -21
- package/components/chart/index.d.ts +554 -119
- package/components/chart/mockData.d.ts +44 -5
- package/components/chart/types.d.ts +38 -6
- package/components/chart/types.js +5 -2
- package/components/chart/utils/formatNumber.d.ts +0 -1
- package/components/chart/utils/highlightUtils.d.ts +3 -0
- package/components/chart/utils/highlightUtils.js +18 -0
- package/components/chart/utils/utils.d.ts +3 -3
- package/components/chart/utils/utils.js +19 -10
- package/components/checkbox/v3/Checkbox.vue.d.ts +3 -3
- package/components/checkbox/v3/index.d.ts +7 -7
- package/components/dateRange/common/DateRange.common.js +81 -75
- package/components/dateRange/common/DateServices.common.d.ts +7 -1
- package/components/dateRange/common/DateServices.common.js +88 -92
- package/components/dateRange/common/consts.common.d.ts +5 -0
- package/components/dateRange/common/consts.common.js +9 -3
- package/components/dateRange/v3/DateRange.vue.d.ts +3 -3
- package/components/dateRange/v3/DateRangePicker.vue.d.ts +3 -3
- package/components/dateRange/v3/index.d.ts +7 -7
- package/components/dateRange/v4/DateRangePickerV4.vue.d.ts +3 -3
- package/components/dateRange/v4/DateRangeV4.vue.d.ts +3 -3
- package/components/dateRange/v4/DateRangeV4.vue.js +2 -2
- package/components/dateRange/v4/DateRangeV4.vue2.js +1 -1
- package/components/dateRange/v4/index.d.ts +7 -7
- package/components/dialog/v4/DialogV4.vue.d.ts +4 -3
- package/components/dialog/v4/DialogV4.vue.js +4 -4
- package/components/dialog/v4/DialogV4.vue2.js +1 -1
- package/components/dialog/v4/index.d.ts +7 -7
- package/components/dropdown/common/Dropdown.common.d.ts +1 -0
- package/components/dropdown/common/Dropdown.common.js +172 -160
- package/components/dropdown/v3/Dropdown.vue.d.ts +1 -1
- package/components/dropdown/v3/index.d.ts +20 -20
- package/components/dropdown/v4/ButtonDropdownTrigger.vue.d.ts +1 -0
- package/components/dropdown/v4/ButtonDropdownTrigger.vue.js +3 -3
- package/components/dropdown/v4/ButtonDropdownTrigger.vue2.js +16 -13
- package/components/dropdown/v4/ButtonFilterDropdownTrigger.vue.js +2 -2
- package/components/dropdown/v4/ButtonFilterDropdownTrigger.vue2.js +1 -1
- package/components/dropdown/v4/ChipDropdownTrigger.vue.d.ts +5 -0
- package/components/dropdown/v4/ChipDropdownTrigger.vue.js +3 -3
- package/components/dropdown/v4/ChipDropdownTrigger.vue2.js +64 -54
- package/components/dropdown/v4/ConditionalDropdown.vue.d.ts +22 -9
- package/components/dropdown/v4/ConditionalDropdown.vue.js +4 -4
- package/components/dropdown/v4/ConditionalDropdown.vue2.js +151 -129
- package/components/dropdown/v4/DropdownV4.vue.d.ts +34 -1
- package/components/dropdown/v4/DropdownV4.vue.js +2 -2
- package/components/dropdown/v4/DropdownV4.vue2.js +241 -189
- package/components/dropdown/v4/IconButtonDropdownTrigger.vue.d.ts +11 -0
- package/components/dropdown/v4/IconButtonDropdownTrigger.vue.js +4 -4
- package/components/dropdown/v4/IconButtonDropdownTrigger.vue2.js +12 -10
- package/components/dropdown/v4/OptionV4.vue.d.ts +18 -5
- package/components/dropdown/v4/OptionV4.vue.js +2 -2
- package/components/dropdown/v4/OptionV4.vue2.js +140 -108
- package/components/dropdown/v4/TreeDropdown.vue.d.ts +1 -1
- package/components/dropdown/v4/TreeDropdown.vue.js +2 -2
- package/components/dropdown/v4/TreeDropdown.vue2.js +68 -73
- package/components/dropdown/v4/dropdownStoryArgs.d.ts +8 -0
- package/components/dropdown/v4/index.d.ts +682 -162
- package/components/emptyState/v4/EmptyStateV4.vue.d.ts +3 -3
- package/components/emptyState/v4/index.d.ts +7 -7
- package/components/forms/FormRow.vue.d.ts +9 -2
- package/components/forms/FormRow.vue.js +3 -3
- package/components/forms/FormRow.vue2.js +25 -14
- package/components/forms/index.d.ts +25 -5
- package/components/includeExclude/IncludeExclude.vue.d.ts +1 -1
- package/components/includeExclude/IncludeExcludeDragDrop.vue.d.ts +1 -1
- package/components/includeExclude/index.d.ts +40 -40
- package/components/link/Link.vue.d.ts +70 -0
- package/components/link/Link.vue.js +7 -0
- package/components/link/Link.vue2.js +43 -0
- package/components/link/index.d.ts +201 -0
- package/components/link/index.js +6 -0
- package/components/search/v3/index.d.ts +3 -3
- package/components/shared/FieldLabel.vue.d.ts +19 -7
- package/components/shared/FieldLabel.vue.js +3 -3
- package/components/shared/FieldLabel.vue2.js +50 -37
- package/components/switch/v4/SwitchV4.vue.d.ts +16 -0
- package/components/switch/v4/SwitchV4.vue.js +3 -3
- package/components/switch/v4/SwitchV4.vue2.js +39 -24
- package/components/switch/v4/index.d.ts +29 -0
- package/components/table/common/Table.common.d.ts +0 -1
- package/components/table/common/Table.common.js +38 -39
- package/components/table/common/Table.types.d.ts +2 -0
- package/components/table/common/consts.d.ts +1 -0
- package/components/table/common/consts.js +2 -1
- package/components/table/v4/DataGrid.vue.d.ts +15 -4
- package/components/table/v4/DataGrid.vue.js +4 -4
- package/components/table/v4/DataGrid.vue2.js +288 -230
- package/components/table/v4/MultipleDataGrid.vue.d.ts +3 -3
- package/components/table/v4/index.d.ts +50 -15
- package/components/table/v4/storyUtils.d.ts +2 -0
- package/components/tabs/v3/Tabs.vue.d.ts +3 -3
- package/components/tabs/v3/index.d.ts +7 -7
- package/components/tooltip/common/Tooltip.types.d.ts +1 -0
- package/components/tooltip/v3/Tooltip.vue.d.ts +4 -4
- package/components/tooltip/v3/Tooltip.vue.js +2 -2
- package/components/tooltip/v3/Tooltip.vue2.js +1 -1
- package/components/tooltip/v3/index.d.ts +7 -7
- package/components/tooltip/v4/TooltipV4.vue.d.ts +4 -4
- package/components/tooltip/v4/TooltipV4.vue.js +2 -2
- package/components/tooltip/v4/TooltipV4.vue2.js +1 -1
- package/components/tooltip/v4/index.d.ts +7 -7
- package/components/typography/Text.vue.d.ts +3 -3
- package/components/typography/index.d.ts +7 -7
- package/composables/useDateService.d.ts +7 -0
- package/composables/useDateService.js +10 -0
- package/composables/useFormValidation.d.ts +1 -0
- package/composables/useFormValidation.js +32 -27
- package/composables/useFullPageHeight.d.ts +10 -0
- package/composables/useFullPageHeight.js +15 -0
- package/consts/common.d.ts +1 -0
- package/consts/common.js +4 -0
- package/consts/regex.d.ts +1 -0
- package/consts/regex.js +2 -1
- package/index.d.ts +1601 -425
- package/index.js +148 -136
- package/mocks/apps.d.ts +1 -0
- package/mocks/optionsWithIcons.d.ts +2 -0
- package/package.json +9 -1
- package/testids/index.d.ts +4 -0
- package/testids/index.js +31 -30
- package/utils/formatNumbers.d.ts +1 -1
- package/utils/formatNumbers.js +19 -6
- package/utils/index.js +7 -0
- package/utils/text.d.ts +3 -0
- package/utils/text.js +24 -5
- package/utils/totals.d.ts +5 -0
- package/utils/totals.js +9 -0
- package/utils/utils.d.ts +1 -0
- package/utils/utils.js +4 -0
- package/ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_604dfc6f_lang.css +0 -1
- package/ButtonFilterDropdownTrigger.vue_vue_type_style_index_0_scoped_ea1c4589_lang.css +0 -1
- package/ButtonV4.vue_vue_type_style_index_0_scoped_bdfce3aa_lang.css +0 -1
- package/Chart.vue_vue_type_style_index_0_scoped_a641383a_lang.css +0 -1
- package/ChartHeader.vue_vue_type_style_index_0_scoped_b8213498_lang.css +0 -1
- package/ChartLegend.vue_vue_type_style_index_0_scoped_4fe1c7d1_lang.css +0 -1
- package/ChartTooltip.vue_vue_type_style_index_0_scoped_6744325c_lang.css +0 -1
- package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_e43ac1c9_lang.css +0 -1
- package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_3a2aeea3_lang.css +0 -1
- package/DataGrid.vue_vue_type_style_index_0_scoped_6b54ac22_lang.css +0 -1
- package/DateRangeV4.vue_vue_type_style_index_0_scoped_8a2714eb_lang.css +0 -1
- package/DialogV4.vue_vue_type_style_index_0_scoped_37da643b_lang.css +0 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_d154c5da_lang.css +0 -1
- package/FieldLabel.vue_vue_type_style_index_0_scoped_96ee1c98_lang.css +0 -1
- package/FormRow.vue_vue_type_style_index_0_scoped_fc3897fd_lang.css +0 -1
- package/IconButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_59fb505a_lang.css +0 -1
- package/OptionV4.vue_vue_type_style_index_0_scoped_1e8837dc_lang.css +0 -1
- package/SettingsHeader.vue_vue_type_style_index_0_scoped_9b6cd9d9_lang.css +0 -1
- package/SwitchV4.vue_vue_type_style_index_0_scoped_c2e356f5_lang.css +0 -1
- package/ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_c81a7d3e_lang.css +0 -1
- package/Tooltip.vue_vue_type_style_index_0_scoped_9020a179_lang.css +0 -1
- package/TooltipV4.vue_vue_type_style_index_0_scoped_66eab856_lang.css +0 -1
- package/TreeDropdown.vue_vue_type_style_index_0_scoped_b883d1fa_lang.css +0 -1
- package/components/chart/composables/useChartValues.d.ts +0 -12
- package/components/chart/composables/useChartValues.js +0 -32
- package/components/chart/utils/formatNumber.js +0 -11
|
@@ -1,13 +1,24 @@
|
|
|
1
|
+
import { IconTypes } from '@is-ssp/icon/v4/Icon.types';
|
|
1
2
|
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
iconName?: string;
|
|
4
|
+
iconType?: IconTypes;
|
|
2
5
|
testId?: string;
|
|
3
6
|
}>, {
|
|
7
|
+
iconName: string;
|
|
8
|
+
iconType: string;
|
|
4
9
|
testId: string;
|
|
5
10
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
11
|
+
iconName?: string;
|
|
12
|
+
iconType?: IconTypes;
|
|
6
13
|
testId?: string;
|
|
7
14
|
}>, {
|
|
15
|
+
iconName: string;
|
|
16
|
+
iconType: string;
|
|
8
17
|
testId: string;
|
|
9
18
|
}>>>, {
|
|
10
19
|
testId: string;
|
|
20
|
+
iconName: string;
|
|
21
|
+
iconType: IconTypes;
|
|
11
22
|
}>;
|
|
12
23
|
export default _default;
|
|
13
24
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./IconButtonDropdownTrigger.vue2.js";
|
|
2
|
-
/* empty css */import
|
|
3
|
-
// import "../../../IconButtonDropdownTrigger.
|
|
4
|
-
const
|
|
2
|
+
/* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../../IconButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_99e51ecc_lang.css"; //*');
|
|
4
|
+
const _ = /* @__PURE__ */ e(o, [["__scopeId", "data-v-99e51ecc"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
_ as default
|
|
7
7
|
};
|
|
@@ -1,21 +1,23 @@
|
|
|
1
|
-
import "../../../IconButtonDropdownTrigger.
|
|
1
|
+
import "../../../IconButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_99e51ecc_lang.css"; import { defineComponent as t, openBlock as n, createBlock as r, unref as c, mergeProps as m } from "vue";
|
|
2
2
|
import "../../button/v4/ButtonV4.vue.js";
|
|
3
|
-
import
|
|
3
|
+
import p from "../../button/v4/IconButtonV4.vue.js";
|
|
4
4
|
import "../../button/v4/ButtonGroup.vue.js";
|
|
5
5
|
import "../../button/v4/ToggleButtonGroupAB.vue.js";
|
|
6
|
-
const
|
|
6
|
+
const y = /* @__PURE__ */ t({
|
|
7
7
|
__name: "IconButtonDropdownTrigger",
|
|
8
8
|
props: {
|
|
9
|
+
iconName: { default: "dots-three" },
|
|
10
|
+
iconType: { default: "bold" },
|
|
9
11
|
testId: { default: "" }
|
|
10
12
|
},
|
|
11
|
-
setup(
|
|
12
|
-
const
|
|
13
|
-
return (
|
|
14
|
-
"icon-name":
|
|
15
|
-
type:
|
|
16
|
-
},
|
|
13
|
+
setup(e) {
|
|
14
|
+
const o = e;
|
|
15
|
+
return (i, a) => (n(), r(c(p), m({
|
|
16
|
+
"icon-name": e.iconName,
|
|
17
|
+
type: e.iconType
|
|
18
|
+
}, o), null, 16, ["icon-name", "type"]));
|
|
17
19
|
}
|
|
18
20
|
});
|
|
19
21
|
export {
|
|
20
|
-
|
|
22
|
+
y as default
|
|
21
23
|
};
|
|
@@ -9,11 +9,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
9
9
|
nameKey?: string;
|
|
10
10
|
imageKey?: string;
|
|
11
11
|
iconKey?: string;
|
|
12
|
+
warningKey?: string;
|
|
12
13
|
iconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
13
14
|
endIconKey?: string;
|
|
14
15
|
endIconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
15
16
|
endTextIconKey?: string;
|
|
16
|
-
|
|
17
|
+
tooltipPlacement?: "top" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end";
|
|
17
18
|
treeMainOption?: boolean;
|
|
18
19
|
treeMainOptionExpanded?: boolean;
|
|
19
20
|
stopOptionClickEventPropagation?: boolean;
|
|
@@ -22,6 +23,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
22
23
|
treeChildShown?: boolean;
|
|
23
24
|
optionFlagKey?: string;
|
|
24
25
|
isMulti?: boolean;
|
|
26
|
+
minMaxSelectionTooltipMessage?: string;
|
|
25
27
|
}>, {
|
|
26
28
|
subtitle: string;
|
|
27
29
|
disabled: boolean;
|
|
@@ -32,11 +34,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
32
34
|
nameKey: any;
|
|
33
35
|
imageKey: any;
|
|
34
36
|
iconKey: any;
|
|
37
|
+
warningKey: any;
|
|
35
38
|
iconType: string;
|
|
36
39
|
endIconKey: any;
|
|
37
40
|
endIconType: string;
|
|
38
41
|
endTextIconKey: any;
|
|
39
|
-
|
|
42
|
+
tooltipPlacement: string;
|
|
40
43
|
treeMainOption: boolean;
|
|
41
44
|
treeMainOptionExpanded: boolean;
|
|
42
45
|
stopOptionClickEventPropagation: boolean;
|
|
@@ -45,6 +48,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
45
48
|
treeChildShown: boolean;
|
|
46
49
|
optionFlagKey: any;
|
|
47
50
|
isMulti: boolean;
|
|
51
|
+
minMaxSelectionTooltipMessage: any;
|
|
48
52
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
49
53
|
toggleTreeCollapse: (option: unknown) => void;
|
|
50
54
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
@@ -58,11 +62,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
58
62
|
nameKey?: string;
|
|
59
63
|
imageKey?: string;
|
|
60
64
|
iconKey?: string;
|
|
65
|
+
warningKey?: string;
|
|
61
66
|
iconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
62
67
|
endIconKey?: string;
|
|
63
68
|
endIconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
64
69
|
endTextIconKey?: string;
|
|
65
|
-
|
|
70
|
+
tooltipPlacement?: "top" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end";
|
|
66
71
|
treeMainOption?: boolean;
|
|
67
72
|
treeMainOptionExpanded?: boolean;
|
|
68
73
|
stopOptionClickEventPropagation?: boolean;
|
|
@@ -71,6 +76,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
71
76
|
treeChildShown?: boolean;
|
|
72
77
|
optionFlagKey?: string;
|
|
73
78
|
isMulti?: boolean;
|
|
79
|
+
minMaxSelectionTooltipMessage?: string;
|
|
74
80
|
}>, {
|
|
75
81
|
subtitle: string;
|
|
76
82
|
disabled: boolean;
|
|
@@ -81,11 +87,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
81
87
|
nameKey: any;
|
|
82
88
|
imageKey: any;
|
|
83
89
|
iconKey: any;
|
|
90
|
+
warningKey: any;
|
|
84
91
|
iconType: string;
|
|
85
92
|
endIconKey: any;
|
|
86
93
|
endIconType: string;
|
|
87
94
|
endTextIconKey: any;
|
|
88
|
-
|
|
95
|
+
tooltipPlacement: string;
|
|
89
96
|
treeMainOption: boolean;
|
|
90
97
|
treeMainOptionExpanded: boolean;
|
|
91
98
|
stopOptionClickEventPropagation: boolean;
|
|
@@ -94,10 +101,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
94
101
|
treeChildShown: boolean;
|
|
95
102
|
optionFlagKey: any;
|
|
96
103
|
isMulti: boolean;
|
|
104
|
+
minMaxSelectionTooltipMessage: any;
|
|
97
105
|
}>>> & {
|
|
98
106
|
onToggleTreeCollapse?: (option: unknown) => any;
|
|
99
107
|
}, {
|
|
100
108
|
option: any;
|
|
109
|
+
tooltipPlacement: "top" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end";
|
|
101
110
|
disabled: boolean;
|
|
102
111
|
active: boolean;
|
|
103
112
|
endIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
@@ -110,21 +119,25 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
110
119
|
nameKey: string;
|
|
111
120
|
imageKey: string;
|
|
112
121
|
iconKey: string;
|
|
122
|
+
warningKey: string;
|
|
113
123
|
iconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
114
124
|
endIconKey: string;
|
|
115
125
|
endTextIconKey: string;
|
|
116
|
-
toolTipPlacement: "top" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end";
|
|
117
126
|
treeMainOption: boolean;
|
|
118
127
|
treeMainOptionExpanded: boolean;
|
|
119
128
|
stopOptionClickEventPropagation: boolean;
|
|
120
129
|
treeChildShown: boolean;
|
|
121
130
|
isMulti: boolean;
|
|
131
|
+
minMaxSelectionTooltipMessage: string;
|
|
122
132
|
}>, {
|
|
123
133
|
image?(_: {}): any;
|
|
124
134
|
flag?(_: {}): any;
|
|
125
135
|
"icon-start"?(_: {}): any;
|
|
126
136
|
default?(_: {}): any;
|
|
127
137
|
"icon-end"?(_: {}): any;
|
|
138
|
+
"option-end"?(_: {
|
|
139
|
+
option: any;
|
|
140
|
+
}): any;
|
|
128
141
|
}>;
|
|
129
142
|
export default _default;
|
|
130
143
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./OptionV4.vue2.js";
|
|
2
2
|
/* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../../OptionV4.
|
|
4
|
-
const s = /* @__PURE__ */ e(o, [["__scopeId", "data-v-
|
|
3
|
+
// import "../../../OptionV4.vue_vue_type_style_index_0_scoped_0287cebf_lang.css"; //*');
|
|
4
|
+
const s = /* @__PURE__ */ e(o, [["__scopeId", "data-v-0287cebf"]]);
|
|
5
5
|
export {
|
|
6
6
|
s as default
|
|
7
7
|
};
|
|
@@ -1,40 +1,43 @@
|
|
|
1
|
-
import "../../../OptionV4.
|
|
1
|
+
import "../../../OptionV4.vue_vue_type_style_index_0_scoped_0287cebf_lang.css"; import { defineComponent as A, ref as w, watch as F, computed as L, openBlock as i, createBlock as g, unref as n, createSlots as N, withCtx as d, createElementVNode as u, normalizeClass as v, createCommentVNode as o, createElementBlock as l, renderSlot as r, createVNode as s, toDisplayString as m, createTextVNode as T, withModifiers as C, Fragment as j, renderList as R } from "vue";
|
|
2
2
|
import "../../typography/Heading.vue.js";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import { NOOP as
|
|
8
|
-
import { optionCommon as
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import { isElementTruncated as
|
|
12
|
-
import { promiseTimeout as
|
|
13
|
-
const
|
|
3
|
+
import D from "../../typography/Text.vue.js";
|
|
4
|
+
import q from "../../checkbox/v4/CheckboxV4.vue.js";
|
|
5
|
+
import y from "../../icon/v4/IconV4.vue.js";
|
|
6
|
+
import G from "../../icon/v4/IconFlag.vue.js";
|
|
7
|
+
import { NOOP as I } from "@vue/shared";
|
|
8
|
+
import { optionCommon as H } from "../common/Option.common.js";
|
|
9
|
+
import p from "../../typography/v4/Typography.vue.js";
|
|
10
|
+
import O from "../../tooltip/v4/TooltipV4.vue.js";
|
|
11
|
+
import { isElementTruncated as J } from "../../../utils/text.js";
|
|
12
|
+
import { promiseTimeout as Q } from "@vueuse/core";
|
|
13
|
+
const U = { class: "multiline-tooltip" }, W = {
|
|
14
14
|
key: 1,
|
|
15
15
|
class: "image"
|
|
16
|
-
},
|
|
16
|
+
}, X = ["src"], Y = {
|
|
17
17
|
key: 2,
|
|
18
18
|
class: "flag"
|
|
19
|
-
},
|
|
19
|
+
}, Z = {
|
|
20
20
|
key: 3,
|
|
21
21
|
class: "start-icon"
|
|
22
|
-
},
|
|
22
|
+
}, _ = {
|
|
23
23
|
key: 0,
|
|
24
24
|
class: "main-text"
|
|
25
|
-
},
|
|
25
|
+
}, ee = {
|
|
26
26
|
key: 1,
|
|
27
27
|
class: "main-text"
|
|
28
|
-
},
|
|
28
|
+
}, te = {
|
|
29
29
|
key: 2,
|
|
30
30
|
class: "end-text-icon"
|
|
31
|
-
},
|
|
31
|
+
}, ne = {
|
|
32
32
|
key: 3,
|
|
33
33
|
class: "caption-text"
|
|
34
|
-
},
|
|
34
|
+
}, ie = {
|
|
35
35
|
key: 4,
|
|
36
36
|
class: "end-icon"
|
|
37
|
-
}, oe =
|
|
37
|
+
}, oe = {
|
|
38
|
+
key: 5,
|
|
39
|
+
class: "option-warning"
|
|
40
|
+
}, le = ["onClick"], ae = { key: 0 }, ve = /* @__PURE__ */ A({
|
|
38
41
|
__name: "OptionV4",
|
|
39
42
|
props: {
|
|
40
43
|
option: { default: null },
|
|
@@ -47,11 +50,12 @@ const Q = { class: "multiline-tooltip" }, U = {
|
|
|
47
50
|
nameKey: { default: null },
|
|
48
51
|
imageKey: { default: null },
|
|
49
52
|
iconKey: { default: null },
|
|
53
|
+
warningKey: { default: null },
|
|
50
54
|
iconType: { default: "regular" },
|
|
51
55
|
endIconKey: { default: null },
|
|
52
56
|
endIconType: { default: "regular" },
|
|
53
57
|
endTextIconKey: { default: null },
|
|
54
|
-
|
|
58
|
+
tooltipPlacement: { default: "right" },
|
|
55
59
|
treeMainOption: { type: Boolean, default: !1 },
|
|
56
60
|
treeMainOptionExpanded: { type: Boolean, default: !1 },
|
|
57
61
|
stopOptionClickEventPropagation: { type: Boolean, default: !1 },
|
|
@@ -59,187 +63,215 @@ const Q = { class: "multiline-tooltip" }, U = {
|
|
|
59
63
|
optionTwoLinesKey: { default: void 0 },
|
|
60
64
|
treeChildShown: { type: Boolean, default: !1 },
|
|
61
65
|
optionFlagKey: { default: null },
|
|
62
|
-
isMulti: { type: Boolean, default: !1 }
|
|
66
|
+
isMulti: { type: Boolean, default: !1 },
|
|
67
|
+
minMaxSelectionTooltipMessage: { default: null }
|
|
63
68
|
},
|
|
64
69
|
emits: ["toggleTreeCollapse"],
|
|
65
|
-
setup(e, { emit:
|
|
66
|
-
const
|
|
67
|
-
|
|
68
|
-
},
|
|
69
|
-
|
|
70
|
-
|
|
70
|
+
setup(e, { emit: $ }) {
|
|
71
|
+
const a = e, { selected: x, id: M, onClick: B, api: b } = H(a), S = (t) => {
|
|
72
|
+
a.stopOptionClickEventPropagation && t.stopPropagation(), a.disabled ? I() : B(t);
|
|
73
|
+
}, k = w(null), h = w(!1), z = (t) => {
|
|
74
|
+
a.disabled && (t.stopPropagation(), I());
|
|
75
|
+
};
|
|
76
|
+
F([() => a.treeChildShown, k], async () => {
|
|
77
|
+
await Q(100), h.value = k.value && J(k.value);
|
|
71
78
|
});
|
|
72
|
-
const
|
|
73
|
-
|
|
79
|
+
const E = (t) => t && typeof t == "object" && "optionTooltipText" in t ? (Array.isArray(t.optionTooltipText), t.optionTooltipText) : h.value ? t[a.nameKey] : "", K = L(() => {
|
|
80
|
+
const t = a.disabled && a.minMaxSelectionTooltipMessage || "", c = E(a.option);
|
|
81
|
+
return c ? t ? `${c}. ${t}` : c : t;
|
|
82
|
+
}), P = (t) => t && typeof t == "object" && "optionTooltipTestId" in t ? t.optionTooltipTestId : null, V = () => {
|
|
83
|
+
$("toggleTreeCollapse", a.option);
|
|
74
84
|
};
|
|
75
|
-
return (t,
|
|
76
|
-
text: n(
|
|
77
|
-
"test-id":
|
|
78
|
-
placement: e.
|
|
85
|
+
return (t, c) => (i(), g(n(O), {
|
|
86
|
+
text: n(K),
|
|
87
|
+
"test-id": P(e.option),
|
|
88
|
+
placement: e.tooltipPlacement,
|
|
79
89
|
class: "tooltip-option"
|
|
80
|
-
},
|
|
81
|
-
default:
|
|
82
|
-
|
|
90
|
+
}, N({
|
|
91
|
+
default: d(() => [
|
|
92
|
+
u("div", {
|
|
83
93
|
ref: "el",
|
|
84
94
|
class: v(["item-container", {
|
|
85
95
|
"item-container--disabled": e.disabled,
|
|
86
96
|
"item-container--active": e.nameKey ? !1 : e.active,
|
|
87
|
-
"item-container--selected": n(
|
|
97
|
+
"item-container--selected": n(x),
|
|
88
98
|
"item-container--multi": e.isMulti
|
|
89
|
-
}])
|
|
99
|
+
}]),
|
|
100
|
+
onClick: z
|
|
90
101
|
}, [
|
|
91
|
-
|
|
102
|
+
u("div", {
|
|
92
103
|
class: v(["item", {
|
|
93
104
|
"item--multi": e.isMulti,
|
|
94
105
|
"item--with-icon": t.$slots["icon-start"] || t.$slots.image
|
|
95
106
|
}])
|
|
96
107
|
}, [
|
|
97
|
-
e.isMulti || e.selectAllOption ? (
|
|
108
|
+
e.isMulti || e.selectAllOption ? (i(), g(n(q), {
|
|
98
109
|
key: 0,
|
|
99
|
-
id: n(
|
|
110
|
+
id: n(M).toString(),
|
|
111
|
+
disabled: a.disabled,
|
|
100
112
|
tabindex: "-1",
|
|
101
113
|
class: "checkbox",
|
|
102
|
-
"is-checked": n(
|
|
114
|
+
"is-checked": n(x),
|
|
103
115
|
"is-indeterminate": e.isIndeterminate,
|
|
104
|
-
onClick:
|
|
105
|
-
}, null, 8, ["id", "is-checked", "is-indeterminate"])) :
|
|
106
|
-
!e.option?.conditionalOptions && (t.$slots.image || e.imageKey) ? (
|
|
107
|
-
|
|
108
|
-
e.imageKey ? (
|
|
116
|
+
onClick: c[0] || (c[0] = (f) => S(f))
|
|
117
|
+
}, null, 8, ["id", "disabled", "is-checked", "is-indeterminate"])) : o("", !0),
|
|
118
|
+
!e.option?.conditionalOptions && (t.$slots.image || e.imageKey) ? (i(), l("div", W, [
|
|
119
|
+
r(t.$slots, "image", {}, () => [
|
|
120
|
+
e.imageKey ? (i(), l("img", {
|
|
109
121
|
key: 0,
|
|
110
122
|
src: e.option[e.imageKey]
|
|
111
|
-
}, null, 8,
|
|
123
|
+
}, null, 8, X)) : o("", !0)
|
|
112
124
|
], !0)
|
|
113
|
-
])) :
|
|
114
|
-
!e.option?.conditionalOptions && (t.$slots.flag || e.optionFlagKey) ? (
|
|
115
|
-
|
|
116
|
-
e.optionFlagKey ? (
|
|
125
|
+
])) : o("", !0),
|
|
126
|
+
!e.option?.conditionalOptions && (t.$slots.flag || e.optionFlagKey) ? (i(), l("div", Y, [
|
|
127
|
+
r(t.$slots, "flag", {}, () => [
|
|
128
|
+
e.optionFlagKey ? (i(), g(n(G), {
|
|
117
129
|
key: 0,
|
|
118
130
|
"country-code": e.option[e.optionFlagKey]
|
|
119
|
-
}, null, 8, ["country-code"])) :
|
|
131
|
+
}, null, 8, ["country-code"])) : o("", !0)
|
|
120
132
|
], !0)
|
|
121
|
-
])) :
|
|
122
|
-
!e.option?.conditionalOptions && (t.$slots["icon-start"] || e.iconKey) ? (
|
|
123
|
-
|
|
124
|
-
|
|
133
|
+
])) : o("", !0),
|
|
134
|
+
!e.option?.conditionalOptions && (t.$slots["icon-start"] || e.iconKey) ? (i(), l("div", Z, [
|
|
135
|
+
r(t.$slots, "icon-start", {}, () => [
|
|
136
|
+
s(n(y), {
|
|
125
137
|
type: e.iconType,
|
|
126
138
|
name: e.option[e.iconKey],
|
|
139
|
+
color: e.option.disabled ? "var(--text-disabled)" : null,
|
|
127
140
|
size: e.iconType === "regular" ? "20px" : "16px"
|
|
128
|
-
}, null, 8, ["type", "name", "size"])
|
|
141
|
+
}, null, 8, ["type", "name", "color", "size"])
|
|
129
142
|
], !0)
|
|
130
|
-
])) :
|
|
131
|
-
|
|
143
|
+
])) : o("", !0),
|
|
144
|
+
u("div", {
|
|
132
145
|
ref_key: "textContainerRef",
|
|
133
|
-
ref:
|
|
146
|
+
ref: k,
|
|
134
147
|
class: "text-container"
|
|
135
148
|
}, [
|
|
136
|
-
|
|
149
|
+
s(n(p), {
|
|
137
150
|
class: "option-text",
|
|
138
151
|
variant: "body2"
|
|
139
152
|
}, {
|
|
140
|
-
default:
|
|
141
|
-
|
|
142
|
-
|
|
153
|
+
default: d(() => [
|
|
154
|
+
r(t.$slots, "default", {}, () => [
|
|
155
|
+
u("div", {
|
|
143
156
|
class: v(`option-content-${e.optionTwoLinesVariant} option-content`)
|
|
144
157
|
}, [
|
|
145
|
-
e.option?.conditionalOptions ? (
|
|
146
|
-
|
|
158
|
+
e.option?.conditionalOptions ? (i(), l("div", ee, [
|
|
159
|
+
s(n(p), {
|
|
147
160
|
variant: "body2",
|
|
148
161
|
class: "conditional-option-label"
|
|
149
162
|
}, {
|
|
150
|
-
default:
|
|
151
|
-
|
|
163
|
+
default: d(() => [
|
|
164
|
+
T(m(e.option.conditionalName) + ": ", 1)
|
|
152
165
|
]),
|
|
153
166
|
_: 1
|
|
154
167
|
}),
|
|
155
|
-
|
|
168
|
+
s(n(p), {
|
|
156
169
|
variant: "h5",
|
|
157
170
|
class: "conditional-option-value"
|
|
158
171
|
}, {
|
|
159
|
-
default:
|
|
160
|
-
|
|
172
|
+
default: d(() => [
|
|
173
|
+
T('"' + m(e.option[e.nameKey]) + '"', 1)
|
|
161
174
|
]),
|
|
162
175
|
_: 1
|
|
163
176
|
})
|
|
164
|
-
])) : (
|
|
165
|
-
e.endTextIconKey && e.option[e.endTextIconKey] ? (
|
|
166
|
-
|
|
177
|
+
])) : (i(), l("div", _, m(e.option[e.nameKey]), 1)),
|
|
178
|
+
e.endTextIconKey && e.option[e.endTextIconKey] ? (i(), l("span", te, [
|
|
179
|
+
s(n(y), {
|
|
167
180
|
type: "regular",
|
|
168
181
|
name: e.option[e.endTextIconKey],
|
|
169
182
|
size: "16px"
|
|
170
183
|
}, null, 8, ["name"])
|
|
171
|
-
])) :
|
|
172
|
-
e.optionTwoLinesKey ? (
|
|
173
|
-
|
|
174
|
-
default:
|
|
175
|
-
|
|
184
|
+
])) : o("", !0),
|
|
185
|
+
e.optionTwoLinesKey ? (i(), l("div", ne, [
|
|
186
|
+
s(n(p), { variant: "caption" }, {
|
|
187
|
+
default: d(() => [
|
|
188
|
+
T(m(e.option[e.optionTwoLinesKey]), 1)
|
|
176
189
|
]),
|
|
177
190
|
_: 1
|
|
178
191
|
})
|
|
179
|
-
])) :
|
|
192
|
+
])) : o("", !0)
|
|
180
193
|
], 2)
|
|
181
194
|
], !0)
|
|
182
195
|
]),
|
|
183
196
|
_: 3
|
|
184
197
|
}),
|
|
185
|
-
e.subtitle ? (
|
|
198
|
+
e.subtitle ? (i(), g(n(D), {
|
|
186
199
|
key: 0,
|
|
187
200
|
class: "subtitle",
|
|
188
201
|
size: "xs"
|
|
189
202
|
}, {
|
|
190
|
-
default:
|
|
191
|
-
|
|
203
|
+
default: d(() => [
|
|
204
|
+
T(m(e.subtitle), 1)
|
|
192
205
|
]),
|
|
193
206
|
_: 1
|
|
194
|
-
})) :
|
|
207
|
+
})) : o("", !0)
|
|
195
208
|
], 512),
|
|
196
|
-
t.$slots["icon-end"] || e.endIconKey && e.option[e.endIconKey] ? (
|
|
197
|
-
|
|
198
|
-
|
|
209
|
+
t.$slots["icon-end"] || e.endIconKey && e.option[e.endIconKey] ? (i(), l("div", ie, [
|
|
210
|
+
r(t.$slots, "icon-end", {}, () => [
|
|
211
|
+
s(n(y), {
|
|
199
212
|
type: e.endIconType || "regular",
|
|
200
213
|
name: e.option[e.endIconKey],
|
|
201
214
|
size: e.endIconType === "regular" || e.endIconType === "ab-test" ? "20px" : "16px"
|
|
202
215
|
}, null, 8, ["type", "name", "size"])
|
|
203
216
|
], !0)
|
|
204
|
-
])) :
|
|
205
|
-
e.
|
|
206
|
-
|
|
217
|
+
])) : o("", !0),
|
|
218
|
+
e.warningKey && e.option?.[e.warningKey] ? (i(), l("div", oe, [
|
|
219
|
+
s(n(O), {
|
|
220
|
+
text: e.option[e.warningKey],
|
|
221
|
+
placement: "top"
|
|
222
|
+
}, {
|
|
223
|
+
default: d(() => [
|
|
224
|
+
s(n(y), {
|
|
225
|
+
class: "option-warning__icon",
|
|
226
|
+
name: "warning-circle",
|
|
227
|
+
size: "16px"
|
|
228
|
+
})
|
|
229
|
+
]),
|
|
230
|
+
_: 1
|
|
231
|
+
}, 8, ["text"])
|
|
232
|
+
])) : o("", !0),
|
|
233
|
+
t.$slots["option-end"] ? r(t.$slots, "option-end", {
|
|
234
|
+
key: 6,
|
|
235
|
+
option: e.option
|
|
236
|
+
}, void 0, !0) : o("", !0),
|
|
237
|
+
e.treeMainOption ? (i(), l("div", {
|
|
238
|
+
key: 7,
|
|
207
239
|
class: "tree-main-arrow-wrapper",
|
|
208
|
-
onClick:
|
|
240
|
+
onClick: C(V, ["stop"])
|
|
209
241
|
}, [
|
|
210
|
-
|
|
242
|
+
s(n(y), {
|
|
211
243
|
name: "caret-down",
|
|
212
244
|
size: "16px",
|
|
213
245
|
class: v(`app-trigger--icon ${e.treeMainOptionExpanded && "expanded"}`)
|
|
214
246
|
}, null, 8, ["class"])
|
|
215
|
-
], 8,
|
|
247
|
+
], 8, le)) : o("", !0)
|
|
216
248
|
], 2),
|
|
217
|
-
n(
|
|
218
|
-
|
|
249
|
+
n(b).clearable && n(x) ? (i(), l("div", ae, [
|
|
250
|
+
u("button", {
|
|
219
251
|
class: "clear-button",
|
|
220
|
-
onClick:
|
|
252
|
+
onClick: c[1] || (c[1] = C((f) => n(b).clearSelection(), ["prevent", "stop"]))
|
|
221
253
|
}, [
|
|
222
|
-
|
|
254
|
+
s(n(y), {
|
|
223
255
|
name: "close",
|
|
224
256
|
width: "8",
|
|
225
257
|
height: "8"
|
|
226
258
|
})
|
|
227
259
|
])
|
|
228
|
-
])) :
|
|
260
|
+
])) : o("", !0)
|
|
229
261
|
], 2)
|
|
230
262
|
]),
|
|
231
263
|
_: 2
|
|
232
264
|
}, [
|
|
233
|
-
Array.isArray(n(
|
|
265
|
+
Array.isArray(n(K)) ? {
|
|
234
266
|
name: "tooltip",
|
|
235
|
-
fn:
|
|
236
|
-
|
|
237
|
-
(
|
|
238
|
-
key:
|
|
267
|
+
fn: d(() => [
|
|
268
|
+
u("div", U, [
|
|
269
|
+
(i(!0), l(j, null, R(n(K), (f) => (i(), g(n(p), {
|
|
270
|
+
key: f,
|
|
239
271
|
variant: "body2"
|
|
240
272
|
}, {
|
|
241
|
-
default:
|
|
242
|
-
|
|
273
|
+
default: d(() => [
|
|
274
|
+
T(m(f), 1)
|
|
243
275
|
]),
|
|
244
276
|
_: 2
|
|
245
277
|
}, 1024))), 128))
|
|
@@ -251,5 +283,5 @@ const Q = { class: "multiline-tooltip" }, U = {
|
|
|
251
283
|
}
|
|
252
284
|
});
|
|
253
285
|
export {
|
|
254
|
-
|
|
286
|
+
ve as default
|
|
255
287
|
};
|
|
@@ -84,8 +84,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
84
84
|
testId: string;
|
|
85
85
|
disabled: boolean;
|
|
86
86
|
size: "small" | "medium" | "large";
|
|
87
|
-
selected: unknown[];
|
|
88
87
|
valueToCopy: string;
|
|
88
|
+
selected: unknown[];
|
|
89
89
|
placeholder: string;
|
|
90
90
|
inlineSearchPlaceholder: string;
|
|
91
91
|
optionNameKey: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./TreeDropdown.vue2.js";
|
|
2
2
|
/* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../../TreeDropdown.
|
|
4
|
-
const s = /* @__PURE__ */ e(o, [["__scopeId", "data-v-
|
|
3
|
+
// import "../../../TreeDropdown.vue_vue_type_style_index_0_scoped_4ba9e4bd_lang.css"; //*');
|
|
4
|
+
const s = /* @__PURE__ */ e(o, [["__scopeId", "data-v-4ba9e4bd"]]);
|
|
5
5
|
export {
|
|
6
6
|
s as default
|
|
7
7
|
};
|