@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.
Files changed (94) hide show
  1. package/dist/bundled/v2/{OrCardCollection-0141a358.js → OrCardCollection-f6c1318a.js} +1 -1
  2. package/dist/bundled/v2/{OrConfirm-057e997e.js → OrConfirm-371a99bf.js} +1 -1
  3. package/dist/bundled/v2/{OrInput-82ccfe00.js → OrInput-b0cdd2ae.js} +23 -6
  4. package/dist/bundled/v2/{OrSearch-53470b0e.js → OrSearch-fe562cfd.js} +1 -1
  5. package/dist/bundled/v2/{OrSelect-02fb39f0.js → OrSelect-0c169a4f.js} +1 -1
  6. package/dist/bundled/v2/OrSidebar-c95ef614.js +230 -0
  7. package/dist/bundled/v2/components/index.js +7 -7
  8. package/dist/bundled/v2/components/or-card-collection-v3/index.js +3 -3
  9. package/dist/bundled/v2/components/or-confirm-v3/index.js +2 -2
  10. package/dist/bundled/v2/components/or-input-v3/OrInput.vue.d.ts +13 -0
  11. package/dist/bundled/v2/components/or-input-v3/index.js +2 -1
  12. package/dist/bundled/v2/components/or-search-v3/index.js +3 -2
  13. package/dist/bundled/v2/components/or-select-v3/index.js +3 -2
  14. package/dist/bundled/v2/components/or-sidebar-v3/OrSidebar.stories3.d.ts +1 -36
  15. package/dist/bundled/v2/components/or-sidebar-v3/OrSidebar.vue.d.ts +4 -49
  16. package/dist/bundled/v2/components/or-sidebar-v3/index.js +1 -13
  17. package/dist/bundled/v2/components/or-sidebar-v3/styles.d.ts +1 -9
  18. package/dist/bundled/v2/index.js +7 -7
  19. package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-2d78a51a.js → OrCardCollection.vue_vue_type_script_lang-1fa9e6ce.js} +1 -1
  20. package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-9d9a3917.js → OrConfirm.vue_vue_type_script_lang-5eef57a2.js} +2 -2
  21. package/dist/bundled/v3/{OrInput-a4f220ed.js → OrInput-04b89444.js} +13 -4
  22. package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-607d79d4.js → OrInput.vue_vue_type_script_lang-caab1e89.js} +13 -1
  23. package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-06f318ca.js → OrSearch.vue_vue_type_script_lang-10ff525e.js} +2 -2
  24. package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-83f15704.js → OrSelect.vue_vue_type_script_lang-4fad2bfb.js} +2 -2
  25. package/dist/bundled/v3/OrSidebar.vue_vue_type_script_lang-ce0b152c.js +181 -0
  26. package/dist/bundled/v3/components/index.js +8 -8
  27. package/dist/bundled/v3/components/or-card-collection-v3/index.js +4 -4
  28. package/dist/bundled/v3/components/or-confirm-v3/index.js +3 -3
  29. package/dist/bundled/v3/components/or-input-v3/OrInput.vue.d.ts +13 -0
  30. package/dist/bundled/v3/components/or-input-v3/index.js +3 -1
  31. package/dist/bundled/v3/components/or-search-v3/index.js +5 -3
  32. package/dist/bundled/v3/components/or-select-v3/index.js +5 -3
  33. package/dist/bundled/v3/components/or-sidebar-v3/OrSidebar.stories3.d.ts +1 -36
  34. package/dist/bundled/v3/components/or-sidebar-v3/OrSidebar.vue.d.ts +4 -49
  35. package/dist/bundled/v3/components/or-sidebar-v3/index.js +1 -15
  36. package/dist/bundled/v3/components/or-sidebar-v3/styles.d.ts +1 -9
  37. package/dist/bundled/v3/index.js +18 -34
  38. package/dist/esm/v2/{OrCardCollection-3c38fc85.js → OrCardCollection-e08a4637.js} +1 -1
  39. package/dist/esm/v2/{OrConfirm-047d4086.js → OrConfirm-43f97635.js} +1 -1
  40. package/dist/esm/v2/{OrInput-ada3a970.js → OrInput-5e46af9a.js} +23 -6
  41. package/dist/esm/v2/{OrSearch-0f08f2f5.js → OrSearch-84143c15.js} +1 -1
  42. package/dist/esm/v2/{OrSelect-f8837f5d.js → OrSelect-5a2ff296.js} +1 -1
  43. package/dist/esm/v2/OrSidebar-fabc7bc9.js +228 -0
  44. package/dist/esm/v2/components/index.js +7 -7
  45. package/dist/esm/v2/components/or-card-collection-v3/index.js +3 -3
  46. package/dist/esm/v2/components/or-confirm-v3/index.js +3 -3
  47. package/dist/esm/v2/components/or-input-v3/OrInput.vue.d.ts +13 -0
  48. package/dist/esm/v2/components/or-input-v3/index.js +3 -2
  49. package/dist/esm/v2/components/or-search-v3/index.js +4 -3
  50. package/dist/esm/v2/components/or-select-v3/index.js +4 -3
  51. package/dist/esm/v2/components/or-sidebar-v3/OrSidebar.stories3.d.ts +1 -36
  52. package/dist/esm/v2/components/or-sidebar-v3/OrSidebar.vue.d.ts +4 -49
  53. package/dist/esm/v2/components/or-sidebar-v3/index.js +1 -13
  54. package/dist/esm/v2/components/or-sidebar-v3/styles.d.ts +1 -9
  55. package/dist/esm/v2/index.js +6 -6
  56. package/dist/esm/v3/{OrCardCollection-dbb3e839.js → OrCardCollection-6912f897.js} +1 -1
  57. package/dist/esm/v3/{OrConfirm-fee3c859.js → OrConfirm-d1c05034.js} +1 -1
  58. package/dist/esm/v3/{OrInput-9c0426b9.js → OrInput-a2c4cfb5.js} +24 -4
  59. package/dist/esm/v3/{OrSearch-9885d178.js → OrSearch-dbb07738.js} +1 -1
  60. package/dist/esm/v3/{OrSelect-8fbd88bc.js → OrSelect-511acc24.js} +1 -1
  61. package/dist/esm/v3/OrSidebar-a62972f5.js +206 -0
  62. package/dist/esm/v3/components/index.js +7 -7
  63. package/dist/esm/v3/components/or-card-collection-v3/index.js +3 -3
  64. package/dist/esm/v3/components/or-confirm-v3/index.js +3 -3
  65. package/dist/esm/v3/components/or-input-v3/OrInput.vue.d.ts +13 -0
  66. package/dist/esm/v3/components/or-input-v3/index.js +3 -2
  67. package/dist/esm/v3/components/or-search-v3/index.js +4 -3
  68. package/dist/esm/v3/components/or-select-v3/index.js +4 -3
  69. package/dist/esm/v3/components/or-sidebar-v3/OrSidebar.stories3.d.ts +1 -36
  70. package/dist/esm/v3/components/or-sidebar-v3/OrSidebar.vue.d.ts +4 -49
  71. package/dist/esm/v3/components/or-sidebar-v3/index.js +1 -12
  72. package/dist/esm/v3/components/or-sidebar-v3/styles.d.ts +1 -9
  73. package/dist/esm/v3/index.js +6 -6
  74. package/package.json +1 -1
  75. package/src/components/or-input-v3/OrInput.stories3.ts +4 -0
  76. package/src/components/or-input-v3/OrInput.vue +36 -16
  77. package/src/components/or-sidebar-v3/OrSidebar.docs.mdx +0 -6
  78. package/src/components/or-sidebar-v3/OrSidebar.stories3.ts +12 -253
  79. package/src/components/or-sidebar-v3/OrSidebar.vue +23 -130
  80. package/src/components/or-sidebar-v3/styles.ts +9 -164
  81. package/dist/bundled/v2/OrSidebar-eedd2d6e.js +0 -464
  82. package/dist/bundled/v2/components/or-sidebar-v3/OrSidebarCollapseButton.stories3.d.ts +0 -12
  83. package/dist/bundled/v2/components/or-sidebar-v3/OrSidebarCollapseButton.vue.d.ts +0 -53
  84. package/dist/bundled/v3/OrSidebar.vue_vue_type_script_lang-6dc222bd.js +0 -356
  85. package/dist/bundled/v3/components/or-sidebar-v3/OrSidebarCollapseButton.stories3.d.ts +0 -12
  86. package/dist/bundled/v3/components/or-sidebar-v3/OrSidebarCollapseButton.vue.d.ts +0 -53
  87. package/dist/esm/v2/OrSidebar-e43a6e55.js +0 -461
  88. package/dist/esm/v2/components/or-sidebar-v3/OrSidebarCollapseButton.stories3.d.ts +0 -12
  89. package/dist/esm/v2/components/or-sidebar-v3/OrSidebarCollapseButton.vue.d.ts +0 -53
  90. package/dist/esm/v3/OrSidebar-2abaf7d6.js +0 -396
  91. package/dist/esm/v3/components/or-sidebar-v3/OrSidebarCollapseButton.stories3.d.ts +0 -12
  92. package/dist/esm/v3/components/or-sidebar-v3/OrSidebarCollapseButton.vue.d.ts +0 -53
  93. package/src/components/or-sidebar-v3/OrSidebarCollapseButton.stories3.ts +0 -48
  94. package/src/components/or-sidebar-v3/OrSidebarCollapseButton.vue +0 -74
