@onereach/ui-components 6.4.6-beta.3438.0 → 6.4.6
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/components/OrCardCollectionV3/OrCardCollection.js +1 -1
- package/dist/bundled/v2/components/OrToastContainerV3/OrToastContainer.js +5 -3
- package/dist/bundled/v2/components/index.d.ts +0 -1
- package/dist/bundled/v2/components/index.js +0 -2
- package/dist/bundled/v2/index.js +1 -3
- package/dist/bundled/v3/components/OrToastContainerV3/OrToastContainer.js +2 -0
- package/dist/bundled/v3/components/index.d.ts +0 -1
- package/dist/bundled/v3/components/index.js +0 -2
- package/dist/bundled/v3/index.js +1 -4
- package/dist/esm/v2/{OrCardCollection-7ef48be2.js → OrCardCollection-45c66d62.js} +1 -1
- package/dist/esm/v2/components/index.d.ts +0 -1
- package/dist/esm/v2/components/index.js +2 -3
- package/dist/esm/v2/components/or-card-collection-v3/index.js +1 -1
- package/dist/esm/v2/components/or-toast-v3/index.js +1 -1
- package/dist/esm/v2/components/or-toast-v3/or-toast-container-v3/index.js +1 -1
- package/dist/esm/v2/index.js +2 -3
- package/dist/esm/v2/{types-b49c7e18.js → types-cb2b2335.js} +5 -3
- package/dist/esm/v3/components/index.d.ts +0 -1
- package/dist/esm/v3/components/index.js +1 -2
- package/dist/esm/v3/components/or-toast-v3/index.js +1 -1
- package/dist/esm/v3/components/or-toast-v3/or-toast-container-v3/index.js +1 -1
- package/dist/esm/v3/index.js +1 -2
- package/dist/esm/v3/{types-1a079b57.js → types-7a770dfb.js} +2 -0
- package/package.json +3 -2
- package/src/components/index.ts +0 -1
- package/src/components/or-card-collection-v3/OrCardCollection.vue +1 -1
- package/src/components/or-toast-v3/or-toast-container-v3/OrToastContainer.vue +2 -0
- package/dist/bundled/v2/components/OrResizeablePanelV3/OrResizeablePanel.js +0 -81
- package/dist/bundled/v2/components/OrResizeablePanelV3/OrResizeablePanel.vue.d.ts +0 -54
- package/dist/bundled/v2/components/OrResizeablePanelV3/index.d.ts +0 -2
- package/dist/bundled/v2/components/OrResizeablePanelV3/index.js +0 -2
- package/dist/bundled/v2/components/OrResizeablePanelV3/props.d.ts +0 -6
- package/dist/bundled/v2/components/OrResizeablePanelV3/props.js +0 -9
- package/dist/bundled/v2/components/OrResizeablePanelV3/styles.d.ts +0 -6
- package/dist/bundled/v2/components/OrResizeablePanelV3/styles.js +0 -54
- package/dist/bundled/v3/OrResizeablePanel.vue_vue_type_script_lang-6f19a17e.js +0 -39
- package/dist/bundled/v3/components/OrResizeablePanelV3/OrResizeablePanel.js +0 -22
- package/dist/bundled/v3/components/OrResizeablePanelV3/OrResizeablePanel.vue.d.ts +0 -39
- package/dist/bundled/v3/components/OrResizeablePanelV3/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrResizeablePanelV3/index.js +0 -2
- package/dist/bundled/v3/components/OrResizeablePanelV3/props.d.ts +0 -6
- package/dist/bundled/v3/components/OrResizeablePanelV3/props.js +0 -9
- package/dist/bundled/v3/components/OrResizeablePanelV3/styles.d.ts +0 -6
- package/dist/bundled/v3/components/OrResizeablePanelV3/styles.js +0 -54
- package/dist/esm/v2/OrResizeablePanel-f0da49b8.js +0 -139
- package/dist/esm/v2/components/or-resizeable-panel-v3/OrResizeablePanel.vue.d.ts +0 -54
- package/dist/esm/v2/components/or-resizeable-panel-v3/index.d.ts +0 -2
- package/dist/esm/v2/components/or-resizeable-panel-v3/index.js +0 -3
- package/dist/esm/v2/components/or-resizeable-panel-v3/props.d.ts +0 -6
- package/dist/esm/v2/components/or-resizeable-panel-v3/styles.d.ts +0 -6
- package/dist/esm/v3/OrResizeablePanel-569c3208.js +0 -117
- package/dist/esm/v3/components/or-resizeable-panel-v3/OrResizeablePanel.vue.d.ts +0 -39
- package/dist/esm/v3/components/or-resizeable-panel-v3/index.d.ts +0 -2
- package/dist/esm/v3/components/or-resizeable-panel-v3/index.js +0 -3
- package/dist/esm/v3/components/or-resizeable-panel-v3/props.d.ts +0 -6
- package/dist/esm/v3/components/or-resizeable-panel-v3/styles.d.ts +0 -6
- package/src/components/or-resizeable-panel-v3/OrResizeablePanel.vue +0 -82
- package/src/components/or-resizeable-panel-v3/index.ts +0 -2
- package/src/components/or-resizeable-panel-v3/props.ts +0 -6
- package/src/components/or-resizeable-panel-v3/styles.ts +0 -92
|
@@ -73,7 +73,6 @@ export * from './or-radio';
|
|
|
73
73
|
export * from './or-radio-group';
|
|
74
74
|
export * from './or-radio-group-v3';
|
|
75
75
|
export * from './or-radio-v3';
|
|
76
|
-
export * from './or-resizeable-panel-v3';
|
|
77
76
|
export * from './or-rich-text-editor-v3';
|
|
78
77
|
export * from './or-search';
|
|
79
78
|
export * from './or-search-v3';
|
|
@@ -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-a23ee9f0.js';
|
|
9
9
|
export { _ as OrCard } from '../OrCard-c44d9783.js';
|
|
10
10
|
export { C as CARD_COLLECTION_LAYOUT, _ as OrCardCollection } from '../OrCardCollection-bea023f8.js';
|
|
11
|
-
export { C as CardCollectionView, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../OrCardCollection-
|
|
11
|
+
export { C as CardCollectionView, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../OrCardCollection-45c66d62.js';
|
|
12
12
|
export { C as CardPadding, _ as OrCardV3 } from '../OrCard-c5c725ed.js';
|
|
13
13
|
export { _ as OrCheckbox } from '../OrCheckbox-fcd6b64c.js';
|
|
14
14
|
export { _ as OrCheckboxGroupV3 } from '../OrCheckboxGroup-2df9d20b.js';
|
|
@@ -84,7 +84,6 @@ export { _ as OrRadio } from '../OrRadio-811ad5a4.js';
|
|
|
84
84
|
export { _ as OrRadioGroup } from '../OrRadioGroup-11424644.js';
|
|
85
85
|
export { _ as OrRadioGroupV3 } from '../OrRadioGroup-455584d6.js';
|
|
86
86
|
export { _ as OrRadioV3 } from '../OrRadio-e1d1f149.js';
|
|
87
|
-
export { _ as OrResizeablePanelV3, R as ResizeablePanelPlacement } from '../OrResizeablePanel-f0da49b8.js';
|
|
88
87
|
export { F as Formats, _ as OrRichTextEditorV3 } from '../OrRichTextEditor-b12605d3.js';
|
|
89
88
|
export { _ as OrSearch } from '../OrSearch-ac542dd6.js';
|
|
90
89
|
export { _ as OrSearchV3 } from '../OrSearch-21ae4e63.js';
|
|
@@ -125,7 +124,7 @@ export { _ as OrTimeFormatV3 } from '../OrTimeFormat-c369099a.js';
|
|
|
125
124
|
export { _ as OrTimePickerV3 } from '../OrTimePicker-444a7d26.js';
|
|
126
125
|
export { _ as OrToast, a as OrToastContainer } from '../OrToastContainer-ecffc69f.js';
|
|
127
126
|
export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from '../useToast-05a9c81b.js';
|
|
128
|
-
export { a as OrToastContainerV3, _ as OrToastV3, t as TypesV3 } from '../types-
|
|
127
|
+
export { a as OrToastContainerV3, _ as OrToastV3, t as TypesV3 } from '../types-cb2b2335.js';
|
|
129
128
|
export { p as PropsV3, a as useQueueV3, u as useToastV3 } from '../useToast-5aa9dc05.js';
|
|
130
129
|
export { _ as OrTooltip } from '../OrTooltip-2f267924.js';
|
|
131
130
|
export { _ as OrTooltipContent } from '../OrTooltipContent-57a25502.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { C as CardCollectionView, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../../OrCardCollection-
|
|
1
|
+
export { C as CardCollectionView, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../../OrCardCollection-45c66d62.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
3
|
import '../../OrIconButton-08d2913d.js';
|
|
4
4
|
import '../../OrIcon-a36250bf.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { a as OrToastContainerV3, _ as OrToastV3, t as TypesV3 } from '../../types-
|
|
1
|
+
export { a as OrToastContainerV3, _ as OrToastV3, t as TypesV3 } from '../../types-cb2b2335.js';
|
|
2
2
|
export { p as PropsV3, a as useQueueV3, u as useToastV3 } from '../../useToast-5aa9dc05.js';
|
|
3
3
|
import '@vueuse/core';
|
|
4
4
|
import 'vue-demi';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { a as OrToastContainerV3, t as TypesV3 } from '../../../types-
|
|
1
|
+
export { a as OrToastContainerV3, t as TypesV3 } from '../../../types-cb2b2335.js';
|
|
2
2
|
export { p as PropsV3, a as useQueueV3, u as useToastV3 } from '../../../useToast-5aa9dc05.js';
|
|
3
3
|
import '@vueuse/core';
|
|
4
4
|
import 'vue-demi';
|
package/dist/esm/v2/index.js
CHANGED
|
@@ -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-a23ee9f0.js';
|
|
9
9
|
export { _ as OrCard } from './OrCard-c44d9783.js';
|
|
10
10
|
export { C as CARD_COLLECTION_LAYOUT, _ as OrCardCollection } from './OrCardCollection-bea023f8.js';
|
|
11
|
-
export { C as CardCollectionView, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './OrCardCollection-
|
|
11
|
+
export { C as CardCollectionView, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './OrCardCollection-45c66d62.js';
|
|
12
12
|
export { C as CardPadding, _ as OrCardV3 } from './OrCard-c5c725ed.js';
|
|
13
13
|
export { _ as OrCheckbox } from './OrCheckbox-fcd6b64c.js';
|
|
14
14
|
export { _ as OrCheckboxGroupV3 } from './OrCheckboxGroup-2df9d20b.js';
|
|
@@ -84,7 +84,6 @@ export { _ as OrRadio } from './OrRadio-811ad5a4.js';
|
|
|
84
84
|
export { _ as OrRadioGroup } from './OrRadioGroup-11424644.js';
|
|
85
85
|
export { _ as OrRadioGroupV3 } from './OrRadioGroup-455584d6.js';
|
|
86
86
|
export { _ as OrRadioV3 } from './OrRadio-e1d1f149.js';
|
|
87
|
-
export { _ as OrResizeablePanelV3, R as ResizeablePanelPlacement } from './OrResizeablePanel-f0da49b8.js';
|
|
88
87
|
export { F as Formats, _ as OrRichTextEditorV3 } from './OrRichTextEditor-b12605d3.js';
|
|
89
88
|
export { _ as OrSearch } from './OrSearch-ac542dd6.js';
|
|
90
89
|
export { _ as OrSearchV3 } from './OrSearch-21ae4e63.js';
|
|
@@ -125,7 +124,7 @@ export { _ as OrTimeFormatV3 } from './OrTimeFormat-c369099a.js';
|
|
|
125
124
|
export { _ as OrTimePickerV3 } from './OrTimePicker-444a7d26.js';
|
|
126
125
|
export { _ as OrToast, a as OrToastContainer } from './OrToastContainer-ecffc69f.js';
|
|
127
126
|
export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from './useToast-05a9c81b.js';
|
|
128
|
-
export { a as OrToastContainerV3, _ as OrToastV3, t as TypesV3 } from './types-
|
|
127
|
+
export { a as OrToastContainerV3, _ as OrToastV3, t as TypesV3 } from './types-cb2b2335.js';
|
|
129
128
|
export { p as PropsV3, a as useQueueV3, u as useToastV3 } from './useToast-5aa9dc05.js';
|
|
130
129
|
export { _ as OrTooltip } from './OrTooltip-2f267924.js';
|
|
131
130
|
export { _ as OrTooltipContent } from './OrTooltipContent-57a25502.js';
|
|
@@ -375,7 +375,7 @@ var script = defineComponent({
|
|
|
375
375
|
}
|
|
376
376
|
});
|
|
377
377
|
|
|
378
|
-
var css_248z = ".or-toast--transition-slide-enter-active[data-v-
|
|
378
|
+
var css_248z = ".or-toast--transition-slide-enter-active[data-v-286c3782],.or-toast--transition-slide-leave-active[data-v-286c3782]{transition:transform .4s ease}.or-toast--transition-slide-enter-from.or-toast--position-right[data-v-286c3782],.or-toast--transition-slide-leave-to.or-toast--position-right[data-v-286c3782]{transform:translateX(999px)}.or-toast--transition-slide-enter-from.or-toast--position-left[data-v-286c3782],.or-toast--transition-slide-leave-to.or-toast--position-left[data-v-286c3782]{transform:translateX(-999px)}.or-toast--transition-fade-enter-active[data-v-286c3782],.or-toast--transition-fade-leave-active[data-v-286c3782]{transition:opacity .4s ease}.or-toast--transition-fade-enter-from[data-v-286c3782],.or-toast--transition-fade-leave-to[data-v-286c3782]{opacity:0}";
|
|
379
379
|
styleInject(css_248z);
|
|
380
380
|
|
|
381
381
|
/* script */
|
|
@@ -393,8 +393,10 @@ var __vue_render__ = function () {
|
|
|
393
393
|
ref: "root",
|
|
394
394
|
class: _vm.classes
|
|
395
395
|
}, [_c('TransitionGroup', {
|
|
396
|
+
staticClass: "contents",
|
|
396
397
|
attrs: {
|
|
397
|
-
"name": _vm.transitionName
|
|
398
|
+
"name": _vm.transitionName,
|
|
399
|
+
"tag": "div"
|
|
398
400
|
},
|
|
399
401
|
on: {
|
|
400
402
|
"after-leave": _vm.onToastHidden
|
|
@@ -424,7 +426,7 @@ var __vue_staticRenderFns__ = [];
|
|
|
424
426
|
/* style */
|
|
425
427
|
const __vue_inject_styles__ = undefined;
|
|
426
428
|
/* scoped */
|
|
427
|
-
const __vue_scope_id__ = "data-v-
|
|
429
|
+
const __vue_scope_id__ = "data-v-286c3782";
|
|
428
430
|
/* module identifier */
|
|
429
431
|
const __vue_module_identifier__ = undefined;
|
|
430
432
|
/* functional template */
|
|
@@ -73,7 +73,6 @@ export * from './or-radio';
|
|
|
73
73
|
export * from './or-radio-group';
|
|
74
74
|
export * from './or-radio-group-v3';
|
|
75
75
|
export * from './or-radio-v3';
|
|
76
|
-
export * from './or-resizeable-panel-v3';
|
|
77
76
|
export * from './or-rich-text-editor-v3';
|
|
78
77
|
export * from './or-search';
|
|
79
78
|
export * from './or-search-v3';
|
|
@@ -82,7 +82,6 @@ export { s as OrRadio } from '../OrRadio-40bf2c87.js';
|
|
|
82
82
|
export { s as OrRadioGroup } from '../OrRadioGroup-00785e41.js';
|
|
83
83
|
export { s as OrRadioGroupV3 } from '../OrRadioGroup-cae1897c.js';
|
|
84
84
|
export { s as OrRadioV3 } from '../OrRadio-02e0d111.js';
|
|
85
|
-
export { s as OrResizeablePanelV3, R as ResizeablePanelPlacement } from '../OrResizeablePanel-569c3208.js';
|
|
86
85
|
export { F as Formats, s as OrRichTextEditorV3 } from '../OrRichTextEditor-bdf2e88f.js';
|
|
87
86
|
export { s as OrSearch } from '../OrSearch-2800e9bf.js';
|
|
88
87
|
export { s as OrSearchV3 } from '../OrSearch-04fdc116.js';
|
|
@@ -123,7 +122,7 @@ export { s as OrTimeFormatV3 } from '../OrTimeFormat-845f1078.js';
|
|
|
123
122
|
export { s as OrTimePickerV3 } from '../OrTimePicker-294ab841.js';
|
|
124
123
|
export { s as OrToast, a as OrToastContainer } from '../OrToastContainer-d6f117e2.js';
|
|
125
124
|
export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from '../useToast-05a9c81b.js';
|
|
126
|
-
export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from '../types-
|
|
125
|
+
export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from '../types-7a770dfb.js';
|
|
127
126
|
export { p as PropsV3, a as useQueueV3, u as useToastV3 } from '../useToast-5aa9dc05.js';
|
|
128
127
|
export { s as OrTooltip } from '../OrTooltip-7ac03028.js';
|
|
129
128
|
export { s as OrTooltipContent } from '../OrTooltipContent-c0042844.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from '../../types-
|
|
1
|
+
export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from '../../types-7a770dfb.js';
|
|
2
2
|
export { p as PropsV3, a as useQueueV3, u as useToastV3 } from '../../useToast-5aa9dc05.js';
|
|
3
3
|
import '@vueuse/core';
|
|
4
4
|
import 'vue-demi';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { a as OrToastContainerV3, t as TypesV3 } from '../../../types-
|
|
1
|
+
export { a as OrToastContainerV3, t as TypesV3 } from '../../../types-7a770dfb.js';
|
|
2
2
|
export { p as PropsV3, a as useQueueV3, u as useToastV3 } from '../../../useToast-5aa9dc05.js';
|
|
3
3
|
import '@vueuse/core';
|
|
4
4
|
import 'vue-demi';
|
package/dist/esm/v3/index.js
CHANGED
|
@@ -82,7 +82,6 @@ export { s as OrRadio } from './OrRadio-40bf2c87.js';
|
|
|
82
82
|
export { s as OrRadioGroup } from './OrRadioGroup-00785e41.js';
|
|
83
83
|
export { s as OrRadioGroupV3 } from './OrRadioGroup-cae1897c.js';
|
|
84
84
|
export { s as OrRadioV3 } from './OrRadio-02e0d111.js';
|
|
85
|
-
export { s as OrResizeablePanelV3, R as ResizeablePanelPlacement } from './OrResizeablePanel-569c3208.js';
|
|
86
85
|
export { F as Formats, s as OrRichTextEditorV3 } from './OrRichTextEditor-bdf2e88f.js';
|
|
87
86
|
export { s as OrSearch } from './OrSearch-2800e9bf.js';
|
|
88
87
|
export { s as OrSearchV3 } from './OrSearch-04fdc116.js';
|
|
@@ -123,7 +122,7 @@ export { s as OrTimeFormatV3 } from './OrTimeFormat-845f1078.js';
|
|
|
123
122
|
export { s as OrTimePickerV3 } from './OrTimePicker-294ab841.js';
|
|
124
123
|
export { s as OrToast, a as OrToastContainer } from './OrToastContainer-d6f117e2.js';
|
|
125
124
|
export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from './useToast-05a9c81b.js';
|
|
126
|
-
export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from './types-
|
|
125
|
+
export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from './types-7a770dfb.js';
|
|
127
126
|
export { p as PropsV3, a as useQueueV3, u as useToastV3 } from './useToast-5aa9dc05.js';
|
|
128
127
|
export { s as OrTooltip } from './OrTooltip-7ac03028.js';
|
|
129
128
|
export { s as OrTooltipContent } from './OrTooltipContent-c0042844.js';
|
|
@@ -358,6 +358,8 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
358
358
|
class: normalizeClass(_ctx.classes)
|
|
359
359
|
}, [createVNode(TransitionGroup, {
|
|
360
360
|
name: _ctx.transitionName,
|
|
361
|
+
tag: "div",
|
|
362
|
+
class: "contents",
|
|
361
363
|
onAfterLeave: _ctx.onToastHidden
|
|
362
364
|
}, {
|
|
363
365
|
default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.queue, toastConfiguration => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onereach/ui-components",
|
|
3
|
-
"version": "6.4.6
|
|
3
|
+
"version": "6.4.6",
|
|
4
4
|
"npmUnpacked": "4.15.2",
|
|
5
5
|
"description": "Vue components library for v2/3",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -175,5 +175,6 @@
|
|
|
175
175
|
"default": "./dist/bundled/v3/components/*/index.js"
|
|
176
176
|
},
|
|
177
177
|
"./package.json": "./package.json"
|
|
178
|
-
}
|
|
178
|
+
},
|
|
179
|
+
"gitHead": "a7f7b937d888a11aaebd58c487dde34bb52ac271"
|
|
179
180
|
}
|
package/src/components/index.ts
CHANGED
|
@@ -73,7 +73,6 @@ export * from './or-radio';
|
|
|
73
73
|
export * from './or-radio-group';
|
|
74
74
|
export * from './or-radio-group-v3';
|
|
75
75
|
export * from './or-radio-v3';
|
|
76
|
-
export * from './or-resizeable-panel-v3';
|
|
77
76
|
export * from './or-rich-text-editor-v3';
|
|
78
77
|
export * from './or-search';
|
|
79
78
|
export * from './or-search-v3';
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
|
-
import { ResizeablePanel, ResizeablePanelResizeBar, ResizeablePanelResizeBarPlacements, ResizeablePanelContent, ResizeablePanelToolbar } from './styles.js';
|
|
3
|
-
import { n as normalizeComponent } from '../../normalize-component-6e8e3d80.js';
|
|
4
|
-
|
|
5
|
-
var script = defineComponent({
|
|
6
|
-
props: {
|
|
7
|
-
placement: {
|
|
8
|
-
type: String,
|
|
9
|
-
required: true
|
|
10
|
-
},
|
|
11
|
-
resizeable: {
|
|
12
|
-
type: Boolean,
|
|
13
|
-
default: true
|
|
14
|
-
},
|
|
15
|
-
collapsible: {
|
|
16
|
-
type: Boolean,
|
|
17
|
-
default: false
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
setup(props) {
|
|
21
|
-
// Refs
|
|
22
|
-
const root = ref();
|
|
23
|
-
const resizeBar = ref();
|
|
24
|
-
// Styles
|
|
25
|
-
const rootStyles = computed(() => ['or-resizeable-panel-v3', ...ResizeablePanel]);
|
|
26
|
-
const resizeBarStyles = computed(() => [...ResizeablePanelResizeBar, ...ResizeablePanelResizeBarPlacements[props.placement]]);
|
|
27
|
-
const contentStyles = computed(() => [...ResizeablePanelContent]);
|
|
28
|
-
const toolbarStyles = computed(() => [...ResizeablePanelToolbar]);
|
|
29
|
-
return {
|
|
30
|
-
root,
|
|
31
|
-
resizeBar,
|
|
32
|
-
rootStyles,
|
|
33
|
-
resizeBarStyles,
|
|
34
|
-
contentStyles,
|
|
35
|
-
toolbarStyles
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
});
|
|
39
|
-
|
|
40
|
-
/* script */
|
|
41
|
-
const __vue_script__ = script;
|
|
42
|
-
|
|
43
|
-
/* template */
|
|
44
|
-
var __vue_render__ = function () {
|
|
45
|
-
var _vm = this;
|
|
46
|
-
var _h = _vm.$createElement;
|
|
47
|
-
var _c = _vm._self._c || _h;
|
|
48
|
-
return _c('div', {
|
|
49
|
-
ref: 'root',
|
|
50
|
-
class: _vm.rootStyles
|
|
51
|
-
}, [_c('div', {
|
|
52
|
-
class: _vm.contentStyles
|
|
53
|
-
}, [_vm._t("default")], 2), _vm._v(" "), _vm.$slots.toolbar ? [_c('div', {
|
|
54
|
-
class: _vm.toolbarStyles
|
|
55
|
-
}, [_vm._t("toolbar")], 2)] : _vm._e(), _vm._v(" "), _vm.resizeable ? [_c('div', {
|
|
56
|
-
ref: 'resizeBar',
|
|
57
|
-
class: _vm.resizeBarStyles
|
|
58
|
-
})] : _vm._e()], 2);
|
|
59
|
-
};
|
|
60
|
-
var __vue_staticRenderFns__ = [];
|
|
61
|
-
|
|
62
|
-
/* style */
|
|
63
|
-
const __vue_inject_styles__ = undefined;
|
|
64
|
-
/* scoped */
|
|
65
|
-
const __vue_scope_id__ = undefined;
|
|
66
|
-
/* module identifier */
|
|
67
|
-
const __vue_module_identifier__ = undefined;
|
|
68
|
-
/* functional template */
|
|
69
|
-
const __vue_is_functional_template__ = false;
|
|
70
|
-
/* style inject */
|
|
71
|
-
|
|
72
|
-
/* style inject SSR */
|
|
73
|
-
|
|
74
|
-
/* style inject shadow dom */
|
|
75
|
-
|
|
76
|
-
const __vue_component__ = /*#__PURE__*/normalizeComponent({
|
|
77
|
-
render: __vue_render__,
|
|
78
|
-
staticRenderFns: __vue_staticRenderFns__
|
|
79
|
-
}, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, undefined, undefined, undefined);
|
|
80
|
-
|
|
81
|
-
export { __vue_component__ as default };
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue-demi';
|
|
2
|
-
declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
3
|
-
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
4
|
-
resizeBar: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
5
|
-
rootStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
6
|
-
resizeBarStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
7
|
-
contentStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
8
|
-
toolbarStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
9
|
-
}> & import("@vue/composition-api").Data, {}, {}, {
|
|
10
|
-
placement: {
|
|
11
|
-
type: PropType<"top" | "bottom" | "left" | "right">;
|
|
12
|
-
required: true;
|
|
13
|
-
};
|
|
14
|
-
resizeable: {
|
|
15
|
-
type: BooleanConstructor;
|
|
16
|
-
default: boolean;
|
|
17
|
-
};
|
|
18
|
-
collapsible: {
|
|
19
|
-
type: BooleanConstructor;
|
|
20
|
-
default: boolean;
|
|
21
|
-
};
|
|
22
|
-
}, import("@vue/composition-api").ExtractPropTypes<{
|
|
23
|
-
placement: {
|
|
24
|
-
type: PropType<"top" | "bottom" | "left" | "right">;
|
|
25
|
-
required: true;
|
|
26
|
-
};
|
|
27
|
-
resizeable: {
|
|
28
|
-
type: BooleanConstructor;
|
|
29
|
-
default: boolean;
|
|
30
|
-
};
|
|
31
|
-
collapsible: {
|
|
32
|
-
type: BooleanConstructor;
|
|
33
|
-
default: boolean;
|
|
34
|
-
};
|
|
35
|
-
}>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
|
|
36
|
-
placement: "top" | "bottom" | "left" | "right";
|
|
37
|
-
resizeable: boolean;
|
|
38
|
-
collapsible: boolean;
|
|
39
|
-
} & {}, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
40
|
-
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
41
|
-
resizeBar: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
42
|
-
rootStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
43
|
-
resizeBarStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
44
|
-
contentStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
45
|
-
toolbarStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
46
|
-
}>, import("@vue/composition-api").Data, {}, {}, {}, {}, {}, {
|
|
47
|
-
placement: "top" | "bottom" | "left" | "right";
|
|
48
|
-
resizeable: boolean;
|
|
49
|
-
collapsible: boolean;
|
|
50
|
-
} & {}, {
|
|
51
|
-
resizeable: boolean;
|
|
52
|
-
collapsible: boolean;
|
|
53
|
-
}, true>);
|
|
54
|
-
export default _default;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
var ResizeablePanelPlacement;
|
|
2
|
-
(function (ResizeablePanelPlacement) {
|
|
3
|
-
ResizeablePanelPlacement["Top"] = "top";
|
|
4
|
-
ResizeablePanelPlacement["Bottom"] = "bottom";
|
|
5
|
-
ResizeablePanelPlacement["Left"] = "left";
|
|
6
|
-
ResizeablePanelPlacement["Right"] = "right";
|
|
7
|
-
})(ResizeablePanelPlacement || (ResizeablePanelPlacement = {}));
|
|
8
|
-
|
|
9
|
-
export { ResizeablePanelPlacement };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { ResizeablePanelPlacement } from './props';
|
|
2
|
-
export declare const ResizeablePanel: string[];
|
|
3
|
-
export declare const ResizeablePanelContent: string[];
|
|
4
|
-
export declare const ResizeablePanelToolbar: string[];
|
|
5
|
-
export declare const ResizeablePanelResizeBar: string[];
|
|
6
|
-
export declare const ResizeablePanelResizeBarPlacements: Record<ResizeablePanelPlacement, string[]>;
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { ResizeablePanelPlacement } from './props.js';
|
|
2
|
-
|
|
3
|
-
const ResizeablePanel = [
|
|
4
|
-
// Position
|
|
5
|
-
'relative',
|
|
6
|
-
// Layout
|
|
7
|
-
'layout-column'];
|
|
8
|
-
const ResizeablePanelContent = [
|
|
9
|
-
// Layout
|
|
10
|
-
'layout-column grow',
|
|
11
|
-
// Overflow
|
|
12
|
-
'overflow-auto',
|
|
13
|
-
// Spacing
|
|
14
|
-
'px-md', 'py-md'];
|
|
15
|
-
const ResizeablePanelToolbar = [];
|
|
16
|
-
const ResizeablePanelResizeBar = [
|
|
17
|
-
// Position
|
|
18
|
-
'absolute',
|
|
19
|
-
// Theme
|
|
20
|
-
'theme-background-transparent', 'dark:theme-background-transparent-dark',
|
|
21
|
-
// Theme (hover)
|
|
22
|
-
'hover:theme-background-primary-hover', 'dark:hover:theme-background-primary-hover-dark'];
|
|
23
|
-
const ResizeablePanelResizeBarPlacements = {
|
|
24
|
-
[ResizeablePanelPlacement.Top]: [
|
|
25
|
-
// Position
|
|
26
|
-
'bottom-none', 'left-none', 'right-none',
|
|
27
|
-
// Interactivity
|
|
28
|
-
'cursor-row-resize',
|
|
29
|
-
// Box
|
|
30
|
-
'h-[2px]'],
|
|
31
|
-
[ResizeablePanelPlacement.Bottom]: [
|
|
32
|
-
// Position
|
|
33
|
-
'top-none', 'left-none', 'right-none',
|
|
34
|
-
// Interactivity
|
|
35
|
-
'cursor-row-resize',
|
|
36
|
-
// Box
|
|
37
|
-
'h-[2px]'],
|
|
38
|
-
[ResizeablePanelPlacement.Left]: [
|
|
39
|
-
// Position
|
|
40
|
-
'right-none', 'top-none', 'bottom-none',
|
|
41
|
-
// Interactivity
|
|
42
|
-
'cursor-col-resize',
|
|
43
|
-
// Box
|
|
44
|
-
'w-[2px]'],
|
|
45
|
-
[ResizeablePanelPlacement.Right]: [
|
|
46
|
-
// Position
|
|
47
|
-
'left-none', 'top-none', 'bottom-none',
|
|
48
|
-
// Interactivity
|
|
49
|
-
'cursor-col-resize',
|
|
50
|
-
// Box
|
|
51
|
-
'w-[2px]']
|
|
52
|
-
};
|
|
53
|
-
|
|
54
|
-
export { ResizeablePanel, ResizeablePanelContent, ResizeablePanelResizeBar, ResizeablePanelResizeBarPlacements, ResizeablePanelToolbar };
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
|
-
import { ResizeablePanel, ResizeablePanelResizeBar, ResizeablePanelResizeBarPlacements, ResizeablePanelContent, ResizeablePanelToolbar } from './components/OrResizeablePanelV3/styles.js';
|
|
3
|
-
|
|
4
|
-
var script = defineComponent({
|
|
5
|
-
props: {
|
|
6
|
-
placement: {
|
|
7
|
-
type: String,
|
|
8
|
-
required: true
|
|
9
|
-
},
|
|
10
|
-
resizeable: {
|
|
11
|
-
type: Boolean,
|
|
12
|
-
default: true
|
|
13
|
-
},
|
|
14
|
-
collapsible: {
|
|
15
|
-
type: Boolean,
|
|
16
|
-
default: false
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
setup(props) {
|
|
20
|
-
// Refs
|
|
21
|
-
const root = ref();
|
|
22
|
-
const resizeBar = ref();
|
|
23
|
-
// Styles
|
|
24
|
-
const rootStyles = computed(() => ['or-resizeable-panel-v3', ...ResizeablePanel]);
|
|
25
|
-
const resizeBarStyles = computed(() => [...ResizeablePanelResizeBar, ...ResizeablePanelResizeBarPlacements[props.placement]]);
|
|
26
|
-
const contentStyles = computed(() => [...ResizeablePanelContent]);
|
|
27
|
-
const toolbarStyles = computed(() => [...ResizeablePanelToolbar]);
|
|
28
|
-
return {
|
|
29
|
-
root,
|
|
30
|
-
resizeBar,
|
|
31
|
-
rootStyles,
|
|
32
|
-
resizeBarStyles,
|
|
33
|
-
contentStyles,
|
|
34
|
-
toolbarStyles
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
});
|
|
38
|
-
|
|
39
|
-
export { script as s };
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { s as script } from '../../OrResizeablePanel.vue_vue_type_script_lang-6f19a17e.js';
|
|
2
|
-
export { s as default } from '../../OrResizeablePanel.vue_vue_type_script_lang-6f19a17e.js';
|
|
3
|
-
import { openBlock, createElementBlock, normalizeClass, createElementVNode, renderSlot, createCommentVNode } from 'vue';
|
|
4
|
-
|
|
5
|
-
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6
|
-
return openBlock(), createElementBlock("div", {
|
|
7
|
-
ref: 'root',
|
|
8
|
-
class: normalizeClass(_ctx.rootStyles)
|
|
9
|
-
}, [createElementVNode("div", {
|
|
10
|
-
class: normalizeClass(_ctx.contentStyles)
|
|
11
|
-
}, [renderSlot(_ctx.$slots, "default")], 2 /* CLASS */), _ctx.$slots.toolbar ? (openBlock(), createElementBlock("div", {
|
|
12
|
-
key: 0,
|
|
13
|
-
class: normalizeClass(_ctx.toolbarStyles)
|
|
14
|
-
}, [renderSlot(_ctx.$slots, "toolbar")], 2 /* CLASS */)) : createCommentVNode("v-if", true), _ctx.resizeable ? (openBlock(), createElementBlock("div", {
|
|
15
|
-
key: 1,
|
|
16
|
-
ref: 'resizeBar',
|
|
17
|
-
class: normalizeClass(_ctx.resizeBarStyles)
|
|
18
|
-
}, null, 2 /* CLASS */)) : createCommentVNode("v-if", true)], 2 /* CLASS */);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
script.render = render;
|
|
22
|
-
script.__file = "src/components/or-resizeable-panel-v3/OrResizeablePanel.vue";
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue-demi';
|
|
2
|
-
declare const _default: import("vue-demi").DefineComponent<{
|
|
3
|
-
placement: {
|
|
4
|
-
type: PropType<"top" | "bottom" | "left" | "right">;
|
|
5
|
-
required: true;
|
|
6
|
-
};
|
|
7
|
-
resizeable: {
|
|
8
|
-
type: BooleanConstructor;
|
|
9
|
-
default: boolean;
|
|
10
|
-
};
|
|
11
|
-
collapsible: {
|
|
12
|
-
type: BooleanConstructor;
|
|
13
|
-
default: boolean;
|
|
14
|
-
};
|
|
15
|
-
}, {
|
|
16
|
-
root: import("vue-demi").Ref<HTMLElement | undefined>;
|
|
17
|
-
resizeBar: import("vue-demi").Ref<HTMLElement | undefined>;
|
|
18
|
-
rootStyles: import("vue-demi").ComputedRef<string[]>;
|
|
19
|
-
resizeBarStyles: import("vue-demi").ComputedRef<string[]>;
|
|
20
|
-
contentStyles: import("vue-demi").ComputedRef<string[]>;
|
|
21
|
-
toolbarStyles: import("vue-demi").ComputedRef<string[]>;
|
|
22
|
-
}, unknown, {}, {}, import("vue-demi").ComponentOptionsMixin, import("vue-demi").ComponentOptionsMixin, {}, string, import("vue-demi").VNodeProps & import("vue-demi").AllowedComponentProps & import("vue-demi").ComponentCustomProps, Readonly<import("vue-demi").ExtractPropTypes<{
|
|
23
|
-
placement: {
|
|
24
|
-
type: PropType<"top" | "bottom" | "left" | "right">;
|
|
25
|
-
required: true;
|
|
26
|
-
};
|
|
27
|
-
resizeable: {
|
|
28
|
-
type: BooleanConstructor;
|
|
29
|
-
default: boolean;
|
|
30
|
-
};
|
|
31
|
-
collapsible: {
|
|
32
|
-
type: BooleanConstructor;
|
|
33
|
-
default: boolean;
|
|
34
|
-
};
|
|
35
|
-
}>>, {
|
|
36
|
-
resizeable: boolean;
|
|
37
|
-
collapsible: boolean;
|
|
38
|
-
}>;
|
|
39
|
-
export default _default;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
var ResizeablePanelPlacement;
|
|
2
|
-
(function (ResizeablePanelPlacement) {
|
|
3
|
-
ResizeablePanelPlacement["Top"] = "top";
|
|
4
|
-
ResizeablePanelPlacement["Bottom"] = "bottom";
|
|
5
|
-
ResizeablePanelPlacement["Left"] = "left";
|
|
6
|
-
ResizeablePanelPlacement["Right"] = "right";
|
|
7
|
-
})(ResizeablePanelPlacement || (ResizeablePanelPlacement = {}));
|
|
8
|
-
|
|
9
|
-
export { ResizeablePanelPlacement };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { ResizeablePanelPlacement } from './props';
|
|
2
|
-
export declare const ResizeablePanel: string[];
|
|
3
|
-
export declare const ResizeablePanelContent: string[];
|
|
4
|
-
export declare const ResizeablePanelToolbar: string[];
|
|
5
|
-
export declare const ResizeablePanelResizeBar: string[];
|
|
6
|
-
export declare const ResizeablePanelResizeBarPlacements: Record<ResizeablePanelPlacement, string[]>;
|