@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,12 +1,12 @@
1
1
  import './index-fa6eb4ca.js';
2
2
  import { defineComponent, computed, ref, watch } from '@vue/composition-api/dist/vue-composition-api.mjs';
3
3
  import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
4
- import { O as OrIconButton } from './OrIconButton-837d57f8.js';
4
+ import { O as OrIconButton } from './OrIconButton-4bdd1566.js';
5
5
  import { O as OrButton } from './OrButton-d45772c1.js';
6
6
  import { O as OrMenu } from './OrMenu-52da43bc.js';
7
7
  import { O as OrMenuItem } from './OrMenuItem-e2693a5f.js';
8
8
  import { O as OrIcon } from './OrIcon-458206aa.js';
9
- import { O as OrSearch } from './OrSearch-bb87b34c.js';
9
+ import { O as OrSearch } from './OrSearch-d1169241.js';
10
10
 
11
11
  const CardCollectionRoot = [
12
12
  // Layout
@@ -1,7 +1,7 @@
1
1
  import './index-fa6eb4ca.js';
2
2
  import { O as OrCard } from './OrCard-a6b30f8f.js';
3
3
  import { O as OrIcon } from './OrIcon-10ec459c.js';
4
- import { O as OrSearch } from './OrSearch-f7cfa52f.js';
4
+ import { O as OrSearch } from './OrSearch-832d7978.js';
5
5
  import { O as OrIconButton } from './OrIconButton-65962c1c.js';
6
6
  import { defineComponent, ref } from '@vue/composition-api/dist/vue-composition-api.mjs';
7
7
  import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
@@ -197,18 +197,18 @@ var __vue_staticRenderFns__ = [];
197
197
  /* style */
198
198
  const __vue_inject_styles__ = function (inject) {
199
199
  if (!inject) return;
200
- inject("data-v-4839d0ae_0", {
201
- 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}",
202
202
  map: undefined,
203
203
  media: undefined
204
- }), inject("data-v-4839d0ae_1", {
204
+ }), inject("data-v-06085c59_1", {
205
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}",
206
206
  map: undefined,
207
207
  media: undefined
208
208
  });
209
209
  };
210
210
  /* scoped */
211
- const __vue_scope_id__ = "data-v-4839d0ae";
211
+ const __vue_scope_id__ = "data-v-06085c59";
212
212
  /* module identifier */
213
213
  const __vue_module_identifier__ = undefined;
214
214
  /* functional template */
@@ -3,7 +3,7 @@ import { useMagicKeys, useActiveElement, whenever } from '@vueuse/core';
3
3
  import { l as logicAnd } from './index-17f264f9.js';
4
4
  import { O as OrButton } from './OrButton-705cd0bd.js';
5
5
  import { O as OrModal, a as OrModalSizes } from './OrModal-a5411b0d.js';
6
- import { O as OrInput } from './OrInput-08f2f666.js';
6
+ import { O as OrInput } from './OrInput-df1a14fa.js';
7
7
  import { a as BUTTON_COLOR } from './constants-c5d1139f.js';
8
8
  import { defineComponent, ref, computed } from '@vue/composition-api/dist/vue-composition-api.mjs';
9
9
  import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
@@ -238,14 +238,14 @@ var __vue_staticRenderFns__ = [];
238
238
  /* style */
239
239
  const __vue_inject_styles__ = function (inject) {
240
240
  if (!inject) return;
241
- inject("data-v-001a7d92_0", {
242
- 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}",
241
+ inject("data-v-8712b442_0", {
242
+ 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}",
243
243
  map: undefined,
244
244
  media: undefined
245
245
  });
246
246
  };
247
247
  /* scoped */
248
- const __vue_scope_id__ = "data-v-001a7d92";
248
+ const __vue_scope_id__ = "data-v-8712b442";
249
249
  /* module identifier */
250
250
  const __vue_module_identifier__ = undefined;
251
251
  /* functional template */
@@ -3,7 +3,7 @@ import { l as logicAnd } from './index-17f264f9.js';
3
3
  import './index-fa6eb4ca.js';
4
4
  import { O as OrOverlay } from './OrOverlay-efa7992e.js';
