@aidc-toolkit/app-extension 1.0.48-beta → 1.0.49

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (181) hide show
  1. package/dist/character-set-proxy-BOW94WCe.d.cts +473 -0
  2. package/dist/character-set-proxy-BOW94WCe.d.ts +473 -0
  3. package/dist/chunk-22IRLVWO.js +1 -0
  4. package/dist/chunk-MR63TJ3B.js +1 -0
  5. package/dist/chunk-TWX7TPRC.js +1 -0
  6. package/dist/{descriptor.d.ts → descriptor-D6tZH-vc.d.cts} +13 -13
  7. package/dist/descriptor-D6tZH-vc.d.ts +185 -0
  8. package/dist/generator/index.cjs +17 -0
  9. package/dist/generator/index.d.cts +240 -0
  10. package/dist/generator/index.d.ts +239 -17
  11. package/dist/generator/index.js +1 -2
  12. package/dist/gs1/index.cjs +1 -0
  13. package/dist/gs1/index.d.cts +185 -0
  14. package/dist/gs1/index.d.ts +185 -11
  15. package/dist/gs1/index.js +1 -11
  16. package/dist/index.cjs +17 -0
  17. package/dist/{locale/en/locale-resources.d.ts → index.d.cts} +113 -2
  18. package/dist/index.d.ts +862 -21
  19. package/dist/index.js +1 -7
  20. package/package.json +5 -5
  21. package/src/app-extension.ts +29 -0
  22. package/src/app-helper-proxy.ts +45 -7
  23. package/src/generator/functions-generator.ts +292 -0
  24. package/src/generator/generator.ts +9 -29
  25. package/src/generator/index.ts +1 -0
  26. package/src/generator/locale-resources-generator.ts +9 -7
  27. package/src/gs1/check-proxy.ts +3 -3
  28. package/src/gs1/gtin-validator-proxy.ts +2 -2
  29. package/src/gs1/identifier-validator-proxy.ts +2 -2
  30. package/src/locale/fr/locale-resources.ts +2 -2
  31. package/src/locale/i18n.ts +5 -5
  32. package/src/version.ts +4 -0
  33. package/tsconfig-src.tsbuildinfo +1 -1
  34. package/dist/app-extension.d.ts +0 -198
  35. package/dist/app-extension.d.ts.map +0 -1
  36. package/dist/app-extension.js +0 -133
  37. package/dist/app-extension.js.map +0 -1
  38. package/dist/app-helper-proxy.d.ts +0 -61
  39. package/dist/app-helper-proxy.d.ts.map +0 -1
  40. package/dist/app-helper-proxy.js +0 -333
  41. package/dist/app-helper-proxy.js.map +0 -1
  42. package/dist/descriptor.d.ts.map +0 -1
  43. package/dist/descriptor.js +0 -44
  44. package/dist/descriptor.js.map +0 -1
  45. package/dist/generator/generator.d.ts +0 -124
  46. package/dist/generator/generator.d.ts.map +0 -1
  47. package/dist/generator/generator.js +0 -198
  48. package/dist/generator/generator.js.map +0 -1
  49. package/dist/generator/index.d.ts.map +0 -1
  50. package/dist/generator/index.js.map +0 -1
  51. package/dist/generator/locale-resources-generator.d.ts +0 -2
  52. package/dist/generator/locale-resources-generator.d.ts.map +0 -1
  53. package/dist/generator/locale-resources-generator.js +0 -312
  54. package/dist/generator/locale-resources-generator.js.map +0 -1
  55. package/dist/gs1/character-set-proxy.d.ts +0 -13
  56. package/dist/gs1/character-set-proxy.d.ts.map +0 -1
  57. package/dist/gs1/character-set-proxy.js +0 -126
  58. package/dist/gs1/character-set-proxy.js.map +0 -1
  59. package/dist/gs1/check-proxy.d.ts +0 -11
  60. package/dist/gs1/check-proxy.d.ts.map +0 -1
  61. package/dist/gs1/check-proxy.js +0 -163
  62. package/dist/gs1/check-proxy.js.map +0 -1
  63. package/dist/gs1/gcp-length-proxy.d.ts +0 -11
  64. package/dist/gs1/gcp-length-proxy.d.ts.map +0 -1
  65. package/dist/gs1/gcp-length-proxy.js +0 -187
  66. package/dist/gs1/gcp-length-proxy.js.map +0 -1
  67. package/dist/gs1/gtin-creator-proxy.d.ts +0 -10
  68. package/dist/gs1/gtin-creator-proxy.d.ts.map +0 -1
  69. package/dist/gs1/gtin-creator-proxy.js +0 -85
  70. package/dist/gs1/gtin-creator-proxy.js.map +0 -1
  71. package/dist/gs1/gtin-descriptor.d.ts +0 -3
  72. package/dist/gs1/gtin-descriptor.d.ts.map +0 -1
  73. package/dist/gs1/gtin-descriptor.js +0 -8
  74. package/dist/gs1/gtin-descriptor.js.map +0 -1
  75. package/dist/gs1/gtin-validator-proxy.d.ts +0 -26
  76. package/dist/gs1/gtin-validator-proxy.d.ts.map +0 -1
  77. package/dist/gs1/gtin-validator-proxy.js +0 -256
  78. package/dist/gs1/gtin-validator-proxy.js.map +0 -1
  79. package/dist/gs1/identifier-creator-proxy.d.ts +0 -30
  80. package/dist/gs1/identifier-creator-proxy.d.ts.map +0 -1
  81. package/dist/gs1/identifier-creator-proxy.js +0 -318
  82. package/dist/gs1/identifier-creator-proxy.js.map +0 -1
  83. package/dist/gs1/identifier-descriptor.d.ts +0 -4
  84. package/dist/gs1/identifier-descriptor.d.ts.map +0 -1
  85. package/dist/gs1/identifier-descriptor.js +0 -14
  86. package/dist/gs1/identifier-descriptor.js.map +0 -1
  87. package/dist/gs1/identifier-type.d.ts +0 -22
  88. package/dist/gs1/identifier-type.d.ts.map +0 -1
  89. package/dist/gs1/identifier-type.js +0 -34
  90. package/dist/gs1/identifier-type.js.map +0 -1
  91. package/dist/gs1/identifier-validator-proxy.d.ts +0 -29
  92. package/dist/gs1/identifier-validator-proxy.d.ts.map +0 -1
  93. package/dist/gs1/identifier-validator-proxy.js +0 -212
  94. package/dist/gs1/identifier-validator-proxy.js.map +0 -1
  95. package/dist/gs1/index.d.ts.map +0 -1
  96. package/dist/gs1/index.js.map +0 -1
  97. package/dist/gs1/non-gtin-creator-proxy.d.ts +0 -38
  98. package/dist/gs1/non-gtin-creator-proxy.d.ts.map +0 -1
  99. package/dist/gs1/non-gtin-creator-proxy.js +0 -301
  100. package/dist/gs1/non-gtin-creator-proxy.js.map +0 -1
  101. package/dist/gs1/non-gtin-validator-proxy.d.ts +0 -37
  102. package/dist/gs1/non-gtin-validator-proxy.d.ts.map +0 -1
  103. package/dist/gs1/non-gtin-validator-proxy.js +0 -302
  104. package/dist/gs1/non-gtin-validator-proxy.js.map +0 -1
  105. package/dist/gs1/prefix-definition-descriptor.d.ts +0 -4
  106. package/dist/gs1/prefix-definition-descriptor.d.ts.map +0 -1
  107. package/dist/gs1/prefix-definition-descriptor.js +0 -16
  108. package/dist/gs1/prefix-definition-descriptor.js.map +0 -1
  109. package/dist/gs1/prefix-manager-proxy.d.ts +0 -8
  110. package/dist/gs1/prefix-manager-proxy.d.ts.map +0 -1
  111. package/dist/gs1/prefix-manager-proxy.js +0 -94
  112. package/dist/gs1/prefix-manager-proxy.js.map +0 -1
  113. package/dist/gs1/variable-measure-proxy.d.ts +0 -7
  114. package/dist/gs1/variable-measure-proxy.d.ts.map +0 -1
  115. package/dist/gs1/variable-measure-proxy.js +0 -114
  116. package/dist/gs1/variable-measure-proxy.js.map +0 -1
  117. package/dist/gs1/verified-by-gs1-proxy.d.ts +0 -7
  118. package/dist/gs1/verified-by-gs1-proxy.d.ts.map +0 -1
  119. package/dist/gs1/verified-by-gs1-proxy.js +0 -106
  120. package/dist/gs1/verified-by-gs1-proxy.js.map +0 -1
  121. package/dist/index.d.ts.map +0 -1
  122. package/dist/index.js.map +0 -1
  123. package/dist/lib-proxy.d.ts +0 -135
  124. package/dist/lib-proxy.d.ts.map +0 -1
  125. package/dist/lib-proxy.js +0 -276
  126. package/dist/lib-proxy.js.map +0 -1
  127. package/dist/locale/en/locale-resources.d.ts.map +0 -1
  128. package/dist/locale/en/locale-resources.js +0 -754
  129. package/dist/locale/en/locale-resources.js.map +0 -1
  130. package/dist/locale/fr/locale-resources.d.ts +0 -755
  131. package/dist/locale/fr/locale-resources.d.ts.map +0 -1
  132. package/dist/locale/fr/locale-resources.js +0 -754
  133. package/dist/locale/fr/locale-resources.js.map +0 -1
  134. package/dist/locale/i18n.d.ts +0 -27
  135. package/dist/locale/i18n.d.ts.map +0 -1
  136. package/dist/locale/i18n.js +0 -36
  137. package/dist/locale/i18n.js.map +0 -1
  138. package/dist/proxy.d.ts +0 -136
  139. package/dist/proxy.d.ts.map +0 -1
  140. package/dist/proxy.js +0 -291
  141. package/dist/proxy.js.map +0 -1
  142. package/dist/streaming.d.ts +0 -10
  143. package/dist/streaming.d.ts.map +0 -1
  144. package/dist/streaming.js +0 -2
  145. package/dist/streaming.js.map +0 -1
  146. package/dist/type.d.ts +0 -91
  147. package/dist/type.d.ts.map +0 -1
  148. package/dist/type.js +0 -2
  149. package/dist/type.js.map +0 -1
  150. package/dist/utility/character-set-descriptor.d.ts +0 -6
  151. package/dist/utility/character-set-descriptor.d.ts.map +0 -1
  152. package/dist/utility/character-set-descriptor.js +0 -28
  153. package/dist/utility/character-set-descriptor.js.map +0 -1
  154. package/dist/utility/character-set-proxy.d.ts +0 -31
  155. package/dist/utility/character-set-proxy.d.ts.map +0 -1
  156. package/dist/utility/character-set-proxy.js +0 -278
  157. package/dist/utility/character-set-proxy.js.map +0 -1
  158. package/dist/utility/index.d.ts +0 -4
  159. package/dist/utility/index.d.ts.map +0 -1
  160. package/dist/utility/index.js +0 -4
  161. package/dist/utility/index.js.map +0 -1
  162. package/dist/utility/reg-exp-proxy.d.ts +0 -8
  163. package/dist/utility/reg-exp-proxy.d.ts.map +0 -1
  164. package/dist/utility/reg-exp-proxy.js +0 -103
  165. package/dist/utility/reg-exp-proxy.js.map +0 -1
  166. package/dist/utility/string-descriptor.d.ts +0 -4
  167. package/dist/utility/string-descriptor.d.ts.map +0 -1
  168. package/dist/utility/string-descriptor.js +0 -12
  169. package/dist/utility/string-descriptor.js.map +0 -1
  170. package/dist/utility/string-proxy.d.ts +0 -7
  171. package/dist/utility/string-proxy.d.ts.map +0 -1
  172. package/dist/utility/string-proxy.js +0 -63
  173. package/dist/utility/string-proxy.js.map +0 -1
  174. package/dist/utility/transformer-descriptor.d.ts +0 -6
  175. package/dist/utility/transformer-descriptor.d.ts.map +0 -1
  176. package/dist/utility/transformer-descriptor.js +0 -24
  177. package/dist/utility/transformer-descriptor.js.map +0 -1
  178. package/dist/utility/transformer-proxy.d.ts +0 -9
  179. package/dist/utility/transformer-proxy.d.ts.map +0 -1
  180. package/dist/utility/transformer-proxy.js +0 -111
  181. package/dist/utility/transformer-proxy.js.map +0 -1
