@onereach/ui-components 2.70.1 → 2.70.2-beta.2199.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 (185) hide show
  1. package/dist/bundled/v2/{OrCardCollection-0141a358.js → OrCardCollection-1bb83cfb.js} +1 -1
  2. package/dist/bundled/v2/{OrCheckbox-dbef9f9a.js → OrCheckbox-251ecafc.js} +32 -17
  3. package/dist/bundled/v2/{OrConfirm-23c3ce56.js → OrConfirm-4cae7867.js} +1 -1
  4. package/dist/bundled/v2/{OrInlineInput-87589946.js → OrInlineInput-2133e469.js} +38 -22
  5. package/dist/bundled/v2/{OrInlineTextarea-21b0e6fc.js → OrInlineTextarea-d61ca596.js} +34 -18
  6. package/dist/bundled/v2/{OrInput-82ccfe00.js → OrInput-770f1bed.js} +38 -30
  7. package/dist/bundled/v2/{OrPagination-379c10b8.js → OrPagination-468d0964.js} +1 -1
  8. package/dist/bundled/v2/{OrRadio-cd39b20b.js → OrRadio-ae89bc9b.js} +30 -15
  9. package/dist/bundled/v2/{OrSearch-53470b0e.js → OrSearch-2e5f9e24.js} +1 -1
  10. package/dist/bundled/v2/{OrSelect-c49e1bcf.js → OrSelect-039c0711.js} +2 -2
  11. package/dist/bundled/v2/{OrSwitch-237a2081.js → OrSwitch-20640a05.js} +30 -15
  12. package/dist/bundled/v2/{OrTabs-42f7c52c.js → OrTabs-85aefcba.js} +1 -1
  13. package/dist/bundled/v2/{OrTextarea-5593fbe9.js → OrTextarea-0ff8063b.js} +39 -20
  14. package/dist/bundled/v2/components/index.js +15 -13
  15. package/dist/bundled/v2/components/or-card-collection-v3/index.js +5 -3
  16. package/dist/bundled/v2/components/or-checkbox-v3/OrCheckbox.vue.d.ts +18 -2
  17. package/dist/bundled/v2/components/or-checkbox-v3/index.js +2 -1
  18. package/dist/bundled/v2/components/or-confirm-v3/index.js +4 -2
  19. package/dist/bundled/v2/components/or-inline-input-v3/OrInlineInput.vue.d.ts +36 -6
  20. package/dist/bundled/v2/components/or-inline-input-v3/index.js +3 -1
  21. package/dist/bundled/v2/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +36 -6
  22. package/dist/bundled/v2/components/or-inline-textarea-v3/index.js +3 -1
  23. package/dist/bundled/v2/components/or-input-v3/OrInput.vue.d.ts +43 -8
  24. package/dist/bundled/v2/components/or-input-v3/index.js +3 -1
  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 +18 -2
  27. package/dist/bundled/v2/components/or-radio-v3/index.js +2 -1
  28. package/dist/bundled/v2/components/or-search-v3/index.js +4 -2
  29. package/dist/bundled/v2/components/or-select-v3/index.js +5 -3
  30. package/dist/bundled/v2/components/or-switch-v3/OrSwitch.vue.d.ts +18 -2
  31. package/dist/bundled/v2/components/or-switch-v3/index.js +2 -1
  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 +45 -6
  34. package/dist/bundled/v2/components/or-textarea-v3/index.js +3 -1
  35. package/dist/bundled/v2/hooks/index.d.ts +3 -0
  36. package/dist/bundled/v2/hooks/index.js +2 -0
  37. package/dist/bundled/v2/hooks/useControlAttributes.d.ts +8 -0
  38. package/dist/bundled/v2/hooks/useIdAttribute.d.ts +2 -0
  39. package/dist/bundled/v2/hooks/useValidationAttributes.d.ts +12 -0
  40. package/dist/bundled/v2/index.js +15 -13
  41. package/dist/bundled/v2/useIdAttribute-cf61643f.js +22 -0
  42. package/dist/bundled/v2/useValidationAttributes-6df7bcf9.js +17 -0
  43. package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-2d78a51a.js → OrCardCollection.vue_vue_type_script_lang-a0f29a55.js} +1 -1
  44. package/dist/bundled/v3/{OrCheckbox.vue_vue_type_script_lang-8b36e06c.js → OrCheckbox.vue_vue_type_script_lang-2024ec32.js} +22 -7
  45. package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-05b21989.js → OrConfirm.vue_vue_type_script_lang-7d9d3810.js} +2 -2
  46. package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-67218502.js → OrInlineInput.vue_vue_type_script_lang-40f0073f.js} +27 -11
  47. package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-a1831ab8.js → OrInlineTextarea.vue_vue_type_script_lang-2817edd5.js} +27 -11
  48. package/dist/bundled/v3/{OrInput-a4f220ed.js → OrInput-e325a104.js} +12 -12
  49. package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-607d79d4.js → OrInput.vue_vue_type_script_lang-fd850b82.js} +26 -15
  50. package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-c96d7cd7.js → OrPagination.vue_vue_type_script_lang-0d9daaa7.js} +1 -1
  51. package/dist/bundled/v3/{OrRadio.vue_vue_type_script_lang-2e666a56.js → OrRadio.vue_vue_type_script_lang-29e8b856.js} +22 -7
  52. package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-06f318ca.js → OrSearch.vue_vue_type_script_lang-480f4b1c.js} +2 -2
  53. package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-58e5a52b.js → OrSelect.vue_vue_type_script_lang-7aa8956a.js} +17 -15
  54. package/dist/bundled/v3/{OrSwitch.vue_vue_type_script_lang-04829f64.js → OrSwitch.vue_vue_type_script_lang-02b4913a.js} +22 -7
  55. package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-61b79a5a.js → OrTabs.vue_vue_type_script_lang-01188224.js} +1 -1
  56. package/dist/bundled/v3/{OrTextarea.vue_vue_type_script_lang-8e3531cd.js → OrTextarea.vue_vue_type_script_lang-2fdac7b2.js} +31 -12
  57. package/dist/bundled/v3/components/index.js +16 -14
  58. package/dist/bundled/v3/components/or-card-collection-v3/index.js +6 -4
  59. package/dist/bundled/v3/components/or-checkbox-v3/OrCheckbox.vue.d.ts +18 -2
  60. package/dist/bundled/v3/components/or-checkbox-v3/index.js +2 -1
  61. package/dist/bundled/v3/components/or-confirm-v3/index.js +5 -3
  62. package/dist/bundled/v3/components/or-inline-input-v3/OrInlineInput.vue.d.ts +36 -6
  63. package/dist/bundled/v3/components/or-inline-input-v3/index.js +3 -1
  64. package/dist/bundled/v3/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +36 -6
  65. package/dist/bundled/v3/components/or-inline-textarea-v3/index.js +3 -1
  66. package/dist/bundled/v3/components/or-input-v3/OrInput.vue.d.ts +43 -8
  67. package/dist/bundled/v3/components/or-input-v3/index.js +3 -1
  68. package/dist/bundled/v3/components/or-pagination-v3/index.js +1 -1
  69. package/dist/bundled/v3/components/or-radio-v3/OrRadio.vue.d.ts +18 -2
  70. package/dist/bundled/v3/components/or-radio-v3/index.js +2 -1
  71. package/dist/bundled/v3/components/or-search-v3/index.js +5 -3
  72. package/dist/bundled/v3/components/or-select-v3/index.js +6 -4
  73. package/dist/bundled/v3/components/or-switch-v3/OrSwitch.vue.d.ts +18 -2
  74. package/dist/bundled/v3/components/or-switch-v3/index.js +2 -1
  75. package/dist/bundled/v3/components/or-tabs-v3/index.js +1 -1
  76. package/dist/bundled/v3/components/or-textarea-v3/OrTextarea.vue.d.ts +45 -6
  77. package/dist/bundled/v3/components/or-textarea-v3/index.js +3 -1
  78. package/dist/bundled/v3/hooks/index.d.ts +3 -0
  79. package/dist/bundled/v3/hooks/index.js +2 -0
  80. package/dist/bundled/v3/hooks/useControlAttributes.d.ts +8 -0
  81. package/dist/bundled/v3/hooks/useIdAttribute.d.ts +2 -0
  82. package/dist/bundled/v3/hooks/useValidationAttributes.d.ts +12 -0
  83. package/dist/bundled/v3/index.js +76 -68
  84. package/dist/bundled/v3/useIdAttribute-b2e42f31.js +21 -0
  85. package/dist/bundled/v3/useValidationAttributes-5428d8fa.js +16 -0
  86. package/dist/esm/v2/{OrCardCollection-3c38fc85.js → OrCardCollection-784318ac.js} +1 -1
  87. package/dist/esm/v2/{OrCheckbox-567e387c.js → OrCheckbox-7317fe1a.js} +32 -17
  88. package/dist/esm/v2/{OrConfirm-e2ab9b4c.js → OrConfirm-3d064f6c.js} +1 -1
  89. package/dist/esm/v2/{OrInlineInput-10205811.js → OrInlineInput-7c4f1f92.js} +38 -22
  90. package/dist/esm/v2/{OrInlineTextarea-7658611e.js → OrInlineTextarea-3381e2a9.js} +34 -18
  91. package/dist/esm/v2/{OrInput-ada3a970.js → OrInput-e10cc643.js} +38 -30
  92. package/dist/esm/v2/{OrPagination-c0dbec6a.js → OrPagination-291bd1b9.js} +1 -1
  93. package/dist/esm/v2/{OrRadio-848ce55d.js → OrRadio-b0a560d2.js} +30 -15
  94. package/dist/esm/v2/{OrSearch-0f08f2f5.js → OrSearch-1490c00b.js} +1 -1
  95. package/dist/esm/v2/{OrSelect-1d705445.js → OrSelect-1fbeed4f.js} +2 -2
  96. package/dist/esm/v2/{OrSwitch-13b6a7ee.js → OrSwitch-133052ca.js} +30 -15
  97. package/dist/esm/v2/{OrTabs-71bd3fd2.js → OrTabs-e5b81f4b.js} +1 -1
  98. package/dist/esm/v2/{OrTextarea-6712a150.js → OrTextarea-a7c846da.js} +39 -20
  99. package/dist/esm/v2/components/index.js +15 -13
  100. package/dist/esm/v2/components/or-card-collection-v3/index.js +5 -3
  101. package/dist/esm/v2/components/or-checkbox-v3/OrCheckbox.vue.d.ts +18 -2
  102. package/dist/esm/v2/components/or-checkbox-v3/index.js +2 -1
  103. package/dist/esm/v2/components/or-confirm-v3/index.js +4 -2
  104. package/dist/esm/v2/components/or-inline-input-v3/OrInlineInput.vue.d.ts +36 -6
  105. package/dist/esm/v2/components/or-inline-input-v3/index.js +3 -1
  106. package/dist/esm/v2/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +36 -6
  107. package/dist/esm/v2/components/or-inline-textarea-v3/index.js +3 -1
  108. package/dist/esm/v2/components/or-input-v3/OrInput.vue.d.ts +43 -8
  109. package/dist/esm/v2/components/or-input-v3/index.js +3 -1
  110. package/dist/esm/v2/components/or-pagination-v3/index.js +1 -1
  111. package/dist/esm/v2/components/or-radio-v3/OrRadio.vue.d.ts +18 -2
  112. package/dist/esm/v2/components/or-radio-v3/index.js +2 -1
  113. package/dist/esm/v2/components/or-search-v3/index.js +4 -2
  114. package/dist/esm/v2/components/or-select-v3/index.js +5 -3
  115. package/dist/esm/v2/components/or-switch-v3/OrSwitch.vue.d.ts +18 -2
  116. package/dist/esm/v2/components/or-switch-v3/index.js +2 -1
  117. package/dist/esm/v2/components/or-tabs-v3/index.js +1 -1
  118. package/dist/esm/v2/components/or-textarea-v3/OrTextarea.vue.d.ts +45 -6
  119. package/dist/esm/v2/components/or-textarea-v3/index.js +3 -1
  120. package/dist/esm/v2/hooks/index.d.ts +3 -0
  121. package/dist/esm/v2/hooks/index.js +2 -0
  122. package/dist/esm/v2/hooks/useControlAttributes.d.ts +8 -0
  123. package/dist/esm/v2/hooks/useIdAttribute.d.ts +2 -0
  124. package/dist/esm/v2/hooks/useValidationAttributes.d.ts +12 -0
  125. package/dist/esm/v2/index.js +15 -13
  126. package/dist/esm/v2/useIdAttribute-859439f0.js +21 -0
  127. package/dist/esm/v2/useValidationAttributes-d1abbe34.js +16 -0
  128. package/dist/esm/v3/{OrCardCollection-dbb3e839.js → OrCardCollection-110b3a0b.js} +1 -1
  129. package/dist/esm/v3/{OrCheckbox-3e139eac.js → OrCheckbox-7144da06.js} +36 -19
  130. package/dist/esm/v3/{OrConfirm-1bcd39b1.js → OrConfirm-1a38ed1b.js} +1 -1
  131. package/dist/esm/v3/{OrInlineInput-507fc99c.js → OrInlineInput-a6b19dbe.js} +37 -20
  132. package/dist/esm/v3/{OrInlineTextarea-53a9e027.js → OrInlineTextarea-9eb60363.js} +37 -20
  133. package/dist/esm/v3/{OrInput-9c0426b9.js → OrInput-e07ec00c.js} +37 -26
  134. package/dist/esm/v3/{OrPagination-a703307d.js → OrPagination-5e01a0a5.js} +1 -1
  135. package/dist/esm/v3/{OrRadio-54b6d0de.js → OrRadio-39d1905d.js} +34 -17
  136. package/dist/esm/v3/{OrSearch-9885d178.js → OrSearch-a60f67f0.js} +1 -1
  137. package/dist/esm/v3/{OrSelect-dfa4885f.js → OrSelect-2c70e384.js} +2 -2
  138. package/dist/esm/v3/{OrSwitch-cca30aa0.js → OrSwitch-3e9a699d.js} +34 -18
  139. package/dist/esm/v3/{OrTabs-d0ee6cef.js → OrTabs-91618aab.js} +1 -1
  140. package/dist/esm/v3/{OrTextarea-bb9ef3f2.js → OrTextarea-fd6b9f31.js} +42 -22
  141. package/dist/esm/v3/components/index.js +15 -13
  142. package/dist/esm/v3/components/or-card-collection-v3/index.js +5 -3
  143. package/dist/esm/v3/components/or-checkbox-v3/OrCheckbox.vue.d.ts +18 -2
  144. package/dist/esm/v3/components/or-checkbox-v3/index.js +2 -1
  145. package/dist/esm/v3/components/or-confirm-v3/index.js +4 -2
  146. package/dist/esm/v3/components/or-inline-input-v3/OrInlineInput.vue.d.ts +36 -6
  147. package/dist/esm/v3/components/or-inline-input-v3/index.js +3 -1
  148. package/dist/esm/v3/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +36 -6
  149. package/dist/esm/v3/components/or-inline-textarea-v3/index.js +3 -1
  150. package/dist/esm/v3/components/or-input-v3/OrInput.vue.d.ts +43 -8
  151. package/dist/esm/v3/components/or-input-v3/index.js +3 -1
  152. package/dist/esm/v3/components/or-pagination-v3/index.js +1 -1
  153. package/dist/esm/v3/components/or-radio-v3/OrRadio.vue.d.ts +18 -2
  154. package/dist/esm/v3/components/or-radio-v3/index.js +2 -1
  155. package/dist/esm/v3/components/or-search-v3/index.js +4 -2
  156. package/dist/esm/v3/components/or-select-v3/index.js +5 -3
  157. package/dist/esm/v3/components/or-switch-v3/OrSwitch.vue.d.ts +18 -2
  158. package/dist/esm/v3/components/or-switch-v3/index.js +2 -1
  159. package/dist/esm/v3/components/or-tabs-v3/index.js +1 -1
  160. package/dist/esm/v3/components/or-textarea-v3/OrTextarea.vue.d.ts +45 -6
  161. package/dist/esm/v3/components/or-textarea-v3/index.js +3 -1
  162. package/dist/esm/v3/hooks/index.d.ts +3 -0
  163. package/dist/esm/v3/hooks/index.js +2 -0
  164. package/dist/esm/v3/hooks/useControlAttributes.d.ts +8 -0
  165. package/dist/esm/v3/hooks/useIdAttribute.d.ts +2 -0
  166. package/dist/esm/v3/hooks/useValidationAttributes.d.ts +12 -0
  167. package/dist/esm/v3/index.js +15 -13
  168. package/dist/esm/v3/useIdAttribute-859439f0.js +21 -0
  169. package/dist/esm/v3/useValidationAttributes-d1abbe34.js +16 -0
  170. package/package.json +2 -3
  171. package/src/components/or-checkbox-v3/OrCheckbox.vue +28 -10
  172. package/src/components/or-inline-input-v3/OrInlineInput.vue +32 -13
  173. package/src/components/or-inline-textarea-v3/OrInlineTextarea.vue +32 -13
  174. package/src/components/or-input-v3/OrInput.stories3.ts +4 -4
  175. package/src/components/or-input-v3/OrInput.vue +31 -19
  176. package/src/components/or-pagination-v3/OrPagination.vue +1 -1
  177. package/src/components/or-radio-v3/OrRadio.vue +27 -9
  178. package/src/components/or-switch-v3/OrSwitch.vue +27 -9
  179. package/src/components/or-tabs-v3/OrTabs.vue +1 -1
  180. package/src/components/or-textarea-v3/OrTextarea.stories3.ts +4 -4
  181. package/src/components/or-textarea-v3/OrTextarea.vue +36 -14
  182. package/src/hooks/index.ts +3 -0
  183. package/src/hooks/useControlAttributes.ts +19 -0
  184. package/src/hooks/useIdAttribute.ts +9 -0
  185. package/src/hooks/useValidationAttributes.ts +25 -0
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, ref, computed, watch } from 'vue-demi';
2
2
  import { debouncedWatch } from '@vueuse/core';
