@alfalab/core-components-input-autocomplete 12.9.7 → 13.0.0-snapshot-6a9d3fc

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 (265) hide show
  1. package/Component.responsive.d.ts +2 -4
  2. package/Component.responsive.js +4 -3
  3. package/Component.responsive.js.map +1 -0
  4. package/autocomplete-field/Component.d.ts +4 -6
  5. package/autocomplete-field/Component.js +4 -5
  6. package/autocomplete-field/Component.js.map +1 -0
  7. package/autocomplete-field/index.css +1 -2
  8. package/autocomplete-field/index.d.ts +1 -1
  9. package/autocomplete-field/index.js +3 -2
  10. package/autocomplete-field/index.js.map +1 -0
  11. package/autocomplete-field/index.module.css.js +8 -0
  12. package/autocomplete-field/index.module.css.js.map +1 -0
  13. package/autocomplete-mobile-field/Component.d.ts +7 -9
  14. package/autocomplete-mobile-field/Component.js +11 -12
  15. package/autocomplete-mobile-field/Component.js.map +1 -0
  16. package/autocomplete-mobile-field/index.css +13 -37
  17. package/autocomplete-mobile-field/index.d.ts +1 -1
  18. package/autocomplete-mobile-field/index.js +3 -2
  19. package/autocomplete-mobile-field/index.js.map +1 -0
  20. package/autocomplete-mobile-field/index.module.css.js +8 -0
  21. package/autocomplete-mobile-field/index.module.css.js.map +1 -0
  22. package/cssm/Component.responsive.d.ts +2 -4
  23. package/cssm/Component.responsive.js +6 -5
  24. package/cssm/Component.responsive.js.map +1 -0
  25. package/cssm/autocomplete-field/Component.d.ts +4 -6
  26. package/cssm/autocomplete-field/Component.js +1 -0
  27. package/cssm/autocomplete-field/Component.js.map +1 -0
  28. package/cssm/autocomplete-field/index.d.ts +1 -1
  29. package/cssm/autocomplete-field/index.js +3 -2
  30. package/cssm/autocomplete-field/index.js.map +1 -0
  31. package/cssm/autocomplete-mobile-field/Component.d.ts +7 -9
  32. package/cssm/autocomplete-mobile-field/Component.js +6 -5
  33. package/cssm/autocomplete-mobile-field/Component.js.map +1 -0
  34. package/cssm/autocomplete-mobile-field/index.d.ts +1 -1
  35. package/cssm/autocomplete-mobile-field/index.js +3 -2
  36. package/cssm/autocomplete-mobile-field/index.js.map +1 -0
  37. package/cssm/autocomplete-mobile-field/index.module.css +3 -26
  38. package/cssm/desktop/Component.desktop.d.ts +2 -4
  39. package/cssm/desktop/Component.desktop.js +4 -3
  40. package/cssm/desktop/Component.desktop.js.map +1 -0
  41. package/cssm/desktop/index.d.ts +2 -2
  42. package/cssm/desktop/index.js +3 -2
  43. package/cssm/desktop/index.js.map +1 -0
  44. package/cssm/enums.d.ts +1 -2
  45. package/cssm/enums.js +1 -0
  46. package/cssm/enums.js.map +1 -0
  47. package/cssm/index.d.ts +2 -2
  48. package/cssm/index.js +1 -0
  49. package/cssm/index.js.map +1 -0
  50. package/cssm/mobile/Component.mobile.d.ts +1 -4
  51. package/cssm/mobile/Component.mobile.js +6 -5
  52. package/cssm/mobile/Component.mobile.js.map +1 -0
  53. package/cssm/mobile/Component.modal.mobile.d.ts +1 -4
  54. package/cssm/mobile/Component.modal.mobile.js +3 -2
  55. package/cssm/mobile/Component.modal.mobile.js.map +1 -0
  56. package/cssm/mobile/index.d.ts +3 -3
  57. package/cssm/mobile/index.js +5 -4
  58. package/cssm/mobile/index.js.map +1 -0
  59. package/cssm/mobile/mobile.module.css +1 -23
  60. package/cssm/shared/index.d.ts +1 -1
  61. package/cssm/shared/index.js +1 -0
  62. package/cssm/shared/index.js.map +1 -0
  63. package/cssm/types.d.ts +9 -9
  64. package/cssm/types.js +1 -0
  65. package/cssm/types.js.map +1 -0
  66. package/cssm/utils.d.ts +3 -4
  67. package/cssm/utils.js +38 -37
  68. package/cssm/utils.js.map +1 -0
  69. package/desktop/Component.desktop.d.ts +2 -4
  70. package/desktop/Component.desktop.js +3 -2
  71. package/desktop/Component.desktop.js.map +1 -0
  72. package/desktop/index.d.ts +2 -2
  73. package/desktop/index.js +3 -2
  74. package/desktop/index.js.map +1 -0
  75. package/enums.d.ts +1 -2
  76. package/enums.js +1 -0
  77. package/enums.js.map +1 -0
  78. package/esm/Component.responsive.d.ts +2 -4
  79. package/esm/Component.responsive.js +1 -0
  80. package/esm/Component.responsive.js.map +1 -0
  81. package/esm/autocomplete-field/Component.d.ts +4 -6
  82. package/esm/autocomplete-field/Component.js +2 -3
  83. package/esm/autocomplete-field/Component.js.map +1 -0
  84. package/esm/autocomplete-field/index.css +1 -2
  85. package/esm/autocomplete-field/index.d.ts +1 -1
  86. package/esm/autocomplete-field/index.js +1 -0
  87. package/esm/autocomplete-field/index.js.map +1 -0
  88. package/esm/autocomplete-field/index.module.css.js +6 -0
  89. package/esm/autocomplete-field/index.module.css.js.map +1 -0
  90. package/esm/autocomplete-mobile-field/Component.d.ts +7 -9
  91. package/esm/autocomplete-mobile-field/Component.js +2 -3
  92. package/esm/autocomplete-mobile-field/Component.js.map +1 -0
  93. package/esm/autocomplete-mobile-field/index.css +13 -37
  94. package/esm/autocomplete-mobile-field/index.d.ts +1 -1
  95. package/esm/autocomplete-mobile-field/index.js +1 -0
  96. package/esm/autocomplete-mobile-field/index.js.map +1 -0
  97. package/esm/autocomplete-mobile-field/index.module.css.js +6 -0
  98. package/esm/autocomplete-mobile-field/index.module.css.js.map +1 -0
  99. package/esm/desktop/Component.desktop.d.ts +2 -4
  100. package/esm/desktop/Component.desktop.js +1 -0
  101. package/esm/desktop/Component.desktop.js.map +1 -0
  102. package/esm/desktop/index.d.ts +2 -2
  103. package/esm/desktop/index.js +1 -0
  104. package/esm/desktop/index.js.map +1 -0
  105. package/esm/enums.d.ts +1 -2
  106. package/esm/enums.js +1 -0
  107. package/esm/enums.js.map +1 -0
  108. package/esm/index.d.ts +2 -2
  109. package/esm/index.js +1 -0
  110. package/esm/index.js.map +1 -0
  111. package/esm/mobile/Component.mobile.d.ts +1 -4
  112. package/esm/mobile/Component.mobile.js +2 -3
  113. package/esm/mobile/Component.mobile.js.map +1 -0
  114. package/esm/mobile/Component.modal.mobile.d.ts +1 -4
  115. package/esm/mobile/Component.modal.mobile.js +1 -0
  116. package/esm/mobile/Component.modal.mobile.js.map +1 -0
  117. package/esm/mobile/index.d.ts +3 -3
  118. package/esm/mobile/index.js +1 -0
  119. package/esm/mobile/index.js.map +1 -0
  120. package/esm/mobile/mobile.css +1 -24
  121. package/esm/mobile/mobile.module.css.js +6 -0
  122. package/esm/mobile/mobile.module.css.js.map +1 -0
  123. package/esm/shared/index.d.ts +1 -1
  124. package/esm/shared/index.js +1 -0
  125. package/esm/shared/index.js.map +1 -0
  126. package/esm/types.d.ts +9 -9
  127. package/esm/types.js +1 -0
  128. package/esm/types.js.map +1 -0
  129. package/esm/utils.d.ts +3 -4
  130. package/esm/utils.js +1 -0
  131. package/esm/utils.js.map +1 -0
  132. package/index.d.ts +2 -2
  133. package/index.js +1 -0
  134. package/index.js.map +1 -0
  135. package/mobile/Component.mobile.d.ts +1 -4
  136. package/mobile/Component.mobile.js +6 -7
  137. package/mobile/Component.mobile.js.map +1 -0
  138. package/mobile/Component.modal.mobile.d.ts +1 -4
  139. package/mobile/Component.modal.mobile.js +3 -2
  140. package/mobile/Component.modal.mobile.js.map +1 -0
  141. package/mobile/index.d.ts +3 -3
  142. package/mobile/index.js +5 -4
  143. package/mobile/index.js.map +1 -0
  144. package/mobile/mobile.css +1 -24
  145. package/mobile/mobile.module.css.js +8 -0
  146. package/mobile/mobile.module.css.js.map +1 -0
  147. package/modern/Component.responsive.d.ts +2 -4
  148. package/modern/Component.responsive.js +1 -0
  149. package/modern/Component.responsive.js.map +1 -0
  150. package/modern/autocomplete-field/Component.d.ts +4 -6
  151. package/modern/autocomplete-field/Component.js +2 -3
  152. package/modern/autocomplete-field/Component.js.map +1 -0
  153. package/modern/autocomplete-field/index.css +1 -2
  154. package/modern/autocomplete-field/index.d.ts +1 -1
  155. package/modern/autocomplete-field/index.js +1 -0
  156. package/modern/autocomplete-field/index.js.map +1 -0
  157. package/modern/autocomplete-field/index.module.css.js +6 -0
  158. package/modern/autocomplete-field/index.module.css.js.map +1 -0
  159. package/modern/autocomplete-mobile-field/Component.d.ts +7 -9
  160. package/modern/autocomplete-mobile-field/Component.js +2 -3
  161. package/modern/autocomplete-mobile-field/Component.js.map +1 -0
  162. package/modern/autocomplete-mobile-field/index.css +13 -37
  163. package/modern/autocomplete-mobile-field/index.d.ts +1 -1
  164. package/modern/autocomplete-mobile-field/index.js +1 -0
  165. package/modern/autocomplete-mobile-field/index.js.map +1 -0
  166. package/modern/autocomplete-mobile-field/index.module.css.js +6 -0
  167. package/modern/autocomplete-mobile-field/index.module.css.js.map +1 -0
  168. package/modern/desktop/Component.desktop.d.ts +2 -4
  169. package/modern/desktop/Component.desktop.js +1 -0
  170. package/modern/desktop/Component.desktop.js.map +1 -0
  171. package/modern/desktop/index.d.ts +2 -2
  172. package/modern/desktop/index.js +1 -0
  173. package/modern/desktop/index.js.map +1 -0
  174. package/modern/enums.d.ts +1 -2
  175. package/modern/enums.js +1 -0
  176. package/modern/enums.js.map +1 -0
  177. package/modern/index.d.ts +2 -2
  178. package/modern/index.js +1 -0
  179. package/modern/index.js.map +1 -0
  180. package/modern/mobile/Component.mobile.d.ts +1 -4
  181. package/modern/mobile/Component.mobile.js +2 -3
  182. package/modern/mobile/Component.mobile.js.map +1 -0
  183. package/modern/mobile/Component.modal.mobile.d.ts +1 -4
  184. package/modern/mobile/Component.modal.mobile.js +1 -0
  185. package/modern/mobile/Component.modal.mobile.js.map +1 -0
  186. package/modern/mobile/index.d.ts +3 -3
  187. package/modern/mobile/index.js +1 -0
  188. package/modern/mobile/index.js.map +1 -0
  189. package/modern/mobile/mobile.css +1 -24
  190. package/modern/mobile/mobile.module.css.js +6 -0
  191. package/modern/mobile/mobile.module.css.js.map +1 -0
  192. package/modern/shared/index.d.ts +1 -1
  193. package/modern/shared/index.js +1 -0
  194. package/modern/shared/index.js.map +1 -0
  195. package/modern/types.d.ts +9 -9
  196. package/modern/types.js +1 -0
  197. package/modern/types.js.map +1 -0
  198. package/modern/utils.d.ts +3 -4
  199. package/modern/utils.js +1 -0
  200. package/modern/utils.js.map +1 -0
  201. package/moderncssm/Component.responsive.d.ts +2 -4
  202. package/moderncssm/Component.responsive.js +1 -0
  203. package/moderncssm/Component.responsive.js.map +1 -0
  204. package/moderncssm/autocomplete-field/Component.d.ts +4 -6
  205. package/moderncssm/autocomplete-field/Component.js +1 -0
  206. package/moderncssm/autocomplete-field/Component.js.map +1 -0
  207. package/moderncssm/autocomplete-field/index.d.ts +1 -1
  208. package/moderncssm/autocomplete-field/index.js +1 -0
  209. package/moderncssm/autocomplete-field/index.js.map +1 -0
  210. package/moderncssm/autocomplete-mobile-field/Component.d.ts +7 -9
  211. package/moderncssm/autocomplete-mobile-field/Component.js +1 -0
  212. package/moderncssm/autocomplete-mobile-field/Component.js.map +1 -0
  213. package/moderncssm/autocomplete-mobile-field/index.d.ts +1 -1
  214. package/moderncssm/autocomplete-mobile-field/index.js +1 -0
  215. package/moderncssm/autocomplete-mobile-field/index.js.map +1 -0
  216. package/moderncssm/autocomplete-mobile-field/index.module.css +0 -4
  217. package/moderncssm/desktop/Component.desktop.d.ts +2 -4
  218. package/moderncssm/desktop/Component.desktop.js +1 -0
  219. package/moderncssm/desktop/Component.desktop.js.map +1 -0
  220. package/moderncssm/desktop/index.d.ts +2 -2
  221. package/moderncssm/desktop/index.js +1 -0
  222. package/moderncssm/desktop/index.js.map +1 -0
  223. package/moderncssm/enums.d.ts +1 -2
  224. package/moderncssm/enums.js +1 -0
  225. package/moderncssm/enums.js.map +1 -0
  226. package/moderncssm/index.d.ts +2 -2
  227. package/moderncssm/index.js +1 -0
  228. package/moderncssm/index.js.map +1 -0
  229. package/moderncssm/mobile/Component.mobile.d.ts +1 -4
  230. package/moderncssm/mobile/Component.mobile.js +1 -0
  231. package/moderncssm/mobile/Component.mobile.js.map +1 -0
  232. package/moderncssm/mobile/Component.modal.mobile.d.ts +1 -4
  233. package/moderncssm/mobile/Component.modal.mobile.js +1 -0
  234. package/moderncssm/mobile/Component.modal.mobile.js.map +1 -0
  235. package/moderncssm/mobile/index.d.ts +3 -3
  236. package/moderncssm/mobile/index.js +1 -0
  237. package/moderncssm/mobile/index.js.map +1 -0
  238. package/moderncssm/mobile/mobile.module.css +0 -2
  239. package/moderncssm/shared/index.d.ts +1 -1
  240. package/moderncssm/shared/index.js +1 -0
  241. package/moderncssm/shared/index.js.map +1 -0
  242. package/moderncssm/types.d.ts +9 -9
  243. package/moderncssm/types.js +1 -0
  244. package/moderncssm/types.js.map +1 -0
  245. package/moderncssm/utils.d.ts +3 -4
  246. package/moderncssm/utils.js +1 -0
  247. package/moderncssm/utils.js.map +1 -0
  248. package/package.json +12 -14
  249. package/shared/index.d.ts +1 -1
  250. package/shared/index.js +1 -0
  251. package/shared/index.js.map +1 -0
  252. package/types.d.ts +9 -9
  253. package/types.js +1 -0
  254. package/types.js.map +1 -0
  255. package/utils.d.ts +3 -4
  256. package/utils.js +1 -0
  257. package/utils.js.map +1 -0
  258. package/cssm/vars.css +0 -5
  259. package/desktop/package.json +0 -3
  260. package/mobile/package.json +0 -3
  261. package/moderncssm/vars.css +0 -5
  262. package/shared/package.json +0 -3
  263. package/src/desktop/package.json +0 -3
  264. package/src/mobile/package.json +0 -3
  265. package/src/shared/package.json +0 -3
