@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
|
@@ -2,9 +2,9 @@ import { useToggle } from '@vueuse/core';
|
|
|
2
2
|
import { defineComponent, ref, computed, resolveComponent, openBlock, createElementBlock, normalizeClass, renderSlot, createCommentVNode, createVNode, createElementVNode, toDisplayString, createBlock, withModifiers, onBeforeMount, onBeforeUnmount, nextTick } from 'vue';
|
|
3
3
|
import { T as ToastType, P as PositionsX, b as PositionsY, c as TransitionType, d as useToastEventBus, a as useQueue } from './useToast-4d4329cd.js';
|
|
4
4
|
import './OrIconButton-e0566ecf.js';
|
|
5
|
-
import './OrLoader-
|
|
5
|
+
import './OrLoader-123ef8c4.js';
|
|
6
6
|
import { s as script$2 } from './OrIconButton.vue_vue_type_script_lang-7d1c3fe1.js';
|
|
7
|
-
import { s as script$3 } from './OrLoader.vue_vue_type_script_lang-
|
|
7
|
+
import { s as script$3 } from './OrLoader.vue_vue_type_script_lang-4c3c1ac9.js';
|
|
8
8
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
9
9
|
import './OrOverlay.vue_vue_type_script_lang-7edd25f6.js';
|
|
10
10
|
import { s as script$4 } from './OrTeleport.vue3.vue_vue_type_script_lang-4dc70cf1.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
|
-
import { _ as __vue_component__$1 } from './OrLoader-
|
|
2
|
+
import { _ as __vue_component__$1 } from './OrLoader-76307488.js';
|
|
3
3
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
4
4
|
|
|
5
5
|
var ButtonVariant;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, ref, watch } from 'vue-demi';
|
|
2
|
-
import { _ as __vue_component__$3 } from './OrButton-
|
|
2
|
+
import { _ as __vue_component__$3 } from './OrButton-66964360.js';
|
|
3
3
|
import { _ as __vue_component__$2 } from './OrIconButton-04a3566d.js';
|
|
4
4
|
import { _ as __vue_component__$6 } from './OrIcon-f34e0e6f.js';
|
|
5
5
|
import { _ as __vue_component__$5 } from './OrMenuItem-7b7fbf8a.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { EditorState } from '@codemirror/state';
|
|
2
|
-
import { keymap } from '@codemirror/view';
|
|
2
|
+
import { EditorView, keymap } from '@codemirror/view';
|
|
3
3
|
import { indentWithTab } from '@codemirror/commands';
|
|
4
|
+
import { basicSetup, EditorView as EditorView$1 } from 'codemirror';
|
|
4
5
|
import { useElementHover } from '@vueuse/core';
|
|
5
|
-
import { basicSetup, EditorView } from 'codemirror';
|
|
6
6
|
import _ from 'lodash';
|
|
7
7
|
import { defineComponent, ref } from 'vue-demi';
|
|
8
8
|
import './OrIconButton.vue_rollup-plugin-vue_script-9fb7b7ab.js';
|
|
@@ -18,6 +18,8 @@ import { css } from '@codemirror/lang-css';
|
|
|
18
18
|
import { json } from '@codemirror/lang-json';
|
|
19
19
|
import { javascript } from '@codemirror/lang-javascript';
|
|
20
20
|
import { markdown } from '@codemirror/lang-markdown';
|
|
21
|
+
import { HighlightStyle, syntaxHighlighting } from '@codemirror/language';
|
|
22
|
+
import { tags } from '@lezer/highlight';
|
|
21
23
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
22
24
|
|
|
23
25
|
var OrCodeLanguages;
|
|
@@ -49,6 +51,173 @@ var languages = {
|
|
|
49
51
|
[OrCodeLanguages.MD]: MD
|
|
50
52
|
};
|
|
51
53
|
|
|
54
|
+
// Using https://github.com/one-dark/vscode-one-dark-theme/ as reference for the colors
|
|
55
|
+
const chalky = 'var(--c-warning-darken-20)',
|
|
56
|
+
coral = 'var(--c-error)',
|
|
57
|
+
cyan = '#56b6c2',
|
|
58
|
+
invalid = 'var(--c-white)',
|
|
59
|
+
ivory = 'var(--c-neutral-6)',
|
|
60
|
+
stone = 'var(--c-neutral-5)',
|
|
61
|
+
// Brightened compared to original to increase contrast
|
|
62
|
+
malibu = '#61afef',
|
|
63
|
+
sage = 'var(--c-success)',
|
|
64
|
+
whiskey = 'var(--c-warning-darken-5)',
|
|
65
|
+
violet = '#c678dd',
|
|
66
|
+
darkBackground = 'var(--c-neutral-1)',
|
|
67
|
+
highlightBackground = 'var(--c-neutral-2)',
|
|
68
|
+
background = 'var(--c-neutral-1)',
|
|
69
|
+
tooltipBackground = 'var(--c-neutral-2)',
|
|
70
|
+
selection = 'var(--c-neutral-3)',
|
|
71
|
+
cursor = 'var(--c-primary)';
|
|
72
|
+
/// The editor theme styles for One Dark.
|
|
73
|
+
const orCodeTheme = EditorView.theme({
|
|
74
|
+
'&': {
|
|
75
|
+
color: ivory,
|
|
76
|
+
backgroundColor: background
|
|
77
|
+
},
|
|
78
|
+
'.cm-content': {
|
|
79
|
+
caretColor: cursor
|
|
80
|
+
},
|
|
81
|
+
'.cm-button': {
|
|
82
|
+
background: highlightBackground,
|
|
83
|
+
color: 'var(--c-neutral-6)',
|
|
84
|
+
border: 0,
|
|
85
|
+
borderRadius: 'var(--s-2)'
|
|
86
|
+
},
|
|
87
|
+
'.cm-panel.cm-search input[type=checkbox]': {
|
|
88
|
+
display: 'inline-block',
|
|
89
|
+
verticalAlign: 'middle'
|
|
90
|
+
},
|
|
91
|
+
'.cm-cursor, .cm-dropCursor': {
|
|
92
|
+
borderLeftColor: cursor
|
|
93
|
+
},
|
|
94
|
+
'&.cm-focused .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection': {
|
|
95
|
+
backgroundColor: selection
|
|
96
|
+
},
|
|
97
|
+
'.cm-panels': {
|
|
98
|
+
backgroundColor: darkBackground,
|
|
99
|
+
color: ivory
|
|
100
|
+
},
|
|
101
|
+
'.cm-panels.cm-panels-top': {
|
|
102
|
+
borderBottom: '2px solid var(--c-neutral-2)'
|
|
103
|
+
},
|
|
104
|
+
'.cm-panels.cm-panels-bottom': {
|
|
105
|
+
borderTop: '2px solid var(--c-neutral-2)'
|
|
106
|
+
},
|
|
107
|
+
'.cm-searchMatch': {
|
|
108
|
+
backgroundColor: 'var(--c-neutral-1)',
|
|
109
|
+
outline: '1px solid var(--c-neutral-2)'
|
|
110
|
+
},
|
|
111
|
+
'.cm-searchMatch.cm-searchMatch-selected': {
|
|
112
|
+
backgroundColor: '#6199ff2f'
|
|
113
|
+
},
|
|
114
|
+
'.cm-activeLine': {
|
|
115
|
+
backgroundColor: '#6699ff0b'
|
|
116
|
+
},
|
|
117
|
+
'.cm-selectionMatch': {
|
|
118
|
+
backgroundColor: '#aafe661a'
|
|
119
|
+
},
|
|
120
|
+
'&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket': {
|
|
121
|
+
backgroundColor: '#bad0f847'
|
|
122
|
+
},
|
|
123
|
+
'.cm-gutters': {
|
|
124
|
+
backgroundColor: background,
|
|
125
|
+
color: stone,
|
|
126
|
+
border: 'none'
|
|
127
|
+
},
|
|
128
|
+
'.cm-activeLineGutter': {
|
|
129
|
+
backgroundColor: highlightBackground
|
|
130
|
+
},
|
|
131
|
+
'.cm-foldPlaceholder': {
|
|
132
|
+
backgroundColor: 'transparent',
|
|
133
|
+
border: 'none',
|
|
134
|
+
color: '#ddd'
|
|
135
|
+
},
|
|
136
|
+
'.cm-tooltip': {
|
|
137
|
+
border: 'none',
|
|
138
|
+
backgroundColor: tooltipBackground
|
|
139
|
+
},
|
|
140
|
+
'.cm-tooltip .cm-tooltip-arrow:before': {
|
|
141
|
+
borderTopColor: 'transparent',
|
|
142
|
+
borderBottomColor: 'transparent'
|
|
143
|
+
},
|
|
144
|
+
'.cm-tooltip .cm-tooltip-arrow:after': {
|
|
145
|
+
borderTopColor: tooltipBackground,
|
|
146
|
+
borderBottomColor: tooltipBackground
|
|
147
|
+
},
|
|
148
|
+
'.cm-tooltip-autocomplete': {
|
|
149
|
+
'& > ul > li[aria-selected]': {
|
|
150
|
+
backgroundColor: highlightBackground,
|
|
151
|
+
color: ivory
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
'.cm-textfield': {
|
|
155
|
+
outline: 'none',
|
|
156
|
+
background: background,
|
|
157
|
+
color: 'var(--c-neutral-6)',
|
|
158
|
+
backgroundColor: 'var(--c-neutral-1)',
|
|
159
|
+
border: '1px solid var(--c-neutral-2)',
|
|
160
|
+
borderRadius: 'var(--s-2)'
|
|
161
|
+
}
|
|
162
|
+
}, {
|
|
163
|
+
dark: true
|
|
164
|
+
});
|
|
165
|
+
/// The highlighting style for code in the One Dark theme.
|
|
166
|
+
const orCodeHighlightStyle = HighlightStyle.define([{
|
|
167
|
+
tag: tags.keyword,
|
|
168
|
+
color: violet
|
|
169
|
+
}, {
|
|
170
|
+
tag: [tags.name, tags.deleted, tags.character, tags.propertyName, tags.macroName],
|
|
171
|
+
color: coral
|
|
172
|
+
}, {
|
|
173
|
+
tag: [tags.function(tags.variableName), tags.labelName],
|
|
174
|
+
color: malibu
|
|
175
|
+
}, {
|
|
176
|
+
tag: [tags.color, tags.constant(tags.name), tags.standard(tags.name)],
|
|
177
|
+
color: whiskey
|
|
178
|
+
}, {
|
|
179
|
+
tag: [tags.definition(tags.name), tags.separator],
|
|
180
|
+
color: ivory
|
|
181
|
+
}, {
|
|
182
|
+
tag: [tags.typeName, tags.className, tags.number, tags.changed, tags.annotation, tags.modifier, tags.self, tags.namespace],
|
|
183
|
+
color: chalky
|
|
184
|
+
}, {
|
|
185
|
+
tag: [tags.operator, tags.operatorKeyword, tags.url, tags.escape, tags.regexp, tags.link, tags.special(tags.string)],
|
|
186
|
+
color: cyan
|
|
187
|
+
}, {
|
|
188
|
+
tag: [tags.meta, tags.comment],
|
|
189
|
+
color: stone
|
|
190
|
+
}, {
|
|
191
|
+
tag: tags.strong,
|
|
192
|
+
fontWeight: 'bold'
|
|
193
|
+
}, {
|
|
194
|
+
tag: tags.emphasis,
|
|
195
|
+
fontStyle: 'italic'
|
|
196
|
+
}, {
|
|
197
|
+
tag: tags.strikethrough,
|
|
198
|
+
textDecoration: 'line-through'
|
|
199
|
+
}, {
|
|
200
|
+
tag: tags.link,
|
|
201
|
+
color: stone,
|
|
202
|
+
textDecoration: 'underline'
|
|
203
|
+
}, {
|
|
204
|
+
tag: tags.heading,
|
|
205
|
+
fontWeight: 'bold',
|
|
206
|
+
color: coral
|
|
207
|
+
}, {
|
|
208
|
+
tag: [tags.atom, tags.bool, tags.special(tags.variableName)],
|
|
209
|
+
color: whiskey
|
|
210
|
+
}, {
|
|
211
|
+
tag: [tags.processingInstruction, tags.string, tags.inserted],
|
|
212
|
+
color: sage
|
|
213
|
+
}, {
|
|
214
|
+
tag: tags.invalid,
|
|
215
|
+
color: invalid
|
|
216
|
+
}]);
|
|
217
|
+
/// Extension to enable the One Dark theme (both the editor theme and
|
|
218
|
+
/// the highlight style).
|
|
219
|
+
const theme = [orCodeTheme, syntaxHighlighting(orCodeHighlightStyle)];
|
|
220
|
+
|
|
52
221
|
//partially based on https://github.com/logue/vue-codemirror6/blob/master/src/components/CodeMirror.vue
|
|
53
222
|
var script = defineComponent({
|
|
54
223
|
name: 'OrCode',
|
|
@@ -132,11 +301,12 @@ var script = defineComponent({
|
|
|
132
301
|
setup(props, {
|
|
133
302
|
emit
|
|
134
303
|
}) {
|
|
304
|
+
// editor config
|
|
135
305
|
const root = ref();
|
|
136
306
|
const target = ref();
|
|
137
307
|
const fullscreenTarget = ref();
|
|
138
308
|
const isHovered = useElementHover(root);
|
|
139
|
-
const editor = new EditorView({
|
|
309
|
+
const editor = new EditorView$1({
|
|
140
310
|
state: EditorState.create({
|
|
141
311
|
doc: props.modelValue
|
|
142
312
|
}),
|
|
@@ -173,21 +343,19 @@ var script = defineComponent({
|
|
|
173
343
|
allowPaste,
|
|
174
344
|
lineWrapping
|
|
175
345
|
} = this;
|
|
176
|
-
const ext = _.compact([
|
|
177
|
-
// Toggle light/dark mode
|
|
178
|
-
EditorView.baseTheme({}),
|
|
346
|
+
const ext = _.compact([theme, EditorView$1.baseTheme({}),
|
|
179
347
|
// locale settings
|
|
180
348
|
this.phrases ? EditorState.phrases.of(this.phrases) : undefined,
|
|
181
349
|
// Parser language setting
|
|
182
350
|
this.localLanguage,
|
|
183
351
|
// Editable option
|
|
184
|
-
EditorView.editable.of(!this.isReadonly),
|
|
352
|
+
EditorView$1.editable.of(!this.isReadonly),
|
|
185
353
|
// Focus and blur listener
|
|
186
|
-
EditorView.updateListener.of(viewUpdate => {
|
|
354
|
+
EditorView$1.updateListener.of(viewUpdate => {
|
|
187
355
|
if (viewUpdate.focusChanged) {
|
|
188
356
|
viewUpdate.view.hasFocus ? this.$emit('focus') : this.$emit('blur', viewUpdate.state.doc.toString());
|
|
189
357
|
}
|
|
190
|
-
}), EditorView.domEventHandlers({
|
|
358
|
+
}), EditorView$1.domEventHandlers({
|
|
191
359
|
drop(event) {
|
|
192
360
|
if (!allowDrop) {
|
|
193
361
|
event.preventDefault();
|
|
@@ -202,10 +370,8 @@ var script = defineComponent({
|
|
|
202
370
|
}
|
|
203
371
|
}),
|
|
204
372
|
// line wrapping
|
|
205
|
-
lineWrapping ? EditorView.lineWrapping : undefined, keymap.of([indentWithTab])]);
|
|
206
|
-
|
|
207
|
-
if (this.extensions.length !== 0) _.merge(ext, this.extensions);
|
|
208
|
-
return ext;
|
|
373
|
+
lineWrapping ? EditorView$1.lineWrapping : undefined, keymap.of([indentWithTab]), ...this.extensions]);
|
|
374
|
+
return [...ext];
|
|
209
375
|
},
|
|
210
376
|
isShowingError() {
|
|
211
377
|
return !!this.error && this.isInvalid;
|
|
@@ -297,7 +463,7 @@ var __vue_render__ = function () {
|
|
|
297
463
|
staticClass: "fullscreen-button",
|
|
298
464
|
attrs: {
|
|
299
465
|
"icon": "fullscreen",
|
|
300
|
-
"icon-color": "neutral-
|
|
466
|
+
"icon-color": "neutral-4"
|
|
301
467
|
},
|
|
302
468
|
on: {
|
|
303
469
|
"click": function ($event) {
|
|
@@ -365,14 +531,14 @@ var __vue_staticRenderFns__ = [];
|
|
|
365
531
|
/* style */
|
|
366
532
|
const __vue_inject_styles__ = function (inject) {
|
|
367
533
|
if (!inject) return;
|
|
368
|
-
inject("data-v-
|
|
369
|
-
source: "@keyframes spinAround-data-v-
|
|
534
|
+
inject("data-v-0e7eeac0_0", {
|
|
535
|
+
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}",
|
|
370
536
|
map: undefined,
|
|
371
537
|
media: undefined
|
|
372
538
|
});
|
|
373
539
|
};
|
|
374
540
|
/* scoped */
|
|
375
|
-
const __vue_scope_id__ = "data-v-
|
|
541
|
+
const __vue_scope_id__ = "data-v-0e7eeac0";
|
|
376
542
|
/* module identifier */
|
|
377
543
|
const __vue_module_identifier__ = undefined;
|
|
378
544
|
/* functional template */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useMagicKeys, whenever, onClickOutside } from '@vueuse/core';
|
|
2
2
|
import { logicAnd } from '@vueuse/math';
|
|
3
3
|
import { defineComponent, ref, computed, watch } from 'vue-demi';
|
|
4
|
-
import { _ as __vue_component__$2, a as ButtonColor } from './OrButton-
|
|
4
|
+
import { _ as __vue_component__$2, a as ButtonColor } from './OrButton-66964360.js';
|
|
5
5
|
import { _ as __vue_component__$3 } from './OrInput-59a15d80.js';
|
|
6
6
|
import { _ as __vue_component__$1 } from './OrOverlay-a019186f.js';
|
|
7
7
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
@@ -20,7 +20,7 @@ var LoaderSize;
|
|
|
20
20
|
|
|
21
21
|
const LoaderRoot = [
|
|
22
22
|
// Layout
|
|
23
|
-
'flex', 'flex-col', '
|
|
23
|
+
'contents', 'flex', 'flex-col', 'space-y-md'];
|
|
24
24
|
const LoaderRootColors = {
|
|
25
25
|
'primary': [
|
|
26
26
|
// Theme
|
|
@@ -41,17 +41,10 @@ var script = defineComponent({
|
|
|
41
41
|
type: String,
|
|
42
42
|
default: LoaderVariant.Circular
|
|
43
43
|
},
|
|
44
|
-
/**
|
|
45
|
-
* Defines a semantic color of the loading indicator.
|
|
46
|
-
* Use `'inherit'` option to set your own color from the parent (not recommended).
|
|
47
|
-
*/
|
|
48
44
|
color: {
|
|
49
45
|
type: String,
|
|
50
46
|
default: LoaderColor.Primary
|
|
51
47
|
},
|
|
52
|
-
/**
|
|
53
|
-
* Defines a diameter of the circular loader. Ignored for linear one.
|
|
54
|
-
*/
|
|
55
48
|
size: {
|
|
56
49
|
type: String,
|
|
57
50
|
default: LoaderSize.M
|
|
@@ -77,26 +70,19 @@ var script = defineComponent({
|
|
|
77
70
|
// State
|
|
78
71
|
const computedSize = computed(() => {
|
|
79
72
|
switch (props.size) {
|
|
80
|
-
case
|
|
73
|
+
case 'm':
|
|
81
74
|
return 20;
|
|
82
|
-
case
|
|
75
|
+
case 's':
|
|
83
76
|
return 16;
|
|
84
77
|
}
|
|
85
78
|
});
|
|
86
|
-
/**
|
|
87
|
-
* Preserves circular loading indicator from shrinking caused by external styles.
|
|
88
|
-
*/
|
|
89
|
-
const wrapperStyle = computed(() => {
|
|
90
|
-
return `min-width: ${computedSize.value}px;`;
|
|
91
|
-
});
|
|
92
79
|
return {
|
|
93
80
|
root,
|
|
94
81
|
rootStyles,
|
|
95
82
|
containerStyles,
|
|
96
83
|
titleStyles,
|
|
97
84
|
descriptionStyles,
|
|
98
|
-
computedSize
|
|
99
|
-
wrapperStyle
|
|
85
|
+
computedSize
|
|
100
86
|
};
|
|
101
87
|
}
|
|
102
88
|
});
|
|
@@ -115,8 +101,7 @@ var __vue_render__ = function () {
|
|
|
115
101
|
}, [_vm.title ? [_c('div', {
|
|
116
102
|
class: _vm.titleStyles
|
|
117
103
|
}, [_vm._v("\n " + _vm._s(_vm.title) + "\n ")])] : _vm._e(), _vm._v(" "), _c('div', {
|
|
118
|
-
class: _vm.containerStyles
|
|
119
|
-
style: _vm.wrapperStyle
|
|
104
|
+
class: _vm.containerStyles
|
|
120
105
|
}, [_vm.variant === 'circular' ? [_c('svg', {
|
|
121
106
|
attrs: {
|
|
122
107
|
"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 { defineComponent, ref, computed } from 'vue-demi';
|
|
2
|
-
import { _ as __vue_component__$1 } from './OrButton-
|
|
2
|
+
import { _ as __vue_component__$1 } from './OrButton-66964360.js';
|
|
3
3
|
import { _ as __vue_component__$2 } from './OrIcon-f34e0e6f.js';
|
|
4
4
|
import { _ as __vue_component__$4 } from './OrMenuItem-7b7fbf8a.js';
|
|
5
5
|
import { _ as __vue_component__$3 } from './OrMenu-c276db74.js';
|
|
@@ -58,7 +58,7 @@ var __vue_staticRenderFns__$2 = [];
|
|
|
58
58
|
const __vue_inject_styles__$2 = function (inject) {
|
|
59
59
|
if (!inject) return;
|
|
60
60
|
inject("data-v-2bdce55a_0", {
|
|
61
|
-
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}",
|
|
61
|
+
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}",
|
|
62
62
|
map: undefined,
|
|
63
63
|
media: undefined
|
|
64
64
|
});
|
|
@@ -135,7 +135,7 @@ var __vue_staticRenderFns__$1 = [];
|
|
|
135
135
|
const __vue_inject_styles__$1 = function (inject) {
|
|
136
136
|
if (!inject) return;
|
|
137
137
|
inject("data-v-570f1e07_0", {
|
|
138
|
-
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)}",
|
|
138
|
+
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)}",
|
|
139
139
|
map: undefined,
|
|
140
140
|
media: undefined
|
|
141
141
|
});
|
|
@@ -235,7 +235,7 @@ var __vue_staticRenderFns__ = [];
|
|
|
235
235
|
const __vue_inject_styles__ = function (inject) {
|
|
236
236
|
if (!inject) return;
|
|
237
237
|
inject("data-v-1ddb38df_0", {
|
|
238
|
-
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}",
|
|
238
|
+
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}",
|
|
239
239
|
map: undefined,
|
|
240
240
|
media: undefined
|
|
241
241
|
});
|
|
@@ -2,7 +2,7 @@ import { defineComponent, ref, computed, reactive } from 'vue-demi';
|
|
|
2
2
|
import { a as useIdAttribute, u as useControlAttributes } from './useIdAttribute-859439f0.js';
|
|
3
3
|
import '@vueuse/core';
|
|
4
4
|
import { _ as __vue_component__$1, L as LabelVariant } from './OrLabel-0945a4d9.js';
|
|
5
|
-
import { _ as __vue_component__$2 } from './OrLoader-
|
|
5
|
+
import { _ as __vue_component__$2 } from './OrLoader-76307488.js';
|
|
6
6
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
7
7
|
import { c as createInjector } from './browser-82dea9ed.js';
|
|
8
8
|
|
|
@@ -5,21 +5,21 @@ export { _ as OrButton, a as OrButtonColors, b as OrButtonSizes, O as OrButtonVi
|
|
|
5
5
|
export { _ as OrButtonV2 } from '../OrButton-c4f9955b.js';
|
|
6
6
|
export { _ as OrIconButton } from '../OrIconButton-014e86a7.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 '../OrIconButton.vue_rollup-plugin-vue_script-9fb7b7ab.js';
|
|
8
|
-
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, _ as OrButtonV3 } from '../OrButton-
|
|
8
|
+
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, _ as OrButtonV3 } from '../OrButton-66964360.js';
|
|
9
9
|
export { _ as OrCard } from '../OrCard-b7268256.js';
|
|
10
10
|
export { C as CARD_COLLECTION_LAYOUT, _ as OrCardCollection } from '../OrCardCollection-19582949.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-5a9eda35.js';
|
|
12
12
|
export { _ as OrCardV3 } from '../OrCard-e89c44ef.js';
|
|
13
13
|
export { a as OrCarousel, _ as OrCarouselItem } from '../OrCarouselItem-4e2cf3d8.js';
|
|
14
14
|
export { _ as OrCheckbox } from '../OrCheckbox-915f1f0a.js';
|
|
15
15
|
export { _ as OrCheckboxV3 } from '../OrCheckbox-b380c131.js';
|
|
16
16
|
export { _ as OrChip } from '../OrChips.vue_rollup-plugin-vue_script-aa8fedaa.js';
|
|
17
17
|
export { _ as OrChips } from '../OrChips-5e0063be.js';
|
|
18
|
-
export { _ as OrCode, O as OrCodeLanguages } from '../OrCode-
|
|
18
|
+
export { _ as OrCode, O as OrCodeLanguages } from '../OrCode-47331c24.js';
|
|
19
19
|
export { _ as OrCollapse } from '../OrCollapse-4d892ca3.js';
|
|
20
20
|
export { _ as OrColorPicker, h as amber, n as black, b as blue, m as blueGrey, k as brown, c as cyan, j as deepOrange, d as deepPurple, g as green, i as indigo, l as lightBlue, e as lightGreen, f as lime, o as orange, p as pink, a as purple, r as red, t as teal, w as white, y as yellow } from '../OrColorPicker-75abefdd.js';
|
|
21
21
|
export { _ as OrConfirm } from '../OrConfirm-ede619eb.js';
|
|
22
|
-
export { C as ConfirmType, _ as OrConfirmV3 } from '../OrConfirm-
|
|
22
|
+
export { C as ConfirmType, _ as OrConfirmV3 } from '../OrConfirm-9dbdedd7.js';
|
|
23
23
|
export { D as DEFAULT_TEXT, _ as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from '../OrDateTimePicker-349df9b2.js';
|
|
24
24
|
export { _ as OrError } from '../OrError-081130bb.js';
|
|
25
25
|
export { _ as OrErrorTagV3 } from '../OrErrorTag-80f82cdf.js';
|
|
@@ -46,20 +46,20 @@ export { L as LinkColor, _ as OrLinkV3 } from '../OrLink-597e0e18.js';
|
|
|
46
46
|
export { _ as OrList } from '../OrList-d4781f7b.js';
|
|
47
47
|
export { _ as OrListOfInputs } from '../OrListOfInputs-4298fa2c.js';
|
|
48
48
|
export { L as LoaderViews, _ as OrLoader } from '../OrLoader-003941a2.js';
|
|
49
|
-
export { a as LoaderColor, b as LoaderSize, L as LoaderVariant, _ as OrLoaderV3 } from '../OrLoader-
|
|
49
|
+
export { a as LoaderColor, b as LoaderSize, L as LoaderVariant, _ as OrLoaderV3 } from '../OrLoader-76307488.js';
|
|
50
50
|
export { _ as OrMenuItemV3 } from '../OrMenuItem-7b7fbf8a.js';
|
|
51
51
|
export { _ as OrMenuV3 } from '../OrMenu-c276db74.js';
|
|
52
52
|
export { P as MenuPlacement, _ as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant, P as TooltipPlacement } from '../OrPopover-d5d4f62a.js';
|
|
53
53
|
export { _ as OrModal, O as OrModalSizes } from '../OrModal-97e83549.js';
|
|
54
54
|
export { M as ModalSize, _ as OrModalV3 } from '../OrModal-4e79e0d5.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-a49e76d3.js';
|
|
56
56
|
export { N as NotificationVariant, _ as OrNotificationV3 } from '../OrNotification-eac3867f.js';
|
|
57
57
|
export { _ as OrNumberInput } from '../OrNumberInput-b20d75d2.js';
|
|
58
58
|
export { _ as OrOverflowMenu } from '../OrOverflowMenu-10a4166a.js';
|
|
59
59
|
export { _ as OrOverlay } from '../OrOverlay-3b52865d.js';
|
|
60
60
|
export { _ as OrOverlayV3 } from '../OrOverlay-a019186f.js';
|
|
61
61
|
export { _ as OrPassword } from '../OrPassword-e6d5e968.js';
|
|
62
|
-
export { _ as OrPaginationV3 } from '../OrPagination-
|
|
62
|
+
export { _ as OrPaginationV3 } from '../OrPagination-1adbcadb.js';
|
|
63
63
|
export { _ as OrProgress, O as OrProgressColors, a as OrProgressTypes } from '../OrProgress-4ee24824.js';
|
|
64
64
|
export { _ as OrProgressV3, P as ProgressColor, a as ProgressType } from '../OrProgress-b7d1c689.js';
|
|
65
65
|
export { _ as OrRadio } from '../OrRadio-e4198532.js';
|
|
@@ -73,13 +73,13 @@ export { _ as OrSelectV3 } from '../OrSelect-e31d1c8b.js';
|
|
|
73
73
|
export { _ as OrSidebar, O as OrSidebarSide } from '../OrSidebar-7d6125bb.js';
|
|
74
74
|
export { _ as OrSidebarV3 } from '../OrSidebar-27236fbd.js';
|
|
75
75
|
export { O as OrSidebarPlacement } from '../OrSidebarCollapseButton-cfe51a60.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-24509efe.js';
|
|
77
77
|
export { _ as OrSkeletonCircleV3, a as OrSkeletonRectV3, b as OrSkeletonTextV3 } from '../OrSkeletonText-6ee72718.js';
|
|
78
78
|
export { _ as OrSlider } from '../OrSlider-f7b9c7c2.js';
|
|
79
79
|
export { _ as OrSortHeaderV3 } from '../OrSortHeader-592727dc.js';
|
|
80
80
|
export { _ as OrStepper } from '../OrStepper-4f44e7b7.js';
|
|
81
81
|
export { _ as OrSwitch } from '../OrSwitch-f25f27f9.js';
|
|
82
|
-
export { _ as OrSwitchV3 } from '../OrSwitch-
|
|
82
|
+
export { _ as OrSwitchV3 } from '../OrSwitch-8549219a.js';
|
|
83
83
|
export { _ as OrTab } from '../OrTab-eade8ab6.js';
|
|
84
84
|
export { _ as OrTabHeaderItem } from '../OrTabHeaderItem-d1a340d1.js';
|
|
85
85
|
export { _ as OrTabV3 } from '../OrTab-1ff87c76.js';
|
|
@@ -95,7 +95,7 @@ export { _ as OrTextareaV3 } from '../OrTextarea-a5a3572b.js';
|
|
|
95
95
|
export { _ as OrTextbox, T as TextboxTypes } from '../OrTextbox-2594c980.js';
|
|
96
96
|
export { _ as OrToast, a as OrToastContainer } from '../OrToastContainer-2fbd4358.js';
|
|
97
97
|
export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from '../useToast-4fbe0e5a.js';
|
|
98
|
-
export { a as OrToastContainerV3, _ as OrToastV3, t as TypesV3 } from '../types-
|
|
98
|
+
export { a as OrToastContainerV3, _ as OrToastV3, t as TypesV3 } from '../types-1f95d710.js';
|
|
99
99
|
export { p as PropsV3, a as useQueueV3, u as useToastV3 } from '../useToast-0665462d.js';
|
|
100
100
|
export { _ as OrTooltip } from '../OrTooltip-614b016d.js';
|
|
101
101
|
export { _ as OrTooltipContent } from '../OrTooltip.vue_rollup-plugin-vue_script-63559536.js';
|
|
@@ -117,6 +117,8 @@ import '@codemirror/lang-css';
|
|
|
117
117
|
import '@codemirror/lang-json';
|
|
118
118
|
import '@codemirror/lang-javascript';
|
|
119
119
|
import '@codemirror/lang-markdown';
|
|
120
|
+
import '@codemirror/language';
|
|
121
|
+
import '@lezer/highlight';
|
|
120
122
|
import '../px-to-rem-0b26b83e.js';
|
|
121
123
|
import '../dom-3a15d036.js';
|
|
122
124
|
import '@vueuse/math';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, _ as OrButtonV3 } from '../../OrButton-
|
|
1
|
+
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, _ as OrButtonV3 } from '../../OrButton-66964360.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
|
-
import '../../OrLoader-
|
|
3
|
+
import '../../OrLoader-76307488.js';
|
|
4
4
|
import '../../normalize-component-6e8e3d80.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
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-5a9eda35.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
|
-
import '../../OrButton-
|
|
4
|
-
import '../../OrLoader-
|
|
3
|
+
import '../../OrButton-66964360.js';
|
|
4
|
+
import '../../OrLoader-76307488.js';
|
|
5
5
|
import '../../normalize-component-6e8e3d80.js';
|
|
6
6
|
import '../../OrIconButton-04a3566d.js';
|
|
7
7
|
import '../../OrIcon-f34e0e6f.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { _ as OrCode, O as OrCodeLanguages } from '../../OrCode-
|
|
1
|
+
export { _ as OrCode, O as OrCodeLanguages } from '../../OrCode-47331c24.js';
|
|
2
2
|
import '@codemirror/state';
|
|
3
3
|
import '@codemirror/view';
|
|
4
4
|
import '@codemirror/commands';
|
|
5
|
-
import '@vueuse/core';
|
|
6
5
|
import 'codemirror';
|
|
6
|
+
import '@vueuse/core';
|
|
7
7
|
import 'lodash';
|
|
8
8
|
import 'vue-demi';
|
|
9
9
|
import '../../OrIconButton.vue_rollup-plugin-vue_script-9fb7b7ab.js';
|
|
@@ -31,3 +31,5 @@ import '@codemirror/lang-css';
|
|
|
31
31
|
import '@codemirror/lang-json';
|
|
32
32
|
import '@codemirror/lang-javascript';
|
|
33
33
|
import '@codemirror/lang-markdown';
|
|
34
|
+
import '@codemirror/language';
|
|
35
|
+
import '@lezer/highlight';
|
|
@@ -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,9 +1,9 @@
|
|
|
1
|
-
export { C as ConfirmType, _ as OrConfirmV3 } from '../../OrConfirm-
|
|
1
|
+
export { C as ConfirmType, _ as OrConfirmV3 } from '../../OrConfirm-9dbdedd7.js';
|
|
2
2
|
import '@vueuse/core';
|
|
3
3
|
import '@vueuse/math';
|
|
4
4
|
import 'vue-demi';
|
|
5
|
-
import '../../OrButton-
|
|
6
|
-
import '../../OrLoader-
|
|
5
|
+
import '../../OrButton-66964360.js';
|
|
6
|
+
import '../../OrLoader-76307488.js';
|
|
7
7
|
import '../../normalize-component-6e8e3d80.js';
|
|
8
8
|
import '../../OrInput-59a15d80.js';
|
|
9
9
|
import '../../useIdAttribute-859439f0.js';
|