solve-engine 1.0.0-beta.2 → 1.0.0-beta.4
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/{Lexer-D9l4Yrk2.d.ts → Lexer-Cfm79Dak.d.cts} +18 -2
- package/dist/{Lexer-BJdhlnej.d.cts → Lexer-W9MBOP0V.d.ts} +18 -2
- package/dist/{PackageRegistry-DaH4aIKP.d.ts → PackageRegistry-CjDt-Jy_.d.ts} +60 -4
- package/dist/{PackageRegistry-D-Tv_7ca.d.cts → PackageRegistry-pHtKythi.d.cts} +60 -4
- package/dist/{Parselet-CK8cQu2a.d.cts → Parselet-Cu0bLSis.d.cts} +1 -1
- package/dist/{Parselet-ConOIdRO.d.ts → Parselet-DEdF9I7n.d.ts} +1 -1
- package/dist/{Token-0jpvUdPY.d.cts → Token-BzG5G4ja.d.cts} +44 -0
- package/dist/{Token-0jpvUdPY.d.ts → Token-BzG5G4ja.d.ts} +44 -0
- package/dist/TokenNormalizer-DGVa24Q-.d.cts +377 -0
- package/dist/TokenNormalizer-t_GotBxr.d.ts +377 -0
- package/dist/{chunk-HWSZJQCI.js → chunk-2CS6OMZK.js} +37 -15
- package/dist/chunk-2CS6OMZK.js.map +1 -0
- package/dist/{chunk-XJCMXB2E.cjs → chunk-2MV4HBKC.cjs} +187 -61
- package/dist/chunk-2MV4HBKC.cjs.map +1 -0
- package/dist/{chunk-J73SJHR3.cjs → chunk-2NPS5DQ3.cjs} +558 -341
- package/dist/chunk-2NPS5DQ3.cjs.map +1 -0
- package/dist/{chunk-QWY3VEZN.js → chunk-3MNKQZ77.js} +65 -12
- package/dist/chunk-3MNKQZ77.js.map +1 -0
- package/dist/{chunk-RZCWSXTA.cjs → chunk-43G3JT2E.cjs} +1491 -218
- package/dist/chunk-43G3JT2E.cjs.map +1 -0
- package/dist/{chunk-WQTTOGXC.cjs → chunk-4AVD7NZW.cjs} +4 -4
- package/dist/{chunk-WQTTOGXC.cjs.map → chunk-4AVD7NZW.cjs.map} +1 -1
- package/dist/{chunk-HTXVVJRA.cjs → chunk-4CVLFLOB.cjs} +112 -2
- package/dist/chunk-4CVLFLOB.cjs.map +1 -0
- package/dist/{chunk-5YEMOYSE.js → chunk-6GCKCWLB.js} +9 -3
- package/dist/chunk-6GCKCWLB.js.map +1 -0
- package/dist/{chunk-EBSPLUW4.cjs → chunk-AHCLWAM5.cjs} +28 -10
- package/dist/chunk-AHCLWAM5.cjs.map +1 -0
- package/dist/{chunk-KVILKGMS.js → chunk-AJA6LUI7.js} +36 -2
- package/dist/chunk-AJA6LUI7.js.map +1 -0
- package/dist/{chunk-EHAHVROS.cjs → chunk-CLVQBF5C.cjs} +5 -5
- package/dist/{chunk-EHAHVROS.cjs.map → chunk-CLVQBF5C.cjs.map} +1 -1
- package/dist/{chunk-34RRD7PC.js → chunk-CYFK5SY2.js} +111 -3
- package/dist/chunk-CYFK5SY2.js.map +1 -0
- package/dist/{chunk-M5LX5AOO.js → chunk-DDQVZGLO.js} +25 -12
- package/dist/chunk-DDQVZGLO.js.map +1 -0
- package/dist/{chunk-LR7YASZF.cjs → chunk-EAAHVJ4P.cjs} +3 -3
- package/dist/chunk-EAAHVJ4P.cjs.map +1 -0
- package/dist/{chunk-3PPFLFH4.js → chunk-FIFQPKBA.js} +1417 -144
- package/dist/chunk-FIFQPKBA.js.map +1 -0
- package/dist/{chunk-RIN643A3.js → chunk-GPPLSM2Z.js} +61 -2
- package/dist/chunk-GPPLSM2Z.js.map +1 -0
- package/dist/{chunk-4QADQTWS.js → chunk-KHJUSHFU.js} +231 -14
- package/dist/chunk-KHJUSHFU.js.map +1 -0
- package/dist/{chunk-NMD5VRN4.cjs → chunk-M4F66R4O.cjs} +74 -73
- package/dist/chunk-M4F66R4O.cjs.map +1 -0
- package/dist/{chunk-6NTVRDQV.cjs → chunk-M4Q47KHF.cjs} +126 -73
- package/dist/chunk-M4Q47KHF.cjs.map +1 -0
- package/dist/{chunk-LIPPNDBE.js → chunk-M5E34VG5.js} +3 -3
- package/dist/{chunk-LIPPNDBE.js.map → chunk-M5E34VG5.js.map} +1 -1
- package/dist/{chunk-53B6KDDJ.cjs → chunk-MBNQVDVC.cjs} +38 -3
- package/dist/{chunk-53B6KDDJ.cjs.map → chunk-MBNQVDVC.cjs.map} +1 -1
- package/dist/{chunk-SDGRK7EP.js → chunk-MEOHSQEH.js} +6 -5
- package/dist/chunk-MEOHSQEH.js.map +1 -0
- package/dist/{chunk-NMCRQP3Z.cjs → chunk-MTX2KVU7.cjs} +71 -70
- package/dist/chunk-MTX2KVU7.cjs.map +1 -0
- package/dist/{chunk-QNJ4ACRT.cjs → chunk-NJTXJ5AG.cjs} +37 -15
- package/dist/chunk-NJTXJ5AG.cjs.map +1 -0
- package/dist/{chunk-C4XZV6E7.cjs → chunk-NZFKROS7.cjs} +26 -20
- package/dist/chunk-NZFKROS7.cjs.map +1 -0
- package/dist/{chunk-64W6GLLZ.js → chunk-OFXOTECC.js} +24 -6
- package/dist/chunk-OFXOTECC.js.map +1 -0
- package/dist/{chunk-3YNVWKR2.cjs → chunk-OUHT5Z36.cjs} +28 -5
- package/dist/chunk-OUHT5Z36.cjs.map +1 -0
- package/dist/{chunk-EIGTWK5N.js → chunk-OWRHDUJD.js} +3 -3
- package/dist/chunk-OWRHDUJD.js.map +1 -0
- package/dist/{chunk-4MG4XKO2.js → chunk-PCPX42KL.js} +38 -3
- package/dist/{chunk-4MG4XKO2.js.map → chunk-PCPX42KL.js.map} +1 -1
- package/dist/{chunk-GW32KPCU.cjs → chunk-R24DI24X.cjs} +61 -2
- package/dist/chunk-R24DI24X.cjs.map +1 -0
- package/dist/{chunk-XVWCOTR6.js → chunk-SFQWJMKT.js} +7 -6
- package/dist/chunk-SFQWJMKT.js.map +1 -0
- package/dist/{chunk-6BKTCEUP.cjs → chunk-TY3TLZAW.cjs} +36 -2
- package/dist/chunk-TY3TLZAW.cjs.map +1 -0
- package/dist/{chunk-DM3LMRBC.js → chunk-UKPGSAZW.js} +187 -61
- package/dist/chunk-UKPGSAZW.js.map +1 -0
- package/dist/{chunk-NH2O2AUR.js → chunk-WC5FFSHB.js} +26 -4
- package/dist/chunk-WC5FFSHB.js.map +1 -0
- package/dist/{chunk-CLL7RUQV.cjs → chunk-WWOLFXTX.cjs} +40 -18
- package/dist/chunk-WWOLFXTX.cjs.map +1 -0
- package/dist/{chunk-JBSYC7BB.cjs → chunk-X2BWAZAU.cjs} +66 -53
- package/dist/chunk-X2BWAZAU.cjs.map +1 -0
- package/dist/{chunk-GOLDJNMZ.js → chunk-XBTEO4OB.js} +28 -5
- package/dist/chunk-XBTEO4OB.js.map +1 -0
- package/dist/{chunk-EPOXXJBK.js → chunk-YU2CUNFO.js} +3 -3
- package/dist/{chunk-EPOXXJBK.js.map → chunk-YU2CUNFO.js.map} +1 -1
- package/dist/constants.cjs +4 -4
- package/dist/constants.js +1 -1
- package/dist/engine.cjs +29 -30
- package/dist/engine.d.cts +6 -6
- package/dist/engine.d.ts +6 -6
- package/dist/engine.js +19 -20
- package/dist/format.cjs +7 -8
- package/dist/format.cjs.map +1 -1
- package/dist/format.js +2 -3
- package/dist/format.js.map +1 -1
- package/dist/index.cjs +28 -29
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +20 -21
- package/dist/index.js.map +1 -1
- package/dist/language.cjs +74 -12
- package/dist/language.cjs.map +1 -1
- package/dist/language.d.cts +6 -6
- package/dist/language.d.ts +6 -6
- package/dist/language.js +68 -6
- package/dist/language.js.map +1 -1
- package/dist/lexer.cjs +19 -19
- package/dist/lexer.d.cts +3 -3
- package/dist/lexer.d.ts +3 -3
- package/dist/lexer.js +7 -7
- package/dist/normalizer.cjs +12 -12
- package/dist/normalizer.d.cts +4 -210
- package/dist/normalizer.d.ts +4 -210
- package/dist/normalizer.js +6 -6
- package/dist/packages.cjs +36 -37
- package/dist/packages.d.cts +5 -47
- package/dist/packages.d.ts +5 -47
- package/dist/packages.js +13 -14
- package/dist/parser.cjs +12 -12
- package/dist/parser.d.cts +3 -2
- package/dist/parser.d.ts +3 -2
- package/dist/parser.js +4 -4
- package/dist/resolvers.d.cts +1 -1
- package/dist/resolvers.d.ts +1 -1
- package/dist/uom.cjs +14 -14
- package/dist/uom.d.cts +12 -4
- package/dist/uom.d.ts +12 -4
- package/dist/uom.js +4 -4
- package/dist/vm.cjs +17 -17
- package/dist/vm.js +6 -6
- package/package.json +2 -1
- package/dist/NormalizerRule-BrVoVjmP.d.cts +0 -163
- package/dist/NormalizerRule-CEjf1FyD.d.ts +0 -163
- package/dist/chunk-34RRD7PC.js.map +0 -1
- package/dist/chunk-3PPFLFH4.js.map +0 -1
- package/dist/chunk-3YNVWKR2.cjs.map +0 -1
- package/dist/chunk-4QADQTWS.js.map +0 -1
- package/dist/chunk-5YEMOYSE.js.map +0 -1
- package/dist/chunk-64W6GLLZ.js.map +0 -1
- package/dist/chunk-6BKTCEUP.cjs.map +0 -1
- package/dist/chunk-6NTVRDQV.cjs.map +0 -1
- package/dist/chunk-C4XZV6E7.cjs.map +0 -1
- package/dist/chunk-CLL7RUQV.cjs.map +0 -1
- package/dist/chunk-DM3LMRBC.js.map +0 -1
- package/dist/chunk-EBSPLUW4.cjs.map +0 -1
- package/dist/chunk-EIGTWK5N.js.map +0 -1
- package/dist/chunk-GOLDJNMZ.js.map +0 -1
- package/dist/chunk-GW32KPCU.cjs.map +0 -1
- package/dist/chunk-HTXVVJRA.cjs.map +0 -1
- package/dist/chunk-HWSZJQCI.js.map +0 -1
- package/dist/chunk-J73SJHR3.cjs.map +0 -1
- package/dist/chunk-JBSYC7BB.cjs.map +0 -1
- package/dist/chunk-KVILKGMS.js.map +0 -1
- package/dist/chunk-LR7YASZF.cjs.map +0 -1
- package/dist/chunk-M5LX5AOO.js.map +0 -1
- package/dist/chunk-NH2O2AUR.js.map +0 -1
- package/dist/chunk-NMCRQP3Z.cjs.map +0 -1
- package/dist/chunk-NMD5VRN4.cjs.map +0 -1
- package/dist/chunk-OT6OJY7C.cjs +0 -114
- package/dist/chunk-OT6OJY7C.cjs.map +0 -1
- package/dist/chunk-QNJ4ACRT.cjs.map +0 -1
- package/dist/chunk-QWY3VEZN.js.map +0 -1
- package/dist/chunk-RFYD5TJE.js +0 -111
- package/dist/chunk-RFYD5TJE.js.map +0 -1
- package/dist/chunk-RIN643A3.js.map +0 -1
- package/dist/chunk-RZCWSXTA.cjs.map +0 -1
- package/dist/chunk-SDGRK7EP.js.map +0 -1
- package/dist/chunk-XJCMXB2E.cjs.map +0 -1
- package/dist/chunk-XVWCOTR6.js.map +0 -1
package/dist/packages.cjs
CHANGED
|
@@ -1,25 +1,24 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
3
|
+
var chunk43G3JT2E_cjs = require('./chunk-43G3JT2E.cjs');
|
|
4
|
+
require('./chunk-NZFKROS7.cjs');
|
|
5
|
+
require('./chunk-AHCLWAM5.cjs');
|
|
6
6
|
require('./chunk-N5YFR4UP.cjs');
|
|
7
|
-
require('./chunk-
|
|
7
|
+
require('./chunk-4AVD7NZW.cjs');
|
|
8
8
|
require('./chunk-Z2XP767T.cjs');
|
|
9
|
-
require('./chunk-
|
|
9
|
+
require('./chunk-2NPS5DQ3.cjs');
|
|
10
10
|
require('./chunk-FEAIOR7N.cjs');
|
|
11
|
-
require('./chunk-
|
|
11
|
+
require('./chunk-2MV4HBKC.cjs');
|
|
12
12
|
require('./chunk-MZOVP3WI.cjs');
|
|
13
13
|
require('./chunk-VEKIWQ3F.cjs');
|
|
14
|
-
require('./chunk-
|
|
15
|
-
require('./chunk-HTXVVJRA.cjs');
|
|
14
|
+
require('./chunk-4CVLFLOB.cjs');
|
|
16
15
|
require('./chunk-OC6LTXYS.cjs');
|
|
17
|
-
require('./chunk-
|
|
18
|
-
require('./chunk-
|
|
19
|
-
require('./chunk-
|
|
20
|
-
require('./chunk-
|
|
21
|
-
require('./chunk-
|
|
22
|
-
require('./chunk-
|
|
16
|
+
require('./chunk-NJTXJ5AG.cjs');
|
|
17
|
+
require('./chunk-M4F66R4O.cjs');
|
|
18
|
+
require('./chunk-R24DI24X.cjs');
|
|
19
|
+
require('./chunk-OUHT5Z36.cjs');
|
|
20
|
+
require('./chunk-CLVQBF5C.cjs');
|
|
21
|
+
require('./chunk-MBNQVDVC.cjs');
|
|
23
22
|
require('./chunk-M4N5GA5Z.cjs');
|
|
24
23
|
require('./chunk-B7LXJ6LC.cjs');
|
|
25
24
|
|
|
@@ -27,95 +26,95 @@ require('./chunk-B7LXJ6LC.cjs');
|
|
|
27
26
|
|
|
28
27
|
Object.defineProperty(exports, "ARITHMETIC_PACKAGE", {
|
|
29
28
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunk43G3JT2E_cjs.ARITHMETIC_PACKAGE; }
|
|
31
30
|
});
|
|
32
31
|
Object.defineProperty(exports, "BIGINT_PACKAGE", {
|
|
33
32
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunk43G3JT2E_cjs.BIGINT_PACKAGE; }
|
|
35
34
|
});
|
|
36
35
|
Object.defineProperty(exports, "BUILTIN_PACKAGES", {
|
|
37
36
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunk43G3JT2E_cjs.BUILTIN_PACKAGES; }
|
|
39
38
|
});
|
|
40
39
|
Object.defineProperty(exports, "CONDITIONALS_PACKAGE", {
|
|
41
40
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunk43G3JT2E_cjs.CONDITIONALS_PACKAGE; }
|
|
43
42
|
});
|
|
44
43
|
Object.defineProperty(exports, "CONVERTERS_PACKAGE", {
|
|
45
44
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunk43G3JT2E_cjs.CONVERTERS_PACKAGE; }
|
|
47
46
|
});
|
|
48
47
|
Object.defineProperty(exports, "CURRENCY_PACKAGE", {
|
|
49
48
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunk43G3JT2E_cjs.CURRENCY_PACKAGE; }
|
|
51
50
|
});
|
|
52
51
|
Object.defineProperty(exports, "DATETIME_PACKAGE", {
|
|
53
52
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunk43G3JT2E_cjs.DATETIME_PACKAGE; }
|
|
55
54
|
});
|
|
56
55
|
Object.defineProperty(exports, "DICE_PACKAGE", {
|
|
57
56
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunk43G3JT2E_cjs.DICE_PACKAGE; }
|
|
59
58
|
});
|
|
60
59
|
Object.defineProperty(exports, "FINANCE_PACKAGE", {
|
|
61
60
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunk43G3JT2E_cjs.FINANCE_PACKAGE; }
|
|
63
62
|
});
|
|
64
63
|
Object.defineProperty(exports, "FUNCTION_PACKAGE", {
|
|
65
64
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunk43G3JT2E_cjs.FUNCTION_PACKAGE; }
|
|
67
66
|
});
|
|
68
67
|
Object.defineProperty(exports, "LINES_PACKAGE", {
|
|
69
68
|
enumerable: true,
|
|
70
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunk43G3JT2E_cjs.LINES_PACKAGE; }
|
|
71
70
|
});
|
|
72
71
|
Object.defineProperty(exports, "MAPREDUCE_PACKAGE", {
|
|
73
72
|
enumerable: true,
|
|
74
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunk43G3JT2E_cjs.MAPREDUCE_PACKAGE; }
|
|
75
74
|
});
|
|
76
75
|
Object.defineProperty(exports, "MATHPHRASES_PACKAGE", {
|
|
77
76
|
enumerable: true,
|
|
78
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunk43G3JT2E_cjs.MATHPHRASES_PACKAGE; }
|
|
79
78
|
});
|
|
80
79
|
Object.defineProperty(exports, "MATRIX_PACKAGE", {
|
|
81
80
|
enumerable: true,
|
|
82
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunk43G3JT2E_cjs.MATRIX_PACKAGE; }
|
|
83
82
|
});
|
|
84
83
|
Object.defineProperty(exports, "PERCENTAGE_PACKAGE", {
|
|
85
84
|
enumerable: true,
|
|
86
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunk43G3JT2E_cjs.PERCENTAGE_PACKAGE; }
|
|
87
86
|
});
|
|
88
87
|
Object.defineProperty(exports, "SYMBOLIC_PACKAGE", {
|
|
89
88
|
enumerable: true,
|
|
90
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunk43G3JT2E_cjs.SYMBOLIC_PACKAGE; }
|
|
91
90
|
});
|
|
92
91
|
Object.defineProperty(exports, "TIME_PACKAGE", {
|
|
93
92
|
enumerable: true,
|
|
94
|
-
get: function () { return
|
|
93
|
+
get: function () { return chunk43G3JT2E_cjs.TIME_PACKAGE; }
|
|
95
94
|
});
|
|
96
95
|
Object.defineProperty(exports, "UOM_PACKAGE", {
|
|
97
96
|
enumerable: true,
|
|
98
|
-
get: function () { return
|
|
97
|
+
get: function () { return chunk43G3JT2E_cjs.UOM_PACKAGE; }
|
|
99
98
|
});
|
|
100
99
|
Object.defineProperty(exports, "VARIABLES_PACKAGE", {
|
|
101
100
|
enumerable: true,
|
|
102
|
-
get: function () { return
|
|
101
|
+
get: function () { return chunk43G3JT2E_cjs.VARIABLES_PACKAGE; }
|
|
103
102
|
});
|
|
104
103
|
Object.defineProperty(exports, "VECTOR_PACKAGE", {
|
|
105
104
|
enumerable: true,
|
|
106
|
-
get: function () { return
|
|
105
|
+
get: function () { return chunk43G3JT2E_cjs.VECTOR_PACKAGE; }
|
|
107
106
|
});
|
|
108
107
|
Object.defineProperty(exports, "WEATHER_PACKAGE", {
|
|
109
108
|
enumerable: true,
|
|
110
|
-
get: function () { return
|
|
109
|
+
get: function () { return chunk43G3JT2E_cjs.WEATHER_PACKAGE; }
|
|
111
110
|
});
|
|
112
111
|
Object.defineProperty(exports, "createKnowledgePackage", {
|
|
113
112
|
enumerable: true,
|
|
114
|
-
get: function () { return
|
|
113
|
+
get: function () { return chunk43G3JT2E_cjs.createKnowledgePackage; }
|
|
115
114
|
});
|
|
116
115
|
Object.defineProperty(exports, "createStocksPackage", {
|
|
117
116
|
enumerable: true,
|
|
118
|
-
get: function () { return
|
|
117
|
+
get: function () { return chunk43G3JT2E_cjs.createStocksPackage; }
|
|
119
118
|
});
|
|
120
119
|
//# sourceMappingURL=packages.cjs.map
|
|
121
120
|
//# sourceMappingURL=packages.cjs.map
|
package/dist/packages.d.cts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { I as IEnginePackage } from './PackageRegistry-
|
|
2
|
-
import './Parselet-
|
|
1
|
+
import { I as IEnginePackage } from './PackageRegistry-pHtKythi.cjs';
|
|
2
|
+
import './Parselet-Cu0bLSis.cjs';
|
|
3
3
|
import './BytecodeBuilder-3egMyuDi.cjs';
|
|
4
|
-
import './Token-
|
|
4
|
+
import './Token-BzG5G4ja.cjs';
|
|
5
5
|
import './pipeline-DPUQt7yL.cjs';
|
|
6
6
|
import './Value-KtAQNHur.cjs';
|
|
7
7
|
import './variables.cjs';
|
|
8
|
-
import './Lexer-
|
|
8
|
+
import './Lexer-Cfm79Dak.cjs';
|
|
9
9
|
import './resolvers.cjs';
|
|
10
10
|
import '@tanstack/query-core';
|
|
11
|
-
import './
|
|
11
|
+
import './TokenNormalizer-DGVa24Q-.cjs';
|
|
12
12
|
import './ScopeManager-CKfQtl7l.cjs';
|
|
13
13
|
import './EngineError-DvPSnhZi.cjs';
|
|
14
14
|
import './Configuration-fVpd-HC-.cjs';
|
|
@@ -102,48 +102,6 @@ declare const FUNCTION_PACKAGE: IEnginePackage;
|
|
|
102
102
|
*/
|
|
103
103
|
declare const DATETIME_PACKAGE: IEnginePackage;
|
|
104
104
|
|
|
105
|
-
/**
|
|
106
|
-
* Clock-time-of-day arithmetic: `9:00am`, `16:00`, `4pm` (anchored to
|
|
107
|
-
* today's calendar date), `7:30 to 20:45` / `4pm to 3am` interval
|
|
108
|
-
* durations (midnight-rollover aware), `30 fps` frame-rate literals (a
|
|
109
|
-
* `Rate` value. See `vm/Value.ts`), and `03:04:05` / `00:00:01.5`
|
|
110
|
-
* lap-time/stopwatch-split durations (two colons, vs clock-time's one).
|
|
111
|
-
* Distinct from the Datetime package's calendar-date arithmetic. See
|
|
112
|
-
* `packages/time/` vs `packages/datetime/`.
|
|
113
|
-
*
|
|
114
|
-
* Full HH:MM:SS:FF video-timecode literal parsing + fps-aware carry
|
|
115
|
-
* arithmetic: `01:02:03:04 at 30 fps` / `... @ 30 fps` (a `Uom(totalFrames,
|
|
116
|
-
* "timecode@<fps>")` value. See `vm/Value.ts`'s timecode section)
|
|
117
|
-
* `timecode + N frames` / `+ <duration>` / `+ timecode` (sum) / `-
|
|
118
|
-
* timecode` (difference), all special-cased in `vm/VM.ts`'s ADD/SUB
|
|
119
|
-
* dispatch (`combineTimecode()`), plus `timecode in frames` and the
|
|
120
|
-
* reverse `<N> frames @ <fps>` -> `HH:MM:SS:FF` string conversion (see
|
|
121
|
-
* `parselets/VideoTimecodeParselet.ts`/`FrameCountParselet.ts` and
|
|
122
|
-
* `timecode/TimecodeMath.ts`). `30 fps × <duration>` frame-count math
|
|
123
|
-
* (below) composes with this unchanged, the fps literal itself is
|
|
124
|
-
* unaffected by any of the above. Likewise, pretty-printing a duration
|
|
125
|
-
* back as `"3 hours 15 min"` (`as timespan`) or `"03:04:05"` (`as
|
|
126
|
-
* laptime`) is a `converters` package (Phase 1c) concern. This package
|
|
127
|
-
* only produces the underlying `Uom` values.
|
|
128
|
-
*
|
|
129
|
-
* Also: timezone conversion (`6pm Sydney in Chicago`), current
|
|
130
|
-
* time/date-in-a-zone queries (`time in Paris`, `date in Vancouver`), and
|
|
131
|
-
* zone-offset deltas (`time difference between Seattle and Moscow`). See
|
|
132
|
-
* `timezones/CityZones.ts`/`ZoneMath.ts`. Built entirely on native
|
|
133
|
-
* `Intl.DateTimeFormat`/IANA data, no external dependency. Results are
|
|
134
|
-
* `String` values (formatted, human-readable), not `Datetime`. This
|
|
135
|
-
* engine's `Datetime` representation is a bare epoch-ms number with no
|
|
136
|
-
* zone tag, so there's no way to represent "this instant, but interpreted
|
|
137
|
-
* through zone X" as anything other than a pre-formatted string; see
|
|
138
|
-
* `ZoneMath.ts`'s doc comment.
|
|
139
|
-
*
|
|
140
|
-
* SCOPE DECISION: the alternate phrasing `<City> time` (e.g. "Tokyo
|
|
141
|
-
* time", city first) is deliberately NOT implemented, it would need
|
|
142
|
-
* "time" registered as a keyword reachable from a BARE city identifier's
|
|
143
|
-
* infix position, and "time" is exactly the kind of common noun this
|
|
144
|
-
* session found real trouble with (see MathPhrasesPackage.ts's "total"
|
|
145
|
-
* regression note). `time in <city>` covers the same need unambiguously.
|
|
146
|
-
*/
|
|
147
105
|
declare const TIME_PACKAGE: IEnginePackage;
|
|
148
106
|
|
|
149
107
|
/** `roll(min, max)`, returns a random integer in the inclusive `[min, max]` range. */
|
package/dist/packages.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { I as IEnginePackage } from './PackageRegistry-
|
|
2
|
-
import './Parselet-
|
|
1
|
+
import { I as IEnginePackage } from './PackageRegistry-CjDt-Jy_.js';
|
|
2
|
+
import './Parselet-DEdF9I7n.js';
|
|
3
3
|
import './BytecodeBuilder-3egMyuDi.js';
|
|
4
|
-
import './Token-
|
|
4
|
+
import './Token-BzG5G4ja.js';
|
|
5
5
|
import './pipeline-CrsRPmsv.js';
|
|
6
6
|
import './Value-KtAQNHur.js';
|
|
7
7
|
import './variables.js';
|
|
8
|
-
import './Lexer-
|
|
8
|
+
import './Lexer-W9MBOP0V.js';
|
|
9
9
|
import './resolvers.js';
|
|
10
10
|
import '@tanstack/query-core';
|
|
11
|
-
import './
|
|
11
|
+
import './TokenNormalizer-t_GotBxr.js';
|
|
12
12
|
import './ScopeManager-B5k0nk05.js';
|
|
13
13
|
import './EngineError-DvPSnhZi.js';
|
|
14
14
|
import './Configuration-fVpd-HC-.js';
|
|
@@ -102,48 +102,6 @@ declare const FUNCTION_PACKAGE: IEnginePackage;
|
|
|
102
102
|
*/
|
|
103
103
|
declare const DATETIME_PACKAGE: IEnginePackage;
|
|
104
104
|
|
|
105
|
-
/**
|
|
106
|
-
* Clock-time-of-day arithmetic: `9:00am`, `16:00`, `4pm` (anchored to
|
|
107
|
-
* today's calendar date), `7:30 to 20:45` / `4pm to 3am` interval
|
|
108
|
-
* durations (midnight-rollover aware), `30 fps` frame-rate literals (a
|
|
109
|
-
* `Rate` value. See `vm/Value.ts`), and `03:04:05` / `00:00:01.5`
|
|
110
|
-
* lap-time/stopwatch-split durations (two colons, vs clock-time's one).
|
|
111
|
-
* Distinct from the Datetime package's calendar-date arithmetic. See
|
|
112
|
-
* `packages/time/` vs `packages/datetime/`.
|
|
113
|
-
*
|
|
114
|
-
* Full HH:MM:SS:FF video-timecode literal parsing + fps-aware carry
|
|
115
|
-
* arithmetic: `01:02:03:04 at 30 fps` / `... @ 30 fps` (a `Uom(totalFrames,
|
|
116
|
-
* "timecode@<fps>")` value. See `vm/Value.ts`'s timecode section)
|
|
117
|
-
* `timecode + N frames` / `+ <duration>` / `+ timecode` (sum) / `-
|
|
118
|
-
* timecode` (difference), all special-cased in `vm/VM.ts`'s ADD/SUB
|
|
119
|
-
* dispatch (`combineTimecode()`), plus `timecode in frames` and the
|
|
120
|
-
* reverse `<N> frames @ <fps>` -> `HH:MM:SS:FF` string conversion (see
|
|
121
|
-
* `parselets/VideoTimecodeParselet.ts`/`FrameCountParselet.ts` and
|
|
122
|
-
* `timecode/TimecodeMath.ts`). `30 fps × <duration>` frame-count math
|
|
123
|
-
* (below) composes with this unchanged, the fps literal itself is
|
|
124
|
-
* unaffected by any of the above. Likewise, pretty-printing a duration
|
|
125
|
-
* back as `"3 hours 15 min"` (`as timespan`) or `"03:04:05"` (`as
|
|
126
|
-
* laptime`) is a `converters` package (Phase 1c) concern. This package
|
|
127
|
-
* only produces the underlying `Uom` values.
|
|
128
|
-
*
|
|
129
|
-
* Also: timezone conversion (`6pm Sydney in Chicago`), current
|
|
130
|
-
* time/date-in-a-zone queries (`time in Paris`, `date in Vancouver`), and
|
|
131
|
-
* zone-offset deltas (`time difference between Seattle and Moscow`). See
|
|
132
|
-
* `timezones/CityZones.ts`/`ZoneMath.ts`. Built entirely on native
|
|
133
|
-
* `Intl.DateTimeFormat`/IANA data, no external dependency. Results are
|
|
134
|
-
* `String` values (formatted, human-readable), not `Datetime`. This
|
|
135
|
-
* engine's `Datetime` representation is a bare epoch-ms number with no
|
|
136
|
-
* zone tag, so there's no way to represent "this instant, but interpreted
|
|
137
|
-
* through zone X" as anything other than a pre-formatted string; see
|
|
138
|
-
* `ZoneMath.ts`'s doc comment.
|
|
139
|
-
*
|
|
140
|
-
* SCOPE DECISION: the alternate phrasing `<City> time` (e.g. "Tokyo
|
|
141
|
-
* time", city first) is deliberately NOT implemented, it would need
|
|
142
|
-
* "time" registered as a keyword reachable from a BARE city identifier's
|
|
143
|
-
* infix position, and "time" is exactly the kind of common noun this
|
|
144
|
-
* session found real trouble with (see MathPhrasesPackage.ts's "total"
|
|
145
|
-
* regression note). `time in <city>` covers the same need unambiguously.
|
|
146
|
-
*/
|
|
147
105
|
declare const TIME_PACKAGE: IEnginePackage;
|
|
148
106
|
|
|
149
107
|
/** `roll(min, max)`, returns a random integer in the inclusive `[min, max]` range. */
|
package/dist/packages.js
CHANGED
|
@@ -1,23 +1,22 @@
|
|
|
1
|
-
export { ARITHMETIC_PACKAGE, BIGINT_PACKAGE, BUILTIN_PACKAGES, CONDITIONALS_PACKAGE, CONVERTERS_PACKAGE, CURRENCY_PACKAGE, DATETIME_PACKAGE, DICE_PACKAGE, FINANCE_PACKAGE, FUNCTION_PACKAGE, LINES_PACKAGE, MAPREDUCE_PACKAGE, MATHPHRASES_PACKAGE, MATRIX_PACKAGE, PERCENTAGE_PACKAGE, SYMBOLIC_PACKAGE, TIME_PACKAGE, UOM_PACKAGE, VARIABLES_PACKAGE, VECTOR_PACKAGE, WEATHER_PACKAGE, createKnowledgePackage, createStocksPackage } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
1
|
+
export { ARITHMETIC_PACKAGE, BIGINT_PACKAGE, BUILTIN_PACKAGES, CONDITIONALS_PACKAGE, CONVERTERS_PACKAGE, CURRENCY_PACKAGE, DATETIME_PACKAGE, DICE_PACKAGE, FINANCE_PACKAGE, FUNCTION_PACKAGE, LINES_PACKAGE, MAPREDUCE_PACKAGE, MATHPHRASES_PACKAGE, MATRIX_PACKAGE, PERCENTAGE_PACKAGE, SYMBOLIC_PACKAGE, TIME_PACKAGE, UOM_PACKAGE, VARIABLES_PACKAGE, VECTOR_PACKAGE, WEATHER_PACKAGE, createKnowledgePackage, createStocksPackage } from './chunk-FIFQPKBA.js';
|
|
2
|
+
import './chunk-6GCKCWLB.js';
|
|
3
|
+
import './chunk-OFXOTECC.js';
|
|
4
4
|
import './chunk-PFSDGGYL.js';
|
|
5
|
-
import './chunk-
|
|
5
|
+
import './chunk-YU2CUNFO.js';
|
|
6
6
|
import './chunk-NLNDMWZC.js';
|
|
7
|
-
import './chunk-
|
|
7
|
+
import './chunk-KHJUSHFU.js';
|
|
8
8
|
import './chunk-GCM5JHMX.js';
|
|
9
|
-
import './chunk-
|
|
9
|
+
import './chunk-UKPGSAZW.js';
|
|
10
10
|
import './chunk-75JP4BZX.js';
|
|
11
11
|
import './chunk-Z4X2RWOF.js';
|
|
12
|
-
import './chunk-
|
|
13
|
-
import './chunk-34RRD7PC.js';
|
|
12
|
+
import './chunk-CYFK5SY2.js';
|
|
14
13
|
import './chunk-BVAR5J2F.js';
|
|
15
|
-
import './chunk-
|
|
16
|
-
import './chunk-
|
|
17
|
-
import './chunk-
|
|
18
|
-
import './chunk-
|
|
19
|
-
import './chunk-
|
|
20
|
-
import './chunk-
|
|
14
|
+
import './chunk-WC5FFSHB.js';
|
|
15
|
+
import './chunk-SFQWJMKT.js';
|
|
16
|
+
import './chunk-GPPLSM2Z.js';
|
|
17
|
+
import './chunk-XBTEO4OB.js';
|
|
18
|
+
import './chunk-M5E34VG5.js';
|
|
19
|
+
import './chunk-PCPX42KL.js';
|
|
21
20
|
import './chunk-6RDSQURE.js';
|
|
22
21
|
import './chunk-YLJ4XMA6.js';
|
|
23
22
|
//# sourceMappingURL=packages.js.map
|
package/dist/parser.cjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkMTX2KVU7_cjs = require('./chunk-MTX2KVU7.cjs');
|
|
4
4
|
require('./chunk-47LRVGOT.cjs');
|
|
5
|
-
var
|
|
5
|
+
var chunkNZFKROS7_cjs = require('./chunk-NZFKROS7.cjs');
|
|
6
6
|
var chunkMZOVP3WI_cjs = require('./chunk-MZOVP3WI.cjs');
|
|
7
|
-
require('./chunk-
|
|
8
|
-
require('./chunk-
|
|
7
|
+
require('./chunk-R24DI24X.cjs');
|
|
8
|
+
require('./chunk-OUHT5Z36.cjs');
|
|
9
9
|
require('./chunk-M4N5GA5Z.cjs');
|
|
10
10
|
require('./chunk-B7LXJ6LC.cjs');
|
|
11
11
|
|
|
@@ -13,35 +13,35 @@ require('./chunk-B7LXJ6LC.cjs');
|
|
|
13
13
|
|
|
14
14
|
Object.defineProperty(exports, "ParseletRegistry", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkMTX2KVU7_cjs.ParseletRegistry; }
|
|
17
17
|
});
|
|
18
18
|
Object.defineProperty(exports, "Parser", {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunkMTX2KVU7_cjs.PrecedenceParser; }
|
|
21
21
|
});
|
|
22
22
|
Object.defineProperty(exports, "PrecedenceParser", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkMTX2KVU7_cjs.PrecedenceParser; }
|
|
25
25
|
});
|
|
26
26
|
Object.defineProperty(exports, "sharedParseletRegistry", {
|
|
27
27
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunkMTX2KVU7_cjs.sharedParseletRegistry; }
|
|
29
29
|
});
|
|
30
30
|
Object.defineProperty(exports, "BindingPower", {
|
|
31
31
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunkNZFKROS7_cjs.BindingPower; }
|
|
33
33
|
});
|
|
34
34
|
Object.defineProperty(exports, "BytecodeBuilder", {
|
|
35
35
|
enumerable: true,
|
|
36
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunkNZFKROS7_cjs.BytecodeBuilder; }
|
|
37
37
|
});
|
|
38
38
|
Object.defineProperty(exports, "buildBindingPowerTable", {
|
|
39
39
|
enumerable: true,
|
|
40
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunkNZFKROS7_cjs.buildBindingPowerTable; }
|
|
41
41
|
});
|
|
42
42
|
Object.defineProperty(exports, "invalidateBindingPowerTable", {
|
|
43
43
|
enumerable: true,
|
|
44
|
-
get: function () { return
|
|
44
|
+
get: function () { return chunkNZFKROS7_cjs.invalidateBindingPowerTable; }
|
|
45
45
|
});
|
|
46
46
|
Object.defineProperty(exports, "OpCode", {
|
|
47
47
|
enumerable: true,
|
package/dist/parser.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { I as InfixParselet, P as ParseletRegistry, a as Parser, a as PrecedenceParser, b as PrefixParselet, s as sharedParseletRegistry } from './Parselet-
|
|
1
|
+
export { I as InfixParselet, P as ParseletRegistry, a as Parser, a as PrecedenceParser, b as PrefixParselet, s as sharedParseletRegistry } from './Parselet-Cu0bLSis.cjs';
|
|
2
2
|
export { B as BytecodeBuilder, a as BytecodeProgram, O as OpCode, g as getOpCodeName } from './BytecodeBuilder-3egMyuDi.cjs';
|
|
3
|
-
import './Token-
|
|
3
|
+
import './Token-BzG5G4ja.cjs';
|
|
4
4
|
import './pipeline-DPUQt7yL.cjs';
|
|
5
5
|
import './Value-KtAQNHur.cjs';
|
|
6
6
|
|
|
@@ -21,6 +21,7 @@ declare const BindingPower: {
|
|
|
21
21
|
readonly LogicalOr: 12;
|
|
22
22
|
readonly LogicalAnd: 14;
|
|
23
23
|
readonly Conditional: 20;
|
|
24
|
+
readonly Conjunction: 28;
|
|
24
25
|
readonly Sum: 30;
|
|
25
26
|
readonly BitwiseXor: 35;
|
|
26
27
|
readonly Product: 40;
|
package/dist/parser.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { I as InfixParselet, P as ParseletRegistry, a as Parser, a as PrecedenceParser, b as PrefixParselet, s as sharedParseletRegistry } from './Parselet-
|
|
1
|
+
export { I as InfixParselet, P as ParseletRegistry, a as Parser, a as PrecedenceParser, b as PrefixParselet, s as sharedParseletRegistry } from './Parselet-DEdF9I7n.js';
|
|
2
2
|
export { B as BytecodeBuilder, a as BytecodeProgram, O as OpCode, g as getOpCodeName } from './BytecodeBuilder-3egMyuDi.js';
|
|
3
|
-
import './Token-
|
|
3
|
+
import './Token-BzG5G4ja.js';
|
|
4
4
|
import './pipeline-CrsRPmsv.js';
|
|
5
5
|
import './Value-KtAQNHur.js';
|
|
6
6
|
|
|
@@ -21,6 +21,7 @@ declare const BindingPower: {
|
|
|
21
21
|
readonly LogicalOr: 12;
|
|
22
22
|
readonly LogicalAnd: 14;
|
|
23
23
|
readonly Conditional: 20;
|
|
24
|
+
readonly Conjunction: 28;
|
|
24
25
|
readonly Sum: 30;
|
|
25
26
|
readonly BitwiseXor: 35;
|
|
26
27
|
readonly Product: 40;
|
package/dist/parser.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { ParseletRegistry, PrecedenceParser as Parser, PrecedenceParser, sharedParseletRegistry } from './chunk-
|
|
1
|
+
export { ParseletRegistry, PrecedenceParser as Parser, PrecedenceParser, sharedParseletRegistry } from './chunk-MEOHSQEH.js';
|
|
2
2
|
import './chunk-G535KJEG.js';
|
|
3
|
-
export { BindingPower, BytecodeBuilder, buildBindingPowerTable, invalidateBindingPowerTable } from './chunk-
|
|
3
|
+
export { BindingPower, BytecodeBuilder, buildBindingPowerTable, invalidateBindingPowerTable } from './chunk-6GCKCWLB.js';
|
|
4
4
|
export { OpCode, getOpCodeName } from './chunk-75JP4BZX.js';
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
5
|
+
import './chunk-GPPLSM2Z.js';
|
|
6
|
+
import './chunk-XBTEO4OB.js';
|
|
7
7
|
import './chunk-6RDSQURE.js';
|
|
8
8
|
import './chunk-YLJ4XMA6.js';
|
|
9
9
|
//# sourceMappingURL=parser.js.map
|
package/dist/resolvers.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { QueryClient } from '@tanstack/query-core';
|
|
2
|
-
import { T as Token } from './Token-
|
|
2
|
+
import { T as Token } from './Token-BzG5G4ja.cjs';
|
|
3
3
|
import { a as BytecodeProgram } from './BytecodeBuilder-3egMyuDi.cjs';
|
|
4
4
|
import { V as Value } from './Value-KtAQNHur.cjs';
|
|
5
5
|
|
package/dist/resolvers.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { QueryClient } from '@tanstack/query-core';
|
|
2
|
-
import { T as Token } from './Token-
|
|
2
|
+
import { T as Token } from './Token-BzG5G4ja.js';
|
|
3
3
|
import { a as BytecodeProgram } from './BytecodeBuilder-3egMyuDi.js';
|
|
4
4
|
import { V as Value } from './Value-KtAQNHur.js';
|
|
5
5
|
|
package/dist/uom.cjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunk4AVD7NZW_cjs = require('./chunk-4AVD7NZW.cjs');
|
|
4
|
+
var chunk2MV4HBKC_cjs = require('./chunk-2MV4HBKC.cjs');
|
|
5
5
|
require('./chunk-MZOVP3WI.cjs');
|
|
6
6
|
require('./chunk-VEKIWQ3F.cjs');
|
|
7
7
|
require('./chunk-OC6LTXYS.cjs');
|
|
8
|
-
var
|
|
9
|
-
require('./chunk-
|
|
8
|
+
var chunkNJTXJ5AG_cjs = require('./chunk-NJTXJ5AG.cjs');
|
|
9
|
+
require('./chunk-MBNQVDVC.cjs');
|
|
10
10
|
require('./chunk-M4N5GA5Z.cjs');
|
|
11
11
|
require('./chunk-B7LXJ6LC.cjs');
|
|
12
12
|
|
|
@@ -14,43 +14,43 @@ require('./chunk-B7LXJ6LC.cjs');
|
|
|
14
14
|
|
|
15
15
|
Object.defineProperty(exports, "CurrencyAsyncResolver", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunk4AVD7NZW_cjs.CurrencyAsyncResolver; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "CurrencyExchangeService", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunk2MV4HBKC_cjs.CurrencyExchangeService; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "currencyExchangeService", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunk2MV4HBKC_cjs.currencyExchangeService; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "sharedCurrencyExchange", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunk2MV4HBKC_cjs.sharedCurrencyExchange; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "canConvert", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkNJTXJ5AG_cjs.canConvert; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "convertUnit", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkNJTXJ5AG_cjs.convertUnit; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "getBestUnit", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkNJTXJ5AG_cjs.getBestUnit; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "getMeasure", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkNJTXJ5AG_cjs.getMeasure; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "isConvertibleUnit", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkNJTXJ5AG_cjs.isConvertibleUnit; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "resolveUnit", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkNJTXJ5AG_cjs.resolveUnit; }
|
|
54
54
|
});
|
|
55
55
|
//# sourceMappingURL=uom.cjs.map
|
|
56
56
|
//# sourceMappingURL=uom.cjs.map
|
package/dist/uom.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { QueryClient } from '@tanstack/query-core';
|
|
2
|
-
import { T as Token } from './Token-
|
|
2
|
+
import { T as Token } from './Token-BzG5G4ja.cjs';
|
|
3
3
|
import { a as BytecodeProgram } from './BytecodeBuilder-3egMyuDi.cjs';
|
|
4
4
|
import { IAsyncResolver, AsyncCheckResult } from './resolvers.cjs';
|
|
5
5
|
import './Value-KtAQNHur.cjs';
|
|
@@ -119,9 +119,17 @@ declare class CurrencyExchangeService {
|
|
|
119
119
|
*/
|
|
120
120
|
convertSync(value: number, from: string, to: string): number | null;
|
|
121
121
|
/**
|
|
122
|
-
* Check whether `code` is a recognized currency code
|
|
123
|
-
* cryptocurrencies in {@link CRYPTO_IDS}
|
|
124
|
-
*
|
|
122
|
+
* Check whether `code` is a recognized currency code: any active ISO 4217
|
|
123
|
+
* code, or one of the cryptocurrencies in {@link CRYPTO_IDS}.
|
|
124
|
+
*
|
|
125
|
+
* This used to be a hand-written list of forty-six codes, which meant
|
|
126
|
+
* `$100 in UAH` returned an unconverted hundred dollars rather than saying
|
|
127
|
+
* it could not convert. Answering from the standard rather than from
|
|
128
|
+
* whichever codes happened to get added is what stops that class of bug.
|
|
129
|
+
*
|
|
130
|
+
* Recognising a code is not the same as having a rate for it. That is
|
|
131
|
+
* answered later, by the exchange provider; conflating the two is what
|
|
132
|
+
* produced the silent failure.
|
|
125
133
|
*/
|
|
126
134
|
isCurrency(code: string): boolean;
|
|
127
135
|
}
|
package/dist/uom.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { QueryClient } from '@tanstack/query-core';
|
|
2
|
-
import { T as Token } from './Token-
|
|
2
|
+
import { T as Token } from './Token-BzG5G4ja.js';
|
|
3
3
|
import { a as BytecodeProgram } from './BytecodeBuilder-3egMyuDi.js';
|
|
4
4
|
import { IAsyncResolver, AsyncCheckResult } from './resolvers.js';
|
|
5
5
|
import './Value-KtAQNHur.js';
|
|
@@ -119,9 +119,17 @@ declare class CurrencyExchangeService {
|
|
|
119
119
|
*/
|
|
120
120
|
convertSync(value: number, from: string, to: string): number | null;
|
|
121
121
|
/**
|
|
122
|
-
* Check whether `code` is a recognized currency code
|
|
123
|
-
* cryptocurrencies in {@link CRYPTO_IDS}
|
|
124
|
-
*
|
|
122
|
+
* Check whether `code` is a recognized currency code: any active ISO 4217
|
|
123
|
+
* code, or one of the cryptocurrencies in {@link CRYPTO_IDS}.
|
|
124
|
+
*
|
|
125
|
+
* This used to be a hand-written list of forty-six codes, which meant
|
|
126
|
+
* `$100 in UAH` returned an unconverted hundred dollars rather than saying
|
|
127
|
+
* it could not convert. Answering from the standard rather than from
|
|
128
|
+
* whichever codes happened to get added is what stops that class of bug.
|
|
129
|
+
*
|
|
130
|
+
* Recognising a code is not the same as having a rate for it. That is
|
|
131
|
+
* answered later, by the exchange provider; conflating the two is what
|
|
132
|
+
* produced the silent failure.
|
|
125
133
|
*/
|
|
126
134
|
isCurrency(code: string): boolean;
|
|
127
135
|
}
|
package/dist/uom.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { CurrencyAsyncResolver } from './chunk-
|
|
2
|
-
export { CurrencyExchangeService, currencyExchangeService, sharedCurrencyExchange } from './chunk-
|
|
1
|
+
export { CurrencyAsyncResolver } from './chunk-YU2CUNFO.js';
|
|
2
|
+
export { CurrencyExchangeService, currencyExchangeService, sharedCurrencyExchange } from './chunk-UKPGSAZW.js';
|
|
3
3
|
import './chunk-75JP4BZX.js';
|
|
4
4
|
import './chunk-Z4X2RWOF.js';
|
|
5
5
|
import './chunk-BVAR5J2F.js';
|
|
6
|
-
export { canConvert, convertUnit, getBestUnit, getMeasure, isConvertibleUnit, resolveUnit } from './chunk-
|
|
7
|
-
import './chunk-
|
|
6
|
+
export { canConvert, convertUnit, getBestUnit, getMeasure, isConvertibleUnit, resolveUnit } from './chunk-WC5FFSHB.js';
|
|
7
|
+
import './chunk-PCPX42KL.js';
|
|
8
8
|
import './chunk-6RDSQURE.js';
|
|
9
9
|
import './chunk-YLJ4XMA6.js';
|
|
10
10
|
//# sourceMappingURL=uom.js.map
|