3
3
  import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
4
- import { s as script$1 } from './OrInput-9c0426b9.js';
4
+ import { s as script$1 } from './OrInput-e07ec00c.js';
5
5
  import { a as InputBoxSize } from './OrInputBox-6d1b6059.js';
6
6
  import { resolveComponent, openBlock, createBlock, mergeProps } from 'vue';
7
7
 
@@ -3,13 +3,13 @@ import { D as DropdownClose, a as DropdownOpen } from './dropdown-open-0d314aa4.
3
3
  import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
4
4
  import { u as useOverflow } from './useOverflow-af6161c8.js';
5
5
  import '@vueuse/core';
6
- import { s as script$1 } from './OrCheckbox-3e139eac.js';
6
+ import { s as script$1 } from './OrCheckbox-7144da06.js';
7
7
  import { s as script$2 } from './OrError-ec8c709d.js';
8
8
  import { s as script$3 } from './OrExpansionPanel-f8d7ff8d.js';
9
9
  import { s as script$4 } from './OrHint-74bb732d.js';
10
10
  import { s as script$5 } from './OrIcon-b195169c.js';
11
11
  import { s as script$7, a as InputBoxSize } from './OrInputBox-6d1b6059.js';
12
- import { s as script$6 } from './OrInput-9c0426b9.js';
12
+ import { s as script$6 } from './OrInput-e07ec00c.js';
13
13
  import { s as script$8 } from './OrLabel-bdaec602.js';
