@aidc-toolkit/app-extension 1.0.32-beta → 1.0.34-beta
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/README.md +1 -5
- package/dist/app-extension.d.ts +194 -0
- package/dist/app-extension.d.ts.map +1 -0
- package/dist/app-extension.js +133 -0
- package/dist/app-extension.js.map +1 -0
- package/dist/app-helper-proxy.d.ts +61 -0
- package/dist/app-helper-proxy.d.ts.map +1 -0
- package/dist/app-helper-proxy.js +332 -0
- package/dist/app-helper-proxy.js.map +1 -0
- package/dist/descriptor.d.ts +193 -0
- package/dist/descriptor.d.ts.map +1 -0
- package/dist/descriptor.js +44 -0
- package/dist/descriptor.js.map +1 -0
- package/dist/generator/generator.d.ts +114 -0
- package/dist/generator/generator.d.ts.map +1 -0
- package/dist/generator/generator.js +160 -0
- package/dist/generator/generator.js.map +1 -0
- package/dist/generator/index.d.ts +2 -0
- package/dist/generator/index.d.ts.map +1 -0
- package/dist/generator/index.js +2 -0
- package/dist/generator/index.js.map +1 -0
- package/dist/generator/locale-resources-generator.d.ts +2 -0
- package/dist/generator/locale-resources-generator.d.ts.map +1 -0
- package/dist/generator/locale-resources-generator.js +311 -0
- package/dist/generator/locale-resources-generator.js.map +1 -0
- package/dist/gs1/character-set-proxy.d.ts +13 -0
- package/dist/gs1/character-set-proxy.d.ts.map +1 -0
- package/dist/gs1/character-set-proxy.js +126 -0
- package/dist/gs1/character-set-proxy.js.map +1 -0
- package/dist/gs1/check-proxy.d.ts +11 -0
- package/dist/gs1/check-proxy.d.ts.map +1 -0
- package/dist/gs1/check-proxy.js +163 -0
- package/dist/gs1/check-proxy.js.map +1 -0
- package/dist/gs1/gtin-creator-proxy.d.ts +10 -0
- package/dist/gs1/gtin-creator-proxy.d.ts.map +1 -0
- package/dist/gs1/gtin-creator-proxy.js +85 -0
- package/dist/gs1/gtin-creator-proxy.js.map +1 -0
- package/dist/gs1/gtin-descriptor.d.ts +3 -0
- package/dist/gs1/gtin-descriptor.d.ts.map +1 -0
- package/dist/gs1/gtin-descriptor.js +8 -0
- package/dist/gs1/gtin-descriptor.js.map +1 -0
- package/dist/gs1/gtin-validator-proxy.d.ts +26 -0
- package/dist/gs1/gtin-validator-proxy.d.ts.map +1 -0
- package/dist/gs1/gtin-validator-proxy.js +256 -0
- package/dist/gs1/gtin-validator-proxy.js.map +1 -0
- package/dist/gs1/identifier-creator-proxy.d.ts +30 -0
- package/dist/gs1/identifier-creator-proxy.d.ts.map +1 -0
- package/dist/gs1/identifier-creator-proxy.js +302 -0
- package/dist/gs1/identifier-creator-proxy.js.map +1 -0
- package/dist/gs1/identifier-descriptor.d.ts +4 -0
- package/dist/gs1/identifier-descriptor.d.ts.map +1 -0
- package/dist/gs1/identifier-descriptor.js +14 -0
- package/dist/gs1/identifier-descriptor.js.map +1 -0
- package/dist/gs1/identifier-type.d.ts +22 -0
- package/dist/gs1/identifier-type.d.ts.map +1 -0
- package/dist/gs1/identifier-type.js +34 -0
- package/dist/gs1/identifier-type.js.map +1 -0
- package/dist/gs1/identifier-validator-proxy.d.ts +29 -0
- package/dist/gs1/identifier-validator-proxy.d.ts.map +1 -0
- package/dist/gs1/identifier-validator-proxy.js +212 -0
- package/dist/gs1/identifier-validator-proxy.js.map +1 -0
- package/dist/gs1/index.d.ts +10 -0
- package/dist/gs1/index.d.ts.map +1 -0
- package/dist/gs1/index.js +10 -0
- package/dist/gs1/index.js.map +1 -0
- package/dist/gs1/non-gtin-creator-proxy.d.ts +38 -0
- package/dist/gs1/non-gtin-creator-proxy.d.ts.map +1 -0
- package/dist/gs1/non-gtin-creator-proxy.js +301 -0
- package/dist/gs1/non-gtin-creator-proxy.js.map +1 -0
- package/dist/gs1/non-gtin-validator-proxy.d.ts +37 -0
- package/dist/gs1/non-gtin-validator-proxy.d.ts.map +1 -0
- package/dist/gs1/non-gtin-validator-proxy.js +302 -0
- package/dist/gs1/non-gtin-validator-proxy.js.map +1 -0
- package/dist/gs1/prefix-definition-descriptor.d.ts +4 -0
- package/dist/gs1/prefix-definition-descriptor.d.ts.map +1 -0
- package/dist/gs1/prefix-definition-descriptor.js +16 -0
- package/dist/gs1/prefix-definition-descriptor.js.map +1 -0
- package/dist/gs1/prefix-manager-proxy.d.ts +14 -0
- package/dist/gs1/prefix-manager-proxy.d.ts.map +1 -0
- package/dist/gs1/prefix-manager-proxy.js +213 -0
- package/dist/gs1/prefix-manager-proxy.js.map +1 -0
- package/dist/gs1/service-proxy.d.ts +7 -0
- package/dist/gs1/service-proxy.d.ts.map +1 -0
- package/dist/gs1/service-proxy.js +105 -0
- package/dist/gs1/service-proxy.js.map +1 -0
- package/dist/gs1/variable-measure-proxy.d.ts +7 -0
- package/dist/gs1/variable-measure-proxy.d.ts.map +1 -0
- package/dist/gs1/variable-measure-proxy.js +114 -0
- package/dist/gs1/variable-measure-proxy.js.map +1 -0
- package/dist/index.d.ts +28 -1866
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +10 -6508
- package/dist/index.js.map +1 -1
- package/dist/lib-proxy.d.ts +135 -0
- package/dist/lib-proxy.d.ts.map +1 -0
- package/dist/lib-proxy.js +276 -0
- package/dist/lib-proxy.js.map +1 -0
- package/dist/locale/en/locale-resources.d.ts +752 -0
- package/dist/locale/en/locale-resources.d.ts.map +1 -0
- package/dist/locale/en/locale-resources.js +751 -0
- package/dist/locale/en/locale-resources.js.map +1 -0
- package/dist/locale/fr/locale-resources.d.ts +752 -0
- package/dist/locale/fr/locale-resources.d.ts.map +1 -0
- package/dist/locale/fr/locale-resources.js +751 -0
- package/dist/locale/fr/locale-resources.js.map +1 -0
- package/dist/locale/i18n.d.ts +27 -0
- package/dist/locale/i18n.d.ts.map +1 -0
- package/dist/locale/i18n.js +36 -0
- package/dist/locale/i18n.js.map +1 -0
- package/dist/proxy.d.ts +136 -0
- package/dist/proxy.d.ts.map +1 -0
- package/dist/proxy.js +319 -0
- package/dist/proxy.js.map +1 -0
- package/dist/streaming.d.ts +10 -0
- package/dist/streaming.d.ts.map +1 -0
- package/dist/streaming.js +2 -0
- package/dist/streaming.js.map +1 -0
- package/dist/type.d.ts +91 -0
- package/dist/type.d.ts.map +1 -0
- package/dist/type.js +2 -0
- package/dist/type.js.map +1 -0
- package/dist/utility/character-set-descriptor.d.ts +6 -0
- package/dist/utility/character-set-descriptor.d.ts.map +1 -0
- package/dist/utility/character-set-descriptor.js +28 -0
- package/dist/utility/character-set-descriptor.js.map +1 -0
- package/dist/utility/character-set-proxy.d.ts +31 -0
- package/dist/utility/character-set-proxy.d.ts.map +1 -0
- package/dist/utility/character-set-proxy.js +278 -0
- package/dist/utility/character-set-proxy.js.map +1 -0
- package/dist/utility/index.d.ts +4 -0
- package/dist/utility/index.d.ts.map +1 -0
- package/dist/utility/index.js +4 -0
- package/dist/utility/index.js.map +1 -0
- package/dist/utility/reg-exp-proxy.d.ts +8 -0
- package/dist/utility/reg-exp-proxy.d.ts.map +1 -0
- package/dist/utility/reg-exp-proxy.js +103 -0
- package/dist/utility/reg-exp-proxy.js.map +1 -0
- package/dist/utility/string-descriptor.d.ts +4 -0
- package/dist/utility/string-descriptor.d.ts.map +1 -0
- package/dist/utility/string-descriptor.js +12 -0
- package/dist/utility/string-descriptor.js.map +1 -0
- package/dist/utility/string-proxy.d.ts +7 -0
- package/dist/utility/string-proxy.d.ts.map +1 -0
- package/dist/utility/string-proxy.js +63 -0
- package/dist/utility/string-proxy.js.map +1 -0
- package/dist/utility/transformer-descriptor.d.ts +6 -0
- package/dist/utility/transformer-descriptor.d.ts.map +1 -0
- package/dist/utility/transformer-descriptor.js +24 -0
- package/dist/utility/transformer-descriptor.js.map +1 -0
- package/dist/utility/transformer-proxy.d.ts +9 -0
- package/dist/utility/transformer-proxy.d.ts.map +1 -0
- package/dist/utility/transformer-proxy.js +111 -0
- package/dist/utility/transformer-proxy.js.map +1 -0
- package/package.json +13 -12
- package/src/app-extension.ts +26 -47
- package/src/{app-utility-proxy.ts → app-helper-proxy.ts} +21 -19
- package/src/descriptor.ts +43 -2
- package/src/generator/generator.ts +122 -95
- package/src/generator/locale-resources-generator.ts +26 -14
- package/src/gs1/check-proxy.ts +12 -11
- package/src/gs1/gtin-creator-proxy.ts +2 -3
- package/src/gs1/gtin-descriptor.ts +2 -2
- package/src/gs1/gtin-validator-proxy.ts +12 -14
- package/src/gs1/identifier-creator-proxy.ts +19 -21
- package/src/gs1/identifier-descriptor.ts +3 -3
- package/src/gs1/identifier-validator-proxy.ts +15 -16
- package/src/gs1/non-gtin-creator-proxy.ts +0 -11
- package/src/gs1/non-gtin-validator-proxy.ts +0 -11
- package/src/gs1/prefix-definition-descriptor.ts +2 -2
- package/src/gs1/prefix-manager-proxy.ts +80 -120
- package/src/gs1/service-proxy.ts +6 -5
- package/src/gs1/variable-measure-proxy.ts +9 -8
- package/src/index.ts +3 -3
- package/src/locale/en/locale-resources.ts +28 -15
- package/src/locale/fr/locale-resources.ts +28 -15
- package/src/locale/i18n.ts +10 -9
- package/src/locale/i18next.d.ts +2 -0
- package/src/proxy.ts +64 -40
- package/src/utility/character-set-descriptor.ts +2 -2
- package/src/utility/character-set-proxy.ts +7 -7
- package/src/utility/reg-exp-proxy.ts +5 -5
- package/src/utility/string-descriptor.ts +2 -2
- package/src/utility/string-proxy.ts +4 -0
- package/src/utility/transformer-descriptor.ts +5 -5
- package/src/utility/transformer-proxy.ts +6 -5
- package/tsconfig-src.json +7 -1
- package/tsconfig-src.tsbuildinfo +1 -0
- package/dist/index.cjs +0 -6544
- package/dist/index.cjs.map +0 -1
- package/dist/index.d.cts +0 -1866
- package/src/app-data.ts +0 -94
package/dist/index.d.ts
CHANGED
|
@@ -1,1866 +1,28 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
};
|
|
30
|
-
spillMaximumWidth: {
|
|
31
|
-
name: string;
|
|
32
|
-
description: string;
|
|
33
|
-
};
|
|
34
|
-
spillMaximumHeight: {
|
|
35
|
-
name: string;
|
|
36
|
-
description: string;
|
|
37
|
-
};
|
|
38
|
-
domain: {
|
|
39
|
-
name: string;
|
|
40
|
-
description: string;
|
|
41
|
-
};
|
|
42
|
-
value: {
|
|
43
|
-
name: string;
|
|
44
|
-
description: string;
|
|
45
|
-
};
|
|
46
|
-
startValue: {
|
|
47
|
-
name: string;
|
|
48
|
-
description: string;
|
|
49
|
-
};
|
|
50
|
-
count: {
|
|
51
|
-
name: string;
|
|
52
|
-
description: string;
|
|
53
|
-
};
|
|
54
|
-
transformedValue: {
|
|
55
|
-
name: string;
|
|
56
|
-
description: string;
|
|
57
|
-
};
|
|
58
|
-
tweak: {
|
|
59
|
-
name: string;
|
|
60
|
-
description: string;
|
|
61
|
-
};
|
|
62
|
-
regExp: {
|
|
63
|
-
name: string;
|
|
64
|
-
description: string;
|
|
65
|
-
};
|
|
66
|
-
validateS: {
|
|
67
|
-
name: string;
|
|
68
|
-
description: string;
|
|
69
|
-
};
|
|
70
|
-
valueForS: {
|
|
71
|
-
name: string;
|
|
72
|
-
description: string;
|
|
73
|
-
};
|
|
74
|
-
errorMessage: {
|
|
75
|
-
name: string;
|
|
76
|
-
description: string;
|
|
77
|
-
};
|
|
78
|
-
exclusionNone: {
|
|
79
|
-
name: string;
|
|
80
|
-
description: string;
|
|
81
|
-
};
|
|
82
|
-
exclusionFirstZero: {
|
|
83
|
-
name: string;
|
|
84
|
-
description: string;
|
|
85
|
-
};
|
|
86
|
-
exclusionAllNumeric: {
|
|
87
|
-
name: string;
|
|
88
|
-
description: string;
|
|
89
|
-
};
|
|
90
|
-
exclusionAny: {
|
|
91
|
-
name: string;
|
|
92
|
-
description: string;
|
|
93
|
-
};
|
|
94
|
-
length: {
|
|
95
|
-
name: string;
|
|
96
|
-
description: string;
|
|
97
|
-
};
|
|
98
|
-
numericS: {
|
|
99
|
-
name: string;
|
|
100
|
-
description: string;
|
|
101
|
-
};
|
|
102
|
-
numericSFourOrFiveDigits: {
|
|
103
|
-
name: string;
|
|
104
|
-
description: string;
|
|
105
|
-
};
|
|
106
|
-
numericSWithCheckDigit: {
|
|
107
|
-
name: string;
|
|
108
|
-
description: string;
|
|
109
|
-
};
|
|
110
|
-
checkDigit: {
|
|
111
|
-
name: string;
|
|
112
|
-
description: string;
|
|
113
|
-
};
|
|
114
|
-
ai82S: {
|
|
115
|
-
name: string;
|
|
116
|
-
description: string;
|
|
117
|
-
};
|
|
118
|
-
ai82SWithCheckCharacterPair: {
|
|
119
|
-
name: string;
|
|
120
|
-
description: string;
|
|
121
|
-
};
|
|
122
|
-
validateIdentifier: {
|
|
123
|
-
name: string;
|
|
124
|
-
description: string;
|
|
125
|
-
};
|
|
126
|
-
splitIdentifier: {
|
|
127
|
-
name: string;
|
|
128
|
-
description: string;
|
|
129
|
-
};
|
|
130
|
-
zeroSuppressibleGTIN12: {
|
|
131
|
-
name: string;
|
|
132
|
-
description: string;
|
|
133
|
-
};
|
|
134
|
-
zeroSuppressedGTIN12: {
|
|
135
|
-
name: string;
|
|
136
|
-
description: string;
|
|
137
|
-
};
|
|
138
|
-
convertGTIN: {
|
|
139
|
-
name: string;
|
|
140
|
-
description: string;
|
|
141
|
-
};
|
|
142
|
-
normalizeGTIN: {
|
|
143
|
-
name: string;
|
|
144
|
-
description: string;
|
|
145
|
-
};
|
|
146
|
-
validateGTIN: {
|
|
147
|
-
name: string;
|
|
148
|
-
description: string;
|
|
149
|
-
};
|
|
150
|
-
validateGTIN14: {
|
|
151
|
-
name: string;
|
|
152
|
-
description: string;
|
|
153
|
-
};
|
|
154
|
-
gcpLengthIdentifier: {
|
|
155
|
-
name: string;
|
|
156
|
-
description: string;
|
|
157
|
-
};
|
|
158
|
-
baseIdentifier: {
|
|
159
|
-
name: string;
|
|
160
|
-
description: string;
|
|
161
|
-
};
|
|
162
|
-
hyperlinkIdentifier: {
|
|
163
|
-
name: string;
|
|
164
|
-
description: string;
|
|
165
|
-
};
|
|
166
|
-
indicatorDigit: {
|
|
167
|
-
name: string;
|
|
168
|
-
description: string;
|
|
169
|
-
};
|
|
170
|
-
gtinLevel: {
|
|
171
|
-
name: string;
|
|
172
|
-
description: string;
|
|
173
|
-
};
|
|
174
|
-
prefix: {
|
|
175
|
-
name: string;
|
|
176
|
-
description: string;
|
|
177
|
-
};
|
|
178
|
-
prefixType: {
|
|
179
|
-
name: string;
|
|
180
|
-
description: string;
|
|
181
|
-
};
|
|
182
|
-
tweakFactor: {
|
|
183
|
-
name: string;
|
|
184
|
-
description: string;
|
|
185
|
-
};
|
|
186
|
-
identifierType: {
|
|
187
|
-
name: string;
|
|
188
|
-
description: string;
|
|
189
|
-
};
|
|
190
|
-
prefixDefinitionAny: {
|
|
191
|
-
name: string;
|
|
192
|
-
description: string;
|
|
193
|
-
};
|
|
194
|
-
prefixDefinitionGS1UPC: {
|
|
195
|
-
name: string;
|
|
196
|
-
description: string;
|
|
197
|
-
};
|
|
198
|
-
sparse: {
|
|
199
|
-
name: string;
|
|
200
|
-
description: string;
|
|
201
|
-
};
|
|
202
|
-
serialComponent: {
|
|
203
|
-
name: string;
|
|
204
|
-
description: string;
|
|
205
|
-
};
|
|
206
|
-
reference: {
|
|
207
|
-
name: string;
|
|
208
|
-
description: string;
|
|
209
|
-
};
|
|
210
|
-
rcnFormat: {
|
|
211
|
-
name: string;
|
|
212
|
-
description: string;
|
|
213
|
-
};
|
|
214
|
-
rcn: {
|
|
215
|
-
name: string;
|
|
216
|
-
description: string;
|
|
217
|
-
};
|
|
218
|
-
rcnItemReference: {
|
|
219
|
-
name: string;
|
|
220
|
-
description: string;
|
|
221
|
-
};
|
|
222
|
-
rcnPriceOrWeight: {
|
|
223
|
-
name: string;
|
|
224
|
-
description: string;
|
|
225
|
-
};
|
|
226
|
-
hyperlinkText: {
|
|
227
|
-
name: string;
|
|
228
|
-
description: string;
|
|
229
|
-
};
|
|
230
|
-
hyperlinkDetails: {
|
|
231
|
-
name: string;
|
|
232
|
-
description: string;
|
|
233
|
-
};
|
|
234
|
-
};
|
|
235
|
-
Functions: {
|
|
236
|
-
version: {
|
|
237
|
-
name: string;
|
|
238
|
-
description: string;
|
|
239
|
-
};
|
|
240
|
-
spill: {
|
|
241
|
-
name: string;
|
|
242
|
-
description: string;
|
|
243
|
-
};
|
|
244
|
-
forwardTransform: {
|
|
245
|
-
name: string;
|
|
246
|
-
description: string;
|
|
247
|
-
};
|
|
248
|
-
forwardTransformSequence: {
|
|
249
|
-
name: string;
|
|
250
|
-
description: string;
|
|
251
|
-
};
|
|
252
|
-
reverseTransform: {
|
|
253
|
-
name: string;
|
|
254
|
-
description: string;
|
|
255
|
-
};
|
|
256
|
-
validateRegExp: {
|
|
257
|
-
name: string;
|
|
258
|
-
description: string;
|
|
259
|
-
};
|
|
260
|
-
isValidRegExp: {
|
|
261
|
-
name: string;
|
|
262
|
-
description: string;
|
|
263
|
-
};
|
|
264
|
-
validateNumeric: {
|
|
265
|
-
name: string;
|
|
266
|
-
description: string;
|
|
267
|
-
};
|
|
268
|
-
isValidNumeric: {
|
|
269
|
-
name: string;
|
|
270
|
-
description: string;
|
|
271
|
-
};
|
|
272
|
-
createNumeric: {
|
|
273
|
-
name: string;
|
|
274
|
-
description: string;
|
|
275
|
-
};
|
|
276
|
-
createNumericSequence: {
|
|
277
|
-
name: string;
|
|
278
|
-
description: string;
|
|
279
|
-
};
|
|
280
|
-
valueForNumeric: {
|
|
281
|
-
name: string;
|
|
282
|
-
description: string;
|
|
283
|
-
};
|
|
284
|
-
validateHexadecimal: {
|
|
285
|
-
name: string;
|
|
286
|
-
description: string;
|
|
287
|
-
};
|
|
288
|
-
isValidHexadecimal: {
|
|
289
|
-
name: string;
|
|
290
|
-
description: string;
|
|
291
|
-
};
|
|
292
|
-
createHexadecimal: {
|
|
293
|
-
name: string;
|
|
294
|
-
description: string;
|
|
295
|
-
};
|
|
296
|
-
createHexadecimalSequence: {
|
|
297
|
-
name: string;
|
|
298
|
-
description: string;
|
|
299
|
-
};
|
|
300
|
-
valueForHexadecimal: {
|
|
301
|
-
name: string;
|
|
302
|
-
description: string;
|
|
303
|
-
};
|
|
304
|
-
validateAlphabetic: {
|
|
305
|
-
name: string;
|
|
306
|
-
description: string;
|
|
307
|
-
};
|
|
308
|
-
isValidAlphabetic: {
|
|
309
|
-
name: string;
|
|
310
|
-
description: string;
|
|
311
|
-
};
|
|
312
|
-
createAlphabetic: {
|
|
313
|
-
name: string;
|
|
314
|
-
description: string;
|
|
315
|
-
};
|
|
316
|
-
createAlphabeticSequence: {
|
|
317
|
-
name: string;
|
|
318
|
-
description: string;
|
|
319
|
-
};
|
|
320
|
-
valueForAlphabetic: {
|
|
321
|
-
name: string;
|
|
322
|
-
description: string;
|
|
323
|
-
};
|
|
324
|
-
validateAlphanumeric: {
|
|
325
|
-
name: string;
|
|
326
|
-
description: string;
|
|
327
|
-
};
|
|
328
|
-
isValidAlphanumeric: {
|
|
329
|
-
name: string;
|
|
330
|
-
description: string;
|
|
331
|
-
};
|
|
332
|
-
createAlphanumeric: {
|
|
333
|
-
name: string;
|
|
334
|
-
description: string;
|
|
335
|
-
};
|
|
336
|
-
createAlphanumericSequence: {
|
|
337
|
-
name: string;
|
|
338
|
-
description: string;
|
|
339
|
-
};
|
|
340
|
-
valueForAlphanumeric: {
|
|
341
|
-
name: string;
|
|
342
|
-
description: string;
|
|
343
|
-
};
|
|
344
|
-
GS1: {
|
|
345
|
-
validateAI82: {
|
|
346
|
-
name: string;
|
|
347
|
-
description: string;
|
|
348
|
-
};
|
|
349
|
-
isValidAI82: {
|
|
350
|
-
name: string;
|
|
351
|
-
description: string;
|
|
352
|
-
};
|
|
353
|
-
createAI82: {
|
|
354
|
-
name: string;
|
|
355
|
-
description: string;
|
|
356
|
-
};
|
|
357
|
-
createAI82Sequence: {
|
|
358
|
-
name: string;
|
|
359
|
-
description: string;
|
|
360
|
-
};
|
|
361
|
-
valueForAI82: {
|
|
362
|
-
name: string;
|
|
363
|
-
description: string;
|
|
364
|
-
};
|
|
365
|
-
validateAI39: {
|
|
366
|
-
name: string;
|
|
367
|
-
description: string;
|
|
368
|
-
};
|
|
369
|
-
isValidAI39: {
|
|
370
|
-
name: string;
|
|
371
|
-
description: string;
|
|
372
|
-
};
|
|
373
|
-
createAI39: {
|
|
374
|
-
name: string;
|
|
375
|
-
description: string;
|
|
376
|
-
};
|
|
377
|
-
createAI39Sequence: {
|
|
378
|
-
name: string;
|
|
379
|
-
description: string;
|
|
380
|
-
};
|
|
381
|
-
valueForAI39: {
|
|
382
|
-
name: string;
|
|
383
|
-
description: string;
|
|
384
|
-
};
|
|
385
|
-
validateAI64: {
|
|
386
|
-
name: string;
|
|
387
|
-
description: string;
|
|
388
|
-
};
|
|
389
|
-
isValidAI64: {
|
|
390
|
-
name: string;
|
|
391
|
-
description: string;
|
|
392
|
-
};
|
|
393
|
-
checkDigit: {
|
|
394
|
-
name: string;
|
|
395
|
-
description: string;
|
|
396
|
-
};
|
|
397
|
-
hasValidCheckDigit: {
|
|
398
|
-
name: string;
|
|
399
|
-
description: string;
|
|
400
|
-
};
|
|
401
|
-
priceOrWeightCheckDigit: {
|
|
402
|
-
name: string;
|
|
403
|
-
description: string;
|
|
404
|
-
};
|
|
405
|
-
isValidPriceOrWeightCheckDigit: {
|
|
406
|
-
name: string;
|
|
407
|
-
description: string;
|
|
408
|
-
};
|
|
409
|
-
checkCharacterPair: {
|
|
410
|
-
name: string;
|
|
411
|
-
description: string;
|
|
412
|
-
};
|
|
413
|
-
hasValidCheckCharacterPair: {
|
|
414
|
-
name: string;
|
|
415
|
-
description: string;
|
|
416
|
-
};
|
|
417
|
-
validateGTIN13: {
|
|
418
|
-
name: string;
|
|
419
|
-
description: string;
|
|
420
|
-
};
|
|
421
|
-
isValidGTIN13: {
|
|
422
|
-
name: string;
|
|
423
|
-
description: string;
|
|
424
|
-
};
|
|
425
|
-
validateGTIN12: {
|
|
426
|
-
name: string;
|
|
427
|
-
description: string;
|
|
428
|
-
};
|
|
429
|
-
isValidGTIN12: {
|
|
430
|
-
name: string;
|
|
431
|
-
description: string;
|
|
432
|
-
};
|
|
433
|
-
validateGTIN8: {
|
|
434
|
-
name: string;
|
|
435
|
-
description: string;
|
|
436
|
-
};
|
|
437
|
-
isValidGTIN8: {
|
|
438
|
-
name: string;
|
|
439
|
-
description: string;
|
|
440
|
-
};
|
|
441
|
-
zeroSuppressGTIN12: {
|
|
442
|
-
name: string;
|
|
443
|
-
description: string;
|
|
444
|
-
};
|
|
445
|
-
zeroExpandGTIN12: {
|
|
446
|
-
name: string;
|
|
447
|
-
description: string;
|
|
448
|
-
};
|
|
449
|
-
convertToGTIN14: {
|
|
450
|
-
name: string;
|
|
451
|
-
description: string;
|
|
452
|
-
};
|
|
453
|
-
normalizeGTIN: {
|
|
454
|
-
name: string;
|
|
455
|
-
description: string;
|
|
456
|
-
};
|
|
457
|
-
validateGTIN: {
|
|
458
|
-
name: string;
|
|
459
|
-
description: string;
|
|
460
|
-
};
|
|
461
|
-
isValidGTIN: {
|
|
462
|
-
name: string;
|
|
463
|
-
description: string;
|
|
464
|
-
};
|
|
465
|
-
validateGTIN14: {
|
|
466
|
-
name: string;
|
|
467
|
-
description: string;
|
|
468
|
-
};
|
|
469
|
-
isValidGTIN14: {
|
|
470
|
-
name: string;
|
|
471
|
-
description: string;
|
|
472
|
-
};
|
|
473
|
-
validateGLN: {
|
|
474
|
-
name: string;
|
|
475
|
-
description: string;
|
|
476
|
-
};
|
|
477
|
-
isValidGLN: {
|
|
478
|
-
name: string;
|
|
479
|
-
description: string;
|
|
480
|
-
};
|
|
481
|
-
validateSSCC: {
|
|
482
|
-
name: string;
|
|
483
|
-
description: string;
|
|
484
|
-
};
|
|
485
|
-
isValidSSCC: {
|
|
486
|
-
name: string;
|
|
487
|
-
description: string;
|
|
488
|
-
};
|
|
489
|
-
validateGRAI: {
|
|
490
|
-
name: string;
|
|
491
|
-
description: string;
|
|
492
|
-
};
|
|
493
|
-
isValidGRAI: {
|
|
494
|
-
name: string;
|
|
495
|
-
description: string;
|
|
496
|
-
};
|
|
497
|
-
splitGRAI: {
|
|
498
|
-
name: string;
|
|
499
|
-
description: string;
|
|
500
|
-
};
|
|
501
|
-
validateGIAI: {
|
|
502
|
-
name: string;
|
|
503
|
-
description: string;
|
|
504
|
-
};
|
|
505
|
-
isValidGIAI: {
|
|
506
|
-
name: string;
|
|
507
|
-
description: string;
|
|
508
|
-
};
|
|
509
|
-
validateGSRN: {
|
|
510
|
-
name: string;
|
|
511
|
-
description: string;
|
|
512
|
-
};
|
|
513
|
-
isValidGSRN: {
|
|
514
|
-
name: string;
|
|
515
|
-
description: string;
|
|
516
|
-
};
|
|
517
|
-
validateGDTI: {
|
|
518
|
-
name: string;
|
|
519
|
-
description: string;
|
|
520
|
-
};
|
|
521
|
-
isValidGDTI: {
|
|
522
|
-
name: string;
|
|
523
|
-
description: string;
|
|
524
|
-
};
|
|
525
|
-
splitGDTI: {
|
|
526
|
-
name: string;
|
|
527
|
-
description: string;
|
|
528
|
-
};
|
|
529
|
-
validateGINC: {
|
|
530
|
-
name: string;
|
|
531
|
-
description: string;
|
|
532
|
-
};
|
|
533
|
-
isValidGINC: {
|
|
534
|
-
name: string;
|
|
535
|
-
description: string;
|
|
536
|
-
};
|
|
537
|
-
validateGSIN: {
|
|
538
|
-
name: string;
|
|
539
|
-
description: string;
|
|
540
|
-
};
|
|
541
|
-
isValidGSIN: {
|
|
542
|
-
name: string;
|
|
543
|
-
description: string;
|
|
544
|
-
};
|
|
545
|
-
validateGCN: {
|
|
546
|
-
name: string;
|
|
547
|
-
description: string;
|
|
548
|
-
};
|
|
549
|
-
isValidGCN: {
|
|
550
|
-
name: string;
|
|
551
|
-
description: string;
|
|
552
|
-
};
|
|
553
|
-
splitGCN: {
|
|
554
|
-
name: string;
|
|
555
|
-
description: string;
|
|
556
|
-
};
|
|
557
|
-
validateCPID: {
|
|
558
|
-
name: string;
|
|
559
|
-
description: string;
|
|
560
|
-
};
|
|
561
|
-
isValidCPID: {
|
|
562
|
-
name: string;
|
|
563
|
-
description: string;
|
|
564
|
-
};
|
|
565
|
-
validateGMN: {
|
|
566
|
-
name: string;
|
|
567
|
-
description: string;
|
|
568
|
-
};
|
|
569
|
-
isValidGMN: {
|
|
570
|
-
name: string;
|
|
571
|
-
description: string;
|
|
572
|
-
};
|
|
573
|
-
definePrefix: {
|
|
574
|
-
name: string;
|
|
575
|
-
description: string;
|
|
576
|
-
};
|
|
577
|
-
gcpLength: {
|
|
578
|
-
name: string;
|
|
579
|
-
description: string;
|
|
580
|
-
};
|
|
581
|
-
gcpLengthDateTime: {
|
|
582
|
-
name: string;
|
|
583
|
-
description: string;
|
|
584
|
-
};
|
|
585
|
-
gcpLengthDisclaimer: {
|
|
586
|
-
name: string;
|
|
587
|
-
description: string;
|
|
588
|
-
};
|
|
589
|
-
createGTIN: {
|
|
590
|
-
name: string;
|
|
591
|
-
description: string;
|
|
592
|
-
};
|
|
593
|
-
createGTINSequence: {
|
|
594
|
-
name: string;
|
|
595
|
-
description: string;
|
|
596
|
-
};
|
|
597
|
-
createAllGTIN: {
|
|
598
|
-
name: string;
|
|
599
|
-
description: string;
|
|
600
|
-
};
|
|
601
|
-
createGTIN14: {
|
|
602
|
-
name: string;
|
|
603
|
-
description: string;
|
|
604
|
-
};
|
|
605
|
-
createGLN: {
|
|
606
|
-
name: string;
|
|
607
|
-
description: string;
|
|
608
|
-
};
|
|
609
|
-
createGLNSequence: {
|
|
610
|
-
name: string;
|
|
611
|
-
description: string;
|
|
612
|
-
};
|
|
613
|
-
createAllGLN: {
|
|
614
|
-
name: string;
|
|
615
|
-
description: string;
|
|
616
|
-
};
|
|
617
|
-
createSSCC: {
|
|
618
|
-
name: string;
|
|
619
|
-
description: string;
|
|
620
|
-
};
|
|
621
|
-
createSSCCSequence: {
|
|
622
|
-
name: string;
|
|
623
|
-
description: string;
|
|
624
|
-
};
|
|
625
|
-
createAllSSCC: {
|
|
626
|
-
name: string;
|
|
627
|
-
description: string;
|
|
628
|
-
};
|
|
629
|
-
createGRAI: {
|
|
630
|
-
name: string;
|
|
631
|
-
description: string;
|
|
632
|
-
};
|
|
633
|
-
createGRAISequence: {
|
|
634
|
-
name: string;
|
|
635
|
-
description: string;
|
|
636
|
-
};
|
|
637
|
-
createAllGRAI: {
|
|
638
|
-
name: string;
|
|
639
|
-
description: string;
|
|
640
|
-
};
|
|
641
|
-
createSerializedGRAI: {
|
|
642
|
-
name: string;
|
|
643
|
-
description: string;
|
|
644
|
-
};
|
|
645
|
-
concatenateGRAI: {
|
|
646
|
-
name: string;
|
|
647
|
-
description: string;
|
|
648
|
-
};
|
|
649
|
-
createGIAI: {
|
|
650
|
-
name: string;
|
|
651
|
-
description: string;
|
|
652
|
-
};
|
|
653
|
-
createGSRN: {
|
|
654
|
-
name: string;
|
|
655
|
-
description: string;
|
|
656
|
-
};
|
|
657
|
-
createGSRNSequence: {
|
|
658
|
-
name: string;
|
|
659
|
-
description: string;
|
|
660
|
-
};
|
|
661
|
-
createAllGSRN: {
|
|
662
|
-
name: string;
|
|
663
|
-
description: string;
|
|
664
|
-
};
|
|
665
|
-
createGDTI: {
|
|
666
|
-
name: string;
|
|
667
|
-
description: string;
|
|
668
|
-
};
|
|
669
|
-
createGDTISequence: {
|
|
670
|
-
name: string;
|
|
671
|
-
description: string;
|
|
672
|
-
};
|
|
673
|
-
createAllGDTI: {
|
|
674
|
-
name: string;
|
|
675
|
-
description: string;
|
|
676
|
-
};
|
|
677
|
-
createSerializedGDTI: {
|
|
678
|
-
name: string;
|
|
679
|
-
description: string;
|
|
680
|
-
};
|
|
681
|
-
concatenateGDTI: {
|
|
682
|
-
name: string;
|
|
683
|
-
description: string;
|
|
684
|
-
};
|
|
685
|
-
createGINC: {
|
|
686
|
-
name: string;
|
|
687
|
-
description: string;
|
|
688
|
-
};
|
|
689
|
-
createGSIN: {
|
|
690
|
-
name: string;
|
|
691
|
-
description: string;
|
|
692
|
-
};
|
|
693
|
-
createGSINSequence: {
|
|
694
|
-
name: string;
|
|
695
|
-
description: string;
|
|
696
|
-
};
|
|
697
|
-
createAllGSIN: {
|
|
698
|
-
name: string;
|
|
699
|
-
description: string;
|
|
700
|
-
};
|
|
701
|
-
createGCN: {
|
|
702
|
-
name: string;
|
|
703
|
-
description: string;
|
|
704
|
-
};
|
|
705
|
-
createGCNSequence: {
|
|
706
|
-
name: string;
|
|
707
|
-
description: string;
|
|
708
|
-
};
|
|
709
|
-
createAllGCN: {
|
|
710
|
-
name: string;
|
|
711
|
-
description: string;
|
|
712
|
-
};
|
|
713
|
-
createSerializedGCN: {
|
|
714
|
-
name: string;
|
|
715
|
-
description: string;
|
|
716
|
-
};
|
|
717
|
-
concatenateGCN: {
|
|
718
|
-
name: string;
|
|
719
|
-
description: string;
|
|
720
|
-
};
|
|
721
|
-
createCPID: {
|
|
722
|
-
name: string;
|
|
723
|
-
description: string;
|
|
724
|
-
};
|
|
725
|
-
createGMN: {
|
|
726
|
-
name: string;
|
|
727
|
-
description: string;
|
|
728
|
-
};
|
|
729
|
-
parseVariableMeasureRCN: {
|
|
730
|
-
name: string;
|
|
731
|
-
description: string;
|
|
732
|
-
};
|
|
733
|
-
createVariableMeasureRCN: {
|
|
734
|
-
name: string;
|
|
735
|
-
description: string;
|
|
736
|
-
};
|
|
737
|
-
verifiedByGS1: {
|
|
738
|
-
name: string;
|
|
739
|
-
description: string;
|
|
740
|
-
};
|
|
741
|
-
};
|
|
742
|
-
};
|
|
743
|
-
};
|
|
744
|
-
|
|
745
|
-
declare const appExtensionNS = "aidct_app_extension";
|
|
746
|
-
/**
|
|
747
|
-
* Locale resources type is extracted from the English locale resources object.
|
|
748
|
-
*/
|
|
749
|
-
type AppExtensionLocaleResources = typeof _default;
|
|
750
|
-
/**
|
|
751
|
-
* App extension resources.
|
|
752
|
-
*/
|
|
753
|
-
declare const appExtensionResources: Resource;
|
|
754
|
-
declare const i18nextAppExtension: i18n;
|
|
755
|
-
/**
|
|
756
|
-
* Initialize internationalization.
|
|
757
|
-
*
|
|
758
|
-
* @param environment
|
|
759
|
-
* Environment in which the application is running.
|
|
760
|
-
*
|
|
761
|
-
* @param debug
|
|
762
|
-
* Debug setting.
|
|
763
|
-
*/
|
|
764
|
-
declare function i18nAppExtensionInit(environment: I18nEnvironment, debug?: boolean): Promise<void>;
|
|
765
|
-
|
|
766
|
-
/**
|
|
767
|
-
* Type that error type is expected to extend. If the application framework reports errors through the throw/catch
|
|
768
|
-
* mechanism, the error type is expected to extend {@linkcode Error}. Otherwise, it may extend any object type.
|
|
769
|
-
*
|
|
770
|
-
* @template ThrowError
|
|
771
|
-
* If true, errors are reported through the throw/catch mechanism.
|
|
772
|
-
*/
|
|
773
|
-
type ErrorExtends<ThrowError extends boolean> = ThrowError extends true ? Error : object;
|
|
774
|
-
/**
|
|
775
|
-
* Sheet.
|
|
776
|
-
*/
|
|
777
|
-
interface Sheet {
|
|
778
|
-
/**
|
|
779
|
-
* Sheet name.
|
|
780
|
-
*/
|
|
781
|
-
readonly name: string;
|
|
782
|
-
}
|
|
783
|
-
/**
|
|
784
|
-
* Single cell address.
|
|
785
|
-
*/
|
|
786
|
-
interface Address {
|
|
787
|
-
/**
|
|
788
|
-
* Zero-indexed row.
|
|
789
|
-
*/
|
|
790
|
-
readonly rowIndex: number;
|
|
791
|
-
/**
|
|
792
|
-
* Zero-indexed column.
|
|
793
|
-
*/
|
|
794
|
-
readonly columnIndex: number;
|
|
795
|
-
}
|
|
796
|
-
/**
|
|
797
|
-
* Sheet address.
|
|
798
|
-
*/
|
|
799
|
-
interface SheetAddress extends Sheet, Address {
|
|
800
|
-
}
|
|
801
|
-
/**
|
|
802
|
-
* Range of cells.
|
|
803
|
-
*/
|
|
804
|
-
interface Range {
|
|
805
|
-
/**
|
|
806
|
-
* Start address, inclusive.
|
|
807
|
-
*/
|
|
808
|
-
readonly startAddress: Address;
|
|
809
|
-
/**
|
|
810
|
-
* End address, exclusive.
|
|
811
|
-
*/
|
|
812
|
-
readonly endAddress: Address;
|
|
813
|
-
}
|
|
814
|
-
/**
|
|
815
|
-
* Sheet range.
|
|
816
|
-
*/
|
|
817
|
-
interface SheetRange extends Sheet, Range {
|
|
818
|
-
}
|
|
819
|
-
/**
|
|
820
|
-
* Matrix type; shorthand for defining a two-dimensional matrix (array of array) of a type.
|
|
821
|
-
*
|
|
822
|
-
* @template T
|
|
823
|
-
* Type.
|
|
824
|
-
*/
|
|
825
|
-
type Matrix<T> = T[][];
|
|
826
|
-
/**
|
|
827
|
-
* Function singleton return, possibly including an error return. If the application extension reports errors through
|
|
828
|
-
* the return value, the result is the union of the return type and the error type; otherwise, it's just the return
|
|
829
|
-
* type.
|
|
830
|
-
*
|
|
831
|
-
* @template TResult
|
|
832
|
-
* Result type.
|
|
833
|
-
*
|
|
834
|
-
* @template ThrowError
|
|
835
|
-
* If true, errors are reported through the throw/catch mechanism.
|
|
836
|
-
*
|
|
837
|
-
* @template TError
|
|
838
|
-
* Error type.
|
|
839
|
-
*/
|
|
840
|
-
type SingletonResult<TResult, ThrowError extends boolean, TError extends ErrorExtends<ThrowError>> = ThrowError extends false ? TResult | TError : TResult;
|
|
841
|
-
/**
|
|
842
|
-
* Function matrix return, possibly including an error return in each element. If the application extension reports
|
|
843
|
-
* errors through the return value, the individual element result is the union of the return type and the error type;
|
|
844
|
-
* otherwise, it's just the return type.
|
|
845
|
-
*
|
|
846
|
-
* @template TResult
|
|
847
|
-
* Result type.
|
|
848
|
-
*
|
|
849
|
-
* @template ThrowError
|
|
850
|
-
* If true, errors are reported through the throw/catch mechanism.
|
|
851
|
-
*
|
|
852
|
-
* @template TError
|
|
853
|
-
* Error type.
|
|
854
|
-
*/
|
|
855
|
-
type MatrixResult<TResult, ThrowError extends boolean, TError extends ErrorExtends<ThrowError>> = Matrix<SingletonResult<TResult, ThrowError, TError>>;
|
|
856
|
-
|
|
857
|
-
/**
|
|
858
|
-
* Application data.
|
|
859
|
-
*/
|
|
860
|
-
type AppData = string | number | boolean | Date | Uint8Array | object;
|
|
861
|
-
/**
|
|
862
|
-
* Decode application data from an encoded string.
|
|
863
|
-
*
|
|
864
|
-
* @param stringData
|
|
865
|
-
* String data.
|
|
866
|
-
*
|
|
867
|
-
* @returns
|
|
868
|
-
* Decoded application data.
|
|
869
|
-
*/
|
|
870
|
-
declare function decodeAppData(stringData: string): AppData | undefined;
|
|
871
|
-
/**
|
|
872
|
-
* Encode application data as a string for storage. Encoded string is in JSON format with date/time and binary data
|
|
873
|
-
* converted to identifiable strings for decoding.
|
|
874
|
-
*
|
|
875
|
-
* @param appData
|
|
876
|
-
* Application data.
|
|
877
|
-
*
|
|
878
|
-
* @returns
|
|
879
|
-
* Encoded application data.
|
|
880
|
-
*/
|
|
881
|
-
declare function encodeAppData(appData: AppData): string;
|
|
882
|
-
|
|
883
|
-
/**
|
|
884
|
-
* Streaming consumer callback, returned by application extension implementation.
|
|
885
|
-
*/
|
|
886
|
-
type StreamingConsumerCallback<TResult, ThrowError extends boolean, TError extends ErrorExtends<ThrowError>> = (result: MatrixResult<TResult, ThrowError, TError>) => void;
|
|
887
|
-
/**
|
|
888
|
-
* Streaming cancelled callback, passed to application extension implementation.
|
|
889
|
-
*/
|
|
890
|
-
type StreamingCancelledCallback = () => void;
|
|
891
|
-
|
|
892
|
-
/**
|
|
893
|
-
* Application extension.
|
|
894
|
-
*
|
|
895
|
-
* @template ThrowError
|
|
896
|
-
* If true, errors are reported through the throw/catch mechanism.
|
|
897
|
-
*
|
|
898
|
-
* @template TError
|
|
899
|
-
* Error type.
|
|
900
|
-
*
|
|
901
|
-
* @template TInvocationContext
|
|
902
|
-
* Application-specific invocation context type.
|
|
903
|
-
*
|
|
904
|
-
* @template TStreamingInvocationContext
|
|
905
|
-
* Application-specific streaming invocation context type.
|
|
906
|
-
*
|
|
907
|
-
* @template TBigInt
|
|
908
|
-
* Type to which big integer is mapped.
|
|
909
|
-
*/
|
|
910
|
-
declare abstract class AppExtension<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
911
|
-
#private;
|
|
912
|
-
/**
|
|
913
|
-
* Application name prefix for properties and application data.
|
|
914
|
-
*/
|
|
915
|
-
static readonly APPLICATION_NAME_PREFIX = "AIDCToolkit.";
|
|
916
|
-
/**
|
|
917
|
-
* Version property name.
|
|
918
|
-
*/
|
|
919
|
-
static readonly VERSION_NAME: string;
|
|
920
|
-
/**
|
|
921
|
-
* Constructor.
|
|
922
|
-
*
|
|
923
|
-
* @param version
|
|
924
|
-
* Application version.
|
|
925
|
-
*
|
|
926
|
-
* @param maximumSequenceCount
|
|
927
|
-
* Maximum sequence count supported by application.
|
|
928
|
-
*
|
|
929
|
-
* @param throwError
|
|
930
|
-
* If true, errors are reported through the throw/catch mechanism.
|
|
931
|
-
*/
|
|
932
|
-
protected constructor(version: string, maximumSequenceCount: number, throwError: ThrowError);
|
|
933
|
-
/**
|
|
934
|
-
* Initialize the application extension.
|
|
935
|
-
*/
|
|
936
|
-
initialize(): Promise<void>;
|
|
937
|
-
/**
|
|
938
|
-
* Get the version.
|
|
939
|
-
*
|
|
940
|
-
* @returns
|
|
941
|
-
* Version.
|
|
942
|
-
*/
|
|
943
|
-
get version(): string;
|
|
944
|
-
/**
|
|
945
|
-
* Determine if errors are reported through the throw/catch mechanism.
|
|
946
|
-
*/
|
|
947
|
-
get throwError(): ThrowError;
|
|
948
|
-
/**
|
|
949
|
-
* Get the logger.
|
|
950
|
-
*/
|
|
951
|
-
get logger(): Logger<object>;
|
|
952
|
-
/**
|
|
953
|
-
* Get the logger memory transport.
|
|
954
|
-
*/
|
|
955
|
-
get memoryTransport(): MemoryTransport<object>;
|
|
956
|
-
/**
|
|
957
|
-
* Get the maximum width supported by the application.
|
|
958
|
-
*/
|
|
959
|
-
abstract get maximumWidth(): number;
|
|
960
|
-
/**
|
|
961
|
-
* Get the maximum height supported by the application.
|
|
962
|
-
*/
|
|
963
|
-
abstract get maximumHeight(): number;
|
|
964
|
-
/**
|
|
965
|
-
* Get the sheet address from an invocation context.
|
|
966
|
-
*
|
|
967
|
-
* @param invocationContext
|
|
968
|
-
* Invocation context.
|
|
969
|
-
*
|
|
970
|
-
* @returns
|
|
971
|
-
* Sheet address.
|
|
972
|
-
*/
|
|
973
|
-
abstract getSheetAddress(invocationContext: TInvocationContext): Promisable<SheetAddress>;
|
|
974
|
-
/**
|
|
975
|
-
* Get a parameter range from an invocation context.
|
|
976
|
-
*
|
|
977
|
-
* @param invocationContext
|
|
978
|
-
* Invocation context.
|
|
979
|
-
*
|
|
980
|
-
* @param parameterNumber
|
|
981
|
-
* Parameter number.
|
|
982
|
-
*
|
|
983
|
-
* @returns
|
|
984
|
-
* Sheet range or null if parameter is not a range.
|
|
985
|
-
*/
|
|
986
|
-
abstract getParameterSheetRange(invocationContext: TInvocationContext, parameterNumber: number): Promisable<SheetRange | null>;
|
|
987
|
-
/**
|
|
988
|
-
* Set up streaming for a streaming function.
|
|
989
|
-
*
|
|
990
|
-
* @param streamingInvocationContext
|
|
991
|
-
* Streaming invocation context.
|
|
992
|
-
*
|
|
993
|
-
* @param streamingCancelledCallback
|
|
994
|
-
* Streaming cancelled callback, called when streaming is cancelled.
|
|
995
|
-
*
|
|
996
|
-
* @returns
|
|
997
|
-
* Streaming consumer callback, called when stream contents updated.
|
|
998
|
-
*/
|
|
999
|
-
abstract setUpStreaming<TResult>(streamingInvocationContext: TStreamingInvocationContext, streamingCancelledCallback: StreamingCancelledCallback): StreamingConsumerCallback<TResult, ThrowError, TError>;
|
|
1000
|
-
/**
|
|
1001
|
-
* Get a property stored within the active file.
|
|
1002
|
-
*
|
|
1003
|
-
* @param name
|
|
1004
|
-
* Property name.
|
|
1005
|
-
*
|
|
1006
|
-
* @returns
|
|
1007
|
-
* Property value or undefined if no value is stored under the given name.
|
|
1008
|
-
*/
|
|
1009
|
-
abstract getFileProperty(name: string): Promisable<string | undefined>;
|
|
1010
|
-
/**
|
|
1011
|
-
* Set a property to be stored within the active file.
|
|
1012
|
-
*
|
|
1013
|
-
* @param name
|
|
1014
|
-
* Property name.
|
|
1015
|
-
*
|
|
1016
|
-
* @param value
|
|
1017
|
-
* Property value or null to remove.
|
|
1018
|
-
*/
|
|
1019
|
-
abstract setFileProperty(name: string, value: string | null): Promisable<void>;
|
|
1020
|
-
/**
|
|
1021
|
-
* Get application data stored within the active file.
|
|
1022
|
-
*
|
|
1023
|
-
* @param name
|
|
1024
|
-
* Name under which data is stored.
|
|
1025
|
-
*
|
|
1026
|
-
* @returns
|
|
1027
|
-
* Application data or undefined if no data is stored under the given name.
|
|
1028
|
-
*/
|
|
1029
|
-
abstract getFileData(name: string): Promisable<AppData | undefined>;
|
|
1030
|
-
/**
|
|
1031
|
-
* Set application data to be stored within the active file.
|
|
1032
|
-
*
|
|
1033
|
-
* @param name
|
|
1034
|
-
* Name under which to store data.
|
|
1035
|
-
*
|
|
1036
|
-
* @param appData
|
|
1037
|
-
* Application data or null to remove.
|
|
1038
|
-
*/
|
|
1039
|
-
abstract setFileData(name: string, appData: AppData | null): Promisable<void>;
|
|
1040
|
-
/**
|
|
1041
|
-
* Get application data stored and shared across multiple files.
|
|
1042
|
-
*
|
|
1043
|
-
* @param name
|
|
1044
|
-
* Name under which data is stored.
|
|
1045
|
-
*
|
|
1046
|
-
* @returns
|
|
1047
|
-
* Application ata or undefined if no data is stored under the given name.
|
|
1048
|
-
*/
|
|
1049
|
-
abstract getSharedData(name: string): Promisable<AppData | undefined>;
|
|
1050
|
-
/**
|
|
1051
|
-
* Set application data to be stored and shared across multiple files.
|
|
1052
|
-
*
|
|
1053
|
-
* @param name
|
|
1054
|
-
* Name under which to store data.
|
|
1055
|
-
*
|
|
1056
|
-
* @param appData
|
|
1057
|
-
* Application data or null to remove.
|
|
1058
|
-
*/
|
|
1059
|
-
abstract setSharedData(name: string, appData: AppData | null): Promisable<void>;
|
|
1060
|
-
/**
|
|
1061
|
-
* Validate a sequence count against the maximum supported by application.
|
|
1062
|
-
*
|
|
1063
|
-
* @param sequenceCount
|
|
1064
|
-
* Sequence count.
|
|
1065
|
-
*/
|
|
1066
|
-
validateSequenceCount(sequenceCount: number): void;
|
|
1067
|
-
/**
|
|
1068
|
-
* Map big integer to another type if necessary.
|
|
1069
|
-
*
|
|
1070
|
-
* @param value
|
|
1071
|
-
* Big integer value to map.
|
|
1072
|
-
*
|
|
1073
|
-
* @returns
|
|
1074
|
-
* Mapped big integer value.
|
|
1075
|
-
*/
|
|
1076
|
-
abstract mapBigInt(value: bigint): SingletonResult<TBigInt, ThrowError, TError>;
|
|
1077
|
-
/**
|
|
1078
|
-
* Map hyperlink results to a form suitable for the application.
|
|
1079
|
-
*
|
|
1080
|
-
* @param invocationContext
|
|
1081
|
-
* Invocation context.
|
|
1082
|
-
*
|
|
1083
|
-
* @param matrixHyperlinkResults
|
|
1084
|
-
* Matrix of hyperlink results from function call.
|
|
1085
|
-
*
|
|
1086
|
-
* @returns
|
|
1087
|
-
* Matrix of results in a form suitable for the application.
|
|
1088
|
-
*/
|
|
1089
|
-
abstract mapHyperlinkResults(invocationContext: TInvocationContext, matrixHyperlinkResults: MatrixResult<Hyperlink, ThrowError, TError>): Promisable<MatrixResult<unknown, ThrowError, TError>>;
|
|
1090
|
-
/**
|
|
1091
|
-
* Map a range error (thrown by the library) to an application-specific error. If errors are reported through the
|
|
1092
|
-
* throw/catch mechanism, the implementation may return the range error unmodified if that is supported.
|
|
1093
|
-
*
|
|
1094
|
-
* @param rangeError
|
|
1095
|
-
*/
|
|
1096
|
-
abstract mapRangeError(rangeError: RangeError): TError;
|
|
1097
|
-
/**
|
|
1098
|
-
* Handle an error with a message; called when an exception occurs outside the control of the AIDC Toolkit library.
|
|
1099
|
-
* Implementation must not return, most likely by throwing the message wrapped in an error type.
|
|
1100
|
-
*
|
|
1101
|
-
* @param message
|
|
1102
|
-
* Message to include in the error.
|
|
1103
|
-
*/
|
|
1104
|
-
abstract handleError(message: string): never;
|
|
1105
|
-
}
|
|
1106
|
-
|
|
1107
|
-
/**
|
|
1108
|
-
* Library proxy.
|
|
1109
|
-
*
|
|
1110
|
-
* @template ThrowError
|
|
1111
|
-
* If true, errors are reported through the throw/catch mechanism.
|
|
1112
|
-
*
|
|
1113
|
-
* @template TError
|
|
1114
|
-
* Error type.
|
|
1115
|
-
*
|
|
1116
|
-
* @template TInvocationContext
|
|
1117
|
-
* Application-specific invocation context type.
|
|
1118
|
-
*
|
|
1119
|
-
* @template TStreamingInvocationContext
|
|
1120
|
-
* Application-specific streaming invocation context type.
|
|
1121
|
-
*
|
|
1122
|
-
* @template TBigInt
|
|
1123
|
-
* Type to which big integer is mapped.
|
|
1124
|
-
*/
|
|
1125
|
-
declare abstract class LibProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1126
|
-
#private;
|
|
1127
|
-
/**
|
|
1128
|
-
* Constructor.
|
|
1129
|
-
*
|
|
1130
|
-
* @param appExtension
|
|
1131
|
-
* Application extension.
|
|
1132
|
-
*/
|
|
1133
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1134
|
-
/**
|
|
1135
|
-
* Get the application extension.
|
|
1136
|
-
*/
|
|
1137
|
-
get appExtension(): AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>;
|
|
1138
|
-
/**
|
|
1139
|
-
* Map big integer to another type if necessary.
|
|
1140
|
-
*
|
|
1141
|
-
* @param value
|
|
1142
|
-
* Big integer value to map.
|
|
1143
|
-
*
|
|
1144
|
-
* @returns
|
|
1145
|
-
* Mapped big integer value.
|
|
1146
|
-
*/
|
|
1147
|
-
mapBigInt(value: bigint): SingletonResult<TBigInt, ThrowError, TError>;
|
|
1148
|
-
/**
|
|
1149
|
-
* Call a singleton result function with error handling.
|
|
1150
|
-
*
|
|
1151
|
-
* @param callback
|
|
1152
|
-
* Callback.
|
|
1153
|
-
*
|
|
1154
|
-
* @returns
|
|
1155
|
-
* Callback return or error if errors are not thrown.
|
|
1156
|
-
*/
|
|
1157
|
-
singletonResult<TResult>(callback: () => SingletonResult<TResult, ThrowError, TError>): SingletonResult<TResult, ThrowError, TError>;
|
|
1158
|
-
/**
|
|
1159
|
-
* Call a matrix result function with error handling.
|
|
1160
|
-
*
|
|
1161
|
-
* @param matrixValues
|
|
1162
|
-
* Matrix of values.
|
|
1163
|
-
*
|
|
1164
|
-
* @param valueCallback
|
|
1165
|
-
* Callback to process value.
|
|
1166
|
-
*
|
|
1167
|
-
* @returns
|
|
1168
|
-
* Matrix of callback results and errors if errors are not thrown.
|
|
1169
|
-
*/
|
|
1170
|
-
protected matrixResult<TValue, TResult>(matrixValues: Matrix<TValue>, valueCallback: (value: TValue) => SingletonResult<TResult, ThrowError, TError>): MatrixResult<TResult, ThrowError, TError>;
|
|
1171
|
-
/**
|
|
1172
|
-
* Map a matrix of validate string results to boolean. If the string is empty, the result is true, indicating that
|
|
1173
|
-
* there is no error.
|
|
1174
|
-
*
|
|
1175
|
-
* @param matrixValidateResults
|
|
1176
|
-
* Matrix of results from a call to a validate function.
|
|
1177
|
-
*
|
|
1178
|
-
* @returns
|
|
1179
|
-
* Matrix of boolean values, true if corresponding string is empty.
|
|
1180
|
-
*/
|
|
1181
|
-
protected isValidString(matrixValidateResults: MatrixResult<string, ThrowError, TError>): Matrix<boolean>;
|
|
1182
|
-
/**
|
|
1183
|
-
* Set up a mapping and call a matrix result function with error handling.
|
|
1184
|
-
*
|
|
1185
|
-
* @param setUpCallback
|
|
1186
|
-
* Callback to set up the mapping.
|
|
1187
|
-
*
|
|
1188
|
-
* @param matrixValues
|
|
1189
|
-
* Matrix of values.
|
|
1190
|
-
*
|
|
1191
|
-
* @param valueCallback
|
|
1192
|
-
* Callback to process value.
|
|
1193
|
-
*
|
|
1194
|
-
* @returns
|
|
1195
|
-
* Matrix of callback results and errors if errors are not thrown.
|
|
1196
|
-
*/
|
|
1197
|
-
protected setUpMatrixResult<TSetup, TValue, TResult>(setUpCallback: () => TSetup, matrixValues: Matrix<TValue>, valueCallback: (setup: TSetup, value: TValue) => SingletonResult<TResult, ThrowError, TError>): MatrixResult<TResult, ThrowError, TError>;
|
|
1198
|
-
/**
|
|
1199
|
-
* Call an array result function with error handling and map to a matrix.
|
|
1200
|
-
*
|
|
1201
|
-
* @param matrixValues
|
|
1202
|
-
* Matrix of values.
|
|
1203
|
-
*
|
|
1204
|
-
* @param callback
|
|
1205
|
-
* Callback.
|
|
1206
|
-
*
|
|
1207
|
-
* @returns
|
|
1208
|
-
* Matrix of callback results and errors if errors are not thrown.
|
|
1209
|
-
*/
|
|
1210
|
-
protected arrayResult<TValue, TResult>(matrixValues: Matrix<TValue>, callback: (value: TValue) => Array<SingletonResult<TResult, ThrowError, TError>>): MatrixResult<TResult, ThrowError, TError>;
|
|
1211
|
-
/**
|
|
1212
|
-
* Call a matrix result function with error handling and map a non-error result to an empty string and {@linkcode
|
|
1213
|
-
* RangeError} to the string error message.
|
|
1214
|
-
*
|
|
1215
|
-
* @param matrixValues
|
|
1216
|
-
* Matrix of values.
|
|
1217
|
-
*
|
|
1218
|
-
* @param callback
|
|
1219
|
-
* Callback that either returns or throws an exception.
|
|
1220
|
-
*
|
|
1221
|
-
* @returns
|
|
1222
|
-
* Matrix of strings.
|
|
1223
|
-
*/
|
|
1224
|
-
protected matrixErrorResult<TValue>(matrixValues: Matrix<TValue>, callback: (value: TValue) => void): Matrix<string>;
|
|
1225
|
-
/**
|
|
1226
|
-
* Call an iterable result function with error handling and map to a matrix. Although the natural approach would be
|
|
1227
|
-
* to map to a single-element array containing an array of *N* results (i.e., [[r0, r1, r2, ..., r*N*]]), this is
|
|
1228
|
-
* rendered visually as a single row. The more readable approach is as a single column, so the mapping is to an
|
|
1229
|
-
* *N*-element array of single-element result arrays (i.e., [[r0], [r1], [r2], ..., [r*N*]]).
|
|
1230
|
-
*
|
|
1231
|
-
* @param iterableCallback
|
|
1232
|
-
* Iterable callback.
|
|
1233
|
-
*
|
|
1234
|
-
* @returns
|
|
1235
|
-
* Matrix of callback results.
|
|
1236
|
-
*/
|
|
1237
|
-
protected iterableResult<TResult>(iterableCallback: () => Iterable<SingletonResult<TResult, ThrowError, TError>>): MatrixResult<TResult, ThrowError, TError>;
|
|
1238
|
-
}
|
|
1239
|
-
|
|
1240
|
-
/**
|
|
1241
|
-
* Core descriptor.
|
|
1242
|
-
*/
|
|
1243
|
-
interface Descriptor {
|
|
1244
|
-
/**
|
|
1245
|
-
* Name.
|
|
1246
|
-
*/
|
|
1247
|
-
readonly name: string;
|
|
1248
|
-
}
|
|
1249
|
-
/**
|
|
1250
|
-
* Types supported by proxy methods.
|
|
1251
|
-
*/
|
|
1252
|
-
declare const Types: {
|
|
1253
|
-
/**
|
|
1254
|
-
* String.
|
|
1255
|
-
*/
|
|
1256
|
-
readonly String: 0;
|
|
1257
|
-
/**
|
|
1258
|
-
* Number or enumeration.
|
|
1259
|
-
*/
|
|
1260
|
-
readonly Number: 1;
|
|
1261
|
-
/**
|
|
1262
|
-
* Boolean.
|
|
1263
|
-
*/
|
|
1264
|
-
readonly Boolean: 2;
|
|
1265
|
-
/**
|
|
1266
|
-
* Any.
|
|
1267
|
-
*/
|
|
1268
|
-
readonly Any: 3;
|
|
1269
|
-
};
|
|
1270
|
-
/**
|
|
1271
|
-
* Type key.
|
|
1272
|
-
*/
|
|
1273
|
-
type TypeKey = keyof typeof Types;
|
|
1274
|
-
/**
|
|
1275
|
-
* Type.
|
|
1276
|
-
*/
|
|
1277
|
-
type Type = typeof Types[TypeKey];
|
|
1278
|
-
/**
|
|
1279
|
-
* Type descriptor.
|
|
1280
|
-
*/
|
|
1281
|
-
interface TypeDescriptor extends Descriptor {
|
|
1282
|
-
/**
|
|
1283
|
-
* Type.
|
|
1284
|
-
*/
|
|
1285
|
-
readonly type: Type;
|
|
1286
|
-
/**
|
|
1287
|
-
* True if type is a matrix (method accepts or returns, or parameter is, a two-dimensional array).
|
|
1288
|
-
*/
|
|
1289
|
-
readonly isMatrix: boolean;
|
|
1290
|
-
}
|
|
1291
|
-
/**
|
|
1292
|
-
* Parameter descriptor.
|
|
1293
|
-
*/
|
|
1294
|
-
interface ParameterDescriptor extends TypeDescriptor {
|
|
1295
|
-
/**
|
|
1296
|
-
* True if required.
|
|
1297
|
-
*/
|
|
1298
|
-
readonly isRequired: boolean;
|
|
1299
|
-
}
|
|
1300
|
-
/**
|
|
1301
|
-
* Extends parameter descriptor.
|
|
1302
|
-
*/
|
|
1303
|
-
interface ExtendsParameterDescriptor extends Partial<ParameterDescriptor> {
|
|
1304
|
-
/**
|
|
1305
|
-
* Parameter descriptor that this one extends.
|
|
1306
|
-
*/
|
|
1307
|
-
readonly extendsDescriptor: ParameterDescriptor | ExtendsParameterDescriptor;
|
|
1308
|
-
/**
|
|
1309
|
-
* Sort order within extended parameter descriptor.
|
|
1310
|
-
*/
|
|
1311
|
-
readonly sortOrder?: number;
|
|
1312
|
-
}
|
|
1313
|
-
/**
|
|
1314
|
-
* Replacement parameter descriptor.
|
|
1315
|
-
*/
|
|
1316
|
-
interface ReplacementParameterDescriptor {
|
|
1317
|
-
/**
|
|
1318
|
-
* Name to replace.
|
|
1319
|
-
*/
|
|
1320
|
-
readonly name: string;
|
|
1321
|
-
/**
|
|
1322
|
-
* Replacement parameter descriptor.
|
|
1323
|
-
*/
|
|
1324
|
-
readonly replacement: ParameterDescriptor;
|
|
1325
|
-
}
|
|
1326
|
-
/**
|
|
1327
|
-
* Method descriptor.
|
|
1328
|
-
*/
|
|
1329
|
-
interface MethodDescriptor extends TypeDescriptor {
|
|
1330
|
-
/**
|
|
1331
|
-
* If true, application-specific invocation context is required.
|
|
1332
|
-
*/
|
|
1333
|
-
readonly requiresContext?: boolean;
|
|
1334
|
-
/**
|
|
1335
|
-
* If true, function is hidden from user interface.
|
|
1336
|
-
*/
|
|
1337
|
-
readonly isHidden?: boolean;
|
|
1338
|
-
/**
|
|
1339
|
-
* If true, function is volatile and should be reevaluated regularly.
|
|
1340
|
-
*/
|
|
1341
|
-
readonly isVolatile?: boolean;
|
|
1342
|
-
/**
|
|
1343
|
-
* If true, function opens a stream that updates asynchronously.
|
|
1344
|
-
*/
|
|
1345
|
-
readonly isStream?: boolean;
|
|
1346
|
-
/**
|
|
1347
|
-
* If true, method infix is ignored.
|
|
1348
|
-
*/
|
|
1349
|
-
readonly ignoreInfix?: boolean;
|
|
1350
|
-
/**
|
|
1351
|
-
* String before which method infix appears. If undefined, infix is appended to the method name. Ignored if
|
|
1352
|
-
* `ignoreInfix` is true.
|
|
1353
|
-
*/
|
|
1354
|
-
readonly infixBefore?: string;
|
|
1355
|
-
/**
|
|
1356
|
-
* Parameter descriptors.
|
|
1357
|
-
*/
|
|
1358
|
-
readonly parameterDescriptors: readonly ParameterDescriptor[];
|
|
1359
|
-
/**
|
|
1360
|
-
* Function name with optional infix.
|
|
1361
|
-
*/
|
|
1362
|
-
readonly functionName: string;
|
|
1363
|
-
/**
|
|
1364
|
-
* Function name in optional namespace with optional infix.
|
|
1365
|
-
*/
|
|
1366
|
-
readonly namespaceFunctionName: string;
|
|
1367
|
-
}
|
|
1368
|
-
/**
|
|
1369
|
-
* Class descriptor.
|
|
1370
|
-
*/
|
|
1371
|
-
interface ClassDescriptor extends Descriptor {
|
|
1372
|
-
/**
|
|
1373
|
-
* Class namespace. If not provided, class is at the top level.
|
|
1374
|
-
*/
|
|
1375
|
-
readonly namespace?: string | undefined;
|
|
1376
|
-
/**
|
|
1377
|
-
* Method infix. If undefined, method name is generated verbatim.
|
|
1378
|
-
*/
|
|
1379
|
-
readonly methodInfix?: string | undefined;
|
|
1380
|
-
/**
|
|
1381
|
-
* Replacement parameter descriptors for class hierarchies where parameter types can narrow
|
|
1382
|
-
*/
|
|
1383
|
-
readonly replacementParameterDescriptors?: ReplacementParameterDescriptor[];
|
|
1384
|
-
/**
|
|
1385
|
-
* Class name in optional namespace.
|
|
1386
|
-
*/
|
|
1387
|
-
readonly namespaceClassName: string;
|
|
1388
|
-
/**
|
|
1389
|
-
* Object name.
|
|
1390
|
-
*/
|
|
1391
|
-
readonly objectName: string;
|
|
1392
|
-
/**
|
|
1393
|
-
* Method descriptors.
|
|
1394
|
-
*/
|
|
1395
|
-
readonly methodDescriptors: readonly MethodDescriptor[];
|
|
1396
|
-
}
|
|
1397
|
-
|
|
1398
|
-
/**
|
|
1399
|
-
* Application utilities.
|
|
1400
|
-
*
|
|
1401
|
-
* @template ThrowError
|
|
1402
|
-
* If true, errors are reported through the throw/catch mechanism.
|
|
1403
|
-
*
|
|
1404
|
-
* @template TError
|
|
1405
|
-
* Error type.
|
|
1406
|
-
*
|
|
1407
|
-
* @template TInvocationContext
|
|
1408
|
-
* Application-specific invocation context type.
|
|
1409
|
-
*
|
|
1410
|
-
* @template TStreamingInvocationContext
|
|
1411
|
-
* Application-specific streaming invocation context type.
|
|
1412
|
-
*
|
|
1413
|
-
* @template TBigInt
|
|
1414
|
-
* Type to which big integer is mapped.
|
|
1415
|
-
*/
|
|
1416
|
-
declare class AppUtilityProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends LibProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1417
|
-
#private;
|
|
1418
|
-
/**
|
|
1419
|
-
* Get the version.
|
|
1420
|
-
*
|
|
1421
|
-
* @returns
|
|
1422
|
-
* Version.
|
|
1423
|
-
*/
|
|
1424
|
-
version(): string;
|
|
1425
|
-
/**
|
|
1426
|
-
* Spill a one-dimensional matrix to fit a rectangle within a given maximum height and width.
|
|
1427
|
-
*
|
|
1428
|
-
* @param matrixValues
|
|
1429
|
-
* Matrix values. Matrix is length 1 or contains arrays of length 1 with the values.
|
|
1430
|
-
*
|
|
1431
|
-
* @param maximumHeight
|
|
1432
|
-
* Maximum height.
|
|
1433
|
-
*
|
|
1434
|
-
* @param maximumWidth
|
|
1435
|
-
* Maximum width.
|
|
1436
|
-
*
|
|
1437
|
-
* @param invocationContext
|
|
1438
|
-
* Invocation context.
|
|
1439
|
-
*
|
|
1440
|
-
* @returns
|
|
1441
|
-
* Matrix spilled within maximum height and maximum width.
|
|
1442
|
-
*/
|
|
1443
|
-
spill(matrixValues: Matrix<unknown>, maximumHeight: Nullishable<number>, maximumWidth: Nullishable<number>, invocationContext: Nullishable<TInvocationContext>): Promise<MatrixResult<unknown, ThrowError, TError>>;
|
|
1444
|
-
/**
|
|
1445
|
-
* Get the logger messages as a stream.
|
|
1446
|
-
*
|
|
1447
|
-
* @param logLevelString
|
|
1448
|
-
* Log level as string.
|
|
1449
|
-
*
|
|
1450
|
-
* @param streamingInvocationContext
|
|
1451
|
-
* Streaming invocation context.
|
|
1452
|
-
*/
|
|
1453
|
-
loggerMessages(logLevelString: Nullishable<string>, streamingInvocationContext: Nullishable<TStreamingInvocationContext>): void;
|
|
1454
|
-
}
|
|
1455
|
-
|
|
1456
|
-
declare class TransformerProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends LibProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1457
|
-
forward(domain: number | bigint, matrixValues: Matrix<number | bigint>, tweak: Nullishable<number | bigint>): MatrixResult<TBigInt, ThrowError, TError>;
|
|
1458
|
-
forwardSequence(domain: number | bigint, startValue: number, count: number, tweak: Nullishable<number | bigint>): MatrixResult<TBigInt, ThrowError, TError>;
|
|
1459
|
-
reverse(domain: number | bigint, matrixTransformedValues: Matrix<number | bigint>, tweak: Nullishable<number | bigint>): MatrixResult<TBigInt, ThrowError, TError>;
|
|
1460
|
-
}
|
|
1461
|
-
|
|
1462
|
-
declare abstract class StringProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends LibProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1463
|
-
protected validateString<TStringValidation extends StringValidation>(validator: StringValidator<TStringValidation>, matrixSs: Matrix<string>, validation?: TStringValidation): Matrix<string>;
|
|
1464
|
-
}
|
|
1465
|
-
|
|
1466
|
-
declare class RegExpProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends StringProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1467
|
-
validate(regExp: string, matrixSs: Matrix<string>, errorMessage: Nullishable<string>): Matrix<string>;
|
|
1468
|
-
isValid(regExp: string, matrixSs: Matrix<string>): Matrix<boolean>;
|
|
1469
|
-
}
|
|
1470
|
-
|
|
1471
|
-
declare abstract class CharacterSetValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends StringProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1472
|
-
#private;
|
|
1473
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>, characterSetValidator: CharacterSetValidator);
|
|
1474
|
-
validate(matrixSs: Matrix<string>, exclusion: Nullishable<Exclusion>): Matrix<string>;
|
|
1475
|
-
isValid(matrixSs: Matrix<string>, exclusion: Nullishable<Exclusion>): Matrix<boolean>;
|
|
1476
|
-
}
|
|
1477
|
-
declare abstract class CharacterSetCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends CharacterSetValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1478
|
-
#private;
|
|
1479
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>, characterSetCreator: CharacterSetCreator);
|
|
1480
|
-
create(length: number, matrixValues: Matrix<number | bigint>, exclusion: Nullishable<Exclusion>, tweak: Nullishable<number | bigint>): MatrixResult<string, ThrowError, TError>;
|
|
1481
|
-
createSequence(length: number, startValue: number, count: number, exclusion: Nullishable<Exclusion>, tweak: Nullishable<number | bigint>): MatrixResult<string, ThrowError, TError>;
|
|
1482
|
-
valueFor(matrixSs: Matrix<string>, exclusion: Nullishable<Exclusion>, tweak: Nullishable<number | bigint>): MatrixResult<TBigInt, ThrowError, TError>;
|
|
1483
|
-
}
|
|
1484
|
-
declare class NumericProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends CharacterSetCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1485
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1486
|
-
}
|
|
1487
|
-
declare class HexadecimalProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends CharacterSetCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1488
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1489
|
-
}
|
|
1490
|
-
declare class AlphabeticProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends CharacterSetCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1491
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1492
|
-
}
|
|
1493
|
-
declare class AlphanumericProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends CharacterSetCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1494
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1495
|
-
}
|
|
1496
|
-
|
|
1497
|
-
declare class AI82Proxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends CharacterSetCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1498
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1499
|
-
}
|
|
1500
|
-
declare class AI39Proxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends CharacterSetCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1501
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1502
|
-
}
|
|
1503
|
-
declare class AI64Proxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends CharacterSetValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1504
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1505
|
-
}
|
|
1506
|
-
|
|
1507
|
-
declare class CheckProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends LibProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1508
|
-
checkDigit(matrixSs: Matrix<string>): MatrixResult<string, ThrowError, TError>;
|
|
1509
|
-
hasValidCheckDigit(matrixSs: Matrix<string>): MatrixResult<boolean, ThrowError, TError>;
|
|
1510
|
-
priceOrWeightCheckDigit(matrixSs: Matrix<string>): MatrixResult<string, ThrowError, TError>;
|
|
1511
|
-
isValidPriceOrWeightCheckDigit(s: string, checkDigit: string): SingletonResult<boolean, ThrowError, TError>;
|
|
1512
|
-
checkCharacterPair(matrixSs: Matrix<string>): MatrixResult<string, ThrowError, TError>;
|
|
1513
|
-
hasValidCheckCharacterPair(matrixSs: Matrix<string>): MatrixResult<boolean, ThrowError, TError>;
|
|
1514
|
-
}
|
|
1515
|
-
|
|
1516
|
-
declare abstract class IdentifierValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt, TIdentifierType extends IdentifierType> extends StringProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1517
|
-
#private;
|
|
1518
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>, validator: IdentifierTypeValidator<TIdentifierType>);
|
|
1519
|
-
protected get validator(): IdentifierTypeValidator<TIdentifierType>;
|
|
1520
|
-
}
|
|
1521
|
-
declare abstract class NumericIdentifierValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt, TNumericIdentifierType extends NumericIdentifierType> extends IdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt, TNumericIdentifierType> {
|
|
1522
|
-
validate(matrixIdentifiers: Matrix<string>): Matrix<string>;
|
|
1523
|
-
isValid(matrixIdentifiers: Matrix<string>): Matrix<boolean>;
|
|
1524
|
-
}
|
|
1525
|
-
declare abstract class GTINValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt, GTINType> {
|
|
1526
|
-
}
|
|
1527
|
-
declare abstract class NonGTINNumericIdentifierValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt, TNonGTINNumericIdentifierType extends NonGTINNumericIdentifierType = NonGTINNumericIdentifierType> extends NumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt, TNonGTINNumericIdentifierType> {
|
|
1528
|
-
}
|
|
1529
|
-
declare abstract class NonSerializableNumericIdentifierValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonGTINNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt, NonSerializableNumericIdentifierType> {
|
|
1530
|
-
}
|
|
1531
|
-
declare abstract class SerializableNumericIdentifierValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonGTINNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt, SerializableNumericIdentifierType> {
|
|
1532
|
-
split(matrixIdentifiers: Matrix<string>): MatrixResult<string, ThrowError, TError>;
|
|
1533
|
-
}
|
|
1534
|
-
declare abstract class NonNumericIdentifierValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends IdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt, NonNumericIdentifierType> {
|
|
1535
|
-
validate(matrixIdentifiers: Matrix<string>, exclusion: Nullishable<NonNumericIdentifierValidation["exclusion"]>): Matrix<string>;
|
|
1536
|
-
isValid(matrixIdentifiers: Matrix<string>, exclusion: Nullishable<NonNumericIdentifierValidation["exclusion"]>): Matrix<boolean>;
|
|
1537
|
-
}
|
|
1538
|
-
|
|
1539
|
-
declare class GTIN13ValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends GTINValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1540
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1541
|
-
}
|
|
1542
|
-
declare class GTIN12ValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends GTINValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1543
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1544
|
-
}
|
|
1545
|
-
declare class GTIN8ValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends GTINValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1546
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1547
|
-
}
|
|
1548
|
-
declare class GTINValidatorStaticProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends LibProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1549
|
-
zeroSuppressGTIN12(matrixGTIN12s: Matrix<string>): MatrixResult<string, ThrowError, TError>;
|
|
1550
|
-
zeroExpandGTIN12(matrixZeroSuppressedGTIN12s: Matrix<string>): MatrixResult<string, ThrowError, TError>;
|
|
1551
|
-
convertToGTIN14(indicatorDigit: string, matrixGTINs: Matrix<string>): MatrixResult<string, ThrowError, TError>;
|
|
1552
|
-
normalizeGTIN(matrixGTINs: Matrix<string>): MatrixResult<string, ThrowError, TError>;
|
|
1553
|
-
validateGTIN(matrixGTINs: Matrix<string>, gtinLevel: Nullishable<GTINLevel>): Matrix<string>;
|
|
1554
|
-
isValidGTIN(matrixGTINs: Matrix<string>, gtinLevel: Nullishable<GTINLevel>): Matrix<boolean>;
|
|
1555
|
-
validateGTIN14(matrixGTIN14s: Matrix<string>): Matrix<string>;
|
|
1556
|
-
isValidGTIN14(matrixGTIN14s: Matrix<string>): Matrix<boolean>;
|
|
1557
|
-
}
|
|
1558
|
-
|
|
1559
|
-
declare class GLNValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonSerializableNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1560
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1561
|
-
}
|
|
1562
|
-
declare class SSCCValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonSerializableNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1563
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1564
|
-
}
|
|
1565
|
-
declare class GRAIValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends SerializableNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1566
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1567
|
-
}
|
|
1568
|
-
declare class GIAIValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1569
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1570
|
-
}
|
|
1571
|
-
declare class GSRNValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonSerializableNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1572
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1573
|
-
}
|
|
1574
|
-
declare class GDTIValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends SerializableNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1575
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1576
|
-
}
|
|
1577
|
-
declare class GINCValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1578
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1579
|
-
}
|
|
1580
|
-
declare class GSINValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonSerializableNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1581
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1582
|
-
}
|
|
1583
|
-
declare class GCNValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends SerializableNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1584
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1585
|
-
}
|
|
1586
|
-
declare class CPIDValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1587
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1588
|
-
}
|
|
1589
|
-
declare class GMNValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1590
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1591
|
-
}
|
|
1592
|
-
|
|
1593
|
-
declare class PrefixManagerProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends LibProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1594
|
-
#private;
|
|
1595
|
-
definePrefix(prefix: string, prefixType: Nullishable<PrefixType>, tweakFactor: Nullishable<number>): Matrix<unknown>;
|
|
1596
|
-
gcpLength(identifierType: string, matrixIdentifiers: Matrix<string>): Promise<MatrixResult<number, ThrowError, TError>>;
|
|
1597
|
-
gcpLengthDateTime(): Promise<SingletonResult<string, ThrowError, TError>>;
|
|
1598
|
-
gcpLengthDisclaimer(): Promise<SingletonResult<string, ThrowError, TError>>;
|
|
1599
|
-
}
|
|
1600
|
-
|
|
1601
|
-
declare abstract class IdentifierCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt, TIdentifierType extends IdentifierType, TIdentifierValidation extends IdentifierValidation, TIdentifierCreator extends IdentifierCreator<TIdentifierType, TIdentifierValidation>> extends LibProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1602
|
-
#private;
|
|
1603
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>, getCreator: (prefixManager: PrefixManager) => TIdentifierCreator);
|
|
1604
|
-
protected getCreator(prefixDefinition: Matrix<unknown>): TIdentifierCreator;
|
|
1605
|
-
}
|
|
1606
|
-
declare abstract class NumericIdentifierCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt, TNumericIdentifierType extends NumericIdentifierType, TNumericIdentifierCreator extends NumericIdentifierCreator<TNumericIdentifierType>> extends IdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt, TNumericIdentifierType, NumericIdentifierValidation, TNumericIdentifierCreator> {
|
|
1607
|
-
create(prefixDefinition: Matrix<unknown>, matrixValues: Matrix<number | bigint>, sparse: Nullishable<boolean>): MatrixResult<string, ThrowError, TError>;
|
|
1608
|
-
createSequence(prefixDefinition: Matrix<unknown>, startValue: number, count: number, sparse: Nullishable<boolean>): MatrixResult<string, ThrowError, TError>;
|
|
1609
|
-
createAll(prefixDefinition: Matrix<unknown>): MatrixResult<string, ThrowError, TError>;
|
|
1610
|
-
}
|
|
1611
|
-
declare abstract class NonGTINNumericIdentifierCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt, TNonGTINNumericIdentifierType extends NonGTINNumericIdentifierType, TNonGTINNumericIdentifierCreator extends NonGTINNumericIdentifierCreator> extends NumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt, TNonGTINNumericIdentifierType, TNonGTINNumericIdentifierCreator> {
|
|
1612
|
-
}
|
|
1613
|
-
declare abstract class NonSerializableNumericIdentifierCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt, TNonSerializableNumericIdentifierType extends NonSerializableNumericIdentifierType, TNonGTINNumericIdentifierCreator extends NonGTINNumericIdentifierCreator> extends NonGTINNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt, TNonSerializableNumericIdentifierType, TNonGTINNumericIdentifierCreator> {
|
|
1614
|
-
}
|
|
1615
|
-
declare abstract class SerializableNumericIdentifierCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonGTINNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt, SerializableNumericIdentifierType, SerializableNumericIdentifierCreator> {
|
|
1616
|
-
createSerialized(prefixDefinition: Matrix<unknown>, value: number, matrixSerialComponents: Matrix<string>, sparse: Nullishable<boolean>): MatrixResult<string, ThrowError, TError>;
|
|
1617
|
-
concatenate(baseIdentifier: string, matrixSerialComponents: Matrix<string>): MatrixResult<string, ThrowError, TError>;
|
|
1618
|
-
}
|
|
1619
|
-
declare abstract class NonNumericIdentifierCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends IdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt, NonNumericIdentifierType, NonNumericIdentifierValidation, NonNumericIdentifierCreator> {
|
|
1620
|
-
create(prefixDefinition: Matrix<unknown>, matrixReferences: Matrix<string>): MatrixResult<string, ThrowError, TError>;
|
|
1621
|
-
}
|
|
1622
|
-
|
|
1623
|
-
declare class GTINCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt, GTINType, GTINCreator> {
|
|
1624
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1625
|
-
createGTIN14(indicatorDigit: string, prefixDefinition: Matrix<unknown>, matrixValues: Matrix<number | bigint>, sparse: Nullishable<boolean>): MatrixResult<string, ThrowError, TError>;
|
|
1626
|
-
}
|
|
1627
|
-
|
|
1628
|
-
declare class GLNCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonSerializableNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt, NonSerializableNumericIdentifierType, NonGTINNumericIdentifierCreator> {
|
|
1629
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1630
|
-
}
|
|
1631
|
-
declare class SSCCCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonSerializableNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt, NonSerializableNumericIdentifierType, NonGTINNumericIdentifierCreator> {
|
|
1632
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1633
|
-
}
|
|
1634
|
-
declare class GRAICreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends SerializableNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1635
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1636
|
-
}
|
|
1637
|
-
declare class GIAICreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1638
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1639
|
-
}
|
|
1640
|
-
declare class GSRNCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonSerializableNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt, NonSerializableNumericIdentifierType, NonGTINNumericIdentifierCreator> {
|
|
1641
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1642
|
-
}
|
|
1643
|
-
declare class GDTICreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends SerializableNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1644
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1645
|
-
}
|
|
1646
|
-
declare class GINCCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1647
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1648
|
-
}
|
|
1649
|
-
declare class GSINCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonSerializableNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt, NonSerializableNumericIdentifierType, NonGTINNumericIdentifierCreator> {
|
|
1650
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1651
|
-
}
|
|
1652
|
-
declare class GCNCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends SerializableNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1653
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1654
|
-
}
|
|
1655
|
-
declare class CPIDCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1656
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1657
|
-
}
|
|
1658
|
-
declare class GMNCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1659
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1660
|
-
}
|
|
1661
|
-
|
|
1662
|
-
declare class VariableMeasureProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends LibProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1663
|
-
parseVariableMeasureRCN(format: string, matrixRCNs: Matrix<string>): MatrixResult<number, ThrowError, TError>;
|
|
1664
|
-
createVariableMeasureRCN(format: string, itemReference: number, matrixPricesOrWeights: Matrix<number>): MatrixResult<string, ThrowError, TError>;
|
|
1665
|
-
}
|
|
1666
|
-
|
|
1667
|
-
declare class ServiceProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends LibProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1668
|
-
verifiedByGS1(identifierType: string, matrixIdentifiers: Matrix<string>, text: Nullishable<string>, details: Nullishable<string>, invocationContext: Nullishable<TInvocationContext>): Promise<MatrixResult<unknown, ThrowError, TError>>;
|
|
1669
|
-
}
|
|
1670
|
-
|
|
1671
|
-
type index_AI39Proxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> = AI39Proxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>;
|
|
1672
|
-
declare const index_AI39Proxy: typeof AI39Proxy;
|
|
1673
|
-
type index_AI64Proxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> = AI64Proxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>;
|
|
1674
|
-
declare const index_AI64Proxy: typeof AI64Proxy;
|
|
1675
|
-
type index_AI82Proxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> = AI82Proxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>;
|
|
1676
|
-
declare const index_AI82Proxy: typeof AI82Proxy;
|
|
1677
|
-
type index_CPIDCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> = CPIDCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>;
|
|
1678
|
-
declare const index_CPIDCreatorProxy: typeof CPIDCreatorProxy;
|
|
1679
|
-
type index_CPIDValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> = CPIDValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>;
|
|
1680
|
-
declare const index_CPIDValidatorProxy: typeof CPIDValidatorProxy;
|
|
1681
|
-
type index_CheckProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> = CheckProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>;
|
|
1682
|
-
declare const index_CheckProxy: typeof CheckProxy;
|
|
1683
|
-
type index_GCNCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> = GCNCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>;
|
|
1684
|
-
declare const index_GCNCreatorProxy: typeof GCNCreatorProxy;
|
|
1685
|
-
type index_GCNValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> = GCNValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>;
|
|
1686
|
-
declare const index_GCNValidatorProxy: typeof GCNValidatorProxy;
|
|
1687
|
-
type index_GDTICreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> = GDTICreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>;
|
|
1688
|
-
declare const index_GDTICreatorProxy: typeof GDTICreatorProxy;
|
|
1689
|
-
type index_GDTIValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> = GDTIValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>;
|
|
1690
|
-
declare const index_GDTIValidatorProxy: typeof GDTIValidatorProxy;
|
|
1691
|
-
type index_GIAICreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> = GIAICreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>;
|
|
1692
|
-
declare const index_GIAICreatorProxy: typeof GIAICreatorProxy;
|
|
1693
|
-
type index_GIAIValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> = GIAIValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>;
|
|
1694
|
-
declare const index_GIAIValidatorProxy: typeof GIAIValidatorProxy;
|
|
1695
|
-
type index_GINCCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> = GINCCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>;
|
|
1696
|
-
declare const index_GINCCreatorProxy: typeof GINCCreatorProxy;
|
|
1697
|
-
type index_GINCValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> = GINCValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>;
|
|
1698
|
-
declare const index_GINCValidatorProxy: typeof GINCValidatorProxy;
|
|
1699
|
-
type index_GLNCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> = GLNCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>;
|
|
1700
|
-
declare const index_GLNCreatorProxy: typeof GLNCreatorProxy;
|
|
1701
|
-
type index_GLNValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> = GLNValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>;
|
|
1702
|
-
declare const index_GLNValidatorProxy: typeof GLNValidatorProxy;
|
|
1703
|
-
type index_GMNCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> = GMNCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>;
|
|
1704
|
-
declare const index_GMNCreatorProxy: typeof GMNCreatorProxy;
|
|
1705
|
-
type index_GMNValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> = GMNValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>;
|
|
1706
|
-
declare const index_GMNValidatorProxy: typeof GMNValidatorProxy;
|
|
1707
|
-
type index_GRAICreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> = GRAICreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>;
|
|
1708
|
-
declare const index_GRAICreatorProxy: typeof GRAICreatorProxy;
|
|
1709
|
-
type index_GRAIValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> = GRAIValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>;
|
|
1710
|
-
declare const index_GRAIValidatorProxy: typeof GRAIValidatorProxy;
|
|
1711
|
-
type index_GSINCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> = GSINCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>;
|
|
1712
|
-
declare const index_GSINCreatorProxy: typeof GSINCreatorProxy;
|
|
1713
|
-
type index_GSINValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> = GSINValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>;
|
|
1714
|
-
declare const index_GSINValidatorProxy: typeof GSINValidatorProxy;
|
|
1715
|
-
type index_GSRNCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> = GSRNCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>;
|
|
1716
|
-
declare const index_GSRNCreatorProxy: typeof GSRNCreatorProxy;
|
|
1717
|
-
type index_GSRNValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> = GSRNValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>;
|
|
1718
|
-
declare const index_GSRNValidatorProxy: typeof GSRNValidatorProxy;
|
|
1719
|
-
type index_GTIN12ValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> = GTIN12ValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>;
|
|
1720
|
-
declare const index_GTIN12ValidatorProxy: typeof GTIN12ValidatorProxy;
|
|
1721
|
-
type index_GTIN13ValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> = GTIN13ValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>;
|
|
1722
|
-
declare const index_GTIN13ValidatorProxy: typeof GTIN13ValidatorProxy;
|
|
1723
|
-
type index_GTIN8ValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> = GTIN8ValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>;
|
|
1724
|
-
declare const index_GTIN8ValidatorProxy: typeof GTIN8ValidatorProxy;
|
|
1725
|
-
type index_GTINCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> = GTINCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>;
|
|
1726
|
-
declare const index_GTINCreatorProxy: typeof GTINCreatorProxy;
|
|
1727
|
-
type index_GTINValidatorStaticProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> = GTINValidatorStaticProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>;
|
|
1728
|
-
declare const index_GTINValidatorStaticProxy: typeof GTINValidatorStaticProxy;
|
|
1729
|
-
type index_PrefixManagerProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> = PrefixManagerProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>;
|
|
1730
|
-
declare const index_PrefixManagerProxy: typeof PrefixManagerProxy;
|
|
1731
|
-
type index_SSCCCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> = SSCCCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>;
|
|
1732
|
-
declare const index_SSCCCreatorProxy: typeof SSCCCreatorProxy;
|
|
1733
|
-
type index_SSCCValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> = SSCCValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>;
|
|
1734
|
-
declare const index_SSCCValidatorProxy: typeof SSCCValidatorProxy;
|
|
1735
|
-
type index_ServiceProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> = ServiceProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>;
|
|
1736
|
-
declare const index_ServiceProxy: typeof ServiceProxy;
|
|
1737
|
-
type index_VariableMeasureProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> = VariableMeasureProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>;
|
|
1738
|
-
declare const index_VariableMeasureProxy: typeof VariableMeasureProxy;
|
|
1739
|
-
declare namespace index {
|
|
1740
|
-
export { index_AI39Proxy as AI39Proxy, index_AI64Proxy as AI64Proxy, index_AI82Proxy as AI82Proxy, index_CPIDCreatorProxy as CPIDCreatorProxy, index_CPIDValidatorProxy as CPIDValidatorProxy, index_CheckProxy as CheckProxy, index_GCNCreatorProxy as GCNCreatorProxy, index_GCNValidatorProxy as GCNValidatorProxy, index_GDTICreatorProxy as GDTICreatorProxy, index_GDTIValidatorProxy as GDTIValidatorProxy, index_GIAICreatorProxy as GIAICreatorProxy, index_GIAIValidatorProxy as GIAIValidatorProxy, index_GINCCreatorProxy as GINCCreatorProxy, index_GINCValidatorProxy as GINCValidatorProxy, index_GLNCreatorProxy as GLNCreatorProxy, index_GLNValidatorProxy as GLNValidatorProxy, index_GMNCreatorProxy as GMNCreatorProxy, index_GMNValidatorProxy as GMNValidatorProxy, index_GRAICreatorProxy as GRAICreatorProxy, index_GRAIValidatorProxy as GRAIValidatorProxy, index_GSINCreatorProxy as GSINCreatorProxy, index_GSINValidatorProxy as GSINValidatorProxy, index_GSRNCreatorProxy as GSRNCreatorProxy, index_GSRNValidatorProxy as GSRNValidatorProxy, index_GTIN12ValidatorProxy as GTIN12ValidatorProxy, index_GTIN13ValidatorProxy as GTIN13ValidatorProxy, index_GTIN8ValidatorProxy as GTIN8ValidatorProxy, index_GTINCreatorProxy as GTINCreatorProxy, index_GTINValidatorStaticProxy as GTINValidatorStaticProxy, index_PrefixManagerProxy as PrefixManagerProxy, index_SSCCCreatorProxy as SSCCCreatorProxy, index_SSCCValidatorProxy as SSCCValidatorProxy, index_ServiceProxy as ServiceProxy, index_VariableMeasureProxy as VariableMeasureProxy };
|
|
1741
|
-
}
|
|
1742
|
-
|
|
1743
|
-
/**
|
|
1744
|
-
* Localization.
|
|
1745
|
-
*/
|
|
1746
|
-
interface Localization {
|
|
1747
|
-
/**
|
|
1748
|
-
* Name.
|
|
1749
|
-
*/
|
|
1750
|
-
name: string;
|
|
1751
|
-
/**
|
|
1752
|
-
* Description.
|
|
1753
|
-
*/
|
|
1754
|
-
description: string;
|
|
1755
|
-
}
|
|
1756
|
-
/**
|
|
1757
|
-
* Function localization.
|
|
1758
|
-
*/
|
|
1759
|
-
interface FunctionLocalization extends Localization {
|
|
1760
|
-
/**
|
|
1761
|
-
* Documentation URL.
|
|
1762
|
-
*/
|
|
1763
|
-
documentationURL: string;
|
|
1764
|
-
/**
|
|
1765
|
-
* Parameters map.
|
|
1766
|
-
*/
|
|
1767
|
-
parametersMap: Map<string, Localization>;
|
|
1768
|
-
}
|
|
1769
|
-
/**
|
|
1770
|
-
* Abstract generator.
|
|
1771
|
-
*/
|
|
1772
|
-
declare abstract class Generator {
|
|
1773
|
-
#private;
|
|
1774
|
-
/**
|
|
1775
|
-
* Constructor.
|
|
1776
|
-
*
|
|
1777
|
-
* @param includeLocalizations
|
|
1778
|
-
* Include localizations if true.
|
|
1779
|
-
*/
|
|
1780
|
-
constructor(includeLocalizations?: boolean);
|
|
1781
|
-
/**
|
|
1782
|
-
* Get the locales.
|
|
1783
|
-
*/
|
|
1784
|
-
protected get locales(): readonly string[];
|
|
1785
|
-
/**
|
|
1786
|
-
* Get the default locale.
|
|
1787
|
-
*/
|
|
1788
|
-
protected get defaultLocale(): string;
|
|
1789
|
-
/**
|
|
1790
|
-
* Get function localization.
|
|
1791
|
-
*
|
|
1792
|
-
* @param locale
|
|
1793
|
-
* Locale.
|
|
1794
|
-
*
|
|
1795
|
-
* @param namespaceFunctionName
|
|
1796
|
-
* Namespace function name.
|
|
1797
|
-
*
|
|
1798
|
-
* @returns
|
|
1799
|
-
* Function localization.
|
|
1800
|
-
*/
|
|
1801
|
-
protected getFunctionLocalization(locale: string, namespaceFunctionName: string): FunctionLocalization;
|
|
1802
|
-
/**
|
|
1803
|
-
* Get parameter localization.
|
|
1804
|
-
*
|
|
1805
|
-
* @param locale
|
|
1806
|
-
* Locale.
|
|
1807
|
-
*
|
|
1808
|
-
* @param namespaceFunctionName
|
|
1809
|
-
* Namespace function name.
|
|
1810
|
-
*
|
|
1811
|
-
* @param parameterName
|
|
1812
|
-
* Parameter name.
|
|
1813
|
-
*
|
|
1814
|
-
* @returns
|
|
1815
|
-
* Parameter localization.
|
|
1816
|
-
*/
|
|
1817
|
-
protected getParameterLocalization(locale: string, namespaceFunctionName: string, parameterName: string): Localization;
|
|
1818
|
-
/**
|
|
1819
|
-
* Initialize the generation of the output.
|
|
1820
|
-
*/
|
|
1821
|
-
protected abstract initialize(): void;
|
|
1822
|
-
/**
|
|
1823
|
-
* Create a proxy object for a class.
|
|
1824
|
-
*
|
|
1825
|
-
* @param classDescriptor
|
|
1826
|
-
* Class descriptor.
|
|
1827
|
-
*/
|
|
1828
|
-
protected abstract createProxyObject(classDescriptor: ClassDescriptor): void;
|
|
1829
|
-
/**
|
|
1830
|
-
* Create a proxy function for a class and method.
|
|
1831
|
-
*
|
|
1832
|
-
* @param classDescriptor
|
|
1833
|
-
* Class descriptor.
|
|
1834
|
-
*
|
|
1835
|
-
* @param methodDescriptor
|
|
1836
|
-
* Method descriptor.
|
|
1837
|
-
*
|
|
1838
|
-
* @param functionLocalizationsMap
|
|
1839
|
-
* Localizations map.
|
|
1840
|
-
*/
|
|
1841
|
-
protected abstract createProxyFunction(classDescriptor: ClassDescriptor, methodDescriptor: MethodDescriptor, functionLocalizationsMap: ReadonlyMap<string, FunctionLocalization>): void;
|
|
1842
|
-
/**
|
|
1843
|
-
* Finalize the generation of the output.
|
|
1844
|
-
*
|
|
1845
|
-
* @param success
|
|
1846
|
-
* True if successful.
|
|
1847
|
-
*/
|
|
1848
|
-
protected abstract finalize(success: boolean): Promisable<void>;
|
|
1849
|
-
/**
|
|
1850
|
-
* Generate by processing individual imports.
|
|
1851
|
-
*/
|
|
1852
|
-
generate(): Promise<void>;
|
|
1853
|
-
}
|
|
1854
|
-
|
|
1855
|
-
/**
|
|
1856
|
-
* Expand a parameter descriptor to its full form with all required attributes.
|
|
1857
|
-
*
|
|
1858
|
-
* @param parameterDescriptor
|
|
1859
|
-
* Parameter descriptor.
|
|
1860
|
-
*
|
|
1861
|
-
* @returns
|
|
1862
|
-
* Parameter descriptor in its full form.
|
|
1863
|
-
*/
|
|
1864
|
-
declare function expandParameterDescriptor(parameterDescriptor: ParameterDescriptor | ExtendsParameterDescriptor): ParameterDescriptor;
|
|
1865
|
-
|
|
1866
|
-
export { type Address, AlphabeticProxy, AlphanumericProxy, type AppData, AppExtension, type AppExtensionLocaleResources, AppUtilityProxy, CharacterSetCreatorProxy, CharacterSetValidatorProxy, type ClassDescriptor, type ErrorExtends, type ExtendsParameterDescriptor, type FunctionLocalization, index as GS1, Generator, HexadecimalProxy, LibProxy, type Localization, type Matrix, type MatrixResult, type MethodDescriptor, NumericProxy, type ParameterDescriptor, type Range, RegExpProxy, type ReplacementParameterDescriptor, type Sheet, type SheetAddress, type SheetRange, type SingletonResult, type StreamingCancelledCallback, type StreamingConsumerCallback, TransformerProxy, type Type, type TypeKey, Types, appExtensionNS, appExtensionResources, decodeAppData, encodeAppData, expandParameterDescriptor, i18nAppExtensionInit, i18nextAppExtension };
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright © 2024-2026 Dolphin Data Development Ltd. and AIDC Toolkit
|
|
3
|
+
* contributors
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
export * from "./locale/i18n.js";
|
|
18
|
+
export type * from "./type.js";
|
|
19
|
+
export type * from "./streaming.js";
|
|
20
|
+
export * from "./app-extension.js";
|
|
21
|
+
export * from "./lib-proxy.js";
|
|
22
|
+
export * from "./descriptor.js";
|
|
23
|
+
export * from "./app-helper-proxy.js";
|
|
24
|
+
export * from "./utility/index.js";
|
|
25
|
+
export * as GS1 from "./gs1/index.js";
|
|
26
|
+
export * from "./generator/index.js";
|
|
27
|
+
export { expandParameterDescriptor } from "./proxy.js";
|
|
28
|
+
//# sourceMappingURL=index.d.ts.map
|