@onereach/ui-components 2.74.13-beta.2364.0 → 2.74.13-beta.2365.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/{OrButton-0242b4c0.js → OrButton-0a9470c0.js} +1 -1
- package/dist/bundled/v2/{OrCardCollection-04e767c2.js → OrCardCollection-638bc4a8.js} +2 -2
- package/dist/bundled/v2/{OrConfirm-a76ff6d2.js → OrConfirm-f7ade1d1.js} +2 -2
- package/dist/bundled/v2/{OrInlineInput-9304f205.js → OrInlineInput-20e93482.js} +9 -11
- package/dist/bundled/v2/{OrInlineTextarea-e0d28fc6.js → OrInlineTextarea-e849ae9b.js} +9 -11
- package/dist/bundled/v2/{OrInput-b8511a0c.js → OrInput-15c2b072.js} +12 -13
- package/dist/bundled/v2/{OrInputBox-e54dcef9.js → OrInputBox-9a31d211.js} +2 -12
- package/dist/bundled/v2/{OrLoader-6bec8824.js → OrLoader-cf28bfa6.js} +2 -10
- package/dist/bundled/v2/{OrPagination-166592a5.js → OrPagination-95f37111.js} +1 -1
- package/dist/bundled/v2/{OrProgress-01123d1f.js → OrProgress-15fe65ec.js} +2 -6
- package/dist/bundled/v2/{OrSearch-60b64568.js → OrSearch-8df5d7fd.js} +2 -2
- package/dist/bundled/v2/{OrSelect-752bdd3b.js → OrSelect-3ac5eefe.js} +11 -10
- package/dist/bundled/v2/{OrSwitch-aa0da6b9.js → OrSwitch-34f79eb1.js} +1 -1
- package/dist/bundled/v2/{OrTextarea-5fdf63d0.js → OrTextarea-53d756e4.js} +11 -12
- package/dist/bundled/v2/components/index.js +16 -15
- package/dist/bundled/v2/components/or-button-v3/index.js +2 -3
- package/dist/bundled/v2/components/or-card-collection-v3/index.js +7 -6
- package/dist/bundled/v2/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +105 -0
- package/dist/bundled/v2/components/or-combined-input-v3/index.d.ts +2 -0
- package/dist/bundled/v2/components/or-combined-input-v3/index.js +146 -0
- package/dist/bundled/v2/components/or-combined-input-v3/props.d.ts +1 -0
- package/dist/bundled/v2/components/or-combined-input-v3/styles.d.ts +2 -0
- package/dist/bundled/v2/components/or-confirm-v3/index.js +6 -5
- package/dist/bundled/v2/components/or-inline-input-v3/OrInlineInput.vue.d.ts +5 -7
- 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 +5 -7
- package/dist/bundled/v2/components/or-inline-textarea-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-input-box-v3/index.js +2 -1
- package/dist/bundled/v2/components/or-input-v3/OrInput.vue.d.ts +5 -7
- package/dist/bundled/v2/components/or-input-v3/index.js +4 -3
- package/dist/bundled/v2/components/or-loader-v3/OrLoader.vue.d.ts +0 -2
- package/dist/bundled/v2/components/or-loader-v3/index.js +1 -2
- package/dist/bundled/v2/components/or-pagination-v3/index.js +4 -4
- package/dist/bundled/v2/components/or-progress-v3/OrProgress.vue.d.ts +0 -2
- package/dist/bundled/v2/components/or-progress-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-search-v3/index.js +5 -4
- package/dist/bundled/v2/components/or-select-v3/OrSelect.vue.d.ts +5 -7
- package/dist/bundled/v2/components/or-select-v3/index.js +5 -4
- package/dist/bundled/v2/components/or-switch-v3/index.js +2 -3
- package/dist/bundled/v2/components/or-textarea-v3/OrTextarea.vue.d.ts +5 -7
- package/dist/bundled/v2/components/or-textarea-v3/index.js +3 -2
- package/dist/bundled/v2/components/or-toast-v3/index.js +2 -2
- package/dist/bundled/v2/index.js +17 -16
- package/dist/bundled/v2/props-78496a2d.js +12 -0
- package/dist/bundled/v2/{types-e494517f.js → types-0e3ca5b9.js} +1 -1
- package/dist/bundled/v3/{OrButton-452d3149.js → OrButton-a5b98ee2.js} +1 -1
- package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-7d4f420c.js → OrButton.vue_vue_type_script_lang-e75f9a10.js} +2 -2
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-e71a0ea0.js → OrCardCollection.vue_vue_type_script_lang-990fb52d.js} +3 -3
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-b550c3d3.js → OrConfirm.vue_vue_type_script_lang-8ac01851.js} +4 -4
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-cd4a64f6.js → OrInlineInput.vue_vue_type_script_lang-18853dd7.js} +3 -5
- package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-a73ff1ee.js → OrInlineTextarea.vue_vue_type_script_lang-3cb238d6.js} +3 -5
- package/dist/bundled/v3/{OrInput-6d49f353.js → OrInput-2c10c351.js} +5 -5
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-af68d0e7.js → OrInput.vue_vue_type_script_lang-ce8b23e8.js} +8 -9
- package/dist/bundled/v3/{OrInputBox-358d4856.js → OrInputBox-44f37541.js} +1 -1
- package/dist/{esm/v2/OrInputBox-53d1f66d.js → bundled/v3/OrInputBox.vue_vue_type_script_lang-c4f9c8ef.js} +3 -53
- package/dist/bundled/v3/{OrLoader-be9d72cd.js → OrLoader-663e062d.js} +11 -11
- package/dist/bundled/v3/{OrLoader.vue_vue_type_script_lang-65971a23.js → OrLoader.vue_vue_type_script_lang-8fc03499.js} +0 -8
- package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-a79c359c.js → OrPagination.vue_vue_type_script_lang-b6e7592e.js} +2 -2
- package/dist/bundled/v3/{OrProgress.vue_vue_type_script_lang-c387db0b.js → OrProgress.vue_vue_type_script_lang-52f660d6.js} +0 -4
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-8c37e5a7.js → OrSearch.vue_vue_type_script_lang-db6e6f7f.js} +3 -3
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-35ac0247.js → OrSelect.vue_vue_type_script_lang-52193c4c.js} +9 -8
- package/dist/bundled/v3/{OrSwitch.vue_vue_type_script_lang-fd43080e.js → OrSwitch.vue_vue_type_script_lang-f6039c8f.js} +2 -2
- package/dist/bundled/v3/{OrTextarea.vue_vue_type_script_lang-de99a858.js → OrTextarea.vue_vue_type_script_lang-b2899ba6.js} +6 -7
- package/dist/bundled/v3/{OrToastContainer-6a85ebf8.js → OrToastContainer-5c99d3ce.js} +1 -1
- package/dist/bundled/v3/components/index.js +20 -19
- package/dist/bundled/v3/components/or-button-v3/index.js +3 -4
- package/dist/bundled/v3/components/or-card-collection-v3/index.js +11 -10
- package/dist/bundled/v3/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +105 -0
- package/dist/bundled/v3/components/or-combined-input-v3/index.d.ts +2 -0
- package/dist/bundled/v3/components/or-combined-input-v3/index.js +128 -0
- package/dist/bundled/v3/components/or-combined-input-v3/props.d.ts +1 -0
- package/dist/bundled/v3/components/or-combined-input-v3/styles.d.ts +2 -0
- package/dist/bundled/v3/components/or-confirm-v3/index.js +10 -9
- package/dist/bundled/v3/components/or-inline-input-v3/OrInlineInput.vue.d.ts +5 -7
- 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 +5 -7
- package/dist/bundled/v3/components/or-inline-textarea-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-input-box-v3/index.js +2 -1
- package/dist/bundled/v3/components/or-input-v3/OrInput.vue.d.ts +5 -7
- package/dist/bundled/v3/components/or-input-v3/index.js +6 -5
- package/dist/bundled/v3/components/or-loader-v3/OrLoader.vue.d.ts +0 -2
- package/dist/bundled/v3/components/or-loader-v3/index.js +1 -2
- package/dist/bundled/v3/components/or-pagination-v3/index.js +6 -6
- package/dist/bundled/v3/components/or-progress-v3/OrProgress.vue.d.ts +0 -2
- package/dist/bundled/v3/components/or-progress-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-search-v3/index.js +8 -7
- package/dist/bundled/v3/components/or-select-v3/OrSelect.vue.d.ts +5 -7
- package/dist/bundled/v3/components/or-select-v3/index.js +8 -7
- package/dist/bundled/v3/components/or-switch-v3/index.js +3 -4
- package/dist/bundled/v3/components/or-textarea-v3/OrTextarea.vue.d.ts +5 -7
- package/dist/bundled/v3/components/or-textarea-v3/index.js +4 -3
- package/dist/bundled/v3/components/or-toast-v3/index.js +4 -4
- package/dist/bundled/v3/index.js +65 -65
- package/dist/bundled/v3/props-78496a2d.js +12 -0
- package/dist/bundled/v3/{types-661a05a5.js → types-5a9ace3b.js} +2 -2
- package/dist/esm/v2/{OrButton-c5ec96e7.js → OrButton-49f7f20b.js} +1 -1
- package/dist/esm/v2/{OrCardCollection-f7856175.js → OrCardCollection-ffa4e842.js} +3 -3
- package/dist/esm/v2/{OrConfirm-98d62065.js → OrConfirm-73a902ce.js} +2 -2
- package/dist/esm/v2/{OrInlineInput-df02ab5d.js → OrInlineInput-b003ddde.js} +9 -11
- package/dist/esm/v2/{OrInlineTextarea-ad120656.js → OrInlineTextarea-6349b529.js} +9 -11
- package/dist/esm/v2/{OrInput-3bb91436.js → OrInput-67eb3178.js} +12 -13
- package/dist/esm/v2/OrInputBox-5c4b3104.js +43 -0
- package/dist/{bundled/v3/OrInputBox.vue_vue_type_script_lang-b387d4ba.js → esm/v2/OrInputBox.vue_rollup-plugin-vue_script-4ba46db4.js} +1 -1
- package/dist/esm/v2/{OrLoader-b11ed386.js → OrLoader-8f1f3af1.js} +2 -10
- package/dist/esm/v2/{OrPagination-a9233838.js → OrPagination-81d4476a.js} +1 -1
- package/dist/esm/v2/{OrProgress-ff999494.js → OrProgress-b7d1c689.js} +2 -6
- package/dist/esm/v2/{OrSearch-dad9b02f.js → OrSearch-a5cab600.js} +2 -2
- package/dist/esm/v2/{OrSelect-7ef80130.js → OrSelect-2773ebeb.js} +11 -10
- package/dist/esm/v2/{OrSwitch-6129b63d.js → OrSwitch-1bd5b4d1.js} +1 -1
- package/dist/esm/v2/{OrTextarea-0a64f718.js → OrTextarea-0bf9bf33.js} +11 -12
- package/dist/esm/v2/components/index.js +16 -15
- package/dist/esm/v2/components/or-button-v3/index.js +2 -3
- package/dist/esm/v2/components/or-card-collection-v3/index.js +8 -7
- package/dist/esm/v2/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +105 -0
- package/dist/esm/v2/components/or-combined-input-v3/index.d.ts +2 -0
- package/dist/esm/v2/components/or-combined-input-v3/index.js +143 -0
- package/dist/esm/v2/components/or-combined-input-v3/props.d.ts +1 -0
- package/dist/esm/v2/components/or-combined-input-v3/styles.d.ts +2 -0
- package/dist/esm/v2/components/or-confirm-v3/index.js +6 -5
- package/dist/esm/v2/components/or-inline-input-v3/OrInlineInput.vue.d.ts +5 -7
- 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 +5 -7
- package/dist/esm/v2/components/or-inline-textarea-v3/index.js +1 -1
- package/dist/esm/v2/components/or-input-box-v3/index.js +3 -2
- package/dist/esm/v2/components/or-input-v3/OrInput.vue.d.ts +5 -7
- package/dist/esm/v2/components/or-input-v3/index.js +4 -3
- package/dist/esm/v2/components/or-loader-v3/OrLoader.vue.d.ts +0 -2
- package/dist/esm/v2/components/or-loader-v3/index.js +1 -2
- package/dist/esm/v2/components/or-pagination-v3/index.js +4 -4
- package/dist/esm/v2/components/or-progress-v3/OrProgress.vue.d.ts +0 -2
- package/dist/esm/v2/components/or-progress-v3/index.js +1 -1
- package/dist/esm/v2/components/or-search-v3/index.js +5 -4
- package/dist/esm/v2/components/or-select-v3/OrSelect.vue.d.ts +5 -7
- package/dist/esm/v2/components/or-select-v3/index.js +5 -4
- package/dist/esm/v2/components/or-switch-v3/index.js +2 -2
- package/dist/esm/v2/components/or-textarea-v3/OrTextarea.vue.d.ts +5 -7
- package/dist/esm/v2/components/or-textarea-v3/index.js +3 -2
- package/dist/esm/v2/components/or-toast-v3/index.js +2 -2
- package/dist/esm/v2/index.js +16 -15
- package/dist/esm/v2/{types-e9a54dcf.js → types-d5127999.js} +1 -1
- package/dist/esm/v3/{OrButton-9f059df6.js → OrButton-eab948fb.js} +1 -1
- package/dist/esm/v3/{OrCardCollection-4cb41408.js → OrCardCollection-274a413e.js} +2 -2
- package/dist/esm/v3/{OrConfirm-19da64d1.js → OrConfirm-c73aa589.js} +2 -2
- package/dist/esm/v3/{OrInlineInput-cd3753ee.js → OrInlineInput-65127ed7.js} +7 -9
- package/dist/esm/v3/{OrInlineTextarea-4c5b0390.js → OrInlineTextarea-176a2701.js} +7 -9
- package/dist/esm/v3/{OrInput-ae9f6871.js → OrInput-86c9d300.js} +8 -10
- package/dist/esm/v3/{OrLoader-18f66bca.js → OrLoader-3a918ce9.js} +10 -18
- package/dist/esm/v3/{OrPagination-183803e7.js → OrPagination-94c2095f.js} +1 -1
- package/dist/esm/v3/{OrProgress-f881a58a.js → OrProgress-639ed5e8.js} +10 -15
- package/dist/esm/v3/{OrSearch-6f6b4fcd.js → OrSearch-1a92f8cf.js} +1 -1
- package/dist/esm/v3/{OrSelect-96bf9b63.js → OrSelect-e1443e71.js} +9 -9
- package/dist/esm/v3/{OrSwitch-2a23a9b8.js → OrSwitch-0e92c92c.js} +1 -1
- package/dist/esm/v3/{OrTextarea-42d21f77.js → OrTextarea-14a6b456.js} +7 -9
- package/dist/esm/v3/components/index.js +14 -14
- package/dist/esm/v3/components/or-button-v3/index.js +2 -3
- package/dist/esm/v3/components/or-card-collection-v3/index.js +6 -6
- package/dist/esm/v3/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +105 -0
- package/dist/esm/v3/components/or-combined-input-v3/index.d.ts +2 -0
- package/dist/esm/v3/components/or-combined-input-v3/index.js +127 -0
- package/dist/esm/v3/components/or-combined-input-v3/props.d.ts +1 -0
- package/dist/esm/v3/components/or-combined-input-v3/styles.d.ts +2 -0
- 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 +5 -7
- 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 +5 -7
- 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 +5 -7
- package/dist/esm/v3/components/or-input-v3/index.js +2 -2
- package/dist/esm/v3/components/or-loader-v3/OrLoader.vue.d.ts +0 -2
- package/dist/esm/v3/components/or-loader-v3/index.js +1 -2
- package/dist/esm/v3/components/or-pagination-v3/index.js +4 -4
- package/dist/esm/v3/components/or-progress-v3/OrProgress.vue.d.ts +0 -2
- 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 +5 -7
- 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 +5 -7
- 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-b9717ff2.js → types-f6f8ab6b.js} +1 -1
- package/package.json +2 -2
- package/src/components/or-combined-input-v3/OrCombinedInput.docs.mdx +7 -0
- package/src/components/or-combined-input-v3/OrCombinedInput.stories3.ts +201 -0
- package/src/components/or-combined-input-v3/OrCombinedInput.vue +127 -0
- package/src/components/or-combined-input-v3/index.ts +2 -0
- package/src/components/or-combined-input-v3/props.ts +1 -0
- package/src/components/or-combined-input-v3/styles.ts +25 -0
- package/src/components/or-inline-input-v3/OrInlineInput.vue +4 -7
- package/src/components/or-inline-input-v3/styles.ts +2 -2
- package/src/components/or-inline-textarea-v3/OrInlineTextarea.vue +4 -7
- package/src/components/or-inline-textarea-v3/styles.ts +2 -2
- package/src/components/or-input-v3/OrInput.vue +4 -7
- package/src/components/or-input-v3/styles.ts +2 -2
- package/src/components/or-loader-v3/OrLoader.vue +2 -12
- package/src/components/or-progress-v3/OrProgress.vue +2 -9
- package/src/components/or-select-v3/OrSelect.stories3.ts +4 -0
- package/src/components/or-select-v3/OrSelect.vue +4 -6
- package/src/components/or-select-v3/styles.ts +4 -1
- package/src/components/or-textarea-v3/OrTextarea.vue +4 -7
- package/src/components/or-textarea-v3/styles.ts +2 -2
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
var InputBoxVariant;
|
|
2
|
+
(function (InputBoxVariant) {
|
|
3
|
+
InputBoxVariant["Styled"] = "styled";
|
|
4
|
+
InputBoxVariant["Unstyled"] = "unstyled";
|
|
5
|
+
})(InputBoxVariant || (InputBoxVariant = {}));
|
|
6
|
+
var InputBoxSize;
|
|
7
|
+
(function (InputBoxSize) {
|
|
8
|
+
InputBoxSize["M"] = "m";
|
|
9
|
+
InputBoxSize["S"] = "s";
|
|
10
|
+
})(InputBoxSize || (InputBoxSize = {}));
|
|
11
|
+
|
|
12
|
+
export { InputBoxVariant as I, InputBoxSize as a };
|
|
@@ -2,7 +2,7 @@ import { useToggle } from '@vueuse/core';
|
|
|
2
2
|
import './index-fa6eb4ca.js';
|
|
3
3
|
import { T as ToastType, P as PositionsX, b as PositionsY, c as TransitionType, d as useToastEventBus, a as useQueue } from './useToast-3a3d4280.js';
|
|
4
4
|
import { O as OrIconButton } from './OrIconButton-deec1d4d.js';
|
|
5
|
-
import { O as OrLoader } from './OrLoader-
|
|
5
|
+
import { O as OrLoader } from './OrLoader-cf28bfa6.js';
|
|
6
6
|
import { defineComponent, ref, computed, onBeforeMount, onBeforeUnmount, nextTick } from '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
7
7
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
8
8
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as script } from './OrButton.vue_vue_type_script_lang-
|
|
1
|
+
import { s as script } from './OrButton.vue_vue_type_script_lang-e75f9a10.js';
|
|
2
2
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, renderSlot, createBlock, Fragment, createTextVNode, toDisplayString, createCommentVNode } from 'vue';
|
|
3
3
|
|
|
4
4
|
const _hoisted_1 = ["type", "activated", "disabled"];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, computed } from 'vue';
|
|
2
|
-
import './OrLoader-
|
|
3
|
-
import { s as script$1 } from './OrLoader.vue_vue_type_script_lang-
|
|
2
|
+
import './OrLoader-663e062d.js';
|
|
3
|
+
import { s as script$1 } from './OrLoader.vue_vue_type_script_lang-8fc03499.js';
|
|
4
4
|
|
|
5
5
|
var ButtonVariant;
|
|
6
6
|
(function (ButtonVariant) {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { resolveComponent, openBlock, createBlock, normalizeClass, defineComponent, computed, createElementBlock, Fragment, renderList, renderSlot, mergeProps, createTextVNode, toDisplayString, ref, watch } from 'vue';
|
|
2
2
|
import './OrIconButton-8f4c68e9.js';
|
|
3
3
|
import { s as script$3 } from './OrIconButton.vue_vue_type_script_lang-8670c49e.js';
|
|
4
|
-
import './OrButton-
|
|
4
|
+
import './OrButton-a5b98ee2.js';
|
|
5
5
|
import './OrMenu-c982d515.js';
|
|
6
6
|
import { s as script$5 } from './OrMenu.vue_vue_type_script_lang-cefb0eca.js';
|
|
7
7
|
import './OrMenuItem-1917f51a.js';
|
|
8
8
|
import { s as script$6 } from './OrMenuItem.vue_vue_type_script_lang-0b643c00.js';
|
|
9
9
|
import './OrIcon-0239fc17.js';
|
|
10
|
-
import { s as script$2 } from './OrSearch.vue_vue_type_script_lang-
|
|
11
|
-
import { s as script$4 } from './OrButton.vue_vue_type_script_lang-
|
|
10
|
+
import { s as script$2 } from './OrSearch.vue_vue_type_script_lang-db6e6f7f.js';
|
|
11
|
+
import { s as script$4 } from './OrButton.vue_vue_type_script_lang-e75f9a10.js';
|
|
12
12
|
import { s as script$7 } from './OrIcon.vue_vue_type_script_lang-6a85c6c6.js';
|
|
13
13
|
|
|
14
14
|
function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -2,11 +2,11 @@ import { useMagicKeys, whenever, onClickOutside } from '@vueuse/core';
|
|
|
2
2
|
import { l as logicAnd } from './index-01519e46.js';
|
|
3
3
|
import { defineComponent, ref, computed, watch } from 'vue';
|
|
4
4
|
import './OrBottomSheet.vue_vue_type_script_lang-7b8553e9.js';
|
|
5
|
-
import './OrButton-
|
|
6
|
-
import './OrInput-
|
|
7
|
-
import { s as script$2, a as ButtonColor } from './OrButton.vue_vue_type_script_lang-
|
|
5
|
+
import './OrButton-a5b98ee2.js';
|
|
6
|
+
import './OrInput-2c10c351.js';
|
|
7
|
+
import { s as script$2, a as ButtonColor } from './OrButton.vue_vue_type_script_lang-e75f9a10.js';
|
|
8
8
|
import { s as script$1 } from './OrOverlay.vue_vue_type_script_lang-a1f3f02c.js';
|
|
9
|
-
import { s as script$3 } from './OrInput.vue_vue_type_script_lang-
|
|
9
|
+
import { s as script$3 } from './OrInput.vue_vue_type_script_lang-ce8b23e8.js';
|
|
10
10
|
|
|
11
11
|
var ConfirmType;
|
|
12
12
|
(function (ConfirmType) {
|
|
@@ -21,8 +21,8 @@ const InlineInputRoot = [
|
|
|
21
21
|
// Spacing
|
|
22
22
|
'gap-xs'];
|
|
23
23
|
const InlineInputControl = [
|
|
24
|
-
//
|
|
25
|
-
'
|
|
24
|
+
// Box
|
|
25
|
+
'w-full',
|
|
26
26
|
// Typography
|
|
27
27
|
'typography-inherit',
|
|
28
28
|
// Theme
|
|
@@ -81,7 +81,7 @@ var script = defineComponent({
|
|
|
81
81
|
default: undefined
|
|
82
82
|
},
|
|
83
83
|
error: {
|
|
84
|
-
type: String,
|
|
84
|
+
type: [String, Boolean],
|
|
85
85
|
default: undefined
|
|
86
86
|
}
|
|
87
87
|
},
|
|
@@ -113,7 +113,6 @@ var script = defineComponent({
|
|
|
113
113
|
return (_b = (_a = draftModelValue.value) === null || _a === void 0 ? void 0 : _a.toString().length) !== null && _b !== void 0 ? _b : 0;
|
|
114
114
|
});
|
|
115
115
|
const maxLength = computed(() => controlAttributes.maxlength);
|
|
116
|
-
const invalid = computed(() => !!props.error);
|
|
117
116
|
const activated = ref(false);
|
|
118
117
|
// Handlers
|
|
119
118
|
function onFocus(event) {
|
|
@@ -165,7 +164,6 @@ var script = defineComponent({
|
|
|
165
164
|
draftModelValue,
|
|
166
165
|
currentLength,
|
|
167
166
|
maxLength,
|
|
168
|
-
invalid,
|
|
169
167
|
activated,
|
|
170
168
|
onFocus,
|
|
171
169
|
onBlur,
|
|
@@ -15,8 +15,8 @@ const InlineTextareaRoot = [
|
|
|
15
15
|
// Spacing
|
|
16
16
|
'gap-xs'];
|
|
17
17
|
const InlineTextareaControl = [
|
|
18
|
-
//
|
|
19
|
-
'
|
|
18
|
+
// Box
|
|
19
|
+
'w-full',
|
|
20
20
|
// Typography
|
|
21
21
|
'typography-inherit',
|
|
22
22
|
// Theme
|
|
@@ -59,7 +59,7 @@ var script = defineComponent({
|
|
|
59
59
|
default: undefined
|
|
60
60
|
},
|
|
61
61
|
error: {
|
|
62
|
-
type: String,
|
|
62
|
+
type: [String, Boolean],
|
|
63
63
|
default: undefined
|
|
64
64
|
}
|
|
65
65
|
},
|
|
@@ -91,7 +91,6 @@ var script = defineComponent({
|
|
|
91
91
|
return (_b = (_a = draftModelValue.value) === null || _a === void 0 ? void 0 : _a.toString().length) !== null && _b !== void 0 ? _b : 0;
|
|
92
92
|
});
|
|
93
93
|
const maxLength = computed(() => controlAttributes.maxlength);
|
|
94
|
-
const invalid = computed(() => !!props.error);
|
|
95
94
|
const activated = ref(false);
|
|
96
95
|
// Handlers
|
|
97
96
|
function onFocus(event) {
|
|
@@ -143,7 +142,6 @@ var script = defineComponent({
|
|
|
143
142
|
draftModelValue,
|
|
144
143
|
currentLength,
|
|
145
144
|
maxLength,
|
|
146
|
-
invalid,
|
|
147
145
|
activated,
|
|
148
146
|
onFocus,
|
|
149
147
|
onBlur,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as script } from './OrInput.vue_vue_type_script_lang-
|
|
1
|
+
import { s as script } from './OrInput.vue_vue_type_script_lang-ce8b23e8.js';
|
|
2
2
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, createVNode, withDirectives, createElementVNode, mergeProps, vModelDynamic, Fragment, withModifiers, createSlots } from 'vue';
|
|
3
3
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
4
4
|
|
|
@@ -31,7 +31,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
31
31
|
}, 8 /* PROPS */, ["control-id", "required", "disabled"])) : createCommentVNode("v-if", true), createVNode(_component_OrInputBox, {
|
|
32
32
|
variant: _ctx.disableDefaultStyles ? 'unstyled' : 'styled',
|
|
33
33
|
size: _ctx.size,
|
|
34
|
-
invalid: _ctx.
|
|
34
|
+
invalid: !!_ctx.error,
|
|
35
35
|
readonly: _ctx.readonly || _ctx.loading,
|
|
36
36
|
disabled: _ctx.disabled
|
|
37
37
|
}, {
|
|
@@ -81,7 +81,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
81
81
|
}))], 64 /* STABLE_FRAGMENT */)) : createCommentVNode("v-if", true)], 64 /* STABLE_FRAGMENT */))])]),
|
|
82
82
|
|
|
83
83
|
_: 1 /* STABLE */
|
|
84
|
-
}, 8 /* PROPS */, ["variant", "size", "invalid", "readonly", "disabled"]), !_ctx.
|
|
84
|
+
}, 8 /* PROPS */, ["variant", "size", "invalid", "readonly", "disabled"]), !_ctx.error ? (openBlock(), createElementBlock(Fragment, {
|
|
85
85
|
key: 1
|
|
86
86
|
}, [_ctx.hint || _ctx.maxLength ? (openBlock(), createBlock(_component_OrHint, {
|
|
87
87
|
key: 0,
|
|
@@ -95,7 +95,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
95
95
|
fn: withCtx(() => [createTextVNode(toDisplayString(_ctx.currentLength) + " / " + toDisplayString(_ctx.maxLength), 1 /* TEXT */)]),
|
|
96
96
|
|
|
97
97
|
key: "0"
|
|
98
|
-
} : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled"])) : createCommentVNode("v-if", true)], 64 /* STABLE_FRAGMENT */)) : (openBlock(), createBlock(_component_OrError, {
|
|
98
|
+
} : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled"])) : createCommentVNode("v-if", true)], 64 /* STABLE_FRAGMENT */)) : createCommentVNode("v-if", true), typeof _ctx.error === 'string' ? (openBlock(), createBlock(_component_OrError, {
|
|
99
99
|
key: 2,
|
|
100
100
|
disabled: _ctx.disabled
|
|
101
101
|
}, createSlots({
|
|
@@ -107,7 +107,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
107
107
|
fn: withCtx(() => [createTextVNode(toDisplayString(_ctx.currentLength) + " / " + toDisplayString(_ctx.maxLength), 1 /* TEXT */)]),
|
|
108
108
|
|
|
109
109
|
key: "0"
|
|
110
|
-
} : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled"]))], 2 /* CLASS */);
|
|
110
|
+
} : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled"])) : createCommentVNode("v-if", true)], 2 /* CLASS */);
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
var css_248z = "\ninput[data-v-78975fa2] {\n min-width: 0;\n background: none;\n outline: none;\n}\ninput[type=\"number\"][data-v-78975fa2]::-webkit-inner-spin-button {\n display: none;\n}\ninput[type=\"search\"][data-v-78975fa2]::-webkit-search-cancel-button {\n display: none;\n}\n";
|
|
@@ -4,17 +4,18 @@ import { s as script$1 } from './OrError.vue_vue_type_script_lang-53648a65.js';
|
|
|
4
4
|
import { s as script$2 } from './OrHint.vue_vue_type_script_lang-e322f61e.js';
|
|
5
5
|
import './OrIcon-0239fc17.js';
|
|
6
6
|
import './OrIconButton-8f4c68e9.js';
|
|
7
|
-
import './OrInputBox-
|
|
8
|
-
import { s as script$5
|
|
7
|
+
import './OrInputBox-44f37541.js';
|
|
8
|
+
import { s as script$5 } from './OrInputBox.vue_vue_type_script_lang-c4f9c8ef.js';
|
|
9
9
|
import './OrLabel-c556887e.js';
|
|
10
10
|
import { s as script$6 } from './OrLabel.vue_vue_type_script_lang-191d2304.js';
|
|
11
|
-
import './OrLoader-
|
|
11
|
+
import './OrLoader-663e062d.js';
|
|
12
|
+
import { a as InputBoxSize } from './props-78496a2d.js';
|
|
12
13
|
import { a as useIdAttribute, u as useControlAttributes } from './useIdAttribute-b2e42f31.js';
|
|
13
14
|
import { u as useValidationAttributes } from './useValidationAttributes-5428d8fa.js';
|
|
14
15
|
import { u as useResponsive } from './useResponsive-9d397e2a.js';
|
|
15
16
|
import { s as script$3 } from './OrIcon.vue_vue_type_script_lang-6a85c6c6.js';
|
|
16
17
|
import { s as script$4 } from './OrIconButton.vue_vue_type_script_lang-8670c49e.js';
|
|
17
|
-
import { s as script$7 } from './OrLoader.vue_vue_type_script_lang-
|
|
18
|
+
import { s as script$7 } from './OrLoader.vue_vue_type_script_lang-8fc03499.js';
|
|
18
19
|
|
|
19
20
|
var InputType;
|
|
20
21
|
(function (InputType) {
|
|
@@ -30,8 +31,8 @@ const InputRoot = [
|
|
|
30
31
|
// Spacing
|
|
31
32
|
'gap-xs'];
|
|
32
33
|
const InputControl = [
|
|
33
|
-
//
|
|
34
|
-
'
|
|
34
|
+
// Box
|
|
35
|
+
'w-full',
|
|
35
36
|
// Typography
|
|
36
37
|
'typography-inherit',
|
|
37
38
|
// Theme
|
|
@@ -78,7 +79,7 @@ var script = defineComponent({
|
|
|
78
79
|
default: undefined
|
|
79
80
|
},
|
|
80
81
|
error: {
|
|
81
|
-
type: String,
|
|
82
|
+
type: [String, Boolean],
|
|
82
83
|
default: undefined
|
|
83
84
|
},
|
|
84
85
|
loading: {
|
|
@@ -132,7 +133,6 @@ var script = defineComponent({
|
|
|
132
133
|
return (_b = (_a = proxyModelValue.value) === null || _a === void 0 ? void 0 : _a.toString().length) !== null && _b !== void 0 ? _b : 0;
|
|
133
134
|
});
|
|
134
135
|
const maxLength = computed(() => controlAttributes.maxlength);
|
|
135
|
-
const invalid = computed(() => !!props.error);
|
|
136
136
|
const disclosed = ref(false);
|
|
137
137
|
const {
|
|
138
138
|
isMobile
|
|
@@ -155,7 +155,6 @@ var script = defineComponent({
|
|
|
155
155
|
proxyModelValue,
|
|
156
156
|
currentLength,
|
|
157
157
|
maxLength,
|
|
158
|
-
invalid,
|
|
159
158
|
disclosed,
|
|
160
159
|
isMobile,
|
|
161
160
|
focus,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as script } from './OrInputBox.vue_vue_type_script_lang-
|
|
1
|
+
import { s as script } from './OrInputBox.vue_vue_type_script_lang-c4f9c8ef.js';
|
|
2
2
|
import { openBlock, createElementBlock, normalizeClass, renderSlot } from 'vue';
|
|
3
3
|
|
|
4
4
|
const _hoisted_1 = ["invalid", "readonly", "disabled"];
|
|
@@ -1,16 +1,5 @@
|
|
|
1
|
-
import { defineComponent, ref, computed } from 'vue
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
var InputBoxVariant;
|
|
5
|
-
(function (InputBoxVariant) {
|
|
6
|
-
InputBoxVariant["Styled"] = "styled";
|
|
7
|
-
InputBoxVariant["Unstyled"] = "unstyled";
|
|
8
|
-
})(InputBoxVariant || (InputBoxVariant = {}));
|
|
9
|
-
var InputBoxSize;
|
|
10
|
-
(function (InputBoxSize) {
|
|
11
|
-
InputBoxSize["M"] = "m";
|
|
12
|
-
InputBoxSize["S"] = "s";
|
|
13
|
-
})(InputBoxSize || (InputBoxSize = {}));
|
|
1
|
+
import { defineComponent, ref, computed } from 'vue';
|
|
2
|
+
import { I as InputBoxVariant, a as InputBoxSize } from './props-78496a2d.js';
|
|
14
3
|
|
|
15
4
|
const InputBoxRoot = [
|
|
16
5
|
// Layout
|
|
@@ -93,43 +82,4 @@ var script = defineComponent({
|
|
|
93
82
|
}
|
|
94
83
|
});
|
|
95
84
|
|
|
96
|
-
|
|
97
|
-
const __vue_script__ = script;
|
|
98
|
-
|
|
99
|
-
/* template */
|
|
100
|
-
var __vue_render__ = function () {
|
|
101
|
-
var _vm = this;
|
|
102
|
-
var _h = _vm.$createElement;
|
|
103
|
-
var _c = _vm._self._c || _h;
|
|
104
|
-
return _c('div', {
|
|
105
|
-
ref: "root",
|
|
106
|
-
class: _vm.rootStyles,
|
|
107
|
-
attrs: {
|
|
108
|
-
"invalid": _vm.invalid ? '' : null,
|
|
109
|
-
"readonly": _vm.readonly ? '' : null,
|
|
110
|
-
"disabled": _vm.disabled ? '' : null
|
|
111
|
-
}
|
|
112
|
-
}, [_vm._t("default")], 2);
|
|
113
|
-
};
|
|
114
|
-
var __vue_staticRenderFns__ = [];
|
|
115
|
-
|
|
116
|
-
/* style */
|
|
117
|
-
const __vue_inject_styles__ = undefined;
|
|
118
|
-
/* scoped */
|
|
119
|
-
const __vue_scope_id__ = undefined;
|
|
120
|
-
/* module identifier */
|
|
121
|
-
const __vue_module_identifier__ = undefined;
|
|
122
|
-
/* functional template */
|
|
123
|
-
const __vue_is_functional_template__ = false;
|
|
124
|
-
/* style inject */
|
|
125
|
-
|
|
126
|
-
/* style inject SSR */
|
|
127
|
-
|
|
128
|
-
/* style inject shadow dom */
|
|
129
|
-
|
|
130
|
-
const __vue_component__ = /*#__PURE__*/normalizeComponent({
|
|
131
|
-
render: __vue_render__,
|
|
132
|
-
staticRenderFns: __vue_staticRenderFns__
|
|
133
|
-
}, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, undefined, undefined, undefined);
|
|
134
|
-
|
|
135
|
-
export { InputBoxVariant as I, __vue_component__ as _, InputBoxSize as a };
|
|
85
|
+
export { script as s };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as script } from './OrLoader.vue_vue_type_script_lang-
|
|
1
|
+
import { s as script } from './OrLoader.vue_vue_type_script_lang-8fc03499.js';
|
|
2
2
|
import { openBlock, createElementBlock, normalizeClass, toDisplayString, createCommentVNode, createElementVNode, normalizeStyle } from 'vue';
|
|
3
3
|
|
|
4
4
|
const _hoisted_1 = ["width", "height"];
|
|
@@ -18,8 +18,14 @@ const _hoisted_5 = {
|
|
|
18
18
|
"stroke-width": "4",
|
|
19
19
|
"stroke-linecap": "round"
|
|
20
20
|
};
|
|
21
|
-
const _hoisted_6 =
|
|
22
|
-
|
|
21
|
+
const _hoisted_6 = /*#__PURE__*/createElementVNode("line", {
|
|
22
|
+
class: /*#__PURE__*/normalizeClass(['stroke-surface-variant', 'dark:stroke-surface-variant-dark']),
|
|
23
|
+
x1: "2",
|
|
24
|
+
y1: "50%",
|
|
25
|
+
x2: "calc(100% - 2px)",
|
|
26
|
+
y2: "50%"
|
|
27
|
+
}, null, -1 /* HOISTED */);
|
|
28
|
+
const _hoisted_7 = ["stroke"];
|
|
23
29
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
24
30
|
return openBlock(), createElementBlock("div", {
|
|
25
31
|
ref: "root",
|
|
@@ -41,17 +47,11 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
41
47
|
cy: "50%",
|
|
42
48
|
r: "7",
|
|
43
49
|
stroke: _ctx.color === 'inherit' ? 'currentColor' : 'inherit'
|
|
44
|
-
}, null, 8 /* PROPS */, _hoisted_3)])], 8 /* PROPS */, _hoisted_1)) : createCommentVNode("v-if", true), _ctx.variant === 'linear' ? (openBlock(), createElementBlock("svg", _hoisted_4, [createElementVNode("g", _hoisted_5, [createElementVNode("line", {
|
|
45
|
-
class: normalizeClass(['stroke-surface-variant', 'dark:stroke-surface-variant-dark']),
|
|
46
|
-
x1: "2",
|
|
47
|
-
y1: "50%",
|
|
48
|
-
x2: _ctx.strokeWidth,
|
|
49
|
-
y2: "50%"
|
|
50
|
-
}, null, 8 /* PROPS */, _hoisted_6), createElementVNode("line", {
|
|
50
|
+
}, null, 8 /* PROPS */, _hoisted_3)])], 8 /* PROPS */, _hoisted_1)) : createCommentVNode("v-if", true), _ctx.variant === 'linear' ? (openBlock(), createElementBlock("svg", _hoisted_4, [createElementVNode("g", _hoisted_5, [_hoisted_6, createElementVNode("line", {
|
|
51
51
|
class: normalizeClass(['animate-linear-loader', 'origin-center']),
|
|
52
52
|
x1: "2",
|
|
53
53
|
y1: "50%",
|
|
54
|
-
x2:
|
|
54
|
+
x2: "calc(100% - 2px)",
|
|
55
55
|
y2: "50%",
|
|
56
56
|
stroke: _ctx.color === 'inherit' ? 'currentColor' : 'inherit'
|
|
57
57
|
}, null, 8 /* PROPS */, _hoisted_7)])])) : createCommentVNode("v-if", true)], 6 /* CLASS, STYLE */), _ctx.description ? (openBlock(), createElementBlock("div", {
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { defineComponent, ref, computed } from 'vue';
|
|
2
|
-
import { useElementSize } from '@vueuse/core';
|
|
3
2
|
|
|
4
3
|
var LoaderVariant;
|
|
5
4
|
(function (LoaderVariant) {
|
|
@@ -69,9 +68,6 @@ var script = defineComponent({
|
|
|
69
68
|
setup(props) {
|
|
70
69
|
// Refs
|
|
71
70
|
const root = ref();
|
|
72
|
-
const {
|
|
73
|
-
width: loaderContainerWidth
|
|
74
|
-
} = useElementSize(root);
|
|
75
71
|
// Styles
|
|
76
72
|
const rootStyles = computed(() => ['or-loader', ...LoaderRoot, ...LoaderRootColors[props.color]]);
|
|
77
73
|
const titleStyles = computed(() => [...LoaderTitle]);
|
|
@@ -86,9 +82,6 @@ var script = defineComponent({
|
|
|
86
82
|
return 16;
|
|
87
83
|
}
|
|
88
84
|
});
|
|
89
|
-
const strokeWidth = computed(() => {
|
|
90
|
-
return loaderContainerWidth.value ? loaderContainerWidth.value - 2 : '100%';
|
|
91
|
-
});
|
|
92
85
|
/**
|
|
93
86
|
* Preserves circular loading indicator from shrinking caused by external styles.
|
|
94
87
|
*/
|
|
@@ -102,7 +95,6 @@ var script = defineComponent({
|
|
|
102
95
|
titleStyles,
|
|
103
96
|
descriptionStyles,
|
|
104
97
|
computedSize,
|
|
105
|
-
strokeWidth,
|
|
106
98
|
wrapperStyle
|
|
107
99
|
};
|
|
108
100
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent, ref, computed } from 'vue';
|
|
2
|
-
import './OrButton-
|
|
2
|
+
import './OrButton-a5b98ee2.js';
|
|
3
3
|
import './OrIcon-0239fc17.js';
|
|
4
4
|
import './OrMenu-c982d515.js';
|
|
5
5
|
import './OrMenuItem-1917f51a.js';
|
|
6
|
-
import { s as script$1 } from './OrButton.vue_vue_type_script_lang-
|
|
6
|
+
import { s as script$1 } from './OrButton.vue_vue_type_script_lang-e75f9a10.js';
|
|
7
7
|
import { s as script$2 } from './OrIcon.vue_vue_type_script_lang-6a85c6c6.js';
|
|
8
8
|
import { s as script$3 } from './OrMenu.vue_vue_type_script_lang-cefb0eca.js';
|
|
9
9
|
import { s as script$4 } from './OrMenuItem.vue_vue_type_script_lang-0b643c00.js';
|
|
@@ -178,9 +178,6 @@ var script = defineComponent({
|
|
|
178
178
|
isCircleType.value ? 14 * Math.PI :
|
|
179
179
|
// 14 = diameter = viewBox - stroke-width
|
|
180
180
|
0);
|
|
181
|
-
const strokeWidth = computed(() => {
|
|
182
|
-
return width.value ? width.value - 2 : '100%';
|
|
183
|
-
});
|
|
184
181
|
const strokeDashoffset = computed(() => props.loading ? undefined : (1 - localProgress.value) * strokeDasharray.value);
|
|
185
182
|
return {
|
|
186
183
|
root,
|
|
@@ -193,7 +190,6 @@ var script = defineComponent({
|
|
|
193
190
|
progressBarMainPartStyles,
|
|
194
191
|
strokeDasharray,
|
|
195
192
|
strokeDashoffset,
|
|
196
|
-
strokeWidth,
|
|
197
193
|
localProgress,
|
|
198
194
|
localValue,
|
|
199
195
|
percent,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { debouncedWatch } from '@vueuse/core';
|
|
2
2
|
import { defineComponent, ref, computed, watch } from 'vue';
|
|
3
|
-
import './OrInput-
|
|
4
|
-
import { s as script$1 } from './OrInput.vue_vue_type_script_lang-
|
|
5
|
-
import { a as InputBoxSize } from './
|
|
3
|
+
import './OrInput-2c10c351.js';
|
|
4
|
+
import { s as script$1 } from './OrInput.vue_vue_type_script_lang-ce8b23e8.js';
|
|
5
|
+
import { a as InputBoxSize } from './props-78496a2d.js';
|
|
6
6
|
|
|
7
7
|
var script = defineComponent({
|
|
8
8
|
name: 'OrSearch',
|
|
@@ -4,8 +4,8 @@ import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
|
4
4
|
import './OrHint-5d5e4d99.js';
|
|
5
5
|
import { s as script$2 } from './OrExpansionPanel.vue_vue_type_script_lang-cd3b6d36.js';
|
|
6
6
|
import './OrIcon-0239fc17.js';
|
|
7
|
-
import './OrInput-
|
|
8
|
-
import './OrInputBox-
|
|
7
|
+
import './OrInput-2c10c351.js';
|
|
8
|
+
import './OrInputBox-44f37541.js';
|
|
9
9
|
import './OrLabel-c556887e.js';
|
|
10
10
|
import './OrMenuItem-1917f51a.js';
|
|
11
11
|
import './OrPopover-0c296207.js';
|
|
@@ -15,11 +15,12 @@ import { u as useOverflow } from './useOverflow-6dce216b.js';
|
|
|
15
15
|
import { s as script$4 } from './OrError.vue_vue_type_script_lang-53648a65.js';
|
|
16
16
|
import { s as script$5 } from './OrHint.vue_vue_type_script_lang-e322f61e.js';
|
|
17
17
|
import { s as script$6 } from './OrIcon.vue_vue_type_script_lang-6a85c6c6.js';
|
|
18
|
-
import { s as script$7 } from './OrInput.vue_vue_type_script_lang-
|
|
19
|
-
import { s as script$8
|
|
18
|
+
import { s as script$7 } from './OrInput.vue_vue_type_script_lang-ce8b23e8.js';
|
|
19
|
+
import { s as script$8 } from './OrInputBox.vue_vue_type_script_lang-c4f9c8ef.js';
|
|
20
20
|
import { s as script$9 } from './OrLabel.vue_vue_type_script_lang-191d2304.js';
|
|
21
21
|
import { s as script$a } from './OrMenuItem.vue_vue_type_script_lang-0b643c00.js';
|
|
22
22
|
import { s as script$b } from './OrPopover.vue_vue_type_script_lang-aa819a00.js';
|
|
23
|
+
import { a as InputBoxSize } from './props-78496a2d.js';
|
|
23
24
|
|
|
24
25
|
const _hoisted_1$2 = ["value", "indeterminate", "required", "disabled"];
|
|
25
26
|
function render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -124,7 +125,9 @@ const SelectRoot = [
|
|
|
124
125
|
'gap-xs'];
|
|
125
126
|
const SelectControl = [
|
|
126
127
|
// Layout
|
|
127
|
-
'layout-row
|
|
128
|
+
'layout-row',
|
|
129
|
+
// Box
|
|
130
|
+
'w-full',
|
|
128
131
|
// Overflow
|
|
129
132
|
'overflow-hidden',
|
|
130
133
|
// Spacing
|
|
@@ -214,7 +217,7 @@ var script = defineComponent({
|
|
|
214
217
|
default: undefined
|
|
215
218
|
},
|
|
216
219
|
error: {
|
|
217
|
-
type: String,
|
|
220
|
+
type: [String, Boolean],
|
|
218
221
|
default: undefined
|
|
219
222
|
},
|
|
220
223
|
required: {
|
|
@@ -291,7 +294,6 @@ var script = defineComponent({
|
|
|
291
294
|
proxyModelValue.value = [];
|
|
292
295
|
}
|
|
293
296
|
});
|
|
294
|
-
const invalid = computed(() => !!props.error);
|
|
295
297
|
const readonly = computed(() => context.attrs.readonly);
|
|
296
298
|
const selection = computed(() => {
|
|
297
299
|
const modelValue = proxyModelValue.value;
|
|
@@ -372,7 +374,6 @@ var script = defineComponent({
|
|
|
372
374
|
noSearchResultsStyles,
|
|
373
375
|
controlId,
|
|
374
376
|
proxyModelValue,
|
|
375
|
-
invalid,
|
|
376
377
|
readonly,
|
|
377
378
|
selection,
|
|
378
379
|
searchText,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, reactive } from 'vue';
|
|
2
2
|
import './OrLabel-c556887e.js';
|
|
3
|
-
import './OrLoader-
|
|
3
|
+
import './OrLoader-663e062d.js';
|
|
4
4
|
import { a as useIdAttribute, u as useControlAttributes } from './useIdAttribute-b2e42f31.js';
|
|
5
5
|
import { s as script$1, L as LabelVariant } from './OrLabel.vue_vue_type_script_lang-191d2304.js';
|
|
6
|
-
import { s as script$2 } from './OrLoader.vue_vue_type_script_lang-
|
|
6
|
+
import { s as script$2 } from './OrLoader.vue_vue_type_script_lang-8fc03499.js';
|
|
7
7
|
|
|
8
8
|
const SwitchRoot = [
|
|
9
9
|
// Layout
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, reactive } from 'vue';
|
|
2
2
|
import './OrHint-5d5e4d99.js';
|
|
3
|
-
import './OrInputBox-
|
|
3
|
+
import './OrInputBox-44f37541.js';
|
|
4
4
|
import './OrLabel-c556887e.js';
|
|
5
5
|
import { a as useIdAttribute, u as useControlAttributes } from './useIdAttribute-b2e42f31.js';
|
|
6
6
|
import { u as useValidationAttributes } from './useValidationAttributes-5428d8fa.js';
|
|
7
7
|
import { s as script$1 } from './OrError.vue_vue_type_script_lang-53648a65.js';
|
|
8
8
|
import { s as script$2 } from './OrHint.vue_vue_type_script_lang-e322f61e.js';
|
|
9
|
-
import { s as script$3
|
|
9
|
+
import { s as script$3 } from './OrInputBox.vue_vue_type_script_lang-c4f9c8ef.js';
|
|
10
10
|
import { s as script$4 } from './OrLabel.vue_vue_type_script_lang-191d2304.js';
|
|
11
|
+
import { a as InputBoxSize } from './props-78496a2d.js';
|
|
11
12
|
|
|
12
13
|
const TextareaRoot = [
|
|
13
14
|
// Layout
|
|
@@ -15,8 +16,8 @@ const TextareaRoot = [
|
|
|
15
16
|
// Spacing
|
|
16
17
|
'gap-xs'];
|
|
17
18
|
const TextareaControl = [
|
|
18
|
-
//
|
|
19
|
-
'
|
|
19
|
+
// Box
|
|
20
|
+
'w-full',
|
|
20
21
|
// Typography
|
|
21
22
|
'typography-inherit',
|
|
22
23
|
// Theme
|
|
@@ -56,7 +57,7 @@ var script = defineComponent({
|
|
|
56
57
|
default: undefined
|
|
57
58
|
},
|
|
58
59
|
error: {
|
|
59
|
-
type: String,
|
|
60
|
+
type: [String, Boolean],
|
|
60
61
|
default: undefined
|
|
61
62
|
},
|
|
62
63
|
required: {
|
|
@@ -98,7 +99,6 @@ var script = defineComponent({
|
|
|
98
99
|
return (_b = (_a = proxyModelValue.value) === null || _a === void 0 ? void 0 : _a.toString().length) !== null && _b !== void 0 ? _b : 0;
|
|
99
100
|
});
|
|
100
101
|
const maxLength = computed(() => controlAttributes.maxlength);
|
|
101
|
-
const invalid = computed(() => !!props.error);
|
|
102
102
|
// Methods
|
|
103
103
|
function focus() {
|
|
104
104
|
var _a;
|
|
@@ -117,7 +117,6 @@ var script = defineComponent({
|
|
|
117
117
|
proxyModelValue,
|
|
118
118
|
currentLength,
|
|
119
119
|
maxLength,
|
|
120
|
-
invalid,
|
|
121
120
|
focus,
|
|
122
121
|
blur
|
|
123
122
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as script } from './types-
|
|
1
|
+
import { a as script } from './types-5a9ace3b.js';
|
|
2
2
|
import { resolveComponent, openBlock, createBlock, withCtx, createElementVNode, normalizeClass, createVNode, TransitionGroup, createElementBlock, Fragment, renderList, mergeProps, createCommentVNode } from 'vue';
|
|
3
3
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
4
4
|
|