@onereach/ui-components 2.71.2-beta.2244.0 → 2.71.2

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 (254) hide show
  1. package/dist/bundled/v2/{OrCardCollection-06ecb8e1.js → OrCardCollection-091e2193.js} +2 -2
  2. package/dist/bundled/v2/{OrCardCollection-89428bbf.js → OrCardCollection-166cfcc6.js} +5 -5
  3. package/dist/bundled/v2/{OrConfirm-56d01cff.js → OrConfirm-55b89b17.js} +4 -4
  4. package/dist/bundled/v2/{OrConfirm-8c0e957d.js → OrConfirm-bb2df177.js} +1 -1
  5. package/dist/bundled/v2/{OrIconButton-837d57f8.js → OrIconButton-4bdd1566.js} +3 -10
  6. package/dist/bundled/v2/{OrInlineInput-57fccb41.js → OrInlineInput-b009a043.js} +1 -1
  7. package/dist/bundled/v2/{OrInlineTextarea-f8b86cf7.js → OrInlineTextarea-6e8c1f80.js} +1 -1
  8. package/dist/bundled/v2/{OrInput-00070eee.js → OrInput-5404a234.js} +1 -1
  9. package/dist/bundled/v2/{OrListOfInputs-8f076650.js → OrListOfInputs-ab7f9d97.js} +4 -4
  10. package/dist/bundled/v2/{OrModal-78f5d49e.js → OrModal-51b9f3e7.js} +1 -1
  11. package/dist/bundled/v2/{OrNotification-458fe937.js → OrNotification-7f761f25.js} +1 -1
  12. package/dist/bundled/v2/OrNumberInput-face8ccc.js +227 -0
  13. package/dist/bundled/v2/OrPassword-a818e7b5.js +227 -0
  14. package/dist/bundled/v2/{OrSearch-f7cfa52f.js → OrSearch-832d7978.js} +4 -4
  15. package/dist/bundled/v2/{OrSearch-bb87b34c.js → OrSearch-d1169241.js} +1 -1
  16. package/dist/bundled/v2/{OrSelect-2ececfc1.js → OrSelect-5634790b.js} +2 -2
  17. package/dist/bundled/v2/{OrTag-4085e8a7.js → OrTag-8d738be6.js} +1 -1
  18. package/dist/bundled/v2/{OrPassword-7da938aa.js → OrTextarea-71ff236d.js} +7 -449
  19. package/dist/bundled/v2/components/index.d.ts +5 -1
  20. package/dist/bundled/v2/components/index.js +21 -19
  21. package/dist/bundled/v2/components/or-card-collection/index.js +4 -4
  22. package/dist/bundled/v2/components/or-card-collection-v3/index.js +4 -4
  23. package/dist/bundled/v2/components/or-confirm/index.js +2 -2
  24. package/dist/bundled/v2/components/or-confirm-v3/index.js +3 -3
  25. package/dist/bundled/v2/components/or-icon-button-v3/OrIconButton.vue.d.ts +0 -11
  26. package/dist/bundled/v2/components/or-icon-button-v3/index.js +1 -1
  27. package/dist/bundled/v2/components/or-inline-input-v3/index.js +2 -2
  28. package/dist/bundled/v2/components/or-inline-textarea-v3/index.js +2 -2
  29. package/dist/bundled/v2/components/or-input/index.d.ts +1 -0
  30. package/dist/bundled/v2/components/or-input/index.js +13 -0
  31. package/dist/bundled/v2/components/or-input-v3/index.js +2 -2
  32. package/dist/bundled/v2/components/or-list-of-inputs/index.js +2 -2
  33. package/dist/bundled/v2/components/or-modal-v3/index.js +2 -2
  34. package/dist/bundled/v2/components/or-notification-v3/index.js +2 -2
  35. package/dist/bundled/v2/components/or-number-input/index.d.ts +1 -0
  36. package/dist/bundled/v2/components/or-number-input/index.js +14 -0
  37. package/dist/bundled/v2/components/or-password/index.d.ts +1 -0
  38. package/dist/bundled/v2/components/{or-inputs → or-password}/index.js +3 -4
  39. package/dist/bundled/v2/components/or-search/index.d.ts +1 -0
  40. package/dist/bundled/v2/components/or-search/index.js +25 -0
  41. package/dist/bundled/v2/components/or-search-v3/index.js +3 -3
  42. package/dist/bundled/v2/components/or-select-v3/index.js +4 -4
  43. package/dist/bundled/v2/components/or-tag-v3/index.js +2 -2
  44. package/dist/bundled/v2/components/or-textarea/index.d.ts +1 -0
  45. package/dist/bundled/v2/components/or-textarea/index.js +13 -0
  46. package/dist/bundled/v2/components/or-toast-v3/index.js +2 -2
  47. package/dist/bundled/v2/index.js +21 -19
  48. package/dist/bundled/v2/{types-309b7b94.js → types-79e5c18d.js} +1 -1
  49. package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-e2980d04.js → OrCardCollection.vue_vue_type_script_lang-60403ae6.js} +3 -3
  50. package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-d8124dda.js → OrCardCollection.vue_vue_type_script_lang-cd84f344.js} +4 -4
  51. package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-0f16fc67.js → OrConfirm.vue_vue_type_script_lang-41b4d791.js} +2 -1
  52. package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-eb2bfce2.js → OrConfirm.vue_vue_type_script_lang-9231d51e.js} +2 -2
  53. package/dist/bundled/v3/{OrIconButton-e0566ecf.js → OrIconButton-428dd2cf.js} +2 -3
  54. package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-7d1c3fe1.js → OrIconButton.vue_vue_type_script_lang-ec6a3622.js} +3 -9
  55. package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-49ce3308.js → OrInlineInput.vue_vue_type_script_lang-ab296efc.js} +2 -2
  56. package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-8fd761d7.js → OrInlineTextarea.vue_vue_type_script_lang-3c3e1b4a.js} +2 -2
  57. package/dist/bundled/v3/{OrInput-dcf2606e.js → OrInput-2a7c6b57.js} +1 -1
  58. package/dist/bundled/v3/{OrInput-7d4b571a.js → OrInput-704e72ba.js} +5 -193
  59. package/dist/bundled/v3/OrInput.vue_vue_type_script_lang-409235cc.js +190 -0
  60. package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-27220623.js → OrInput.vue_vue_type_script_lang-509de504.js} +2 -2
  61. package/dist/bundled/v3/{OrListOfInputs.vue_vue_type_script_lang-62dbf1e7.js → OrListOfInputs.vue_vue_type_script_lang-6c5cf7a5.js} +2 -1
  62. package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-6b1dc231.js → OrModal.vue_vue_type_script_lang-5a71a851.js} +2 -2
  63. package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-d0afc1d7.js → OrNotification.vue_vue_type_script_lang-6287244f.js} +2 -2
  64. package/dist/bundled/v3/OrNumberInput.vue_vue_type_script_lang-f061d829.js +113 -0
  65. package/dist/bundled/v3/OrPassword.vue_vue_type_script_lang-b75f6543.js +99 -0
  66. package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-16fbccc0.js → OrSearch.vue_vue_type_script_lang-5356fa79.js} +2 -1
  67. package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-321907ec.js → OrSearch.vue_vue_type_script_lang-ab2ef22c.js} +2 -2
  68. package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-7fd5e2f0.js → OrSelect.vue_vue_type_script_lang-54f683a2.js} +3 -3
  69. package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-a25a49ee.js → OrTag.vue_vue_type_script_lang-cd3e040e.js} +2 -2
  70. package/dist/bundled/v3/OrTextarea.vue_vue_type_script_lang-69ea22e9.js +187 -0
  71. package/dist/bundled/v3/{OrToastContainer-6fe12712.js → OrToastContainer-ad5ae5af.js} +1 -1
  72. package/dist/bundled/v3/components/index.d.ts +5 -1
  73. package/dist/bundled/v3/components/index.js +24 -21
  74. package/dist/bundled/v3/components/or-card-collection/index.js +5 -4
  75. package/dist/bundled/v3/components/or-card-collection-v3/index.js +6 -6
  76. package/dist/bundled/v3/components/or-confirm/index.js +3 -2
  77. package/dist/bundled/v3/components/or-confirm-v3/index.js +5 -5
  78. package/dist/bundled/v3/components/or-icon-button-v3/OrIconButton.vue.d.ts +0 -11
  79. package/dist/bundled/v3/components/or-icon-button-v3/index.js +1 -1
  80. package/dist/bundled/v3/components/or-inline-input-v3/index.js +3 -3
  81. package/dist/bundled/v3/components/or-inline-textarea-v3/index.js +3 -3
  82. package/dist/bundled/v3/components/or-input/index.d.ts +1 -0
  83. package/dist/bundled/v3/components/or-input/index.js +14 -0
  84. package/dist/bundled/v3/components/or-input-v3/index.js +3 -3
  85. package/dist/bundled/v3/components/or-list-of-inputs/index.js +3 -2
  86. package/dist/bundled/v3/components/or-modal-v3/index.js +3 -3
  87. package/dist/bundled/v3/components/or-notification-v3/index.js +3 -3
  88. package/dist/bundled/v3/components/or-number-input/index.d.ts +1 -0
  89. package/dist/bundled/v3/components/or-number-input/index.js +16 -0
  90. package/dist/bundled/v3/components/or-password/index.d.ts +1 -0
  91. package/dist/bundled/v3/components/or-password/index.js +31 -0
  92. package/dist/bundled/v3/components/or-search/index.d.ts +1 -0
  93. package/dist/bundled/v3/components/{or-inputs → or-search}/index.js +4 -5
  94. package/dist/bundled/v3/components/or-search-v3/index.js +5 -5
  95. package/dist/bundled/v3/components/or-select-v3/index.js +6 -6
  96. package/dist/bundled/v3/components/or-tag-v3/index.js +3 -3
  97. package/dist/bundled/v3/components/or-textarea/index.d.ts +1 -0
  98. package/dist/bundled/v3/components/or-textarea/index.js +14 -0
  99. package/dist/bundled/v3/components/or-toast-v3/index.js +4 -4
  100. package/dist/bundled/v3/index.js +674 -669
  101. package/dist/bundled/v3/{types-22fbf9d6.js → types-1d25bb9a.js} +2 -2
  102. package/dist/esm/v2/{OrCardCollection-f6b07557.js → OrCardCollection-19582949.js} +6 -7
  103. package/dist/esm/v2/{OrCardCollection-251ab033.js → OrCardCollection-bbdb6159.js} +2 -2
  104. package/dist/esm/v2/{OrConfirm-9dbdedd7.js → OrConfirm-cfaf4266.js} +1 -1
  105. package/dist/esm/v2/{OrConfirm-d7112dd3.js → OrConfirm-ede619eb.js} +4 -4
  106. package/dist/esm/v2/{OrIconButton-04a3566d.js → OrIconButton-5fa56aec.js} +3 -10
  107. package/dist/esm/v2/{OrInlineInput-b85b84b4.js → OrInlineInput-38645a8e.js} +1 -1
  108. package/dist/esm/v2/{OrInlineTextarea-afd33047.js → OrInlineTextarea-b49a7107.js} +1 -1
  109. package/dist/esm/v2/{OrSearch.vue_rollup-plugin-vue_script-197d77fc.js → OrInput-6e6cfd11.js} +4 -492
  110. package/dist/esm/v2/{OrInput-59a15d80.js → OrInput-e8fe9102.js} +1 -1
  111. package/dist/esm/v2/{OrListOfInputs-50aa1ef1.js → OrListOfInputs-4298fa2c.js} +5 -5
  112. package/dist/esm/v2/{OrModal-4e79e0d5.js → OrModal-3b9d59de.js} +1 -1
  113. package/dist/esm/v2/{OrNotification-eac3867f.js → OrNotification-5e145880.js} +1 -1
  114. package/dist/esm/v2/OrNumberInput-b20d75d2.js +225 -0
  115. package/dist/esm/v2/OrPassword-e6d5e968.js +225 -0
  116. package/dist/esm/v2/{OrSearch-f42d588d.js → OrSearch-4b774707.js} +1 -1
  117. package/dist/esm/v2/{OrSearch-0589d17d.js → OrSearch-b4f4d59b.js} +122 -5
  118. package/dist/esm/v2/{OrSelect-e31d1c8b.js → OrSelect-d7016575.js} +2 -2
  119. package/dist/esm/v2/{OrTag-b2906865.js → OrTag-765090df.js} +1 -1
  120. package/dist/esm/v2/{OrPassword-1fa97156.js → OrTextarea-91a95068.js} +187 -245
  121. package/dist/esm/v2/components/index.d.ts +5 -1
  122. package/dist/esm/v2/components/index.js +21 -19
  123. package/dist/esm/v2/components/or-card-collection/index.js +3 -4
  124. package/dist/esm/v2/components/or-card-collection-v3/index.js +4 -4
  125. package/dist/esm/v2/components/or-confirm/index.js +2 -3
  126. package/dist/esm/v2/components/or-confirm-v3/index.js +3 -3
  127. package/dist/esm/v2/components/or-icon-button-v3/OrIconButton.vue.d.ts +0 -11
  128. package/dist/esm/v2/components/or-icon-button-v3/index.js +1 -1
  129. package/dist/esm/v2/components/or-inline-input-v3/index.js +2 -2
  130. package/dist/esm/v2/components/or-inline-textarea-v3/index.js +2 -2
  131. package/dist/esm/v2/components/or-input/index.d.ts +1 -0
  132. package/dist/esm/v2/components/or-input/index.js +11 -0
  133. package/dist/esm/v2/components/or-input-v3/index.js +2 -2
  134. package/dist/esm/v2/components/or-list-of-inputs/index.js +2 -4
  135. package/dist/esm/v2/components/or-modal-v3/index.js +2 -2
  136. package/dist/esm/v2/components/or-notification-v3/index.js +2 -2
  137. package/dist/esm/v2/components/or-number-input/index.d.ts +1 -0
  138. package/dist/esm/v2/components/or-number-input/index.js +12 -0
  139. package/dist/esm/v2/components/or-password/index.d.ts +1 -0
  140. package/dist/esm/v2/components/{or-inputs → or-password}/index.js +5 -6
  141. package/dist/esm/v2/components/or-search/index.d.ts +1 -0
  142. package/dist/esm/v2/components/or-search/index.js +23 -0
  143. package/dist/esm/v2/components/or-search-v3/index.js +3 -3
  144. package/dist/esm/v2/components/or-select-v3/index.js +4 -4
  145. package/dist/esm/v2/components/or-tag-v3/index.js +2 -2
  146. package/dist/esm/v2/components/or-textarea/index.d.ts +1 -0
  147. package/dist/esm/v2/components/or-textarea/index.js +11 -0
  148. package/dist/esm/v2/components/or-toast-v3/index.js +2 -2
  149. package/dist/esm/v2/index.js +20 -18
  150. package/dist/esm/v2/{types-1f95d710.js → types-856a804f.js} +1 -1
  151. package/dist/esm/v3/{OrCardCollection-a5e326ef.js → OrCardCollection-1e44c758.js} +2 -2
  152. package/dist/esm/v3/{OrCardCollection-8b8e3745.js → OrCardCollection-47f61c40.js} +2 -2
  153. package/dist/esm/v3/{OrConfirm-f39bd784.js → OrConfirm-c11ee2ec.js} +1 -1
  154. package/dist/esm/v3/{OrConfirm-37454a63.js → OrConfirm-e7cbf54c.js} +1 -1
  155. package/dist/esm/v3/{OrIconButton-2dcfb83e.js → OrIconButton-e5781317.js} +4 -11
  156. package/dist/esm/v3/{OrInlineInput-fbc35f85.js → OrInlineInput-09de432a.js} +1 -1
  157. package/dist/esm/v3/{OrInlineTextarea-79da8697.js → OrInlineTextarea-56328f22.js} +1 -1
  158. package/dist/esm/v3/{OrInput-bd054213.js → OrInput-6fb81556.js} +1 -1
  159. package/dist/esm/v3/OrInput-81125804.js +295 -0
  160. package/dist/esm/v3/{OrListOfInputs-7a67440f.js → OrListOfInputs-508e056f.js} +1 -1
  161. package/dist/esm/v3/{OrModal-4219a6dc.js → OrModal-10838da7.js} +1 -1
  162. package/dist/esm/v3/{OrNotification-0e682c7f.js → OrNotification-25da89ca.js} +1 -1
  163. package/dist/esm/v3/OrNumberInput-b32b5ce3.js +170 -0
  164. package/dist/esm/v3/OrPassword-b0cbb578.js +162 -0
  165. package/dist/esm/v3/OrSearch-11fdf667.js +188 -0
  166. package/dist/esm/v3/{OrSearch-4c5c44f2.js → OrSearch-e15955a7.js} +1 -1
  167. package/dist/esm/v3/{OrSelect-466e50ca.js → OrSelect-027b5e8f.js} +2 -2
  168. package/dist/esm/v3/{OrTag-148ff9ae.js → OrTag-21ba5e15.js} +1 -1
  169. package/dist/esm/v3/OrTextarea-1f5c3be1.js +290 -0
  170. package/dist/esm/v3/components/index.d.ts +5 -1
  171. package/dist/esm/v3/components/index.js +21 -17
  172. package/dist/esm/v3/components/or-card-collection/index.js +3 -3
  173. package/dist/esm/v3/components/or-card-collection-v3/index.js +4 -4
  174. package/dist/esm/v3/components/or-confirm/index.js +2 -3
  175. package/dist/esm/v3/components/or-confirm-v3/index.js +3 -3
  176. package/dist/esm/v3/components/or-icon-button-v3/OrIconButton.vue.d.ts +0 -11
  177. package/dist/esm/v3/components/or-icon-button-v3/index.js +1 -1
  178. package/dist/esm/v3/components/or-inline-input-v3/index.js +2 -2
  179. package/dist/esm/v3/components/or-inline-textarea-v3/index.js +2 -2
  180. package/dist/esm/v3/components/or-input/index.d.ts +1 -0
  181. package/dist/esm/v3/components/or-input/index.js +11 -0
  182. package/dist/esm/v3/components/or-input-v3/index.js +2 -2
  183. package/dist/esm/v3/components/or-list-of-inputs/index.js +2 -4
  184. package/dist/esm/v3/components/or-modal-v3/index.js +2 -2
  185. package/dist/esm/v3/components/or-notification-v3/index.js +2 -2
  186. package/dist/esm/v3/components/or-number-input/index.d.ts +1 -0
  187. package/dist/esm/v3/components/or-number-input/index.js +12 -0
  188. package/dist/esm/v3/components/or-password/index.d.ts +1 -0
  189. package/dist/esm/v3/components/{or-inputs → or-password}/index.js +3 -2
  190. package/dist/esm/v3/components/or-search/index.d.ts +1 -0
  191. package/dist/esm/v3/components/or-search/index.js +20 -0
  192. package/dist/esm/v3/components/or-search-v3/index.js +3 -3
  193. package/dist/esm/v3/components/or-select-v3/index.js +4 -4
  194. package/dist/esm/v3/components/or-tag-v3/index.js +2 -2
  195. package/dist/esm/v3/components/or-textarea/index.d.ts +1 -0
  196. package/dist/esm/v3/components/or-textarea/index.js +11 -0
  197. package/dist/esm/v3/components/or-toast-v3/index.js +2 -2
  198. package/dist/esm/v3/index.js +20 -16
  199. package/dist/esm/v3/{types-b79e4387.js → types-7f17b4b2.js} +1 -1
  200. package/package.json +3 -2
  201. package/src/components/index.ts +5 -1
  202. package/src/components/or-card-collection/OrCardCollection.vue +8 -8
  203. package/src/components/or-confirm/OrConfirm.vue +1 -1
  204. package/src/components/or-icon-button-v3/OrIconButton.stories3.ts +0 -4
  205. package/src/components/or-icon-button-v3/OrIconButton.vue +0 -6
  206. package/src/components/or-icon-button-v3/styles.ts +0 -13
  207. package/src/components/or-input/index.ts +1 -0
  208. package/src/components/or-list/OrList.stories.ts +1 -1
  209. package/src/components/or-list-of-inputs/OrListOfInputs.vue +1 -1
  210. package/src/components/or-modal/OrModal.stories.ts +1 -1
  211. package/src/components/{or-inputs → or-number-input}/OrNumberInput.vue +1 -1
  212. package/src/components/or-number-input/index.ts +1 -0
  213. package/src/components/{or-inputs → or-password}/OrPassword.vue +1 -1
  214. package/src/components/or-password/index.ts +1 -0
  215. package/src/components/{or-inputs → or-search}/OrSearch.vue +1 -1
  216. package/src/components/or-search/index.ts +1 -0
  217. package/src/components/{or-inputs → or-textarea}/OrTextarea.vue +225 -6
  218. package/src/components/or-textarea/index.ts +1 -0
  219. package/dist/bundled/v2/components/or-inputs/index.d.ts +0 -5
  220. package/dist/bundled/v3/OrPassword.vue_vue_type_script_lang-13bc5b00.js +0 -390
  221. package/dist/bundled/v3/components/or-inputs/index.d.ts +0 -5
  222. package/dist/esm/v2/components/or-inputs/index.d.ts +0 -5
  223. package/dist/esm/v3/OrSearch-7cb2c91c.js +0 -1075
  224. package/dist/esm/v3/components/or-inputs/index.d.ts +0 -5
  225. package/src/components/or-inputs/index.ts +0 -5
  226. /package/dist/bundled/v2/{OrInput-08f2f666.js → OrInput-df1a14fa.js} +0 -0
  227. /package/dist/bundled/v2/components/{or-inputs → or-input}/OrInput.vue.d.ts +0 -0
  228. /package/dist/bundled/v2/components/{or-inputs → or-number-input}/OrNumberInput.vue.d.ts +0 -0
  229. /package/dist/bundled/v2/components/{or-inputs → or-password}/OrPassword.vue.d.ts +0 -0
  230. /package/dist/bundled/v2/components/{or-inputs → or-search}/OrSearch.vue.d.ts +0 -0
  231. /package/dist/bundled/v2/components/{or-inputs → or-textarea}/OrTextarea.vue.d.ts +0 -0
  232. /package/dist/bundled/v3/components/{or-inputs → or-input}/OrInput.vue.d.ts +0 -0
  233. /package/dist/bundled/v3/components/{or-inputs → or-number-input}/OrNumberInput.vue.d.ts +0 -0
  234. /package/dist/bundled/v3/components/{or-inputs → or-password}/OrPassword.vue.d.ts +0 -0
  235. /package/dist/bundled/v3/components/{or-inputs → or-search}/OrSearch.vue.d.ts +0 -0
  236. /package/dist/bundled/v3/components/{or-inputs → or-textarea}/OrTextarea.vue.d.ts +0 -0
  237. /package/dist/esm/v2/components/{or-inputs → or-input}/OrInput.vue.d.ts +0 -0
  238. /package/dist/esm/v2/components/{or-inputs → or-number-input}/OrNumberInput.vue.d.ts +0 -0
  239. /package/dist/esm/v2/components/{or-inputs → or-password}/OrPassword.vue.d.ts +0 -0
  240. /package/dist/esm/v2/components/{or-inputs → or-search}/OrSearch.vue.d.ts +0 -0
  241. /package/dist/esm/v2/components/{or-inputs → or-textarea}/OrTextarea.vue.d.ts +0 -0
  242. /package/dist/esm/v3/components/{or-inputs → or-input}/OrInput.vue.d.ts +0 -0
  243. /package/dist/esm/v3/components/{or-inputs → or-number-input}/OrNumberInput.vue.d.ts +0 -0
  244. /package/dist/esm/v3/components/{or-inputs → or-password}/OrPassword.vue.d.ts +0 -0
  245. /package/dist/esm/v3/components/{or-inputs → or-search}/OrSearch.vue.d.ts +0 -0
  246. /package/dist/esm/v3/components/{or-inputs → or-textarea}/OrTextarea.vue.d.ts +0 -0
  247. /package/src/components/{or-inputs → or-input}/OrInput.stories.ts +0 -0
  248. /package/src/components/{or-inputs → or-input}/OrInput.vue +0 -0
  249. /package/src/components/{or-inputs → or-input}/or-textbox-migration.stories.mdx +0 -0
  250. /package/src/components/{or-inputs → or-input}/styles.scss +0 -0
  251. /package/src/components/{or-inputs → or-number-input}/OrNumberInput.stories.ts +0 -0
  252. /package/src/components/{or-inputs → or-password}/OrPassword.stories.ts +0 -0
  253. /package/src/components/{or-inputs → or-search}/OrSearch.stories.ts +0 -0
  254. /package/src/components/{or-inputs → or-textarea}/OrTextarea.stories.ts +0 -0
