@ironsource/shared-ui 2.2.0-rc.4 → 2.2.0-rc.40

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 (192) hide show
  1. package/Alert.vue_vue_type_style_index_0_scoped_5e66710b_lang.css +1 -0
  2. package/AppDropdownTrigger.vue_vue_type_style_index_0_scoped_f86477a9_lang.css +1 -0
  3. package/AppHeader.vue_vue_type_style_index_0_scoped_18bc6c0d_lang.css +1 -0
  4. package/ButtonV4.vue_vue_type_style_index_0_scoped_a59af1ad_lang.css +1 -0
  5. package/CalendarMonth.vue_vue_type_style_index_0_scoped_a44769fd_lang.css +1 -0
  6. package/CalendarMonthV4.vue_vue_type_style_index_0_scoped_6eae923a_lang.css +1 -0
  7. package/Chart.vue_vue_type_style_index_0_scoped_a4d7b67a_lang.css +1 -0
  8. package/ChartHeader.vue_vue_type_style_index_0_scoped_3a061c08_lang.css +1 -0
  9. package/CheckboxV4.vue_vue_type_style_index_0_scoped_88525d86_lang.css +1 -0
  10. package/ChipV4.vue_vue_type_style_index_0_scoped_a221c649_lang.css +1 -0
  11. package/ColumnPicker.vue_vue_type_style_index_0_scoped_d59af062_lang.css +1 -0
  12. package/DataGrid.vue_vue_type_style_index_0_scoped_0967498f_lang.css +1 -0
  13. package/DateRange.vue_vue_type_style_index_0_scoped_25d03907_lang.css +1 -0
  14. package/DateRangeV4.vue_vue_type_style_index_0_scoped_f8826716_lang.css +1 -0
  15. package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_a6900fa6_lang.css +1 -0
  16. package/DialogV4.vue_vue_type_style_index_0_scoped_a6710278_lang.css +1 -0
  17. package/DropdownV4.vue_vue_type_style_index_0_scoped_526bf0a1_lang.css +1 -0
  18. package/FormCard.vue_vue_type_style_index_0_scoped_98458a8f_lang.css +1 -0
  19. package/GroupOption.vue_vue_type_style_index_0_scoped_1e5170b3_lang.css +1 -0
  20. package/HelpText.vue_vue_type_style_index_0_scoped_641c2356_lang.css +1 -0
  21. package/IconV4.vue_vue_type_style_index_0_scoped_6683c5b5_lang.css +1 -0
  22. package/Link.vue_vue_type_style_index_0_scoped_fe0e7f6f_lang.css +1 -0
  23. package/MultiBar.vue_vue_type_style_index_0_scoped_c4395fb6_lang.css +1 -0
  24. package/PopoverV4.vue_vue_type_style_index_0_scoped_9ae00876_lang.css +1 -0
  25. package/RadioButtonV4.vue_vue_type_style_index_0_scoped_4f3c7037_lang.css +1 -0
  26. package/SectionDropdown.vue_vue_type_style_index_0_scoped_65877e48_lang.css +1 -0
  27. package/SwitchV4.vue_vue_type_style_index_0_scoped_b71a806e_lang.css +1 -0
  28. package/Tag.vue_vue_type_style_index_0_scoped_3a5abbc4_lang.css +1 -0
  29. package/TextAreaV4.vue_vue_type_style_index_0_scoped_0feea75e_lang.css +1 -0
  30. package/TextField.vue_vue_type_style_index_0_scoped_28fab783_lang.css +1 -0
  31. package/ThemeWrapper.vue_vue_type_style_index_1_lang.css +1 -1
  32. package/ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_0fc9ddf5_lang.css +1 -0
  33. package/TooltipV4.vue_vue_type_style_index_0_scoped_a8aebfee_lang.css +1 -0
  34. package/TooltipV4.vue_vue_type_style_index_1_lang.css +1 -1
  35. package/components/alert/Alert.vue.d.ts +3 -8
  36. package/components/alert/Alert.vue.js +2 -2
  37. package/components/alert/Alert.vue2.js +48 -46
  38. package/components/alert/index.d.ts +8 -27
  39. package/components/appHeader/AppHeader.vue.js +2 -2
  40. package/components/appHeader/AppHeader.vue2.js +44 -45
  41. package/components/button/v4/ButtonV4.vue.js +4 -4
  42. package/components/button/v4/ButtonV4.vue2.js +1 -1
  43. package/components/button/v4/ToggleButtonGroupAB.vue.js +2 -2
  44. package/components/button/v4/ToggleButtonGroupAB.vue2.js +1 -1
  45. package/components/chart/Chart.vue.d.ts +5 -0
  46. package/components/chart/Chart.vue.js +3 -3
  47. package/components/chart/Chart.vue2.js +17 -15
  48. package/components/chart/ChartHeader.vue.js +2 -2
  49. package/components/chart/ChartHeader.vue2.js +2 -2
  50. package/components/chart/composables/useChartHeight.d.ts +1 -1
  51. package/components/chart/composables/useChartHeight.js +16 -15
  52. package/components/chart/index.d.ts +20 -1
  53. package/components/chart/types.d.ts +1 -0
  54. package/components/checkbox/v4/CheckboxV4.vue.js +3 -3
  55. package/components/checkbox/v4/CheckboxV4.vue2.js +60 -79
  56. package/components/checkbox/v4/icons/CheckedState.vue.js +11 -11
  57. package/components/checkbox/v4/icons/IndeterminateState.vue.js +7 -7
  58. package/components/checkbox/v4/icons/UncheckedState.vue.d.ts +28 -1
  59. package/components/checkbox/v4/icons/UncheckedState.vue.js +23 -21
  60. package/components/checkbox/v4/icons/UncheckedState.vue2.js +4 -0
  61. package/components/chip/v4/ChipV4.vue.js +3 -3
  62. package/components/chip/v4/ChipV4.vue2.js +1 -1
  63. package/components/columnConfigurator/SectionDropdown.vue.js +3 -3
  64. package/components/columnConfigurator/SectionDropdown.vue2.js +6 -7
  65. package/components/columnPicker/ColumnPicker.vue.d.ts +2 -0
  66. package/components/columnPicker/ColumnPicker.vue.js +3 -3
  67. package/components/columnPicker/ColumnPicker.vue2.js +173 -153
  68. package/components/columnPicker/index.d.ts +7 -1
  69. package/components/dateRange/common/CalendarMonth.common.js +46 -41
  70. package/components/dateRange/common/DateRange.common.d.ts +1 -0
  71. package/components/dateRange/common/DateRange.common.js +39 -38
  72. package/components/dateRange/common/consts.common.d.ts +5 -0
  73. package/components/dateRange/common/consts.common.js +9 -0
  74. package/components/dateRange/v3/CalendarMonth.vue.d.ts +5 -0
  75. package/components/dateRange/v3/CalendarMonth.vue.js +3 -3
  76. package/components/dateRange/v3/CalendarMonth.vue2.js +6 -5
  77. package/components/dateRange/v3/DateRange.vue.d.ts +8 -3
  78. package/components/dateRange/v3/DateRange.vue.js +2 -2
  79. package/components/dateRange/v3/DateRange.vue2.js +2 -1
  80. package/components/dateRange/v3/DateRangePicker.vue.d.ts +3 -3
  81. package/components/dateRange/v3/index.d.ts +27 -8
  82. package/components/dateRange/v4/CalendarMonthV4.vue.d.ts +5 -0
  83. package/components/dateRange/v4/CalendarMonthV4.vue.js +4 -4
  84. package/components/dateRange/v4/CalendarMonthV4.vue2.js +12 -11
  85. package/components/dateRange/v4/DateRangePickerV4.vue.d.ts +3 -3
  86. package/components/dateRange/v4/DateRangeV4.vue.d.ts +8 -3
  87. package/components/dateRange/v4/DateRangeV4.vue.js +3 -3
  88. package/components/dateRange/v4/DateRangeV4.vue2.js +104 -101
  89. package/components/dateRange/v4/index.d.ts +27 -8
  90. package/components/dialog/v4/DialogV4.vue.js +4 -4
  91. package/components/dialog/v4/DialogV4.vue2.js +1 -1
  92. package/components/dropdown/v4/AppDropdownTrigger.vue.js +3 -3
  93. package/components/dropdown/v4/AppDropdownTrigger.vue2.js +1 -1
  94. package/components/dropdown/v4/ButtonDropdownTrigger.vue.d.ts +1 -1
  95. package/components/dropdown/v4/DefaultDropdownTrigger.vue.js +3 -3
  96. package/components/dropdown/v4/DefaultDropdownTrigger.vue2.js +1 -1
  97. package/components/dropdown/v4/DropdownV4.vue.js +3 -3
  98. package/components/dropdown/v4/DropdownV4.vue2.js +2 -2
  99. package/components/dropdown/v4/GroupOption.vue.js +3 -3
  100. package/components/dropdown/v4/GroupOption.vue2.js +1 -1
  101. package/components/forms/FormCard.vue.js +3 -3
  102. package/components/forms/FormCard.vue2.js +5 -5
  103. package/components/helpText/HelpText.vue.d.ts +68 -0
  104. package/components/helpText/HelpText.vue.js +7 -0
  105. package/components/helpText/HelpText.vue2.js +45 -0
  106. package/components/helpText/index.d.ts +190 -0
  107. package/components/helpText/index.js +6 -0
  108. package/components/icon/v4/IconV4.vue.d.ts +5 -0
  109. package/components/icon/v4/IconV4.vue.js +2 -2
  110. package/components/icon/v4/IconV4.vue2.js +27 -26
  111. package/components/icon/v4/index.d.ts +20 -1
  112. package/components/input/v4/TextField.vue.js +2 -2
  113. package/components/input/v4/TextField.vue2.js +1 -1
  114. package/components/link/Link.vue.d.ts +3 -3
  115. package/components/link/Link.vue.js +5 -5
  116. package/components/link/Link.vue2.js +1 -1
  117. package/components/link/index.d.ts +7 -7
  118. package/components/multibar/MultiBar.vue.js +3 -3
  119. package/components/multibar/MultiBar.vue2.js +1 -1
  120. package/components/popover/v4/PopoverV4.vue.d.ts +14 -0
  121. package/components/popover/v4/PopoverV4.vue.js +2 -2
  122. package/components/popover/v4/PopoverV4.vue2.js +11 -9
  123. package/components/popover/v4/index.d.ts +41 -1
  124. package/components/radioButton/v4/RadioButtonV4.vue.js +3 -3
  125. package/components/radioButton/v4/RadioButtonV4.vue2.js +1 -1
  126. package/components/switch/v4/SwitchV4.vue.d.ts +5 -0
  127. package/components/switch/v4/SwitchV4.vue.js +4 -4
  128. package/components/switch/v4/SwitchV4.vue2.js +14 -13
  129. package/components/switch/v4/index.d.ts +9 -0
  130. package/components/table/v4/DataGrid.vue.d.ts +2 -0
  131. package/components/table/v4/DataGrid.vue.js +4 -4
  132. package/components/table/v4/DataGrid.vue2.js +82 -80
  133. package/components/table/v4/index.d.ts +7 -1
  134. package/components/tag/Tag.vue.d.ts +126 -0
  135. package/components/tag/Tag.vue.js +7 -0
  136. package/components/tag/Tag.vue2.js +249 -0
  137. package/components/tag/index.d.ts +183 -0
  138. package/components/tag/index.js +6 -0
  139. package/components/tagsField/index.d.ts +42 -3
  140. package/components/tagsField/index.js +6 -4
  141. package/components/textArea/v4/TextAreaV4.vue.js +3 -3
  142. package/components/textArea/v4/TextAreaV4.vue2.js +1 -1
  143. package/components/tooltip/v4/TooltipV4.vue.d.ts +5 -0
  144. package/components/tooltip/v4/TooltipV4.vue.js +2 -2
  145. package/components/tooltip/v4/TooltipV4.vue2.js +76 -36
  146. package/components/tooltip/v4/index.d.ts +20 -1
  147. package/design-foundation.stories/colors/ColorsData.d.ts +52 -47
  148. package/index.d.ts +270 -44
  149. package/index.js +108 -98
  150. package/package.json +12 -3
  151. package/style/v4/colors.scss +89 -84
  152. package/style/v4/grid.css +1 -1
  153. package/style/v4/grid.css.map +1 -1
  154. package/testids/index.d.ts +4 -0
  155. package/testids/index.js +38 -37
  156. package/Alert.vue_vue_type_style_index_0_scoped_06e0871a_lang.css +0 -1
  157. package/AppDropdownTrigger.vue_vue_type_style_index_0_scoped_858cefbf_lang.css +0 -1
  158. package/AppHeader.vue_vue_type_style_index_0_scoped_538ccdc6_lang.css +0 -1
  159. package/ButtonV4.vue_vue_type_style_index_0_scoped_852be7ec_lang.css +0 -1
  160. package/CalendarMonth.vue_vue_type_style_index_0_scoped_acd3440c_lang.css +0 -1
  161. package/CalendarMonthV4.vue_vue_type_style_index_0_scoped_b0d3ea50_lang.css +0 -1
  162. package/Chart.vue_vue_type_style_index_0_scoped_22477735_lang.css +0 -1
  163. package/ChartHeader.vue_vue_type_style_index_0_scoped_9a603520_lang.css +0 -1
  164. package/CheckboxV4.vue_vue_type_style_index_0_scoped_af4ae3c3_lang.css +0 -1
  165. package/ChipV4.vue_vue_type_style_index_0_scoped_a4d3a12e_lang.css +0 -1
  166. package/ColumnPicker.vue_vue_type_style_index_0_scoped_ea8c7024_lang.css +0 -1
  167. package/DataGrid.vue_vue_type_style_index_0_scoped_cd41c5ca_lang.css +0 -1
  168. package/DateRange.vue_vue_type_style_index_0_scoped_70e316e9_lang.css +0 -1
  169. package/DateRangeV4.vue_vue_type_style_index_0_scoped_a849128a_lang.css +0 -1
  170. package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_3bc0f416_lang.css +0 -1
  171. package/DialogV4.vue_vue_type_style_index_0_scoped_cc99f1e3_lang.css +0 -1
  172. package/DropdownV4.vue_vue_type_style_index_0_scoped_445ebb01_lang.css +0 -1
  173. package/FormCard.vue_vue_type_style_index_0_scoped_86feae7b_lang.css +0 -1
  174. package/GroupOption.vue_vue_type_style_index_0_scoped_5f372a81_lang.css +0 -1
  175. package/IconV4.vue_vue_type_style_index_0_scoped_dc433d48_lang.css +0 -1
  176. package/Link.vue_vue_type_style_index_0_scoped_1a766750_lang.css +0 -1
  177. package/MultiBar.vue_vue_type_style_index_0_scoped_71617643_lang.css +0 -1
  178. package/PopoverV4.vue_vue_type_style_index_0_scoped_66694b4e_lang.css +0 -1
  179. package/RadioButtonV4.vue_vue_type_style_index_0_scoped_05c7bca2_lang.css +0 -1
  180. package/SectionDropdown.vue_vue_type_style_index_0_scoped_cfad60a8_lang.css +0 -1
  181. package/SwitchV4.vue_vue_type_style_index_0_scoped_cd6621a7_lang.css +0 -1
  182. package/TextAreaV4.vue_vue_type_style_index_0_scoped_4114ef89_lang.css +0 -1
  183. package/TextField.vue_vue_type_style_index_0_scoped_3b7a3661_lang.css +0 -1
  184. package/ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_2076b5ab_lang.css +0 -1
  185. package/TooltipV4.vue_vue_type_style_index_0_scoped_8a451e54_lang.css +0 -1
  186. package/components/checkbox/v4/icons/CheckedDisabledState.vue.d.ts +0 -29
  187. package/components/checkbox/v4/icons/CheckedDisabledState.vue.js +0 -45
  188. package/components/checkbox/v4/icons/CheckedDisabledState.vue2.js +0 -4
  189. package/components/checkbox/v4/icons/IndeterminateDisabledState.vue.d.ts +0 -2
  190. package/components/checkbox/v4/icons/IndeterminateDisabledState.vue.js +0 -40
  191. package/components/checkbox/v4/icons/UncheckedDisabledState.vue.d.ts +0 -2
  192. package/components/checkbox/v4/icons/UncheckedDisabledState.vue.js +0 -30
