@onereach/ui-components 2.71.1-beta.2223.0 → 2.71.1-beta.2227.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-f6c1318a.js} +1 -1
- package/dist/bundled/v2/{OrConfirm-057e997e.js → OrConfirm-371a99bf.js} +1 -1
- package/dist/bundled/v2/{OrInput-82ccfe00.js → OrInput-b0cdd2ae.js} +23 -6
- package/dist/bundled/v2/{OrSearch-53470b0e.js → OrSearch-fe562cfd.js} +1 -1
- package/dist/bundled/v2/{OrSelect-02fb39f0.js → OrSelect-0c169a4f.js} +1 -1
- package/dist/bundled/v2/OrSidebar-c95ef614.js +230 -0
- package/dist/bundled/v2/components/index.js +7 -7
- package/dist/bundled/v2/components/or-card-collection-v3/index.js +3 -3
- package/dist/bundled/v2/components/or-confirm-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-input-v3/OrInput.vue.d.ts +13 -0
- package/dist/bundled/v2/components/or-input-v3/index.js +2 -1
- package/dist/bundled/v2/components/or-search-v3/index.js +3 -2
- package/dist/bundled/v2/components/or-select-v3/index.js +3 -2
- 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/index.js +7 -7
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-2d78a51a.js → OrCardCollection.vue_vue_type_script_lang-1fa9e6ce.js} +1 -1
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-9d9a3917.js → OrConfirm.vue_vue_type_script_lang-5eef57a2.js} +2 -2
- package/dist/bundled/v3/{OrInput-a4f220ed.js → OrInput-04b89444.js} +13 -4
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-607d79d4.js → OrInput.vue_vue_type_script_lang-caab1e89.js} +13 -1
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-06f318ca.js → OrSearch.vue_vue_type_script_lang-10ff525e.js} +2 -2
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-83f15704.js → OrSelect.vue_vue_type_script_lang-4fad2bfb.js} +2 -2
- package/dist/bundled/v3/OrSidebar.vue_vue_type_script_lang-ce0b152c.js +181 -0
- package/dist/bundled/v3/components/index.js +8 -8
- package/dist/bundled/v3/components/or-card-collection-v3/index.js +4 -4
- package/dist/bundled/v3/components/or-confirm-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-input-v3/OrInput.vue.d.ts +13 -0
- package/dist/bundled/v3/components/or-input-v3/index.js +3 -1
- package/dist/bundled/v3/components/or-search-v3/index.js +5 -3
- package/dist/bundled/v3/components/or-select-v3/index.js +5 -3
- 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/index.js +18 -34
- package/dist/esm/v2/{OrCardCollection-3c38fc85.js → OrCardCollection-e08a4637.js} +1 -1
- package/dist/esm/v2/{OrConfirm-047d4086.js → OrConfirm-43f97635.js} +1 -1
- package/dist/esm/v2/{OrInput-ada3a970.js → OrInput-5e46af9a.js} +23 -6
- package/dist/esm/v2/{OrSearch-0f08f2f5.js → OrSearch-84143c15.js} +1 -1
- package/dist/esm/v2/{OrSelect-f8837f5d.js → OrSelect-5a2ff296.js} +1 -1
- package/dist/esm/v2/OrSidebar-fabc7bc9.js +228 -0
- package/dist/esm/v2/components/index.js +7 -7
- package/dist/esm/v2/components/or-card-collection-v3/index.js +3 -3
- package/dist/esm/v2/components/or-confirm-v3/index.js +3 -3
- package/dist/esm/v2/components/or-input-v3/OrInput.vue.d.ts +13 -0
- package/dist/esm/v2/components/or-input-v3/index.js +3 -2
- package/dist/esm/v2/components/or-search-v3/index.js +4 -3
- package/dist/esm/v2/components/or-select-v3/index.js +4 -3
- 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/index.js +6 -6
- package/dist/esm/v3/{OrCardCollection-dbb3e839.js → OrCardCollection-6912f897.js} +1 -1
- package/dist/esm/v3/{OrConfirm-fee3c859.js → OrConfirm-d1c05034.js} +1 -1
- package/dist/esm/v3/{OrInput-9c0426b9.js → OrInput-a2c4cfb5.js} +24 -4
- package/dist/esm/v3/{OrSearch-9885d178.js → OrSearch-dbb07738.js} +1 -1
- package/dist/esm/v3/{OrSelect-8fbd88bc.js → OrSelect-511acc24.js} +1 -1
- package/dist/esm/v3/OrSidebar-a62972f5.js +206 -0
- package/dist/esm/v3/components/index.js +7 -7
- package/dist/esm/v3/components/or-card-collection-v3/index.js +3 -3
- package/dist/esm/v3/components/or-confirm-v3/index.js +3 -3
- package/dist/esm/v3/components/or-input-v3/OrInput.vue.d.ts +13 -0
- package/dist/esm/v3/components/or-input-v3/index.js +3 -2
- package/dist/esm/v3/components/or-search-v3/index.js +4 -3
- package/dist/esm/v3/components/or-select-v3/index.js +4 -3
- 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/index.js +6 -6
- package/package.json +1 -1
- package/src/components/or-input-v3/OrInput.stories3.ts +4 -0
- package/src/components/or-input-v3/OrInput.vue +36 -16
- package/src/components/or-sidebar-v3/OrSidebar.docs.mdx +0 -6
- package/src/components/or-sidebar-v3/OrSidebar.stories3.ts +12 -253
- package/src/components/or-sidebar-v3/OrSidebar.vue +23 -130
- package/src/components/or-sidebar-v3/styles.ts +9 -164
- package/dist/bundled/v2/OrSidebar-eedd2d6e.js +0 -464
- 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-6dc222bd.js +0 -356
- 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-e43a6e55.js +0 -461
- 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-2abaf7d6.js +0 -396
- 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
|
@@ -7,7 +7,7 @@ import { s as script$5 } from './OrMenu.vue_vue_type_script_lang-2446a69a.js';
|
|
|
7
7
|
import './OrMenuItem-4feaba6c.js';
|
|
8
8
|
import { s as script$6 } from './OrMenuItem.vue_vue_type_script_lang-0ffaef05.js';
|
|
9
9
|
import './OrIcon-d878b768.js';
|
|
10
|
-
import { s as script$2 } from './OrSearch.vue_vue_type_script_lang-
|
|
10
|
+
import { s as script$2 } from './OrSearch.vue_vue_type_script_lang-10ff525e.js';
|
|
11
11
|
import { u as useClassAttribute } from './useClassAttribute-00888f78.js';
|
|
12
12
|
import { s as script$4 } from './OrButton.vue_vue_type_script_lang-8c44986c.js';
|
|
13
13
|
import { s as script$7 } from './OrIcon.vue_vue_type_script_lang-a119a715.js';
|
|
@@ -3,10 +3,10 @@ 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-6fb49de9.js';
|
|
5
5
|
import './OrButton-2b27c1fd.js';
|
|
6
|
-
import './OrInput-
|
|
6
|
+
import './OrInput-04b89444.js';
|
|
7
7
|
import { s as script$2, a as ButtonColor } from './OrButton.vue_vue_type_script_lang-8c44986c.js';
|
|
8
8
|
import { s as script$1 } from './OrOverlay.vue_vue_type_script_lang-cb3aad0c.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-caab1e89.js';
|
|
10
10
|
|
|
11
11
|
var ConfirmType;
|
|
12
12
|
(function (ConfirmType) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as script } from './OrInput.vue_vue_type_script_lang-
|
|
2
|
-
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, createVNode, withDirectives, createElementVNode, mergeProps, vModelDynamic,
|
|
1
|
+
import { s as script } from './OrInput.vue_vue_type_script_lang-caab1e89.js';
|
|
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
|
|
|
5
5
|
const _hoisted_1 = ["id", "type", "placeholder", "required", "disabled"];
|
|
@@ -8,6 +8,7 @@ const _hoisted_2 = {
|
|
|
8
8
|
};
|
|
9
9
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10
10
|
const _component_OrLabel = resolveComponent("OrLabel");
|
|
11
|
+
const _component_OrLoader = resolveComponent("OrLoader");
|
|
11
12
|
const _component_OrIconButton = resolveComponent("OrIconButton");
|
|
12
13
|
const _component_OrIcon = resolveComponent("OrIcon");
|
|
13
14
|
const _component_OrInputBox = resolveComponent("OrInputBox");
|
|
@@ -48,7 +49,14 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
48
49
|
onKeyup: _cache[2] || (_cache[2] = $event => _ctx.$emit('keyup', $event)),
|
|
49
50
|
onFocus: _cache[3] || (_cache[3] = $event => _ctx.$emit('focus', $event)),
|
|
50
51
|
onBlur: _cache[4] || (_cache[4] = $event => _ctx.$emit('blur', $event))
|
|
51
|
-
}), null, 16 /* FULL_PROPS */, _hoisted_1), [[vModelDynamic, _ctx.proxyModelValue]]), createElementVNode("div", _hoisted_2, [_ctx.
|
|
52
|
+
}), null, 16 /* FULL_PROPS */, _hoisted_1), [[vModelDynamic, _ctx.proxyModelValue]]), createElementVNode("div", _hoisted_2, [_ctx.loading ? (openBlock(), createBlock(_component_OrLoader, {
|
|
53
|
+
key: 0,
|
|
54
|
+
variant: 'circular',
|
|
55
|
+
color: 'primary',
|
|
56
|
+
size: _ctx.isMobile ? 'm' : 's'
|
|
57
|
+
}, null, 8 /* PROPS */, ["size"])) : (openBlock(), createElementBlock(Fragment, {
|
|
58
|
+
key: 1
|
|
59
|
+
}, [_ctx.type === 'password' ? (openBlock(), createBlock(_component_OrIconButton, {
|
|
52
60
|
key: 0,
|
|
53
61
|
icon: {
|
|
54
62
|
icon: _ctx.disclosed ? 'visibility_off' : 'visibility',
|
|
@@ -69,7 +77,8 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
69
77
|
key: 1,
|
|
70
78
|
icon: 'search',
|
|
71
79
|
variant: 'outlined'
|
|
72
|
-
}))], 64 /* STABLE_FRAGMENT */)) : createCommentVNode("v-if", true)])]),
|
|
80
|
+
}))], 64 /* STABLE_FRAGMENT */)) : createCommentVNode("v-if", true)], 64 /* STABLE_FRAGMENT */))])]),
|
|
81
|
+
|
|
73
82
|
_: 1 /* STABLE */
|
|
74
83
|
}, 8 /* PROPS */, ["variant", "size", "invalid", "readonly", "disabled"]), !_ctx.invalid ? (openBlock(), createElementBlock(Fragment, {
|
|
75
84
|
key: 1
|
|
@@ -8,9 +8,12 @@ import './OrInputBox-eb54d73d.js';
|
|
|
8
8
|
import { s as script$5, a as InputBoxSize } from './OrInputBox.vue_vue_type_script_lang-5ee4ee45.js';
|
|
9
9
|
import './OrLabel-c6873e79.js';
|
|
10
10
|
import { s as script$6 } from './OrLabel.vue_vue_type_script_lang-96f94c4e.js';
|
|
11
|
+
import './OrLoader-c4bbef2f.js';
|
|
11
12
|
import { u as useClassAttribute } from './useClassAttribute-00888f78.js';
|
|
13
|
+
import { u as useResponsive } from './useResponsive-9d397e2a.js';
|
|
12
14
|
import { s as script$3 } from './OrIcon.vue_vue_type_script_lang-a119a715.js';
|
|
13
15
|
import { s as script$4 } from './OrIconButton.vue_vue_type_script_lang-aefcf30d.js';
|
|
16
|
+
import { s as script$7 } from './OrLoader.vue_vue_type_script_lang-5405040c.js';
|
|
14
17
|
|
|
15
18
|
var InputType;
|
|
16
19
|
(function (InputType) {
|
|
@@ -41,7 +44,8 @@ var script = defineComponent({
|
|
|
41
44
|
OrIcon: script$3,
|
|
42
45
|
OrIconButton: script$4,
|
|
43
46
|
OrInputBox: script$5,
|
|
44
|
-
OrLabel: script$6
|
|
47
|
+
OrLabel: script$6,
|
|
48
|
+
OrLoader: script$7
|
|
45
49
|
},
|
|
46
50
|
inheritAttrs: false,
|
|
47
51
|
props: {
|
|
@@ -77,6 +81,10 @@ var script = defineComponent({
|
|
|
77
81
|
type: String,
|
|
78
82
|
default: undefined
|
|
79
83
|
},
|
|
84
|
+
loading: {
|
|
85
|
+
type: Boolean,
|
|
86
|
+
default: false
|
|
87
|
+
},
|
|
80
88
|
required: {
|
|
81
89
|
type: Boolean,
|
|
82
90
|
default: false
|
|
@@ -123,6 +131,9 @@ var script = defineComponent({
|
|
|
123
131
|
});
|
|
124
132
|
const maxLength = computed(() => context.attrs.maxlength);
|
|
125
133
|
const disclosed = ref(false);
|
|
134
|
+
const {
|
|
135
|
+
isMobile
|
|
136
|
+
} = useResponsive();
|
|
126
137
|
// Methods
|
|
127
138
|
function focus() {
|
|
128
139
|
var _a;
|
|
@@ -140,6 +151,7 @@ var script = defineComponent({
|
|
|
140
151
|
currentLength,
|
|
141
152
|
maxLength,
|
|
142
153
|
disclosed,
|
|
154
|
+
isMobile,
|
|
143
155
|
focus
|
|
144
156
|
};
|
|
145
157
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watch } from 'vue';
|
|
2
2
|
import { debouncedWatch } from '@vueuse/core';
|
|
3
|
-
import './OrInput-
|
|
4
|
-
import { s as script$1 } from './OrInput.vue_vue_type_script_lang-
|
|
3
|
+
import './OrInput-04b89444.js';
|
|
4
|
+
import { s as script$1 } from './OrInput.vue_vue_type_script_lang-caab1e89.js';
|
|
5
5
|
import { u as useClassAttribute } from './useClassAttribute-00888f78.js';
|
|
6
6
|
import { a as InputBoxSize } from './OrInputBox.vue_vue_type_script_lang-5ee4ee45.js';
|
|
7
7
|
|
|
@@ -4,7 +4,7 @@ import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
|
4
4
|
import './OrHint-9592499e.js';
|
|
5
5
|
import { s as script$2 } from './OrExpansionPanel.vue_vue_type_script_lang-5360f580.js';
|
|
6
6
|
import './OrIcon-d878b768.js';
|
|
7
|
-
import './OrInput-
|
|
7
|
+
import './OrInput-04b89444.js';
|
|
8
8
|
import './OrInputBox-eb54d73d.js';
|
|
9
9
|
import './OrLabel-c6873e79.js';
|
|
10
10
|
import './OrMenuItem-4feaba6c.js';
|
|
@@ -16,7 +16,7 @@ import { u as useOverflow } from './useOverflow-6dce216b.js';
|
|
|
16
16
|
import { s as script$4 } from './OrError.vue_vue_type_script_lang-cc6c135f.js';
|
|
17
17
|
import { s as script$5 } from './OrHint.vue_vue_type_script_lang-8e657168.js';
|
|
18
18
|
import { s as script$6 } from './OrIcon.vue_vue_type_script_lang-a119a715.js';
|
|
19
|
-
import { s as script$7 } from './OrInput.vue_vue_type_script_lang-
|
|
19
|
+
import { s as script$7 } from './OrInput.vue_vue_type_script_lang-caab1e89.js';
|
|
20
20
|
import { s as script$8, a as InputBoxSize } from './OrInputBox.vue_vue_type_script_lang-5ee4ee45.js';
|
|
21
21
|
import { s as script$9 } from './OrLabel.vue_vue_type_script_lang-96f94c4e.js';
|
|
22
22
|
import { s as script$a } from './OrMenuItem.vue_vue_type_script_lang-0ffaef05.js';
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
import { useDraggable, useElementBounding } from '@vueuse/core';
|
|
2
|
+
import _ from 'lodash';
|
|
3
|
+
import { defineComponent, ref, computed, watch } from 'vue';
|
|
4
|
+
|
|
5
|
+
var OrSidebarPlacement;
|
|
6
|
+
(function (OrSidebarPlacement) {
|
|
7
|
+
OrSidebarPlacement["left"] = "left";
|
|
8
|
+
OrSidebarPlacement["right"] = "right";
|
|
9
|
+
})(OrSidebarPlacement || (OrSidebarPlacement = {}));
|
|
10
|
+
|
|
11
|
+
const SidebarRoot = [
|
|
12
|
+
// Position
|
|
13
|
+
'relative',
|
|
14
|
+
// Layout
|
|
15
|
+
'flex', 'flex-col', 'shrink-0',
|
|
16
|
+
// Box
|
|
17
|
+
'min-h-0', 'p-0'];
|
|
18
|
+
const SidebarRootSides = {
|
|
19
|
+
[OrSidebarPlacement.left]: [
|
|
20
|
+
// Borders
|
|
21
|
+
'border-r-[1px]', 'border-r-solid', 'border-r-secondary dark:border-r-secondary-dark'],
|
|
22
|
+
[OrSidebarPlacement.right]: [
|
|
23
|
+
// Borders
|
|
24
|
+
'border-l-[1px]', 'border-l-solid', 'border-l-secondary dark:border-l-secondary-dark']
|
|
25
|
+
};
|
|
26
|
+
const SidebarResize = [
|
|
27
|
+
// Position
|
|
28
|
+
'absolute', 'inset-y-none', 'z-[1]',
|
|
29
|
+
// Box
|
|
30
|
+
'w-[12px]', 'h-[100%]',
|
|
31
|
+
// Cursor
|
|
32
|
+
'cursor-ew-resize'];
|
|
33
|
+
const SidebarResizeSides = {
|
|
34
|
+
[OrSidebarPlacement.left]: [
|
|
35
|
+
// Position
|
|
36
|
+
'-right-[1px]',
|
|
37
|
+
// Borders
|
|
38
|
+
'hover:border-r-2', 'hover:border-r-primary hover:dark:border-r-primary-dark',
|
|
39
|
+
// Transition
|
|
40
|
+
'transition-[border-right]'],
|
|
41
|
+
[OrSidebarPlacement.right]: [
|
|
42
|
+
// Position
|
|
43
|
+
'-left-[1px]',
|
|
44
|
+
// Borders
|
|
45
|
+
'hover:border-l-2', 'hover:border-l-primary hover:dark:border-l-primary-dark',
|
|
46
|
+
// Transition
|
|
47
|
+
'transition-[border-left]']
|
|
48
|
+
};
|
|
49
|
+
const SidebarResizingSides = {
|
|
50
|
+
[OrSidebarPlacement.left]: [
|
|
51
|
+
// Borders
|
|
52
|
+
'border-r-2', 'border-r-primary dark:border-r-primary-dark'],
|
|
53
|
+
[OrSidebarPlacement.right]: [
|
|
54
|
+
// Borders
|
|
55
|
+
'border-l-2', 'border-l-primary dark:border-l-primary-dark']
|
|
56
|
+
};
|
|
57
|
+
const SidebarMain = [
|
|
58
|
+
// Layout
|
|
59
|
+
'flex', 'flex-col', 'grow',
|
|
60
|
+
// Box
|
|
61
|
+
'min-h-0'];
|
|
62
|
+
const SidebarHeader = [
|
|
63
|
+
// Sizing
|
|
64
|
+
'p-md'];
|
|
65
|
+
const SidebarContent = [
|
|
66
|
+
// Layout
|
|
67
|
+
'grow', 'overflow-auto',
|
|
68
|
+
// Sizing
|
|
69
|
+
'p-md'];
|
|
70
|
+
const SidebarFooter = [
|
|
71
|
+
// Sizing
|
|
72
|
+
'p-md',
|
|
73
|
+
// Borders
|
|
74
|
+
'border-t-[1px]', 'border-t-solid', 'border-t-secondary dark:border-t-secondary-dark'];
|
|
75
|
+
|
|
76
|
+
var script = defineComponent({
|
|
77
|
+
name: 'OrSidebar',
|
|
78
|
+
props: {
|
|
79
|
+
width: {
|
|
80
|
+
type: Number,
|
|
81
|
+
required: false,
|
|
82
|
+
default: 0,
|
|
83
|
+
validator: value => _.isNumber(value) && value >= 0
|
|
84
|
+
},
|
|
85
|
+
minimumWidth: {
|
|
86
|
+
type: Number,
|
|
87
|
+
required: false,
|
|
88
|
+
default: 350,
|
|
89
|
+
validator: value => _.isNumber(value) && value >= 0
|
|
90
|
+
},
|
|
91
|
+
/**
|
|
92
|
+
* User may put the component on the right or the left side of a container.
|
|
93
|
+
* This property mirrors the resizing behavior (drag direction) and styling (horizontal border) of the sidebar.
|
|
94
|
+
*
|
|
95
|
+
* Note: the property doesn't reposition the component in the parent container.
|
|
96
|
+
* @values left, right
|
|
97
|
+
*/
|
|
98
|
+
side: {
|
|
99
|
+
type: String,
|
|
100
|
+
default: OrSidebarPlacement.right,
|
|
101
|
+
validator: value => _.includes(_.values(OrSidebarPlacement), value)
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
emits: ['change:width'],
|
|
105
|
+
setup(props, {
|
|
106
|
+
emit
|
|
107
|
+
}) {
|
|
108
|
+
// Refs
|
|
109
|
+
const root = ref();
|
|
110
|
+
const resizeBar = ref(null);
|
|
111
|
+
const parentContainer = computed(() => {
|
|
112
|
+
var _a;
|
|
113
|
+
return (_a = root.value) === null || _a === void 0 ? void 0 : _a.parentElement;
|
|
114
|
+
});
|
|
115
|
+
// State
|
|
116
|
+
const startPositionX = ref(0);
|
|
117
|
+
const isResizing = ref(false);
|
|
118
|
+
const localWidth = ref(props.width >= props.minimumWidth ? props.width : props.minimumWidth);
|
|
119
|
+
// Styles
|
|
120
|
+
const sidebarStyle = computed(() => ({
|
|
121
|
+
width: localWidth.value + 'px'
|
|
122
|
+
}));
|
|
123
|
+
const rootStyles = computed(() => ['or-sidebar', ...SidebarRoot, ...SidebarRootSides[props.side]]);
|
|
124
|
+
const resizeStyles = computed(() => [...SidebarResize, ...SidebarResizeSides[props.side], ...(isResizing.value ? SidebarResizingSides[props.side] : [])]);
|
|
125
|
+
const mainStyles = computed(() => [...SidebarMain]);
|
|
126
|
+
const headerStyles = computed(() => [...SidebarHeader]);
|
|
127
|
+
const contentStyles = computed(() => [...SidebarContent]);
|
|
128
|
+
const footerStyles = computed(() => [...SidebarFooter]);
|
|
129
|
+
// Effects
|
|
130
|
+
useDraggable(resizeBar, {
|
|
131
|
+
preventDefault: true,
|
|
132
|
+
onStart: (position, event) => {
|
|
133
|
+
document.body.style.cursor = 'ew-resize';
|
|
134
|
+
document.body.style.userSelect = 'none';
|
|
135
|
+
startPositionX.value = event.x;
|
|
136
|
+
isResizing.value = true;
|
|
137
|
+
},
|
|
138
|
+
onMove: position => {
|
|
139
|
+
const delta = (position.x - startPositionX.value) * (props.side === OrSidebarPlacement.left ? -1 : 1);
|
|
140
|
+
const newWidth = localWidth.value - delta;
|
|
141
|
+
localWidth.value = newWidth > maximumWidth.value ? maximumWidth.value : newWidth < props.minimumWidth ? props.minimumWidth : newWidth;
|
|
142
|
+
startPositionX.value = position.x;
|
|
143
|
+
},
|
|
144
|
+
onEnd: () => {
|
|
145
|
+
document.body.style.cursor = '';
|
|
146
|
+
document.body.style.userSelect = '';
|
|
147
|
+
isResizing.value = false;
|
|
148
|
+
}
|
|
149
|
+
});
|
|
150
|
+
const {
|
|
151
|
+
width: maximumWidth
|
|
152
|
+
} = useElementBounding(parentContainer);
|
|
153
|
+
watch(() => props.width, newValue => {
|
|
154
|
+
if (newValue !== localWidth.value) {
|
|
155
|
+
localWidth.value = newValue > maximumWidth.value ? maximumWidth.value : newValue < props.minimumWidth ? props.minimumWidth : newValue;
|
|
156
|
+
}
|
|
157
|
+
});
|
|
158
|
+
watch(() => props.minimumWidth, newMinimum => {
|
|
159
|
+
if (newMinimum > localWidth.value) localWidth.value = newMinimum;
|
|
160
|
+
});
|
|
161
|
+
watch(maximumWidth, newMaximum => {
|
|
162
|
+
if (newMaximum < localWidth.value) localWidth.value = newMaximum;
|
|
163
|
+
});
|
|
164
|
+
watch(localWidth, val => emit('change:width', val));
|
|
165
|
+
return {
|
|
166
|
+
root,
|
|
167
|
+
resizeBar,
|
|
168
|
+
isResizing,
|
|
169
|
+
localWidth,
|
|
170
|
+
sidebarStyle,
|
|
171
|
+
rootStyles,
|
|
172
|
+
resizeStyles,
|
|
173
|
+
mainStyles,
|
|
174
|
+
headerStyles,
|
|
175
|
+
contentStyles,
|
|
176
|
+
footerStyles
|
|
177
|
+
};
|
|
178
|
+
}
|
|
179
|
+
});
|
|
180
|
+
|
|
181
|
+
export { OrSidebarPlacement as O, script as s };
|
|
@@ -8,7 +8,7 @@ export { a as BUTTON_COLOR, c as BUTTON_LOADER_TYPE, b as BUTTON_SIZE, B as BUTT
|
|
|
8
8
|
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, s as OrButtonV3 } from '../OrButton.vue_vue_type_script_lang-8c44986c.js';
|
|
9
9
|
export { s as OrCard } from '../OrCard.vue_vue_type_script_lang-90ba001b.js';
|
|
10
10
|
export { C as CARD_COLLECTION_LAYOUT, s as OrCardCollection } from '../OrCardCollection.vue_vue_type_script_lang-d8124dda.js';
|
|
11
|
-
export { D as DefaultCardCollectionViews, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../OrCardCollection.vue_vue_type_script_lang-
|
|
11
|
+
export { D as DefaultCardCollectionViews, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../OrCardCollection.vue_vue_type_script_lang-1fa9e6ce.js';
|
|
12
12
|
export { s as OrCardV3 } from '../OrCard.vue_vue_type_script_lang-165de137.js';
|
|
13
13
|
export { a as OrCarousel, s as OrCarouselItem } from '../OrCarouselItem.vue_vue_type_script_lang-ad286afc.js';
|
|
14
14
|
export { s as OrCheckbox } from '../OrCheckbox.vue_vue_type_script_lang-d8a66818.js';
|
|
@@ -19,7 +19,7 @@ export { s as OrCode, O as OrCodeLanguages } from '../OrCode.vue_vue_type_script
|
|
|
19
19
|
export { s as OrCollapse } from '../OrCollapse.vue_vue_type_script_lang-65cbb754.js';
|
|
20
20
|
export { s as OrColorPicker, h as amber, n as black, b as blue, m as blueGrey, k as brown, c as cyan, j as deepOrange, d as deepPurple, g as green, i as indigo, l as lightBlue, e as lightGreen, f as lime, o as orange, p as pink, a as purple, r as red, t as teal, w as white, y as yellow } from '../OrColorPicker.vue_vue_type_script_lang-4141378d.js';
|
|
21
21
|
export { s as OrConfirm } from '../OrConfirm.vue_vue_type_script_lang-0f16fc67.js';
|
|
22
|
-
export { C as ConfirmType, s as OrConfirmV3 } from '../OrConfirm.vue_vue_type_script_lang-
|
|
22
|
+
export { C as ConfirmType, s as OrConfirmV3 } from '../OrConfirm.vue_vue_type_script_lang-5eef57a2.js';
|
|
23
23
|
export { D as DEFAULT_TEXT, s as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from '../OrDateTimePicker.vue_vue_type_script_lang-7bfe5005.js';
|
|
24
24
|
export { s as OrError } from '../OrError.vue_vue_type_script_lang-7c39e012.js';
|
|
25
25
|
export { s as OrErrorTagV3 } from '../OrErrorTag.vue_vue_type_script_lang-4828c387.js';
|
|
@@ -38,7 +38,7 @@ export { I as InlineInputType, s as OrInlineInputV3 } from '../OrInlineInput.vue
|
|
|
38
38
|
export { a as InlineTextEditTrimmingTypes, I as InlineTextEditTypes, s as OrInlineTextEdit } from '../OrInlineTextEdit.vue_vue_type_script_lang-da6887aa.js';
|
|
39
39
|
export { s as OrInlineTextareaV3 } from '../OrInlineTextarea.vue_vue_type_script_lang-a1831ab8.js';
|
|
40
40
|
export { a as InputBoxSize, I as InputBoxVariant, a as InputSize, s as OrInputBoxV3, a as SearchSize, a as SelectSize, a as TextareaSize } from '../OrInputBox.vue_vue_type_script_lang-5ee4ee45.js';
|
|
41
|
-
export { I as InputType, s as OrInputV3 } from '../OrInput.vue_vue_type_script_lang-
|
|
41
|
+
export { I as InputType, s as OrInputV3 } from '../OrInput.vue_vue_type_script_lang-caab1e89.js';
|
|
42
42
|
export { a as OrNumberInput, b as OrPassword, s as OrTextarea } from '../OrPassword.vue_vue_type_script_lang-13bc5b00.js';
|
|
43
43
|
export { s as OrInput } from '../OrInput-7d4b571a.js';
|
|
44
44
|
export { s as OrSearch } from '../OrSearch.vue_vue_type_script_lang-16fbccc0.js';
|
|
@@ -65,12 +65,12 @@ export { s as OrProgressV3, P as ProgressColor, a as ProgressType } from '../OrP
|
|
|
65
65
|
export { s as OrRadio } from '../OrRadio.vue_vue_type_script_lang-c956b54b.js';
|
|
66
66
|
export { s as OrRadioGroup } from '../OrRadioGroup.vue_vue_type_script_lang-caea7bcb.js';
|
|
67
67
|
export { s as OrRadioV3 } from '../OrRadio.vue_vue_type_script_lang-2e666a56.js';
|
|
68
|
-
export { s as OrSearchV3 } from '../OrSearch.vue_vue_type_script_lang-
|
|
68
|
+
export { s as OrSearchV3 } from '../OrSearch.vue_vue_type_script_lang-10ff525e.js';
|
|
69
69
|
export { s as OrSegmentedControlV3, S as SegmentedControlSize } from '../OrSegmentedControl.vue_vue_type_script_lang-579406f5.js';
|
|
70
70
|
export { s as OrSelect } from '../OrSelect.vue_vue_type_script_lang-26c0a70a.js';
|
|
71
|
-
export { s as OrSelectV3 } from '../OrSelect.vue_vue_type_script_lang-
|
|
71
|
+
export { s as OrSelectV3 } from '../OrSelect.vue_vue_type_script_lang-4fad2bfb.js';
|
|
72
72
|
export { s as OrSidebar, O as OrSidebarSide } from '../OrSidebar.vue_vue_type_script_lang-7c55ac0a.js';
|
|
73
|
-
export { O as OrSidebarPlacement, s as OrSidebarV3 } from '../OrSidebar.vue_vue_type_script_lang-
|
|
73
|
+
export { O as OrSidebarPlacement, s as OrSidebarV3 } from '../OrSidebar.vue_vue_type_script_lang-ce0b152c.js';
|
|
74
74
|
export { s as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from '../OrSkeletonText.vue_vue_type_script_lang-f3f989c3.js';
|
|
75
75
|
export { s as OrSkeletonCircleV3, a as OrSkeletonRectV3, b as OrSkeletonTextV3 } from '../OrSkeletonText.vue_vue_type_script_lang-577a1dc9.js';
|
|
76
76
|
export { s as OrSlider } from '../OrSlider.vue_vue_type_script_lang-d47ff040.js';
|
|
@@ -122,16 +122,16 @@ import '../dom-d21d0a92.js';
|
|
|
122
122
|
import '../OrFloating-b6672a37.js';
|
|
123
123
|
import '../index-01519e46.js';
|
|
124
124
|
import '../OrButton-ec723bb7.js';
|
|
125
|
-
import '../OrInput-
|
|
125
|
+
import '../OrInput-04b89444.js';
|
|
126
126
|
import '../OrCollapse-63e83681.js';
|
|
127
127
|
import '../floating-ui.dom.esm-83eba816.js';
|
|
128
128
|
import '../OrHint-9592499e.js';
|
|
129
129
|
import '../OrInlineInputBox-9d68ded1.js';
|
|
130
130
|
import '../OrInputBox-eb54d73d.js';
|
|
131
|
+
import '../useResponsive-9d397e2a.js';
|
|
131
132
|
import '../useToggle-09b6cb90.js';
|
|
132
133
|
import '../v4-cf8987a3.js';
|
|
133
134
|
import '../OrPopover-c462ce77.js';
|
|
134
|
-
import '../useResponsive-9d397e2a.js';
|
|
135
135
|
import '../useElevation-c8d5d3ba.js';
|
|
136
136
|
import '../dropdown-open-293d2de2.js';
|
|
137
137
|
import '../useOverflow-6dce216b.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { D as DefaultCardCollectionViews, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../../OrCardCollection.vue_vue_type_script_lang-
|
|
1
|
+
export { D as DefaultCardCollectionViews, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../../OrCardCollection.vue_vue_type_script_lang-1fa9e6ce.js';
|
|
2
2
|
import 'vue';
|
|
3
3
|
import '../../OrIconButton-cd62526d.js';
|
|
4
4
|
import '../../OrIconButton.vue_vue_type_script_lang-aefcf30d.js';
|
|
@@ -23,9 +23,9 @@ import '../../OrMenu-f26e8e55.js';
|
|
|
23
23
|
import '../../OrMenu.vue_vue_type_script_lang-2446a69a.js';
|
|
24
24
|
import '../../OrMenuItem-4feaba6c.js';
|
|
25
25
|
import '../../OrMenuItem.vue_vue_type_script_lang-0ffaef05.js';
|
|
26
|
-
import '../../OrSearch.vue_vue_type_script_lang-
|
|
27
|
-
import '../../OrInput-
|
|
28
|
-
import '../../OrInput.vue_vue_type_script_lang-
|
|
26
|
+
import '../../OrSearch.vue_vue_type_script_lang-10ff525e.js';
|
|
27
|
+
import '../../OrInput-04b89444.js';
|
|
28
|
+
import '../../OrInput.vue_vue_type_script_lang-caab1e89.js';
|
|
29
29
|
import '../../OrHint-9592499e.js';
|
|
30
30
|
import '../../OrError.vue_vue_type_script_lang-cc6c135f.js';
|
|
31
31
|
import '../../OrHint.vue_vue_type_script_lang-8e657168.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { C as ConfirmType, s as OrConfirmV3 } from '../../OrConfirm.vue_vue_type_script_lang-
|
|
1
|
+
export { C as ConfirmType, s as OrConfirmV3 } from '../../OrConfirm.vue_vue_type_script_lang-5eef57a2.js';
|
|
2
2
|
import '@vueuse/core';
|
|
3
3
|
import '../../index-01519e46.js';
|
|
4
4
|
import 'vue';
|
|
@@ -11,8 +11,8 @@ import '../../OrButton-2b27c1fd.js';
|
|
|
11
11
|
import '../../OrButton.vue_vue_type_script_lang-8c44986c.js';
|
|
12
12
|
import '../../OrLoader-c4bbef2f.js';
|
|
13
13
|
import '../../OrLoader.vue_vue_type_script_lang-5405040c.js';
|
|
14
|
-
import '../../OrInput-
|
|
15
|
-
import '../../OrInput.vue_vue_type_script_lang-
|
|
14
|
+
import '../../OrInput-04b89444.js';
|
|
15
|
+
import '../../OrInput.vue_vue_type_script_lang-caab1e89.js';
|
|
16
16
|
import '../../OrHint-9592499e.js';
|
|
17
17
|
import '../../OrError.vue_vue_type_script_lang-cc6c135f.js';
|
|
18
18
|
import '../../OrHint.vue_vue_type_script_lang-8e657168.js';
|
|
@@ -12,6 +12,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
12
12
|
currentLength: import("@vue/composition-api").ComputedRef<number>;
|
|
13
13
|
maxLength: import("@vue/composition-api").ComputedRef<number | undefined>;
|
|
14
14
|
disclosed: import("@vue/composition-api").Ref<boolean>;
|
|
15
|
+
isMobile: import("@vue/composition-api").Ref<boolean>;
|
|
15
16
|
focus: () => void;
|
|
16
17
|
}> & import("@vue/composition-api").Data, {}, {}, {
|
|
17
18
|
modelValue: {
|
|
@@ -46,6 +47,10 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
46
47
|
type: StringConstructor;
|
|
47
48
|
default: undefined;
|
|
48
49
|
};
|
|
50
|
+
loading: {
|
|
51
|
+
type: BooleanConstructor;
|
|
52
|
+
default: boolean;
|
|
53
|
+
};
|
|
49
54
|
required: {
|
|
50
55
|
type: BooleanConstructor;
|
|
51
56
|
default: boolean;
|
|
@@ -91,6 +96,10 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
91
96
|
type: StringConstructor;
|
|
92
97
|
default: undefined;
|
|
93
98
|
};
|
|
99
|
+
loading: {
|
|
100
|
+
type: BooleanConstructor;
|
|
101
|
+
default: boolean;
|
|
102
|
+
};
|
|
94
103
|
required: {
|
|
95
104
|
type: BooleanConstructor;
|
|
96
105
|
default: boolean;
|
|
@@ -112,6 +121,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
112
121
|
placeholder: string;
|
|
113
122
|
hint: string;
|
|
114
123
|
error: string;
|
|
124
|
+
loading: boolean;
|
|
115
125
|
required: boolean;
|
|
116
126
|
disabled: boolean;
|
|
117
127
|
disableDefaultStyles: boolean;
|
|
@@ -129,6 +139,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
129
139
|
currentLength: import("@vue/composition-api").ComputedRef<number>;
|
|
130
140
|
maxLength: import("@vue/composition-api").ComputedRef<number | undefined>;
|
|
131
141
|
disclosed: import("@vue/composition-api").Ref<boolean>;
|
|
142
|
+
isMobile: import("@vue/composition-api").Ref<boolean>;
|
|
132
143
|
focus: () => void;
|
|
133
144
|
}>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
|
|
134
145
|
modelValue: string | number;
|
|
@@ -139,6 +150,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
139
150
|
placeholder: string;
|
|
140
151
|
hint: string;
|
|
141
152
|
error: string;
|
|
153
|
+
loading: boolean;
|
|
142
154
|
required: boolean;
|
|
143
155
|
disabled: boolean;
|
|
144
156
|
disableDefaultStyles: boolean;
|
|
@@ -153,6 +165,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
153
165
|
placeholder: string;
|
|
154
166
|
hint: string;
|
|
155
167
|
error: string;
|
|
168
|
+
loading: boolean;
|
|
156
169
|
required: boolean;
|
|
157
170
|
disabled: boolean;
|
|
158
171
|
disableDefaultStyles: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { I as InputType, s as OrInputV3 } from '../../OrInput.vue_vue_type_script_lang-
|
|
1
|
+
export { I as InputType, s as OrInputV3 } from '../../OrInput.vue_vue_type_script_lang-caab1e89.js';
|
|
2
2
|
export { a as InputSize } from '../../OrInputBox.vue_vue_type_script_lang-5ee4ee45.js';
|
|
3
3
|
import 'vue';
|
|
4
4
|
import '../../OrHint-9592499e.js';
|
|
@@ -22,3 +22,5 @@ import '../../useResponsive-9d397e2a.js';
|
|
|
22
22
|
import '../../OrInputBox-eb54d73d.js';
|
|
23
23
|
import '../../OrLabel-c6873e79.js';
|
|
24
24
|
import '../../OrLabel.vue_vue_type_script_lang-96f94c4e.js';
|
|
25
|
+
import '../../OrLoader-c4bbef2f.js';
|
|
26
|
+
import '../../OrLoader.vue_vue_type_script_lang-5405040c.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { s as OrSearchV3 } from '../../OrSearch.vue_vue_type_script_lang-
|
|
1
|
+
export { s as OrSearchV3 } from '../../OrSearch.vue_vue_type_script_lang-10ff525e.js';
|
|
2
2
|
export { a as SearchSize } from '../../OrInputBox.vue_vue_type_script_lang-5ee4ee45.js';
|
|
3
3
|
import 'vue';
|
|
4
4
|
import '@vueuse/core';
|
|
5
|
-
import '../../OrInput-
|
|
6
|
-
import '../../OrInput.vue_vue_type_script_lang-
|
|
5
|
+
import '../../OrInput-04b89444.js';
|
|
6
|
+
import '../../OrInput.vue_vue_type_script_lang-caab1e89.js';
|
|
7
7
|
import '../../OrHint-9592499e.js';
|
|
8
8
|
import '../../OrError.vue_vue_type_script_lang-cc6c135f.js';
|
|
9
9
|
import '../../useClassAttribute-00888f78.js';
|
|
@@ -24,4 +24,6 @@ import '../../useResponsive-9d397e2a.js';
|
|
|
24
24
|
import '../../OrInputBox-eb54d73d.js';
|
|
25
25
|
import '../../OrLabel-c6873e79.js';
|
|
26
26
|
import '../../OrLabel.vue_vue_type_script_lang-96f94c4e.js';
|
|
27
|
+
import '../../OrLoader-c4bbef2f.js';
|
|
28
|
+
import '../../OrLoader.vue_vue_type_script_lang-5405040c.js';
|
|
27
29
|
import '../../style-inject.es-4c6f2515.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { s as OrSelectV3 } from '../../OrSelect.vue_vue_type_script_lang-
|
|
1
|
+
export { s as OrSelectV3 } from '../../OrSelect.vue_vue_type_script_lang-4fad2bfb.js';
|
|
2
2
|
export { a as SelectSize } from '../../OrInputBox.vue_vue_type_script_lang-5ee4ee45.js';
|
|
3
3
|
import 'vue';
|
|
4
4
|
import '../../OrCheckbox.vue_vue_type_script_lang-8b36e06c.js';
|
|
@@ -12,8 +12,8 @@ import '../../OrHint.vue_vue_type_script_lang-8e657168.js';
|
|
|
12
12
|
import '../../OrExpansionPanel.vue_vue_type_script_lang-5360f580.js';
|
|
13
13
|
import '../../OrIcon-d878b768.js';
|
|
14
14
|
import '../../OrIcon.vue_vue_type_script_lang-a119a715.js';
|
|
15
|
-
import '../../OrInput-
|
|
16
|
-
import '../../OrInput.vue_vue_type_script_lang-
|
|
15
|
+
import '../../OrInput-04b89444.js';
|
|
16
|
+
import '../../OrInput.vue_vue_type_script_lang-caab1e89.js';
|
|
17
17
|
import '../../OrIconButton-cd62526d.js';
|
|
18
18
|
import '../../OrIconButton.vue_vue_type_script_lang-aefcf30d.js';
|
|
19
19
|
import '../../OrTooltip.vue_vue_type_script_lang-67cc86ed.js';
|
|
@@ -27,6 +27,8 @@ import '../../OrTeleport.vue3.vue_vue_type_script_lang-4dc70cf1.js';
|
|
|
27
27
|
import '../../useElevation-c8d5d3ba.js';
|
|
28
28
|
import '../../useResponsive-9d397e2a.js';
|
|
29
29
|
import '../../OrInputBox-eb54d73d.js';
|
|
30
|
+
import '../../OrLoader-c4bbef2f.js';
|
|
31
|
+
import '../../OrLoader.vue_vue_type_script_lang-5405040c.js';
|
|
30
32
|
import '../../OrMenuItem-4feaba6c.js';
|
|
31
33
|
import '../../OrMenuItem.vue_vue_type_script_lang-0ffaef05.js';
|
|
32
34
|
import '../../OrTag.vue_vue_type_script_lang-3e30f662.js';
|
|
@@ -10,17 +10,7 @@ export declare const Default: StoryFn<import("vue").ComponentOptions<import("vue
|
|
|
10
10
|
} | string[], {} & {}, {
|
|
11
11
|
[x: number]: string;
|
|
12
12
|
} | {}, true>)>;
|
|
13
|
-
export declare const
|
|
14
|
-
[x: string]: ((...args: any[]) => any) | null;
|
|
15
|
-
} | string[], {} & {}, {
|
|
16
|
-
[x: number]: string;
|
|
17
|
-
} | {}, true>)>;
|
|
18
|
-
export declare const NotDraggable: StoryFn<import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
19
|
-
[x: string]: ((...args: any[]) => any) | null;
|
|
20
|
-
} | string[], {} & {}, {
|
|
21
|
-
[x: number]: string;
|
|
22
|
-
} | {}, true>)>;
|
|
23
|
-
export declare const Collapsible: StoryFn<import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
13
|
+
export declare const WithMinimumWidth: StoryFn<import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
24
14
|
[x: string]: ((...args: any[]) => any) | null;
|
|
25
15
|
} | string[], {} & {}, {
|
|
26
16
|
[x: number]: string;
|
|
@@ -40,33 +30,8 @@ export declare const WithFooter: StoryFn<import("vue").ComponentOptions<import("
|
|
|
40
30
|
} | string[], {} & {}, {
|
|
41
31
|
[x: number]: string;
|
|
42
32
|
} | {}, true>)>;
|
|
43
|
-
export declare const WithToolbar: StoryFn<import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
44
|
-
[x: string]: ((...args: any[]) => any) | null;
|
|
45
|
-
} | string[], {} & {}, {
|
|
46
|
-
[x: number]: string;
|
|
47
|
-
} | {}, true>)>;
|
|
48
|
-
export declare const CollapsibleWithToolbar: StoryFn<import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
49
|
-
[x: string]: ((...args: any[]) => any) | null;
|
|
50
|
-
} | string[], {} & {}, {
|
|
51
|
-
[x: number]: string;
|
|
52
|
-
} | {}, true>)>;
|
|
53
|
-
export declare const WithTabs: StoryFn<import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
54
|
-
[x: string]: ((...args: any[]) => any) | null;
|
|
55
|
-
} | string[], {} & {}, {
|
|
56
|
-
[x: number]: string;
|
|
57
|
-
} | {}, true>)>;
|
|
58
33
|
export declare const LeftSidebar: StoryFn<import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
59
34
|
[x: string]: ((...args: any[]) => any) | null;
|
|
60
35
|
} | string[], {} & {}, {
|
|
61
36
|
[x: number]: string;
|
|
62
37
|
} | {}, true>)>;
|
|
63
|
-
export declare const WithLeftToolbar: StoryFn<import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
64
|
-
[x: string]: ((...args: any[]) => any) | null;
|
|
65
|
-
} | string[], {} & {}, {
|
|
66
|
-
[x: number]: string;
|
|
67
|
-
} | {}, true>)>;
|
|
68
|
-
export declare const CollapsibleWithWithLeftToolbar: StoryFn<import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
69
|
-
[x: string]: ((...args: any[]) => any) | null;
|
|
70
|
-
} | string[], {} & {}, {
|
|
71
|
-
[x: number]: string;
|
|
72
|
-
} | {}, true>)>;
|