@ironsource/shared-ui 2.1.7-test.1 → 2.1.7-test.10

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.
Files changed (159) hide show
  1. package/Autocomplete.vue_vue_type_style_index_0_scoped_e361f9fd_lang.css +1 -0
  2. package/Chart.vue_vue_type_style_index_0_scoped_f06a4764_lang.css +1 -0
  3. package/ChartHeader.vue_vue_type_style_index_0_scoped_88d4532f_lang.css +1 -0
  4. package/ChartLegend.vue_vue_type_style_index_0_scoped_efc608f9_lang.css +1 -0
  5. package/ChartLoader.vue_vue_type_style_index_0_scoped_142c444a_lang.css +1 -0
  6. package/ChartTooltip.vue_vue_type_style_index_0_scoped_ec636f18_lang.css +1 -0
  7. package/DataGrid.vue_vue_type_style_index_0_scoped_706b324e_lang.css +1 -0
  8. package/DataGridRowsCounter.vue_vue_type_style_index_0_scoped_0ce71f73_lang.css +1 -0
  9. package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_98819e5a_lang.css +1 -0
  10. package/DropdownV4.vue_vue_type_style_index_0_scoped_00ccab6b_lang.css +1 -0
  11. package/EditableV4.vue_vue_type_style_index_0_scoped_e0c047b4_lang.css +1 -0
  12. package/FieldMaxLength.vue_vue_type_style_index_0_scoped_47877984_lang.css +1 -0
  13. package/IconV4.vue_vue_type_style_index_0_scoped_dc433d48_lang.css +1 -0
  14. package/IncludeExclude.vue_vue_type_style_index_0_scoped_cc2adbf5_lang.css +1 -0
  15. package/IncludeExcludeDragDrop.vue_vue_type_style_index_0_scoped_bd6145ce_lang.css +1 -0
  16. package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_82ba0e12_lang.css +1 -0
  17. package/OptionV4.vue_vue_type_style_index_0_scoped_77509f61_lang.css +1 -0
  18. package/Popover.vue_vue_type_style_index_0_scoped_c607b770_lang.css +1 -0
  19. package/PopoverV4.vue_vue_type_style_index_0_scoped_c54cd089_lang.css +1 -0
  20. package/PopoverV4.vue_vue_type_style_index_1_lang.css +1 -0
  21. package/README.md +1 -1
  22. package/SortableItem.vue_vue_type_style_index_0_scoped_9dd4d372_lang.css +1 -0
  23. package/SortableItemLabel.vue_vue_type_style_index_0_scoped_1386ae20_lang.css +1 -0
  24. package/SortableList.vue_vue_type_style_index_0_scoped_e9cd63b8_lang.css +1 -0
  25. package/TabsV4.vue_vue_type_style_index_0_scoped_f9433b11_lang.css +1 -0
  26. package/TextAreaV4.vue_vue_type_style_index_0_scoped_4114ef89_lang.css +1 -0
  27. package/TextField.vue_vue_type_style_index_0_scoped_4d9bf5b2_lang.css +1 -0
  28. package/ThemeWrapper.vue_vue_type_style_index_0_scoped_66bd448a_lang.css +1 -0
  29. package/TreeDropdown.vue_vue_type_style_index_0_scoped_dbd80d49_lang.css +1 -0
  30. package/components/ThemeWrapper/ThemeWrapper.vue.js +2 -2
  31. package/components/ThemeWrapper/ThemeWrapper.vue2.js +5 -5
  32. package/components/appHeader/AppHeader.vue.d.ts +1 -1
  33. package/components/appHeader/index.d.ts +9 -9
  34. package/components/autocomplete/Autocomplete.vue.d.ts +5 -0
  35. package/components/autocomplete/Autocomplete.vue.js +2 -2
  36. package/components/autocomplete/Autocomplete.vue2.js +57 -45
  37. package/components/autocomplete/index.d.ts +20 -1
  38. package/components/chart/Chart.vue.js +7 -0
  39. package/components/chart/Chart.vue2.js +281 -0
  40. package/components/chart/ChartHeader.vue.js +7 -0
  41. package/components/chart/ChartHeader.vue2.js +51 -0
  42. package/components/chart/ChartLegend.vue.js +7 -0
  43. package/components/chart/ChartLegend.vue2.js +65 -0
  44. package/components/chart/ChartLoader.vue.js +25 -0
  45. package/components/chart/ChartLoader.vue2.js +0 -0
  46. package/components/chart/ChartTooltip.vue.js +7 -0
  47. package/components/chart/ChartTooltip.vue2.js +81 -0
  48. package/components/chart/composables/useChartValues.js +32 -0
  49. package/components/chart/composables/useTooltipPosition.js +22 -0
  50. package/components/chart/consts.js +21 -0
  51. package/components/chart/index.js +6 -0
  52. package/components/chart/plugins/HoverVerticalLine.js +12 -0
  53. package/components/chart/types.js +4 -0
  54. package/components/chart/utils/formatNumber.js +11 -0
  55. package/components/chart/utils/utils.js +12 -0
  56. package/components/dropdown/common/Dropdown.common.js +89 -89
  57. package/components/dropdown/v4/DefaultDropdownTrigger.vue.d.ts +1 -0
  58. package/components/dropdown/v4/DefaultDropdownTrigger.vue.js +2 -2
  59. package/components/dropdown/v4/DefaultDropdownTrigger.vue2.js +32 -29
  60. package/components/dropdown/v4/DropdownV4.vue.d.ts +39 -0
  61. package/components/dropdown/v4/DropdownV4.vue.js +3 -3
  62. package/components/dropdown/v4/DropdownV4.vue2.js +256 -224
  63. package/components/dropdown/v4/OptionV4.vue.d.ts +36 -2
  64. package/components/dropdown/v4/OptionV4.vue.js +2 -2
  65. package/components/dropdown/v4/OptionV4.vue2.js +99 -59
  66. package/components/dropdown/v4/TreeDropdown.vue.d.ts +21 -16
  67. package/components/dropdown/v4/TreeDropdown.vue.js +3 -3
  68. package/components/dropdown/v4/TreeDropdown.vue2.js +170 -74
  69. package/components/dropdown/v4/dropdownStoryArgs.d.ts +14 -0
  70. package/components/dropdown/v4/index.d.ts +528 -83
  71. package/components/icon/v4/IconV4.vue.d.ts +5 -0
  72. package/components/icon/v4/IconV4.vue.js +4 -4
  73. package/components/icon/v4/IconV4.vue2.js +29 -26
  74. package/components/icon/v4/index.d.ts +20 -1
  75. package/components/includeExclude/IncludeExclude.vue.js +4 -4
  76. package/components/includeExclude/IncludeExclude.vue2.js +2 -2
  77. package/components/includeExclude/IncludeExcludeDragDrop.vue.js +4 -4
  78. package/components/includeExclude/IncludeExcludeDragDrop.vue2.js +2 -2
  79. package/components/input/v4/TextField.vue.d.ts +6 -1
  80. package/components/input/v4/TextField.vue.js +3 -3
  81. package/components/input/v4/TextField.vue2.js +95 -90
  82. package/components/input/v4/index.d.ts +20 -1
  83. package/components/popover/common/Popover.common.d.ts +6 -0
  84. package/components/popover/common/Popover.common.js +17 -0
  85. package/components/popover/v3/Popover.vue.js +8 -0
  86. package/components/popover/{Popover.vue2.js → v3/Popover.vue2.js} +1 -1
  87. package/components/popover/v4/PopoverV4.vue.d.ts +73 -0
  88. package/components/popover/v4/PopoverV4.vue.js +7 -0
  89. package/components/popover/v4/PopoverV4.vue2.js +54 -0
  90. package/components/popover/v4/index.d.ts +209 -0
  91. package/components/popover/v4/index.js +6 -0
  92. package/components/shared/FieldMaxLength.vue.js +3 -3
  93. package/components/shared/FieldMaxLength.vue2.js +2 -2
  94. package/components/shared/commonTypes.d.ts +2 -0
  95. package/components/sortableList/SortableItem.vue.js +7 -0
  96. package/components/sortableList/SortableItem.vue2.js +140 -0
  97. package/components/sortableList/SortableItemLabel.vue.js +7 -0
  98. package/components/sortableList/SortableItemLabel.vue2.js +60 -0
  99. package/components/sortableList/SortableList.vue.d.ts +25 -0
  100. package/components/sortableList/SortableList.vue.js +7 -0
  101. package/components/sortableList/SortableList.vue2.js +160 -0
  102. package/components/sortableList/composables/useHoverEffect.js +19 -0
  103. package/components/sortableList/consts.js +4 -0
  104. package/components/sortableList/index.d.ts +88 -2
  105. package/components/sortableList/index.js +6 -0
  106. package/components/table/v3/Table.vue.d.ts +2 -2
  107. package/components/table/v3/index.d.ts +39 -39
  108. package/components/table/v4/DataGrid.vue.d.ts +6 -2
  109. package/components/table/v4/DataGrid.vue.js +4 -4
  110. package/components/table/v4/DataGrid.vue2.js +131 -122
  111. package/components/table/v4/DataGridRowsCounter.vue.d.ts +5 -0
  112. package/components/table/v4/DataGridRowsCounter.vue.js +3 -3
  113. package/components/table/v4/DataGridRowsCounter.vue2.js +29 -22
  114. package/components/table/v4/MultipleDataGrid.vue.d.ts +16 -3
  115. package/components/table/v4/MultipleDataGrid.vue.js +4 -4
  116. package/components/table/v4/MultipleDataGrid.vue2.js +114 -66
  117. package/components/table/v4/index.d.ts +101 -75
  118. package/components/table-cells/common/Editable.common.js +37 -26
  119. package/components/table-cells/common/EditableContext.d.ts +1 -0
  120. package/components/table-cells/v4/EditableV4.vue.d.ts +5 -0
  121. package/components/table-cells/v4/EditableV4.vue.js +5 -5
  122. package/components/table-cells/v4/EditableV4.vue2.js +18 -17
  123. package/components/table-cells/v4/index.d.ts +20 -1
  124. package/components/tabs/v4/TabsV4.vue.js +4 -4
  125. package/components/tabs/v4/TabsV4.vue2.js +37 -40
  126. package/components/textArea/v4/TextAreaV4.vue.d.ts +6 -1
  127. package/components/textArea/v4/TextAreaV4.vue.js +3 -3
  128. package/components/textArea/v4/TextAreaV4.vue2.js +18 -12
  129. package/components/textArea/v4/index.d.ts +9 -0
  130. package/design-foundation.stories/icons/iconsData.d.ts +6 -2
  131. package/index.d.ts +9608 -7356
  132. package/index.js +136 -131
  133. package/mocks/options.d.ts +12 -0
  134. package/package.json +15 -3
  135. package/testids/index.d.ts +5 -0
  136. package/testids/index.js +27 -25
  137. package/utils/search.js +4 -0
  138. package/Autocomplete.vue_vue_type_style_index_0_scoped_a7bfd237_lang.css +0 -1
  139. package/DataGrid.vue_vue_type_style_index_0_scoped_63aaf3be_lang.css +0 -1
  140. package/DataGridRowsCounter.vue_vue_type_style_index_0_scoped_06751538_lang.css +0 -1
  141. package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_0345d6b1_lang.css +0 -1
  142. package/DropdownV4.vue_vue_type_style_index_0_scoped_7af4f288_lang.css +0 -1
  143. package/EditableV4.vue_vue_type_style_index_0_scoped_31bfb722_lang.css +0 -1
  144. package/FieldMaxLength.vue_vue_type_style_index_0_scoped_f3c4001a_lang.css +0 -1
  145. package/IconV4.vue_vue_type_style_index_0_scoped_1eea7671_lang.css +0 -1
  146. package/IncludeExclude.vue_vue_type_style_index_0_scoped_fb054d88_lang.css +0 -1
  147. package/IncludeExcludeDragDrop.vue_vue_type_style_index_0_scoped_5764fd61_lang.css +0 -1
  148. package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_260b9cdc_lang.css +0 -1
  149. package/OptionV4.vue_vue_type_style_index_0_scoped_9db0f796_lang.css +0 -1
  150. package/Popover.vue_vue_type_style_index_0_scoped_25eb53db_lang.css +0 -1
  151. package/TabsV4.vue_vue_type_style_index_0_scoped_bab40cfe_lang.css +0 -1
  152. package/TextAreaV4.vue_vue_type_style_index_0_scoped_f3b2c01d_lang.css +0 -1
  153. package/TextField.vue_vue_type_style_index_0_scoped_a6457440_lang.css +0 -1
  154. package/ThemeWrapper.vue_vue_type_style_index_0_scoped_b62ee695_lang.css +0 -1
  155. package/TreeDropdown.vue_vue_type_style_index_0_scoped_142eab98_lang.css +0 -1
  156. package/components/popover/Popover.vue.js +0 -8
  157. /package/components/popover/{Popover.vue.d.ts → v3/Popover.vue.d.ts} +0 -0
  158. /package/components/popover/{index.d.ts → v3/index.d.ts} +0 -0
  159. /package/components/popover/{index.js → v3/index.js} +0 -0
