@ironsource/shared-ui 2.1.6-rc.15 → 2.1.6-rc.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Dropdown.vue_vue_type_style_index_0_scoped_aaa8c4bb_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_0_scoped_77f8bdb6_lang.css +1 -0
- package/InlineCopy.vue_vue_type_style_index_0_scoped_6a7b3795_lang.css +1 -0
- package/OptionV4.vue_vue_type_style_index_0_scoped_7f8f35a1_lang.css +1 -0
- package/TooltipV4.vue_vue_type_style_index_0_scoped_fcdb9d02_lang.css +1 -0
- package/components/dropdown/common/Dropdown.common.js +20 -20
- package/components/dropdown/v3/Dropdown.vue.d.ts +4 -0
- package/components/dropdown/v3/Dropdown.vue.js +4 -4
- package/components/dropdown/v3/Dropdown.vue2.js +32 -32
- package/components/dropdown/v3/index.d.ts +13 -1
- package/components/dropdown/v4/DropdownV4.vue.d.ts +14 -0
- package/components/dropdown/v4/DropdownV4.vue.js +3 -3
- package/components/dropdown/v4/DropdownV4.vue2.js +48 -44
- package/components/dropdown/v4/OptionV4.vue.d.ts +11 -0
- package/components/dropdown/v4/OptionV4.vue.js +3 -3
- package/components/dropdown/v4/OptionV4.vue2.js +59 -45
- package/components/dropdown/v4/index.d.ts +92 -3
- package/components/inlineCopy/InlineCopy.vue.d.ts +6 -2
- package/components/inlineCopy/InlineCopy.vue.js +3 -3
- package/components/inlineCopy/InlineCopy.vue2.js +23 -22
- package/components/inlineCopy/index.d.ts +6 -2
- package/components/tooltip/v4/TooltipV4.vue.d.ts +6 -2
- package/components/tooltip/v4/TooltipV4.vue.js +2 -2
- package/components/tooltip/v4/TooltipV4.vue2.js +21 -19
- package/components/tooltip/v4/index.d.ts +17 -5
- package/index.d.ts +230 -20
- package/package.json +1 -1
- package/Dropdown.vue_vue_type_style_index_0_scoped_d4f8e790_lang.css +0 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_07ffe682_lang.css +0 -1
- package/InlineCopy.vue_vue_type_style_index_0_scoped_ff9f4a0f_lang.css +0 -1
- package/OptionV4.vue_vue_type_style_index_0_scoped_e006a8e4_lang.css +0 -1
- package/TooltipV4.vue_vue_type_style_index_0_scoped_25809092_lang.css +0 -1
|
@@ -973,6 +973,7 @@ declare const DropdownTypes: () => (({
|
|
|
973
973
|
option: any;
|
|
974
974
|
disabled: boolean;
|
|
975
975
|
active: boolean;
|
|
976
|
+
endIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
976
977
|
isIndeterminate: boolean;
|
|
977
978
|
subtitle: string;
|
|
978
979
|
selectAllOption: boolean;
|
|
@@ -980,6 +981,7 @@ declare const DropdownTypes: () => (({
|
|
|
980
981
|
imageKey: string;
|
|
981
982
|
iconKey: string;
|
|
982
983
|
iconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
984
|
+
endIconKey: string;
|
|
983
985
|
toolTipPlacement: "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end";
|
|
984
986
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
985
987
|
option: {
|
|
@@ -994,6 +996,10 @@ declare const DropdownTypes: () => (({
|
|
|
994
996
|
type: import("vue").PropType<boolean>;
|
|
995
997
|
default: any;
|
|
996
998
|
};
|
|
999
|
+
endIconType: {
|
|
1000
|
+
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test">;
|
|
1001
|
+
default: string;
|
|
1002
|
+
};
|
|
997
1003
|
isIndeterminate: {
|
|
998
1004
|
type: import("vue").PropType<boolean>;
|
|
999
1005
|
default: boolean;
|
|
@@ -1022,6 +1028,10 @@ declare const DropdownTypes: () => (({
|
|
|
1022
1028
|
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test">;
|
|
1023
1029
|
default: string;
|
|
1024
1030
|
};
|
|
1031
|
+
endIconKey: {
|
|
1032
|
+
type: import("vue").PropType<string>;
|
|
1033
|
+
default: any;
|
|
1034
|
+
};
|
|
1025
1035
|
toolTipPlacement: {
|
|
1026
1036
|
type: import("vue").PropType<"auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end">;
|
|
1027
1037
|
default: string;
|
|
@@ -1029,7 +1039,7 @@ declare const DropdownTypes: () => (({
|
|
|
1029
1039
|
selectedProp: {
|
|
1030
1040
|
type: import("vue").PropType<boolean>;
|
|
1031
1041
|
};
|
|
1032
|
-
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "option" | "disabled" | "active" | "isIndeterminate" | "subtitle" | "selectAllOption" | "nameKey" | "imageKey" | "iconKey" | "iconType" | "toolTipPlacement">;
|
|
1042
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "option" | "disabled" | "active" | "endIconType" | "isIndeterminate" | "subtitle" | "selectAllOption" | "nameKey" | "imageKey" | "iconKey" | "iconType" | "endIconKey" | "toolTipPlacement">;
|
|
1033
1043
|
$attrs: {
|
|
1034
1044
|
[x: string]: unknown;
|
|
1035
1045
|
};
|
|
@@ -1056,6 +1066,10 @@ declare const DropdownTypes: () => (({
|
|
|
1056
1066
|
type: import("vue").PropType<boolean>;
|
|
1057
1067
|
default: any;
|
|
1058
1068
|
};
|
|
1069
|
+
endIconType: {
|
|
1070
|
+
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test">;
|
|
1071
|
+
default: string;
|
|
1072
|
+
};
|
|
1059
1073
|
isIndeterminate: {
|
|
1060
1074
|
type: import("vue").PropType<boolean>;
|
|
1061
1075
|
default: boolean;
|
|
@@ -1084,6 +1098,10 @@ declare const DropdownTypes: () => (({
|
|
|
1084
1098
|
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test">;
|
|
1085
1099
|
default: string;
|
|
1086
1100
|
};
|
|
1101
|
+
endIconKey: {
|
|
1102
|
+
type: import("vue").PropType<string>;
|
|
1103
|
+
default: any;
|
|
1104
|
+
};
|
|
1087
1105
|
toolTipPlacement: {
|
|
1088
1106
|
type: import("vue").PropType<"auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end">;
|
|
1089
1107
|
default: string;
|
|
@@ -1095,6 +1113,7 @@ declare const DropdownTypes: () => (({
|
|
|
1095
1113
|
option: any;
|
|
1096
1114
|
disabled: boolean;
|
|
1097
1115
|
active: boolean;
|
|
1116
|
+
endIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
1098
1117
|
isIndeterminate: boolean;
|
|
1099
1118
|
subtitle: string;
|
|
1100
1119
|
selectAllOption: boolean;
|
|
@@ -1102,6 +1121,7 @@ declare const DropdownTypes: () => (({
|
|
|
1102
1121
|
imageKey: string;
|
|
1103
1122
|
iconKey: string;
|
|
1104
1123
|
iconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
1124
|
+
endIconKey: string;
|
|
1105
1125
|
toolTipPlacement: "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end";
|
|
1106
1126
|
}, {}, string> & {
|
|
1107
1127
|
beforeCreate?: (() => void) | (() => void)[];
|
|
@@ -1136,6 +1156,10 @@ declare const DropdownTypes: () => (({
|
|
|
1136
1156
|
type: import("vue").PropType<boolean>;
|
|
1137
1157
|
default: any;
|
|
1138
1158
|
};
|
|
1159
|
+
endIconType: {
|
|
1160
|
+
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test">;
|
|
1161
|
+
default: string;
|
|
1162
|
+
};
|
|
1139
1163
|
isIndeterminate: {
|
|
1140
1164
|
type: import("vue").PropType<boolean>;
|
|
1141
1165
|
default: boolean;
|
|
@@ -1164,6 +1188,10 @@ declare const DropdownTypes: () => (({
|
|
|
1164
1188
|
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test">;
|
|
1165
1189
|
default: string;
|
|
1166
1190
|
};
|
|
1191
|
+
endIconKey: {
|
|
1192
|
+
type: import("vue").PropType<string>;
|
|
1193
|
+
default: any;
|
|
1194
|
+
};
|
|
1167
1195
|
toolTipPlacement: {
|
|
1168
1196
|
type: import("vue").PropType<"auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end">;
|
|
1169
1197
|
default: string;
|
|
@@ -1188,6 +1216,10 @@ declare const DropdownTypes: () => (({
|
|
|
1188
1216
|
type: import("vue").PropType<boolean>;
|
|
1189
1217
|
default: any;
|
|
1190
1218
|
};
|
|
1219
|
+
endIconType: {
|
|
1220
|
+
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test">;
|
|
1221
|
+
default: string;
|
|
1222
|
+
};
|
|
1191
1223
|
isIndeterminate: {
|
|
1192
1224
|
type: import("vue").PropType<boolean>;
|
|
1193
1225
|
default: boolean;
|
|
@@ -1216,6 +1248,10 @@ declare const DropdownTypes: () => (({
|
|
|
1216
1248
|
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test">;
|
|
1217
1249
|
default: string;
|
|
1218
1250
|
};
|
|
1251
|
+
endIconKey: {
|
|
1252
|
+
type: import("vue").PropType<string>;
|
|
1253
|
+
default: any;
|
|
1254
|
+
};
|
|
1219
1255
|
toolTipPlacement: {
|
|
1220
1256
|
type: import("vue").PropType<"auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end">;
|
|
1221
1257
|
default: string;
|
|
@@ -1227,6 +1263,7 @@ declare const DropdownTypes: () => (({
|
|
|
1227
1263
|
option: any;
|
|
1228
1264
|
disabled: boolean;
|
|
1229
1265
|
active: boolean;
|
|
1266
|
+
endIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
1230
1267
|
isIndeterminate: boolean;
|
|
1231
1268
|
subtitle: string;
|
|
1232
1269
|
selectAllOption: boolean;
|
|
@@ -1234,12 +1271,14 @@ declare const DropdownTypes: () => (({
|
|
|
1234
1271
|
imageKey: string;
|
|
1235
1272
|
iconKey: string;
|
|
1236
1273
|
iconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
1274
|
+
endIconKey: string;
|
|
1237
1275
|
toolTipPlacement: "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end";
|
|
1238
1276
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
1239
1277
|
$slots: {
|
|
1240
1278
|
image?(_: {}): any;
|
|
1241
1279
|
"icon-start"?(_: {}): any;
|
|
1242
1280
|
default?(_: {}): any;
|
|
1281
|
+
"icon-end"?(_: {}): any;
|
|
1243
1282
|
};
|
|
1244
1283
|
})) | import("vue").DefineComponent<{
|
|
1245
1284
|
testId: {
|
|
@@ -1394,6 +1433,8 @@ declare const DropdownTypes: () => (({
|
|
|
1394
1433
|
optionIconKey: string;
|
|
1395
1434
|
optionImageKey: string;
|
|
1396
1435
|
optionIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
1436
|
+
optionEndIconKey: string;
|
|
1437
|
+
optionEndIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
1397
1438
|
valueToCopy: string;
|
|
1398
1439
|
disabledOptionKey: string;
|
|
1399
1440
|
fullWidth: boolean;
|
|
@@ -1562,6 +1603,14 @@ declare const DropdownTypes: () => (({
|
|
|
1562
1603
|
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test">;
|
|
1563
1604
|
default: any;
|
|
1564
1605
|
};
|
|
1606
|
+
optionEndIconKey: {
|
|
1607
|
+
type: import("vue").PropType<string>;
|
|
1608
|
+
default: string;
|
|
1609
|
+
};
|
|
1610
|
+
optionEndIconType: {
|
|
1611
|
+
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test">;
|
|
1612
|
+
default: any;
|
|
1613
|
+
};
|
|
1565
1614
|
valueToCopy: {
|
|
1566
1615
|
type: import("vue").PropType<string>;
|
|
1567
1616
|
default: any;
|
|
@@ -1583,12 +1632,14 @@ declare const DropdownTypes: () => (({
|
|
|
1583
1632
|
default: any;
|
|
1584
1633
|
};
|
|
1585
1634
|
}>> & {
|
|
1635
|
+
onClear?: () => any;
|
|
1586
1636
|
onApply?: (value: unknown) => any;
|
|
1637
|
+
onSelectAll?: () => any;
|
|
1587
1638
|
"onUpdate:selected"?: (value: unknown) => any;
|
|
1588
1639
|
"onUpdate:isOpen"?: (value: unknown) => any;
|
|
1589
1640
|
onOpened?: () => any;
|
|
1590
1641
|
onClosed?: () => any;
|
|
1591
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "theme" | "disabled" | "size" | "flip" | "mandatory" | "testId" | "container" | "placement" | "distance" | "popperClass" | "selected" | "onClear" | "modelValue" | "placeholder" | "multi" | "showSelectAll" | "defaultOpen" | "keepOpen" | "autoSize" | "disableKeyboardEvents" | "isOnTop" | "skidding" | "triggerLabel" | "triggerHelperText" | "triggerFeedbackText" | "triggerFeedbackVariant" | "triggerFeedbackShowIcon" | "predefinedTrigger" | "inlineSearch" | "inlineSearchPlaceholder" | "onSearch" | "noResultsText" | "searchAutoFocus" | "optionNameKey" | "optionIconKey" | "optionImageKey" | "optionIconType" | "valueToCopy" | "disabledOptionKey" | "fullWidth" | "optionsListWidth" | "statusType">;
|
|
1642
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "theme" | "disabled" | "size" | "flip" | "mandatory" | "testId" | "container" | "placement" | "distance" | "popperClass" | "selected" | "onClear" | "modelValue" | "placeholder" | "multi" | "showSelectAll" | "defaultOpen" | "keepOpen" | "autoSize" | "disableKeyboardEvents" | "isOnTop" | "skidding" | "triggerLabel" | "triggerHelperText" | "triggerFeedbackText" | "triggerFeedbackVariant" | "triggerFeedbackShowIcon" | "predefinedTrigger" | "inlineSearch" | "inlineSearchPlaceholder" | "onSearch" | "noResultsText" | "searchAutoFocus" | "optionNameKey" | "optionIconKey" | "optionImageKey" | "optionIconType" | "optionEndIconKey" | "optionEndIconType" | "valueToCopy" | "disabledOptionKey" | "fullWidth" | "optionsListWidth" | "statusType">;
|
|
1592
1643
|
$attrs: {
|
|
1593
1644
|
[x: string]: unknown;
|
|
1594
1645
|
};
|
|
@@ -1600,7 +1651,7 @@ declare const DropdownTypes: () => (({
|
|
|
1600
1651
|
}>;
|
|
1601
1652
|
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
|
|
1602
1653
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
|
|
1603
|
-
$emit: ((event: "apply", value: unknown) => void) & ((event: "update:selected", value: unknown) => void) & ((event: "update:isOpen", value: unknown) => void) & ((event: "opened") => void) & ((event: "closed") => void);
|
|
1654
|
+
$emit: ((event: "clear") => void) & ((event: "apply", value: unknown) => void) & ((event: "update:selected", value: unknown) => void) & ((event: "selectAll") => void) & ((event: "update:isOpen", value: unknown) => void) & ((event: "opened") => void) & ((event: "closed") => void);
|
|
1604
1655
|
$el: any;
|
|
1605
1656
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
1606
1657
|
theme: {
|
|
@@ -1765,6 +1816,14 @@ declare const DropdownTypes: () => (({
|
|
|
1765
1816
|
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test">;
|
|
1766
1817
|
default: any;
|
|
1767
1818
|
};
|
|
1819
|
+
optionEndIconKey: {
|
|
1820
|
+
type: import("vue").PropType<string>;
|
|
1821
|
+
default: string;
|
|
1822
|
+
};
|
|
1823
|
+
optionEndIconType: {
|
|
1824
|
+
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test">;
|
|
1825
|
+
default: any;
|
|
1826
|
+
};
|
|
1768
1827
|
valueToCopy: {
|
|
1769
1828
|
type: import("vue").PropType<string>;
|
|
1770
1829
|
default: any;
|
|
@@ -1786,7 +1845,9 @@ declare const DropdownTypes: () => (({
|
|
|
1786
1845
|
default: any;
|
|
1787
1846
|
};
|
|
1788
1847
|
}>> & {
|
|
1848
|
+
onClear?: () => any;
|
|
1789
1849
|
onApply?: (value: unknown) => any;
|
|
1850
|
+
onSelectAll?: () => any;
|
|
1790
1851
|
"onUpdate:selected"?: (value: unknown) => any;
|
|
1791
1852
|
"onUpdate:isOpen"?: (value: unknown) => any;
|
|
1792
1853
|
onOpened?: () => any;
|
|
@@ -1800,6 +1861,8 @@ declare const DropdownTypes: () => (({
|
|
|
1800
1861
|
closed: () => void;
|
|
1801
1862
|
opened: () => void;
|
|
1802
1863
|
apply: (value: unknown) => void;
|
|
1864
|
+
selectAll: () => void;
|
|
1865
|
+
clear: () => void;
|
|
1803
1866
|
}, string, {
|
|
1804
1867
|
theme: string;
|
|
1805
1868
|
disabled: boolean;
|
|
@@ -1838,6 +1901,8 @@ declare const DropdownTypes: () => (({
|
|
|
1838
1901
|
optionIconKey: string;
|
|
1839
1902
|
optionImageKey: string;
|
|
1840
1903
|
optionIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
1904
|
+
optionEndIconKey: string;
|
|
1905
|
+
optionEndIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
1841
1906
|
valueToCopy: string;
|
|
1842
1907
|
disabledOptionKey: string;
|
|
1843
1908
|
fullWidth: boolean;
|
|
@@ -2026,6 +2091,14 @@ declare const DropdownTypes: () => (({
|
|
|
2026
2091
|
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test">;
|
|
2027
2092
|
default: any;
|
|
2028
2093
|
};
|
|
2094
|
+
optionEndIconKey: {
|
|
2095
|
+
type: import("vue").PropType<string>;
|
|
2096
|
+
default: string;
|
|
2097
|
+
};
|
|
2098
|
+
optionEndIconType: {
|
|
2099
|
+
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test">;
|
|
2100
|
+
default: any;
|
|
2101
|
+
};
|
|
2029
2102
|
valueToCopy: {
|
|
2030
2103
|
type: import("vue").PropType<string>;
|
|
2031
2104
|
default: any;
|
|
@@ -2047,7 +2120,9 @@ declare const DropdownTypes: () => (({
|
|
|
2047
2120
|
default: any;
|
|
2048
2121
|
};
|
|
2049
2122
|
}>> & {
|
|
2123
|
+
onClear?: () => any;
|
|
2050
2124
|
onApply?: (value: unknown) => any;
|
|
2125
|
+
onSelectAll?: () => any;
|
|
2051
2126
|
"onUpdate:selected"?: (value: unknown) => any;
|
|
2052
2127
|
"onUpdate:isOpen"?: (value: unknown) => any;
|
|
2053
2128
|
onOpened?: () => any;
|
|
@@ -2222,6 +2297,14 @@ declare const DropdownTypes: () => (({
|
|
|
2222
2297
|
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test">;
|
|
2223
2298
|
default: any;
|
|
2224
2299
|
};
|
|
2300
|
+
optionEndIconKey: {
|
|
2301
|
+
type: import("vue").PropType<string>;
|
|
2302
|
+
default: string;
|
|
2303
|
+
};
|
|
2304
|
+
optionEndIconType: {
|
|
2305
|
+
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test">;
|
|
2306
|
+
default: any;
|
|
2307
|
+
};
|
|
2225
2308
|
valueToCopy: {
|
|
2226
2309
|
type: import("vue").PropType<string>;
|
|
2227
2310
|
default: any;
|
|
@@ -2243,7 +2326,9 @@ declare const DropdownTypes: () => (({
|
|
|
2243
2326
|
default: any;
|
|
2244
2327
|
};
|
|
2245
2328
|
}>> & {
|
|
2329
|
+
onClear?: () => any;
|
|
2246
2330
|
onApply?: (value: unknown) => any;
|
|
2331
|
+
onSelectAll?: () => any;
|
|
2247
2332
|
"onUpdate:selected"?: (value: unknown) => any;
|
|
2248
2333
|
"onUpdate:isOpen"?: (value: unknown) => any;
|
|
2249
2334
|
onOpened?: () => any;
|
|
@@ -2257,6 +2342,8 @@ declare const DropdownTypes: () => (({
|
|
|
2257
2342
|
closed: () => void;
|
|
2258
2343
|
opened: () => void;
|
|
2259
2344
|
apply: (value: unknown) => void;
|
|
2345
|
+
selectAll: () => void;
|
|
2346
|
+
clear: () => void;
|
|
2260
2347
|
}, string, {
|
|
2261
2348
|
theme: string;
|
|
2262
2349
|
disabled: boolean;
|
|
@@ -2295,6 +2382,8 @@ declare const DropdownTypes: () => (({
|
|
|
2295
2382
|
optionIconKey: string;
|
|
2296
2383
|
optionImageKey: string;
|
|
2297
2384
|
optionIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
2385
|
+
optionEndIconKey: string;
|
|
2386
|
+
optionEndIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
2298
2387
|
valueToCopy: string;
|
|
2299
2388
|
disabledOptionKey: string;
|
|
2300
2389
|
fullWidth: boolean;
|
|
@@ -17,7 +17,9 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
17
17
|
tooltipHeader: string;
|
|
18
18
|
tooltipText: string;
|
|
19
19
|
tooltipPlacement: string;
|
|
20
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
20
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
21
|
+
copy: () => void;
|
|
22
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
21
23
|
text: string;
|
|
22
24
|
size: 'small' | 'medium';
|
|
23
25
|
testId: string;
|
|
@@ -35,7 +37,9 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
35
37
|
tooltipHeader: string;
|
|
36
38
|
tooltipText: string;
|
|
37
39
|
tooltipPlacement: string;
|
|
38
|
-
}
|
|
40
|
+
}>>> & {
|
|
41
|
+
onCopy?: () => any;
|
|
42
|
+
}, {
|
|
39
43
|
text: string;
|
|
40
44
|
size: 'small' | 'medium';
|
|
41
45
|
testId: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./InlineCopy.vue2.js";
|
|
2
2
|
/* empty css */import e from "../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../InlineCopy.
|
|
4
|
-
const
|
|
3
|
+
// import "../../InlineCopy.vue_vue_type_style_index_0_scoped_6a7b3795_lang.css"; //*');
|
|
4
|
+
const t = /* @__PURE__ */ e(o, [["__scopeId", "data-v-6a7b3795"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
t as default
|
|
7
7
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import "../../InlineCopy.
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import { useClipboard as
|
|
5
|
-
import { Snackbar as
|
|
6
|
-
import
|
|
7
|
-
import { useTestIdAttrs as
|
|
1
|
+
import "../../InlineCopy.vue_vue_type_style_index_0_scoped_6a7b3795_lang.css"; import { defineComponent as f, computed as y, openBlock as i, createElementBlock as x, createBlock as T, unref as e, mergeProps as c, withCtx as n, createTextVNode as C, toDisplayString as h, createCommentVNode as z, createVNode as r } from "vue";
|
|
2
|
+
import I from "../icon/v4/IconV4.vue.js";
|
|
3
|
+
import k from "../typography/v4/Typography.vue.js";
|
|
4
|
+
import { useClipboard as S } from "@vueuse/core";
|
|
5
|
+
import { Snackbar as V } from "../snackbar/v4/index.js";
|
|
6
|
+
import B from "../tooltip/v4/TooltipV4.vue.js";
|
|
7
|
+
import { useTestIdAttrs as b } from "../../utils/testIds.js";
|
|
8
8
|
import { InlineCopyTestIdModifiers as a } from "../../testids/index.js";
|
|
9
|
-
const
|
|
9
|
+
const O = /* @__PURE__ */ f({
|
|
10
10
|
__name: "InlineCopy",
|
|
11
11
|
props: {
|
|
12
12
|
text: { default: "" },
|
|
@@ -18,8 +18,9 @@ const M = /* @__PURE__ */ u({
|
|
|
18
18
|
tooltipText: { default: "Copy to clipboard" },
|
|
19
19
|
tooltipPlacement: { default: "bottom" }
|
|
20
20
|
},
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
emits: ["copy"],
|
|
22
|
+
setup(t, { emit: s }) {
|
|
23
|
+
const o = t, { copy: m, copied: d } = S({}), p = y(() => {
|
|
23
24
|
switch (o.size) {
|
|
24
25
|
case "medium":
|
|
25
26
|
return "0.875rem";
|
|
@@ -27,34 +28,34 @@ const M = /* @__PURE__ */ u({
|
|
|
27
28
|
default:
|
|
28
29
|
return "0.75rem";
|
|
29
30
|
}
|
|
30
|
-
}),
|
|
31
|
-
await
|
|
31
|
+
}), u = async () => {
|
|
32
|
+
await m(o.text), d.value && V({
|
|
32
33
|
title: "Copied successfully",
|
|
33
34
|
type: "success",
|
|
34
35
|
duration: 2e3
|
|
35
|
-
});
|
|
36
|
-
}, l =
|
|
37
|
-
return (
|
|
36
|
+
}), s("copy");
|
|
37
|
+
}, l = b(o.testId, a);
|
|
38
|
+
return (N, P) => (i(), x("div", {
|
|
38
39
|
class: "inline-copy",
|
|
39
|
-
onClick:
|
|
40
|
+
onClick: u
|
|
40
41
|
}, [
|
|
41
|
-
t.hideTextValue ?
|
|
42
|
+
t.hideTextValue ? z("", !0) : (i(), T(e(k), c({
|
|
42
43
|
key: 0,
|
|
43
44
|
variant: "caption",
|
|
44
|
-
style: { fontSize: e(
|
|
45
|
+
style: { fontSize: e(p) }
|
|
45
46
|
}, e(l)[e(a).TEXT]), {
|
|
46
47
|
default: n(() => [
|
|
47
|
-
|
|
48
|
+
C(h(t.text), 1)
|
|
48
49
|
]),
|
|
49
50
|
_: 1
|
|
50
51
|
}, 16, ["style"])),
|
|
51
|
-
r(e(
|
|
52
|
+
r(e(B), {
|
|
52
53
|
text: t.tooltipText,
|
|
53
54
|
header: t.tooltipHeader,
|
|
54
55
|
placement: t.tooltipPlacement
|
|
55
56
|
}, {
|
|
56
57
|
default: n(() => [
|
|
57
|
-
r(e(
|
|
58
|
+
r(e(I), c({
|
|
58
59
|
class: "icon-copy",
|
|
59
60
|
name: "copy",
|
|
60
61
|
size: t.iconSize || "16px"
|
|
@@ -66,5 +67,5 @@ const M = /* @__PURE__ */ u({
|
|
|
66
67
|
}
|
|
67
68
|
});
|
|
68
69
|
export {
|
|
69
|
-
|
|
70
|
+
O as default
|
|
70
71
|
};
|
|
@@ -36,7 +36,9 @@ declare const InlineCopyTypes: () => import("vue").DefineComponent<{
|
|
|
36
36
|
type: import("vue").PropType<"auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end">;
|
|
37
37
|
default: string;
|
|
38
38
|
};
|
|
39
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
39
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
40
|
+
copy: () => void;
|
|
41
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
40
42
|
text: {
|
|
41
43
|
type: import("vue").PropType<string>;
|
|
42
44
|
required: true;
|
|
@@ -73,7 +75,9 @@ declare const InlineCopyTypes: () => import("vue").DefineComponent<{
|
|
|
73
75
|
type: import("vue").PropType<"auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end">;
|
|
74
76
|
default: string;
|
|
75
77
|
};
|
|
76
|
-
}
|
|
78
|
+
}>> & {
|
|
79
|
+
onCopy?: () => any;
|
|
80
|
+
}, {
|
|
77
81
|
text: string;
|
|
78
82
|
size: "small" | "medium";
|
|
79
83
|
testId: string;
|
|
@@ -23,7 +23,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
23
23
|
testId: string;
|
|
24
24
|
distance: string;
|
|
25
25
|
container: string;
|
|
26
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
26
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
27
|
+
show: () => void;
|
|
28
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
27
29
|
text?: string;
|
|
28
30
|
header?: string;
|
|
29
31
|
delay?: number;
|
|
@@ -47,7 +49,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
47
49
|
testId: string;
|
|
48
50
|
distance: string;
|
|
49
51
|
container: string;
|
|
50
|
-
}
|
|
52
|
+
}>>> & {
|
|
53
|
+
onShow?: () => any;
|
|
54
|
+
}, {
|
|
51
55
|
header: string;
|
|
52
56
|
text: string;
|
|
53
57
|
theme: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import o from "./TooltipV4.vue2.js";
|
|
2
2
|
/* empty css *//* empty css */import _ from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../../TooltipV4.
|
|
3
|
+
// import "../../../TooltipV4.vue_vue_type_style_index_0_scoped_fcdb9d02_lang.css"; //*');
|
|
4
4
|
// import "../../../TooltipV4.vue_vue_type_style_index_1_lang.css"; //');
|
|
5
|
-
const l = /* @__PURE__ */ _(o, [["__scopeId", "data-v-
|
|
5
|
+
const l = /* @__PURE__ */ _(o, [["__scopeId", "data-v-fcdb9d02"]]);
|
|
6
6
|
export {
|
|
7
7
|
l as default
|
|
8
8
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import "../../../TooltipV4.
|
|
2
|
-
import
|
|
3
|
-
import { Tooltip as
|
|
1
|
+
import "../../../TooltipV4.vue_vue_type_style_index_0_scoped_fcdb9d02_lang.css"; import "../../../TooltipV4.vue_vue_type_style_index_1_lang.css"; import { defineComponent as h, openBlock as l, createBlock as d, unref as t, mergeProps as f, withCtx as r, renderSlot as u, createTextVNode as p, toDisplayString as y, createElementVNode as T } from "vue";
|
|
2
|
+
import g from "./TextWithTitleContent.vue.js";
|
|
3
|
+
import { Tooltip as x } from "floating-vue";
|
|
4
4
|
import { TooltipTestIdModifiers as i } from "../../../testids/index.js";
|
|
5
|
-
import
|
|
6
|
-
import { tooltipCommon as
|
|
7
|
-
import { useTestIdAttrs as
|
|
8
|
-
const
|
|
5
|
+
import v from "../../typography/v4/Typography.vue.js";
|
|
6
|
+
import { tooltipCommon as b } from "../common/Tooltip.common.js";
|
|
7
|
+
import { useTestIdAttrs as w } from "../../../utils/testIds.js";
|
|
8
|
+
const I = {
|
|
9
9
|
ref: "container",
|
|
10
10
|
class: "container"
|
|
11
|
-
},
|
|
11
|
+
}, D = /* @__PURE__ */ h({
|
|
12
12
|
__name: "TooltipV4",
|
|
13
13
|
props: {
|
|
14
14
|
text: { default: null },
|
|
@@ -23,9 +23,10 @@ const b = {
|
|
|
23
23
|
distance: { default: "10" },
|
|
24
24
|
container: { default: "body" }
|
|
25
25
|
},
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
emits: ["show"],
|
|
27
|
+
setup(e, { emit: c }) {
|
|
28
|
+
const n = e, { textForDisplay: o } = b(n), s = w(n.testId, i);
|
|
29
|
+
return (a, m) => (l(), d(t(x), f({ ...a.$props, ...t(s)[t(i).TRIGGER] }, {
|
|
29
30
|
theme: e.theme,
|
|
30
31
|
"no-auto-focus": "",
|
|
31
32
|
triggers: e.triggers,
|
|
@@ -35,28 +36,29 @@ const b = {
|
|
|
35
36
|
"popper-class": [e.theme, e.placement, "v4-tooltip"],
|
|
36
37
|
class: ["v4-tooltip"],
|
|
37
38
|
distance: e.distance,
|
|
38
|
-
"auto-hide": ""
|
|
39
|
+
"auto-hide": "",
|
|
40
|
+
onApplyShow: m[0] || (m[0] = (k) => c("show"))
|
|
39
41
|
}), {
|
|
40
42
|
popper: r(() => [
|
|
41
|
-
|
|
42
|
-
e.header ? (l(), d(
|
|
43
|
+
u(a.$slots, "tooltip", { text: t(o) }, () => [
|
|
44
|
+
e.header ? (l(), d(g, {
|
|
43
45
|
key: 1,
|
|
44
46
|
text: e.text,
|
|
45
47
|
header: e.header
|
|
46
|
-
}, null, 8, ["text", "header"])) : (l(), d(t(
|
|
48
|
+
}, null, 8, ["text", "header"])) : (l(), d(t(v), f({
|
|
47
49
|
key: 0,
|
|
48
50
|
variant: "body2"
|
|
49
51
|
}, t(s)[t(i).TEXT]), {
|
|
50
52
|
default: r(() => [
|
|
51
|
-
|
|
53
|
+
p(y(t(o)), 1)
|
|
52
54
|
]),
|
|
53
55
|
_: 1
|
|
54
56
|
}, 16))
|
|
55
57
|
], !0)
|
|
56
58
|
]),
|
|
57
59
|
default: r(() => [
|
|
58
|
-
|
|
59
|
-
|
|
60
|
+
T("div", I, [
|
|
61
|
+
u(a.$slots, "default", {}, void 0, !0)
|
|
60
62
|
], 512)
|
|
61
63
|
]),
|
|
62
64
|
_: 3
|
|
@@ -64,5 +66,5 @@ const b = {
|
|
|
64
66
|
}
|
|
65
67
|
});
|
|
66
68
|
export {
|
|
67
|
-
|
|
69
|
+
D as default
|
|
68
70
|
};
|
|
@@ -60,7 +60,9 @@ declare const TooltipTypes: () => ({
|
|
|
60
60
|
type: import("vue").PropType<string | number>;
|
|
61
61
|
default: string;
|
|
62
62
|
};
|
|
63
|
-
}>> &
|
|
63
|
+
}>> & {
|
|
64
|
+
onShow?: () => any;
|
|
65
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "header" | "text" | "theme" | "disabled" | "testId" | "container" | "delay" | "triggers" | "forceShowWithTruncate" | "placement" | "distance">;
|
|
64
66
|
$attrs: {
|
|
65
67
|
[x: string]: unknown;
|
|
66
68
|
};
|
|
@@ -72,7 +74,7 @@ declare const TooltipTypes: () => ({
|
|
|
72
74
|
}>;
|
|
73
75
|
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
|
|
74
76
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
|
|
75
|
-
$emit: (event:
|
|
77
|
+
$emit: (event: "show") => void;
|
|
76
78
|
$el: any;
|
|
77
79
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
78
80
|
header: {
|
|
@@ -119,7 +121,11 @@ declare const TooltipTypes: () => ({
|
|
|
119
121
|
type: import("vue").PropType<string | number>;
|
|
120
122
|
default: string;
|
|
121
123
|
};
|
|
122
|
-
}
|
|
124
|
+
}>> & {
|
|
125
|
+
onShow?: () => any;
|
|
126
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
127
|
+
show: () => void;
|
|
128
|
+
}, string, {
|
|
123
129
|
header: string;
|
|
124
130
|
text: string;
|
|
125
131
|
theme: string;
|
|
@@ -196,7 +202,9 @@ declare const TooltipTypes: () => ({
|
|
|
196
202
|
type: import("vue").PropType<string | number>;
|
|
197
203
|
default: string;
|
|
198
204
|
};
|
|
199
|
-
}>> &
|
|
205
|
+
}>> & {
|
|
206
|
+
onShow?: () => any;
|
|
207
|
+
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
200
208
|
__isFragment?: never;
|
|
201
209
|
__isTeleport?: never;
|
|
202
210
|
__isSuspense?: never;
|
|
@@ -245,7 +253,11 @@ declare const TooltipTypes: () => ({
|
|
|
245
253
|
type: import("vue").PropType<string | number>;
|
|
246
254
|
default: string;
|
|
247
255
|
};
|
|
248
|
-
}
|
|
256
|
+
}>> & {
|
|
257
|
+
onShow?: () => any;
|
|
258
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
259
|
+
show: () => void;
|
|
260
|
+
}, string, {
|
|
249
261
|
header: string;
|
|
250
262
|
text: string;
|
|
251
263
|
theme: string;
|