package/cssm/utils.js CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var coreComponentsShared = require('@alfalab/core-components-shared/cssm');
5
+ var cssm = require('@alfalab/core-components-shared/cssm');
6
6
 
7
7
  function searchFilterStub() {
8
8
  return true;
@@ -10,50 +10,51 @@ function searchFilterStub() {
10
10
  function getInputAutocompleteDesktopTestIds(dataTestId) {
11
11
  return {
12
12
  inputAutocomplete: dataTestId,
13
- option: coreComponentsShared.getDataTestId(dataTestId, 'option'),
14
- optionsList: coreComponentsShared.getDataTestId(dataTestId, 'options-list'),
15
- field: coreComponentsShared.getDataTestId(dataTestId, 'field'),
16
- fieldInner: coreComponentsShared.getDataTestId(dataTestId, 'field-form-control-inner'),
17
- fieldFormControl: coreComponentsShared.getDataTestId(dataTestId, 'field-form-control'),
18
- fieldLeftAddons: coreComponentsShared.getDataTestId(dataTestId, 'field-form-control-left-addons'),
19
- fieldRightAddons: coreComponentsShared.getDataTestId(dataTestId, 'field-form-control-right-addons'),
20
- fieldError: coreComponentsShared.getDataTestId(dataTestId, 'field-form-control-error-message'),
21
- fieldErrorIcon: coreComponentsShared.getDataTestId(dataTestId, 'field-form-control-error-icon'),
22
- fieldSuccessIcon: coreComponentsShared.getDataTestId(dataTestId, 'field-form-control-success-icon'),
23
- fieldHint: coreComponentsShared.getDataTestId(dataTestId, 'field-form-control-hint'),
13
+ option: cssm.getDataTestId(dataTestId, 'option'),
14
+ optionsList: cssm.getDataTestId(dataTestId, 'options-list'),
15
+ field: cssm.getDataTestId(dataTestId, 'field'),
16
+ fieldInner: cssm.getDataTestId(dataTestId, 'field-form-control-inner'),
17
+ fieldFormControl: cssm.getDataTestId(dataTestId, 'field-form-control'),
18
+ fieldLeftAddons: cssm.getDataTestId(dataTestId, 'field-form-control-left-addons'),
19
+ fieldRightAddons: cssm.getDataTestId(dataTestId, 'field-form-control-right-addons'),
20
+ fieldError: cssm.getDataTestId(dataTestId, 'field-form-control-error-message'),
21
+ fieldErrorIcon: cssm.getDataTestId(dataTestId, 'field-form-control-error-icon'),
22
+ fieldSuccessIcon: cssm.getDataTestId(dataTestId, 'field-form-control-success-icon'),
23
+ fieldHint: cssm.getDataTestId(dataTestId, 'field-form-control-hint'),
24
24
  };
25
25
  }
26
26
  function getInputAutocompleteMobileTestIds(dataTestId) {
27
27
  return {
28
28
  inputAutocomplete: dataTestId,
29
- option: coreComponentsShared.getDataTestId(dataTestId, 'option'),
30
- optionsList: coreComponentsShared.getDataTestId(dataTestId, 'options-list'),
31
- bottomSheet: coreComponentsShared.getDataTestId(dataTestId, 'bottom-sheet'),
32
- bottomSheetHeader: coreComponentsShared.getDataTestId(dataTestId, 'bottom-sheet-header'),
33
- bottomSheetContent: coreComponentsShared.getDataTestId(dataTestId, 'bottom-sheet-content'),
34
- modal: coreComponentsShared.getDataTestId(dataTestId, 'modal'),
35
- modalHeader: coreComponentsShared.getDataTestId(dataTestId, 'modal-header'),
36
- modalContent: coreComponentsShared.getDataTestId(dataTestId, 'modal-content'),
37
- clearButton: coreComponentsShared.getDataTestId(dataTestId, 'clear'),
38
- applyButton: coreComponentsShared.getDataTestId(dataTestId, 'apply'),
39
- fieldInner: coreComponentsShared.getDataTestId(dataTestId, 'field-form-control-inner'),
40
- fieldFormControl: coreComponentsShared.getDataTestId(dataTestId, 'field-form-control'),
41
- fieldLeftAddons: coreComponentsShared.getDataTestId(dataTestId, 'field-form-control-left-addons'),
42
- fieldRightAddons: coreComponentsShared.getDataTestId(dataTestId, 'field-form-control-right-addons'),
43
- fieldError: coreComponentsShared.getDataTestId(dataTestId, 'field-form-control-error-message'),
44
- fieldErrorIcon: coreComponentsShared.getDataTestId(dataTestId, 'field-error-icon'),
45
- fieldSuccessIcon: coreComponentsShared.getDataTestId(dataTestId, 'field-success-icon'),
46
- fieldHint: coreComponentsShared.getDataTestId(dataTestId, 'field-form-control-hint'),
47
- searchInput: coreComponentsShared.getDataTestId(dataTestId, 'search'),
48
- searchFormControl: coreComponentsShared.getDataTestId(dataTestId, 'search-form-control'),
49
- searchInner: coreComponentsShared.getDataTestId(dataTestId, 'search-form-control-inner'),
50
- searchLeftAddons: coreComponentsShared.getDataTestId(dataTestId, 'search-form-control-left-addons'),
51
- searchRightAddons: coreComponentsShared.getDataTestId(dataTestId, 'search-form-control-right-addons'),
52
- searchError: coreComponentsShared.getDataTestId(dataTestId, 'search-form-control-error-message'),
53
- searchHint: coreComponentsShared.getDataTestId(dataTestId, 'search-form-control-hint'),
29
+ option: cssm.getDataTestId(dataTestId, 'option'),
30
+ optionsList: cssm.getDataTestId(dataTestId, 'options-list'),
31
+ bottomSheet: cssm.getDataTestId(dataTestId, 'bottom-sheet'),
32
+ bottomSheetHeader: cssm.getDataTestId(dataTestId, 'bottom-sheet-header'),
33
+ bottomSheetContent: cssm.getDataTestId(dataTestId, 'bottom-sheet-content'),
34
+ modal: cssm.getDataTestId(dataTestId, 'modal'),
35
+ modalHeader: cssm.getDataTestId(dataTestId, 'modal-header'),
36
+ modalContent: cssm.getDataTestId(dataTestId, 'modal-content'),
37
+ clearButton: cssm.getDataTestId(dataTestId, 'clear'),
38
+ applyButton: cssm.getDataTestId(dataTestId, 'apply'),
39
+ fieldInner: cssm.getDataTestId(dataTestId, 'field-form-control-inner'),
40
+ fieldFormControl: cssm.getDataTestId(dataTestId, 'field-form-control'),
41
+ fieldLeftAddons: cssm.getDataTestId(dataTestId, 'field-form-control-left-addons'),
42
+ fieldRightAddons: cssm.getDataTestId(dataTestId, 'field-form-control-right-addons'),
43
+ fieldError: cssm.getDataTestId(dataTestId, 'field-form-control-error-message'),
44
+ fieldErrorIcon: cssm.getDataTestId(dataTestId, 'field-error-icon'),
45
+ fieldSuccessIcon: cssm.getDataTestId(dataTestId, 'field-success-icon'),
46
+ fieldHint: cssm.getDataTestId(dataTestId, 'field-form-control-hint'),
47
+ searchInput: cssm.getDataTestId(dataTestId, 'search'),
48
+ searchFormControl: cssm.getDataTestId(dataTestId, 'search-form-control'),
49
+ searchInner: cssm.getDataTestId(dataTestId, 'search-form-control-inner'),
50
+ searchLeftAddons: cssm.getDataTestId(dataTestId, 'search-form-control-left-addons'),
51
+ searchRightAddons: cssm.getDataTestId(dataTestId, 'search-form-control-right-addons'),
52
+ searchError: cssm.getDataTestId(dataTestId, 'search-form-control-error-message'),
53
+ searchHint: cssm.getDataTestId(dataTestId, 'search-form-control-hint'),
54
54
  };
55
55
  }
56
56
 
57
57
  exports.getInputAutocompleteDesktopTestIds = getInputAutocompleteDesktopTestIds;
58
58
  exports.getInputAutocompleteMobileTestIds = getInputAutocompleteMobileTestIds;
59
59
  exports.searchFilterStub = searchFilterStub;
60
+ //# sourceMappingURL=utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.js","sources":["../src/utils.ts"],"sourcesContent":["import { getDataTestId } from '@alfalab/core-components-shared';\n\nexport function searchFilterStub() {\n return true;\n}\n\nexport function getInputAutocompleteDesktopTestIds(dataTestId: string) {\n return {\n inputAutocomplete: dataTestId,\n option: getDataTestId(dataTestId, 'option'),\n optionsList: getDataTestId(dataTestId, 'options-list'),\n field: getDataTestId(dataTestId, 'field'),\n fieldInner: getDataTestId(dataTestId, 'field-form-control-inner'),\n fieldFormControl: getDataTestId(dataTestId, 'field-form-control'),\n fieldLeftAddons: getDataTestId(dataTestId, 'field-form-control-left-addons'),\n fieldRightAddons: getDataTestId(dataTestId, 'field-form-control-right-addons'),\n fieldError: getDataTestId(dataTestId, 'field-form-control-error-message'),\n fieldErrorIcon: getDataTestId(dataTestId, 'field-form-control-error-icon'),\n fieldSuccessIcon: getDataTestId(dataTestId, 'field-form-control-success-icon'),\n fieldHint: getDataTestId(dataTestId, 'field-form-control-hint'),\n };\n}\n\nexport function getInputAutocompleteMobileTestIds(dataTestId: string) {\n return {\n inputAutocomplete: dataTestId,\n option: getDataTestId(dataTestId, 'option'),\n optionsList: getDataTestId(dataTestId, 'options-list'),\n bottomSheet: getDataTestId(dataTestId, 'bottom-sheet'),\n bottomSheetHeader: getDataTestId(dataTestId, 'bottom-sheet-header'),\n bottomSheetContent: getDataTestId(dataTestId, 'bottom-sheet-content'),\n modal: getDataTestId(dataTestId, 'modal'),\n modalHeader: getDataTestId(dataTestId, 'modal-header'),\n modalContent: getDataTestId(dataTestId, 'modal-content'),\n clearButton: getDataTestId(dataTestId, 'clear'),\n applyButton: getDataTestId(dataTestId, 'apply'),\n fieldInner: getDataTestId(dataTestId, 'field-form-control-inner'),\n fieldFormControl: getDataTestId(dataTestId, 'field-form-control'),\n fieldLeftAddons: getDataTestId(dataTestId, 'field-form-control-left-addons'),\n fieldRightAddons: getDataTestId(dataTestId, 'field-form-control-right-addons'),\n fieldError: getDataTestId(dataTestId, 'field-form-control-error-message'),\n fieldErrorIcon: getDataTestId(dataTestId, 'field-error-icon'),\n fieldSuccessIcon: getDataTestId(dataTestId, 'field-success-icon'),\n fieldHint: getDataTestId(dataTestId, 'field-form-control-hint'),\n searchInput: getDataTestId(dataTestId, 'search'),\n searchFormControl: getDataTestId(dataTestId, 'search-form-control'),\n searchInner: getDataTestId(dataTestId, 'search-form-control-inner'),\n searchLeftAddons: getDataTestId(dataTestId, 'search-form-control-left-addons'),\n searchRightAddons: getDataTestId(dataTestId, 'search-form-control-right-addons'),\n searchError: getDataTestId(dataTestId, 'search-form-control-error-message'),\n searchHint: getDataTestId(dataTestId, 'search-form-control-hint'),\n };\n}\n"],"names":["getDataTestId"],"mappings":";;;;;;SAEgB,gBAAgB,GAAA;AAC5B,IAAA,OAAO,IAAI;AACf;AAEM,SAAU,kCAAkC,CAAC,UAAkB,EAAA;IACjE,OAAO;AACH,QAAA,iBAAiB,EAAE,UAAU;AAC7B,QAAA,MAAM,EAAEA,kBAAa,CAAC,UAAU,EAAE,QAAQ,CAAC;AAC3C,QAAA,WAAW,EAAEA,kBAAa,CAAC,UAAU,EAAE,cAAc,CAAC;AACtD,QAAA,KAAK,EAAEA,kBAAa,CAAC,UAAU,EAAE,OAAO,CAAC;AACzC,QAAA,UAAU,EAAEA,kBAAa,CAAC,UAAU,EAAE,0BAA0B,CAAC;AACjE,QAAA,gBAAgB,EAAEA,kBAAa,CAAC,UAAU,EAAE,oBAAoB,CAAC;AACjE,QAAA,eAAe,EAAEA,kBAAa,CAAC,UAAU,EAAE,gCAAgC,CAAC;AAC5E,QAAA,gBAAgB,EAAEA,kBAAa,CAAC,UAAU,EAAE,iCAAiC,CAAC;AAC9E,QAAA,UAAU,EAAEA,kBAAa,CAAC,UAAU,EAAE,kCAAkC,CAAC;AACzE,QAAA,cAAc,EAAEA,kBAAa,CAAC,UAAU,EAAE,+BAA+B,CAAC;AAC1E,QAAA,gBAAgB,EAAEA,kBAAa,CAAC,UAAU,EAAE,iCAAiC,CAAC;AAC9E,QAAA,SAAS,EAAEA,k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,CAAC;AACjE,QAAA,SAAS,EAAEA,kBAAa,CAAC,UAAU,EAAE,yBAAyB,CAAC;AAC/D,QAAA,WAAW,EAAEA,kBAAa,CAAC,UAAU,EAAE,QAAQ,CAAC;AAChD,QAAA,iBAAiB,EAAEA,kBAAa,CAAC,UAAU,EAAE,qBAAqB,CAAC;AACnE,QAAA,WAAW,EAAEA,kBAAa,CAAC,UAAU,EAAE,2BAA2B,CAAC;AACnE,QAAA,gBAAgB,EAAEA,kBAAa,CAAC,UAAU,EAAE,iCAAiC,CAAC;AAC9E,QAAA,iBAAiB,EAAEA,kBAAa,CAAC,UAAU,EAAE,kCAAkC,CAAC;AAChF,QAAA,WAAW,EAAEA,kBAAa,CAAC,UAAU,EAAE,mCAAmC,CAAC;AAC3E,QAAA,UAAU,EAAEA,kBAAa,CAAC,UAAU,EAAE,0BAA0B,CAAC;KACpE;AACL;;;;;;"}
@@ -1,5 +1,3 @@
1
- /// <reference types="react" />
2
1
  import React from 'react';
3
- import { InputAutocompleteCommonProps } from "../types";
4
- declare const InputAutocompleteDesktop: React.ForwardRefExoticComponent<InputAutocompleteCommonProps & React.RefAttributes<HTMLInputElement>>;
5
- export { InputAutocompleteDesktop };
2
+ import { InputAutocompleteCommonProps } from '../types';
3
+ export declare const InputAutocompleteDesktop: React.ForwardRefExoticComponent<InputAutocompleteCommonProps & React.RefAttributes<HTMLInputElement>>;
@@ -6,7 +6,7 @@ var tslib = require('tslib');
6
6
  var React = require('react');
7
7
  var coreComponentsPopover = require('@alfalab/core-components-popover');
8
8
  var shared = require('@alfalab/core-components-select/shared');
9
- var autocompleteField_Component = require('../autocomplete-field/Component.js');
9
+ var Component = require('../autocomplete-field/Component.js');
10
10
 
11
11
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
12
12
 
@@ -14,7 +14,8 @@ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
14
14
 
15
15
  var InputAutocompleteDesktop = React.forwardRef(function (_a, ref) {
16
16
  var _b = _a.OptionsList, OptionsList = _b === void 0 ? shared.OptionsList : _b, _c = _a.Optgroup, Optgroup = _c === void 0 ? shared.Optgroup : _c, _d = _a.Option, Option = _d === void 0 ? shared.Option : _d, Input = _a.Input, _e = _a.inputProps, inputProps = _e === void 0 ? {} : _e, onInput = _a.onInput, value = _a.value, success = _a.success, readOnly = _a.readOnly, _f = _a.closeOnSelect, closeOnSelect = _f === void 0 ? false : _f, options = _a.options, restProps = tslib.__rest(_a, ["OptionsList", "Optgroup", "Option", "Input", "inputProps", "onInput", "value", "success", "readOnly", "closeOnSelect", "options"]);
17
- return (React__default.default.createElement(shared.BaseSelect, tslib.__assign({ view: 'desktop', Popover: coreComponentsPopover.Popover, ref: ref, autocomplete: true, options: options, closeOnSelect: closeOnSelect, Option: Option, Field: autocompleteField_Component.AutocompleteField, Optgroup: Optgroup, OptionsList: OptionsList }, restProps, { fieldProps: tslib.__assign(tslib.__assign({}, restProps.fieldProps), { Input: Input, onInput: onInput, value: value, inputProps: inputProps, readOnly: readOnly, success: success }) })));
17
+ return (React__default.default.createElement(shared.BaseSelect, tslib.__assign({ view: 'desktop', Popover: coreComponentsPopover.Popover, ref: ref, autocomplete: true, options: options, closeOnSelect: closeOnSelect, Option: Option, Field: Component.AutocompleteField, Optgroup: Optgroup, OptionsList: OptionsList }, restProps, { fieldProps: tslib.__assign(tslib.__assign({}, restProps.fieldProps), { Input: Input, onInput: onInput, value: value, inputProps: inputProps, readOnly: readOnly, success: success }) })));
18
18
  });
19
19
 
20
20
  exports.InputAutocompleteDesktop = InputAutocompleteDesktop;
21
+ //# sourceMappingURL=Component.desktop.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Component.desktop.js","sources":["../src/desktop/Component.desktop.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\n\nimport { Popover } from '@alfalab/core-components-popover';\nimport {\n AnyObject,\n BaseSelect,\n Optgroup as DefaultOptgroup,\n Option as DefaultOption,\n OptionsList as DefaultOptionsList,\n} from '@alfalab/core-components-select/shared';\n\nimport { AutocompleteField } from '../autocomplete-field';\nimport { InputAutocompleteCommonProps } from '../types';\n\nexport const InputAutocompleteDesktop = forwardRef<HTMLInputElement, InputAutocompleteCommonProps>(\n (\n {\n OptionsList = DefaultOptionsList,\n Optgroup = DefaultOptgroup,\n Option = DefaultOption,\n Input,\n inputProps = {},\n onInput,\n value,\n success,\n readOnly,\n closeOnSelect = false,\n options,\n ...restProps\n },\n ref,\n ) => (\n <BaseSelect\n view='desktop'\n Popover={Popover}\n ref={ref}\n autocomplete={true}\n options={options}\n closeOnSelect={closeOnSelect}\n Option={Option}\n Field={AutocompleteField}\n Optgroup={Optgroup}\n OptionsList={OptionsList}\n {...restProps}\n fieldProps={{\n ...(restProps.fieldProps as AnyObject),\n Input,\n onInput,\n value,\n inputProps,\n readOnly,\n success,\n }}\n />\n ),\n);\n"],"names":["forwardRef","DefaultOptionsList","DefaultOptgroup","DefaultOption","__rest","React","BaseSelect","__assign","Popover","AutocompleteField"],"mappings":";;;;;;;;;;;;;;IAca,wBAAwB,GAAGA,gBAAU,CAC9C,UACI,EAaC,EACD,GAAG,EAAA;IAbC,IAAA,EAAA,GAAA,EAAA,CAAA,WAAgC,EAAhC,WAAW,GAAG,EAAA,KAAA,MAAA,GAAAC,kBAAkB,GAAA,EAAA,EAChC,EAA0B,GAAA,EAAA,CAAA,QAAA,EAA1B,QAAQ,GAAA,EAAA,KAAA,MAAA,GAAGC,eAAe,GAAA,EAAA,EAC1B,EAAsB,GAAA,EAAA,CAAA,MAAA,EAAtB,MAAM,GAAA,EAAA,KAAA,MAAA,GAAGC,aAAa,GAAA,EAAA,EACtB,KAAK,GAAA,EAAA,CAAA,KAAA,EACL,EAAe,GAAA,EAAA,CAAA,UAAA,EAAf,UAAU,GAAA,EAAA,KAAA,MAAA,GAAG,EAAE,GAAA,EAAA,EACf,OAAO,GAAA,EAAA,CAAA,OAAA,EACP,KAAK,GAAA,EAAA,CAAA,KAAA,EACL,OAAO,GAAA,EAAA,CAAA,OAAA,EACP,QAAQ,GAAA,EAAA,CAAA,QAAA,EACR,qBAAqB,EAArB,aAAa,GAAG,EAAA,KAAA,MAAA,GAAA,KAAK,GAAA,EAAA,EACrB,OAAO,GAAA,EAAA,CAAA,OAAA,EACJ,SAAS,GAZhBC,YAAA,CAAA,EAAA,EAAA,CAAA,aAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,YAAA,EAAA,SAAA,EAAA,OAAA,EAAA,SAAA,EAAA,UAAA,EAAA,eAAA,EAAA,SAAA,CAaC,CADe;AAGf,IAAA,QACDC,sBAAA,CAAA,aAAA,CAACC,iBAAU,EAAAC,cAAA,CAAA,EACP,IAAI,EAAC,SAAS,EACd,OAAO,EAAEC,6BAAO,EAChB,GAAG,EAAE,GAAG,EACR,YAAY,EAAE,IAAI,EAClB,OAAO,EAAE,OAAO,EAChB,aAAa,EAAE,aAAa,EAC5B,MAAM,EAAE,MAAM,EACd,KAAK,EAAEC,2BAAiB,EACxB,QAAQ,EAAE,QAAQ,EAClB,WAAW,EAAE,WAAW,EAAA,EACpB,SAAS,EAAA,EACb,UAAU,EACFF,cAAA,CAAAA,cAAA,CAAA,EAAA,EAAA,SAAS,CAAC,UAAwB,KACtC,KAAK,EAAA,KAAA,EACL,OAAO,EAAA,OAAA,EACP,KAAK,EAAA,KAAA,EACL,UAAU,EAAA,UAAA,EACV,QAAQ,UAAA,EACR,OAAO,EAAA,OAAA,EAAA,CAAA,EAAA,CAAA,CAEb;AACL,CAAA;;;;"}
@@ -1,2 +1,2 @@
1
- export { InputAutocompleteDesktop } from "./Component.desktop";
2
- export type { InputAutocompleteCommonProps as InputAutocompleteDesktopProps } from "../types";
1
+ export { InputAutocompleteDesktop } from './Component.desktop';
2
+ export type { InputAutocompleteCommonProps as InputAutocompleteDesktopProps } from '../types';
package/desktop/index.js CHANGED
@@ -2,8 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var desktop_Component_desktop = require('./Component.desktop.js');
5
+ var Component_desktop = require('./Component.desktop.js');
6
6
 
7
7
 
8
8
 
9
- exports.InputAutocompleteDesktop = desktop_Component_desktop.InputAutocompleteDesktop;
9
+ exports.InputAutocompleteDesktop = Component_desktop.InputAutocompleteDesktop;
10
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
package/enums.d.ts CHANGED
@@ -1,5 +1,4 @@
1
- declare enum OnInputReason {
1
+ export declare enum OnInputReason {
2
2
  Close = "close",
3
3
  Change = "change"
4
4
  }
5
- export { OnInputReason };
package/enums.js CHANGED
@@ -7,3 +7,4 @@ exports.OnInputReason = void 0;
7
7
  OnInputReason["Close"] = "close";
8
8
  OnInputReason["Change"] = "change";
9
9
  })(exports.OnInputReason || (exports.OnInputReason = {}));
10
+ //# sourceMappingURL=enums.js.map
package/enums.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"enums.js","sources":["src/enums.ts"],"sourcesContent":["export enum OnInputReason {\n Close = 'close',\n Change = 'change',\n}\n"],"names":["OnInputReason"],"mappings":";;;;AAAYA;AAAZ,CAAA,UAAY,aAAa,EAAA;AACrB,IAAA,aAAA,CAAA,OAAA,CAAA,GAAA,OAAe;AACf,IAAA,aAAA,CAAA,QAAA,CAAA,GAAA,QAAiB;AACrB,CAAC,EAHWA,qBAAa,KAAbA,qBAAa,GAGxB,EAAA,CAAA,CAAA;;"}
@@ -1,5 +1,3 @@
1
- /// <reference types="react" />
2
1
  import React from 'react';
