@ironsource/shared-ui 2.1.11-rc.8 → 2.1.11-rc.9

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.
@@ -606,6 +606,7 @@ declare const DropdownTypes: () => (({
606
606
  open: boolean;
607
607
  mandatory: boolean;
608
608
  loading: boolean;
609
+ valueToCopy: string;
609
610
  options: unknown[];
610
611
  singleAppSelection: boolean;
611
612
  placeholder: string;
@@ -616,7 +617,6 @@ declare const DropdownTypes: () => (({
616
617
  optionIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
617
618
  optionEndIconKey: string;
618
619
  optionEndIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
619
- valueToCopy: string;
620
620
  selectedOption: any;
621
621
  brandIconType: "android" | "ios";
622
622
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
@@ -650,6 +650,10 @@ declare const DropdownTypes: () => (({
650
650
  type: import("vue").PropType<boolean>;
651
651
  default: boolean;
652
652
  };
653
+ valueToCopy: {
654
+ type: import("vue").PropType<string>;
655
+ default: any;
656
+ };
653
657
  options: {
654
658
  type: import("vue").PropType<unknown[]>;
655
659
  default: any;
@@ -694,10 +698,6 @@ declare const DropdownTypes: () => (({
694
698
  type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate">;
695
699
  default: any;
696
700
  };
697
- valueToCopy: {
698
- type: import("vue").PropType<string>;
699
- default: any;
700
- };
701
701
  selectedOption: {
702
702
  type: import("vue").PropType<unknown>;
703
703
  default: any;
@@ -709,7 +709,7 @@ declare const DropdownTypes: () => (({
709
709
  }>> & {
710
710
  onClick?: () => any;
711
711
  onCopyToClipboard?: () => any;
712
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "label" | "testId" | "disabled" | "size" | "open" | "mandatory" | "loading" | "options" | "singleAppSelection" | "placeholder" | "multi" | "optionNameKey" | "optionIconKey" | "optionImageKey" | "optionIconType" | "optionEndIconKey" | "optionEndIconType" | "valueToCopy" | "selectedOption" | "brandIconType">;
712
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "label" | "testId" | "disabled" | "size" | "open" | "mandatory" | "loading" | "valueToCopy" | "options" | "singleAppSelection" | "placeholder" | "multi" | "optionNameKey" | "optionIconKey" | "optionImageKey" | "optionIconType" | "optionEndIconKey" | "optionEndIconType" | "selectedOption" | "brandIconType">;
713
713
  $attrs: {
714
714
  [x: string]: unknown;
715
715
  };
@@ -754,6 +754,10 @@ declare const DropdownTypes: () => (({
754
754
  type: import("vue").PropType<boolean>;
755
755
  default: boolean;
756
756
  };
757
+ valueToCopy: {
758
+ type: import("vue").PropType<string>;
759
+ default: any;
760
+ };
757
761
  options: {
758
762
  type: import("vue").PropType<unknown[]>;
759
763
  default: any;
@@ -798,10 +802,6 @@ declare const DropdownTypes: () => (({
798
802
  type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate">;
799
803
  default: any;
800
804
  };
801
- valueToCopy: {
802
- type: import("vue").PropType<string>;
803
- default: any;
804
- };
805
805
  selectedOption: {
806
806
  type: import("vue").PropType<unknown>;
807
807
  default: any;
@@ -824,6 +824,7 @@ declare const DropdownTypes: () => (({
824
824
  open: boolean;
825
825
  mandatory: boolean;
826
826
  loading: boolean;
827
+ valueToCopy: string;
827
828
  options: unknown[];
828
829
  singleAppSelection: boolean;
829
830
  placeholder: string;
@@ -834,7 +835,6 @@ declare const DropdownTypes: () => (({
834
835
  optionIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
835
836
  optionEndIconKey: string;
836
837
  optionEndIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
837
- valueToCopy: string;
838
838
  selectedOption: any;
839
839
  brandIconType: "android" | "ios";
840
840
  }, {}, string> & {
@@ -888,6 +888,10 @@ declare const DropdownTypes: () => (({
888
888
  type: import("vue").PropType<boolean>;
889
889
  default: boolean;
890
890
  };
891
+ valueToCopy: {
892
+ type: import("vue").PropType<string>;
893
+ default: any;
894
+ };
891
895
  options: {
892
896
  type: import("vue").PropType<unknown[]>;
893
897
  default: any;
@@ -932,10 +936,6 @@ declare const DropdownTypes: () => (({
932
936
  type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate">;
933
937
  default: any;
934
938
  };
935
- valueToCopy: {
936
- type: import("vue").PropType<string>;
937
- default: any;
938
- };
939
939
  selectedOption: {
940
940
  type: import("vue").PropType<unknown>;
941
941
  default: any;
@@ -982,6 +982,10 @@ declare const DropdownTypes: () => (({
982
982
  type: import("vue").PropType<boolean>;
983
983
  default: boolean;
984
984
  };
985
+ valueToCopy: {
986
+ type: import("vue").PropType<string>;
987
+ default: any;
988
+ };
985
989
  options: {
986
990
  type: import("vue").PropType<unknown[]>;
987
991
  default: any;
@@ -1026,10 +1030,6 @@ declare const DropdownTypes: () => (({
1026
1030
  type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate">;
1027
1031
  default: any;
1028
1032
  };
1029
- valueToCopy: {
1030
- type: import("vue").PropType<string>;
1031
- default: any;
1032
- };
1033
1033
  selectedOption: {
1034
1034
  type: import("vue").PropType<unknown>;
1035
1035
  default: any;
@@ -1052,6 +1052,7 @@ declare const DropdownTypes: () => (({
1052
1052
  open: boolean;
1053
1053
  mandatory: boolean;
1054
1054
  loading: boolean;
1055
+ valueToCopy: string;
1055
1056
  options: unknown[];
1056
1057
  singleAppSelection: boolean;
1057
1058
  placeholder: string;
@@ -1062,7 +1063,6 @@ declare const DropdownTypes: () => (({
1062
1063
  optionIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
1063
1064
  optionEndIconKey: string;
1064
1065
  optionEndIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
1065
- valueToCopy: string;
1066
1066
  selectedOption: any;
1067
1067
  brandIconType: "android" | "ios";
1068
1068
  }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
@@ -1689,6 +1689,7 @@ declare const DropdownTypes: () => (({
1689
1689
  skidding: number;
1690
1690
  modelValue: any;
1691
1691
  selected: any;
1692
+ valueToCopy: string;
1692
1693
  onClear: () => void;
1693
1694
  placeholder: string;
1694
1695
  multi: boolean;
@@ -1718,7 +1719,6 @@ declare const DropdownTypes: () => (({
1718
1719
  optionEndIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
1719
1720
  optionsEndTextIconKey: string;
1720
1721
  optionFlagKey: string;
1721
- valueToCopy: string;
1722
1722
  disabledOptionKey: string;
1723
1723
  optionTwoLinesVariant: "horizontal" | "vertical";
1724
1724
  optionTwoLinesKey: string;
@@ -1789,6 +1789,10 @@ declare const DropdownTypes: () => (({
1789
1789
  type: import("vue").PropType<unknown>;
1790
1790
  default: any;
1791
1791
  };
1792
+ valueToCopy: {
1793
+ type: import("vue").PropType<string>;
1794
+ default: any;
1795
+ };
1792
1796
  options: {
1793
1797
  type: import("vue").PropType<unknown[]>;
1794
1798
  required: true;
@@ -1913,10 +1917,6 @@ declare const DropdownTypes: () => (({
1913
1917
  type: import("vue").PropType<string>;
1914
1918
  default: any;
1915
1919
  };
1916
- valueToCopy: {
1917
- type: import("vue").PropType<string>;
1918
- default: any;
1919
- };
1920
1920
  disabledOptionKey: {
1921
1921
  type: import("vue").PropType<string>;
1922
1922
  default: string;
@@ -1971,7 +1971,7 @@ declare const DropdownTypes: () => (({
1971
1971
  onOnsearch?: (value: string) => any;
1972
1972
  onOpened?: () => any;
1973
1973
  onClosed?: () => any;
1974
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "theme" | "testId" | "placement" | "disabled" | "distance" | "container" | "popperClass" | "size" | "flip" | "mandatory" | "skidding" | "modelValue" | "selected" | "onClear" | "placeholder" | "multi" | "showSelectAll" | "defaultOpen" | "keepOpen" | "autoSize" | "disableKeyboardEvents" | "isOnTop" | "triggerLabel" | "triggerHelperText" | "triggerFeedbackText" | "triggerFeedbackVariant" | "triggerFeedbackShowIcon" | "triggerShowAllSelectedText" | "predefinedTrigger" | "inlineSearch" | "inlineSearchPlaceholder" | "onSearch" | "noResultsText" | "searchAutoFocus" | "optionNameKey" | "optionIconKey" | "optionImageKey" | "optionIconType" | "optionEndIconKey" | "optionEndIconType" | "optionsEndTextIconKey" | "optionFlagKey" | "valueToCopy" | "disabledOptionKey" | "optionTwoLinesVariant" | "optionTwoLinesKey" | "groupedOptions" | "comparingKey" | "customNumberOfDisplayedOptions" | "fullWidth" | "optionsListWidth" | "statusType" | "disableVirtualScroll" | "overrideOptionCountCalculation">;
1974
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "theme" | "testId" | "placement" | "disabled" | "distance" | "container" | "popperClass" | "size" | "flip" | "mandatory" | "skidding" | "modelValue" | "selected" | "valueToCopy" | "onClear" | "placeholder" | "multi" | "showSelectAll" | "defaultOpen" | "keepOpen" | "autoSize" | "disableKeyboardEvents" | "isOnTop" | "triggerLabel" | "triggerHelperText" | "triggerFeedbackText" | "triggerFeedbackVariant" | "triggerFeedbackShowIcon" | "triggerShowAllSelectedText" | "predefinedTrigger" | "inlineSearch" | "inlineSearchPlaceholder" | "onSearch" | "noResultsText" | "searchAutoFocus" | "optionNameKey" | "optionIconKey" | "optionImageKey" | "optionIconType" | "optionEndIconKey" | "optionEndIconType" | "optionsEndTextIconKey" | "optionFlagKey" | "disabledOptionKey" | "optionTwoLinesVariant" | "optionTwoLinesKey" | "groupedOptions" | "comparingKey" | "customNumberOfDisplayedOptions" | "fullWidth" | "optionsListWidth" | "statusType" | "disableVirtualScroll" | "overrideOptionCountCalculation">;
1975
1975
  $attrs: {
1976
1976
  [x: string]: unknown;
1977
1977
  };
@@ -2044,6 +2044,10 @@ declare const DropdownTypes: () => (({
2044
2044
  type: import("vue").PropType<unknown>;
2045
2045
  default: any;
2046
2046
  };
2047
+ valueToCopy: {
2048
+ type: import("vue").PropType<string>;
2049
+ default: any;
2050
+ };
2047
2051
  options: {
2048
2052
  type: import("vue").PropType<unknown[]>;
2049
2053
  required: true;
@@ -2168,10 +2172,6 @@ declare const DropdownTypes: () => (({
2168
2172
  type: import("vue").PropType<string>;
2169
2173
  default: any;
2170
2174
  };
2171
- valueToCopy: {
2172
- type: import("vue").PropType<string>;
2173
- default: any;
2174
- };
2175
2175
  disabledOptionKey: {
2176
2176
  type: import("vue").PropType<string>;
2177
2177
  default: string;
@@ -2253,6 +2253,7 @@ declare const DropdownTypes: () => (({
2253
2253
  skidding: number;
2254
2254
  modelValue: any;
2255
2255
  selected: any;
2256
+ valueToCopy: string;
2256
2257
  onClear: () => void;
2257
2258
  placeholder: string;
2258
2259
  multi: boolean;
@@ -2282,7 +2283,6 @@ declare const DropdownTypes: () => (({
2282
2283
  optionEndIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
2283
2284
  optionsEndTextIconKey: string;
2284
2285
  optionFlagKey: string;
2285
- valueToCopy: string;
2286
2286
  disabledOptionKey: string;
2287
2287
  optionTwoLinesVariant: "horizontal" | "vertical";
2288
2288
  optionTwoLinesKey: string;
@@ -2373,6 +2373,10 @@ declare const DropdownTypes: () => (({
2373
2373
  type: import("vue").PropType<unknown>;
2374
2374
  default: any;
2375
2375
  };
2376
+ valueToCopy: {
2377
+ type: import("vue").PropType<string>;
2378
+ default: any;
2379
+ };
2376
2380
  options: {
2377
2381
  type: import("vue").PropType<unknown[]>;
2378
2382
  required: true;
@@ -2497,10 +2501,6 @@ declare const DropdownTypes: () => (({
2497
2501
  type: import("vue").PropType<string>;
2498
2502
  default: any;
2499
2503
  };
2500
- valueToCopy: {
2501
- type: import("vue").PropType<string>;
2502
- default: any;
2503
- };
2504
2504
  disabledOptionKey: {
2505
2505
  type: import("vue").PropType<string>;
2506
2506
  default: string;
@@ -2621,6 +2621,10 @@ declare const DropdownTypes: () => (({
2621
2621
  type: import("vue").PropType<unknown>;
2622
2622
  default: any;
2623
2623
  };
2624
+ valueToCopy: {
2625
+ type: import("vue").PropType<string>;
2626
+ default: any;
2627
+ };
2624
2628
  options: {
2625
2629
  type: import("vue").PropType<unknown[]>;
2626
2630
  required: true;
@@ -2745,10 +2749,6 @@ declare const DropdownTypes: () => (({
2745
2749
  type: import("vue").PropType<string>;
2746
2750
  default: any;
2747
2751
  };
2748
- valueToCopy: {
2749
- type: import("vue").PropType<string>;
2750
- default: any;
2751
- };
2752
2752
  disabledOptionKey: {
2753
2753
  type: import("vue").PropType<string>;
2754
2754
  default: string;
@@ -2830,6 +2830,7 @@ declare const DropdownTypes: () => (({
2830
2830
  skidding: number;
2831
2831
  modelValue: any;
2832
2832
  selected: any;
2833
+ valueToCopy: string;
2833
2834
  onClear: () => void;
2834
2835
  placeholder: string;
2835
2836
  multi: boolean;
@@ -2859,7 +2860,6 @@ declare const DropdownTypes: () => (({
2859
2860
  optionEndIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
2860
2861
  optionsEndTextIconKey: string;
2861
2862
  optionFlagKey: string;
2862
- valueToCopy: string;
2863
2863
  disabledOptionKey: string;
2864
2864
  optionTwoLinesVariant: "horizontal" | "vertical";
2865
2865
  optionTwoLinesKey: string;
@@ -3012,6 +3012,7 @@ declare const DropdownTypes: () => (({
3012
3012
  disabled: boolean;
3013
3013
  size: "small" | "medium" | "large";
3014
3014
  selected: unknown[];
3015
+ valueToCopy: string;
3015
3016
  placeholder: string;
3016
3017
  inlineSearchPlaceholder: string;
3017
3018
  optionNameKey: string;
@@ -3020,7 +3021,6 @@ declare const DropdownTypes: () => (({
3020
3021
  optionIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
3021
3022
  optionEndIconKey: string;
3022
3023
  optionEndIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
3023
- valueToCopy: string;
3024
3024
  disabledOptionKey: string;
3025
3025
  optionEndTextIconKey: string;
3026
3026
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
@@ -3043,6 +3043,10 @@ declare const DropdownTypes: () => (({
3043
3043
  type: import("vue").PropType<unknown[]>;
3044
3044
  default: any;
3045
3045
  };
3046
+ valueToCopy: {
3047
+ type: import("vue").PropType<string>;
3048
+ default: any;
3049
+ };
3046
3050
  options: {
3047
3051
  type: import("vue").PropType<unknown[]>;
3048
3052
  required: true;
@@ -3083,10 +3087,6 @@ declare const DropdownTypes: () => (({
3083
3087
  type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate">;
3084
3088
  default: any;
3085
3089
  };
3086
- valueToCopy: {
3087
- type: import("vue").PropType<string>;
3088
- default: any;
3089
- };
3090
3090
  disabledOptionKey: {
3091
3091
  type: import("vue").PropType<string>;
3092
3092
  default: string;
@@ -3110,7 +3110,7 @@ declare const DropdownTypes: () => (({
3110
3110
  }>> & {
3111
3111
  "onUpdate:selected"?: (value: unknown) => any;
3112
3112
  "onUpdate:isOpen"?: (value: unknown) => any;
3113
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "testId" | "disabled" | "size" | "selected" | "placeholder" | "inlineSearchPlaceholder" | "optionNameKey" | "optionIconKey" | "optionImageKey" | "optionIconType" | "optionEndIconKey" | "optionEndIconType" | "valueToCopy" | "disabledOptionKey" | "optionEndTextIconKey">;
3113
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "testId" | "disabled" | "size" | "selected" | "valueToCopy" | "placeholder" | "inlineSearchPlaceholder" | "optionNameKey" | "optionIconKey" | "optionImageKey" | "optionIconType" | "optionEndIconKey" | "optionEndIconType" | "disabledOptionKey" | "optionEndTextIconKey">;
3114
3114
  $attrs: {
3115
3115
  [x: string]: unknown;
3116
3116
  };
@@ -3144,6 +3144,10 @@ declare const DropdownTypes: () => (({
3144
3144
  type: import("vue").PropType<unknown[]>;
3145
3145
  default: any;
3146
3146
  };
3147
+ valueToCopy: {
3148
+ type: import("vue").PropType<string>;
3149
+ default: any;
3150
+ };
3147
3151
  options: {
3148
3152
  type: import("vue").PropType<unknown[]>;
3149
3153
  required: true;
@@ -3184,10 +3188,6 @@ declare const DropdownTypes: () => (({
3184
3188
  type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate">;
3185
3189
  default: any;
3186
3190
  };
3187
- valueToCopy: {
3188
- type: import("vue").PropType<string>;
3189
- default: any;
3190
- };
3191
3191
  disabledOptionKey: {
3192
3192
  type: import("vue").PropType<string>;
3193
3193
  default: string;
@@ -3219,6 +3219,7 @@ declare const DropdownTypes: () => (({
3219
3219
  disabled: boolean;
3220
3220
  size: "small" | "medium" | "large";
3221
3221
  selected: unknown[];
3222
+ valueToCopy: string;
3222
3223
  placeholder: string;
3223
3224
  inlineSearchPlaceholder: string;
3224
3225
  optionNameKey: string;
@@ -3227,7 +3228,6 @@ declare const DropdownTypes: () => (({
3227
3228
  optionIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
3228
3229
  optionEndIconKey: string;
3229
3230
  optionEndIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
3230
- valueToCopy: string;
3231
3231
  disabledOptionKey: string;
3232
3232
  optionEndTextIconKey: string;
3233
3233
  }, {}, string> & {
@@ -3270,6 +3270,10 @@ declare const DropdownTypes: () => (({
3270
3270
  type: import("vue").PropType<unknown[]>;
3271
3271
  default: any;
3272
3272
  };
3273
+ valueToCopy: {
3274
+ type: import("vue").PropType<string>;
3275
+ default: any;
3276
+ };
3273
3277
  options: {
3274
3278
  type: import("vue").PropType<unknown[]>;
3275
3279
  required: true;
@@ -3310,10 +3314,6 @@ declare const DropdownTypes: () => (({
3310
3314
  type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate">;
3311
3315
  default: any;
3312
3316
  };
3313
- valueToCopy: {
3314
- type: import("vue").PropType<string>;
3315
- default: any;
3316
- };
3317
3317
  disabledOptionKey: {
3318
3318
  type: import("vue").PropType<string>;
3319
3319
  default: string;
@@ -3361,6 +3361,10 @@ declare const DropdownTypes: () => (({
3361
3361
  type: import("vue").PropType<unknown[]>;
3362
3362
  default: any;
3363
3363
  };
3364
+ valueToCopy: {
3365
+ type: import("vue").PropType<string>;
3366
+ default: any;
3367
+ };
3364
3368
  options: {
3365
3369
  type: import("vue").PropType<unknown[]>;
3366
3370
  required: true;
@@ -3401,10 +3405,6 @@ declare const DropdownTypes: () => (({
3401
3405
  type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate">;
3402
3406
  default: any;
3403
3407
  };
3404
- valueToCopy: {
3405
- type: import("vue").PropType<string>;
3406
- default: any;
3407
- };
3408
3408
  disabledOptionKey: {
3409
3409
  type: import("vue").PropType<string>;
3410
3410
  default: string;
@@ -3436,6 +3436,7 @@ declare const DropdownTypes: () => (({
3436
3436
  disabled: boolean;
3437
3437
  size: "small" | "medium" | "large";
3438
3438
  selected: unknown[];
3439
+ valueToCopy: string;
3439
3440
  placeholder: string;
3440
3441
  inlineSearchPlaceholder: string;
3441
3442
  optionNameKey: string;
@@ -3444,7 +3445,6 @@ declare const DropdownTypes: () => (({
3444
3445
  optionIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
3445
3446
  optionEndIconKey: string;
3446
3447
  optionEndIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
3447
- valueToCopy: string;
3448
3448
  disabledOptionKey: string;
3449
3449
  optionEndTextIconKey: string;
3450
3450
  }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
@@ -8,6 +8,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
8
8
  tooltipHeader?: string;
9
9
  tooltipText?: string;
10
10
  tooltipPlacement?: TooltipPositions;
11
+ valueToCopy?: string;
11
12
  }>, {
12
13
  size: string;
13
14
  text: string;
@@ -17,6 +18,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
17
18
  tooltipHeader: string;
18
19
  tooltipText: string;
19
20
  tooltipPlacement: string;
21
+ valueToCopy: string;
20
22
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
21
23
  copy: () => void;
22
24
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
@@ -28,6 +30,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
28
30
  tooltipHeader?: string;
29
31
  tooltipText?: string;
30
32
  tooltipPlacement?: TooltipPositions;
33
+ valueToCopy?: string;
31
34
  }>, {
32
35
  size: string;
33
36
  text: string;
@@ -37,6 +40,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
37
40
  tooltipHeader: string;
38
41
  tooltipText: string;
39
42
  tooltipPlacement: string;
43
+ valueToCopy: string;
40
44
  }>>> & {
41
45
  onCopy?: () => any;
42
46
  }, {
@@ -48,6 +52,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
48
52
  hideTextValue: boolean;
49
53
  iconSize: string;
50
54
  tooltipHeader: string;
55
+ valueToCopy: string;
51
56
  }>;
52
57
  export default _default;
53
58
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -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.vue_vue_type_style_index_0_scoped_893a203c_lang.css"; //*');
4
- const t = /* @__PURE__ */ e(o, [["__scopeId", "data-v-893a203c"]]);
3
+ // import "../../InlineCopy.vue_vue_type_style_index_0_scoped_ad48b61e_lang.css"; //*');
4
+ const t = /* @__PURE__ */ e(o, [["__scopeId", "data-v-ad48b61e"]]);
5
5
  export {
6
6
  t as default
7
7
  };
@@ -1,13 +1,13 @@
1
- import "../../InlineCopy.vue_vue_type_style_index_0_scoped_893a203c_lang.css"; import { defineComponent as f, computed as y, openBlock as l, createElementBlock as x, createBlock as T, unref as e, mergeProps as c, withCtx as r, createTextVNode as C, toDisplayString as h, createCommentVNode as z, createVNode as n } from "vue";
2
- import I from "../icon/v4/IconV4.vue.js";
1
+ import "../../InlineCopy.vue_vue_type_style_index_0_scoped_ad48b61e_lang.css"; import { defineComponent as y, computed as x, openBlock as c, createElementBlock as T, createBlock as C, unref as e, mergeProps as n, withCtx as r, createTextVNode as h, toDisplayString as z, createCommentVNode as I, createVNode as s } from "vue";
2
+ import k from "../icon/v4/IconV4.vue.js";
3
3
  import "../icon/v4/IconFlag.vue.js";
4
- import k from "../typography/v4/Typography.vue.js";
5
- import { useClipboard as S } from "@vueuse/core";
6
- import { Snackbar as V } from "../snackbar/v4/index.js";
4
+ import S from "../typography/v4/Typography.vue.js";
5
+ import { useClipboard as V } from "@vueuse/core";
6
+ import { Snackbar as v } from "../snackbar/v4/index.js";
7
7
  import B from "../tooltip/v4/TooltipV4.vue.js";
8
8
  import { useTestIdAttrs as b } from "../../utils/testIds.js";
9
9
  import { InlineCopyTestIdModifiers as a } from "../../testids/index.js";
10
- const X = /* @__PURE__ */ f({
10
+ const X = /* @__PURE__ */ y({
11
11
  __name: "InlineCopy",
12
12
  props: {
13
13
  text: { default: "" },
@@ -17,11 +17,12 @@ const X = /* @__PURE__ */ f({
17
17
  iconSize: { default: null },
18
18
  tooltipHeader: { default: "" },
19
19
  tooltipText: { default: "Copy to clipboard" },
20
- tooltipPlacement: { default: "bottom" }
20
+ tooltipPlacement: { default: "bottom" },
21
+ valueToCopy: { default: "" }
21
22
  },
22
23
  emits: ["copy"],
23
- setup(t, { emit: s }) {
24
- const o = t, { copy: m, copied: p } = S({}), d = y(() => {
24
+ setup(t, { emit: p }) {
25
+ const o = t, { copy: d, copied: m } = V({}), u = x(() => {
25
26
  switch (o.size) {
26
27
  case "medium":
27
28
  return "0.875rem";
@@ -29,38 +30,39 @@ const X = /* @__PURE__ */ f({
29
30
  default:
30
31
  return "0.75rem";
31
32
  }
32
- }), u = async () => {
33
- await m(o.text), p.value && V({
33
+ }), f = async () => {
34
+ const i = o.valueToCopy || o.text;
35
+ await d(i), m.value && v({
34
36
  title: "Copied successfully",
35
37
  type: "success",
36
38
  duration: 2e3
37
- }), s("copy");
38
- }, i = b(o.testId, a);
39
- return (N, P) => (l(), x("div", {
39
+ }), p("copy");
40
+ }, l = b(o.testId, a);
41
+ return (i, N) => (c(), T("div", {
40
42
  class: "inline-copy",
41
- onClick: u
43
+ onClick: f
42
44
  }, [
43
- t.hideTextValue ? z("", !0) : (l(), T(e(k), c({
45
+ t.hideTextValue ? I("", !0) : (c(), C(e(S), n({
44
46
  key: 0,
45
47
  variant: "caption",
46
- style: { fontSize: e(d) }
47
- }, e(i)[e(a).TEXT]), {
48
+ style: { fontSize: e(u) }
49
+ }, e(l)[e(a).TEXT]), {
48
50
  default: r(() => [
49
- C(h(t.text), 1)
51
+ h(z(t.text), 1)
50
52
  ]),
51
53
  _: 1
52
54
  }, 16, ["style"])),
53
- n(e(B), {
55
+ s(e(B), {
54
56
  text: t.tooltipText,
55
57
  header: t.tooltipHeader,
56
58
  placement: t.tooltipPlacement
57
59
  }, {
58
60
  default: r(() => [
59
- n(e(I), c({
61
+ s(e(k), n({
60
62
  class: "icon-copy",
61
63
  name: "copy",
62
64
  size: t.iconSize || "16px"
63
- }, e(i)[e(a).COPY_BTN]), null, 16, ["size"])
65
+ }, e(l)[e(a).COPY_BTN]), null, 16, ["size"])
64
66
  ]),
65
67
  _: 1
66
68
  }, 8, ["text", "header", "placement"])
@@ -36,6 +36,10 @@ declare const InlineCopyTypes: () => import("vue").DefineComponent<{
36
36
  type: import("vue").PropType<string>;
37
37
  default: string;
38
38
  };
39
+ valueToCopy: {
40
+ type: import("vue").PropType<string>;
41
+ default: string;
42
+ };
39
43
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
40
44
  copy: () => void;
41
45
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
@@ -75,6 +79,10 @@ declare const InlineCopyTypes: () => import("vue").DefineComponent<{
75
79
  type: import("vue").PropType<string>;
76
80
  default: string;
77
81
  };
82
+ valueToCopy: {
83
+ type: import("vue").PropType<string>;
84
+ default: string;
85
+ };
78
86
  }>> & {
79
87
  onCopy?: () => any;
80
88
  }, {
@@ -86,5 +94,6 @@ declare const InlineCopyTypes: () => import("vue").DefineComponent<{
86
94
  hideTextValue: boolean;
87
95
  iconSize: string;
88
96
  tooltipHeader: string;
97
+ valueToCopy: string;
89
98
  }>[];
90
99
  export { InlineCopy, InlineCopyTypes };