@aidc-toolkit/app-extension 1.0.49 → 1.0.50-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.
Files changed (210) hide show
  1. package/dist/app-extension-options.d.ts +52 -0
  2. package/dist/app-extension-options.d.ts.map +1 -0
  3. package/dist/app-extension-options.js +2 -0
  4. package/dist/app-extension-options.js.map +1 -0
  5. package/dist/app-extension.d.ts +194 -0
  6. package/dist/app-extension.d.ts.map +1 -0
  7. package/dist/app-extension.js +141 -0
  8. package/dist/app-extension.js.map +1 -0
  9. package/dist/app-helper-proxy.d.ts +57 -0
  10. package/dist/app-helper-proxy.d.ts.map +1 -0
  11. package/dist/app-helper-proxy.js +369 -0
  12. package/dist/app-helper-proxy.js.map +1 -0
  13. package/dist/{descriptor-D6tZH-vc.d.cts → descriptor.d.ts} +13 -13
  14. package/dist/descriptor.d.ts.map +1 -0
  15. package/dist/descriptor.js +44 -0
  16. package/dist/descriptor.js.map +1 -0
  17. package/dist/generator/functions-generator.d.ts +103 -0
  18. package/dist/generator/functions-generator.d.ts.map +1 -0
  19. package/dist/generator/functions-generator.js +179 -0
  20. package/dist/generator/functions-generator.js.map +1 -0
  21. package/dist/generator/generator.d.ts +121 -0
  22. package/dist/generator/generator.d.ts.map +1 -0
  23. package/dist/generator/generator.js +186 -0
  24. package/dist/generator/generator.js.map +1 -0
  25. package/dist/generator/index.d.ts +18 -239
  26. package/dist/generator/index.d.ts.map +1 -0
  27. package/dist/generator/index.js +3 -1
  28. package/dist/generator/index.js.map +1 -0
  29. package/dist/generator/locale-resources-generator.d.ts +2 -0
  30. package/dist/generator/locale-resources-generator.d.ts.map +1 -0
  31. package/dist/generator/locale-resources-generator.js +333 -0
  32. package/dist/generator/locale-resources-generator.js.map +1 -0
  33. package/dist/gs1/character-set-proxy.d.ts +12 -0
  34. package/dist/gs1/character-set-proxy.d.ts.map +1 -0
  35. package/dist/gs1/character-set-proxy.js +126 -0
  36. package/dist/gs1/character-set-proxy.js.map +1 -0
  37. package/dist/gs1/check-proxy.d.ts +11 -0
  38. package/dist/gs1/check-proxy.d.ts.map +1 -0
  39. package/dist/gs1/check-proxy.js +163 -0
  40. package/dist/gs1/check-proxy.js.map +1 -0
  41. package/dist/gs1/gcp-length-proxy.d.ts +11 -0
  42. package/dist/gs1/gcp-length-proxy.d.ts.map +1 -0
  43. package/dist/gs1/gcp-length-proxy.js +187 -0
  44. package/dist/gs1/gcp-length-proxy.js.map +1 -0
  45. package/dist/gs1/gtin-creator-proxy.d.ts +10 -0
  46. package/dist/gs1/gtin-creator-proxy.d.ts.map +1 -0
  47. package/dist/gs1/gtin-creator-proxy.js +85 -0
  48. package/dist/gs1/gtin-creator-proxy.js.map +1 -0
  49. package/dist/gs1/gtin-descriptor.d.ts +3 -0
  50. package/dist/gs1/gtin-descriptor.d.ts.map +1 -0
  51. package/dist/gs1/gtin-descriptor.js +8 -0
  52. package/dist/gs1/gtin-descriptor.js.map +1 -0
  53. package/dist/gs1/gtin-validator-proxy.d.ts +26 -0
  54. package/dist/gs1/gtin-validator-proxy.d.ts.map +1 -0
  55. package/dist/gs1/gtin-validator-proxy.js +256 -0
  56. package/dist/gs1/gtin-validator-proxy.js.map +1 -0
  57. package/dist/gs1/identifier-creator-proxy.d.ts +30 -0
  58. package/dist/gs1/identifier-creator-proxy.d.ts.map +1 -0
  59. package/dist/gs1/identifier-creator-proxy.js +318 -0
  60. package/dist/gs1/identifier-creator-proxy.js.map +1 -0
  61. package/dist/gs1/identifier-descriptor.d.ts +4 -0
  62. package/dist/gs1/identifier-descriptor.d.ts.map +1 -0
  63. package/dist/gs1/identifier-descriptor.js +14 -0
  64. package/dist/gs1/identifier-descriptor.js.map +1 -0
  65. package/dist/gs1/identifier-type.d.ts +22 -0
  66. package/dist/gs1/identifier-type.d.ts.map +1 -0
  67. package/dist/gs1/identifier-type.js +34 -0
  68. package/dist/gs1/identifier-type.js.map +1 -0
  69. package/dist/gs1/identifier-validator-proxy.d.ts +29 -0
  70. package/dist/gs1/identifier-validator-proxy.d.ts.map +1 -0
  71. package/dist/gs1/identifier-validator-proxy.js +212 -0
  72. package/dist/gs1/identifier-validator-proxy.js.map +1 -0
  73. package/dist/gs1/index.d.ts +11 -185
  74. package/dist/gs1/index.d.ts.map +1 -0
  75. package/dist/gs1/index.js +11 -1
  76. package/dist/gs1/index.js.map +1 -0
  77. package/dist/gs1/non-gtin-creator-proxy.d.ts +37 -0
  78. package/dist/gs1/non-gtin-creator-proxy.d.ts.map +1 -0
  79. package/dist/gs1/non-gtin-creator-proxy.js +301 -0
  80. package/dist/gs1/non-gtin-creator-proxy.js.map +1 -0
  81. package/dist/gs1/non-gtin-validator-proxy.d.ts +36 -0
  82. package/dist/gs1/non-gtin-validator-proxy.d.ts.map +1 -0
  83. package/dist/gs1/non-gtin-validator-proxy.js +302 -0
  84. package/dist/gs1/non-gtin-validator-proxy.js.map +1 -0
  85. package/dist/gs1/prefix-definition-descriptor.d.ts +4 -0
  86. package/dist/gs1/prefix-definition-descriptor.d.ts.map +1 -0
  87. package/dist/gs1/prefix-definition-descriptor.js +16 -0
  88. package/dist/gs1/prefix-definition-descriptor.js.map +1 -0
  89. package/dist/gs1/prefix-manager-proxy.d.ts +8 -0
  90. package/dist/gs1/prefix-manager-proxy.d.ts.map +1 -0
  91. package/dist/gs1/prefix-manager-proxy.js +94 -0
  92. package/dist/gs1/prefix-manager-proxy.js.map +1 -0
  93. package/dist/gs1/variable-measure-proxy.d.ts +7 -0
  94. package/dist/gs1/variable-measure-proxy.d.ts.map +1 -0
  95. package/dist/gs1/variable-measure-proxy.js +114 -0
  96. package/dist/gs1/variable-measure-proxy.js.map +1 -0
  97. package/dist/gs1/verified-by-gs1-proxy.d.ts +7 -0
  98. package/dist/gs1/verified-by-gs1-proxy.d.ts.map +1 -0
  99. package/dist/gs1/verified-by-gs1-proxy.js +100 -0
  100. package/dist/gs1/verified-by-gs1-proxy.js.map +1 -0
  101. package/dist/index.d.ts +22 -862
  102. package/dist/index.d.ts.map +1 -0
  103. package/dist/index.js +7 -1
  104. package/dist/index.js.map +1 -0
  105. package/dist/lib-proxy.d.ts +121 -0
  106. package/dist/lib-proxy.d.ts.map +1 -0
  107. package/dist/lib-proxy.js +259 -0
  108. package/dist/lib-proxy.js.map +1 -0
  109. package/dist/{index.d.cts → locale/en/locale-resources.d.ts} +2 -113
  110. package/dist/locale/en/locale-resources.d.ts.map +1 -0
  111. package/dist/locale/en/locale-resources.js +754 -0
  112. package/dist/locale/en/locale-resources.js.map +1 -0
  113. package/dist/locale/fr/locale-resources.d.ts +755 -0
  114. package/dist/locale/fr/locale-resources.d.ts.map +1 -0
  115. package/dist/locale/fr/locale-resources.js +754 -0
  116. package/dist/locale/fr/locale-resources.js.map +1 -0
  117. package/dist/locale/i18n.d.ts +27 -0
  118. package/dist/locale/i18n.d.ts.map +1 -0
  119. package/dist/locale/i18n.js +36 -0
  120. package/dist/locale/i18n.js.map +1 -0
  121. package/dist/proxy.d.ts +135 -0
  122. package/dist/proxy.d.ts.map +1 -0
  123. package/dist/proxy.js +291 -0
  124. package/dist/proxy.js.map +1 -0
  125. package/dist/streaming.d.ts +10 -0
  126. package/dist/streaming.d.ts.map +1 -0
  127. package/dist/streaming.js +2 -0
  128. package/dist/streaming.js.map +1 -0
  129. package/dist/type.d.ts +72 -0
  130. package/dist/type.d.ts.map +1 -0
  131. package/dist/type.js +2 -0
  132. package/dist/type.js.map +1 -0
  133. package/dist/utility/character-set-descriptor.d.ts +6 -0
  134. package/dist/utility/character-set-descriptor.d.ts.map +1 -0
  135. package/dist/utility/character-set-descriptor.js +28 -0
  136. package/dist/utility/character-set-descriptor.js.map +1 -0
  137. package/dist/utility/character-set-proxy.d.ts +32 -0
  138. package/dist/utility/character-set-proxy.d.ts.map +1 -0
  139. package/dist/utility/character-set-proxy.js +278 -0
  140. package/dist/utility/character-set-proxy.js.map +1 -0
  141. package/dist/utility/index.d.ts +4 -0
  142. package/dist/utility/index.d.ts.map +1 -0
  143. package/dist/utility/index.js +4 -0
  144. package/dist/utility/index.js.map +1 -0
  145. package/dist/utility/reg-exp-proxy.d.ts +8 -0
  146. package/dist/utility/reg-exp-proxy.d.ts.map +1 -0
  147. package/dist/utility/reg-exp-proxy.js +103 -0
  148. package/dist/utility/reg-exp-proxy.js.map +1 -0
  149. package/dist/utility/string-descriptor.d.ts +4 -0
  150. package/dist/utility/string-descriptor.d.ts.map +1 -0
  151. package/dist/utility/string-descriptor.js +12 -0
  152. package/dist/utility/string-descriptor.js.map +1 -0
  153. package/dist/utility/string-proxy.d.ts +7 -0
  154. package/dist/utility/string-proxy.d.ts.map +1 -0
  155. package/dist/utility/string-proxy.js +63 -0
  156. package/dist/utility/string-proxy.js.map +1 -0
  157. package/dist/utility/transformer-descriptor.d.ts +6 -0
  158. package/dist/utility/transformer-descriptor.d.ts.map +1 -0
  159. package/dist/utility/transformer-descriptor.js +24 -0
  160. package/dist/utility/transformer-descriptor.js.map +1 -0
  161. package/dist/utility/transformer-proxy.d.ts +10 -0
  162. package/dist/utility/transformer-proxy.d.ts.map +1 -0
  163. package/dist/utility/transformer-proxy.js +111 -0
  164. package/dist/utility/transformer-proxy.js.map +1 -0
  165. package/dist/version.d.ts +5 -0
  166. package/dist/version.d.ts.map +1 -0
  167. package/dist/version.js +5 -0
  168. package/dist/version.js.map +1 -0
  169. package/package.json +5 -5
  170. package/src/app-extension-options.ts +61 -0
  171. package/src/app-extension.ts +22 -32
  172. package/src/app-helper-proxy.ts +21 -33
  173. package/src/generator/functions-generator.ts +14 -45
  174. package/src/generator/generator.ts +28 -18
  175. package/src/generator/locale-resources-generator.ts +79 -52
  176. package/src/gs1/character-set-proxy.ts +6 -7
  177. package/src/gs1/check-proxy.ts +8 -8
  178. package/src/gs1/gcp-length-proxy.ts +8 -8
  179. package/src/gs1/gtin-creator-proxy.ts +4 -4
  180. package/src/gs1/gtin-validator-proxy.ts +12 -12
  181. package/src/gs1/identifier-creator-proxy.ts +14 -14
  182. package/src/gs1/identifier-validator-proxy.ts +10 -10
  183. package/src/gs1/non-gtin-creator-proxy.ts +22 -23
  184. package/src/gs1/non-gtin-validator-proxy.ts +22 -23
  185. package/src/gs1/prefix-manager-proxy.ts +2 -2
  186. package/src/gs1/variable-measure-proxy.ts +4 -4
  187. package/src/gs1/verified-by-gs1-proxy.ts +5 -11
  188. package/src/index.ts +1 -0
  189. package/src/lib-proxy.ts +27 -43
  190. package/src/locale/en/locale-resources.ts +1 -1
  191. package/src/proxy.ts +12 -15
  192. package/src/streaming.ts +3 -3
  193. package/src/type.ts +3 -22
  194. package/src/utility/character-set-proxy.ts +17 -16
  195. package/src/utility/reg-exp-proxy.ts +2 -2
  196. package/src/utility/string-proxy.ts +2 -2
  197. package/src/utility/transformer-proxy.ts +6 -5
  198. package/src/version.ts +1 -1
  199. package/tsconfig-src.tsbuildinfo +1 -1
  200. package/dist/character-set-proxy-BOW94WCe.d.cts +0 -473
  201. package/dist/character-set-proxy-BOW94WCe.d.ts +0 -473
  202. package/dist/chunk-22IRLVWO.js +0 -1
  203. package/dist/chunk-MR63TJ3B.js +0 -1
  204. package/dist/chunk-TWX7TPRC.js +0 -1
  205. package/dist/descriptor-D6tZH-vc.d.ts +0 -185
  206. package/dist/generator/index.cjs +0 -17
  207. package/dist/generator/index.d.cts +0 -240
  208. package/dist/gs1/index.cjs +0 -1
  209. package/dist/gs1/index.d.cts +0 -185
  210. package/dist/index.cjs +0 -17
