@onereach/ui-components 2.71.1-beta.2220.0 → 2.71.1-beta.2222.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-d71d2dcf.js} +1 -1
- package/dist/bundled/v2/{OrCheckbox-dbef9f9a.js → OrCheckbox-4f665252.js} +3 -3
- package/dist/bundled/v2/{OrConfirm-057e997e.js → OrConfirm-2702f4e3.js} +1 -1
- package/dist/bundled/v2/{OrInlineInput-87589946.js → OrInlineInput-eaacc682.js} +2 -2
- package/dist/bundled/v2/{OrInlineTextarea-21b0e6fc.js → OrInlineTextarea-9f292005.js} +2 -2
- package/dist/bundled/v2/{OrInput-82ccfe00.js → OrInput-a7573d82.js} +20 -13
- package/dist/bundled/v2/{OrInputBox-79ec54ad.js → OrInputBox-da25bec2.js} +3 -13
- package/dist/bundled/v2/{OrRadio-cd39b20b.js → OrRadio-a60fc5c0.js} +3 -3
- package/dist/bundled/v2/{OrSearch-53470b0e.js → OrSearch-4395247a.js} +2 -2
- package/dist/bundled/v2/{OrSelect-02fb39f0.js → OrSelect-d7e1dd43.js} +7 -4
- package/dist/bundled/v2/OrSidebar-c95ef614.js +230 -0
- package/dist/bundled/v2/{OrSwitch-237a2081.js → OrSwitch-fe9b7de7.js} +3 -3
- package/dist/bundled/v2/{OrTextarea-5593fbe9.js → OrTextarea-76a2963b.js} +14 -11
- package/dist/bundled/v2/components/index.js +14 -13
- package/dist/bundled/v2/components/or-card-collection-v3/index.js +5 -4
- package/dist/bundled/v2/components/or-checkbox-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-combined-input-v3/OrCombinedInput.stories3.d.ts +27 -0
- package/dist/bundled/v2/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +98 -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 +149 -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 +4 -3
- package/dist/bundled/v2/components/or-inline-input-v3/index.js +1 -1
- 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/index.js +3 -2
- package/dist/bundled/v2/components/or-radio-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-search-v3/index.js +4 -3
- package/dist/bundled/v2/components/or-select-v3/index.js +5 -4
- package/dist/bundled/v2/components/or-sidebar-v3/OrSidebar.stories3.d.ts +1 -36
- package/dist/bundled/v2/components/or-sidebar-v3/OrSidebar.vue.d.ts +4 -49
- package/dist/bundled/v2/components/or-sidebar-v3/index.js +1 -13
- package/dist/bundled/v2/components/or-sidebar-v3/styles.d.ts +1 -9
- package/dist/bundled/v2/components/or-switch-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-textarea-v3/index.js +3 -2
- package/dist/bundled/v2/index.js +15 -14
- package/dist/bundled/v2/props-78496a2d.js +12 -0
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-2d78a51a.js → OrCardCollection.vue_vue_type_script_lang-cf3f00f6.js} +1 -1
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-9d9a3917.js → OrConfirm.vue_vue_type_script_lang-86fcd480.js} +2 -2
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-67218502.js → OrInlineInput.vue_vue_type_script_lang-0b47a43c.js} +2 -2
- package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-a1831ab8.js → OrInlineTextarea.vue_vue_type_script_lang-71784de5.js} +2 -2
- package/dist/bundled/v3/{OrInput-a4f220ed.js → OrInput-9474b1c1.js} +17 -14
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-607d79d4.js → OrInput.vue_vue_type_script_lang-e7edc5e5.js} +5 -4
- package/dist/bundled/v3/{OrInputBox-eb54d73d.js → OrInputBox-a11eb96c.js} +1 -1
- package/dist/{esm/v2/OrInputBox-4d5a318d.js → bundled/v3/OrInputBox.vue_vue_type_script_lang-c8184afc.js} +5 -56
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-06f318ca.js → OrSearch.vue_vue_type_script_lang-1b5462df.js} +3 -3
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-83f15704.js → OrSelect.vue_vue_type_script_lang-0416ad89.js} +11 -7
- package/dist/bundled/v3/OrSidebar.vue_vue_type_script_lang-ce0b152c.js +181 -0
- package/dist/bundled/v3/{OrTextarea.vue_vue_type_script_lang-8e3531cd.js → OrTextarea.vue_vue_type_script_lang-e1a44c0a.js} +5 -4
- package/dist/bundled/v3/components/index.js +13 -12
- package/dist/bundled/v3/components/or-card-collection-v3/index.js +7 -6
- package/dist/bundled/v3/components/or-combined-input-v3/OrCombinedInput.stories3.d.ts +27 -0
- package/dist/bundled/v3/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +98 -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 +132 -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 +6 -5
- package/dist/bundled/v3/components/or-inline-input-v3/index.js +1 -1
- 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/index.js +4 -3
- package/dist/bundled/v3/components/or-search-v3/index.js +6 -5
- package/dist/bundled/v3/components/or-select-v3/index.js +6 -5
- package/dist/bundled/v3/components/or-sidebar-v3/OrSidebar.stories3.d.ts +1 -36
- package/dist/bundled/v3/components/or-sidebar-v3/OrSidebar.vue.d.ts +4 -49
- package/dist/bundled/v3/components/or-sidebar-v3/index.js +1 -15
- package/dist/bundled/v3/components/or-sidebar-v3/styles.d.ts +1 -9
- package/dist/bundled/v3/components/or-textarea-v3/index.js +4 -3
- package/dist/bundled/v3/index.js +46 -58
- package/dist/bundled/v3/props-78496a2d.js +12 -0
- package/dist/esm/v2/{OrCardCollection-3c38fc85.js → OrCardCollection-e282dda1.js} +2 -2
- package/dist/esm/v2/{OrCheckbox-567e387c.js → OrCheckbox-ea48d156.js} +3 -3
- package/dist/esm/v2/{OrConfirm-047d4086.js → OrConfirm-826ae4ac.js} +1 -1
- package/dist/esm/v2/{OrInlineInput-10205811.js → OrInlineInput-43e2ef67.js} +2 -2
- package/dist/esm/v2/{OrInlineTextarea-7658611e.js → OrInlineTextarea-80ecac50.js} +2 -2
- package/dist/esm/v2/{OrInput-ada3a970.js → OrInput-dd6591ac.js} +20 -13
- package/dist/esm/v2/OrInputBox-20d65881.js +43 -0
- package/dist/{bundled/v3/OrInputBox.vue_vue_type_script_lang-5ee4ee45.js → esm/v2/OrInputBox.vue_rollup-plugin-vue_script-5253ba98.js} +4 -3
- package/dist/esm/v2/{OrRadio-848ce55d.js → OrRadio-6e10f071.js} +3 -3
- package/dist/esm/v2/{OrSearch-0f08f2f5.js → OrSearch-5de8264e.js} +2 -2
- package/dist/esm/v2/{OrSelect-f8837f5d.js → OrSelect-c58ce21d.js} +7 -4
- package/dist/esm/v2/OrSidebar-fabc7bc9.js +228 -0
- package/dist/esm/v2/{OrSwitch-13b6a7ee.js → OrSwitch-c628d2c5.js} +3 -3
- package/dist/esm/v2/{OrTextarea-6712a150.js → OrTextarea-b4660f09.js} +14 -11
- package/dist/esm/v2/components/index.js +14 -13
- package/dist/esm/v2/components/or-card-collection-v3/index.js +5 -4
- package/dist/esm/v2/components/or-checkbox-v3/index.js +1 -1
- package/dist/esm/v2/components/or-combined-input-v3/OrCombinedInput.stories3.d.ts +27 -0
- package/dist/esm/v2/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +98 -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 +147 -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 +4 -3
- package/dist/esm/v2/components/or-inline-input-v3/index.js +1 -1
- 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/index.js +3 -2
- package/dist/esm/v2/components/or-radio-v3/index.js +1 -1
- package/dist/esm/v2/components/or-search-v3/index.js +4 -3
- package/dist/esm/v2/components/or-select-v3/index.js +5 -4
- package/dist/esm/v2/components/or-sidebar-v3/OrSidebar.stories3.d.ts +1 -36
- package/dist/esm/v2/components/or-sidebar-v3/OrSidebar.vue.d.ts +4 -49
- package/dist/esm/v2/components/or-sidebar-v3/index.js +1 -13
- package/dist/esm/v2/components/or-sidebar-v3/styles.d.ts +1 -9
- package/dist/esm/v2/components/or-switch-v3/index.js +1 -1
- package/dist/esm/v2/components/or-textarea-v3/index.js +3 -2
- package/dist/esm/v2/index.js +14 -13
- package/dist/esm/v3/{OrCardCollection-dbb3e839.js → OrCardCollection-09d4c13a.js} +2 -2
- package/dist/esm/v3/{OrCheckbox-3e139eac.js → OrCheckbox-d1b516c8.js} +3 -2
- package/dist/esm/v3/{OrConfirm-fee3c859.js → OrConfirm-da1f065b.js} +1 -1
- package/dist/esm/v3/{OrInlineInput-507fc99c.js → OrInlineInput-a3404468.js} +2 -2
- package/dist/esm/v3/{OrInlineTextarea-53a9e027.js → OrInlineTextarea-12a7707a.js} +2 -2
- package/dist/esm/v3/{OrInput-9c0426b9.js → OrInput-9143fd14.js} +19 -16
- package/dist/esm/v3/{OrInputBox-6d1b6059.js → OrInputBox-0ebab1b8.js} +1 -1
- package/dist/esm/v3/{OrRadio-54b6d0de.js → OrRadio-ef9d4c6e.js} +3 -2
- package/dist/esm/v3/{OrSearch-9885d178.js → OrSearch-c2fb5abb.js} +2 -2
- package/dist/esm/v3/{OrSelect-8fbd88bc.js → OrSelect-c1bcdd4c.js} +6 -4
- package/dist/esm/v3/OrSidebar-a62972f5.js +206 -0
- package/dist/esm/v3/{OrSwitch-cca30aa0.js → OrSwitch-cc797a48.js} +3 -3
- package/dist/esm/v3/{OrTextarea-bb9ef3f2.js → OrTextarea-26c50ec0.js} +17 -15
- package/dist/esm/v3/components/index.js +13 -13
- package/dist/esm/v3/components/or-card-collection-v3/index.js +4 -4
- package/dist/esm/v3/components/or-checkbox-v3/index.js +1 -1
- package/dist/esm/v3/components/or-combined-input-v3/OrCombinedInput.stories3.d.ts +27 -0
- package/dist/esm/v3/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +98 -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 +132 -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 +3 -3
- package/dist/esm/v3/components/or-inline-input-v3/index.js +1 -1
- package/dist/esm/v3/components/or-inline-textarea-v3/index.js +1 -1
- package/dist/esm/v3/components/or-input-box-v3/index.js +1 -1
- package/dist/esm/v3/components/or-input-v3/index.js +2 -2
- package/dist/esm/v3/components/or-radio-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/index.js +4 -4
- package/dist/esm/v3/components/or-sidebar-v3/OrSidebar.stories3.d.ts +1 -36
- package/dist/esm/v3/components/or-sidebar-v3/OrSidebar.vue.d.ts +4 -49
- package/dist/esm/v3/components/or-sidebar-v3/index.js +1 -12
- package/dist/esm/v3/components/or-sidebar-v3/styles.d.ts +1 -9
- package/dist/esm/v3/components/or-switch-v3/index.js +1 -1
- package/dist/esm/v3/components/or-textarea-v3/index.js +2 -2
- package/dist/esm/v3/index.js +13 -13
- package/package.json +2 -2
- package/src/components/or-checkbox-v3/OrCheckbox.vue +1 -1
- package/src/components/or-combined-input-v3/OrCombinedInput.docs.mdx +7 -0
- package/src/components/or-combined-input-v3/OrCombinedInput.stories3.ts +202 -0
- package/src/components/or-combined-input-v3/OrCombinedInput.vue +134 -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/styles.ts +2 -2
- package/src/components/or-inline-textarea-v3/styles.ts +2 -2
- package/src/components/or-input-box-v3/styles.ts +1 -1
- package/src/components/or-input-v3/OrInput.vue +28 -22
- package/src/components/or-input-v3/styles.ts +2 -2
- package/src/components/or-radio-v3/OrRadio.vue +1 -1
- package/src/components/or-select-v3/OrSelect.stories3.ts +4 -0
- package/src/components/or-select-v3/styles.ts +4 -1
- package/src/components/or-sidebar-v3/OrSidebar.docs.mdx +0 -6
- package/src/components/or-sidebar-v3/OrSidebar.stories3.ts +10 -230
- package/src/components/or-sidebar-v3/OrSidebar.vue +22 -123
- package/src/components/or-sidebar-v3/styles.ts +9 -164
- package/src/components/or-switch-v3/OrSwitch.vue +1 -1
- package/src/components/or-textarea-v3/OrTextarea.vue +5 -1
- package/src/components/or-textarea-v3/styles.ts +2 -2
- package/dist/bundled/v2/OrSidebar-d445ecdd.js +0 -463
- package/dist/bundled/v2/components/or-sidebar-v3/OrSidebarCollapseButton.stories3.d.ts +0 -12
- package/dist/bundled/v2/components/or-sidebar-v3/OrSidebarCollapseButton.vue.d.ts +0 -53
- package/dist/bundled/v3/OrSidebar.vue_vue_type_script_lang-80e5dc4b.js +0 -355
- package/dist/bundled/v3/components/or-sidebar-v3/OrSidebarCollapseButton.stories3.d.ts +0 -12
- package/dist/bundled/v3/components/or-sidebar-v3/OrSidebarCollapseButton.vue.d.ts +0 -53
- package/dist/esm/v2/OrSidebar-097a4b55.js +0 -460
- package/dist/esm/v2/components/or-sidebar-v3/OrSidebarCollapseButton.stories3.d.ts +0 -12
- package/dist/esm/v2/components/or-sidebar-v3/OrSidebarCollapseButton.vue.d.ts +0 -53
- package/dist/esm/v3/OrSidebar-f6b2050b.js +0 -395
- package/dist/esm/v3/components/or-sidebar-v3/OrSidebarCollapseButton.stories3.d.ts +0 -12
- package/dist/esm/v3/components/or-sidebar-v3/OrSidebarCollapseButton.vue.d.ts +0 -53
- package/src/components/or-sidebar-v3/OrSidebarCollapseButton.stories3.ts +0 -48
- package/src/components/or-sidebar-v3/OrSidebarCollapseButton.vue +0 -74
|
@@ -6,7 +6,7 @@ import { O as OrButton } from './OrButton-a846fa7e.js';
|
|
|
6
6
|
import { O as OrMenu } from './OrMenu-fa47c888.js';
|
|
7
7
|
import { O as OrMenuItem } from './OrMenuItem-26420908.js';
|
|
8
8
|
import { O as OrIcon } from './OrIcon-8625385f.js';
|
|
9
|
-
import { O as OrSearch } from './OrSearch-
|
|
9
|
+
import { O as OrSearch } from './OrSearch-4395247a.js';
|
|
10
10
|
import { u as useClassAttribute } from './useClassAttribute-9bf33346.js';
|
|
11
11
|
|
|
12
12
|
const CardCollectionRoot = [
|
|
@@ -186,14 +186,14 @@ var __vue_staticRenderFns__ = [];
|
|
|
186
186
|
/* style */
|
|
187
187
|
const __vue_inject_styles__ = function (inject) {
|
|
188
188
|
if (!inject) return;
|
|
189
|
-
inject("data-v-
|
|
190
|
-
source: "input[data-v-
|
|
189
|
+
inject("data-v-83421e44_0", {
|
|
190
|
+
source: "input[data-v-83421e44]{appearance:none;line-height:0}",
|
|
191
191
|
map: undefined,
|
|
192
192
|
media: undefined
|
|
193
193
|
});
|
|
194
194
|
};
|
|
195
195
|
/* scoped */
|
|
196
|
-
const __vue_scope_id__ = "data-v-
|
|
196
|
+
const __vue_scope_id__ = "data-v-83421e44";
|
|
197
197
|
/* module identifier */
|
|
198
198
|
const __vue_module_identifier__ = undefined;
|
|
199
199
|
/* functional template */
|
|
@@ -3,7 +3,7 @@ import { l as logicAnd } from './index-17f264f9.js';
|
|
|
3
3
|
import './index-fa6eb4ca.js';
|
|
4
4
|
import { O as OrOverlay } from './OrOverlay-3c89d622.js';
|
|
5
5
|
import { O as OrButton, a as ButtonColor } from './OrButton-a846fa7e.js';
|
|
6
|
-
import { O as OrInput } from './OrInput-
|
|
6
|
+
import { O as OrInput } from './OrInput-a7573d82.js';
|
|
7
7
|
import { defineComponent, ref, computed, watch } from '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
8
8
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
9
9
|
|
|
@@ -3,8 +3,9 @@ import { O as OrError } from './OrError-aad17598.js';
|
|
|
3
3
|
import { O as OrHint } from './OrHint-f38a1940.js';
|
|
4
4
|
import { O as OrIcon } from './OrIcon-8625385f.js';
|
|
5
5
|
import { O as OrIconButton } from './OrIconButton-a2ba92df.js';
|
|
6
|
-
import { O as OrInputBox
|
|
6
|
+
import { O as OrInputBox } from './OrInputBox-da25bec2.js';
|
|
7
7
|
import { O as OrLabel } from './OrLabel-172c4b89.js';
|
|
8
|
+
import { a as InputBoxSize } from './props-78496a2d.js';
|
|
8
9
|
import { u as useClassAttribute } from './useClassAttribute-9bf33346.js';
|
|
9
10
|
import { defineComponent, getCurrentInstance, ref, computed } from '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
10
11
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
@@ -24,8 +25,8 @@ const InputRoot = [
|
|
|
24
25
|
// Spacing
|
|
25
26
|
'gap-xs'];
|
|
26
27
|
const InputControl = [
|
|
27
|
-
//
|
|
28
|
-
'
|
|
28
|
+
// Box
|
|
29
|
+
'w-full',
|
|
29
30
|
// Typography
|
|
30
31
|
'typography-inherit',
|
|
31
32
|
// Theme
|
|
@@ -151,10 +152,10 @@ var __vue_render__ = function () {
|
|
|
151
152
|
var _vm = this;
|
|
152
153
|
var _h = _vm.$createElement;
|
|
153
154
|
var _c = _vm._self._c || _h;
|
|
154
|
-
return _c('div', {
|
|
155
|
+
return _c('div', _vm._b({
|
|
155
156
|
ref: "root",
|
|
156
157
|
class: _vm.rootStyles
|
|
157
|
-
}, [_vm.label ? [_c('OrLabel', {
|
|
158
|
+
}, 'div', _vm.$attrs, false), [_vm.label ? [_c('OrLabel', {
|
|
158
159
|
attrs: {
|
|
159
160
|
"control-id": _vm.controlId,
|
|
160
161
|
"variant": 'input',
|
|
@@ -176,7 +177,7 @@ var __vue_render__ = function () {
|
|
|
176
177
|
"readonly": _vm.readonly,
|
|
177
178
|
"disabled": _vm.disabled
|
|
178
179
|
}
|
|
179
|
-
}, [(_vm.type === 'password' && _vm.disclosed ? 'text' : _vm.type) === 'checkbox' ? _c('input',
|
|
180
|
+
}, [(_vm.type === 'password' && _vm.disclosed ? 'text' : _vm.type) === 'checkbox' ? _c('input', {
|
|
180
181
|
directives: [{
|
|
181
182
|
name: "model",
|
|
182
183
|
rawName: "v-model",
|
|
@@ -190,6 +191,8 @@ var __vue_render__ = function () {
|
|
|
190
191
|
"placeholder": _vm.placeholder,
|
|
191
192
|
"required": _vm.required,
|
|
192
193
|
"disabled": _vm.disabled,
|
|
194
|
+
"readonly": _vm.readonly,
|
|
195
|
+
"maxlength": _vm.maxLength,
|
|
193
196
|
"type": "checkbox"
|
|
194
197
|
},
|
|
195
198
|
domProps: {
|
|
@@ -225,7 +228,7 @@ var __vue_render__ = function () {
|
|
|
225
228
|
}
|
|
226
229
|
}
|
|
227
230
|
}
|
|
228
|
-
}
|
|
231
|
+
}) : (_vm.type === 'password' && _vm.disclosed ? 'text' : _vm.type) === 'radio' ? _c('input', {
|
|
229
232
|
directives: [{
|
|
230
233
|
name: "model",
|
|
231
234
|
rawName: "v-model",
|
|
@@ -239,6 +242,8 @@ var __vue_render__ = function () {
|
|
|
239
242
|
"placeholder": _vm.placeholder,
|
|
240
243
|
"required": _vm.required,
|
|
241
244
|
"disabled": _vm.disabled,
|
|
245
|
+
"readonly": _vm.readonly,
|
|
246
|
+
"maxlength": _vm.maxLength,
|
|
242
247
|
"type": "radio"
|
|
243
248
|
},
|
|
244
249
|
domProps: {
|
|
@@ -261,7 +266,7 @@ var __vue_render__ = function () {
|
|
|
261
266
|
_vm.proxyModelValue = null;
|
|
262
267
|
}
|
|
263
268
|
}
|
|
264
|
-
}
|
|
269
|
+
}) : _c('input', {
|
|
265
270
|
directives: [{
|
|
266
271
|
name: "model",
|
|
267
272
|
rawName: "v-model",
|
|
@@ -275,6 +280,8 @@ var __vue_render__ = function () {
|
|
|
275
280
|
"placeholder": _vm.placeholder,
|
|
276
281
|
"required": _vm.required,
|
|
277
282
|
"disabled": _vm.disabled,
|
|
283
|
+
"readonly": _vm.readonly,
|
|
284
|
+
"maxlength": _vm.maxLength,
|
|
278
285
|
"type": _vm.type === 'password' && _vm.disclosed ? 'text' : _vm.type
|
|
279
286
|
},
|
|
280
287
|
domProps: {
|
|
@@ -300,7 +307,7 @@ var __vue_render__ = function () {
|
|
|
300
307
|
_vm.proxyModelValue = $event.target.value;
|
|
301
308
|
}
|
|
302
309
|
}
|
|
303
|
-
}
|
|
310
|
+
}), _vm._v(" "), _vm.type !== 'text' ? [_c('div', {
|
|
304
311
|
class: ['layout-row']
|
|
305
312
|
}, [_vm.type === 'password' ? [_c('OrIconButton', {
|
|
306
313
|
attrs: {
|
|
@@ -334,7 +341,7 @@ var __vue_render__ = function () {
|
|
|
334
341
|
"icon": 'search',
|
|
335
342
|
"variant": 'outlined'
|
|
336
343
|
}
|
|
337
|
-
})]] : _vm._e()], 2)]), _vm._v(" "), !_vm.invalid ? [_vm.hint || _vm.maxLength ? [_c('OrHint', {
|
|
344
|
+
})]] : _vm._e()], 2)] : _vm._e()], 2), _vm._v(" "), !_vm.invalid ? [_vm.hint || _vm.maxLength ? [_c('OrHint', {
|
|
338
345
|
attrs: {
|
|
339
346
|
"disabled": _vm.disabled
|
|
340
347
|
},
|
|
@@ -363,14 +370,14 @@ var __vue_staticRenderFns__ = [];
|
|
|
363
370
|
/* style */
|
|
364
371
|
const __vue_inject_styles__ = function (inject) {
|
|
365
372
|
if (!inject) return;
|
|
366
|
-
inject("data-v-
|
|
367
|
-
source: "input[data-v-
|
|
373
|
+
inject("data-v-2cb9359c_0", {
|
|
374
|
+
source: "input[data-v-2cb9359c]{min-width:0;background:0 0;outline:0}input[type=number][data-v-2cb9359c]::-webkit-inner-spin-button{display:none}input[type=search][data-v-2cb9359c]::-webkit-search-cancel-button{display:none}",
|
|
368
375
|
map: undefined,
|
|
369
376
|
media: undefined
|
|
370
377
|
});
|
|
371
378
|
};
|
|
372
379
|
/* scoped */
|
|
373
|
-
const __vue_scope_id__ = "data-v-
|
|
380
|
+
const __vue_scope_id__ = "data-v-2cb9359c";
|
|
374
381
|
/* module identifier */
|
|
375
382
|
const __vue_module_identifier__ = undefined;
|
|
376
383
|
/* functional template */
|
|
@@ -1,19 +1,9 @@
|
|
|
1
1
|
import './index-fa6eb4ca.js';
|
|
2
|
+
import { I as InputBoxVariant, a as InputBoxSize } from './props-78496a2d.js';
|
|
2
3
|
import { u as useClassAttribute } from './useClassAttribute-9bf33346.js';
|
|
3
4
|
import { defineComponent, ref, computed } from '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
4
5
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
5
6
|
|
|
6
|
-
var InputBoxVariant;
|
|
7
|
-
(function (InputBoxVariant) {
|
|
8
|
-
InputBoxVariant["Styled"] = "styled";
|
|
9
|
-
InputBoxVariant["Unstyled"] = "unstyled";
|
|
10
|
-
})(InputBoxVariant || (InputBoxVariant = {}));
|
|
11
|
-
var InputBoxSize;
|
|
12
|
-
(function (InputBoxSize) {
|
|
13
|
-
InputBoxSize["M"] = "m";
|
|
14
|
-
InputBoxSize["S"] = "s";
|
|
15
|
-
})(InputBoxSize || (InputBoxSize = {}));
|
|
16
|
-
|
|
17
7
|
const InputBoxRoot = [
|
|
18
8
|
// Layout
|
|
19
9
|
'layout-row',
|
|
@@ -44,7 +34,7 @@ const InputBoxRootVariants = {
|
|
|
44
34
|
const InputBoxRootSizes = {
|
|
45
35
|
'm': [
|
|
46
36
|
// Box
|
|
47
|
-
'children:min-h-[34px]',
|
|
37
|
+
'children:min-h-[46px] children:md:min-h-[34px]',
|
|
48
38
|
// Spacing
|
|
49
39
|
'first-child:pl-md first-child:md:pl-sm+', 'last-child:pr-md last-child:md:pr-sm+', 'children:pt-[11px] children:md:pt-[7px]', 'children:pb-[11px] children:md:pb-[6px]', 'gap-sm+ md:gap-sm',
|
|
50
40
|
// Typography
|
|
@@ -137,4 +127,4 @@ const __vue_component__ = /*#__PURE__*/normalizeComponent({
|
|
|
137
127
|
}, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, undefined, undefined, undefined);
|
|
138
128
|
var OrInputBox = __vue_component__;
|
|
139
129
|
|
|
140
|
-
export {
|
|
130
|
+
export { OrInputBox as O };
|
|
@@ -168,14 +168,14 @@ var __vue_staticRenderFns__ = [];
|
|
|
168
168
|
/* style */
|
|
169
169
|
const __vue_inject_styles__ = function (inject) {
|
|
170
170
|
if (!inject) return;
|
|
171
|
-
inject("data-v-
|
|
172
|
-
source: "input[data-v-
|
|
171
|
+
inject("data-v-f9edd250_0", {
|
|
172
|
+
source: "input[data-v-f9edd250]{appearance:none;line-height:0}",
|
|
173
173
|
map: undefined,
|
|
174
174
|
media: undefined
|
|
175
175
|
});
|
|
176
176
|
};
|
|
177
177
|
/* scoped */
|
|
178
|
-
const __vue_scope_id__ = "data-v-
|
|
178
|
+
const __vue_scope_id__ = "data-v-f9edd250";
|
|
179
179
|
/* module identifier */
|
|
180
180
|
const __vue_module_identifier__ = undefined;
|
|
181
181
|
/* functional template */
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import './index-fa6eb4ca.js';
|
|
2
2
|
import { debouncedWatch } from '@vueuse/core';
|
|
3
|
-
import { O as OrInput } from './OrInput-
|
|
3
|
+
import { O as OrInput } from './OrInput-a7573d82.js';
|
|
4
4
|
import { u as useClassAttribute } from './useClassAttribute-9bf33346.js';
|
|
5
5
|
import { defineComponent, ref, computed, watch } from '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
6
|
-
import { a as InputBoxSize } from './
|
|
6
|
+
import { a as InputBoxSize } from './props-78496a2d.js';
|
|
7
7
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
8
8
|
|
|
9
9
|
var script = defineComponent({
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import './index-fa6eb4ca.js';
|
|
2
|
-
import { O as OrCheckbox } from './OrCheckbox-
|
|
2
|
+
import { O as OrCheckbox } from './OrCheckbox-4f665252.js';
|
|
3
3
|
import { O as OrError } from './OrError-aad17598.js';
|
|
4
4
|
import { O as OrExpansionPanel } from './OrExpansionPanel-d9a260e2.js';
|
|
5
5
|
import { O as OrHint } from './OrHint-f38a1940.js';
|
|
6
6
|
import { O as OrIcon } from './OrIcon-8625385f.js';
|
|
7
|
-
import { O as OrInput } from './OrInput-
|
|
8
|
-
import { O as OrInputBox
|
|
7
|
+
import { O as OrInput } from './OrInput-a7573d82.js';
|
|
8
|
+
import { O as OrInputBox } from './OrInputBox-da25bec2.js';
|
|
9
9
|
import { O as OrLabel } from './OrLabel-172c4b89.js';
|
|
10
10
|
import { O as OrMenuItem } from './OrMenuItem-26420908.js';
|
|
11
11
|
import { O as OrPopover } from './OrPopover-5dc240f1.js';
|
|
@@ -14,6 +14,7 @@ import { D as DropdownClose, a as DropdownOpen } from './dropdown-open-e2a93aaf.
|
|
|
14
14
|
import { u as useClassAttribute } from './useClassAttribute-9bf33346.js';
|
|
15
15
|
import { u as useOverflow } from './useOverflow-bae6342f.js';
|
|
16
16
|
import { defineComponent, getCurrentInstance, ref, computed, onMounted, watch } from '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
17
|
+
import { a as InputBoxSize } from './props-78496a2d.js';
|
|
17
18
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
18
19
|
|
|
19
20
|
const SelectRoot = [
|
|
@@ -23,7 +24,9 @@ const SelectRoot = [
|
|
|
23
24
|
'gap-xs'];
|
|
24
25
|
const SelectControl = [
|
|
25
26
|
// Layout
|
|
26
|
-
'layout-row
|
|
27
|
+
'layout-row',
|
|
28
|
+
// Box
|
|
29
|
+
'w-full',
|
|
27
30
|
// Overflow
|
|
28
31
|
'overflow-hidden',
|
|
29
32
|
// Spacing
|
|
@@ -0,0 +1,230 @@
|
|
|
1
|
+
import { useDraggable, useElementBounding } from '@vueuse/core';
|
|
2
|
+
import _ from 'lodash';
|
|
3
|
+
import './index-fa6eb4ca.js';
|
|
4
|
+
import { defineComponent, ref, computed, watch } from '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
5
|
+
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
6
|
+
|
|
7
|
+
var OrSidebarPlacement;
|
|
8
|
+
(function (OrSidebarPlacement) {
|
|
9
|
+
OrSidebarPlacement["left"] = "left";
|
|
10
|
+
OrSidebarPlacement["right"] = "right";
|
|
11
|
+
})(OrSidebarPlacement || (OrSidebarPlacement = {}));
|
|
12
|
+
|
|
13
|
+
const SidebarRoot = [
|
|
14
|
+
// Position
|
|
15
|
+
'relative',
|
|
16
|
+
// Layout
|
|
17
|
+
'flex', 'flex-col', 'shrink-0',
|
|
18
|
+
// Box
|
|
19
|
+
'min-h-0', 'p-0'];
|
|
20
|
+
const SidebarRootSides = {
|
|
21
|
+
[OrSidebarPlacement.left]: [
|
|
22
|
+
// Borders
|
|
23
|
+
'border-r-[1px]', 'border-r-solid', 'border-r-secondary dark:border-r-secondary-dark'],
|
|
24
|
+
[OrSidebarPlacement.right]: [
|
|
25
|
+
// Borders
|
|
26
|
+
'border-l-[1px]', 'border-l-solid', 'border-l-secondary dark:border-l-secondary-dark']
|
|
27
|
+
};
|
|
28
|
+
const SidebarResize = [
|
|
29
|
+
// Position
|
|
30
|
+
'absolute', 'inset-y-none', 'z-[1]',
|
|
31
|
+
// Box
|
|
32
|
+
'w-[12px]', 'h-[100%]',
|
|
33
|
+
// Cursor
|
|
34
|
+
'cursor-ew-resize'];
|
|
35
|
+
const SidebarResizeSides = {
|
|
36
|
+
[OrSidebarPlacement.left]: [
|
|
37
|
+
// Position
|
|
38
|
+
'-right-[1px]',
|
|
39
|
+
// Borders
|
|
40
|
+
'hover:border-r-2', 'hover:border-r-primary hover:dark:border-r-primary-dark',
|
|
41
|
+
// Transition
|
|
42
|
+
'transition-[border-right]'],
|
|
43
|
+
[OrSidebarPlacement.right]: [
|
|
44
|
+
// Position
|
|
45
|
+
'-left-[1px]',
|
|
46
|
+
// Borders
|
|
47
|
+
'hover:border-l-2', 'hover:border-l-primary hover:dark:border-l-primary-dark',
|
|
48
|
+
// Transition
|
|
49
|
+
'transition-[border-left]']
|
|
50
|
+
};
|
|
51
|
+
const SidebarResizingSides = {
|
|
52
|
+
[OrSidebarPlacement.left]: [
|
|
53
|
+
// Borders
|
|
54
|
+
'border-r-2', 'border-r-primary dark:border-r-primary-dark'],
|
|
55
|
+
[OrSidebarPlacement.right]: [
|
|
56
|
+
// Borders
|
|
57
|
+
'border-l-2', 'border-l-primary dark:border-l-primary-dark']
|
|
58
|
+
};
|
|
59
|
+
const SidebarMain = [
|
|
60
|
+
// Layout
|
|
61
|
+
'flex', 'flex-col', 'grow',
|
|
62
|
+
// Box
|
|
63
|
+
'min-h-0'];
|
|
64
|
+
const SidebarHeader = [
|
|
65
|
+
// Sizing
|
|
66
|
+
'p-md'];
|
|
67
|
+
const SidebarContent = [
|
|
68
|
+
// Layout
|
|
69
|
+
'grow', 'overflow-auto',
|
|
70
|
+
// Sizing
|
|
71
|
+
'p-md'];
|
|
72
|
+
const SidebarFooter = [
|
|
73
|
+
// Sizing
|
|
74
|
+
'p-md',
|
|
75
|
+
// Borders
|
|
76
|
+
'border-t-[1px]', 'border-t-solid', 'border-t-secondary dark:border-t-secondary-dark'];
|
|
77
|
+
|
|
78
|
+
var script = defineComponent({
|
|
79
|
+
name: 'OrSidebar',
|
|
80
|
+
props: {
|
|
81
|
+
width: {
|
|
82
|
+
type: Number,
|
|
83
|
+
required: false,
|
|
84
|
+
default: 0,
|
|
85
|
+
validator: value => _.isNumber(value) && value >= 0
|
|
86
|
+
},
|
|
87
|
+
minimumWidth: {
|
|
88
|
+
type: Number,
|
|
89
|
+
required: false,
|
|
90
|
+
default: 350,
|
|
91
|
+
validator: value => _.isNumber(value) && value >= 0
|
|
92
|
+
},
|
|
93
|
+
/**
|
|
94
|
+
* User may put the component on the right or the left side of a container.
|
|
95
|
+
* This property mirrors the resizing behavior (drag direction) and styling (horizontal border) of the sidebar.
|
|
96
|
+
*
|
|
97
|
+
* Note: the property doesn't reposition the component in the parent container.
|
|
98
|
+
* @values left, right
|
|
99
|
+
*/
|
|
100
|
+
side: {
|
|
101
|
+
type: String,
|
|
102
|
+
default: OrSidebarPlacement.right,
|
|
103
|
+
validator: value => _.includes(_.values(OrSidebarPlacement), value)
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
emits: ['change:width'],
|
|
107
|
+
setup(props, {
|
|
108
|
+
emit
|
|
109
|
+
}) {
|
|
110
|
+
// Refs
|
|
111
|
+
const root = ref();
|
|
112
|
+
const resizeBar = ref(null);
|
|
113
|
+
const parentContainer = computed(() => {
|
|
114
|
+
var _a;
|
|
115
|
+
return (_a = root.value) === null || _a === void 0 ? void 0 : _a.parentElement;
|
|
116
|
+
});
|
|
117
|
+
// State
|
|
118
|
+
const startPositionX = ref(0);
|
|
119
|
+
const isResizing = ref(false);
|
|
120
|
+
const localWidth = ref(props.width >= props.minimumWidth ? props.width : props.minimumWidth);
|
|
121
|
+
// Styles
|
|
122
|
+
const sidebarStyle = computed(() => ({
|
|
123
|
+
width: localWidth.value + 'px'
|
|
124
|
+
}));
|
|
125
|
+
const rootStyles = computed(() => ['or-sidebar', ...SidebarRoot, ...SidebarRootSides[props.side]]);
|
|
126
|
+
const resizeStyles = computed(() => [...SidebarResize, ...SidebarResizeSides[props.side], ...(isResizing.value ? SidebarResizingSides[props.side] : [])]);
|
|
127
|
+
const mainStyles = computed(() => [...SidebarMain]);
|
|
128
|
+
const headerStyles = computed(() => [...SidebarHeader]);
|
|
129
|
+
const contentStyles = computed(() => [...SidebarContent]);
|
|
130
|
+
const footerStyles = computed(() => [...SidebarFooter]);
|
|
131
|
+
// Effects
|
|
132
|
+
useDraggable(resizeBar, {
|
|
133
|
+
preventDefault: true,
|
|
134
|
+
onStart: (position, event) => {
|
|
135
|
+
document.body.style.cursor = 'ew-resize';
|
|
136
|
+
document.body.style.userSelect = 'none';
|
|
137
|
+
startPositionX.value = event.x;
|
|
138
|
+
isResizing.value = true;
|
|
139
|
+
},
|
|
140
|
+
onMove: position => {
|
|
141
|
+
const delta = (position.x - startPositionX.value) * (props.side === OrSidebarPlacement.left ? -1 : 1);
|
|
142
|
+
const newWidth = localWidth.value - delta;
|
|
143
|
+
localWidth.value = newWidth > maximumWidth.value ? maximumWidth.value : newWidth < props.minimumWidth ? props.minimumWidth : newWidth;
|
|
144
|
+
startPositionX.value = position.x;
|
|
145
|
+
},
|
|
146
|
+
onEnd: () => {
|
|
147
|
+
document.body.style.cursor = '';
|
|
148
|
+
document.body.style.userSelect = '';
|
|
149
|
+
isResizing.value = false;
|
|
150
|
+
}
|
|
151
|
+
});
|
|
152
|
+
const {
|
|
153
|
+
width: maximumWidth
|
|
154
|
+
} = useElementBounding(parentContainer);
|
|
155
|
+
watch(() => props.width, newValue => {
|
|
156
|
+
if (newValue !== localWidth.value) {
|
|
157
|
+
localWidth.value = newValue > maximumWidth.value ? maximumWidth.value : newValue < props.minimumWidth ? props.minimumWidth : newValue;
|
|
158
|
+
}
|
|
159
|
+
});
|
|
160
|
+
watch(() => props.minimumWidth, newMinimum => {
|
|
161
|
+
if (newMinimum > localWidth.value) localWidth.value = newMinimum;
|
|
162
|
+
});
|
|
163
|
+
watch(maximumWidth, newMaximum => {
|
|
164
|
+
if (newMaximum < localWidth.value) localWidth.value = newMaximum;
|
|
165
|
+
});
|
|
166
|
+
watch(localWidth, val => emit('change:width', val));
|
|
167
|
+
return {
|
|
168
|
+
root,
|
|
169
|
+
resizeBar,
|
|
170
|
+
isResizing,
|
|
171
|
+
localWidth,
|
|
172
|
+
sidebarStyle,
|
|
173
|
+
rootStyles,
|
|
174
|
+
resizeStyles,
|
|
175
|
+
mainStyles,
|
|
176
|
+
headerStyles,
|
|
177
|
+
contentStyles,
|
|
178
|
+
footerStyles
|
|
179
|
+
};
|
|
180
|
+
}
|
|
181
|
+
});
|
|
182
|
+
|
|
183
|
+
/* script */
|
|
184
|
+
const __vue_script__ = script;
|
|
185
|
+
|
|
186
|
+
/* template */
|
|
187
|
+
var __vue_render__ = function () {
|
|
188
|
+
var _vm = this;
|
|
189
|
+
var _h = _vm.$createElement;
|
|
190
|
+
var _c = _vm._self._c || _h;
|
|
191
|
+
return _c('aside', {
|
|
192
|
+
ref: "root",
|
|
193
|
+
class: _vm.rootStyles,
|
|
194
|
+
style: _vm.sidebarStyle
|
|
195
|
+
}, [_c('div', {
|
|
196
|
+
ref: "resizeBar",
|
|
197
|
+
class: _vm.resizeStyles
|
|
198
|
+
}), _vm._v(" "), _c('div', {
|
|
199
|
+
class: _vm.mainStyles
|
|
200
|
+
}, [_vm.$slots.header ? _c('div', {
|
|
201
|
+
class: _vm.headerStyles
|
|
202
|
+
}, [_vm._t("header")], 2) : _vm._e(), _vm._v(" "), _c('div', {
|
|
203
|
+
class: _vm.contentStyles
|
|
204
|
+
}, [_vm._t("default")], 2)]), _vm._v(" "), _vm.$slots.footer ? _c('div', {
|
|
205
|
+
class: _vm.footerStyles
|
|
206
|
+
}, [_vm._t("footer")], 2) : _vm._e()]);
|
|
207
|
+
};
|
|
208
|
+
var __vue_staticRenderFns__ = [];
|
|
209
|
+
|
|
210
|
+
/* style */
|
|
211
|
+
const __vue_inject_styles__ = undefined;
|
|
212
|
+
/* scoped */
|
|
213
|
+
const __vue_scope_id__ = undefined;
|
|
214
|
+
/* module identifier */
|
|
215
|
+
const __vue_module_identifier__ = undefined;
|
|
216
|
+
/* functional template */
|
|
217
|
+
const __vue_is_functional_template__ = false;
|
|
218
|
+
/* style inject */
|
|
219
|
+
|
|
220
|
+
/* style inject SSR */
|
|
221
|
+
|
|
222
|
+
/* style inject shadow dom */
|
|
223
|
+
|
|
224
|
+
const __vue_component__ = /*#__PURE__*/normalizeComponent({
|
|
225
|
+
render: __vue_render__,
|
|
226
|
+
staticRenderFns: __vue_staticRenderFns__
|
|
227
|
+
}, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, undefined, undefined, undefined);
|
|
228
|
+
var __vue_component__$1 = __vue_component__;
|
|
229
|
+
|
|
230
|
+
export { OrSidebarPlacement as O, __vue_component__$1 as _ };
|
|
@@ -220,14 +220,14 @@ var __vue_staticRenderFns__ = [];
|
|
|
220
220
|
/* style */
|
|
221
221
|
const __vue_inject_styles__ = function (inject) {
|
|
222
222
|
if (!inject) return;
|
|
223
|
-
inject("data-v-
|
|
224
|
-
source: "input[data-v-
|
|
223
|
+
inject("data-v-3bd834ea_0", {
|
|
224
|
+
source: "input[data-v-3bd834ea]{appearance:none;line-height:0}",
|
|
225
225
|
map: undefined,
|
|
226
226
|
media: undefined
|
|
227
227
|
});
|
|
228
228
|
};
|
|
229
229
|
/* scoped */
|
|
230
|
-
const __vue_scope_id__ = "data-v-
|
|
230
|
+
const __vue_scope_id__ = "data-v-3bd834ea";
|
|
231
231
|
/* module identifier */
|
|
232
232
|
const __vue_module_identifier__ = undefined;
|
|
233
233
|
/* functional template */
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import './index-fa6eb4ca.js';
|
|
2
2
|
import { O as OrError } from './OrError-aad17598.js';
|
|
3
3
|
import { O as OrHint } from './OrHint-f38a1940.js';
|
|
4
|
-
import { O as OrInputBox
|
|
4
|
+
import { O as OrInputBox } from './OrInputBox-da25bec2.js';
|
|
5
5
|
import { O as OrLabel } from './OrLabel-172c4b89.js';
|
|
6
6
|
import { u as useClassAttribute } from './useClassAttribute-9bf33346.js';
|
|
7
7
|
import { defineComponent, getCurrentInstance, ref, computed } from '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
8
|
+
import { a as InputBoxSize } from './props-78496a2d.js';
|
|
8
9
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
9
10
|
import { c as createInjector } from './browser-82dea9ed.js';
|
|
10
11
|
|
|
@@ -14,8 +15,8 @@ const TextareaRoot = [
|
|
|
14
15
|
// Spacing
|
|
15
16
|
'gap-xs'];
|
|
16
17
|
const TextareaControl = [
|
|
17
|
-
//
|
|
18
|
-
'
|
|
18
|
+
// Box
|
|
19
|
+
'w-full',
|
|
19
20
|
// Typography
|
|
20
21
|
'typography-inherit',
|
|
21
22
|
// Theme
|
|
@@ -121,10 +122,10 @@ var __vue_render__ = function () {
|
|
|
121
122
|
var _vm = this;
|
|
122
123
|
var _h = _vm.$createElement;
|
|
123
124
|
var _c = _vm._self._c || _h;
|
|
124
|
-
return _c('div', {
|
|
125
|
+
return _c('div', _vm._b({
|
|
125
126
|
ref: "root",
|
|
126
127
|
class: _vm.rootStyles
|
|
127
|
-
}, [_vm.label ? [_c('OrLabel', {
|
|
128
|
+
}, 'div', _vm.$attrs, false), [_vm.label ? [_c('OrLabel', {
|
|
128
129
|
attrs: {
|
|
129
130
|
"control-id": _vm.controlId,
|
|
130
131
|
"variant": 'input',
|
|
@@ -145,7 +146,7 @@ var __vue_render__ = function () {
|
|
|
145
146
|
"readonly": _vm.readonly,
|
|
146
147
|
"disabled": _vm.disabled
|
|
147
148
|
}
|
|
148
|
-
}, [_c('textarea',
|
|
149
|
+
}, [_c('textarea', {
|
|
149
150
|
directives: [{
|
|
150
151
|
name: "model",
|
|
151
152
|
rawName: "v-model",
|
|
@@ -157,7 +158,9 @@ var __vue_render__ = function () {
|
|
|
157
158
|
"id": _vm.controlId,
|
|
158
159
|
"placeholder": _vm.placeholder,
|
|
159
160
|
"required": _vm.required,
|
|
160
|
-
"disabled": _vm.disabled
|
|
161
|
+
"disabled": _vm.disabled,
|
|
162
|
+
"readonly": _vm.readonly,
|
|
163
|
+
"maxlength": _vm.maxLength
|
|
161
164
|
},
|
|
162
165
|
domProps: {
|
|
163
166
|
"value": _vm.proxyModelValue
|
|
@@ -182,7 +185,7 @@ var __vue_render__ = function () {
|
|
|
182
185
|
_vm.proxyModelValue = $event.target.value;
|
|
183
186
|
}
|
|
184
187
|
}
|
|
185
|
-
}
|
|
188
|
+
})]), _vm._v(" "), !_vm.invalid ? [_vm.hint || _vm.maxLength ? [_c('OrHint', {
|
|
186
189
|
attrs: {
|
|
187
190
|
"disabled": _vm.disabled
|
|
188
191
|
},
|
|
@@ -211,14 +214,14 @@ var __vue_staticRenderFns__ = [];
|
|
|
211
214
|
/* style */
|
|
212
215
|
const __vue_inject_styles__ = function (inject) {
|
|
213
216
|
if (!inject) return;
|
|
214
|
-
inject("data-v-
|
|
215
|
-
source: "textarea[data-v-
|
|
217
|
+
inject("data-v-3c0ea336_0", {
|
|
218
|
+
source: "textarea[data-v-3c0ea336]{min-width:0;background:0 0;outline:0}",
|
|
216
219
|
map: undefined,
|
|
217
220
|
media: undefined
|
|
218
221
|
});
|
|
219
222
|
};
|
|
220
223
|
/* scoped */
|
|
221
|
-
const __vue_scope_id__ = "data-v-
|
|
224
|
+
const __vue_scope_id__ = "data-v-3c0ea336";
|
|
222
225
|
/* module identifier */
|
|
223
226
|
const __vue_module_identifier__ = undefined;
|
|
224
227
|
/* functional template */
|