solve-engine 2.27.0 → 2.28.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/{EngineError-C-kBwYlN.d.cts → EngineError-CA2tiVaI.d.cts} +2 -0
- package/dist/{EngineError-C-kBwYlN.d.ts → EngineError-CA2tiVaI.d.ts} +2 -0
- package/dist/{Lexer-DqtnZMC5.d.ts → Lexer-B62Hn9I-.d.ts} +1 -1
- package/dist/{Lexer-DhGhoAa2.d.cts → Lexer-DOXatsjO.d.cts} +1 -1
- package/dist/{PackageCompatibility-fj_f7uqC.d.ts → PackageCompatibility-DT1IPlQx.d.ts} +1 -1
- package/dist/{PackageCompatibility-CNiTtC6S.d.cts → PackageCompatibility-DW18LqED.d.cts} +1 -1
- package/dist/{PackageRegistry-BHBCFswo.d.cts → PackageRegistry-CevYUzRn.d.cts} +3 -3
- package/dist/{PackageRegistry-CNZUwWHJ.d.ts → PackageRegistry-Dl9kNP14.d.ts} +3 -3
- package/dist/{VMBuiltins-kv4rr0y5.d.cts → VMBuiltins-AIivGl0a.d.cts} +1 -1
- package/dist/{VMBuiltins-CZiZRKn-.d.ts → VMBuiltins-CbuFfIgQ.d.ts} +1 -1
- package/dist/{VMCheckpoints-yun4ocSv.d.cts → VMCheckpoints-BVrJwfZY.d.cts} +1 -1
- package/dist/{VMCheckpoints-DXze6ypg.d.ts → VMCheckpoints-DFCl63K5.d.ts} +1 -1
- package/dist/{WorkerError-CfBJYueR.d.ts → WorkerError-BuO9MrRr.d.ts} +1 -1
- package/dist/{WorkerError-BLZyNq6M.d.cts → WorkerError-DDtwl4oH.d.cts} +1 -1
- package/dist/{chunk-GVL3ZMS7.cjs → chunk-2G3AW6OQ.cjs} +2 -2
- package/dist/{chunk-GVL3ZMS7.cjs.map → chunk-2G3AW6OQ.cjs.map} +1 -1
- package/dist/{chunk-BCR53EIL.js → chunk-2RLNVS6G.js} +2 -2
- package/dist/{chunk-BCR53EIL.js.map → chunk-2RLNVS6G.js.map} +1 -1
- package/dist/{chunk-TMQ37JQY.cjs → chunk-2YNRIT2L.cjs} +3 -3
- package/dist/{chunk-TMQ37JQY.cjs.map → chunk-2YNRIT2L.cjs.map} +1 -1
- package/dist/chunk-3LWK33TJ.js +3 -0
- package/dist/chunk-3LWK33TJ.js.map +1 -0
- package/dist/{chunk-TPPM4QSS.cjs → chunk-5J2XDCSV.cjs} +2 -2
- package/dist/{chunk-TPPM4QSS.cjs.map → chunk-5J2XDCSV.cjs.map} +1 -1
- package/dist/chunk-5NQE5JMU.cjs +2 -0
- package/dist/{chunk-QQHHZPEW.cjs.map → chunk-5NQE5JMU.cjs.map} +1 -1
- package/dist/{chunk-LTUYWJGO.js → chunk-6T5HPIZX.js} +2 -2
- package/dist/{chunk-LTUYWJGO.js.map → chunk-6T5HPIZX.js.map} +1 -1
- package/dist/{chunk-S3ODNMJS.js → chunk-7ASISMXA.js} +2 -2
- package/dist/{chunk-S3ODNMJS.js.map → chunk-7ASISMXA.js.map} +1 -1
- package/dist/{chunk-YG7UWQFV.js → chunk-7ZYYWSLT.js} +2 -2
- package/dist/{chunk-YG7UWQFV.js.map → chunk-7ZYYWSLT.js.map} +1 -1
- package/dist/{chunk-BLJ6E577.js → chunk-A7RRWNLE.js} +2 -2
- package/dist/{chunk-BLJ6E577.js.map → chunk-A7RRWNLE.js.map} +1 -1
- package/dist/{chunk-BCY2WY5P.js → chunk-APU5LON7.js} +3 -3
- package/dist/{chunk-BCY2WY5P.js.map → chunk-APU5LON7.js.map} +1 -1
- package/dist/{chunk-ESZNJQ2C.js → chunk-DDVDRWCK.js} +3 -3
- package/dist/{chunk-ESZNJQ2C.js.map → chunk-DDVDRWCK.js.map} +1 -1
- package/dist/{chunk-ZPHUTCJ5.cjs → chunk-FSNBYRNA.cjs} +3 -3
- package/dist/{chunk-ZPHUTCJ5.cjs.map → chunk-FSNBYRNA.cjs.map} +1 -1
- package/dist/{chunk-2SYYKQ4Q.cjs → chunk-GWEINEJG.cjs} +2 -2
- package/dist/{chunk-2SYYKQ4Q.cjs.map → chunk-GWEINEJG.cjs.map} +1 -1
- package/dist/{chunk-GXO7TSXQ.cjs → chunk-HTAT4MGN.cjs} +3 -3
- package/dist/chunk-HTAT4MGN.cjs.map +1 -0
- package/dist/{chunk-D4VBWPWN.js → chunk-I6WGOM3C.js} +2 -2
- package/dist/{chunk-D4VBWPWN.js.map → chunk-I6WGOM3C.js.map} +1 -1
- package/dist/{chunk-CL7DM2FX.js → chunk-IAL64FCP.js} +2 -2
- package/dist/{chunk-CL7DM2FX.js.map → chunk-IAL64FCP.js.map} +1 -1
- package/dist/{chunk-TC23XEAV.js → chunk-IEBWLNI5.js} +2 -2
- package/dist/{chunk-TC23XEAV.js.map → chunk-IEBWLNI5.js.map} +1 -1
- package/dist/{chunk-YSHWNCDH.cjs → chunk-IIBR4LVH.cjs} +4 -4
- package/dist/{chunk-YSHWNCDH.cjs.map → chunk-IIBR4LVH.cjs.map} +1 -1
- package/dist/{chunk-UVHD7BBC.js → chunk-JHHSQ2YR.js} +3 -3
- package/dist/{chunk-UVHD7BBC.js.map → chunk-JHHSQ2YR.js.map} +1 -1
- package/dist/{chunk-G2V33LFM.cjs → chunk-KYE5BWPN.cjs} +2 -2
- package/dist/{chunk-G2V33LFM.cjs.map → chunk-KYE5BWPN.cjs.map} +1 -1
- package/dist/{chunk-LQIRBP4Q.js → chunk-LV7PJ2MU.js} +2 -2
- package/dist/{chunk-LQIRBP4Q.js.map → chunk-LV7PJ2MU.js.map} +1 -1
- package/dist/{chunk-SE6ZCGZ5.cjs → chunk-MKBB7IVN.cjs} +2 -2
- package/dist/{chunk-SE6ZCGZ5.cjs.map → chunk-MKBB7IVN.cjs.map} +1 -1
- package/dist/{chunk-LE6WZLJ4.js → chunk-MONPHAHO.js} +2 -2
- package/dist/{chunk-LE6WZLJ4.js.map → chunk-MONPHAHO.js.map} +1 -1
- package/dist/{chunk-ZC2NPRLO.js → chunk-N22D5ZD4.js} +3 -3
- package/dist/{chunk-ZC2NPRLO.js.map → chunk-N22D5ZD4.js.map} +1 -1
- package/dist/{chunk-GJZIJK2Q.cjs → chunk-O5ZLOZPH.cjs} +2 -2
- package/dist/{chunk-GJZIJK2Q.cjs.map → chunk-O5ZLOZPH.cjs.map} +1 -1
- package/dist/{chunk-Y7XRA2EV.js → chunk-OKSAUK5C.js} +2 -2
- package/dist/{chunk-Y7XRA2EV.js.map → chunk-OKSAUK5C.js.map} +1 -1
- package/dist/{chunk-RRUGQ6DM.js → chunk-OLATJABN.js} +2 -2
- package/dist/{chunk-RRUGQ6DM.js.map → chunk-OLATJABN.js.map} +1 -1
- package/dist/{chunk-REZQFPVX.js → chunk-POIHAKBX.js} +2 -2
- package/dist/{chunk-REZQFPVX.js.map → chunk-POIHAKBX.js.map} +1 -1
- package/dist/{chunk-AZX4NTYN.cjs → chunk-QXGKONTZ.cjs} +3 -3
- package/dist/{chunk-AZX4NTYN.cjs.map → chunk-QXGKONTZ.cjs.map} +1 -1
- package/dist/{chunk-VQO54ZMA.js → chunk-RRJ77SF6.js} +2 -2
- package/dist/{chunk-VQO54ZMA.js.map → chunk-RRJ77SF6.js.map} +1 -1
- package/dist/{chunk-O5PO4D2A.cjs → chunk-RVNW627Y.cjs} +2 -2
- package/dist/{chunk-O5PO4D2A.cjs.map → chunk-RVNW627Y.cjs.map} +1 -1
- package/dist/{chunk-CQLCTKMX.cjs → chunk-TTHCH7V2.cjs} +2 -2
- package/dist/{chunk-CQLCTKMX.cjs.map → chunk-TTHCH7V2.cjs.map} +1 -1
- package/dist/{chunk-6EYKVQT3.cjs → chunk-U7CNADCJ.cjs} +2 -2
- package/dist/{chunk-6EYKVQT3.cjs.map → chunk-U7CNADCJ.cjs.map} +1 -1
- package/dist/{chunk-FDKTESBC.cjs → chunk-UBKWHRFL.cjs} +2 -2
- package/dist/{chunk-FDKTESBC.cjs.map → chunk-UBKWHRFL.cjs.map} +1 -1
- package/dist/{chunk-ZSLVLMO5.cjs → chunk-UMW5PO42.cjs} +2 -2
- package/dist/{chunk-ZSLVLMO5.cjs.map → chunk-UMW5PO42.cjs.map} +1 -1
- package/dist/{chunk-7RC6RBS6.cjs → chunk-W5BBKLNS.cjs} +2 -2
- package/dist/{chunk-7RC6RBS6.cjs.map → chunk-W5BBKLNS.cjs.map} +1 -1
- package/dist/{chunk-ZDJTDFTR.cjs → chunk-WXOJ3DS3.cjs} +2 -2
- package/dist/{chunk-ZDJTDFTR.cjs.map → chunk-WXOJ3DS3.cjs.map} +1 -1
- package/dist/chunk-YIXCPLCN.cjs +3 -0
- package/dist/chunk-YIXCPLCN.cjs.map +1 -0
- package/dist/{chunk-ZE5KKMBV.cjs → chunk-YLTNXYA7.cjs} +2 -2
- package/dist/{chunk-ZE5KKMBV.cjs.map → chunk-YLTNXYA7.cjs.map} +1 -1
- package/dist/{chunk-VB6QMU2W.js → chunk-Z5DA5UXY.js} +3 -3
- package/dist/chunk-Z5DA5UXY.js.map +1 -0
- package/dist/{chunk-HANGBVEE.js → chunk-Z5VBXZ4A.js} +2 -2
- package/dist/{chunk-HANGBVEE.js.map → chunk-Z5VBXZ4A.js.map} +1 -1
- package/dist/constants.cjs +1 -1
- package/dist/constants.js +1 -1
- package/dist/engine.cjs +1 -1
- package/dist/engine.d.cts +6 -6
- package/dist/engine.d.ts +6 -6
- package/dist/engine.js +1 -1
- package/dist/errors.cjs +1 -1
- package/dist/errors.d.cts +3 -3
- package/dist/errors.d.ts +3 -3
- package/dist/errors.js +1 -1
- package/dist/format.cjs +1 -1
- package/dist/format.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +1 -1
- package/dist/language.d.cts +5 -5
- package/dist/language.d.ts +5 -5
- package/dist/lexer.cjs +1 -1
- package/dist/lexer.d.cts +3 -3
- package/dist/lexer.d.ts +3 -3
- package/dist/lexer.js +1 -1
- package/dist/normalizer.cjs +1 -1
- package/dist/normalizer.js +1 -1
- package/dist/packages.cjs +1 -1
- package/dist/packages.d.cts +4 -4
- package/dist/packages.d.ts +4 -4
- package/dist/packages.js +1 -1
- package/dist/parser.cjs +1 -1
- package/dist/parser.js +1 -1
- package/dist/temporal.cjs +1 -1
- package/dist/temporal.js +1 -1
- package/dist/testing.cjs +2 -2
- package/dist/testing.d.cts +5 -5
- package/dist/testing.d.ts +5 -5
- package/dist/testing.js +1 -1
- package/dist/uom.cjs +1 -1
- package/dist/uom.js +1 -1
- package/dist/vm.cjs +1 -1
- package/dist/vm.d.cts +3 -3
- package/dist/vm.d.ts +3 -3
- package/dist/vm.js +1 -1
- package/dist/worker.cjs +2 -2
- package/dist/worker.d.cts +5 -5
- package/dist/worker.d.ts +5 -5
- package/dist/worker.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-DFMAZ6XM.cjs +0 -3
- package/dist/chunk-DFMAZ6XM.cjs.map +0 -1
- package/dist/chunk-GXO7TSXQ.cjs.map +0 -1
- package/dist/chunk-PQFI55AC.js +0 -3
- package/dist/chunk-PQFI55AC.js.map +0 -1
- package/dist/chunk-QQHHZPEW.cjs +0 -2
- package/dist/chunk-VB6QMU2W.js.map +0 -1
package/dist/engine.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { t as DocumentModel, E as ExpressionEngine, V as ViewportRange, u as LineChange, U as UnifiedParsingOptions, P as ParsingResult, v as InlineSolvePosition } from './PackageRegistry-
|
|
2
|
-
export { A as ApplyChangesResult, w as AsyncCachePackageInfo, x as AsyncErrorEvent, y as AsyncResolutionBatcher, z as AsyncResolutionEvent, B as BatcherMetrics, F as BytecodeCacheEntry, G as CacheSnapshot, H as CheckpointSnapshot, D as DateOrderSource, b as DateReading, c as DateReadingPolicy, a as EngineOptions, d as EngineRestoreOptions, e as EngineSnapshot, f as Explanation, g as ExplanationStep, J as LineCacheEntryInfo, K as LineState, M as LinesUpdatedEvent, N as ParsedLine, R as ResolvedDateOrder, S as SNAPSHOT_FORMAT, h as SNAPSHOT_VERSION, i as SerializedAnonymousBody, j as SerializedBytecode, k as SerializedDecimal, l as SerializedLineCacheEntry, m as SerializedNumber, n as SerializedRational, o as SerializedUserFunction, p as SerializedValue, q as SnapshotErrorCodes } from './PackageRegistry-
|
|
1
|
+
import { t as DocumentModel, E as ExpressionEngine, V as ViewportRange, u as LineChange, U as UnifiedParsingOptions, P as ParsingResult, v as InlineSolvePosition } from './PackageRegistry-Dl9kNP14.js';
|
|
2
|
+
export { A as ApplyChangesResult, w as AsyncCachePackageInfo, x as AsyncErrorEvent, y as AsyncResolutionBatcher, z as AsyncResolutionEvent, B as BatcherMetrics, F as BytecodeCacheEntry, G as CacheSnapshot, H as CheckpointSnapshot, D as DateOrderSource, b as DateReading, c as DateReadingPolicy, a as EngineOptions, d as EngineRestoreOptions, e as EngineSnapshot, f as Explanation, g as ExplanationStep, J as LineCacheEntryInfo, K as LineState, M as LinesUpdatedEvent, N as ParsedLine, R as ResolvedDateOrder, S as SNAPSHOT_FORMAT, h as SNAPSHOT_VERSION, i as SerializedAnonymousBody, j as SerializedBytecode, k as SerializedDecimal, l as SerializedLineCacheEntry, m as SerializedNumber, n as SerializedRational, o as SerializedUserFunction, p as SerializedValue, q as SnapshotErrorCodes } from './PackageRegistry-Dl9kNP14.js';
|
|
3
3
|
export { C as CalendarBackend, a as CalendarFields, Z as ZonedFields } from './CalendarBackend-MdS3Bb4P.js';
|
|
4
4
|
export { D as DATE_CALENDAR, a as DateCalendar, c as calendarOf, d as dateCalendarInZone } from './DateCalendar-B85t6Vk6.js';
|
|
5
5
|
import { V as Value } from './Value-BYHw-x7q.js';
|
|
6
|
-
import { a as VMCheckpointer } from './VMCheckpoints-
|
|
6
|
+
import { a as VMCheckpointer } from './VMCheckpoints-DFCl63K5.js';
|
|
7
7
|
import { T as Token } from './Token-D8f7yaz1.js';
|
|
8
|
-
import { E as EngineError } from './EngineError-
|
|
8
|
+
import { E as EngineError } from './EngineError-CA2tiVaI.js';
|
|
9
9
|
import { a as BytecodeProgram } from './BytecodeBuilder-DSWKZi4f.js';
|
|
10
|
-
export { f as DagSnapshot } from './VMBuiltins-
|
|
10
|
+
export { f as DagSnapshot } from './VMBuiltins-CbuFfIgQ.js';
|
|
11
11
|
import './Parselet-Dgymjxzd.js';
|
|
12
12
|
import './pipeline-Cl7KW8CB.js';
|
|
13
|
-
import './Lexer-
|
|
13
|
+
import './Lexer-B62Hn9I-.js';
|
|
14
14
|
import './resolvers.js';
|
|
15
15
|
import '@tanstack/query-core';
|
|
16
16
|
import './TokenNormalizer-IF7nPRMp.js';
|
package/dist/engine.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{a as DocumentModel,b as EvalTier,c as ThreeTierEvaluator,d as evaluateDocument}from'./chunk-
|
|
1
|
+
export{a as DocumentModel,b as EvalTier,c as ThreeTierEvaluator,d as evaluateDocument}from'./chunk-JHHSQ2YR.js';import'./chunk-RAF57WYO.js';export{h as AsyncResolutionBatcher,n as ExpressionEngine,d as SNAPSHOT_FORMAT,e as SNAPSHOT_VERSION,f as SnapshotErrorCodes,j as checkExpressionComplexity,i as checkExpressionLength,k as extractReadsAndWrites,m as findInlineSolvesInLine,l as isEmptyLine}from'./chunk-APU5LON7.js';import'./chunk-RRJ77SF6.js';import'./chunk-2RWAXT6O.js';import'./chunk-IJHL3LMH.js';import'./chunk-MIQBJGGR.js';import'./chunk-IEBWLNI5.js';import'./chunk-JP4JMQOG.js';import'./chunk-N22D5ZD4.js';import'./chunk-XEIDV5JP.js';import'./chunk-7ASISMXA.js';import'./chunk-7ZYYWSLT.js';import'./chunk-MONPHAHO.js';import'./chunk-76F3LCIL.js';import'./chunk-TCZSPH4A.js';import'./chunk-IAL64FCP.js';import'./chunk-I6WGOM3C.js';import'./chunk-DDVDRWCK.js';import'./chunk-TZYMXNIB.js';import'./chunk-HFKDWQUL.js';import'./chunk-5TCSFTZD.js';import'./chunk-6T5HPIZX.js';export{b as DATE_CALENDAR,a as DateCalendar,c as calendarOf,d as dateCalendarInZone}from'./chunk-A7RRWNLE.js';import'./chunk-J4K72CQN.js';import'./chunk-LV7PJ2MU.js';import'./chunk-4CNYGIND.js';import'./chunk-POIHAKBX.js';import'./chunk-OKSAUK5C.js';import'./chunk-JPFCXLJV.js';import'./chunk-OLATJABN.js';import'./chunk-FAO6DQ74.js';import'./chunk-LHLW7JLS.js';import'./chunk-CHVGFTO3.js';import'./chunk-PRSXXDTA.js';import'./chunk-Z5DA5UXY.js';//# sourceMappingURL=engine.js.map
|
|
2
2
|
//# sourceMappingURL=engine.js.map
|
package/dist/errors.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkMKBB7IVN_cjs=require('./chunk-MKBB7IVN.cjs'),chunkHTAT4MGN_cjs=require('./chunk-HTAT4MGN.cjs');Object.defineProperty(exports,"WorkerErrorCodes",{enumerable:true,get:function(){return chunkMKBB7IVN_cjs.a}});Object.defineProperty(exports,"deserializeEngineError",{enumerable:true,get:function(){return chunkMKBB7IVN_cjs.c}});Object.defineProperty(exports,"serializeEngineError",{enumerable:true,get:function(){return chunkMKBB7IVN_cjs.b}});Object.defineProperty(exports,"workerCancelledError",{enumerable:true,get:function(){return chunkMKBB7IVN_cjs.d}});Object.defineProperty(exports,"workerTerminatedError",{enumerable:true,get:function(){return chunkMKBB7IVN_cjs.e}});Object.defineProperty(exports,"workerTransportError",{enumerable:true,get:function(){return chunkMKBB7IVN_cjs.f}});Object.defineProperty(exports,"CoreErrorCodes",{enumerable:true,get:function(){return chunkHTAT4MGN_cjs.r}});Object.defineProperty(exports,"EngineError",{enumerable:true,get:function(){return chunkHTAT4MGN_cjs.b}});Object.defineProperty(exports,"ErrorCategory",{enumerable:true,get:function(){return chunkHTAT4MGN_cjs.a}});Object.defineProperty(exports,"ErrorFactory",{enumerable:true,get:function(){return chunkHTAT4MGN_cjs.c}});Object.defineProperty(exports,"andThen",{enumerable:true,get:function(){return chunkHTAT4MGN_cjs.k}});Object.defineProperty(exports,"combine",{enumerable:true,get:function(){return chunkHTAT4MGN_cjs.n}});Object.defineProperty(exports,"err",{enumerable:true,get:function(){return chunkHTAT4MGN_cjs.f}});Object.defineProperty(exports,"isErr",{enumerable:true,get:function(){return chunkHTAT4MGN_cjs.h}});Object.defineProperty(exports,"isOk",{enumerable:true,get:function(){return chunkHTAT4MGN_cjs.g}});Object.defineProperty(exports,"map",{enumerable:true,get:function(){return chunkHTAT4MGN_cjs.i}});Object.defineProperty(exports,"mapErr",{enumerable:true,get:function(){return chunkHTAT4MGN_cjs.j}});Object.defineProperty(exports,"match",{enumerable:true,get:function(){return chunkHTAT4MGN_cjs.m}});Object.defineProperty(exports,"normalizeUnknownError",{enumerable:true,get:function(){return chunkHTAT4MGN_cjs.d}});Object.defineProperty(exports,"ok",{enumerable:true,get:function(){return chunkHTAT4MGN_cjs.e}});Object.defineProperty(exports,"throwIfErr",{enumerable:true,get:function(){return chunkHTAT4MGN_cjs.o}});Object.defineProperty(exports,"tryCatch",{enumerable:true,get:function(){return chunkHTAT4MGN_cjs.p}});Object.defineProperty(exports,"tryCatchAsync",{enumerable:true,get:function(){return chunkHTAT4MGN_cjs.q}});Object.defineProperty(exports,"unwrapOr",{enumerable:true,get:function(){return chunkHTAT4MGN_cjs.l}});//# sourceMappingURL=errors.cjs.map
|
|
2
2
|
//# sourceMappingURL=errors.cjs.map
|
package/dist/errors.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { E as EngineError } from './EngineError-
|
|
2
|
-
export { C as CoreErrorCode, a as CoreErrorCodes, b as EngineErrorInit, c as ErrorCategory, d as ErrorCode, e as ErrorFactory, S as SourceSpan, n as normalizeUnknownError } from './EngineError-
|
|
3
|
-
export { S as SerializedEngineError, W as WorkerErrorCodes, d as deserializeEngineError, s as serializeEngineError, w as workerCancelledError, a as workerTerminatedError, b as workerTransportError } from './WorkerError-
|
|
1
|
+
import { E as EngineError } from './EngineError-CA2tiVaI.cjs';
|
|
2
|
+
export { C as CoreErrorCode, a as CoreErrorCodes, b as EngineErrorInit, c as ErrorCategory, d as ErrorCode, e as ErrorFactory, S as SourceSpan, n as normalizeUnknownError } from './EngineError-CA2tiVaI.cjs';
|
|
3
|
+
export { S as SerializedEngineError, W as WorkerErrorCodes, d as deserializeEngineError, s as serializeEngineError, w as workerCancelledError, a as workerTerminatedError, b as workerTransportError } from './WorkerError-DDtwl4oH.cjs';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* A Rust-style `Result<T, E>`, the value half of this engine's error-handling
|
package/dist/errors.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { E as EngineError } from './EngineError-
|
|
2
|
-
export { C as CoreErrorCode, a as CoreErrorCodes, b as EngineErrorInit, c as ErrorCategory, d as ErrorCode, e as ErrorFactory, S as SourceSpan, n as normalizeUnknownError } from './EngineError-
|
|
3
|
-
export { S as SerializedEngineError, W as WorkerErrorCodes, d as deserializeEngineError, s as serializeEngineError, w as workerCancelledError, a as workerTerminatedError, b as workerTransportError } from './WorkerError-
|
|
1
|
+
import { E as EngineError } from './EngineError-CA2tiVaI.js';
|
|
2
|
+
export { C as CoreErrorCode, a as CoreErrorCodes, b as EngineErrorInit, c as ErrorCategory, d as ErrorCode, e as ErrorFactory, S as SourceSpan, n as normalizeUnknownError } from './EngineError-CA2tiVaI.js';
|
|
3
|
+
export { S as SerializedEngineError, W as WorkerErrorCodes, d as deserializeEngineError, s as serializeEngineError, w as workerCancelledError, a as workerTerminatedError, b as workerTransportError } from './WorkerError-BuO9MrRr.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* A Rust-style `Result<T, E>`, the value half of this engine's error-handling
|
package/dist/errors.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{a as WorkerErrorCodes,c as deserializeEngineError,b as serializeEngineError,d as workerCancelledError,e as workerTerminatedError,f as workerTransportError}from'./chunk-
|
|
1
|
+
export{a as WorkerErrorCodes,c as deserializeEngineError,b as serializeEngineError,d as workerCancelledError,e as workerTerminatedError,f as workerTransportError}from'./chunk-2RLNVS6G.js';export{r as CoreErrorCodes,b as EngineError,a as ErrorCategory,c as ErrorFactory,k as andThen,n as combine,f as err,h as isErr,g as isOk,i as map,j as mapErr,m as match,d as normalizeUnknownError,e as ok,o as throwIfErr,p as tryCatch,q as tryCatchAsync,l as unwrapOr}from'./chunk-Z5DA5UXY.js';//# sourceMappingURL=errors.js.map
|
|
2
2
|
//# sourceMappingURL=errors.js.map
|
package/dist/format.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkQXGKONTZ_cjs=require('./chunk-QXGKONTZ.cjs');require('./chunk-R2SZFJTT.cjs'),require('./chunk-5TVI2UPZ.cjs'),require('./chunk-UBKWHRFL.cjs'),require('./chunk-5J2XDCSV.cjs'),require('./chunk-E4HAKNBQ.cjs'),require('./chunk-O5ZLOZPH.cjs'),require('./chunk-S3DFU33X.cjs'),require('./chunk-HTAT4MGN.cjs');Object.defineProperty(exports,"DEFAULT_FORMATTING_SETTINGS",{enumerable:true,get:function(){return chunkQXGKONTZ_cjs.a}});Object.defineProperty(exports,"formatMatrixAligned",{enumerable:true,get:function(){return chunkQXGKONTZ_cjs.b}});Object.defineProperty(exports,"formatValue",{enumerable:true,get:function(){return chunkQXGKONTZ_cjs.c}});//# sourceMappingURL=format.cjs.map
|
|
2
2
|
//# sourceMappingURL=format.cjs.map
|
package/dist/format.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{a as DEFAULT_FORMATTING_SETTINGS,b as formatMatrixAligned,c as formatValue}from'./chunk-
|
|
1
|
+
export{a as DEFAULT_FORMATTING_SETTINGS,b as formatMatrixAligned,c as formatValue}from'./chunk-N22D5ZD4.js';import'./chunk-XEIDV5JP.js';import'./chunk-5TCSFTZD.js';import'./chunk-6T5HPIZX.js';import'./chunk-A7RRWNLE.js';import'./chunk-J4K72CQN.js';import'./chunk-LV7PJ2MU.js';import'./chunk-LHLW7JLS.js';import'./chunk-Z5DA5UXY.js';//# sourceMappingURL=format.js.map
|
|
2
2
|
//# sourceMappingURL=format.js.map
|
package/dist/index.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';require('./chunk-
|
|
1
|
+
'use strict';require('./chunk-FSNBYRNA.cjs'),require('./chunk-EFJCC6FJ.cjs');var chunkIIBR4LVH_cjs=require('./chunk-IIBR4LVH.cjs');require('./chunk-GWEINEJG.cjs'),require('./chunk-NGBBNL4K.cjs'),require('./chunk-ZVPZQ66D.cjs'),require('./chunk-TTFO4YDP.cjs'),require('./chunk-2G3AW6OQ.cjs'),require('./chunk-HG4NPDN5.cjs');var chunkQXGKONTZ_cjs=require('./chunk-QXGKONTZ.cjs');require('./chunk-R2SZFJTT.cjs');var chunkYIXCPLCN_cjs=require('./chunk-YIXCPLCN.cjs');require('./chunk-KYE5BWPN.cjs'),require('./chunk-W5BBKLNS.cjs');var chunkWXOJ3DS3_cjs=require('./chunk-WXOJ3DS3.cjs');require('./chunk-UMW5PO42.cjs'),require('./chunk-UURM7P3P.cjs'),require('./chunk-ZLRJ7TDP.cjs'),require('./chunk-5NQE5JMU.cjs'),require('./chunk-YLTNXYA7.cjs'),require('./chunk-2YNRIT2L.cjs'),require('./chunk-ABVDKMNF.cjs'),require('./chunk-TLG7VZRX.cjs'),require('./chunk-5TVI2UPZ.cjs'),require('./chunk-UBKWHRFL.cjs');var chunk5J2XDCSV_cjs=require('./chunk-5J2XDCSV.cjs');require('./chunk-E4HAKNBQ.cjs');var chunkO5ZLOZPH_cjs=require('./chunk-O5ZLOZPH.cjs');require('./chunk-ZKFCKAIX.cjs');var chunkRVNW627Y_cjs=require('./chunk-RVNW627Y.cjs');require('./chunk-TTHCH7V2.cjs'),require('./chunk-Y7O4D3BJ.cjs'),require('./chunk-U7CNADCJ.cjs'),require('./chunk-YBQOQTVL.cjs'),require('./chunk-S3DFU33X.cjs'),require('./chunk-J4LSAHCY.cjs'),require('./chunk-EZKR44MA.cjs');var chunkHTAT4MGN_cjs=require('./chunk-HTAT4MGN.cjs');var r={DEFINE_FUNCTION_INVALID_NAME:"DEFINE_FUNCTION_INVALID_NAME",DEFINE_FUNCTION_INVALID_SPEC:"DEFINE_FUNCTION_INVALID_SPEC",DEFINE_FUNCTION_ARITY_MISMATCH:"DEFINE_FUNCTION_ARITY_MISMATCH",DEFINE_FUNCTION_ARGUMENT_TYPE:"DEFINE_FUNCTION_ARGUMENT_TYPE",DEFINE_FUNCTION_RETURN_TYPE:"DEFINE_FUNCTION_RETURN_TYPE"},V=/^[a-z_][a-z0-9_]*$/i,N=new Set(["number","string","boolean"]);function u(e){return e===1?"1 argument":`${e} arguments`}function d(e){switch(e.type){case 0:case 1:return "a number";case 3:return "a string";case 10:return "a boolean";case 2:return "a big integer";case 5:return "a percentage";case 6:return "a value with a unit";case 4:return "a date";case 7:return "a matrix";case 8:return "a range";case 9:return "a symbolic expression";default:return "an unsupported value"}}function O(e,n,t){switch(n.type){case "number":if(e.type===0||e.type===1)return e.toNumber();break;case "string":if(e.type===3)return e.value;break;case "boolean":if(e.type===10)return e.value;break}throw chunkHTAT4MGN_cjs.c.execution({code:r.DEFINE_FUNCTION_ARGUMENT_TYPE,message:`${t}() expects "${n.name}" to be a ${n.type}, but was given ${d(e)}`,expected:`a ${n.type}`,found:d(e),context:{functionName:t,argName:n.name,expectedType:n.type}})}function R(e,n,t){switch(n){case "number":if(typeof e=="number")return chunkO5ZLOZPH_cjs.n(e);break;case "string":if(typeof e=="string")return chunkO5ZLOZPH_cjs.t(e);break;case "boolean":if(typeof e=="boolean")return chunkO5ZLOZPH_cjs.L(e);break}throw chunkHTAT4MGN_cjs.c.internal({code:r.DEFINE_FUNCTION_RETURN_TYPE,message:`${t}() is declared to return a ${n}, but its implementation returned ${typeof e}`,expected:`a ${n}`,found:typeof e,context:{functionName:t,expectedType:n}})}var p=class{constructor(n){this.fnName=n;this.category="Function";}parse(n,t,a){n.consume("LPAREN");let i=0;if(n.peek()?.type!=="RPAREN")for(n.parseExpression(chunkWXOJ3DS3_cjs.a.Lowest,a),i++;n.match("COMMA");)n.parseExpression(chunkWXOJ3DS3_cjs.a.Lowest,a),i++;n.consume("RPAREN"),a.emitPluginCall(this.fnName,i);}};function D(e){let n=e.args.length;return t=>{if(t.length!==n)throw chunkHTAT4MGN_cjs.c.execution({code:r.DEFINE_FUNCTION_ARITY_MISMATCH,message:`${e.name}() takes ${u(n)}, but was given ${t.length===0?"none":u(t.length)}`,expected:u(n),found:t.length===0?"none":u(t.length),context:{functionName:e.name,expected:n,actual:t.length}});let a=new Array(n);for(let s=0;s<n;s++)a[s]=O(t[s],e.args[s],e.name);let i=e.call(...a);return R(i,e.returns,e.name)}}function h(e){if(typeof e?.name!="string"||!V.test(e.name))throw chunkHTAT4MGN_cjs.c.config({code:r.DEFINE_FUNCTION_INVALID_NAME,message:`defineFunction: name must be a single identifier, got ${JSON.stringify(e?.name)}`,suggestion:'e.g. "vat" or "net_price"',context:{name:e?.name}});if(!Array.isArray(e.args))throw chunkHTAT4MGN_cjs.c.config({code:r.DEFINE_FUNCTION_INVALID_SPEC,message:`defineFunction: "${e.name}" args must be an array`,context:{name:e.name}});for(let n of e.args){if(typeof n?.name!="string"||n.name.length===0)throw chunkHTAT4MGN_cjs.c.config({code:r.DEFINE_FUNCTION_INVALID_SPEC,message:`defineFunction: "${e.name}" has an argument with no name`,context:{name:e.name}});if(!N.has(n.type))throw chunkHTAT4MGN_cjs.c.config({code:r.DEFINE_FUNCTION_INVALID_SPEC,message:`defineFunction: "${e.name}" argument "${n.name}" has unsupported type ${JSON.stringify(n.type)}`,suggestion:"supported argument types are number, string, boolean",context:{name:e.name,argName:n.name,type:n.type}})}if(!N.has(e.returns))throw chunkHTAT4MGN_cjs.c.config({code:r.DEFINE_FUNCTION_INVALID_SPEC,message:`defineFunction: "${e.name}" has unsupported return type ${JSON.stringify(e.returns)}`,suggestion:"supported return types are number, string, boolean",context:{name:e.name,returns:e.returns}});if(typeof e.call!="function")throw chunkHTAT4MGN_cjs.c.config({code:r.DEFINE_FUNCTION_INVALID_SPEC,message:`defineFunction: "${e.name}" is missing a call implementation`,context:{name:e.name}})}function k(e){h(e);let n=e.name,t=`DEFINE_FN_${n.toUpperCase()}`;return {name:`solve-fn-${n}`,lexerVocabulary:{keywords:{[n.toLowerCase()]:t}},prefixParselets:{[t]:new p(n)},pluginFunctions:{[n]:D(e)}}}function U(e={}){let{extraPackages:n=[],...t}=e;return new chunkIIBR4LVH_cjs.n({...t,packages:n.length>0?[...chunkYIXCPLCN_cjs.z,...n]:chunkYIXCPLCN_cjs.z})}Object.defineProperty(exports,"ExpressionEngine",{enumerable:true,get:function(){return chunkIIBR4LVH_cjs.n}});Object.defineProperty(exports,"SNAPSHOT_FORMAT",{enumerable:true,get:function(){return chunkIIBR4LVH_cjs.d}});Object.defineProperty(exports,"SNAPSHOT_VERSION",{enumerable:true,get:function(){return chunkIIBR4LVH_cjs.e}});Object.defineProperty(exports,"SnapshotErrorCodes",{enumerable:true,get:function(){return chunkIIBR4LVH_cjs.f}});Object.defineProperty(exports,"assertEngineVersionCompatible",{enumerable:true,get:function(){return chunkIIBR4LVH_cjs.c}});Object.defineProperty(exports,"checkEngineVersionCompatibility",{enumerable:true,get:function(){return chunkIIBR4LVH_cjs.b}});Object.defineProperty(exports,"checkPackageCompatibility",{enumerable:true,get:function(){return chunkIIBR4LVH_cjs.a}});Object.defineProperty(exports,"formatValue",{enumerable:true,get:function(){return chunkQXGKONTZ_cjs.c}});Object.defineProperty(exports,"dateCalendarInZone",{enumerable:true,get:function(){return chunk5J2XDCSV_cjs.d}});Object.defineProperty(exports,"Value",{enumerable:true,get:function(){return chunkO5ZLOZPH_cjs.m}});Object.defineProperty(exports,"ValueType",{enumerable:true,get:function(){return chunkO5ZLOZPH_cjs.g}});Object.defineProperty(exports,"ENGINE_VERSION",{enumerable:true,get:function(){return chunkRVNW627Y_cjs.a}});exports.DefineFunctionErrorCodes=r;exports.createEngine=U;exports.defineFunction=k;//# sourceMappingURL=index.cjs.map
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { I as IEnginePackage, a as EngineOptions, E as ExpressionEngine } from './PackageRegistry-
|
|
2
|
-
export { D as DateOrderSource, b as DateReading, c as DateReadingPolicy, d as EngineRestoreOptions, e as EngineSnapshot, f as Explanation, g as ExplanationStep, R as ResolvedDateOrder, S as SNAPSHOT_FORMAT, h as SNAPSHOT_VERSION, i as SerializedAnonymousBody, j as SerializedBytecode, k as SerializedDecimal, l as SerializedLineCacheEntry, m as SerializedNumber, n as SerializedRational, o as SerializedUserFunction, p as SerializedValue, q as SnapshotErrorCodes } from './PackageRegistry-
|
|
3
|
-
export { a as CompatibilityConflict, b as CompatibilityConflictKind, C as CompatibilityReport, c as CompatibilitySeverity, d as checkPackageCompatibility } from './PackageCompatibility-
|
|
1
|
+
import { I as IEnginePackage, a as EngineOptions, E as ExpressionEngine } from './PackageRegistry-CevYUzRn.cjs';
|
|
2
|
+
export { D as DateOrderSource, b as DateReading, c as DateReadingPolicy, d as EngineRestoreOptions, e as EngineSnapshot, f as Explanation, g as ExplanationStep, R as ResolvedDateOrder, S as SNAPSHOT_FORMAT, h as SNAPSHOT_VERSION, i as SerializedAnonymousBody, j as SerializedBytecode, k as SerializedDecimal, l as SerializedLineCacheEntry, m as SerializedNumber, n as SerializedRational, o as SerializedUserFunction, p as SerializedValue, q as SnapshotErrorCodes } from './PackageRegistry-CevYUzRn.cjs';
|
|
3
|
+
export { a as CompatibilityConflict, b as CompatibilityConflictKind, C as CompatibilityReport, c as CompatibilitySeverity, d as checkPackageCompatibility } from './PackageCompatibility-DW18LqED.cjs';
|
|
4
4
|
export { E as EngineConfigOverride } from './Configuration-BxriK9Kw.cjs';
|
|
5
5
|
export { D as DatetimeGrain, V as Value, b as ValueType } from './Value-BYHw-x7q.cjs';
|
|
6
6
|
export { formatValue } from './format.cjs';
|
|
@@ -12,12 +12,12 @@ import './Parselet-DF3864la.cjs';
|
|
|
12
12
|
import './BytecodeBuilder-DSWKZi4f.cjs';
|
|
13
13
|
import './Token-D8f7yaz1.cjs';
|
|
14
14
|
import './pipeline-BYkKNpql.cjs';
|
|
15
|
-
import './Lexer-
|
|
16
|
-
import './EngineError-
|
|
15
|
+
import './Lexer-DOXatsjO.cjs';
|
|
16
|
+
import './EngineError-CA2tiVaI.cjs';
|
|
17
17
|
import './resolvers.cjs';
|
|
18
18
|
import '@tanstack/query-core';
|
|
19
19
|
import './TokenNormalizer-Pe3_390t.cjs';
|
|
20
|
-
import './VMBuiltins-
|
|
20
|
+
import './VMBuiltins-AIivGl0a.cjs';
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
23
|
* A higher-level, declarative way to contribute a single `name(args)`
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { I as IEnginePackage, a as EngineOptions, E as ExpressionEngine } from './PackageRegistry-
|
|
2
|
-
export { D as DateOrderSource, b as DateReading, c as DateReadingPolicy, d as EngineRestoreOptions, e as EngineSnapshot, f as Explanation, g as ExplanationStep, R as ResolvedDateOrder, S as SNAPSHOT_FORMAT, h as SNAPSHOT_VERSION, i as SerializedAnonymousBody, j as SerializedBytecode, k as SerializedDecimal, l as SerializedLineCacheEntry, m as SerializedNumber, n as SerializedRational, o as SerializedUserFunction, p as SerializedValue, q as SnapshotErrorCodes } from './PackageRegistry-
|
|
3
|
-
export { a as CompatibilityConflict, b as CompatibilityConflictKind, C as CompatibilityReport, c as CompatibilitySeverity, d as checkPackageCompatibility } from './PackageCompatibility-
|
|
1
|
+
import { I as IEnginePackage, a as EngineOptions, E as ExpressionEngine } from './PackageRegistry-Dl9kNP14.js';
|
|
2
|
+
export { D as DateOrderSource, b as DateReading, c as DateReadingPolicy, d as EngineRestoreOptions, e as EngineSnapshot, f as Explanation, g as ExplanationStep, R as ResolvedDateOrder, S as SNAPSHOT_FORMAT, h as SNAPSHOT_VERSION, i as SerializedAnonymousBody, j as SerializedBytecode, k as SerializedDecimal, l as SerializedLineCacheEntry, m as SerializedNumber, n as SerializedRational, o as SerializedUserFunction, p as SerializedValue, q as SnapshotErrorCodes } from './PackageRegistry-Dl9kNP14.js';
|
|
3
|
+
export { a as CompatibilityConflict, b as CompatibilityConflictKind, C as CompatibilityReport, c as CompatibilitySeverity, d as checkPackageCompatibility } from './PackageCompatibility-DT1IPlQx.js';
|
|
4
4
|
export { E as EngineConfigOverride } from './Configuration-BxriK9Kw.js';
|
|
5
5
|
export { D as DatetimeGrain, V as Value, b as ValueType } from './Value-BYHw-x7q.js';
|
|
6
6
|
export { formatValue } from './format.js';
|
|
@@ -12,12 +12,12 @@ import './Parselet-Dgymjxzd.js';
|
|
|
12
12
|
import './BytecodeBuilder-DSWKZi4f.js';
|
|
13
13
|
import './Token-D8f7yaz1.js';
|
|
14
14
|
import './pipeline-Cl7KW8CB.js';
|
|
15
|
-
import './Lexer-
|
|
16
|
-
import './EngineError-
|
|
15
|
+
import './Lexer-B62Hn9I-.js';
|
|
16
|
+
import './EngineError-CA2tiVaI.js';
|
|
17
17
|
import './resolvers.js';
|
|
18
18
|
import '@tanstack/query-core';
|
|
19
19
|
import './TokenNormalizer-IF7nPRMp.js';
|
|
20
|
-
import './VMBuiltins-
|
|
20
|
+
import './VMBuiltins-CbuFfIgQ.js';
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
23
|
* A higher-level, declarative way to contribute a single `name(args)`
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import'./chunk-
|
|
1
|
+
import'./chunk-JHHSQ2YR.js';import'./chunk-RAF57WYO.js';import {n}from'./chunk-APU5LON7.js';export{n as ExpressionEngine,d as SNAPSHOT_FORMAT,e as SNAPSHOT_VERSION,f as SnapshotErrorCodes,c as assertEngineVersionCompatible,b as checkEngineVersionCompatibility,a as checkPackageCompatibility}from'./chunk-APU5LON7.js';import'./chunk-RRJ77SF6.js';import'./chunk-2RWAXT6O.js';import'./chunk-IJHL3LMH.js';import'./chunk-MIQBJGGR.js';import'./chunk-IEBWLNI5.js';import'./chunk-JP4JMQOG.js';export{c as formatValue}from'./chunk-N22D5ZD4.js';import'./chunk-XEIDV5JP.js';import {z}from'./chunk-3LWK33TJ.js';import'./chunk-Z5VBXZ4A.js';import'./chunk-7ASISMXA.js';import {a}from'./chunk-7ZYYWSLT.js';import'./chunk-MONPHAHO.js';import'./chunk-76F3LCIL.js';import'./chunk-TCZSPH4A.js';import'./chunk-IAL64FCP.js';import'./chunk-I6WGOM3C.js';import'./chunk-DDVDRWCK.js';import'./chunk-TZYMXNIB.js';import'./chunk-HFKDWQUL.js';import'./chunk-5TCSFTZD.js';import'./chunk-6T5HPIZX.js';export{d as dateCalendarInZone}from'./chunk-A7RRWNLE.js';import'./chunk-J4K72CQN.js';import {L,t,n as n$1}from'./chunk-LV7PJ2MU.js';export{m as Value,g as ValueType}from'./chunk-LV7PJ2MU.js';import'./chunk-4CNYGIND.js';export{a as ENGINE_VERSION}from'./chunk-POIHAKBX.js';import'./chunk-OKSAUK5C.js';import'./chunk-JPFCXLJV.js';import'./chunk-OLATJABN.js';import'./chunk-FAO6DQ74.js';import'./chunk-LHLW7JLS.js';import'./chunk-CHVGFTO3.js';import'./chunk-PRSXXDTA.js';import {c}from'./chunk-Z5DA5UXY.js';var r={DEFINE_FUNCTION_INVALID_NAME:"DEFINE_FUNCTION_INVALID_NAME",DEFINE_FUNCTION_INVALID_SPEC:"DEFINE_FUNCTION_INVALID_SPEC",DEFINE_FUNCTION_ARITY_MISMATCH:"DEFINE_FUNCTION_ARITY_MISMATCH",DEFINE_FUNCTION_ARGUMENT_TYPE:"DEFINE_FUNCTION_ARGUMENT_TYPE",DEFINE_FUNCTION_RETURN_TYPE:"DEFINE_FUNCTION_RETURN_TYPE"},V=/^[a-z_][a-z0-9_]*$/i,N=new Set(["number","string","boolean"]);function u(e){return e===1?"1 argument":`${e} arguments`}function d(e){switch(e.type){case 0:case 1:return "a number";case 3:return "a string";case 10:return "a boolean";case 2:return "a big integer";case 5:return "a percentage";case 6:return "a value with a unit";case 4:return "a date";case 7:return "a matrix";case 8:return "a range";case 9:return "a symbolic expression";default:return "an unsupported value"}}function O(e,n,t){switch(n.type){case "number":if(e.type===0||e.type===1)return e.toNumber();break;case "string":if(e.type===3)return e.value;break;case "boolean":if(e.type===10)return e.value;break}throw c.execution({code:r.DEFINE_FUNCTION_ARGUMENT_TYPE,message:`${t}() expects "${n.name}" to be a ${n.type}, but was given ${d(e)}`,expected:`a ${n.type}`,found:d(e),context:{functionName:t,argName:n.name,expectedType:n.type}})}function R(e,n,t$1){switch(n){case "number":if(typeof e=="number")return n$1(e);break;case "string":if(typeof e=="string")return t(e);break;case "boolean":if(typeof e=="boolean")return L(e);break}throw c.internal({code:r.DEFINE_FUNCTION_RETURN_TYPE,message:`${t$1}() is declared to return a ${n}, but its implementation returned ${typeof e}`,expected:`a ${n}`,found:typeof e,context:{functionName:t$1,expectedType:n}})}var p=class{constructor(n){this.fnName=n;this.category="Function";}parse(n,t,a$1){n.consume("LPAREN");let i=0;if(n.peek()?.type!=="RPAREN")for(n.parseExpression(a.Lowest,a$1),i++;n.match("COMMA");)n.parseExpression(a.Lowest,a$1),i++;n.consume("RPAREN"),a$1.emitPluginCall(this.fnName,i);}};function D(e){let n=e.args.length;return t=>{if(t.length!==n)throw c.execution({code:r.DEFINE_FUNCTION_ARITY_MISMATCH,message:`${e.name}() takes ${u(n)}, but was given ${t.length===0?"none":u(t.length)}`,expected:u(n),found:t.length===0?"none":u(t.length),context:{functionName:e.name,expected:n,actual:t.length}});let a=new Array(n);for(let s=0;s<n;s++)a[s]=O(t[s],e.args[s],e.name);let i=e.call(...a);return R(i,e.returns,e.name)}}function h(e){if(typeof e?.name!="string"||!V.test(e.name))throw c.config({code:r.DEFINE_FUNCTION_INVALID_NAME,message:`defineFunction: name must be a single identifier, got ${JSON.stringify(e?.name)}`,suggestion:'e.g. "vat" or "net_price"',context:{name:e?.name}});if(!Array.isArray(e.args))throw c.config({code:r.DEFINE_FUNCTION_INVALID_SPEC,message:`defineFunction: "${e.name}" args must be an array`,context:{name:e.name}});for(let n of e.args){if(typeof n?.name!="string"||n.name.length===0)throw c.config({code:r.DEFINE_FUNCTION_INVALID_SPEC,message:`defineFunction: "${e.name}" has an argument with no name`,context:{name:e.name}});if(!N.has(n.type))throw c.config({code:r.DEFINE_FUNCTION_INVALID_SPEC,message:`defineFunction: "${e.name}" argument "${n.name}" has unsupported type ${JSON.stringify(n.type)}`,suggestion:"supported argument types are number, string, boolean",context:{name:e.name,argName:n.name,type:n.type}})}if(!N.has(e.returns))throw c.config({code:r.DEFINE_FUNCTION_INVALID_SPEC,message:`defineFunction: "${e.name}" has unsupported return type ${JSON.stringify(e.returns)}`,suggestion:"supported return types are number, string, boolean",context:{name:e.name,returns:e.returns}});if(typeof e.call!="function")throw c.config({code:r.DEFINE_FUNCTION_INVALID_SPEC,message:`defineFunction: "${e.name}" is missing a call implementation`,context:{name:e.name}})}function k(e){h(e);let n=e.name,t=`DEFINE_FN_${n.toUpperCase()}`;return {name:`solve-fn-${n}`,lexerVocabulary:{keywords:{[n.toLowerCase()]:t}},prefixParselets:{[t]:new p(n)},pluginFunctions:{[n]:D(e)}}}function U(e={}){let{extraPackages:n$1=[],...t}=e;return new n({...t,packages:n$1.length>0?[...z,...n$1]:z})}export{r as DefineFunctionErrorCodes,U as createEngine,k as defineFunction};//# sourceMappingURL=index.js.map
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/dist/language.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { C as CompletionItem } from './PackageRegistry-
|
|
2
|
-
export { L as LanguageService, r as LanguageServiceOptions, s as SemanticToken } from './PackageRegistry-
|
|
3
|
-
import { e as TokenCategory } from './Lexer-
|
|
1
|
+
import { C as CompletionItem } from './PackageRegistry-CevYUzRn.cjs';
|
|
2
|
+
export { L as LanguageService, r as LanguageServiceOptions, s as SemanticToken } from './PackageRegistry-CevYUzRn.cjs';
|
|
3
|
+
import { e as TokenCategory } from './Lexer-DOXatsjO.cjs';
|
|
4
4
|
import './Parselet-DF3864la.cjs';
|
|
5
5
|
import './BytecodeBuilder-DSWKZi4f.cjs';
|
|
6
6
|
import './Token-D8f7yaz1.cjs';
|
|
@@ -10,8 +10,8 @@ import './CalendarBackend-MdS3Bb4P.cjs';
|
|
|
10
10
|
import './resolvers.cjs';
|
|
11
11
|
import '@tanstack/query-core';
|
|
12
12
|
import './TokenNormalizer-Pe3_390t.cjs';
|
|
13
|
-
import './VMBuiltins-
|
|
14
|
-
import './EngineError-
|
|
13
|
+
import './VMBuiltins-AIivGl0a.cjs';
|
|
14
|
+
import './EngineError-CA2tiVaI.cjs';
|
|
15
15
|
import './Configuration-BxriK9Kw.cjs';
|
|
16
16
|
|
|
17
17
|
/**
|
package/dist/language.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { C as CompletionItem } from './PackageRegistry-
|
|
2
|
-
export { L as LanguageService, r as LanguageServiceOptions, s as SemanticToken } from './PackageRegistry-
|
|
3
|
-
import { e as TokenCategory } from './Lexer-
|
|
1
|
+
import { C as CompletionItem } from './PackageRegistry-Dl9kNP14.js';
|
|
2
|
+
export { L as LanguageService, r as LanguageServiceOptions, s as SemanticToken } from './PackageRegistry-Dl9kNP14.js';
|
|
3
|
+
import { e as TokenCategory } from './Lexer-B62Hn9I-.js';
|
|
4
4
|
import './Parselet-Dgymjxzd.js';
|
|
5
5
|
import './BytecodeBuilder-DSWKZi4f.js';
|
|
6
6
|
import './Token-D8f7yaz1.js';
|
|
@@ -10,8 +10,8 @@ import './CalendarBackend-MdS3Bb4P.js';
|
|
|
10
10
|
import './resolvers.js';
|
|
11
11
|
import '@tanstack/query-core';
|
|
12
12
|
import './TokenNormalizer-IF7nPRMp.js';
|
|
13
|
-
import './VMBuiltins-
|
|
14
|
-
import './EngineError-
|
|
13
|
+
import './VMBuiltins-CbuFfIgQ.js';
|
|
14
|
+
import './EngineError-CA2tiVaI.js';
|
|
15
15
|
import './Configuration-BxriK9Kw.js';
|
|
16
16
|
|
|
17
17
|
/**
|
package/dist/lexer.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkTTHCH7V2_cjs=require('./chunk-TTHCH7V2.cjs');require('./chunk-Y7O4D3BJ.cjs');var chunkU7CNADCJ_cjs=require('./chunk-U7CNADCJ.cjs'),chunkYBQOQTVL_cjs=require('./chunk-YBQOQTVL.cjs'),chunkS3DFU33X_cjs=require('./chunk-S3DFU33X.cjs'),chunkJ4LSAHCY_cjs=require('./chunk-J4LSAHCY.cjs');require('./chunk-EZKR44MA.cjs'),require('./chunk-HTAT4MGN.cjs');var i=class{constructor(){this.classes=[];this.localeKeywordMap=null;this.localePhraseMap=null;this.unitNames=null;}register(e){this.classes.push(e);}unregister(e){this.classes=this.classes.filter(r=>r.tokenType!==e);}setLocale(e,r){this.localeKeywordMap=e,this.localePhraseMap=r??null;}setUnits(e){this.unitNames=e;}build(){let e=new Map;if(this.localeKeywordMap)for(let[s,t]of Object.entries(this.localeKeywordMap))e.set(s.toLowerCase(),t);let r=[...this.classes].sort((s,t)=>(s.priority??0)-(t.priority??0));for(let s of r)for(let t of Object.keys(s.keywords))e.set(t.toLowerCase(),s.tokenType);let o=this.buildPhraseTrie(),n=this.buildPhraseStartWords();return {keywordToType:e,phraseTrie:o,phraseStartWords:n,unitNames:this.unitNames??new Set}}buildPhraseTrie(){let e={children:new Map};if(this.localePhraseMap)for(let[r,o]of Object.entries(this.localePhraseMap))this.insertPhrase(e,r.toLowerCase(),o);for(let r of this.classes)if(r.phrases)for(let o of Object.keys(r.phrases))this.insertPhrase(e,o.toLowerCase(),r.tokenType);return e.children.size>0?e:null}insertPhrase(e,r,o){let n=r.split(" "),s=e;for(let t of n)s.children.has(t)||s.children.set(t,{children:new Map}),s=s.children.get(t);s.type||(s.type=o);}buildPhraseStartWords(){let e=new Set;if(this.localePhraseMap)for(let r of Object.keys(this.localePhraseMap)){let o=r.split(" ")[0].toLowerCase();e.add(o);}for(let r of this.classes)if(r.phrases)for(let o of Object.keys(r.phrases)){let n=o.split(" ")[0].toLowerCase();e.add(n);}return e}};function m(p="en"){let e=chunkS3DFU33X_cjs.a(p),r=new i;return r.setLocale(e.keywordMap,chunkU7CNADCJ_cjs.c),r.setUnits(chunkJ4LSAHCY_cjs.a),r.build()}Object.defineProperty(exports,"Lexer",{enumerable:true,get:function(){return chunkTTHCH7V2_cjs.b}});Object.defineProperty(exports,"LexerState",{enumerable:true,get:function(){return chunkTTHCH7V2_cjs.a}});Object.defineProperty(exports,"sharedLexer",{enumerable:true,get:function(){return chunkTTHCH7V2_cjs.c}});Object.defineProperty(exports,"ExpressionLexer",{enumerable:true,get:function(){return chunkU7CNADCJ_cjs.b}});Object.defineProperty(exports,"LexerToken",{enumerable:true,get:function(){return chunkU7CNADCJ_cjs.a}});Object.defineProperty(exports,"TokenTypes",{enumerable:true,get:function(){return chunkYBQOQTVL_cjs.a}});Object.defineProperty(exports,"registerAllTokenTypes",{enumerable:true,get:function(){return chunkYBQOQTVL_cjs.e}});Object.defineProperty(exports,"registerTokenType",{enumerable:true,get:function(){return chunkYBQOQTVL_cjs.b}});Object.defineProperty(exports,"tokenTypeId",{enumerable:true,get:function(){return chunkYBQOQTVL_cjs.c}});Object.defineProperty(exports,"tokenTypeName",{enumerable:true,get:function(){return chunkYBQOQTVL_cjs.d}});Object.defineProperty(exports,"knownUnits",{enumerable:true,get:function(){return chunkJ4LSAHCY_cjs.a}});exports.buildTokenLookup=m;//# sourceMappingURL=lexer.cjs.map
|
|
2
2
|
//# sourceMappingURL=lexer.cjs.map
|
package/dist/lexer.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { T as TokenLookup } from './Lexer-
|
|
2
|
-
export { E as ExpressionLexer, I as InlineSolveSpan, L as Lexer, a as LexerState, b as LexerToken, c as LexerVocabulary, d as LineClassification, M as MarkdownLineType, S as ScanLineResult, s as sharedLexer } from './Lexer-
|
|
1
|
+
import { T as TokenLookup } from './Lexer-DOXatsjO.cjs';
|
|
2
|
+
export { E as ExpressionLexer, I as InlineSolveSpan, L as Lexer, a as LexerState, b as LexerToken, c as LexerVocabulary, d as LineClassification, M as MarkdownLineType, S as ScanLineResult, s as sharedLexer } from './Lexer-DOXatsjO.cjs';
|
|
3
3
|
export { T as Token, a as TokenType, b as TokenTypes, r as registerAllTokenTypes, c as registerTokenType, t as tokenTypeId, d as tokenTypeName } from './Token-D8f7yaz1.cjs';
|
|
4
|
-
import './EngineError-
|
|
4
|
+
import './EngineError-CA2tiVaI.cjs';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* The set of unit identifiers the lexer will turn into a UNIT token.
|
package/dist/lexer.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { T as TokenLookup } from './Lexer-
|
|
2
|
-
export { E as ExpressionLexer, I as InlineSolveSpan, L as Lexer, a as LexerState, b as LexerToken, c as LexerVocabulary, d as LineClassification, M as MarkdownLineType, S as ScanLineResult, s as sharedLexer } from './Lexer-
|
|
1
|
+
import { T as TokenLookup } from './Lexer-B62Hn9I-.js';
|
|
2
|
+
export { E as ExpressionLexer, I as InlineSolveSpan, L as Lexer, a as LexerState, b as LexerToken, c as LexerVocabulary, d as LineClassification, M as MarkdownLineType, S as ScanLineResult, s as sharedLexer } from './Lexer-B62Hn9I-.js';
|
|
3
3
|
export { T as Token, a as TokenType, b as TokenTypes, r as registerAllTokenTypes, c as registerTokenType, t as tokenTypeId, d as tokenTypeName } from './Token-D8f7yaz1.js';
|
|
4
|
-
import './EngineError-
|
|
4
|
+
import './EngineError-CA2tiVaI.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* The set of unit identifiers the lexer will turn into a UNIT token.
|
package/dist/lexer.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{b as Lexer,a as LexerState,c as sharedLexer}from'./chunk-
|
|
1
|
+
export{b as Lexer,a as LexerState,c as sharedLexer}from'./chunk-OKSAUK5C.js';import'./chunk-JPFCXLJV.js';import {c}from'./chunk-OLATJABN.js';export{b as ExpressionLexer,a as LexerToken}from'./chunk-OLATJABN.js';export{a as TokenTypes,e as registerAllTokenTypes,b as registerTokenType,c as tokenTypeId,d as tokenTypeName}from'./chunk-FAO6DQ74.js';import {a}from'./chunk-LHLW7JLS.js';import {a as a$1}from'./chunk-CHVGFTO3.js';export{a as knownUnits}from'./chunk-CHVGFTO3.js';import'./chunk-PRSXXDTA.js';import'./chunk-Z5DA5UXY.js';var i=class{constructor(){this.classes=[];this.localeKeywordMap=null;this.localePhraseMap=null;this.unitNames=null;}register(e){this.classes.push(e);}unregister(e){this.classes=this.classes.filter(r=>r.tokenType!==e);}setLocale(e,r){this.localeKeywordMap=e,this.localePhraseMap=r??null;}setUnits(e){this.unitNames=e;}build(){let e=new Map;if(this.localeKeywordMap)for(let[s,t]of Object.entries(this.localeKeywordMap))e.set(s.toLowerCase(),t);let r=[...this.classes].sort((s,t)=>(s.priority??0)-(t.priority??0));for(let s of r)for(let t of Object.keys(s.keywords))e.set(t.toLowerCase(),s.tokenType);let o=this.buildPhraseTrie(),n=this.buildPhraseStartWords();return {keywordToType:e,phraseTrie:o,phraseStartWords:n,unitNames:this.unitNames??new Set}}buildPhraseTrie(){let e={children:new Map};if(this.localePhraseMap)for(let[r,o]of Object.entries(this.localePhraseMap))this.insertPhrase(e,r.toLowerCase(),o);for(let r of this.classes)if(r.phrases)for(let o of Object.keys(r.phrases))this.insertPhrase(e,o.toLowerCase(),r.tokenType);return e.children.size>0?e:null}insertPhrase(e,r,o){let n=r.split(" "),s=e;for(let t of n)s.children.has(t)||s.children.set(t,{children:new Map}),s=s.children.get(t);s.type||(s.type=o);}buildPhraseStartWords(){let e=new Set;if(this.localePhraseMap)for(let r of Object.keys(this.localePhraseMap)){let o=r.split(" ")[0].toLowerCase();e.add(o);}for(let r of this.classes)if(r.phrases)for(let o of Object.keys(r.phrases)){let n=o.split(" ")[0].toLowerCase();e.add(n);}return e}};function m(p="en"){let e=a(p),r=new i;return r.setLocale(e.keywordMap,c),r.setUnits(a$1),r.build()}export{m as buildTokenLookup};//# sourceMappingURL=lexer.js.map
|
|
2
2
|
//# sourceMappingURL=lexer.js.map
|
package/dist/normalizer.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';require('./chunk-NGBBNL4K.cjs');var
|
|
1
|
+
'use strict';require('./chunk-NGBBNL4K.cjs');var chunkUMW5PO42_cjs=require('./chunk-UMW5PO42.cjs'),chunkU7CNADCJ_cjs=require('./chunk-U7CNADCJ.cjs');require('./chunk-YBQOQTVL.cjs'),require('./chunk-S3DFU33X.cjs'),require('./chunk-J4LSAHCY.cjs'),require('./chunk-EZKR44MA.cjs'),require('./chunk-HTAT4MGN.cjs');Object.defineProperty(exports,"PhraseTrie",{enumerable:true,get:function(){return chunkUMW5PO42_cjs.a}});Object.defineProperty(exports,"TokenNormalizer",{enumerable:true,get:function(){return chunkUMW5PO42_cjs.c}});Object.defineProperty(exports,"createBuiltinNormalizerRules",{enumerable:true,get:function(){return chunkUMW5PO42_cjs.f}});Object.defineProperty(exports,"createFusedToken",{enumerable:true,get:function(){return chunkUMW5PO42_cjs.b}});Object.defineProperty(exports,"implicitMultiplyRule",{enumerable:true,get:function(){return chunkUMW5PO42_cjs.d}});Object.defineProperty(exports,"BUILTIN_PHRASES",{enumerable:true,get:function(){return chunkU7CNADCJ_cjs.c}});//# sourceMappingURL=normalizer.cjs.map
|
|
2
2
|
//# sourceMappingURL=normalizer.cjs.map
|
package/dist/normalizer.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import'./chunk-2RWAXT6O.js';export{a as PhraseTrie,c as TokenNormalizer,f as createBuiltinNormalizerRules,b as createFusedToken,d as implicitMultiplyRule}from'./chunk-
|
|
1
|
+
import'./chunk-2RWAXT6O.js';export{a as PhraseTrie,c as TokenNormalizer,f as createBuiltinNormalizerRules,b as createFusedToken,d as implicitMultiplyRule}from'./chunk-MONPHAHO.js';export{c as BUILTIN_PHRASES}from'./chunk-OLATJABN.js';import'./chunk-FAO6DQ74.js';import'./chunk-LHLW7JLS.js';import'./chunk-CHVGFTO3.js';import'./chunk-PRSXXDTA.js';import'./chunk-Z5DA5UXY.js';//# sourceMappingURL=normalizer.js.map
|
|
2
2
|
//# sourceMappingURL=normalizer.js.map
|
package/dist/packages.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkYIXCPLCN_cjs=require('./chunk-YIXCPLCN.cjs');require('./chunk-KYE5BWPN.cjs');var chunkW5BBKLNS_cjs=require('./chunk-W5BBKLNS.cjs');require('./chunk-WXOJ3DS3.cjs'),require('./chunk-UMW5PO42.cjs'),require('./chunk-UURM7P3P.cjs'),require('./chunk-ZLRJ7TDP.cjs'),require('./chunk-5NQE5JMU.cjs'),require('./chunk-YLTNXYA7.cjs'),require('./chunk-2YNRIT2L.cjs'),require('./chunk-ABVDKMNF.cjs'),require('./chunk-TLG7VZRX.cjs'),require('./chunk-5TVI2UPZ.cjs'),require('./chunk-UBKWHRFL.cjs'),require('./chunk-5J2XDCSV.cjs'),require('./chunk-E4HAKNBQ.cjs'),require('./chunk-O5ZLOZPH.cjs'),require('./chunk-ZKFCKAIX.cjs'),require('./chunk-U7CNADCJ.cjs'),require('./chunk-YBQOQTVL.cjs'),require('./chunk-S3DFU33X.cjs'),require('./chunk-J4LSAHCY.cjs'),require('./chunk-EZKR44MA.cjs'),require('./chunk-HTAT4MGN.cjs');Object.defineProperty(exports,"ARITHMETIC_PACKAGE",{enumerable:true,get:function(){return chunkYIXCPLCN_cjs.a}});Object.defineProperty(exports,"BIGINT_PACKAGE",{enumerable:true,get:function(){return chunkYIXCPLCN_cjs.n}});Object.defineProperty(exports,"BUILTIN_PACKAGES",{enumerable:true,get:function(){return chunkYIXCPLCN_cjs.z}});Object.defineProperty(exports,"CONDITIONALS_PACKAGE",{enumerable:true,get:function(){return chunkYIXCPLCN_cjs.o}});Object.defineProperty(exports,"CONVERTERS_PACKAGE",{enumerable:true,get:function(){return chunkYIXCPLCN_cjs.p}});Object.defineProperty(exports,"CURRENCY_PACKAGE",{enumerable:true,get:function(){return chunkYIXCPLCN_cjs.j}});Object.defineProperty(exports,"DATETIME_PACKAGE",{enumerable:true,get:function(){return chunkYIXCPLCN_cjs.d}});Object.defineProperty(exports,"DICE_PACKAGE",{enumerable:true,get:function(){return chunkYIXCPLCN_cjs.f}});Object.defineProperty(exports,"FINANCE_PACKAGE",{enumerable:true,get:function(){return chunkYIXCPLCN_cjs.r}});Object.defineProperty(exports,"FUNCTION_PACKAGE",{enumerable:true,get:function(){return chunkYIXCPLCN_cjs.c}});Object.defineProperty(exports,"LINES_PACKAGE",{enumerable:true,get:function(){return chunkYIXCPLCN_cjs.w}});Object.defineProperty(exports,"MAPREDUCE_PACKAGE",{enumerable:true,get:function(){return chunkYIXCPLCN_cjs.m}});Object.defineProperty(exports,"MATHPHRASES_PACKAGE",{enumerable:true,get:function(){return chunkYIXCPLCN_cjs.q}});Object.defineProperty(exports,"MATRIX_PACKAGE",{enumerable:true,get:function(){return chunkYIXCPLCN_cjs.l}});Object.defineProperty(exports,"PERCENTAGE_PACKAGE",{enumerable:true,get:function(){return chunkYIXCPLCN_cjs.b}});Object.defineProperty(exports,"TABLES_PACKAGE",{enumerable:true,get:function(){return chunkYIXCPLCN_cjs.x}});Object.defineProperty(exports,"TAGS_PACKAGE",{enumerable:true,get:function(){return chunkYIXCPLCN_cjs.y}});Object.defineProperty(exports,"TIME_PACKAGE",{enumerable:true,get:function(){return chunkYIXCPLCN_cjs.e}});Object.defineProperty(exports,"UOM_PACKAGE",{enumerable:true,get:function(){return chunkYIXCPLCN_cjs.h}});Object.defineProperty(exports,"VARIABLES_PACKAGE",{enumerable:true,get:function(){return chunkYIXCPLCN_cjs.g}});Object.defineProperty(exports,"VECTOR_PACKAGE",{enumerable:true,get:function(){return chunkYIXCPLCN_cjs.k}});Object.defineProperty(exports,"WEATHER_PACKAGE",{enumerable:true,get:function(){return chunkYIXCPLCN_cjs.s}});Object.defineProperty(exports,"createCryptoPackage",{enumerable:true,get:function(){return chunkYIXCPLCN_cjs.u}});Object.defineProperty(exports,"createCurrencyPackage",{enumerable:true,get:function(){return chunkYIXCPLCN_cjs.i}});Object.defineProperty(exports,"createKnowledgePackage",{enumerable:true,get:function(){return chunkYIXCPLCN_cjs.v}});Object.defineProperty(exports,"createStocksPackage",{enumerable:true,get:function(){return chunkYIXCPLCN_cjs.t}});Object.defineProperty(exports,"SYMBOLIC_PACKAGE",{enumerable:true,get:function(){return chunkW5BBKLNS_cjs.a}});//# sourceMappingURL=packages.cjs.map
|
|
2
2
|
//# sourceMappingURL=packages.cjs.map
|
package/dist/packages.d.cts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { I as IEnginePackage } from './PackageRegistry-
|
|
1
|
+
import { I as IEnginePackage } from './PackageRegistry-CevYUzRn.cjs';
|
|
2
2
|
import './Parselet-DF3864la.cjs';
|
|
3
3
|
import './BytecodeBuilder-DSWKZi4f.cjs';
|
|
4
4
|
import './Token-D8f7yaz1.cjs';
|
|
5
5
|
import './pipeline-BYkKNpql.cjs';
|
|
6
6
|
import './Value-BYHw-x7q.cjs';
|
|
7
7
|
import './CalendarBackend-MdS3Bb4P.cjs';
|
|
8
|
-
import './Lexer-
|
|
9
|
-
import './EngineError-
|
|
8
|
+
import './Lexer-DOXatsjO.cjs';
|
|
9
|
+
import './EngineError-CA2tiVaI.cjs';
|
|
10
10
|
import './resolvers.cjs';
|
|
11
11
|
import '@tanstack/query-core';
|
|
12
12
|
import './TokenNormalizer-Pe3_390t.cjs';
|
|
13
|
-
import './VMBuiltins-
|
|
13
|
+
import './VMBuiltins-AIivGl0a.cjs';
|
|
14
14
|
import './Configuration-BxriK9Kw.cjs';
|
|
15
15
|
|
|
16
16
|
/** Core arithmetic: numbers, `()` grouping, `pi`/`e` constants, `+ - * / % ^`, bitwise `<< >> & | ^`, and their `*_by` word forms. */
|
package/dist/packages.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { I as IEnginePackage } from './PackageRegistry-
|
|
1
|
+
import { I as IEnginePackage } from './PackageRegistry-Dl9kNP14.js';
|
|
2
2
|
import './Parselet-Dgymjxzd.js';
|
|
3
3
|
import './BytecodeBuilder-DSWKZi4f.js';
|
|
4
4
|
import './Token-D8f7yaz1.js';
|
|
5
5
|
import './pipeline-Cl7KW8CB.js';
|
|
6
6
|
import './Value-BYHw-x7q.js';
|
|
7
7
|
import './CalendarBackend-MdS3Bb4P.js';
|
|
8
|
-
import './Lexer-
|
|
9
|
-
import './EngineError-
|
|
8
|
+
import './Lexer-B62Hn9I-.js';
|
|
9
|
+
import './EngineError-CA2tiVaI.js';
|
|
10
10
|
import './resolvers.js';
|
|
11
11
|
import '@tanstack/query-core';
|
|
12
12
|
import './TokenNormalizer-IF7nPRMp.js';
|
|
13
|
-
import './VMBuiltins-
|
|
13
|
+
import './VMBuiltins-CbuFfIgQ.js';
|
|
14
14
|
import './Configuration-BxriK9Kw.js';
|
|
15
15
|
|
|
16
16
|
/** Core arithmetic: numbers, `()` grouping, `pi`/`e` constants, `+ - * / % ^`, bitwise `<< >> & | ^`, and their `*_by` word forms. */
|
package/dist/packages.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{a as ARITHMETIC_PACKAGE,n as BIGINT_PACKAGE,z as BUILTIN_PACKAGES,o as CONDITIONALS_PACKAGE,p as CONVERTERS_PACKAGE,j as CURRENCY_PACKAGE,d as DATETIME_PACKAGE,f as DICE_PACKAGE,r as FINANCE_PACKAGE,c as FUNCTION_PACKAGE,w as LINES_PACKAGE,m as MAPREDUCE_PACKAGE,q as MATHPHRASES_PACKAGE,l as MATRIX_PACKAGE,b as PERCENTAGE_PACKAGE,x as TABLES_PACKAGE,y as TAGS_PACKAGE,e as TIME_PACKAGE,h as UOM_PACKAGE,g as VARIABLES_PACKAGE,k as VECTOR_PACKAGE,s as WEATHER_PACKAGE,u as createCryptoPackage,i as createCurrencyPackage,v as createKnowledgePackage,t as createStocksPackage}from'./chunk-
|
|
1
|
+
export{a as ARITHMETIC_PACKAGE,n as BIGINT_PACKAGE,z as BUILTIN_PACKAGES,o as CONDITIONALS_PACKAGE,p as CONVERTERS_PACKAGE,j as CURRENCY_PACKAGE,d as DATETIME_PACKAGE,f as DICE_PACKAGE,r as FINANCE_PACKAGE,c as FUNCTION_PACKAGE,w as LINES_PACKAGE,m as MAPREDUCE_PACKAGE,q as MATHPHRASES_PACKAGE,l as MATRIX_PACKAGE,b as PERCENTAGE_PACKAGE,x as TABLES_PACKAGE,y as TAGS_PACKAGE,e as TIME_PACKAGE,h as UOM_PACKAGE,g as VARIABLES_PACKAGE,k as VECTOR_PACKAGE,s as WEATHER_PACKAGE,u as createCryptoPackage,i as createCurrencyPackage,v as createKnowledgePackage,t as createStocksPackage}from'./chunk-3LWK33TJ.js';import'./chunk-Z5VBXZ4A.js';export{a as SYMBOLIC_PACKAGE}from'./chunk-7ASISMXA.js';import'./chunk-7ZYYWSLT.js';import'./chunk-MONPHAHO.js';import'./chunk-76F3LCIL.js';import'./chunk-TCZSPH4A.js';import'./chunk-IAL64FCP.js';import'./chunk-I6WGOM3C.js';import'./chunk-DDVDRWCK.js';import'./chunk-TZYMXNIB.js';import'./chunk-HFKDWQUL.js';import'./chunk-5TCSFTZD.js';import'./chunk-6T5HPIZX.js';import'./chunk-A7RRWNLE.js';import'./chunk-J4K72CQN.js';import'./chunk-LV7PJ2MU.js';import'./chunk-4CNYGIND.js';import'./chunk-OLATJABN.js';import'./chunk-FAO6DQ74.js';import'./chunk-LHLW7JLS.js';import'./chunk-CHVGFTO3.js';import'./chunk-PRSXXDTA.js';import'./chunk-Z5DA5UXY.js';//# sourceMappingURL=packages.js.map
|
|
2
2
|
//# sourceMappingURL=packages.js.map
|
package/dist/parser.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkGWEINEJG_cjs=require('./chunk-GWEINEJG.cjs');require('./chunk-HG4NPDN5.cjs');var chunkWXOJ3DS3_cjs=require('./chunk-WXOJ3DS3.cjs'),chunkABVDKMNF_cjs=require('./chunk-ABVDKMNF.cjs');require('./chunk-5J2XDCSV.cjs'),require('./chunk-E4HAKNBQ.cjs'),require('./chunk-YBQOQTVL.cjs'),require('./chunk-S3DFU33X.cjs'),require('./chunk-HTAT4MGN.cjs');Object.defineProperty(exports,"ParseletRegistry",{enumerable:true,get:function(){return chunkGWEINEJG_cjs.b}});Object.defineProperty(exports,"Parser",{enumerable:true,get:function(){return chunkGWEINEJG_cjs.a}});Object.defineProperty(exports,"PrecedenceParser",{enumerable:true,get:function(){return chunkGWEINEJG_cjs.a}});Object.defineProperty(exports,"sharedParseletRegistry",{enumerable:true,get:function(){return chunkGWEINEJG_cjs.c}});Object.defineProperty(exports,"BindingPower",{enumerable:true,get:function(){return chunkWXOJ3DS3_cjs.a}});Object.defineProperty(exports,"BytecodeBuilder",{enumerable:true,get:function(){return chunkWXOJ3DS3_cjs.d}});Object.defineProperty(exports,"buildBindingPowerTable",{enumerable:true,get:function(){return chunkWXOJ3DS3_cjs.b}});Object.defineProperty(exports,"invalidateBindingPowerTable",{enumerable:true,get:function(){return chunkWXOJ3DS3_cjs.c}});Object.defineProperty(exports,"OpCode",{enumerable:true,get:function(){return chunkABVDKMNF_cjs.a}});Object.defineProperty(exports,"getOpCodeName",{enumerable:true,get:function(){return chunkABVDKMNF_cjs.b}});//# sourceMappingURL=parser.cjs.map
|
|
2
2
|
//# sourceMappingURL=parser.cjs.map
|
package/dist/parser.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{b as ParseletRegistry,a as Parser,a as PrecedenceParser,c as sharedParseletRegistry}from'./chunk-
|
|
1
|
+
export{b as ParseletRegistry,a as Parser,a as PrecedenceParser,c as sharedParseletRegistry}from'./chunk-RRJ77SF6.js';import'./chunk-JP4JMQOG.js';export{a as BindingPower,d as BytecodeBuilder,b as buildBindingPowerTable,c as invalidateBindingPowerTable}from'./chunk-7ZYYWSLT.js';export{a as OpCode,b as getOpCodeName}from'./chunk-TZYMXNIB.js';import'./chunk-A7RRWNLE.js';import'./chunk-J4K72CQN.js';import'./chunk-FAO6DQ74.js';import'./chunk-LHLW7JLS.js';import'./chunk-Z5DA5UXY.js';//# sourceMappingURL=parser.js.map
|
|
2
2
|
//# sourceMappingURL=parser.js.map
|
package/dist/temporal.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkYLTNXYA7_cjs=require('./chunk-YLTNXYA7.cjs');require('./chunk-E4HAKNBQ.cjs'),require('./chunk-HTAT4MGN.cjs');Object.defineProperty(exports,"TemporalCalendar",{enumerable:true,get:function(){return chunkYLTNXYA7_cjs.a}});Object.defineProperty(exports,"createTemporalCalendar",{enumerable:true,get:function(){return chunkYLTNXYA7_cjs.b}});//# sourceMappingURL=temporal.cjs.map
|
|
2
2
|
//# sourceMappingURL=temporal.cjs.map
|
package/dist/temporal.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{a as TemporalCalendar,b as createTemporalCalendar}from'./chunk-
|
|
1
|
+
export{a as TemporalCalendar,b as createTemporalCalendar}from'./chunk-I6WGOM3C.js';import'./chunk-J4K72CQN.js';import'./chunk-Z5DA5UXY.js';//# sourceMappingURL=temporal.js.map
|
|
2
2
|
//# sourceMappingURL=temporal.js.map
|
package/dist/testing.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkIIBR4LVH_cjs=require('./chunk-IIBR4LVH.cjs');require('./chunk-GWEINEJG.cjs'),require('./chunk-NGBBNL4K.cjs'),require('./chunk-ZVPZQ66D.cjs'),require('./chunk-TTFO4YDP.cjs'),require('./chunk-2G3AW6OQ.cjs'),require('./chunk-HG4NPDN5.cjs'),require('./chunk-QXGKONTZ.cjs'),require('./chunk-R2SZFJTT.cjs');var chunkYIXCPLCN_cjs=require('./chunk-YIXCPLCN.cjs');require('./chunk-KYE5BWPN.cjs'),require('./chunk-W5BBKLNS.cjs'),require('./chunk-WXOJ3DS3.cjs'),require('./chunk-UMW5PO42.cjs'),require('./chunk-UURM7P3P.cjs'),require('./chunk-ZLRJ7TDP.cjs'),require('./chunk-5NQE5JMU.cjs'),require('./chunk-YLTNXYA7.cjs'),require('./chunk-2YNRIT2L.cjs'),require('./chunk-ABVDKMNF.cjs'),require('./chunk-TLG7VZRX.cjs'),require('./chunk-5TVI2UPZ.cjs'),require('./chunk-UBKWHRFL.cjs'),require('./chunk-5J2XDCSV.cjs'),require('./chunk-E4HAKNBQ.cjs');var chunkO5ZLOZPH_cjs=require('./chunk-O5ZLOZPH.cjs');require('./chunk-ZKFCKAIX.cjs');var chunkRVNW627Y_cjs=require('./chunk-RVNW627Y.cjs');require('./chunk-TTHCH7V2.cjs'),require('./chunk-Y7O4D3BJ.cjs'),require('./chunk-U7CNADCJ.cjs'),require('./chunk-YBQOQTVL.cjs'),require('./chunk-S3DFU33X.cjs'),require('./chunk-J4LSAHCY.cjs'),require('./chunk-EZKR44MA.cjs');var chunkHTAT4MGN_cjs=require('./chunk-HTAT4MGN.cjs');var i=class o extends Error{constructor(t){super(t.message),this.name="ExpectationError",this.code=t.code,this.expected=t.expected,this.actual=t.actual,Object.setPrototypeOf(this,o.prototype);}};function V(o=[],t={}){let{locale:e="en",includeBuiltins:r=true}=t,s=new chunkIIBR4LVH_cjs.n({locale:e,packages:r?chunkYIXCPLCN_cjs.z:[]});for(let a of o)s.registerPackage(a);return s}function v(o,t){try{let e=o.evaluateExpression(t);return e.isError()?{status:"error",code:e.errorCode??"",message:e.errorMessage??"",source:e}:e.isPending()?{status:"pending",value:e}:{status:"value",value:e}}catch(e){if(e instanceof chunkHTAT4MGN_cjs.b)return {status:"error",code:e.code,message:e.message,source:e};let r=e instanceof Error?e.message:String(e);return {status:"error",code:"UNKNOWN_ERROR",message:r,source:new chunkO5ZLOZPH_cjs.m(13,"UNKNOWN_ERROR",r)}}}function x(o,t){if(Object.is(o,t))return true;if(!Number.isFinite(o)||!Number.isFinite(t))return false;let e=1e-9*Math.max(1,Math.abs(o),Math.abs(t));return Math.abs(o-t)<=e}function l(o){return o.type===3?JSON.stringify(o.value):o.type===6&&typeof o.unit=="string"?`${String(o.value)} ${o.unit}`:String(o.value)}function n(o){switch(o.status){case "value":return l(o.value);case "pending":return "a pending async value";case "error":return `an error (${o.code}: ${o.message})`}}var d=class{constructor(t,e){this.expression=t;this.outcome=e;}get value(){if(this.outcome.status==="error")throw new i({code:"EXPECTED_VALUE",message:`Expected "${this.expression}" to evaluate, but it failed with ${n(this.outcome)}.`,expected:"a resolved value",actual:n(this.outcome)});return this.outcome.value}toEvaluate(){if(this.outcome.status!=="value")throw new i({code:"EXPECTED_EVALUATE",message:`Expected "${this.expression}" to evaluate to a value, but got ${n(this.outcome)}.`,expected:"a resolved value",actual:n(this.outcome)});return this}toEqual(t,e){if(this.outcome.status!=="value")throw new i({code:"EXPECTED_EQUAL",message:`Expected "${this.expression}" to equal ${c(t,e)}, but got ${n(this.outcome)}.`,expected:c(t,e),actual:n(this.outcome)});let r=this.outcome.value,s;if(typeof t=="number"?s=x(r.toNumber(),t):typeof t=="boolean"?s=r.type===10&&r.value===t:s=C(r)===t,!s)throw new i({code:"EXPECTED_EQUAL",message:`Expected "${this.expression}" to equal ${c(t,e)}, but it was ${l(r)}.`,expected:c(t,e),actual:l(r)});if(e!==void 0&&r.unit!==e)throw new i({code:"EXPECTED_UNIT",message:`Expected "${this.expression}" to carry the unit "${e}", but it was ${r.unit===void 0?"unitless":`"${r.unit}"`}.`,expected:`unit "${e}"`,actual:r.unit===void 0?"no unit":`unit "${r.unit}"`});return this}toBeError(){if(this.outcome.status!=="error")throw new i({code:"EXPECTED_ERROR",message:`Expected "${this.expression}" to fail, but it produced ${n(this.outcome)}.`,expected:"an error",actual:n(this.outcome)});return this}toFailWith(t){if(this.outcome.status!=="error")throw new i({code:"EXPECTED_FAIL_WITH",message:`Expected "${this.expression}" to fail with "${t}", but it produced ${n(this.outcome)}.`,expected:`error code "${t}"`,actual:n(this.outcome)});if(this.outcome.code!==t)throw new i({code:"EXPECTED_FAIL_WITH",message:`Expected "${this.expression}" to fail with "${t}", but it failed with "${this.outcome.code}" (${this.outcome.message}).`,expected:`error code "${t}"`,actual:`error code "${this.outcome.code}"`});return this}toBePending(){if(this.outcome.status!=="pending")throw new i({code:"EXPECTED_PENDING",message:`Expected "${this.expression}" to be pending, but got ${n(this.outcome)}.`,expected:"a pending async value",actual:n(this.outcome)});return this}};function c(o,t){let e=typeof o=="string"?JSON.stringify(o):String(o);return t===void 0?e:`${e} ${t}`}function C(o){return String(o.value)}function D(o,t){return new d(t,v(o,t))}var O=["a","an","and","or","but","if","then","the","this","that","these","those","in","on","at","to","of","for","from","with","by","as","per","into","over","is","are","was","were","be","been","being","do","does","did","have","has","had","will","would","can","could","should","may","might","must","price","cost","value","total","sum","count","rate","amount","number","time","date","day","week","month","year","hour","minute","second","add","buy","sell","hold","make","take","give","get","set","run","up","down","out","off","all","some","any","no","not","more","less","one","two","three","first","last","next","each","every","here","there"],$=["error","warning","info"];function k(o){let t=[],e=o.lexerVocabulary;if(e?.keywords)for(let[r,s]of Object.entries(e.keywords))t.push({word:r,via:"keyword",tokenType:s});if(e?.units)for(let r of e.units)t.push({word:r,via:"unit"});if(e?.operators)for(let[r,s]of Object.entries(e.operators))t.push({word:r,via:"operator",tokenType:s});if(o.phrases)for(let[r,s]of Object.entries(o.phrases))r.includes(" ")||t.push({word:r,via:"phrase",tokenType:s});return t}var p=class{constructor(t){this.pkg=t;}notToShadow(t=O){let e=new Set(t.map(s=>s.toLowerCase())),r=k(this.pkg).filter(s=>e.has(s.word.toLowerCase()));if(r.length>0){let s=r.map(a=>`"${a.word}" (${a.via})`).join(", ");throw new i({code:"PACKAGE_SHADOWS_PROSE",message:`Package "${this.pkg.name}" claims prose word(s) as syntax: ${s}. A word that is also ordinary English turns prose into arithmetic; prefer a multi-word phrase or a form that requires a parenthesis.`,expected:"no prose words claimed as syntax",actual:s})}return r}notToCollideWith(t,e="error"){let r=chunkIIBR4LVH_cjs.a(this.pkg,t),s=$.indexOf(e),a=r.conflicts.filter(u=>$.indexOf(u.severity)<=s);if(a.length>0){let u=a.map(g=>`[${g.severity}] ${g.detail}`).join(`
|
|
2
2
|
`);throw new i({code:"PACKAGE_VOCABULARY_COLLISION",message:`Package "${this.pkg.name}" collides with another package:
|
|
3
|
-
${u}`,expected:`no conflicts at or above "${e}" severity`,actual:`${a.length} conflict(s)`})}return r}toDeclareCompatibleEngineVersion(t=
|
|
3
|
+
${u}`,expected:`no conflicts at or above "${e}" severity`,actual:`${a.length} conflict(s)`})}return r}toDeclareCompatibleEngineVersion(t=chunkRVNW627Y_cjs.a){let e=chunkIIBR4LVH_cjs.b(this.pkg,t);if(!e.compatible){let r=e.reason==="invalid-range"?`its range "${e.declaredRange}" is not valid semver`:`its range "${e.declaredRange}" is not satisfied by engine version "${e.engineVersion}"`;throw new i({code:"PACKAGE_ENGINE_VERSION_INCOMPATIBLE",message:`Package "${this.pkg.name}" declares an engineVersion that will be rejected at registration: ${r}.`,expected:`an engineVersion satisfied by "${t}"`,actual:`"${e.declaredRange}"`})}return this}};function L(o){return new p(o)}exports.COMMON_PROSE_WORDS=O;exports.ExpectationError=i;exports.ExpressionAssertion=d;exports.PackageAssertion=p;exports.createTestEngine=V;exports.expectExpression=D;exports.expectPackage=L;//# sourceMappingURL=testing.cjs.map
|
|
4
4
|
//# sourceMappingURL=testing.cjs.map
|
package/dist/testing.d.cts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { I as IEnginePackage, E as ExpressionEngine } from './PackageRegistry-
|
|
1
|
+
import { I as IEnginePackage, E as ExpressionEngine } from './PackageRegistry-CevYUzRn.cjs';
|
|
2
2
|
import { V as Value } from './Value-BYHw-x7q.cjs';
|
|
3
|
-
import { E as EngineError } from './EngineError-
|
|
4
|
-
import { C as CompatibilityReport } from './PackageCompatibility-
|
|
3
|
+
import { E as EngineError } from './EngineError-CA2tiVaI.cjs';
|
|
4
|
+
import { C as CompatibilityReport } from './PackageCompatibility-DW18LqED.cjs';
|
|
5
5
|
import './Parselet-DF3864la.cjs';
|
|
6
6
|
import './BytecodeBuilder-DSWKZi4f.cjs';
|
|
7
7
|
import './Token-D8f7yaz1.cjs';
|
|
8
8
|
import './pipeline-BYkKNpql.cjs';
|
|
9
9
|
import './CalendarBackend-MdS3Bb4P.cjs';
|
|
10
|
-
import './Lexer-
|
|
10
|
+
import './Lexer-DOXatsjO.cjs';
|
|
11
11
|
import './resolvers.cjs';
|
|
12
12
|
import '@tanstack/query-core';
|
|
13
13
|
import './TokenNormalizer-Pe3_390t.cjs';
|
|
14
|
-
import './VMBuiltins-
|
|
14
|
+
import './VMBuiltins-AIivGl0a.cjs';
|
|
15
15
|
import './Configuration-BxriK9Kw.cjs';
|
|
16
16
|
|
|
17
17
|
/**
|
package/dist/testing.d.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { I as IEnginePackage, E as ExpressionEngine } from './PackageRegistry-
|
|
1
|
+
import { I as IEnginePackage, E as ExpressionEngine } from './PackageRegistry-Dl9kNP14.js';
|
|
2
2
|
import { V as Value } from './Value-BYHw-x7q.js';
|
|
3
|
-
import { E as EngineError } from './EngineError-
|
|
4
|
-
import { C as CompatibilityReport } from './PackageCompatibility-
|
|
3
|
+
import { E as EngineError } from './EngineError-CA2tiVaI.js';
|
|
4
|
+
import { C as CompatibilityReport } from './PackageCompatibility-DT1IPlQx.js';
|
|
5
5
|
import './Parselet-Dgymjxzd.js';
|
|
6
6
|
import './BytecodeBuilder-DSWKZi4f.js';
|
|
7
7
|
import './Token-D8f7yaz1.js';
|
|
8
8
|
import './pipeline-Cl7KW8CB.js';
|
|
9
9
|
import './CalendarBackend-MdS3Bb4P.js';
|
|
10
|
-
import './Lexer-
|
|
10
|
+
import './Lexer-B62Hn9I-.js';
|
|
11
11
|
import './resolvers.js';
|
|
12
12
|
import '@tanstack/query-core';
|
|
13
13
|
import './TokenNormalizer-IF7nPRMp.js';
|
|
14
|
-
import './VMBuiltins-
|
|
14
|
+
import './VMBuiltins-CbuFfIgQ.js';
|
|
15
15
|
import './Configuration-BxriK9Kw.js';
|
|
16
16
|
|
|
17
17
|
/**
|