@@ -1,9 +1,9 @@
1
1
  import { useToggle } from '@vueuse/core';
2
2
  import { defineComponent, ref, computed, resolveComponent, openBlock, createElementBlock, normalizeClass, renderSlot, createCommentVNode, createVNode, createElementVNode, toDisplayString, createBlock, withModifiers, onBeforeMount, onBeforeUnmount, nextTick } from 'vue';
3
3
  import { T as ToastType, P as PositionsX, b as PositionsY, c as TransitionType, d as useToastEventBus, a as useQueue } from './useToast-4d4329cd.js';
4
- import './OrIconButton-e0566ecf.js';
4
+ import './OrIconButton-428dd2cf.js';
5
5
  import './OrLoader-123ef8c4.js';
6
- import { s as script$2 } from './OrIconButton.vue_vue_type_script_lang-7d1c3fe1.js';
6
+ import { s as script$2 } from './OrIconButton.vue_vue_type_script_lang-ec6a3622.js';
7
7
  import { s as script$3 } from './OrLoader.vue_vue_type_script_lang-4c3c1ac9.js';
8
8
  import { s as styleInject } from './style-inject.es-4c6f2515.js';
9
9
  import './OrOverlay.vue_vue_type_script_lang-7edd25f6.js';
@@ -1,10 +1,9 @@
1
1
  import { defineComponent, ref } from 'vue-demi';
