@ironsource/shared-ui 2.0.0-rc.6 → 2.0.0-rc.8

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 (244) hide show
  1. package/Button.vue_vue_type_style_index_0_scoped_bfe31a93_lang.css +1 -0
  2. package/ButtonBase.vue_vue_type_style_index_0_scoped_9021cac4_lang.css +1 -0
  3. package/ButtonV4.vue_vue_type_style_index_0_scoped_31e553e8_lang.css +1 -0
  4. package/Checkbox.vue_vue_type_style_index_0_scoped_58dedb90_lang.css +1 -0
  5. package/CheckboxV4.vue_vue_type_style_index_0_scoped_ee3e6d82_lang.css +1 -0
  6. package/DataGrid.vue_vue_type_style_index_0_scoped_7a670808_lang.css +1 -0
  7. package/Dropdown.vue_vue_type_style_index_0_scoped_d4f8e790_lang.css +1 -0
  8. package/FilterDropdown.vue_vue_type_style_index_0_scoped_b42d8b45_lang.css +1 -0
  9. package/FilterSearchInput.vue_vue_type_style_index_0_scoped_51006ea0_lang.css +1 -0
  10. package/FiltersPanel.vue_vue_type_style_index_0_scoped_9d2f3413_lang.css +1 -0
  11. package/FiltersPanelV4.vue_vue_type_style_index_0_scoped_39061862_lang.css +1 -0
  12. package/IconButton.vue_vue_type_style_index_0_scoped_6dffd3f6_lang.css +1 -0
  13. package/IncludeExclude.vue_vue_type_style_index_0_scoped_2a01a791_lang.css +1 -0
  14. package/IncludeExcludeDragDrop.vue_vue_type_style_index_0_scoped_85bff8f4_lang.css +1 -0
  15. package/IncludeExcludeOption.vue_vue_type_style_index_0_scoped_91bc7787_lang.css +1 -0
  16. package/Label.vue_vue_type_style_index_0_scoped_48e00c04_lang.css +1 -0
  17. package/Option.vue_vue_type_style_index_0_scoped_3d6ce2fc_lang.css +1 -0
  18. package/OptionV4.vue_vue_type_style_index_0_scoped_92add735_lang.css +1 -0
  19. package/Popover.vue_vue_type_style_index_0_scoped_25eb53db_lang.css +1 -0
  20. package/RadioButton.vue_vue_type_style_index_0_scoped_3c6b715c_lang.css +1 -0
  21. package/RadioButtonV4.vue_vue_type_style_index_0_scoped_14be812e_lang.css +1 -0
  22. package/RadioGroup.vue_vue_type_style_index_0_scoped_3071ef24_lang.css +1 -0
  23. package/RadioGroupV4.vue_vue_type_style_index_0_scoped_f8e8cbab_lang.css +1 -0
  24. package/SearchInput.vue_vue_type_style_index_0_scoped_b256f8ef_lang.css +1 -0
  25. package/Snackbar.vue_vue_type_style_index_0_scoped_cec4f8e5_lang.css +1 -0
  26. package/SnackbarV4.vue_vue_type_style_index_0_scoped_48311746_lang.css +1 -0
  27. package/components/autocompleteDropdown/AutocompleteDropdown.vue.d.ts +1 -1
  28. package/components/autocompleteDropdown/AutocompleteDropdown.vue2.js +3 -3
  29. package/components/autocompleteDropdown/index.d.ts +1 -1
  30. package/components/button/v3/Button.vue.d.ts +8 -31
  31. package/components/button/v3/Button.vue.js +3 -3
  32. package/components/button/v3/Button.vue2.js +43 -75
  33. package/components/button/{common → v3}/ButtonBase.vue.d.ts +9 -9
  34. package/components/button/{common → v3}/ButtonBase.vue.js +3 -3
  35. package/components/button/{common → v3}/ButtonBase.vue2.js +3 -3
  36. package/components/button/v3/IconButton.vue.js +2 -2
  37. package/components/button/v3/IconButton.vue2.js +4 -4
  38. package/components/button/v3/LoaderCircleIcon.vue2.js +0 -0
  39. package/components/button/v3/LoaderDotsIcon.vue2.js +0 -0
  40. package/components/button/v3/index.d.ts +130 -0
  41. package/components/button/v4/ButtonV4.vue.d.ts +21 -6
  42. package/components/button/v4/ButtonV4.vue.js +4 -4
  43. package/components/button/v4/ButtonV4.vue2.js +41 -35
  44. package/components/button/v4/index.d.ts +72 -15
  45. package/components/checkbox/common/Checkbox.common.d.ts +11 -0
  46. package/components/checkbox/common/Checkbox.common.js +32 -0
  47. package/components/checkbox/v3/Checkbox.vue.js +7 -0
  48. package/components/checkbox/v3/Checkbox.vue2.js +99 -0
  49. package/components/checkbox/{icons → v3/icons}/checked.vue.js +1 -1
  50. package/components/checkbox/{icons → v3/icons}/indeterminate.vue.js +1 -1
  51. package/components/checkbox/{icons → v3/icons}/unchecked.vue.js +1 -1
  52. package/components/checkbox/v4/CheckboxV4.vue.d.ts +53 -0
  53. package/components/checkbox/v4/CheckboxV4.vue.js +7 -0
  54. package/components/checkbox/v4/CheckboxV4.vue2.js +107 -0
  55. package/components/checkbox/v4/icons/CheckedDisabledState.vue.js +38 -0
  56. package/components/checkbox/v4/icons/CheckedState.vue.d.ts +2 -0
  57. package/components/checkbox/v4/icons/CheckedState.vue.js +38 -0
  58. package/components/checkbox/v4/icons/IndeterminateDisabledState.vue.d.ts +2 -0
  59. package/components/checkbox/v4/icons/IndeterminateDisabledState.vue.js +40 -0
  60. package/components/checkbox/v4/icons/IndeterminateState.vue.d.ts +2 -0
  61. package/components/checkbox/v4/icons/IndeterminateState.vue.js +40 -0
  62. package/components/checkbox/v4/icons/UncheckedDisabledState.vue.d.ts +2 -0
  63. package/components/checkbox/v4/icons/UncheckedDisabledState.vue.js +31 -0
  64. package/components/checkbox/v4/icons/UncheckedState.vue.d.ts +2 -0
  65. package/components/checkbox/v4/icons/UncheckedState.vue.js +31 -0
  66. package/components/checkbox/v4/index.d.ts +152 -0
  67. package/components/checkbox/v4/index.js +6 -0
  68. package/components/chip/v3/Chip.vue.d.ts +1 -1
  69. package/components/chip/v3/index.d.ts +20 -20
  70. package/components/chip/v4/ChipV4.vue.d.ts +1 -1
  71. package/components/chip/v4/index.d.ts +20 -20
  72. package/components/dialog/v3/Dialog.vue.d.ts +1 -1
  73. package/components/dialog/v3/index.d.ts +4 -4
  74. package/components/dialog/v4/DialogV4.vue.d.ts +1 -1
  75. package/components/dialog/v4/index.d.ts +4 -4
  76. package/components/dropdown/v3/Dropdown.vue.d.ts +5 -5
  77. package/components/dropdown/v3/Dropdown.vue.js +2 -2
  78. package/components/dropdown/v3/Dropdown.vue2.js +5 -5
  79. package/components/dropdown/v3/Label.vue.js +7 -0
  80. package/components/dropdown/{common → v3}/Label.vue2.js +2 -2
  81. package/components/dropdown/v3/Option.vue.js +7 -0
  82. package/components/dropdown/{common → v3}/Option.vue2.js +3 -3
  83. package/components/dropdown/{common → v3}/SearchInput.vue.js +2 -2
  84. package/components/dropdown/{common → v3}/SearchInput.vue2.js +2 -2
  85. package/components/dropdown/v3/index.d.ts +62 -62
  86. package/components/dropdown/v3/index.js +3 -3
  87. package/components/dropdown/v4/ChipDropdownTrigger.vue.d.ts +1 -1
  88. package/components/dropdown/v4/DefaultDropdownTrigger.vue.d.ts +3 -3
  89. package/components/dropdown/v4/DropdownV4.vue.d.ts +2 -2
  90. package/components/dropdown/v4/OptionV4.vue.js +3 -3
  91. package/components/dropdown/v4/OptionV4.vue2.js +2 -2
  92. package/components/dropdown/v4/index.d.ts +111 -111
  93. package/components/emptyState/v3/EmptyState.vue.d.ts +3 -3
  94. package/components/emptyState/v3/index.d.ts +7 -7
  95. package/components/filterDropdown/FilterDropdown.vue.d.ts +1 -1
  96. package/components/filterDropdown/FilterDropdown.vue.js +2 -2
  97. package/components/filterDropdown/FilterDropdown.vue2.js +7 -7
  98. package/components/filterDropdown/index.d.ts +2 -2
  99. package/components/filtersPanel/v3/FilterSearchInput.vue.d.ts +2 -0
  100. package/components/filtersPanel/v3/FilterSearchInput.vue.js +7 -0
  101. package/components/filtersPanel/{FilterSearchInput.vue2.js → v3/FilterSearchInput.vue2.js} +6 -6
  102. package/components/filtersPanel/v3/FiltersPanel.vue.js +7 -0
  103. package/components/filtersPanel/{FiltersPanel.vue2.js → v3/FiltersPanel.vue2.js} +1 -1
  104. package/components/filtersPanel/v4/FiltersPanelV4.vue.d.ts +44 -0
  105. package/components/filtersPanel/v4/FiltersPanelV4.vue.js +7 -0
  106. package/components/filtersPanel/v4/FiltersPanelV4.vue2.js +23 -0
  107. package/components/filtersPanel/v4/index.d.ts +101 -0
  108. package/components/filtersPanel/v4/index.js +6 -0
  109. package/components/filtersPanel/v4/storyConsts.d.ts +20 -0
  110. package/components/icon/icons/FiltersSearch.vue.d.ts +2 -0
  111. package/components/icon/v3/icons/index.d.ts +3 -0
  112. package/components/icon/v3/icons/index.js +3 -0
  113. package/components/icon/v3/index.d.ts +3 -0
  114. package/components/includeExclude/IncludeExclude.vue.d.ts +2 -2
  115. package/components/includeExclude/IncludeExclude.vue.js +3 -3
  116. package/components/includeExclude/IncludeExclude.vue2.js +23 -24
  117. package/components/includeExclude/IncludeExcludeAppHeader.vue.d.ts +2 -2
  118. package/components/includeExclude/IncludeExcludeChipFilter.vue.d.ts +2 -2
  119. package/components/includeExclude/IncludeExcludeDragDrop.vue.d.ts +2 -2
  120. package/components/includeExclude/IncludeExcludeDragDrop.vue.js +3 -3
  121. package/components/includeExclude/IncludeExcludeDragDrop.vue2.js +31 -32
  122. package/components/includeExclude/IncludeExcludeOption.vue.js +5 -5
  123. package/components/includeExclude/IncludeExcludeOption.vue2.js +2 -2
  124. package/components/includeExclude/index.d.ts +135 -135
  125. package/components/input/v3/Input.vue.d.ts +3 -3
  126. package/components/input/v3/index.d.ts +82 -82
  127. package/components/input/v4/TextField.vue.d.ts +6 -6
  128. package/components/input/v4/index.d.ts +103 -103
  129. package/components/menu/Menu.vue.d.ts +1 -1
  130. package/components/menu/index.d.ts +20 -20
  131. package/components/multibar/MultiBar.vue.d.ts +1 -1
  132. package/components/multibar/index.d.ts +1 -1
  133. package/components/popover/Popover.vue.js +6 -36
  134. package/components/popover/Popover.vue2.js +36 -3
  135. package/components/popover/index.d.ts +16 -16
  136. package/components/popover/index.js +2 -3
  137. package/components/radioButton/common/radioGroup.common.d.ts +3 -0
  138. package/components/radioButton/common/radioGroup.common.js +26 -0
  139. package/components/radioButton/v3/RadioButton.vue.js +7 -0
  140. package/components/radioButton/v3/RadioButton.vue2.js +79 -0
  141. package/components/radioButton/v3/RadioGroup.vue.js +7 -0
  142. package/components/radioButton/v3/RadioGroup.vue2.js +29 -0
  143. package/components/radioButton/v4/RadioButtonV4.vue.d.ts +59 -0
  144. package/components/radioButton/v4/RadioButtonV4.vue.js +7 -0
  145. package/components/radioButton/v4/RadioButtonV4.vue2.js +67 -0
  146. package/components/radioButton/v4/RadioGroupV4.vue.d.ts +61 -0
  147. package/components/radioButton/v4/RadioGroupV4.vue.js +7 -0
  148. package/components/radioButton/v4/RadioGroupV4.vue2.js +29 -0
  149. package/components/radioButton/v4/index.d.ts +334 -0
  150. package/components/radioButton/v4/index.js +8 -0
  151. package/components/snackbar/common/notify.d.ts +3 -0
  152. package/components/snackbar/common/notify.js +82 -0
  153. package/components/snackbar/common/snackbar.common.d.ts +11 -0
  154. package/components/snackbar/common/snackbar.common.js +51 -0
  155. package/components/snackbar/v3/Snackbar.vue.js +7 -0
  156. package/components/snackbar/v3/Snackbar.vue2.js +129 -0
  157. package/components/snackbar/v3/index.d.ts +3 -0
  158. package/components/snackbar/v3/index.js +10 -0
  159. package/components/snackbar/v4/SnackbarV4.vue.d.ts +206 -0
  160. package/components/snackbar/v4/SnackbarV4.vue.js +7 -0
  161. package/components/snackbar/v4/SnackbarV4.vue2.js +137 -0
  162. package/components/snackbar/v4/index.d.ts +4 -0
  163. package/components/snackbar/v4/index.js +11 -0
  164. package/components/table/v3/index.d.ts +16 -16
  165. package/components/table/v4/DataGrid.vue.d.ts +1 -1
  166. package/components/table/v4/DataGrid.vue.js +2 -2
  167. package/components/table/v4/DataGrid.vue2.js +28 -29
  168. package/components/table/v4/index.d.ts +20 -20
  169. package/components/toggle/v3/Toggle.vue.d.ts +1 -1
  170. package/components/toggle/v3/index.d.ts +17 -17
  171. package/components/toggle/v4/ToggleV4.vue.d.ts +2 -2
  172. package/index.d.ts +2125 -828
  173. package/index.js +145 -152
  174. package/package.json +40 -15
  175. package/testids/index.d.ts +8 -0
  176. package/testids/index.js +14 -13
  177. package/Button.vue_vue_type_style_index_0_scoped_d92097c8_lang.css +0 -1
  178. package/ButtonBase.vue_vue_type_style_index_0_scoped_70baba59_lang.css +0 -1
  179. package/ButtonV4.vue_vue_type_style_index_0_scoped_43578f8c_lang.css +0 -1
  180. package/Checkbox.vue_vue_type_style_index_0_scoped_518c02d0_lang.css +0 -1
  181. package/DataGrid.vue_vue_type_style_index_0_scoped_f080f37f_lang.css +0 -1
  182. package/Dropdown.vue_vue_type_style_index_0_scoped_0114904e_lang.css +0 -1
  183. package/FilterDropdown.vue_vue_type_style_index_0_scoped_b25c5605_lang.css +0 -1
  184. package/FilterSearchInput.vue_vue_type_style_index_0_scoped_9198bf4e_lang.css +0 -1
  185. package/FiltersPanel.vue_vue_type_style_index_0_scoped_2996b384_lang.css +0 -1
  186. package/IconButton.vue_vue_type_style_index_0_scoped_2fe9bc4c_lang.css +0 -1
  187. package/IncludeExclude.vue_vue_type_style_index_0_scoped_2c9debd6_lang.css +0 -1
  188. package/IncludeExcludeDragDrop.vue_vue_type_style_index_0_scoped_ff32d111_lang.css +0 -1
  189. package/IncludeExcludeOption.vue_vue_type_style_index_0_scoped_4a87e4fd_lang.css +0 -1
  190. package/Label.vue_vue_type_style_index_0_scoped_5faaafce_lang.css +0 -1
  191. package/Option.vue_vue_type_style_index_0_scoped_2432f13f_lang.css +0 -1
  192. package/OptionV4.vue_vue_type_style_index_0_scoped_b879fe79_lang.css +0 -1
  193. package/RadioButton.vue_vue_type_style_index_0_scoped_f5d3359c_lang.css +0 -1
  194. package/RadioGroup.vue_vue_type_style_index_0_scoped_50bc6963_lang.css +0 -1
  195. package/SearchInput.vue_vue_type_style_index_0_scoped_0b1ea2f6_lang.css +0 -1
  196. package/Snackbar.vue_vue_type_style_index_0_scoped_d14230ca_lang.css +0 -1
  197. package/components/button/common/ButtonSuper.vue.d.ts +0 -52
  198. package/components/checkbox/Checkbox.vue.js +0 -7
  199. package/components/checkbox/Checkbox.vue2.js +0 -97
  200. package/components/dropdown/common/Label.vue.js +0 -7
  201. package/components/dropdown/common/Option.vue.js +0 -7
  202. package/components/filtersPanel/FilterSearchInput.vue.js +0 -7
  203. package/components/filtersPanel/FiltersPanel.vue.js +0 -7
  204. package/components/radioButton/RadioButton.vue.js +0 -7
  205. package/components/radioButton/RadioButton.vue2.js +0 -82
  206. package/components/radioButton/RadioGroup.vue.js +0 -7
  207. package/components/radioButton/RadioGroup.vue2.js +0 -44
  208. package/components/snackbar/Snackbar.vue.js +0 -7
  209. package/components/snackbar/Snackbar.vue2.js +0 -150
  210. package/components/snackbar/index.d.ts +0 -3
  211. package/components/snackbar/index.js +0 -6
  212. package/components/snackbar/notify.js +0 -84
  213. /package/{Popover.vue_vue_type_style_index_0_lang.css → Popover.vue_vue_type_style_index_1_lang.css} +0 -0
  214. /package/components/button/{consts.d.ts → common/consts.d.ts} +0 -0
  215. /package/components/button/{consts.js → common/consts.js} +0 -0
  216. /package/components/button/{icon → v3}/LoaderCircleIcon.vue.d.ts +0 -0
  217. /package/components/button/{icon → v3}/LoaderCircleIcon.vue.js +0 -0
  218. /package/components/button/{icon → v3}/LoaderDotsIcon.vue.d.ts +0 -0
  219. /package/components/button/{icon → v3}/LoaderDotsIcon.vue.js +0 -0
  220. /package/components/checkbox/{Checkbox.vue.d.ts → v3/Checkbox.vue.d.ts} +0 -0
  221. /package/components/checkbox/{icons → v3/icons}/checked.vue.d.ts +0 -0
  222. /package/components/checkbox/{icons → v3/icons}/indeterminate.vue.d.ts +0 -0
  223. /package/components/checkbox/{icons → v3/icons}/unchecked.vue.d.ts +0 -0
  224. /package/components/checkbox/{index.d.ts → v3/index.d.ts} +0 -0
  225. /package/components/checkbox/{index.js → v3/index.js} +0 -0
  226. /package/components/{filtersPanel/FilterSearchInput.vue.d.ts → checkbox/v4/icons/CheckedDisabledState.vue.d.ts} +0 -0
  227. /package/components/dropdown/{common → v3}/Label.vue.d.ts +0 -0
  228. /package/components/dropdown/{common → v3}/Option.vue.d.ts +0 -0
  229. /package/components/dropdown/{common → v3}/SearchInput.vue.d.ts +0 -0
  230. /package/components/filtersPanel/{Filter.d.ts → v3/Filter.d.ts} +0 -0
  231. /package/components/filtersPanel/{index.d.ts → v3/index.d.ts} +0 -0
  232. /package/components/filtersPanel/{index.js → v3/index.js} +0 -0
  233. /package/components/filtersPanel/{useHiddenFilter.d.ts → v3/useHiddenFilter.d.ts} +0 -0
  234. /package/components/filtersPanel/{useHiddenFilter.js → v3/useHiddenFilter.js} +0 -0
  235. /package/components/radioButton/{useRadio.d.ts → common/useRadio.d.ts} +0 -0
  236. /package/components/radioButton/{useRadio.js → common/useRadio.js} +0 -0
  237. /package/components/radioButton/{RadioButton.vue.d.ts → v3/RadioButton.vue.d.ts} +0 -0
  238. /package/components/radioButton/{RadioGroup.vue.d.ts → v3/RadioGroup.vue.d.ts} +0 -0
  239. /package/components/radioButton/{index.d.ts → v3/index.d.ts} +0 -0
  240. /package/components/radioButton/{index.js → v3/index.js} +0 -0
  241. /package/components/snackbar/{notify.d.ts → common/notify_old.d.ts} +0 -0
  242. /package/components/snackbar/{snackbar.types.d.ts → common/snackbar.types.d.ts} +0 -0
  243. /package/components/snackbar/{snackbar.types.js → common/snackbar.types.js} +0 -0
  244. /package/components/snackbar/{Snackbar.vue.d.ts → v3/Snackbar.vue.d.ts} +0 -0