5
5
  import { O as OrButton, a as ButtonColor } from './OrButton-d45772c1.js';
6
- import { O as OrInput } from './OrInput-00070eee.js';
6
+ import { O as OrInput } from './OrInput-5404a234.js';
7
7
  import { defineComponent, ref, computed, watch } from '@vue/composition-api/dist/vue-composition-api.mjs';
8
8
  import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
9
9
 
@@ -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: {
@@ -1,7 +1,7 @@
1
1
  import './index-fa6eb4ca.js';
2
2
  import { O as OrError } from './OrError-52f668a4.js';
3
3
  import { O as OrHint } from './OrHint-fde53334.js';
4
- import { O as OrIconButton } from './OrIconButton-837d57f8.js';
4
+ import { O as OrIconButton } from './OrIconButton-4bdd1566.js';
5
5
  import { O as OrInlineInputBox, I as InlineInputBoxSize } from './OrInlineInputBox-7a8e645b.js';
6
6
  import { a as useIdAttribute, u as useControlAttributes } from './useIdAttribute-cf61643f.js';
7
7
  import { u as useValidationAttributes } from './useValidationAttributes-6df7bcf9.js';
@@ -1,7 +1,7 @@
1
1
  import './index-fa6eb4ca.js';
2
2
  import { O as OrError } from './OrError-52f668a4.js';
3
3
  import { O as OrHint } from './OrHint-fde53334.js';
4
- import { O as OrIconButton } from './OrIconButton-837d57f8.js';
4
+ import { O as OrIconButton } from './OrIconButton-4bdd1566.js';
5
5
  import { O as OrInlineInputBox } from './OrInlineInputBox-7a8e645b.js';
6
6
  import { a as useIdAttribute, u as useControlAttributes } from './useIdAttribute-cf61643f.js';
7
7
  import { u as useValidationAttributes } from './useValidationAttributes-6df7bcf9.js';
@@ -2,7 +2,7 @@ import './index-fa6eb4ca.js';
2
2
  import { O as OrError } from './OrError-52f668a4.js';
3
3
  import { O as OrHint } from './OrHint-fde53334.js';
4
4
  import { O as OrIcon } from './OrIcon-458206aa.js';
5
- import { O as OrIconButton } from './OrIconButton-837d57f8.js';
5
+ import { O as OrIconButton } from './OrIconButton-4bdd1566.js';
6
6
  import { O as OrInputBox, a as InputBoxSize } from './OrInputBox-2f559e98.js';
7
7
  import { O as OrLabel } from './OrLabel-aff09c39.js';
8
8
  import { a as useIdAttribute, u as useControlAttributes } from './useIdAttribute-cf61643f.js';
@@ -1,7 +1,7 @@
1
1
  import './index-fa6eb4ca.js';
2
2
  import _ from 'lodash';
3
3
  import { O as OrList } from './OrList-4e84a3b4.js';
4
- import { O as OrInput } from './OrInput-08f2f666.js';
4
+ import { O as OrInput } from './OrInput-df1a14fa.js';
5
5
  import { O as OrIcon } from './OrIcon-10ec459c.js';
6
6
  import { O as OrIconButton } from './OrIconButton-65962c1c.js';
7
7
  import { defineComponent } from '@vue/composition-api/dist/vue-composition-api.mjs';
@@ -199,14 +199,14 @@ var __vue_staticRenderFns__ = [];
199
199
  /* style */
200
200
  const __vue_inject_styles__ = function (inject) {
201
201
  if (!inject) return;
202
- inject("data-v-3c451b58_0", {
203
- source: ".or-list-of-inputs--delete-button[data-v-3c451b58] .or-icon{font-size:.875rem!important}",
202
+ inject("data-v-52af8efa_0", {
203
+ source: ".or-list-of-inputs--delete-button[data-v-52af8efa] .or-icon{font-size:.875rem!important}",
204
204
  map: undefined,
205
205
  media: undefined
206
206
  });
207
207
  };
208
208
  /* scoped */
209
- const __vue_scope_id__ = "data-v-3c451b58";
209
+ const __vue_scope_id__ = "data-v-52af8efa";
210
210
  /* module identifier */
211
211
  const __vue_module_identifier__ = undefined;
212
212
  /* functional template */
@@ -1,6 +1,6 @@
1
1
  import './index-fa6eb4ca.js';
2
2
  import { O as OrOverlay } from './OrOverlay-efa7992e.js';
3
- import { O as OrIconButton } from './OrIconButton-837d57f8.js';
3
+ import { O as OrIconButton } from './OrIconButton-4bdd1566.js';
4
4
  import { defineComponent, ref, computed, watch } from '@vue/composition-api/dist/vue-composition-api.mjs';
5
5
  import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import './index-fa6eb4ca.js';
2
2
  import { O as OrIcon } from './OrIcon-458206aa.js';
3
- import { O as OrIconButton } from './OrIconButton-837d57f8.js';
3
+ import { O as OrIconButton } from './OrIconButton-4bdd1566.js';
4
4
  import { defineComponent, ref, computed } from '@vue/composition-api/dist/vue-composition-api.mjs';
5
5
  import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
6
6
 
@@ -0,0 +1,227 @@
1
+ import './index-fa6eb4ca.js';
2
+ import { O as OrInput } from './OrInput-df1a14fa.js';
3
+ import { defineComponent, ref } from '@vue/composition-api/dist/vue-composition-api.mjs';
4
+ import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
5
+
6
+ var script = defineComponent({
7
+ name: 'OrNumberInput',
8
+ components: {
9
+ OrInput
10
+ },
11
+ model: {
12
+ prop: 'modelValue',
13
+ event: 'update:modelValue'
14
+ },
15
+ props: {
16
+ modelValue: {
17
+ type: Number,
18
+ default: undefined,
19
+ required: false
20
+ },
21
+ htmlId: {
22
+ type: String,
23
+ default: '',
24
+ required: false
25
+ },
26
+ placeholder: {
27
+ type: String,
28
+ default: '',
29
+ required: false
30
+ },
31
+ label: {
32
+ type: String,
33
+ default: '',
34
+ required: false
35
+ },
36
+ error: {
37
+ type: String,
38
+ default: '',
39
+ required: false
40
+ },
41
+ hint: {
42
+ type: String,
43
+ default: '',
44
+ required: false
45
+ },
46
+ minValue: {
47
+ type: Number,
48
+ default: undefined,
49
+ required: false
50
+ },
51
+ maxValue: {
52
+ type: Number,
53
+ default: undefined,
54
+ required: false
55
+ },
56
+ stepValue: {
57
+ type: Number,
58
+ default: undefined,
59
+ required: false
60
+ },
61
+ isSmall: Boolean,
62
+ isRequired: Boolean,
63
+ isDisabled: Boolean,
64
+ isReadonly: Boolean,
65
+ isInvalid: Boolean
66
+ },
67
+ emits: ['focus', 'blur', 'update:modelValue', 'input', 'keypress', 'keyup', 'keydown'],
68
+ setup(props, {
69
+ emit
70
+ }) {
71
+ const inputRef = ref();
72
+ if (props.modelValue) {
73
+ if (props.minValue !== undefined && props.modelValue < props.minValue) {
74
+ emit('update:modelValue', props.minValue);
75
+ } else if (props.maxValue !== undefined && props.modelValue > props.maxValue) {
76
+ emit('update:modelValue', props.maxValue);
77
+ }
78
+ }
79
+ return {
80
+ inputRef
81
+ };
82
+ },
83
+ computed: {
84
+ htmlInputAttrs() {
85
+ return {
86
+ min: this.minValue,
87
+ max: this.maxValue,
88
+ step: this.stepValue
89
+ };
90
+ },
91
+ localValue: {
92
+ get() {
93
+ var _a;
94
+ return ((_a = this.modelValue) !== null && _a !== void 0 ? _a : '') + '';
95
+ },
96
+ set(val) {
97
+ if (val === undefined || val === '') {
98
+ this.$emit('update:modelValue', undefined);
99
+ return;
100
+ }
101
+ const numVal = +val;
102
+ if (this.minValue !== undefined && numVal < this.minValue) {
103
+ this.$emit('update:modelValue', this.minValue);
104
+ } else if (this.maxValue !== undefined && numVal > this.maxValue) {
105
+ this.$emit('update:modelValue', this.maxValue);
106
+ } else {
107
+ this.$emit('update:modelValue', numVal);
108
+ }
109
+ }
110
+ }
111
+ }
112
+ });
113
+
114
+ /* script */
115
+ const __vue_script__ = script;
116
+
117
+ /* template */
118
+ var __vue_render__ = function () {
119
+ var _vm = this;
120
+ var _h = _vm.$createElement;
121
+ var _c = _vm._self._c || _h;
122
+ return _c('or-input', {
123
+ ref: "inputRef",
124
+ staticClass: "or-password",
125
+ attrs: {
126
+ "html-id": _vm.htmlId,
127
+ "placeholder": _vm.placeholder,
128
+ "html-type": "number",
129
+ "html-input-attrs": _vm.htmlInputAttrs,
130
+ "label": _vm.label,
131
+ "error": _vm.error,
132
+ "hint": _vm.hint,
133
+ "is-small": _vm.isSmall,
134
+ "is-required": _vm.isRequired,
135
+ "is-disabled": _vm.isDisabled,
136
+ "is-readonly": _vm.isReadonly,
137
+ "is-invalid": _vm.isInvalid
138
+ },
139
+ on: {
140
+ "focus": function ($event) {
141
+ return _vm.$emit('focus', $event);
142
+ },
143
+ "blur": function ($event) {
144
+ return _vm.$emit('blur', $event);
145
+ },
146
+ "input": function ($event) {
147
+ return _vm.$emit('input', $event);
148
+ },
149
+ "keypress": function ($event) {
150
+ return _vm.$emit('keypress', $event);
151
+ },
152
+ "keyup": function ($event) {
153
+ return _vm.$emit('keyup', $event);
154
+ },
155
+ "keydown": function ($event) {
156
+ return _vm.$emit('keydown', $event);
157
+ }
158
+ },
159
+ scopedSlots: _vm._u([_vm.$slots.prepend ? {
160
+ key: "prepend",
161
+ fn: function () {
162
+ return [_vm._t("prepend")];
163
+ },
164
+ proxy: true
165
+ } : null, _vm.$slots['label-default'] ? {
166
+ key: "label-default",
167
+ fn: function () {
168
+ return [_vm._t("label-default")];
169
+ },
170
+ proxy: true
171
+ } : null, _vm.$slots['label-append'] ? {
172
+ key: "label-append",
173
+ fn: function () {
174
+ return [_vm._t("label-append")];
175
+ },
176
+ proxy: true
177
+ } : null, _vm.$slots['wrapper-end'] ? {
178
+ key: "wrapper-end",
179
+ fn: function () {
180
+ return [_vm._t("wrapper-end")];
181
+ },
182
+ proxy: true
183
+ } : null, _vm.$slots['input-end'] ? {
184
+ key: "input-end",
185
+ fn: function () {
186
+ return [_vm._t("input-end")];
187
+ },
188
+ proxy: true
189
+ } : null, _vm.$slots.append ? {
190
+ key: "append",
191
+ fn: function () {
192
+ return [_vm._t("append")];
193
+ },
194
+ proxy: true
195
+ } : null], null, true),
196
+ model: {
197
+ value: _vm.localValue,
198
+ callback: function ($$v) {
199
+ _vm.localValue = $$v;
200
+ },
201
+ expression: "localValue"
202
+ }
203
+ });
204
+ };
205
+ var __vue_staticRenderFns__ = [];
206
+
207
+ /* style */
208
+ const __vue_inject_styles__ = undefined;
209
+ /* scoped */
210
+ const __vue_scope_id__ = undefined;
211
+ /* module identifier */
212
+ const __vue_module_identifier__ = undefined;
213
+ /* functional template */
214
+ const __vue_is_functional_template__ = false;
215
+ /* style inject */
216
+
217
+ /* style inject SSR */
218
+
219
+ /* style inject shadow dom */
220
+
221
+ const __vue_component__ = /*#__PURE__*/normalizeComponent({
222
+ render: __vue_render__,
223
+ staticRenderFns: __vue_staticRenderFns__
224
+ }, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, undefined, undefined, undefined);
225
+ var __vue_component__$1 = __vue_component__;
226
+
227
+ export { __vue_component__$1 as _ };
@@ -0,0 +1,227 @@
1
+ import './index-fa6eb4ca.js';
2
+ import { useVModel } from '@vueuse/core';
3
+ import { O as OrInput } from './OrInput-df1a14fa.js';
4
+ import { O as OrIconButton } from './OrIconButton-65962c1c.js';
5
+ import { u as useToggle } from './useToggle-6166bd53.js';
6
+ import { b as BUTTON_SIZE } from './constants-c5d1139f.js';
7
+ import { defineComponent, ref } from '@vue/composition-api/dist/vue-composition-api.mjs';
8
+ import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
9
+ import { c as createInjector } from './browser-82dea9ed.js';
10
+
11
+ var script = defineComponent({
12
+ name: 'OrPassword',
13
+ components: {
14
+ OrInput,
15
+ OrIconButton
16
+ },
17
+ model: {
18
+ prop: 'modelValue',
19
+ event: 'update:modelValue'
20
+ },
21
+ props: {
22
+ modelValue: {
23
+ type: String,
24
+ default: '',
25
+ required: false
26
+ },
27
+ htmlId: {
28
+ type: String,
29
+ default: '',
30
+ required: false
31
+ },
32
+ placeholder: {
33
+ type: String,
34
+ default: '',
35
+ required: false
36
+ },
37
+ label: {
38
+ type: String,
39
+ default: '',
40
+ required: false
41
+ },
42
+ error: {
43
+ type: String,
44
+ default: '',
45
+ required: false
46
+ },
47
+ hint: {
48
+ type: String,
49
+ default: '',
50
+ required: false
51
+ },
52
+ maxLength: {
53
+ type: Number,
54
+ default: undefined,
55
+ required: false
56
+ },
57
+ isSmall: Boolean,
58
+ isRequired: Boolean,
59
+ isDisabled: Boolean,
60
+ isReadonly: Boolean,
61
+ isInvalid: Boolean
62
+ },
63
+ emits: ['focus', 'blur', 'update:modelValue', 'input', 'keypress', 'keyup', 'keydown'],
64
+ setup(props, {
65
+ emit
66
+ }) {
67
+ const inputRef = ref();
68
+ const localValue = useVModel(props, 'modelValue', emit);
69
+ const {
70
+ isActiveToggle,
71
+ toggle
72
+ } = useToggle();
73
+ return {
74
+ inputRef,
75
+ localValue,
76
+ isActiveToggle,
77
+ toggle
78
+ };
79
+ },
80
+ computed: {
81
+ currentButtonIcon() {
82
+ return this.isActiveToggle ? 'visibility' : 'visibility_off';
83
+ },
84
+ type() {
85
+ return this.isActiveToggle ? 'text' : 'password';
86
+ },
87
+ size() {
88
+ return this.isSmall ? BUTTON_SIZE.SMALL : BUTTON_SIZE.DEFAULT;
89
+ }
90
+ },
91
+ methods: {
92
+ onClick() {
93
+ var _a;
94
+ this.toggle();
95
+ (_a = this.inputRef) === null || _a === void 0 ? void 0 : _a.focus();
96
+ }
97
+ }
98
+ });
99
+
100
+ /* script */
101
+ const __vue_script__ = script;
102
+
103
+ /* template */
104
+ var __vue_render__ = function () {
105
+ var _vm = this;
106
+ var _h = _vm.$createElement;
107
+ var _c = _vm._self._c || _h;
108
+ return _c('or-input', {
109
+ ref: "inputRef",
110
+ staticClass: "or-password",
111
+ attrs: {
112
+ "html-id": _vm.htmlId,
113
+ "placeholder": _vm.placeholder,
114
+ "html-type": _vm.type,
115
+ "label": _vm.label,
116
+ "error": _vm.error,
117
+ "hint": _vm.hint,
118
+ "max-length": _vm.maxLength,
119
+ "is-small": _vm.isSmall,
120
+ "is-required": _vm.isRequired,
121
+ "is-disabled": _vm.isDisabled,
122
+ "is-readonly": _vm.isReadonly,
123
+ "is-invalid": _vm.isInvalid
124
+ },
125
+ on: {
126
+ "focus": function ($event) {
127
+ return _vm.$emit('focus', $event);
128
+ },
129
+ "blur": function ($event) {
130
+ return _vm.$emit('blur', $event);
131
+ },
132
+ "input": function ($event) {
133
+ return _vm.$emit('input', $event);
134
+ },
135
+ "keypress": function ($event) {
136
+ return _vm.$emit('keypress', $event);
137
+ },
138
+ "keyup": function ($event) {
139
+ return _vm.$emit('keyup', $event);
140
+ },
141
+ "keydown": function ($event) {
142
+ return _vm.$emit('keydown', $event);
143
+ }
144
+ },
145
+ scopedSlots: _vm._u([_vm.$slots.prepend ? {
146
+ key: "prepend",
147
+ fn: function () {
148
+ return [_vm._t("prepend")];
149
+ },
150
+ proxy: true
151
+ } : null, _vm.$slots['label-default'] ? {
152
+ key: "label-default",
153
+ fn: function () {
154
+ return [_vm._t("label-default")];
155
+ },
156
+ proxy: true
157
+ } : null, _vm.$slots['label-append'] ? {
158
+ key: "label-append",
159
+ fn: function () {
160
+ return [_vm._t("label-append")];
161
+ },
162
+ proxy: true
163
+ } : null, {
164
+ key: "wrapper-end",
165
+ fn: function () {
166
+ return [_c('or-icon-button', {
167
+ attrs: {
168
+ "icon": _vm.currentButtonIcon,
169
+ "icon-color": "neutral-4",
170
+ "size": _vm.size
171
+ },
172
+ on: {
173
+ "click": _vm.onClick
174
+ }
175
+ })];
176
+ },
177
+ proxy: true
178
+ }, _vm.$slots['input-end'] ? {
179
+ key: "input-end",
180
+ fn: function () {
181
+ return [_vm._t("input-end")];
182
+ },
183
+ proxy: true
184
+ } : null, _vm.$slots.append ? {
185
+ key: "append",
186
+ fn: function () {
187
+ return [_vm._t("append")];
188
+ },
189
+ proxy: true
190
+ } : null], null, true),
191
+ model: {
192
+ value: _vm.localValue,
193
+ callback: function ($$v) {
194
+ _vm.localValue = $$v;
195
+ },
196
+ expression: "localValue"
197
+ }
198
+ });
199
+ };
200
+ var __vue_staticRenderFns__ = [];
201
+
202
+ /* style */
203
+ const __vue_inject_styles__ = function (inject) {
204
+ if (!inject) return;
205
+ inject("data-v-c5297b48_0", {
206
+ source: "@keyframes spinAround-data-v-c5297b48{from{transform:rotate(0)}to{transform:rotate(359deg)}}@keyframes fade-data-v-c5297b48{from{opacity:1}to{opacity:0}}.or-password .or-icon-button-root[data-v-c5297b48]{position:absolute;top:50%;right:0;z-index:1;transform:translate(-.625rem,-50%)}.or-password[data-v-c5297b48] .or-textbox--input{padding-right:calc(.625rem + 1.625rem)}.or-password.is-small[data-v-c5297b48] .or-textbox--input{padding-right:calc(.625rem + 1.5rem)}",
207
+ map: undefined,
208
+ media: undefined
209
+ });
210
+ };
211
+ /* scoped */
212
+ const __vue_scope_id__ = "data-v-c5297b48";
213
+ /* module identifier */
214
+ const __vue_module_identifier__ = undefined;
215
+ /* functional template */
216
+ const __vue_is_functional_template__ = false;
217
+ /* style inject SSR */
218
+
219
+ /* style inject shadow dom */
220
+
221
+ const __vue_component__ = /*#__PURE__*/normalizeComponent({
222
+ render: __vue_render__,
223
+ staticRenderFns: __vue_staticRenderFns__
224
+ }, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, createInjector, undefined, undefined);
225
+ var __vue_component__$1 = __vue_component__;
226
+
227
+ export { __vue_component__$1 as _ };