3
- import { InputAutocompleteProps } from "./types";
4
- declare const InputAutocomplete: React.ForwardRefExoticComponent<InputAutocompleteProps & React.RefAttributes<HTMLDivElement | HTMLInputElement>>;
5
- export { InputAutocomplete };
2
+ import { InputAutocompleteProps } from './types';
3
+ export declare const InputAutocomplete: React.ForwardRefExoticComponent<InputAutocompleteProps & React.RefAttributes<HTMLInputElement | HTMLDivElement>>;
@@ -13,3 +13,4 @@ var InputAutocomplete = forwardRef(function (_a, ref) {
13
13
  InputAutocomplete.displayName = 'InputAutocomplete';
14
14
 
15
15
  export { InputAutocomplete };
16
+ //# sourceMappingURL=Component.responsive.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Component.responsive.js","sources":["../src/Component.responsive.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\n\nimport { useIsDesktop } from '@alfalab/core-components-mq';\n\nimport { InputAutocompleteDesktop } from './desktop';\nimport { InputAutocompleteMobile } from './mobile';\nimport { InputAutocompleteProps } from './types';\n\nexport const InputAutocomplete = forwardRef<\n HTMLInputElement | HTMLDivElement,\n InputAutocompleteProps\n>(\n (\n {\n breakpoint,\n client,\n defaultMatchMediaValue = client === undefined ? undefined : client === 'desktop',\n mobileProps,\n ...restProps\n },\n ref,\n ) => {\n const isDesktop = useIsDesktop(breakpoint, defaultMatchMediaValue);\n\n return isDesktop ? (\n <InputAutocompleteDesktop {...restProps} ref={ref as React.Ref<HTMLInputElement>} />\n ) : (\n <InputAutocompleteMobile {...restProps} {...mobileProps} ref={ref} />\n );\n },\n);\n\nInputAutocomplete.displayName = 'InputAutocomplete';\n"],"names":[],"mappings":";;;;;;;IAQa,iBAAiB,GAAG,UAAU,CAIvC,UACI,EAMC,EACD,GAAG,EAAA;AANC,IAAA,IAAA,UAAU,GAAA,EAAA,CAAA,UAAA,EACV,MAAM,GAAA,EAAA,CAAA,MAAA,EACN,EAAgF,GAAA,EAAA,CAAA,sBAAA,EAAhF,sBAAsB,GAAA,EAAA,KAAA,MAAA,GAAG,MAAM,KAAK,SAAS,GAAG,SAAS,GAAG,MAAM,KAAK,SAAS,GAAA,EAAA,EAChF,WAAW,GAAA,EAAA,CAAA,WAAA,EACR,SAAS,GAAA,MAAA,CAAA,EAAA,EALhB,iEAMC,CADe;IAIhB,IAAM,SAAS,GAAG,YAAY,CAAC,UAAU,EAAE,sBAAsB,CAAC;AAElE,IAAA,OAAO,SAAS,IACZ,KAAA,CAAA,aAAA,CAAC,wBAAwB,EAAA,QAAA,CAAA,EAAA,EAAK,SAAS,EAAA,EAAE,GAAG,EAAE,GAAkC,EAAI,CAAA,CAAA,KAEpF,KAAC,CAAA,aAAA,CAAA,uBAAuB,eAAK,SAAS,EAAM,WAAW,EAAA,EAAE,GAAG,EAAE,GAAG,EAAA,CAAA,CAAI,CACxE;AACL,CAAC;AAGL,iBAAiB,CAAC,WAAW,GAAG,mBAAmB;;;;"}
@@ -1,7 +1,5 @@
1
- /// <reference types="react" />
2
1
  import React from 'react';
3
- import { FieldProps } from "@alfalab/core-components-select/shared";
4
- import { InputAutocompleteCommonProps } from "../types";
5
- type AutocompleteFieldProps = FieldProps & Pick<InputAutocompleteCommonProps, 'Input' | 'inputProps' | 'value' | 'onInput' | 'readOnly'>;
6
- declare const AutocompleteField: ({ label, labelView, placeholder, size, Arrow, Input, value, error, success, hint, disabled, readOnly, onInput, inputProps, innerProps, dataTestId, }: AutocompleteFieldProps) => React.JSX.Element;
7
- export { AutocompleteFieldProps, AutocompleteField };
2
+ import type { FieldProps } from '@alfalab/core-components-select/shared';
3
+ import { InputAutocompleteCommonProps } from '../types';
4
+ export declare type AutocompleteFieldProps = FieldProps & Pick<InputAutocompleteCommonProps, 'Input' | 'inputProps' | 'value' | 'onInput' | 'readOnly'>;
5
+ export declare const AutocompleteField: ({ label, labelView, placeholder, size, Arrow, Input, value, error, success, hint, disabled, readOnly, onInput, inputProps, innerProps, dataTestId, }: AutocompleteFieldProps) => React.JSX.Element;
@@ -4,9 +4,7 @@ import mergeRefs from 'react-merge-refs';
4
4
  import cn from 'classnames';
5
5
  import { InputDesktop } from '@alfalab/core-components-input/esm/desktop';
6
6
  import { OnInputReason } from '../enums.js';
7
-
8
- var styles = {"arrow":"input-autocomplete__arrow_4lt3g","error":"input-autocomplete__error_4lt3g"};
9
- require('./index.css')
7
+ import styles from './index.module.css.js';
10
8
 
11
9
  var AutocompleteField = function (_a) {
12
10
  var _b;
@@ -35,3 +33,4 @@ var AutocompleteField = function (_a) {
35
33
  };
36
34
 
37
35
  export { AutocompleteField };
36
+ //# sourceMappingURL=Component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Component.js","sources":["../../src/autocomplete-field/Component.tsx"],"sourcesContent":["import React, { useCallback, useRef } from 'react';\nimport mergeRefs from 'react-merge-refs';\nimport cn from 'classnames';\n\nimport { InputProps } from '@alfalab/core-components-input';\nimport { InputDesktop as DefaultInput } from '@alfalab/core-components-input/desktop';\nimport type { FieldProps } from '@alfalab/core-components-select/shared';\n\nimport { OnInputReason } from '../enums';\nimport { InputAutocompleteCommonProps } from '../types';\n\nimport styles from './index.module.css';\n\nexport type AutocompleteFieldProps = FieldProps &\n Pick<InputAutocompleteCommonProps, 'Input' | 'inputProps' | 'value' | 'onInput' | 'readOnly'>;\n\nexport const AutocompleteField = ({\n label,\n labelView = 'inner',\n placeholder,\n size,\n Arrow,\n Input = DefaultInput,\n value,\n error,\n success,\n hint,\n disabled,\n readOnly,\n onInput,\n inputProps = {},\n innerProps,\n dataTestId,\n}: AutocompleteFieldProps) => {\n const inputRef = useRef<HTMLInputElement>(null);\n\n const { onClick, onFocus } = innerProps;\n\n const inputDisabled = disabled || readOnly;\n\n const handleClick = useCallback(\n (event: React.MouseEvent<HTMLDivElement>) => {\n if (onClick) onClick(event);\n\n if (inputRef.current) {\n inputRef.current.focus();\n }\n },\n [onClick],\n );\n\n const handleInput: InputProps['onChange'] = (_, payload) =>\n onInput?.(payload.value, OnInputReason.Change);\n\n return (\n <Input\n dataTestId={dataTestId}\n {...inputProps}\n {...innerProps}\n wrapperRef={mergeRefs([\n innerProps.ref as React.Ref<HTMLElement>,\n inputProps.wrapperRef as React.Ref<HTMLElement>,\n ])}\n ref={mergeRefs([inputRef, inputProps.ref as React.Ref<HTMLElement>])}\n disabled={disabled}\n readOnly={readOnly}\n block={true}\n label={label}\n labelView={labelView}\n placeholder={placeholder}\n size={size}\n error={error}\n success={success}\n hint={hint}\n onChange={handleInput}\n onClick={inputDisabled ? undefined : handleClick}\n onFocus={inputDisabled ? undefined : onFocus}\n autoComplete='off'\n value={value}\n rightAddons={\n (Arrow || inputProps.rightAddons) && (\n <React.Fragment>\n {inputProps.rightAddons}\n {Arrow && (\n <span\n className={cn(styles.arrow, {\n [styles.error]: error,\n })}\n >\n {Arrow}\n </span>\n )}\n </React.Fragment>\n )\n }\n />\n );\n};\n"],"names":["DefaultInput"],"mappings":";;;;;;;;AAgBO,IAAM,iBAAiB,GAAG,UAAC,EAiBT,EAAA;;QAhBrB,KAAK,GAAA,EAAA,CAAA,KAAA,EACL,EAAA,GAAA,EAAA,CAAA,SAAmB,EAAnB,SAAS,GAAG,EAAA,KAAA,MAAA,GAAA,OAAO,GAAA,EAAA,EACnB,WAAW,GAAA,EAAA,CAAA,WAAA,EACX,IAAI,UAAA,EACJ,KAAK,GAAA,EAAA,CAAA,KAAA,EACL,EAAoB,GAAA,EAAA,CAAA,KAAA,EAApB,KAAK,GAAA,EAAA,KAAA,MAAA,GAAGA,YAAY,GAAA,EAAA,EACpB,KAAK,GAAA,EAAA,CAAA,KAAA,EACL,KAAK,GAAA,EAAA,CAAA,KAAA,EACL,OAAO,GAAA,EAAA,CAAA,OAAA,EACP,IAAI,GAAA,EAAA,CAAA,IAAA,EACJ,QAAQ,GAAA,EAAA,CAAA,QAAA,EACR,QAAQ,GAAA,EAAA,CAAA,QAAA,EACR,OAAO,GAAA,EAAA,CAAA,OAAA,EACP,EAAA,GAAA,EAAA,CAAA,UAAe,EAAf,UAAU,GAAG,EAAA,KAAA,MAAA,GAAA,EAAE,GAAA,EAAA,EACf,UAAU,GAAA,EAAA,CAAA,UAAA,EACV,UAAU,GAAA,EAAA,CAAA,UAAA;AAEV,IAAA,IAAM,QAAQ,GAAG,MAAM,CAAmB,IAAI,CAAC;IAEvC,IAAA,OAAO,GAAc,UAAU,CAAA,OAAxB,EAAE,OAAO,GAAK,UAAU,CAAA,OAAf;AAExB,IAAA,IAAM,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,CAAC,KAAK,IAAI,UAAU,CAAC,WAAW,MAC5B,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,QAAQ,EAAA,IAAA;AACV,YAAA,UAAU,CAAC,WAAW;YACtB,KAAK,KACF,KACI,CAAA,aAAA,CAAA,MAAA,EAAA,EAAA,SAAS,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,GAAA,EAAA,GAAA,EAAA;AACtB,oBAAA,EAAA,CAAC,MAAM,CAAC,KAAK,CAAA,GAAG,KAAK;AACvB,oBAAA,EAAA,EAAA,EAAA,EAED,KAAK,CACH,CACV,CACY,CACpB,EAAA,CAAA,CAEP;AAEV;;;;"}
@@ -1,4 +1,3 @@
1
- /* hash: 1wqbt */
2
- .input-autocomplete__arrow_4lt3g.input-autocomplete__error_4lt3g ~ * {
1
+ .input-autocomplete__arrow_1d933.input-autocomplete__error_1d933 ~ * {
3
2
  display: none;
4
3
  }
@@ -1 +1 @@
1
- export * from "./Component";
1
+ export * from './Component';
@@ -1 +1,2 @@
1
1
  export { AutocompleteField } from './Component.js';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ import './index.css';
2
+
3
+ var styles = {"arrow":"input-autocomplete__arrow_1d933","error":"input-autocomplete__error_1d933"};
4
+
5
+ export { styles as default };
6
+ //# sourceMappingURL=index.module.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.module.css.js","sources":["../src/autocomplete-field/index.module.css"],"sourcesContent":[".arrow.error ~ * {\n display: none;\n}\n"],"names":[],"mappings":";;AAEgB,aAAe,CAAC,OAAO,CAAC,iCAAiC,CAAC,OAAO,CAAC,iCAAiC,CAAC;;;;"}
@@ -1,19 +1,17 @@
1
- /// <reference types="react" />
2
- import React from 'react';
3
- import { ElementType } from "react";
4
- import { FormControlMobileProps } from "@alfalab/core-components-form-control/mobile";
5
- import { FieldProps as BaseFieldProps } from "@alfalab/core-components-select/shared";
6
- type FieldProps = {
1
+ import React, { ElementType } from 'react';
2
+ import { FormControlMobileProps } from '@alfalab/core-components-form-control/mobile';
3
+ import type { FieldProps as BaseFieldProps } from '@alfalab/core-components-select/shared';
4
+ declare type FieldProps = {
7
5
  /**
8
6
  * Компонент FormControl
9
7
  */
10
8
  FormControlComponent?: ElementType;
11
9
  };
12
- type AutocompleteMobileFieldProps = FormControlMobileProps & Omit<BaseFieldProps, 'selected' | 'multiple' | 'success'> & {
10
+ export declare type AutocompleteMobileFieldProps = FormControlMobileProps & Omit<BaseFieldProps, 'selected' | 'multiple' | 'success'> & {
13
11
  /**
14
12
  * Значение поля ввода
15
13
  */
16
14
  value?: string;
17
15
  };
18
- declare const AutocompleteMobileField: ({ size, open, disabled, value, innerProps, dataTestId, fieldClassName, labelView, placeholder, Arrow, valueRenderer, toggleMenu, setSelectedItems, selectedMultiple, FormControlComponent, rightAddons, error, readOnly, clear, success, onClear, onInput, colors, ...restProps }: AutocompleteMobileFieldProps & FieldProps) => React.JSX.Element;
19
- export { AutocompleteMobileFieldProps, AutocompleteMobileField };
16
+ export declare const AutocompleteMobileField: ({ size, open, disabled, value, innerProps, dataTestId, fieldClassName, labelView, placeholder, Arrow, valueRenderer, toggleMenu, setSelectedItems, selectedMultiple, FormControlComponent, rightAddons, error, readOnly, clear, success, onClear, onInput, colors, ...restProps }: AutocompleteMobileFieldProps & FieldProps) => React.JSX.Element;
17
+ export {};
@@ -6,9 +6,7 @@ import { ClearButton } from '@alfalab/core-components-input/esm/shared';
6
6
  import { getDataTestId } from '@alfalab/core-components-shared/esm';
7
7
  import { StatusBadge } from '@alfalab/core-components-status-badge/esm';
8
8
  import { useFocus } from '@alfalab/hooks';
9
-
10
- var styles = {"component":"input-autocomplete__component_1g5qd","field":"input-autocomplete__field_1g5qd","disabled":"input-autocomplete__disabled_1g5qd","errorIcon":"input-autocomplete__errorIcon_1g5qd","successIcon":"input-autocomplete__successIcon_1g5qd","placeholder":"input-autocomplete__placeholder_1g5qd","contentWrapper":"input-autocomplete__contentWrapper_1g5qd","value":"input-autocomplete__value_1g5qd","focusVisible":"input-autocomplete__focusVisible_1g5qd"};
11
- require('./index.css')
9
+ import styles from './index.module.css.js';
12
10
 
13
11
  var AutocompleteMobileField = function (_a) {
14
12
  var _b;
@@ -41,3 +39,4 @@ var AutocompleteMobileField = function (_a) {
41
39
  };
42
40
 
43
41
  export { AutocompleteMobileField };
42
+ //# sourceMappingURL=Component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Component.js","sources":["../../src/autocomplete-mobile-field/Component.tsx"],"sourcesContent":["import React, { ElementType, Fragment, useRef, useState } from 'react';\nimport cn from 'classnames';\n\nimport {\n FormControlMobile,\n FormControlMobileProps,\n} from '@alfalab/core-components-form-control/mobile';\nimport { ClearButton } from '@alfalab/core-components-input/shared';\nimport type { FieldProps as BaseFieldProps } from '@alfalab/core-components-select/shared';\nimport { getDataTestId } from '@alfalab/core-components-shared';\nimport { StatusBadge } from '@alfalab/core-components-status-badge';\nimport { useFocus } from '@alfalab/hooks';\n\nimport styles from './index.module.css';\n\ntype FieldProps = {\n /**\n * Компонент FormControl\n */\n FormControlComponent?: ElementType;\n};\n\nexport type AutocompleteMobileFieldProps = FormControlMobileProps &\n Omit<BaseFieldProps, 'selected' | 'multiple' | 'success'> & {\n /**\n * Значение поля ввода\n */\n value?: string;\n };\n\nexport const AutocompleteMobileField = ({\n size = 56,\n open,\n disabled,\n value,\n innerProps,\n dataTestId,\n fieldClassName,\n labelView = 'inner',\n placeholder,\n Arrow,\n valueRenderer,\n toggleMenu,\n setSelectedItems,\n selectedMultiple,\n FormControlComponent,\n rightAddons,\n error,\n readOnly,\n clear,\n success,\n onClear,\n onInput,\n colors = 'default',\n ...restProps\n}: AutocompleteMobileFieldProps & FieldProps) => {\n const [focused, setFocused] = useState(false);\n\n const wrapperRef = useRef<HTMLDivElement>(null);\n\n const [focusVisible] = useFocus(wrapperRef, 'keyboard');\n\n const filled = Boolean(value);\n const showPlaceholder = placeholder && !filled && labelView === 'outer';\n const clearButtonVisible = clear && filled && !disabled && !readOnly;\n\n const { tabIndex, ...restInnerProps } = innerProps;\n\n const formRightAddons = (Arrow || rightAddons || clearButtonVisible || error || success) && (\n <Fragment>\n {clearButtonVisible && (\n <ClearButton onClick={onClear} disabled={disabled} colors={colors} />\n )}\n {rightAddons}\n {Arrow}\n {error && (\n <div className={styles.errorIcon} data-addon='error-icon'>\n <StatusBadge\n view='negative-alert'\n size={size === 40 ? 16 : 20}\n dataTestId={getDataTestId(dataTestId, 'error-icon')}\n />\n </div>\n )}\n {success && !error && (\n <div className={styles.successIcon}>\n <StatusBadge\n view='positive-checkmark'\n size={size === 40 ? 16 : 20}\n dataTestId={getDataTestId(dataTestId, 'success-icon')}\n />\n </div>\n )}\n </Fragment>\n );\n\n return (\n <div\n className={styles.component}\n ref={wrapperRef}\n onFocus={() => setFocused(true)}\n onBlur={() => setFocused(false)}\n >\n <FormControlMobile\n fieldClassName={cn(styles.field, fieldClassName, {\n [styles.disabled]: disabled,\n [styles.focusVisible]: focusVisible,\n })}\n block={true}\n size={size}\n focused={focused}\n disabled={disabled}\n filled={filled}\n labelView={labelView}\n dataTestId={getDataTestId(dataTestId, 'form-control')}\n // downshift устанавливает фокус на таргет поле после выбора опции, не даем ему это сделать пока открыт список, иначе поле поиска будет терять фокус\n tabIndex={open ? undefined : tabIndex}\n {...restProps}\n {...restInnerProps}\n readOnly={readOnly}\n colors={colors}\n error={error}\n rightAddons={formRightAddons}\n >\n <div className={styles.contentWrapper}>\n {showPlaceholder && <span className={styles.placeholder}>{placeholder}</span>}\n {filled && <div className={styles.value}>{value}</div>}\n </div>\n </FormControlMobile>\n </div>\n );\n};\n"],"names":[],"mappings":";;;;;;;;;;AA8BO,IAAM,uBAAuB,GAAG,UAAC,EAyBI,EAAA;;AAxBxC,IAAA,IAAA,YAAS,CAAT,CAAA,IAAI,mBAAG,EAAE,GAAA,EAAA,EACT,I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ecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
3
- } /* deprecated */ :root {
1
+ :root {
4
2
  --color-light-status-info: #2288fa;
5
- --color-light-text-secondary: rgba(4, 4, 19, 0.55); /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
6
- } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
7
- } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
3
+ --color-light-text-secondary: rgba(4, 4, 19, 0.55);
8
4
  } :root {
9
-
10
- /* Hard */
11
-
12
- /* Up */
13
-
14
- /* Hard up */
15
- } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
16
-
17
- /* новые значения, используйте их */
18
- } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
19
-
20
- /* новые значения, используйте их */
21
-
22
- /* no-unit может приводить к проблемам в calc (#1559) */
23
- /* stylelint-disable-next-line length-zero-no-unit */
24
- } :root {
25
- } /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ :root {
26
5
  --focus-color: var(--color-light-status-info);
27
6
  --disabled-cursor: not-allowed;
28
- } /* сбрасывает синюю подсветку при нажатии */ :root {
29
- /* display */
7
+ } :root {
30
8
  --input-error-icon-display: none;
31
9
  --input-success-icon-display: flex;
32
-
33
- /* управляет видимостью иконки ошибки, если она стоит рядом с другой иконкой */
34
10
  --input-error-icon-not-alone-display: none;
35
- } .input-autocomplete__component_1g5qd {
11
+ } .input-autocomplete__component_ur8d0 {
36
12
  width: 100%;
37
13
  outline: none;
38
- } .input-autocomplete__field_1g5qd:not(.input-autocomplete__disabled_1g5qd) {
14
+ } .input-autocomplete__field_ur8d0:not(.input-autocomplete__disabled_ur8d0) {
39
15
  cursor: pointer;
40
- } .input-autocomplete__errorIcon_1g5qd {
16
+ } .input-autocomplete__errorIcon_ur8d0 {
41
17
  display: var(--input-error-icon-display);
42
- } * + .input-autocomplete__errorIcon_1g5qd {
18
+ } * + .input-autocomplete__errorIcon_ur8d0 {
43
19
  display: var(--input-error-icon-not-alone-display);
44
- } .input-autocomplete__successIcon_1g5qd {
20
+ } .input-autocomplete__successIcon_ur8d0 {
45
21
  display: var(--input-success-icon-display);
46
- } .input-autocomplete__disabled_1g5qd {
22
+ } .input-autocomplete__disabled_ur8d0 {
47
23
  cursor: var(--disabled-cursor);
48
- } .input-autocomplete__placeholder_1g5qd {
24
+ } .input-autocomplete__placeholder_ur8d0 {
49
25
  color: var(--color-light-text-secondary);
50
- } .input-autocomplete__contentWrapper_1g5qd {
26
+ } .input-autocomplete__contentWrapper_ur8d0 {
51
27
  font-size: 16px;
52
28
  line-height: 20px;
53
29
  font-weight: 400;
@@ -56,11 +32,11 @@
56
32
  text-overflow: ellipsis;
57
33
  overflow: hidden;
58
34
  width: 100%;
59
- } .input-autocomplete__value_1g5qd {
35
+ } .input-autocomplete__value_ur8d0 {
60
36
  overflow: hidden;
61
37
  text-overflow: ellipsis;
62
38
  text-align: left;
63
- } .input-autocomplete__focusVisible_1g5qd {
39
+ } .input-autocomplete__focusVisible_ur8d0 {
64
40
  outline: 2px solid var(--focus-color);
65
41
  outline-offset: 2px;
66
42
  }
@@ -1 +1 @@
1
- export * from "./Component";
1
+ export * from './Component';
@@ -1 +1,2 @@
1
1
  export { AutocompleteMobileField } from './Component.js';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ import './index.css';
2
+
3
+ var styles = {"component":"input-autocomplete__component_ur8d0","field":"input-autocomplete__field_ur8d0","disabled":"input-autocomplete__disabled_ur8d0","errorIcon":"input-autocomplete__errorIcon_ur8d0","successIcon":"input-autocomplete__successIcon_ur8d0","placeholder":"input-autocomplete__placeholder_ur8d0","contentWrapper":"input-autocomplete__contentWrapper_ur8d0","value":"input-autocomplete__value_ur8d0","focusVisible":"input-autocomplete__focusVisible_ur8d0"};
4
+
5
+ export { styles as default };
6
+ //# sourceMappingURL=index.module.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.module.css.js","sources":["../src/autocomplete-mobile-field/index.module.css"],"sourcesContent":["@import '@alfalab/core-components-vars/src/index.css';\n@import '../vars.css';\n\n.component {\n width: 100%;\n outline: none;\n}\n\n.field:not(.disabled) {\n cursor: pointer;\n}\n\n.errorIcon {\n display: var(--input-error-icon-display);\n}\n\n* + .errorIcon {\n display: var(--input-error-icon-not-alone-display);\n}\n\n.successIcon {\n display: var(--input-success-icon-display);\n}\n\n.disabled {\n cursor: var(--disabled-cursor);\n}\n\n.placeholder {\n color: var(--color-light-text-secondary);\n}\n\n.contentWrapper {\n @mixin paragraph_component;\n\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n width: 100%;\n}\n\n.value {\n overflow: hidden;\n text-overflow: ellipsis;\n text-align: left;\n}\n\n.focusVisible {\n @mixin focus-outline;\n}\n"],"names":[],"mappings":";;AAEgB,aAAe,CAAC,WAAW,CAAC,qCAAqC,CAAC,OAAO,CAAC,iCAAiC,CAAC,UAAU,CAAC,oCAAoC,CAAC,WAAW,CAAC,qCAAqC,CAAC,aAAa,CAAC,uCAAuC,CAAC,aAAa,CAAC,uCAAuC,CAAC,gBAAgB,CAAC,0CAA0C,CAAC,OAAO,CAAC,iCAAiC,CAAC,cAAc,CAAC,wCAAwC,CAAC;;;;"}
@@ -1,5 +1,3 @@
1
- /// <reference types="react" />
2
1
  import React from 'react';
3
- import { InputAutocompleteCommonProps } from "../types";
4
- declare const InputAutocompleteDesktop: React.ForwardRefExoticComponent<InputAutocompleteCommonProps & React.RefAttributes<HTMLInputElement>>;
5
- export { InputAutocompleteDesktop };
2
+ import { InputAutocompleteCommonProps } from '../types';
3
+ export declare const InputAutocompleteDesktop: React.ForwardRefExoticComponent<InputAutocompleteCommonProps & React.RefAttributes<HTMLInputElement>>;
@@ -10,3 +10,4 @@ var InputAutocompleteDesktop = forwardRef(function (_a, ref) {
10
10
  });
11
11
 
12
12
  export { InputAutocompleteDesktop };
13
+ //# sourceMappingURL=Component.desktop.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Component.desktop.js","sources":["../../src/desktop/Component.desktop.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\n\nimport { Popover } from '@alfalab/core-components-popover';\nimport {\n AnyObject,\n BaseSelect,\n Optgroup as DefaultOptgroup,\n Option as DefaultOption,\n OptionsList as DefaultOptionsList,\n} from '@alfalab/core-components-select/shared';\n\nimport { AutocompleteField } from '../autocomplete-field';\nimport { InputAutocompleteCommonProps } from '../types';\n\nexport const InputAutocompleteDesktop = forwardRef<HTMLInputElement, InputAutocompleteCommonProps>(\n (\n {\n OptionsList = DefaultOptionsList,\n Optgroup = DefaultOptgroup,\n Option = DefaultOption,\n Input,\n inputProps = {},\n onInput,\n value,\n success,\n readOnly,\n closeOnSelect = false,\n options,\n ...restProps\n },\n ref,\n ) => (\n <BaseSelect\n view='desktop'\n Popover={Popover}\n ref={ref}\n autocomplete={true}\n options={options}\n closeOnSelect={closeOnSelect}\n Option={Option}\n Field={AutocompleteField}\n Optgroup={Optgroup}\n OptionsList={OptionsList}\n {...restProps}\n fieldProps={{\n ...(restProps.fieldProps as AnyObject),\n Input,\n onInput,\n value,\n inputProps,\n readOnly,\n success,\n }}\n />\n ),\n);\n"],"names":["OptionsList","DefaultOptionsList","Optgroup","DefaultOptgroup","Option","DefaultOption"],"mappings":";;;;;;IAca,wBAAwB,GAAG,UAAU,CAC9C,UACI,EAaC,EACD,GAAG,EAAA;IAbC,IAAA,EAAA,GAAA,EAAA,CAAA,WAAgC,EAAhCA,aAAW,GAAG,EAAA,KAAA,MAAA,GAAAC,WAAkB,GAAA,EAAA,EAChC,EAA0B,GAAA,EAAA,CAAA,QAAA,EAA1BC,UAAQ,GAAA,EAAA,KAAA,MAAA,GAAGC,QAAe,GAAA,EAAA,EAC1B,EAAsB,GAAA,EAAA,CAAA,MAAA,EAAtBC,QAAM,GAAA,EAAA,KAAA,MAAA,GAAGC,MAAa,GAAA,EAAA,EACtB,KAAK,GAAA,EAAA,CAAA,KAAA,EACL,EAAe,GAAA,EAAA,CAAA,UAAA,EAAf,UAAU,GAAA,EAAA,KAAA,MAAA,GAAG,EAAE,GAAA,EAAA,EACf,OAAO,GAAA,EAAA,CAAA,OAAA,EACP,KAAK,GAAA,EAAA,CAAA,KAAA,EACL,OAAO,GAAA,EAAA,CAAA,OAAA,EACP,QAAQ,GAAA,EAAA,CAAA,QAAA,EACR,qBAAqB,EAArB,aAAa,GAAG,EAAA,KAAA,MAAA,GAAA,KAAK,GAAA,EAAA,EACrB,OAAO,GAAA,EAAA,CAAA,OAAA,EACJ,SAAS,GAZhB,MAAA,CAAA,EAAA,EAAA,CAAA,aAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,YAAA,EAAA,SAAA,EAAA,OAAA,EAAA,SAAA,EAAA,UAAA,EAAA,eAAA,EAAA,SAAA,CAaC,CADe;AAGf,IAAA,QACD,KAAA,CAAA,aAAA,CAAC,UAAU,EAAA,QAAA,CAAA,EACP,IAAI,EAAC,SAAS,EACd,OAAO,EAAE,OAAO,EAChB,GAAG,EAAE,GAAG,EACR,YAAY,EAAE,IAAI,EAClB,OAAO,EAAE,OAAO,EAChB,aAAa,EAAE,aAAa,EAC5B,MAAM,EAAED,QAAM,EACd,KAAK,EAAE,iBAAiB,EACxB,QAAQ,EAAEF,UAAQ,EAClB,WAAW,EAAEF,aAAW,EAAA,EACpB,SAAS,EAAA,EACb,UAAU,EACF,QAAA,CAAA,QAAA,CAAA,EAAA,EAAA,SAAS,CAAC,UAAwB,KACtC,KAAK,EAAA,KAAA,EACL,OAAO,EAAA,OAAA,EACP,KAAK,EAAA,KAAA,EACL,UAAU,EAAA,UAAA,EACV,QAAQ,UAAA,EACR,OAAO,EAAA,OAAA,EAAA,CAAA,EAAA,CAAA,CAEb;AACL,CAAA;;;;"}
@@ -1,2 +1,2 @@
1
- export { InputAutocompleteDesktop } from "./Component.desktop";
2
- export type { InputAutocompleteCommonProps as InputAutocompleteDesktopProps } from "../types";
1
+ export { InputAutocompleteDesktop } from './Component.desktop';
2
+ export type { InputAutocompleteCommonProps as InputAutocompleteDesktopProps } from '../types';
@@ -1 +1,2 @@
1
1
  export { InputAutocompleteDesktop } from './Component.desktop.js';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
package/esm/enums.d.ts CHANGED
@@ -1,5 +1,4 @@
1
- declare enum OnInputReason {
1
+ export declare enum OnInputReason {
2
2
  Close = "close",
3
3
  Change = "change"
4
4
  }
5
- export { OnInputReason };
package/esm/enums.js CHANGED
@@ -5,3 +5,4 @@ var OnInputReason;
5
5
  })(OnInputReason || (OnInputReason = {}));
6
6
 
7
7
  export { OnInputReason };
8
+ //# sourceMappingURL=enums.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"enums.js","sources":["../src/enums.ts"],"sourcesContent":["export enum OnInputReason {\n Close = 'close',\n Change = 'change',\n}\n"],"names":[],"mappings":"IAAY;AAAZ,CAAA,UAAY,aAAa,EAAA;AACrB,IAAA,aAAA,CAAA,OAAA,CAAA,GAAA,OAAe;AACf,IAAA,aAAA,CAAA,QAAA,CAAA,GAAA,QAAiB;AACrB,CAAC,EAHW,aAAa,KAAb,aAAa,GAGxB,EAAA,CAAA,CAAA;;;;"}
package/esm/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export { InputAutocomplete } from "./Component.responsive";
2
- export type { InputAutocompleteProps } from "./types";
1
+ export { InputAutocomplete } from './Component.responsive';
2
+ export type { InputAutocompleteProps } from './types';
package/esm/index.js CHANGED
@@ -1 +1,2 @@
1
1
  export { InputAutocomplete } from './Component.responsive.js';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}