@@ -0,0 +1,249 @@
1
+ import "../../Tag.vue_vue_type_style_index_0_scoped_3a5abbc4_lang.css"; import { defineComponent as Y, ref as c, computed as d, watch as I, nextTick as R, openBlock as m, createBlock as M, unref as t, withCtx as b, createVNode as z, createTextVNode as P, toDisplayString as S, normalizeClass as h, normalizeStyle as $, withModifiers as g, createElementVNode as Z, createCommentVNode as H, withDirectives as K, createElementBlock as O, isRef as _, withKeys as D, vModelText as ee, vShow as ae } from "vue";
2
+ import W from "../typography/v4/Typography.vue.js";
3
+ import F from "../icon/v4/IconV4.vue.js";
4
+ import "../icon/v4/IconFlag.vue.js";
5
+ import te from "../chip/v4/ChipV4.vue.js";
6
+ import le from "../tooltip/v4/TooltipV4.vue.js";
7
+ const re = { class: "tag-content" }, ie = ["placeholder", "maxlength", "onKeyup"], ce = /* @__PURE__ */ Y({
8
+ __name: "Tag",
9
+ props: {
10
+ label: { default: "" },
11
+ isSelected: { type: Boolean },
12
+ isInvalid: { type: Boolean, default: !1 },
13
+ testId: { default: "" },
14
+ size: { default: "medium" },
15
+ rounded: { type: Boolean, default: !1 },
16
+ disabled: { type: Boolean, default: !1 },
17
+ color: { default: "primary" },
18
+ variant: { default: "filled" },
19
+ placeholder: { default: "" },
20
+ iconName: { default: "" },
21
+ iconType: { default: "regular" },
22
+ editable: { type: Boolean, default: !1 },
23
+ selectable: { type: Boolean, default: !0 },
24
+ maxLength: { default: void 0 },
25
+ maxLengthTooltip: { default: "Character limit reached" },
26
+ validationPattern: { default: "" },
27
+ validationErrorText: { default: "Invalid format" }
28
+ },
29
+ emits: ["update:label", "remove", "stopEditing", "update:isSelected", "validationError", "validationSuccess"],
30
+ setup(a, { emit: u }) {
31
+ const e = a, r = c(!1), k = c(null), x = c(void 0), T = c(!1), s = c(!1), o = c(e.isSelected || e.editable), y = d(() => {
32
+ if (!e.validationPattern || !l.value)
33
+ return !0;
34
+ try {
35
+ return new RegExp(e.validationPattern).test(l.value);
36
+ } catch {
37
+ return !0;
38
+ }
39
+ }), v = d(() => !y.value && r.value && l.value), B = d(() => !e.label && !r.value && e.placeholder), w = d(() => e.maxLength && l.value.length >= e.maxLength && r.value), p = d(() => e.disabled || !e.selectable || r.value ? "outlined" : s.value ? "filled" : !o.value && !e.editable ? "outlined" : e.variant), U = d(() => e.disabled ? "default" : e.isInvalid || v.value ? "error" : o.value || !o.value && e.editable || !e.selectable ? e.color : "default"), l = d({
40
+ get: () => e.label,
41
+ set: (n) => {
42
+ u("update:label", n);
43
+ }
44
+ });
45
+ I(
46
+ () => [l.value, r.value],
47
+ () => {
48
+ e.validationPattern && r.value && l.value && (y.value ? u("validationSuccess") : u("validationError", e.validationErrorText));
49
+ }
50
+ );
51
+ const L = c(null), C = () => L.value?.focus(), j = () => {
52
+ u("remove");
53
+ }, q = async () => {
54
+ e.disabled || !e.selectable || (e.editable ? (r.value = !0, await R(), C()) : (o.value = !o.value, u("update:isSelected", o.value)));
55
+ }, A = () => {
56
+ if (e.validationPattern && l.value && !y.value) {
57
+ setTimeout(() => {
58
+ C();
59
+ }, 0);
60
+ return;
61
+ }
62
+ E();
63
+ }, E = () => {
64
+ if (e.validationPattern && l.value && !y.value) {
65
+ setTimeout(() => {
66
+ C();
67
+ }, 0);
68
+ return;
69
+ }
70
+ r.value = !1, !l.value && !e.placeholder && u("remove"), u("stopEditing");
71
+ };
72
+ I(
73
+ () => [l.value, e.placeholder, r.value],
74
+ async () => {
75
+ await R(), r.value && k.value ? x.value = k.value.offsetWidth + "px" : x.value = void 0;
76
+ },
77
+ { immediate: !0 }
78
+ ), I(
79
+ () => e.editable,
80
+ () => {
81
+ e.editable && (o.value = !0);
82
+ }
83
+ );
84
+ const V = {
85
+ default: "var(--default-outlined-border)",
86
+ primary: "var(--primary-main)",
87
+ info: "var(--info-dark)",
88
+ error: "var(--error-main)",
89
+ warning: "var(--warning-main)",
90
+ success: "var(--success-main)",
91
+ dark: "var(--common-divider)"
92
+ }, N = {
93
+ default: "var(--action-active)",
94
+ primary: "var(--primary-dark)",
95
+ info: "var(--info-dark)",
96
+ error: "var(--error-dark)",
97
+ warning: "var(--warning-dark)",
98
+ success: "var(--success-dark)",
99
+ dark: "var(--common-divider)"
100
+ }, G = {
101
+ default: "var(--action-active)",
102
+ primary: "var(--primary-darker)",
103
+ info: "var(--info-darker)",
104
+ error: "var(--error-darker)",
105
+ warning: "var(--warning-darker)",
106
+ success: "var(--success-darker)",
107
+ dark: "var(--common-divider)"
108
+ }, J = d(() => {
109
+ if (e.disabled)
110
+ return "var(--action-disabled)";
111
+ const n = e.isInvalid ? "error" : e.color;
112
+ return T.value ? G[n] : N[n];
113
+ }), Q = d(() => {
114
+ if (e.disabled)
115
+ return "var(--action-disabled)";
116
+ const n = e.isInvalid ? "error" : e.color;
117
+ return o.value || !e.selectable ? N[n] : "var(--action-active)";
118
+ }), X = d(() => {
119
+ if (e.editable && e.variant !== "outlined" || !e.selectable) {
120
+ const n = r.value ? V[e.color] : "var(--primary-main-50-p)";
121
+ return {
122
+ "--outline-color": e.isInvalid ? V.error : n
123
+ };
124
+ }
125
+ return s.value && e.variant !== "outlined" && e.color === "primary" && !e.editable ? {
126
+ "--outline-color": o.value ? "var(--primary-main-50-p)" : "var(--action-active)"
127
+ } : {};
128
+ });
129
+ return (n, i) => (m(), M(t(le), {
130
+ placement: "top",
131
+ text: t(v) ? a.validationErrorText : a.maxLengthTooltip,
132
+ "is-open": t(w) || t(v),
133
+ shown: t(w) || t(v).length > 0,
134
+ disabled: !t(w) && !t(v),
135
+ trigger: "click",
136
+ distance: 10,
137
+ skidding: 10
138
+ }, {
139
+ tooltip: b(() => [
140
+ z(t(W), { variant: "body2" }, {
141
+ default: b(() => [
142
+ P(S(t(v) ? a.validationErrorText : a.maxLengthTooltip), 1)
143
+ ]),
144
+ _: 1
145
+ })
146
+ ]),
147
+ default: b(() => [
148
+ z(t(te), {
149
+ class: h({
150
+ "rounded-tag": a.rounded,
151
+ "tag-editing": r.value && t(p) !== "outlined",
152
+ // outlined chips have an outline
153
+ "tag-hover-outline": a.label && s.value && t(p) !== "outlined",
154
+ // outlined chips have an outline
155
+ "unselected-tag-hover-outline": a.label && s.value && t(p) !== "outlined" && !o.value && !a.editable,
156
+ // for unselected tags that are not editable, we want to show a hover outline
157
+ "tag-disabled": a.disabled,
158
+ "empty-tag": t(B),
159
+ "unselected-tag": !o.value && a.selectable && a.label && !s.value,
160
+ "editable-tag": a.editable && !a.disabled
161
+ }),
162
+ label: t(l),
163
+ "test-id": a.testId,
164
+ color: t(U),
165
+ size: a.size,
166
+ variant: t(p),
167
+ disabled: a.disabled,
168
+ style: $(t(X)),
169
+ onMouseover: i[4] || (i[4] = (f) => s.value = !0),
170
+ onMouseleave: i[5] || (i[5] = (f) => s.value = !1),
171
+ onClick: g(q, ["stop"])
172
+ }, {
173
+ default: b(() => [
174
+ Z("div", re, [
175
+ a.iconName ? (m(), M(t(F), {
176
+ key: 0,
177
+ name: a.iconName,
178
+ size: "16px",
179
+ color: t(Q),
180
+ class: "tag-icon",
181
+ type: a.iconType
182
+ }, null, 8, ["name", "color", "type"])) : H("", !0),
183
+ r.value ? K((m(), O("input", {
184
+ key: 2,
185
+ ref_key: "inputRef",
186
+ ref: L,
187
+ "onUpdate:modelValue": i[0] || (i[0] = (f) => _(l) ? l.value = f : null),
188
+ placeholder: a.placeholder,
189
+ class: h(["tag-input", { "tag-input-outline": a.variant === "outlined" }]),
190
+ spellcheck: "false",
191
+ style: $({ width: x.value }),
192
+ maxlength: a.maxLength,
193
+ onBlur: A,
194
+ onKeyup: [
195
+ D(g(E, ["prevent"]), ["enter"]),
196
+ D(g(E, ["prevent"]), ["esc"])
197
+ ]
198
+ }, null, 46, ie)), [
199
+ [
200
+ ee,
201
+ t(l),
202
+ void 0,
203
+ { trim: !0 }
204
+ ]
205
+ ]) : (m(), M(t(W), {
206
+ key: 1,
207
+ variant: "chipLabel",
208
+ class: h(["tag-label", {
209
+ "tag-label--placeholder": !t(l) && a.placeholder,
210
+ "tag-label--disabled": a.disabled
211
+ }])
212
+ }, {
213
+ default: b(() => [
214
+ P(S(t(l) || a.placeholder), 1)
215
+ ]),
216
+ _: 1
217
+ }, 8, ["class"])),
218
+ r.value ? (m(), O("span", {
219
+ key: 3,
220
+ ref_key: "sizerRef",
221
+ ref: k,
222
+ class: "tag-input-sizer"
223
+ }, S(t(l) || a.placeholder || ""), 513)) : H("", !0)
224
+ ]),
225
+ K(z(t(F), {
226
+ class: h(["clear-button", { "clear-button--invalid": a.isInvalid || t(v) }]),
227
+ name: "x-circle",
228
+ size: "16px",
229
+ type: "fill",
230
+ color: t(J),
231
+ onMousedown: i[1] || (i[1] = g(() => {
232
+ }, ["prevent"])),
233
+ onMouseover: i[2] || (i[2] = (f) => T.value = !0),
234
+ onMouseleave: i[3] || (i[3] = (f) => T.value = !1),
235
+ onClick: g(j, ["stop"])
236
+ }, null, 8, ["class", "color", "onClick"]), [
237
+ [ae, a.editable && a.selectable && (r.value || !t(B))]
238
+ ])
239
+ ]),
240
+ _: 1
241
+ }, 8, ["class", "label", "test-id", "color", "size", "variant", "disabled", "style", "onClick"])
242
+ ]),
243
+ _: 1
244
+ }, 8, ["text", "is-open", "shown", "disabled"]));
245
+ }
246
+ });
247
+ export {
248
+ ce as default
249
+ };
@@ -0,0 +1,183 @@
1
+ import Tag from './Tag.vue';
2
+ declare const TagTypes: () => import("vue").DefineComponent<{
3
+ label: {
4
+ type: import("vue").PropType<string>;
5
+ required: true;
6
+ default: string;
7
+ };
8
+ testId: {
9
+ type: import("vue").PropType<string>;
10
+ default: string;
11
+ };
12
+ variant: {
13
+ type: import("vue").PropType<"filled" | "outlined">;
14
+ default: string;
15
+ };
16
+ disabled: {
17
+ type: import("vue").PropType<boolean>;
18
+ default: boolean;
19
+ };
20
+ color: {
21
+ type: import("vue").PropType<"dark" | "default" | "primary" | "info" | "success" | "warning" | "error">;
22
+ default: string;
23
+ };
24
+ size: {
25
+ type: import("vue").PropType<"small" | "medium">;
26
+ default: string;
27
+ };
28
+ iconName: {
29
+ type: import("vue").PropType<string>;
30
+ default: string;
31
+ };
32
+ rounded: {
33
+ type: import("vue").PropType<boolean>;
34
+ default: boolean;
35
+ };
36
+ maxLength: {
37
+ type: import("vue").PropType<number>;
38
+ default: any;
39
+ };
40
+ placeholder: {
41
+ type: import("vue").PropType<string>;
42
+ default: string;
43
+ };
44
+ isSelected: {
45
+ type: import("vue").PropType<boolean>;
46
+ required: true;
47
+ };
48
+ iconType: {
49
+ type: import("vue").PropType<"fill" | "regular">;
50
+ default: string;
51
+ };
52
+ editable: {
53
+ type: import("vue").PropType<boolean>;
54
+ default: boolean;
55
+ };
56
+ isInvalid: {
57
+ type: import("vue").PropType<boolean>;
58
+ default: boolean;
59
+ };
60
+ selectable: {
61
+ type: import("vue").PropType<boolean>;
62
+ default: boolean;
63
+ };
64
+ maxLengthTooltip: {
65
+ type: import("vue").PropType<string>;
66
+ default: string;
67
+ };
68
+ validationPattern: {
69
+ type: import("vue").PropType<string>;
70
+ default: string;
71
+ };
72
+ validationErrorText: {
73
+ type: import("vue").PropType<string>;
74
+ default: string;
75
+ };
76
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
77
+ "update:label": (value: string) => void;
78
+ remove: () => void;
79
+ stopEditing: () => void;
80
+ "update:isSelected": (value: boolean) => void;
81
+ validationError: (value: string) => void;
82
+ validationSuccess: () => void;
83
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
84
+ label: {
85
+ type: import("vue").PropType<string>;
86
+ required: true;
87
+ default: string;
88
+ };
89
+ testId: {
90
+ type: import("vue").PropType<string>;
91
+ default: string;
92
+ };
93
+ variant: {
94
+ type: import("vue").PropType<"filled" | "outlined">;
95
+ default: string;
96
+ };
97
+ disabled: {
98
+ type: import("vue").PropType<boolean>;
99
+ default: boolean;
100
+ };
101
+ color: {
102
+ type: import("vue").PropType<"dark" | "default" | "primary" | "info" | "success" | "warning" | "error">;
103
+ default: string;
104
+ };
105
+ size: {
106
+ type: import("vue").PropType<"small" | "medium">;
107
+ default: string;
108
+ };
109
+ iconName: {
110
+ type: import("vue").PropType<string>;
111
+ default: string;
112
+ };
113
+ rounded: {
114
+ type: import("vue").PropType<boolean>;
115
+ default: boolean;
116
+ };
117
+ maxLength: {
118
+ type: import("vue").PropType<number>;
119
+ default: any;
120
+ };
121
+ placeholder: {
122
+ type: import("vue").PropType<string>;
123
+ default: string;
124
+ };
125
+ isSelected: {
126
+ type: import("vue").PropType<boolean>;
127
+ required: true;
128
+ };
129
+ iconType: {
130
+ type: import("vue").PropType<"fill" | "regular">;
131
+ default: string;
132
+ };
133
+ editable: {
134
+ type: import("vue").PropType<boolean>;
135
+ default: boolean;
136
+ };
137
+ isInvalid: {
138
+ type: import("vue").PropType<boolean>;
139
+ default: boolean;
140
+ };
141
+ selectable: {
142
+ type: import("vue").PropType<boolean>;
143
+ default: boolean;
144
+ };
145
+ maxLengthTooltip: {
146
+ type: import("vue").PropType<string>;
147
+ default: string;
148
+ };
149
+ validationPattern: {
150
+ type: import("vue").PropType<string>;
151
+ default: string;
152
+ };
153
+ validationErrorText: {
154
+ type: import("vue").PropType<string>;
155
+ default: string;
156
+ };
157
+ }>> & {
158
+ onRemove?: () => any;
159
+ "onUpdate:label"?: (value: string) => any;
160
+ onStopEditing?: () => any;
161
+ "onUpdate:isSelected"?: (value: boolean) => any;
162
+ onValidationError?: (value: string) => any;
163
+ onValidationSuccess?: () => any;
164
+ }, {
165
+ label: string;
166
+ testId: string;
167
+ variant: "filled" | "outlined";
168
+ disabled: boolean;
169
+ color: "dark" | "default" | "primary" | "info" | "success" | "warning" | "error";
170
+ size: "small" | "medium";
171
+ iconName: string;
172
+ rounded: boolean;
173
+ maxLength: number;
174
+ placeholder: string;
175
+ iconType: "fill" | "regular";
176
+ editable: boolean;
177
+ isInvalid: boolean;
178
+ selectable: boolean;
179
+ maxLengthTooltip: string;
180
+ validationPattern: string;
181
+ validationErrorText: string;
182
+ }>[];
183
+ export { Tag, TagTypes };
@@ -0,0 +1,6 @@
1
+ import o from "./Tag.vue.js";
2
+ const r = () => [o];
3
+ export {
4
+ o as Tag,
5
+ r as TagTypes
6
+ };
@@ -1,5 +1,44 @@
1
1
  import TagsField from './TagsField.vue';