14
14
  import { s as script$9 } from './OrMenuItem-9da279f6.js';
15
15
  import { s as script$a } from './OrPopover-1075dd38.js';
@@ -1,9 +1,10 @@
1
- import { defineComponent, getCurrentInstance, ref, computed } from 'vue-demi';
1
+ import { defineComponent, ref, computed, reactive } 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';
3
4
  import '@vueuse/core';
4
5
  import { s as script$1, L as LabelVariant } from './OrLabel-bdaec602.js';
5
6
  import { s as script$2 } from './OrLoader-b3cf4231.js';
6
- import { resolveComponent, openBlock, createElementBlock, normalizeClass, withDirectives, mergeProps, vModelCheckbox, createVNode, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode } from 'vue';
7
+ import { resolveComponent, openBlock, createElementBlock, mergeProps, withDirectives, vModelCheckbox, normalizeClass, createVNode, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode } from 'vue';
7
8
  import { s as styleInject } from './style-inject.es-4c6f2515.js';
8
9
 
9
10
  const SwitchRoot = [
@@ -98,19 +99,21 @@ var script = defineComponent({
98
99
  }
99
100
  },
100
101
  emits: ['update:modelValue', 'input', 'focus', 'blur'],
101
- expose: ['root'],
102
+ expose: ['root', 'focus', 'blur'],
102
103
  setup(props, context) {
103
- var _a;
104
- const currentInstance = getCurrentInstance();
105
104
  // Refs
106
105
  const root = ref();
106
+ const control = ref();
107
107
  // Styles
108
108
  const classAttribute = useClassAttribute();
109
109
  const rootStyles = computed(() => ['or-switch', ...SwitchRoot, classAttribute.value]);
110
110
  const controlStyles = computed(() => [...SwitchControl, ...SwitchControlHandle]);
111
111
  const loaderStyles = computed(() => [...SwitchLoader, ...SwitchLoaderHandle]);
112
112
  // State
113
- const controlId = ref((_a = context.attrs.id) !== null && _a !== void 0 ? _a : currentInstance.uid.toString());
113
+ const controlAttributes = reactive({
114
+ id: useIdAttribute(),
115
+ ...useControlAttributes()
116
+ });
114
117
  const proxyModelValue = computed({
115
118
  get: () => {
116
119
  var _a;
@@ -122,30 +125,43 @@ var script = defineComponent({
122
125
  context.emit('update:modelValue', value);
123
126
  }
124
127
  });
128
+ // Methods
129
+ function focus() {
130
+ var _a;
131
+ (_a = control.value) === null || _a === void 0 ? void 0 : _a.focus();
132
+ }
133
+ function blur() {
134
+ var _a;
135
+ (_a = control.value) === null || _a === void 0 ? void 0 : _a.blur();
136
+ }
125
137
  return {
126
138
  root,
139
+ control,
127
140
  rootStyles,
128
141
  controlStyles,
129
142
  loaderStyles,
130
- controlId,
131
- proxyModelValue
143
+ controlAttributes,
144
+ proxyModelValue,
145
+ focus,
146
+ blur
132
147
  };
133
148
  }
134
149
  });
135
150
 
136
- const _hoisted_1 = ["id", "value", "required", "disabled"];
151
+ const _hoisted_1 = ["value", "required", "disabled"];
137
152
  const _hoisted_2 = ["disabled"];
138
153
  function render(_ctx, _cache, $props, $setup, $data, $options) {
139
154
  const _component_OrLoader = resolveComponent("OrLoader");
140
155
  const _component_OrLabel = resolveComponent("OrLabel");
141
- return openBlock(), createElementBlock("div", {
142
- ref: "root",
143
- class: normalizeClass(_ctx.rootStyles)
144
- }, [!_ctx.loading ? withDirectives((openBlock(), createElementBlock("input", mergeProps({
145
- key: 0
156
+ return openBlock(), createElementBlock("div", mergeProps({
157
+ ref: "root"
146
158
  }, _ctx.$attrs, {
147
- id: _ctx.controlId,
148
- "onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.proxyModelValue = $event),
159
+ class: _ctx.rootStyles
160
+ }), [!_ctx.loading ? withDirectives((openBlock(), createElementBlock("input", mergeProps({
161
+ key: 0,
162
+ ref: "control",
163
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.proxyModelValue = $event)
164
+ }, _ctx.controlAttributes, {
149
165
  class: _ctx.controlStyles,
150
166
  type: "checkbox",
151
167
  value: _ctx.inputValue,
@@ -163,7 +179,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
163
179
  size: 'm'
164
180
  })], 10 /* CLASS, PROPS */, _hoisted_2)), _ctx.$slots.default || _ctx.label ? (openBlock(), createBlock(_component_OrLabel, {
165
181
  key: 2,
166
- "control-id": _ctx.controlId,
182
+ "control-id": _ctx.controlAttributes.id,
167
183
  variant: _ctx.labelVariant,
168
184
  required: _ctx.required,
169
185
  disabled: _ctx.disabled
@@ -172,7 +188,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
172
188
  default: withCtx(() => [renderSlot(_ctx.$slots, "default", {}, () => [createTextVNode(toDisplayString(_ctx.label), 1 /* TEXT */)])]),
173
189
 
174
190
  _: 3 /* FORWARDED */
175
- }, 8 /* PROPS */, ["control-id", "variant", "required", "disabled"])) : createCommentVNode("v-if", true)], 2 /* CLASS */);
191
+ }, 8 /* PROPS */, ["control-id", "variant", "required", "disabled"])) : createCommentVNode("v-if", true)], 16 /* FULL_PROPS */);
176
192
  }
177
193
 
178
194
  var css_248z = "\ninput[data-v-4296509a] {\n appearance: none;\n line-height: 0;\n}\n";
@@ -96,7 +96,7 @@ var script = defineComponent({
96
96
  const activeTab = computed(() => props.items.find(({
97
97
  value
98
98
  }) => value === proxyModelValue.value));
99
- // Functions
99
+ // Methods
100
100
  function rearrangeTabs(items, activeTab, rootElement) {
101
101
  const {
102
102
  children
@@ -1,11 +1,13 @@
1
- import { defineComponent, getCurrentInstance, ref, computed } from 'vue-demi';
1
+ import { defineComponent, ref, computed, reactive } 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';
3
4
  import '@vueuse/core';
5
+ import { u as useValidationAttributes } from './useValidationAttributes-d1abbe34.js';
4
6
  import { s as script$1 } from './OrError-ec8c709d.js';
5
7
  import { s as script$2 } from './OrHint-74bb732d.js';
6
8
  import { s as script$3, a as InputBoxSize } from './OrInputBox-6d1b6059.js';
7
9
  import { s as script$4 } from './OrLabel-bdaec602.js';
8
- import { resolveComponent, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, createVNode, withDirectives, createElementVNode, mergeProps, vModelText, Fragment, createSlots } from 'vue';
10
+ import { resolveComponent, openBlock, createElementBlock, mergeProps, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, createVNode, withDirectives, createElementVNode, vModelText, Fragment, createSlots } from 'vue';
9
11
  import { s as styleInject } from './style-inject.es-4c6f2515.js';
10
12
 
11
13
  const TextareaRoot = [
@@ -63,24 +65,31 @@ var script = defineComponent({
63
65
  type: Boolean,
64
66
  default: false
65
67
  },
68
+ readonly: {
69
+ type: Boolean,
70
+ default: false
71
+ },
66
72
  disabled: {
67
73
  type: Boolean,
68
74
  default: false
69
75
  }
70
76
  },
71
77
  emits: ['update:modelValue', 'input', 'keydown', 'keyup', 'focus', 'blur'],
72
- expose: ['root'],
78
+ expose: ['root', 'focus', 'blur'],
73
79
  setup(props, context) {
74
- var _a;
75
- const currentInstance = getCurrentInstance();
76
80
  // Refs
77
81
  const root = ref();
82
+ const control = ref();
78
83
  // Styles
79
84
  const classAttribute = useClassAttribute();
80
85
  const rootStyles = computed(() => ['or-textarea', ...TextareaRoot, classAttribute.value]);
81
86
  const controlStyles = computed(() => [...TextareaControl]);
82
87
  // State
83
- const controlId = ref((_a = context.attrs.id) !== null && _a !== void 0 ? _a : currentInstance.uid.toString());
88
+ const controlAttributes = reactive({
89
+ id: useIdAttribute(),
90
+ ...useControlAttributes(),
91
+ ...useValidationAttributes()
92
+ });
84
93
  const proxyModelValue = computed({
85
94
  get: () => {
86
95
  var _a;
@@ -92,39 +101,50 @@ var script = defineComponent({
92
101
  context.emit('update:modelValue', value);
93
102
  }
94
103
  });
95
- const invalid = computed(() => !!props.error);
96
- const readonly = computed(() => context.attrs.readonly);
97
104
  const currentLength = computed(() => {
98
105
  var _a, _b;
99
106
  return (_b = (_a = proxyModelValue.value) === null || _a === void 0 ? void 0 : _a.toString().length) !== null && _b !== void 0 ? _b : 0;
100
107
  });
101
- const maxLength = computed(() => context.attrs.maxlength);
108
+ const maxLength = computed(() => controlAttributes.maxlength);
109
+ const invalid = computed(() => !!props.error);
110
+ // Methods
111
+ function focus() {
112
+ var _a;
113
+ (_a = control.value) === null || _a === void 0 ? void 0 : _a.focus();
114
+ }
115
+ function blur() {
116
+ var _a;
117
+ (_a = control.value) === null || _a === void 0 ? void 0 : _a.blur();
118
+ }
102
119
  return {
103
120
  root,
121
+ control,
104
122
  rootStyles,
105
123
  controlStyles,
106
- controlId,
124
+ controlAttributes,
107
125
  proxyModelValue,
108
- invalid,
109
- readonly,
110
126
  currentLength,
111
- maxLength
127
+ maxLength,
128
+ invalid,
129
+ focus,
130
+ blur
112
131
  };
113
132
  }
114
133
  });
115
134
 
116
- const _hoisted_1 = ["id", "placeholder", "required", "disabled"];
135
+ const _hoisted_1 = ["placeholder", "required", "disabled"];
117
136
  function render(_ctx, _cache, $props, $setup, $data, $options) {
118
137
  const _component_OrLabel = resolveComponent("OrLabel");
119
138
  const _component_OrInputBox = resolveComponent("OrInputBox");
120
139
  const _component_OrHint = resolveComponent("OrHint");
121
140
  const _component_OrError = resolveComponent("OrError");
122
- return openBlock(), createElementBlock("div", {
123
- ref: "root",
124
- class: normalizeClass(_ctx.rootStyles)
125
- }, [_ctx.label ? (openBlock(), createBlock(_component_OrLabel, {
141
+ return openBlock(), createElementBlock("div", mergeProps({
142
+ ref: "root"
143
+ }, _ctx.$attrs, {
144
+ class: _ctx.rootStyles
145
+ }), [_ctx.label ? (openBlock(), createBlock(_component_OrLabel, {
126
146
  key: 0,
127
- "control-id": _ctx.controlId,
147
+ "control-id": _ctx.controlAttributes.id,
128
148
  variant: 'input',
129
149
  required: _ctx.required,
130
150
  disabled: _ctx.disabled
@@ -140,9 +160,9 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
140
160
  disabled: _ctx.disabled
141
161
  }, {
142
162
  default: withCtx(() => [withDirectives(createElementVNode("textarea", mergeProps({
143
- id: _ctx.controlId,
163
+ ref: "control",
144
164
  "onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.proxyModelValue = $event)
145
- }, _ctx.$attrs, {
165
+ }, _ctx.controlAttributes, {
146
166
  class: _ctx.controlStyles,
147
167
  placeholder: _ctx.placeholder,
148
168
  required: _ctx.required,
@@ -179,7 +199,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
179
199
  fn: withCtx(() => [createTextVNode(toDisplayString(_ctx.currentLength) + " / " + toDisplayString(_ctx.maxLength), 1 /* TEXT */)]),
180
200
 
181
201
  key: "0"
182
- } : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled"]))], 2 /* CLASS */);
202
+ } : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled"]))], 16 /* FULL_PROPS */);
183
203
  }
184
204
 
185
205
  var css_248z = "\ntextarea[data-v-10a22fb4] {\n min-width: 0;\n background: none;\n outline: none;\n}\n";
@@ -6,17 +6,17 @@ export { b as BUTTON_COLOR, d as BUTTON_LOADER_TYPE, c as BUTTON_SIZE, B as BUTT
6
6
  export { a as ButtonColor, b as ButtonType, B as ButtonVariant, s as OrButtonV3 } from '../OrButton-0fa67a0d.js';
7
7
  export { s as OrCard } from '../OrCard-e3a5aea4.js';
8
8
  export { C as CARD_COLLECTION_LAYOUT, s as OrCardCollection } from '../OrCardCollection-a5e326ef.js';
9
- export { D as DefaultCardCollectionViews, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../OrCardCollection-dbb3e839.js';
9
+ export { D as DefaultCardCollectionViews, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../OrCardCollection-110b3a0b.js';
10
10
  export { s as OrCardV3 } from '../OrCard-fd92f7c8.js';
11
11
  export { a as OrCarousel, s as OrCarouselItem } from '../OrCarouselItem-636d99a1.js';
12
12
  export { s as OrCheckbox } from '../OrCheckbox-ed4a19cf.js';
13
- export { s as OrCheckboxV3 } from '../OrCheckbox-3e139eac.js';
13
+ export { s as OrCheckboxV3 } from '../OrCheckbox-7144da06.js';
14
14
  export { s as OrChip, a as OrChips } from '../OrChips-9afba42f.js';
15
15
  export { s as OrCode, O as OrCodeLanguages } from '../OrCode-5ed69c23.js';
16
16
  export { s as OrCollapse } from '../OrCollapse-445141ab.js';
17
17
  export { s 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-189cb097.js';
18
18
  export { s as OrConfirm } from '../OrConfirm-f39bd784.js';
19
- export { C as ConfirmType, s as OrConfirmV3 } from '../OrConfirm-1bcd39b1.js';
19
+ export { C as ConfirmType, s as OrConfirmV3 } from '../OrConfirm-1a38ed1b.js';
20
20
  export { D as DEFAULT_TEXT, s as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from '../OrDateTimePicker-f2e08564.js';
21
21
  export { s as OrError } from '../OrError-f90296db.js';
22
22
  export { s as OrErrorTagV3 } from '../OrErrorTag-98252eef.js';
@@ -31,11 +31,11 @@ export { s as OrIcon, O as OrIconColors, a as OrIconType } from '../OrIcon-66950
31
31
  export { I as IconButtonColor, s as OrIconButtonV3 } from '../OrIconButton-1a89fbf9.js';
32
32
  export { I as IconButtonSize, I as IconSize, a as IconVariant, s as OrIconV3 } from '../OrIcon-b195169c.js';
33
33
  export { I as InlineInputBoxSize, I as InlineInputSize, s as OrInlineInputBoxV3 } from '../OrInlineInputBox-8049f95a.js';
34
- export { I as InlineInputType, s as OrInlineInputV3 } from '../OrInlineInput-507fc99c.js';
34
+ export { I as InlineInputType, s as OrInlineInputV3 } from '../OrInlineInput-a6b19dbe.js';
35
35
  export { a as InlineTextEditTrimmingTypes, I as InlineTextEditTypes, s as OrInlineTextEdit } from '../OrInlineTextEdit-1aa477b5.js';
36
- export { s as OrInlineTextareaV3 } from '../OrInlineTextarea-53a9e027.js';
36
+ export { s as OrInlineTextareaV3 } from '../OrInlineTextarea-9eb60363.js';
37
37
  export { a as InputBoxSize, I as InputBoxVariant, a as InputSize, s as OrInputBoxV3, a as SearchSize, a as SelectSize, a as TextareaSize } from '../OrInputBox-6d1b6059.js';
38
- export { I as InputType, s as OrInputV3 } from '../OrInput-9c0426b9.js';
38
+ export { I as InputType, s as OrInputV3 } from '../OrInput-e07ec00c.js';
39
39
  export { a as OrInput, b as OrNumberInput, c as OrPassword, d as OrSearch, s as OrTextarea } from '../OrSearch-7cb2c91c.js';
40
40
  export { s as OrLabel } from '../OrLabel-876f8729.js';
41
41
  export { L as LabelVariant, s as OrLabelV3 } from '../OrLabel-bdaec602.js';
@@ -54,16 +54,16 @@ export { N as NotificationVariant, s as OrNotificationV3 } from '../OrNotificati
54
54
  export { s as OrOverflowMenu } from '../OrOverflowMenu-e82cbcbe.js';
55
55
  export { s as OrOverlay } from '../OrOverlay-451dce49.js';
56
56
  export { s as OrOverlayV3 } from '../OrOverlay-738a44d5.js';
57
- export { s as OrPaginationV3 } from '../OrPagination-a703307d.js';
57
+ export { s as OrPaginationV3 } from '../OrPagination-5e01a0a5.js';
58
58
  export { s as OrProgress, O as OrProgressColors, a as OrProgressTypes } from '../OrProgress-d0d52c86.js';
59
59
  export { s as OrProgressV3, P as ProgressColor, a as ProgressType } from '../OrProgress-407002e0.js';
60
60
  export { s as OrRadio } from '../OrRadio-c3ab11f2.js';
61
61
  export { s as OrRadioGroup } from '../OrRadioGroup-00785e41.js';
62
- export { s as OrRadioV3 } from '../OrRadio-54b6d0de.js';
63
- export { s as OrSearchV3 } from '../OrSearch-9885d178.js';
62
+ export { s as OrRadioV3 } from '../OrRadio-39d1905d.js';
63
+ export { s as OrSearchV3 } from '../OrSearch-a60f67f0.js';
64
64
  export { s as OrSegmentedControlV3, S as SegmentedControlSize } from '../OrSegmentedControl-171cad78.js';
65
65
  export { s as OrSelect } from '../OrSelect-0821b907.js';
66
- export { s as OrSelectV3 } from '../OrSelect-dfa4885f.js';
66
+ export { s as OrSelectV3 } from '../OrSelect-2c70e384.js';
67
67
  export { s as OrSidebar, O as OrSidebarSide } from '../OrSidebar-375c85a3.js';
68
68
  export { O as OrSidebarPlacement, s as OrSidebarV3 } from '../OrSidebar-a62972f5.js';
69
69
  export { s as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from '../OrSkeletonText-2b1610ce.js';
@@ -72,18 +72,18 @@ export { s as OrSlider } from '../OrSlider-87e2da8c.js';
72
72
  export { s as OrSortHeaderV3 } from '../OrSortHeader-fe1a9cf8.js';
73
73
  export { s as OrStepper } from '../OrStepper-f19b4eac.js';
74
74
  export { s as OrSwitch } from '../OrSwitch-c333ee32.js';
75
- export { s as OrSwitchV3 } from '../OrSwitch-cca30aa0.js';
75
+ export { s as OrSwitchV3 } from '../OrSwitch-3e9a699d.js';
76
76
  export { s as OrTab } from '../OrTab-bc98be02.js';
77
77
  export { s as OrTabHeaderItem } from '../OrTabHeaderItem-d668cc59.js';
78
78
  export { s as OrTabV3 } from '../OrTab-c131cf60.js';
79
79
  export { s as OrTabs } from '../OrTabs-d3812c11.js';
80
- export { s as OrTabsV3, T as TabsVariant } from '../OrTabs-d0ee6cef.js';
80
+ export { s as OrTabsV3, T as TabsVariant } from '../OrTabs-91618aab.js';
81
81
  export { s as OrTag } from '../OrTag-1b5e43fa.js';
82
82
  export { s as OrTagV3, a as TagColor, T as TagVariant } from '../OrTag-efa7578f.js';
83
83
  export { s as OrTeleport } from '../OrTeleportVue3-ad639f12.js';
84
84
  export { s as OrTeleportV3 } from '../OrTeleport.vue3-8099178c.js';
85
85
  export { s as OrTextV3 } from '../OrText-ecb46923.js';
86
- export { s as OrTextareaV3 } from '../OrTextarea-bb9ef3f2.js';
86
+ export { s as OrTextareaV3 } from '../OrTextarea-fd6b9f31.js';
87
87
  export { s as OrTextbox, T as TextboxTypes } from '../OrTextbox-2f33e9c3.js';
88
88
  export { s as OrToast, a as OrToastContainer } from '../OrToastContainer-40c4c1c8.js';
89
89
  export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from '../useToast-4fbe0e5a.js';
@@ -99,6 +99,7 @@ import '../useClassAttribute-47fdb016.js';
99
99
  import '@vueuse/core';
100
100
  import '../color-1f348774.js';
101
101
  import '@splidejs/splide';
102
+ import '../useIdAttribute-859439f0.js';
102
103
  import '@codemirror/state';
103
104
  import '@codemirror/view';
104
105
  import '@codemirror/commands';
@@ -112,6 +113,7 @@ import '../px-to-rem-0b26b83e.js';
112
113
  import '../dom-3a15d036.js';
113
114
  import '@vueuse/math';
114
115
  import '@floating-ui/dom';
116
+ import '../useValidationAttributes-d1abbe34.js';
115
117
  import '../useToggle-29e4d7c7.js';
116
118
  import 'uuid';
117
119
  import 'sortablejs';
@@ -1,4 +1,4 @@
1
- export { D as DefaultCardCollectionViews, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../../OrCardCollection-dbb3e839.js';
1
+ export { D as DefaultCardCollectionViews, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../../OrCardCollection-110b3a0b.js';
2
2
  import 'vue-demi';
3
3
  import '../../useClassAttribute-47fdb016.js';
4
4
  import '@vueuse/core';
@@ -17,8 +17,10 @@ import '../../OrMenu-840038cd.js';
17
17
  import '../../OrMenuItem-9da279f6.js';
18
18
  import '../../OrButton-0fa67a0d.js';
19
19
  import '../../OrLoader-b3cf4231.js';
20
- import '../../OrSearch-9885d178.js';
21
- import '../../OrInput-9c0426b9.js';
20
+ import '../../OrSearch-a60f67f0.js';
21
+ import '../../OrInput-e07ec00c.js';
22
+ import '../../useIdAttribute-859439f0.js';
23
+ import '../../useValidationAttributes-d1abbe34.js';
22
24
  import '../../OrError-ec8c709d.js';
23
25
  import '../../OrHint-74bb732d.js';
24
26
  import '../../OrInputBox-6d1b6059.js';
@@ -2,10 +2,18 @@ import { PropType } from 'vue-demi';
2
2
  import { LabelVariant } from '../or-label-v3';
3
3
  declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
4
4
  root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
5
+ control: import("@vue/composition-api").Ref<HTMLInputElement | undefined>;
5
6
  rootStyles: import("@vue/composition-api").ComputedRef<(string | undefined)[]>;
6
7
  controlStyles: import("@vue/composition-api").ComputedRef<string[]>;
7
- controlId: import("@vue/composition-api").Ref<string>;
8
+ controlAttributes: {
9
+ readonly: boolean | undefined;
10
+ disabled: boolean | undefined;
11
+ 'force-state': string | undefined;
12
+ id: string | undefined;
13
+ };
8
14
  proxyModelValue: import("@vue/composition-api").WritableComputedRef<boolean | string[]>;
15
+ focus: () => void;
16
+ blur: () => void;
9
17
  }> & import("@vue/composition-api").Data, {}, {}, {
10
18
  modelValue: {
11
19
  type: PropType<boolean | string[]>;
@@ -85,10 +93,18 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
85
93
  [x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
86
94
  }, import("@vue/composition-api").ShallowUnwrapRef<{
87
95
  root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
96
+ control: import("@vue/composition-api").Ref<HTMLInputElement | undefined>;
88
97
  rootStyles: import("@vue/composition-api").ComputedRef<(string | undefined)[]>;
89
98
  controlStyles: import("@vue/composition-api").ComputedRef<string[]>;
90
- controlId: import("@vue/composition-api").Ref<string>;
99
+ controlAttributes: {
100
+ readonly: boolean | undefined;
101
+ disabled: boolean | undefined;
102
+ 'force-state': string | undefined;
103
+ id: string | undefined;
104
+ };
91
105
  proxyModelValue: import("@vue/composition-api").WritableComputedRef<boolean | string[]>;
106
+ focus: () => void;
107
+ blur: () => void;
92
108
  }>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
93
109
  modelValue: boolean | string[];
94
110
  value: boolean | string[];
@@ -1,6 +1,7 @@
1
- export { s as OrCheckboxV3 } from '../../OrCheckbox-3e139eac.js';
1
+ export { s as OrCheckboxV3 } from '../../OrCheckbox-7144da06.js';
2
2
  import 'vue-demi';
3
3
  import '../../useClassAttribute-47fdb016.js';
4
+ import '../../useIdAttribute-859439f0.js';
4
5
  import '@vueuse/core';
5
6
  import '../../OrLabel-bdaec602.js';
6
7
  import 'vue';
@@ -1,4 +1,4 @@
1
- export { C as ConfirmType, s as OrConfirmV3 } from '../../OrConfirm-1bcd39b1.js';
1
+ export { C as ConfirmType, s as OrConfirmV3 } from '../../OrConfirm-1a38ed1b.js';
2
2
  import 'vue-demi';
3
3
  import '../../OrButton-0fa67a0d.js';
4
4
  import '../../useClassAttribute-47fdb016.js';
@@ -8,7 +8,9 @@ import 'vue';
8
8
  import '../../OrOverlay-738a44d5.js';
9
9
  import '../../useElevation-31bfe1f6.js';
10
10
  import '../../OrTeleport.vue3-8099178c.js';
11
- import '../../OrInput-9c0426b9.js';
11
+ import '../../OrInput-e07ec00c.js';
12
+ import '../../useIdAttribute-859439f0.js';
13
+ import '../../useValidationAttributes-d1abbe34.js';
12
14
  import '../../OrError-ec8c709d.js';
13
15
  import '../../OrHint-74bb732d.js';
14
16
  import '../../OrIconButton-1a89fbf9.js';
@@ -2,18 +2,33 @@ import { PropType } from 'vue-demi';
2
2
  import { InlineInputSize, InlineInputType } from './props';
3
3
  declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
4
4
  root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
5
+ control: import("@vue/composition-api").Ref<HTMLInputElement | undefined>;
5
6
  rootStyles: import("@vue/composition-api").ComputedRef<(string | undefined)[]>;
6
7
  controlStyles: import("@vue/composition-api").ComputedRef<string[]>;
7
8
  actionStyles: import("@vue/composition-api").ComputedRef<string[]>;
8
- controlId: import("@vue/composition-api").Ref<string>;
9
+ controlAttributes: {
10
+ required: boolean | undefined;
11
+ minlength: number | undefined;
12
+ maxlength: number | undefined;
13
+ pattern: string | undefined;
14
+ min: number | undefined;
15
+ max: number | undefined;
16
+ step: number | undefined;
17
+ readonly: boolean | undefined;
18
+ disabled: boolean | undefined;
19
+ 'force-state': string | undefined;
20
+ id: string | undefined;
21
+ };
9
22
  proxyModelValue: import("@vue/composition-api").WritableComputedRef<string | number>;
10
23
  draftModelValue: import("@vue/composition-api").Ref<string | number>;
11
- activated: import("@vue/composition-api").Ref<boolean>;
12
- invalid: import("@vue/composition-api").ComputedRef<boolean>;
13
24
  currentLength: import("@vue/composition-api").ComputedRef<number>;
14
25
  maxLength: import("@vue/composition-api").ComputedRef<number | undefined>;
26
+ invalid: import("@vue/composition-api").ComputedRef<boolean>;
27
+ activated: import("@vue/composition-api").Ref<boolean>;
15
28
  onFocus: (event: Event) => void;
16
29
  onBlur: (event: Event) => void;
30
+ focus: () => void;
31
+ blur: () => void;
17
32
  apply: () => void;
18
33
  reset: () => void;
19
34
  }> & import("@vue/composition-api").Data, {}, {}, {
@@ -95,18 +110,33 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
95
110
  [x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
96
111
  }, import("@vue/composition-api").ShallowUnwrapRef<{
97
112
  root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
113
+ control: import("@vue/composition-api").Ref<HTMLInputElement | undefined>;
98
114
  rootStyles: import("@vue/composition-api").ComputedRef<(string | undefined)[]>;
99
115
  controlStyles: import("@vue/composition-api").ComputedRef<string[]>;
100
116
  actionStyles: import("@vue/composition-api").ComputedRef<string[]>;
101
- controlId: import("@vue/composition-api").Ref<string>;
117
+ controlAttributes: {
118
+ required: boolean | undefined;
119
+ minlength: number | undefined;
120
+ maxlength: number | undefined;
121
+ pattern: string | undefined;
122
+ min: number | undefined;
123
+ max: number | undefined;
124
+ step: number | undefined;
125
+ readonly: boolean | undefined;
126
+ disabled: boolean | undefined;
127
+ 'force-state': string | undefined;
128
+ id: string | undefined;
129
+ };
102
130
  proxyModelValue: import("@vue/composition-api").WritableComputedRef<string | number>;
103
131
  draftModelValue: import("@vue/composition-api").Ref<string | number>;
104
- activated: import("@vue/composition-api").Ref<boolean>;
105
- invalid: import("@vue/composition-api").ComputedRef<boolean>;
106
132
  currentLength: import("@vue/composition-api").ComputedRef<number>;
107
133
  maxLength: import("@vue/composition-api").ComputedRef<number | undefined>;
134
+ invalid: import("@vue/composition-api").ComputedRef<boolean>;
135
+ activated: import("@vue/composition-api").Ref<boolean>;
108
136
  onFocus: (event: Event) => void;
109
137
  onBlur: (event: Event) => void;
138
+ focus: () => void;
139
+ blur: () => void;
110
140
  apply: () => void;
111
141
  reset: () => void;
112
142
  }>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
@@ -1,8 +1,10 @@
1
- export { I as InlineInputType, s as OrInlineInputV3 } from '../../OrInlineInput-507fc99c.js';
1
+ export { I as InlineInputType, s as OrInlineInputV3 } from '../../OrInlineInput-a6b19dbe.js';
2
2
  export { I as InlineInputSize } from '../../OrInlineInputBox-8049f95a.js';
3
3
  import 'vue-demi';
4
4
  import '../../useClassAttribute-47fdb016.js';
5
+ import '../../useIdAttribute-859439f0.js';
5
6
  import '@vueuse/core';
7
+ import '../../useValidationAttributes-d1abbe34.js';
6
8
  import '../../OrError-ec8c709d.js';
7
9
  import 'vue';
8
10
  import '../../OrHint-74bb732d.js';
@@ -1,17 +1,32 @@
1
1
  declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
2
2
  root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
3
+ control: import("@vue/composition-api").Ref<HTMLTextAreaElement | undefined>;
3
4
  rootStyles: import("@vue/composition-api").ComputedRef<(string | undefined)[]>;
4
5
  controlStyles: import("@vue/composition-api").ComputedRef<string[]>;
5
6
  actionStyles: import("@vue/composition-api").ComputedRef<string[]>;
6
- controlId: import("@vue/composition-api").Ref<string>;
7
+ controlAttributes: {
8
+ required: boolean | undefined;
9
+ minlength: number | undefined;
10
+ maxlength: number | undefined;
11
+ pattern: string | undefined;
12
+ min: number | undefined;
13
+ max: number | undefined;
14
+ step: number | undefined;
15
+ readonly: boolean | undefined;
16
+ disabled: boolean | undefined;
17
+ 'force-state': string | undefined;
18
+ id: string | undefined;
19
+ };
7
20
  proxyModelValue: import("@vue/composition-api").WritableComputedRef<string>;
8
21
  draftModelValue: import("@vue/composition-api").Ref<string>;
9
- activated: import("@vue/composition-api").Ref<boolean>;
10
- invalid: import("@vue/composition-api").ComputedRef<boolean>;
11
22
  currentLength: import("@vue/composition-api").ComputedRef<number>;
12
23
  maxLength: import("@vue/composition-api").ComputedRef<number | undefined>;
24
+ invalid: import("@vue/composition-api").ComputedRef<boolean>;
25
+ activated: import("@vue/composition-api").Ref<boolean>;
13
26
  onFocus: (event: Event) => void;
14
27
  onBlur: (event: Event) => void;
28
+ focus: () => void;
29
+ blur: () => void;
15
30
  apply: () => void;
16
31
  reset: () => void;
17
32
  }> & import("@vue/composition-api").Data, {}, {}, {
@@ -75,18 +90,33 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
75
90
  [x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
76
91
  }, import("@vue/composition-api").ShallowUnwrapRef<{
77
92
  root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
93
+ control: import("@vue/composition-api").Ref<HTMLTextAreaElement | undefined>;
78
94
  rootStyles: import("@vue/composition-api").ComputedRef<(string | undefined)[]>;
79
95
  controlStyles: import("@vue/composition-api").ComputedRef<string[]>;
80
96
  actionStyles: import("@vue/composition-api").ComputedRef<string[]>;
81
- controlId: import("@vue/composition-api").Ref<string>;
97
+ controlAttributes: {
98
+ required: boolean | undefined;
99
+ minlength: number | undefined;
100
+ maxlength: number | undefined;
101
+ pattern: string | undefined;
102
+ min: number | undefined;
103
+ max: number | undefined;
104
+ step: number | undefined;
105
+ readonly: boolean | undefined;
106
+ disabled: boolean | undefined;
107
+ 'force-state': string | undefined;
108
+ id: string | undefined;
109
+ };
82
110
  proxyModelValue: import("@vue/composition-api").WritableComputedRef<string>;
83
111
  draftModelValue: import("@vue/composition-api").Ref<string>;
84
- activated: import("@vue/composition-api").Ref<boolean>;
85
- invalid: import("@vue/composition-api").ComputedRef<boolean>;
86
112
  currentLength: import("@vue/composition-api").ComputedRef<number>;
87
113
  maxLength: import("@vue/composition-api").ComputedRef<number | undefined>;
114
+ invalid: import("@vue/composition-api").ComputedRef<boolean>;
115
+ activated: import("@vue/composition-api").Ref<boolean>;
88
116
  onFocus: (event: Event) => void;
89
117
  onBlur: (event: Event) => void;
118
+ focus: () => void;
119
+ blur: () => void;
90
120
  apply: () => void;
91
121
  reset: () => void;
92
122
  }>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
@@ -1,7 +1,9 @@
1
- export { s as OrInlineTextareaV3 } from '../../OrInlineTextarea-53a9e027.js';
1
+ export { s as OrInlineTextareaV3 } from '../../OrInlineTextarea-9eb60363.js';
2
2
  import 'vue-demi';
3
3
  import '../../useClassAttribute-47fdb016.js';
4
+ import '../../useIdAttribute-859439f0.js';
4
5
  import '@vueuse/core';
6
+ import '../../useValidationAttributes-d1abbe34.js';
5
7
  import '../../OrError-ec8c709d.js';
6
8
  import 'vue';
7
9
  import '../../OrHint-74bb732d.js';