@onereach/ui-components 2.68.0-beta.2008.0 → 2.68.0-beta.2016.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-b9332066.js → OrCode-edc7a1f5.js} +115 -2
- package/dist/bundled/v2/{OrConfirm-19758dae.js → OrConfirm-56d01cff.js} +1 -1
- package/dist/bundled/{v3/useFocusTrap-d21726e3.js → v2/OrModal-a5411b0d.js} +200 -3
- package/dist/bundled/v2/components/index.d.ts +0 -1
- package/dist/bundled/v2/components/index.js +3 -7
- package/dist/bundled/v2/components/or-code/index.js +2 -4
- package/dist/bundled/v2/components/or-confirm/index.js +2 -3
- package/dist/bundled/v2/components/or-input-box-v3/OrInputBox.vue.d.ts +1 -1
- package/dist/bundled/v2/components/or-modal/index.js +1 -2
- package/dist/bundled/v2/index.js +4 -8
- package/dist/bundled/v3/{OrCode.vue_vue_type_script_lang-5fe573eb.js → OrCode.vue_vue_type_script_lang-ef5e7f04.js} +116 -3
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-4451e782.js → OrConfirm.vue_vue_type_script_lang-0f16fc67.js} +2 -2
- package/dist/bundled/v3/{OrModal-bbabef06.js → OrModal-868160ef.js} +1 -1
- package/dist/bundled/{v2/useFocusTrap-d744652a.js → v3/OrModal.vue_vue_type_script_lang-a1ed2ebb.js} +126 -4
- package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-2fdbd2f2.js → OrTabs.vue_vue_type_script_lang-ca57f9d9.js} +36 -10
- package/dist/bundled/v3/components/index.d.ts +0 -1
- package/dist/bundled/v3/components/index.js +5 -10
- package/dist/bundled/v3/components/or-code/index.js +3 -5
- package/dist/bundled/v3/components/or-confirm/index.js +3 -4
- package/dist/bundled/v3/components/or-input-box-v3/OrInputBox.vue.d.ts +1 -1
- package/dist/bundled/v3/components/or-modal/index.js +1 -2
- package/dist/bundled/v3/components/or-tabs-v3/index.js +1 -2
- package/dist/bundled/v3/index.js +182 -278
- package/dist/esm/v2/components/index.d.ts +0 -1
- package/dist/esm/v2/components/index.js +0 -19
- package/dist/esm/v2/components/or-input-box-v3/OrInputBox.vue.d.ts +1 -1
- package/dist/esm/v2/index.js +0 -19
- package/dist/esm/v3/OrInput-4f55c0eb.js +1 -1
- package/dist/esm/v3/{OrInputBox-634230b1.js → OrInputBox-542d2f2c.js} +1 -1
- package/dist/esm/v3/OrSearch-d74891a5.js +1 -1
- package/dist/esm/v3/OrSelect-b3a233cc.js +1 -1
- package/dist/esm/v3/OrTextarea-98895b2a.js +1 -1
- package/dist/esm/v3/components/index.d.ts +0 -1
- package/dist/esm/v3/components/index.js +1 -20
- package/dist/esm/v3/components/or-card-collection-v3/index.js +1 -1
- package/dist/esm/v3/components/or-confirm-v3/index.js +1 -1
- package/dist/esm/v3/components/or-input-box-v3/OrInputBox.vue.d.ts +1 -1
- package/dist/esm/v3/components/or-input-box-v3/index.js +2 -2
- package/dist/esm/v3/components/or-input-v3/index.js +1 -1
- package/dist/esm/v3/components/or-search-v3/index.js +1 -1
- package/dist/esm/v3/components/or-select-v3/index.js +1 -1
- package/dist/esm/v3/components/or-textarea-v3/index.js +1 -1
- package/dist/esm/v3/index.js +1 -20
- package/package.json +10 -20
- package/src/components/index.ts +0 -1
- package/src/components/or-input-box-v3/OrInputBox.vue +1 -1
- package/src/utils/functions/text.ts +2 -2
- package/dist/bundled/v2/OrModal-71d33219.js +0 -202
- package/dist/bundled/v2/OrRichTextEditor-4a41e294.js +0 -36832
- package/dist/bundled/v2/components/or-rich-text-editor-v3/OrRichTextEditor.stories3.d.ts +0 -12
- package/dist/bundled/v2/components/or-rich-text-editor-v3/OrRichTextEditor.vue.d.ts +0 -149
- package/dist/bundled/v2/components/or-rich-text-editor-v3/index.d.ts +0 -1
- package/dist/bundled/v2/components/or-rich-text-editor-v3/index.js +0 -25
- package/dist/bundled/v2/components/or-rich-text-editor-v3/styles.d.ts +0 -6
- package/dist/bundled/v2/index.es-3f39f316.js +0 -115
- package/dist/bundled/v3/OrMenu-08aa60de.js +0 -29
- package/dist/bundled/v3/OrModal.vue_vue_type_script_lang-a599dfe7.js +0 -128
- package/dist/bundled/v3/OrRichTextEditor.vue_vue_type_script_lang-f5d3e39b.js +0 -36712
- package/dist/bundled/v3/components/or-rich-text-editor-v3/OrRichTextEditor.stories3.d.ts +0 -12
- package/dist/bundled/v3/components/or-rich-text-editor-v3/OrRichTextEditor.vue.d.ts +0 -149
- package/dist/bundled/v3/components/or-rich-text-editor-v3/index.d.ts +0 -1
- package/dist/bundled/v3/components/or-rich-text-editor-v3/index.js +0 -26
- package/dist/bundled/v3/components/or-rich-text-editor-v3/styles.d.ts +0 -6
- package/dist/bundled/v3/index.es-3f39f316.js +0 -115
- package/dist/esm/v2/OrRichTextEditor-11967cd9.js +0 -520
- package/dist/esm/v2/components/or-rich-text-editor-v3/OrRichTextEditor.stories3.d.ts +0 -12
- package/dist/esm/v2/components/or-rich-text-editor-v3/OrRichTextEditor.vue.d.ts +0 -149
- package/dist/esm/v2/components/or-rich-text-editor-v3/index.d.ts +0 -1
- package/dist/esm/v2/components/or-rich-text-editor-v3/index.js +0 -39
- package/dist/esm/v2/components/or-rich-text-editor-v3/styles.d.ts +0 -6
- package/dist/esm/v3/OrRichTextEditor-ad5f24ba.js +0 -490
- package/dist/esm/v3/components/or-rich-text-editor-v3/OrRichTextEditor.stories3.d.ts +0 -12
- package/dist/esm/v3/components/or-rich-text-editor-v3/OrRichTextEditor.vue.d.ts +0 -149
- package/dist/esm/v3/components/or-rich-text-editor-v3/index.d.ts +0 -1
- package/dist/esm/v3/components/or-rich-text-editor-v3/index.js +0 -38
- package/dist/esm/v3/components/or-rich-text-editor-v3/styles.d.ts +0 -6
- package/src/components/or-rich-text-editor-v3/OrRichTextEditor.docs.mdx +0 -16
- package/src/components/or-rich-text-editor-v3/OrRichTextEditor.stories3.ts +0 -62
- package/src/components/or-rich-text-editor-v3/OrRichTextEditor.vue +0 -526
- package/src/components/or-rich-text-editor-v3/index.ts +0 -1
- package/src/components/or-rich-text-editor-v3/styles.ts +0 -65
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { useElementHover } from '@vueuse/core';
|
|
2
|
-
import { k as keyName, b as base, s as shift } from './index.es-3f39f316.js';
|
|
3
2
|
import _ from 'lodash';
|
|
4
3
|
import './index-fa6eb4ca.js';
|
|
5
4
|
import { O as OrTeleport } from './OrTeleportVue2-3544f185.js';
|
|
6
5
|
import { O as OrIconButton } from './OrIconButton-65962c1c.js';
|
|
7
|
-
import { O as OrModal } from './OrModal-
|
|
6
|
+
import { O as OrModal } from './OrModal-a5411b0d.js';
|
|
8
7
|
import { O as OrError } from './OrError-31503e4c.js';
|
|
9
8
|
import { O as OrHint } from './OrHint-fabea4cf.js';
|
|
10
9
|
import { O as OrLabel } from './OrLabel-74c73ba4.js';
|
|
@@ -3923,6 +3922,120 @@ class StyleSet {
|
|
|
3923
3922
|
// example to create a media query you can do `{"@media screen and
|
|
3924
3923
|
// (min-width: 400px)": {...}}`.
|
|
3925
3924
|
|
|
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
|
+
|
|
3926
4039
|
function getSelection(root) {
|
|
3927
4040
|
let target;
|
|
3928
4041
|
// 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-a5411b0d.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';
|
|
@@ -1,5 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import './index-fa6eb4ca.js';
|
|
2
|
+
import _ from 'lodash';
|
|
3
|
+
import { unrefElement, tryOnScopeDispose, onClickOutside } from '@vueuse/core';
|
|
4
|
+
import { ref, watch, defineComponent, onBeforeUnmount } from '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
5
|
+
import { O as OrIconButton } from './OrIconButton-65962c1c.js';
|
|
6
|
+
import { O as OrOverlay } from './OrOverlay-47967a8b.js';
|
|
7
|
+
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
8
|
+
import { c as createInjector } from './browser-82dea9ed.js';
|
|
9
|
+
|
|
10
|
+
var OrModalSizes;
|
|
11
|
+
(function (OrModalSizes) {
|
|
12
|
+
OrModalSizes["tiny"] = "tiny";
|
|
13
|
+
OrModalSizes["small"] = "small";
|
|
14
|
+
OrModalSizes["medium"] = "medium";
|
|
15
|
+
OrModalSizes["large"] = "large";
|
|
16
|
+
OrModalSizes["fullScreen"] = "fullScreen";
|
|
17
|
+
})(OrModalSizes || (OrModalSizes = {}));
|
|
3
18
|
|
|
4
19
|
/*!
|
|
5
20
|
* tabbable 6.0.1
|
|
@@ -1265,4 +1280,186 @@ function useFocusTrap(target, options = {}) {
|
|
|
1265
1280
|
};
|
|
1266
1281
|
}
|
|
1267
1282
|
|
|
1268
|
-
|
|
1283
|
+
var script = defineComponent({
|
|
1284
|
+
name: 'OrModal',
|
|
1285
|
+
components: {
|
|
1286
|
+
OrIconButton,
|
|
1287
|
+
OrOverlay
|
|
1288
|
+
},
|
|
1289
|
+
props: {
|
|
1290
|
+
titleText: {
|
|
1291
|
+
type: String,
|
|
1292
|
+
required: false,
|
|
1293
|
+
default: null,
|
|
1294
|
+
validator: _.isString
|
|
1295
|
+
},
|
|
1296
|
+
showClose: {
|
|
1297
|
+
type: Boolean,
|
|
1298
|
+
default: true,
|
|
1299
|
+
validator: _.isBoolean
|
|
1300
|
+
},
|
|
1301
|
+
closeOnClickOutside: {
|
|
1302
|
+
type: Boolean,
|
|
1303
|
+
required: false,
|
|
1304
|
+
default: false,
|
|
1305
|
+
validator: _.isBoolean
|
|
1306
|
+
},
|
|
1307
|
+
size: {
|
|
1308
|
+
type: String,
|
|
1309
|
+
required: false,
|
|
1310
|
+
default: OrModalSizes.small
|
|
1311
|
+
},
|
|
1312
|
+
isOpen: {
|
|
1313
|
+
type: Boolean,
|
|
1314
|
+
required: true,
|
|
1315
|
+
validator: _.isBoolean
|
|
1316
|
+
},
|
|
1317
|
+
isWithoutOverlay: {
|
|
1318
|
+
type: Boolean,
|
|
1319
|
+
required: false,
|
|
1320
|
+
default: false,
|
|
1321
|
+
validator: _.isBoolean
|
|
1322
|
+
},
|
|
1323
|
+
trapFocus: {
|
|
1324
|
+
type: Boolean,
|
|
1325
|
+
default: true,
|
|
1326
|
+
validator: _.isBoolean
|
|
1327
|
+
}
|
|
1328
|
+
},
|
|
1329
|
+
emits: ['close'],
|
|
1330
|
+
setup(props, {
|
|
1331
|
+
emit
|
|
1332
|
+
}) {
|
|
1333
|
+
const overlay = ref();
|
|
1334
|
+
let container = ref(null);
|
|
1335
|
+
let trap = useFocusTrap(container, {
|
|
1336
|
+
immediate: props.trapFocus,
|
|
1337
|
+
fallbackFocus: '.container',
|
|
1338
|
+
allowOutsideClick: true
|
|
1339
|
+
});
|
|
1340
|
+
const handleClose = () => emit('close');
|
|
1341
|
+
onClickOutside(container, evt => {
|
|
1342
|
+
if (!evt.composedPath().includes(overlay.value.$el)) return;
|
|
1343
|
+
if (props.closeOnClickOutside) handleClose();
|
|
1344
|
+
});
|
|
1345
|
+
const toggleFocusTrap = isNeedToTrap => {
|
|
1346
|
+
if (isNeedToTrap && props.isOpen) {
|
|
1347
|
+
trap.activate();
|
|
1348
|
+
} else {
|
|
1349
|
+
trap === null || trap === void 0 ? void 0 : trap.deactivate();
|
|
1350
|
+
}
|
|
1351
|
+
};
|
|
1352
|
+
watch(() => props.trapFocus, toggleFocusTrap, {
|
|
1353
|
+
immediate: true
|
|
1354
|
+
});
|
|
1355
|
+
watch(() => props.isOpen, isOpen => {
|
|
1356
|
+
toggleFocusTrap(false);
|
|
1357
|
+
if (isOpen) {
|
|
1358
|
+
container = ref(null);
|
|
1359
|
+
} else {
|
|
1360
|
+
trap === null || trap === void 0 ? void 0 : trap.deactivate();
|
|
1361
|
+
}
|
|
1362
|
+
});
|
|
1363
|
+
onBeforeUnmount(() => {
|
|
1364
|
+
trap === null || trap === void 0 ? void 0 : trap.deactivate();
|
|
1365
|
+
});
|
|
1366
|
+
return {
|
|
1367
|
+
container,
|
|
1368
|
+
overlay,
|
|
1369
|
+
handleClose
|
|
1370
|
+
};
|
|
1371
|
+
},
|
|
1372
|
+
computed: {
|
|
1373
|
+
sizeClass() {
|
|
1374
|
+
return `is-${this.size}`;
|
|
1375
|
+
}
|
|
1376
|
+
}
|
|
1377
|
+
});
|
|
1378
|
+
|
|
1379
|
+
/* script */
|
|
1380
|
+
const __vue_script__ = script;
|
|
1381
|
+
|
|
1382
|
+
/* template */
|
|
1383
|
+
var __vue_render__ = function () {
|
|
1384
|
+
var _vm = this;
|
|
1385
|
+
var _h = _vm.$createElement;
|
|
1386
|
+
var _c = _vm._self._c || _h;
|
|
1387
|
+
return _vm.isOpen ? _c('div', {
|
|
1388
|
+
staticClass: "or-modal"
|
|
1389
|
+
}, [_c('or-overlay', {
|
|
1390
|
+
ref: "overlay",
|
|
1391
|
+
attrs: {
|
|
1392
|
+
"is-active": "",
|
|
1393
|
+
"is-without-background": _vm.isWithoutOverlay
|
|
1394
|
+
}
|
|
1395
|
+
}, [_c('div', {
|
|
1396
|
+
ref: "container",
|
|
1397
|
+
class: [_vm.sizeClass, 'container', {
|
|
1398
|
+
'is-without-overlay': _vm.isWithoutOverlay
|
|
1399
|
+
}]
|
|
1400
|
+
}, [_vm._t("header", function () {
|
|
1401
|
+
return [_c('div', {
|
|
1402
|
+
staticClass: "header"
|
|
1403
|
+
}, [_vm._t("title", function () {
|
|
1404
|
+
return [_c('div', {
|
|
1405
|
+
staticClass: "title"
|
|
1406
|
+
}, [_vm._v("\n " + _vm._s(_vm.titleText) + "\n ")])];
|
|
1407
|
+
}), _vm._v(" "), _c('or-icon-button', {
|
|
1408
|
+
directives: [{
|
|
1409
|
+
name: "show",
|
|
1410
|
+
rawName: "v-show",
|
|
1411
|
+
value: _vm.showClose,
|
|
1412
|
+
expression: "showClose"
|
|
1413
|
+
}],
|
|
1414
|
+
attrs: {
|
|
1415
|
+
"icon": "close",
|
|
1416
|
+
"icon-color": "neutral-6"
|
|
1417
|
+
},
|
|
1418
|
+
on: {
|
|
1419
|
+
"click": _vm.handleClose
|
|
1420
|
+
}
|
|
1421
|
+
})], 2)];
|
|
1422
|
+
}), _vm._v(" "), _vm._t("content", function () {
|
|
1423
|
+
return [_c('div', {
|
|
1424
|
+
staticClass: "content"
|
|
1425
|
+
}, [_vm._t("default")], 2)];
|
|
1426
|
+
}), _vm._v(" "), _c('div', {
|
|
1427
|
+
directives: [{
|
|
1428
|
+
name: "show",
|
|
1429
|
+
rawName: "v-show",
|
|
1430
|
+
value: _vm.$slots.footer,
|
|
1431
|
+
expression: "$slots.footer"
|
|
1432
|
+
}],
|
|
1433
|
+
staticClass: "footer"
|
|
1434
|
+
}, [_vm._t("footer", null, {
|
|
1435
|
+
"close": _vm.handleClose
|
|
1436
|
+
})], 2)], 2)])], 1) : _vm._e();
|
|
1437
|
+
};
|
|
1438
|
+
var __vue_staticRenderFns__ = [];
|
|
1439
|
+
|
|
1440
|
+
/* style */
|
|
1441
|
+
const __vue_inject_styles__ = function (inject) {
|
|
1442
|
+
if (!inject) return;
|
|
1443
|
+
inject("data-v-1caff449_0", {
|
|
1444
|
+
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)}",
|
|
1445
|
+
map: undefined,
|
|
1446
|
+
media: undefined
|
|
1447
|
+
});
|
|
1448
|
+
};
|
|
1449
|
+
/* scoped */
|
|
1450
|
+
const __vue_scope_id__ = "data-v-1caff449";
|
|
1451
|
+
/* module identifier */
|
|
1452
|
+
const __vue_module_identifier__ = undefined;
|
|
1453
|
+
/* functional template */
|
|
1454
|
+
const __vue_is_functional_template__ = false;
|
|
1455
|
+
/* style inject SSR */
|
|
1456
|
+
|
|
1457
|
+
/* style inject shadow dom */
|
|
1458
|
+
|
|
1459
|
+
const __vue_component__ = /*#__PURE__*/normalizeComponent({
|
|
1460
|
+
render: __vue_render__,
|
|
1461
|
+
staticRenderFns: __vue_staticRenderFns__
|
|
1462
|
+
}, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, createInjector, undefined, undefined);
|
|
1463
|
+
var OrModal = __vue_component__;
|
|
1464
|
+
|
|
1465
|
+
export { OrModal as O, OrModalSizes as a };
|
|
@@ -15,10 +15,10 @@ export { O as OrCheckbox } from '../OrCheckbox-f97a57b9.js';
|
|
|
15
15
|
export { O as OrCheckboxV3 } from '../OrCheckbox-5b499fc5.js';
|
|
16
16
|
export { O as OrChip } from '../OrChip-000fe7b5.js';
|
|
17
17
|
export { _ as OrChips } from '../OrChips-890b8476.js';
|
|
18
|
-
export { _ as OrCode, O as OrCodeLanguages } from '../OrCode-
|
|
18
|
+
export { _ as OrCode, O as OrCodeLanguages } from '../OrCode-edc7a1f5.js';
|
|
19
19
|
export { O as OrCollapse } from '../OrCollapse-3aa9a9b7.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-a1a37e83.js';
|
|
21
|
-
export { _ as OrConfirm } from '../OrConfirm-
|
|
21
|
+
export { _ as OrConfirm } from '../OrConfirm-56d01cff.js';
|
|
22
22
|
export { C as ConfirmType, _ as OrConfirmV3 } from '../OrConfirm-22c7622d.js';
|
|
23
23
|
export { D as DEFAULT_TEXT, _ as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from '../OrDateTimePicker-e212f892.js';
|
|
24
24
|
export { O as OrError } from '../OrError-31503e4c.js';
|
|
@@ -51,7 +51,7 @@ export { a as LoaderColor, b as LoaderSize, L as LoaderVariant, O as OrLoaderV3
|
|
|
51
51
|
export { O as OrMenuItemV3 } from '../OrMenuItem-f89dfc77.js';
|
|
52
52
|
export { O as OrMenuV3 } from '../OrMenu-5ac06751.js';
|
|
53
53
|
export { P as MenuPlacement, O as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant, P as TooltipPlacement } from '../OrPopover-2f48b854.js';
|
|
54
|
-
export { O as OrModal, a as OrModalSizes } from '../OrModal-
|
|
54
|
+
export { O as OrModal, a as OrModalSizes } from '../OrModal-a5411b0d.js';
|
|
55
55
|
export { M as ModalSize, _ as OrModalV3 } from '../OrModal-387348ca.js';
|
|
56
56
|
export { a as OR_NOTIFICATION_SIZE, O as OR_NOTIFICATION_TYPE, _ as OrNotification } from '../OrNotification-3909aaf2.js';
|
|
57
57
|
export { N as NotificationVariant, _ as OrNotificationV3 } from '../OrNotification-1fa0b14e.js';
|
|
@@ -95,7 +95,6 @@ export { p as PropsV3, a as useQueueV3, u as useToastV3 } from '../useToast-3a3d
|
|
|
95
95
|
export { O as OrTooltip } from '../OrTooltip-dfea7af2.js';
|
|
96
96
|
export { O as OrTooltipContent } from '../OrTooltipContent-f0fd5f75.js';
|
|
97
97
|
export { O as OrTooltipV3 } from '../OrTooltip-d1764f37.js';
|
|
98
|
-
export { _ as OrRichTextEditorV3 } from '../OrRichTextEditor-4a41e294.js';
|
|
99
98
|
import '../index-fa6eb4ca.js';
|
|
100
99
|
import 'vue';
|
|
101
100
|
import '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
@@ -105,7 +104,6 @@ import '../browser-82dea9ed.js';
|
|
|
105
104
|
import '../color-1f348774.js';
|
|
106
105
|
import '../useClassAttribute-9bf33346.js';
|
|
107
106
|
import '@vueuse/core';
|
|
108
|
-
import '../index.es-3f39f316.js';
|
|
109
107
|
import '../px-to-rem-0b26b83e.js';
|
|
110
108
|
import '../dom-3a15d036.js';
|
|
111
109
|
import '../index-17f264f9.js';
|
|
@@ -114,9 +112,7 @@ import '../useToggle-6166bd53.js';
|
|
|
114
112
|
import '../v4-cf8987a3.js';
|
|
115
113
|
import '../useResponsive-e13dfbb0.js';
|
|
116
114
|
import '../useElevation-aac032f4.js';
|
|
117
|
-
import '../useFocusTrap-d744652a.js';
|
|
118
115
|
import '../dropdown-open-e2a93aaf.js';
|
|
119
116
|
import '../useOverflow-43299d81.js';
|
|
120
117
|
import 'portal-vue/dist/portal-vue.esm.js';
|
|
121
118
|
import 'portal-vue';
|
|
122
|
-
import 'node:punycode';
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
export { _ as OrCode, O as OrCodeLanguages } from '../../OrCode-
|
|
1
|
+
export { _ as OrCode, O as OrCodeLanguages } from '../../OrCode-edc7a1f5.js';
|
|
2
2
|
import '@vueuse/core';
|
|
3
|
-
import '../../index.es-3f39f316.js';
|
|
4
3
|
import 'lodash';
|
|
5
4
|
import '../../index-fa6eb4ca.js';
|
|
6
5
|
import 'vue';
|
|
@@ -19,8 +18,7 @@ import '../../constants-c5d1139f.js';
|
|
|
19
18
|
import '../../OrIcon-10ec459c.js';
|
|
20
19
|
import '../../px-to-rem-0b26b83e.js';
|
|
21
20
|
import '../../OrLoader-05057239.js';
|
|
22
|
-
import '../../OrModal-
|
|
23
|
-
import '../../useFocusTrap-d744652a.js';
|
|
21
|
+
import '../../OrModal-a5411b0d.js';
|
|
24
22
|
import '../../OrOverlay-47967a8b.js';
|
|
25
23
|
import '../../OrError-31503e4c.js';
|
|
26
24
|
import '../../OrHint-fabea4cf.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { _ as OrConfirm } from '../../OrConfirm-
|
|
1
|
+
export { _ as OrConfirm } from '../../OrConfirm-56d01cff.js';
|
|
2
2
|
import '../../index-fa6eb4ca.js';
|
|
3
3
|
import 'vue';
|
|
4
4
|
import '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
@@ -18,8 +18,7 @@ import '../../OrTeleportVue2-3544f185.js';
|
|
|
18
18
|
import 'portal-vue/dist/portal-vue.esm.js';
|
|
19
19
|
import '../../dom-3a15d036.js';
|
|
20
20
|
import '../../OrLoader-05057239.js';
|
|
21
|
-
import '../../OrModal-
|
|
22
|
-
import '../../useFocusTrap-d744652a.js';
|
|
21
|
+
import '../../OrModal-a5411b0d.js';
|
|
23
22
|
import '../../OrIconButton-65962c1c.js';
|
|
24
23
|
import '../../OrTooltip-dfea7af2.js';
|
|
25
24
|
import '../../OrOverlay-47967a8b.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue-demi';
|
|
2
|
-
import { InputBoxVariant } from '
|
|
2
|
+
import { InputBoxVariant } from './props';
|
|
3
3
|
import { InputBoxSize } from './props';
|
|
4
4
|
declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
5
5
|
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
export { O as OrModal, a as OrModalSizes } from '../../OrModal-
|
|
1
|
+
export { O as OrModal, a as OrModalSizes } from '../../OrModal-a5411b0d.js';
|
|
2
2
|
import '../../index-fa6eb4ca.js';
|
|
3
3
|
import 'vue';
|
|
4
4
|
import '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
5
5
|
import 'lodash';
|
|
6
6
|
import '@vueuse/core';
|
|
7
|
-
import '../../useFocusTrap-d744652a.js';
|
|
8
7
|
import '../../OrIconButton-65962c1c.js';
|
|
9
8
|
import '../../OrTooltip-dfea7af2.js';
|
|
10
9
|
import '../../OrTooltipContent-f0fd5f75.js';
|