@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/src/utility/index.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from "./transformer-proxy";
|
|
2
|
-
export * from "./reg-exp-proxy";
|
|
3
|
-
export * from "./character-set-proxy";
|
|
1
|
+
export * from "./transformer-proxy.js";
|
|
2
|
+
export * from "./reg-exp-proxy.js";
|
|
3
|
+
export * from "./character-set-proxy.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { Nullishable } from "@aidc-toolkit/core";
|
|
2
2
|
import { RegExpValidator } from "@aidc-toolkit/utility";
|
|
3
|
-
import { type ParameterDescriptor, ProxyClass, ProxyMethod, ProxyParameter, Types } from "../descriptor";
|
|
4
|
-
import type { ErrorExtends, Matrix, MatrixResultError } from "../type";
|
|
5
|
-
import { validateSParameterDescriptor } from "./string-descriptor";
|
|
6
|
-
import { StringProxy } from "./string-proxy";
|
|
3
|
+
import { type ParameterDescriptor, ProxyClass, ProxyMethod, ProxyParameter, Types } from "../descriptor.js";
|
|
4
|
+
import type { ErrorExtends, Matrix, MatrixResultError } from "../type.js";
|
|
5
|
+
import { validateSParameterDescriptor } from "./string-descriptor.js";
|
|
6
|
+
import { StringProxy } from "./string-proxy.js";
|
|
7
7
|
|
|
8
8
|
const regExpParameterDescriptor: ParameterDescriptor = {
|
|
9
9
|
name: "regExp",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { StringValidation, StringValidator } from "@aidc-toolkit/utility";
|
|
2
|
-
import { LibProxy } from "../lib-proxy";
|
|
3
|
-
import type { ErrorExtends, Matrix, MatrixResultError } from "../type";
|
|
2
|
+
import { LibProxy } from "../lib-proxy.js";
|
|
3
|
+
import type { ErrorExtends, Matrix, MatrixResultError } from "../type.js";
|
|
4
4
|
|
|
5
5
|
export abstract class StringProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends LibProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
6
6
|
protected validateString<TStringValidation extends StringValidation>(validator: StringValidator<TStringValidation>, matrixSs: Matrix<string>, validation?: TStringValidation): Matrix<string> {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import type { Nullishable } from "@aidc-toolkit/core";
|
|
2
2
|
import { mapIterable, Sequence, Transformer } from "@aidc-toolkit/utility";
|
|
3
|
-
import { type ParameterDescriptor, ProxyClass, ProxyMethod, ProxyParameter, Types } from "../descriptor";
|
|
4
|
-
import { LibProxy } from "../lib-proxy";
|
|
5
|
-
import type { ErrorExtends, Matrix, MatrixResultError, ResultError } from "../type";
|
|
3
|
+
import { type ParameterDescriptor, ProxyClass, ProxyMethod, ProxyParameter, Types } from "../descriptor.js";
|
|
4
|
+
import { LibProxy } from "../lib-proxy.js";
|
|
5
|
+
import type { ErrorExtends, Matrix, MatrixResultError, ResultError } from "../type.js";
|
|
6
6
|
import {
|
|
7
7
|
countParameterDescriptor,
|
|
8
8
|
startValueParameterDescriptor,
|
|
9
9
|
tweakParameterDescriptor,
|
|
10
10
|
valueParameterDescriptor
|
|
11
|
-
} from "./transformer-descriptor";
|
|
11
|
+
} from "./transformer-descriptor.js";
|
|
12
12
|
|
|
13
13
|
const domainParameterDescriptor: ParameterDescriptor = {
|
|
14
14
|
name: "domain",
|
package/tsconfig.json
CHANGED
package/tsup.config.ts
CHANGED