@@ -23,6 +23,7 @@ declare const TextFieldTypes: () => ({
23
23
  onlyDigits: boolean;
24
24
  prefix: string;
25
25
  suffix: string;
26
+ maxLengthCounterPosition: "inside" | "outside";
26
27
  showApply: boolean;
27
28
  inlineError: boolean;
28
29
  inlineErrorText: string;
@@ -108,6 +109,10 @@ declare const TextFieldTypes: () => ({
108
109
  type: import("vue").PropType<string>;
109
110
  default: string;
110
111
  };
112
+ maxLengthCounterPosition: {
113
+ type: import("vue").PropType<"inside" | "outside">;
114
+ default: string;
115
+ };
111
116
  showApply: {
112
117
  type: import("vue").PropType<boolean>;
113
118
  default: boolean;
@@ -143,7 +148,7 @@ declare const TextFieldTypes: () => ({
143
148
  }>> & {
144
149
  "onUpdate:modelValue"?: (value: string | number) => any;
145
150
  onApply?: () => any;
146
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "label" | "disabled" | "size" | "mandatory" | "testId" | "hoverHelpText" | "hoverHelpTextPlacement" | "maxLength" | "modelValue" | "placeholder" | "viewOnly" | "labelDirection" | "autoFocus" | "hideNumberArrows" | "step" | "onlyDigits" | "prefix" | "suffix" | "showApply" | "inlineError" | "inlineErrorText" | "inlineErrorTextPlacement" | "feedbackText" | "feedbackVariant" | "showFeedbackTextIcon" | "feedbackPositionAbsolute">;
151
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "label" | "disabled" | "size" | "mandatory" | "testId" | "hoverHelpText" | "hoverHelpTextPlacement" | "maxLength" | "modelValue" | "placeholder" | "viewOnly" | "labelDirection" | "autoFocus" | "hideNumberArrows" | "step" | "onlyDigits" | "prefix" | "suffix" | "maxLengthCounterPosition" | "showApply" | "inlineError" | "inlineErrorText" | "inlineErrorTextPlacement" | "feedbackText" | "feedbackVariant" | "showFeedbackTextIcon" | "feedbackPositionAbsolute">;
147
152
  $attrs: {
148
153
  [x: string]: unknown;
149
154
  };
@@ -234,6 +239,10 @@ declare const TextFieldTypes: () => ({
234
239
  type: import("vue").PropType<string>;
235
240
  default: string;
236
241
  };
242
+ maxLengthCounterPosition: {
243
+ type: import("vue").PropType<"inside" | "outside">;
244
+ default: string;
245
+ };
237
246
  showApply: {
238
247
  type: import("vue").PropType<boolean>;
239
248
  default: boolean;
@@ -294,6 +303,7 @@ declare const TextFieldTypes: () => ({
294
303
  onlyDigits: boolean;
295
304
  prefix: string;
296
305
  suffix: string;
306
+ maxLengthCounterPosition: "inside" | "outside";
297
307
  showApply: boolean;
298
308
  inlineError: boolean;
299
309
  inlineErrorText: string;
@@ -399,6 +409,10 @@ declare const TextFieldTypes: () => ({
399
409
  type: import("vue").PropType<string>;
400
410
  default: string;
401
411
  };
412
+ maxLengthCounterPosition: {
413
+ type: import("vue").PropType<"inside" | "outside">;
414
+ default: string;
415
+ };
402
416
  showApply: {
403
417
  type: import("vue").PropType<boolean>;
404
418
  default: boolean;
@@ -517,6 +531,10 @@ declare const TextFieldTypes: () => ({
517
531
  type: import("vue").PropType<string>;
518
532
  default: string;
519
533
  };
534
+ maxLengthCounterPosition: {
535
+ type: import("vue").PropType<"inside" | "outside">;
536
+ default: string;
537
+ };
520
538
  showApply: {
521
539
  type: import("vue").PropType<boolean>;
522
540
  default: boolean;
@@ -577,6 +595,7 @@ declare const TextFieldTypes: () => ({
577
595
  onlyDigits: boolean;
578
596
  prefix: string;
579
597
  suffix: string;
598
+ maxLengthCounterPosition: "inside" | "outside";
580
599
  showApply: boolean;
581
600
  inlineError: boolean;
582
601
  inlineErrorText: string;
@@ -0,0 +1,6 @@
1
+ export declare const popoverCommon: () => {
2
+ popup: import("vue").Ref<HTMLDivElement>;
3
+ open: import("vue").Ref<boolean>;
4
+ toggle: (value?: boolean) => boolean;
5
+ triggerRef: import("vue").Ref<HTMLDivElement>;
6
+ };
@@ -0,0 +1,17 @@
1
+ import { useToggle as p, onClickOutside as g } from "@vueuse/core";
2
+ import { ref as n } from "vue";
3
+ const f = () => {
4
+ const [o, e] = p(!1), r = n(), t = n();
5
+ return g(
6
+ r,
7
+ () => {
8
+ o.value && e();
9
+ },
10
+ {
11
+ ignore: [t]
12
+ }
13
+ ), { popup: r, open: o, toggle: e, triggerRef: t };
14
+ };
15
+ export {
16
+ f as popoverCommon
17
+ };
@@ -0,0 +1,8 @@
1
+ import o from "./Popover.vue2.js";
2
+ /* empty css *//* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../../Popover.vue_vue_type_style_index_0_scoped_c607b770_lang.css"; //*');
4
+ // import "../../../Popover.vue_vue_type_style_index_1_lang.css"; //');
5
+ const r = /* @__PURE__ */ e(o, [["__scopeId", "data-v-c607b770"]]);
6
+ export {
7
+ r as default
8
+ };
@@ -1,4 +1,4 @@
1
- import "../../Popover.vue_vue_type_style_index_0_scoped_25eb53db_lang.css"; import "../../Popover.vue_vue_type_style_index_1_lang.css"; import { defineComponent as n, openBlock as i, createBlock as r, unref as l, withCtx as a, renderSlot as d } from "vue";
1
+ import "../../../Popover.vue_vue_type_style_index_0_scoped_c607b770_lang.css"; import "../../../Popover.vue_vue_type_style_index_1_lang.css"; import { defineComponent as n, openBlock as i, createBlock as r, unref as l, withCtx as a, renderSlot as d } from "vue";
2
2
  import { Dropdown as s } from "floating-vue";
3
3
  const f = /* @__PURE__ */ n({
4
4
  __name: "Popover",
@@ -0,0 +1,73 @@
1
+ import { Placement } from 'floating-vue';
2
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
+ autoHide?: boolean;
4
+ trigger?: "touch" | "click" | "focus" | "hover" | "managed";
5
+ disabled?: boolean;
6
+ placement?: Placement;
7
+ distance?: number;
8
+ skidding?: number;
9
+ testId?: string;
10
+ popperClass?: string;
11
+ }>, {
12
+ trigger: string;
13
+ autoHide: boolean;
14
+ disabled: boolean;
15
+ placement: string;
16
+ distance: number;
17
+ skidding: number;
18
+ testId: string;
19
+ popperClass: string;
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<{
21
+ autoHide?: boolean;
22
+ trigger?: "touch" | "click" | "focus" | "hover" | "managed";
23
+ disabled?: boolean;
24
+ placement?: Placement;
25
+ distance?: number;
26
+ skidding?: number;
27
+ testId?: string;
28
+ popperClass?: string;
29
+ }>, {
30
+ trigger: string;
31
+ autoHide: boolean;
32
+ disabled: boolean;
33
+ placement: string;
34
+ distance: number;
35
+ skidding: number;
36
+ testId: string;
37
+ popperClass: string;
38
+ }>>>, {
39
+ disabled: boolean;
40
+ testId: string;
41
+ placement: Placement;
42
+ distance: number;
43
+ popperClass: string;
44
+ autoHide: boolean;
45
+ skidding: number;
46
+ trigger: "touch" | "click" | "focus" | "hover" | "managed";
47
+ }>, {
48
+ trigger?(_: {}): any;
49
+ content?(_: {}): any;
50
+ }>;
51
+ export default _default;
52
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
53
+ type __VLS_TypePropsToRuntimeProps<T> = {
54
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
55
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
56
+ } : {
57
+ type: import('vue').PropType<T[K]>;
58
+ required: true;
59
+ };
60
+ };
61
+ type __VLS_WithDefaults<P, D> = {
62
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
63
+ default: D[K];
64
+ }> : P[K];
65
+ };
66
+ type __VLS_Prettify<T> = {
67
+ [K in keyof T]: T[K];
68
+ } & {};
69
+ type __VLS_WithTemplateSlots<T, S> = T & {
70
+ new (): {
71
+ $slots: S;
72
+ };
73
+ };
@@ -0,0 +1,7 @@
1
+ import o from "./PopoverV4.vue2.js";
2
+ /* empty css *//* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../../PopoverV4.vue_vue_type_style_index_0_scoped_c54cd089_lang.css"; //*');
4
+ const r = /* @__PURE__ */ e(o, [["__scopeId", "data-v-c54cd089"]]);
5
+ export {
6
+ r as default
7
+ };
@@ -0,0 +1,54 @@
1
+ import "../../../PopoverV4.vue_vue_type_style_index_0_scoped_c54cd089_lang.css"; import { defineComponent as u, openBlock as d, createBlock as m, unref as t, withCtx as i, createElementBlock as f, renderSlot as n, createCommentVNode as g, createElementVNode as c } from "vue";
2
+ import { Dropdown as k } from "floating-vue";
3
+ import { popoverCommon as v } from "../common/Popover.common.js";
4
+ const w = /* @__PURE__ */ u({
5
+ __name: "PopoverV4",
6
+ props: {
7
+ autoHide: { type: Boolean, default: !1 },
8
+ trigger: { default: "click" },
9
+ disabled: { type: Boolean, default: !1 },
10
+ placement: { default: "bottom-start" },
11
+ distance: { default: 0 },
12
+ skidding: { default: 0 },
13
+ testId: { default: "" },
14
+ popperClass: { default: "" }
15
+ },
16
+ setup(e) {
17
+ const { popup: p, open: o, toggle: l, triggerRef: s } = v();
18
+ return (r, a) => (d(), m(t(k), {
19
+ theme: "custom-popover",
20
+ placement: e.placement,
21
+ shown: !!t(o),
22
+ triggers: e.trigger === "managed" ? [] : [e.trigger],
23
+ "auto-hide": e.autoHide,
24
+ distance: e.distance,
25
+ skidding: e.skidding,
26
+ "data-testid": e.testId,
27
+ "popper-class": [e.popperClass, "v4-popover__popper light-theme-v4"]
28
+ }, {
29
+ popper: i(() => [
30
+ t(o) ? (d(), f("div", {
31
+ key: 0,
32
+ ref_key: "popup",
33
+ ref: p,
34
+ class: "menu-popup"
35
+ }, [
36
+ n(r.$slots, "content", {}, void 0, !0)
37
+ ], 512)) : g("", !0)
38
+ ]),
39
+ default: i(() => [
40
+ c("div", {
41
+ ref_key: "triggerRef",
42
+ ref: s,
43
+ onClick: a[0] || (a[0] = (h) => t(l)(!t(o)))
44
+ }, [
45
+ n(r.$slots, "trigger", {}, void 0, !0)
46
+ ], 512)
47
+ ]),
48
+ _: 3
49
+ }, 8, ["placement", "shown", "triggers", "auto-hide", "distance", "skidding", "data-testid", "popper-class"]));
50
+ }
51
+ });
52
+ export {
53
+ w as default
54
+ };
@@ -0,0 +1,209 @@
1
+ import Popover from './PopoverV4.vue';
2
+ declare const PopoverTypes: () => ({
3
+ new (...args: any[]): {
4
+ $: import("vue").ComponentInternalInstance;
5
+ $data: {};
6
+ $props: Partial<{
7
+ disabled: boolean;
8
+ testId: string;
9
+ placement: import("floating-vue").Placement;
10
+ distance: number;
11
+ popperClass: string;
12
+ autoHide: boolean;
13
+ skidding: number;
14
+ trigger: "touch" | "click" | "focus" | "hover" | "managed";
15
+ }> & Omit<Readonly<import("vue").ExtractPropTypes<{
16
+ disabled: {
17
+ type: import("vue").PropType<boolean>;
18
+ default: boolean;
19
+ };
20
+ testId: {
21
+ type: import("vue").PropType<string>;
22
+ default: string;
23
+ };
24
+ placement: {
25
+ type: import("vue").PropType<import("floating-vue").Placement>;
26
+ default: string;
27
+ };
28
+ distance: {
29
+ type: import("vue").PropType<number>;
30
+ default: number;
31
+ };
32
+ popperClass: {
33
+ type: import("vue").PropType<string>;
34
+ default: string;
35
+ };
36
+ autoHide: {
37
+ type: import("vue").PropType<boolean>;
38
+ default: boolean;
39
+ };
40
+ skidding: {
41
+ type: import("vue").PropType<number>;
42
+ default: number;
43
+ };
44
+ trigger: {
45
+ type: import("vue").PropType<"touch" | "click" | "focus" | "hover" | "managed">;
46
+ default: string;
47
+ };
48
+ }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "testId" | "placement" | "distance" | "popperClass" | "autoHide" | "skidding" | "trigger">;
49
+ $attrs: {
50
+ [x: string]: unknown;
51
+ };
52
+ $refs: {
53
+ [x: string]: unknown;
54
+ };
55
+ $slots: Readonly<{
56
+ [name: string]: import("vue").Slot;
57
+ }>;
58
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
59
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
60
+ $emit: (event: string, ...args: any[]) => void;
61
+ $el: any;
62
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
63
+ disabled: {
64
+ type: import("vue").PropType<boolean>;
65
+ default: boolean;
66
+ };
67
+ testId: {
68
+ type: import("vue").PropType<string>;
69
+ default: string;
70
+ };
71
+ placement: {
72
+ type: import("vue").PropType<import("floating-vue").Placement>;
73
+ default: string;
74
+ };
75
+ distance: {
76
+ type: import("vue").PropType<number>;
77
+ default: number;
78
+ };
79
+ popperClass: {
80
+ type: import("vue").PropType<string>;
81
+ default: string;
82
+ };
83
+ autoHide: {
84
+ type: import("vue").PropType<boolean>;
85
+ default: boolean;
86
+ };
87
+ skidding: {
88
+ type: import("vue").PropType<number>;
89
+ default: number;
90
+ };
91
+ trigger: {
92
+ type: import("vue").PropType<"touch" | "click" | "focus" | "hover" | "managed">;
93
+ default: string;
94
+ };
95
+ }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
96
+ disabled: boolean;
97
+ testId: string;
98
+ placement: import("floating-vue").Placement;
99
+ distance: number;
100
+ popperClass: string;
101
+ autoHide: boolean;
102
+ skidding: number;
103
+ trigger: "touch" | "click" | "focus" | "hover" | "managed";
104
+ }, {}, string> & {
105
+ beforeCreate?: (() => void) | (() => void)[];
106
+ created?: (() => void) | (() => void)[];
107
+ beforeMount?: (() => void) | (() => void)[];
108
+ mounted?: (() => void) | (() => void)[];
109
+ beforeUpdate?: (() => void) | (() => void)[];
110
+ updated?: (() => void) | (() => void)[];
111
+ activated?: (() => void) | (() => void)[];
112
+ deactivated?: (() => void) | (() => void)[];
113
+ beforeDestroy?: (() => void) | (() => void)[];
114
+ beforeUnmount?: (() => void) | (() => void)[];
115
+ destroyed?: (() => void) | (() => void)[];
116
+ unmounted?: (() => void) | (() => void)[];
117
+ renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
118
+ renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
119
+ 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)[];
120
+ };
121
+ $forceUpdate: () => void;
122
+ $nextTick: typeof import("vue").nextTick;
123
+ $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;
124
+ } & Readonly<import("vue").ExtractPropTypes<{
125
+ disabled: {
126
+ type: import("vue").PropType<boolean>;
127
+ default: boolean;
128
+ };
129
+ testId: {
130
+ type: import("vue").PropType<string>;
131
+ default: string;
132
+ };
133
+ placement: {
134
+ type: import("vue").PropType<import("floating-vue").Placement>;
135
+ default: string;
136
+ };
137
+ distance: {
138
+ type: import("vue").PropType<number>;
139
+ default: number;
140
+ };
141
+ popperClass: {
142
+ type: import("vue").PropType<string>;
143
+ default: string;
144
+ };
145
+ autoHide: {
146
+ type: import("vue").PropType<boolean>;
147
+ default: boolean;
148
+ };
149
+ skidding: {
150
+ type: import("vue").PropType<number>;
151
+ default: number;
152
+ };
153
+ trigger: {
154
+ type: import("vue").PropType<"touch" | "click" | "focus" | "hover" | "managed">;
155
+ default: string;
156
+ };
157
+ }>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
158
+ __isFragment?: never;
159
+ __isTeleport?: never;
160
+ __isSuspense?: never;
161
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
162
+ disabled: {
163
+ type: import("vue").PropType<boolean>;
164
+ default: boolean;
165
+ };
166
+ testId: {
167
+ type: import("vue").PropType<string>;
168
+ default: string;
169
+ };
170
+ placement: {
171
+ type: import("vue").PropType<import("floating-vue").Placement>;
172
+ default: string;
173
+ };
174
+ distance: {
175
+ type: import("vue").PropType<number>;
176
+ default: number;
177
+ };
178
+ popperClass: {
179
+ type: import("vue").PropType<string>;
180
+ default: string;
181
+ };
182
+ autoHide: {
183
+ type: import("vue").PropType<boolean>;
184
+ default: boolean;
185
+ };
186
+ skidding: {
187
+ type: import("vue").PropType<number>;
188
+ default: number;
189
+ };
190
+ trigger: {
191
+ type: import("vue").PropType<"touch" | "click" | "focus" | "hover" | "managed">;
192
+ default: string;
193
+ };
194
+ }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
195
+ disabled: boolean;
196
+ testId: string;
197
+ placement: import("floating-vue").Placement;
198
+ distance: number;
199
+ popperClass: string;
200
+ autoHide: boolean;
201
+ skidding: number;
202
+ trigger: "touch" | "click" | "focus" | "hover" | "managed";
203
+ }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
204
+ $slots: {
205
+ trigger?(_: {}): any;
206
+ content?(_: {}): any;
207
+ };
208
+ }))[];
209
+ export { Popover, PopoverTypes };
@@ -0,0 +1,6 @@
1
+ import o from "./PopoverV4.vue.js";
2
+ const r = () => [o];
3
+ export {
4
+ o as Popover,
5
+ r as PopoverTypes
6
+ };
@@ -1,7 +1,7 @@
1
1
  import e from "./FieldMaxLength.vue2.js";
2
2
  /* empty css */import o from "../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../FieldMaxLength.vue_vue_type_style_index_0_scoped_f3c4001a_lang.css"; //*');
4
- const a = /* @__PURE__ */ o(e, [["__scopeId", "data-v-f3c4001a"]]);
3
+ // import "../../FieldMaxLength.vue_vue_type_style_index_0_scoped_47877984_lang.css"; //*');
4
+ const p = /* @__PURE__ */ o(e, [["__scopeId", "data-v-47877984"]]);
5
5
  export {
6
- a as default
6
+ p as default
7
7
  };
@@ -1,6 +1,6 @@
1
- import "../../FieldMaxLength.vue_vue_type_style_index_0_scoped_f3c4001a_lang.css"; import { defineComponent as n, openBlock as o, createElementBlock as c, createVNode as r, unref as d, withCtx as p, createTextVNode as t, toDisplayString as a, pushScopeId as i, popScopeId as s, createElementVNode as h } from "vue";
1
+ import "../../FieldMaxLength.vue_vue_type_style_index_0_scoped_47877984_lang.css"; import { defineComponent as n, openBlock as o, createElementBlock as c, createVNode as r, unref as d, withCtx as p, createTextVNode as t, toDisplayString as a, pushScopeId as i, popScopeId as s, createElementVNode as h } from "vue";
2
2
  import l from "../typography/v4/Typography.vue.js";
3
- const m = (e) => (i("data-v-f3c4001a"), e = e(), s(), e), _ = { class: "max-length" }, u = /* @__PURE__ */ m(() => /* @__PURE__ */ h("span", { class: "max-length__divider" }, "/", -1)), v = /* @__PURE__ */ n({
3
+ const m = (e) => (i("data-v-47877984"), e = e(), s(), e), _ = { class: "max-length" }, u = /* @__PURE__ */ m(() => /* @__PURE__ */ h("span", { class: "max-length__divider" }, "/", -1)), v = /* @__PURE__ */ n({
4
4
  __name: "FieldMaxLength",
5
5
  props: {
6
6
  currentLength: { default: 0 },
@@ -1,2 +1,4 @@
1
1
  export declare const FEEDBACK_VARIANTS: readonly ["error", "success", "warning"];
2
2
  export type FeedbackVariant = (typeof FEEDBACK_VARIANTS)[number];
3
+ export declare const MAX_LENGTH_COUNTER_POSITION: readonly ["inside", "outside"];
4
+ export type MaxLengthCounterPositions = (typeof MAX_LENGTH_COUNTER_POSITION)[number];
@@ -0,0 +1,7 @@
1
+ import o from "./SortableItem.vue2.js";
2
+ /* empty css */import e from "../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../SortableItem.vue_vue_type_style_index_0_scoped_9dd4d372_lang.css"; //*');
4
+ const s = /* @__PURE__ */ e(o, [["__scopeId", "data-v-9dd4d372"]]);
5
+ export {
6
+ s as default
7
+ };
@@ -0,0 +1,140 @@
1
+ import "../../SortableItem.vue_vue_type_style_index_0_scoped_9dd4d372_lang.css"; import { defineComponent as P, computed as x, watch as E, ref as $, openBlock as o, createElementBlock as a, normalizeClass as f, unref as e, withModifiers as c, createElementVNode as r, createVNode as h, createBlock as s, withCtx as b, createTextVNode as w, toDisplayString as F, createCommentVNode as u, renderSlot as z, mergeProps as S, normalizeProps as I, Fragment as R, renderList as D } from "vue";
2
+ import V from "../typography/v4/Typography.vue.js";
3
+ import m from "../icon/v4/IconV4.vue.js";
4
+ import L from "../icon/v4/IconFlag.vue.js";
5
+ import j from "./SortableItemLabel.vue.js";
6
+ import { useVirtualList as q } from "@vueuse/core";
7
+ import { matchString as A } from "../../utils/search.js";
8
+ import { useHoverEffect as G } from "./composables/useHoverEffect.js";
9
+ const J = { class: "draggable-handle" }, K = { class: "item__prefix" }, U = ["onClick"], W = { class: "item__text" }, X = ["onClick"], re = /* @__PURE__ */ P({
10
+ __name: "SortableItem",
11
+ props: {
12
+ item: null,
13
+ index: { default: null },
14
+ isOpen: { type: Boolean, default: !1 },
15
+ isSelected: { type: Boolean, default: !1 },
16
+ selectedChildId: { default: null },
17
+ searchQuery: { default: null },
18
+ searchHandler: { type: Function, default: null },
19
+ displayValue: null
20
+ },
21
+ emits: ["toggle", "select", "selectChild"],
22
+ setup(t, { emit: y }) {
23
+ const n = t, Q = () => {
24
+ y("toggle", !n.isOpen);
25
+ }, g = x(() => (n.item.children || []).filter(
26
+ (l) => n.searchHandler ? n.searchHandler(l, n.searchQuery) : A(l.displayText, n.searchQuery)
27
+ )), p = x(() => g.value.length > 0), B = (d) => d.id === n.selectedChildId, {
28
+ list: H,
29
+ containerProps: M,
30
+ wrapperProps: T,
31
+ scrollTo: N
32
+ } = q(g, {
33
+ itemHeight: 34
34
+ });
35
+ E(
36
+ () => n.searchQuery,
37
+ () => N(0)
38
+ );
39
+ const k = $(null), { handleMouseout: v, handleMouseover: C } = G(
40
+ k,
41
+ "sortable-item--hovered"
42
+ );
43
+ return (d, l) => (o(), a("div", {
44
+ ref_key: "itemRef",
45
+ ref: k,
46
+ class: f(["sortable-item", { "sortable-item--selected": t.isSelected }]),
47
+ onMouseover: l[1] || (l[1] = //@ts-ignore
48
+ (...i) => e(C) && e(C)(...i)),
49
+ onMouseout: l[2] || (l[2] = //@ts-ignore
50
+ (...i) => e(v) && e(v)(...i)),
51
+ onClick: l[3] || (l[3] = c((i) => y("select"), ["stop"]))
52
+ }, [
53
+ r("div", {
54
+ class: f(["item", { "drag-allowed": !t.item.isLocked && !t.searchQuery }])
55
+ }, [
56
+ r("div", J, [
57
+ h(e(m), {
58
+ name: "dots-six-vertical",
59
+ width: "20px",
60
+ type: "bold"
61
+ })
62
+ ]),
63
+ r("div", K, [
64
+ t.item.isLocked ? (o(), s(e(m), {
65
+ key: 1,
66
+ class: "locked-icon",
67
+ name: "lock",
68
+ width: "16px"
69
+ })) : (o(), s(e(V), {
70
+ key: 0,
71
+ class: "order-num",
72
+ variant: "subtitle2"
73
+ }, {
74
+ default: b(() => [
75
+ w(F(t.index + 1) + ". ", 1)
76
+ ]),
77
+ _: 1
78
+ }))
79
+ ]),
80
+ e(p) && !t.searchQuery ? (o(), a("div", {
81
+ key: 0,
82
+ class: "expand-icon",
83
+ onClick: c(Q, ["stop"])
84
+ }, [
85
+ t.isOpen ? (o(), s(e(m), {
86
+ key: 0,
87
+ name: "caret-down",
88
+ width: "16px"
89
+ })) : (o(), s(e(m), {
90
+ key: 1,
91
+ name: "caret-right",
92
+ width: "16px"
93
+ }))
94
+ ], 8, U)) : u("", !0),
95
+ r("div", W, [
96
+ t.item.countryFlag ? (o(), s(e(L), {
97
+ key: 0,
98
+ class: "country-flag",
99
+ "country-code": t.item.countryFlag
100
+ }, null, 8, ["country-code"])) : u("", !0),
101
+ h(j, {
102
+ "display-value": t.displayValue,
103
+ item: t.item
104
+ }, null, 8, ["display-value", "item"])
105
+ ]),
106
+ r("div", {
107
+ class: "item__menu",
108
+ onClick: l[0] || (l[0] = c(() => {
109
+ }, ["stop"]))
110
+ }, [
111
+ z(d.$slots, "menu", {}, void 0, !0)
112
+ ])
113
+ ], 2),
114
+ r("div", S(e(M), { class: "child-list" }), [
115
+ e(p) && t.isOpen ? (o(), a("ul", I(S({ key: 0 }, e(T))), [
116
+ (o(!0), a(R, null, D(e(H), ({ data: i, index: O }) => (o(), a("li", {
117
+ key: O,
118
+ class: f({ selected: B(i) }),
119
+ onClick: c((Y) => y("selectChild", i), ["stop"])
120
+ }, [
121
+ i.countryFlag ? (o(), s(e(L), {
122
+ key: 0,
123
+ class: "country-flag",
124
+ "country-code": i.countryFlag
125
+ }, null, 8, ["country-code"])) : u("", !0),
126
+ h(e(V), { variant: "body2" }, {
127
+ default: b(() => [
128
+ w(F(t.displayValue(i)), 1)
129
+ ]),
130
+ _: 2
131
+ }, 1024)
132
+ ], 10, X))), 128))
133
+ ], 16)) : u("", !0)
134
+ ], 16)
135
+ ], 34));
136
+ }
137
+ });
138
+ export {
139
+ re as default
140
+ };
@@ -0,0 +1,7 @@
1
+ import e from "./SortableItemLabel.vue2.js";
2
+ /* empty css */import o from "../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../SortableItemLabel.vue_vue_type_style_index_0_scoped_1386ae20_lang.css"; //*');
4
+ const s = /* @__PURE__ */ o(e, [["__scopeId", "data-v-1386ae20"]]);
5
+ export {
6
+ s as default
7
+ };