@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
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
href?: string;
|
|
3
|
+
disabled?: boolean;
|
|
4
|
+
color?: "default" | "primary";
|
|
5
|
+
variant?: "button" | "body1" | "body2" | "subtitle1" | "subtitle2";
|
|
6
|
+
iconName?: string;
|
|
7
|
+
iconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
8
|
+
testId?: string;
|
|
9
|
+
}>, {
|
|
10
|
+
href: any;
|
|
11
|
+
disabled: boolean;
|
|
12
|
+
color: string;
|
|
13
|
+
variant: string;
|
|
14
|
+
iconName: any;
|
|
15
|
+
iconType: string;
|
|
16
|
+
testId: string;
|
|
17
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
18
|
+
click: () => void;
|
|
19
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
20
|
+
href?: string;
|
|
21
|
+
disabled?: boolean;
|
|
22
|
+
color?: "default" | "primary";
|
|
23
|
+
variant?: "button" | "body1" | "body2" | "subtitle1" | "subtitle2";
|
|
24
|
+
iconName?: string;
|
|
25
|
+
iconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
26
|
+
testId?: string;
|
|
27
|
+
}>, {
|
|
28
|
+
href: any;
|
|
29
|
+
disabled: boolean;
|
|
30
|
+
color: string;
|
|
31
|
+
variant: string;
|
|
32
|
+
iconName: any;
|
|
33
|
+
iconType: string;
|
|
34
|
+
testId: string;
|
|
35
|
+
}>>> & {
|
|
36
|
+
onClick?: () => any;
|
|
37
|
+
}, {
|
|
38
|
+
testId: string;
|
|
39
|
+
variant: "button" | "body1" | "body2" | "subtitle1" | "subtitle2";
|
|
40
|
+
disabled: boolean;
|
|
41
|
+
color: "default" | "primary";
|
|
42
|
+
href: string;
|
|
43
|
+
iconName: string;
|
|
44
|
+
iconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
45
|
+
}>, {
|
|
46
|
+
default?(_: {}): any;
|
|
47
|
+
}>;
|
|
48
|
+
export default _default;
|
|
49
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
50
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
51
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
52
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
53
|
+
} : {
|
|
54
|
+
type: import('vue').PropType<T[K]>;
|
|
55
|
+
required: true;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
type __VLS_WithDefaults<P, D> = {
|
|
59
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
60
|
+
default: D[K];
|
|
61
|
+
}> : P[K];
|
|
62
|
+
};
|
|
63
|
+
type __VLS_Prettify<T> = {
|
|
64
|
+
[K in keyof T]: T[K];
|
|
65
|
+
} & {};
|
|
66
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
67
|
+
new (): {
|
|
68
|
+
$slots: S;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import o from "./Link.vue2.js";
|
|
2
|
+
/* empty css */import e from "../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../Link.vue_vue_type_style_index_0_scoped_ad98fe7b_lang.css"; //*');
|
|
4
|
+
const p = /* @__PURE__ */ e(o, [["__scopeId", "data-v-ad98fe7b"]]);
|
|
5
|
+
export {
|
|
6
|
+
p as default
|
|
7
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import "../../Link.vue_vue_type_style_index_0_scoped_ad98fe7b_lang.css"; import { defineComponent as f, openBlock as i, createBlock as r, unref as t, mergeProps as l, withCtx as m, renderSlot as u, createCommentVNode as p } from "vue";
|
|
2
|
+
import k from "../typography/v4/Typography.vue.js";
|
|
3
|
+
import y from "../icon/v4/IconV4.vue.js";
|
|
4
|
+
import "../icon/v4/IconFlag.vue.js";
|
|
5
|
+
import { useTestIdAttrs as I } from "../../utils/testIds.js";
|
|
6
|
+
import { LinkTestIdModifiers as a } from "../../testids/index.js";
|
|
7
|
+
const w = /* @__PURE__ */ f({
|
|
8
|
+
__name: "Link",
|
|
9
|
+
props: {
|
|
10
|
+
href: { default: null },
|
|
11
|
+
disabled: { type: Boolean, default: !1 },
|
|
12
|
+
color: { default: "primary" },
|
|
13
|
+
variant: { default: "body1" },
|
|
14
|
+
iconName: { default: null },
|
|
15
|
+
iconType: { default: "regular" },
|
|
16
|
+
testId: { default: "" }
|
|
17
|
+
},
|
|
18
|
+
emits: ["click"],
|
|
19
|
+
setup(e, { emit: d }) {
|
|
20
|
+
const o = e, c = () => {
|
|
21
|
+
o.disabled || (o.href && window.open(o.href), d("click"));
|
|
22
|
+
}, n = I(o.testId, a);
|
|
23
|
+
return (s, h) => (i(), r(t(k), l({
|
|
24
|
+
class: ["link", [`link--${e.color}`, { "link--disabled": e.disabled }]],
|
|
25
|
+
variant: e.variant
|
|
26
|
+
}, t(n)[t(a).WRAPPER], { onClick: c }), {
|
|
27
|
+
default: m(() => [
|
|
28
|
+
u(s.$slots, "default", {}, void 0, !0),
|
|
29
|
+
e.iconName ? (i(), r(t(y), l({
|
|
30
|
+
key: 0,
|
|
31
|
+
name: e.iconName,
|
|
32
|
+
type: e.iconType,
|
|
33
|
+
size: "16px",
|
|
34
|
+
class: "icon"
|
|
35
|
+
}, t(n)[t(a).ICON]), null, 16, ["name", "type"])) : p("", !0)
|
|
36
|
+
]),
|
|
37
|
+
_: 3
|
|
38
|
+
}, 16, ["class", "variant"]));
|
|
39
|
+
}
|
|
40
|
+
});
|
|
41
|
+
export {
|
|
42
|
+
w as default
|
|
43
|
+
};
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
declare const LinkTypes: () => ({
|
|
2
|
+
new (...args: any[]): {
|
|
3
|
+
$: import("vue").ComponentInternalInstance;
|
|
4
|
+
$data: {};
|
|
5
|
+
$props: Partial<{
|
|
6
|
+
testId: string;
|
|
7
|
+
variant: "button" | "body1" | "body2" | "subtitle1" | "subtitle2";
|
|
8
|
+
disabled: boolean;
|
|
9
|
+
color: "default" | "primary";
|
|
10
|
+
href: string;
|
|
11
|
+
iconName: string;
|
|
12
|
+
iconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
13
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
14
|
+
testId: {
|
|
15
|
+
type: import("vue").PropType<string>;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
variant: {
|
|
19
|
+
type: import("vue").PropType<"button" | "body1" | "body2" | "subtitle1" | "subtitle2">;
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
disabled: {
|
|
23
|
+
type: import("vue").PropType<boolean>;
|
|
24
|
+
default: boolean;
|
|
25
|
+
};
|
|
26
|
+
color: {
|
|
27
|
+
type: import("vue").PropType<"default" | "primary">;
|
|
28
|
+
default: string;
|
|
29
|
+
};
|
|
30
|
+
href: {
|
|
31
|
+
type: import("vue").PropType<string>;
|
|
32
|
+
default: any;
|
|
33
|
+
};
|
|
34
|
+
iconName: {
|
|
35
|
+
type: import("vue").PropType<string>;
|
|
36
|
+
default: any;
|
|
37
|
+
};
|
|
38
|
+
iconType: {
|
|
39
|
+
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate">;
|
|
40
|
+
default: string;
|
|
41
|
+
};
|
|
42
|
+
}>> & {
|
|
43
|
+
onClick?: () => any;
|
|
44
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "testId" | "variant" | "disabled" | "color" | "href" | "iconName" | "iconType">;
|
|
45
|
+
$attrs: {
|
|
46
|
+
[x: string]: unknown;
|
|
47
|
+
};
|
|
48
|
+
$refs: {
|
|
49
|
+
[x: string]: unknown;
|
|
50
|
+
};
|
|
51
|
+
$slots: Readonly<{
|
|
52
|
+
[name: string]: import("vue").Slot;
|
|
53
|
+
}>;
|
|
54
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
|
|
55
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
|
|
56
|
+
$emit: (event: "click") => void;
|
|
57
|
+
$el: any;
|
|
58
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
59
|
+
testId: {
|
|
60
|
+
type: import("vue").PropType<string>;
|
|
61
|
+
default: string;
|
|
62
|
+
};
|
|
63
|
+
variant: {
|
|
64
|
+
type: import("vue").PropType<"button" | "body1" | "body2" | "subtitle1" | "subtitle2">;
|
|
65
|
+
default: string;
|
|
66
|
+
};
|
|
67
|
+
disabled: {
|
|
68
|
+
type: import("vue").PropType<boolean>;
|
|
69
|
+
default: boolean;
|
|
70
|
+
};
|
|
71
|
+
color: {
|
|
72
|
+
type: import("vue").PropType<"default" | "primary">;
|
|
73
|
+
default: string;
|
|
74
|
+
};
|
|
75
|
+
href: {
|
|
76
|
+
type: import("vue").PropType<string>;
|
|
77
|
+
default: any;
|
|
78
|
+
};
|
|
79
|
+
iconName: {
|
|
80
|
+
type: import("vue").PropType<string>;
|
|
81
|
+
default: any;
|
|
82
|
+
};
|
|
83
|
+
iconType: {
|
|
84
|
+
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate">;
|
|
85
|
+
default: string;
|
|
86
|
+
};
|
|
87
|
+
}>> & {
|
|
88
|
+
onClick?: () => any;
|
|
89
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
90
|
+
click: () => void;
|
|
91
|
+
}, string, {
|
|
92
|
+
testId: string;
|
|
93
|
+
variant: "button" | "body1" | "body2" | "subtitle1" | "subtitle2";
|
|
94
|
+
disabled: boolean;
|
|
95
|
+
color: "default" | "primary";
|
|
96
|
+
href: string;
|
|
97
|
+
iconName: string;
|
|
98
|
+
iconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
99
|
+
}, {}, string> & {
|
|
100
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
101
|
+
created?: (() => void) | (() => void)[];
|
|
102
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
103
|
+
mounted?: (() => void) | (() => void)[];
|
|
104
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
105
|
+
updated?: (() => void) | (() => void)[];
|
|
106
|
+
activated?: (() => void) | (() => void)[];
|
|
107
|
+
deactivated?: (() => void) | (() => void)[];
|
|
108
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
109
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
110
|
+
destroyed?: (() => void) | (() => void)[];
|
|
111
|
+
unmounted?: (() => void) | (() => void)[];
|
|
112
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
113
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
114
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void)[];
|
|
115
|
+
};
|
|
116
|
+
$forceUpdate: () => void;
|
|
117
|
+
$nextTick: typeof import("vue").nextTick;
|
|
118
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
|
119
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
|
120
|
+
testId: {
|
|
121
|
+
type: import("vue").PropType<string>;
|
|
122
|
+
default: string;
|
|
123
|
+
};
|
|
124
|
+
variant: {
|
|
125
|
+
type: import("vue").PropType<"button" | "body1" | "body2" | "subtitle1" | "subtitle2">;
|
|
126
|
+
default: string;
|
|
127
|
+
};
|
|
128
|
+
disabled: {
|
|
129
|
+
type: import("vue").PropType<boolean>;
|
|
130
|
+
default: boolean;
|
|
131
|
+
};
|
|
132
|
+
color: {
|
|
133
|
+
type: import("vue").PropType<"default" | "primary">;
|
|
134
|
+
default: string;
|
|
135
|
+
};
|
|
136
|
+
href: {
|
|
137
|
+
type: import("vue").PropType<string>;
|
|
138
|
+
default: any;
|
|
139
|
+
};
|
|
140
|
+
iconName: {
|
|
141
|
+
type: import("vue").PropType<string>;
|
|
142
|
+
default: any;
|
|
143
|
+
};
|
|
144
|
+
iconType: {
|
|
145
|
+
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate">;
|
|
146
|
+
default: string;
|
|
147
|
+
};
|
|
148
|
+
}>> & {
|
|
149
|
+
onClick?: () => any;
|
|
150
|
+
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
151
|
+
__isFragment?: never;
|
|
152
|
+
__isTeleport?: never;
|
|
153
|
+
__isSuspense?: never;
|
|
154
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
155
|
+
testId: {
|
|
156
|
+
type: import("vue").PropType<string>;
|
|
157
|
+
default: string;
|
|
158
|
+
};
|
|
159
|
+
variant: {
|
|
160
|
+
type: import("vue").PropType<"button" | "body1" | "body2" | "subtitle1" | "subtitle2">;
|
|
161
|
+
default: string;
|
|
162
|
+
};
|
|
163
|
+
disabled: {
|
|
164
|
+
type: import("vue").PropType<boolean>;
|
|
165
|
+
default: boolean;
|
|
166
|
+
};
|
|
167
|
+
color: {
|
|
168
|
+
type: import("vue").PropType<"default" | "primary">;
|
|
169
|
+
default: string;
|
|
170
|
+
};
|
|
171
|
+
href: {
|
|
172
|
+
type: import("vue").PropType<string>;
|
|
173
|
+
default: any;
|
|
174
|
+
};
|
|
175
|
+
iconName: {
|
|
176
|
+
type: import("vue").PropType<string>;
|
|
177
|
+
default: any;
|
|
178
|
+
};
|
|
179
|
+
iconType: {
|
|
180
|
+
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate">;
|
|
181
|
+
default: string;
|
|
182
|
+
};
|
|
183
|
+
}>> & {
|
|
184
|
+
onClick?: () => any;
|
|
185
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
186
|
+
click: () => void;
|
|
187
|
+
}, string, {
|
|
188
|
+
testId: string;
|
|
189
|
+
variant: "button" | "body1" | "body2" | "subtitle1" | "subtitle2";
|
|
190
|
+
disabled: boolean;
|
|
191
|
+
color: "default" | "primary";
|
|
192
|
+
href: string;
|
|
193
|
+
iconName: string;
|
|
194
|
+
iconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
195
|
+
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
196
|
+
$slots: {
|
|
197
|
+
default?(_: {}): any;
|
|
198
|
+
};
|
|
199
|
+
}))[];
|
|
200
|
+
export { default as Link } from './Link.vue';
|
|
201
|
+
export { LinkTypes };
|
|
@@ -12,7 +12,7 @@ declare const SearchTypes: () => import("vue").DefineComponent<{
|
|
|
12
12
|
default: boolean;
|
|
13
13
|
};
|
|
14
14
|
size: {
|
|
15
|
-
type: import("vue").PropType<"
|
|
15
|
+
type: import("vue").PropType<"md" | "sm">;
|
|
16
16
|
default: string;
|
|
17
17
|
};
|
|
18
18
|
modelValue: {
|
|
@@ -41,7 +41,7 @@ declare const SearchTypes: () => import("vue").DefineComponent<{
|
|
|
41
41
|
default: boolean;
|
|
42
42
|
};
|
|
43
43
|
size: {
|
|
44
|
-
type: import("vue").PropType<"
|
|
44
|
+
type: import("vue").PropType<"md" | "sm">;
|
|
45
45
|
default: string;
|
|
46
46
|
};
|
|
47
47
|
modelValue: {
|
|
@@ -58,7 +58,7 @@ declare const SearchTypes: () => import("vue").DefineComponent<{
|
|
|
58
58
|
testId: string;
|
|
59
59
|
variant: "default" | "transparent" | "inline-table";
|
|
60
60
|
disabled: boolean;
|
|
61
|
-
size: "
|
|
61
|
+
size: "md" | "sm";
|
|
62
62
|
}>[];
|
|
63
63
|
export { default as Search } from './Search.vue';
|
|
64
64
|
export { SearchTypes };
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
1
|
+
import { TooltipTriggers } from '@/components/tooltip/common/Tooltip.types';
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
3
|
label: string;
|
|
4
4
|
description?: string;
|
|
5
5
|
mandatory?: boolean;
|
|
6
6
|
disabled?: boolean;
|
|
7
7
|
hoverHelpText?: string;
|
|
8
|
-
hoverHelpTextPlacement?:
|
|
8
|
+
hoverHelpTextPlacement?: "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";
|
|
9
|
+
helpTextIconTooltipTrigger?: TooltipTriggers[];
|
|
9
10
|
testId?: string;
|
|
10
11
|
}>, {
|
|
11
12
|
label: string;
|
|
@@ -13,15 +14,17 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
13
14
|
testId: string;
|
|
14
15
|
mandatory: boolean;
|
|
15
16
|
disabled: boolean;
|
|
16
|
-
hoverHelpText:
|
|
17
|
+
hoverHelpText: any;
|
|
17
18
|
hoverHelpTextPlacement: string;
|
|
19
|
+
helpTextIconTooltipTrigger: () => string[];
|
|
18
20
|
}>, {}, 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<{
|
|
19
21
|
label: string;
|
|
20
22
|
description?: string;
|
|
21
23
|
mandatory?: boolean;
|
|
22
24
|
disabled?: boolean;
|
|
23
25
|
hoverHelpText?: string;
|
|
24
|
-
hoverHelpTextPlacement?:
|
|
26
|
+
hoverHelpTextPlacement?: "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";
|
|
27
|
+
helpTextIconTooltipTrigger?: TooltipTriggers[];
|
|
25
28
|
testId?: string;
|
|
26
29
|
}>, {
|
|
27
30
|
label: string;
|
|
@@ -29,8 +32,9 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
29
32
|
testId: string;
|
|
30
33
|
mandatory: boolean;
|
|
31
34
|
disabled: boolean;
|
|
32
|
-
hoverHelpText:
|
|
35
|
+
hoverHelpText: any;
|
|
33
36
|
hoverHelpTextPlacement: string;
|
|
37
|
+
helpTextIconTooltipTrigger: () => string[];
|
|
34
38
|
}>>>, {
|
|
35
39
|
label: string;
|
|
36
40
|
testId: string;
|
|
@@ -38,7 +42,10 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
38
42
|
mandatory: boolean;
|
|
39
43
|
description: string;
|
|
40
44
|
hoverHelpText: string;
|
|
41
|
-
hoverHelpTextPlacement:
|
|
45
|
+
hoverHelpTextPlacement: "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";
|
|
46
|
+
helpTextIconTooltipTrigger: TooltipTriggers[];
|
|
47
|
+
}>, {
|
|
48
|
+
"icon-tooltip-content"?(_: {}): any;
|
|
42
49
|
}>;
|
|
43
50
|
export default _default;
|
|
44
51
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -58,3 +65,8 @@ type __VLS_WithDefaults<P, D> = {
|
|
|
58
65
|
type __VLS_Prettify<T> = {
|
|
59
66
|
[K in keyof T]: T[K];
|
|
60
67
|
} & {};
|
|
68
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
69
|
+
new (): {
|
|
70
|
+
$slots: S;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import e from "./FieldLabel.vue2.js";
|
|
2
2
|
/* empty css */import o from "../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../FieldLabel.
|
|
4
|
-
const
|
|
3
|
+
// import "../../FieldLabel.vue_vue_type_style_index_0_scoped_921d4087_lang.css"; //*');
|
|
4
|
+
const d = /* @__PURE__ */ o(e, [["__scopeId", "data-v-921d4087"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
d as default
|
|
7
7
|
};
|
|
@@ -1,79 +1,92 @@
|
|
|
1
|
-
import "../../FieldLabel.
|
|
2
|
-
import
|
|
1
|
+
import "../../FieldLabel.vue_vue_type_style_index_0_scoped_921d4087_lang.css"; import { defineComponent as I, useSlots as y, computed as s, openBlock as i, createElementBlock as p, Fragment as k, createElementVNode as N, mergeProps as n, unref as e, createVNode as d, withCtx as l, createTextVNode as c, toDisplayString as T, createBlock as h, createCommentVNode as m, createSlots as C, normalizeClass as A, renderSlot as B } from "vue";
|
|
2
|
+
import H from "../icon/v4/IconV4.vue.js";
|
|
3
3
|
import "../icon/v4/IconFlag.vue.js";
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import { FieldLabelTestIdModifiers as
|
|
7
|
-
import { useTestIdAttrs as
|
|
8
|
-
const
|
|
4
|
+
import S from "../tooltip/v4/TooltipV4.vue.js";
|
|
5
|
+
import f from "../typography/v4/Typography.vue.js";
|
|
6
|
+
import { FieldLabelTestIdModifiers as o } from "../../testids/index.js";
|
|
7
|
+
import { useTestIdAttrs as E } from "../../utils/testIds.js";
|
|
8
|
+
const L = {
|
|
9
9
|
key: 0,
|
|
10
10
|
class: "description"
|
|
11
|
-
},
|
|
11
|
+
}, R = /* @__PURE__ */ I({
|
|
12
12
|
__name: "FieldLabel",
|
|
13
13
|
props: {
|
|
14
14
|
label: { default: "" },
|
|
15
15
|
description: { default: "" },
|
|
16
16
|
mandatory: { type: Boolean, default: !1 },
|
|
17
17
|
disabled: { type: Boolean, default: !1 },
|
|
18
|
-
hoverHelpText: { default:
|
|
18
|
+
hoverHelpText: { default: null },
|
|
19
19
|
hoverHelpTextPlacement: { default: "top" },
|
|
20
|
+
helpTextIconTooltipTrigger: { default: () => ["hover"] },
|
|
20
21
|
testId: { default: "" }
|
|
21
22
|
},
|
|
22
23
|
setup(t) {
|
|
23
|
-
const
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
const r = t, b = y(), a = E(r.testId, o), u = s(() => !!b["icon-tooltip-content"]), g = s(
|
|
25
|
+
() => r.helpTextIconTooltipTrigger.includes("click")
|
|
26
|
+
), v = s(
|
|
27
|
+
() => !!r.hoverHelpText || u.value
|
|
28
|
+
);
|
|
29
|
+
return (x, O) => (i(), p(k, null, [
|
|
30
|
+
N("div", n({
|
|
26
31
|
class: ["field-label", {
|
|
27
32
|
"field-label--disabled": t.disabled,
|
|
28
33
|
"field-label--with-description": !!t.description
|
|
29
34
|
}]
|
|
30
|
-
}, e(
|
|
31
|
-
|
|
35
|
+
}, e(a)[e(o).CONTAINER]), [
|
|
36
|
+
d(e(f), n({
|
|
32
37
|
class: "label",
|
|
33
38
|
variant: "inputLabel"
|
|
34
|
-
}, e(
|
|
35
|
-
default:
|
|
36
|
-
|
|
39
|
+
}, e(a)[e(o).TEXT]), {
|
|
40
|
+
default: l(() => [
|
|
41
|
+
c(T(t.label), 1)
|
|
37
42
|
]),
|
|
38
43
|
_: 1
|
|
39
44
|
}, 16),
|
|
40
|
-
t.mandatory ? (
|
|
45
|
+
t.mandatory ? (i(), h(e(f), n({
|
|
41
46
|
key: 0,
|
|
42
47
|
variant: "h3",
|
|
43
48
|
class: "mandatory"
|
|
44
|
-
}, e(
|
|
45
|
-
default:
|
|
46
|
-
|
|
49
|
+
}, e(a)[e(o).MANDATORY]), {
|
|
50
|
+
default: l(() => [
|
|
51
|
+
c("*")
|
|
47
52
|
]),
|
|
48
53
|
_: 1
|
|
49
|
-
}, 16)) :
|
|
50
|
-
|
|
54
|
+
}, 16)) : m("", !0),
|
|
55
|
+
e(v) ? (i(), h(e(S), n({
|
|
51
56
|
key: 1,
|
|
52
|
-
triggers:
|
|
57
|
+
triggers: t.helpTextIconTooltipTrigger,
|
|
53
58
|
text: t.hoverHelpText,
|
|
54
59
|
placement: t.hoverHelpTextPlacement
|
|
55
|
-
}, e(
|
|
56
|
-
default:
|
|
57
|
-
|
|
58
|
-
class: "info-icon",
|
|
60
|
+
}, e(a)[e(o).TOOLTIP], { "test-id": t.testId }), C({
|
|
61
|
+
default: l(() => [
|
|
62
|
+
d(e(H), {
|
|
63
|
+
class: A(["info-icon", { "clickable-icon": e(g) }]),
|
|
59
64
|
name: "question",
|
|
60
65
|
size: "16px"
|
|
61
|
-
})
|
|
66
|
+
}, null, 8, ["class"])
|
|
62
67
|
]),
|
|
63
|
-
_:
|
|
64
|
-
},
|
|
68
|
+
_: 2
|
|
69
|
+
}, [
|
|
70
|
+
e(u) ? {
|
|
71
|
+
name: "tooltip",
|
|
72
|
+
fn: l(() => [
|
|
73
|
+
B(x.$slots, "icon-tooltip-content", {}, void 0, !0)
|
|
74
|
+
]),
|
|
75
|
+
key: "0"
|
|
76
|
+
} : void 0
|
|
77
|
+
]), 1040, ["triggers", "text", "placement", "test-id"])) : m("", !0)
|
|
65
78
|
], 16),
|
|
66
|
-
t.description ? (
|
|
67
|
-
|
|
68
|
-
default:
|
|
69
|
-
|
|
79
|
+
t.description ? (i(), p("div", L, [
|
|
80
|
+
d(e(f), { variant: "body2" }, {
|
|
81
|
+
default: l(() => [
|
|
82
|
+
c(T(t.description), 1)
|
|
70
83
|
]),
|
|
71
84
|
_: 1
|
|
72
85
|
})
|
|
73
|
-
])) :
|
|
86
|
+
])) : m("", !0)
|
|
74
87
|
], 64));
|
|
75
88
|
}
|
|
76
89
|
});
|
|
77
90
|
export {
|
|
78
|
-
|
|
91
|
+
R as default
|
|
79
92
|
};
|
|
@@ -1,26 +1,42 @@
|
|
|
1
|
+
import { TooltipPositions } from '@/components/tooltip/common/Tooltip.types';
|
|
1
2
|
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
3
|
options: unknown[];
|
|
3
4
|
modelValue: unknown;
|
|
5
|
+
variant: 'primary' | 'default';
|
|
4
6
|
testId?: string;
|
|
5
7
|
iconKey?: string;
|
|
8
|
+
tooltipTextKey?: string;
|
|
9
|
+
tooltipPlacement?: TooltipPositions;
|
|
6
10
|
}>, {
|
|
7
11
|
testId: string;
|
|
12
|
+
variant: string;
|
|
8
13
|
iconKey: string;
|
|
14
|
+
tooltipTextKey: string;
|
|
15
|
+
tooltipPlacement: string;
|
|
9
16
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
17
|
"update:modelValue": (...args: any[]) => void;
|
|
11
18
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
12
19
|
options: unknown[];
|
|
13
20
|
modelValue: unknown;
|
|
21
|
+
variant: 'primary' | 'default';
|
|
14
22
|
testId?: string;
|
|
15
23
|
iconKey?: string;
|
|
24
|
+
tooltipTextKey?: string;
|
|
25
|
+
tooltipPlacement?: TooltipPositions;
|
|
16
26
|
}>, {
|
|
17
27
|
testId: string;
|
|
28
|
+
variant: string;
|
|
18
29
|
iconKey: string;
|
|
30
|
+
tooltipTextKey: string;
|
|
31
|
+
tooltipPlacement: string;
|
|
19
32
|
}>>> & {
|
|
20
33
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
21
34
|
}, {
|
|
22
35
|
testId: string;
|
|
36
|
+
variant: 'primary' | 'default';
|
|
37
|
+
tooltipPlacement: TooltipPositions;
|
|
23
38
|
iconKey: string;
|
|
39
|
+
tooltipTextKey: string;
|
|
24
40
|
}>;
|
|
25
41
|
export default _default;
|
|
26
42
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./SwitchV4.vue2.js";
|
|
2
|
-
/* empty css */import
|
|
3
|
-
// import "../../../SwitchV4.
|
|
4
|
-
const s = /* @__PURE__ */
|
|
2
|
+
/* empty css */import _ from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../../SwitchV4.vue_vue_type_style_index_0_scoped_cd6621a7_lang.css"; //*');
|
|
4
|
+
const s = /* @__PURE__ */ _(o, [["__scopeId", "data-v-cd6621a7"]]);
|
|
5
5
|
export {
|
|
6
6
|
s as default
|
|
7
7
|
};
|