package/dist/index.d.ts CHANGED
@@ -1,866 +1,26 @@
1
- import { I18nLanguageDetector, Nullishable } from '@aidc-toolkit/core';
2
- import { Resource, i18n } from 'i18next';
3
- import { E as ErrorExtends, L as LibProxy, M as Matrix, a as MatrixResult, S as StringProxy } from './character-set-proxy-BOW94WCe.js';
4
- export { A as Address, j as AlphabeticProxy, k as AlphanumericProxy, h as AppExtension, i as CharacterSetCreatorProxy, C as CharacterSetValidatorProxy, H as HexadecimalProxy, N as NumericProxy, R as Range, b as Sheet, c as SheetAddress, d as SheetRange, e as SingletonResult, g as StreamingCancelledCallback, f as StreamingConsumerCallback } from './character-set-proxy-BOW94WCe.js';
5
- export { C as ClassDescriptor, E as ExtendsParameterDescriptor, e as MethodDescriptor, M as Multiplicities, d as Multiplicity, c as MultiplicityKey, P as ParameterDescriptor, R as ReplacementParameterDescriptor, b as Type, a as TypeKey, T as Types } from './descriptor-D6tZH-vc.js';
6
- import '@aidc-toolkit/utility';
7
- import 'tslog';
8
-
9
- declare const _default: {
10
- AppExtension: {
11
- sequenceCountMustBeLessThanOrEqualTo: string;
12
- };
13
- Proxy: {
14
- matrixMustBeArray: string;
15
- };
16
- Categories: {
17
- helper: string;
18
- transformation: string;
19
- string: string;
20
- GS1: {
21
- checkCharacter: string;
22
- identifierValidation: string;
23
- identifierCreation: string;
24
- variableMeasure: string;
25
- prefix: string;
26
- service: string;
27
- };
28
- };
29
- IdentifierCreatorProxy: {
30
- prefixDefinitionMustBeOneDimensional: string;
31
- prefixDefinitionMustHaveMaximumThreeElements: string;
32
- prefixMustBeString: string;
33
- prefixTypeMustBeNumber: string;
34
- invalidPrefixType: string;
35
- tweakFactorMustBeNumber: string;
36
- };
37
- ServiceProxy: {
38
- invalidIdentifierType: string;
39
- };
40
- Parameters: {
41
- spillArray: {
42
- name: string;
43
- description: string;
44
- };
45
- spillMaximumWidth: {
46
- name: string;
47
- description: string;
48
- };
49
- spillMaximumHeight: {
50
- name: string;
51
- description: string;
52
- };
53
- domain: {
54
- name: string;
55
- description: string;
56
- };
57
- value: {
58
- name: string;
59
- description: string;
60
- };
61
- startValue: {
62
- name: string;
63
- description: string;
64
- };
65
- count: {
66
- name: string;
67
- description: string;
68
- };
69
- transformedValue: {
70
- name: string;
71
- description: string;
72
- };
73
- tweak: {
74
- name: string;
75
- description: string;
76
- };
77
- regExp: {
78
- name: string;
79
- description: string;
80
- };
81
- validateS: {
82
- name: string;
83
- description: string;
84
- };
85
- valueForS: {
86
- name: string;
87
- description: string;
88
- };
89
- errorMessage: {
90
- name: string;
91
- description: string;
92
- };
93
- exclusionNone: {
94
- name: string;
95
- description: string;
96
- };
97
- exclusionFirstZero: {
98
- name: string;
99
- description: string;
100
- };
101
- exclusionAllNumeric: {
102
- name: string;
103
- description: string;
104
- };
105
- exclusionAny: {
106
- name: string;
107
- description: string;
108
- };
109
- length: {
110
- name: string;
111
- description: string;
112
- };
113
- numericS: {
114
- name: string;
115
- description: string;
116
- };
117
- numericSFourOrFiveDigits: {
118
- name: string;
119
- description: string;
120
- };
121
- numericSWithCheckDigit: {
122
- name: string;
123
- description: string;
124
- };
125
- checkDigit: {
126
- name: string;
127
- description: string;
128
- };
129
- ai82S: {
130
- name: string;
131
- description: string;
132
- };
133
- ai82SWithCheckCharacterPair: {
134
- name: string;
135
- description: string;
136
- };
137
- validateIdentifier: {
138
- name: string;
139
- description: string;
140
- };
141
- splitIdentifier: {
142
- name: string;
143
- description: string;
144
- };
145
- zeroSuppressibleGTIN12: {
146
- name: string;
147
- description: string;
148
- };
149
- zeroSuppressedGTIN12: {
150
- name: string;
151
- description: string;
152
- };
153
- convertGTIN: {
154
- name: string;
155
- description: string;
156
- };
157
- normalizeGTIN: {
158
- name: string;
159
- description: string;
160
- };
161
- validateGTIN: {
162
- name: string;
163
- description: string;
164
- };
165
- validateGTIN14: {
166
- name: string;
167
- description: string;
168
- };
169
- baseIdentifier: {
170
- name: string;
171
- description: string;
172
- };
173
- hyperlinkIdentifier: {
174
- name: string;
175
- description: string;
176
- };
177
- gcpLengthIdentifier: {
178
- name: string;
179
- description: string;
180
- };
181
- indicatorDigit: {
182
- name: string;
183
- description: string;
184
- };
185
- gtinLevel: {
186
- name: string;
187
- description: string;
188
- };
189
- prefix: {
190
- name: string;
191
- description: string;
192
- };
193
- prefixType: {
194
- name: string;
195
- description: string;
196
- };
197
- tweakFactor: {
198
- name: string;
199
- description: string;
200
- };
201
- prefixDefinitionAny: {
202
- name: string;
203
- description: string;
204
- };
205
- prefixDefinitionGS1UPC: {
206
- name: string;
207
- description: string;
208
- };
209
- sparse: {
210
- name: string;
211
- description: string;
212
- };
213
- serialComponent: {
214
- name: string;
215
- description: string;
216
- };
217
- reference: {
218
- name: string;
219
- description: string;
220
- };
221
- rcnFormat: {
222
- name: string;
223
- description: string;
224
- };
225
- rcn: {
226
- name: string;
227
- description: string;
228
- };
229
- rcnItemReference: {
230
- name: string;
231
- description: string;
232
- };
233
- rcnPriceOrWeight: {
234
- name: string;
235
- description: string;
236
- };
237
- identifierType: {
238
- name: string;
239
- description: string;
240
- };
241
- hyperlinkText: {
242
- name: string;
243
- description: string;
244
- };
245
- hyperlinkDetails: {
246
- name: string;
247
- description: string;
248
- };
249
- };
250
- Functions: {
251
- version: {
252
- name: string;
253
- description: string;
254
- };
255
- spill: {
256
- name: string;
257
- description: string;
258
- };
259
- forwardTransform: {
260
- name: string;
261
- description: string;
262
- };
263
- forwardTransformSequence: {
264
- name: string;
265
- description: string;
266
- };
267
- reverseTransform: {
268
- name: string;
269
- description: string;
270
- };
271
- validateRegExp: {
272
- name: string;
273
- description: string;
274
- };
275
- isValidRegExp: {
276
- name: string;
277
- description: string;
278
- };
279
- validateNumeric: {
280
- name: string;
281
- description: string;
282
- };
283
- isValidNumeric: {
284
- name: string;
285
- description: string;
286
- };
287
- createNumeric: {
288
- name: string;
289
- description: string;
290
- };
291
- createNumericSequence: {
292
- name: string;
293
- description: string;
294
- };
295
- valueForNumeric: {
296
- name: string;
297
- description: string;
298
- };
299
- validateHexadecimal: {
300
- name: string;
301
- description: string;
302
- };
303
- isValidHexadecimal: {
304
- name: string;
305
- description: string;
306
- };
307
- createHexadecimal: {
308
- name: string;
309
- description: string;
310
- };
311
- createHexadecimalSequence: {
312
- name: string;
313
- description: string;
314
- };
315
- valueForHexadecimal: {
316
- name: string;
317
- description: string;
318
- };
319
- validateAlphabetic: {
320
- name: string;
321
- description: string;
322
- };
323
- isValidAlphabetic: {
324
- name: string;
325
- description: string;
326
- };
327
- createAlphabetic: {
328
- name: string;
329
- description: string;
330
- };
331
- createAlphabeticSequence: {
332
- name: string;
333
- description: string;
334
- };
335
- valueForAlphabetic: {
336
- name: string;
337
- description: string;
338
- };
339
- validateAlphanumeric: {
340
- name: string;
341
- description: string;
342
- };
343
- isValidAlphanumeric: {
344
- name: string;
345
- description: string;
346
- };
347
- createAlphanumeric: {
348
- name: string;
349
- description: string;
350
- };
351
- createAlphanumericSequence: {
352
- name: string;
353
- description: string;
354
- };
355
- valueForAlphanumeric: {
356
- name: string;
357
- description: string;
358
- };
359
- GS1: {
360
- validateAI82: {
361
- name: string;
362
- description: string;
363
- };
364
- isValidAI82: {
365
- name: string;
366
- description: string;
367
- };
368
- createAI82: {
369
- name: string;
370
- description: string;
371
- };
372
- createAI82Sequence: {
373
- name: string;
374
- description: string;
375
- };
376
- valueForAI82: {
377
- name: string;
378
- description: string;
379
- };
380
- validateAI39: {
381
- name: string;
382
- description: string;
383
- };
384
- isValidAI39: {
385
- name: string;
386
- description: string;
387
- };
388
- createAI39: {
389
- name: string;
390
- description: string;
391
- };
392
- createAI39Sequence: {
393
- name: string;
394
- description: string;
395
- };
396
- valueForAI39: {
397
- name: string;
398
- description: string;
399
- };
400
- validateAI64: {
401
- name: string;
402
- description: string;
403
- };
404
- isValidAI64: {
405
- name: string;
406
- description: string;
407
- };
408
- checkDigit: {
409
- name: string;
410
- description: string;
411
- };
412
- hasValidCheckDigit: {
413
- name: string;
414
- description: string;
415
- };
416
- priceOrWeightCheckDigit: {
417
- name: string;
418
- description: string;
419
- };
420
- isValidPriceOrWeightCheckDigit: {
421
- name: string;
422
- description: string;
423
- };
424
- checkCharacterPair: {
425
- name: string;
426
- description: string;
427
- };
428
- hasValidCheckCharacterPair: {
429
- name: string;
430
- description: string;
431
- };
432
- validateGTIN13: {
433
- name: string;
434
- description: string;
435
- };
436
- isValidGTIN13: {
437
- name: string;
438
- description: string;
439
- };
440
- validateGTIN12: {
441
- name: string;
442
- description: string;
443
- };
444
- isValidGTIN12: {
445
- name: string;
446
- description: string;
447
- };
448
- validateGTIN8: {
449
- name: string;
450
- description: string;
451
- };
452
- isValidGTIN8: {
453
- name: string;
454
- description: string;
455
- };
456
- zeroSuppressGTIN12: {
457
- name: string;
458
- description: string;
459
- };
460
- zeroExpandGTIN12: {
461
- name: string;
462
- description: string;
463
- };
464
- convertToGTIN14: {
465
- name: string;
466
- description: string;
467
- };
468
- normalizeGTIN: {
469
- name: string;
470
- description: string;
471
- };
472
- validateGTIN: {
473
- name: string;
474
- description: string;
475
- };
476
- isValidGTIN: {
477
- name: string;
478
- description: string;
479
- };
480
- validateGTIN14: {
481
- name: string;
482
- description: string;
483
- };
484
- isValidGTIN14: {
485
- name: string;
486
- description: string;
487
- };
488
- validateGLN: {
489
- name: string;
490
- description: string;
491
- };
492
- isValidGLN: {
493
- name: string;
494
- description: string;
495
- };
496
- validateSSCC: {
497
- name: string;
498
- description: string;
499
- };
500
- isValidSSCC: {
501
- name: string;
502
- description: string;
503
- };
504
- validateGRAI: {
505
- name: string;
506
- description: string;
507
- };
508
- isValidGRAI: {
509
- name: string;
510
- description: string;
511
- };
512
- splitGRAI: {
513
- name: string;
514
- description: string;
515
- };
516
- validateGIAI: {
517
- name: string;
518
- description: string;
519
- };
520
- isValidGIAI: {
521
- name: string;
522
- description: string;
523
- };
524
- validateGSRN: {
525
- name: string;
526
- description: string;
527
- };
528
- isValidGSRN: {
529
- name: string;
530
- description: string;
531
- };
532
- validateGDTI: {
533
- name: string;
534
- description: string;
535
- };
536
- isValidGDTI: {
537
- name: string;
538
- description: string;
539
- };
540
- splitGDTI: {
541
- name: string;
542
- description: string;
543
- };
544
- validateGINC: {
545
- name: string;
546
- description: string;
547
- };
548
- isValidGINC: {
549
- name: string;
550
- description: string;
551
- };
552
- validateGSIN: {
553
- name: string;
554
- description: string;
555
- };
556
- isValidGSIN: {
557
- name: string;
558
- description: string;
559
- };
560
- validateGCN: {
561
- name: string;
562
- description: string;
563
- };
564
- isValidGCN: {
565
- name: string;
566
- description: string;
567
- };
568
- splitGCN: {
569
- name: string;
570
- description: string;
571
- };
572
- validateCPID: {
573
- name: string;
574
- description: string;
575
- };
576
- isValidCPID: {
577
- name: string;
578
- description: string;
579
- };
580
- validateGMN: {
581
- name: string;
582
- description: string;
583
- };
584
- isValidGMN: {
585
- name: string;
586
- description: string;
587
- };
588
- definePrefix: {
589
- name: string;
590
- description: string;
591
- };
592
- createGTIN: {
593
- name: string;
594
- description: string;
595
- };
596
- createGTINSequence: {
597
- name: string;
598
- description: string;
599
- };
600
- createAllGTIN: {
601
- name: string;
602
- description: string;
603
- };
604
- createGTIN14: {
605
- name: string;
606
- description: string;
607
- };
608
- createGLN: {
609
- name: string;
610
- description: string;
611
- };
612
- createGLNSequence: {
613
- name: string;
614
- description: string;
615
- };
616
- createAllGLN: {
617
- name: string;
618
- description: string;
619
- };
620
- createSSCC: {
621
- name: string;
622
- description: string;
623
- };
624
- createSSCCSequence: {
625
- name: string;
626
- description: string;
627
- };
628
- createAllSSCC: {
629
- name: string;
630
- description: string;
631
- };
632
- createGRAI: {
633
- name: string;
634
- description: string;
635
- };
636
- createGRAISequence: {
637
- name: string;
638
- description: string;
639
- };
640
- createAllGRAI: {
641
- name: string;
642
- description: string;
643
- };
644
- createSerializedGRAI: {
645
- name: string;
646
- description: string;
647
- };
648
- concatenateGRAI: {
649
- name: string;
650
- description: string;
651
- };
652
- createGIAI: {
653
- name: string;
654
- description: string;
655
- };
656
- createGSRN: {
657
- name: string;
658
- description: string;
659
- };
660
- createGSRNSequence: {
661
- name: string;
662
- description: string;
663
- };
664
- createAllGSRN: {
665
- name: string;
666
- description: string;
667
- };
668
- createGDTI: {
669
- name: string;
670
- description: string;
671
- };
672
- createGDTISequence: {
673
- name: string;
674
- description: string;
675
- };
676
- createAllGDTI: {
677
- name: string;
678
- description: string;
679
- };
680
- createSerializedGDTI: {
681
- name: string;
682
- description: string;
683
- };
684
- concatenateGDTI: {
685
- name: string;
686
- description: string;
687
- };
688
- createGINC: {
689
- name: string;
690
- description: string;
691
- };
692
- createGSIN: {
693
- name: string;
694
- description: string;
695
- };
696
- createGSINSequence: {
697
- name: string;
698
- description: string;
699
- };
700
- createAllGSIN: {
701
- name: string;
702
- description: string;
703
- };
704
- createGCN: {
705
- name: string;
706
- description: string;
707
- };
708
- createGCNSequence: {
709
- name: string;
710
- description: string;
711
- };
712
- createAllGCN: {
713
- name: string;
714
- description: string;
715
- };
716
- createSerializedGCN: {
717
- name: string;
718
- description: string;
719
- };
720
- concatenateGCN: {
721
- name: string;
722
- description: string;
723
- };
724
- createCPID: {
725
- name: string;
726
- description: string;
727
- };
728
- createGMN: {
729
- name: string;
730
- description: string;
731
- };
732
- parseVariableMeasureRCN: {
733
- name: string;
734
- description: string;
735
- };
736
- createVariableMeasureRCN: {
737
- name: string;
738
- description: string;
739
- };
740
- verifiedByGS1: {
741
- name: string;
742
- description: string;
743
- };
744
- gcpLengthOf: {
745
- name: string;
746
- titleCaseName: string;
747
- description: string;
748
- };
749
- gcpLengthDateTime: {
750
- name: string;
751
- titleCaseName: string;
752
- description: string;
753
- };
754
- gcpLengthDisclaimer: {
755
- name: string;
756
- titleCaseName: string;
757
- description: string;
758
- };
759
- };
760
- };
761
- };
762
-
763
- declare const appExtensionNS = "aidct_app_extension";
764
- /**
765
- * Locale resources type is extracted from the English locale resources object.
766
- */
767
- type AppExtensionLocaleResources = typeof _default;
768
- /**
769
- * App extension resource bundle.
770
- */
771
- declare const appExtensionResourceBundle: Resource;
772
- declare const i18nextAppExtension: i18n;
773
- /**
774
- * Initialize internationalization.
775
- *
776
- * @param languageDetector
777
- * Language detector.
778
- *
779
- * @param debug
780
- * Debug setting.
781
- *
782
- * @returns
783
- * App extension resource bundle.
784
- */
785
- declare function i18nAppExtensionInit(languageDetector: I18nLanguageDetector, debug?: boolean): Promise<Resource>;
786
-
787
- /**
788
- * Application utilities.
789
- *
790
- * @template ThrowError
791
- * If true, errors are reported through the throw/catch mechanism.
792
- *
793
- * @template TError
794
- * Error type.
1
+ /*!
2
+ * Copyright © 2024-2026 Dolphin Data Development Ltd. and AIDC Toolkit
3
+ * contributors
795
4
  *
796
- * @template TInvocationContext
797
- * Application-specific invocation context type.
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
798
8
  *
799
- * @template TStreamingInvocationContext
800
- * Application-specific streaming invocation context type.
9
+ * https://www.apache.org/licenses/LICENSE-2.0
801
10
  *
802
- * @template TBigInt
803
- * Type to which big integer is mapped.
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.
804
16
  */