2
- declare const TagsFieldTypes: () => import("vue").DefineComponent<{
2
+ import TagsFieldChip from './TagsFieldChip.vue';
3
+ declare const TagsFieldTypes: () => (import("vue").DefineComponent<{
4
+ label: {
5
+ type: import("vue").PropType<string>;
6
+ required: true;
7
+ default: string;
8
+ };
9
+ testId: {
10
+ type: import("vue").PropType<string>;
11
+ default: string;
12
+ };
13
+ isInvalid: {
14
+ type: import("vue").PropType<boolean>;
15
+ default: boolean;
16
+ };
17
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
18
+ "update:label": (value: string) => void;
19
+ remove: () => void;
20
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
21
+ label: {
22
+ type: import("vue").PropType<string>;
23
+ required: true;
24
+ default: string;
25
+ };
26
+ testId: {
27
+ type: import("vue").PropType<string>;
28
+ default: string;
29
+ };
30
+ isInvalid: {
31
+ type: import("vue").PropType<boolean>;
32
+ default: boolean;
33
+ };
34
+ }>> & {
35
+ onRemove?: () => any;
36
+ "onUpdate:label"?: (value: string) => any;
37
+ }, {
38
+ label: string;
39
+ testId: string;
40
+ isInvalid: boolean;
41
+ }> | import("vue").DefineComponent<{
3
42
  testId: {
4
43
  type: import("vue").PropType<string>;
5
44
  default: string;
@@ -71,5 +110,5 @@ declare const TagsFieldTypes: () => import("vue").DefineComponent<{
71
110
  feedbackText: string;
72
111
  feedbackVariant: "success" | "warning" | "error";
73
112
  showFeedbackTextIcon: boolean;
74
- }>[];
75
- export { TagsField, TagsFieldTypes };
113
+ }>)[];
114
+ export { TagsField, TagsFieldChip, TagsFieldTypes };
@@ -1,6 +1,8 @@
1
- import e from "./TagsField.vue.js";
2
- const s = () => [e];
1
+ import i from "./TagsField.vue.js";
2
+ import o from "./TagsFieldChip.vue.js";
3
+ const r = () => [i, o];
3
4
  export {
4
- e as TagsField,
5
- s as TagsFieldTypes
5
+ i as TagsField,
6
+ o as TagsFieldChip,
7
+ r as TagsFieldTypes
6
8
  };
@@ -1,7 +1,7 @@
1
1
  import e from "./TextAreaV4.vue2.js";
2
2
  /* empty css */import o from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../TextAreaV4.vue_vue_type_style_index_0_scoped_4114ef89_lang.css"; //*');
4
- const p = /* @__PURE__ */ o(e, [["__scopeId", "data-v-4114ef89"]]);
3
+ // import "../../../TextAreaV4.vue_vue_type_style_index_0_scoped_0feea75e_lang.css"; //*');
4
+ const a = /* @__PURE__ */ o(e, [["__scopeId", "data-v-0feea75e"]]);
5
5
  export {
6
- p as default
6
+ a as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import "../../../TextAreaV4.vue_vue_type_style_index_0_scoped_4114ef89_lang.css"; import { defineComponent as f, computed as b, openBlock as t, createElementBlock as r, mergeProps as c, unref as a, createBlock as d, createCommentVNode as l, createElementVNode as g } from "vue";
1
+ import "../../../TextAreaV4.vue_vue_type_style_index_0_scoped_0feea75e_lang.css"; import { defineComponent as f, computed as b, openBlock as t, createElementBlock as r, mergeProps as c, unref as a, createBlock as d, createCommentVNode as l, createElementVNode as g } from "vue";
2
2
  import v from "../../shared/FieldLabel.vue.js";
3
3
  import k from "../../shared/FieldMaxLength.vue.js";
4
4
  import T from "../../shared/FieldHelpText.vue.js";
@@ -14,6 +14,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
14
14
  shown?: boolean;
15
15
  autoHide?: boolean;
16
16
  dontWrapDisabled?: boolean;
17
+ maxWidth?: string;
17
18
  }>, {
18
19
  text: any;
19
20
  header: any;
@@ -29,6 +30,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
29
30
  shown: any;
30
31
  autoHide: boolean;
31
32
  dontWrapDisabled: boolean;
33
+ maxWidth: string;
32
34
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
33
35
  show: () => void;
34
36
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
@@ -46,6 +48,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
46
48
  shown?: boolean;
47
49
  autoHide?: boolean;
48
50
  dontWrapDisabled?: boolean;
51
+ maxWidth?: string;
49
52
  }>, {
50
53
  text: any;
51
54
  header: any;
@@ -61,6 +64,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
61
64
  shown: any;
62
65
  autoHide: boolean;
63
66
  dontWrapDisabled: boolean;
67
+ maxWidth: string;
64
68
  }>>> & {
65
69
  onShow?: () => any;
66
70
  }, {
@@ -78,6 +82,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
78
82
  shown: boolean;
79
83
  autoHide: boolean;
80
84
  dontWrapDisabled: boolean;
85
+ maxWidth: string;
81
86
  }>, {
82
87
  default?(_: {}): any;
83
88
  tooltip?(_: {
@@ -1,8 +1,8 @@
1
1
  import o from "./TooltipV4.vue2.js";
2
2
  /* empty css *//* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../TooltipV4.vue_vue_type_style_index_0_scoped_8a451e54_lang.css"; //*');
3
+ // import "../../../TooltipV4.vue_vue_type_style_index_0_scoped_a8aebfee_lang.css"; //*');
4
4
  // import "../../../TooltipV4.vue_vue_type_style_index_1_lang.css"; //');
5
- const l = /* @__PURE__ */ e(o, [["__scopeId", "data-v-8a451e54"]]);
5
+ const l = /* @__PURE__ */ e(o, [["__scopeId", "data-v-a8aebfee"]]);
6
6
  export {
7
7
  l as default
8
8
  };