@onereach/ui-components 6.4.2 → 6.5.0-beta.3403.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/components/OrCode/OrCode.js +2 -2
- package/dist/bundled/v2/components/OrCode/index.js +5 -3
- package/dist/bundled/v2/components/OrCode/lang.js +5 -3
- package/dist/bundled/v2/components/OrCode/libs.js +5 -3
- package/dist/bundled/v2/components/OrCode/theme.js +1 -1
- package/dist/bundled/v2/components/OrCodeV3/OrCode.js +52 -30
- package/dist/bundled/v2/components/OrCodeV3/OrCode.vue.d.ts +4 -3
- package/dist/bundled/v2/components/OrCodeV3/index.d.ts +1 -0
- package/dist/bundled/v2/components/OrCodeV3/index.js +5 -0
- package/dist/bundled/v2/components/OrCodeV3/libs.d.ts +6 -0
- package/dist/bundled/v2/components/OrCodeV3/libs.js +5 -0
- package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/codemirrorNode.js +2 -2
- package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/codemirrorView.js +1 -1
- package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/theme.js +1 -1
- package/dist/bundled/v2/components/index.js +6 -3
- package/dist/bundled/v2/index-317a90b7.js +361 -0
- package/dist/bundled/v2/index-5465a04e.js +825 -0
- package/dist/bundled/v2/index-5df3b1d8.js +94 -0
- package/dist/bundled/v2/index-5fa53f66.js +759 -0
- package/dist/bundled/{v3/index-ceea3e83.js → v2/index-7caa3ac5.js} +3 -3
- package/dist/bundled/v2/{index-eca317e0.js → index-bd08fe6f.js} +27 -465
- package/dist/bundled/v2/index-d017a622.js +1892 -0
- package/dist/bundled/v2/{index-62bb1bac.js → index-d4e4f8a8.js} +10 -831
- package/dist/bundled/v2/{index-3cae2d25.js → index-d5c13979.js} +1 -1
- package/dist/bundled/v2/index-f949d42c.js +1598 -0
- package/dist/bundled/v2/index.js +6 -3
- package/dist/bundled/v3/{OrCode.vue_vue_type_script_lang-e88b2b44.js → OrCode.vue_vue_type_script_lang-9be03ab0.js} +2 -2
- package/dist/bundled/v3/{OrCode.vue_vue_type_script_lang-c9522cd5.js → OrCode.vue_vue_type_script_lang-f6022ce5.js} +52 -30
- package/dist/bundled/v3/components/OrCode/OrCode.js +2 -2
- package/dist/bundled/v3/components/OrCode/index.js +6 -4
- package/dist/bundled/v3/components/OrCode/lang.js +5 -3
- package/dist/bundled/v3/components/OrCode/libs.js +5 -3
- package/dist/bundled/v3/components/OrCode/theme.js +1 -1
- package/dist/bundled/v3/components/OrCodeV3/OrCode.js +2 -2
- package/dist/bundled/v3/components/OrCodeV3/OrCode.vue.d.ts +3 -2
- package/dist/bundled/v3/components/OrCodeV3/index.d.ts +1 -0
- package/dist/bundled/v3/components/OrCodeV3/index.js +6 -1
- package/dist/bundled/v3/components/OrCodeV3/libs.d.ts +6 -0
- package/dist/bundled/v3/components/OrCodeV3/libs.js +5 -0
- package/dist/bundled/v3/components/OrRichTextEditorV3/OrRichTextEditor.js +2 -2
- package/dist/bundled/v3/components/OrRichTextEditorV3/index.js +1 -1
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/codemirrorNode.js +2 -2
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/codemirrorView.js +1 -1
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/theme.js +1 -1
- package/dist/bundled/v3/components/index.js +9 -6
- package/dist/bundled/v3/{index-62bb1bac.js → index-16f605c7.js} +10 -831
- package/dist/bundled/v3/index-1f2974f3.js +1892 -0
- package/dist/bundled/v3/index-1fc9d52b.js +759 -0
- package/dist/bundled/v3/index-210fd8da.js +825 -0
- package/dist/bundled/{v2/index-ceea3e83.js → v3/index-71514f0d.js} +3 -3
- package/dist/bundled/v3/{index-eca317e0.js → index-766903ad.js} +27 -465
- package/dist/bundled/v3/index-a4b02e4e.js +1598 -0
- package/dist/bundled/v3/index-a8d259c3.js +361 -0
- package/dist/bundled/v3/{index-3cae2d25.js → index-e81a9bf9.js} +1 -1
- package/dist/bundled/v3/index-f6290750.js +94 -0
- package/dist/bundled/v3/index.js +9 -6
- package/dist/esm/v2/{OrCode-f5c25b63.js → OrCode-e2222cf7.js} +54 -34
- package/dist/esm/v2/components/index.js +3 -3
- package/dist/esm/v2/components/or-code-v3/OrCode.vue.d.ts +4 -3
- package/dist/esm/v2/components/or-code-v3/index.d.ts +1 -0
- package/dist/esm/v2/components/or-code-v3/index.js +9 -10
- package/dist/esm/v2/components/or-code-v3/libs.d.ts +6 -0
- package/dist/esm/v2/index.js +3 -3
- package/dist/esm/v3/{OrCode-9662d0da.js → OrCode-f6a8e9f2.js} +54 -34
- package/dist/esm/v3/components/index.js +3 -3
- package/dist/esm/v3/components/or-code-v3/OrCode.vue.d.ts +3 -2
- package/dist/esm/v3/components/or-code-v3/index.d.ts +1 -0
- package/dist/esm/v3/components/or-code-v3/index.js +9 -10
- package/dist/esm/v3/components/or-code-v3/libs.d.ts +6 -0
- package/dist/esm/v3/index.js +3 -3
- package/package.json +2 -3
- package/src/components/or-code-v3/OrCode.vue +70 -50
- package/src/components/or-code-v3/index.ts +1 -0
- package/src/components/or-code-v3/libs.ts +10 -0
- package/dist/bundled/v2/index-60e4eacf.js +0 -4048
- package/dist/bundled/v3/index-60e4eacf.js +0 -4048
- /package/dist/bundled/v3/{OrRichTextEditor.vue_vue_type_script_lang-5a2318e5.js → OrRichTextEditor.vue_vue_type_script_lang-63edf53c.js} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { E as EditorView, a as EditorState, k as keymap } from '../../index-
|
|
2
|
-
import { b as basicSetup, i as indentWithTab } from '../../index-
|
|
1
|
+
import { E as EditorView, a as EditorState, k as keymap } from '../../index-d5c13979.js';
|
|
2
|
+
import { b as basicSetup, i as indentWithTab } from '../../index-d4e4f8a8.js';
|
|
3
3
|
import { u as useElementHover } from '../../index-a488b35e.js';
|
|
4
4
|
import { defineComponent, ref } from 'vue-demi';
|
|
5
5
|
import __vue_component__$3 from '../OrTeleport/OrTeleport.js';
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export { default as OrCode } from './OrCode.js';
|
|
2
2
|
export { OrCodeLanguages } from './constants.js';
|
|
3
|
-
export { b as basicSetup
|
|
4
|
-
export {
|
|
5
|
-
export {
|
|
3
|
+
export { b as basicSetup } from '../../index-d4e4f8a8.js';
|
|
4
|
+
export { a as lintGutter, l as linter } from '../../index-5465a04e.js';
|
|
5
|
+
export { javascript } from '../../index-5fa53f66.js';
|
|
6
|
+
export { json, jsonParseLinter } from '../../index-5df3b1d8.js';
|
|
7
|
+
export { html } from '../../index-bd08fe6f.js';
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { html } from '../../index-bd08fe6f.js';
|
|
2
|
+
import { css } from '../../index-317a90b7.js';
|
|
3
|
+
import { json } from '../../index-5df3b1d8.js';
|
|
4
|
+
import { javascript } from '../../index-5fa53f66.js';
|
|
5
|
+
import { markdown } from '../../index-7caa3ac5.js';
|
|
4
6
|
import { OrCodeLanguages } from './constants.js';
|
|
5
7
|
|
|
6
8
|
const JS = javascript({
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
-
export { b as basicSetup
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
1
|
+
export { b as basicSetup } from '../../index-d4e4f8a8.js';
|
|
2
|
+
export { a as lintGutter, l as linter } from '../../index-5465a04e.js';
|
|
3
|
+
export { javascript } from '../../index-5fa53f66.js';
|
|
4
|
+
export { json, jsonParseLinter } from '../../index-5df3b1d8.js';
|
|
5
|
+
export { html } from '../../index-bd08fe6f.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as EditorView,
|
|
1
|
+
import { E as EditorView, am as HighlightStyle, a4 as tags, L as syntaxHighlighting } from '../../index-d5c13979.js';
|
|
2
2
|
|
|
3
3
|
// Using https://github.com/one-dark/vscode-one-dark-theme/ as reference for the colors
|
|
4
4
|
const chalky = 'var(--c-warning-darken-20)',
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
import { b as basicSetup, i as indentWithTab } from '../../index-62bb1bac.js';
|
|
2
|
-
import { j as json, c as css, h as html } from '../../index-eca317e0.js';
|
|
3
|
-
import { j as javascript } from '../../index-60e4eacf.js';
|
|
4
|
-
import { m as markdown } from '../../index-ceea3e83.js';
|
|
5
|
-
import { E as EditorView, k as keymap, a as EditorState } from '../../index-3cae2d25.js';
|
|
6
1
|
import { defineComponent, ref, computed, reactive, toRef, watch, onMounted, onUnmounted } from 'vue-demi';
|
|
2
|
+
import { b as basicSetup, i as indentWithTab } from '../../index-d4e4f8a8.js';
|
|
3
|
+
import { C as Compartment, k as keymap, a as EditorState, E as EditorView } from '../../index-d5c13979.js';
|
|
7
4
|
import { CodeLanguage } from './props.js';
|
|
8
5
|
import { CodeControlRoot, CodeControl, Code, CodeModal } from './styles.js';
|
|
9
6
|
import __vue_component__$2 from '../OrErrorV3/OrError.js';
|
|
@@ -222,7 +219,7 @@ var script = defineComponent({
|
|
|
222
219
|
}
|
|
223
220
|
},
|
|
224
221
|
emits: ['update:modelValue', 'keydown', 'keyup', 'focus', 'blur'],
|
|
225
|
-
expose: ['root', 'focus', 'blur'],
|
|
222
|
+
expose: ['root', 'editorView', 'focus', 'blur'],
|
|
226
223
|
setup(props, context) {
|
|
227
224
|
// Refs
|
|
228
225
|
const root = ref();
|
|
@@ -233,6 +230,8 @@ var script = defineComponent({
|
|
|
233
230
|
const rootStyles = computed(() => ['or-code-v3', ...Code]);
|
|
234
231
|
const controlStyles = computed(() => [...CodeControl]);
|
|
235
232
|
const modalStyles = computed(() => [...CodeModal]);
|
|
233
|
+
const addedExtensionCompartment = new Compartment();
|
|
234
|
+
const languageExtensionCompartment = new Compartment();
|
|
236
235
|
// State
|
|
237
236
|
const controlAttributes = reactive({
|
|
238
237
|
id: useIdAttribute(),
|
|
@@ -240,24 +239,24 @@ var script = defineComponent({
|
|
|
240
239
|
...useValidationAttributes()
|
|
241
240
|
});
|
|
242
241
|
const proxyModelValue = useProxyModelValue(toRef(props, 'modelValue'), context.emit);
|
|
243
|
-
const
|
|
244
|
-
switch (
|
|
242
|
+
const getLanguageExtension = async language => {
|
|
243
|
+
switch (language) {
|
|
245
244
|
case CodeLanguage.HTML:
|
|
246
|
-
return html();
|
|
245
|
+
return (await import('../../index-bd08fe6f.js')).html();
|
|
247
246
|
case CodeLanguage.CSS:
|
|
248
|
-
return css();
|
|
247
|
+
return (await import('../../index-317a90b7.js')).css();
|
|
249
248
|
case CodeLanguage.JS:
|
|
250
|
-
return javascript();
|
|
249
|
+
return (await import('../../index-5fa53f66.js')).javascript();
|
|
251
250
|
case CodeLanguage.TS:
|
|
252
|
-
return javascript({
|
|
251
|
+
return (await import('../../index-5fa53f66.js')).javascript({
|
|
253
252
|
typescript: true
|
|
254
253
|
});
|
|
255
254
|
case CodeLanguage.JSON:
|
|
256
|
-
return json();
|
|
255
|
+
return (await import('../../index-5df3b1d8.js')).json();
|
|
257
256
|
case CodeLanguage.MD:
|
|
258
|
-
return markdown();
|
|
257
|
+
return (await import('../../index-7caa3ac5.js')).markdown();
|
|
259
258
|
}
|
|
260
|
-
}
|
|
259
|
+
};
|
|
261
260
|
// Methods
|
|
262
261
|
function focus() {
|
|
263
262
|
var _a;
|
|
@@ -272,14 +271,8 @@ var script = defineComponent({
|
|
|
272
271
|
((_a = modal.value) === null || _a === void 0 ? void 0 : _a.open)();
|
|
273
272
|
}
|
|
274
273
|
// #region Codemirror
|
|
275
|
-
const editorView = new EditorView({
|
|
276
|
-
dispatch: transaction => {
|
|
277
|
-
editorView.update([transaction]);
|
|
278
|
-
proxyModelValue.value = String(editorView.state.doc);
|
|
279
|
-
}
|
|
280
|
-
});
|
|
281
274
|
const theme = useTheme();
|
|
282
|
-
const
|
|
275
|
+
const defaultExtensions = [basicSetup, keymap.of([indentWithTab]), EditorState.readOnly.of(props.readonly), EditorView.editable.of(!props.disabled), EditorView.domEventHandlers({
|
|
283
276
|
keydown: event => {
|
|
284
277
|
context.emit('keydown', event);
|
|
285
278
|
},
|
|
@@ -314,19 +307,48 @@ var script = defineComponent({
|
|
|
314
307
|
'.cm-activeLineGutter, .cm-activeLine': {
|
|
315
308
|
backgroundColor: theme.backgroundColor['primary-opacity-0-08']
|
|
316
309
|
}
|
|
317
|
-
})
|
|
318
|
-
|
|
319
|
-
|
|
310
|
+
})];
|
|
311
|
+
const state = EditorState.create({
|
|
312
|
+
doc: proxyModelValue.value,
|
|
313
|
+
extensions: [...defaultExtensions, languageExtensionCompartment.of([]), addedExtensionCompartment.of(props.extensions)]
|
|
314
|
+
});
|
|
315
|
+
const editorView = new EditorView({
|
|
316
|
+
state,
|
|
317
|
+
dispatch: transaction => {
|
|
318
|
+
editorView.update([transaction]);
|
|
319
|
+
if (transaction.docChanged) {
|
|
320
|
+
proxyModelValue.value = String(editorView.state.doc);
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
});
|
|
324
|
+
watch(proxyModelValue, value => {
|
|
325
|
+
const modelValue = value !== null && value !== void 0 ? value : '';
|
|
320
326
|
const {
|
|
321
327
|
selection
|
|
322
328
|
} = editorView.state;
|
|
323
|
-
editorView.
|
|
324
|
-
|
|
325
|
-
|
|
329
|
+
editorView.dispatch({
|
|
330
|
+
changes: {
|
|
331
|
+
from: 0,
|
|
332
|
+
to: editorView.state.doc.length,
|
|
333
|
+
insert: modelValue
|
|
334
|
+
},
|
|
326
335
|
selection: selection.ranges.some(range => range.to > modelValue.length) ? {
|
|
327
336
|
anchor: modelValue.length
|
|
328
337
|
} : selection
|
|
329
|
-
})
|
|
338
|
+
});
|
|
339
|
+
});
|
|
340
|
+
watch([() => props.extensions, () => props.language], async (_ref, _ref2) => {
|
|
341
|
+
let [extensions, language] = _ref;
|
|
342
|
+
let [, prevLanguage] = _ref2;
|
|
343
|
+
let effects = [];
|
|
344
|
+
if (language !== prevLanguage) {
|
|
345
|
+
const languageExt = await getLanguageExtension(language);
|
|
346
|
+
effects.push(languageExtensionCompartment.reconfigure([languageExt]));
|
|
347
|
+
}
|
|
348
|
+
effects.push(addedExtensionCompartment.reconfigure(extensions));
|
|
349
|
+
editorView.dispatch({
|
|
350
|
+
effects
|
|
351
|
+
});
|
|
330
352
|
}, {
|
|
331
353
|
immediate: true
|
|
332
354
|
});
|
|
@@ -354,6 +376,7 @@ var script = defineComponent({
|
|
|
354
376
|
editorView.destroy();
|
|
355
377
|
});
|
|
356
378
|
return {
|
|
379
|
+
editorView,
|
|
357
380
|
root,
|
|
358
381
|
control,
|
|
359
382
|
fullscreenControl,
|
|
@@ -363,7 +386,6 @@ var script = defineComponent({
|
|
|
363
386
|
modalStyles,
|
|
364
387
|
controlAttributes,
|
|
365
388
|
proxyModelValue,
|
|
366
|
-
proxyLanguage,
|
|
367
389
|
focus,
|
|
368
390
|
blur,
|
|
369
391
|
openFullscreen
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import { Extension } from '@codemirror/state';
|
|
2
1
|
import { PropType } from 'vue-demi';
|
|
2
|
+
import { EditorView } from '@codemirror/view';
|
|
3
|
+
import { Extension } from '@codemirror/state';
|
|
3
4
|
import { CodeLanguage } from './props';
|
|
4
5
|
declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
6
|
+
editorView: EditorView;
|
|
5
7
|
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
6
8
|
control: import("@vue/composition-api").Ref<import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
7
9
|
[x: string]: ((...args: any[]) => any) | null;
|
|
@@ -35,7 +37,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
35
37
|
id: string | undefined;
|
|
36
38
|
};
|
|
37
39
|
proxyModelValue: import("../../hooks").UseProxyModelValueReturn<string>;
|
|
38
|
-
proxyLanguage: import("@vue/composition-api").ComputedRef<import("@codemirror/language").LanguageSupport>;
|
|
39
40
|
focus: () => void;
|
|
40
41
|
blur: () => void;
|
|
41
42
|
openFullscreen: () => void;
|
|
@@ -135,6 +136,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
135
136
|
} & {} & {
|
|
136
137
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
137
138
|
}, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
139
|
+
editorView: EditorView;
|
|
138
140
|
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
139
141
|
control: import("@vue/composition-api").Ref<import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
140
142
|
[x: string]: ((...args: any[]) => any) | null;
|
|
@@ -168,7 +170,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
168
170
|
id: string | undefined;
|
|
169
171
|
};
|
|
170
172
|
proxyModelValue: import("../../hooks").UseProxyModelValueReturn<string>;
|
|
171
|
-
proxyLanguage: import("@vue/composition-api").ComputedRef<import("@codemirror/language").LanguageSupport>;
|
|
172
173
|
focus: () => void;
|
|
173
174
|
blur: () => void;
|
|
174
175
|
openFullscreen: () => void;
|
|
@@ -1,2 +1,7 @@
|
|
|
1
1
|
export { default as OrCodeV3 } from './OrCode.js';
|
|
2
2
|
export { CodeLanguage } from './props.js';
|
|
3
|
+
export { a as lintGutter, l as linter } from '../../index-5465a04e.js';
|
|
4
|
+
export { javascript } from '../../index-5fa53f66.js';
|
|
5
|
+
export { json, jsonParseLinter } from '../../index-5df3b1d8.js';
|
|
6
|
+
export { html } from '../../index-bd08fe6f.js';
|
|
7
|
+
export { a as EditorState, E as EditorView } from '../../index-d5c13979.js';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { linter, lintGutter } from '@codemirror/lint';
|
|
2
|
+
export { javascript } from '@codemirror/lang-javascript';
|
|
3
|
+
export { json, jsonParseLinter } from '@codemirror/lang-json';
|
|
4
|
+
export { html } from '@codemirror/lang-html';
|
|
5
|
+
export { EditorView } from '@codemirror/view';
|
|
6
|
+
export { EditorState } from '@codemirror/state';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { a as lintGutter, l as linter } from '../../index-5465a04e.js';
|
|
2
|
+
export { javascript } from '../../index-5fa53f66.js';
|
|
3
|
+
export { json, jsonParseLinter } from '../../index-5df3b1d8.js';
|
|
4
|
+
export { html } from '../../index-bd08fe6f.js';
|
|
5
|
+
export { a as EditorState, E as EditorView } from '../../index-d5c13979.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { N as Node } from '../../../../index-1b2cfcc1.js';
|
|
2
2
|
import CodeMirrorView from './codemirrorView.js';
|
|
3
|
-
import { m as minimalSetup } from '../../../../index-
|
|
4
|
-
import {
|
|
3
|
+
import { m as minimalSetup } from '../../../../index-d4e4f8a8.js';
|
|
4
|
+
import { javascript } from '../../../../index-5fa53f66.js';
|
|
5
5
|
|
|
6
6
|
var codemirrorNode = Node.create({
|
|
7
7
|
name: 'codeBlock',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as exitCode, T as TextSelection, S as Selection } from '../../../../index-f671afe5.js';
|
|
2
|
-
import { a as EditorState, E as EditorView,
|
|
2
|
+
import { a as EditorState, E as EditorView, W as highlightActiveLine, z as highlightActiveLineGutter, y as lineNumbers, k as keymap } from '../../../../index-d5c13979.js';
|
|
3
3
|
import theme from './theme.js';
|
|
4
4
|
|
|
5
5
|
const computeChange = (oldVal, newVal) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as EditorView,
|
|
1
|
+
import { E as EditorView, am as HighlightStyle, a4 as tags, L as syntaxHighlighting } from '../../../../index-d5c13979.js';
|
|
2
2
|
import { useTheme } from '../../../../hooks/useTheme.js';
|
|
3
3
|
|
|
4
4
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
@@ -25,11 +25,14 @@ export { default as OrChip } from './OrChip/OrChip.js';
|
|
|
25
25
|
export { default as OrChips } from './OrChips/OrChips.js';
|
|
26
26
|
export { default as OrCode } from './OrCode/OrCode.js';
|
|
27
27
|
export { OrCodeLanguages } from './OrCode/constants.js';
|
|
28
|
-
export { b as basicSetup
|
|
29
|
-
export {
|
|
30
|
-
export {
|
|
28
|
+
export { b as basicSetup } from '../index-d4e4f8a8.js';
|
|
29
|
+
export { a as lintGutter, l as linter } from '../index-5465a04e.js';
|
|
30
|
+
export { javascript } from '../index-5fa53f66.js';
|
|
31
|
+
export { json, jsonParseLinter } from '../index-5df3b1d8.js';
|
|
32
|
+
export { html } from '../index-bd08fe6f.js';
|
|
31
33
|
export { default as OrCodeV3 } from './OrCodeV3/OrCode.js';
|
|
32
34
|
export { CodeLanguage } from './OrCodeV3/props.js';
|
|
35
|
+
export { a as EditorState, E as EditorView } from '../index-d5c13979.js';
|
|
33
36
|
export { default as OrCollapse } from './OrCollapse/OrCollapse.js';
|
|
34
37
|
export { default as OrColorPicker } from './OrColorPicker/OrColorPicker.js';
|
|
35
38
|
export { amber, black, blue, blueGrey, brown, cyan, deepOrange, deepPurple, green, indigo, lightBlue, lightGreen, lime, orange, pink, purple, red, teal, white, yellow } from './OrColorPicker/constants.js';
|