@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
@@ -6,7 +6,7 @@ import { O as OrButton } from './OrButton-a846fa7e.js';
6
6
  import { O as OrMenu } from './OrMenu-fa47c888.js';
7
7
  import { O as OrMenuItem } from './OrMenuItem-26420908.js';
8
8
  import { O as OrIcon } from './OrIcon-8625385f.js';
9
- import { O as OrSearch } from './OrSearch-53470b0e.js';
9
+ import { O as OrSearch } from './OrSearch-2e5f9e24.js';
10
10
  import { u as useClassAttribute } from './useClassAttribute-9bf33346.js';
11
11
 
12
12
  const CardCollectionRoot = [
@@ -1,7 +1,8 @@
1
1
  import './index-fa6eb4ca.js';
2
2
  import { O as OrLabel, L as LabelVariant } from './OrLabel-172c4b89.js';
3
3
  import { u as useClassAttribute } from './useClassAttribute-9bf33346.js';
4
- import { defineComponent, getCurrentInstance, ref, computed } from '@vue/composition-api/dist/vue-composition-api.mjs';
4
+ import { a as useIdAttribute, u as useControlAttributes } from './useIdAttribute-cf61643f.js';
5
+ import { defineComponent, ref, computed, reactive } from '@vue/composition-api/dist/vue-composition-api.mjs';
5
6
  import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
6
7
  import { c as createInjector } from './browser-82dea9ed.js';
7
8
 
@@ -76,18 +77,20 @@ var script = defineComponent({
76
77
  }
77
78
  },
78
79
  emits: ['update:modelValue', 'input', 'focus', 'blur'],
79
- expose: ['root'],
80
+ expose: ['root', 'focus', 'blur'],
80
81
  setup(props, context) {
81
- var _a;
82
- const currentInstance = getCurrentInstance();
83
82
  // Refs
84
83
  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 controlId = ref((_a = context.attrs.id) !== null && _a !== void 0 ? _a : currentInstance.uid.toString());
90
+ const controlAttributes = reactive({
91
+ id: useIdAttribute(),
92
+ ...useControlAttributes()
93
+ });
91
94
  const proxyModelValue = computed({
92
95
  get: () => {
93
96
  var _a;
@@ -99,12 +102,24 @@ var script = defineComponent({
99
102
  context.emit('update:modelValue', value);
100
103
  }
101
104
  });
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
+ }
102
114
  return {
103
115
  root,
116
+ control,
104
117
  rootStyles,
105
118
  controlStyles,
106
- controlId,
107
- proxyModelValue
119
+ controlAttributes,
120
+ proxyModelValue,
121
+ focus,
122
+ blur
108
123
  };
109
124
  }
110
125
  });
