@onereach/ui-components 2.68.0-beta.2003.0 → 2.68.0-beta.2008.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/{OrCode-edc7a1f5.js → OrCode-b9332066.js} +2 -115
- package/dist/bundled/v2/{OrConfirm-56d01cff.js → OrConfirm-19758dae.js} +1 -1
- package/dist/bundled/v2/OrModal-71d33219.js +202 -0
- package/dist/bundled/v2/OrRichTextEditor-4a41e294.js +36832 -0
- package/dist/bundled/v2/components/index.d.ts +1 -0
- package/dist/bundled/v2/components/index.js +7 -3
- package/dist/bundled/v2/components/or-code/index.js +4 -2
- package/dist/bundled/v2/components/or-confirm/index.js +3 -2
- package/dist/bundled/v2/components/or-modal/index.js +2 -1
- package/dist/bundled/v2/components/or-rich-text-editor-v3/OrRichTextEditor.stories3.d.ts +12 -0
- package/dist/bundled/v2/components/or-rich-text-editor-v3/OrRichTextEditor.vue.d.ts +149 -0
- package/dist/bundled/v2/components/or-rich-text-editor-v3/index.d.ts +1 -0
- package/dist/bundled/v2/components/or-rich-text-editor-v3/index.js +25 -0
- package/dist/bundled/v2/components/or-rich-text-editor-v3/styles.d.ts +6 -0
- package/dist/bundled/v2/index.es-3f39f316.js +115 -0
- package/dist/bundled/v2/index.js +8 -4
- package/dist/bundled/{v3/OrModal.vue_vue_type_script_lang-a1ed2ebb.js → v2/useFocusTrap-d744652a.js} +4 -126
- package/dist/bundled/v3/{OrCode.vue_vue_type_script_lang-ef5e7f04.js → OrCode.vue_vue_type_script_lang-5fe573eb.js} +3 -116
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-0f16fc67.js → OrConfirm.vue_vue_type_script_lang-4451e782.js} +2 -2
- package/dist/bundled/v3/OrMenu-08aa60de.js +29 -0
- package/dist/bundled/v3/{OrModal-868160ef.js → OrModal-bbabef06.js} +1 -1
- package/dist/bundled/v3/OrModal.vue_vue_type_script_lang-a599dfe7.js +128 -0
- package/dist/bundled/v3/OrRichTextEditor.vue_vue_type_script_lang-f5d3e39b.js +36712 -0
- package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-ca57f9d9.js → OrTabs.vue_vue_type_script_lang-2fdbd2f2.js} +10 -36
- package/dist/bundled/v3/components/index.d.ts +1 -0
- package/dist/bundled/v3/components/index.js +10 -5
- package/dist/bundled/v3/components/or-code/index.js +5 -3
- package/dist/bundled/v3/components/or-confirm/index.js +4 -3
- package/dist/bundled/v3/components/or-modal/index.js +2 -1
- package/dist/bundled/v3/components/or-rich-text-editor-v3/OrRichTextEditor.stories3.d.ts +12 -0
- package/dist/bundled/v3/components/or-rich-text-editor-v3/OrRichTextEditor.vue.d.ts +149 -0
- package/dist/bundled/v3/components/or-rich-text-editor-v3/index.d.ts +1 -0
- package/dist/bundled/v3/components/or-rich-text-editor-v3/index.js +26 -0
- package/dist/bundled/v3/components/or-rich-text-editor-v3/styles.d.ts +6 -0
- package/dist/bundled/v3/components/or-tabs-v3/index.js +2 -1
- package/dist/bundled/v3/index.es-3f39f316.js +115 -0
- package/dist/bundled/v3/index.js +278 -182
- package/dist/bundled/{v2/OrModal-a5411b0d.js → v3/useFocusTrap-d21726e3.js} +3 -200
- package/dist/esm/v2/OrRichTextEditor-11967cd9.js +520 -0
- package/dist/esm/v2/components/index.d.ts +1 -0
- package/dist/esm/v2/components/index.js +19 -0
- package/dist/esm/v2/components/or-rich-text-editor-v3/OrRichTextEditor.stories3.d.ts +12 -0
- package/dist/esm/v2/components/or-rich-text-editor-v3/OrRichTextEditor.vue.d.ts +149 -0
- package/dist/esm/v2/components/or-rich-text-editor-v3/index.d.ts +1 -0
- package/dist/esm/v2/components/or-rich-text-editor-v3/index.js +39 -0
- package/dist/esm/v2/components/or-rich-text-editor-v3/styles.d.ts +6 -0
- package/dist/esm/v2/index.js +19 -0
- package/dist/esm/v3/OrRichTextEditor-ad5f24ba.js +490 -0
- package/dist/esm/v3/components/index.d.ts +1 -0
- package/dist/esm/v3/components/index.js +19 -0
- package/dist/esm/v3/components/or-rich-text-editor-v3/OrRichTextEditor.stories3.d.ts +12 -0
- package/dist/esm/v3/components/or-rich-text-editor-v3/OrRichTextEditor.vue.d.ts +149 -0
- package/dist/esm/v3/components/or-rich-text-editor-v3/index.d.ts +1 -0
- package/dist/esm/v3/components/or-rich-text-editor-v3/index.js +38 -0
- package/dist/esm/v3/components/or-rich-text-editor-v3/styles.d.ts +6 -0
- package/dist/esm/v3/index.js +19 -0
- package/package.json +19 -1
- package/src/components/index.ts +1 -0
- package/src/components/or-rich-text-editor-v3/OrRichTextEditor.docs.mdx +16 -0
- package/src/components/or-rich-text-editor-v3/OrRichTextEditor.stories3.ts +62 -0
- package/src/components/or-rich-text-editor-v3/OrRichTextEditor.vue +526 -0
- package/src/components/or-rich-text-editor-v3/index.ts +1 -0
- package/src/components/or-rich-text-editor-v3/styles.ts +65 -0
- package/dist/bundled/v2/components/or-empty-state-v3/OrEmptyState.stories3.d.ts +0 -39
- package/dist/bundled/v2/components/or-empty-state-v3/OrEmptyState.vue.d.ts +0 -109
- package/dist/bundled/v2/components/or-empty-state-v3/index.d.ts +0 -2
- package/dist/bundled/v2/components/or-empty-state-v3/index.js +0 -131
- package/dist/bundled/v2/components/or-empty-state-v3/types.d.ts +0 -2
- package/dist/bundled/v3/components/or-empty-state-v3/OrEmptyState.stories3.d.ts +0 -39
- package/dist/bundled/v3/components/or-empty-state-v3/OrEmptyState.vue.d.ts +0 -109
- package/dist/bundled/v3/components/or-empty-state-v3/index.d.ts +0 -2
- package/dist/bundled/v3/components/or-empty-state-v3/index.js +0 -111
- package/dist/bundled/v3/components/or-empty-state-v3/types.d.ts +0 -2
- package/dist/esm/v2/components/or-empty-state-v3/OrEmptyState.stories3.d.ts +0 -39
- package/dist/esm/v2/components/or-empty-state-v3/OrEmptyState.vue.d.ts +0 -109
- package/dist/esm/v2/components/or-empty-state-v3/index.d.ts +0 -2
- package/dist/esm/v2/components/or-empty-state-v3/index.js +0 -129
- package/dist/esm/v2/components/or-empty-state-v3/types.d.ts +0 -2
- package/dist/esm/v3/components/or-empty-state-v3/OrEmptyState.stories3.d.ts +0 -39
- package/dist/esm/v3/components/or-empty-state-v3/OrEmptyState.vue.d.ts +0 -109
- package/dist/esm/v3/components/or-empty-state-v3/index.d.ts +0 -2
- package/dist/esm/v3/components/or-empty-state-v3/index.js +0 -111
- package/dist/esm/v3/components/or-empty-state-v3/types.d.ts +0 -2
- package/src/components/or-empty-state-v3/OrEmptyState.stories3.ts +0 -203
- package/src/components/or-empty-state-v3/OrEmptyState.vue +0 -101
- package/src/components/or-empty-state-v3/index.ts +0 -2
- package/src/components/or-empty-state-v3/types.ts +0 -3
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { useElementHover } from '@vueuse/core';
|
|
2
|
+
import { k as keyName, b as base, s as shift } from './index.es-3f39f316.js';
|
|
2
3
|
import _ from 'lodash';
|
|
3
4
|
import './index-fa6eb4ca.js';
|
|
4
5
|
import { O as OrTeleport } from './OrTeleportVue2-3544f185.js';
|
|
5
6
|
import { O as OrIconButton } from './OrIconButton-65962c1c.js';
|
|
6
|
-
import { O as OrModal } from './OrModal-
|
|
7
|
+
import { O as OrModal } from './OrModal-71d33219.js';
|
|
7
8
|
import { O as OrError } from './OrError-31503e4c.js';
|
|
8
9
|
import { O as OrHint } from './OrHint-fabea4cf.js';
|
|
9
10
|
import { O as OrLabel } from './OrLabel-74c73ba4.js';
|
|
@@ -3922,120 +3923,6 @@ class StyleSet {
|
|
|
3922
3923
|
// example to create a media query you can do `{"@media screen and
|
|
3923
3924
|
// (min-width: 400px)": {...}}`.
|
|
3924
3925
|
|
|
3925
|
-
var base = {
|
|
3926
|
-
8: "Backspace",
|
|
3927
|
-
9: "Tab",
|
|
3928
|
-
10: "Enter",
|
|
3929
|
-
12: "NumLock",
|
|
3930
|
-
13: "Enter",
|
|
3931
|
-
16: "Shift",
|
|
3932
|
-
17: "Control",
|
|
3933
|
-
18: "Alt",
|
|
3934
|
-
20: "CapsLock",
|
|
3935
|
-
27: "Escape",
|
|
3936
|
-
32: " ",
|
|
3937
|
-
33: "PageUp",
|
|
3938
|
-
34: "PageDown",
|
|
3939
|
-
35: "End",
|
|
3940
|
-
36: "Home",
|
|
3941
|
-
37: "ArrowLeft",
|
|
3942
|
-
38: "ArrowUp",
|
|
3943
|
-
39: "ArrowRight",
|
|
3944
|
-
40: "ArrowDown",
|
|
3945
|
-
44: "PrintScreen",
|
|
3946
|
-
45: "Insert",
|
|
3947
|
-
46: "Delete",
|
|
3948
|
-
59: ";",
|
|
3949
|
-
61: "=",
|
|
3950
|
-
91: "Meta",
|
|
3951
|
-
92: "Meta",
|
|
3952
|
-
106: "*",
|
|
3953
|
-
107: "+",
|
|
3954
|
-
108: ",",
|
|
3955
|
-
109: "-",
|
|
3956
|
-
110: ".",
|
|
3957
|
-
111: "/",
|
|
3958
|
-
144: "NumLock",
|
|
3959
|
-
145: "ScrollLock",
|
|
3960
|
-
160: "Shift",
|
|
3961
|
-
161: "Shift",
|
|
3962
|
-
162: "Control",
|
|
3963
|
-
163: "Control",
|
|
3964
|
-
164: "Alt",
|
|
3965
|
-
165: "Alt",
|
|
3966
|
-
173: "-",
|
|
3967
|
-
186: ";",
|
|
3968
|
-
187: "=",
|
|
3969
|
-
188: ",",
|
|
3970
|
-
189: "-",
|
|
3971
|
-
190: ".",
|
|
3972
|
-
191: "/",
|
|
3973
|
-
192: "`",
|
|
3974
|
-
219: "[",
|
|
3975
|
-
220: "\\",
|
|
3976
|
-
221: "]",
|
|
3977
|
-
222: "'"
|
|
3978
|
-
};
|
|
3979
|
-
var shift = {
|
|
3980
|
-
48: ")",
|
|
3981
|
-
49: "!",
|
|
3982
|
-
50: "@",
|
|
3983
|
-
51: "#",
|
|
3984
|
-
52: "$",
|
|
3985
|
-
53: "%",
|
|
3986
|
-
54: "^",
|
|
3987
|
-
55: "&",
|
|
3988
|
-
56: "*",
|
|
3989
|
-
57: "(",
|
|
3990
|
-
59: ":",
|
|
3991
|
-
61: "+",
|
|
3992
|
-
173: "_",
|
|
3993
|
-
186: ":",
|
|
3994
|
-
187: "+",
|
|
3995
|
-
188: "<",
|
|
3996
|
-
189: "_",
|
|
3997
|
-
190: ">",
|
|
3998
|
-
191: "?",
|
|
3999
|
-
192: "~",
|
|
4000
|
-
219: "{",
|
|
4001
|
-
220: "|",
|
|
4002
|
-
221: "}",
|
|
4003
|
-
222: "\""
|
|
4004
|
-
};
|
|
4005
|
-
var chrome$1 = typeof navigator != "undefined" && /Chrome\/(\d+)/.exec(navigator.userAgent);
|
|
4006
|
-
typeof navigator != "undefined" && /Gecko\/\d+/.test(navigator.userAgent);
|
|
4007
|
-
var mac = typeof navigator != "undefined" && /Mac/.test(navigator.platform);
|
|
4008
|
-
var ie$1 = typeof navigator != "undefined" && /MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);
|
|
4009
|
-
var brokenModifierNames = mac || chrome$1 && +chrome$1[1] < 57;
|
|
4010
|
-
|
|
4011
|
-
// Fill in the digit keys
|
|
4012
|
-
for (var i = 0; i < 10; i++) base[48 + i] = base[96 + i] = String(i);
|
|
4013
|
-
|
|
4014
|
-
// The function keys
|
|
4015
|
-
for (var i = 1; i <= 24; i++) base[i + 111] = "F" + i;
|
|
4016
|
-
|
|
4017
|
-
// And the alphabetic keys
|
|
4018
|
-
for (var i = 65; i <= 90; i++) {
|
|
4019
|
-
base[i] = String.fromCharCode(i + 32);
|
|
4020
|
-
shift[i] = String.fromCharCode(i);
|
|
4021
|
-
}
|
|
4022
|
-
|
|
4023
|
-
// For each code that doesn't have a shift-equivalent, copy the base name
|
|
4024
|
-
for (var code in base) if (!shift.hasOwnProperty(code)) shift[code] = base[code];
|
|
4025
|
-
function keyName(event) {
|
|
4026
|
-
var ignoreKey = brokenModifierNames && (event.ctrlKey || event.altKey || event.metaKey) || ie$1 && event.shiftKey && event.key && event.key.length == 1 || event.key == "Unidentified";
|
|
4027
|
-
var name = !ignoreKey && event.key || (event.shiftKey ? shift : base)[event.keyCode] || event.key || "Unidentified";
|
|
4028
|
-
// Edge sometimes produces wrong names (Issue #3)
|
|
4029
|
-
if (name == "Esc") name = "Escape";
|
|
4030
|
-
if (name == "Del") name = "Delete";
|
|
4031
|
-
// https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/8860571/
|
|
4032
|
-
if (name == "Left") name = "ArrowLeft";
|
|
4033
|
-
if (name == "Up") name = "ArrowUp";
|
|
4034
|
-
if (name == "Right") name = "ArrowRight";
|
|
4035
|
-
if (name == "Down") name = "ArrowDown";
|
|
4036
|
-
return name;
|
|
4037
|
-
}
|
|
4038
|
-
|
|
4039
3926
|
function getSelection(root) {
|
|
4040
3927
|
let target;
|
|
4041
3928
|
// Browsers differ on whether shadow roots have a getSelection
|
|
@@ -2,7 +2,7 @@ import './index-fa6eb4ca.js';
|
|
|
2
2
|
import { useMagicKeys, useActiveElement, whenever } from '@vueuse/core';
|
|
3
3
|
import { l as logicAnd } from './index-17f264f9.js';
|
|
4
4
|
import { O as OrButton } from './OrButton-705cd0bd.js';
|
|
5
|
-
import { O as OrModal, a as OrModalSizes } from './OrModal-
|
|
5
|
+
import { O as OrModal, a as OrModalSizes } from './OrModal-71d33219.js';
|
|
6
6
|
import { O as OrInput } from './OrInput-08f2f666.js';
|
|
7
7
|
import { a as BUTTON_COLOR } from './constants-c5d1139f.js';
|
|
8
8
|
import { defineComponent, ref, computed } from '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
import './index-fa6eb4ca.js';
|
|
2
|
+
import _ from 'lodash';
|
|
3
|
+
import { onClickOutside } from '@vueuse/core';
|
|
4
|
+
import { u as useFocusTrap } from './useFocusTrap-d744652a.js';
|
|
5
|
+
import { O as OrIconButton } from './OrIconButton-65962c1c.js';
|
|
6
|
+
import { O as OrOverlay } from './OrOverlay-47967a8b.js';
|
|
7
|
+
import { defineComponent, ref, watch, onBeforeUnmount } from '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
8
|
+
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
9
|
+
import { c as createInjector } from './browser-82dea9ed.js';
|
|
10
|
+
|
|
11
|
+
var OrModalSizes;
|
|
12
|
+
(function (OrModalSizes) {
|
|
13
|
+
OrModalSizes["tiny"] = "tiny";
|
|
14
|
+
OrModalSizes["small"] = "small";
|
|
15
|
+
OrModalSizes["medium"] = "medium";
|
|
16
|
+
OrModalSizes["large"] = "large";
|
|
17
|
+
OrModalSizes["fullScreen"] = "fullScreen";
|
|
18
|
+
})(OrModalSizes || (OrModalSizes = {}));
|
|
19
|
+
|
|
20
|
+
var script = defineComponent({
|
|
21
|
+
name: 'OrModal',
|
|
22
|
+
components: {
|
|
23
|
+
OrIconButton,
|
|
24
|
+
OrOverlay
|
|
25
|
+
},
|
|
26
|
+
props: {
|
|
27
|
+
titleText: {
|
|
28
|
+
type: String,
|
|
29
|
+
required: false,
|
|
30
|
+
default: null,
|
|
31
|
+
validator: _.isString
|
|
32
|
+
},
|
|
33
|
+
showClose: {
|
|
34
|
+
type: Boolean,
|
|
35
|
+
default: true,
|
|
36
|
+
validator: _.isBoolean
|
|
37
|
+
},
|
|
38
|
+
closeOnClickOutside: {
|
|
39
|
+
type: Boolean,
|
|
40
|
+
required: false,
|
|
41
|
+
default: false,
|
|
42
|
+
validator: _.isBoolean
|
|
43
|
+
},
|
|
44
|
+
size: {
|
|
45
|
+
type: String,
|
|
46
|
+
required: false,
|
|
47
|
+
default: OrModalSizes.small
|
|
48
|
+
},
|
|
49
|
+
isOpen: {
|
|
50
|
+
type: Boolean,
|
|
51
|
+
required: true,
|
|
52
|
+
validator: _.isBoolean
|
|
53
|
+
},
|
|
54
|
+
isWithoutOverlay: {
|
|
55
|
+
type: Boolean,
|
|
56
|
+
required: false,
|
|
57
|
+
default: false,
|
|
58
|
+
validator: _.isBoolean
|
|
59
|
+
},
|
|
60
|
+
trapFocus: {
|
|
61
|
+
type: Boolean,
|
|
62
|
+
default: true,
|
|
63
|
+
validator: _.isBoolean
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
emits: ['close'],
|
|
67
|
+
setup(props, {
|
|
68
|
+
emit
|
|
69
|
+
}) {
|
|
70
|
+
const overlay = ref();
|
|
71
|
+
let container = ref(null);
|
|
72
|
+
let trap = useFocusTrap(container, {
|
|
73
|
+
immediate: props.trapFocus,
|
|
74
|
+
fallbackFocus: '.container',
|
|
75
|
+
allowOutsideClick: true
|
|
76
|
+
});
|
|
77
|
+
const handleClose = () => emit('close');
|
|
78
|
+
onClickOutside(container, evt => {
|
|
79
|
+
if (!evt.composedPath().includes(overlay.value.$el)) return;
|
|
80
|
+
if (props.closeOnClickOutside) handleClose();
|
|
81
|
+
});
|
|
82
|
+
const toggleFocusTrap = isNeedToTrap => {
|
|
83
|
+
if (isNeedToTrap && props.isOpen) {
|
|
84
|
+
trap.activate();
|
|
85
|
+
} else {
|
|
86
|
+
trap === null || trap === void 0 ? void 0 : trap.deactivate();
|
|
87
|
+
}
|
|
88
|
+
};
|
|
89
|
+
watch(() => props.trapFocus, toggleFocusTrap, {
|
|
90
|
+
immediate: true
|
|
91
|
+
});
|
|
92
|
+
watch(() => props.isOpen, isOpen => {
|
|
93
|
+
toggleFocusTrap(false);
|
|
94
|
+
if (isOpen) {
|
|
95
|
+
container = ref(null);
|
|
96
|
+
} else {
|
|
97
|
+
trap === null || trap === void 0 ? void 0 : trap.deactivate();
|
|
98
|
+
}
|
|
99
|
+
});
|
|
100
|
+
onBeforeUnmount(() => {
|
|
101
|
+
trap === null || trap === void 0 ? void 0 : trap.deactivate();
|
|
102
|
+
});
|
|
103
|
+
return {
|
|
104
|
+
container,
|
|
105
|
+
overlay,
|
|
106
|
+
handleClose
|
|
107
|
+
};
|
|
108
|
+
},
|
|
109
|
+
computed: {
|
|
110
|
+
sizeClass() {
|
|
111
|
+
return `is-${this.size}`;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
});
|
|
115
|
+
|
|
116
|
+
/* script */
|
|
117
|
+
const __vue_script__ = script;
|
|
118
|
+
|
|
119
|
+
/* template */
|
|
120
|
+
var __vue_render__ = function () {
|
|
121
|
+
var _vm = this;
|
|
122
|
+
var _h = _vm.$createElement;
|
|
123
|
+
var _c = _vm._self._c || _h;
|
|
124
|
+
return _vm.isOpen ? _c('div', {
|
|
125
|
+
staticClass: "or-modal"
|
|
126
|
+
}, [_c('or-overlay', {
|
|
127
|
+
ref: "overlay",
|
|
128
|
+
attrs: {
|
|
129
|
+
"is-active": "",
|
|
130
|
+
"is-without-background": _vm.isWithoutOverlay
|
|
131
|
+
}
|
|
132
|
+
}, [_c('div', {
|
|
133
|
+
ref: "container",
|
|
134
|
+
class: [_vm.sizeClass, 'container', {
|
|
135
|
+
'is-without-overlay': _vm.isWithoutOverlay
|
|
136
|
+
}]
|
|
137
|
+
}, [_vm._t("header", function () {
|
|
138
|
+
return [_c('div', {
|
|
139
|
+
staticClass: "header"
|
|
140
|
+
}, [_vm._t("title", function () {
|
|
141
|
+
return [_c('div', {
|
|
142
|
+
staticClass: "title"
|
|
143
|
+
}, [_vm._v("\n " + _vm._s(_vm.titleText) + "\n ")])];
|
|
144
|
+
}), _vm._v(" "), _c('or-icon-button', {
|
|
145
|
+
directives: [{
|
|
146
|
+
name: "show",
|
|
147
|
+
rawName: "v-show",
|
|
148
|
+
value: _vm.showClose,
|
|
149
|
+
expression: "showClose"
|
|
150
|
+
}],
|
|
151
|
+
attrs: {
|
|
152
|
+
"icon": "close",
|
|
153
|
+
"icon-color": "neutral-6"
|
|
154
|
+
},
|
|
155
|
+
on: {
|
|
156
|
+
"click": _vm.handleClose
|
|
157
|
+
}
|
|
158
|
+
})], 2)];
|
|
159
|
+
}), _vm._v(" "), _vm._t("content", function () {
|
|
160
|
+
return [_c('div', {
|
|
161
|
+
staticClass: "content"
|
|
162
|
+
}, [_vm._t("default")], 2)];
|
|
163
|
+
}), _vm._v(" "), _c('div', {
|
|
164
|
+
directives: [{
|
|
165
|
+
name: "show",
|
|
166
|
+
rawName: "v-show",
|
|
167
|
+
value: _vm.$slots.footer,
|
|
168
|
+
expression: "$slots.footer"
|
|
169
|
+
}],
|
|
170
|
+
staticClass: "footer"
|
|
171
|
+
}, [_vm._t("footer", null, {
|
|
172
|
+
"close": _vm.handleClose
|
|
173
|
+
})], 2)], 2)])], 1) : _vm._e();
|
|
174
|
+
};
|
|
175
|
+
var __vue_staticRenderFns__ = [];
|
|
176
|
+
|
|
177
|
+
/* style */
|
|
178
|
+
const __vue_inject_styles__ = function (inject) {
|
|
179
|
+
if (!inject) return;
|
|
180
|
+
inject("data-v-1caff449_0", {
|
|
181
|
+
source: "@keyframes spinAround-data-v-1caff449{from{transform:rotate(0)}to{transform:rotate(359deg)}}@keyframes fade-data-v-1caff449{from{opacity:1}to{opacity:0}}.or-modal[data-v-1caff449]{position:fixed;top:0;left:0;z-index:50;width:100%;height:100%}.or-modal .or-overlay[data-v-1caff449]{align-items:center;justify-content:center}.or-modal .container[data-v-1caff449]{position:absolute;display:flex;flex-flow:column;max-width:100%;max-height:80%;background-color:var(--c-neutral-0);border-radius:var(--s-2);outline:0}.or-modal .container.is-without-overlay[data-v-1caff449]{box-shadow:0 .125rem .5rem 0 rgba(0,0,0,.1)}.or-modal .container.is-fullScreen[data-v-1caff449]{width:calc(100% - var(--s-7));height:calc(100% - var(--s-7));max-height:calc(100% - var(--s-7));margin:0 auto}.or-modal .container.is-tiny[data-v-1caff449]{width:320px}.or-modal .container.is-small[data-v-1caff449]{width:480px}.or-modal .container.is-medium[data-v-1caff449]{width:700px}.or-modal .container.is-large[data-v-1caff449]{width:1049px}.or-modal .container .header[data-v-1caff449]{display:flex;justify-content:space-between;padding:24px 24px 20px 24px;border-radius:var(--s-2) var(--s-2) 0 0}.or-modal .container .header .title[data-v-1caff449]{font-size:1.125rem;font-weight:700}.or-modal .container .content[data-v-1caff449]{flex-grow:1;padding:0 24px 24px 24px;overflow:auto}.or-modal .container .footer[data-v-1caff449]{padding:16px 24px 24px 24px;border-radius:0 0 var(--s-2) var(--s-2);box-shadow:0 -3px 4px 0 rgba(0,0,0,.08)}",
|
|
182
|
+
map: undefined,
|
|
183
|
+
media: undefined
|
|
184
|
+
});
|
|
185
|
+
};
|
|
186
|
+
/* scoped */
|
|
187
|
+
const __vue_scope_id__ = "data-v-1caff449";
|
|
188
|
+
/* module identifier */
|
|
189
|
+
const __vue_module_identifier__ = undefined;
|
|
190
|
+
/* functional template */
|
|
191
|
+
const __vue_is_functional_template__ = false;
|
|
192
|
+
/* style inject SSR */
|
|
193
|
+
|
|
194
|
+
/* style inject shadow dom */
|
|
195
|
+
|
|
196
|
+
const __vue_component__ = /*#__PURE__*/normalizeComponent({
|
|
197
|
+
render: __vue_render__,
|
|
198
|
+
staticRenderFns: __vue_staticRenderFns__
|
|
199
|
+
}, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, createInjector, undefined, undefined);
|
|
200
|
+
var OrModal = __vue_component__;
|
|
201
|
+
|
|
202
|
+
export { OrModal as O, OrModalSizes as a };
|