@onereach/ui-components 6.2.0-beta.3294.0 → 6.2.0-beta.3299.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 -5
- package/dist/bundled/v2/components/OrCode/lang.js +5 -5
- package/dist/bundled/v2/components/OrCode/libs.js +5 -5
- package/dist/bundled/v2/components/OrCode/theme.js +1 -1
- package/dist/bundled/v2/components/OrCodeV3/OrCode.js +8 -8
- package/dist/bundled/v2/components/OrCodeV3/index.js +3 -3
- package/dist/bundled/v2/components/OrCodeV3/libs.js +3 -3
- package/dist/bundled/v2/components/index.js +6 -6
- package/dist/bundled/v2/{index-0ad0f605.js → index-003e27c5.js} +1 -1
- package/dist/bundled/v2/{index-379ec85d.js → index-13e363a1.js} +14 -12
- package/dist/bundled/v2/{index-d02cdc81.js → index-264444b5.js} +50 -13
- package/dist/bundled/{v3/index-c661340a.js → v2/index-2ff1af8f.js} +3 -3
- package/dist/bundled/v2/{index-0789b976.js → index-3f523d8c.js} +27 -25
- package/dist/bundled/v2/{index-b261a47e.js → index-4b36988f.js} +35 -25
- package/dist/bundled/v2/{index-ea7a689d.js → index-7488c2bc.js} +4 -4
- package/dist/bundled/v2/{index-7211e1c5.js → index-786635cb.js} +2 -2
- package/dist/bundled/v2/{index-9e0bdde8.js → index-e058b0e3.js} +2 -2
- package/dist/bundled/{v3/index-540ed5cb.js → v2/index-e9029e60.js} +288 -268
- package/dist/bundled/v2/index.js +6 -6
- package/dist/bundled/v3/{OrCode.vue_vue_type_script_lang-ad985f8f.js → OrCode.vue_vue_type_script_lang-53f0dbcf.js} +8 -8
- package/dist/bundled/v3/{OrCode.vue_vue_type_script_lang-1df17839.js → OrCode.vue_vue_type_script_lang-76b17c75.js} +2 -2
- package/dist/bundled/v3/components/OrCode/OrCode.js +2 -2
- package/dist/bundled/v3/components/OrCode/index.js +6 -6
- package/dist/bundled/v3/components/OrCode/lang.js +5 -5
- package/dist/bundled/v3/components/OrCode/libs.js +5 -5
- 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/index.js +4 -4
- package/dist/bundled/v3/components/OrCodeV3/libs.js +3 -3
- package/dist/bundled/v3/components/index.js +8 -8
- package/dist/bundled/v3/{index-168d8a72.js → index-3957c5be.js} +1 -1
- package/dist/bundled/v3/{index-e0aaa8dc.js → index-4eb7137d.js} +27 -25
- package/dist/bundled/v3/{index-3074ab3c.js → index-6a637771.js} +14 -12
- package/dist/bundled/{v2/index-c321391a.js → v3/index-81622681.js} +288 -268
- package/dist/bundled/v3/{index-73699920.js → index-9fa743a3.js} +35 -25
- package/dist/bundled/v3/{index-ce11b31b.js → index-b1301e6b.js} +50 -13
- package/dist/bundled/v3/{index-fdffd536.js → index-b52e24e9.js} +4 -4
- package/dist/bundled/{v2/index-5e5d18d5.js → v3/index-c3a9da95.js} +3 -3
- package/dist/bundled/v3/{index-a59e89b4.js → index-eaeb4268.js} +2 -2
- package/dist/bundled/v3/{index-3de4069f.js → index-f41a6890.js} +2 -2
- package/dist/bundled/v3/index.js +8 -8
- package/package.json +1 -1
|
@@ -4057,11 +4057,8 @@ var shift = {
|
|
|
4057
4057
|
221: "}",
|
|
4058
4058
|
222: "\""
|
|
4059
4059
|
};
|
|
4060
|
-
var chrome$1 = typeof navigator != "undefined" && /Chrome\/(\d+)/.exec(navigator.userAgent);
|
|
4061
|
-
typeof navigator != "undefined" && /Gecko\/\d+/.test(navigator.userAgent);
|
|
4062
4060
|
var mac = typeof navigator != "undefined" && /Mac/.test(navigator.platform);
|
|
4063
4061
|
var ie$1 = typeof navigator != "undefined" && /MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);
|
|
4064
|
-
var brokenModifierNames = mac || chrome$1 && +chrome$1[1] < 57;
|
|
4065
4062
|
|
|
4066
4063
|
// Fill in the digit keys
|
|
4067
4064
|
for (var i = 0; i < 10; i++) base[48 + i] = base[96 + i] = String(i);
|
|
@@ -4078,7 +4075,9 @@ for (var i = 65; i <= 90; i++) {
|
|
|
4078
4075
|
// For each code that doesn't have a shift-equivalent, copy the base name
|
|
4079
4076
|
for (var code in base) if (!shift.hasOwnProperty(code)) shift[code] = base[code];
|
|
4080
4077
|
function keyName(event) {
|
|
4081
|
-
|
|
4078
|
+
// On macOS, keys held with Shift and Cmd don't reflect the effect of Shift in `.key`.
|
|
4079
|
+
// On IE, shift effect is never included in `.key`.
|
|
4080
|
+
var ignoreKey = mac && event.metaKey && event.shiftKey && !event.ctrlKey && !event.altKey || ie$1 && event.shiftKey && event.key && event.key.length == 1 || event.key == "Unidentified";
|
|
4082
4081
|
var name = !ignoreKey && event.key || (event.shiftKey ? shift : base)[event.keyCode] || event.key || "Unidentified";
|
|
4083
4082
|
// Edge sometimes produces wrong names (Issue #3)
|
|
4084
4083
|
if (name == "Esc") name = "Escape";
|
|
@@ -14157,14 +14156,16 @@ class Tree {
|
|
|
14157
14156
|
from = 0,
|
|
14158
14157
|
to = this.length
|
|
14159
14158
|
} = spec;
|
|
14160
|
-
|
|
14159
|
+
let mode = spec.mode || 0,
|
|
14160
|
+
anon = (mode & IterMode.IncludeAnonymous) > 0;
|
|
14161
|
+
for (let c = this.cursor(mode | IterMode.IncludeAnonymous);;) {
|
|
14161
14162
|
let entered = false;
|
|
14162
|
-
if (c.from <= to && c.to >= from && (c.type.isAnonymous || enter(c) !== false)) {
|
|
14163
|
+
if (c.from <= to && c.to >= from && (!anon && c.type.isAnonymous || enter(c) !== false)) {
|
|
14163
14164
|
if (c.firstChild()) continue;
|
|
14164
14165
|
entered = true;
|
|
14165
14166
|
}
|
|
14166
14167
|
for (;;) {
|
|
14167
|
-
if (entered && leave && !c.type.isAnonymous) leave(c);
|
|
14168
|
+
if (entered && leave && (anon || !c.type.isAnonymous)) leave(c);
|
|
14168
14169
|
if (c.nextSibling()) break;
|
|
14169
14170
|
if (!c.parent()) return;
|
|
14170
14171
|
entered = true;
|
|
@@ -15358,6 +15359,7 @@ class InnerParse {
|
|
|
15358
15359
|
this.overlay = overlay;
|
|
15359
15360
|
this.target = target;
|
|
15360
15361
|
this.ranges = ranges;
|
|
15362
|
+
if (!ranges.length || ranges.some(r => r.from >= r.to)) throw new RangeError("Invalid inner parse ranges given: " + JSON.stringify(ranges));
|
|
15361
15363
|
}
|
|
15362
15364
|
}
|
|
15363
15365
|
class ActiveOverlay {
|
|
@@ -16028,7 +16030,7 @@ class HighlightBuilder {
|
|
|
16028
16030
|
cls += tagCls;
|
|
16029
16031
|
if (rule.mode == 1 /* Inherit */) inheritedClass += (inheritedClass ? " " : "") + tagCls;
|
|
16030
16032
|
}
|
|
16031
|
-
this.startSpan(
|
|
16033
|
+
this.startSpan(Math.max(from, start), cls);
|
|
16032
16034
|
if (rule.opaque) return;
|
|
16033
16035
|
let mounted = cursor.tree && cursor.tree.prop(NodeProp.mounted);
|
|
16034
16036
|
if (mounted && mounted.overlay) {
|
|
@@ -16050,12 +16052,13 @@ class HighlightBuilder {
|
|
|
16050
16052
|
if (!next || nextPos > to) break;
|
|
16051
16053
|
pos = next.to + start;
|
|
16052
16054
|
if (pos > from) {
|
|
16053
|
-
this.highlightRange(inner.cursor(), Math.max(from, next.from + start), Math.min(to, pos),
|
|
16054
|
-
this.startSpan(pos, cls);
|
|
16055
|
+
this.highlightRange(inner.cursor(), Math.max(from, next.from + start), Math.min(to, pos), "", innerHighlighters);
|
|
16056
|
+
this.startSpan(Math.min(to, pos), cls);
|
|
16055
16057
|
}
|
|
16056
16058
|
}
|
|
16057
16059
|
if (hasChild) cursor.parent();
|
|
16058
16060
|
} else if (cursor.firstChild()) {
|
|
16061
|
+
if (mounted) inheritedClass = "";
|
|
16059
16062
|
do {
|
|
16060
16063
|
if (cursor.to <= from) continue;
|
|
16061
16064
|
if (cursor.from >= to) break;
|
|
@@ -17119,16 +17122,16 @@ class LanguageState {
|
|
|
17119
17122
|
// end position or the end of the viewport, to avoid slowing down
|
|
17120
17123
|
// state updates with parse work beyond the viewport.
|
|
17121
17124
|
let upto = this.context.treeLen == tr.startState.doc.length ? undefined : Math.max(tr.changes.mapPos(this.context.treeLen), newCx.viewport.to);
|
|
17122
|
-
if (!newCx.work(20 /*
|
|
17125
|
+
if (!newCx.work(20 /* Apply */, upto)) newCx.takeTree();
|
|
17123
17126
|
return new LanguageState(newCx);
|
|
17124
17127
|
}
|
|
17125
17128
|
static init(state) {
|
|
17126
|
-
let vpTo = Math.min(3000 /*
|
|
17129
|
+
let vpTo = Math.min(3000 /* InitViewport */, state.doc.length);
|
|
17127
17130
|
let parseState = ParseContext.create(state.facet(language).parser, state, {
|
|
17128
17131
|
from: 0,
|
|
17129
17132
|
to: vpTo
|
|
17130
17133
|
});
|
|
17131
|
-
if (!parseState.work(20 /*
|
|
17134
|
+
if (!parseState.work(20 /* Apply */, vpTo)) parseState.takeTree();
|
|
17132
17135
|
return new LanguageState(parseState);
|
|
17133
17136
|
}
|
|
17134
17137
|
}
|
|
@@ -17141,16 +17144,16 @@ Language.state = /*@__PURE__*/StateField.define({
|
|
|
17141
17144
|
}
|
|
17142
17145
|
});
|
|
17143
17146
|
let requestIdle = callback => {
|
|
17144
|
-
let timeout = setTimeout(() => callback(), 500 /*
|
|
17147
|
+
let timeout = setTimeout(() => callback(), 500 /* MaxPause */);
|
|
17145
17148
|
return () => clearTimeout(timeout);
|
|
17146
17149
|
};
|
|
17147
17150
|
if (typeof requestIdleCallback != "undefined") requestIdle = callback => {
|
|
17148
17151
|
let idle = -1,
|
|
17149
17152
|
timeout = setTimeout(() => {
|
|
17150
17153
|
idle = requestIdleCallback(callback, {
|
|
17151
|
-
timeout: 500 /*
|
|
17154
|
+
timeout: 500 /* MaxPause */ - 100 /* MinPause */
|
|
17152
17155
|
});
|
|
17153
|
-
}, 100 /*
|
|
17156
|
+
}, 100 /* MinPause */);
|
|
17154
17157
|
return () => idle < 0 ? clearTimeout(timeout) : cancelIdleCallback(idle);
|
|
17155
17158
|
};
|
|
17156
17159
|
const isInputPending = typeof navigator != "undefined" && ((_a = navigator.scheduling) === null || _a === void 0 ? void 0 : _a.isInputPending) ? () => navigator.scheduling.isInputPending() : null;
|
|
@@ -17170,7 +17173,7 @@ const parseWorker = /*@__PURE__*/ViewPlugin.fromClass(class ParseWorker {
|
|
|
17170
17173
|
let cx = this.view.state.field(Language.state).context;
|
|
17171
17174
|
if (cx.updateViewport(update.view.viewport) || this.view.viewport.to > cx.treeLen) this.scheduleWork();
|
|
17172
17175
|
if (update.docChanged) {
|
|
17173
|
-
if (this.view.hasFocus) this.chunkBudget += 50 /*
|
|
17176
|
+
if (this.view.hasFocus) this.chunkBudget += 50 /* ChangeBonus */;
|
|
17174
17177
|
this.scheduleWork();
|
|
17175
17178
|
}
|
|
17176
17179
|
this.checkAsyncSchedule(cx);
|
|
@@ -17188,8 +17191,8 @@ const parseWorker = /*@__PURE__*/ViewPlugin.fromClass(class ParseWorker {
|
|
|
17188
17191
|
let now = Date.now();
|
|
17189
17192
|
if (this.chunkEnd < now && (this.chunkEnd < 0 || this.view.hasFocus)) {
|
|
17190
17193
|
// Start a new chunk
|
|
17191
|
-
this.chunkEnd = now + 30000 /*
|
|
17192
|
-
this.chunkBudget = 3000 /*
|
|
17194
|
+
this.chunkEnd = now + 30000 /* ChunkTime */;
|
|
17195
|
+
this.chunkBudget = 3000 /* ChunkBudget */;
|
|
17193
17196
|
}
|
|
17194
17197
|
|
|
17195
17198
|
if (this.chunkBudget <= 0) return; // No more budget
|
|
@@ -17200,12 +17203,12 @@ const parseWorker = /*@__PURE__*/ViewPlugin.fromClass(class ParseWorker {
|
|
|
17200
17203
|
}
|
|
17201
17204
|
} = this.view,
|
|
17202
17205
|
field = state.field(Language.state);
|
|
17203
|
-
if (field.tree == field.context.tree && field.context.isDone(vpTo + 100000 /*
|
|
17204
|
-
let endTime = Date.now() + Math.min(this.chunkBudget, 100 /*
|
|
17206
|
+
if (field.tree == field.context.tree && field.context.isDone(vpTo + 100000 /* MaxParseAhead */)) return;
|
|
17207
|
+
let endTime = Date.now() + Math.min(this.chunkBudget, 100 /* Slice */, deadline && !isInputPending ? Math.max(25 /* MinSlice */, deadline.timeRemaining() - 5) : 1e9);
|
|
17205
17208
|
let viewportFirst = field.context.treeLen < vpTo && state.doc.length > vpTo + 1000;
|
|
17206
17209
|
let done = field.context.work(() => {
|
|
17207
17210
|
return isInputPending && isInputPending() || Date.now() > endTime;
|
|
17208
|
-
}, vpTo + (viewportFirst ? 0 : 100000 /*
|
|
17211
|
+
}, vpTo + (viewportFirst ? 0 : 100000 /* MaxParseAhead */));
|
|
17209
17212
|
this.chunkBudget -= Date.now() - now;
|
|
17210
17213
|
if (done || this.chunkBudget <= 0) {
|
|
17211
17214
|
field.context.takeTree();
|
|
@@ -17624,12 +17627,19 @@ class TreeIndentContext extends IndentContext {
|
|
|
17624
17627
|
on if it is covered by another such node.
|
|
17625
17628
|
*/
|
|
17626
17629
|
get baseIndent() {
|
|
17627
|
-
|
|
17630
|
+
return this.baseIndentFor(this.node);
|
|
17631
|
+
}
|
|
17632
|
+
/**
|
|
17633
|
+
Get the indentation for the reference line of the given node
|
|
17634
|
+
(see [`baseIndent`](https://codemirror.net/6/docs/ref/#language.TreeIndentContext.baseIndent)).
|
|
17635
|
+
*/
|
|
17636
|
+
baseIndentFor(node) {
|
|
17637
|
+
let line = this.state.doc.lineAt(node.from);
|
|
17628
17638
|
// Skip line starts that are covered by a sibling (or cousin, etc)
|
|
17629
17639
|
for (;;) {
|
|
17630
|
-
let atBreak =
|
|
17640
|
+
let atBreak = node.resolve(line.from);
|
|
17631
17641
|
while (atBreak.parent && atBreak.parent.from == atBreak.from) atBreak = atBreak.parent;
|
|
17632
|
-
if (isParent(atBreak,
|
|
17642
|
+
if (isParent(atBreak, node)) break;
|
|
17633
17643
|
line = this.state.doc.lineAt(atBreak.from);
|
|
17634
17644
|
}
|
|
17635
17645
|
return this.lineIndent(line.from);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ap as Parser, ao as NodeSet, an as NodeType, ax as DefaultBufferLength, N as NodeProp, ar as Tree, ae as IterMode } from './index-
|
|
1
|
+
import { ap as Parser, ao as NodeSet, an as NodeType, ax as DefaultBufferLength, N as NodeProp, ar as Tree, ae as IterMode } from './index-9fa743a3.js';
|
|
2
2
|
|
|
3
3
|
/// A parse stack. These are used internally by the parser to track
|
|
4
4
|
/// parsing progress. They also provide some properties and methods
|
|
@@ -301,16 +301,20 @@ class Stack {
|
|
|
301
301
|
// be done.
|
|
302
302
|
/// @internal
|
|
303
303
|
forceReduce() {
|
|
304
|
-
let reduce = this.p.parser.stateSlot(this.state, 5 /* ParseState.ForcedReduce */);
|
|
305
|
-
if ((reduce & 65536 /* Action.ReduceFlag */) == 0) return false;
|
|
306
304
|
let {
|
|
307
305
|
parser
|
|
308
306
|
} = this.p;
|
|
307
|
+
let reduce = parser.stateSlot(this.state, 5 /* ParseState.ForcedReduce */);
|
|
308
|
+
if ((reduce & 65536 /* Action.ReduceFlag */) == 0) return false;
|
|
309
309
|
if (!parser.validAction(this.state, reduce)) {
|
|
310
310
|
let depth = reduce >> 19 /* Action.ReduceDepthShift */,
|
|
311
311
|
term = reduce & 65535 /* Action.ValueMask */;
|
|
312
312
|
let target = this.stack.length - depth * 3;
|
|
313
|
-
if (target < 0 || parser.getGoto(this.stack[target], term, false) < 0)
|
|
313
|
+
if (target < 0 || parser.getGoto(this.stack[target], term, false) < 0) {
|
|
314
|
+
let backup = this.findForcedReduction();
|
|
315
|
+
if (backup == null) return false;
|
|
316
|
+
reduce = backup;
|
|
317
|
+
}
|
|
314
318
|
this.storeNode(0 /* Term.Err */, this.reducePos, this.reducePos, 4, true);
|
|
315
319
|
this.score -= 100 /* Recover.Reduce */;
|
|
316
320
|
}
|
|
@@ -319,6 +323,33 @@ class Stack {
|
|
|
319
323
|
this.reduce(reduce);
|
|
320
324
|
return true;
|
|
321
325
|
}
|
|
326
|
+
/// Try to scan through the automaton to find some kind of reduction
|
|
327
|
+
/// that can be applied. Used when the regular ForcedReduce field
|
|
328
|
+
/// isn't a valid action. @internal
|
|
329
|
+
findForcedReduction() {
|
|
330
|
+
let {
|
|
331
|
+
parser
|
|
332
|
+
} = this.p,
|
|
333
|
+
seen = [];
|
|
334
|
+
let explore = (state, depth) => {
|
|
335
|
+
if (seen.includes(state)) return;
|
|
336
|
+
seen.push(state);
|
|
337
|
+
return parser.allActions(state, action => {
|
|
338
|
+
if (action & (262144 /* Action.StayFlag */ | 131072 /* Action.GotoFlag */)) ;else if (action & 65536 /* Action.ReduceFlag */) {
|
|
339
|
+
let rDepth = (action >> 19 /* Action.ReduceDepthShift */) - depth;
|
|
340
|
+
if (rDepth > 1) {
|
|
341
|
+
let term = action & 65535 /* Action.ValueMask */,
|
|
342
|
+
target = this.stack.length - rDepth * 3;
|
|
343
|
+
if (target >= 0 && parser.getGoto(this.stack[target], term, false) >= 0) return rDepth << 19 /* Action.ReduceDepthShift */ | 65536 /* Action.ReduceFlag */ | term;
|
|
344
|
+
}
|
|
345
|
+
} else {
|
|
346
|
+
let found = explore(action, depth + 1);
|
|
347
|
+
if (found != null) return found;
|
|
348
|
+
}
|
|
349
|
+
});
|
|
350
|
+
};
|
|
351
|
+
return explore(this.state, 0);
|
|
352
|
+
}
|
|
322
353
|
/// @internal
|
|
323
354
|
forceAll() {
|
|
324
355
|
while (!this.p.parser.stateFlag(this.state, 2 /* StateFlag.Accepting */)) {
|
|
@@ -370,12 +401,12 @@ class Stack {
|
|
|
370
401
|
/// @internal
|
|
371
402
|
emitContext() {
|
|
372
403
|
let last = this.buffer.length - 1;
|
|
373
|
-
if (last < 0 || this.buffer[last] != -3) this.buffer.push(this.curContext.hash, this.
|
|
404
|
+
if (last < 0 || this.buffer[last] != -3) this.buffer.push(this.curContext.hash, this.pos, this.pos, -3);
|
|
374
405
|
}
|
|
375
406
|
/// @internal
|
|
376
407
|
emitLookAhead() {
|
|
377
408
|
let last = this.buffer.length - 1;
|
|
378
|
-
if (last < 0 || this.buffer[last] != -4) this.buffer.push(this.lookAhead, this.
|
|
409
|
+
if (last < 0 || this.buffer[last] != -4) this.buffer.push(this.lookAhead, this.pos, this.pos, -4);
|
|
379
410
|
}
|
|
380
411
|
updateContext(context) {
|
|
381
412
|
if (context != this.curContext.context) {
|
|
@@ -739,12 +770,12 @@ class LocalTokenGroup {
|
|
|
739
770
|
let start = input.pos,
|
|
740
771
|
skipped = 0;
|
|
741
772
|
for (;;) {
|
|
773
|
+
let nextPos = input.resolveOffset(1, -1);
|
|
742
774
|
readToken(this.data, input, stack, 0, this.data, this.precTable);
|
|
743
775
|
if (input.token.value > -1) break;
|
|
744
776
|
if (this.elseToken == null) return;
|
|
745
|
-
if (
|
|
746
|
-
input.
|
|
747
|
-
input.reset(input.pos, input.token);
|
|
777
|
+
if (nextPos == null) break;
|
|
778
|
+
input.reset(nextPos, input.token);
|
|
748
779
|
skipped++;
|
|
749
780
|
}
|
|
750
781
|
if (skipped) {
|
|
@@ -1471,13 +1502,19 @@ class LRParser extends Parser {
|
|
|
1471
1502
|
}
|
|
1472
1503
|
/// @internal
|
|
1473
1504
|
validAction(state, action) {
|
|
1474
|
-
|
|
1475
|
-
|
|
1505
|
+
return !!this.allActions(state, a => a == action ? true : null);
|
|
1506
|
+
}
|
|
1507
|
+
/// @internal
|
|
1508
|
+
allActions(state, action) {
|
|
1509
|
+
let deflt = this.stateSlot(state, 4 /* ParseState.DefaultReduce */);
|
|
1510
|
+
let result = deflt ? action(deflt) : undefined;
|
|
1511
|
+
for (let i = this.stateSlot(state, 1 /* ParseState.Actions */); result == null; i += 3) {
|
|
1476
1512
|
if (this.data[i] == 65535 /* Seq.End */) {
|
|
1477
|
-
if (this.data[i + 1] == 1 /* Seq.Next */) i = pair(this.data, i + 2);else
|
|
1513
|
+
if (this.data[i + 1] == 1 /* Seq.Next */) i = pair(this.data, i + 2);else break;
|
|
1478
1514
|
}
|
|
1479
|
-
|
|
1515
|
+
result = action(pair(this.data, i + 1));
|
|
1480
1516
|
}
|
|
1517
|
+
return result;
|
|
1481
1518
|
}
|
|
1482
1519
|
/// Get the states that can follow this one through shift actions or
|
|
1483
1520
|
/// goto jumps. @internal
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { C as ContextTracker, E as ExternalTokenizer, L as LRParser } from './index-
|
|
2
|
-
import { a3 as styleTags, a4 as tags, ah as parseMixed, a5 as LanguageSupport, E as EditorView, s as syntaxTree, b as EditorSelection, a6 as LRLanguage, a7 as indentNodeProp, ab as foldNodeProp, ai as bracketMatchingHandle } from './index-
|
|
3
|
-
import { cssLanguage, css } from './index-
|
|
4
|
-
import { typescriptLanguage, jsxLanguage, tsxLanguage, javascriptLanguage, javascript } from './index-
|
|
1
|
+
import { C as ContextTracker, E as ExternalTokenizer, L as LRParser } from './index-b1301e6b.js';
|
|
2
|
+
import { a3 as styleTags, a4 as tags, ah as parseMixed, a5 as LanguageSupport, E as EditorView, s as syntaxTree, b as EditorSelection, a6 as LRLanguage, a7 as indentNodeProp, ab as foldNodeProp, ai as bracketMatchingHandle } from './index-9fa743a3.js';
|
|
3
|
+
import { cssLanguage, css } from './index-f41a6890.js';
|
|
4
|
+
import { typescriptLanguage, jsxLanguage, tsxLanguage, javascriptLanguage, javascript } from './index-c3a9da95.js';
|
|
5
5
|
|
|
6
6
|
// This file was generated by lezer-generator. You probably shouldn't edit it.
|
|
7
7
|
const scriptText = 54,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { C as ContextTracker, E as ExternalTokenizer, L as LRParser, a as LocalTokenGroup } from './index-
|
|
2
|
-
import { a3 as styleTags, a4 as tags, a5 as LanguageSupport, E as EditorView, s as syntaxTree, b as EditorSelection, a6 as LRLanguage, a7 as indentNodeProp, a8 as continuedIndent, a9 as flatIndent, aa as delimitedIndent, ab as foldNodeProp, ac as foldInside, ad as sublanguageProp, ae as IterMode, af as defineLanguageFacet, ag as NodeWeakMap } from './index-
|
|
3
|
-
import { i as ifNotIn, e as completeFromList, s as snippetCompletion } from './index-
|
|
1
|
+
import { C as ContextTracker, E as ExternalTokenizer, L as LRParser, a as LocalTokenGroup } from './index-b1301e6b.js';
|
|
2
|
+
import { a3 as styleTags, a4 as tags, a5 as LanguageSupport, E as EditorView, s as syntaxTree, b as EditorSelection, a6 as LRLanguage, a7 as indentNodeProp, a8 as continuedIndent, a9 as flatIndent, aa as delimitedIndent, ab as foldNodeProp, ac as foldInside, ad as sublanguageProp, ae as IterMode, af as defineLanguageFacet, ag as NodeWeakMap } from './index-9fa743a3.js';
|
|
3
|
+
import { i as ifNotIn, e as completeFromList, s as snippetCompletion } from './index-81622681.js';
|
|
4
4
|
|
|
5
5
|
// This file was generated by lezer-generator. You probably shouldn't edit it.
|
|
6
6
|
const noSemi = 302,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { L as LRParser } from './index-
|
|
2
|
-
import { a3 as styleTags, a4 as tags, a5 as LanguageSupport, a6 as LRLanguage, a7 as indentNodeProp, a8 as continuedIndent, ab as foldNodeProp, ac as foldInside } from './index-
|
|
1
|
+
import { L as LRParser } from './index-b1301e6b.js';
|
|
2
|
+
import { a3 as styleTags, a4 as tags, a5 as LanguageSupport, a6 as LRLanguage, a7 as indentNodeProp, a8 as continuedIndent, ab as foldNodeProp, ac as foldInside } from './index-9fa743a3.js';
|
|
3
3
|
|
|
4
4
|
const jsonHighlighting = styleTags({
|
|
5
5
|
String: tags.string,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { E as ExternalTokenizer, L as LRParser } from './index-
|
|
2
|
-
import { a3 as styleTags, a4 as tags$1, a5 as LanguageSupport, s as syntaxTree, a6 as LRLanguage, a7 as indentNodeProp, a8 as continuedIndent, ab as foldNodeProp, ac as foldInside, ae as IterMode, ag as NodeWeakMap } from './index-
|
|
1
|
+
import { E as ExternalTokenizer, L as LRParser } from './index-b1301e6b.js';
|
|
2
|
+
import { a3 as styleTags, a4 as tags$1, a5 as LanguageSupport, s as syntaxTree, a6 as LRLanguage, a7 as indentNodeProp, a8 as continuedIndent, ab as foldNodeProp, ac as foldInside, ae as IterMode, ag as NodeWeakMap } from './index-9fa743a3.js';
|
|
3
3
|
|
|
4
4
|
// This file was generated by lezer-generator. You probably shouldn't edit it.
|
|
5
5
|
const descendantOp = 95,
|
package/dist/bundled/v3/index.js
CHANGED
|
@@ -16,9 +16,9 @@ export { s as OrCheckboxGroupV3 } from './OrCheckboxGroup.vue_vue_type_script_la
|
|
|
16
16
|
import './components/OrChips/OrChips.js';
|
|
17
17
|
export { s as OrChips } from './OrChips.vue_vue_type_script_lang-70be98b5.js';
|
|
18
18
|
import './components/OrCode/OrCode.js';
|
|
19
|
-
export { s as OrCode } from './OrCode.vue_vue_type_script_lang-
|
|
19
|
+
export { s as OrCode } from './OrCode.vue_vue_type_script_lang-76b17c75.js';
|
|
20
20
|
import './components/OrCodeV3/OrCode.js';
|
|
21
|
-
export { s as OrCodeV3 } from './OrCode.vue_vue_type_script_lang-
|
|
21
|
+
export { s as OrCodeV3 } from './OrCode.vue_vue_type_script_lang-53f0dbcf.js';
|
|
22
22
|
import './components/OrColorPicker/OrColorPicker.js';
|
|
23
23
|
export { s as OrColorPicker } from './OrColorPicker.vue_vue_type_script_lang-153ef60d.js';
|
|
24
24
|
import './components/OrCombinedInputV3/OrCombinedInput.js';
|
|
@@ -147,13 +147,13 @@ export { s as OrCheckboxTreeV3 } from './OrCheckboxTree.vue_vue_type_script_lang
|
|
|
147
147
|
export { s as OrCheckboxV3 } from './OrCheckbox.vue_vue_type_script_lang-4fa909d8.js';
|
|
148
148
|
export { s as OrChip } from './OrChip.vue_vue_type_script_lang-8ccf3d2d.js';
|
|
149
149
|
export { OrCodeLanguages } from './components/OrCode/constants.js';
|
|
150
|
-
export { b as basicSetup } from './index-
|
|
151
|
-
export { a as lintGutter, l as linter } from './index-
|
|
152
|
-
export { javascript } from './index-
|
|
153
|
-
export { json, jsonParseLinter } from './index-
|
|
154
|
-
export { html } from './index-
|
|
150
|
+
export { b as basicSetup } from './index-6a637771.js';
|
|
151
|
+
export { a as lintGutter, l as linter } from './index-3957c5be.js';
|
|
152
|
+
export { javascript } from './index-c3a9da95.js';
|
|
153
|
+
export { json, jsonParseLinter } from './index-eaeb4268.js';
|
|
154
|
+
export { html } from './index-b52e24e9.js';
|
|
155
155
|
export { CodeLanguage } from './components/OrCodeV3/props.js';
|
|
156
|
-
export { E as EditorView } from './index-
|
|
156
|
+
export { E as EditorView } from './index-9fa743a3.js';
|
|
157
157
|
export { s as OrCollapse } from './OrCollapse.vue_vue_type_script_lang-69503c45.js';
|
|
158
158
|
export { amber, black, blue, blueGrey, brown, cyan, deepOrange, deepPurple, green, indigo, lightBlue, lightGreen, lime, orange, pink, purple, red, teal, white, yellow } from './components/OrColorPicker/constants.js';
|
|
159
159
|
export { InputBoxSize as CombinedInputSize, InputBoxSize as DatePickerSize, InputBoxSize as DateTimePickerSize, InputBoxSize, InputBoxVariant, InputBoxSize as InputSize, InputBoxSize as SearchSize, InputBoxSize as SelectSize, InputBoxSize as TagInputSize, InputBoxSize as TextareaSize, InputBoxSize as TimePickerSize } from './components/OrInputBoxV3/props.js';
|