@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.
- package/dist/bundled/v2/{OrCardCollection-0141a358.js → OrCardCollection-1bb83cfb.js} +1 -1
- package/dist/bundled/v2/{OrCheckbox-dbef9f9a.js → OrCheckbox-251ecafc.js} +32 -17
- package/dist/bundled/v2/{OrConfirm-23c3ce56.js → OrConfirm-4cae7867.js} +1 -1
- package/dist/bundled/v2/{OrInlineInput-87589946.js → OrInlineInput-2133e469.js} +38 -22
- package/dist/bundled/v2/{OrInlineTextarea-21b0e6fc.js → OrInlineTextarea-d61ca596.js} +34 -18
- package/dist/bundled/v2/{OrInput-82ccfe00.js → OrInput-770f1bed.js} +38 -30
- package/dist/bundled/v2/{OrPagination-379c10b8.js → OrPagination-468d0964.js} +1 -1
- package/dist/bundled/v2/{OrRadio-cd39b20b.js → OrRadio-ae89bc9b.js} +30 -15
- package/dist/bundled/v2/{OrSearch-53470b0e.js → OrSearch-2e5f9e24.js} +1 -1
- package/dist/bundled/v2/{OrSelect-c49e1bcf.js → OrSelect-039c0711.js} +2 -2
- package/dist/bundled/v2/{OrSwitch-237a2081.js → OrSwitch-20640a05.js} +30 -15
- package/dist/bundled/v2/{OrTabs-42f7c52c.js → OrTabs-85aefcba.js} +1 -1
- package/dist/bundled/v2/{OrTextarea-5593fbe9.js → OrTextarea-0ff8063b.js} +39 -20
- package/dist/bundled/v2/components/index.js +15 -13
- package/dist/bundled/v2/components/or-card-collection-v3/index.js +5 -3
- package/dist/bundled/v2/components/or-checkbox-v3/OrCheckbox.vue.d.ts +18 -2
- package/dist/bundled/v2/components/or-checkbox-v3/index.js +2 -1
- package/dist/bundled/v2/components/or-confirm-v3/index.js +4 -2
- package/dist/bundled/v2/components/or-inline-input-v3/OrInlineInput.vue.d.ts +36 -6
- package/dist/bundled/v2/components/or-inline-input-v3/index.js +3 -1
- package/dist/bundled/v2/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +36 -6
- package/dist/bundled/v2/components/or-inline-textarea-v3/index.js +3 -1
- package/dist/bundled/v2/components/or-input-v3/OrInput.vue.d.ts +43 -8
- package/dist/bundled/v2/components/or-input-v3/index.js +3 -1
- package/dist/bundled/v2/components/or-pagination-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-radio-v3/OrRadio.vue.d.ts +18 -2
- package/dist/bundled/v2/components/or-radio-v3/index.js +2 -1
- package/dist/bundled/v2/components/or-search-v3/index.js +4 -2
- package/dist/bundled/v2/components/or-select-v3/index.js +5 -3
- package/dist/bundled/v2/components/or-switch-v3/OrSwitch.vue.d.ts +18 -2
- package/dist/bundled/v2/components/or-switch-v3/index.js +2 -1
- package/dist/bundled/v2/components/or-tabs-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-textarea-v3/OrTextarea.vue.d.ts +45 -6
- package/dist/bundled/v2/components/or-textarea-v3/index.js +3 -1
- package/dist/bundled/v2/hooks/index.d.ts +3 -0
- package/dist/bundled/v2/hooks/index.js +2 -0
- package/dist/bundled/v2/hooks/useControlAttributes.d.ts +8 -0
- package/dist/bundled/v2/hooks/useIdAttribute.d.ts +2 -0
- package/dist/bundled/v2/hooks/useValidationAttributes.d.ts +12 -0
- package/dist/bundled/v2/index.js +15 -13
- package/dist/bundled/v2/useIdAttribute-cf61643f.js +22 -0
- package/dist/bundled/v2/useValidationAttributes-6df7bcf9.js +17 -0
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-2d78a51a.js → OrCardCollection.vue_vue_type_script_lang-a0f29a55.js} +1 -1
- package/dist/bundled/v3/{OrCheckbox.vue_vue_type_script_lang-8b36e06c.js → OrCheckbox.vue_vue_type_script_lang-2024ec32.js} +22 -7
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-05b21989.js → OrConfirm.vue_vue_type_script_lang-7d9d3810.js} +2 -2
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-67218502.js → OrInlineInput.vue_vue_type_script_lang-40f0073f.js} +27 -11
- package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-a1831ab8.js → OrInlineTextarea.vue_vue_type_script_lang-2817edd5.js} +27 -11
- package/dist/bundled/v3/{OrInput-a4f220ed.js → OrInput-e325a104.js} +12 -12
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-607d79d4.js → OrInput.vue_vue_type_script_lang-fd850b82.js} +26 -15
- package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-c96d7cd7.js → OrPagination.vue_vue_type_script_lang-0d9daaa7.js} +1 -1
- package/dist/bundled/v3/{OrRadio.vue_vue_type_script_lang-2e666a56.js → OrRadio.vue_vue_type_script_lang-29e8b856.js} +22 -7
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-06f318ca.js → OrSearch.vue_vue_type_script_lang-480f4b1c.js} +2 -2
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-58e5a52b.js → OrSelect.vue_vue_type_script_lang-7aa8956a.js} +17 -15
- package/dist/bundled/v3/{OrSwitch.vue_vue_type_script_lang-04829f64.js → OrSwitch.vue_vue_type_script_lang-02b4913a.js} +22 -7
- package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-61b79a5a.js → OrTabs.vue_vue_type_script_lang-01188224.js} +1 -1
- package/dist/bundled/v3/{OrTextarea.vue_vue_type_script_lang-8e3531cd.js → OrTextarea.vue_vue_type_script_lang-2fdac7b2.js} +31 -12
- package/dist/bundled/v3/components/index.js +16 -14
- package/dist/bundled/v3/components/or-card-collection-v3/index.js +6 -4
- package/dist/bundled/v3/components/or-checkbox-v3/OrCheckbox.vue.d.ts +18 -2
- package/dist/bundled/v3/components/or-checkbox-v3/index.js +2 -1
- package/dist/bundled/v3/components/or-confirm-v3/index.js +5 -3
- package/dist/bundled/v3/components/or-inline-input-v3/OrInlineInput.vue.d.ts +36 -6
- package/dist/bundled/v3/components/or-inline-input-v3/index.js +3 -1
- package/dist/bundled/v3/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +36 -6
- package/dist/bundled/v3/components/or-inline-textarea-v3/index.js +3 -1
- package/dist/bundled/v3/components/or-input-v3/OrInput.vue.d.ts +43 -8
- package/dist/bundled/v3/components/or-input-v3/index.js +3 -1
- package/dist/bundled/v3/components/or-pagination-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-radio-v3/OrRadio.vue.d.ts +18 -2
- package/dist/bundled/v3/components/or-radio-v3/index.js +2 -1
- package/dist/bundled/v3/components/or-search-v3/index.js +5 -3
- package/dist/bundled/v3/components/or-select-v3/index.js +6 -4
- package/dist/bundled/v3/components/or-switch-v3/OrSwitch.vue.d.ts +18 -2
- package/dist/bundled/v3/components/or-switch-v3/index.js +2 -1
- package/dist/bundled/v3/components/or-tabs-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-textarea-v3/OrTextarea.vue.d.ts +45 -6
- package/dist/bundled/v3/components/or-textarea-v3/index.js +3 -1
- package/dist/bundled/v3/hooks/index.d.ts +3 -0
- package/dist/bundled/v3/hooks/index.js +2 -0
- package/dist/bundled/v3/hooks/useControlAttributes.d.ts +8 -0
- package/dist/bundled/v3/hooks/useIdAttribute.d.ts +2 -0
- package/dist/bundled/v3/hooks/useValidationAttributes.d.ts +12 -0
- package/dist/bundled/v3/index.js +76 -68
- package/dist/bundled/v3/useIdAttribute-b2e42f31.js +21 -0
- package/dist/bundled/v3/useValidationAttributes-5428d8fa.js +16 -0
- package/dist/esm/v2/{OrCardCollection-3c38fc85.js → OrCardCollection-784318ac.js} +1 -1
- package/dist/esm/v2/{OrCheckbox-567e387c.js → OrCheckbox-7317fe1a.js} +32 -17
- package/dist/esm/v2/{OrConfirm-e2ab9b4c.js → OrConfirm-3d064f6c.js} +1 -1
- package/dist/esm/v2/{OrInlineInput-10205811.js → OrInlineInput-7c4f1f92.js} +38 -22
- package/dist/esm/v2/{OrInlineTextarea-7658611e.js → OrInlineTextarea-3381e2a9.js} +34 -18
- package/dist/esm/v2/{OrInput-ada3a970.js → OrInput-e10cc643.js} +38 -30
- package/dist/esm/v2/{OrPagination-c0dbec6a.js → OrPagination-291bd1b9.js} +1 -1
- package/dist/esm/v2/{OrRadio-848ce55d.js → OrRadio-b0a560d2.js} +30 -15
- package/dist/esm/v2/{OrSearch-0f08f2f5.js → OrSearch-1490c00b.js} +1 -1
- package/dist/esm/v2/{OrSelect-1d705445.js → OrSelect-1fbeed4f.js} +2 -2
- package/dist/esm/v2/{OrSwitch-13b6a7ee.js → OrSwitch-133052ca.js} +30 -15
- package/dist/esm/v2/{OrTabs-71bd3fd2.js → OrTabs-e5b81f4b.js} +1 -1
- package/dist/esm/v2/{OrTextarea-6712a150.js → OrTextarea-a7c846da.js} +39 -20
- package/dist/esm/v2/components/index.js +15 -13
- package/dist/esm/v2/components/or-card-collection-v3/index.js +5 -3
- package/dist/esm/v2/components/or-checkbox-v3/OrCheckbox.vue.d.ts +18 -2
- package/dist/esm/v2/components/or-checkbox-v3/index.js +2 -1
- package/dist/esm/v2/components/or-confirm-v3/index.js +4 -2
- package/dist/esm/v2/components/or-inline-input-v3/OrInlineInput.vue.d.ts +36 -6
- package/dist/esm/v2/components/or-inline-input-v3/index.js +3 -1
- package/dist/esm/v2/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +36 -6
- package/dist/esm/v2/components/or-inline-textarea-v3/index.js +3 -1
- package/dist/esm/v2/components/or-input-v3/OrInput.vue.d.ts +43 -8
- package/dist/esm/v2/components/or-input-v3/index.js +3 -1
- package/dist/esm/v2/components/or-pagination-v3/index.js +1 -1
- package/dist/esm/v2/components/or-radio-v3/OrRadio.vue.d.ts +18 -2
- package/dist/esm/v2/components/or-radio-v3/index.js +2 -1
- package/dist/esm/v2/components/or-search-v3/index.js +4 -2
- package/dist/esm/v2/components/or-select-v3/index.js +5 -3
- package/dist/esm/v2/components/or-switch-v3/OrSwitch.vue.d.ts +18 -2
- package/dist/esm/v2/components/or-switch-v3/index.js +2 -1
- package/dist/esm/v2/components/or-tabs-v3/index.js +1 -1
- package/dist/esm/v2/components/or-textarea-v3/OrTextarea.vue.d.ts +45 -6
- package/dist/esm/v2/components/or-textarea-v3/index.js +3 -1
- package/dist/esm/v2/hooks/index.d.ts +3 -0
- package/dist/esm/v2/hooks/index.js +2 -0
- package/dist/esm/v2/hooks/useControlAttributes.d.ts +8 -0
- package/dist/esm/v2/hooks/useIdAttribute.d.ts +2 -0
- package/dist/esm/v2/hooks/useValidationAttributes.d.ts +12 -0
- package/dist/esm/v2/index.js +15 -13
- package/dist/esm/v2/useIdAttribute-859439f0.js +21 -0
- package/dist/esm/v2/useValidationAttributes-d1abbe34.js +16 -0
- package/dist/esm/v3/{OrCardCollection-dbb3e839.js → OrCardCollection-110b3a0b.js} +1 -1
- package/dist/esm/v3/{OrCheckbox-3e139eac.js → OrCheckbox-7144da06.js} +36 -19
- package/dist/esm/v3/{OrConfirm-1bcd39b1.js → OrConfirm-1a38ed1b.js} +1 -1
- package/dist/esm/v3/{OrInlineInput-507fc99c.js → OrInlineInput-a6b19dbe.js} +37 -20
- package/dist/esm/v3/{OrInlineTextarea-53a9e027.js → OrInlineTextarea-9eb60363.js} +37 -20
- package/dist/esm/v3/{OrInput-9c0426b9.js → OrInput-e07ec00c.js} +37 -26
- package/dist/esm/v3/{OrPagination-a703307d.js → OrPagination-5e01a0a5.js} +1 -1
- package/dist/esm/v3/{OrRadio-54b6d0de.js → OrRadio-39d1905d.js} +34 -17
- package/dist/esm/v3/{OrSearch-9885d178.js → OrSearch-a60f67f0.js} +1 -1
- package/dist/esm/v3/{OrSelect-dfa4885f.js → OrSelect-2c70e384.js} +2 -2
- package/dist/esm/v3/{OrSwitch-cca30aa0.js → OrSwitch-3e9a699d.js} +34 -18
- package/dist/esm/v3/{OrTabs-d0ee6cef.js → OrTabs-91618aab.js} +1 -1
- package/dist/esm/v3/{OrTextarea-bb9ef3f2.js → OrTextarea-fd6b9f31.js} +42 -22
- package/dist/esm/v3/components/index.js +15 -13
- package/dist/esm/v3/components/or-card-collection-v3/index.js +5 -3
- package/dist/esm/v3/components/or-checkbox-v3/OrCheckbox.vue.d.ts +18 -2
- package/dist/esm/v3/components/or-checkbox-v3/index.js +2 -1
- package/dist/esm/v3/components/or-confirm-v3/index.js +4 -2
- package/dist/esm/v3/components/or-inline-input-v3/OrInlineInput.vue.d.ts +36 -6
- package/dist/esm/v3/components/or-inline-input-v3/index.js +3 -1
- package/dist/esm/v3/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +36 -6
- package/dist/esm/v3/components/or-inline-textarea-v3/index.js +3 -1
- package/dist/esm/v3/components/or-input-v3/OrInput.vue.d.ts +43 -8
- package/dist/esm/v3/components/or-input-v3/index.js +3 -1
- package/dist/esm/v3/components/or-pagination-v3/index.js +1 -1
- package/dist/esm/v3/components/or-radio-v3/OrRadio.vue.d.ts +18 -2
- package/dist/esm/v3/components/or-radio-v3/index.js +2 -1
- package/dist/esm/v3/components/or-search-v3/index.js +4 -2
- package/dist/esm/v3/components/or-select-v3/index.js +5 -3
- package/dist/esm/v3/components/or-switch-v3/OrSwitch.vue.d.ts +18 -2
- package/dist/esm/v3/components/or-switch-v3/index.js +2 -1
- package/dist/esm/v3/components/or-tabs-v3/index.js +1 -1
- package/dist/esm/v3/components/or-textarea-v3/OrTextarea.vue.d.ts +45 -6
- package/dist/esm/v3/components/or-textarea-v3/index.js +3 -1
- package/dist/esm/v3/hooks/index.d.ts +3 -0
- package/dist/esm/v3/hooks/index.js +2 -0
- package/dist/esm/v3/hooks/useControlAttributes.d.ts +8 -0
- package/dist/esm/v3/hooks/useIdAttribute.d.ts +2 -0
- package/dist/esm/v3/hooks/useValidationAttributes.d.ts +12 -0
- package/dist/esm/v3/index.js +15 -13
- package/dist/esm/v3/useIdAttribute-859439f0.js +21 -0
- package/dist/esm/v3/useValidationAttributes-d1abbe34.js +16 -0
- package/package.json +2 -3
- package/src/components/or-checkbox-v3/OrCheckbox.vue +28 -10
- package/src/components/or-inline-input-v3/OrInlineInput.vue +32 -13
- package/src/components/or-inline-textarea-v3/OrInlineTextarea.vue +32 -13
- package/src/components/or-input-v3/OrInput.stories3.ts +4 -4
- package/src/components/or-input-v3/OrInput.vue +31 -19
- package/src/components/or-pagination-v3/OrPagination.vue +1 -1
- package/src/components/or-radio-v3/OrRadio.vue +27 -9
- package/src/components/or-switch-v3/OrSwitch.vue +27 -9
- package/src/components/or-tabs-v3/OrTabs.vue +1 -1
- package/src/components/or-textarea-v3/OrTextarea.stories3.ts +4 -4
- package/src/components/or-textarea-v3/OrTextarea.vue +36 -14
- package/src/hooks/index.ts +3 -0
- package/src/hooks/useControlAttributes.ts +19 -0
- package/src/hooks/useIdAttribute.ts +9 -0
- package/src/hooks/useValidationAttributes.ts +25 -0
package/dist/bundled/v3/index.js
CHANGED
|
@@ -18,8 +18,8 @@ export { a as ButtonColor, b as ButtonType, B as ButtonVariant, s as OrButtonV3
|
|
|
18
18
|
import { s as script$6 } from './OrCardCollection.vue_vue_type_script_lang-d8124dda.js';
|
|
19
19
|
export { C as CARD_COLLECTION_LAYOUT, s as OrCardCollection } from './OrCardCollection.vue_vue_type_script_lang-d8124dda.js';
|
|
20
20
|
export { s as OrCard } from './OrCard.vue_vue_type_script_lang-90ba001b.js';
|
|
21
|
-
import { s as script$7 } from './OrCardCollection.vue_vue_type_script_lang-
|
|
22
|
-
export { D as DefaultCardCollectionViews, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './OrCardCollection.vue_vue_type_script_lang-
|
|
21
|
+
import { s as script$7 } from './OrCardCollection.vue_vue_type_script_lang-a0f29a55.js';
|
|
22
|
+
export { D as DefaultCardCollectionViews, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './OrCardCollection.vue_vue_type_script_lang-a0f29a55.js';
|
|
23
23
|
import { s as script$8 } from './OrCard.vue_vue_type_script_lang-165de137.js';
|
|
24
24
|
export { s as OrCardV3 } from './OrCard.vue_vue_type_script_lang-165de137.js';
|
|
25
25
|
import './OrCarouselItem-f4b9541d.js';
|
|
@@ -27,9 +27,9 @@ export { a as OrCarousel, s as OrCarouselItem } from './OrCarouselItem.vue_vue_t
|
|
|
27
27
|
import { s as script$x } from './OrSelect.vue_vue_type_script_lang-26c0a70a.js';
|
|
28
28
|
export { s as OrSelect } from './OrSelect.vue_vue_type_script_lang-26c0a70a.js';
|
|
29
29
|
export { s as OrCheckbox } from './OrCheckbox.vue_vue_type_script_lang-d8a66818.js';
|
|
30
|
-
import { s as script$y } from './OrSelect.vue_vue_type_script_lang-
|
|
31
|
-
export { s as OrSelectV3 } from './OrSelect.vue_vue_type_script_lang-
|
|
32
|
-
export { s as OrCheckboxV3 } from './OrCheckbox.vue_vue_type_script_lang-
|
|
30
|
+
import { s as script$y } from './OrSelect.vue_vue_type_script_lang-7aa8956a.js';
|
|
31
|
+
export { s as OrSelectV3 } from './OrSelect.vue_vue_type_script_lang-7aa8956a.js';
|
|
32
|
+
export { s as OrCheckboxV3 } from './OrCheckbox.vue_vue_type_script_lang-2024ec32.js';
|
|
33
33
|
export { s as OrChip } from './OrChip-5d502431.js';
|
|
34
34
|
import { s as script$9 } from './OrChips.vue_vue_type_script_lang-69917e34.js';
|
|
35
35
|
export { s as OrChips } from './OrChips.vue_vue_type_script_lang-69917e34.js';
|
|
@@ -39,8 +39,8 @@ import { s as script$b } from './OrColorPicker.vue_vue_type_script_lang-4141378d
|
|
|
39
39
|
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.vue_vue_type_script_lang-4141378d.js';
|
|
40
40
|
import { s as script$c } from './OrConfirm.vue_vue_type_script_lang-0f16fc67.js';
|
|
41
41
|
export { s as OrConfirm } from './OrConfirm.vue_vue_type_script_lang-0f16fc67.js';
|
|
42
|
-
import { s as script$d } from './OrConfirm.vue_vue_type_script_lang-
|
|
43
|
-
export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirm.vue_vue_type_script_lang-
|
|
42
|
+
import { s as script$d } from './OrConfirm.vue_vue_type_script_lang-7d9d3810.js';
|
|
43
|
+
export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirm.vue_vue_type_script_lang-7d9d3810.js';
|
|
44
44
|
import { s as script$e } from './OrDateTimePicker.vue_vue_type_script_lang-7bfe5005.js';
|
|
45
45
|
export { D as DEFAULT_TEXT, s as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from './OrDateTimePicker.vue_vue_type_script_lang-7bfe5005.js';
|
|
46
46
|
import { s as script$f } from './OrErrorTag.vue_vue_type_script_lang-4828c387.js';
|
|
@@ -52,12 +52,12 @@ import { s as script$h } from './OrFab.vue_vue_type_script_lang-2adeaed6.js';
|
|
|
52
52
|
export { F as FabColor, s as OrFabV3 } from './OrFab.vue_vue_type_script_lang-2adeaed6.js';
|
|
53
53
|
import './OrInlineInputBox-9d68ded1.js';
|
|
54
54
|
export { I as InlineInputBoxSize, I as InlineInputSize, s as OrInlineInputBoxV3 } from './OrInlineInputBox.vue_vue_type_script_lang-73750005.js';
|
|
55
|
-
import { s as script$i } from './OrInlineInput.vue_vue_type_script_lang-
|
|
56
|
-
export { I as InlineInputType, s as OrInlineInputV3 } from './OrInlineInput.vue_vue_type_script_lang-
|
|
55
|
+
import { s as script$i } from './OrInlineInput.vue_vue_type_script_lang-40f0073f.js';
|
|
56
|
+
export { I as InlineInputType, s as OrInlineInputV3 } from './OrInlineInput.vue_vue_type_script_lang-40f0073f.js';
|
|
57
57
|
import { s as script$j } from './OrInlineTextEdit.vue_vue_type_script_lang-da6887aa.js';
|
|
58
58
|
export { a as InlineTextEditTrimmingTypes, I as InlineTextEditTypes, s as OrInlineTextEdit } from './OrInlineTextEdit.vue_vue_type_script_lang-da6887aa.js';
|
|
59
|
-
import { s as script$k } from './OrInlineTextarea.vue_vue_type_script_lang-
|
|
60
|
-
export { s as OrInlineTextareaV3 } from './OrInlineTextarea.vue_vue_type_script_lang-
|
|
59
|
+
import { s as script$k } from './OrInlineTextarea.vue_vue_type_script_lang-2817edd5.js';
|
|
60
|
+
export { s as OrInlineTextareaV3 } from './OrInlineTextarea.vue_vue_type_script_lang-2817edd5.js';
|
|
61
61
|
import { s as script$3, a as script$4, b as script$5 } from './OrPassword.vue_vue_type_script_lang-13bc5b00.js';
|
|
62
62
|
export { a as OrNumberInput, b as OrPassword, s as OrTextarea } from './OrPassword.vue_vue_type_script_lang-13bc5b00.js';
|
|
63
63
|
import { s as script$l } from './OrLink.vue_vue_type_script_lang-9d3a32c7.js';
|
|
@@ -73,8 +73,8 @@ import { s as script$p } from './OrNotification.vue_vue_type_script_lang-c886ae5
|
|
|
73
73
|
export { N as NotificationVariant, s as OrNotificationV3 } from './OrNotification.vue_vue_type_script_lang-c886ae51.js';
|
|
74
74
|
import { s as script$q } from './OrOverflowMenu.vue_vue_type_script_lang-0397533d.js';
|
|
75
75
|
export { s as OrOverflowMenu } from './OrOverflowMenu.vue_vue_type_script_lang-0397533d.js';
|
|
76
|
-
import { s as script$r } from './OrPagination.vue_vue_type_script_lang-
|
|
77
|
-
export { s as OrPaginationV3 } from './OrPagination.vue_vue_type_script_lang-
|
|
76
|
+
import { s as script$r } from './OrPagination.vue_vue_type_script_lang-0d9daaa7.js';
|
|
77
|
+
export { s as OrPaginationV3 } from './OrPagination.vue_vue_type_script_lang-0d9daaa7.js';
|
|
78
78
|
export { s as OrToast, a as OrToastContainer } from './OrToastContainer.vue_vue_type_script_lang-4bb702ce.js';
|
|
79
79
|
export { s as OrProgress, O as OrProgressColors, a as OrProgressTypes } from './OrProgress.vue_vue_type_script_lang-3f9ec654.js';
|
|
80
80
|
import { s as script$s } from './OrProgress.vue_vue_type_script_lang-a73c0acf.js';
|
|
@@ -83,8 +83,8 @@ import { s as script$t } from './OrRadio.vue_vue_type_script_lang-c956b54b.js';
|
|
|
83
83
|
export { s as OrRadio } from './OrRadio.vue_vue_type_script_lang-c956b54b.js';
|
|
84
84
|
import { s as script$u } from './OrRadioGroup.vue_vue_type_script_lang-caea7bcb.js';
|
|
85
85
|
export { s as OrRadioGroup } from './OrRadioGroup.vue_vue_type_script_lang-caea7bcb.js';
|
|
86
|
-
import { s as script$v } from './OrRadio.vue_vue_type_script_lang-
|
|
87
|
-
export { s as OrRadioV3 } from './OrRadio.vue_vue_type_script_lang-
|
|
86
|
+
import { s as script$v } from './OrRadio.vue_vue_type_script_lang-29e8b856.js';
|
|
87
|
+
export { s as OrRadioV3 } from './OrRadio.vue_vue_type_script_lang-29e8b856.js';
|
|
88
88
|
import { s as script$w } from './OrSegmentedControl.vue_vue_type_script_lang-579406f5.js';
|
|
89
89
|
export { s as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl.vue_vue_type_script_lang-579406f5.js';
|
|
90
90
|
import { s as script$z } from './OrSidebar.vue_vue_type_script_lang-7c55ac0a.js';
|
|
@@ -103,22 +103,22 @@ import { s as script$J } from './OrStepper.vue_vue_type_script_lang-7de7c1ad.js'
|
|
|
103
103
|
export { s as OrStepper } from './OrStepper.vue_vue_type_script_lang-7de7c1ad.js';
|
|
104
104
|
import { s as script$K } from './OrSwitch.vue_vue_type_script_lang-f55d33f4.js';
|
|
105
105
|
export { s as OrSwitch } from './OrSwitch.vue_vue_type_script_lang-f55d33f4.js';
|
|
106
|
-
import { s as script$L } from './OrSwitch.vue_vue_type_script_lang-
|
|
107
|
-
export { s as OrSwitchV3 } from './OrSwitch.vue_vue_type_script_lang-
|
|
106
|
+
import { s as script$L } from './OrSwitch.vue_vue_type_script_lang-02b4913a.js';
|
|
107
|
+
export { s as OrSwitchV3 } from './OrSwitch.vue_vue_type_script_lang-02b4913a.js';
|
|
108
108
|
import { s as script$M } from './OrTab.vue_vue_type_script_lang-de7c7063.js';
|
|
109
109
|
export { s as OrTab } from './OrTab.vue_vue_type_script_lang-de7c7063.js';
|
|
110
110
|
import { s as script$N } from './OrTabs.vue_vue_type_script_lang-40e2a6e9.js';
|
|
111
111
|
export { s as OrTabs } from './OrTabs.vue_vue_type_script_lang-40e2a6e9.js';
|
|
112
112
|
export { s as OrTabHeaderItem } from './OrTabHeaderItem.vue_vue_type_script_lang-e1f29563.js';
|
|
113
|
-
import { s as script$O } from './OrTabs.vue_vue_type_script_lang-
|
|
114
|
-
export { s as OrTabsV3, T as TabsVariant } from './OrTabs.vue_vue_type_script_lang-
|
|
113
|
+
import { s as script$O } from './OrTabs.vue_vue_type_script_lang-01188224.js';
|
|
114
|
+
export { s as OrTabsV3, T as TabsVariant } from './OrTabs.vue_vue_type_script_lang-01188224.js';
|
|
115
115
|
export { s as OrTabV3 } from './OrTab.vue_vue_type_script_lang-134ad9d1.js';
|
|
116
116
|
import { s as script$P } from './OrTag.vue_vue_type_script_lang-8c526c11.js';
|
|
117
117
|
export { s as OrTag } from './OrTag.vue_vue_type_script_lang-8c526c11.js';
|
|
118
118
|
import { s as script$Q } from './OrText.vue_vue_type_script_lang-d9525d49.js';
|
|
119
119
|
export { s as OrTextV3 } from './OrText.vue_vue_type_script_lang-d9525d49.js';
|
|
120
|
-
import { s as script$R } from './OrTextarea.vue_vue_type_script_lang-
|
|
121
|
-
export { s as OrTextareaV3 } from './OrTextarea.vue_vue_type_script_lang-
|
|
120
|
+
import { s as script$R } from './OrTextarea.vue_vue_type_script_lang-2fdac7b2.js';
|
|
121
|
+
export { s as OrTextareaV3 } from './OrTextarea.vue_vue_type_script_lang-2fdac7b2.js';
|
|
122
122
|
import { s as script$S } from './OrTextbox.vue_vue_type_script_lang-b5c4a93a.js';
|
|
123
123
|
export { s as OrTextbox, T as TextboxTypes } from './OrTextbox.vue_vue_type_script_lang-b5c4a93a.js';
|
|
124
124
|
export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from './useToast-d5b3c109.js';
|
|
@@ -137,7 +137,7 @@ export { s as OrIcon, O as OrIconColors, a as OrIconType } from './OrIcon.vue_vu
|
|
|
137
137
|
export { I as IconButtonColor, s as OrIconButtonV3 } from './OrIconButton.vue_vue_type_script_lang-aefcf30d.js';
|
|
138
138
|
export { I as IconButtonSize, I as IconSize, a as IconVariant, s as OrIconV3 } from './OrIcon.vue_vue_type_script_lang-a119a715.js';
|
|
139
139
|
export { a as InputBoxSize, I as InputBoxVariant, a as InputSize, s as OrInputBoxV3, a as SearchSize, a as SelectSize, a as TextareaSize } from './OrInputBox.vue_vue_type_script_lang-5ee4ee45.js';
|
|
140
|
-
export { I as InputType, s as OrInputV3 } from './OrInput.vue_vue_type_script_lang-
|
|
140
|
+
export { I as InputType, s as OrInputV3 } from './OrInput.vue_vue_type_script_lang-fd850b82.js';
|
|
141
141
|
export { s as OrInput } from './OrInput-7d4b571a.js';
|
|
142
142
|
export { s as OrSearch } from './OrSearch.vue_vue_type_script_lang-16fbccc0.js';
|
|
143
143
|
export { s as OrLabel } from './OrLabel.vue_vue_type_script_lang-27f8b12d.js';
|
|
@@ -149,7 +149,7 @@ export { s as OrMenuV3 } from './OrMenu.vue_vue_type_script_lang-2446a69a.js';
|
|
|
149
149
|
export { s as OrModal, O as OrModalSizes } from './OrModal.vue_vue_type_script_lang-a1ed2ebb.js';
|
|
150
150
|
export { s as OrOverlay } from './OrOverlay.vue_vue_type_script_lang-b9bf5e50.js';
|
|
151
151
|
export { s as OrOverlayV3 } from './OrOverlay.vue_vue_type_script_lang-cb3aad0c.js';
|
|
152
|
-
export { s as OrSearchV3 } from './OrSearch.vue_vue_type_script_lang-
|
|
152
|
+
export { s as OrSearchV3 } from './OrSearch.vue_vue_type_script_lang-480f4b1c.js';
|
|
153
153
|
export { s as OrTagV3, a as TagColor, T as TagVariant } from './OrTag.vue_vue_type_script_lang-e45c345b.js';
|
|
154
154
|
export { s as OrTeleport } from './OrTeleportVue3-012351e1.js';
|
|
155
155
|
export { s as OrTeleportV3 } from './OrTeleport.vue3.vue_vue_type_script_lang-4dc70cf1.js';
|
|
@@ -158,10 +158,12 @@ export { s as OrTooltipContent } from './OrTooltipContent-b0dcb862.js';
|
|
|
158
158
|
export { s as OrTooltipV3 } from './OrTooltip.vue_vue_type_script_lang-67cc86ed.js';
|
|
159
159
|
export { D as DropdownClose, a as DropdownOpen } from './dropdown-open-293d2de2.js';
|
|
160
160
|
export { u as useClassAttribute } from './useClassAttribute-00888f78.js';
|
|
161
|
+
export { u as useControlAttributes, a as useIdAttribute } from './useIdAttribute-b2e42f31.js';
|
|
161
162
|
export { u as useElevation } from './useElevation-c8d5d3ba.js';
|
|
162
163
|
export { u as useOverflow } from './useOverflow-6dce216b.js';
|
|
163
164
|
export { u as useResponsive } from './useResponsive-9d397e2a.js';
|
|
164
165
|
export { u as useToggle } from './useToggle-09b6cb90.js';
|
|
166
|
+
export { u as useValidationAttributes } from './useValidationAttributes-5428d8fa.js';
|
|
165
167
|
import 'lodash';
|
|
166
168
|
import './OrIcon-1cae8a64.js';
|
|
167
169
|
import './OrIcon-d878b768.js';
|
|
@@ -176,7 +178,7 @@ import './OrFloating-b6672a37.js';
|
|
|
176
178
|
import './OrLabel-e412c532.js';
|
|
177
179
|
import './OrError-b43ebad8.js';
|
|
178
180
|
import './OrHint-9592499e.js';
|
|
179
|
-
import './OrInput-
|
|
181
|
+
import './OrInput-e325a104.js';
|
|
180
182
|
import './OrInputBox-eb54d73d.js';
|
|
181
183
|
import './OrLabel-c6873e79.js';
|
|
182
184
|
import './OrPopover-c462ce77.js';
|
|
@@ -1293,23 +1295,24 @@ script$h.__file = "src/components/or-fab-v3/OrFab.vue";
|
|
|
1293
1295
|
const _hoisted_1$n = {
|
|
1294
1296
|
class: /*#__PURE__*/normalizeClass(['layout-row', 'gap-sm+'])
|
|
1295
1297
|
};
|
|
1296
|
-
const _hoisted_2$e = ["
|
|
1298
|
+
const _hoisted_2$e = ["type", "placeholder", "activated"];
|
|
1297
1299
|
function render$A(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1298
1300
|
const _component_OrInlineInputBox = resolveComponent("OrInlineInputBox");
|
|
1299
1301
|
const _component_OrIconButton = resolveComponent("OrIconButton");
|
|
1300
1302
|
const _component_OrHint = resolveComponent("OrHint");
|
|
1301
1303
|
const _component_OrError = resolveComponent("OrError");
|
|
1302
|
-
return openBlock(), createElementBlock("div", {
|
|
1303
|
-
ref: "root"
|
|
1304
|
-
|
|
1305
|
-
|
|
1304
|
+
return openBlock(), createElementBlock("div", mergeProps({
|
|
1305
|
+
ref: "root"
|
|
1306
|
+
}, _ctx.$attrs, {
|
|
1307
|
+
class: _ctx.rootStyles
|
|
1308
|
+
}), [createElementVNode("div", _hoisted_1$n, [createVNode(_component_OrInlineInputBox, {
|
|
1306
1309
|
size: _ctx.size,
|
|
1307
1310
|
invalid: _ctx.invalid
|
|
1308
1311
|
}, {
|
|
1309
1312
|
default: withCtx(() => [withDirectives(createElementVNode("input", mergeProps({
|
|
1310
|
-
|
|
1313
|
+
ref: "control",
|
|
1311
1314
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.draftModelValue = $event)
|
|
1312
|
-
}, _ctx
|
|
1315
|
+
}, _ctx.controlAttributes, {
|
|
1313
1316
|
class: _ctx.controlStyles,
|
|
1314
1317
|
type: _ctx.type,
|
|
1315
1318
|
placeholder: _ctx.placeholder,
|
|
@@ -1355,7 +1358,7 @@ function render$A(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1355
1358
|
fn: withCtx(() => [createTextVNode(toDisplayString(_ctx.currentLength) + " / " + toDisplayString(_ctx.maxLength), 1 /* TEXT */)]),
|
|
1356
1359
|
|
|
1357
1360
|
key: "0"
|
|
1358
|
-
} : undefined]), 1024 /* DYNAMIC_SLOTS */))],
|
|
1361
|
+
} : undefined]), 1024 /* DYNAMIC_SLOTS */))], 16 /* FULL_PROPS */);
|
|
1359
1362
|
}
|
|
1360
1363
|
|
|
1361
1364
|
var css_248z$m = "\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";
|
|
@@ -1464,23 +1467,24 @@ script$j.__file = "src/components/or-inline-text-edit/OrInlineTextEdit.vue";
|
|
|
1464
1467
|
const _hoisted_1$l = {
|
|
1465
1468
|
class: /*#__PURE__*/normalizeClass(['layout-row', 'gap-sm+'])
|
|
1466
1469
|
};
|
|
1467
|
-
const _hoisted_2$c = ["
|
|
1470
|
+
const _hoisted_2$c = ["placeholder", "activated"];
|
|
1468
1471
|
function render$y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1469
1472
|
const _component_OrInlineInputBox = resolveComponent("OrInlineInputBox");
|
|
1470
1473
|
const _component_OrIconButton = resolveComponent("OrIconButton");
|
|
1471
1474
|
const _component_OrHint = resolveComponent("OrHint");
|
|
1472
1475
|
const _component_OrError = resolveComponent("OrError");
|
|
1473
|
-
return openBlock(), createElementBlock("div", {
|
|
1474
|
-
ref: "root"
|
|
1475
|
-
|
|
1476
|
-
|
|
1476
|
+
return openBlock(), createElementBlock("div", mergeProps({
|
|
1477
|
+
ref: "root"
|
|
1478
|
+
}, _ctx.$attrs, {
|
|
1479
|
+
class: _ctx.rootStyles
|
|
1480
|
+
}), [createElementVNode("div", _hoisted_1$l, [createVNode(_component_OrInlineInputBox, {
|
|
1477
1481
|
size: 's',
|
|
1478
1482
|
invalid: _ctx.invalid
|
|
1479
1483
|
}, {
|
|
1480
1484
|
default: withCtx(() => [withDirectives(createElementVNode("textarea", mergeProps({
|
|
1481
|
-
|
|
1485
|
+
ref: "control",
|
|
1482
1486
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.draftModelValue = $event)
|
|
1483
|
-
}, _ctx
|
|
1487
|
+
}, _ctx.controlAttributes, {
|
|
1484
1488
|
class: _ctx.controlStyles,
|
|
1485
1489
|
placeholder: _ctx.placeholder,
|
|
1486
1490
|
activated: _ctx.activated ? '' : null,
|
|
@@ -1525,7 +1529,7 @@ function render$y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1525
1529
|
fn: withCtx(() => [createTextVNode(toDisplayString(_ctx.currentLength) + " / " + toDisplayString(_ctx.maxLength), 1 /* TEXT */)]),
|
|
1526
1530
|
|
|
1527
1531
|
key: "0"
|
|
1528
|
-
} : undefined]), 1024 /* DYNAMIC_SLOTS */))],
|
|
1532
|
+
} : undefined]), 1024 /* DYNAMIC_SLOTS */))], 16 /* FULL_PROPS */);
|
|
1529
1533
|
}
|
|
1530
1534
|
|
|
1531
1535
|
var css_248z$k = "\ntextarea[data-v-3f016b22] {\n min-width: 0;\n background: none;\n outline: none;\n}\n";
|
|
@@ -1973,15 +1977,17 @@ script$u.render = render$o;
|
|
|
1973
1977
|
script$u.__scopeId = "data-v-3521b793";
|
|
1974
1978
|
script$u.__file = "src/components/or-radio-group/OrRadioGroup.vue";
|
|
1975
1979
|
|
|
1976
|
-
const _hoisted_1$d = ["
|
|
1980
|
+
const _hoisted_1$d = ["value", "required", "disabled"];
|
|
1977
1981
|
function render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1978
1982
|
const _component_OrLabel = resolveComponent("OrLabel");
|
|
1979
|
-
return openBlock(), createElementBlock("div", {
|
|
1980
|
-
ref: "root"
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1983
|
+
return openBlock(), createElementBlock("div", mergeProps({
|
|
1984
|
+
ref: "root"
|
|
1985
|
+
}, _ctx.$attrs, {
|
|
1986
|
+
class: _ctx.rootStyles
|
|
1987
|
+
}), [withDirectives(createElementVNode("input", mergeProps({
|
|
1988
|
+
ref: "control",
|
|
1989
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.proxyModelValue = $event)
|
|
1990
|
+
}, _ctx.controlAttributes, {
|
|
1985
1991
|
class: _ctx.controlStyles,
|
|
1986
1992
|
type: "radio",
|
|
1987
1993
|
value: _ctx.inputValue,
|
|
@@ -1991,7 +1997,7 @@ function render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1991
1997
|
onBlur: _cache[2] || (_cache[2] = $event => _ctx.$emit('blur', $event))
|
|
1992
1998
|
}), null, 16 /* FULL_PROPS */, _hoisted_1$d), [[vModelRadio, _ctx.proxyModelValue]]), _ctx.$slots.default || _ctx.label ? (openBlock(), createBlock(_component_OrLabel, {
|
|
1993
1999
|
key: 0,
|
|
1994
|
-
"control-id": _ctx.
|
|
2000
|
+
"control-id": _ctx.controlAttributes.id,
|
|
1995
2001
|
variant: _ctx.labelVariant,
|
|
1996
2002
|
required: _ctx.required,
|
|
1997
2003
|
disabled: _ctx.disabled
|
|
@@ -2000,7 +2006,7 @@ function render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2000
2006
|
default: withCtx(() => [renderSlot(_ctx.$slots, "default", {}, () => [createTextVNode(toDisplayString(_ctx.label), 1 /* TEXT */)])]),
|
|
2001
2007
|
|
|
2002
2008
|
_: 3 /* FORWARDED */
|
|
2003
|
-
}, 8 /* PROPS */, ["control-id", "variant", "required", "disabled"])) : createCommentVNode("v-if", true)],
|
|
2009
|
+
}, 8 /* PROPS */, ["control-id", "variant", "required", "disabled"])) : createCommentVNode("v-if", true)], 16 /* FULL_PROPS */);
|
|
2004
2010
|
}
|
|
2005
2011
|
|
|
2006
2012
|
var css_248z$e = "\ninput[data-v-2567d702] {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n line-height: 0;\n}\n";
|
|
@@ -2641,19 +2647,20 @@ script$K.render = render$8;
|
|
|
2641
2647
|
script$K.__scopeId = "data-v-2da28db8";
|
|
2642
2648
|
script$K.__file = "src/components/or-switch/OrSwitch.vue";
|
|
2643
2649
|
|
|
2644
|
-
const _hoisted_1$5 = ["
|
|
2650
|
+
const _hoisted_1$5 = ["value", "required", "disabled"];
|
|
2645
2651
|
const _hoisted_2$2 = ["disabled"];
|
|
2646
2652
|
function render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2647
2653
|
const _component_OrLoader = resolveComponent("OrLoader");
|
|
2648
2654
|
const _component_OrLabel = resolveComponent("OrLabel");
|
|
2649
|
-
return openBlock(), createElementBlock("div", {
|
|
2650
|
-
ref: "root"
|
|
2651
|
-
class: normalizeClass(_ctx.rootStyles)
|
|
2652
|
-
}, [!_ctx.loading ? withDirectives((openBlock(), createElementBlock("input", mergeProps({
|
|
2653
|
-
key: 0
|
|
2655
|
+
return openBlock(), createElementBlock("div", mergeProps({
|
|
2656
|
+
ref: "root"
|
|
2654
2657
|
}, _ctx.$attrs, {
|
|
2655
|
-
|
|
2656
|
-
|
|
2658
|
+
class: _ctx.rootStyles
|
|
2659
|
+
}), [!_ctx.loading ? withDirectives((openBlock(), createElementBlock("input", mergeProps({
|
|
2660
|
+
key: 0,
|
|
2661
|
+
ref: "control",
|
|
2662
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.proxyModelValue = $event)
|
|
2663
|
+
}, _ctx.controlAttributes, {
|
|
2657
2664
|
class: _ctx.controlStyles,
|
|
2658
2665
|
type: "checkbox",
|
|
2659
2666
|
value: _ctx.inputValue,
|
|
@@ -2671,7 +2678,7 @@ function render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2671
2678
|
size: 'm'
|
|
2672
2679
|
})], 10 /* CLASS, PROPS */, _hoisted_2$2)), _ctx.$slots.default || _ctx.label ? (openBlock(), createBlock(_component_OrLabel, {
|
|
2673
2680
|
key: 2,
|
|
2674
|
-
"control-id": _ctx.
|
|
2681
|
+
"control-id": _ctx.controlAttributes.id,
|
|
2675
2682
|
variant: _ctx.labelVariant,
|
|
2676
2683
|
required: _ctx.required,
|
|
2677
2684
|
disabled: _ctx.disabled
|
|
@@ -2680,7 +2687,7 @@ function render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2680
2687
|
default: withCtx(() => [renderSlot(_ctx.$slots, "default", {}, () => [createTextVNode(toDisplayString(_ctx.label), 1 /* TEXT */)])]),
|
|
2681
2688
|
|
|
2682
2689
|
_: 3 /* FORWARDED */
|
|
2683
|
-
}, 8 /* PROPS */, ["control-id", "variant", "required", "disabled"])) : createCommentVNode("v-if", true)],
|
|
2690
|
+
}, 8 /* PROPS */, ["control-id", "variant", "required", "disabled"])) : createCommentVNode("v-if", true)], 16 /* FULL_PROPS */);
|
|
2684
2691
|
}
|
|
2685
2692
|
|
|
2686
2693
|
var css_248z$5 = "\ninput[data-v-4296509a] {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n line-height: 0;\n}\n";
|
|
@@ -2841,18 +2848,19 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2841
2848
|
script$Q.render = render$2;
|
|
2842
2849
|
script$Q.__file = "src/components/or-text-v3/OrText.vue";
|
|
2843
2850
|
|
|
2844
|
-
const _hoisted_1$1 = ["
|
|
2851
|
+
const _hoisted_1$1 = ["placeholder", "required", "disabled"];
|
|
2845
2852
|
function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2846
2853
|
const _component_OrLabel = resolveComponent("OrLabel");
|
|
2847
2854
|
const _component_OrInputBox = resolveComponent("OrInputBox");
|
|
2848
2855
|
const _component_OrHint = resolveComponent("OrHint");
|
|
2849
2856
|
const _component_OrError = resolveComponent("OrError");
|
|
2850
|
-
return openBlock(), createElementBlock("div", {
|
|
2851
|
-
ref: "root"
|
|
2852
|
-
|
|
2853
|
-
|
|
2857
|
+
return openBlock(), createElementBlock("div", mergeProps({
|
|
2858
|
+
ref: "root"
|
|
2859
|
+
}, _ctx.$attrs, {
|
|
2860
|
+
class: _ctx.rootStyles
|
|
2861
|
+
}), [_ctx.label ? (openBlock(), createBlock(_component_OrLabel, {
|
|
2854
2862
|
key: 0,
|
|
2855
|
-
"control-id": _ctx.
|
|
2863
|
+
"control-id": _ctx.controlAttributes.id,
|
|
2856
2864
|
variant: 'input',
|
|
2857
2865
|
required: _ctx.required,
|
|
2858
2866
|
disabled: _ctx.disabled
|
|
@@ -2868,9 +2876,9 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2868
2876
|
disabled: _ctx.disabled
|
|
2869
2877
|
}, {
|
|
2870
2878
|
default: withCtx(() => [withDirectives(createElementVNode("textarea", mergeProps({
|
|
2871
|
-
|
|
2879
|
+
ref: "control",
|
|
2872
2880
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.proxyModelValue = $event)
|
|
2873
|
-
}, _ctx
|
|
2881
|
+
}, _ctx.controlAttributes, {
|
|
2874
2882
|
class: _ctx.controlStyles,
|
|
2875
2883
|
placeholder: _ctx.placeholder,
|
|
2876
2884
|
required: _ctx.required,
|
|
@@ -2907,7 +2915,7 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2907
2915
|
fn: withCtx(() => [createTextVNode(toDisplayString(_ctx.currentLength) + " / " + toDisplayString(_ctx.maxLength), 1 /* TEXT */)]),
|
|
2908
2916
|
|
|
2909
2917
|
key: "0"
|
|
2910
|
-
} : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled"]))],
|
|
2918
|
+
} : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled"]))], 16 /* FULL_PROPS */);
|
|
2911
2919
|
}
|
|
2912
2920
|
|
|
2913
2921
|
var css_248z$1 = "\ntextarea[data-v-10a22fb4] {\n min-width: 0;\n background: none;\n outline: none;\n}\n";
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { useAttrs, computed, getCurrentInstance } from 'vue';
|
|
2
|
+
|
|
3
|
+
function useControlAttributes() {
|
|
4
|
+
const attributes = useAttrs();
|
|
5
|
+
return {
|
|
6
|
+
readonly: computed(() => attributes['readonly']),
|
|
7
|
+
disabled: computed(() => attributes['disabled']),
|
|
8
|
+
'force-state': computed(() => attributes['force-state'])
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
function useIdAttribute() {
|
|
13
|
+
const attributes = useAttrs(),
|
|
14
|
+
component = getCurrentInstance();
|
|
15
|
+
return computed(() => {
|
|
16
|
+
var _a;
|
|
17
|
+
return (_a = attributes['id']) !== null && _a !== void 0 ? _a : component === null || component === void 0 ? void 0 : component.uid.toString();
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export { useIdAttribute as a, useControlAttributes as u };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { useAttrs, computed } from 'vue';
|
|
2
|
+
|
|
3
|
+
function useValidationAttributes() {
|
|
4
|
+
const attributes = useAttrs();
|
|
5
|
+
return {
|
|
6
|
+
required: computed(() => attributes['required']),
|
|
7
|
+
minlength: computed(() => attributes['minlength']),
|
|
8
|
+
maxlength: computed(() => attributes['maxlength']),
|
|
9
|
+
pattern: computed(() => attributes['pattern']),
|
|
10
|
+
min: computed(() => attributes['min']),
|
|
11
|
+
max: computed(() => attributes['max']),
|
|
12
|
+
step: computed(() => attributes['step'])
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export { useValidationAttributes as u };
|
|
@@ -8,7 +8,7 @@ import { _ as __vue_component__$5 } from './OrMenuItem-c7f28480.js';
|
|
|
8
8
|
import { _ as __vue_component__$6 } from './OrIcon-5e394c62.js';
|
|
9
9
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
10
10
|
import { _ as __vue_component__$3 } from './OrButton-835d4f11.js';
|
|
11
|
-
import { _ as __vue_component__$7 } from './OrSearch-
|
|
11
|
+
import { _ as __vue_component__$7 } from './OrSearch-1490c00b.js';
|
|
12
12
|
import './OrInputBox-4d5a318d.js';
|
|
13
13
|
|
|
14
14
|
const CardCollectionRoot = [
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { defineComponent,
|
|
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 { _ as __vue_component__$1, L as LabelVariant } from './OrLabel-2a9f1477.js';
|
|
5
6
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
@@ -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
|
|
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
|
-
|
|
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
|
|
181
|
+
}, 'input', _vm.controlAttributes, false)) , _vm._v(" "), _vm.$slots.default || _vm.label ? [_c('OrLabel', {
|
|
167
182
|
attrs: {
|
|
168
|
-
"control-id": _vm.
|
|
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-
|
|
190
|
-
source: "input[data-v-
|
|
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-
|
|
211
|
+
const __vue_scope_id__ = "data-v-41c8b6f2";
|
|
197
212
|
/* module identifier */
|
|
198
213
|
const __vue_module_identifier__ = undefined;
|
|
199
214
|
/* functional template */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watch } from 'vue-demi';
|
|
2
2
|
import { _ as __vue_component__$2, a as ButtonColor } from './OrButton-835d4f11.js';
|
|
3
3
|
import { _ as __vue_component__$1 } from './OrOverlay-18ba2dc6.js';
|
|
4
|
-
import { _ as __vue_component__$3 } from './OrInput-
|
|
4
|
+
import { _ as __vue_component__$3 } from './OrInput-e10cc643.js';
|
|
5
5
|
import { useMagicKeys, whenever } from '@vueuse/core';
|
|
6
6
|
import { logicAnd } from '@vueuse/math';
|
|
7
7
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|