805
- declare class AppHelperProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends LibProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
806
- #private;
807
- /**
808
- * Get the version.
809
- *
810
- * @returns
811
- * Version.
812
- */
813
- version(): string;
814
- /**
815
- * Spill a one-dimensional matrix to fit a rectangle within a given maximum height and width.
816
- *
817
- * @param arrayValues
818
- * Matrix values. Matrix is length 1 or contains arrays of length 1 with the values.
819
- *
820
- * @param maximumHeight
821
- * Maximum height.
822
- *
823
- * @param maximumWidth
824
- * Maximum width.
825
- *
826
- * @param invocationContext
827
- * Invocation context.
828
- *
829
- * @returns
830
- * Matrix spilled within maximum height and maximum width.
831
- */
832
- spill(arrayValues: Matrix<unknown>, maximumHeight: Nullishable<number>, maximumWidth: Nullishable<number>, invocationContext: Nullishable<TInvocationContext>): Promise<MatrixResult<unknown, ThrowError, TError>>;
833
- /**
834
- * Get the logger messages. This is a snapshot, with the option to change the log level for the next call.
835
- *
836
- * @param logLevelString
837
- * Log level as string.
838
- *
839
- * @returns
840
- * Logger messages.
841
- */
842
- loggerMessages(logLevelString: Nullishable<string>): MatrixResult<string, ThrowError, TError>;
843
- /**
844
- * Get the logger messages as a stream.
845
- *
846
- * @param logLevelString
847
- * Log level as string.
848
- *
849
- * @param streamingInvocationContext
850
- * Streaming invocation context.
851
- */
852
- loggerStream(logLevelString: Nullishable<string>, streamingInvocationContext: Nullishable<TStreamingInvocationContext>): void;
853
- }
854
-
855
- declare class TransformerProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends LibProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
856
- forward(domain: number | bigint, matrixValues: Matrix<number | bigint>, tweak: Nullishable<number | bigint>): MatrixResult<TBigInt, ThrowError, TError>;
857
- forwardSequence(domain: number | bigint, startValue: number, count: number, tweak: Nullishable<number | bigint>): MatrixResult<TBigInt, ThrowError, TError>;
858
- reverse(domain: number | bigint, matrixTransformedValues: Matrix<number | bigint>, tweak: Nullishable<number | bigint>): MatrixResult<TBigInt, ThrowError, TError>;
859
- }
860
-
861
- declare class RegExpProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends StringProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
862
- validate(regExp: string, matrixSs: Matrix<string>, errorMessage: Nullishable<string>): Matrix<string>;
863
- isValid(regExp: string, matrixSs: Matrix<string>): Matrix<boolean>;
864
- }
865
-
866
- export { type AppExtensionLocaleResources, AppHelperProxy, ErrorExtends, LibProxy, Matrix, MatrixResult, RegExpProxy, TransformerProxy, appExtensionNS, appExtensionResourceBundle, i18nAppExtensionInit, i18nextAppExtension };
17
+ export * from "./locale/i18n.js";
18
+ export type * from "./app-extension-options.js";
19
+ export type * from "./type.js";
20
+ export type * from "./streaming.js";
21
+ export * from "./app-extension.js";
22
+ export * from "./lib-proxy.js";
23
+ export * from "./descriptor.js";
24
+ export * from "./app-helper-proxy.js";
25
+ export * from "./utility/index.js";
26
+ //# sourceMappingURL=index.d.ts.map