@@ -8,7 +8,7 @@ import { _ as __vue_component__$5 } from './OrMenuItem-c7f28480.js';
8
8
  import { _ as __vue_component__$6 } from './OrIcon-5e394c62.js';
9
9
  import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
10
10
  import { _ as __vue_component__$3 } from './OrButton-835d4f11.js';
11
- import { _ as __vue_component__$7 } from './OrSearch-0f08f2f5.js';
11
+ import { _ as __vue_component__$7 } from './OrSearch-84143c15.js';
12
12
  import './OrInputBox-4d5a318d.js';
13
13
 
14
14
  const CardCollectionRoot = [
@@ -2,7 +2,7 @@ import { useMagicKeys, whenever, onClickOutside } from '@vueuse/core';
2
2
  import { logicAnd } from '@vueuse/math';
3
3
  import { defineComponent, ref, computed, watch } from 'vue-demi';
4
4
  import { _ as __vue_component__$2, a as ButtonColor } from './OrButton-835d4f11.js';
5
- import { _ as __vue_component__$3 } from './OrInput-ada3a970.js';
5
+ import { _ as __vue_component__$3 } from './OrInput-5e46af9a.js';
6
6
  import { _ as __vue_component__$1 } from './OrOverlay-18ba2dc6.js';
7
7
  import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
8
8
 
@@ -1,12 +1,14 @@
1
1
  import { defineComponent, getCurrentInstance, ref, computed } from 'vue-demi';
2
2
  import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
3
3
  import '@vueuse/core';
4
+ import { u as useResponsive } from './useResponsive-a02e95b7.js';
4
5
  import { _ as __vue_component__$1 } from './OrError-d267ee9a.js';
5
6
  import { _ as __vue_component__$2 } from './OrHint-42dc9ebb.js';
6
7
  import { _ as __vue_component__$4 } from './OrIconButton-b3779042.js';
7
8
  import { _ as __vue_component__$3 } from './OrIcon-5e394c62.js';
8
9
  import { _ as __vue_component__$5, a as InputBoxSize } from './OrInputBox-4d5a318d.js';
9
10
  import { _ as __vue_component__$6 } from './OrLabel-2a9f1477.js';
11
+ import { _ as __vue_component__$7 } from './OrLoader-f857d55b.js';
10
12
  import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
11
13
  import { c as createInjector } from './browser-82dea9ed.js';
12
14
 
@@ -39,7 +41,8 @@ var script = defineComponent({
39
41
  OrIcon: __vue_component__$3,
40
42
  OrIconButton: __vue_component__$4,
41
43
  OrInputBox: __vue_component__$5,
42
- OrLabel: __vue_component__$6
44
+ OrLabel: __vue_component__$6,
45
+ OrLoader: __vue_component__$7
43
46
  },
44
47
  inheritAttrs: false,
45
48
  props: {
@@ -75,6 +78,10 @@ var script = defineComponent({
75
78
  type: String,
76
79
  default: undefined
77
80
  },
81
+ loading: {
82
+ type: Boolean,
83
+ default: false
84
+ },
78
85
  required: {
79
86
  type: Boolean,
80
87
  default: false
@@ -121,6 +128,9 @@ var script = defineComponent({
121
128
  });
122
129
  const maxLength = computed(() => context.attrs.maxlength);
123
130
  const disclosed = ref(false);
131
+ const {
132
+ isMobile
133
+ } = useResponsive();
124
134
  // Methods
125
135
  function focus() {
126
136
  var _a;
@@ -138,6 +148,7 @@ var script = defineComponent({
138
148
  currentLength,
139
149
  maxLength,
140
150
  disclosed,
151
+ isMobile,
141
152
  focus
142
153
  };
143
154
  }
@@ -302,7 +313,13 @@ var __vue_render__ = function () {
302
313
  }
303
314
  }, 'input', _vm.$attrs, false)), _vm._v(" "), _c('div', {
304
315
  class: ['layout-row']
305
- }, [_vm.type === 'password' ? [_c('OrIconButton', {
316
+ }, [_vm.loading ? [_c('OrLoader', {
317
+ attrs: {
318
+ "variant": 'circular',
319
+ "color": 'primary',
320
+ "size": _vm.isMobile ? 'm' : 's'
321
+ }
322
+ })] : [_vm.type === 'password' ? [_c('OrIconButton', {
306
323
  attrs: {
307
324
  "icon": {
308
325
  icon: _vm.disclosed ? 'visibility_off' : 'visibility',
@@ -334,7 +351,7 @@ var __vue_render__ = function () {
334
351
  "icon": 'search',
335
352
  "variant": 'outlined'
336
353
  }
337
- })]] : _vm._e()], 2)]), _vm._v(" "), !_vm.invalid ? [_vm.hint || _vm.maxLength ? [_c('OrHint', {
354
+ })]] : _vm._e()]], 2)]), _vm._v(" "), !_vm.invalid ? [_vm.hint || _vm.maxLength ? [_c('OrHint', {
338
355
  attrs: {
339
356
  "disabled": _vm.disabled
340
357
  },
@@ -363,14 +380,14 @@ var __vue_staticRenderFns__ = [];
363
380
  /* style */
364
381
  const __vue_inject_styles__ = function (inject) {
365
382
  if (!inject) return;
366
- inject("data-v-677a1aa4_0", {
367
- source: "input[data-v-677a1aa4]{min-width:0;background:0 0;outline:0}input[type=number][data-v-677a1aa4]::-webkit-inner-spin-button{display:none}input[type=search][data-v-677a1aa4]::-webkit-search-cancel-button{display:none}",
383
+ inject("data-v-6e4aac2a_0", {
384
+ source: "input[data-v-6e4aac2a]{min-width:0;background:0 0;outline:0}input[type=number][data-v-6e4aac2a]::-webkit-inner-spin-button{display:none}input[type=search][data-v-6e4aac2a]::-webkit-search-cancel-button{display:none}",
368
385
  map: undefined,
369
386
  media: undefined
370
387
  });
371
388
  };
372
389
  /* scoped */
373
- const __vue_scope_id__ = "data-v-677a1aa4";
390
+ const __vue_scope_id__ = "data-v-6e4aac2a";
374
391
  /* module identifier */
375
392
  const __vue_module_identifier__ = undefined;
376
393
  /* functional template */
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, ref, computed, watch } from 'vue-demi';
2
2
  import { debouncedWatch } from '@vueuse/core';
3
3
  import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
4
- import { _ as __vue_component__$1 } from './OrInput-ada3a970.js';
4
+ import { _ as __vue_component__$1 } from './OrInput-5e46af9a.js';
5
5
  import { a as InputBoxSize } from './OrInputBox-4d5a318d.js';
6
6
  import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
7
7
 
@@ -9,7 +9,7 @@ import { _ as __vue_component__$3 } from './OrExpansionPanel-a123024e.js';
9
9
  import { _ as __vue_component__$4 } from './OrHint-42dc9ebb.js';
10
10
  import { _ as __vue_component__$5 } from './OrIcon-5e394c62.js';
11
11
  import { _ as __vue_component__$7, a as InputBoxSize } from './OrInputBox-4d5a318d.js';
12
- import { _ as __vue_component__$6 } from './OrInput-ada3a970.js';
12
+ import { _ as __vue_component__$6 } from './OrInput-5e46af9a.js';
13
13
  import { _ as __vue_component__$8 } from './OrLabel-2a9f1477.js';
14
14
  import { _ as __vue_component__$9 } from './OrMenuItem-c7f28480.js';
15
15
  import { _ as __vue_component__$a } from './OrPopover-9bafbdb4.js';
@@ -0,0 +1,228 @@
1
+ import { useDraggable, useElementBounding } from '@vueuse/core';
2
+ import _ from 'lodash';
3
+ import { defineComponent, ref, computed, watch } from 'vue-demi';
4
+ import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
5
+
6
+ var OrSidebarPlacement;
7
+ (function (OrSidebarPlacement) {
8
+ OrSidebarPlacement["left"] = "left";
9
+ OrSidebarPlacement["right"] = "right";
10
+ })(OrSidebarPlacement || (OrSidebarPlacement = {}));
11
+
12
+ const SidebarRoot = [
13
+ // Position
14
+ 'relative',
15
+ // Layout
16
+ 'flex', 'flex-col', 'shrink-0',
17
+ // Box
18
+ 'min-h-0', 'p-0'];
19
+ const SidebarRootSides = {
20
+ [OrSidebarPlacement.left]: [
21
+ // Borders
22
+ 'border-r-[1px]', 'border-r-solid', 'border-r-secondary dark:border-r-secondary-dark'],
23
+ [OrSidebarPlacement.right]: [
24
+ // Borders
25
+ 'border-l-[1px]', 'border-l-solid', 'border-l-secondary dark:border-l-secondary-dark']
26
+ };
27
+ const SidebarResize = [
28
+ // Position
29
+ 'absolute', 'inset-y-none', 'z-[1]',
30
+ // Box
31
+ 'w-[12px]', 'h-[100%]',
32
+ // Cursor
33
+ 'cursor-ew-resize'];
34
+ const SidebarResizeSides = {
35
+ [OrSidebarPlacement.left]: [
36
+ // Position
37
+ '-right-[1px]',
38
+ // Borders
39
+ 'hover:border-r-2', 'hover:border-r-primary hover:dark:border-r-primary-dark',
40
+ // Transition
41
+ 'transition-[border-right]'],
42
+ [OrSidebarPlacement.right]: [
43
+ // Position
44
+ '-left-[1px]',
45
+ // Borders
46
+ 'hover:border-l-2', 'hover:border-l-primary hover:dark:border-l-primary-dark',
47
+ // Transition
48
+ 'transition-[border-left]']
49
+ };
50
+ const SidebarResizingSides = {
51
+ [OrSidebarPlacement.left]: [
52
+ // Borders
53
+ 'border-r-2', 'border-r-primary dark:border-r-primary-dark'],
54
+ [OrSidebarPlacement.right]: [
55
+ // Borders
56
+ 'border-l-2', 'border-l-primary dark:border-l-primary-dark']
57
+ };
58
+ const SidebarMain = [
59
+ // Layout
60
+ 'flex', 'flex-col', 'grow',
61
+ // Box
62
+ 'min-h-0'];
63
+ const SidebarHeader = [
64
+ // Sizing
65
+ 'p-md'];
66
+ const SidebarContent = [
67
+ // Layout
68
+ 'grow', 'overflow-auto',
69
+ // Sizing
70
+ 'p-md'];
71
+ const SidebarFooter = [
72
+ // Sizing
73
+ 'p-md',
74
+ // Borders
75
+ 'border-t-[1px]', 'border-t-solid', 'border-t-secondary dark:border-t-secondary-dark'];
76
+
77
+ var script = defineComponent({
78
+ name: 'OrSidebar',
79
+ props: {
80
+ width: {
81
+ type: Number,
82
+ required: false,
83
+ default: 0,
84
+ validator: value => _.isNumber(value) && value >= 0
85
+ },
86
+ minimumWidth: {
87
+ type: Number,
88
+ required: false,
89
+ default: 350,
90
+ validator: value => _.isNumber(value) && value >= 0
91
+ },
92
+ /**
93
+ * User may put the component on the right or the left side of a container.
94
+ * This property mirrors the resizing behavior (drag direction) and styling (horizontal border) of the sidebar.
95
+ *
96
+ * Note: the property doesn't reposition the component in the parent container.
97
+ * @values left, right
98
+ */
99
+ side: {
100
+ type: String,
101
+ default: OrSidebarPlacement.right,
102
+ validator: value => _.includes(_.values(OrSidebarPlacement), value)
103
+ }
104
+ },
105
+ emits: ['change:width'],
106
+ setup(props, {
107
+ emit
108
+ }) {
109
+ // Refs
110
+ const root = ref();
111
+ const resizeBar = ref(null);
112
+ const parentContainer = computed(() => {
113
+ var _a;
114
+ return (_a = root.value) === null || _a === void 0 ? void 0 : _a.parentElement;
115
+ });
116
+ // State
117
+ const startPositionX = ref(0);
118
+ const isResizing = ref(false);
119
+ const localWidth = ref(props.width >= props.minimumWidth ? props.width : props.minimumWidth);
120
+ // Styles
121
+ const sidebarStyle = computed(() => ({
122
+ width: localWidth.value + 'px'
123
+ }));
124
+ const rootStyles = computed(() => ['or-sidebar', ...SidebarRoot, ...SidebarRootSides[props.side]]);
125
+ const resizeStyles = computed(() => [...SidebarResize, ...SidebarResizeSides[props.side], ...(isResizing.value ? SidebarResizingSides[props.side] : [])]);
126
+ const mainStyles = computed(() => [...SidebarMain]);
127
+ const headerStyles = computed(() => [...SidebarHeader]);
128
+ const contentStyles = computed(() => [...SidebarContent]);
129
+ const footerStyles = computed(() => [...SidebarFooter]);
130
+ // Effects
131
+ useDraggable(resizeBar, {
132
+ preventDefault: true,
133
+ onStart: (position, event) => {
134
+ document.body.style.cursor = 'ew-resize';
135
+ document.body.style.userSelect = 'none';
136
+ startPositionX.value = event.x;
137
+ isResizing.value = true;
138
+ },
139
+ onMove: position => {
140
+ const delta = (position.x - startPositionX.value) * (props.side === OrSidebarPlacement.left ? -1 : 1);
141
+ const newWidth = localWidth.value - delta;
142
+ localWidth.value = newWidth > maximumWidth.value ? maximumWidth.value : newWidth < props.minimumWidth ? props.minimumWidth : newWidth;
143
+ startPositionX.value = position.x;
144
+ },
145
+ onEnd: () => {
146
+ document.body.style.cursor = '';
147
+ document.body.style.userSelect = '';
148
+ isResizing.value = false;
149
+ }
150
+ });
151
+ const {
152
+ width: maximumWidth
153
+ } = useElementBounding(parentContainer);
154
+ watch(() => props.width, newValue => {
155
+ if (newValue !== localWidth.value) {
156
+ localWidth.value = newValue > maximumWidth.value ? maximumWidth.value : newValue < props.minimumWidth ? props.minimumWidth : newValue;
157
+ }
158
+ });
159
+ watch(() => props.minimumWidth, newMinimum => {
160
+ if (newMinimum > localWidth.value) localWidth.value = newMinimum;
161
+ });
162
+ watch(maximumWidth, newMaximum => {
163
+ if (newMaximum < localWidth.value) localWidth.value = newMaximum;
164
+ });
165
+ watch(localWidth, val => emit('change:width', val));
166
+ return {
167
+ root,
168
+ resizeBar,
169
+ isResizing,
170
+ localWidth,
171
+ sidebarStyle,
172
+ rootStyles,
173
+ resizeStyles,
174
+ mainStyles,
175
+ headerStyles,
176
+ contentStyles,
177
+ footerStyles
178
+ };
179
+ }
180
+ });
181
+
182
+ /* script */
183
+ const __vue_script__ = script;
184
+
185
+ /* template */
186
+ var __vue_render__ = function () {
187
+ var _vm = this;
188
+ var _h = _vm.$createElement;
189
+ var _c = _vm._self._c || _h;
190
+ return _c('aside', {
191
+ ref: "root",
192
+ class: _vm.rootStyles,
193
+ style: _vm.sidebarStyle
194
+ }, [_c('div', {
195
+ ref: "resizeBar",
196
+ class: _vm.resizeStyles
197
+ }), _vm._v(" "), _c('div', {
198
+ class: _vm.mainStyles
199
+ }, [_vm.$slots.header ? _c('div', {
200
+ class: _vm.headerStyles
201
+ }, [_vm._t("header")], 2) : _vm._e(), _vm._v(" "), _c('div', {
202
+ class: _vm.contentStyles
203
+ }, [_vm._t("default")], 2)]), _vm._v(" "), _vm.$slots.footer ? _c('div', {
204
+ class: _vm.footerStyles
205
+ }, [_vm._t("footer")], 2) : _vm._e()]);
206
+ };
207
+ var __vue_staticRenderFns__ = [];
208
+
209
+ /* style */
210
+ const __vue_inject_styles__ = undefined;
211
+ /* scoped */
212
+ const __vue_scope_id__ = undefined;
213
+ /* module identifier */
214
+ const __vue_module_identifier__ = undefined;
215
+ /* functional template */
216
+ const __vue_is_functional_template__ = false;
217
+ /* style inject */
218
+
219
+ /* style inject SSR */
220
+
221
+ /* style inject shadow dom */
222
+
223
+ const __vue_component__ = /*#__PURE__*/normalizeComponent({
224
+ render: __vue_render__,
225
+ staticRenderFns: __vue_staticRenderFns__
226
+ }, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, undefined, undefined, undefined);
227
+
228
+ export { OrSidebarPlacement as O, __vue_component__ as _ };
@@ -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, _ as OrButtonV3 } from '../OrButton-835d4f11.js';
9
9
  export { _ as OrCard } from '../OrCard-b7268256.js';
10
10
  export { C as CARD_COLLECTION_LAYOUT, _ as OrCardCollection } from '../OrCardCollection-f6b07557.js';
11
- export { D as DefaultCardCollectionViews, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../OrCardCollection-3c38fc85.js';
11
+ export { D as DefaultCardCollectionViews, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../OrCardCollection-e08a4637.js';
12
12
  export { _ as OrCardV3 } from '../OrCard-de799db0.js';
13
13
  export { a as OrCarousel, _ as OrCarouselItem } from '../OrCarouselItem-4e2cf3d8.js';
14
14
  export { _ as OrCheckbox } from '../OrCheckbox-915f1f0a.js';
@@ -19,7 +19,7 @@ export { _ as OrCode, O as OrCodeLanguages } from '../OrCode-d4400b42.js';
19
19
  export { _ as OrCollapse } from '../OrCollapse-4d892ca3.js';
20
20
  export { _ 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-75abefdd.js';
21
21
  export { _ as OrConfirm } from '../OrConfirm-d7112dd3.js';
22
- export { C as ConfirmType, _ as OrConfirmV3 } from '../OrConfirm-047d4086.js';
22
+ export { C as ConfirmType, _ as OrConfirmV3 } from '../OrConfirm-43f97635.js';
23
23
  export { D as DEFAULT_TEXT, _ as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from '../OrDateTimePicker-349df9b2.js';
24
24
  export { _ as OrError } from '../OrError-081130bb.js';
25
25
  export { _ as OrErrorTagV3 } from '../OrErrorTag-782dd714.js';
@@ -38,7 +38,7 @@ export { I as InlineInputType, _ as OrInlineInputV3 } from '../OrInlineInput-102
38
38
  export { a as InlineTextEditTrimmingTypes, I as InlineTextEditTypes, _ as OrInlineTextEdit } from '../OrInlineTextEdit-b47cfc2d.js';
39
39
  export { _ as OrInlineTextareaV3 } from '../OrInlineTextarea-7658611e.js';
40
40
  export { a as InputBoxSize, I as InputBoxVariant, a as InputSize, _ as OrInputBoxV3, a as SearchSize, a as SelectSize, a as TextareaSize } from '../OrInputBox-4d5a318d.js';
41
- export { I as InputType, _ as OrInputV3 } from '../OrInput-ada3a970.js';
41
+ export { I as InputType, _ as OrInputV3 } from '../OrInput-5e46af9a.js';
42
42
  export { a as OrNumberInput, b as OrPassword, _ as OrTextarea } from '../OrPassword-1fa97156.js';
43
43
  export { _ as OrInput } from '../OrSearch.vue_rollup-plugin-vue_script-197d77fc.js';
44
44
  export { _ as OrSearch } from '../OrSearch-0589d17d.js';
@@ -65,12 +65,12 @@ export { _ as OrProgressV3, P as ProgressColor, a as ProgressType } from '../OrP
65
65
  export { _ as OrRadio } from '../OrRadio-e4198532.js';
66
66
  export { _ as OrRadioGroup } from '../OrRadioGroup-d9d32cba.js';
67
67
  export { _ as OrRadioV3 } from '../OrRadio-848ce55d.js';
68
- export { _ as OrSearchV3 } from '../OrSearch-0f08f2f5.js';
68
+ export { _ as OrSearchV3 } from '../OrSearch-84143c15.js';
69
69
  export { _ as OrSegmentedControlV3, S as SegmentedControlSize } from '../OrSegmentedControl-e8dce8f9.js';
70
70
  export { _ as OrSelect } from '../OrSelect-dae2b069.js';
71
- export { _ as OrSelectV3 } from '../OrSelect-f8837f5d.js';
71
+ export { _ as OrSelectV3 } from '../OrSelect-5a2ff296.js';
72
72
  export { _ as OrSidebar, O as OrSidebarSide } from '../OrSidebar-7d6125bb.js';
73
- export { O as OrSidebarPlacement, _ as OrSidebarV3 } from '../OrSidebar-e43a6e55.js';
73
+ export { O as OrSidebarPlacement, _ as OrSidebarV3 } from '../OrSidebar-fabc7bc9.js';
74
74
  export { _ as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from '../OrSkeletonText-cc94bdc9.js';
75
75
  export { _ as OrSkeletonCircleV3, a as OrSkeletonRectV3, b as OrSkeletonTextV3 } from '../OrSkeletonText-950be6a2.js';
76
76
  export { _ as OrSlider } from '../OrSlider-f7b9c7c2.js';
@@ -118,11 +118,11 @@ import '../px-to-rem-0b26b83e.js';
118
118
  import '../dom-3a15d036.js';
119
119
  import '@vueuse/math';
120
120
  import '@floating-ui/dom';
121
+ import '../useResponsive-a02e95b7.js';
121
122
  import '../useToggle-29e4d7c7.js';
122
123
  import 'uuid';
123
124
  import 'sortablejs';
124
125
  import '../useElevation-31bfe1f6.js';
125
- import '../useResponsive-a02e95b7.js';
126
126
  import '@vueuse/integrations/useFocusTrap';
127
127
  import '../dropdown-open-0d314aa4.js';
128
128
  import '../useOverflow-af6161c8.js';
@@ -1,4 +1,4 @@
1
- export { D as DefaultCardCollectionViews, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../../OrCardCollection-3c38fc85.js';
1
+ export { D as DefaultCardCollectionViews, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../../OrCardCollection-e08a4637.js';
2
2
  import 'vue-demi';
3
3
  import '../../useClassAttribute-47fdb016.js';
4
4
  import '@vueuse/core';
@@ -18,8 +18,8 @@ import '../../OrMenu-df27d0ef.js';
18
18
  import '../../OrMenuItem-c7f28480.js';
19
19
  import '../../OrButton-835d4f11.js';
20
20
  import '../../OrLoader-f857d55b.js';
21
- import '../../OrSearch-0f08f2f5.js';
22
- import '../../OrInput-ada3a970.js';
21
+ import '../../OrSearch-84143c15.js';
22
+ import '../../OrInput-5e46af9a.js';
23
23
  import '../../OrError-d267ee9a.js';
24
24
  import '../../OrHint-42dc9ebb.js';
25
25
  import '../../OrInputBox-4d5a318d.js';
@@ -1,4 +1,4 @@
1
- export { C as ConfirmType, _ as OrConfirmV3 } from '../../OrConfirm-047d4086.js';
1
+ export { C as ConfirmType, _ as OrConfirmV3 } from '../../OrConfirm-43f97635.js';
2
2
  import '@vueuse/core';
3
3
  import '@vueuse/math';
4
4
  import 'vue-demi';
@@ -6,7 +6,8 @@ import '../../OrButton-835d4f11.js';
6
6
  import '../../useClassAttribute-47fdb016.js';
7
7
  import '../../OrLoader-f857d55b.js';
8
8
  import '../../normalize-component-6e8e3d80.js';
9
- import '../../OrInput-ada3a970.js';
9
+ import '../../OrInput-5e46af9a.js';
10
+ import '../../useResponsive-a02e95b7.js';
10
11
  import '../../OrError-d267ee9a.js';
11
12
  import '../../OrHint-42dc9ebb.js';
12
13
  import '../../OrIconButton-b3779042.js';
@@ -15,7 +16,6 @@ import '../../OrTooltip-513bee30.js';
15
16
  import '../../OrPopover-9bafbdb4.js';
16
17
  import '@floating-ui/dom';
17
18
  import '../../useElevation-31bfe1f6.js';
18
- import '../../useResponsive-a02e95b7.js';
19
19
  import '../../OrBottomSheet-16c2e610.js';
20
20
  import '../../OrOverlay-18ba2dc6.js';
21
21
  import '../../OrTeleport.vue2-fb92f29f.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,8 +1,9 @@
1
- export { I as InputType, _ as OrInputV3 } from '../../OrInput-ada3a970.js';
1
+ export { I as InputType, _ as OrInputV3 } from '../../OrInput-5e46af9a.js';
2
2
  export { a as InputSize } from '../../OrInputBox-4d5a318d.js';
3
3
  import 'vue-demi';
4
4
  import '../../useClassAttribute-47fdb016.js';
5
5
  import '@vueuse/core';
6
+ import '../../useResponsive-a02e95b7.js';
6
7
  import '../../OrError-d267ee9a.js';
7
8
  import '../../normalize-component-6e8e3d80.js';
8
9
  import '../../OrHint-42dc9ebb.js';
@@ -12,10 +13,10 @@ import '../../OrTooltip-513bee30.js';
12
13
  import '../../OrPopover-9bafbdb4.js';
13
14
  import '@floating-ui/dom';
14
15
  import '../../useElevation-31bfe1f6.js';
15
- import '../../useResponsive-a02e95b7.js';
16
16
  import '../../OrBottomSheet-16c2e610.js';
17
17
  import '../../OrOverlay-18ba2dc6.js';
18
18
  import '../../OrTeleport.vue2-fb92f29f.js';
19
19
  import 'portal-vue';
20
20
  import '../../OrLabel-2a9f1477.js';
21
+ import '../../OrLoader-f857d55b.js';
21
22
  import '../../browser-82dea9ed.js';
@@ -1,9 +1,10 @@
1
- export { _ as OrSearchV3 } from '../../OrSearch-0f08f2f5.js';
1
+ export { _ as OrSearchV3 } from '../../OrSearch-84143c15.js';
2
2
  export { a as SearchSize } from '../../OrInputBox-4d5a318d.js';
3
3
  import 'vue-demi';
4
4
  import '@vueuse/core';
5
5
  import '../../useClassAttribute-47fdb016.js';
6
- import '../../OrInput-ada3a970.js';
6
+ import '../../OrInput-5e46af9a.js';
7
+ import '../../useResponsive-a02e95b7.js';
7
8
  import '../../OrError-d267ee9a.js';
8
9
  import '../../normalize-component-6e8e3d80.js';
9
10
  import '../../OrHint-42dc9ebb.js';
@@ -13,10 +14,10 @@ import '../../OrTooltip-513bee30.js';
13
14
  import '../../OrPopover-9bafbdb4.js';
14
15
  import '@floating-ui/dom';
15
16
  import '../../useElevation-31bfe1f6.js';
16
- import '../../useResponsive-a02e95b7.js';
17
17
  import '../../OrBottomSheet-16c2e610.js';
18
18
  import '../../OrOverlay-18ba2dc6.js';
19
19
  import '../../OrTeleport.vue2-fb92f29f.js';
20
20
  import 'portal-vue';
21
21
  import '../../OrLabel-2a9f1477.js';
22
+ import '../../OrLoader-f857d55b.js';
22
23
  import '../../browser-82dea9ed.js';
@@ -1,4 +1,4 @@
1
- export { _ as OrSelectV3 } from '../../OrSelect-f8837f5d.js';
1
+ export { _ as OrSelectV3 } from '../../OrSelect-5a2ff296.js';
2
2
  export { a as SelectSize } from '../../OrInputBox-4d5a318d.js';
3
3
  import 'vue-demi';
4
4
  import '../../dropdown-open-0d314aa4.js';
@@ -13,16 +13,17 @@ import '../../OrError-d267ee9a.js';
13
13
  import '../../OrExpansionPanel-a123024e.js';
14
14
  import '../../OrIcon-5e394c62.js';
15
15
  import '../../OrHint-42dc9ebb.js';
16
- import '../../OrInput-ada3a970.js';
16
+ import '../../OrInput-5e46af9a.js';
17
+ import '../../useResponsive-a02e95b7.js';
17
18
  import '../../OrIconButton-b3779042.js';
18
19
  import '../../OrTooltip-513bee30.js';
19
20
  import '../../OrPopover-9bafbdb4.js';
20
21
  import '@floating-ui/dom';
21
22
  import '../../useElevation-31bfe1f6.js';
22
- import '../../useResponsive-a02e95b7.js';
23
23
  import '../../OrBottomSheet-16c2e610.js';
24
24
  import '../../OrOverlay-18ba2dc6.js';
25
25
  import '../../OrTeleport.vue2-fb92f29f.js';
26
26
  import 'portal-vue';
27
+ import '../../OrLoader-f857d55b.js';
27
28
  import '../../OrMenuItem-c7f28480.js';
28
29
  import '../../OrTag-5c404031.js';