@onereach/ui-components 2.70.2-beta.2199.0 → 2.70.2-beta.2203.0

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 (187) hide show
  1. package/dist/bundled/v2/{OrCardCollection-1bb83cfb.js → OrCardCollection-0141a358.js} +1 -1
  2. package/dist/bundled/v2/{OrCheckbox-251ecafc.js → OrCheckbox-dbef9f9a.js} +17 -32
  3. package/dist/bundled/v2/{OrConfirm-4cae7867.js → OrConfirm-057e997e.js} +13 -6
  4. package/dist/bundled/v2/{OrInlineInput-2133e469.js → OrInlineInput-87589946.js} +22 -38
  5. package/dist/bundled/v2/{OrInlineTextarea-d61ca596.js → OrInlineTextarea-21b0e6fc.js} +18 -34
  6. package/dist/bundled/v2/{OrInput-770f1bed.js → OrInput-82ccfe00.js} +30 -38
  7. package/dist/bundled/v2/{OrPagination-468d0964.js → OrPagination-379c10b8.js} +1 -1
  8. package/dist/bundled/v2/{OrRadio-ae89bc9b.js → OrRadio-cd39b20b.js} +15 -30
  9. package/dist/bundled/v2/{OrSearch-2e5f9e24.js → OrSearch-53470b0e.js} +1 -1
  10. package/dist/bundled/v2/{OrSelect-039c0711.js → OrSelect-c49e1bcf.js} +2 -2
  11. package/dist/bundled/v2/{OrSwitch-20640a05.js → OrSwitch-237a2081.js} +15 -30
  12. package/dist/bundled/v2/{OrTabs-85aefcba.js → OrTabs-42f7c52c.js} +1 -1
  13. package/dist/bundled/v2/{OrTextarea-0ff8063b.js → OrTextarea-5593fbe9.js} +20 -39
  14. package/dist/bundled/v2/components/index.js +13 -15
  15. package/dist/bundled/v2/components/or-card-collection-v3/index.js +3 -5
  16. package/dist/bundled/v2/components/or-checkbox-v3/OrCheckbox.vue.d.ts +2 -18
  17. package/dist/bundled/v2/components/or-checkbox-v3/index.js +1 -2
  18. package/dist/bundled/v2/components/or-confirm-v3/index.js +4 -6
  19. package/dist/bundled/v2/components/or-inline-input-v3/OrInlineInput.vue.d.ts +6 -36
  20. package/dist/bundled/v2/components/or-inline-input-v3/index.js +1 -3
  21. package/dist/bundled/v2/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +6 -36
  22. package/dist/bundled/v2/components/or-inline-textarea-v3/index.js +1 -3
  23. package/dist/bundled/v2/components/or-input-v3/OrInput.vue.d.ts +8 -43
  24. package/dist/bundled/v2/components/or-input-v3/index.js +1 -3
  25. package/dist/bundled/v2/components/or-pagination-v3/index.js +1 -1
  26. package/dist/bundled/v2/components/or-radio-v3/OrRadio.vue.d.ts +2 -18
  27. package/dist/bundled/v2/components/or-radio-v3/index.js +1 -2
  28. package/dist/bundled/v2/components/or-search-v3/index.js +2 -4
  29. package/dist/bundled/v2/components/or-select-v3/index.js +3 -5
  30. package/dist/bundled/v2/components/or-switch-v3/OrSwitch.vue.d.ts +2 -18
  31. package/dist/bundled/v2/components/or-switch-v3/index.js +1 -2
  32. package/dist/bundled/v2/components/or-tabs-v3/index.js +1 -1
  33. package/dist/bundled/v2/components/or-textarea-v3/OrTextarea.vue.d.ts +6 -45
  34. package/dist/bundled/v2/components/or-textarea-v3/index.js +1 -3
  35. package/dist/bundled/v2/hooks/index.d.ts +0 -3
  36. package/dist/bundled/v2/hooks/index.js +0 -2
  37. package/dist/bundled/v2/index.js +14 -16
  38. package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-a0f29a55.js → OrCardCollection.vue_vue_type_script_lang-2d78a51a.js} +1 -1
  39. package/dist/bundled/v3/{OrCheckbox.vue_vue_type_script_lang-2024ec32.js → OrCheckbox.vue_vue_type_script_lang-8b36e06c.js} +7 -22
  40. package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-7d9d3810.js → OrConfirm.vue_vue_type_script_lang-9d9a3917.js} +14 -7
  41. package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-40f0073f.js → OrInlineInput.vue_vue_type_script_lang-67218502.js} +11 -27
  42. package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-2817edd5.js → OrInlineTextarea.vue_vue_type_script_lang-a1831ab8.js} +11 -27
  43. package/dist/bundled/v3/{OrInput-e325a104.js → OrInput-a4f220ed.js} +12 -12
  44. package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-fd850b82.js → OrInput.vue_vue_type_script_lang-607d79d4.js} +15 -26
  45. package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-0d9daaa7.js → OrPagination.vue_vue_type_script_lang-c96d7cd7.js} +1 -1
  46. package/dist/bundled/v3/{OrRadio.vue_vue_type_script_lang-29e8b856.js → OrRadio.vue_vue_type_script_lang-2e666a56.js} +7 -22
  47. package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-480f4b1c.js → OrSearch.vue_vue_type_script_lang-06f318ca.js} +2 -2
  48. package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-7aa8956a.js → OrSelect.vue_vue_type_script_lang-58e5a52b.js} +15 -17
  49. package/dist/bundled/v3/{OrSwitch.vue_vue_type_script_lang-02b4913a.js → OrSwitch.vue_vue_type_script_lang-04829f64.js} +7 -22
  50. package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-01188224.js → OrTabs.vue_vue_type_script_lang-61b79a5a.js} +1 -1
  51. package/dist/bundled/v3/{OrTextarea.vue_vue_type_script_lang-2fdac7b2.js → OrTextarea.vue_vue_type_script_lang-8e3531cd.js} +12 -31
  52. package/dist/bundled/v3/components/index.js +14 -16
  53. package/dist/bundled/v3/components/or-card-collection-v3/index.js +4 -6
  54. package/dist/bundled/v3/components/or-checkbox-v3/OrCheckbox.vue.d.ts +2 -18
  55. package/dist/bundled/v3/components/or-checkbox-v3/index.js +1 -2
  56. package/dist/bundled/v3/components/or-confirm-v3/index.js +4 -6
  57. package/dist/bundled/v3/components/or-inline-input-v3/OrInlineInput.vue.d.ts +6 -36
  58. package/dist/bundled/v3/components/or-inline-input-v3/index.js +1 -3
  59. package/dist/bundled/v3/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +6 -36
  60. package/dist/bundled/v3/components/or-inline-textarea-v3/index.js +1 -3
  61. package/dist/bundled/v3/components/or-input-v3/OrInput.vue.d.ts +8 -43
  62. package/dist/bundled/v3/components/or-input-v3/index.js +1 -3
  63. package/dist/bundled/v3/components/or-pagination-v3/index.js +1 -1
  64. package/dist/bundled/v3/components/or-radio-v3/OrRadio.vue.d.ts +2 -18
  65. package/dist/bundled/v3/components/or-radio-v3/index.js +1 -2
  66. package/dist/bundled/v3/components/or-search-v3/index.js +3 -5
  67. package/dist/bundled/v3/components/or-select-v3/index.js +4 -6
  68. package/dist/bundled/v3/components/or-switch-v3/OrSwitch.vue.d.ts +2 -18
  69. package/dist/bundled/v3/components/or-switch-v3/index.js +1 -2
  70. package/dist/bundled/v3/components/or-tabs-v3/index.js +1 -1
  71. package/dist/bundled/v3/components/or-textarea-v3/OrTextarea.vue.d.ts +6 -45
  72. package/dist/bundled/v3/components/or-textarea-v3/index.js +1 -3
  73. package/dist/bundled/v3/hooks/index.d.ts +0 -3
  74. package/dist/bundled/v3/hooks/index.js +0 -2
  75. package/dist/bundled/v3/index.js +69 -77
  76. package/dist/esm/v2/{OrCardCollection-784318ac.js → OrCardCollection-3c38fc85.js} +1 -1
  77. package/dist/esm/v2/{OrCheckbox-7317fe1a.js → OrCheckbox-567e387c.js} +17 -32
  78. package/dist/esm/v2/{OrConfirm-3d064f6c.js → OrConfirm-047d4086.js} +13 -6
  79. package/dist/esm/v2/{OrInlineInput-7c4f1f92.js → OrInlineInput-10205811.js} +22 -38
  80. package/dist/esm/v2/{OrInlineTextarea-3381e2a9.js → OrInlineTextarea-7658611e.js} +18 -34
  81. package/dist/esm/v2/{OrInput-e10cc643.js → OrInput-ada3a970.js} +30 -38
  82. package/dist/esm/v2/{OrPagination-291bd1b9.js → OrPagination-c0dbec6a.js} +1 -1
  83. package/dist/esm/v2/{OrRadio-b0a560d2.js → OrRadio-848ce55d.js} +15 -30
  84. package/dist/esm/v2/{OrSearch-1490c00b.js → OrSearch-0f08f2f5.js} +1 -1
  85. package/dist/esm/v2/{OrSelect-1fbeed4f.js → OrSelect-1d705445.js} +2 -2
  86. package/dist/esm/v2/{OrSwitch-133052ca.js → OrSwitch-13b6a7ee.js} +15 -30
  87. package/dist/esm/v2/{OrTabs-e5b81f4b.js → OrTabs-71bd3fd2.js} +1 -1
  88. package/dist/esm/v2/{OrTextarea-a7c846da.js → OrTextarea-6712a150.js} +20 -39
  89. package/dist/esm/v2/components/index.js +13 -15
  90. package/dist/esm/v2/components/or-card-collection-v3/index.js +3 -5
  91. package/dist/esm/v2/components/or-checkbox-v3/OrCheckbox.vue.d.ts +2 -18
  92. package/dist/esm/v2/components/or-checkbox-v3/index.js +1 -2
  93. package/dist/esm/v2/components/or-confirm-v3/index.js +8 -10
  94. package/dist/esm/v2/components/or-inline-input-v3/OrInlineInput.vue.d.ts +6 -36
  95. package/dist/esm/v2/components/or-inline-input-v3/index.js +1 -3
  96. package/dist/esm/v2/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +6 -36
  97. package/dist/esm/v2/components/or-inline-textarea-v3/index.js +1 -3
  98. package/dist/esm/v2/components/or-input-v3/OrInput.vue.d.ts +8 -43
  99. package/dist/esm/v2/components/or-input-v3/index.js +1 -3
  100. package/dist/esm/v2/components/or-pagination-v3/index.js +1 -1
  101. package/dist/esm/v2/components/or-radio-v3/OrRadio.vue.d.ts +2 -18
  102. package/dist/esm/v2/components/or-radio-v3/index.js +1 -2
  103. package/dist/esm/v2/components/or-search-v3/index.js +2 -4
  104. package/dist/esm/v2/components/or-select-v3/index.js +3 -5
  105. package/dist/esm/v2/components/or-switch-v3/OrSwitch.vue.d.ts +2 -18
  106. package/dist/esm/v2/components/or-switch-v3/index.js +1 -2
  107. package/dist/esm/v2/components/or-tabs-v3/index.js +1 -1
  108. package/dist/esm/v2/components/or-textarea-v3/OrTextarea.vue.d.ts +6 -45
  109. package/dist/esm/v2/components/or-textarea-v3/index.js +1 -3
  110. package/dist/esm/v2/hooks/index.d.ts +0 -3
  111. package/dist/esm/v2/hooks/index.js +0 -2
  112. package/dist/esm/v2/index.js +13 -15
  113. package/dist/esm/v3/{OrCardCollection-110b3a0b.js → OrCardCollection-dbb3e839.js} +1 -1
  114. package/dist/esm/v3/{OrCheckbox-7144da06.js → OrCheckbox-3e139eac.js} +19 -36
  115. package/dist/esm/v3/{OrConfirm-1a38ed1b.js → OrConfirm-fee3c859.js} +13 -6
  116. package/dist/esm/v3/{OrInlineInput-a6b19dbe.js → OrInlineInput-507fc99c.js} +20 -37
  117. package/dist/esm/v3/{OrInlineTextarea-9eb60363.js → OrInlineTextarea-53a9e027.js} +20 -37
  118. package/dist/esm/v3/{OrInput-e07ec00c.js → OrInput-9c0426b9.js} +26 -37
  119. package/dist/esm/v3/{OrPagination-5e01a0a5.js → OrPagination-a703307d.js} +1 -1
  120. package/dist/esm/v3/{OrRadio-39d1905d.js → OrRadio-54b6d0de.js} +17 -34
  121. package/dist/esm/v3/{OrSearch-a60f67f0.js → OrSearch-9885d178.js} +1 -1
  122. package/dist/esm/v3/{OrSelect-2c70e384.js → OrSelect-dfa4885f.js} +2 -2
  123. package/dist/esm/v3/{OrSwitch-3e9a699d.js → OrSwitch-cca30aa0.js} +18 -34
  124. package/dist/esm/v3/{OrTabs-91618aab.js → OrTabs-d0ee6cef.js} +1 -1
  125. package/dist/esm/v3/{OrTextarea-fd6b9f31.js → OrTextarea-bb9ef3f2.js} +22 -42
  126. package/dist/esm/v3/components/index.js +13 -15
  127. package/dist/esm/v3/components/or-card-collection-v3/index.js +3 -5
  128. package/dist/esm/v3/components/or-checkbox-v3/OrCheckbox.vue.d.ts +2 -18
  129. package/dist/esm/v3/components/or-checkbox-v3/index.js +1 -2
  130. package/dist/esm/v3/components/or-confirm-v3/index.js +7 -9
  131. package/dist/esm/v3/components/or-inline-input-v3/OrInlineInput.vue.d.ts +6 -36
  132. package/dist/esm/v3/components/or-inline-input-v3/index.js +1 -3
  133. package/dist/esm/v3/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +6 -36
  134. package/dist/esm/v3/components/or-inline-textarea-v3/index.js +1 -3
  135. package/dist/esm/v3/components/or-input-v3/OrInput.vue.d.ts +8 -43
  136. package/dist/esm/v3/components/or-input-v3/index.js +1 -3
  137. package/dist/esm/v3/components/or-pagination-v3/index.js +1 -1
  138. package/dist/esm/v3/components/or-radio-v3/OrRadio.vue.d.ts +2 -18
  139. package/dist/esm/v3/components/or-radio-v3/index.js +1 -2
  140. package/dist/esm/v3/components/or-search-v3/index.js +2 -4
  141. package/dist/esm/v3/components/or-select-v3/index.js +3 -5
  142. package/dist/esm/v3/components/or-switch-v3/OrSwitch.vue.d.ts +2 -18
  143. package/dist/esm/v3/components/or-switch-v3/index.js +1 -2
  144. package/dist/esm/v3/components/or-tabs-v3/index.js +1 -1
  145. package/dist/esm/v3/components/or-textarea-v3/OrTextarea.vue.d.ts +6 -45
  146. package/dist/esm/v3/components/or-textarea-v3/index.js +1 -3
  147. package/dist/esm/v3/hooks/index.d.ts +0 -3
  148. package/dist/esm/v3/hooks/index.js +0 -2
  149. package/dist/esm/v3/index.js +13 -15
  150. package/package.json +1 -1
  151. package/src/components/or-checkbox-v3/OrCheckbox.vue +10 -28
  152. package/src/components/or-confirm-v3/OrConfirm.vue +11 -10
  153. package/src/components/or-confirm-v3/styles.ts +13 -3
  154. package/src/components/or-inline-input-v3/OrInlineInput.vue +13 -32
  155. package/src/components/or-inline-textarea-v3/OrInlineTextarea.vue +13 -32
  156. package/src/components/or-input-v3/OrInput.stories3.ts +4 -4
  157. package/src/components/or-input-v3/OrInput.vue +19 -31
  158. package/src/components/or-pagination-v3/OrPagination.vue +1 -1
  159. package/src/components/or-radio-v3/OrRadio.vue +9 -27
  160. package/src/components/or-switch-v3/OrSwitch.vue +9 -27
  161. package/src/components/or-tabs-v3/OrTabs.vue +1 -1
  162. package/src/components/or-textarea-v3/OrTextarea.stories3.ts +4 -4
  163. package/src/components/or-textarea-v3/OrTextarea.vue +14 -36
  164. package/src/hooks/index.ts +0 -3
  165. package/dist/bundled/v2/hooks/useControlAttributes.d.ts +0 -8
  166. package/dist/bundled/v2/hooks/useIdAttribute.d.ts +0 -2
  167. package/dist/bundled/v2/hooks/useValidationAttributes.d.ts +0 -12
  168. package/dist/bundled/v2/useIdAttribute-cf61643f.js +0 -22
  169. package/dist/bundled/v2/useValidationAttributes-6df7bcf9.js +0 -17
  170. package/dist/bundled/v3/hooks/useControlAttributes.d.ts +0 -8
  171. package/dist/bundled/v3/hooks/useIdAttribute.d.ts +0 -2
  172. package/dist/bundled/v3/hooks/useValidationAttributes.d.ts +0 -12
  173. package/dist/bundled/v3/useIdAttribute-b2e42f31.js +0 -21
  174. package/dist/bundled/v3/useValidationAttributes-5428d8fa.js +0 -16
  175. package/dist/esm/v2/hooks/useControlAttributes.d.ts +0 -8
  176. package/dist/esm/v2/hooks/useIdAttribute.d.ts +0 -2
  177. package/dist/esm/v2/hooks/useValidationAttributes.d.ts +0 -12
  178. package/dist/esm/v2/useIdAttribute-859439f0.js +0 -21
  179. package/dist/esm/v2/useValidationAttributes-d1abbe34.js +0 -16
  180. package/dist/esm/v3/hooks/useControlAttributes.d.ts +0 -8
  181. package/dist/esm/v3/hooks/useIdAttribute.d.ts +0 -2
  182. package/dist/esm/v3/hooks/useValidationAttributes.d.ts +0 -12
  183. package/dist/esm/v3/useIdAttribute-859439f0.js +0 -21
  184. package/dist/esm/v3/useValidationAttributes-d1abbe34.js +0 -16
  185. package/src/hooks/useControlAttributes.ts +0 -19
  186. package/src/hooks/useIdAttribute.ts +0 -9
  187. package/src/hooks/useValidationAttributes.ts +0 -25
