@aidc-toolkit/gs1 0.9.14-beta → 0.9.16-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/dist/character-set.d.ts +12 -0
- package/dist/character-set.d.ts.map +1 -0
- package/dist/character-set.js +26 -0
- package/dist/character-set.js.map +1 -0
- package/dist/check.d.ts +79 -0
- package/dist/check.d.ts.map +1 -0
- package/dist/check.js +211 -0
- package/dist/check.js.map +1 -0
- package/dist/{index.d.cts → idkey.d.ts} +43 -278
- package/dist/idkey.d.ts.map +1 -0
- package/dist/idkey.js +1809 -0
- package/dist/idkey.js.map +1 -0
- package/dist/index.d.ts +21 -1497
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -0
- package/dist/locale/en/locale-strings.d.ts +38 -0
- package/dist/locale/en/locale-strings.d.ts.map +1 -0
- package/dist/locale/en/locale-strings.js +38 -0
- package/dist/locale/en/locale-strings.js.map +1 -0
- package/dist/locale/fr/locale-strings.d.ts +38 -0
- package/dist/locale/fr/locale-strings.d.ts.map +1 -0
- package/dist/locale/fr/locale-strings.js +38 -0
- package/dist/locale/fr/locale-strings.js.map +1 -0
- package/dist/locale/i18n.d.ts +106 -0
- package/dist/locale/i18n.d.ts.map +1 -0
- package/dist/locale/i18n.js +37 -0
- package/dist/locale/i18n.js.map +1 -0
- package/package.json +9 -9
- package/dist/index.cjs +0 -17
|
@@ -1,243 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { i18n } from 'i18next';
|
|
3
|
-
import { CharacterSetCreator, StringValidation, StringValidator, CharacterSetValidation, Exclusion, TransformerInput, TransformerOutput } from '@aidc-toolkit/utility';
|
|
4
|
-
import * as ts_mixer_dist_types_types_js from 'ts-mixer/dist/types/types.js';
|
|
5
|
-
|
|
6
|
-
declare const localeStrings: {
|
|
7
|
-
readonly Check: {
|
|
8
|
-
readonly lengthOfStringForPriceOrWeightMustBeExactly: "Length {{length}} of string for price or weight sum must be exactly {{exactLength}}";
|
|
9
|
-
readonly priceOrWeightComponent: "price or weight";
|
|
10
|
-
readonly lengthOfStringForCheckCharacterPairMustBeLessThanOrEqualTo: "Length {{length}} of string for check character pair must be less than or equal to {{maximumLength}}";
|
|
11
|
-
};
|
|
12
|
-
readonly IdentificationKey: {
|
|
13
|
-
readonly identificationKeyTypeLength: "{{identificationKeyType}} must be {{length}} digits long";
|
|
14
|
-
readonly invalidCheckDigit: "Invalid check digit";
|
|
15
|
-
readonly invalidGTINLength: "GTIN must be 13, 12, 8, or 14 digits long";
|
|
16
|
-
readonly invalidGTIN14Length: "GTIN must be 14 digits long";
|
|
17
|
-
readonly invalidZeroSuppressedGTIN12: "Invalid zero-suppressed GTIN-12";
|
|
18
|
-
readonly invalidZeroSuppressibleGTIN12: "GTIN-12 not zero-suppressible";
|
|
19
|
-
readonly invalidZeroSuppressedGTIN12AsGTIN13: "Invalid zero-suppressed GTIN-12 as GTIN-13";
|
|
20
|
-
readonly invalidZeroSuppressedGTIN12AsGTIN14: "Invalid zero-suppressed GTIN-12 as GTIN-14";
|
|
21
|
-
readonly invalidGTIN13AtRetail: "GTIN-13 at retail consumer trade item level can't start with zero";
|
|
22
|
-
readonly invalidGTINAtRetail: "GTIN not supported at retail consumer trade item level";
|
|
23
|
-
readonly invalidGTINAtOtherThanRetail: "GTIN not supported at other than retail consumer trade item level";
|
|
24
|
-
readonly indicatorDigit: "indicator digit";
|
|
25
|
-
readonly serialComponent: "serial component";
|
|
26
|
-
readonly reference: "reference";
|
|
27
|
-
readonly referenceCantBeAllNumeric: "Reference can't be all-numeric";
|
|
28
|
-
readonly invalidCheckCharacterPair: "Invalid check character pair";
|
|
29
|
-
};
|
|
30
|
-
readonly Prefix: {
|
|
31
|
-
readonly gs1CompanyPrefix: "GS1 Company Prefix";
|
|
32
|
-
readonly upcCompanyPrefix: "U.P.C. Company Prefix";
|
|
33
|
-
readonly gs18Prefix: "GS1-8 Prefix";
|
|
34
|
-
readonly invalidPrefixType: "Invalid prefix type";
|
|
35
|
-
readonly gs1CompanyPrefixCantStartWith0: "GS1 Company Prefix can't start with \"0\"";
|
|
36
|
-
readonly gs1CompanyPrefixCantStartWith00000: "GS1 Company Prefix can't start with \"00000\"";
|
|
37
|
-
readonly gs1CompanyPrefixCantStartWith000000: "GS1 Company Prefix can't start with \"000000\"";
|
|
38
|
-
readonly upcCompanyPrefixCantStartWith0000: "U.P.C. Company Prefix can't start with \"0000\"";
|
|
39
|
-
readonly gs18PrefixCantStartWith0: "GS1-8 Prefix can't start with \"0\"";
|
|
40
|
-
readonly identificationKeyTypeNotSupportedByGS18Prefix: "{{identificationKeyType}} not supported by GS1-8 Prefix";
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
|
|
44
|
-
declare const gs1NS = "aidct_gs1";
|
|
45
|
-
/**
|
|
46
|
-
* Locale strings type is extracted from the English locale strings object.
|
|
47
|
-
*/
|
|
48
|
-
type GS1LocaleStrings = typeof localeStrings;
|
|
49
|
-
/**
|
|
50
|
-
* GS1 resources.
|
|
51
|
-
*/
|
|
52
|
-
declare const gs1Resources: {
|
|
53
|
-
en: {
|
|
54
|
-
aidct_gs1: {
|
|
55
|
-
readonly Check: {
|
|
56
|
-
readonly lengthOfStringForPriceOrWeightMustBeExactly: "Length {{length}} of string for price or weight sum must be exactly {{exactLength}}";
|
|
57
|
-
readonly priceOrWeightComponent: "price or weight";
|
|
58
|
-
readonly lengthOfStringForCheckCharacterPairMustBeLessThanOrEqualTo: "Length {{length}} of string for check character pair must be less than or equal to {{maximumLength}}";
|
|
59
|
-
};
|
|
60
|
-
readonly IdentificationKey: {
|
|
61
|
-
readonly identificationKeyTypeLength: "{{identificationKeyType}} must be {{length}} digits long";
|
|
62
|
-
readonly invalidCheckDigit: "Invalid check digit";
|
|
63
|
-
readonly invalidGTINLength: "GTIN must be 13, 12, 8, or 14 digits long";
|
|
64
|
-
readonly invalidGTIN14Length: "GTIN must be 14 digits long";
|
|
65
|
-
readonly invalidZeroSuppressedGTIN12: "Invalid zero-suppressed GTIN-12";
|
|
66
|
-
readonly invalidZeroSuppressibleGTIN12: "GTIN-12 not zero-suppressible";
|
|
67
|
-
readonly invalidZeroSuppressedGTIN12AsGTIN13: "Invalid zero-suppressed GTIN-12 as GTIN-13";
|
|
68
|
-
readonly invalidZeroSuppressedGTIN12AsGTIN14: "Invalid zero-suppressed GTIN-12 as GTIN-14";
|
|
69
|
-
readonly invalidGTIN13AtRetail: "GTIN-13 at retail consumer trade item level can't start with zero";
|
|
70
|
-
readonly invalidGTINAtRetail: "GTIN not supported at retail consumer trade item level";
|
|
71
|
-
readonly invalidGTINAtOtherThanRetail: "GTIN not supported at other than retail consumer trade item level";
|
|
72
|
-
readonly indicatorDigit: "indicator digit";
|
|
73
|
-
readonly serialComponent: "serial component";
|
|
74
|
-
readonly reference: "reference";
|
|
75
|
-
readonly referenceCantBeAllNumeric: "Reference can't be all-numeric";
|
|
76
|
-
readonly invalidCheckCharacterPair: "Invalid check character pair";
|
|
77
|
-
};
|
|
78
|
-
readonly Prefix: {
|
|
79
|
-
readonly gs1CompanyPrefix: "GS1 Company Prefix";
|
|
80
|
-
readonly upcCompanyPrefix: "U.P.C. Company Prefix";
|
|
81
|
-
readonly gs18Prefix: "GS1-8 Prefix";
|
|
82
|
-
readonly invalidPrefixType: "Invalid prefix type";
|
|
83
|
-
readonly gs1CompanyPrefixCantStartWith0: "GS1 Company Prefix can't start with \"0\"";
|
|
84
|
-
readonly gs1CompanyPrefixCantStartWith00000: "GS1 Company Prefix can't start with \"00000\"";
|
|
85
|
-
readonly gs1CompanyPrefixCantStartWith000000: "GS1 Company Prefix can't start with \"000000\"";
|
|
86
|
-
readonly upcCompanyPrefixCantStartWith0000: "U.P.C. Company Prefix can't start with \"0000\"";
|
|
87
|
-
readonly gs18PrefixCantStartWith0: "GS1-8 Prefix can't start with \"0\"";
|
|
88
|
-
readonly identificationKeyTypeNotSupportedByGS18Prefix: "{{identificationKeyType}} not supported by GS1-8 Prefix";
|
|
89
|
-
};
|
|
90
|
-
};
|
|
91
|
-
};
|
|
92
|
-
fr: {
|
|
93
|
-
aidct_gs1: {
|
|
94
|
-
readonly Check: {
|
|
95
|
-
readonly lengthOfStringForPriceOrWeightMustBeExactly: "La longueur {{longueur}} de la chaîne pour le prix ou la somme du poids doit être exactement {{exactLength}}";
|
|
96
|
-
readonly priceOrWeightComponent: "prix ou poids";
|
|
97
|
-
readonly lengthOfStringForCheckCharacterPairMustBeLessThanOrEqualTo: "La longueur {{length}} de la chaîne pour la paire de caractères de vérification doit être inférieure ou égale à {{maximum Length}}";
|
|
98
|
-
};
|
|
99
|
-
readonly IdentificationKey: {
|
|
100
|
-
readonly identificationKeyTypeLength: "{{identificationKeyType}} doit comporter {{length}} chiffres";
|
|
101
|
-
readonly invalidCheckDigit: "Chiffre de contrôle non valide";
|
|
102
|
-
readonly invalidGTINLength: "Le GTIN doit comporter 13, 12, 8 ou 14 chiffres";
|
|
103
|
-
readonly invalidGTIN14Length: "Le GTIN doit comporter 14 chiffres";
|
|
104
|
-
readonly invalidZeroSuppressedGTIN12: "Code GTIN-12 non valide avec zéro supprimé";
|
|
105
|
-
readonly invalidZeroSuppressibleGTIN12: "Le GTIN-12 ne peut pas être supprimé par zéro";
|
|
106
|
-
readonly invalidZeroSuppressedGTIN12AsGTIN13: "GTIN-12 non valide avec zéro supprimé en tant que GTIN-13";
|
|
107
|
-
readonly invalidZeroSuppressedGTIN12AsGTIN14: "GTIN-12 non valide avec zéro supprimé en tant que GTIN-14";
|
|
108
|
-
readonly invalidGTIN13AtRetail: "Le GTIN-13 au niveau des articles de consommation au détail ne peut pas commencer par zéro";
|
|
109
|
-
readonly invalidGTINAtRetail: "Le GTIN n'est pas pris en charge au niveau des articles de consommation au détail";
|
|
110
|
-
readonly invalidGTINAtOtherThanRetail: "Le GTIN n'est pas pris en charge à d'autres niveaux que ceux des articles de consommation au détail";
|
|
111
|
-
readonly indicatorDigit: "chiffre indicateur";
|
|
112
|
-
readonly serialComponent: "composant série";
|
|
113
|
-
readonly reference: "référence";
|
|
114
|
-
readonly referenceCantBeAllNumeric: "La référence ne peut pas être entièrement numérique";
|
|
115
|
-
readonly invalidCheckCharacterPair: "Paire de caractères de contrôle non valide";
|
|
116
|
-
};
|
|
117
|
-
readonly Prefix: {
|
|
118
|
-
readonly gs1CompanyPrefix: "Préfixe de l'entreprise GS1";
|
|
119
|
-
readonly upcCompanyPrefix: "Préfixe de l'entreprise U.P.C.";
|
|
120
|
-
readonly gs18Prefix: "Préfixe GS1-8";
|
|
121
|
-
readonly invalidPrefixType: "Type de préfixe invalide";
|
|
122
|
-
readonly gs1CompanyPrefixCantStartWith0: "Le préfixe de l'entreprise GS1 ne peut pas commencer par \"0\"";
|
|
123
|
-
readonly gs1CompanyPrefixCantStartWith00000: "Le préfixe de l'entreprise GS1 ne peut pas commencer par \"00000\"";
|
|
124
|
-
readonly gs1CompanyPrefixCantStartWith000000: "Le préfixe de l'entreprise GS1 ne peut pas commencer par \"000000\"";
|
|
125
|
-
readonly upcCompanyPrefixCantStartWith0000: "Le préfixe de l'entreprise U.P.C. ne peut pas commencer par \"0000\"";
|
|
126
|
-
readonly gs18PrefixCantStartWith0: "Le préfixe GS1-8 ne peut pas commencer par \"0\"";
|
|
127
|
-
readonly identificationKeyTypeNotSupportedByGS18Prefix: "{{identificationKeyType}} non pris en charge par le préfixe GS1-8";
|
|
128
|
-
};
|
|
129
|
-
};
|
|
130
|
-
};
|
|
131
|
-
};
|
|
132
|
-
declare const i18nextGS1: i18n;
|
|
133
|
-
/**
|
|
134
|
-
* Initialize internationalization.
|
|
135
|
-
*
|
|
136
|
-
* @param environment
|
|
137
|
-
* Environment in which the application is running.
|
|
138
|
-
*
|
|
139
|
-
* @param debug
|
|
140
|
-
* Debug setting.
|
|
141
|
-
*
|
|
142
|
-
* @returns
|
|
143
|
-
* Void promise.
|
|
144
|
-
*/
|
|
145
|
-
declare function i18nGS1Init(environment: I18NEnvironment, debug?: boolean): Promise<void>;
|
|
146
|
-
|
|
147
|
-
/**
|
|
148
|
-
* GS1 AI encodable character set 82 creator as defined in section 7.11 of the {@link https://www.gs1.org/genspecs | GS1
|
|
149
|
-
* General Specifications}. Supports {@linkcode Exclusion.AllNumeric}.
|
|
150
|
-
*/
|
|
151
|
-
declare const AI82_CREATOR: CharacterSetCreator;
|
|
152
|
-
/**
|
|
153
|
-
* GS1 AI encodable character set 39 creator as defined in section 7.11 of the {@link https://www.gs1.org/genspecs | GS1
|
|
154
|
-
* General Specifications}. Supports {@linkcode Exclusion.AllNumeric}.
|
|
155
|
-
*/
|
|
156
|
-
declare const AI39_CREATOR: CharacterSetCreator;
|
|
157
|
-
|
|
158
|
-
/**
|
|
159
|
-
* Calculate the check digit sum for a numeric string as per section 7.9.1 of the {@link https://www.gs1.org/genspecs |
|
|
160
|
-
* GS1 General Specifications}.
|
|
161
|
-
*
|
|
162
|
-
* @param exchangeWeights
|
|
163
|
-
* If true, start the weights at 1 instead of 3 on the right.
|
|
164
|
-
*
|
|
165
|
-
* @param s
|
|
166
|
-
* Numeric string.
|
|
167
|
-
*
|
|
168
|
-
* @returns
|
|
169
|
-
* Accumulated sum of each digit multiplied by the weight at its position.
|
|
170
|
-
*/
|
|
171
|
-
declare function checkDigitSum(exchangeWeights: boolean, s: string): number;
|
|
172
|
-
/**
|
|
173
|
-
* Calculate the check digit for a numeric string as per section 7.9.1 of the {@link https://www.gs1.org/genspecs | GS1
|
|
174
|
-
* General Specifications}.
|
|
175
|
-
*
|
|
176
|
-
* @param s
|
|
177
|
-
* Numeric string.
|
|
178
|
-
*
|
|
179
|
-
* @returns
|
|
180
|
-
* Check digit 0-9 as a string.
|
|
181
|
-
*/
|
|
182
|
-
declare function checkDigit(s: string): string;
|
|
183
|
-
/**
|
|
184
|
-
* Determine if a numeric string has a valid check digit.
|
|
185
|
-
*
|
|
186
|
-
* @param s
|
|
187
|
-
* Numeric string with check digit.
|
|
188
|
-
*
|
|
189
|
-
* @returns
|
|
190
|
-
* True if the check digit is valid.
|
|
191
|
-
*/
|
|
192
|
-
declare function hasValidCheckDigit(s: string): boolean;
|
|
193
|
-
/**
|
|
194
|
-
* Calculate the price/weight check digit for a four-digit numeric string as per section 7.9.3 of the {@link
|
|
195
|
-
* https://www.gs1.org/genspecs | GS1 General Specifications}.
|
|
196
|
-
*
|
|
197
|
-
* @param s
|
|
198
|
-
* Numeric string exactly four characters long.
|
|
199
|
-
*
|
|
200
|
-
* @returns
|
|
201
|
-
* Check digit 0-9 as a string.
|
|
202
|
-
*/
|
|
203
|
-
declare function fourDigitPriceWeightCheckDigit(s: string): string;
|
|
204
|
-
/**
|
|
205
|
-
* Calculate the price/weight check digit for a five-digit numeric string as per section 7.9.3 of the {@link
|
|
206
|
-
* https://www.gs1.org/genspecs | GS1 General Specifications}.
|
|
207
|
-
*
|
|
208
|
-
* @param s
|
|
209
|
-
* Numeric string exactly five characters long.
|
|
210
|
-
*
|
|
211
|
-
* @returns
|
|
212
|
-
* Check digit 0-9 as a string.
|
|
213
|
-
*/
|
|
214
|
-
declare function fiveDigitPriceWeightCheckDigit(s: string): string;
|
|
215
|
-
/**
|
|
216
|
-
* Calculate the check character for a GS1 AI encodable character set 82 string as per section 7.9.5 of the {@link
|
|
217
|
-
* https://www.gs1.org/genspecs | GS1 General Specifications}.
|
|
218
|
-
*
|
|
219
|
-
* @param s
|
|
220
|
-
* GS1 AI encodable character set 82 string.
|
|
221
|
-
*
|
|
222
|
-
* @returns
|
|
223
|
-
* Check character pair.
|
|
224
|
-
*/
|
|
225
|
-
declare function checkCharacterPair(s: string): string;
|
|
226
|
-
/**
|
|
227
|
-
* Determine if a GS1 AI encodable character set 82 string has a valid check character pair.
|
|
228
|
-
*
|
|
229
|
-
* @param s
|
|
230
|
-
* GS1 AI encodable character set 82 string with check character pair.
|
|
231
|
-
*
|
|
232
|
-
* @returns
|
|
233
|
-
* True if the check character pair is valid.
|
|
234
|
-
*/
|
|
235
|
-
declare function hasValidCheckCharacterPair(s: string): boolean;
|
|
236
|
-
|
|
1
|
+
import { CharacterSetCreator, type CharacterSetValidation, Exclusion, type StringValidation, type StringValidator, type TransformerInput, type TransformerOutput } from "@aidc-toolkit/utility";
|
|
237
2
|
/**
|
|
238
3
|
* Identification key type.
|
|
239
4
|
*/
|
|
240
|
-
declare enum IdentificationKeyType {
|
|
5
|
+
export declare enum IdentificationKeyType {
|
|
241
6
|
/**
|
|
242
7
|
* Global Trade Item Number.
|
|
243
8
|
*/
|
|
@@ -290,7 +55,7 @@ declare enum IdentificationKeyType {
|
|
|
290
55
|
/**
|
|
291
56
|
* Prefix type.
|
|
292
57
|
*/
|
|
293
|
-
declare enum PrefixType {
|
|
58
|
+
export declare enum PrefixType {
|
|
294
59
|
/**
|
|
295
60
|
* GS1 Company Prefix.
|
|
296
61
|
*/
|
|
@@ -308,7 +73,7 @@ declare enum PrefixType {
|
|
|
308
73
|
* Character set supported by the reference portion of an identification key or the serial component of a numeric
|
|
309
74
|
* identification key.
|
|
310
75
|
*/
|
|
311
|
-
declare enum ContentCharacterSet {
|
|
76
|
+
export declare enum ContentCharacterSet {
|
|
312
77
|
/**
|
|
313
78
|
* Numeric.
|
|
314
79
|
*/
|
|
@@ -325,7 +90,7 @@ declare enum ContentCharacterSet {
|
|
|
325
90
|
/**
|
|
326
91
|
* Identification key validation parameters.
|
|
327
92
|
*/
|
|
328
|
-
interface IdentificationKeyValidation extends StringValidation {
|
|
93
|
+
export interface IdentificationKeyValidation extends StringValidation {
|
|
329
94
|
/**
|
|
330
95
|
* Position offset within a larger string. Strings are sometimes composed of multiple substrings; this parameter
|
|
331
96
|
* ensures that the error notes the proper position in the string.
|
|
@@ -336,7 +101,7 @@ interface IdentificationKeyValidation extends StringValidation {
|
|
|
336
101
|
* Identification key validator. Validates an identification key against its definition in section 3 of the {@link
|
|
337
102
|
* https://www.gs1.org/genspecs | GS1 General Specifications}.
|
|
338
103
|
*/
|
|
339
|
-
interface IdentificationKeyValidator<TIdentificationKeyValidation extends IdentificationKeyValidation = IdentificationKeyValidation> extends StringValidator<TIdentificationKeyValidation> {
|
|
104
|
+
export interface IdentificationKeyValidator<TIdentificationKeyValidation extends IdentificationKeyValidation = IdentificationKeyValidation> extends StringValidator<TIdentificationKeyValidation> {
|
|
340
105
|
/**
|
|
341
106
|
* Get the identification key type. Per the GS1 General Specifications, the identification key type determines
|
|
342
107
|
* the remaining properties.
|
|
@@ -471,7 +236,7 @@ declare abstract class AbstractIdentificationKeyValidator<TIdentificationKeyVali
|
|
|
471
236
|
/**
|
|
472
237
|
* Leader type.
|
|
473
238
|
*/
|
|
474
|
-
declare enum LeaderType {
|
|
239
|
+
export declare enum LeaderType {
|
|
475
240
|
/**
|
|
476
241
|
* No leader.
|
|
477
242
|
*/
|
|
@@ -488,7 +253,7 @@ declare enum LeaderType {
|
|
|
488
253
|
/**
|
|
489
254
|
* Numeric identification key validator. Validates a numeric identification key.
|
|
490
255
|
*/
|
|
491
|
-
interface NumericIdentificationKeyValidator extends IdentificationKeyValidator {
|
|
256
|
+
export interface NumericIdentificationKeyValidator extends IdentificationKeyValidator {
|
|
492
257
|
/**
|
|
493
258
|
* Get the leader type.
|
|
494
259
|
*/
|
|
@@ -535,7 +300,7 @@ declare abstract class AbstractNumericIdentificationKeyValidator extends Abstrac
|
|
|
535
300
|
/**
|
|
536
301
|
* GTIN type. The numeric values of this enumeration are equal to the lengths of the GTIN types.
|
|
537
302
|
*/
|
|
538
|
-
declare enum GTINType {
|
|
303
|
+
export declare enum GTINType {
|
|
539
304
|
/**
|
|
540
305
|
* GTIN-13.
|
|
541
306
|
*/
|
|
@@ -556,7 +321,7 @@ declare enum GTINType {
|
|
|
556
321
|
/**
|
|
557
322
|
* Level at which GTIN is to be validated.
|
|
558
323
|
*/
|
|
559
|
-
declare enum GTINLevel {
|
|
324
|
+
export declare enum GTINLevel {
|
|
560
325
|
/**
|
|
561
326
|
* Any level (level is ignored).
|
|
562
327
|
*/
|
|
@@ -573,7 +338,7 @@ declare enum GTINLevel {
|
|
|
573
338
|
/**
|
|
574
339
|
* GTIN validator.
|
|
575
340
|
*/
|
|
576
|
-
declare class GTINValidator extends AbstractNumericIdentificationKeyValidator {
|
|
341
|
+
export declare class GTINValidator extends AbstractNumericIdentificationKeyValidator {
|
|
577
342
|
/**
|
|
578
343
|
* Validation parameters for optional indicator digit.
|
|
579
344
|
*/
|
|
@@ -665,7 +430,7 @@ declare class GTINValidator extends AbstractNumericIdentificationKeyValidator {
|
|
|
665
430
|
/**
|
|
666
431
|
* Non-GTIN numeric identification key validator.
|
|
667
432
|
*/
|
|
668
|
-
declare class NonGTINNumericIdentificationKeyValidator extends AbstractNumericIdentificationKeyValidator {
|
|
433
|
+
export declare class NonGTINNumericIdentificationKeyValidator extends AbstractNumericIdentificationKeyValidator {
|
|
669
434
|
/**
|
|
670
435
|
* Constructor.
|
|
671
436
|
*
|
|
@@ -684,7 +449,7 @@ declare class NonGTINNumericIdentificationKeyValidator extends AbstractNumericId
|
|
|
684
449
|
* Serializable numeric identification key validator. Validates both serialized and non-serialized forms of
|
|
685
450
|
* numeric identification keys that support serialization.
|
|
686
451
|
*/
|
|
687
|
-
declare class SerializableNumericIdentificationKeyValidator extends NonGTINNumericIdentificationKeyValidator {
|
|
452
|
+
export declare class SerializableNumericIdentificationKeyValidator extends NonGTINNumericIdentificationKeyValidator {
|
|
688
453
|
/**
|
|
689
454
|
* Serial component length.
|
|
690
455
|
*/
|
|
@@ -741,7 +506,7 @@ declare class SerializableNumericIdentificationKeyValidator extends NonGTINNumer
|
|
|
741
506
|
/**
|
|
742
507
|
* Non-numeric identification key validation parameters.
|
|
743
508
|
*/
|
|
744
|
-
interface NonNumericIdentificationKeyValidation extends IdentificationKeyValidation {
|
|
509
|
+
export interface NonNumericIdentificationKeyValidation extends IdentificationKeyValidation {
|
|
745
510
|
/**
|
|
746
511
|
* Exclusion support for reference. Prevents non-numeric identification key from being mistaken for numeric
|
|
747
512
|
* identification key.
|
|
@@ -751,7 +516,7 @@ interface NonNumericIdentificationKeyValidation extends IdentificationKeyValidat
|
|
|
751
516
|
/**
|
|
752
517
|
* Non-numeric identification key validator.
|
|
753
518
|
*/
|
|
754
|
-
declare class NonNumericIdentificationKeyValidator extends AbstractIdentificationKeyValidator<NonNumericIdentificationKeyValidation> {
|
|
519
|
+
export declare class NonNumericIdentificationKeyValidator extends AbstractIdentificationKeyValidator<NonNumericIdentificationKeyValidation> {
|
|
755
520
|
/**
|
|
756
521
|
* Validator to ensure that an identification key (minus check character pair) is not all numeric.
|
|
757
522
|
*/
|
|
@@ -794,70 +559,70 @@ declare class NonNumericIdentificationKeyValidator extends AbstractIdentificatio
|
|
|
794
559
|
/**
|
|
795
560
|
* GTIN-13 validator.
|
|
796
561
|
*/
|
|
797
|
-
declare const GTIN13_VALIDATOR: GTINValidator;
|
|
562
|
+
export declare const GTIN13_VALIDATOR: GTINValidator;
|
|
798
563
|
/**
|
|
799
564
|
* GTIN-12 validator.
|
|
800
565
|
*/
|
|
801
|
-
declare const GTIN12_VALIDATOR: GTINValidator;
|
|
566
|
+
export declare const GTIN12_VALIDATOR: GTINValidator;
|
|
802
567
|
/**
|
|
803
568
|
* GTIN-8 validator.
|
|
804
569
|
*/
|
|
805
|
-
declare const GTIN8_VALIDATOR: GTINValidator;
|
|
570
|
+
export declare const GTIN8_VALIDATOR: GTINValidator;
|
|
806
571
|
/**
|
|
807
572
|
* GTIN validators indexed by prefix type.
|
|
808
573
|
*/
|
|
809
|
-
declare const GTIN_VALIDATORS: GTINValidator[];
|
|
574
|
+
export declare const GTIN_VALIDATORS: GTINValidator[];
|
|
810
575
|
/**
|
|
811
576
|
* GLN validator.
|
|
812
577
|
*/
|
|
813
|
-
declare const GLN_VALIDATOR: NonGTINNumericIdentificationKeyValidator;
|
|
578
|
+
export declare const GLN_VALIDATOR: NonGTINNumericIdentificationKeyValidator;
|
|
814
579
|
/**
|
|
815
580
|
* SSCC validator.
|
|
816
581
|
*/
|
|
817
|
-
declare const SSCC_VALIDATOR: NonGTINNumericIdentificationKeyValidator;
|
|
582
|
+
export declare const SSCC_VALIDATOR: NonGTINNumericIdentificationKeyValidator;
|
|
818
583
|
/**
|
|
819
584
|
* GRAI validator.
|
|
820
585
|
*/
|
|
821
|
-
declare const GRAI_VALIDATOR: SerializableNumericIdentificationKeyValidator;
|
|
586
|
+
export declare const GRAI_VALIDATOR: SerializableNumericIdentificationKeyValidator;
|
|
822
587
|
/**
|
|
823
588
|
* GIAI validator.
|
|
824
589
|
*/
|
|
825
|
-
declare const GIAI_VALIDATOR: NonNumericIdentificationKeyValidator;
|
|
590
|
+
export declare const GIAI_VALIDATOR: NonNumericIdentificationKeyValidator;
|
|
826
591
|
/**
|
|
827
592
|
* GSRN validator.
|
|
828
593
|
*/
|
|
829
|
-
declare const GSRN_VALIDATOR: NonGTINNumericIdentificationKeyValidator;
|
|
594
|
+
export declare const GSRN_VALIDATOR: NonGTINNumericIdentificationKeyValidator;
|
|
830
595
|
/**
|
|
831
596
|
* GDTI validator.
|
|
832
597
|
*/
|
|
833
|
-
declare const GDTI_VALIDATOR: SerializableNumericIdentificationKeyValidator;
|
|
598
|
+
export declare const GDTI_VALIDATOR: SerializableNumericIdentificationKeyValidator;
|
|
834
599
|
/**
|
|
835
600
|
* GINC validator.
|
|
836
601
|
*/
|
|
837
|
-
declare const GINC_VALIDATOR: NonNumericIdentificationKeyValidator;
|
|
602
|
+
export declare const GINC_VALIDATOR: NonNumericIdentificationKeyValidator;
|
|
838
603
|
/**
|
|
839
604
|
* GSIN validator.
|
|
840
605
|
*/
|
|
841
|
-
declare const GSIN_VALIDATOR: NonGTINNumericIdentificationKeyValidator;
|
|
606
|
+
export declare const GSIN_VALIDATOR: NonGTINNumericIdentificationKeyValidator;
|
|
842
607
|
/**
|
|
843
608
|
* GCN validator.
|
|
844
609
|
*/
|
|
845
|
-
declare const GCN_VALIDATOR: SerializableNumericIdentificationKeyValidator;
|
|
610
|
+
export declare const GCN_VALIDATOR: SerializableNumericIdentificationKeyValidator;
|
|
846
611
|
/**
|
|
847
612
|
* CPID validator.
|
|
848
613
|
*/
|
|
849
|
-
declare const CPID_VALIDATOR: NonNumericIdentificationKeyValidator;
|
|
614
|
+
export declare const CPID_VALIDATOR: NonNumericIdentificationKeyValidator;
|
|
850
615
|
/**
|
|
851
616
|
* GMN validator.
|
|
852
617
|
*/
|
|
853
|
-
declare const GMN_VALIDATOR: NonNumericIdentificationKeyValidator;
|
|
618
|
+
export declare const GMN_VALIDATOR: NonNumericIdentificationKeyValidator;
|
|
854
619
|
/**
|
|
855
620
|
* Identification key creator. Creates an identification key based on its definition in section 3 of the {@link
|
|
856
621
|
* https://www.gs1.org/genspecs | GS1 General Specifications}.
|
|
857
622
|
*
|
|
858
623
|
* Keys are created based on a prefix defined in a prefix manager to which the identification key creator is bound.
|
|
859
624
|
*/
|
|
860
|
-
interface IdentificationKeyCreator extends IdentificationKeyValidator {
|
|
625
|
+
export interface IdentificationKeyCreator extends IdentificationKeyValidator {
|
|
861
626
|
/**
|
|
862
627
|
* Get the prefix manager to which this identification key creator is bound.
|
|
863
628
|
*/
|
|
@@ -921,7 +686,7 @@ declare abstract class AbstractIdentificationKeyCreator implements Identificatio
|
|
|
921
686
|
/**
|
|
922
687
|
* Numeric identification key creator. Creates one or many numeric identification keys.
|
|
923
688
|
*/
|
|
924
|
-
interface NumericIdentificationKeyCreator extends NumericIdentificationKeyValidator, IdentificationKeyCreator {
|
|
689
|
+
export interface NumericIdentificationKeyCreator extends NumericIdentificationKeyValidator, IdentificationKeyCreator {
|
|
925
690
|
/**
|
|
926
691
|
* Get the capacity (`10**referenceLength`).
|
|
927
692
|
*/
|
|
@@ -1030,11 +795,11 @@ declare abstract class AbstractNumericIdentificationKeyCreator extends AbstractI
|
|
|
1030
795
|
*/
|
|
1031
796
|
createAll(): Iterable<string>;
|
|
1032
797
|
}
|
|
1033
|
-
declare const GTINCreator_base:
|
|
798
|
+
declare const GTINCreator_base: import("ts-mixer/dist/types/types.js").Class<any[], GTINValidator & AbstractNumericIdentificationKeyCreator, typeof GTINValidator & typeof AbstractNumericIdentificationKeyCreator>;
|
|
1034
799
|
/**
|
|
1035
800
|
* GTIN creator. Applicable to GTIN-13, GTIN-12, and GTIN-8 types; no applicable to GTIN-14 type.
|
|
1036
801
|
*/
|
|
1037
|
-
declare class GTINCreator extends GTINCreator_base {
|
|
802
|
+
export declare class GTINCreator extends GTINCreator_base {
|
|
1038
803
|
/**
|
|
1039
804
|
* Validation parameters for required indicator digit.
|
|
1040
805
|
*/
|
|
@@ -1071,11 +836,11 @@ declare class GTINCreator extends GTINCreator_base {
|
|
|
1071
836
|
*/
|
|
1072
837
|
createGTIN14<TTransformerInput extends TransformerInput<number | bigint>>(indicatorDigit: string, valueOrValues: TTransformerInput, sparse?: boolean): TransformerOutput<TTransformerInput, string>;
|
|
1073
838
|
}
|
|
1074
|
-
declare const NonGTINNumericIdentificationKeyCreator_base:
|
|
839
|
+
declare const NonGTINNumericIdentificationKeyCreator_base: import("ts-mixer/dist/types/types.js").Class<any[], NonGTINNumericIdentificationKeyValidator & AbstractNumericIdentificationKeyCreator, typeof NonGTINNumericIdentificationKeyValidator & typeof AbstractNumericIdentificationKeyCreator>;
|
|
1075
840
|
/**
|
|
1076
841
|
* Non-GTIN numeric identification key creator.
|
|
1077
842
|
*/
|
|
1078
|
-
declare class NonGTINNumericIdentificationKeyCreator extends NonGTINNumericIdentificationKeyCreator_base {
|
|
843
|
+
export declare class NonGTINNumericIdentificationKeyCreator extends NonGTINNumericIdentificationKeyCreator_base {
|
|
1079
844
|
/**
|
|
1080
845
|
* Constructor. Called internally by {@link PrefixManager} non-GTIN numeric identification key creator getters;
|
|
1081
846
|
* should not be called by other code.
|
|
@@ -1094,11 +859,11 @@ declare class NonGTINNumericIdentificationKeyCreator extends NonGTINNumericIdent
|
|
|
1094
859
|
*/
|
|
1095
860
|
constructor(prefixManager: PrefixManager, identificationKeyType: IdentificationKeyType, length: number, leaderType?: LeaderType);
|
|
1096
861
|
}
|
|
1097
|
-
declare const SerializableNumericIdentificationKeyCreator_base:
|
|
862
|
+
declare const SerializableNumericIdentificationKeyCreator_base: import("ts-mixer/dist/types/types.js").Class<any[], SerializableNumericIdentificationKeyValidator & AbstractNumericIdentificationKeyCreator, typeof SerializableNumericIdentificationKeyValidator & typeof AbstractNumericIdentificationKeyCreator>;
|
|
1098
863
|
/**
|
|
1099
864
|
* Serializable numeric identification key creator.
|
|
1100
865
|
*/
|
|
1101
|
-
declare class SerializableNumericIdentificationKeyCreator extends SerializableNumericIdentificationKeyCreator_base {
|
|
866
|
+
export declare class SerializableNumericIdentificationKeyCreator extends SerializableNumericIdentificationKeyCreator_base {
|
|
1102
867
|
/**
|
|
1103
868
|
* Constructor. Called internally by {@link PrefixManager} serialized numeric identification key creator getters;
|
|
1104
869
|
* should not be called by other code.
|
|
@@ -1163,11 +928,11 @@ declare class SerializableNumericIdentificationKeyCreator extends SerializableNu
|
|
|
1163
928
|
*/
|
|
1164
929
|
concatenate<TTransformerInput extends TransformerInput<string>>(baseIdentificationKey: string, serialComponentOrComponents: TTransformerInput): TransformerOutput<TTransformerInput, string>;
|
|
1165
930
|
}
|
|
1166
|
-
declare const NonNumericIdentificationKeyCreator_base:
|
|
931
|
+
declare const NonNumericIdentificationKeyCreator_base: import("ts-mixer/dist/types/types.js").Class<any[], NonNumericIdentificationKeyValidator & AbstractIdentificationKeyCreator, typeof NonNumericIdentificationKeyValidator & typeof AbstractIdentificationKeyCreator>;
|
|
1167
932
|
/**
|
|
1168
933
|
* Non-numeric identification key creator.
|
|
1169
934
|
*/
|
|
1170
|
-
declare class NonNumericIdentificationKeyCreator extends NonNumericIdentificationKeyCreator_base {
|
|
935
|
+
export declare class NonNumericIdentificationKeyCreator extends NonNumericIdentificationKeyCreator_base {
|
|
1171
936
|
/**
|
|
1172
937
|
* Reference validation parameters.
|
|
1173
938
|
*/
|
|
@@ -1228,7 +993,7 @@ declare class NonNumericIdentificationKeyCreator extends NonNumericIdentificatio
|
|
|
1228
993
|
* default, care should be taken to restore it when resuming the application. A tweak factor of 0 creates a straight
|
|
1229
994
|
* sequence.
|
|
1230
995
|
*/
|
|
1231
|
-
declare class PrefixManager {
|
|
996
|
+
export declare class PrefixManager {
|
|
1232
997
|
/**
|
|
1233
998
|
* Cached prefix managers, keyed by GS1 Company Prefix.
|
|
1234
999
|
*/
|
|
@@ -1493,5 +1258,5 @@ declare class PrefixManager {
|
|
|
1493
1258
|
*/
|
|
1494
1259
|
get gmnCreator(): NonNumericIdentificationKeyCreator;
|
|
1495
1260
|
}
|
|
1496
|
-
|
|
1497
|
-
|
|
1261
|
+
export {};
|
|
1262
|
+
//# sourceMappingURL=idkey.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"idkey.d.ts","sourceRoot":"","sources":["../src/idkey.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,mBAAmB,EACnB,KAAK,sBAAsB,EAC3B,SAAS,EAGT,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EAEzB,MAAM,uBAAuB,CAAC;AAY/B;;GAEG;AACH,oBAAY,qBAAqB;IAC7B;;OAEG;IACH,IAAI,SAAS;IAEb;;OAEG;IACH,GAAG,QAAQ;IAEX;;OAEG;IACH,IAAI,SAAS;IAEb;;OAEG;IACH,IAAI,SAAS;IAEb;;OAEG;IACH,IAAI,SAAS;IAEb;;OAEG;IACH,IAAI,SAAS;IAEb;;OAEG;IACH,IAAI,SAAS;IAEb;;OAEG;IACH,IAAI,SAAS;IAEb;;OAEG;IACH,IAAI,SAAS;IAEb;;OAEG;IACH,GAAG,QAAQ;IAEX;;OAEG;IACH,IAAI,SAAS;IAEb;;OAEG;IACH,GAAG,QAAQ;CACd;AAED;;GAEG;AACH,oBAAY,UAAU;IAClB;;OAEG;IACH,gBAAgB,IAAA;IAEhB;;OAEG;IACH,gBAAgB,IAAA;IAEhB;;OAEG;IACH,UAAU,IAAA;CACb;AAED;;;GAG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