2
2
  import { _ as __vue_component__$1 } from './OrCard-b7268256.js';
3
3
  import { _ as __vue_component__$2 } from './OrIcon-819166f6.js';
4
- import './OrSearch.vue_rollup-plugin-vue_script-197d77fc.js';
5
- import { c as createInjector } from './browser-82dea9ed.js';
6
- import { _ as __vue_component__$3 } from './OrSearch-0589d17d.js';
4
+ import { _ as __vue_component__$3 } from './OrSearch-b4f4d59b.js';
7
5
  import './OrIconButton.vue_rollup-plugin-vue_script-9fb7b7ab.js';
6
+ import { c as createInjector } from './browser-82dea9ed.js';
8
7
  import { _ as __vue_component__$4 } from './OrIconButton-014e86a7.js';
9
8
  import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
10
9
 
@@ -198,18 +197,18 @@ var __vue_staticRenderFns__ = [];
198
197
  /* style */
199
198
  const __vue_inject_styles__ = function (inject) {
200
199
  if (!inject) return;
201
- inject("data-v-4839d0ae_0", {
202
- source: "@keyframes spinAround-data-v-4839d0ae{from{transform:rotate(0)}to{transform:rotate(359deg)}}@keyframes fade-data-v-4839d0ae{from{opacity:1}to{opacity:0}}.or-card-collection .or-card-collection-toolbar[data-v-4839d0ae]{display:flex;justify-content:space-between;align-items:center;column-gap:var(--s-4);margin:0 var(--s-4)}.or-card-collection .or-card-collection-toolbar .or-card-collection-sorting[data-v-4839d0ae]{flex-grow:1;cursor:pointer}.or-card-collection .or-card-collection-toolbar .or-card-collection-sorting .or-card-collection-sorting-column[data-v-4839d0ae]{display:inline-flex;margin:var(--s-2) var(--s-6);text-transform:capitalize;color:var(--c-neutral-4);font-size:var(--fs-0);font-weight:var(--fw-0);letter-spacing:0;line-height:var(--lh-0);user-select:none}.or-card-collection .or-card-collection-toolbar .or-card-collection-sorting .or-card-collection-sorting-column.sorting-selected[data-v-4839d0ae]{color:var(--c-neutral-6);font-weight:700}.or-card-collection .or-card-collection-toolbar .or-card-collection-sorting .or-card-collection-sorting-column.sorting-selected .or-card-collection-sort-direction[data-v-4839d0ae]{height:14px;width:14px;margin-left:var(--s-1)}.or-card-collection .or-card-collection-toolbar .or-card-collection-layout-buttons .or-icon-button[data-v-4839d0ae]{border-radius:0}.or-card-collection .or-card-collection-wrapper[data-v-4839d0ae]{display:flex;margin-top:var(--s-5)}.or-card-collection.or-card-collection-grid .or-card-collection-wrapper[data-v-4839d0ae]{flex-flow:row wrap}.or-card-collection.or-card-collection-grid .or-card-collection-wrapper .or-card[data-v-4839d0ae]{margin-right:auto}.or-card-collection.or-card-collection-list .or-card-collection-wrapper[data-v-4839d0ae]{flex-direction:column}",
200
+ inject("data-v-06085c59_0", {
201
+ source: "@keyframes spinAround-data-v-06085c59{from{transform:rotate(0)}to{transform:rotate(359deg)}}@keyframes fade-data-v-06085c59{from{opacity:1}to{opacity:0}}.or-card-collection .or-card-collection-toolbar[data-v-06085c59]{display:flex;column-gap:var(--s-4);align-items:center;justify-content:space-between;margin:0 var(--s-4)}.or-card-collection .or-card-collection-toolbar .or-card-collection-sorting[data-v-06085c59]{flex-grow:1;cursor:pointer}.or-card-collection .or-card-collection-toolbar .or-card-collection-sorting .or-card-collection-sorting-column[data-v-06085c59]{display:inline-flex;margin:var(--s-2) var(--s-6);font-size:var(--fs-0);font-weight:var(--fw-0);line-height:var(--lh-0);color:var(--c-neutral-4);text-transform:capitalize;letter-spacing:0;user-select:none}.or-card-collection .or-card-collection-toolbar .or-card-collection-sorting .or-card-collection-sorting-column.sorting-selected[data-v-06085c59]{font-weight:700;color:var(--c-neutral-6)}.or-card-collection .or-card-collection-toolbar .or-card-collection-sorting .or-card-collection-sorting-column.sorting-selected .or-card-collection-sort-direction[data-v-06085c59]{width:14px;height:14px;margin-left:var(--s-1)}.or-card-collection .or-card-collection-toolbar .or-card-collection-layout-buttons .or-icon-button[data-v-06085c59]{border-radius:0}.or-card-collection .or-card-collection-wrapper[data-v-06085c59]{display:flex;margin-top:var(--s-5)}.or-card-collection.or-card-collection-grid .or-card-collection-wrapper[data-v-06085c59]{flex-flow:row wrap}.or-card-collection.or-card-collection-grid .or-card-collection-wrapper .or-card[data-v-06085c59]{margin-right:auto}.or-card-collection.or-card-collection-list .or-card-collection-wrapper[data-v-06085c59]{flex-direction:column}",
203
202
  map: undefined,
204
203
  media: undefined
205
- }), inject("data-v-4839d0ae_1", {
204
+ }), inject("data-v-06085c59_1", {
206
205
  source: ".or-card-collection-filter .or-textbox .or-textbox--input{max-width:256px;height:30px}.or-card-collection-sort-direction .or-icon{font-size:1rem}",
207
206
  map: undefined,
208
207
  media: undefined
209
208
  });
210
209
  };
211
210
  /* scoped */
212
- const __vue_scope_id__ = "data-v-4839d0ae";
211
+ const __vue_scope_id__ = "data-v-06085c59";
213
212
  /* module identifier */
214
213
  const __vue_module_identifier__ = undefined;
215
214
  /* functional template */
@@ -1,11 +1,11 @@
1
1
  import { defineComponent, computed, ref, watch } from 'vue-demi';
2
2
  import { _ as __vue_component__$3 } from './OrButton-66964360.js';
3
- import { _ as __vue_component__$2 } from './OrIconButton-04a3566d.js';
3
+ import { _ as __vue_component__$2 } from './OrIconButton-5fa56aec.js';
4
4
  import { _ as __vue_component__$6 } from './OrIcon-f34e0e6f.js';
5
5
  import { _ as __vue_component__$5 } from './OrMenuItem-7b7fbf8a.js';
6
6
  import { _ as __vue_component__$4 } from './OrMenu-c276db74.js';
7
7
  import './OrPopover-d5d4f62a.js';
8
- import { _ as __vue_component__$7 } from './OrSearch-f42d588d.js';
8
+ import { _ as __vue_component__$7 } from './OrSearch-4b774707.js';
9
9
  import './OrInputBox-9ceb9fc4.js';
10
10
  import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
11
11
 
@@ -2,7 +2,7 @@ import { useMagicKeys, whenever, onClickOutside } from '@vueuse/core';
2
2
  import { logicAnd } from '@vueuse/math';
3
3
  import { defineComponent, ref, computed, watch } from 'vue-demi';
4
4
  import { _ as __vue_component__$2, a as ButtonColor } from './OrButton-66964360.js';
5
- import { _ as __vue_component__$3 } from './OrInput-59a15d80.js';
5
+ import { _ as __vue_component__$3 } from './OrInput-e8fe9102.js';
6
6
  import { _ as __vue_component__$1 } from './OrOverlay-a019186f.js';
7
7
  import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
8
8
 
@@ -3,7 +3,7 @@ import { _ as __vue_component__$1 } from './OrButton-c4f9955b.js';
3
3
  import { a as BUTTON_COLOR } from './OrIconButton.vue_rollup-plugin-vue_script-9fb7b7ab.js';
4
4
  import { c as createInjector } from './browser-82dea9ed.js';
5
5
  import { _ as __vue_component__$2, O as OrModalSizes } from './OrModal-97e83549.js';
6
- import { _ as __vue_component__$3 } from './OrSearch.vue_rollup-plugin-vue_script-197d77fc.js';
6
+ import { _ as __vue_component__$3 } from './OrInput-6e6cfd11.js';
7
7
  import { useMagicKeys, useActiveElement, whenever } from '@vueuse/core';
8
8
  import { logicAnd } from '@vueuse/math';
9
9
  import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
@@ -237,14 +237,14 @@ var __vue_staticRenderFns__ = [];
237
237
  /* style */
238
238
  const __vue_inject_styles__ = function (inject) {
239
239
  if (!inject) return;
240
- inject("data-v-001a7d92_0", {
241
- source: "@keyframes spinAround-data-v-001a7d92{from{transform:rotate(0)}to{transform:rotate(359deg)}}@keyframes fade-data-v-001a7d92{from{opacity:1}to{opacity:0}}.or-confirm-footer[data-v-001a7d92]{display:flex;flex-direction:row;gap:var(--s-4);justify-content:end}.confirmation-textbox[data-v-001a7d92]{margin-top:var(--s-3)}.or-modal[data-v-001a7d92] .header{padding-bottom:var(--s-4)!important}.or-modal[data-v-001a7d92] .content{padding-bottom:0!important;font-size:var(--fs-1);font-weight:400;line-height:var(--lh-1)}.or-modal[data-v-001a7d92] .footer{box-shadow:none!important}",
240
+ inject("data-v-8712b442_0", {
241
+ source: "@keyframes spinAround-data-v-8712b442{from{transform:rotate(0)}to{transform:rotate(359deg)}}@keyframes fade-data-v-8712b442{from{opacity:1}to{opacity:0}}.or-confirm-footer[data-v-8712b442]{display:flex;flex-direction:row;gap:var(--s-4);justify-content:end}.confirmation-textbox[data-v-8712b442]{margin-top:var(--s-3)}.or-modal[data-v-8712b442] .header{padding-bottom:var(--s-4)!important}.or-modal[data-v-8712b442] .content{padding-bottom:0!important;font-size:var(--fs-1);font-weight:400;line-height:var(--lh-1)}.or-modal[data-v-8712b442] .footer{box-shadow:none!important}",
242
242
  map: undefined,
243
243
  media: undefined
244
244
  });
245
245
  };
246
246
  /* scoped */
247
- const __vue_scope_id__ = "data-v-001a7d92";
247
+ const __vue_scope_id__ = "data-v-8712b442";
248
248
  /* module identifier */
249
249
  const __vue_module_identifier__ = undefined;
250
250
  /* functional template */
@@ -33,13 +33,11 @@ const IconButtonRootColors = {
33
33
  // Theme
34
34
  'theme-preset-3-primary', 'dark:theme-preset-3-primary-dark', 'theme-foreground-outline', 'dark:theme-foreground-outline-dark',
35
35
  // Theme (hover)
36
- 'hover:outline-primary-opacity-0-08', 'dark:hover:outline-primary-opacity-0-08-dark', 'hover:theme-foreground-default', 'dark:hover:theme-foreground-default-dark',
36
+ 'hover:outline-primary-opacity-0-08', 'dark:hover:outline-primary-opacity-0-08-dark',
37
37
  // Theme (focus)
38
- 'focus:outline-primary-opacity-0-08', 'dark:focus:outline-primary-opacity-0-08-dark', 'focus:theme-foreground-default', 'dark:focus:theme-foreground-default-dark',
38
+ 'focus:outline-primary-opacity-0-08', 'dark:focus:outline-primary-opacity-0-08-dark',
39
39
  // Theme (active)
40
- 'active:outline-primary-opacity-0-16', 'dark:active:outline-primary-opacity-0-16-dark', 'active:theme-foreground-default', 'dark:active:theme-foreground-default-dark',
41
- // Theme (selected)
42
- 'selected:theme-foreground-default', 'dark:selected:theme-foreground-default-dark'],
40
+ 'active:outline-primary-opacity-0-16', 'dark:active:outline-primary-opacity-0-16-dark'],
43
41
  'danger': [
44
42
  // Theme
45
43
  'theme-preset-3-error', 'dark:theme-preset-3-error-dark',
@@ -80,10 +78,6 @@ var script = defineComponent({
80
78
  type: String,
81
79
  default: IconSize.M
82
80
  },
83
- selected: {
84
- type: Boolean,
85
- default: false
86
- },
87
81
  disabled: {
88
82
  type: Boolean,
89
83
  default: false
@@ -122,7 +116,6 @@ var __vue_render__ = function () {
122
116
  class: _vm.rootStyles,
123
117
  attrs: {
124
118
  "type": 'button',
125
- "selected": _vm.selected ? '' : null,
126
119
  "disabled": _vm.disabled
127
120
  },
128
121
  on: {
@@ -4,7 +4,7 @@ import '@vueuse/core';
4
4
  import { u as useValidationAttributes } from './useValidationAttributes-d1abbe34.js';
5
5
  import { _ as __vue_component__$1 } from './OrError-13845bb0.js';
6
6
  import { _ as __vue_component__$2 } from './OrHint-78b399cb.js';
7
- import { _ as __vue_component__$3 } from './OrIconButton-04a3566d.js';
7
+ import { _ as __vue_component__$3 } from './OrIconButton-5fa56aec.js';
8
8
  import { _ as __vue_component__$4, I as InlineInputBoxSize } from './OrInlineInputBox-46146af0.js';
9
9
  import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
10
10
  import { c as createInjector } from './browser-82dea9ed.js';
@@ -4,7 +4,7 @@ import '@vueuse/core';
4
4
  import { u as useValidationAttributes } from './useValidationAttributes-d1abbe34.js';
5
5
  import { _ as __vue_component__$1 } from './OrError-13845bb0.js';
6
6
  import { _ as __vue_component__$2 } from './OrHint-78b399cb.js';
7
- import { _ as __vue_component__$3 } from './OrIconButton-04a3566d.js';
7
+ import { _ as __vue_component__$3 } from './OrIconButton-5fa56aec.js';
8
8
  import { _ as __vue_component__$4 } from './OrInlineInputBox-46146af0.js';
9
9
  import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
10
10
  import { c as createInjector } from './browser-82dea9ed.js';
@@ -5,188 +5,10 @@ import { _ as __vue_component__$1 } from './OrLabel-33b41516.js';
5
5
  import { _ as __vue_component__$2 } from './OrHint-c45f1e09.js';
6
6
  import { _ as __vue_component__$3 } from './OrError-081130bb.js';
7
7
  import { _ as __vue_component__$4 } from './OrCollapse-4d892ca3.js';
8
- import { useVModel, debouncedWatch } from '@vueuse/core';
9
- import { u as useToggle } from './useToggle-29e4d7c7.js';
10
- import { b as BUTTON_SIZE } from './OrIconButton.vue_rollup-plugin-vue_script-9fb7b7ab.js';
11
- import { c as createInjector } from './browser-82dea9ed.js';
12
- import { _ as __vue_component__$5 } from './OrIconButton-014e86a7.js';
13
8
  import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
9
+ import { c as createInjector } from './browser-82dea9ed.js';
14
10
 
15
- var script$4 = defineComponent({
16
- name: 'OrTextarea',
17
- components: {
18
- OrLabel: __vue_component__$1,
19
- OrHint: __vue_component__$2,
20
- OrError: __vue_component__$3,
21
- OrCollapse: __vue_component__$4
22
- },
23
- model: {
24
- prop: 'modelValue',
25
- event: 'update:modelValue'
26
- },
27
- props: {
28
- modelValue: {
29
- type: String,
30
- default: '',
31
- required: false
32
- },
33
- htmlId: {
34
- type: String,
35
- default: '',
36
- required: false
37
- },
38
- placeholder: {
39
- type: String,
40
- default: '',
41
- required: false
42
- },
43
- label: {
44
- type: String,
45
- default: '',
46
- required: false
47
- },
48
- error: {
49
- type: String,
50
- default: '',
51
- required: false
52
- },
53
- hint: {
54
- type: String,
55
- default: '',
56
- required: false
57
- },
58
- maxLength: {
59
- type: Number,
60
- default: undefined,
61
- required: false
62
- },
63
- isSmall: Boolean,
64
- isRequired: Boolean,
65
- isDisabled: Boolean,
66
- isReadonly: Boolean,
67
- isInvalid: Boolean
68
- },
69
- emits: ['focus', 'blur', 'update:modelValue', 'input', 'keypress', 'keyup', 'keydown'],
70
- setup() {
71
- const inputRef = ref();
72
- return {
73
- inputRef
74
- };
75
- },
76
- data() {
77
- return {
78
- reqAF: null,
79
- isFocused: false
80
- };
81
- },
82
- computed: {
83
- localValue() {
84
- if (this.maxLength && this.modelValue.length > this.maxLength) {
85
- return this.modelValue.slice(0, -(this.modelValue.length - this.maxLength));
86
- }
87
- return this.modelValue;
88
- },
89
- localId() {
90
- var _a;
91
- return this.htmlId || `input-${(_a = getCurrentInstance()) === null || _a === void 0 ? void 0 : _a.uid}`;
92
- },
93
- hasValue() {
94
- return !!this.localValue.length;
95
- },
96
- counterString() {
97
- return this.maxLength && this.maxLength > 0 ? `${this.localValue.length} / ${this.maxLength}` : '';
98
- },
99
- isInactive() {
100
- return this.isDisabled || this.isReadonly;
101
- },
102
- isShowError() {
103
- return !!this.error && this.isInvalid;
104
- },
105
- isShowHint() {
106
- return !!this.hint && !this.isShowError;
107
- },
108
- isShowInfo() {
109
- return this.isShowError || this.isShowHint || !!this.maxLength;
110
- },
111
- rootClasses() {
112
- return ['or-textbox', {
113
- 'is-show-info': this.isShowInfo,
114
- 'is-small': this.isSmall,
115
- 'has-counter': !!this.maxLength,
116
- 'has-label': !!this.label || !!this.$slots['label-default']
117
- }];
118
- },
119
- inputClasses() {
120
- return ['or-textbox--input-textarea', {
121
- 'is-disabled': this.isDisabled,
122
- 'is-readonly': this.isReadonly,
123
- 'is-focused': this.isFocused,
124
- 'is-required': this.isRequired,
125
- 'has-error': this.isInvalid
126
- }];
127
- }
128
- },
129
- methods: {
130
- focus() {
131
- var _a;
132
- (_a = this.inputRef) === null || _a === void 0 ? void 0 : _a.focus();
133
- },
134
- calcTextareaHeight() {
135
- var _a;
136
- if (this.inputRef) {
137
- setStyle(this.inputRef, 'height', 0);
138
- setStyle(this.inputRef, 'height', pxToRem((_a = this.inputRef) === null || _a === void 0 ? void 0 : _a.scrollHeight));
139
- }
140
- },
141
- onInput(event) {
142
- if (this.isInactive) return;
143
- this.calcTextareaHeight();
144
- this.$emit('update:modelValue', event.target.value);
145
- this.$emit('input', event.target.value);
146
- },
147
- onFocus(event) {
148
- var _a;
149
- this.isFocused = true;
150
- (_a = this.inputRef) === null || _a === void 0 ? void 0 : _a.focus();
151
- this.$emit('focus', event);
152
- },
153
- onBlur(event) {
154
- var _a;
155
- this.isFocused = false;
156
- (_a = this.inputRef) === null || _a === void 0 ? void 0 : _a.blur();
157
- this.$emit('blur', event);
158
- },
159
- beforeEnter(el) {
160
- setStyle(el, 'opacity', 0);
161
- },
162
- enter(el) {
163
- const {
164
- scrollHeight,
165
- parentElement
166
- } = el;
167
- this.reqAF = requestAF(() => {
168
- const pt = parseFloat(getCS(parentElement).paddingTop);
169
- const pb = parseFloat(getCS(parentElement).paddingBottom);
170
- const height = scrollHeight + pt + pb;
171
- if (parentElement) {
172
- reflow(parentElement);
173
- setStyle(parentElement, 'height', pxToRem(height));
174
- }
175
- setStyle(el, 'opacity', 1);
176
- });
177
- },
178
- leave(el) {
179
- this.reqAF = requestAF(() => {
180
- el.style.opacity = '0';
181
- });
182
- },
183
- cancelRequestAF() {
184
- cancelAF(this.reqAF);
185
- }
186
- }
187
- });
188
-
189
- var script$3 = defineComponent({
11
+ var script = defineComponent({
190
12
  name: 'OrInput',
191
13
  components: {
192
14
  OrLabel: __vue_component__$1,
@@ -364,7 +186,7 @@ var script$3 = defineComponent({
364
186
  });
365
187
 
366
188
  /* script */
367
- const __vue_script__ = script$3;
189
+ const __vue_script__ = script;
368
190
 
369
191
  /* template */
370
192
  var __vue_render__ = function () {
@@ -507,314 +329,4 @@ const __vue_component__ = /*#__PURE__*/normalizeComponent({
507
329
  staticRenderFns: __vue_staticRenderFns__
508
330
  }, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, createInjector, undefined, undefined);
509
331
 
510
- var script$2 = defineComponent({
511
- name: 'OrNumberInput',
512
- components: {
513
- OrInput: __vue_component__
514
- },
515
- model: {
516
- prop: 'modelValue',
517
- event: 'update:modelValue'
518
- },
519
- props: {
520
- modelValue: {
521
- type: Number,
522
- default: undefined,
523
- required: false
524
- },
525
- htmlId: {
526
- type: String,
527
- default: '',
528
- required: false
529
- },
530
- placeholder: {
531
- type: String,
532
- default: '',
533
- required: false
534
- },
535
- label: {
536
- type: String,
537
- default: '',
538
- required: false
539
- },
540
- error: {
541
- type: String,
542
- default: '',
543
- required: false
544
- },
545
- hint: {
546
- type: String,
547
- default: '',
548
- required: false
549
- },
550
- minValue: {
551
- type: Number,
552
- default: undefined,
553
- required: false
554
- },
555
- maxValue: {
556
- type: Number,
557
- default: undefined,
558
- required: false
559
- },
560
- stepValue: {
561
- type: Number,
562
- default: undefined,
563
- required: false
564
- },
565
- isSmall: Boolean,
566
- isRequired: Boolean,
567
- isDisabled: Boolean,
568
- isReadonly: Boolean,
569
- isInvalid: Boolean
570
- },
571
- emits: ['focus', 'blur', 'update:modelValue', 'input', 'keypress', 'keyup', 'keydown'],
572
- setup(props, {
573
- emit
574
- }) {
575
- const inputRef = ref();
576
- if (props.modelValue) {
577
- if (props.minValue !== undefined && props.modelValue < props.minValue) {
578
- emit('update:modelValue', props.minValue);
579
- } else if (props.maxValue !== undefined && props.modelValue > props.maxValue) {
580
- emit('update:modelValue', props.maxValue);
581
- }
582
- }
583
- return {
584
- inputRef
585
- };
586
- },
587
- computed: {
588
- htmlInputAttrs() {
589
- return {
590
- min: this.minValue,
591
- max: this.maxValue,
592
- step: this.stepValue
593
- };
594
- },
595
- localValue: {
596
- get() {
597
- var _a;
598
- return ((_a = this.modelValue) !== null && _a !== void 0 ? _a : '') + '';
599
- },
600
- set(val) {
601
- if (val === undefined || val === '') {
602
- this.$emit('update:modelValue', undefined);
603
- return;
604
- }
605
- const numVal = +val;
606
- if (this.minValue !== undefined && numVal < this.minValue) {
607
- this.$emit('update:modelValue', this.minValue);
608
- } else if (this.maxValue !== undefined && numVal > this.maxValue) {
609
- this.$emit('update:modelValue', this.maxValue);
610
- } else {
611
- this.$emit('update:modelValue', numVal);
612
- }
613
- }
614
- }
615
- }
616
- });
617
-
618
- var script$1 = defineComponent({
619
- name: 'OrPassword',
620
- components: {
621
- OrInput: __vue_component__,
622
- OrIconButton: __vue_component__$5
623
- },
624
- model: {
625
- prop: 'modelValue',
626
- event: 'update:modelValue'
627
- },
628
- props: {
629
- modelValue: {
630
- type: String,
631
- default: '',
632
- required: false
633
- },
634
- htmlId: {
635
- type: String,
636
- default: '',
637
- required: false
638
- },
639
- placeholder: {
640
- type: String,
641
- default: '',
642
- required: false
643
- },
644
- label: {
645
- type: String,
646
- default: '',
647
- required: false
648
- },
649
- error: {
650
- type: String,
651
- default: '',
652
- required: false
653
- },
654
- hint: {
655
- type: String,
656
- default: '',
657
- required: false
658
- },
659
- maxLength: {
660
- type: Number,
661
- default: undefined,
662
- required: false
663
- },
664
- isSmall: Boolean,
665
- isRequired: Boolean,
666
- isDisabled: Boolean,
667
- isReadonly: Boolean,
668
- isInvalid: Boolean
669
- },
670
- emits: ['focus', 'blur', 'update:modelValue', 'input', 'keypress', 'keyup', 'keydown'],
671
- setup(props, {
672
- emit
673
- }) {
674
- const inputRef = ref();
675
- const localValue = useVModel(props, 'modelValue', emit);
676
- const {
677
- isActiveToggle,
678
- toggle
679
- } = useToggle();
680
- return {
681
- inputRef,
682
- localValue,
683
- isActiveToggle,
684
- toggle
685
- };
686
- },
687
- computed: {
688
- currentButtonIcon() {
689
- return this.isActiveToggle ? 'visibility' : 'visibility_off';
690
- },
691
- type() {
692
- return this.isActiveToggle ? 'text' : 'password';
693
- },
694
- size() {
695
- return this.isSmall ? BUTTON_SIZE.SMALL : BUTTON_SIZE.DEFAULT;
696
- }
697
- },
698
- methods: {
699
- onClick() {
700
- var _a;
701
- this.toggle();
702
- (_a = this.inputRef) === null || _a === void 0 ? void 0 : _a.focus();
703
- }
704
- }
705
- });
706
-
707
- var script = defineComponent({
708
- name: 'OrSearch',
709
- components: {
710
- OrInput: __vue_component__,
711
- OrIconButton: __vue_component__$5
712
- },
713
- model: {
714
- prop: 'modelValue',
715
- event: 'update:modelValue'
716
- },
717
- props: {
718
- modelValue: {
719
- type: String,
720
- default: '',
721
- required: false
722
- },
723
- htmlId: {
724
- type: String,
725
- default: '',
726
- required: false
727
- },
728
- placeholder: {
729
- type: String,
730
- default: '',
731
- required: false
732
- },
733
- label: {
734
- type: String,
735
- default: '',
736
- required: false
737
- },
738
- error: {
739
- type: String,
740
- default: '',
741
- required: false
742
- },
743
- hint: {
744
- type: String,
745
- default: '',
746
- required: false
747
- },
748
- debounce: {
749
- type: Number,
750
- default: 500,
751
- required: false
752
- },
753
- isUsingTrim: {
754
- type: Boolean,
755
- default: true,
756
- required: false
757
- },
758
- maxLength: {
759
- type: Number,
760
- default: undefined,
761
- required: false
762
- },
763
- isSmall: Boolean,
764
- isRequired: Boolean,
765
- isDisabled: Boolean,
766
- isReadonly: Boolean,
767
- isInvalid: Boolean
768
- },
769
- emits: ['focus', 'blur', 'update:modelValue', 'input', 'search', 'clear', 'keypress', 'keyup', 'keydown'],
770
- setup(props, {
771
- emit
772
- }) {
773
- var _a;
774
- const inputRef = ref();
775
- const localValue = ref((_a = props.modelValue) !== null && _a !== void 0 ? _a : '');
776
- debouncedWatch(localValue, () => {
777
- emit('search', props.isUsingTrim ? localValue.value.trim() : localValue.value);
778
- }, {
779
- debounce: +props.debounce
780
- });
781
- return {
782
- inputRef,
783
- localValue
784
- };
785
- },
786
- computed: {
787
- hasValue() {
788
- var _a;
789
- return !!((_a = this.localValue) === null || _a === void 0 ? void 0 : _a.length);
790
- },
791
- currentButtonIcon() {
792
- return this.hasValue ? 'close' : 'search';
793
- },
794
- size() {
795
- return this.isSmall ? BUTTON_SIZE.SMALL : BUTTON_SIZE.DEFAULT;
796
- }
797
- },
798
- watch: {
799
- modelValue(val) {
800
- if (this.localValue !== val) this.localValue = val;
801
- }
802
- },
803
- methods: {
804
- onClick() {
805
- var _a;
806
- if (this.hasValue) {
807
- this.localValue = '';
808
- this.$emit('update:modelValue', '');
809
- this.$emit('clear');
810
- (_a = this.inputRef) === null || _a === void 0 ? void 0 : _a.focus();
811
- }
812
- },
813
- onModelValueUpdate(value) {
814
- this.localValue = value;
815
- this.$emit('update:modelValue', value);
816
- }
817
- }
818
- });
819
-
820
- export { __vue_component__ as _, script$2 as a, script$1 as b, script as c, script$4 as s };
332
+ export { __vue_component__ as _ };
@@ -4,7 +4,7 @@ import '@vueuse/core';
4
4
  import { u as useValidationAttributes } from './useValidationAttributes-d1abbe34.js';
5
5
  import { _ as __vue_component__$1 } from './OrError-13845bb0.js';
6
6
  import { _ as __vue_component__$2 } from './OrHint-78b399cb.js';
7
- import { _ as __vue_component__$4 } from './OrIconButton-04a3566d.js';
7
+ import { _ as __vue_component__$4 } from './OrIconButton-5fa56aec.js';
8
8
  import { _ as __vue_component__$3 } from './OrIcon-f34e0e6f.js';
9
9
  import { _ as __vue_component__$5, a as InputBoxSize } from './OrInputBox-9ceb9fc4.js';
10
10
  import { _ as __vue_component__$6 } from './OrLabel-0945a4d9.js';