@aidc-toolkit/app-extension 1.0.24-beta → 1.0.26-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/index.cjs +109 -50
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +59 -37
- package/dist/index.d.ts +59 -37
- package/dist/index.js +111 -65
- package/dist/index.js.map +1 -1
- package/package.json +14 -9
- package/src/app-extension.ts +2 -2
- package/src/app-utility-proxy.ts +4 -4
- package/src/descriptor.ts +9 -4
- package/src/generator/descriptor.ts +1 -1
- package/src/generator/generator.ts +24 -6
- package/src/generator/index.ts +2 -2
- package/src/generator/locale-resources-generator.ts +9 -9
- package/src/gs1/character-set-proxy.ts +18 -8
- package/src/gs1/check-proxy.ts +3 -3
- package/src/gs1/identifier-proxy.ts +70 -66
- package/src/gs1/index.ts +3 -3
- package/src/index.ts +9 -9
- package/src/lib-proxy.ts +3 -3
- package/src/locale/en/locale-resources.ts +9 -0
- package/src/locale/fr/locale-resources.ts +9 -0
- package/src/locale/i18n.ts +3 -3
- package/src/locale/i18next.d.ts +1 -1
- package/src/type.ts +1 -1
- package/src/utility/character-set-descriptor.ts +1 -1
- package/src/utility/character-set-proxy.ts +28 -17
- package/src/utility/index.ts +3 -3
- package/src/utility/reg-exp-proxy.ts +4 -4
- package/src/utility/string-descriptor.ts +1 -1
- package/src/utility/string-proxy.ts +2 -2
- package/src/utility/transformer-descriptor.ts +1 -1
- package/src/utility/transformer-proxy.ts +4 -4
- package/tsconfig-config.json +4 -0
- package/tsconfig-src.json +11 -0
- package/tsconfig.json +9 -4
- package/tsup.config.ts +3 -2
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { I18nEnvironment, TypedSyncFunction, TypedFunction, TypedAsyncFunction, Nullishable } from '@aidc-toolkit/core';
|
|
2
2
|
import { Resource, i18n } from 'i18next';
|
|
3
|
-
import { StringValidation, StringValidator,
|
|
4
|
-
import {
|
|
3
|
+
import { StringValidation, StringValidator, CharacterSetValidator, Exclusion, CharacterSetCreator } from '@aidc-toolkit/utility';
|
|
4
|
+
import { NumericIdentifierType, IdentifierType, IdentifierTypeValidator, IdentifierTypes, GTINLevel, NonGTINNumericIdentifierType, SerializableNumericIdentifierType, NonNumericIdentifierType, NonNumericIdentifierValidation, PrefixType, NumericIdentifierDescriptor, NumericIdentifierCreator, IdentifierDescriptor, IdentifierValidation, IdentifierCreator, PrefixManager, NumericIdentifierValidation, GTINDescriptor, GTINCreator, NonGTINNumericIdentifierDescriptor, NonGTINNumericIdentifierCreator, SerializableNumericIdentifierDescriptor, SerializableNumericIdentifierCreator, NonNumericIdentifierDescriptor, NonNumericIdentifierCreator } from '@aidc-toolkit/gs1';
|
|
5
5
|
|
|
6
6
|
declare const _default: {
|
|
7
7
|
AppExtension: {
|
|
@@ -17,6 +17,7 @@ declare const _default: {
|
|
|
17
17
|
prefixDefinitionMustHaveMaximumThreeElements: string;
|
|
18
18
|
prefixMustBeString: string;
|
|
19
19
|
prefixTypeMustBeNumber: string;
|
|
20
|
+
invalidPrefixType: string;
|
|
20
21
|
tweakFactorMustBeNumber: string;
|
|
21
22
|
};
|
|
22
23
|
Parameters: {
|
|
@@ -359,6 +360,14 @@ declare const _default: {
|
|
|
359
360
|
name: string;
|
|
360
361
|
description: string;
|
|
361
362
|
};
|
|
363
|
+
validateAI64: {
|
|
364
|
+
name: string;
|
|
365
|
+
description: string;
|
|
366
|
+
};
|
|
367
|
+
isValidAI64: {
|
|
368
|
+
name: string;
|
|
369
|
+
description: string;
|
|
370
|
+
};
|
|
362
371
|
checkDigit: {
|
|
363
372
|
name: string;
|
|
364
373
|
description: string;
|
|
@@ -645,7 +654,7 @@ declare function i18nAppExtensionInit(environment: I18nEnvironment, debug?: bool
|
|
|
645
654
|
|
|
646
655
|
/**
|
|
647
656
|
* Type that error type is expected to extend. If the application framework reports errors through the throw/catch
|
|
648
|
-
* mechanism, the error type is expected to extend {@
|
|
657
|
+
* mechanism, the error type is expected to extend {@linkcode Error}. Otherwise, it may extend any object type.
|
|
649
658
|
*
|
|
650
659
|
* @template ThrowError
|
|
651
660
|
* If true, errors are reported through the throw/catch mechanism.
|
|
@@ -1064,10 +1073,14 @@ declare const Types: {
|
|
|
1064
1073
|
*/
|
|
1065
1074
|
readonly Any: 3;
|
|
1066
1075
|
};
|
|
1076
|
+
/**
|
|
1077
|
+
* Type key.
|
|
1078
|
+
*/
|
|
1079
|
+
type TypeKey = keyof typeof Types;
|
|
1067
1080
|
/**
|
|
1068
1081
|
* Type.
|
|
1069
1082
|
*/
|
|
1070
|
-
type Type = typeof Types[
|
|
1083
|
+
type Type = typeof Types[TypeKey];
|
|
1071
1084
|
/**
|
|
1072
1085
|
* Type descriptor.
|
|
1073
1086
|
*/
|
|
@@ -1285,32 +1298,39 @@ declare class RegExpProxy<ThrowError extends boolean, TError extends ErrorExtend
|
|
|
1285
1298
|
isValid(regExp: string, matrixSs: Matrix<string>): MatrixResultError<boolean, ThrowError, TError>;
|
|
1286
1299
|
}
|
|
1287
1300
|
|
|
1288
|
-
declare abstract class
|
|
1289
|
-
private readonly
|
|
1290
|
-
protected constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>,
|
|
1301
|
+
declare abstract class CharacterSetValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends StringProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1302
|
+
private readonly _characterSetValidator;
|
|
1303
|
+
protected constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>, characterSetValidator: CharacterSetValidator);
|
|
1291
1304
|
validate(matrixSs: Matrix<string>, exclusion: Nullishable<Exclusion>): MatrixResultError<string, ThrowError, TError>;
|
|
1292
1305
|
isValid(matrixSs: Matrix<string>, exclusion: Nullishable<Exclusion>): MatrixResultError<boolean, ThrowError, TError>;
|
|
1306
|
+
}
|
|
1307
|
+
declare abstract class CharacterSetCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends CharacterSetValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1308
|
+
private readonly _characterSetCreator;
|
|
1309
|
+
protected constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>, characterSetCreator: CharacterSetCreator);
|
|
1293
1310
|
create(length: number, matrixValues: Matrix<number | bigint>, exclusion: Nullishable<Exclusion>, tweak: Nullishable<number | bigint>): MatrixResultError<string, ThrowError, TError>;
|
|
1294
1311
|
createSequence(length: number, startValue: number, count: number, exclusion: Nullishable<Exclusion>, tweak: Nullishable<number | bigint>): Matrix<string>;
|
|
1295
1312
|
valueFor(matrixSs: Matrix<string>, exclusion: Nullishable<Exclusion>, tweak: Nullishable<number | bigint>): MatrixResultError<ResultError<TBigInt, ThrowError, TError>, ThrowError, TError>;
|
|
1296
1313
|
}
|
|
1297
|
-
declare class NumericProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends
|
|
1314
|
+
declare class NumericProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends CharacterSetCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1298
1315
|
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>);
|
|
1299
1316
|
}
|
|
1300
|
-
declare class HexadecimalProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends
|
|
1317
|
+
declare class HexadecimalProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends CharacterSetCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1301
1318
|
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>);
|
|
1302
1319
|
}
|
|
1303
|
-
declare class AlphabeticProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends
|
|
1320
|
+
declare class AlphabeticProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends CharacterSetCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1304
1321
|
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>);
|
|
1305
1322
|
}
|
|
1306
|
-
declare class AlphanumericProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends
|
|
1323
|
+
declare class AlphanumericProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends CharacterSetCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1307
1324
|
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>);
|
|
1308
1325
|
}
|
|
1309
1326
|
|
|
1310
|
-
declare class AI82Proxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends
|
|
1327
|
+
declare class AI82Proxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends CharacterSetCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1328
|
+
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>);
|
|
1329
|
+
}
|
|
1330
|
+
declare class AI39Proxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends CharacterSetCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1311
1331
|
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>);
|
|
1312
1332
|
}
|
|
1313
|
-
declare class
|
|
1333
|
+
declare class AI64Proxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends CharacterSetValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1314
1334
|
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>);
|
|
1315
1335
|
}
|
|
1316
1336
|
|
|
@@ -1323,21 +1343,21 @@ declare class CheckProxy<ThrowError extends boolean, TError extends ErrorExtends
|
|
|
1323
1343
|
hasValidCheckCharacterPair(matrixSs: Matrix<string>): MatrixResultError<boolean, ThrowError, TError>;
|
|
1324
1344
|
}
|
|
1325
1345
|
|
|
1326
|
-
declare abstract class IdentifierValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt,
|
|
1346
|
+
declare abstract class IdentifierValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt, TIdentifierType extends IdentifierType> extends StringProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1327
1347
|
private readonly _validator;
|
|
1328
|
-
protected constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>, validator:
|
|
1329
|
-
protected get validator():
|
|
1348
|
+
protected constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>, validator: IdentifierTypeValidator<TIdentifierType>);
|
|
1349
|
+
protected get validator(): IdentifierTypeValidator<TIdentifierType>;
|
|
1330
1350
|
}
|
|
1331
|
-
declare abstract class NumericIdentifierValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt,
|
|
1351
|
+
declare abstract class NumericIdentifierValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt, TNumericIdentifierType extends NumericIdentifierType> extends IdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt, TNumericIdentifierType> {
|
|
1332
1352
|
validate(matrixIdentifiers: Matrix<string>): MatrixResultError<string, ThrowError, TError>;
|
|
1333
1353
|
}
|
|
1334
|
-
declare abstract class GTINValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt,
|
|
1354
|
+
declare abstract class GTINValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt, typeof IdentifierTypes.GTIN> {
|
|
1335
1355
|
}
|
|
1336
|
-
declare abstract class NonGTINNumericIdentifierValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt,
|
|
1356
|
+
declare abstract class NonGTINNumericIdentifierValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt, TNonGTINNumericIdentifierType extends NonGTINNumericIdentifierType = NonGTINNumericIdentifierType> extends NumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt, TNonGTINNumericIdentifierType> {
|
|
1337
1357
|
}
|
|
1338
|
-
declare abstract class SerializableNumericIdentifierValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonGTINNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt,
|
|
1358
|
+
declare abstract class SerializableNumericIdentifierValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonGTINNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt, SerializableNumericIdentifierType> {
|
|
1339
1359
|
}
|
|
1340
|
-
declare abstract class NonNumericIdentifierValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends IdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt,
|
|
1360
|
+
declare abstract class NonNumericIdentifierValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends IdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt, NonNumericIdentifierType> {
|
|
1341
1361
|
validate(matrixIdentifiers: Matrix<string>, exclusion: Nullishable<NonNumericIdentifierValidation["exclusion"]>): MatrixResultError<string, ThrowError, TError>;
|
|
1342
1362
|
}
|
|
1343
1363
|
declare class GTIN13ValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends GTINValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
@@ -1358,10 +1378,10 @@ declare class GTINValidatorStaticProxy<ThrowError extends boolean, TError extend
|
|
|
1358
1378
|
validateGTIN14(matrixGTIN14s: Matrix<string>): Matrix<string>;
|
|
1359
1379
|
parseVariableMeasureRCN(format: string, matrixRCNs: Matrix<string>): MatrixResultError<number, ThrowError, TError>;
|
|
1360
1380
|
}
|
|
1361
|
-
declare class GLNValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonGTINNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt
|
|
1381
|
+
declare class GLNValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonGTINNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1362
1382
|
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>);
|
|
1363
1383
|
}
|
|
1364
|
-
declare class SSCCValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonGTINNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt
|
|
1384
|
+
declare class SSCCValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonGTINNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1365
1385
|
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>);
|
|
1366
1386
|
}
|
|
1367
1387
|
declare class GRAIValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends SerializableNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
@@ -1370,7 +1390,7 @@ declare class GRAIValidatorProxy<ThrowError extends boolean, TError extends Erro
|
|
|
1370
1390
|
declare class GIAIValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1371
1391
|
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>);
|
|
1372
1392
|
}
|
|
1373
|
-
declare class GSRNValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonGTINNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt
|
|
1393
|
+
declare class GSRNValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonGTINNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1374
1394
|
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>);
|
|
1375
1395
|
}
|
|
1376
1396
|
declare class GDTIValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends SerializableNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
@@ -1379,7 +1399,7 @@ declare class GDTIValidatorProxy<ThrowError extends boolean, TError extends Erro
|
|
|
1379
1399
|
declare class GINCValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1380
1400
|
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>);
|
|
1381
1401
|
}
|
|
1382
|
-
declare class GSINValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonGTINNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt
|
|
1402
|
+
declare class GSINValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonGTINNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1383
1403
|
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>);
|
|
1384
1404
|
}
|
|
1385
1405
|
declare class GCNValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends SerializableNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
@@ -1394,35 +1414,35 @@ declare class GMNValidatorProxy<ThrowError extends boolean, TError extends Error
|
|
|
1394
1414
|
declare class PrefixManagerProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends LibProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1395
1415
|
definePrefix(prefix: string, prefixType: Nullishable<PrefixType>, tweakFactor: Nullishable<number>): Matrix<unknown>;
|
|
1396
1416
|
}
|
|
1397
|
-
declare abstract class IdentifierCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt, TIdentifierCreator extends IdentifierCreator
|
|
1417
|
+
declare abstract class IdentifierCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt, TIdentifierDescriptor extends IdentifierDescriptor, TIdentifierValidation extends IdentifierValidation, TIdentifierCreator extends IdentifierCreator<TIdentifierDescriptor, TIdentifierValidation>> extends LibProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1398
1418
|
private static readonly PREFIX_TYPES;
|
|
1399
1419
|
private readonly _getCreator;
|
|
1400
1420
|
protected constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>, getCreator: (prefixManager: PrefixManager) => TIdentifierCreator);
|
|
1401
1421
|
protected getCreator(prefixDefinition: Matrix<unknown>): TIdentifierCreator;
|
|
1402
1422
|
}
|
|
1403
|
-
declare abstract class NumericIdentifierCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt, TNumericIdentifierCreator extends NumericIdentifierCreator
|
|
1423
|
+
declare abstract class NumericIdentifierCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt, TNumericIdentifierDescriptor extends NumericIdentifierDescriptor, TNumericIdentifierCreator extends NumericIdentifierCreator<TNumericIdentifierDescriptor>> extends IdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt, TNumericIdentifierDescriptor, NumericIdentifierValidation, TNumericIdentifierCreator> {
|
|
1404
1424
|
create(prefixDefinition: Matrix<unknown>, matrixValues: Matrix<number | bigint>, sparse: Nullishable<boolean>): MatrixResultError<string, ThrowError, TError>;
|
|
1405
1425
|
createSequence(prefixDefinition: Matrix<unknown>, startValue: number, count: number, sparse: Nullishable<boolean>): Matrix<string>;
|
|
1406
1426
|
createAll(prefixDefinition: Matrix<unknown>): Matrix<string>;
|
|
1407
1427
|
}
|
|
1408
|
-
declare abstract class NonGTINNumericIdentifierCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt, TNonGTINNumericIdentifierCreator extends NonGTINNumericIdentifierCreator> extends NumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt, TNonGTINNumericIdentifierCreator> {
|
|
1428
|
+
declare abstract class NonGTINNumericIdentifierCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt, TNonGTINNumericIdentifierDescriptor extends NonGTINNumericIdentifierDescriptor, TNonGTINNumericIdentifierCreator extends NonGTINNumericIdentifierCreator> extends NumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt, TNonGTINNumericIdentifierDescriptor, TNonGTINNumericIdentifierCreator> {
|
|
1409
1429
|
}
|
|
1410
|
-
declare abstract class SerializableNumericIdentifierCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonGTINNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt, SerializableNumericIdentifierCreator> {
|
|
1430
|
+
declare abstract class SerializableNumericIdentifierCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonGTINNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt, SerializableNumericIdentifierDescriptor, SerializableNumericIdentifierCreator> {
|
|
1411
1431
|
createSerialized(prefixDefinition: Matrix<unknown>, value: number, matrixSerialComponents: Matrix<string>, sparse: Nullishable<boolean>): MatrixResultError<string, ThrowError, TError>;
|
|
1412
1432
|
concatenate(baseIdentifier: string, matrixSerialComponents: Matrix<string>): MatrixResultError<string, ThrowError, TError>;
|
|
1413
1433
|
}
|
|
1414
|
-
declare abstract class NonNumericIdentifierCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends IdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt, NonNumericIdentifierCreator> {
|
|
1434
|
+
declare abstract class NonNumericIdentifierCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends IdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt, NonNumericIdentifierDescriptor, NonNumericIdentifierValidation, NonNumericIdentifierCreator> {
|
|
1415
1435
|
create(prefixDefinition: Matrix<unknown>, matrixReferences: Matrix<string>): MatrixResultError<string, ThrowError, TError>;
|
|
1416
1436
|
}
|
|
1417
|
-
declare class GTINCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt, GTINCreator> {
|
|
1437
|
+
declare class GTINCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt, GTINDescriptor, GTINCreator> {
|
|
1418
1438
|
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>);
|
|
1419
1439
|
createGTIN14(indicatorDigit: string, prefixDefinition: Matrix<unknown>, matrixValues: Matrix<number | bigint>, sparse: Nullishable<boolean>): MatrixResultError<string, ThrowError, TError>;
|
|
1420
1440
|
createVariableMeasureRCN(format: string, itemReference: number, matrixPricesOrWeights: Matrix<number>): MatrixResultError<string, ThrowError, TError>;
|
|
1421
1441
|
}
|
|
1422
|
-
declare class GLNCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonGTINNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt, NonGTINNumericIdentifierCreator> {
|
|
1442
|
+
declare class GLNCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonGTINNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt, NonGTINNumericIdentifierDescriptor, NonGTINNumericIdentifierCreator> {
|
|
1423
1443
|
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>);
|
|
1424
1444
|
}
|
|
1425
|
-
declare class SSCCCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonGTINNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt, NonGTINNumericIdentifierCreator> {
|
|
1445
|
+
declare class SSCCCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonGTINNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt, NonGTINNumericIdentifierDescriptor, NonGTINNumericIdentifierCreator> {
|
|
1426
1446
|
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>);
|
|
1427
1447
|
}
|
|
1428
1448
|
declare class GRAICreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends SerializableNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
@@ -1431,7 +1451,7 @@ declare class GRAICreatorProxy<ThrowError extends boolean, TError extends ErrorE
|
|
|
1431
1451
|
declare class GIAICreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1432
1452
|
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>);
|
|
1433
1453
|
}
|
|
1434
|
-
declare class GSRNCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonGTINNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt, NonGTINNumericIdentifierCreator> {
|
|
1454
|
+
declare class GSRNCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonGTINNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt, NonGTINNumericIdentifierDescriptor, NonGTINNumericIdentifierCreator> {
|
|
1435
1455
|
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>);
|
|
1436
1456
|
}
|
|
1437
1457
|
declare class GDTICreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends SerializableNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
@@ -1440,7 +1460,7 @@ declare class GDTICreatorProxy<ThrowError extends boolean, TError extends ErrorE
|
|
|
1440
1460
|
declare class GINCCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1441
1461
|
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>);
|
|
1442
1462
|
}
|
|
1443
|
-
declare class GSINCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonGTINNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt, NonGTINNumericIdentifierCreator> {
|
|
1463
|
+
declare class GSINCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonGTINNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt, NonGTINNumericIdentifierDescriptor, NonGTINNumericIdentifierCreator> {
|
|
1444
1464
|
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>);
|
|
1445
1465
|
}
|
|
1446
1466
|
declare class GCNCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends SerializableNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
@@ -1455,6 +1475,8 @@ declare class GMNCreatorProxy<ThrowError extends boolean, TError extends ErrorEx
|
|
|
1455
1475
|
|
|
1456
1476
|
type index_AI39Proxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> = AI39Proxy<ThrowError, TError, TInvocationContext, TBigInt>;
|
|
1457
1477
|
declare const index_AI39Proxy: typeof AI39Proxy;
|
|
1478
|
+
type index_AI64Proxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> = AI64Proxy<ThrowError, TError, TInvocationContext, TBigInt>;
|
|
1479
|
+
declare const index_AI64Proxy: typeof AI64Proxy;
|
|
1458
1480
|
type index_AI82Proxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> = AI82Proxy<ThrowError, TError, TInvocationContext, TBigInt>;
|
|
1459
1481
|
declare const index_AI82Proxy: typeof AI82Proxy;
|
|
1460
1482
|
type index_CPIDCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> = CPIDCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt>;
|
|
@@ -1516,7 +1538,7 @@ declare const index_SSCCCreatorProxy: typeof SSCCCreatorProxy;
|
|
|
1516
1538
|
type index_SSCCValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> = SSCCValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt>;
|
|
1517
1539
|
declare const index_SSCCValidatorProxy: typeof SSCCValidatorProxy;
|
|
1518
1540
|
declare namespace index {
|
|
1519
|
-
export { index_AI39Proxy as AI39Proxy, 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 };
|
|
1541
|
+
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 };
|
|
1520
1542
|
}
|
|
1521
1543
|
|
|
1522
1544
|
/**
|
|
@@ -1744,4 +1766,4 @@ declare abstract class Generator {
|
|
|
1744
1766
|
generate(): Promise<void>;
|
|
1745
1767
|
}
|
|
1746
1768
|
|
|
1747
|
-
export { type Address, AlphabeticProxy, AlphanumericProxy, AppExtension, type AppExtensionLocaleResources, AppUtilityProxy, type BaseParameterDescriptor,
|
|
1769
|
+
export { type Address, AlphabeticProxy, AlphanumericProxy, AppExtension, type AppExtensionLocaleResources, AppUtilityProxy, type BaseParameterDescriptor, CharacterSetCreatorProxy, CharacterSetValidatorProxy, type ClassDescriptor, type ErrorExtends, type ExtendsParameterDescriptor, type FunctionLocalization, index as GS1, Generator, HexadecimalProxy, LibProxy, type Localization, type LocalizationDescriptor, type Matrix, type MatrixResultError, type MethodDescriptor, NumericProxy, type ParameterDescriptor, type ParameterLocalization, ProxyClass, type ProxyClassDescriptor, type ProxyFunctionDescriptor, ProxyMethod, type ProxyNamespaceDescriptor, type ProxyObjectDescriptor, ProxyParameter, type ProxyParameterDescriptor, type Range, RegExpProxy, type ResultError, type Sheet, type SheetAddress, type SheetRange, TransformerProxy, type Type, type TypeKey, Types, appExtensionNS, appExtensionResources, expandParameterDescriptor, getClassDescriptorsMap, i18nAppExtensionInit, i18nextAppExtension };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { I18nEnvironment, TypedSyncFunction, TypedFunction, TypedAsyncFunction, Nullishable } from '@aidc-toolkit/core';
|
|
2
2
|
import { Resource, i18n } from 'i18next';
|
|
3
|
-
import { StringValidation, StringValidator,
|
|
4
|
-
import {
|
|
3
|
+
import { StringValidation, StringValidator, CharacterSetValidator, Exclusion, CharacterSetCreator } from '@aidc-toolkit/utility';
|
|
4
|
+
import { NumericIdentifierType, IdentifierType, IdentifierTypeValidator, IdentifierTypes, GTINLevel, NonGTINNumericIdentifierType, SerializableNumericIdentifierType, NonNumericIdentifierType, NonNumericIdentifierValidation, PrefixType, NumericIdentifierDescriptor, NumericIdentifierCreator, IdentifierDescriptor, IdentifierValidation, IdentifierCreator, PrefixManager, NumericIdentifierValidation, GTINDescriptor, GTINCreator, NonGTINNumericIdentifierDescriptor, NonGTINNumericIdentifierCreator, SerializableNumericIdentifierDescriptor, SerializableNumericIdentifierCreator, NonNumericIdentifierDescriptor, NonNumericIdentifierCreator } from '@aidc-toolkit/gs1';
|
|
5
5
|
|
|
6
6
|
declare const _default: {
|
|
7
7
|
AppExtension: {
|
|
@@ -17,6 +17,7 @@ declare const _default: {
|
|
|
17
17
|
prefixDefinitionMustHaveMaximumThreeElements: string;
|
|
18
18
|
prefixMustBeString: string;
|
|
19
19
|
prefixTypeMustBeNumber: string;
|
|
20
|
+
invalidPrefixType: string;
|
|
20
21
|
tweakFactorMustBeNumber: string;
|
|
21
22
|
};
|
|
22
23
|
Parameters: {
|
|
@@ -359,6 +360,14 @@ declare const _default: {
|
|
|
359
360
|
name: string;
|
|
360
361
|
description: string;
|
|
361
362
|
};
|
|
363
|
+
validateAI64: {
|
|
364
|
+
name: string;
|
|
365
|
+
description: string;
|
|
366
|
+
};
|
|
367
|
+
isValidAI64: {
|
|
368
|
+
name: string;
|
|
369
|
+
description: string;
|
|
370
|
+
};
|
|
362
371
|
checkDigit: {
|
|
363
372
|
name: string;
|
|
364
373
|
description: string;
|
|
@@ -645,7 +654,7 @@ declare function i18nAppExtensionInit(environment: I18nEnvironment, debug?: bool
|
|
|
645
654
|
|
|
646
655
|
/**
|
|
647
656
|
* Type that error type is expected to extend. If the application framework reports errors through the throw/catch
|
|
648
|
-
* mechanism, the error type is expected to extend {@
|
|
657
|
+
* mechanism, the error type is expected to extend {@linkcode Error}. Otherwise, it may extend any object type.
|
|
649
658
|
*
|
|
650
659
|
* @template ThrowError
|
|
651
660
|
* If true, errors are reported through the throw/catch mechanism.
|
|
@@ -1064,10 +1073,14 @@ declare const Types: {
|
|
|
1064
1073
|
*/
|
|
1065
1074
|
readonly Any: 3;
|
|
1066
1075
|
};
|
|
1076
|
+
/**
|
|
1077
|
+
* Type key.
|
|
1078
|
+
*/
|
|
1079
|
+
type TypeKey = keyof typeof Types;
|
|
1067
1080
|
/**
|
|
1068
1081
|
* Type.
|
|
1069
1082
|
*/
|
|
1070
|
-
type Type = typeof Types[
|
|
1083
|
+
type Type = typeof Types[TypeKey];
|
|
1071
1084
|
/**
|
|
1072
1085
|
* Type descriptor.
|
|
1073
1086
|
*/
|
|
@@ -1285,32 +1298,39 @@ declare class RegExpProxy<ThrowError extends boolean, TError extends ErrorExtend
|
|
|
1285
1298
|
isValid(regExp: string, matrixSs: Matrix<string>): MatrixResultError<boolean, ThrowError, TError>;
|
|
1286
1299
|
}
|
|
1287
1300
|
|
|
1288
|
-
declare abstract class
|
|
1289
|
-
private readonly
|
|
1290
|
-
protected constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>,
|
|
1301
|
+
declare abstract class CharacterSetValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends StringProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1302
|
+
private readonly _characterSetValidator;
|
|
1303
|
+
protected constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>, characterSetValidator: CharacterSetValidator);
|
|
1291
1304
|
validate(matrixSs: Matrix<string>, exclusion: Nullishable<Exclusion>): MatrixResultError<string, ThrowError, TError>;
|
|
1292
1305
|
isValid(matrixSs: Matrix<string>, exclusion: Nullishable<Exclusion>): MatrixResultError<boolean, ThrowError, TError>;
|
|
1306
|
+
}
|
|
1307
|
+
declare abstract class CharacterSetCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends CharacterSetValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1308
|
+
private readonly _characterSetCreator;
|
|
1309
|
+
protected constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>, characterSetCreator: CharacterSetCreator);
|
|
1293
1310
|
create(length: number, matrixValues: Matrix<number | bigint>, exclusion: Nullishable<Exclusion>, tweak: Nullishable<number | bigint>): MatrixResultError<string, ThrowError, TError>;
|
|
1294
1311
|
createSequence(length: number, startValue: number, count: number, exclusion: Nullishable<Exclusion>, tweak: Nullishable<number | bigint>): Matrix<string>;
|
|
1295
1312
|
valueFor(matrixSs: Matrix<string>, exclusion: Nullishable<Exclusion>, tweak: Nullishable<number | bigint>): MatrixResultError<ResultError<TBigInt, ThrowError, TError>, ThrowError, TError>;
|
|
1296
1313
|
}
|
|
1297
|
-
declare class NumericProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends
|
|
1314
|
+
declare class NumericProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends CharacterSetCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1298
1315
|
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>);
|
|
1299
1316
|
}
|
|
1300
|
-
declare class HexadecimalProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends
|
|
1317
|
+
declare class HexadecimalProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends CharacterSetCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1301
1318
|
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>);
|
|
1302
1319
|
}
|
|
1303
|
-
declare class AlphabeticProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends
|
|
1320
|
+
declare class AlphabeticProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends CharacterSetCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1304
1321
|
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>);
|
|
1305
1322
|
}
|
|
1306
|
-
declare class AlphanumericProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends
|
|
1323
|
+
declare class AlphanumericProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends CharacterSetCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1307
1324
|
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>);
|
|
1308
1325
|
}
|
|
1309
1326
|
|
|
1310
|
-
declare class AI82Proxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends
|
|
1327
|
+
declare class AI82Proxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends CharacterSetCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1328
|
+
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>);
|
|
1329
|
+
}
|
|
1330
|
+
declare class AI39Proxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends CharacterSetCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1311
1331
|
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>);
|
|
1312
1332
|
}
|
|
1313
|
-
declare class
|
|
1333
|
+
declare class AI64Proxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends CharacterSetValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1314
1334
|
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>);
|
|
1315
1335
|
}
|
|
1316
1336
|
|
|
@@ -1323,21 +1343,21 @@ declare class CheckProxy<ThrowError extends boolean, TError extends ErrorExtends
|
|
|
1323
1343
|
hasValidCheckCharacterPair(matrixSs: Matrix<string>): MatrixResultError<boolean, ThrowError, TError>;
|
|
1324
1344
|
}
|
|
1325
1345
|
|
|
1326
|
-
declare abstract class IdentifierValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt,
|
|
1346
|
+
declare abstract class IdentifierValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt, TIdentifierType extends IdentifierType> extends StringProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1327
1347
|
private readonly _validator;
|
|
1328
|
-
protected constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>, validator:
|
|
1329
|
-
protected get validator():
|
|
1348
|
+
protected constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>, validator: IdentifierTypeValidator<TIdentifierType>);
|
|
1349
|
+
protected get validator(): IdentifierTypeValidator<TIdentifierType>;
|
|
1330
1350
|
}
|
|
1331
|
-
declare abstract class NumericIdentifierValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt,
|
|
1351
|
+
declare abstract class NumericIdentifierValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt, TNumericIdentifierType extends NumericIdentifierType> extends IdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt, TNumericIdentifierType> {
|
|
1332
1352
|
validate(matrixIdentifiers: Matrix<string>): MatrixResultError<string, ThrowError, TError>;
|
|
1333
1353
|
}
|
|
1334
|
-
declare abstract class GTINValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt,
|
|
1354
|
+
declare abstract class GTINValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt, typeof IdentifierTypes.GTIN> {
|
|
1335
1355
|
}
|
|
1336
|
-
declare abstract class NonGTINNumericIdentifierValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt,
|
|
1356
|
+
declare abstract class NonGTINNumericIdentifierValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt, TNonGTINNumericIdentifierType extends NonGTINNumericIdentifierType = NonGTINNumericIdentifierType> extends NumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt, TNonGTINNumericIdentifierType> {
|
|
1337
1357
|
}
|
|
1338
|
-
declare abstract class SerializableNumericIdentifierValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonGTINNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt,
|
|
1358
|
+
declare abstract class SerializableNumericIdentifierValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonGTINNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt, SerializableNumericIdentifierType> {
|
|
1339
1359
|
}
|
|
1340
|
-
declare abstract class NonNumericIdentifierValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends IdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt,
|
|
1360
|
+
declare abstract class NonNumericIdentifierValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends IdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt, NonNumericIdentifierType> {
|
|
1341
1361
|
validate(matrixIdentifiers: Matrix<string>, exclusion: Nullishable<NonNumericIdentifierValidation["exclusion"]>): MatrixResultError<string, ThrowError, TError>;
|
|
1342
1362
|
}
|
|
1343
1363
|
declare class GTIN13ValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends GTINValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
@@ -1358,10 +1378,10 @@ declare class GTINValidatorStaticProxy<ThrowError extends boolean, TError extend
|
|
|
1358
1378
|
validateGTIN14(matrixGTIN14s: Matrix<string>): Matrix<string>;
|
|
1359
1379
|
parseVariableMeasureRCN(format: string, matrixRCNs: Matrix<string>): MatrixResultError<number, ThrowError, TError>;
|
|
1360
1380
|
}
|
|
1361
|
-
declare class GLNValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonGTINNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt
|
|
1381
|
+
declare class GLNValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonGTINNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1362
1382
|
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>);
|
|
1363
1383
|
}
|
|
1364
|
-
declare class SSCCValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonGTINNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt
|
|
1384
|
+
declare class SSCCValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonGTINNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1365
1385
|
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>);
|
|
1366
1386
|
}
|
|
1367
1387
|
declare class GRAIValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends SerializableNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
@@ -1370,7 +1390,7 @@ declare class GRAIValidatorProxy<ThrowError extends boolean, TError extends Erro
|
|
|
1370
1390
|
declare class GIAIValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1371
1391
|
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>);
|
|
1372
1392
|
}
|
|
1373
|
-
declare class GSRNValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonGTINNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt
|
|
1393
|
+
declare class GSRNValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonGTINNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1374
1394
|
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>);
|
|
1375
1395
|
}
|
|
1376
1396
|
declare class GDTIValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends SerializableNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
@@ -1379,7 +1399,7 @@ declare class GDTIValidatorProxy<ThrowError extends boolean, TError extends Erro
|
|
|
1379
1399
|
declare class GINCValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1380
1400
|
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>);
|
|
1381
1401
|
}
|
|
1382
|
-
declare class GSINValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonGTINNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt
|
|
1402
|
+
declare class GSINValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonGTINNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1383
1403
|
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>);
|
|
1384
1404
|
}
|
|
1385
1405
|
declare class GCNValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends SerializableNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
@@ -1394,35 +1414,35 @@ declare class GMNValidatorProxy<ThrowError extends boolean, TError extends Error
|
|
|
1394
1414
|
declare class PrefixManagerProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends LibProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1395
1415
|
definePrefix(prefix: string, prefixType: Nullishable<PrefixType>, tweakFactor: Nullishable<number>): Matrix<unknown>;
|
|
1396
1416
|
}
|
|
1397
|
-
declare abstract class IdentifierCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt, TIdentifierCreator extends IdentifierCreator
|
|
1417
|
+
declare abstract class IdentifierCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt, TIdentifierDescriptor extends IdentifierDescriptor, TIdentifierValidation extends IdentifierValidation, TIdentifierCreator extends IdentifierCreator<TIdentifierDescriptor, TIdentifierValidation>> extends LibProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1398
1418
|
private static readonly PREFIX_TYPES;
|
|
1399
1419
|
private readonly _getCreator;
|
|
1400
1420
|
protected constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>, getCreator: (prefixManager: PrefixManager) => TIdentifierCreator);
|
|
1401
1421
|
protected getCreator(prefixDefinition: Matrix<unknown>): TIdentifierCreator;
|
|
1402
1422
|
}
|
|
1403
|
-
declare abstract class NumericIdentifierCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt, TNumericIdentifierCreator extends NumericIdentifierCreator
|
|
1423
|
+
declare abstract class NumericIdentifierCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt, TNumericIdentifierDescriptor extends NumericIdentifierDescriptor, TNumericIdentifierCreator extends NumericIdentifierCreator<TNumericIdentifierDescriptor>> extends IdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt, TNumericIdentifierDescriptor, NumericIdentifierValidation, TNumericIdentifierCreator> {
|
|
1404
1424
|
create(prefixDefinition: Matrix<unknown>, matrixValues: Matrix<number | bigint>, sparse: Nullishable<boolean>): MatrixResultError<string, ThrowError, TError>;
|
|
1405
1425
|
createSequence(prefixDefinition: Matrix<unknown>, startValue: number, count: number, sparse: Nullishable<boolean>): Matrix<string>;
|
|
1406
1426
|
createAll(prefixDefinition: Matrix<unknown>): Matrix<string>;
|
|
1407
1427
|
}
|
|
1408
|
-
declare abstract class NonGTINNumericIdentifierCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt, TNonGTINNumericIdentifierCreator extends NonGTINNumericIdentifierCreator> extends NumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt, TNonGTINNumericIdentifierCreator> {
|
|
1428
|
+
declare abstract class NonGTINNumericIdentifierCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt, TNonGTINNumericIdentifierDescriptor extends NonGTINNumericIdentifierDescriptor, TNonGTINNumericIdentifierCreator extends NonGTINNumericIdentifierCreator> extends NumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt, TNonGTINNumericIdentifierDescriptor, TNonGTINNumericIdentifierCreator> {
|
|
1409
1429
|
}
|
|
1410
|
-
declare abstract class SerializableNumericIdentifierCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonGTINNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt, SerializableNumericIdentifierCreator> {
|
|
1430
|
+
declare abstract class SerializableNumericIdentifierCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonGTINNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt, SerializableNumericIdentifierDescriptor, SerializableNumericIdentifierCreator> {
|
|
1411
1431
|
createSerialized(prefixDefinition: Matrix<unknown>, value: number, matrixSerialComponents: Matrix<string>, sparse: Nullishable<boolean>): MatrixResultError<string, ThrowError, TError>;
|
|
1412
1432
|
concatenate(baseIdentifier: string, matrixSerialComponents: Matrix<string>): MatrixResultError<string, ThrowError, TError>;
|
|
1413
1433
|
}
|
|
1414
|
-
declare abstract class NonNumericIdentifierCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends IdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt, NonNumericIdentifierCreator> {
|
|
1434
|
+
declare abstract class NonNumericIdentifierCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends IdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt, NonNumericIdentifierDescriptor, NonNumericIdentifierValidation, NonNumericIdentifierCreator> {
|
|
1415
1435
|
create(prefixDefinition: Matrix<unknown>, matrixReferences: Matrix<string>): MatrixResultError<string, ThrowError, TError>;
|
|
1416
1436
|
}
|
|
1417
|
-
declare class GTINCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt, GTINCreator> {
|
|
1437
|
+
declare class GTINCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt, GTINDescriptor, GTINCreator> {
|
|
1418
1438
|
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>);
|
|
1419
1439
|
createGTIN14(indicatorDigit: string, prefixDefinition: Matrix<unknown>, matrixValues: Matrix<number | bigint>, sparse: Nullishable<boolean>): MatrixResultError<string, ThrowError, TError>;
|
|
1420
1440
|
createVariableMeasureRCN(format: string, itemReference: number, matrixPricesOrWeights: Matrix<number>): MatrixResultError<string, ThrowError, TError>;
|
|
1421
1441
|
}
|
|
1422
|
-
declare class GLNCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonGTINNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt, NonGTINNumericIdentifierCreator> {
|
|
1442
|
+
declare class GLNCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonGTINNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt, NonGTINNumericIdentifierDescriptor, NonGTINNumericIdentifierCreator> {
|
|
1423
1443
|
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>);
|
|
1424
1444
|
}
|
|
1425
|
-
declare class SSCCCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonGTINNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt, NonGTINNumericIdentifierCreator> {
|
|
1445
|
+
declare class SSCCCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonGTINNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt, NonGTINNumericIdentifierDescriptor, NonGTINNumericIdentifierCreator> {
|
|
1426
1446
|
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>);
|
|
1427
1447
|
}
|
|
1428
1448
|
declare class GRAICreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends SerializableNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
@@ -1431,7 +1451,7 @@ declare class GRAICreatorProxy<ThrowError extends boolean, TError extends ErrorE
|
|
|
1431
1451
|
declare class GIAICreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1432
1452
|
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>);
|
|
1433
1453
|
}
|
|
1434
|
-
declare class GSRNCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonGTINNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt, NonGTINNumericIdentifierCreator> {
|
|
1454
|
+
declare class GSRNCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonGTINNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt, NonGTINNumericIdentifierDescriptor, NonGTINNumericIdentifierCreator> {
|
|
1435
1455
|
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>);
|
|
1436
1456
|
}
|
|
1437
1457
|
declare class GDTICreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends SerializableNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
@@ -1440,7 +1460,7 @@ declare class GDTICreatorProxy<ThrowError extends boolean, TError extends ErrorE
|
|
|
1440
1460
|
declare class GINCCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1441
1461
|
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>);
|
|
1442
1462
|
}
|
|
1443
|
-
declare class GSINCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonGTINNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt, NonGTINNumericIdentifierCreator> {
|
|
1463
|
+
declare class GSINCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonGTINNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt, NonGTINNumericIdentifierDescriptor, NonGTINNumericIdentifierCreator> {
|
|
1444
1464
|
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>);
|
|
1445
1465
|
}
|
|
1446
1466
|
declare class GCNCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends SerializableNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
@@ -1455,6 +1475,8 @@ declare class GMNCreatorProxy<ThrowError extends boolean, TError extends ErrorEx
|
|
|
1455
1475
|
|
|
1456
1476
|
type index_AI39Proxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> = AI39Proxy<ThrowError, TError, TInvocationContext, TBigInt>;
|
|
1457
1477
|
declare const index_AI39Proxy: typeof AI39Proxy;
|
|
1478
|
+
type index_AI64Proxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> = AI64Proxy<ThrowError, TError, TInvocationContext, TBigInt>;
|
|
1479
|
+
declare const index_AI64Proxy: typeof AI64Proxy;
|
|
1458
1480
|
type index_AI82Proxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> = AI82Proxy<ThrowError, TError, TInvocationContext, TBigInt>;
|
|
1459
1481
|
declare const index_AI82Proxy: typeof AI82Proxy;
|
|
1460
1482
|
type index_CPIDCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> = CPIDCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt>;
|
|
@@ -1516,7 +1538,7 @@ declare const index_SSCCCreatorProxy: typeof SSCCCreatorProxy;
|
|
|
1516
1538
|
type index_SSCCValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> = SSCCValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt>;
|
|
1517
1539
|
declare const index_SSCCValidatorProxy: typeof SSCCValidatorProxy;
|
|
1518
1540
|
declare namespace index {
|
|
1519
|
-
export { index_AI39Proxy as AI39Proxy, 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 };
|
|
1541
|
+
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 };
|
|
1520
1542
|
}
|
|
1521
1543
|
|
|
1522
1544
|
/**
|
|
@@ -1744,4 +1766,4 @@ declare abstract class Generator {
|
|
|
1744
1766
|
generate(): Promise<void>;
|
|
1745
1767
|
}
|
|
1746
1768
|
|
|
1747
|
-
export { type Address, AlphabeticProxy, AlphanumericProxy, AppExtension, type AppExtensionLocaleResources, AppUtilityProxy, type BaseParameterDescriptor,
|
|
1769
|
+
export { type Address, AlphabeticProxy, AlphanumericProxy, AppExtension, type AppExtensionLocaleResources, AppUtilityProxy, type BaseParameterDescriptor, CharacterSetCreatorProxy, CharacterSetValidatorProxy, type ClassDescriptor, type ErrorExtends, type ExtendsParameterDescriptor, type FunctionLocalization, index as GS1, Generator, HexadecimalProxy, LibProxy, type Localization, type LocalizationDescriptor, type Matrix, type MatrixResultError, type MethodDescriptor, NumericProxy, type ParameterDescriptor, type ParameterLocalization, ProxyClass, type ProxyClassDescriptor, type ProxyFunctionDescriptor, ProxyMethod, type ProxyNamespaceDescriptor, type ProxyObjectDescriptor, ProxyParameter, type ProxyParameterDescriptor, type Range, RegExpProxy, type ResultError, type Sheet, type SheetAddress, type SheetRange, TransformerProxy, type Type, type TypeKey, Types, appExtensionNS, appExtensionResources, expandParameterDescriptor, getClassDescriptorsMap, i18nAppExtensionInit, i18nextAppExtension };
|