package/dist/type.d.ts DELETED
@@ -1,91 +0,0 @@
1
- /**
2
- * Type that error type is expected to extend. If the application framework reports errors through the throw/catch
3
- * mechanism, the error type is expected to extend {@linkcode Error}. Otherwise, it may extend any object type.
4
- *
5
- * @template ThrowError
6
- * If true, errors are reported through the throw/catch mechanism.
7
- */
8
- export type ErrorExtends<ThrowError extends boolean> = ThrowError extends true ? Error : object;
9
- /**
10
- * Sheet.
11
- */
12
- export interface Sheet {
13
- /**
14
- * Sheet name.
15
- */
16
- readonly name: string;
17
- }
18
- /**
19
- * Single cell address.
20
- */
21
- export interface Address {
22
- /**
23
- * Zero-indexed row.
24
- */
25
- readonly rowIndex: number;
26
- /**
27
- * Zero-indexed column.
28
- */
29
- readonly columnIndex: number;
30
- }
31
- /**
32
- * Sheet address.
33
- */
34
- export interface SheetAddress extends Sheet, Address {
35
- }
36
- /**
37
- * Range of cells.
38
- */
39
- export interface Range {
40
- /**
41
- * Start address, inclusive.
42
- */
43
- readonly startAddress: Address;
44
- /**
45
- * End address, exclusive.
46
- */
47
- readonly endAddress: Address;
48
- }
49
- /**
50
- * Sheet range.
51
- */
52
- export interface SheetRange extends Sheet, Range {
53
- }
54
- /**
55
- * Matrix type; shorthand for defining a two-dimensional matrix (array of array) of a type.
56
- *
57
- * @template T
58
- * Type.
59
- */
60
- export type Matrix<T> = T[][];
61
- /**
62
- * Function singleton return, possibly including an error return. If the application extension reports errors through
63
- * the return value, the result is the union of the return type and the error type; otherwise, it's just the return
64
- * type.
65
- *
66
- * @template TResult
67
- * Result type.
68
- *
69
- * @template ThrowError
70
- * If true, errors are reported through the throw/catch mechanism.
71
- *
72
- * @template TError
73
- * Error type.
74
- */
75
- export type SingletonResult<TResult, ThrowError extends boolean, TError extends ErrorExtends<ThrowError>> = ThrowError extends false ? TResult | TError : TResult;
76
- /**
77
- * Function matrix return, possibly including an error return in each element. If the application extension reports
78
- * errors through the return value, the individual element result is the union of the return type and the error type;
79
- * otherwise, it's just the return type.
80
- *
81
- * @template TResult
82
- * Result type.
83
- *
84
- * @template ThrowError
85
- * If true, errors are reported through the throw/catch mechanism.
86
- *
87
- * @template TError
88
- * Error type.
89
- */
90
- export type MatrixResult<TResult, ThrowError extends boolean, TError extends ErrorExtends<ThrowError>> = Matrix<SingletonResult<TResult, ThrowError, TError>>;
91
- //# sourceMappingURL=type.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../src/type.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,MAAM,MAAM,YAAY,CAAC,UAAU,SAAS,OAAO,IAAI,UAAU,SAAS,IAAI,GAAG,KAAK,GAAG,MAAM,CAAC;AAEhG;;GAEG;AACH,MAAM,WAAW,KAAK;IAClB;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACzB;AAED;;GAEG;AACH,MAAM,WAAW,OAAO;IACpB;;OAEG;IACH,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAE1B;;OAEG;IACH,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;CAChC;AAED;;GAEG;AACH,MAAM,WAAW,YAAa,SAAQ,KAAK,EAAE,OAAO;CACnD;AAED;;GAEG;AACH,MAAM,WAAW,KAAK;IAClB;;OAEG;IACH,QAAQ,CAAC,YAAY,EAAE,OAAO,CAAC;IAE/B;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,OAAO,CAAC;CAChC;AAED;;GAEG;AACH,MAAM,WAAW,UAAW,SAAQ,KAAK,EAAE,KAAK;CAC/C;AAED;;;;;GAKG;AACH,MAAM,MAAM,MAAM,CAAC,CAAC,IAAI,CAAC,EAAE,EAAE,CAAC;AAE9B;;;;;;;;;;;;;GAaG;AACH,MAAM,MAAM,eAAe,CAAC,OAAO,EAAE,UAAU,SAAS,OAAO,EAAE,MAAM,SAAS,YAAY,CAAC,UAAU,CAAC,IAAI,UAAU,SAAS,KAAK,GAAG,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC;AAElK;;;;;;;;;;;;;GAaG;AACH,MAAM,MAAM,YAAY,CAAC,OAAO,EAAE,UAAU,SAAS,OAAO,EAAE,MAAM,SAAS,YAAY,CAAC,UAAU,CAAC,IAAI,MAAM,CAAC,eAAe,CAAC,OAAO,EAAE,UAAU,EAAE,MAAM,CAAC,CAAC,CAAC"}
package/dist/type.js DELETED
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=type.js.map
package/dist/type.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"type.js","sourceRoot":"","sources":["../src/type.ts"],"names":[],"mappings":""}
@@ -1,6 +0,0 @@
1
- import { type ExtendsParameterDescriptor } from "../descriptor.js";
2
- export declare const exclusionNoneParameterDescriptor: ExtendsParameterDescriptor;
3
- export declare const exclusionFirstZeroParameterDescriptor: ExtendsParameterDescriptor;
4
- export declare const exclusionAllNumericParameterDescriptor: ExtendsParameterDescriptor;
5
- export declare const exclusionAnyParameterDescriptor: ExtendsParameterDescriptor;
6
- //# sourceMappingURL=character-set-descriptor.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"character-set-descriptor.d.ts","sourceRoot":"","sources":["../../src/utility/character-set-descriptor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,0BAA0B,EAAmD,MAAM,kBAAkB,CAAC;AASpH,eAAO,MAAM,gCAAgC,EAAE,0BAI9C,CAAC;AAEF,eAAO,MAAM,qCAAqC,EAAE,0BAInD,CAAC;AAEF,eAAO,MAAM,sCAAsC,EAAE,0BAIpD,CAAC;AAEF,eAAO,MAAM,+BAA+B,EAAE,0BAI7C,CAAC"}
@@ -1,28 +0,0 @@
1
- import { Multiplicities, Types } from "../descriptor.js";
2
- const exclusionParameterDescriptor = {
3
- name: "exclusion",
4
- type: Types.Number,
5
- multiplicity: Multiplicities.Singleton,
6
- isRequired: false
7
- };
8
- export const exclusionNoneParameterDescriptor = {
9
- extendsDescriptor: exclusionParameterDescriptor,
10
- sortOrder: 0,
11
- name: "exclusionNone"
12
- };
13
- export const exclusionFirstZeroParameterDescriptor = {
14
- extendsDescriptor: exclusionParameterDescriptor,
15
- sortOrder: 1,
16
- name: "exclusionFirstZero"
17
- };
18
- export const exclusionAllNumericParameterDescriptor = {
19
- extendsDescriptor: exclusionParameterDescriptor,
20
- sortOrder: 2,
21
- name: "exclusionAllNumeric"
22
- };
23
- export const exclusionAnyParameterDescriptor = {
24
- extendsDescriptor: exclusionParameterDescriptor,
25
- sortOrder: 3,
26
- name: "exclusionAny"
27
- };
28
- //# sourceMappingURL=character-set-descriptor.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"character-set-descriptor.js","sourceRoot":"","sources":["../../src/utility/character-set-descriptor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmC,cAAc,EAA4B,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAEpH,MAAM,4BAA4B,GAAwB;IACtD,IAAI,EAAE,WAAW;IACjB,IAAI,EAAE,KAAK,CAAC,MAAM;IAClB,YAAY,EAAE,cAAc,CAAC,SAAS;IACtC,UAAU,EAAE,KAAK;CACpB,CAAC;AAEF,MAAM,CAAC,MAAM,gCAAgC,GAA+B;IACxE,iBAAiB,EAAE,4BAA4B;IAC/C,SAAS,EAAE,CAAC;IACZ,IAAI,EAAE,eAAe;CACxB,CAAC;AAEF,MAAM,CAAC,MAAM,qCAAqC,GAA+B;IAC7E,iBAAiB,EAAE,4BAA4B;IAC/C,SAAS,EAAE,CAAC;IACZ,IAAI,EAAE,oBAAoB;CAC7B,CAAC;AAEF,MAAM,CAAC,MAAM,sCAAsC,GAA+B;IAC9E,iBAAiB,EAAE,4BAA4B;IAC/C,SAAS,EAAE,CAAC;IACZ,IAAI,EAAE,qBAAqB;CAC9B,CAAC;AAEF,MAAM,CAAC,MAAM,+BAA+B,GAA+B;IACvE,iBAAiB,EAAE,4BAA4B;IAC/C,SAAS,EAAE,CAAC;IACZ,IAAI,EAAE,cAAc;CACvB,CAAC"}
@@ -1,31 +0,0 @@
1
- import type { Nullishable } from "@aidc-toolkit/core";
2
- import { type CharacterSetCreator, type CharacterSetValidator, type Exclusion } from "@aidc-toolkit/utility";
3
- import type { AppExtension } from "../app-extension.js";
4
- import type { ErrorExtends, Matrix, MatrixResult } from "../type.js";
5
- import { StringProxy } from "./string-proxy.js";
6
- export declare abstract class CharacterSetValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends StringProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
7
- #private;
8
- constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>, characterSetValidator: CharacterSetValidator);
9
- validate(matrixSs: Matrix<string>, exclusion: Nullishable<Exclusion>): Matrix<string>;
10
- isValid(matrixSs: Matrix<string>, exclusion: Nullishable<Exclusion>): Matrix<boolean>;
11
- }
12
- export declare abstract class CharacterSetCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends CharacterSetValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
13
- #private;
14
- constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>, characterSetCreator: CharacterSetCreator);
15
- create(length: number, matrixValues: Matrix<number | bigint>, exclusion: Nullishable<Exclusion>, tweak: Nullishable<number | bigint>): MatrixResult<string, ThrowError, TError>;
16
- createSequence(length: number, startValue: number, count: number, exclusion: Nullishable<Exclusion>, tweak: Nullishable<number | bigint>): MatrixResult<string, ThrowError, TError>;
17
- valueFor(matrixSs: Matrix<string>, exclusion: Nullishable<Exclusion>, tweak: Nullishable<number | bigint>): MatrixResult<TBigInt, ThrowError, TError>;
18
- }
19
- export declare class NumericProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends CharacterSetCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
20
- constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
21
- }
22
- export declare class HexadecimalProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends CharacterSetCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
23
- constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
24
- }
25
- export declare class AlphabeticProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends CharacterSetCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
26
- constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
27
- }
28
- export declare class AlphanumericProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends CharacterSetCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
29
- constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
30
- }
31
- //# sourceMappingURL=character-set-proxy.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"character-set-proxy.d.ts","sourceRoot":"","sources":["../../src/utility/character-set-proxy.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAGH,KAAK,mBAAmB,EAExB,KAAK,qBAAqB,EAC1B,KAAK,SAAS,EAIjB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAGxD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAOrE,OAAO,EAAE,WAAW,EA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,wBAAwB,CAAC,UAAU,EAAE,MAAM,EAAE,kBAAkB,EAAE,2BAA2B,EAAE,OAAO,CAAC;gBAC1P,YAAY,EAAE,YAAY,CAAC,UAAU,EAAE,MAAM,EAAE,kBAAkB,EAAE,2BAA2B,EAAE,OAAO,CAAC;CAGvH;AAED,qBASa,iBAAiB,CAAC,UAAU,SAAS,OAAO,EAAE,MAAM,SAAS,YAAY,CAAC,UAAU,CAAC,EAAE,kBAAkB,EAAE,2BAA2B,EAAE,OAAO,CAAE,SAAQ,wBAAwB,CAAC,UAAU,EAAE,MAAM,EAAE,kBAAkB,EAAE,2BAA2B,EAAE,OAAO,CAAC;gBAC5P,YAAY,EAAE,YAAY,CAAC,UAAU,EAAE,MAAM,EAAE,kBAAkB,EAAE,2BAA2B,EAAE,OAAO,CAAC;CAGvH"}
@@ -1,278 +0,0 @@
1
- var __runInitializers = (this && this.__runInitializers) || function (thisArg, initializers, value) {
2
- var useValue = arguments.length > 2;
3
- for (var i = 0; i < initializers.length; i++) {
4
- value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
5
- }
6
- return useValue ? value : void 0;
7
- };
8
- var __esDecorate = (this && this.__esDecorate) || function (ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
9
- function accept(f) { if (f !== void 0 && typeof f !== "function") throw new TypeError("Function expected"); return f; }
10
- var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
11
- var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
12
- var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
13
- var _, done = false;
14
- for (var i = decorators.length - 1; i >= 0; i--) {
15
- var context = {};
16
- for (var p in contextIn) context[p] = p === "access" ? {} : contextIn[p];
17
- for (var p in contextIn.access) context.access[p] = contextIn.access[p];
18
- context.addInitializer = function (f) { if (done) throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); };
19
- var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);
20
- if (kind === "accessor") {
21
- if (result === void 0) continue;
22
- if (result === null || typeof result !== "object") throw new TypeError("Object expected");
23
- if (_ = accept(result.get)) descriptor.get = _;
24
- if (_ = accept(result.set)) descriptor.set = _;
25
- if (_ = accept(result.init)) initializers.unshift(_);
26
- }
27
- else if (_ = accept(result)) {
28
- if (kind === "field") initializers.unshift(_);
29
- else descriptor[key] = _;
30
- }
31
- }
32
- if (target) Object.defineProperty(target, contextIn.name, descriptor);
33
- done = true;
34
- };
35
- import { ALPHABETIC_CREATOR, ALPHANUMERIC_CREATOR, HEXADECIMAL_CREATOR, NUMERIC_CREATOR, Sequence } from "@aidc-toolkit/utility";
36
- import { Multiplicities, Types } from "../descriptor.js";
37
- import { expandParameterDescriptor, proxy } from "../proxy.js";
38
- import { exclusionAnyParameterDescriptor, exclusionFirstZeroParameterDescriptor, exclusionNoneParameterDescriptor } from "./character-set-descriptor.js";
39
- import { sParameterDescriptor, validateSParameterDescriptor } from "./string-descriptor.js";
40
- import { StringProxy } from "./string-proxy.js";
41
- import { countParameterDescriptor, startValueParameterDescriptor, tweakParameterDescriptor, valueParameterDescriptor } from "./transformer-descriptor.js";
42
- const lengthParameterDescriptor = {
43
- name: "length",
44
- type: Types.Number,
45
- multiplicity: Multiplicities.Singleton,
46
- isRequired: true
47
- };
48
- const valueForSParameterDescriptor = {
49
- extendsDescriptor: sParameterDescriptor,
50
- name: "valueForS"
51
- };
52
- let CharacterSetValidatorProxy = (() => {
53
- let _classDecorators = [proxy.describeClass(true)];
54
- let _classDescriptor;
55
- let _classExtraInitializers = [];
56
- let _classThis;
57
- let _classSuper = StringProxy;
58
- let _instanceExtraInitializers = [];
59
- let _validate_decorators;
60
- let _isValid_decorators;
61
- var CharacterSetValidatorProxy = class extends _classSuper {
62
- static { _classThis = this; }
63
- static {
64
- const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;
65
- _validate_decorators = [proxy.describeMethod({
66
- type: Types.String,
67
- multiplicity: Multiplicities.Matrix,
68
- parameterDescriptors: [validateSParameterDescriptor, exclusionNoneParameterDescriptor]
69
- })];
70
- _isValid_decorators = [proxy.describeMethod({
71
- type: Types.Boolean,
72
- multiplicity: Multiplicities.Matrix,
73
- parameterDescriptors: [validateSParameterDescriptor, exclusionNoneParameterDescriptor]
74
- })];
75
- __esDecorate(this, null, _validate_decorators, { kind: "method", name: "validate", static: false, private: false, access: { has: obj => "validate" in obj, get: obj => obj.validate }, metadata: _metadata }, null, _instanceExtraInitializers);
76
- __esDecorate(this, null, _isValid_decorators, { kind: "method", name: "isValid", static: false, private: false, access: { has: obj => "isValid" in obj, get: obj => obj.isValid }, metadata: _metadata }, null, _instanceExtraInitializers);
77
- __esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);
78
- CharacterSetValidatorProxy = _classThis = _classDescriptor.value;
79
- if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
80
- __runInitializers(_classThis, _classExtraInitializers);
81
- }
82
- #characterSetValidator = __runInitializers(this, _instanceExtraInitializers);
83
- constructor(appExtension, characterSetValidator) {
84
- super(appExtension);
85
- this.#characterSetValidator = characterSetValidator;
86
- }
87
- validate(matrixSs, exclusion) {
88
- return this.validateString(this.#characterSetValidator, matrixSs, {
89
- exclusion: exclusion ?? undefined
90
- });
91
- }
92
- isValid(matrixSs, exclusion) {
93
- return this.isValidString(this.validate(matrixSs, exclusion));
94
- }
95
- };
96
- return CharacterSetValidatorProxy = _classThis;
97
- })();
98
- export { CharacterSetValidatorProxy };
99
- let CharacterSetCreatorProxy = (() => {
100
- let _classDecorators = [proxy.describeClass(true)];
101
- let _classDescriptor;
102
- let _classExtraInitializers = [];
103
- let _classThis;
104
- let _classSuper = CharacterSetValidatorProxy;
105
- let _instanceExtraInitializers = [];
106
- let _create_decorators;
107
- let _createSequence_decorators;
108
- let _valueFor_decorators;
109
- var CharacterSetCreatorProxy = class extends _classSuper {
110
- static { _classThis = this; }
111
- static {
112
- const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;
113
- _create_decorators = [proxy.describeMethod({
114
- type: Types.String,
115
- multiplicity: Multiplicities.Matrix,
116
- parameterDescriptors: [lengthParameterDescriptor, valueParameterDescriptor, exclusionNoneParameterDescriptor, tweakParameterDescriptor]
117
- })];
118
- _createSequence_decorators = [proxy.describeMethod({
119
- infixBefore: "Sequence",
120
- type: Types.String,
121
- multiplicity: Multiplicities.Array,
122
- parameterDescriptors: [lengthParameterDescriptor, startValueParameterDescriptor, countParameterDescriptor, exclusionNoneParameterDescriptor, tweakParameterDescriptor]
123
- })];
124
- _valueFor_decorators = [proxy.describeMethod({
125
- type: Types.Number,
126
- multiplicity: Multiplicities.Matrix,
127
- parameterDescriptors: [valueForSParameterDescriptor, exclusionNoneParameterDescriptor, tweakParameterDescriptor]
128
- })];
129
- __esDecorate(this, null, _create_decorators, { kind: "method", name: "create", static: false, private: false, access: { has: obj => "create" in obj, get: obj => obj.create }, metadata: _metadata }, null, _instanceExtraInitializers);
130
- __esDecorate(this, null, _createSequence_decorators, { kind: "method", name: "createSequence", static: false, private: false, access: { has: obj => "createSequence" in obj, get: obj => obj.createSequence }, metadata: _metadata }, null, _instanceExtraInitializers);
131
- __esDecorate(this, null, _valueFor_decorators, { kind: "method", name: "valueFor", static: false, private: false, access: { has: obj => "valueFor" in obj, get: obj => obj.valueFor }, metadata: _metadata }, null, _instanceExtraInitializers);
132
- __esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);
133
- CharacterSetCreatorProxy = _classThis = _classDescriptor.value;
134
- if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
135
- __runInitializers(_classThis, _classExtraInitializers);
136
- }
137
- #characterSetCreator = __runInitializers(this, _instanceExtraInitializers);
138
- constructor(appExtension, characterSetCreator) {
139
- super(appExtension, characterSetCreator);
140
- this.#characterSetCreator = characterSetCreator;
141
- }
142
- create(length, matrixValues, exclusion, tweak) {
143
- const exclusionOrUndefined = exclusion ?? undefined;
144
- const tweakOrUndefined = tweak ?? undefined;
145
- return this.matrixResult(matrixValues, value => this.#characterSetCreator.create(length, value, exclusionOrUndefined, tweakOrUndefined));
146
- }
147
- createSequence(length, startValue, count, exclusion, tweak) {
148
- const exclusionOrUndefined = exclusion ?? undefined;
149
- const tweakOrUndefined = tweak ?? undefined;
150
- return this.iterableResult(() => {
151
- this.appExtension.validateSequenceCount(count);
152
- return this.#characterSetCreator.create(length, new Sequence(startValue, count), exclusionOrUndefined, tweakOrUndefined);
153
- });
154
- }
155
- valueFor(matrixSs, exclusion, tweak) {
156
- const exclusionOrUndefined = exclusion ?? undefined;
157
- const tweakOrUndefined = tweak ?? undefined;
158
- return this.matrixResult(matrixSs, s => this.mapBigInt(this.#characterSetCreator.valueFor(s, exclusionOrUndefined, tweakOrUndefined)));
159
- }
160
- };
161
- return CharacterSetCreatorProxy = _classThis;
162
- })();
163
- export { CharacterSetCreatorProxy };
164
- let NumericProxy = (() => {
165
- let _classDecorators = [proxy.describeClass(false, {
166
- methodInfix: "Numeric",
167
- replacementParameterDescriptors: [
168
- {
169
- name: expandParameterDescriptor(exclusionNoneParameterDescriptor).name,
170
- replacement: exclusionFirstZeroParameterDescriptor
171
- }
172
- ]
173
- })];
174
- let _classDescriptor;
175
- let _classExtraInitializers = [];
176
- let _classThis;
177
- let _classSuper = CharacterSetCreatorProxy;
178
- var NumericProxy = class extends _classSuper {
179
- static { _classThis = this; }
180
- static {
181
- const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;
182
- __esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);
183
- NumericProxy = _classThis = _classDescriptor.value;
184
- if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
185
- __runInitializers(_classThis, _classExtraInitializers);
186
- }
187
- constructor(appExtension) {
188
- super(appExtension, NUMERIC_CREATOR);
189
- }
190
- };
191
- return NumericProxy = _classThis;
192
- })();
193
- export { NumericProxy };
194
- let HexadecimalProxy = (() => {
195
- let _classDecorators = [proxy.describeClass(false, {
196
- methodInfix: "Hexadecimal",
197
- replacementParameterDescriptors: [
198
- {
199
- name: expandParameterDescriptor(exclusionNoneParameterDescriptor).name,
200
- replacement: exclusionAnyParameterDescriptor
201
- }
202
- ]
203
- })];
204
- let _classDescriptor;
205
- let _classExtraInitializers = [];
206
- let _classThis;
207
- let _classSuper = CharacterSetCreatorProxy;
208
- var HexadecimalProxy = class extends _classSuper {
209
- static { _classThis = this; }
210
- static {
211
- const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;
212
- __esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);
213
- HexadecimalProxy = _classThis = _classDescriptor.value;
214
- if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
215
- __runInitializers(_classThis, _classExtraInitializers);
216
- }
217
- constructor(appExtension) {
218
- super(appExtension, HEXADECIMAL_CREATOR);
219
- }
220
- };
221
- return HexadecimalProxy = _classThis;
222
- })();
223
- export { HexadecimalProxy };
224
- let AlphabeticProxy = (() => {
225
- let _classDecorators = [proxy.describeClass(false, {
226
- methodInfix: "Alphabetic"
227
- })];
228
- let _classDescriptor;
229
- let _classExtraInitializers = [];
230
- let _classThis;
231
- let _classSuper = CharacterSetCreatorProxy;
232
- var AlphabeticProxy = class extends _classSuper {
233
- static { _classThis = this; }
234
- static {
235
- const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;
236
- __esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);
237
- AlphabeticProxy = _classThis = _classDescriptor.value;
238
- if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
239
- __runInitializers(_classThis, _classExtraInitializers);
240
- }
241
- constructor(appExtension) {
242
- super(appExtension, ALPHABETIC_CREATOR);
243
- }
244
- };
245
- return AlphabeticProxy = _classThis;
246
- })();
247
- export { AlphabeticProxy };
248
- let AlphanumericProxy = (() => {
249
- let _classDecorators = [proxy.describeClass(false, {
250
- methodInfix: "Alphanumeric",
251
- replacementParameterDescriptors: [
252
- {
253
- name: expandParameterDescriptor(exclusionNoneParameterDescriptor).name,
254
- replacement: exclusionAnyParameterDescriptor
255
- }
256
- ]
257
- })];
258
- let _classDescriptor;
259
- let _classExtraInitializers = [];
260
- let _classThis;
261
- let _classSuper = CharacterSetCreatorProxy;
262
- var AlphanumericProxy = class extends _classSuper {
263
- static { _classThis = this; }
264
- static {
265
- const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;
266
- __esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);
267
- AlphanumericProxy = _classThis = _classDescriptor.value;
268
- if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
269
- __runInitializers(_classThis, _classExtraInitializers);
270
- }
271
- constructor(appExtension) {
272
- super(appExtension, ALPHANUMERIC_CREATOR);
273
- }
274
- };
275
- return AlphanumericProxy = _classThis;
276
- })();
277
- export { AlphanumericProxy };
278
- //# sourceMappingURL=character-set-proxy.js.map
@@ -1 +0,0 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YAJY,uDAAgB;;QACzB,YAAY,YAAwG;YAChH,KAAK,CAAC,YAAY,EAAE,mBAAmB,CAAC,CAAC;QAC7C,CAAC;;;;SAHQ,gBAAgB;IAShB,eAAe;4BAH3B,KAAK,CAAC,aAAa,CAAC,KAAK,EAAE;YACxB,WAAW,EAAE,YAAY;SAC5B,CAAC;;;;sBACkK,wBAAwB;+BAAhC,SAAQ,WAAsG;;;;YAA1Q,6KAIC;;;YAJY,uDAAe;;QACxB,YAAY,YAAwG;YAChH,KAAK,CAAC,YAAY,EAAE,kBAAkB,CAAC,CAAC;QAC5C,CAAC;;;;SAHQ,eAAe;IAef,iBAAiB;4BAT7B,KAAK,CAAC,aAAa,CAAC,KAAK,EAAE;YACxB,WAAW,EAAE,cAAc;YAC3B,+BAA+B,EAAE;gBAC7B;oBACI,IAAI,EAAE,yBAAyB,CAAC,gCAAgC,CAAC,CAAC,IAAI;oBACtE,WAAW,EAAE,+BAA+B;iBAC/C;aACJ;SACJ,CAAC;;;;sBACoK,wBAAwB;iCAAhC,SAAQ,WAAsG;;;;YAA5Q,6KAIC;;;YAJY,uDAAiB;;QAC1B,YAAY,YAAwG;YAChH,KAAK,CAAC,YAAY,EAAE,oBAAoB,CAAC,CAAC;QAC9C,CAAC;;;;SAHQ,iBAAiB"}
@@ -1,4 +0,0 @@
1
- export * from "./transformer-proxy.js";
2
- export * from "./reg-exp-proxy.js";
3
- export * from "./character-set-proxy.js";
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utility/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC"}
@@ -1,4 +0,0 @@
1
- export * from "./transformer-proxy.js";
2
- export * from "./reg-exp-proxy.js";
3
- export * from "./character-set-proxy.js";
4
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/utility/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC"}
@@ -1,8 +0,0 @@
1
- import type { Nullishable } from "@aidc-toolkit/core";
2
- import type { ErrorExtends, Matrix } from "../type.js";
3
- import { StringProxy } from "./string-proxy.js";
4
- export declare class RegExpProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends StringProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
5
- validate(regExp: string, matrixSs: Matrix<string>, errorMessage: Nullishable<string>): Matrix<string>;
6
- isValid(regExp: string, matrixSs: Matrix<string>): Matrix<boolean>;
7
- }
8
- //# sourceMappingURL=reg-exp-proxy.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"reg-exp-proxy.d.ts","sourceRoot":"","sources":["../../src/utility/reg-exp-proxy.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAItD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AAEvD,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAgBhD,qBAGa,WAAW,CAAC,UAAU,SAAS,OAAO,EAAE,MAAM,SAAS,YAAY,CAAC,UAAU,CAAC,EAAE,kBAAkB,EAAE,2BAA2B,EAAE,OAAO,CAAE,SAAQ,WAAW,CAAC,UAAU,EAAE,MAAM,EAAE,kBAAkB,EAAE,2BAA2B,EAAE,OAAO,CAAC;IAMrP,QAAQ,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,YAAY,EAAE,WAAW,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC,MAAM,CAAC;IAcrG,OAAO,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC,OAAO,CAAC;CAGrE"}
@@ -1,103 +0,0 @@
1
- var __runInitializers = (this && this.__runInitializers) || function (thisArg, initializers, value) {
2
- var useValue = arguments.length > 2;
3
- for (var i = 0; i < initializers.length; i++) {
4
- value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
5
- }
6
- return useValue ? value : void 0;
7
- };
8
- var __esDecorate = (this && this.__esDecorate) || function (ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
9
- function accept(f) { if (f !== void 0 && typeof f !== "function") throw new TypeError("Function expected"); return f; }
10
- var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
11
- var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
12
- var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
13
- var _, done = false;
14
- for (var i = decorators.length - 1; i >= 0; i--) {
15
- var context = {};
16
- for (var p in contextIn) context[p] = p === "access" ? {} : contextIn[p];
17
- for (var p in contextIn.access) context.access[p] = contextIn.access[p];
18
- context.addInitializer = function (f) { if (done) throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); };
19
- var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);
20
- if (kind === "accessor") {
21
- if (result === void 0) continue;
22
- if (result === null || typeof result !== "object") throw new TypeError("Object expected");
23
- if (_ = accept(result.get)) descriptor.get = _;
24
- if (_ = accept(result.set)) descriptor.set = _;
25
- if (_ = accept(result.init)) initializers.unshift(_);
26
- }
27
- else if (_ = accept(result)) {
28
- if (kind === "field") initializers.unshift(_);
29
- else descriptor[key] = _;
30
- }
31
- }
32
- if (target) Object.defineProperty(target, contextIn.name, descriptor);
33
- done = true;
34
- };
35
- import { RegExpValidator } from "@aidc-toolkit/utility";
36
- import { Multiplicities, Types } from "../descriptor.js";
37
- import { proxy } from "../proxy.js";
38
- import { validateSParameterDescriptor } from "./string-descriptor.js";
39
- import { StringProxy } from "./string-proxy.js";
40
- const regExpParameterDescriptor = {
41
- name: "regExp",
42
- type: Types.String,
43
- multiplicity: Multiplicities.Singleton,
44
- isRequired: true
45
- };
46
- const errorMessageParameterDescriptor = {
47
- name: "errorMessage",
48
- type: Types.String,
49
- multiplicity: Multiplicities.Singleton,
50
- isRequired: false
51
- };
52
- let RegExpProxy = (() => {
53
- let _classDecorators = [proxy.describeClass(false, {
54
- methodInfix: "RegExp"
55
- })];
56
- let _classDescriptor;
57
- let _classExtraInitializers = [];
58
- let _classThis;
59
- let _classSuper = StringProxy;
60
- let _instanceExtraInitializers = [];
61
- let _validate_decorators;
62
- let _isValid_decorators;
63
- var RegExpProxy = class extends _classSuper {
64
- static { _classThis = this; }
65
- static {
66
- const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;
67
- _validate_decorators = [proxy.describeMethod({
68
- type: Types.String,
69
- multiplicity: Multiplicities.Matrix,
70
- parameterDescriptors: [regExpParameterDescriptor, validateSParameterDescriptor, errorMessageParameterDescriptor]
71
- })];
72
- _isValid_decorators = [proxy.describeMethod({
73
- type: Types.Boolean,
74
- multiplicity: Multiplicities.Matrix,
75
- parameterDescriptors: [regExpParameterDescriptor, validateSParameterDescriptor]
76
- })];
77
- __esDecorate(this, null, _validate_decorators, { kind: "method", name: "validate", static: false, private: false, access: { has: obj => "validate" in obj, get: obj => obj.validate }, metadata: _metadata }, null, _instanceExtraInitializers);
78
- __esDecorate(this, null, _isValid_decorators, { kind: "method", name: "isValid", static: false, private: false, access: { has: obj => "isValid" in obj, get: obj => obj.isValid }, metadata: _metadata }, null, _instanceExtraInitializers);
79
- __esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);
80
- RegExpProxy = _classThis = _classDescriptor.value;
81
- if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
82
- __runInitializers(_classThis, _classExtraInitializers);
83
- }
84
- validate(regExp, matrixSs, errorMessage) {
85
- return this.validateString(new class extends RegExpValidator {
86
- createErrorMessage(s) {
87
- // Replace {{s}} with the invalid string.
88
- return errorMessage?.replace(/\{\{s\}\}/ug, s) ?? super.createErrorMessage(s);
89
- }
90
- }(new RegExp(regExp, "u")), matrixSs);
91
- }
92
- isValid(regExp, matrixSs) {
93
- return this.isValidString(this.validate(regExp, matrixSs, undefined));
94
- }
95
- constructor() {
96
- super(...arguments);
97
- __runInitializers(this, _instanceExtraInitializers);
98
- }
99
- };
100
- return RegExpProxy = _classThis;
101
- })();
102
- export { RegExpProxy };
103
- //# sourceMappingURL=reg-exp-proxy.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"reg-exp-proxy.js","sourceRoot":"","sources":["../../src/utility/reg-exp-proxy.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,cAAc,EAA4B,KAAK,EAAE,MAAM,kBAAkB,CAAC;AACnF,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEpC,OAAO,EAAE,4BAA4B,EAAE,MAAM,wBAAwB,CAAC;AACtE,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,MAAM,yBAAyB,GAAwB;IACnD,IAAI,EAAE,QAAQ;IACd,IAAI,EAAE,KAAK,CAAC,MAAM;IAClB,YAAY,EAAE,cAAc,CAAC,SAAS;IACtC,UAAU,EAAE,IAAI;CACnB,CAAC;AAEF,MAAM,+BAA+B,GAAwB;IACzD,IAAI,EAAE,cAAc;IACpB,IAAI,EAAE,KAAK,CAAC,MAAM;IAClB,YAAY,EAAE,cAAc,CAAC,SAAS;IACtC,UAAU,EAAE,KAAK;CACpB,CAAC;IAK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"../descriptor.js";
2
- export declare const sParameterDescriptor: ParameterDescriptor;
3
- export declare const validateSParameterDescriptor: ExtendsParameterDescriptor;
4
- //# sourceMappingURL=string-descriptor.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"string-descriptor.d.ts","sourceRoot":"","sources":["../../src/utility/string-descriptor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,0BAA0B,EAAkB,KAAK,mBAAmB,EAAS,MAAM,kBAAkB,CAAC;AAEpH,eAAO,MAAM,oBAAoB,EAAE,mBAKlC,CAAC;AAEF,eAAO,MAAM,4BAA4B,EAAE,0BAG1C,CAAC"}