@onereach/ui-components 2.73.1-beta.2282.0 → 2.74.0-beta.2287.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/{OrButton-0a9470c0.js → OrButton-d45772c1.js} +1 -1
- package/dist/bundled/v2/{OrCardCollection-4b57513e.js → OrCardCollection-4ac89ea5.js} +1 -1
- package/dist/bundled/v2/{OrCode-fc6876ec.js → OrCode-c0af38e3.js} +179 -15
- package/dist/bundled/v2/{OrConfirm-69563c3e.js → OrConfirm-8c0e957d.js} +1 -1
- package/dist/bundled/v2/{OrLoader-cf28bfa6.js → OrLoader-864ef92a.js} +5 -20
- package/dist/bundled/v2/{OrNotification-3909aaf2.js → OrNotification-2e2a1941.js} +3 -3
- package/dist/bundled/v2/{OrPagination-b82e5900.js → OrPagination-daf25de2.js} +1 -1
- package/dist/bundled/v2/{OrSkeletonText-242d22f3.js → OrSkeletonText-2f1a3cc7.js} +3 -3
- package/dist/bundled/v2/{OrSwitch-51e30de3.js → OrSwitch-782d7b43.js} +1 -1
- package/dist/bundled/v2/components/index.js +10 -10
- package/dist/bundled/v2/components/or-button-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-card-collection-v3/index.js +3 -3
- package/dist/bundled/v2/components/or-code/index.js +1 -1
- package/dist/bundled/v2/components/or-code/theme.d.ts +24 -0
- package/dist/bundled/v2/components/or-confirm-v3/index.js +3 -3
- package/dist/bundled/v2/components/or-loader-v3/OrLoader.vue.d.ts +2 -18
- package/dist/bundled/v2/components/or-loader-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-notification/index.js +1 -1
- package/dist/bundled/v2/components/or-pagination-v3/index.js +3 -3
- package/dist/bundled/v2/components/or-skeleton/index.js +1 -1
- package/dist/bundled/v2/components/or-switch-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-toast-v3/index.js +2 -2
- package/dist/bundled/v2/index.js +11 -11
- package/dist/bundled/v2/{types-79817409.js → types-309b7b94.js} +1 -1
- package/dist/bundled/v3/{OrButton-a5b98ee2.js → OrButton-a1448bfa.js} +1 -1
- package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-e75f9a10.js → OrButton.vue_vue_type_script_lang-3b1e442b.js} +2 -2
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-6ede60d7.js → OrCardCollection.vue_vue_type_script_lang-f76c3264.js} +2 -2
- package/dist/bundled/v3/{OrCode.vue_vue_type_script_lang-c55de81d.js → OrCode.vue_vue_type_script_lang-79a42008.js} +176 -11
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-223c7be0.js → OrConfirm.vue_vue_type_script_lang-eb2bfce2.js} +2 -2
- package/dist/bundled/v3/{OrLoader-663e062d.js → OrLoader-123ef8c4.js} +4 -5
- package/dist/bundled/v3/{OrLoader.vue_vue_type_script_lang-8fc03499.js → OrLoader.vue_vue_type_script_lang-4c3c1ac9.js} +4 -18
- package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-eed298ce.js → OrPagination.vue_vue_type_script_lang-f64827ef.js} +2 -2
- package/dist/bundled/v3/{OrSwitch.vue_vue_type_script_lang-f6039c8f.js → OrSwitch.vue_vue_type_script_lang-31994be7.js} +2 -2
- package/dist/bundled/v3/{OrToastContainer-4aa1281e.js → OrToastContainer-6fe12712.js} +1 -1
- package/dist/bundled/v3/components/index.js +10 -10
- package/dist/bundled/v3/components/or-button-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-card-collection-v3/index.js +5 -5
- package/dist/bundled/v3/components/or-code/index.js +1 -1
- package/dist/bundled/v3/components/or-code/theme.d.ts +24 -0
- package/dist/bundled/v3/components/or-confirm-v3/index.js +5 -5
- package/dist/bundled/v3/components/or-loader-v3/OrLoader.vue.d.ts +2 -18
- package/dist/bundled/v3/components/or-loader-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-pagination-v3/index.js +5 -5
- package/dist/bundled/v3/components/or-switch-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-toast-v3/index.js +4 -4
- package/dist/bundled/v3/index.js +22 -22
- package/dist/bundled/v3/{types-5272a258.js → types-22fbf9d6.js} +2 -2
- package/dist/esm/v2/{OrButton-49f7f20b.js → OrButton-66964360.js} +1 -1
- package/dist/esm/v2/{OrCardCollection-2873b5ef.js → OrCardCollection-5a9eda35.js} +1 -1
- package/dist/esm/v2/{OrCode-d4400b42.js → OrCode-47331c24.js} +183 -17
- package/dist/esm/v2/{OrConfirm-5f620847.js → OrConfirm-9dbdedd7.js} +1 -1
- package/dist/esm/v2/{OrLoader-8f1f3af1.js → OrLoader-76307488.js} +5 -20
- package/dist/esm/v2/{OrNotification-a9231a83.js → OrNotification-a49e76d3.js} +3 -3
- package/dist/esm/v2/{OrPagination-f2dc37a1.js → OrPagination-1adbcadb.js} +1 -1
- package/dist/esm/v2/{OrSkeletonText-cc94bdc9.js → OrSkeletonText-24509efe.js} +3 -3
- package/dist/esm/v2/{OrSwitch-10ecff82.js → OrSwitch-8549219a.js} +1 -1
- package/dist/esm/v2/components/index.js +12 -10
- package/dist/esm/v2/components/or-button-v3/index.js +2 -2
- package/dist/esm/v2/components/or-card-collection-v3/index.js +3 -3
- package/dist/esm/v2/components/or-code/index.js +4 -2
- package/dist/esm/v2/components/or-code/theme.d.ts +24 -0
- package/dist/esm/v2/components/or-confirm-v3/index.js +3 -3
- package/dist/esm/v2/components/or-loader-v3/OrLoader.vue.d.ts +2 -18
- package/dist/esm/v2/components/or-loader-v3/index.js +1 -1
- package/dist/esm/v2/components/or-notification/index.js +1 -1
- package/dist/esm/v2/components/or-pagination-v3/index.js +3 -3
- package/dist/esm/v2/components/or-skeleton/index.js +1 -1
- package/dist/esm/v2/components/or-switch-v3/index.js +2 -2
- package/dist/esm/v2/components/or-toast-v3/index.js +2 -2
- package/dist/esm/v2/index.js +12 -10
- package/dist/esm/v2/{types-b79f2065.js → types-1f95d710.js} +1 -1
- package/dist/esm/v3/{OrButton-eab948fb.js → OrButton-c56998e7.js} +1 -1
- package/dist/esm/v3/{OrCardCollection-96b359db.js → OrCardCollection-e4fde5b4.js} +1 -1
- package/dist/esm/v3/{OrCode-5ed69c23.js → OrCode-effa9edb.js} +180 -14
- package/dist/esm/v3/{OrConfirm-ca80102f.js → OrConfirm-37454a63.js} +1 -1
- package/dist/esm/v3/{OrLoader-3a918ce9.js → OrLoader-a53d2edf.js} +7 -22
- package/dist/esm/v3/{OrNotification-e85a4956.js → OrNotification-eb08de33.js} +1 -1
- package/dist/esm/v3/{OrPagination-fd5746da.js → OrPagination-da9e5017.js} +1 -1
- package/dist/esm/v3/{OrSkeletonText-2b1610ce.js → OrSkeletonText-0546754d.js} +3 -3
- package/dist/esm/v3/{OrSwitch-0e92c92c.js → OrSwitch-1c2196da.js} +1 -1
- package/dist/esm/v3/components/index.js +12 -10
- package/dist/esm/v3/components/or-button-v3/index.js +2 -2
- package/dist/esm/v3/components/or-card-collection-v3/index.js +3 -3
- package/dist/esm/v3/components/or-code/index.js +4 -2
- package/dist/esm/v3/components/or-code/theme.d.ts +24 -0
- package/dist/esm/v3/components/or-confirm-v3/index.js +3 -3
- package/dist/esm/v3/components/or-loader-v3/OrLoader.vue.d.ts +2 -18
- package/dist/esm/v3/components/or-loader-v3/index.js +1 -1
- package/dist/esm/v3/components/or-notification/index.js +1 -1
- package/dist/esm/v3/components/or-pagination-v3/index.js +3 -3
- package/dist/esm/v3/components/or-skeleton/index.js +1 -1
- package/dist/esm/v3/components/or-switch-v3/index.js +2 -2
- package/dist/esm/v3/components/or-toast-v3/index.js +2 -2
- package/dist/esm/v3/index.js +12 -10
- package/dist/esm/v3/{types-cc84155e.js → types-b79e4387.js} +1 -1
- package/package.json +2 -2
- package/src/components/or-code/OrCode.vue +8 -6
- package/src/components/or-code/theme.ts +213 -0
- package/src/components/or-loader-v3/OrLoader.stories3.ts +4 -16
- package/src/components/or-loader-v3/OrLoader.vue +3 -21
- package/src/components/or-loader-v3/styles.ts +2 -1
- package/src/components/or-notification/OrNotification.vue +26 -1
- package/src/components/or-skeleton/styles.scss +18 -3
- package/src/components/or-stepper/OrStepper.stories.ts +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './index-fa6eb4ca.js';
|
|
2
|
-
import { O as OrLoader } from './OrLoader-
|
|
2
|
+
import { O as OrLoader } from './OrLoader-864ef92a.js';
|
|
3
3
|
import { defineComponent, ref, computed } from '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
4
4
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
5
5
|
|
|
@@ -2,7 +2,7 @@ import './index-fa6eb4ca.js';
|
|
|
2
2
|
import { defineComponent, computed, ref, watch } from '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
3
3
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
4
4
|
import { O as OrIconButton } from './OrIconButton-837d57f8.js';
|
|
5
|
-
import { O as OrButton } from './OrButton-
|
|
5
|
+
import { O as OrButton } from './OrButton-d45772c1.js';
|
|
6
6
|
import { O as OrMenu } from './OrMenu-52da43bc.js';
|
|
7
7
|
import { O as OrMenuItem } from './OrMenuItem-e2693a5f.js';
|
|
8
8
|
import { O as OrIcon } from './OrIcon-458206aa.js';
|
|
@@ -9311,7 +9311,7 @@ function scaleBlock(block, scaler) {
|
|
|
9311
9311
|
bBottom = scaler.toDOM(block.bottom);
|
|
9312
9312
|
return new BlockInfo(block.from, block.length, bTop, bBottom - bTop, Array.isArray(block.type) ? block.type.map(b => scaleBlock(b, scaler)) : block.type);
|
|
9313
9313
|
}
|
|
9314
|
-
const theme = /*@__PURE__*/Facet.define({
|
|
9314
|
+
const theme$1 = /*@__PURE__*/Facet.define({
|
|
9315
9315
|
combine: strs => strs.join(" ")
|
|
9316
9316
|
});
|
|
9317
9317
|
const darkTheme = /*@__PURE__*/Facet.define({
|
|
@@ -10455,7 +10455,7 @@ class EditorView {
|
|
|
10455
10455
|
this.updateState = 0 /* UpdateState.Idle */;
|
|
10456
10456
|
}
|
|
10457
10457
|
|
|
10458
|
-
if (update.startState.facet(theme) != update.state.facet(theme)) this.viewState.mustMeasureContent = true;
|
|
10458
|
+
if (update.startState.facet(theme$1) != update.state.facet(theme$1)) this.viewState.mustMeasureContent = true;
|
|
10459
10459
|
if (redrawn || attrsChanged || scrollTarget || this.viewState.mustEnforceCursorAssoc || this.viewState.mustMeasureContent) this.requestMeasure();
|
|
10460
10460
|
if (!update.empty) for (let listener of this.state.facet(updateListener)) listener(update);
|
|
10461
10461
|
if (domChange) {
|
|
@@ -10602,7 +10602,7 @@ class EditorView {
|
|
|
10602
10602
|
Get the CSS classes for the currently active editor themes.
|
|
10603
10603
|
*/
|
|
10604
10604
|
get themeClasses() {
|
|
10605
|
-
return baseThemeID + " " + (this.state.facet(darkTheme) ? baseDarkID : baseLightID) + " " + this.state.facet(theme);
|
|
10605
|
+
return baseThemeID + " " + (this.state.facet(darkTheme) ? baseDarkID : baseLightID) + " " + this.state.facet(theme$1);
|
|
10606
10606
|
}
|
|
10607
10607
|
updateAttrs() {
|
|
10608
10608
|
let editorAttrs = attrsFromFacet(this, editorAttributes, {
|
|
@@ -10989,7 +10989,7 @@ class EditorView {
|
|
|
10989
10989
|
*/
|
|
10990
10990
|
static theme(spec, options) {
|
|
10991
10991
|
let prefix = StyleModule.newName();
|
|
10992
|
-
let result = [theme.of(prefix), styleModule.of(buildTheme(`.${prefix}`, spec))];
|
|
10992
|
+
let result = [theme$1.of(prefix), styleModule.of(buildTheme(`.${prefix}`, spec))];
|
|
10993
10993
|
if (options && options.dark) result.push(darkTheme.of(true));
|
|
10994
10994
|
return result;
|
|
10995
10995
|
}
|
|
@@ -29390,6 +29390,173 @@ var languages = {
|
|
|
29390
29390
|
[OrCodeLanguages.MD]: MD
|
|
29391
29391
|
};
|
|
29392
29392
|
|
|
29393
|
+
// Using https://github.com/one-dark/vscode-one-dark-theme/ as reference for the colors
|
|
29394
|
+
const chalky = 'var(--c-warning-darken-20)',
|
|
29395
|
+
coral = 'var(--c-error)',
|
|
29396
|
+
cyan = '#56b6c2',
|
|
29397
|
+
invalid = 'var(--c-white)',
|
|
29398
|
+
ivory = 'var(--c-neutral-6)',
|
|
29399
|
+
stone = 'var(--c-neutral-5)',
|
|
29400
|
+
// Brightened compared to original to increase contrast
|
|
29401
|
+
malibu = '#61afef',
|
|
29402
|
+
sage = 'var(--c-success)',
|
|
29403
|
+
whiskey = 'var(--c-warning-darken-5)',
|
|
29404
|
+
violet = '#c678dd',
|
|
29405
|
+
darkBackground = 'var(--c-neutral-1)',
|
|
29406
|
+
highlightBackground = 'var(--c-neutral-2)',
|
|
29407
|
+
background = 'var(--c-neutral-1)',
|
|
29408
|
+
tooltipBackground = 'var(--c-neutral-2)',
|
|
29409
|
+
selection = 'var(--c-neutral-3)',
|
|
29410
|
+
cursor = 'var(--c-primary)';
|
|
29411
|
+
/// The editor theme styles for One Dark.
|
|
29412
|
+
const orCodeTheme = EditorView.theme({
|
|
29413
|
+
'&': {
|
|
29414
|
+
color: ivory,
|
|
29415
|
+
backgroundColor: background
|
|
29416
|
+
},
|
|
29417
|
+
'.cm-content': {
|
|
29418
|
+
caretColor: cursor
|
|
29419
|
+
},
|
|
29420
|
+
'.cm-button': {
|
|
29421
|
+
background: highlightBackground,
|
|
29422
|
+
color: 'var(--c-neutral-6)',
|
|
29423
|
+
border: 0,
|
|
29424
|
+
borderRadius: 'var(--s-2)'
|
|
29425
|
+
},
|
|
29426
|
+
'.cm-panel.cm-search input[type=checkbox]': {
|
|
29427
|
+
display: 'inline-block',
|
|
29428
|
+
verticalAlign: 'middle'
|
|
29429
|
+
},
|
|
29430
|
+
'.cm-cursor, .cm-dropCursor': {
|
|
29431
|
+
borderLeftColor: cursor
|
|
29432
|
+
},
|
|
29433
|
+
'&.cm-focused .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection': {
|
|
29434
|
+
backgroundColor: selection
|
|
29435
|
+
},
|
|
29436
|
+
'.cm-panels': {
|
|
29437
|
+
backgroundColor: darkBackground,
|
|
29438
|
+
color: ivory
|
|
29439
|
+
},
|
|
29440
|
+
'.cm-panels.cm-panels-top': {
|
|
29441
|
+
borderBottom: '2px solid var(--c-neutral-2)'
|
|
29442
|
+
},
|
|
29443
|
+
'.cm-panels.cm-panels-bottom': {
|
|
29444
|
+
borderTop: '2px solid var(--c-neutral-2)'
|
|
29445
|
+
},
|
|
29446
|
+
'.cm-searchMatch': {
|
|
29447
|
+
backgroundColor: 'var(--c-neutral-1)',
|
|
29448
|
+
outline: '1px solid var(--c-neutral-2)'
|
|
29449
|
+
},
|
|
29450
|
+
'.cm-searchMatch.cm-searchMatch-selected': {
|
|
29451
|
+
backgroundColor: '#6199ff2f'
|
|
29452
|
+
},
|
|
29453
|
+
'.cm-activeLine': {
|
|
29454
|
+
backgroundColor: '#6699ff0b'
|
|
29455
|
+
},
|
|
29456
|
+
'.cm-selectionMatch': {
|
|
29457
|
+
backgroundColor: '#aafe661a'
|
|
29458
|
+
},
|
|
29459
|
+
'&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket': {
|
|
29460
|
+
backgroundColor: '#bad0f847'
|
|
29461
|
+
},
|
|
29462
|
+
'.cm-gutters': {
|
|
29463
|
+
backgroundColor: background,
|
|
29464
|
+
color: stone,
|
|
29465
|
+
border: 'none'
|
|
29466
|
+
},
|
|
29467
|
+
'.cm-activeLineGutter': {
|
|
29468
|
+
backgroundColor: highlightBackground
|
|
29469
|
+
},
|
|
29470
|
+
'.cm-foldPlaceholder': {
|
|
29471
|
+
backgroundColor: 'transparent',
|
|
29472
|
+
border: 'none',
|
|
29473
|
+
color: '#ddd'
|
|
29474
|
+
},
|
|
29475
|
+
'.cm-tooltip': {
|
|
29476
|
+
border: 'none',
|
|
29477
|
+
backgroundColor: tooltipBackground
|
|
29478
|
+
},
|
|
29479
|
+
'.cm-tooltip .cm-tooltip-arrow:before': {
|
|
29480
|
+
borderTopColor: 'transparent',
|
|
29481
|
+
borderBottomColor: 'transparent'
|
|
29482
|
+
},
|
|
29483
|
+
'.cm-tooltip .cm-tooltip-arrow:after': {
|
|
29484
|
+
borderTopColor: tooltipBackground,
|
|
29485
|
+
borderBottomColor: tooltipBackground
|
|
29486
|
+
},
|
|
29487
|
+
'.cm-tooltip-autocomplete': {
|
|
29488
|
+
'& > ul > li[aria-selected]': {
|
|
29489
|
+
backgroundColor: highlightBackground,
|
|
29490
|
+
color: ivory
|
|
29491
|
+
}
|
|
29492
|
+
},
|
|
29493
|
+
'.cm-textfield': {
|
|
29494
|
+
outline: 'none',
|
|
29495
|
+
background: background,
|
|
29496
|
+
color: 'var(--c-neutral-6)',
|
|
29497
|
+
backgroundColor: 'var(--c-neutral-1)',
|
|
29498
|
+
border: '1px solid var(--c-neutral-2)',
|
|
29499
|
+
borderRadius: 'var(--s-2)'
|
|
29500
|
+
}
|
|
29501
|
+
}, {
|
|
29502
|
+
dark: true
|
|
29503
|
+
});
|
|
29504
|
+
/// The highlighting style for code in the One Dark theme.
|
|
29505
|
+
const orCodeHighlightStyle = HighlightStyle.define([{
|
|
29506
|
+
tag: tags$1.keyword,
|
|
29507
|
+
color: violet
|
|
29508
|
+
}, {
|
|
29509
|
+
tag: [tags$1.name, tags$1.deleted, tags$1.character, tags$1.propertyName, tags$1.macroName],
|
|
29510
|
+
color: coral
|
|
29511
|
+
}, {
|
|
29512
|
+
tag: [tags$1.function(tags$1.variableName), tags$1.labelName],
|
|
29513
|
+
color: malibu
|
|
29514
|
+
}, {
|
|
29515
|
+
tag: [tags$1.color, tags$1.constant(tags$1.name), tags$1.standard(tags$1.name)],
|
|
29516
|
+
color: whiskey
|
|
29517
|
+
}, {
|
|
29518
|
+
tag: [tags$1.definition(tags$1.name), tags$1.separator],
|
|
29519
|
+
color: ivory
|
|
29520
|
+
}, {
|
|
29521
|
+
tag: [tags$1.typeName, tags$1.className, tags$1.number, tags$1.changed, tags$1.annotation, tags$1.modifier, tags$1.self, tags$1.namespace],
|
|
29522
|
+
color: chalky
|
|
29523
|
+
}, {
|
|
29524
|
+
tag: [tags$1.operator, tags$1.operatorKeyword, tags$1.url, tags$1.escape, tags$1.regexp, tags$1.link, tags$1.special(tags$1.string)],
|
|
29525
|
+
color: cyan
|
|
29526
|
+
}, {
|
|
29527
|
+
tag: [tags$1.meta, tags$1.comment],
|
|
29528
|
+
color: stone
|
|
29529
|
+
}, {
|
|
29530
|
+
tag: tags$1.strong,
|
|
29531
|
+
fontWeight: 'bold'
|
|
29532
|
+
}, {
|
|
29533
|
+
tag: tags$1.emphasis,
|
|
29534
|
+
fontStyle: 'italic'
|
|
29535
|
+
}, {
|
|
29536
|
+
tag: tags$1.strikethrough,
|
|
29537
|
+
textDecoration: 'line-through'
|
|
29538
|
+
}, {
|
|
29539
|
+
tag: tags$1.link,
|
|
29540
|
+
color: stone,
|
|
29541
|
+
textDecoration: 'underline'
|
|
29542
|
+
}, {
|
|
29543
|
+
tag: tags$1.heading,
|
|
29544
|
+
fontWeight: 'bold',
|
|
29545
|
+
color: coral
|
|
29546
|
+
}, {
|
|
29547
|
+
tag: [tags$1.atom, tags$1.bool, tags$1.special(tags$1.variableName)],
|
|
29548
|
+
color: whiskey
|
|
29549
|
+
}, {
|
|
29550
|
+
tag: [tags$1.processingInstruction, tags$1.string, tags$1.inserted],
|
|
29551
|
+
color: sage
|
|
29552
|
+
}, {
|
|
29553
|
+
tag: tags$1.invalid,
|
|
29554
|
+
color: invalid
|
|
29555
|
+
}]);
|
|
29556
|
+
/// Extension to enable the One Dark theme (both the editor theme and
|
|
29557
|
+
/// the highlight style).
|
|
29558
|
+
const theme = [orCodeTheme, syntaxHighlighting(orCodeHighlightStyle)];
|
|
29559
|
+
|
|
29393
29560
|
//partially based on https://github.com/logue/vue-codemirror6/blob/master/src/components/CodeMirror.vue
|
|
29394
29561
|
var script = defineComponent({
|
|
29395
29562
|
name: 'OrCode',
|
|
@@ -29473,6 +29640,7 @@ var script = defineComponent({
|
|
|
29473
29640
|
setup(props, {
|
|
29474
29641
|
emit
|
|
29475
29642
|
}) {
|
|
29643
|
+
// editor config
|
|
29476
29644
|
const root = ref();
|
|
29477
29645
|
const target = ref();
|
|
29478
29646
|
const fullscreenTarget = ref();
|
|
@@ -29514,9 +29682,7 @@ var script = defineComponent({
|
|
|
29514
29682
|
allowPaste,
|
|
29515
29683
|
lineWrapping
|
|
29516
29684
|
} = this;
|
|
29517
|
-
const ext = _.compact([
|
|
29518
|
-
// Toggle light/dark mode
|
|
29519
|
-
EditorView.baseTheme({}),
|
|
29685
|
+
const ext = _.compact([theme, EditorView.baseTheme({}),
|
|
29520
29686
|
// locale settings
|
|
29521
29687
|
this.phrases ? EditorState.phrases.of(this.phrases) : undefined,
|
|
29522
29688
|
// Parser language setting
|
|
@@ -29543,10 +29709,8 @@ var script = defineComponent({
|
|
|
29543
29709
|
}
|
|
29544
29710
|
}),
|
|
29545
29711
|
// line wrapping
|
|
29546
|
-
lineWrapping ? EditorView.lineWrapping : undefined, keymap.of([indentWithTab])]);
|
|
29547
|
-
|
|
29548
|
-
if (this.extensions.length !== 0) _.merge(ext, this.extensions);
|
|
29549
|
-
return ext;
|
|
29712
|
+
lineWrapping ? EditorView.lineWrapping : undefined, keymap.of([indentWithTab]), ...this.extensions]);
|
|
29713
|
+
return [...ext];
|
|
29550
29714
|
},
|
|
29551
29715
|
isShowingError() {
|
|
29552
29716
|
return !!this.error && this.isInvalid;
|
|
@@ -29638,7 +29802,7 @@ var __vue_render__ = function () {
|
|
|
29638
29802
|
staticClass: "fullscreen-button",
|
|
29639
29803
|
attrs: {
|
|
29640
29804
|
"icon": "fullscreen",
|
|
29641
|
-
"icon-color": "neutral-
|
|
29805
|
+
"icon-color": "neutral-4"
|
|
29642
29806
|
},
|
|
29643
29807
|
on: {
|
|
29644
29808
|
"click": function ($event) {
|
|
@@ -29706,14 +29870,14 @@ var __vue_staticRenderFns__ = [];
|
|
|
29706
29870
|
/* style */
|
|
29707
29871
|
const __vue_inject_styles__ = function (inject) {
|
|
29708
29872
|
if (!inject) return;
|
|
29709
|
-
inject("data-v-
|
|
29710
|
-
source: "@keyframes spinAround-data-v-
|
|
29873
|
+
inject("data-v-0e7eeac0_0", {
|
|
29874
|
+
source: "@keyframes spinAround-data-v-0e7eeac0{from{transform:rotate(0)}to{transform:rotate(359deg)}}@keyframes fade-data-v-0e7eeac0{from{opacity:1}to{opacity:0}}.or-code .fullscreen-button[data-v-0e7eeac0]{width:2.25rem;height:2.25rem}.or-code .fullscreen-button>.or-icon[data-v-0e7eeac0]{font-size:1.5rem}.or-code .footer .or-code-error[data-v-0e7eeac0],.or-code .footer .or-code-hint[data-v-0e7eeac0]{flex-shrink:1;transition-timing-function:var(--t-func);transition-duration:var(--t-duration);transition-property:height,opacity}.header[data-v-0e7eeac0]{display:flex;flex-direction:row;align-items:center;height:36px}.header .actions[data-v-0e7eeac0]{margin-left:auto}.header .actions[data-v-0e7eeac0]:not(.is-visible){display:none}.or-code-editor[data-v-0e7eeac0]{min-height:calc(1.4em + 8px);overflow:auto;font-size:var(--fs-0);border:1px solid var(--c-neutral-2);border-radius:var(--s-2)}.or-code-editor.is-invalid[data-v-0e7eeac0]{border-color:var(--c-error)}.or-code-editor[data-v-0e7eeac0]> *{width:100%;height:100%}.or-code[data-v-0e7eeac0],.or-modal[data-v-0e7eeac0] .content{display:flex;flex-direction:column}.or-code .or-code-editor[data-v-0e7eeac0],.or-modal[data-v-0e7eeac0] .content .or-code-editor{flex-grow:1;text-align:left!important}",
|
|
29711
29875
|
map: undefined,
|
|
29712
29876
|
media: undefined
|
|
29713
29877
|
});
|
|
29714
29878
|
};
|
|
29715
29879
|
/* scoped */
|
|
29716
|
-
const __vue_scope_id__ = "data-v-
|
|
29880
|
+
const __vue_scope_id__ = "data-v-0e7eeac0";
|
|
29717
29881
|
/* module identifier */
|
|
29718
29882
|
const __vue_module_identifier__ = undefined;
|
|
29719
29883
|
/* functional template */
|
|
@@ -2,7 +2,7 @@ import { useMagicKeys, whenever, onClickOutside } from '@vueuse/core';
|
|
|
2
2
|
import { l as logicAnd } from './index-17f264f9.js';
|
|
3
3
|
import './index-fa6eb4ca.js';
|
|
4
4
|
import { O as OrOverlay } from './OrOverlay-efa7992e.js';
|
|
5
|
-
import { O as OrButton, a as ButtonColor } from './OrButton-
|
|
5
|
+
import { O as OrButton, a as ButtonColor } from './OrButton-d45772c1.js';
|
|
6
6
|
import { O as OrInput } from './OrInput-00070eee.js';
|
|
7
7
|
import { defineComponent, ref, computed, watch } from '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
8
8
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
@@ -21,7 +21,7 @@ var LoaderSize;
|
|
|
21
21
|
|
|
22
22
|
const LoaderRoot = [
|
|
23
23
|
// Layout
|
|
24
|
-
'flex', 'flex-col', '
|
|
24
|
+
'contents', 'flex', 'flex-col', 'space-y-md'];
|
|
25
25
|
const LoaderRootColors = {
|
|
26
26
|
'primary': [
|
|
27
27
|
// Theme
|
|
@@ -42,17 +42,10 @@ var script = defineComponent({
|
|
|
42
42
|
type: String,
|
|
43
43
|
default: LoaderVariant.Circular
|
|
44
44
|
},
|
|
45
|
-
/**
|
|
46
|
-
* Defines a semantic color of the loading indicator.
|
|
47
|
-
* Use `'inherit'` option to set your own color from the parent (not recommended).
|
|
48
|
-
*/
|
|
49
45
|
color: {
|
|
50
46
|
type: String,
|
|
51
47
|
default: LoaderColor.Primary
|
|
52
48
|
},
|
|
53
|
-
/**
|
|
54
|
-
* Defines a diameter of the circular loader. Ignored for linear one.
|
|
55
|
-
*/
|
|
56
49
|
size: {
|
|
57
50
|
type: String,
|
|
58
51
|
default: LoaderSize.M
|
|
@@ -78,26 +71,19 @@ var script = defineComponent({
|
|
|
78
71
|
// State
|
|
79
72
|
const computedSize = computed(() => {
|
|
80
73
|
switch (props.size) {
|
|
81
|
-
case
|
|
74
|
+
case 'm':
|
|
82
75
|
return 20;
|
|
83
|
-
case
|
|
76
|
+
case 's':
|
|
84
77
|
return 16;
|
|
85
78
|
}
|
|
86
79
|
});
|
|
87
|
-
/**
|
|
88
|
-
* Preserves circular loading indicator from shrinking caused by external styles.
|
|
89
|
-
*/
|
|
90
|
-
const wrapperStyle = computed(() => {
|
|
91
|
-
return `min-width: ${computedSize.value}px;`;
|
|
92
|
-
});
|
|
93
80
|
return {
|
|
94
81
|
root,
|
|
95
82
|
rootStyles,
|
|
96
83
|
containerStyles,
|
|
97
84
|
titleStyles,
|
|
98
85
|
descriptionStyles,
|
|
99
|
-
computedSize
|
|
100
|
-
wrapperStyle
|
|
86
|
+
computedSize
|
|
101
87
|
};
|
|
102
88
|
}
|
|
103
89
|
});
|
|
@@ -116,8 +102,7 @@ var __vue_render__ = function () {
|
|
|
116
102
|
}, [_vm.title ? [_c('div', {
|
|
117
103
|
class: _vm.titleStyles
|
|
118
104
|
}, [_vm._v("\n " + _vm._s(_vm.title) + "\n ")])] : _vm._e(), _vm._v(" "), _c('div', {
|
|
119
|
-
class: _vm.containerStyles
|
|
120
|
-
style: _vm.wrapperStyle
|
|
105
|
+
class: _vm.containerStyles
|
|
121
106
|
}, [_vm.variant === 'circular' ? [_c('svg', {
|
|
122
107
|
attrs: {
|
|
123
108
|
"viewBox": "0 0 16 16",
|
|
@@ -120,14 +120,14 @@ var __vue_staticRenderFns__ = [];
|
|
|
120
120
|
/* style */
|
|
121
121
|
const __vue_inject_styles__ = function (inject) {
|
|
122
122
|
if (!inject) return;
|
|
123
|
-
inject("data-v-
|
|
124
|
-
source: "@keyframes spinAround-data-v-
|
|
123
|
+
inject("data-v-6284d461_0", {
|
|
124
|
+
source: "@keyframes spinAround-data-v-6284d461{from{transform:rotate(0)}to{transform:rotate(359deg)}}@keyframes fade-data-v-6284d461{from{opacity:1}to{opacity:0}}.or-notification[data-v-6284d461]{--alignment-height:var(--lh-1);display:flex;align-items:flex-start;width:100%;padding:var(--s-4);background-color:var(--c-white);border-radius:.25rem;box-shadow:0 .0625rem .25rem .0625rem rgba(0,0,0,.08);transition-timing-function:var(--t-func);transition-duration:var(--t-duration);transition-property:background-color}.or-notification.is-size-default[data-v-6284d461]{max-width:48rem}.or-notification.is-size-inline[data-v-6284d461]{max-width:27.875rem}.or-notification a[data-v-6284d461]{font-weight:var(--fw-2);color:var(--c-black)}.or-notification--icon[data-v-6284d461]{display:flex;align-items:center;min-height:var(--alignment-height);margin-right:var(--s-4)}.or-notification--icon[data-v-6284d461] .or-icon{font-size:1rem}.or-notification--content[data-v-6284d461]{flex:1 1 100%;word-break:break-word}.or-notification--close[data-v-6284d461]{display:flex;height:var(--alignment-height);margin-left:1rem}.or-notification--close[data-v-6284d461] .or-icon{font-size:1rem!important}.or-notification.is-type-info[data-v-6284d461]{background-color:var(--c-primary-lighten-45)}.or-notification.is-type-info a[data-v-6284d461]{color:var(--c-primary)}.or-notification.is-type-error[data-v-6284d461]{background-color:var(--c-error-lighten-45)}.or-notification.is-type-error a[data-v-6284d461]{color:var(--c-error)}.or-notification.is-type-warning[data-v-6284d461]{background-color:var(--c-warning-lighten-45)}.or-notification.is-type-warning a[data-v-6284d461]{color:var(--c-warning)}.or-notification.is-type-success[data-v-6284d461]{background-color:var(--c-success-lighten-45)}.or-notification.is-type-success a[data-v-6284d461]{color:var(--c-success)}[data-theme=dark] .or-notification .or-icon[data-v-6284d461]{color:var(--c-neutral-1)}[data-theme=dark] .or-notification.is-type-info[data-v-6284d461]{background-color:var(--c-primary-darken-45);color:var(--c-neutral-6)}[data-theme=dark] .or-notification.is-type-info a[data-v-6284d461]{color:var(--c-neutral-6)}[data-theme=dark] .or-notification.is-type-error[data-v-6284d461]{background-color:var(--c-error-darken-45);color:var(--c-neutral-6)}[data-theme=dark] .or-notification.is-type-error a[data-v-6284d461]{color:var(--c-neutral-6)}[data-theme=dark] .or-notification.is-type-warning[data-v-6284d461]{background-color:var(--c-warning-darken-45);color:var(--c-neutral-6)}[data-theme=dark] .or-notification.is-type-warning a[data-v-6284d461]{color:var(--c-neutral-6)}[data-theme=dark] .or-notification.is-type-success[data-v-6284d461]{background-color:var(--c-success-darken-45);color:var(--c-neutral-6)}[data-theme=dark] .or-notification.is-type-success a[data-v-6284d461]{color:var(--c-neutral-6)}",
|
|
125
125
|
map: undefined,
|
|
126
126
|
media: undefined
|
|
127
127
|
});
|
|
128
128
|
};
|
|
129
129
|
/* scoped */
|
|
130
|
-
const __vue_scope_id__ = "data-v-
|
|
130
|
+
const __vue_scope_id__ = "data-v-6284d461";
|
|
131
131
|
/* module identifier */
|
|
132
132
|
const __vue_module_identifier__ = undefined;
|
|
133
133
|
/* functional template */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './index-fa6eb4ca.js';
|
|
2
|
-
import { O as OrButton } from './OrButton-
|
|
2
|
+
import { O as OrButton } from './OrButton-d45772c1.js';
|
|
3
3
|
import { O as OrIcon } from './OrIcon-458206aa.js';
|
|
4
4
|
import { O as OrMenu } from './OrMenu-52da43bc.js';
|
|
5
5
|
import { O as OrMenuItem } from './OrMenuItem-e2693a5f.js';
|
|
@@ -59,7 +59,7 @@ var __vue_staticRenderFns__$2 = [];
|
|
|
59
59
|
const __vue_inject_styles__$2 = function (inject) {
|
|
60
60
|
if (!inject) return;
|
|
61
61
|
inject("data-v-2bdce55a_0", {
|
|
62
|
-
source: "@keyframes spinAround-data-v-2bdce55a{from{transform:rotate(0)}to{transform:rotate(359deg)}}@keyframes fade-data-v-2bdce55a{from{opacity:1}to{opacity:0}}@keyframes spinAround-data-v-2bdce55a{from{transform:rotate(0)}to{transform:rotate(359deg)}}@keyframes fade-data-v-2bdce55a{from{opacity:1}to{opacity:0}}@keyframes wave-data-v-2bdce55a{0%{transform:translateX(-100%)}100%{transform:translateX(100%)}}.or-skeleton[data-v-2bdce55a]{overflow:hidden;position:relative;padding:0;background:#f6f8fd;border:0}.or-skeleton.is-animated[data-v-2bdce55a]::before{content:\"\";display:block;position:absolute;left:0;right:0;bottom:0;top:0;background:linear-gradient(90.14deg,#f6f8fd .1%,#fff 49.98%,#f6f8fd 99.06%);animation:wave-data-v-2bdce55a 1.5s linear .5s infinite}.or-skeleton-circle[data-v-2bdce55a]{border-radius:9999px!important}",
|
|
62
|
+
source: "@keyframes spinAround-data-v-2bdce55a{from{transform:rotate(0)}to{transform:rotate(359deg)}}@keyframes fade-data-v-2bdce55a{from{opacity:1}to{opacity:0}}@keyframes spinAround-data-v-2bdce55a{from{transform:rotate(0)}to{transform:rotate(359deg)}}@keyframes fade-data-v-2bdce55a{from{opacity:1}to{opacity:0}}@keyframes wave-data-v-2bdce55a{0%{transform:translateX(-100%)}100%{transform:translateX(100%)}}.or-skeleton[data-v-2bdce55a]{overflow:hidden;position:relative;padding:0;background:#f6f8fd;border:0}.or-skeleton.is-animated[data-v-2bdce55a]::before{content:\"\";display:block;position:absolute;left:0;right:0;bottom:0;top:0;background:linear-gradient(90.14deg,#f6f8fd .1%,#fff 49.98%,#f6f8fd 99.06%);animation:wave-data-v-2bdce55a 1.5s linear .5s infinite}[data-theme=dark] .or-skeleton[data-v-2bdce55a]{background:var(--c-neutral-3)}[data-theme=dark] .or-skeleton.is-animated[data-v-2bdce55a]::before{background:linear-gradient(90.14deg,var(--c-neutral-3) .1%,var(--c-neutral-2) 49.98%,var(--c-neutral-3) 99.06%)}.or-skeleton-circle[data-v-2bdce55a]{border-radius:9999px!important}",
|
|
63
63
|
map: undefined,
|
|
64
64
|
media: undefined
|
|
65
65
|
});
|
|
@@ -137,7 +137,7 @@ var __vue_staticRenderFns__$1 = [];
|
|
|
137
137
|
const __vue_inject_styles__$1 = function (inject) {
|
|
138
138
|
if (!inject) return;
|
|
139
139
|
inject("data-v-570f1e07_0", {
|
|
140
|
-
source: "@keyframes spinAround-data-v-570f1e07{from{transform:rotate(0)}to{transform:rotate(359deg)}}@keyframes fade-data-v-570f1e07{from{opacity:1}to{opacity:0}}@keyframes spinAround-data-v-570f1e07{from{transform:rotate(0)}to{transform:rotate(359deg)}}@keyframes fade-data-v-570f1e07{from{opacity:1}to{opacity:0}}@keyframes wave-data-v-570f1e07{0%{transform:translateX(-100%)}100%{transform:translateX(100%)}}.or-skeleton[data-v-570f1e07]{overflow:hidden;position:relative;padding:0;background:#f6f8fd;border:0}.or-skeleton.is-animated[data-v-570f1e07]::before{content:\"\";display:block;position:absolute;left:0;right:0;bottom:0;top:0;background:linear-gradient(90.14deg,#f6f8fd .1%,#fff 49.98%,#f6f8fd 99.06%);animation:wave-data-v-570f1e07 1.5s linear .5s infinite}.or-skeleton-rect[data-v-570f1e07]{border-radius:var(--s-2)}",
|
|
140
|
+
source: "@keyframes spinAround-data-v-570f1e07{from{transform:rotate(0)}to{transform:rotate(359deg)}}@keyframes fade-data-v-570f1e07{from{opacity:1}to{opacity:0}}@keyframes spinAround-data-v-570f1e07{from{transform:rotate(0)}to{transform:rotate(359deg)}}@keyframes fade-data-v-570f1e07{from{opacity:1}to{opacity:0}}@keyframes wave-data-v-570f1e07{0%{transform:translateX(-100%)}100%{transform:translateX(100%)}}.or-skeleton[data-v-570f1e07]{overflow:hidden;position:relative;padding:0;background:#f6f8fd;border:0}.or-skeleton.is-animated[data-v-570f1e07]::before{content:\"\";display:block;position:absolute;left:0;right:0;bottom:0;top:0;background:linear-gradient(90.14deg,#f6f8fd .1%,#fff 49.98%,#f6f8fd 99.06%);animation:wave-data-v-570f1e07 1.5s linear .5s infinite}[data-theme=dark] .or-skeleton[data-v-570f1e07]{background:var(--c-neutral-3)}[data-theme=dark] .or-skeleton.is-animated[data-v-570f1e07]::before{background:linear-gradient(90.14deg,var(--c-neutral-3) .1%,var(--c-neutral-2) 49.98%,var(--c-neutral-3) 99.06%)}.or-skeleton-rect[data-v-570f1e07]{border-radius:var(--s-2)}",
|
|
141
141
|
map: undefined,
|
|
142
142
|
media: undefined
|
|
143
143
|
});
|
|
@@ -238,7 +238,7 @@ var __vue_staticRenderFns__ = [];
|
|
|
238
238
|
const __vue_inject_styles__ = function (inject) {
|
|
239
239
|
if (!inject) return;
|
|
240
240
|
inject("data-v-1ddb38df_0", {
|
|
241
|
-
source: "@keyframes spinAround-data-v-1ddb38df{from{transform:rotate(0)}to{transform:rotate(359deg)}}@keyframes fade-data-v-1ddb38df{from{opacity:1}to{opacity:0}}@keyframes spinAround-data-v-1ddb38df{from{transform:rotate(0)}to{transform:rotate(359deg)}}@keyframes fade-data-v-1ddb38df{from{opacity:1}to{opacity:0}}@keyframes wave-data-v-1ddb38df{0%{transform:translateX(-100%)}100%{transform:translateX(100%)}}.or-skeleton[data-v-1ddb38df]{overflow:hidden;position:relative;padding:0;background:#f6f8fd;border:0}.or-skeleton.is-animated[data-v-1ddb38df]::before{content:\"\";display:block;position:absolute;left:0;right:0;bottom:0;top:0;background:linear-gradient(90.14deg,#f6f8fd .1%,#fff 49.98%,#f6f8fd 99.06%);animation:wave-data-v-1ddb38df 1.5s linear .5s infinite}.or-skeleton-text-root[data-v-1ddb38df]{height:auto;display:flex;flex-direction:column}.or-skeleton-text-root .or-skeleton-text[data-v-1ddb38df]{border-radius:var(--s-2);width:100%}.or-skeleton-text-root .or-skeleton-text-headline-1[data-v-1ddb38df]{height:1.5rem;margin:.145rem 0}.or-skeleton-text-root .or-skeleton-text-headline-2[data-v-1ddb38df]{height:1.25rem;margin:.03125rem 0}.or-skeleton-text-root .or-skeleton-text-headline-3[data-v-1ddb38df]{height:1rem;margin:.25rem 0}.or-skeleton-text-root .or-skeleton-text-body-1[data-v-1ddb38df]{height:1rem;margin:.25rem 0}.or-skeleton-text-root .or-skeleton-text-body-2[data-v-1ddb38df]{height:.875rem;margin:.21875rem 0}.or-skeleton-text-root .or-skeleton-text-button[data-v-1ddb38df]{height:.875rem;margin:.1875rem 0}.or-skeleton-text-root .or-skeleton-text-caption[data-v-1ddb38df]{height:.75rem;margin:.1875rem 0}",
|
|
241
|
+
source: "@keyframes spinAround-data-v-1ddb38df{from{transform:rotate(0)}to{transform:rotate(359deg)}}@keyframes fade-data-v-1ddb38df{from{opacity:1}to{opacity:0}}@keyframes spinAround-data-v-1ddb38df{from{transform:rotate(0)}to{transform:rotate(359deg)}}@keyframes fade-data-v-1ddb38df{from{opacity:1}to{opacity:0}}@keyframes wave-data-v-1ddb38df{0%{transform:translateX(-100%)}100%{transform:translateX(100%)}}.or-skeleton[data-v-1ddb38df]{overflow:hidden;position:relative;padding:0;background:#f6f8fd;border:0}.or-skeleton.is-animated[data-v-1ddb38df]::before{content:\"\";display:block;position:absolute;left:0;right:0;bottom:0;top:0;background:linear-gradient(90.14deg,#f6f8fd .1%,#fff 49.98%,#f6f8fd 99.06%);animation:wave-data-v-1ddb38df 1.5s linear .5s infinite}[data-theme=dark] .or-skeleton[data-v-1ddb38df]{background:var(--c-neutral-3)}[data-theme=dark] .or-skeleton.is-animated[data-v-1ddb38df]::before{background:linear-gradient(90.14deg,var(--c-neutral-3) .1%,var(--c-neutral-2) 49.98%,var(--c-neutral-3) 99.06%)}.or-skeleton-text-root[data-v-1ddb38df]{height:auto;display:flex;flex-direction:column}.or-skeleton-text-root .or-skeleton-text[data-v-1ddb38df]{border-radius:var(--s-2);width:100%}.or-skeleton-text-root .or-skeleton-text-headline-1[data-v-1ddb38df]{height:1.5rem;margin:.145rem 0}.or-skeleton-text-root .or-skeleton-text-headline-2[data-v-1ddb38df]{height:1.25rem;margin:.03125rem 0}.or-skeleton-text-root .or-skeleton-text-headline-3[data-v-1ddb38df]{height:1rem;margin:.25rem 0}.or-skeleton-text-root .or-skeleton-text-body-1[data-v-1ddb38df]{height:1rem;margin:.25rem 0}.or-skeleton-text-root .or-skeleton-text-body-2[data-v-1ddb38df]{height:.875rem;margin:.21875rem 0}.or-skeleton-text-root .or-skeleton-text-button[data-v-1ddb38df]{height:.875rem;margin:.1875rem 0}.or-skeleton-text-root .or-skeleton-text-caption[data-v-1ddb38df]{height:.75rem;margin:.1875rem 0}",
|
|
242
242
|
map: undefined,
|
|
243
243
|
media: undefined
|
|
244
244
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './index-fa6eb4ca.js';
|
|
2
2
|
import { O as OrLabel, L as LabelVariant } from './OrLabel-aff09c39.js';
|
|
3
|
-
import { O as OrLoader } from './OrLoader-
|
|
3
|
+
import { O as OrLoader } from './OrLoader-864ef92a.js';
|
|
4
4
|
import { a as useIdAttribute, u as useControlAttributes } from './useIdAttribute-cf61643f.js';
|
|
5
5
|
import { defineComponent, ref, computed, reactive } from '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
6
6
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
@@ -5,21 +5,21 @@ export { _ as OrButton, a as OrButtonColors, b as OrButtonSizes, O as OrButtonVi
|
|
|
5
5
|
export { O as OrButtonV2 } from '../OrButton-705cd0bd.js';
|
|
6
6
|
export { O as OrIconButton } from '../OrIconButton-65962c1c.js';
|
|
7
7
|
export { a as BUTTON_COLOR, c as BUTTON_LOADER_TYPE, b as BUTTON_SIZE, B as BUTTON_TYPE, I as ICON_BUTTON_TYPE } from '../constants-c5d1139f.js';
|
|
8
|
-
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, O as OrButtonV3 } from '../OrButton-
|
|
8
|
+
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, O as OrButtonV3 } from '../OrButton-d45772c1.js';
|
|
9
9
|
export { O as OrCard } from '../OrCard-a6b30f8f.js';
|
|
10
10
|
export { C as CARD_COLLECTION_LAYOUT, _ as OrCardCollection } from '../OrCardCollection-166cfcc6.js';
|
|
11
|
-
export { D as DefaultCardCollectionViews, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../OrCardCollection-
|
|
11
|
+
export { D as DefaultCardCollectionViews, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../OrCardCollection-4ac89ea5.js';
|
|
12
12
|
export { _ as OrCardV3 } from '../OrCard-45d5869b.js';
|
|
13
13
|
export { a as OrCarousel, _ as OrCarouselItem } from '../OrCarouselItem-6da755c0.js';
|
|
14
14
|
export { O as OrCheckbox } from '../OrCheckbox-4cbddd67.js';
|
|
15
15
|
export { O as OrCheckboxV3 } from '../OrCheckbox-9be450f9.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-c0af38e3.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
21
|
export { _ as OrConfirm } from '../OrConfirm-55b89b17.js';
|
|
22
|
-
export { C as ConfirmType, _ as OrConfirmV3 } from '../OrConfirm-
|
|
22
|
+
export { C as ConfirmType, _ as OrConfirmV3 } from '../OrConfirm-8c0e957d.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';
|
|
25
25
|
export { _ as OrErrorTagV3 } from '../OrErrorTag-97a9112b.js';
|
|
@@ -46,20 +46,20 @@ export { L as LinkColor, _ as OrLinkV3 } from '../OrLink-0d952e87.js';
|
|
|
46
46
|
export { O as OrList } from '../OrList-4e84a3b4.js';
|
|
47
47
|
export { _ as OrListOfInputs } from '../OrListOfInputs-ab7f9d97.js';
|
|
48
48
|
export { L as LoaderViews, O as OrLoader } from '../OrLoader-05057239.js';
|
|
49
|
-
export { a as LoaderColor, b as LoaderSize, L as LoaderVariant, O as OrLoaderV3 } from '../OrLoader-
|
|
49
|
+
export { a as LoaderColor, b as LoaderSize, L as LoaderVariant, O as OrLoaderV3 } from '../OrLoader-864ef92a.js';
|
|
50
50
|
export { O as OrMenuItemV3 } from '../OrMenuItem-e2693a5f.js';
|
|
51
51
|
export { O as OrMenuV3 } from '../OrMenu-52da43bc.js';
|
|
52
52
|
export { P as MenuPlacement, O as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant, P as TooltipPlacement } from '../OrPopover-4e8acb7b.js';
|
|
53
53
|
export { O as OrModal, a as OrModalSizes } from '../OrModal-a5411b0d.js';
|
|
54
54
|
export { M as ModalSize, _ as OrModalV3 } from '../OrModal-78f5d49e.js';
|
|
55
|
-
export { a as OR_NOTIFICATION_SIZE, O as OR_NOTIFICATION_TYPE, _ as OrNotification } from '../OrNotification-
|
|
55
|
+
export { a as OR_NOTIFICATION_SIZE, O as OR_NOTIFICATION_TYPE, _ as OrNotification } from '../OrNotification-2e2a1941.js';
|
|
56
56
|
export { N as NotificationVariant, _ as OrNotificationV3 } from '../OrNotification-458fe937.js';
|
|
57
57
|
export { _ as OrNumberInput } from '../OrNumberInput-face8ccc.js';
|
|
58
58
|
export { _ as OrOverflowMenu } from '../OrOverflowMenu-711e460e.js';
|
|
59
59
|
export { O as OrOverlay } from '../OrOverlay-47967a8b.js';
|
|
60
60
|
export { O as OrOverlayV3 } from '../OrOverlay-efa7992e.js';
|
|
61
61
|
export { _ as OrPassword } from '../OrPassword-a818e7b5.js';
|
|
62
|
-
export { _ as OrPaginationV3 } from '../OrPagination-
|
|
62
|
+
export { _ as OrPaginationV3 } from '../OrPagination-daf25de2.js';
|
|
63
63
|
export { O as OrProgress, a as OrProgressColors, b as OrProgressTypes } from '../OrProgress-de947341.js';
|
|
64
64
|
export { _ as OrProgressV3, P as ProgressColor, a as ProgressType } from '../OrProgress-15fe65ec.js';
|
|
65
65
|
export { _ as OrRadio } from '../OrRadio-187d6fc7.js';
|
|
@@ -73,13 +73,13 @@ export { _ as OrSelectV3 } from '../OrSelect-2ececfc1.js';
|
|
|
73
73
|
export { _ as OrSidebar, O as OrSidebarSide } from '../OrSidebar-e2b2c9ec.js';
|
|
74
74
|
export { _ as OrSidebarV3 } from '../OrSidebar-a2bc21b9.js';
|
|
75
75
|
export { O as OrSidebarPlacement } from '../OrSidebarCollapseButton-8297ef86.js';
|
|
76
|
-
export { _ as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from '../OrSkeletonText-
|
|
76
|
+
export { _ as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from '../OrSkeletonText-2f1a3cc7.js';
|
|
77
77
|
export { _ as OrSkeletonCircleV3, a as OrSkeletonRectV3, b as OrSkeletonTextV3 } from '../OrSkeletonText-9a2f39dc.js';
|
|
78
78
|
export { _ as OrSlider } from '../OrSlider-59d05856.js';
|
|
79
79
|
export { _ as OrSortHeaderV3 } from '../OrSortHeader-565ace92.js';
|
|
80
80
|
export { _ as OrStepper } from '../OrStepper-3fc1a2b3.js';
|
|
81
81
|
export { _ as OrSwitch } from '../OrSwitch-47670dbd.js';
|
|
82
|
-
export { _ as OrSwitchV3 } from '../OrSwitch-
|
|
82
|
+
export { _ as OrSwitchV3 } from '../OrSwitch-782d7b43.js';
|
|
83
83
|
export { _ as OrTab } from '../OrTab-b2c6d977.js';
|
|
84
84
|
export { O as OrTabHeaderItem } from '../OrTabHeaderItem-d39c3cf7.js';
|
|
85
85
|
export { O as OrTabV3 } from '../OrTab-8c5acf8a.js';
|
|
@@ -95,7 +95,7 @@ export { _ as OrTextareaV3 } from '../OrTextarea-5c57c02b.js';
|
|
|
95
95
|
export { _ as OrTextbox, T as TextboxTypes } from '../OrTextbox-eacd9b19.js';
|
|
96
96
|
export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from '../useToast-1faa828c.js';
|
|
97
97
|
export { O as OrToast, _ as OrToastContainer } from '../OrToastContainer-b03adc37.js';
|
|
98
|
-
export { _ as OrToastContainerV3, O as OrToastV3, t as TypesV3 } from '../types-
|
|
98
|
+
export { _ as OrToastContainerV3, O as OrToastV3, t as TypesV3 } from '../types-309b7b94.js';
|
|
99
99
|
export { p as PropsV3, a as useQueueV3, u as useToastV3 } from '../useToast-3a3d4280.js';
|
|
100
100
|
export { O as OrTooltip } from '../OrTooltip-dfea7af2.js';
|
|
101
101
|
export { O as OrTooltipContent } from '../OrTooltipContent-f0fd5f75.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, O as OrButtonV3 } from '../../OrButton-
|
|
1
|
+
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, O as OrButtonV3 } from '../../OrButton-d45772c1.js';
|
|
2
2
|
import '../../index-fa6eb4ca.js';
|
|
3
3
|
import 'vue';
|
|
4
4
|
import '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
5
|
-
import '../../OrLoader-
|
|
5
|
+
import '../../OrLoader-864ef92a.js';
|
|
6
6
|
import '../../normalize-component-6e8e3d80.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { D as DefaultCardCollectionViews, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../../OrCardCollection-
|
|
1
|
+
export { D as DefaultCardCollectionViews, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../../OrCardCollection-4ac89ea5.js';
|
|
2
2
|
import '../../index-fa6eb4ca.js';
|
|
3
3
|
import 'vue';
|
|
4
4
|
import '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
@@ -15,8 +15,8 @@ import '../../OrTeleport.vue2-e9ba3054.js';
|
|
|
15
15
|
import 'portal-vue';
|
|
16
16
|
import '../../useElevation-aac032f4.js';
|
|
17
17
|
import '../../useResponsive-e13dfbb0.js';
|
|
18
|
-
import '../../OrButton-
|
|
19
|
-
import '../../OrLoader-
|
|
18
|
+
import '../../OrButton-d45772c1.js';
|
|
19
|
+
import '../../OrLoader-864ef92a.js';
|
|
20
20
|
import '../../OrMenu-52da43bc.js';
|
|
21
21
|
import '../../OrMenuItem-e2693a5f.js';
|
|
22
22
|
import '../../OrSearch-09fd004c.js';
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Extension } from '@codemirror/state';
|
|
2
|
+
import { HighlightStyle } from '@codemirror/language';
|
|
3
|
+
export declare const color: {
|
|
4
|
+
chalky: string;
|
|
5
|
+
coral: string;
|
|
6
|
+
cyan: string;
|
|
7
|
+
invalid: string;
|
|
8
|
+
ivory: string;
|
|
9
|
+
stone: string;
|
|
10
|
+
malibu: string;
|
|
11
|
+
sage: string;
|
|
12
|
+
whiskey: string;
|
|
13
|
+
violet: string;
|
|
14
|
+
darkBackground: string;
|
|
15
|
+
highlightBackground: string;
|
|
16
|
+
background: string;
|
|
17
|
+
tooltipBackground: string;
|
|
18
|
+
selection: string;
|
|
19
|
+
cursor: string;
|
|
20
|
+
};
|
|
21
|
+
export declare const orCodeTheme: Extension;
|
|
22
|
+
export declare const orCodeHighlightStyle: HighlightStyle;
|
|
23
|
+
declare const theme: Extension;
|
|
24
|
+
export default theme;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { C as ConfirmType, _ as OrConfirmV3 } from '../../OrConfirm-
|
|
1
|
+
export { C as ConfirmType, _ as OrConfirmV3 } from '../../OrConfirm-8c0e957d.js';
|
|
2
2
|
import '@vueuse/core';
|
|
3
3
|
import '../../index-17f264f9.js';
|
|
4
4
|
import '../../index-fa6eb4ca.js';
|
|
@@ -9,8 +9,8 @@ import '../../OrTeleport.vue2-e9ba3054.js';
|
|
|
9
9
|
import 'portal-vue';
|
|
10
10
|
import '../../normalize-component-6e8e3d80.js';
|
|
11
11
|
import '../../useElevation-aac032f4.js';
|
|
12
|
-
import '../../OrButton-
|
|
13
|
-
import '../../OrLoader-
|
|
12
|
+
import '../../OrButton-d45772c1.js';
|
|
13
|
+
import '../../OrLoader-864ef92a.js';
|
|
14
14
|
import '../../OrInput-00070eee.js';
|
|
15
15
|
import '../../OrError-52f668a4.js';
|
|
16
16
|
import '../../OrHint-fde53334.js';
|