@@ -1,5 +1,5 @@
1
1
  import { openBlock as t, createElementBlock as o, createElementVNode as e } from "vue";
2
- import n from "../../../_virtual/_plugin-vue_export-helper.js";
2
+ import n from "../../../../_virtual/_plugin-vue_export-helper.js";
3
3
  const l = {}, r = {
4
4
  viewBox: "0 0 16 16",
5
5
  fill: "none",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as t, createElementBlock as o, createElementVNode as e } from "vue";
2
- import n from "../../../_virtual/_plugin-vue_export-helper.js";
2
+ import n from "../../../../_virtual/_plugin-vue_export-helper.js";
3
3
  const r = {}, c = {
4
4
  viewBox: "0 0 16 16",
5
5
  fill: "none",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as e, createElementBlock as t, createElementVNode as o } from "vue";
2
- import r from "../../../_virtual/_plugin-vue_export-helper.js";
2
+ import r from "../../../../_virtual/_plugin-vue_export-helper.js";
3
3
  const c = {}, n = {
4
4
  viewBox: "0 0 16 16",
5
5
  fill: "none",
@@ -0,0 +1,53 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
+ isChecked: boolean;
3
+ isIndeterminate?: boolean;
4
+ disabled?: boolean;
5
+ label?: string;
6
+ testId?: string;
7
+ }>, {
8
+ label: string;
9
+ testId: string;
10
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
+ "update:isChecked": (value: boolean) => void;
12
+ click: (event: MouseEvent) => void;
13
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
14
+ isChecked: boolean;
15
+ isIndeterminate?: boolean;
16
+ disabled?: boolean;
17
+ label?: string;
18
+ testId?: string;
19
+ }>, {
20
+ label: string;
21
+ testId: string;
22
+ }>>> & {
23
+ onClick?: (event: MouseEvent) => any;
24
+ "onUpdate:isChecked"?: (value: boolean) => any;
25
+ }, {
26
+ label: string;
27
+ testId: string;
28
+ }>, {
29
+ default?(_: {}): any;
30
+ }>;
31
+ export default _default;
32
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
33
+ type __VLS_TypePropsToRuntimeProps<T> = {
34
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
35
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
36
+ } : {
37
+ type: import('vue').PropType<T[K]>;
38
+ required: true;
39
+ };
40
+ };
41
+ type __VLS_WithDefaults<P, D> = {
42
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
43
+ default: D[K];
44
+ }> : P[K];
45
+ };
46
+ type __VLS_Prettify<T> = {
47
+ [K in keyof T]: T[K];
48
+ } & {};
49
+ type __VLS_WithTemplateSlots<T, S> = T & {
50
+ new (): {
51
+ $slots: S;
52
+ };
53
+ };
@@ -0,0 +1,7 @@
1
+ import e from "./CheckboxV4.vue2.js";
2
+ /* empty css */import o from "../../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../../CheckboxV4.vue_vue_type_style_index_0_scoped_ee3e6d82_lang.css"; //*');
4
+ const c = /* @__PURE__ */ o(e, [["__scopeId", "data-v-ee3e6d82"]]);
5
+ export {
6
+ c as default
7
+ };
@@ -0,0 +1,107 @@
1
+ import "../../../CheckboxV4.vue_vue_type_style_index_0_scoped_ee3e6d82_lang.css"; import { defineComponent as D, openBlock as o, createElementBlock as p, mergeProps as r, unref as e, createElementVNode as m, Fragment as x, createBlock as n, createCommentVNode as s, withCtx as V, renderSlot as F, createTextVNode as g, toDisplayString as A, pushScopeId as T, popScopeId as v } from "vue";
2
+ import L from "../../typography/v4/Typography.vue.js";
3
+ import N from "./icons/UncheckedState.vue.js";
4
+ import P from "./icons/CheckedState.vue.js";
5
+ import $ from "./icons/IndeterminateState.vue.js";
6
+ import w from "./icons/UncheckedDisabledState.vue.js";
7
+ import H from "./icons/CheckedDisabledState.vue.js";
8
+ import K from "./icons/IndeterminateDisabledState.vue.js";
9
+ import { CheckboxTestIdModifiers as i } from "../../../testids/index.js";
10
+ import { checkboxCommon as R } from "../common/Checkbox.common.js";
11
+ import { useTestIdAttrs as U } from "../../../utils/testIds.js";
12
+ const M = (t) => (T("data-v-ee3e6d82"), t = t(), v(), t), W = ["for"], j = { class: "checkboxes" }, q = ["id", "disabled", "checked", ".indeterminate"], z = /* @__PURE__ */ M(() => /* @__PURE__ */ m("span", { class: "checkbox__inner" }, null, -1)), G = { class: "states" }, de = /* @__PURE__ */ D({
13
+ __name: "CheckboxV4",
14
+ props: {
15
+ isChecked: { type: Boolean },
16
+ isIndeterminate: { type: Boolean },
17
+ disabled: { type: Boolean },
18
+ label: { default: "" },
19
+ testId: { default: "" }
20
+ },
21
+ emits: ["update:isChecked", "click"],
22
+ setup(t, { emit: b }) {
23
+ const h = t, {
24
+ id: f,
25
+ checkbox: B,
26
+ isFocusVisible: E,
27
+ handleFocus: y,
28
+ handleBlur: C,
29
+ indeterminate: a,
30
+ checked: u,
31
+ unchecked: I,
32
+ updateValue: S
33
+ } = R(h, b), l = U(h.testId, i);
34
+ return (k, d) => (o(), p("label", r({
35
+ for: e(f),
36
+ class: [{
37
+ "focus-visible": e(E),
38
+ disabled: t.disabled
39
+ }, "checkbox"]
40
+ }, e(l)[e(i).WRAPPER]), [
41
+ m("span", j, [
42
+ m("input", r({ ...k.$attrs, ...e(l)[e(i).FIELD] }, {
43
+ id: e(f),
44
+ ref: e(B),
45
+ disabled: t.disabled,
46
+ checked: e(u),
47
+ class: "input",
48
+ ".indeterminate": e(a),
49
+ type: "checkbox",
50
+ onBlur: d[0] || (d[0] = //@ts-ignore
51
+ (...c) => e(C) && e(C)(...c)),
52
+ onFocus: d[1] || (d[1] = //@ts-ignore
53
+ (...c) => e(y) && e(y)(...c)),
54
+ onClick: d[2] || (d[2] = (c) => b("click", c)),
55
+ onInput: d[3] || (d[3] = //@ts-ignore
56
+ (...c) => e(S) && e(S)(...c))
57
+ }), null, 16, q),
58
+ z,
59
+ m("span", G, [
60
+ t.disabled ? s("", !0) : (o(), p(x, { key: 0 }, [
61
+ e(u) ? (o(), n(P, r({
62
+ key: 0,
63
+ class: "icon checked"
64
+ }, e(l)[e(i).CHECKED]), null, 16)) : s("", !0),
65
+ e(a) ? (o(), n($, {
66
+ key: 1,
67
+ class: "icon indeterminate"
68
+ })) : s("", !0),
69
+ e(I) && !e(a) ? (o(), n(N, {
70
+ key: 2,
71
+ class: "icon unchecked"
72
+ })) : s("", !0)
73
+ ], 64)),
74
+ t.disabled ? (o(), p(x, { key: 1 }, [
75
+ e(u) ? (o(), n(H, r({
76
+ key: 0,
77
+ class: "icon checked"
78
+ }, e(l)[e(i).CHECKED]), null, 16)) : s("", !0),
79
+ e(a) ? (o(), n(K, {
80
+ key: 1,
81
+ class: "icon indeterminate"
82
+ })) : s("", !0),
83
+ e(I) && !e(a) ? (o(), n(w, {
84
+ key: 2,
85
+ class: "icon unchecked"
86
+ })) : s("", !0)
87
+ ], 64)) : s("", !0)
88
+ ])
89
+ ]),
90
+ t.label || k.$slots.default ? (o(), n(e(L), r({
91
+ key: 0,
92
+ variant: "body2",
93
+ class: "checkbox-label"
94
+ }, e(l)[e(i).LABEL]), {
95
+ default: V(() => [
96
+ F(k.$slots, "default", {}, () => [
97
+ g(A(t.label), 1)
98
+ ], !0)
99
+ ]),
100
+ _: 3
101
+ }, 16)) : s("", !0)
102
+ ], 16, W));
103
+ }
104
+ });
105
+ export {
106
+ de as default
107
+ };
@@ -0,0 +1,38 @@
1
+ import { openBlock as e, createElementBlock as o, createElementVNode as t } from "vue";
2
+ import r from "../../../../_virtual/_plugin-vue_export-helper.js";
3
+ const n = {}, s = {
4
+ xmlns: "http://www.w3.org/2000/svg",
5
+ viewBox: "0 0 16 16",
6
+ fill: "none"
7
+ }, c = /* @__PURE__ */ t("rect", {
8
+ width: "16",
9
+ height: "16",
10
+ rx: "4",
11
+ fill: "#CEE7FE"
12
+ }, null, -1), i = /* @__PURE__ */ t("rect", {
13
+ x: "0.5",
14
+ y: "0.5",
15
+ width: "15",
16
+ height: "15",
17
+ rx: "3.5",
18
+ stroke: "#0091FF",
19
+ "stroke-opacity": "0.5"
20
+ }, null, -1), l = /* @__PURE__ */ t("path", {
21
+ d: "M12.125 5.375L6.875 10.625L4.25 8",
22
+ stroke: "#0091FF",
23
+ "stroke-opacity": "0.5",
24
+ "stroke-width": "1.5",
25
+ "stroke-linecap": "round",
26
+ "stroke-linejoin": "round"
27
+ }, null, -1), _ = [
28
+ c,
29
+ i,
30
+ l
31
+ ];
32
+ function d(h, a) {
33
+ return e(), o("svg", s, _);
34
+ }
35
+ const f = /* @__PURE__ */ r(n, [["render", d]]);
36
+ export {
37
+ f as default
38
+ };
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
2
+ export default _default;
@@ -0,0 +1,38 @@
1
+ import { openBlock as e, createElementBlock as o, createElementVNode as t } from "vue";
2
+ import n from "../../../../_virtual/_plugin-vue_export-helper.js";
3
+ const r = {}, s = {
4
+ xmlns: "http://www.w3.org/2000/svg",
5
+ viewBox: "0 0 16 16",
6
+ fill: "none"
7
+ }, c = /* @__PURE__ */ t("rect", {
8
+ x: "0.5",
9
+ y: "0.5",
10
+ width: "15",
11
+ height: "15",
12
+ rx: "3.5",
13
+ fill: "#0091FF"
14
+ }, null, -1), i = /* @__PURE__ */ t("rect", {
15
+ x: "0.5",
16
+ y: "0.5",
17
+ width: "15",
18
+ height: "15",
19
+ rx: "3.5",
20
+ stroke: "#0880EA"
21
+ }, null, -1), l = /* @__PURE__ */ t("path", {
22
+ d: "M12.125 5.375L6.875 10.625L4.25 8",
23
+ stroke: "white",
24
+ "stroke-width": "1.5",
25
+ "stroke-linecap": "round",
26
+ "stroke-linejoin": "round"
27
+ }, null, -1), _ = [
28
+ c,
29
+ i,
30
+ l
31
+ ];
32
+ function h(d, a) {
33
+ return e(), o("svg", s, _);
34
+ }
35
+ const x = /* @__PURE__ */ n(r, [["render", h]]);
36
+ export {
37
+ x as default
38
+ };
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
2
+ export default _default;
@@ -0,0 +1,40 @@
1
+ import { openBlock as e, createElementBlock as o, createElementVNode as t } from "vue";
2
+ import n from "../../../../_virtual/_plugin-vue_export-helper.js";
3
+ const r = {}, s = {
4
+ xmlns: "http://www.w3.org/2000/svg",
5
+ viewBox: "0 0 16 16",
6
+ fill: "none"
7
+ }, c = /* @__PURE__ */ t("rect", {
8
+ width: "16",
9
+ height: "16",
10
+ rx: "4",
11
+ fill: "#CEE7FE"
12
+ }, null, -1), i = /* @__PURE__ */ t("rect", {
13
+ x: "0.5",
14
+ y: "0.5",
15
+ width: "15",
16
+ height: "15",
17
+ rx: "3.5",
18
+ stroke: "#0091FF",
19
+ "stroke-opacity": "0.5"
20
+ }, null, -1), l = /* @__PURE__ */ t("line", {
21
+ x1: "4.75",
22
+ y1: "8.25",
23
+ x2: "11.25",
24
+ y2: "8.25",
25
+ stroke: "#0091FF",
26
+ "stroke-opacity": "0.5",
27
+ "stroke-width": "1.5",
28
+ "stroke-linecap": "round"
29
+ }, null, -1), _ = [
30
+ c,
31
+ i,
32
+ l
33
+ ];
34
+ function d(h, a) {
35
+ return e(), o("svg", s, _);
36
+ }
37
+ const m = /* @__PURE__ */ n(r, [["render", d]]);
38
+ export {
39
+ m as default
40
+ };
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
2
+ export default _default;
@@ -0,0 +1,40 @@
1
+ import { openBlock as e, createElementBlock as o, createElementVNode as t } from "vue";
2
+ import n from "../../../../_virtual/_plugin-vue_export-helper.js";
3
+ const r = {}, s = {
4
+ xmlns: "http://www.w3.org/2000/svg",
5
+ viewBox: "0 0 16 16",
6
+ fill: "none"
7
+ }, c = /* @__PURE__ */ t("rect", {
8
+ x: "0.5",
9
+ y: "0.5",
10
+ width: "15",
11
+ height: "15",
12
+ rx: "3.5",
13
+ fill: "#0091FF"
14
+ }, null, -1), i = /* @__PURE__ */ t("rect", {
15
+ x: "0.5",
16
+ y: "0.5",
17
+ width: "15",
18
+ height: "15",
19
+ rx: "3.5",
20
+ stroke: "#0880EA"
21
+ }, null, -1), l = /* @__PURE__ */ t("line", {
22
+ x1: "4.75",
23
+ y1: "8.25",
24
+ x2: "11.25",
25
+ y2: "8.25",
26
+ stroke: "white",
27
+ "stroke-width": "1.5",
28
+ "stroke-linecap": "round"
29
+ }, null, -1), _ = [
30
+ c,
31
+ i,
32
+ l
33
+ ];
34
+ function h(d, x) {
35
+ return e(), o("svg", s, _);
36
+ }
37
+ const m = /* @__PURE__ */ n(r, [["render", h]]);
38
+ export {
39
+ m as default
40
+ };
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
2
+ export default _default;
@@ -0,0 +1,31 @@
1
+ import { openBlock as t, createElementBlock as o, createElementVNode as e } from "vue";
2
+ import c from "../../../../_virtual/_plugin-vue_export-helper.js";
3
+ const n = {}, r = {
4
+ viewBox: "0 0 16 16",
5
+ fill: "none",
6
+ xmlns: "http://www.w3.org/2000/svg"
7
+ }, s = /* @__PURE__ */ e("rect", {
8
+ x: "0.5",
9
+ y: "0.5",
10
+ width: "15",
11
+ height: "15",
12
+ rx: "3.5",
13
+ fill: "#EBEBEB"
14
+ }, null, -1), i = /* @__PURE__ */ e("rect", {
15
+ x: "0.5",
16
+ y: "0.5",
17
+ width: "15",
18
+ height: "15",
19
+ rx: "3.5",
20
+ stroke: "#EBEBEB"
21
+ }, null, -1), _ = [
22
+ s,
23
+ i
24
+ ];
25
+ function l(h, d) {
26
+ return t(), o("svg", r, _);
27
+ }
28
+ const B = /* @__PURE__ */ c(n, [["render", l]]);
29
+ export {
30
+ B as default
31
+ };
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
2
+ export default _default;
@@ -0,0 +1,31 @@
1
+ import { openBlock as t, createElementBlock as o, createElementVNode as e } from "vue";
2
+ import c from "../../../../_virtual/_plugin-vue_export-helper.js";
3
+ const n = {}, r = {
4
+ viewBox: "0 0 16 16",
5
+ fill: "none",
6
+ xmlns: "http://www.w3.org/2000/svg"
7
+ }, s = /* @__PURE__ */ e("rect", {
8
+ x: "0.5",
9
+ y: "0.5",
10
+ width: "15",
11
+ height: "15",
12
+ rx: "3.5",
13
+ fill: "#EBEBEB"
14
+ }, null, -1), _ = /* @__PURE__ */ e("rect", {
15
+ x: "0.5",
16
+ y: "0.5",
17
+ width: "15",
18
+ height: "15",
19
+ rx: "3.5",
20
+ stroke: "#BBBBBB"
21
+ }, null, -1), i = [
22
+ s,
23
+ _
24
+ ];
25
+ function l(h, B) {
26
+ return t(), o("svg", r, i);
27
+ }
28
+ const x = /* @__PURE__ */ c(n, [["render", l]]);
29
+ export {
30
+ x as default
31
+ };
@@ -0,0 +1,152 @@
1
+ declare const CheckboxTypes: () => ({
2
+ new (...args: any[]): {
3
+ $: import("vue").ComponentInternalInstance;
4
+ $data: {};
5
+ $props: Partial<{
6
+ label: string;
7
+ testId: string;
8
+ }> & Omit<Readonly<import("vue").ExtractPropTypes<{
9
+ label: {
10
+ type: import("vue").PropType<string>;
11
+ default: string;
12
+ };
13
+ testId: {
14
+ type: import("vue").PropType<string>;
15
+ default: string;
16
+ };
17
+ disabled: {
18
+ type: import("vue").PropType<boolean>;
19
+ };
20
+ isChecked: {
21
+ type: import("vue").PropType<boolean>;
22
+ required: true;
23
+ };
24
+ isIndeterminate: {
25
+ type: import("vue").PropType<boolean>;
26
+ };
27
+ }>> & {
28
+ onClick?: (event: MouseEvent) => any;
29
+ "onUpdate:isChecked"?: (value: boolean) => any;
30
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "label" | "testId">;
31
+ $attrs: {
32
+ [x: string]: unknown;
33
+ };
34
+ $refs: {
35
+ [x: string]: unknown;
36
+ };
37
+ $slots: Readonly<{
38
+ [name: string]: import("vue").Slot;
39
+ }>;
40
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
41
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
42
+ $emit: ((event: "click", event: MouseEvent) => void) & ((event: "update:isChecked", value: boolean) => void);
43
+ $el: any;
44
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
45
+ label: {
46
+ type: import("vue").PropType<string>;
47
+ default: string;
48
+ };
49
+ testId: {
50
+ type: import("vue").PropType<string>;
51
+ default: string;
52
+ };
53
+ disabled: {
54
+ type: import("vue").PropType<boolean>;
55
+ };
56
+ isChecked: {
57
+ type: import("vue").PropType<boolean>;
58
+ required: true;
59
+ };
60
+ isIndeterminate: {
61
+ type: import("vue").PropType<boolean>;
62
+ };
63
+ }>> & {
64
+ onClick?: (event: MouseEvent) => any;
65
+ "onUpdate:isChecked"?: (value: boolean) => any;
66
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
67
+ "update:isChecked": (value: boolean) => void;
68
+ click: (event: MouseEvent) => void;
69
+ }, string, {
70
+ label: string;
71
+ testId: string;
72
+ }, {}, string> & {
73
+ beforeCreate?: (() => void) | (() => void)[];
74
+ created?: (() => void) | (() => void)[];
75
+ beforeMount?: (() => void) | (() => void)[];
76
+ mounted?: (() => void) | (() => void)[];
77
+ beforeUpdate?: (() => void) | (() => void)[];
78
+ updated?: (() => void) | (() => void)[];
79
+ activated?: (() => void) | (() => void)[];
80
+ deactivated?: (() => void) | (() => void)[];
81
+ beforeDestroy?: (() => void) | (() => void)[];
82
+ beforeUnmount?: (() => void) | (() => void)[];
83
+ destroyed?: (() => void) | (() => void)[];
84
+ unmounted?: (() => void) | (() => void)[];
85
+ renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
86
+ renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
87
+ 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)[];
88
+ };
89
+ $forceUpdate: () => void;
90
+ $nextTick: typeof import("vue").nextTick;
91
+ $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;
92
+ } & Readonly<import("vue").ExtractPropTypes<{
93
+ label: {
94
+ type: import("vue").PropType<string>;
95
+ default: string;
96
+ };
97
+ testId: {
98
+ type: import("vue").PropType<string>;
99
+ default: string;
100
+ };
101
+ disabled: {
102
+ type: import("vue").PropType<boolean>;
103
+ };
104
+ isChecked: {
105
+ type: import("vue").PropType<boolean>;
106
+ required: true;
107
+ };
108
+ isIndeterminate: {
109
+ type: import("vue").PropType<boolean>;
110
+ };
111
+ }>> & {
112
+ onClick?: (event: MouseEvent) => any;
113
+ "onUpdate:isChecked"?: (value: boolean) => any;
114
+ } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
115
+ __isFragment?: never;
116
+ __isTeleport?: never;
117
+ __isSuspense?: never;
118
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
119
+ label: {
120
+ type: import("vue").PropType<string>;
121
+ default: string;
122
+ };
123
+ testId: {
124
+ type: import("vue").PropType<string>;
125
+ default: string;
126
+ };
127
+ disabled: {
128
+ type: import("vue").PropType<boolean>;
129
+ };
130
+ isChecked: {
131
+ type: import("vue").PropType<boolean>;
132
+ required: true;
133
+ };
134
+ isIndeterminate: {
135
+ type: import("vue").PropType<boolean>;
136
+ };
137
+ }>> & {
138
+ onClick?: (event: MouseEvent) => any;
139
+ "onUpdate:isChecked"?: (value: boolean) => any;
140
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
141
+ "update:isChecked": (value: boolean) => void;
142
+ click: (event: MouseEvent) => void;
143
+ }, string, {
144
+ label: string;
145
+ testId: string;
146
+ }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
147
+ $slots: {
148
+ default?(_: {}): any;
149
+ };
150
+ }))[];
151
+ export { default as Checkbox } from './CheckboxV4.vue';
152
+ export { CheckboxTypes };
@@ -0,0 +1,6 @@
1
+ import o from "./CheckboxV4.vue.js";
2
+ const c = () => [o];
3
+ export {
4
+ o as Checkbox,
5
+ c as CheckboxTypes
6
+ };
@@ -30,8 +30,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
30
30
  testId: string;
31
31
  disabled: boolean;
32
32
  selected: boolean;
33
- prefix: string;
34
33
  clearable: boolean;
34
+ prefix: string;
35
35
  }>, {
36
36
  "icon-start"?(_: {}): any;
37
37
  default?(_: {}): any;