@@ -8,18 +8,18 @@ export { a as BUTTON_COLOR, c as BUTTON_LOADER_TYPE, b as BUTTON_SIZE, B as BUTT
8
8
  export { a as ButtonColor, b as ButtonType, B as ButtonVariant, _ as OrButtonV3 } from './OrButton-835d4f11.js';
9
9
  export { _ as OrCard } from './OrCard-b7268256.js';
10
10
  export { C as CARD_COLLECTION_LAYOUT, _ as OrCardCollection } from './OrCardCollection-f6b07557.js';
11
- export { D as DefaultCardCollectionViews, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './OrCardCollection-784318ac.js';
11
+ export { D as DefaultCardCollectionViews, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './OrCardCollection-3c38fc85.js';
12
12
  export { _ as OrCardV3 } from './OrCard-de799db0.js';
13
13
  export { a as OrCarousel, _ as OrCarouselItem } from './OrCarouselItem-4e2cf3d8.js';
14
14
  export { _ as OrCheckbox } from './OrCheckbox-915f1f0a.js';
15
- export { _ as OrCheckboxV3 } from './OrCheckbox-7317fe1a.js';
15
+ export { _ as OrCheckboxV3 } from './OrCheckbox-567e387c.js';
16
16
  export { _ as OrChip } from './OrChips.vue_rollup-plugin-vue_script-aa8fedaa.js';
17
17
  export { _ as OrChips } from './OrChips-5e0063be.js';
18
18
  export { _ as OrCode, O as OrCodeLanguages } from './OrCode-d4400b42.js';
19
19
  export { _ as OrCollapse } from './OrCollapse-4d892ca3.js';
20
20
  export { _ as OrColorPicker, h as amber, n as black, b as blue, m as blueGrey, k as brown, c as cyan, j as deepOrange, d as deepPurple, g as green, i as indigo, l as lightBlue, e as lightGreen, f as lime, o as orange, p as pink, a as purple, r as red, t as teal, w as white, y as yellow } from './OrColorPicker-75abefdd.js';
21
21
  export { _ as OrConfirm } from './OrConfirm-d7112dd3.js';
22
- export { C as ConfirmType, _ as OrConfirmV3 } from './OrConfirm-3d064f6c.js';
22
+ export { C as ConfirmType, _ as OrConfirmV3 } from './OrConfirm-047d4086.js';
23
23
  export { D as DEFAULT_TEXT, _ as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from './OrDateTimePicker-349df9b2.js';
24
24
  export { _ as OrError } from './OrError-081130bb.js';
25
25
  export { _ as OrErrorTagV3 } from './OrErrorTag-782dd714.js';
@@ -34,11 +34,11 @@ export { _ as OrIcon, O as OrIconColors, a as OrIconType } from './OrIcon-819166
34
34
  export { I as IconButtonColor, _ as OrIconButtonV3 } from './OrIconButton-b3779042.js';
35
35
  export { I as IconButtonSize, I as IconSize, a as IconVariant, _ as OrIconV3 } from './OrIcon-5e394c62.js';
36
36
  export { I as InlineInputBoxSize, I as InlineInputSize, _ as OrInlineInputBoxV3 } from './OrInlineInputBox-fefd4fbd.js';
37
- export { I as InlineInputType, _ as OrInlineInputV3 } from './OrInlineInput-7c4f1f92.js';
37
+ export { I as InlineInputType, _ as OrInlineInputV3 } from './OrInlineInput-10205811.js';
38
38
  export { a as InlineTextEditTrimmingTypes, I as InlineTextEditTypes, _ as OrInlineTextEdit } from './OrInlineTextEdit-b47cfc2d.js';
39
- export { _ as OrInlineTextareaV3 } from './OrInlineTextarea-3381e2a9.js';
39
+ export { _ as OrInlineTextareaV3 } from './OrInlineTextarea-7658611e.js';
40
40
  export { a as InputBoxSize, I as InputBoxVariant, a as InputSize, _ as OrInputBoxV3, a as SearchSize, a as SelectSize, a as TextareaSize } from './OrInputBox-4d5a318d.js';
41
- export { I as InputType, _ as OrInputV3 } from './OrInput-e10cc643.js';
41
+ export { I as InputType, _ as OrInputV3 } from './OrInput-ada3a970.js';
42
42
  export { a as OrNumberInput, b as OrPassword, _ as OrTextarea } from './OrPassword-1fa97156.js';
43
43
  export { _ as OrInput } from './OrSearch.vue_rollup-plugin-vue_script-197d77fc.js';
44
44
  export { _ as OrSearch } from './OrSearch-0589d17d.js';
@@ -59,16 +59,16 @@ export { N as NotificationVariant, _ as OrNotificationV3 } from './OrNotificatio
59
59
  export { _ as OrOverflowMenu } from './OrOverflowMenu-10a4166a.js';
60
60
  export { _ as OrOverlay } from './OrOverlay-3b52865d.js';
61
61
  export { _ as OrOverlayV3 } from './OrOverlay-18ba2dc6.js';
62
- export { _ as OrPaginationV3 } from './OrPagination-291bd1b9.js';
62
+ export { _ as OrPaginationV3 } from './OrPagination-c0dbec6a.js';
63
63
  export { _ as OrProgress, O as OrProgressColors, a as OrProgressTypes } from './OrProgress-4ee24824.js';
64
64
  export { _ as OrProgressV3, P as ProgressColor, a as ProgressType } from './OrProgress-c27c8946.js';
65
65
  export { _ as OrRadio } from './OrRadio-e4198532.js';
66
66
  export { _ as OrRadioGroup } from './OrRadioGroup-d9d32cba.js';
67
- export { _ as OrRadioV3 } from './OrRadio-b0a560d2.js';
68
- export { _ as OrSearchV3 } from './OrSearch-1490c00b.js';
67
+ export { _ as OrRadioV3 } from './OrRadio-848ce55d.js';
68
+ export { _ as OrSearchV3 } from './OrSearch-0f08f2f5.js';
69
69
  export { _ as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-e8dce8f9.js';
70
70
  export { _ as OrSelect } from './OrSelect-dae2b069.js';
71
- export { _ as OrSelectV3 } from './OrSelect-1fbeed4f.js';
71
+ export { _ as OrSelectV3 } from './OrSelect-1d705445.js';
72
72
  export { _ as OrSidebar, O as OrSidebarSide } from './OrSidebar-7d6125bb.js';
73
73
  export { O as OrSidebarPlacement, _ as OrSidebarV3 } from './OrSidebar-fabc7bc9.js';
74
74
  export { _ as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from './OrSkeletonText-cc94bdc9.js';
@@ -77,18 +77,18 @@ export { _ as OrSlider } from './OrSlider-f7b9c7c2.js';
77
77
  export { _ as OrSortHeaderV3 } from './OrSortHeader-19bf94ca.js';
78
78
  export { _ as OrStepper } from './OrStepper-4f44e7b7.js';
79
79
  export { _ as OrSwitch } from './OrSwitch-f25f27f9.js';
80
- export { _ as OrSwitchV3 } from './OrSwitch-133052ca.js';
80
+ export { _ as OrSwitchV3 } from './OrSwitch-13b6a7ee.js';
81
81
  export { _ as OrTab } from './OrTab-eade8ab6.js';
82
82
  export { _ as OrTabHeaderItem } from './OrTabHeaderItem-d1a340d1.js';
83
83
  export { _ as OrTabV3 } from './OrTab-702e7335.js';
84
84
  export { _ as OrTabs } from './OrTabs-e1c13d41.js';
85
- export { _ as OrTabsV3, T as TabsVariant } from './OrTabs-e5b81f4b.js';
85
+ export { _ as OrTabsV3, T as TabsVariant } from './OrTabs-71bd3fd2.js';
86
86
  export { _ as OrTag } from './OrTag-c1fa6901.js';
87
87
  export { _ as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-52e4cc94.js';
88
88
  export { _ as OrTeleport } from './OrTeleportVue2-8ef4ceca.js';
89
89
  export { _ as OrTeleportV3 } from './OrTeleport.vue2-fb92f29f.js';
90
90
  export { _ as OrTextV3 } from './OrText-ba5a2b6c.js';
91
- export { _ as OrTextareaV3 } from './OrTextarea-a7c846da.js';
91
+ export { _ as OrTextareaV3 } from './OrTextarea-6712a150.js';
92
92
  export { _ as OrTextbox, T as TextboxTypes } from './OrTextbox-2594c980.js';
93
93
  export { _ as OrToast, a as OrToastContainer } from './OrToastContainer-2fbd4358.js';
94
94
  export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from './useToast-4fbe0e5a.js';
@@ -99,12 +99,10 @@ export { _ as OrTooltipContent } from './OrTooltip.vue_rollup-plugin-vue_script-
99
99
  export { _ as OrTooltipV3 } from './OrTooltip-513bee30.js';
100
100
  export { D as DropdownClose, a as DropdownOpen } from './dropdown-open-0d314aa4.js';
101
101
  export { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
102
- export { u as useControlAttributes, a as useIdAttribute } from './useIdAttribute-859439f0.js';
103
102
  export { u as useElevation } from './useElevation-31bfe1f6.js';
104
103
  export { u as useOverflow } from './useOverflow-af6161c8.js';
105
104
  export { u as useResponsive } from './useResponsive-a02e95b7.js';
106
105
  export { u as useToggle } from './useToggle-29e4d7c7.js';
107
- export { u as useValidationAttributes } from './useValidationAttributes-d1abbe34.js';
108
106
  import { R as RX_ABBREVIATION_FROM_STRING } from './color-1f348774.js';
109
107
  import 'vue-demi';
110
108
  import 'lodash';
@@ -8,7 +8,7 @@ import { s as script$5 } from './OrMenuItem-9da279f6.js';
8
8
  import { s as script$6 } from './OrIcon-b195169c.js';
9
9
  import { openBlock, createElementBlock, normalizeClass, Fragment, renderList, renderSlot, mergeProps, createTextVNode, toDisplayString, resolveComponent, createElementVNode, createVNode, withCtx, createBlock, createCommentVNode, normalizeProps, guardReactiveProps } from 'vue';
10
10
  import { s as script$3 } from './OrButton-0fa67a0d.js';
11
- import { s as script$7 } from './OrSearch-a60f67f0.js';
11
+ import { s as script$7 } from './OrSearch-9885d178.js';
12
12
  import './OrInputBox-6d1b6059.js';
13
13
 
14
14
  const CardCollectionRoot = [
@@ -1,9 +1,8 @@
1
- import { defineComponent, ref, computed, reactive } from 'vue-demi';
1
+ import { defineComponent, getCurrentInstance, ref, computed } from 'vue-demi';
2
2
  import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
3
- import { a as useIdAttribute, u as useControlAttributes } from './useIdAttribute-859439f0.js';
4
3
  import '@vueuse/core';
5
4
  import { s as script$1, L as LabelVariant } from './OrLabel-bdaec602.js';
6
- import { resolveComponent, openBlock, createElementBlock, mergeProps, withDirectives, createElementVNode, vModelDynamic, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode } from 'vue';
5
+ import { resolveComponent, openBlock, createElementBlock, normalizeClass, withDirectives, createElementVNode, mergeProps, vModelCheckbox, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode } from 'vue';
7
6
  import { s as styleInject } from './style-inject.es-4c6f2515.js';
8
7
 
9
8
  const CheckboxRoot = [
@@ -77,20 +76,18 @@ var script = defineComponent({
77
76
  }
78
77
  },
79
78
  emits: ['update:modelValue', 'input', 'focus', 'blur'],
80
- expose: ['root', 'focus', 'blur'],
79
+ expose: ['root'],
81
80
  setup(props, context) {
81
+ var _a;
82
+ const currentInstance = getCurrentInstance();
82
83
  // Refs
83
84
  const root = ref();
84
- const control = ref();
85
85
  // Styles
86
86
  const classAttribute = useClassAttribute();
87
87
  const rootStyles = computed(() => ['or-checkbox', ...CheckboxRoot, classAttribute.value]);
88
88
  const controlStyles = computed(() => [...CheckboxControl, ...CheckboxControlHandle]);
89
89
  // State
90
- const controlAttributes = reactive({
91
- id: useIdAttribute(),
92
- ...useControlAttributes()
93
- });
90
+ const controlId = ref((_a = context.attrs.id) !== null && _a !== void 0 ? _a : currentInstance.uid.toString());
94
91
  const proxyModelValue = computed({
95
92
  get: () => {
96
93
  var _a;
@@ -102,50 +99,36 @@ var script = defineComponent({
102
99
  context.emit('update:modelValue', value);
103
100
  }
104
101
  });
105
- // Methods
106
- function focus() {
107
- var _a;
108
- (_a = control.value) === null || _a === void 0 ? void 0 : _a.focus();
109
- }
110
- function blur() {
111
- var _a;
112
- (_a = control.value) === null || _a === void 0 ? void 0 : _a.blur();
113
- }
114
102
  return {
115
103
  root,
116
- control,
117
104
  rootStyles,
118
105
  controlStyles,
119
- controlAttributes,
120
- proxyModelValue,
121
- focus,
122
- blur
106
+ controlId,
107
+ proxyModelValue
123
108
  };
124
109
  }
125
110
  });
126
111
 
127
- const _hoisted_1 = ["value", "indeterminate", "required", "disabled"];
112
+ const _hoisted_1 = ["id", "value", "indeterminate", "required", "disabled"];
128
113
  function render(_ctx, _cache, $props, $setup, $data, $options) {
129
114
  const _component_OrLabel = resolveComponent("OrLabel");
130
- return openBlock(), createElementBlock("div", mergeProps({
131
- ref: "root"
132
- }, _ctx.$attrs, {
133
- class: _ctx.rootStyles
134
- }), [withDirectives(createElementVNode("input", mergeProps({
135
- ref: "control",
136
- "onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.proxyModelValue = $event)
137
- }, _ctx.controlAttributes, {
115
+ return openBlock(), createElementBlock("div", {
116
+ ref: "root",
117
+ class: normalizeClass(_ctx.rootStyles)
118
+ }, [withDirectives(createElementVNode("input", mergeProps(_ctx.$attrs, {
119
+ id: _ctx.controlId,
120
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.proxyModelValue = $event),
138
121
  class: _ctx.controlStyles,
139
- type: 'checkbox',
122
+ type: "checkbox",
140
123
  value: _ctx.inputValue,
141
124
  indeterminate: _ctx.indeterminate,
142
125
  required: _ctx.required,
143
126
  disabled: _ctx.disabled,
144
127
  onFocus: _cache[1] || (_cache[1] = $event => _ctx.$emit('focus', $event)),
145
128
  onBlur: _cache[2] || (_cache[2] = $event => _ctx.$emit('blur', $event))
146
- }), null, 16 /* FULL_PROPS */, _hoisted_1), [[vModelDynamic, _ctx.proxyModelValue]]), _ctx.$slots.default || _ctx.label ? (openBlock(), createBlock(_component_OrLabel, {
129
+ }), null, 16 /* FULL_PROPS */, _hoisted_1), [[vModelCheckbox, _ctx.proxyModelValue]]), _ctx.$slots.default || _ctx.label ? (openBlock(), createBlock(_component_OrLabel, {
147
130
  key: 0,
148
- "control-id": _ctx.controlAttributes.id,
131
+ "control-id": _ctx.controlId,
149
132
  variant: _ctx.labelVariant,
150
133
  required: _ctx.required,
151
134
  disabled: _ctx.disabled
@@ -154,7 +137,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
154
137
  default: withCtx(() => [renderSlot(_ctx.$slots, "default", {}, () => [createTextVNode(toDisplayString(_ctx.label), 1 /* TEXT */)])]),
155
138
 
156
139
  _: 3 /* FORWARDED */
157
- }, 8 /* PROPS */, ["control-id", "variant", "required", "disabled"])) : createCommentVNode("v-if", true)], 16 /* FULL_PROPS */);
140
+ }, 8 /* PROPS */, ["control-id", "variant", "required", "disabled"])) : createCommentVNode("v-if", true)], 2 /* CLASS */);
158
141
  }
159
142
 
160
143
  var css_248z = "\ninput[data-v-5358d710] {\n appearance: none;\n line-height: 0;\n}\n";
@@ -1,9 +1,9 @@
1
+ import { useMagicKeys, whenever, onClickOutside } from '@vueuse/core';
2
+ import { logicAnd } from '@vueuse/math';
1
3
  import { defineComponent, ref, computed, watch } from 'vue-demi';
2
4
  import { s as script$2, a as ButtonColor } from './OrButton-0fa67a0d.js';
5
+ import { s as script$3 } from './OrInput-9c0426b9.js';
3
6
  import { s as script$1 } from './OrOverlay-738a44d5.js';
4
- import { s as script$3 } from './OrInput-e07ec00c.js';
5
- import { useMagicKeys, whenever } from '@vueuse/core';
6
- import { logicAnd } from '@vueuse/math';
7
7
  import { resolveComponent, openBlock, createBlock, withCtx, createElementVNode, mergeProps, normalizeClass, renderSlot, createTextVNode, toDisplayString, createElementBlock, createVNode, createCommentVNode } from 'vue';
8
8
 
9
9
  var ConfirmType;
@@ -13,12 +13,14 @@ var ConfirmType;
13
13
  })(ConfirmType || (ConfirmType = {}));
14
14
 
15
15
  const ConfirmRoot = [
16
+ // Position
17
+ 'fixed md:static', 'left-none', 'right-none', 'bottom-none',
16
18
  // Layout
17
19
  'layout-column',
18
20
  // Box
19
- 'w-[320px]',
21
+ 'w-full md:w-[320px]',
20
22
  // Shape
21
- 'rounded-md',
23
+ 'rounded-0 md:rounded-md',
22
24
  // Spacing
23
25
  'px-lg', 'py-lg', 'gap-md',
24
26
  // Typography
@@ -51,8 +53,10 @@ const ConfirmFooterTypes = {
51
53
  'flex-row-reverse']
52
54
  };
53
55
  const ConfirmFooterButtons = [
56
+ // Layout
57
+ 'grow',
54
58
  // Box
55
- 'w-[128px]'];
59
+ 'w-auto md:w-[128px]'];
56
60
 
57
61
  var script = defineComponent({
58
62
  name: 'OrConfirm',
@@ -194,6 +198,9 @@ var script = defineComponent({
194
198
  const inputBoxStyles = computed(() => [...ConfirmInput]);
195
199
  const footerStyles = computed(() => [...ConfirmFooter, ...ConfirmFooterTypes[props.confirmType]]);
196
200
  const buttonsStyles = computed(() => [...ConfirmFooterButtons]);
201
+ // #region Click Outside
202
+ onClickOutside(root, close);
203
+ // #endregion
197
204
  return {
198
205
  root,
199
206
  confirmationInput,
@@ -1,13 +1,11 @@
1
- import { defineComponent, ref, computed, reactive, watch } from 'vue-demi';
1
+ import { defineComponent, getCurrentInstance, ref, computed, watch } from 'vue-demi';
2
2
  import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
3
- import { a as useIdAttribute, u as useControlAttributes } from './useIdAttribute-859439f0.js';
4
3
  import '@vueuse/core';
5
- import { u as useValidationAttributes } from './useValidationAttributes-d1abbe34.js';
6
4
  import { s as script$1 } from './OrError-ec8c709d.js';
7
5
  import { s as script$2 } from './OrHint-74bb732d.js';
8
6
  import { s as script$3 } from './OrIconButton-1a89fbf9.js';
9
7
  import { s as script$4, I as InlineInputBoxSize } from './OrInlineInputBox-8049f95a.js';
10
- import { resolveComponent, openBlock, createElementBlock, mergeProps, createElementVNode, createVNode, withCtx, withDirectives, vModelDynamic, normalizeClass, withModifiers, createCommentVNode, Fragment, createBlock, createSlots, createTextVNode, toDisplayString } from 'vue';
8
+ import { resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, createVNode, withCtx, withDirectives, mergeProps, vModelDynamic, withModifiers, createCommentVNode, Fragment, createBlock, createSlots, createTextVNode, toDisplayString } from 'vue';
11
9
  import { s as styleInject } from './style-inject.es-4c6f2515.js';
12
10
 
13
11
  var InlineInputType;
@@ -88,22 +86,19 @@ var script = defineComponent({
88
86
  }
89
87
  },
90
88
  emits: ['update:modelValue', 'input', 'keydown', 'keyup', 'focus', 'blur'],
91
- expose: ['root', 'focus', 'blur'],
89
+ expose: ['root'],
92
90
  setup(props, context) {
91
+ var _a;
92
+ const currentInstance = getCurrentInstance();
93
93
  // Refs
94
94
  const root = ref();
95
- const control = ref();
96
95
  // Styles
97
96
  const classAttribute = useClassAttribute();
98
97
  const rootStyles = computed(() => ['or-inline-input', ...InlineInputRoot, classAttribute.value]);
99
98
  const controlStyles = computed(() => [...InlineInputControl]);
100
99
  const actionStyles = computed(() => [...InlineInputAction, ...InlineInputActionSizes[props.size]]);
101
100
  // State
102
- const controlAttributes = reactive({
103
- id: useIdAttribute(),
104
- ...useControlAttributes(),
105
- ...useValidationAttributes()
106
- });
101
+ const controlId = ref((_a = context.attrs.id) !== null && _a !== void 0 ? _a : currentInstance.uid.toString());
107
102
  const proxyModelValue = computed({
108
103
  get: () => {
109
104
  var _a;
@@ -116,13 +111,13 @@ var script = defineComponent({
116
111
  }
117
112
  });
118
113
  const draftModelValue = ref('');
114
+ const activated = ref(false);
115
+ const invalid = computed(() => !!props.error);
119
116
  const currentLength = computed(() => {
120
117
  var _a, _b;
121
118
  return (_b = (_a = draftModelValue.value) === null || _a === void 0 ? void 0 : _a.toString().length) !== null && _b !== void 0 ? _b : 0;
122
119
  });
123
- const maxLength = computed(() => controlAttributes.maxlength);
124
- const invalid = computed(() => !!props.error);
125
- const activated = ref(false);
120
+ const maxLength = computed(() => context.attrs.maxlength);
126
121
  // Handlers
127
122
  function onFocus(event) {
128
123
  activated.value = true;
@@ -135,14 +130,6 @@ var script = defineComponent({
135
130
  context.emit('blur', event);
136
131
  }
137
132
  // Methods
138
- function focus() {
139
- var _a;
140
- (_a = control.value) === null || _a === void 0 ? void 0 : _a.focus();
141
- }
142
- function blur() {
143
- var _a;
144
- (_a = control.value) === null || _a === void 0 ? void 0 : _a.blur();
145
- }
146
133
  function apply() {
147
134
  if (draftModelValue.value !== proxyModelValue.value) {
148
135
  proxyModelValue.value = draftModelValue.value;
@@ -164,21 +151,18 @@ var script = defineComponent({
164
151
  });
165
152
  return {
166
153
  root,
167
- control,
168
154
  rootStyles,
169
155
  controlStyles,
170
156
  actionStyles,
171
- controlAttributes,
157
+ controlId,
172
158
  proxyModelValue,
173
159
  draftModelValue,
160
+ activated,
161
+ invalid,
174
162
  currentLength,
175
163
  maxLength,
176
- invalid,
177
- activated,
178
164
  onFocus,
179
165
  onBlur,
180
- focus,
181
- blur,
182
166
  apply,
183
167
  reset
184
168
  };
@@ -188,24 +172,23 @@ var script = defineComponent({
188
172
  const _hoisted_1 = {
189
173
  class: /*#__PURE__*/normalizeClass(['layout-row', 'gap-sm+'])
190
174
  };
191
- const _hoisted_2 = ["type", "placeholder", "activated"];
175
+ const _hoisted_2 = ["id", "type", "placeholder", "activated"];
192
176
  function render(_ctx, _cache, $props, $setup, $data, $options) {
193
177
  const _component_OrInlineInputBox = resolveComponent("OrInlineInputBox");
194
178
  const _component_OrIconButton = resolveComponent("OrIconButton");
195
179
  const _component_OrHint = resolveComponent("OrHint");
196
180
  const _component_OrError = resolveComponent("OrError");
197
- return openBlock(), createElementBlock("div", mergeProps({
198
- ref: "root"
199
- }, _ctx.$attrs, {
200
- class: _ctx.rootStyles
201
- }), [createElementVNode("div", _hoisted_1, [createVNode(_component_OrInlineInputBox, {
181
+ return openBlock(), createElementBlock("div", {
182
+ ref: "root",
183
+ class: normalizeClass(_ctx.rootStyles)
184
+ }, [createElementVNode("div", _hoisted_1, [createVNode(_component_OrInlineInputBox, {
202
185
  size: _ctx.size,
203
186
  invalid: _ctx.invalid
204
187
  }, {
205
188
  default: withCtx(() => [withDirectives(createElementVNode("input", mergeProps({
206
- ref: "control",
189
+ id: _ctx.controlId,
207
190
  "onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.draftModelValue = $event)
208
- }, _ctx.controlAttributes, {
191
+ }, _ctx.$attrs, {
209
192
  class: _ctx.controlStyles,
210
193
  type: _ctx.type,
211
194
  placeholder: _ctx.placeholder,
@@ -251,7 +234,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
251
234
  fn: withCtx(() => [createTextVNode(toDisplayString(_ctx.currentLength) + " / " + toDisplayString(_ctx.maxLength), 1 /* TEXT */)]),
252
235
 
253
236
  key: "0"
254
- } : undefined]), 1024 /* DYNAMIC_SLOTS */))], 16 /* FULL_PROPS */);
237
+ } : undefined]), 1024 /* DYNAMIC_SLOTS */))], 2 /* CLASS */);
255
238
  }
256
239
 
257
240
  var css_248z = "\ninput[data-v-29d9ad19] {\n min-width: 0;\n background: none;\n outline: none;\n}\ninput[type=\"number\"][data-v-29d9ad19]::-webkit-inner-spin-button {\n display: none;\n}\ninput[type=\"search\"][data-v-29d9ad19]::-webkit-search-cancel-button {\n display: none;\n}\n";
@@ -1,13 +1,11 @@
1
- import { defineComponent, ref, computed, reactive, watch } from 'vue-demi';
1
+ import { defineComponent, getCurrentInstance, ref, computed, watch } from 'vue-demi';
2
2
  import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
3
- import { a as useIdAttribute, u as useControlAttributes } from './useIdAttribute-859439f0.js';
4
3
  import '@vueuse/core';
5
- import { u as useValidationAttributes } from './useValidationAttributes-d1abbe34.js';
6
4
  import { s as script$1 } from './OrError-ec8c709d.js';
7
5
  import { s as script$2 } from './OrHint-74bb732d.js';
8
6
  import { s as script$3 } from './OrIconButton-1a89fbf9.js';
9
7
  import { s as script$4 } from './OrInlineInputBox-8049f95a.js';
10
- import { resolveComponent, openBlock, createElementBlock, mergeProps, createElementVNode, createVNode, withCtx, withDirectives, vModelText, normalizeClass, withModifiers, createCommentVNode, Fragment, createBlock, createSlots, createTextVNode, toDisplayString } from 'vue';
8
+ import { resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, createVNode, withCtx, withDirectives, mergeProps, vModelText, withModifiers, createCommentVNode, Fragment, createBlock, createSlots, createTextVNode, toDisplayString } from 'vue';
11
9
  import { s as styleInject } from './style-inject.es-4c6f2515.js';
12
10
 
13
11
  const InlineTextareaRoot = [
@@ -66,22 +64,19 @@ var script = defineComponent({
66
64
  }
67
65
  },
68
66
  emits: ['update:modelValue', 'input', 'keydown', 'keyup', 'focus', 'blur'],
69
- expose: ['root', 'focus', 'blur'],
67
+ expose: ['root'],
70
68
  setup(props, context) {
69
+ var _a;
70
+ const currentInstance = getCurrentInstance();
71
71
  // Refs
72
72
  const root = ref();
73
- const control = ref();
74
73
  // Styles
75
74
  const classAttribute = useClassAttribute();
76
75
  const rootStyles = computed(() => ['or-inline-textarea', ...InlineTextareaRoot, classAttribute.value]);
77
76
  const controlStyles = computed(() => [...InlineTextareaControl]);
78
77
  const actionStyles = computed(() => [...InlineTextareaAction]);
79
78
  // State
80
- const controlAttributes = reactive({
81
- id: useIdAttribute(),
82
- ...useControlAttributes(),
83
- ...useValidationAttributes()
84
- });
79
+ const controlId = ref((_a = context.attrs.id) !== null && _a !== void 0 ? _a : currentInstance.uid.toString());
85
80
  const proxyModelValue = computed({
86
81
  get: () => {
87
82
  var _a;
@@ -94,13 +89,13 @@ var script = defineComponent({
94
89
  }
95
90
  });
96
91
  const draftModelValue = ref('');
92
+ const activated = ref(false);
93
+ const invalid = computed(() => !!props.error);
97
94
  const currentLength = computed(() => {
98
95
  var _a, _b;
99
96
  return (_b = (_a = draftModelValue.value) === null || _a === void 0 ? void 0 : _a.toString().length) !== null && _b !== void 0 ? _b : 0;
100
97
  });
101
- const maxLength = computed(() => controlAttributes.maxlength);
102
- const invalid = computed(() => !!props.error);
103
- const activated = ref(false);
98
+ const maxLength = computed(() => context.attrs.maxlength);
104
99
  // Handlers
105
100
  function onFocus(event) {
106
101
  activated.value = true;
@@ -113,14 +108,6 @@ var script = defineComponent({
113
108
  context.emit('blur', event);
114
109
  }
115
110
  // Methods
116
- function focus() {
117
- var _a;
118
- (_a = control.value) === null || _a === void 0 ? void 0 : _a.focus();
119
- }
120
- function blur() {
121
- var _a;
122
- (_a = control.value) === null || _a === void 0 ? void 0 : _a.blur();
123
- }
124
111
  function apply() {
125
112
  if (draftModelValue.value !== proxyModelValue.value) {
126
113
  proxyModelValue.value = draftModelValue.value;
@@ -142,21 +129,18 @@ var script = defineComponent({
142
129
  });
143
130
  return {
144
131
  root,
145
- control,
146
132
  rootStyles,
147
133
  controlStyles,
148
134
  actionStyles,
149
- controlAttributes,
135
+ controlId,
150
136
  proxyModelValue,
151
137
  draftModelValue,
138
+ activated,
139
+ invalid,
152
140
  currentLength,
153
141
  maxLength,
154
- invalid,
155
- activated,
156
142
  onFocus,
157
143
  onBlur,
158
- focus,
159
- blur,
160
144
  apply,
161
145
  reset
162
146
  };
@@ -166,24 +150,23 @@ var script = defineComponent({
166
150
  const _hoisted_1 = {
167
151
  class: /*#__PURE__*/normalizeClass(['layout-row', 'gap-sm+'])
168
152
  };
169
- const _hoisted_2 = ["placeholder", "activated"];
153
+ const _hoisted_2 = ["id", "placeholder", "activated"];
170
154
  function render(_ctx, _cache, $props, $setup, $data, $options) {
171
155
  const _component_OrInlineInputBox = resolveComponent("OrInlineInputBox");
172
156
  const _component_OrIconButton = resolveComponent("OrIconButton");
173
157
  const _component_OrHint = resolveComponent("OrHint");
174
158
  const _component_OrError = resolveComponent("OrError");
175
- return openBlock(), createElementBlock("div", mergeProps({
176
- ref: "root"
177
- }, _ctx.$attrs, {
178
- class: _ctx.rootStyles
179
- }), [createElementVNode("div", _hoisted_1, [createVNode(_component_OrInlineInputBox, {
159
+ return openBlock(), createElementBlock("div", {
160
+ ref: "root",
161
+ class: normalizeClass(_ctx.rootStyles)
162
+ }, [createElementVNode("div", _hoisted_1, [createVNode(_component_OrInlineInputBox, {
180
163
  size: 's',
181
164
  invalid: _ctx.invalid
182
165
  }, {
183
166
  default: withCtx(() => [withDirectives(createElementVNode("textarea", mergeProps({
184
- ref: "control",
167
+ id: _ctx.controlId,
185
168
  "onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.draftModelValue = $event)
186
- }, _ctx.controlAttributes, {
169
+ }, _ctx.$attrs, {
187
170
  class: _ctx.controlStyles,
188
171
  placeholder: _ctx.placeholder,
189
172
  activated: _ctx.activated ? '' : null,
@@ -228,7 +211,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
228
211
  fn: withCtx(() => [createTextVNode(toDisplayString(_ctx.currentLength) + " / " + toDisplayString(_ctx.maxLength), 1 /* TEXT */)]),
229
212
 
230
213
  key: "0"
231
- } : undefined]), 1024 /* DYNAMIC_SLOTS */))], 16 /* FULL_PROPS */);
214
+ } : undefined]), 1024 /* DYNAMIC_SLOTS */))], 2 /* CLASS */);
232
215
  }
233
216
 
234
217
  var css_248z = "\ntextarea[data-v-3f016b22] {\n min-width: 0;\n background: none;\n outline: none;\n}\n";