@@ -117,23 +132,23 @@ var __vue_render__ = function () {
117
132
  var _vm = this;
118
133
  var _h = _vm.$createElement;
119
134
  var _c = _vm._self._c || _h;
120
- return _c('div', {
135
+ return _c('div', _vm._b({
121
136
  ref: "root",
122
137
  class: _vm.rootStyles
123
- }, [_c('input', _vm._b({
138
+ }, 'div', _vm.$attrs, false), [_c('input', _vm._b({
124
139
  directives: [{
125
140
  name: "model",
126
141
  rawName: "v-model",
127
142
  value: _vm.proxyModelValue,
128
143
  expression: "proxyModelValue"
129
144
  }],
145
+ ref: "control",
130
146
  class: _vm.controlStyles,
131
147
  attrs: {
132
- "id": _vm.controlId,
133
- "type": "checkbox",
134
148
  "indeterminate": _vm.indeterminate,
135
149
  "required": _vm.required,
136
- "disabled": _vm.disabled
150
+ "disabled": _vm.disabled,
151
+ "type": "checkbox"
137
152
  },
138
153
  domProps: {
139
154
  "value": _vm.inputValue,
@@ -163,9 +178,9 @@ var __vue_render__ = function () {
163
178
  }
164
179
  }
165
180
  }
166
- }, 'input', _vm.$attrs, false)), _vm._v(" "), _vm.$slots.default || _vm.label ? [_c('OrLabel', {
181
+ }, 'input', _vm.controlAttributes, false)) , _vm._v(" "), _vm.$slots.default || _vm.label ? [_c('OrLabel', {
167
182
  attrs: {
168
- "control-id": _vm.controlId,
183
+ "control-id": _vm.controlAttributes.id,
169
184
  "variant": _vm.labelVariant,
170
185
  "required": _vm.required,
171
186
  "disabled": _vm.disabled
@@ -186,14 +201,14 @@ var __vue_staticRenderFns__ = [];
186
201
  /* style */
187
202
  const __vue_inject_styles__ = function (inject) {
188
203
  if (!inject) return;
189
- inject("data-v-2076b35e_0", {
190
- source: "input[data-v-2076b35e]{appearance:none;line-height:0}",
204
+ inject("data-v-41c8b6f2_0", {
205
+ source: "input[data-v-41c8b6f2]{appearance:none;line-height:0}",
191
206
  map: undefined,
192
207
  media: undefined
193
208
  });
194
209
  };
195
210
  /* scoped */
196
- const __vue_scope_id__ = "data-v-2076b35e";
211
+ const __vue_scope_id__ = "data-v-41c8b6f2";
197
212
  /* module identifier */
198
213
  const __vue_module_identifier__ = undefined;
199
214
  /* functional template */
@@ -3,7 +3,7 @@ import { useMagicKeys, whenever } from '@vueuse/core';
3
3
  import { l as logicAnd } from './index-17f264f9.js';
4
4
  import { O as OrOverlay } from './OrOverlay-3c89d622.js';
5
5
  import { O as OrButton, a as ButtonColor } from './OrButton-a846fa7e.js';
6
- import { O as OrInput } from './OrInput-82ccfe00.js';
6
+ import { O as OrInput } from './OrInput-770f1bed.js';
7
7
  import { defineComponent, ref, computed, watch } from '@vue/composition-api/dist/vue-composition-api.mjs';
8
8
  import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
9
9
 
@@ -4,7 +4,9 @@ import { O as OrHint } from './OrHint-f38a1940.js';
4
4
  import { O as OrIconButton } from './OrIconButton-a2ba92df.js';
5
5
  import { O as OrInlineInputBox, I as InlineInputBoxSize } from './OrInlineInputBox-f457210f.js';
6
6
  import { u as useClassAttribute } from './useClassAttribute-9bf33346.js';
7
- import { defineComponent, getCurrentInstance, ref, computed, watch } from '@vue/composition-api/dist/vue-composition-api.mjs';
7
+ import { a as useIdAttribute, u as useControlAttributes } from './useIdAttribute-cf61643f.js';
8
+ import { u as useValidationAttributes } from './useValidationAttributes-6df7bcf9.js';
9
+ import { defineComponent, ref, computed, reactive, watch } from '@vue/composition-api/dist/vue-composition-api.mjs';
8
10
  import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
9
11
  import { c as createInjector } from './browser-82dea9ed.js';
10
12
 
@@ -86,19 +88,22 @@ var script = defineComponent({
86
88
  }
87
89
  },
88
90
  emits: ['update:modelValue', 'input', 'keydown', 'keyup', 'focus', 'blur'],
89
- expose: ['root'],
91
+ expose: ['root', 'focus', 'blur'],
90
92
  setup(props, context) {
91
- var _a;
92
- const currentInstance = getCurrentInstance();
93
93
  // Refs
94
94
  const root = ref();
95
+ const control = ref();
95
96
  // Styles
96
97
  const classAttribute = useClassAttribute();
97
98
  const rootStyles = computed(() => ['or-inline-input', ...InlineInputRoot, classAttribute.value]);
98
99
  const controlStyles = computed(() => [...InlineInputControl]);
99
100
  const actionStyles = computed(() => [...InlineInputAction, ...InlineInputActionSizes[props.size]]);
100
101
  // State
101
- const controlId = ref((_a = context.attrs.id) !== null && _a !== void 0 ? _a : currentInstance.uid.toString());
102
+ const controlAttributes = reactive({
103
+ id: useIdAttribute(),
104
+ ...useControlAttributes(),
105
+ ...useValidationAttributes()
106
+ });
102
107
  const proxyModelValue = computed({
103
108
  get: () => {
104
109
  var _a;
@@ -111,13 +116,13 @@ var script = defineComponent({
111
116
  }
112
117
  });
113
118
  const draftModelValue = ref('');
114
- const activated = ref(false);
115
- const invalid = computed(() => !!props.error);
116
119
  const currentLength = computed(() => {
117
120
  var _a, _b;
118
121
  return (_b = (_a = draftModelValue.value) === null || _a === void 0 ? void 0 : _a.toString().length) !== null && _b !== void 0 ? _b : 0;
119
122
  });
120
- const maxLength = computed(() => context.attrs.maxlength);
123
+ const maxLength = computed(() => controlAttributes.maxlength);
124
+ const invalid = computed(() => !!props.error);
125
+ const activated = ref(false);
121
126
  // Handlers
122
127
  function onFocus(event) {
123
128
  activated.value = true;
@@ -130,6 +135,14 @@ var script = defineComponent({
130
135
  context.emit('blur', event);
131
136
  }
132
137
  // 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
+ }
133
146
  function apply() {
134
147
  if (draftModelValue.value !== proxyModelValue.value) {
135
148
  proxyModelValue.value = draftModelValue.value;
@@ -151,18 +164,21 @@ var script = defineComponent({
151
164
  });
152
165
  return {
153
166
  root,
167
+ control,
154
168
  rootStyles,
155
169
  controlStyles,
156
170
  actionStyles,
157
- controlId,
171
+ controlAttributes,
158
172
  proxyModelValue,
159
173
  draftModelValue,
160
- activated,
161
- invalid,
162
174
  currentLength,
163
175
  maxLength,
176
+ invalid,
177
+ activated,
164
178
  onFocus,
165
179
  onBlur,
180
+ focus,
181
+ blur,
166
182
  apply,
167
183
  reset
168
184
  };
@@ -177,10 +193,10 @@ var __vue_render__ = function () {
177
193
  var _vm = this;
178
194
  var _h = _vm.$createElement;
179
195
  var _c = _vm._self._c || _h;
180
- return _c('div', {
196
+ return _c('div', _vm._b({
181
197
  ref: "root",
182
198
  class: _vm.rootStyles
183
- }, [_c('div', {
199
+ }, 'div', _vm.$attrs, false), [_c('div', {
184
200
  class: ['layout-row', 'gap-sm+']
185
201
  }, [_c('OrInlineInputBox', {
186
202
  attrs: {
@@ -194,9 +210,9 @@ var __vue_render__ = function () {
194
210
  value: _vm.draftModelValue,
195
211
  expression: "draftModelValue"
196
212
  }],
213
+ ref: "control",
197
214
  class: _vm.controlStyles,
198
215
  attrs: {
199
- "id": _vm.controlId,
200
216
  "placeholder": _vm.placeholder,
201
217
  "activated": _vm.activated ? '' : null,
202
218
  "type": "checkbox"
@@ -230,16 +246,16 @@ var __vue_render__ = function () {
230
246
  }
231
247
  }
232
248
  }
233
- }, 'input', _vm.$attrs, false)) : _vm.type === 'radio' ? _c('input', _vm._b({
249
+ }, 'input', _vm.controlAttributes, false)) : _vm.type === 'radio' ? _c('input', _vm._b({
234
250
  directives: [{
235
251
  name: "model",
236
252
  rawName: "v-model",
237
253
  value: _vm.draftModelValue,
238
254
  expression: "draftModelValue"
239
255
  }],
256
+ ref: "control",
240
257
  class: _vm.controlStyles,
241
258
  attrs: {
242
- "id": _vm.controlId,
243
259
  "placeholder": _vm.placeholder,
244
260
  "activated": _vm.activated ? '' : null,
245
261
  "type": "radio"
@@ -260,16 +276,16 @@ var __vue_render__ = function () {
260
276
  _vm.draftModelValue = null;
261
277
  }
262
278
  }
263
- }, 'input', _vm.$attrs, false)) : _c('input', _vm._b({
279
+ }, 'input', _vm.controlAttributes, false)) : _c('input', _vm._b({
264
280
  directives: [{
265
281
  name: "model",
266
282
  rawName: "v-model",
267
283
  value: _vm.draftModelValue,
268
284
  expression: "draftModelValue"
269
285
  }],
286
+ ref: "control",
270
287
  class: _vm.controlStyles,
271
288
  attrs: {
272
- "id": _vm.controlId,
273
289
  "placeholder": _vm.placeholder,
274
290
  "activated": _vm.activated ? '' : null,
275
291
  "type": _vm.type
@@ -293,7 +309,7 @@ var __vue_render__ = function () {
293
309
  _vm.draftModelValue = $event.target.value;
294
310
  }
295
311
  }
296
- }, 'input', _vm.$attrs, false))]), _vm._v(" "), _vm.activated && !_vm.saveOnBlur ? [_c('div', {
312
+ }, 'input', _vm.controlAttributes, false))]), _vm._v(" "), _vm.activated && !_vm.saveOnBlur ? [_c('div', {
297
313
  class: _vm.actionStyles
298
314
  }, [_c('OrIconButton', {
299
315
  attrs: {
@@ -340,14 +356,14 @@ var __vue_staticRenderFns__ = [];
340
356
  /* style */
341
357
  const __vue_inject_styles__ = function (inject) {
342
358
  if (!inject) return;
343
- inject("data-v-0c9a54ea_0", {
344
- source: "input[data-v-0c9a54ea]{min-width:0;background:0 0;outline:0}input[type=number][data-v-0c9a54ea]::-webkit-inner-spin-button{display:none}input[type=search][data-v-0c9a54ea]::-webkit-search-cancel-button{display:none}",
359
+ inject("data-v-03979f79_0", {
360
+ source: "input[data-v-03979f79]{min-width:0;background:0 0;outline:0}input[type=number][data-v-03979f79]::-webkit-inner-spin-button{display:none}input[type=search][data-v-03979f79]::-webkit-search-cancel-button{display:none}",
345
361
  map: undefined,
346
362
  media: undefined
347
363
  });
348
364
  };
349
365
  /* scoped */
350
- const __vue_scope_id__ = "data-v-0c9a54ea";
366
+ const __vue_scope_id__ = "data-v-03979f79";
351
367
  /* module identifier */
352
368
  const __vue_module_identifier__ = undefined;
353
369
  /* functional template */
@@ -4,7 +4,9 @@ import { O as OrHint } from './OrHint-f38a1940.js';
4
4
  import { O as OrIconButton } from './OrIconButton-a2ba92df.js';
5
5
  import { O as OrInlineInputBox } from './OrInlineInputBox-f457210f.js';
6
6
  import { u as useClassAttribute } from './useClassAttribute-9bf33346.js';
7
- import { defineComponent, getCurrentInstance, ref, computed, watch } from '@vue/composition-api/dist/vue-composition-api.mjs';
7
+ import { a as useIdAttribute, u as useControlAttributes } from './useIdAttribute-cf61643f.js';
8
+ import { u as useValidationAttributes } from './useValidationAttributes-6df7bcf9.js';
9
+ import { defineComponent, ref, computed, reactive, watch } from '@vue/composition-api/dist/vue-composition-api.mjs';
8
10
  import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
9
11
  import { c as createInjector } from './browser-82dea9ed.js';
10
12
 
@@ -64,19 +66,22 @@ var script = defineComponent({
64
66
  }
65
67
  },
66
68
  emits: ['update:modelValue', 'input', 'keydown', 'keyup', 'focus', 'blur'],
67
- expose: ['root'],
69
+ expose: ['root', 'focus', 'blur'],
68
70
  setup(props, context) {
69
- var _a;
70
- const currentInstance = getCurrentInstance();
71
71
  // Refs
72
72
  const root = ref();
73
+ const control = ref();
73
74
  // Styles
74
75
  const classAttribute = useClassAttribute();
75
76
  const rootStyles = computed(() => ['or-inline-textarea', ...InlineTextareaRoot, classAttribute.value]);
76
77
  const controlStyles = computed(() => [...InlineTextareaControl]);
77
78
  const actionStyles = computed(() => [...InlineTextareaAction]);
78
79
  // State
79
- const controlId = ref((_a = context.attrs.id) !== null && _a !== void 0 ? _a : currentInstance.uid.toString());
80
+ const controlAttributes = reactive({
81
+ id: useIdAttribute(),
82
+ ...useControlAttributes(),
83
+ ...useValidationAttributes()
84
+ });
80
85
  const proxyModelValue = computed({
81
86
  get: () => {
82
87
  var _a;
@@ -89,13 +94,13 @@ var script = defineComponent({
89
94
  }
90
95
  });
91
96
  const draftModelValue = ref('');
92
- const activated = ref(false);
93
- const invalid = computed(() => !!props.error);
94
97
  const currentLength = computed(() => {
95
98
  var _a, _b;
96
99
  return (_b = (_a = draftModelValue.value) === null || _a === void 0 ? void 0 : _a.toString().length) !== null && _b !== void 0 ? _b : 0;
97
100
  });
98
- const maxLength = computed(() => context.attrs.maxlength);
101
+ const maxLength = computed(() => controlAttributes.maxlength);
102
+ const invalid = computed(() => !!props.error);
103
+ const activated = ref(false);
99
104
  // Handlers
100
105
  function onFocus(event) {
101
106
  activated.value = true;
@@ -108,6 +113,14 @@ var script = defineComponent({
108
113
  context.emit('blur', event);
109
114
  }
110
115
  // 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
+ }
111
124
  function apply() {
112
125
  if (draftModelValue.value !== proxyModelValue.value) {
113
126
  proxyModelValue.value = draftModelValue.value;
@@ -129,18 +142,21 @@ var script = defineComponent({
129
142
  });
130
143
  return {
131
144
  root,
145
+ control,
132
146
  rootStyles,
133
147
  controlStyles,
134
148
  actionStyles,
135
- controlId,
149
+ controlAttributes,
136
150
  proxyModelValue,
137
151
  draftModelValue,
138
- activated,
139
- invalid,
140
152
  currentLength,
141
153
  maxLength,
154
+ invalid,
155
+ activated,
142
156
  onFocus,
143
157
  onBlur,
158
+ focus,
159
+ blur,
144
160
  apply,
145
161
  reset
146
162
  };
@@ -155,10 +171,10 @@ var __vue_render__ = function () {
155
171
  var _vm = this;
156
172
  var _h = _vm.$createElement;
157
173
  var _c = _vm._self._c || _h;
158
- return _c('div', {
174
+ return _c('div', _vm._b({
159
175
  ref: "root",
160
176
  class: _vm.rootStyles
161
- }, [_c('div', {
177
+ }, 'div', _vm.$attrs, false), [_c('div', {
162
178
  class: ['layout-row', 'gap-sm+']
163
179
  }, [_c('OrInlineInputBox', {
164
180
  attrs: {
@@ -172,9 +188,9 @@ var __vue_render__ = function () {
172
188
  value: _vm.draftModelValue,
173
189
  expression: "draftModelValue"
174
190
  }],
191
+ ref: "control",
175
192
  class: _vm.controlStyles,
176
193
  attrs: {
177
- "id": _vm.controlId,
178
194
  "placeholder": _vm.placeholder,
179
195
  "activated": _vm.activated ? '' : null
180
196
  },
@@ -197,7 +213,7 @@ var __vue_render__ = function () {
197
213
  _vm.draftModelValue = $event.target.value;
198
214
  }
199
215
  }
200
- }, 'textarea', _vm.$attrs, false))]), _vm._v(" "), _vm.activated && !_vm.saveOnBlur ? [_c('div', {
216
+ }, 'textarea', _vm.controlAttributes, false))]), _vm._v(" "), _vm.activated && !_vm.saveOnBlur ? [_c('div', {
201
217
  class: _vm.actionStyles
202
218
  }, [_c('OrIconButton', {
203
219
  attrs: {
@@ -244,14 +260,14 @@ var __vue_staticRenderFns__ = [];
244
260
  /* style */
245
261
  const __vue_inject_styles__ = function (inject) {
246
262
  if (!inject) return;
247
- inject("data-v-5a4c8a4e_0", {
248
- source: "textarea[data-v-5a4c8a4e]{min-width:0;background:0 0;outline:0}",
263
+ inject("data-v-64d6872c_0", {
264
+ source: "textarea[data-v-64d6872c]{min-width:0;background:0 0;outline:0}",
249
265
  map: undefined,
250
266
  media: undefined
251
267
  });
252
268
  };
253
269
  /* scoped */
254
- const __vue_scope_id__ = "data-v-5a4c8a4e";
270
+ const __vue_scope_id__ = "data-v-64d6872c";
255
271
  /* module identifier */
256
272
  const __vue_module_identifier__ = undefined;
257
273
  /* functional template */
@@ -6,7 +6,9 @@ import { O as OrIconButton } from './OrIconButton-a2ba92df.js';
6
6
  import { O as OrInputBox, a as InputBoxSize } from './OrInputBox-79ec54ad.js';
7
7
  import { O as OrLabel } from './OrLabel-172c4b89.js';
8
8
  import { u as useClassAttribute } from './useClassAttribute-9bf33346.js';
9
- import { defineComponent, getCurrentInstance, ref, computed } from '@vue/composition-api/dist/vue-composition-api.mjs';
9
+ import { a as useIdAttribute, u as useControlAttributes } from './useIdAttribute-cf61643f.js';
10
+ import { u as useValidationAttributes } from './useValidationAttributes-6df7bcf9.js';
11
+ import { defineComponent, ref, computed, reactive } from '@vue/composition-api/dist/vue-composition-api.mjs';
10
12
  import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
11
13
  import { c as createInjector } from './browser-82dea9ed.js';
12
14
 
@@ -79,6 +81,10 @@ var script = defineComponent({
79
81
  type: Boolean,
80
82
  default: false
81
83
  },
84
+ readonly: {
85
+ type: Boolean,
86
+ default: false
87
+ },
82
88
  disabled: {
83
89
  type: Boolean,
84
90
  default: false
@@ -89,19 +95,21 @@ var script = defineComponent({
89
95
  }
90
96
  },
91
97
  emits: ['update:modelValue', 'input', 'keydown', 'keyup', 'focus', 'blur'],
92
- expose: ['root', 'focus'],
98
+ expose: ['root', 'focus', 'blur'],
93
99
  setup(props, context) {
94
- var _a;
95
- const currentInstance = getCurrentInstance();
96
100
  // Refs
97
101
  const root = ref();
98
- const input = ref();
102
+ const control = ref();
99
103
  // Styles
100
104
  const classAttribute = useClassAttribute();
101
105
  const rootStyles = computed(() => ['or-input', ...InputRoot, classAttribute.value]);
102
106
  const controlStyles = computed(() => [...InputControl]);
103
107
  // State
104
- const controlId = ref((_a = context.attrs.id) !== null && _a !== void 0 ? _a : currentInstance.uid.toString());
108
+ const controlAttributes = reactive({
109
+ id: useIdAttribute(),
110
+ ...useControlAttributes(),
111
+ ...useValidationAttributes()
112
+ });
105
113
  const proxyModelValue = computed({
106
114
  get: () => {
107
115
  var _a;
@@ -113,32 +121,35 @@ var script = defineComponent({
113
121
  context.emit('update:modelValue', value);
114
122
  }
115
123
  });
116
- const invalid = computed(() => !!props.error);
117
- const readonly = computed(() => context.attrs.readonly);
118
124
  const currentLength = computed(() => {
119
125
  var _a, _b;
120
126
  return (_b = (_a = proxyModelValue.value) === null || _a === void 0 ? void 0 : _a.toString().length) !== null && _b !== void 0 ? _b : 0;
121
127
  });
122
- const maxLength = computed(() => context.attrs.maxlength);
128
+ const maxLength = computed(() => controlAttributes.maxlength);
129
+ const invalid = computed(() => !!props.error);
123
130
  const disclosed = ref(false);
124
131
  // Methods
125
132
  function focus() {
126
133
  var _a;
127
- (_a = input.value) === null || _a === void 0 ? void 0 : _a.focus();
134
+ (_a = control.value) === null || _a === void 0 ? void 0 : _a.focus();
135
+ }
136
+ function blur() {
137
+ var _a;
138
+ (_a = control.value) === null || _a === void 0 ? void 0 : _a.blur();
128
139
  }
129
140
  return {
130
141
  root,
131
- input,
142
+ control,
132
143
  rootStyles,
133
144
  controlStyles,
134
- controlId,
145
+ controlAttributes,
135
146
  proxyModelValue,
136
- invalid,
137
- readonly,
138
147
  currentLength,
139
148
  maxLength,
149
+ invalid,
140
150
  disclosed,
141
- focus
151
+ focus,
152
+ blur
142
153
  };
143
154
  }
144
155
  });
@@ -151,12 +162,12 @@ var __vue_render__ = function () {
151
162
  var _vm = this;
152
163
  var _h = _vm.$createElement;
153
164
  var _c = _vm._self._c || _h;
154
- return _c('div', {
165
+ return _c('div', _vm._b({
155
166
  ref: "root",
156
167
  class: _vm.rootStyles
157
- }, [_vm.label ? [_c('OrLabel', {
168
+ }, 'div', _vm.$attrs, false), [_vm.label ? [_c('OrLabel', {
158
169
  attrs: {
159
- "control-id": _vm.controlId,
170
+ "control-id": _vm.controlAttributes.id,
160
171
  "variant": 'input',
161
172
  "required": _vm.required,
162
173
  "disabled": _vm.disabled
@@ -183,10 +194,9 @@ var __vue_render__ = function () {
183
194
  value: _vm.proxyModelValue,
184
195
  expression: "proxyModelValue"
185
196
  }],
186
- ref: "input",
197
+ ref: "control",
187
198
  class: _vm.controlStyles,
188
199
  attrs: {
189
- "id": _vm.controlId,
190
200
  "placeholder": _vm.placeholder,
191
201
  "required": _vm.required,
192
202
  "disabled": _vm.disabled,
@@ -225,17 +235,16 @@ var __vue_render__ = function () {
225
235
  }
226
236
  }
227
237
  }
228
- }, 'input', _vm.$attrs, false)) : (_vm.type === 'password' && _vm.disclosed ? 'text' : _vm.type) === 'radio' ? _c('input', _vm._b({
238
+ }, 'input', _vm.controlAttributes, false)) : (_vm.type === 'password' && _vm.disclosed ? 'text' : _vm.type) === 'radio' ? _c('input', _vm._b({
229
239
  directives: [{
230
240
  name: "model",
231
241
  rawName: "v-model",
232
242
  value: _vm.proxyModelValue,
233
243
  expression: "proxyModelValue"
234
244
  }],
235
- ref: "input",
245
+ ref: "control",
236
246
  class: _vm.controlStyles,
237
247
  attrs: {
238
- "id": _vm.controlId,
239
248
  "placeholder": _vm.placeholder,
240
249
  "required": _vm.required,
241
250
  "disabled": _vm.disabled,
@@ -261,17 +270,16 @@ var __vue_render__ = function () {
261
270
  _vm.proxyModelValue = null;
262
271
  }
263
272
  }
264
- }, 'input', _vm.$attrs, false)) : _c('input', _vm._b({
273
+ }, 'input', _vm.controlAttributes, false)) : _c('input', _vm._b({
265
274
  directives: [{
266
275
  name: "model",
267
276
  rawName: "v-model",
268
277
  value: _vm.proxyModelValue,
269
278
  expression: "proxyModelValue"
270
279
  }],
271
- ref: "input",
280
+ ref: "control",
272
281
  class: _vm.controlStyles,
273
282
  attrs: {
274
- "id": _vm.controlId,
275
283
  "placeholder": _vm.placeholder,
276
284
  "required": _vm.required,
277
285
  "disabled": _vm.disabled,
@@ -300,7 +308,7 @@ var __vue_render__ = function () {
300
308
  _vm.proxyModelValue = $event.target.value;
301
309
  }
302
310
  }
303
- }, 'input', _vm.$attrs, false)), _vm._v(" "), _c('div', {
311
+ }, 'input', _vm.controlAttributes, false)), _vm._v(" "), _c('div', {
304
312
  class: ['layout-row']
305
313
  }, [_vm.type === 'password' ? [_c('OrIconButton', {
306
314
  attrs: {
@@ -363,14 +371,14 @@ var __vue_staticRenderFns__ = [];
363
371
  /* style */
364
372
  const __vue_inject_styles__ = function (inject) {
365
373
  if (!inject) return;
366
- inject("data-v-677a1aa4_0", {
367
- source: "input[data-v-677a1aa4]{min-width:0;background:0 0;outline:0}input[type=number][data-v-677a1aa4]::-webkit-inner-spin-button{display:none}input[type=search][data-v-677a1aa4]::-webkit-search-cancel-button{display:none}",
374
+ inject("data-v-8d63a848_0", {
375
+ source: "input[data-v-8d63a848]{min-width:0;background:0 0;outline:0}input[type=number][data-v-8d63a848]::-webkit-inner-spin-button{display:none}input[type=search][data-v-8d63a848]::-webkit-search-cancel-button{display:none}",
368
376
  map: undefined,
369
377
  media: undefined
370
378
  });
371
379
  };
372
380
  /* scoped */
373
- const __vue_scope_id__ = "data-v-677a1aa4";
381
+ const __vue_scope_id__ = "data-v-8d63a848";
374
382
  /* module identifier */
375
383
  const __vue_module_identifier__ = undefined;
376
384
  /* functional template */
@@ -148,7 +148,7 @@ var script = defineComponent({
148
148
  return [...accumulator, page];
149
149
  }, []);
150
150
  });
151
- // Functions
151
+ // Methods
152
152
  function toPreviousPage() {
153
153
  currentPage.value = currentPage.value - 1;
154
154
  }