@onereach/ui-components 2.74.13-beta.2365.0 → 2.74.13
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/{OrButton-0a9470c0.js → OrButton-0242b4c0.js} +1 -1
- package/dist/bundled/v2/{OrCardCollection-638bc4a8.js → OrCardCollection-04e767c2.js} +2 -2
- package/dist/bundled/v2/{OrConfirm-f7ade1d1.js → OrConfirm-a76ff6d2.js} +2 -2
- package/dist/bundled/v2/{OrInlineInput-20e93482.js → OrInlineInput-9304f205.js} +11 -9
- package/dist/bundled/v2/{OrInlineTextarea-e849ae9b.js → OrInlineTextarea-e0d28fc6.js} +11 -9
- package/dist/bundled/v2/{OrInput-15c2b072.js → OrInput-b8511a0c.js} +13 -12
- package/dist/bundled/v2/{OrInputBox-9a31d211.js → OrInputBox-e54dcef9.js} +12 -2
- package/dist/bundled/v2/{OrLoader-cf28bfa6.js → OrLoader-6bec8824.js} +10 -2
- package/dist/bundled/v2/{OrPagination-95f37111.js → OrPagination-166592a5.js} +1 -1
- package/dist/bundled/v2/{OrProgress-15fe65ec.js → OrProgress-01123d1f.js} +6 -2
- package/dist/bundled/v2/{OrSearch-8df5d7fd.js → OrSearch-60b64568.js} +2 -2
- package/dist/bundled/v2/{OrSelect-3ac5eefe.js → OrSelect-752bdd3b.js} +10 -11
- package/dist/bundled/v2/{OrSwitch-34f79eb1.js → OrSwitch-aa0da6b9.js} +1 -1
- package/dist/bundled/v2/{OrTextarea-53d756e4.js → OrTextarea-5fdf63d0.js} +12 -11
- package/dist/bundled/v2/components/index.js +15 -16
- package/dist/bundled/v2/components/or-button-v3/index.js +3 -2
- package/dist/bundled/v2/components/or-card-collection-v3/index.js +6 -7
- package/dist/bundled/v2/components/or-confirm-v3/index.js +5 -6
- package/dist/bundled/v2/components/or-inline-input-v3/OrInlineInput.vue.d.ts +7 -5
- package/dist/bundled/v2/components/or-inline-input-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +7 -5
- package/dist/bundled/v2/components/or-inline-textarea-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-input-box-v3/index.js +1 -2
- package/dist/bundled/v2/components/or-input-v3/OrInput.vue.d.ts +7 -5
- package/dist/bundled/v2/components/or-input-v3/index.js +3 -4
- package/dist/bundled/v2/components/or-loader-v3/OrLoader.vue.d.ts +2 -0
- package/dist/bundled/v2/components/or-loader-v3/index.js +2 -1
- package/dist/bundled/v2/components/or-pagination-v3/index.js +4 -4
- package/dist/bundled/v2/components/or-progress-v3/OrProgress.vue.d.ts +2 -0
- package/dist/bundled/v2/components/or-progress-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-search-v3/index.js +4 -5
- package/dist/bundled/v2/components/or-select-v3/OrSelect.vue.d.ts +7 -5
- package/dist/bundled/v2/components/or-select-v3/index.js +4 -5
- package/dist/bundled/v2/components/or-switch-v3/index.js +3 -2
- package/dist/bundled/v2/components/or-textarea-v3/OrTextarea.vue.d.ts +7 -5
- package/dist/bundled/v2/components/or-textarea-v3/index.js +2 -3
- package/dist/bundled/v2/components/or-toast-v3/index.js +2 -2
- package/dist/bundled/v2/index.js +16 -17
- package/dist/bundled/v2/{types-0e3ca5b9.js → types-e494517f.js} +1 -1
- package/dist/bundled/v3/{OrButton-a5b98ee2.js → OrButton-452d3149.js} +1 -1
- package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-e75f9a10.js → OrButton.vue_vue_type_script_lang-7d4f420c.js} +2 -2
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-990fb52d.js → OrCardCollection.vue_vue_type_script_lang-e71a0ea0.js} +3 -3
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-8ac01851.js → OrConfirm.vue_vue_type_script_lang-b550c3d3.js} +4 -4
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-18853dd7.js → OrInlineInput.vue_vue_type_script_lang-cd4a64f6.js} +5 -3
- package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-3cb238d6.js → OrInlineTextarea.vue_vue_type_script_lang-a73ff1ee.js} +5 -3
- package/dist/bundled/v3/{OrInput-2c10c351.js → OrInput-6d49f353.js} +5 -5
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-ce8b23e8.js → OrInput.vue_vue_type_script_lang-af68d0e7.js} +9 -8
- package/dist/bundled/v3/{OrInputBox-44f37541.js → OrInputBox-358d4856.js} +1 -1
- package/dist/{esm/v2/OrInputBox.vue_rollup-plugin-vue_script-4ba46db4.js → bundled/v3/OrInputBox.vue_vue_type_script_lang-b387d4ba.js} +1 -1
- package/dist/bundled/v3/{OrLoader-663e062d.js → OrLoader-be9d72cd.js} +11 -11
- package/dist/bundled/v3/{OrLoader.vue_vue_type_script_lang-8fc03499.js → OrLoader.vue_vue_type_script_lang-65971a23.js} +8 -0
- package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-b6e7592e.js → OrPagination.vue_vue_type_script_lang-a79c359c.js} +2 -2
- package/dist/bundled/v3/{OrProgress.vue_vue_type_script_lang-52f660d6.js → OrProgress.vue_vue_type_script_lang-c387db0b.js} +4 -0
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-db6e6f7f.js → OrSearch.vue_vue_type_script_lang-8c37e5a7.js} +3 -3
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-52193c4c.js → OrSelect.vue_vue_type_script_lang-35ac0247.js} +8 -9
- package/dist/bundled/v3/{OrSwitch.vue_vue_type_script_lang-f6039c8f.js → OrSwitch.vue_vue_type_script_lang-fd43080e.js} +2 -2
- package/dist/bundled/v3/{OrTextarea.vue_vue_type_script_lang-b2899ba6.js → OrTextarea.vue_vue_type_script_lang-de99a858.js} +7 -6
- package/dist/bundled/v3/{OrToastContainer-5c99d3ce.js → OrToastContainer-6a85ebf8.js} +1 -1
- package/dist/bundled/v3/components/index.js +19 -20
- package/dist/bundled/v3/components/or-button-v3/index.js +4 -3
- package/dist/bundled/v3/components/or-card-collection-v3/index.js +10 -11
- package/dist/bundled/v3/components/or-confirm-v3/index.js +9 -10
- package/dist/bundled/v3/components/or-inline-input-v3/OrInlineInput.vue.d.ts +7 -5
- package/dist/bundled/v3/components/or-inline-input-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +7 -5
- package/dist/bundled/v3/components/or-inline-textarea-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-input-box-v3/index.js +1 -2
- package/dist/bundled/v3/components/or-input-v3/OrInput.vue.d.ts +7 -5
- package/dist/bundled/v3/components/or-input-v3/index.js +5 -6
- package/dist/bundled/v3/components/or-loader-v3/OrLoader.vue.d.ts +2 -0
- package/dist/bundled/v3/components/or-loader-v3/index.js +2 -1
- package/dist/bundled/v3/components/or-pagination-v3/index.js +6 -6
- package/dist/bundled/v3/components/or-progress-v3/OrProgress.vue.d.ts +2 -0
- package/dist/bundled/v3/components/or-progress-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-search-v3/index.js +7 -8
- package/dist/bundled/v3/components/or-select-v3/OrSelect.vue.d.ts +7 -5
- package/dist/bundled/v3/components/or-select-v3/index.js +7 -8
- package/dist/bundled/v3/components/or-switch-v3/index.js +4 -3
- package/dist/bundled/v3/components/or-textarea-v3/OrTextarea.vue.d.ts +7 -5
- package/dist/bundled/v3/components/or-textarea-v3/index.js +3 -4
- package/dist/bundled/v3/components/or-toast-v3/index.js +4 -4
- package/dist/bundled/v3/index.js +65 -65
- package/dist/bundled/v3/{types-5a9ace3b.js → types-661a05a5.js} +2 -2
- package/dist/esm/v2/{OrButton-49f7f20b.js → OrButton-c5ec96e7.js} +1 -1
- package/dist/esm/v2/{OrCardCollection-ffa4e842.js → OrCardCollection-f7856175.js} +3 -3
- package/dist/esm/v2/{OrConfirm-73a902ce.js → OrConfirm-98d62065.js} +2 -2
- package/dist/esm/v2/{OrInlineInput-b003ddde.js → OrInlineInput-df02ab5d.js} +11 -9
- package/dist/esm/v2/{OrInlineTextarea-6349b529.js → OrInlineTextarea-ad120656.js} +11 -9
- package/dist/esm/v2/{OrInput-67eb3178.js → OrInput-3bb91436.js} +13 -12
- package/dist/{bundled/v3/OrInputBox.vue_vue_type_script_lang-c4f9c8ef.js → esm/v2/OrInputBox-53d1f66d.js} +53 -3
- package/dist/esm/v2/{OrLoader-8f1f3af1.js → OrLoader-b11ed386.js} +10 -2
- package/dist/esm/v2/{OrPagination-81d4476a.js → OrPagination-a9233838.js} +1 -1
- package/dist/esm/v2/{OrProgress-b7d1c689.js → OrProgress-ff999494.js} +6 -2
- package/dist/esm/v2/{OrSearch-a5cab600.js → OrSearch-dad9b02f.js} +2 -2
- package/dist/esm/v2/{OrSelect-2773ebeb.js → OrSelect-7ef80130.js} +10 -11
- package/dist/esm/v2/{OrSwitch-1bd5b4d1.js → OrSwitch-6129b63d.js} +1 -1
- package/dist/esm/v2/{OrTextarea-0bf9bf33.js → OrTextarea-0a64f718.js} +12 -11
- package/dist/esm/v2/components/index.js +15 -16
- package/dist/esm/v2/components/or-button-v3/index.js +3 -2
- package/dist/esm/v2/components/or-card-collection-v3/index.js +7 -8
- package/dist/esm/v2/components/or-confirm-v3/index.js +5 -6
- package/dist/esm/v2/components/or-inline-input-v3/OrInlineInput.vue.d.ts +7 -5
- package/dist/esm/v2/components/or-inline-input-v3/index.js +1 -1
- package/dist/esm/v2/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +7 -5
- package/dist/esm/v2/components/or-inline-textarea-v3/index.js +1 -1
- package/dist/esm/v2/components/or-input-box-v3/index.js +2 -3
- package/dist/esm/v2/components/or-input-v3/OrInput.vue.d.ts +7 -5
- package/dist/esm/v2/components/or-input-v3/index.js +3 -4
- package/dist/esm/v2/components/or-loader-v3/OrLoader.vue.d.ts +2 -0
- package/dist/esm/v2/components/or-loader-v3/index.js +2 -1
- package/dist/esm/v2/components/or-pagination-v3/index.js +4 -4
- package/dist/esm/v2/components/or-progress-v3/OrProgress.vue.d.ts +2 -0
- package/dist/esm/v2/components/or-progress-v3/index.js +1 -1
- package/dist/esm/v2/components/or-search-v3/index.js +4 -5
- package/dist/esm/v2/components/or-select-v3/OrSelect.vue.d.ts +7 -5
- package/dist/esm/v2/components/or-select-v3/index.js +4 -5
- package/dist/esm/v2/components/or-switch-v3/index.js +2 -2
- package/dist/esm/v2/components/or-textarea-v3/OrTextarea.vue.d.ts +7 -5
- package/dist/esm/v2/components/or-textarea-v3/index.js +2 -3
- package/dist/esm/v2/components/or-toast-v3/index.js +2 -2
- package/dist/esm/v2/index.js +15 -16
- package/dist/esm/v2/{types-d5127999.js → types-e9a54dcf.js} +1 -1
- package/dist/esm/v3/{OrButton-eab948fb.js → OrButton-9f059df6.js} +1 -1
- package/dist/esm/v3/{OrCardCollection-274a413e.js → OrCardCollection-4cb41408.js} +2 -2
- package/dist/esm/v3/{OrConfirm-c73aa589.js → OrConfirm-19da64d1.js} +2 -2
- package/dist/esm/v3/{OrInlineInput-65127ed7.js → OrInlineInput-cd3753ee.js} +9 -7
- package/dist/esm/v3/{OrInlineTextarea-176a2701.js → OrInlineTextarea-4c5b0390.js} +9 -7
- package/dist/esm/v3/{OrInput-86c9d300.js → OrInput-ae9f6871.js} +10 -8
- package/dist/esm/v3/{OrLoader-3a918ce9.js → OrLoader-18f66bca.js} +18 -10
- package/dist/esm/v3/{OrPagination-94c2095f.js → OrPagination-183803e7.js} +1 -1
- package/dist/esm/v3/{OrProgress-639ed5e8.js → OrProgress-f881a58a.js} +15 -10
- package/dist/esm/v3/{OrSearch-1a92f8cf.js → OrSearch-6f6b4fcd.js} +1 -1
- package/dist/esm/v3/{OrSelect-e1443e71.js → OrSelect-96bf9b63.js} +9 -9
- package/dist/esm/v3/{OrSwitch-0e92c92c.js → OrSwitch-2a23a9b8.js} +1 -1
- package/dist/esm/v3/{OrTextarea-14a6b456.js → OrTextarea-42d21f77.js} +9 -7
- package/dist/esm/v3/components/index.js +14 -14
- package/dist/esm/v3/components/or-button-v3/index.js +3 -2
- package/dist/esm/v3/components/or-card-collection-v3/index.js +6 -6
- package/dist/esm/v3/components/or-confirm-v3/index.js +4 -4
- package/dist/esm/v3/components/or-inline-input-v3/OrInlineInput.vue.d.ts +7 -5
- package/dist/esm/v3/components/or-inline-input-v3/index.js +1 -1
- package/dist/esm/v3/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +7 -5
- package/dist/esm/v3/components/or-inline-textarea-v3/index.js +1 -1
- package/dist/esm/v3/components/or-input-v3/OrInput.vue.d.ts +7 -5
- package/dist/esm/v3/components/or-input-v3/index.js +2 -2
- package/dist/esm/v3/components/or-loader-v3/OrLoader.vue.d.ts +2 -0
- package/dist/esm/v3/components/or-loader-v3/index.js +2 -1
- package/dist/esm/v3/components/or-pagination-v3/index.js +4 -4
- package/dist/esm/v3/components/or-progress-v3/OrProgress.vue.d.ts +2 -0
- package/dist/esm/v3/components/or-progress-v3/index.js +1 -1
- package/dist/esm/v3/components/or-search-v3/index.js +3 -3
- package/dist/esm/v3/components/or-select-v3/OrSelect.vue.d.ts +7 -5
- package/dist/esm/v3/components/or-select-v3/index.js +3 -3
- package/dist/esm/v3/components/or-switch-v3/index.js +2 -2
- package/dist/esm/v3/components/or-textarea-v3/OrTextarea.vue.d.ts +7 -5
- package/dist/esm/v3/components/or-textarea-v3/index.js +1 -1
- package/dist/esm/v3/components/or-toast-v3/index.js +2 -2
- package/dist/esm/v3/index.js +14 -14
- package/dist/esm/v3/{types-f6f8ab6b.js → types-b9717ff2.js} +1 -1
- package/package.json +4 -3
- package/src/components/or-inline-input-v3/OrInlineInput.vue +7 -4
- package/src/components/or-inline-input-v3/styles.ts +2 -2
- package/src/components/or-inline-textarea-v3/OrInlineTextarea.vue +7 -4
- package/src/components/or-inline-textarea-v3/styles.ts +2 -2
- package/src/components/or-input-v3/OrInput.vue +7 -4
- package/src/components/or-input-v3/styles.ts +2 -2
- package/src/components/or-loader-v3/OrLoader.vue +12 -2
- package/src/components/or-progress-v3/OrProgress.vue +9 -2
- package/src/components/or-select-v3/OrSelect.stories3.ts +0 -4
- package/src/components/or-select-v3/OrSelect.vue +6 -4
- package/src/components/or-select-v3/styles.ts +1 -4
- package/src/components/or-textarea-v3/OrTextarea.vue +7 -4
- package/src/components/or-textarea-v3/styles.ts +2 -2
- package/dist/bundled/v2/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +0 -105
- package/dist/bundled/v2/components/or-combined-input-v3/index.d.ts +0 -2
- package/dist/bundled/v2/components/or-combined-input-v3/index.js +0 -146
- package/dist/bundled/v2/components/or-combined-input-v3/props.d.ts +0 -1
- package/dist/bundled/v2/components/or-combined-input-v3/styles.d.ts +0 -2
- package/dist/bundled/v2/props-78496a2d.js +0 -12
- package/dist/bundled/v3/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +0 -105
- package/dist/bundled/v3/components/or-combined-input-v3/index.d.ts +0 -2
- package/dist/bundled/v3/components/or-combined-input-v3/index.js +0 -128
- package/dist/bundled/v3/components/or-combined-input-v3/props.d.ts +0 -1
- package/dist/bundled/v3/components/or-combined-input-v3/styles.d.ts +0 -2
- package/dist/bundled/v3/props-78496a2d.js +0 -12
- package/dist/esm/v2/OrInputBox-5c4b3104.js +0 -43
- package/dist/esm/v2/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +0 -105
- package/dist/esm/v2/components/or-combined-input-v3/index.d.ts +0 -2
- package/dist/esm/v2/components/or-combined-input-v3/index.js +0 -143
- package/dist/esm/v2/components/or-combined-input-v3/props.d.ts +0 -1
- package/dist/esm/v2/components/or-combined-input-v3/styles.d.ts +0 -2
- package/dist/esm/v3/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +0 -105
- package/dist/esm/v3/components/or-combined-input-v3/index.d.ts +0 -2
- package/dist/esm/v3/components/or-combined-input-v3/index.js +0 -127
- package/dist/esm/v3/components/or-combined-input-v3/props.d.ts +0 -1
- package/dist/esm/v3/components/or-combined-input-v3/styles.d.ts +0 -2
- package/src/components/or-combined-input-v3/OrCombinedInput.docs.mdx +0 -7
- package/src/components/or-combined-input-v3/OrCombinedInput.stories3.ts +0 -201
- package/src/components/or-combined-input-v3/OrCombinedInput.vue +0 -127
- package/src/components/or-combined-input-v3/index.ts +0 -2
- package/src/components/or-combined-input-v3/props.ts +0 -1
- package/src/components/or-combined-input-v3/styles.ts +0 -25
|
@@ -11,6 +11,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
11
11
|
progressBarMainPartStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
12
12
|
strokeDasharray: import("@vue/composition-api").ComputedRef<number>;
|
|
13
13
|
strokeDashoffset: import("@vue/composition-api").ComputedRef<number | undefined>;
|
|
14
|
+
strokeWidth: import("@vue/composition-api").ComputedRef<number | "100%">;
|
|
14
15
|
localProgress: import("@vue/composition-api").ComputedRef<number>;
|
|
15
16
|
localValue: import("@vue/composition-api").ComputedRef<number>;
|
|
16
17
|
percent: import("@vue/composition-api").ComputedRef<string>;
|
|
@@ -117,6 +118,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
117
118
|
progressBarMainPartStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
118
119
|
strokeDasharray: import("@vue/composition-api").ComputedRef<number>;
|
|
119
120
|
strokeDashoffset: import("@vue/composition-api").ComputedRef<number | undefined>;
|
|
121
|
+
strokeWidth: import("@vue/composition-api").ComputedRef<number | "100%">;
|
|
120
122
|
localProgress: import("@vue/composition-api").ComputedRef<number>;
|
|
121
123
|
localValue: import("@vue/composition-api").ComputedRef<number>;
|
|
122
124
|
percent: import("@vue/composition-api").ComputedRef<string>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { s as OrProgressV3, P as ProgressColor, a as ProgressType } from '../../OrProgress-
|
|
1
|
+
export { s as OrProgressV3, P as ProgressColor, a as ProgressType } from '../../OrProgress-f881a58a.js';
|
|
2
2
|
import '@vueuse/core';
|
|
3
3
|
import 'lodash';
|
|
4
4
|
import 'vue-demi';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { s as OrSearchV3 } from '../../OrSearch-
|
|
1
|
+
export { s as OrSearchV3 } from '../../OrSearch-6f6b4fcd.js';
|
|
2
2
|
export { a as SearchSize } from '../../OrInputBox-2467d7e4.js';
|
|
3
3
|
import '@vueuse/core';
|
|
4
4
|
import 'vue-demi';
|
|
5
|
-
import '../../OrInput-
|
|
5
|
+
import '../../OrInput-ae9f6871.js';
|
|
6
6
|
import '../../useIdAttribute-859439f0.js';
|
|
7
7
|
import '../../useResponsive-a02e95b7.js';
|
|
8
8
|
import '../../useValidationAttributes-d1abbe34.js';
|
|
@@ -19,5 +19,5 @@ import '../../OrBottomSheet-9c291056.js';
|
|
|
19
19
|
import '../../OrOverlay-55f6cf9c.js';
|
|
20
20
|
import '../../OrTeleport.vue3-8099178c.js';
|
|
21
21
|
import '../../OrLabel-f700f9fb.js';
|
|
22
|
-
import '../../OrLoader-
|
|
22
|
+
import '../../OrLoader-18f66bca.js';
|
|
23
23
|
import '../../style-inject.es-4c6f2515.js';
|
|
@@ -24,6 +24,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
24
24
|
noSearchResultsStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
25
25
|
controlId: import("@vue/composition-api").Ref<string>;
|
|
26
26
|
proxyModelValue: import("@vue/composition-api").WritableComputedRef<string | number | (string | number)[]>;
|
|
27
|
+
invalid: import("@vue/composition-api").ComputedRef<boolean>;
|
|
27
28
|
readonly: import("@vue/composition-api").ComputedRef<boolean>;
|
|
28
29
|
selection: import("@vue/composition-api").ComputedRef<SelectOption | (SelectOption | undefined)[] | undefined>;
|
|
29
30
|
searchText: import("@vue/composition-api").Ref<string>;
|
|
@@ -72,7 +73,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
72
73
|
default: undefined;
|
|
73
74
|
};
|
|
74
75
|
error: {
|
|
75
|
-
type:
|
|
76
|
+
type: StringConstructor;
|
|
76
77
|
default: undefined;
|
|
77
78
|
};
|
|
78
79
|
required: {
|
|
@@ -137,7 +138,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
137
138
|
default: undefined;
|
|
138
139
|
};
|
|
139
140
|
error: {
|
|
140
|
-
type:
|
|
141
|
+
type: StringConstructor;
|
|
141
142
|
default: undefined;
|
|
142
143
|
};
|
|
143
144
|
required: {
|
|
@@ -177,7 +178,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
177
178
|
size: SelectSize;
|
|
178
179
|
placeholder: string;
|
|
179
180
|
hint: string;
|
|
180
|
-
error: string
|
|
181
|
+
error: string;
|
|
181
182
|
required: boolean;
|
|
182
183
|
disabled: boolean;
|
|
183
184
|
disableDefaultStyles: boolean;
|
|
@@ -210,6 +211,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
210
211
|
noSearchResultsStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
211
212
|
controlId: import("@vue/composition-api").Ref<string>;
|
|
212
213
|
proxyModelValue: import("@vue/composition-api").WritableComputedRef<string | number | (string | number)[]>;
|
|
214
|
+
invalid: import("@vue/composition-api").ComputedRef<boolean>;
|
|
213
215
|
readonly: import("@vue/composition-api").ComputedRef<boolean>;
|
|
214
216
|
selection: import("@vue/composition-api").ComputedRef<SelectOption | (SelectOption | undefined)[] | undefined>;
|
|
215
217
|
searchText: import("@vue/composition-api").Ref<string>;
|
|
@@ -233,7 +235,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
233
235
|
size: SelectSize;
|
|
234
236
|
placeholder: string;
|
|
235
237
|
hint: string;
|
|
236
|
-
error: string
|
|
238
|
+
error: string;
|
|
237
239
|
required: boolean;
|
|
238
240
|
disabled: boolean;
|
|
239
241
|
disableDefaultStyles: boolean;
|
|
@@ -252,7 +254,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
252
254
|
size: SelectSize;
|
|
253
255
|
placeholder: string;
|
|
254
256
|
hint: string;
|
|
255
|
-
error: string
|
|
257
|
+
error: string;
|
|
256
258
|
required: boolean;
|
|
257
259
|
disabled: boolean;
|
|
258
260
|
disableDefaultStyles: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { s as OrSelectV3 } from '../../OrSelect-
|
|
1
|
+
export { s as OrSelectV3 } from '../../OrSelect-96bf9b63.js';
|
|
2
2
|
export { a as SelectSize } from '../../OrInputBox-2467d7e4.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '../../dropdown-open-0d314aa4.js';
|
|
@@ -13,7 +13,7 @@ import '../../OrError-19198748.js';
|
|
|
13
13
|
import '../../OrExpansionPanel-541cc4c1.js';
|
|
14
14
|
import '../../OrIcon-ea40e58c.js';
|
|
15
15
|
import '../../OrHint-6863124f.js';
|
|
16
|
-
import '../../OrInput-
|
|
16
|
+
import '../../OrInput-ae9f6871.js';
|
|
17
17
|
import '../../useResponsive-a02e95b7.js';
|
|
18
18
|
import '../../useValidationAttributes-d1abbe34.js';
|
|
19
19
|
import '../../OrIconButton-385e997c.js';
|
|
@@ -24,6 +24,6 @@ import '../../useElevation-92fce12c.js';
|
|
|
24
24
|
import '../../OrBottomSheet-9c291056.js';
|
|
25
25
|
import '../../OrOverlay-55f6cf9c.js';
|
|
26
26
|
import '../../OrTeleport.vue3-8099178c.js';
|
|
27
|
-
import '../../OrLoader-
|
|
27
|
+
import '../../OrLoader-18f66bca.js';
|
|
28
28
|
import '../../OrMenuItem-de91aded.js';
|
|
29
29
|
import '../../OrTag-330457a7.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { s as OrSwitchV3 } from '../../OrSwitch-
|
|
1
|
+
export { s as OrSwitchV3 } from '../../OrSwitch-2a23a9b8.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
3
|
import '../../useIdAttribute-859439f0.js';
|
|
4
4
|
import '@vueuse/core';
|
|
5
5
|
import '../../OrLabel-f700f9fb.js';
|
|
6
6
|
import 'vue';
|
|
7
|
-
import '../../OrLoader-
|
|
7
|
+
import '../../OrLoader-18f66bca.js';
|
|
8
8
|
import '../../style-inject.es-4c6f2515.js';
|
|
@@ -21,6 +21,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
21
21
|
proxyModelValue: import("@vue/composition-api").WritableComputedRef<string>;
|
|
22
22
|
currentLength: import("@vue/composition-api").ComputedRef<number>;
|
|
23
23
|
maxLength: import("@vue/composition-api").ComputedRef<number | undefined>;
|
|
24
|
+
invalid: import("@vue/composition-api").ComputedRef<boolean>;
|
|
24
25
|
focus: () => void;
|
|
25
26
|
blur: () => void;
|
|
26
27
|
}> & import("@vue/composition-api").Data, {}, {}, {
|
|
@@ -45,7 +46,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
45
46
|
default: undefined;
|
|
46
47
|
};
|
|
47
48
|
error: {
|
|
48
|
-
type:
|
|
49
|
+
type: StringConstructor;
|
|
49
50
|
default: undefined;
|
|
50
51
|
};
|
|
51
52
|
required: {
|
|
@@ -82,7 +83,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
82
83
|
default: undefined;
|
|
83
84
|
};
|
|
84
85
|
error: {
|
|
85
|
-
type:
|
|
86
|
+
type: StringConstructor;
|
|
86
87
|
default: undefined;
|
|
87
88
|
};
|
|
88
89
|
required: {
|
|
@@ -103,7 +104,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
103
104
|
label: string;
|
|
104
105
|
placeholder: string;
|
|
105
106
|
hint: string;
|
|
106
|
-
error: string
|
|
107
|
+
error: string;
|
|
107
108
|
required: boolean;
|
|
108
109
|
readonly: boolean;
|
|
109
110
|
disabled: boolean;
|
|
@@ -130,6 +131,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
130
131
|
proxyModelValue: import("@vue/composition-api").WritableComputedRef<string>;
|
|
131
132
|
currentLength: import("@vue/composition-api").ComputedRef<number>;
|
|
132
133
|
maxLength: import("@vue/composition-api").ComputedRef<number | undefined>;
|
|
134
|
+
invalid: import("@vue/composition-api").ComputedRef<boolean>;
|
|
133
135
|
focus: () => void;
|
|
134
136
|
blur: () => void;
|
|
135
137
|
}>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
|
|
@@ -138,7 +140,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
138
140
|
label: string;
|
|
139
141
|
placeholder: string;
|
|
140
142
|
hint: string;
|
|
141
|
-
error: string
|
|
143
|
+
error: string;
|
|
142
144
|
required: boolean;
|
|
143
145
|
readonly: boolean;
|
|
144
146
|
disabled: boolean;
|
|
@@ -150,7 +152,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
150
152
|
label: string;
|
|
151
153
|
placeholder: string;
|
|
152
154
|
hint: string;
|
|
153
|
-
error: string
|
|
155
|
+
error: string;
|
|
154
156
|
required: boolean;
|
|
155
157
|
readonly: boolean;
|
|
156
158
|
disabled: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from '../../types-
|
|
1
|
+
export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from '../../types-b9717ff2.js';
|
|
2
2
|
export { p as PropsV3, a as useQueueV3, u as useToastV3 } from '../../useToast-0665462d.js';
|
|
3
3
|
import '@vueuse/core';
|
|
4
4
|
import 'vue-demi';
|
|
@@ -13,5 +13,5 @@ import '../../useElevation-92fce12c.js';
|
|
|
13
13
|
import '../../useResponsive-a02e95b7.js';
|
|
14
14
|
import '../../OrBottomSheet-9c291056.js';
|
|
15
15
|
import '../../OrOverlay-55f6cf9c.js';
|
|
16
|
-
import '../../OrLoader-
|
|
16
|
+
import '../../OrLoader-18f66bca.js';
|
|
17
17
|
import '../../style-inject.es-4c6f2515.js';
|
package/dist/esm/v3/index.js
CHANGED
|
@@ -3,10 +3,10 @@ export { a as AvatarColor, A as AvatarSize, s as OrAvatarV3 } from './OrAvatar-0
|
|
|
3
3
|
export { s as OrBottomSheetV3 } from './OrBottomSheet-9c291056.js';
|
|
4
4
|
export { s as OrButton, a as OrButtonColors, b as OrButtonSizes, O as OrButtonViews } from './OrButton-fca9019a.js';
|
|
5
5
|
export { b as BUTTON_COLOR, d as BUTTON_LOADER_TYPE, c as BUTTON_SIZE, B as BUTTON_TYPE, I as ICON_BUTTON_TYPE, s as OrButtonV2, a as OrIconButton } from './OrIconButton-b668558a.js';
|
|
6
|
-
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, s as OrButtonV3 } from './OrButton-
|
|
6
|
+
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, s as OrButtonV3 } from './OrButton-9f059df6.js';
|
|
7
7
|
export { s as OrCard } from './OrCard-e3a5aea4.js';
|
|
8
8
|
export { C as CARD_COLLECTION_LAYOUT, s as OrCardCollection } from './OrCardCollection-1258cd45.js';
|
|
9
|
-
export { D as DefaultCardCollectionViews, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './OrCardCollection-
|
|
9
|
+
export { D as DefaultCardCollectionViews, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './OrCardCollection-4cb41408.js';
|
|
10
10
|
export { s as OrCardV3 } from './OrCard-cd6af82e.js';
|
|
11
11
|
export { a as OrCarousel, s as OrCarouselItem } from './OrCarouselItem-a3a855e8.js';
|
|
12
12
|
export { s as OrCheckbox } from './OrCheckbox-8d8887ea.js';
|
|
@@ -16,7 +16,7 @@ export { s as OrCode, O as OrCodeLanguages } from './OrCode-033d49f4.js';
|
|
|
16
16
|
export { s as OrCollapse } from './OrCollapse-37a52e8f.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-9a149e6b.js';
|
|
18
18
|
export { s as OrConfirm } from './OrConfirm-45796889.js';
|
|
19
|
-
export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirm-
|
|
19
|
+
export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirm-19da64d1.js';
|
|
20
20
|
export { D as DEFAULT_TEXT, s as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from './OrDateTimePicker-efd8aae7.js';
|
|
21
21
|
export { s as OrError } from './OrError-f90296db.js';
|
|
22
22
|
export { s as OrErrorTagV3 } from './OrErrorTag-0025b17c.js';
|
|
@@ -31,11 +31,11 @@ export { s as OrIcon, O as OrIconColors, a as OrIconType } from './OrIcon-ed3e10
|
|
|
31
31
|
export { I as IconButtonColor, s as OrIconButtonV3 } from './OrIconButton-385e997c.js';
|
|
32
32
|
export { I as IconButtonSize, I as IconSize, a as IconVariant, s as OrIconV3 } from './OrIcon-ea40e58c.js';
|
|
33
33
|
export { I as InlineInputBoxSize, I as InlineInputSize, s as OrInlineInputBoxV3 } from './OrInlineInputBox-09b33e18.js';
|
|
34
|
-
export { I as InlineInputType, s as OrInlineInputV3 } from './OrInlineInput-
|
|
34
|
+
export { I as InlineInputType, s as OrInlineInputV3 } from './OrInlineInput-cd3753ee.js';
|
|
35
35
|
export { a as InlineTextEditTrimmingTypes, I as InlineTextEditTypes, s as OrInlineTextEdit } from './OrInlineTextEdit-adf71cc1.js';
|
|
36
|
-
export { s as OrInlineTextareaV3 } from './OrInlineTextarea-
|
|
36
|
+
export { s as OrInlineTextareaV3 } from './OrInlineTextarea-4c5b0390.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-2467d7e4.js';
|
|
38
|
-
export { I as InputType, s as OrInputV3 } from './OrInput-
|
|
38
|
+
export { I as InputType, s as OrInputV3 } from './OrInput-ae9f6871.js';
|
|
39
39
|
export { s as OrInput } from './OrInput-0dbd5a01.js';
|
|
40
40
|
export { s as OrLabel } from './OrLabel-876f8729.js';
|
|
41
41
|
export { L as LabelVariant, s as OrLabelV3 } from './OrLabel-f700f9fb.js';
|
|
@@ -43,7 +43,7 @@ export { L as LinkColor, s as OrLinkV3 } from './OrLink-07f6f27d.js';
|
|
|
43
43
|
export { s as OrList } from './OrList-1255fc81.js';
|
|
44
44
|
export { s as OrListOfInputs } from './OrListOfInputs-7611470b.js';
|
|
45
45
|
export { L as LoaderViews, s as OrLoader } from './OrLoader-15174477.js';
|
|
46
|
-
export { a as LoaderColor, b as LoaderSize, L as LoaderVariant, s as OrLoaderV3 } from './OrLoader-
|
|
46
|
+
export { a as LoaderColor, b as LoaderSize, L as LoaderVariant, s as OrLoaderV3 } from './OrLoader-18f66bca.js';
|
|
47
47
|
export { s as OrMenuItemV3 } from './OrMenuItem-de91aded.js';
|
|
48
48
|
export { s as OrMenuV3 } from './OrMenu-b4e8136c.js';
|
|
49
49
|
export { P as MenuPlacement, s as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant, P as TooltipPlacement } from './OrPopover-35ee1b1e.js';
|
|
@@ -56,17 +56,17 @@ export { s as OrOverflowMenu } from './OrOverflowMenu-775d380c.js';
|
|
|
56
56
|
export { s as OrOverlay } from './OrOverlay-451dce49.js';
|
|
57
57
|
export { s as OrOverlayV3 } from './OrOverlay-55f6cf9c.js';
|
|
58
58
|
export { s as OrPassword } from './OrPassword-d18b4400.js';
|
|
59
|
-
export { s as OrPaginationV3 } from './OrPagination-
|
|
59
|
+
export { s as OrPaginationV3 } from './OrPagination-183803e7.js';
|
|
60
60
|
export { s as OrProgress, O as OrProgressColors, a as OrProgressTypes } from './OrProgress-d0d52c86.js';
|
|
61
|
-
export { s as OrProgressV3, P as ProgressColor, a as ProgressType } from './OrProgress-
|
|
61
|
+
export { s as OrProgressV3, P as ProgressColor, a as ProgressType } from './OrProgress-f881a58a.js';
|
|
62
62
|
export { s as OrRadio } from './OrRadio-c3ab11f2.js';
|
|
63
63
|
export { s as OrRadioGroup } from './OrRadioGroup-00785e41.js';
|
|
64
64
|
export { s as OrRadioV3 } from './OrRadio-97fb105f.js';
|
|
65
65
|
export { s as OrSearch } from './OrSearch-4a5c943b.js';
|
|
66
|
-
export { s as OrSearchV3 } from './OrSearch-
|
|
66
|
+
export { s as OrSearchV3 } from './OrSearch-6f6b4fcd.js';
|
|
67
67
|
export { s as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-880b4911.js';
|
|
68
68
|
export { s as OrSelect } from './OrSelect-88e5dfaf.js';
|
|
69
|
-
export { s as OrSelectV3 } from './OrSelect-
|
|
69
|
+
export { s as OrSelectV3 } from './OrSelect-96bf9b63.js';
|
|
70
70
|
export { s as OrSidebar, O as OrSidebarSide } from './OrSidebar-375c85a3.js';
|
|
71
71
|
export { s as OrSidebarV3 } from './OrSidebar-64703ef6.js';
|
|
72
72
|
export { O as OrSidebarPlacement } from './OrSidebarCollapseButton-506fc73c.js';
|
|
@@ -76,7 +76,7 @@ export { s as OrSlider } from './OrSlider-858576e2.js';
|
|
|
76
76
|
export { s as OrSortHeaderV3 } from './OrSortHeader-f66dcb37.js';
|
|
77
77
|
export { s as OrStepper } from './OrStepper-17400c41.js';
|
|
78
78
|
export { s as OrSwitch } from './OrSwitch-c333ee32.js';
|
|
79
|
-
export { s as OrSwitchV3 } from './OrSwitch-
|
|
79
|
+
export { s as OrSwitchV3 } from './OrSwitch-2a23a9b8.js';
|
|
80
80
|
export { s as OrTab } from './OrTab-bc98be02.js';
|
|
81
81
|
export { s as OrTabHeaderItem } from './OrTabHeaderItem-d668cc59.js';
|
|
82
82
|
export { s as OrTabV3 } from './OrTab-d3785ea4.js';
|
|
@@ -88,11 +88,11 @@ export { s as OrTeleport } from './OrTeleport.vue3-9bce0c02.js';
|
|
|
88
88
|
export { s as OrTeleportV3 } from './OrTeleport.vue3-8099178c.js';
|
|
89
89
|
export { s as OrTextV3 } from './OrText-a3b00048.js';
|
|
90
90
|
export { s as OrTextarea } from './OrTextarea-de1ecb0f.js';
|
|
91
|
-
export { s as OrTextareaV3 } from './OrTextarea-
|
|
91
|
+
export { s as OrTextareaV3 } from './OrTextarea-42d21f77.js';
|
|
92
92
|
export { s as OrTextbox, T as TextboxTypes } from './OrTextbox-5c1cf735.js';
|
|
93
93
|
export { s as OrToast, a as OrToastContainer } from './OrToastContainer-11a58425.js';
|
|
94
94
|
export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from './useToast-4fbe0e5a.js';
|
|
95
|
-
export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from './types-
|
|
95
|
+
export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from './types-b9717ff2.js';
|
|
96
96
|
export { p as PropsV3, a as useQueueV3, u as useToastV3 } from './useToast-0665462d.js';
|
|
97
97
|
export { s as OrTooltip, a as OrTooltipContent } from './OrTooltip-8d7385bc.js';
|
|
98
98
|
export { s as OrTooltipV3 } from './OrTooltip-e5fe74d6.js';
|
|
@@ -3,7 +3,7 @@ import { defineComponent, ref, computed, onBeforeMount, onBeforeUnmount, nextTic
|
|
|
3
3
|
import { s as script$4 } from './OrTeleport.vue3-8099178c.js';
|
|
4
4
|
import { T as ToastType, P as PositionsX, b as PositionsY, c as TransitionType, d as useToastEventBus, a as useQueue } from './useToast-0665462d.js';
|
|
5
5
|
import { s as script$2 } from './OrIconButton-385e997c.js';
|
|
6
|
-
import { s as script$3 } from './OrLoader-
|
|
6
|
+
import { s as script$3 } from './OrLoader-18f66bca.js';
|
|
7
7
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, renderSlot, createCommentVNode, createVNode, createElementVNode, toDisplayString, createBlock, withModifiers, withCtx, TransitionGroup, Fragment, renderList, mergeProps } from 'vue';
|
|
8
8
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
9
9
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onereach/ui-components",
|
|
3
|
-
"version": "2.74.13
|
|
3
|
+
"version": "2.74.13",
|
|
4
4
|
"description": "Vue components library for v2/3",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "./dist/auto/index.js",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@codemirror/lang-json": "6.0.0",
|
|
39
39
|
"@codemirror/lang-markdown": "6.0.1",
|
|
40
40
|
"@floating-ui/dom": "0.3.1",
|
|
41
|
-
"@onereach/styles": "^2.35.1
|
|
41
|
+
"@onereach/styles": "^2.35.1",
|
|
42
42
|
"@splidejs/splide": "4.0.6",
|
|
43
43
|
"@types/lodash": "4.14.173",
|
|
44
44
|
"@types/sortablejs": "1.10.7",
|
|
@@ -124,5 +124,6 @@
|
|
|
124
124
|
"default": "./dist/bundled/v3/components/*/index.js"
|
|
125
125
|
},
|
|
126
126
|
"./package.json": "./package.json"
|
|
127
|
-
}
|
|
127
|
+
},
|
|
128
|
+
"gitHead": "cfa25cc86fde585263be7e6e8562054b3cd084c5"
|
|
128
129
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<div :class="['layout-row', 'gap-sm+']">
|
|
7
7
|
<OrInlineInputBox
|
|
8
8
|
:size="size"
|
|
9
|
-
:invalid="
|
|
9
|
+
:invalid="invalid"
|
|
10
10
|
>
|
|
11
11
|
<input
|
|
12
12
|
ref="control"
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
</template>
|
|
41
41
|
</div>
|
|
42
42
|
|
|
43
|
-
<template v-if="!
|
|
43
|
+
<template v-if="!invalid">
|
|
44
44
|
<template v-if="hint || maxLength">
|
|
45
45
|
<OrHint>
|
|
46
46
|
{{ hint }}
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
</template>
|
|
56
56
|
</template>
|
|
57
57
|
|
|
58
|
-
<template v-
|
|
58
|
+
<template v-else>
|
|
59
59
|
<OrError>
|
|
60
60
|
{{ error }}
|
|
61
61
|
|
|
@@ -127,7 +127,7 @@ export default defineComponent({
|
|
|
127
127
|
},
|
|
128
128
|
|
|
129
129
|
error: {
|
|
130
|
-
type:
|
|
130
|
+
type: String,
|
|
131
131
|
default: undefined,
|
|
132
132
|
},
|
|
133
133
|
},
|
|
@@ -188,6 +188,8 @@ export default defineComponent({
|
|
|
188
188
|
const currentLength = computed(() => draftModelValue.value?.toString().length ?? 0);
|
|
189
189
|
const maxLength = computed(() => controlAttributes.maxlength);
|
|
190
190
|
|
|
191
|
+
const invalid = computed(() => !!props.error);
|
|
192
|
+
|
|
191
193
|
const activated = ref(false);
|
|
192
194
|
|
|
193
195
|
// Handlers
|
|
@@ -246,6 +248,7 @@ export default defineComponent({
|
|
|
246
248
|
draftModelValue,
|
|
247
249
|
currentLength,
|
|
248
250
|
maxLength,
|
|
251
|
+
invalid,
|
|
249
252
|
activated,
|
|
250
253
|
onFocus,
|
|
251
254
|
onBlur,
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<div :class="['layout-row', 'gap-sm+']">
|
|
7
7
|
<OrInlineInputBox
|
|
8
8
|
:size="'s'"
|
|
9
|
-
:invalid="
|
|
9
|
+
:invalid="invalid"
|
|
10
10
|
>
|
|
11
11
|
<textarea
|
|
12
12
|
ref="control"
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
</template>
|
|
40
40
|
</div>
|
|
41
41
|
|
|
42
|
-
<template v-if="!
|
|
42
|
+
<template v-if="!invalid">
|
|
43
43
|
<template v-if="hint || maxLength">
|
|
44
44
|
<OrHint>
|
|
45
45
|
{{ hint }}
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
</template>
|
|
55
55
|
</template>
|
|
56
56
|
|
|
57
|
-
<template v-
|
|
57
|
+
<template v-else>
|
|
58
58
|
<OrError>
|
|
59
59
|
{{ error }}
|
|
60
60
|
|
|
@@ -115,7 +115,7 @@ export default defineComponent({
|
|
|
115
115
|
},
|
|
116
116
|
|
|
117
117
|
error: {
|
|
118
|
-
type:
|
|
118
|
+
type: String,
|
|
119
119
|
default: undefined,
|
|
120
120
|
},
|
|
121
121
|
},
|
|
@@ -175,6 +175,8 @@ export default defineComponent({
|
|
|
175
175
|
const currentLength = computed(() => draftModelValue.value?.toString().length ?? 0);
|
|
176
176
|
const maxLength = computed(() => controlAttributes.maxlength);
|
|
177
177
|
|
|
178
|
+
const invalid = computed(() => !!props.error);
|
|
179
|
+
|
|
178
180
|
const activated = ref(false);
|
|
179
181
|
|
|
180
182
|
// Handlers
|
|
@@ -233,6 +235,7 @@ export default defineComponent({
|
|
|
233
235
|
draftModelValue,
|
|
234
236
|
currentLength,
|
|
235
237
|
maxLength,
|
|
238
|
+
invalid,
|
|
236
239
|
activated,
|
|
237
240
|
onFocus,
|
|
238
241
|
onBlur,
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
<OrInputBox
|
|
22
22
|
:variant="disableDefaultStyles ? 'unstyled' : 'styled'"
|
|
23
23
|
:size="size"
|
|
24
|
-
:invalid="
|
|
24
|
+
:invalid="invalid"
|
|
25
25
|
:readonly="readonly || loading"
|
|
26
26
|
:disabled="disabled"
|
|
27
27
|
>
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
</div>
|
|
83
83
|
</OrInputBox>
|
|
84
84
|
|
|
85
|
-
<template v-if="!
|
|
85
|
+
<template v-if="!invalid">
|
|
86
86
|
<template v-if="hint || maxLength">
|
|
87
87
|
<OrHint :disabled="disabled">
|
|
88
88
|
{{ hint }}
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
</template>
|
|
98
98
|
</template>
|
|
99
99
|
|
|
100
|
-
<template v-
|
|
100
|
+
<template v-else>
|
|
101
101
|
<OrError :disabled="disabled">
|
|
102
102
|
{{ error }}
|
|
103
103
|
|
|
@@ -175,7 +175,7 @@ export default defineComponent({
|
|
|
175
175
|
},
|
|
176
176
|
|
|
177
177
|
error: {
|
|
178
|
-
type:
|
|
178
|
+
type: String,
|
|
179
179
|
default: undefined,
|
|
180
180
|
},
|
|
181
181
|
|
|
@@ -259,6 +259,8 @@ export default defineComponent({
|
|
|
259
259
|
const currentLength = computed(() => proxyModelValue.value?.toString().length ?? 0);
|
|
260
260
|
const maxLength = computed(() => controlAttributes.maxlength);
|
|
261
261
|
|
|
262
|
+
const invalid = computed(() => !!props.error);
|
|
263
|
+
|
|
262
264
|
const disclosed = ref(false);
|
|
263
265
|
|
|
264
266
|
const { isMobile } = useResponsive();
|
|
@@ -281,6 +283,7 @@ export default defineComponent({
|
|
|
281
283
|
proxyModelValue,
|
|
282
284
|
currentLength,
|
|
283
285
|
maxLength,
|
|
286
|
+
invalid,
|
|
284
287
|
disclosed,
|
|
285
288
|
isMobile,
|
|
286
289
|
focus,
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
]"
|
|
55
55
|
x1="2"
|
|
56
56
|
y1="50%"
|
|
57
|
-
x2="
|
|
57
|
+
:x2="strokeWidth"
|
|
58
58
|
y2="50%"
|
|
59
59
|
/>
|
|
60
60
|
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
]"
|
|
66
66
|
x1="2"
|
|
67
67
|
y1="50%"
|
|
68
|
-
x2="
|
|
68
|
+
:x2="strokeWidth"
|
|
69
69
|
y2="50%"
|
|
70
70
|
:stroke="color === 'inherit' ? 'currentColor' : 'inherit'"
|
|
71
71
|
/>
|
|
@@ -83,6 +83,7 @@
|
|
|
83
83
|
|
|
84
84
|
<script lang="ts">
|
|
85
85
|
import { computed, defineComponent, PropType, ref } from 'vue-demi';
|
|
86
|
+
import { useElementSize } from '@vueuse/core';
|
|
86
87
|
import { LoaderColor, LoaderSize, LoaderVariant } from './props';
|
|
87
88
|
import { LoaderContainer, LoaderDescription, LoaderRoot, LoaderRootColors, LoaderTitle } from './styles';
|
|
88
89
|
|
|
@@ -131,6 +132,8 @@ export default defineComponent({
|
|
|
131
132
|
// Refs
|
|
132
133
|
const root = ref<HTMLElement>();
|
|
133
134
|
|
|
135
|
+
const { width: loaderContainerWidth } = useElementSize(root);
|
|
136
|
+
|
|
134
137
|
// Styles
|
|
135
138
|
const rootStyles = computed(() => [
|
|
136
139
|
'or-loader',
|
|
@@ -161,6 +164,12 @@ export default defineComponent({
|
|
|
161
164
|
}
|
|
162
165
|
});
|
|
163
166
|
|
|
167
|
+
const strokeWidth = computed(() => {
|
|
168
|
+
return loaderContainerWidth.value
|
|
169
|
+
? loaderContainerWidth.value - 2
|
|
170
|
+
: '100%';
|
|
171
|
+
});
|
|
172
|
+
|
|
164
173
|
/**
|
|
165
174
|
* Preserves circular loading indicator from shrinking caused by external styles.
|
|
166
175
|
*/
|
|
@@ -175,6 +184,7 @@ export default defineComponent({
|
|
|
175
184
|
titleStyles,
|
|
176
185
|
descriptionStyles,
|
|
177
186
|
computedSize,
|
|
187
|
+
strokeWidth,
|
|
178
188
|
wrapperStyle,
|
|
179
189
|
};
|
|
180
190
|
},
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
|
|
37
37
|
x1="2"
|
|
38
38
|
y1="50%"
|
|
39
|
-
x2="
|
|
39
|
+
:x2="strokeWidth"
|
|
40
40
|
y2="50%"
|
|
41
41
|
/>
|
|
42
42
|
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
|
|
46
46
|
x1="2"
|
|
47
47
|
y1="50%"
|
|
48
|
-
x2="
|
|
48
|
+
:x2="strokeWidth"
|
|
49
49
|
y2="50%"
|
|
50
50
|
:stroke-dasharray="strokeDasharray"
|
|
51
51
|
:stroke-dashoffset="strokeDashoffset"
|
|
@@ -240,6 +240,12 @@ export default defineComponent({
|
|
|
240
240
|
0,
|
|
241
241
|
);
|
|
242
242
|
|
|
243
|
+
const strokeWidth = computed(() => {
|
|
244
|
+
return width.value
|
|
245
|
+
? width.value - 2
|
|
246
|
+
: '100%';
|
|
247
|
+
});
|
|
248
|
+
|
|
243
249
|
const strokeDashoffset = computed(() => props.loading ?
|
|
244
250
|
undefined :
|
|
245
251
|
(1 - localProgress.value) * strokeDasharray.value,
|
|
@@ -256,6 +262,7 @@ export default defineComponent({
|
|
|
256
262
|
progressBarMainPartStyles,
|
|
257
263
|
strokeDasharray,
|
|
258
264
|
strokeDashoffset,
|
|
265
|
+
strokeWidth,
|
|
259
266
|
localProgress,
|
|
260
267
|
localValue,
|
|
261
268
|
percent,
|