angular-intlayer 9.4.3 → 9.5.0
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/README.md +0 -2
- package/dist/cjs/UI/IntlayerNode.component.cjs +2 -2
- package/dist/cjs/_virtual/{_@oxc-project_runtime@0.147.0 → _@oxc-project_runtime@0.148.0}/helpers/esm/decorate.cjs +1 -1
- package/dist/cjs/_virtual/{_@oxc-project_runtime@0.147.0 → _@oxc-project_runtime@0.148.0}/helpers/esm/decorateMetadata.cjs +1 -1
- package/dist/cjs/editor/ContentSelector.component.cjs +2 -2
- package/dist/cjs/editor/EditorProvider.component.cjs +2 -2
- package/dist/cjs/html/installIntlayerHTML.cjs +1 -1
- package/dist/cjs/markdown/installIntlayerMarkdown.cjs +1 -1
- package/dist/esm/UI/IntlayerNode.component.mjs +2 -2
- package/dist/esm/_virtual/{_@oxc-project_runtime@0.147.0 → _@oxc-project_runtime@0.148.0}/helpers/esm/decorate.mjs +1 -1
- package/dist/esm/_virtual/{_@oxc-project_runtime@0.147.0 → _@oxc-project_runtime@0.148.0}/helpers/esm/decorateMetadata.mjs +1 -1
- package/dist/esm/editor/ContentSelector.component.mjs +2 -2
- package/dist/esm/editor/EditorProvider.component.mjs +2 -2
- package/dist/esm/esbuild/plugin.mjs +3 -3
- package/dist/esm/html/installIntlayerHTML.mjs +1 -1
- package/dist/esm/markdown/installIntlayerMarkdown.mjs +1 -1
- package/dist/types/UI/IntlayerNode.component.d.ts +1 -2
- package/dist/types/UI/IntlayerNode.component.d.ts.map +1 -1
- package/dist/types/analytics/exposureSink.d.ts +4 -5
- package/dist/types/analytics/exposureSink.d.ts.map +1 -1
- package/dist/types/analytics/useAnalytics.d.ts +2 -3
- package/dist/types/analytics/useAnalytics.d.ts.map +1 -1
- package/dist/types/analytics/useConversion.d.ts +2 -3
- package/dist/types/analytics/useConversion.d.ts.map +1 -1
- package/dist/types/analytics/useExperiment.d.ts +2 -3
- package/dist/types/analytics/useExperiment.d.ts.map +1 -1
- package/dist/types/client/installIntlayer.d.ts +3 -3
- package/dist/types/client/installIntlayer.d.ts.map +1 -1
- package/dist/types/client/intlayerToken.d.ts +3 -4
- package/dist/types/client/intlayerToken.d.ts.map +1 -1
- package/dist/types/client/useDictionary.d.ts +1 -2
- package/dist/types/client/useDictionary.d.ts.map +1 -1
- package/dist/types/client/useDictionaryAsync.d.ts +1 -2
- package/dist/types/client/useDictionaryAsync.d.ts.map +1 -1
- package/dist/types/client/useDictionaryDynamic.d.ts +1 -2
- package/dist/types/client/useDictionaryDynamic.d.ts.map +1 -1
- package/dist/types/client/useIntlayer.d.ts +2 -3
- package/dist/types/client/useIntlayer.d.ts.map +1 -1
- package/dist/types/client/useLoadDynamic.d.ts +1 -2
- package/dist/types/client/useLoadDynamic.d.ts.map +1 -1
- package/dist/types/client/useLocale.d.ts +3 -4
- package/dist/types/client/useLocale.d.ts.map +1 -1
- package/dist/types/client/useLocaleStorage.d.ts +8 -10
- package/dist/types/client/useLocaleStorage.d.ts.map +1 -1
- package/dist/types/client/usePathname.d.ts +1 -2
- package/dist/types/client/usePathname.d.ts.map +1 -1
- package/dist/types/editor/ContentSelector.component.d.ts +1 -2
- package/dist/types/editor/ContentSelector.component.d.ts.map +1 -1
- package/dist/types/editor/EditorProvider.component.d.ts +1 -2
- package/dist/types/editor/EditorProvider.component.d.ts.map +1 -1
- package/dist/types/editor/useEditor.d.ts +2 -3
- package/dist/types/editor/useEditor.d.ts.map +1 -1
- package/dist/types/esbuild/plugin.d.ts +4 -5
- package/dist/types/esbuild/plugin.d.ts.map +1 -1
- package/dist/types/format/useCompact.d.ts +2 -4
- package/dist/types/format/useCompact.d.ts.map +1 -1
- package/dist/types/format/useCurrency.d.ts +2 -4
- package/dist/types/format/useCurrency.d.ts.map +1 -1
- package/dist/types/format/useDate.d.ts +2 -4
- package/dist/types/format/useDate.d.ts.map +1 -1
- package/dist/types/format/useIntl.d.ts +1 -2
- package/dist/types/format/useIntl.d.ts.map +1 -1
- package/dist/types/format/useList.d.ts +2 -8
- package/dist/types/format/useList.d.ts.map +1 -1
- package/dist/types/format/useNumber.d.ts +2 -4
- package/dist/types/format/useNumber.d.ts.map +1 -1
- package/dist/types/format/usePercentage.d.ts +2 -4
- package/dist/types/format/usePercentage.d.ts.map +1 -1
- package/dist/types/format/useRelativeTime.d.ts +2 -4
- package/dist/types/format/useRelativeTime.d.ts.map +1 -1
- package/dist/types/format/useUnit.d.ts +2 -4
- package/dist/types/format/useUnit.d.ts.map +1 -1
- package/dist/types/getDictionary.d.ts +1 -2
- package/dist/types/getDictionary.d.ts.map +1 -1
- package/dist/types/getIntlayer.d.ts +1 -2
- package/dist/types/getIntlayer.d.ts.map +1 -1
- package/dist/types/html/installIntlayerHTML.d.ts +5 -6
- package/dist/types/html/installIntlayerHTML.d.ts.map +1 -1
- package/dist/types/markdown/installIntlayerMarkdown.d.ts +10 -10
- package/dist/types/markdown/installIntlayerMarkdown.d.ts.map +1 -1
- package/dist/types/plugins.d.ts +15 -16
- package/dist/types/plugins.d.ts.map +1 -1
- package/dist/types/renderIntlayerNode.d.ts +2 -3
- package/dist/types/renderIntlayerNode.d.ts.map +1 -1
- package/dist/types/webpack/mergeConfig.d.ts +1 -2
- package/dist/types/webpack/mergeConfig.d.ts.map +1 -1
- package/package.json +17 -17
- package/dist/types/intlayer/dist/types/index.d.ts +0 -14
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { GetConfigurationOptions } from "@intlayer/config/node";
|
|
2
2
|
//#region src/esbuild/plugin.d.ts
|
|
3
|
-
interface EsbuildPluginBuild {
|
|
3
|
+
export interface EsbuildPluginBuild {
|
|
4
4
|
initialOptions: {
|
|
5
5
|
alias?: Record<string, string>;
|
|
6
6
|
define?: Record<string, string>;
|
|
@@ -38,11 +38,11 @@ interface EsbuildPluginBuild {
|
|
|
38
38
|
loader?: string;
|
|
39
39
|
} | null | undefined>): void;
|
|
40
40
|
}
|
|
41
|
-
interface EsbuildPlugin {
|
|
41
|
+
export interface EsbuildPlugin {
|
|
42
42
|
name: string;
|
|
43
43
|
setup(build: EsbuildPluginBuild): void | Promise<void>;
|
|
44
44
|
}
|
|
45
|
-
type IntlayerEsbuildPluginOptions = {
|
|
45
|
+
export type IntlayerEsbuildPluginOptions = {
|
|
46
46
|
configOptions?: GetConfigurationOptions;
|
|
47
47
|
/**
|
|
48
48
|
* Whether to start the Intlayer file watcher for dictionary regeneration.
|
|
@@ -75,7 +75,6 @@ type IntlayerEsbuildPluginOptions = {
|
|
|
75
75
|
* export default [intlayerEsbuildPlugin()];
|
|
76
76
|
* ```
|
|
77
77
|
*/
|
|
78
|
-
declare const intlayerEsbuildPlugin: (options?: IntlayerEsbuildPluginOptions) => EsbuildPlugin;
|
|
78
|
+
export declare const intlayerEsbuildPlugin: (options?: IntlayerEsbuildPluginOptions) => EsbuildPlugin;
|
|
79
79
|
//#endregion
|
|
80
|
-
export { EsbuildPlugin, EsbuildPluginBuild, IntlayerEsbuildPluginOptions, intlayerEsbuildPlugin };
|
|
81
80
|
//# sourceMappingURL=plugin.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.d.ts","names":[],"sources":["../../../src/esbuild/plugin.ts"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"plugin.d.ts","names":[],"sources":["../../../src/esbuild/plugin.ts"],"mappings":";;iBAiDiB;EACf;IACE,QAAQ;IACR,SAAS;IACT;IACA;;IAEA;;EAEF,QAAQ,uBAAuB;;EAE/B,UACE;IAAW,QAAQ;IAAQ;KAC3B,WAAW;IACT;IACA;IACA;IACA;;IACM;IAAc;;;EAGxB,OACE;IAAW,QAAQ;IAAQ;KAC3B,WAAW;IACT;IACA;;IAEI;IAAkB;yBAGpB;IAAU;IAAkB;;;iBAInB;EACf;EACA,MAAM,OAAO,4BAA4B;;YAG/B;EACV,gBAAgB;;;;;;;;EAQhB;;;;;;;;;;;;;;;;;;;;;;;;qBAyBW,wBAAqB,UACtB,iCACT"}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import { LocalesValues } from "../intlayer/dist/types/index.js";
|
|
2
1
|
//#region src/format/useCompact.d.ts
|
|
3
|
-
declare const useCompact: () => import("@angular/core").Signal<(value: string | number, options?: Intl.NumberFormatOptions & {
|
|
4
|
-
locale?: LocalesValues;
|
|
2
|
+
export declare const useCompact: () => import("@angular/core").Signal<(value: string | number, options?: Intl.NumberFormatOptions & {
|
|
3
|
+
locale?: import("@intlayer/types").LocalesValues;
|
|
5
4
|
}) => string>;
|
|
6
5
|
//#endregion
|
|
7
|
-
export { useCompact };
|
|
8
6
|
//# sourceMappingURL=useCompact.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCompact.d.ts","names":[],"sources":["../../../src/format/useCompact.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"useCompact.d.ts","names":[],"sources":["../../../src/format/useCompact.ts"],"mappings":";qBAIa,0CAAU,QAAA,wBAAA,UAAA,KAAA"}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import { LocalesValues } from "../intlayer/dist/types/index.js";
|
|
2
1
|
//#region src/format/useCurrency.d.ts
|
|
3
|
-
declare const useCurrency: () => import("@angular/core").Signal<(value: string | number, options?: Intl.NumberFormatOptions & {
|
|
4
|
-
locale?: LocalesValues;
|
|
2
|
+
export declare const useCurrency: () => import("@angular/core").Signal<(value: string | number, options?: Intl.NumberFormatOptions & {
|
|
3
|
+
locale?: import("@intlayer/types").LocalesValues;
|
|
5
4
|
}) => string>;
|
|
6
5
|
//#endregion
|
|
7
|
-
export { useCurrency };
|
|
8
6
|
//# sourceMappingURL=useCurrency.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCurrency.d.ts","names":[],"sources":["../../../src/format/useCurrency.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"useCurrency.d.ts","names":[],"sources":["../../../src/format/useCurrency.ts"],"mappings":";qBAIa,2CAAW,QAAA,wBAAA,UAAA,KAAA"}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import { LocalesValues } from "../intlayer/dist/types/index.js";
|
|
2
1
|
//#region src/format/useDate.d.ts
|
|
3
2
|
/**
|
|
4
3
|
* Angular client hook that provides a localized date/time formatter.
|
|
5
4
|
*/
|
|
6
|
-
declare const useDate: () => import("@angular/core").Signal<(date: string | number | Date, options?: import("@intlayer/core/formatters").DateTimePreset | (Intl.DateTimeFormatOptions & {
|
|
7
|
-
locale?: LocalesValues;
|
|
5
|
+
export declare const useDate: () => import("@angular/core").Signal<(date: string | number | Date, options?: import("@intlayer/core/formatters").DateTimePreset | (Intl.DateTimeFormatOptions & {
|
|
6
|
+
locale?: import("@intlayer/types").LocalesValues;
|
|
8
7
|
})) => string>;
|
|
9
8
|
//#endregion
|
|
10
|
-
export { useDate };
|
|
11
9
|
//# sourceMappingURL=useDate.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDate.d.ts","names":[],"sources":["../../../src/format/useDate.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"useDate.d.ts","names":[],"sources":["../../../src/format/useDate.ts"],"mappings":";;;;qBAOa,uCAAO,QAAA,wBAAA,MAAA,8CAAA,kBAAA,KAAA"}
|
|
@@ -4,7 +4,6 @@ import { WrappedIntl } from "@intlayer/core/formatters";
|
|
|
4
4
|
/**
|
|
5
5
|
* Angular composable that provides a locale-bound `Intl` object as a Signal.
|
|
6
6
|
*/
|
|
7
|
-
declare const useIntl: (locale?: LocalesValues) => import("@angular/core").Signal<WrappedIntl>;
|
|
7
|
+
export declare const useIntl: (locale?: LocalesValues) => import("@angular/core").Signal<WrappedIntl>;
|
|
8
8
|
//#endregion
|
|
9
|
-
export { useIntl };
|
|
10
9
|
//# sourceMappingURL=useIntl.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useIntl.d.ts","names":[],"sources":["../../../src/format/useIntl.ts"],"mappings":";;;;;;
|
|
1
|
+
{"version":3,"file":"useIntl.d.ts","names":[],"sources":["../../../src/format/useIntl.ts"],"mappings":";;;;;;qBAQa,UAAO,SAAa,0CAAa,OAAA"}
|
|
@@ -1,12 +1,6 @@
|
|
|
1
|
-
import { LocalesValues } from "../intlayer/dist/types/index.js";
|
|
2
1
|
//#region src/format/useList.d.ts
|
|
3
|
-
declare const useList: () => import("@angular/core").Signal<(values: (string | number)[], options?: {
|
|
4
|
-
|
|
5
|
-
type?: 'conjunction' | 'disjunction' | 'unit';
|
|
6
|
-
style?: 'long' | 'short' | 'narrow';
|
|
7
|
-
} & {
|
|
8
|
-
locale?: LocalesValues;
|
|
2
|
+
export declare const useList: () => import("@angular/core").Signal<(values: (string | number)[], options?: import("@intlayer/core/formatters").ListFormatOptions & {
|
|
3
|
+
locale?: import("@intlayer/types").LocalesValues;
|
|
9
4
|
}) => string>;
|
|
10
5
|
//#endregion
|
|
11
|
-
export { useList };
|
|
12
6
|
//# sourceMappingURL=useList.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useList.d.ts","names":[],"sources":["../../../src/format/useList.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"useList.d.ts","names":[],"sources":["../../../src/format/useList.ts"],"mappings":";qBAIa,uCAAO,QAAA,6BAAA,8CAAA"}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import { LocalesValues } from "../intlayer/dist/types/index.js";
|
|
2
1
|
//#region src/format/useNumber.d.ts
|
|
3
2
|
/**
|
|
4
3
|
* Angular client hook that provides a localized number formatter.
|
|
5
4
|
*/
|
|
6
|
-
declare const useNumber: () => import("@angular/core").Signal<(value: string | number, args_1?: Intl.NumberFormatOptions & {
|
|
7
|
-
locale?: LocalesValues;
|
|
5
|
+
export declare const useNumber: () => import("@angular/core").Signal<(value: string | number, args_1?: Intl.NumberFormatOptions & {
|
|
6
|
+
locale?: import("@intlayer/types").LocalesValues;
|
|
8
7
|
}) => string>;
|
|
9
8
|
//#endregion
|
|
10
|
-
export { useNumber };
|
|
11
9
|
//# sourceMappingURL=useNumber.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useNumber.d.ts","names":[],"sources":["../../../src/format/useNumber.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"useNumber.d.ts","names":[],"sources":["../../../src/format/useNumber.ts"],"mappings":";;;;qBAOa,yCAAS,QAAA,wBAAA,SAAA,KAAA"}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import { LocalesValues } from "../intlayer/dist/types/index.js";
|
|
2
1
|
//#region src/format/usePercentage.d.ts
|
|
3
|
-
declare const usePercentage: () => import("@angular/core").Signal<(value: string | number, args_1?: Intl.NumberFormatOptions & {
|
|
4
|
-
locale?: LocalesValues;
|
|
2
|
+
export declare const usePercentage: () => import("@angular/core").Signal<(value: string | number, args_1?: Intl.NumberFormatOptions & {
|
|
3
|
+
locale?: import("@intlayer/types").LocalesValues;
|
|
5
4
|
}) => string>;
|
|
6
5
|
//#endregion
|
|
7
|
-
export { usePercentage };
|
|
8
6
|
//# sourceMappingURL=usePercentage.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usePercentage.d.ts","names":[],"sources":["../../../src/format/usePercentage.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"usePercentage.d.ts","names":[],"sources":["../../../src/format/usePercentage.ts"],"mappings":";qBAIa,6CAAa,QAAA,wBAAA,SAAA,KAAA"}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import { LocalesValues } from "../intlayer/dist/types/index.js";
|
|
2
1
|
//#region src/format/useRelativeTime.d.ts
|
|
3
|
-
declare const useRelativeTime: () => import("@angular/core").Signal<(from: string | number | Date, to?: string | number | Date, options?: Intl.RelativeTimeFormatOptions & {
|
|
4
|
-
locale?: LocalesValues;
|
|
2
|
+
export declare const useRelativeTime: () => import("@angular/core").Signal<(from: string | number | Date, to?: string | number | Date, options?: Intl.RelativeTimeFormatOptions & {
|
|
3
|
+
locale?: import("@intlayer/types").LocalesValues;
|
|
5
4
|
unit?: Intl.RelativeTimeFormatUnit;
|
|
6
5
|
}) => string>;
|
|
7
6
|
//#endregion
|
|
8
|
-
export { useRelativeTime };
|
|
9
7
|
//# sourceMappingURL=useRelativeTime.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useRelativeTime.d.ts","names":[],"sources":["../../../src/format/useRelativeTime.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"useRelativeTime.d.ts","names":[],"sources":["../../../src/format/useRelativeTime.ts"],"mappings":";qBAIa,+CAAe,QAAA,wBAAA,MAAA,uBAAA,MAAA,UAAA,KAAA"}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import { LocalesValues } from "../intlayer/dist/types/index.js";
|
|
2
1
|
//#region src/format/useUnit.d.ts
|
|
3
|
-
declare const useUnit: () => import("@angular/core").Signal<(value: string | number, options?: Intl.NumberFormatOptions & {
|
|
4
|
-
locale?: LocalesValues;
|
|
2
|
+
export declare const useUnit: () => import("@angular/core").Signal<(value: string | number, options?: Intl.NumberFormatOptions & {
|
|
3
|
+
locale?: import("@intlayer/types").LocalesValues;
|
|
5
4
|
}) => string>;
|
|
6
5
|
//#endregion
|
|
7
|
-
export { useUnit };
|
|
8
6
|
//# sourceMappingURL=useUnit.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useUnit.d.ts","names":[],"sources":["../../../src/format/useUnit.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"useUnit.d.ts","names":[],"sources":["../../../src/format/useUnit.ts"],"mappings":";qBAIa,uCAAO,QAAA,wBAAA,UAAA,KAAA"}
|
|
@@ -7,7 +7,6 @@ import { Dictionary, DictionarySelectorForGroup, QualifiedDictionaryGroup, Resol
|
|
|
7
7
|
* content for the given locale or selector (`{ item }`, `{ variant }`,
|
|
8
8
|
* optionally combined with `locale`).
|
|
9
9
|
*/
|
|
10
|
-
declare const getDictionary: <const T extends Dictionary | QualifiedDictionaryGroup, const A extends LocalesValues | DictionarySelectorForGroup<T> = DeclaredLocales>(dictionary: T, localeOrSelector?: A) => DeepTransformContent<ResolveQualifiedDictionaryContent<T, A>, ExtractSelectorLocale<A>>;
|
|
10
|
+
export declare const getDictionary: <const T extends Dictionary | QualifiedDictionaryGroup, const A extends LocalesValues | DictionarySelectorForGroup<T> = DeclaredLocales>(dictionary: T, localeOrSelector?: A) => DeepTransformContent<ResolveQualifiedDictionaryContent<T, A>, ExtractSelectorLocale<A>>;
|
|
11
11
|
//#endregion
|
|
12
|
-
export { getDictionary };
|
|
13
12
|
//# sourceMappingURL=getDictionary.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDictionary.d.ts","names":[],"sources":["../../src/getDictionary.ts"],"mappings":";;;;;;;;;
|
|
1
|
+
{"version":3,"file":"getDictionary.d.ts","names":[],"sources":["../../src/getDictionary.ts"],"mappings":";;;;;;;;;qBAmBa,sBACL,UAAU,aAAa,gCACvB,UACF,gBACA,2BAA2B,KAAK,iBAAe,YAEvC,GAAC,mBACM,MAClB,qBACD,kCAAkC,GAAG,IACrC,sBAAsB"}
|
|
@@ -6,7 +6,6 @@ import { DeclaredLocales, DictionaryKeys, DictionaryRegistryResult, DictionarySe
|
|
|
6
6
|
* locale or selector (`{ item }`, `{ variant }`,
|
|
7
7
|
* optionally combined with `locale`).
|
|
8
8
|
*/
|
|
9
|
-
declare const getIntlayer: <const T extends DictionaryKeys, const A extends LocalesValues | DictionarySelectorForKey<T> = DeclaredLocales>(key: T, localeOrSelector?: A) => DeepTransformContent<DictionaryRegistryResult<T, A>, ExtractSelectorLocale<A>>;
|
|
9
|
+
export declare const getIntlayer: <const T extends DictionaryKeys, const A extends LocalesValues | DictionarySelectorForKey<T> = DeclaredLocales>(key: T, localeOrSelector?: A) => DeepTransformContent<DictionaryRegistryResult<T, A>, ExtractSelectorLocale<A>>;
|
|
10
10
|
//#endregion
|
|
11
|
-
export { getIntlayer };
|
|
12
11
|
//# sourceMappingURL=getIntlayer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getIntlayer.d.ts","names":[],"sources":["../../src/getIntlayer.ts"],"mappings":";;;;;;;;
|
|
1
|
+
{"version":3,"file":"getIntlayer.d.ts","names":[],"sources":["../../src/getIntlayer.ts"],"mappings":";;;;;;;;qBAgBa,oBACL,UAAU,sBACV,UAAU,gBAAgB,yBAAyB,KAAK,iBAAe,KAExE,GAAC,mBACa,MAClB,qBACD,yBAAyB,GAAG,IAC5B,sBAAsB"}
|
|
@@ -1,33 +1,32 @@
|
|
|
1
1
|
import { InjectionToken, TemplateRef } from "@angular/core";
|
|
2
2
|
//#region src/html/installIntlayerHTML.d.ts
|
|
3
|
-
declare const INTLAYER_HTML_TOKEN: InjectionToken<IntlayerHTMLProvider>;
|
|
3
|
+
export declare const INTLAYER_HTML_TOKEN: InjectionToken<IntlayerHTMLProvider>;
|
|
4
4
|
type RenderHTMLOptions = {
|
|
5
5
|
components?: any;
|
|
6
6
|
wrapper?: string;
|
|
7
7
|
options?: any;
|
|
8
8
|
};
|
|
9
9
|
type RenderHTMLFunction = (html: string, overrides?: any | RenderHTMLOptions) => string | TemplateRef<any> | Promise<string | TemplateRef<any>>;
|
|
10
|
-
type IntlayerHTMLProvider = {
|
|
10
|
+
export type IntlayerHTMLProvider = {
|
|
11
11
|
renderHTML: RenderHTMLFunction;
|
|
12
12
|
};
|
|
13
13
|
/**
|
|
14
14
|
* Create IntlayerHTML provider configuration
|
|
15
15
|
*/
|
|
16
|
-
declare const createIntlayerHTMLProvider: (renderHTML?: RenderHTMLFunction) => {
|
|
16
|
+
export declare const createIntlayerHTMLProvider: (renderHTML?: RenderHTMLFunction) => {
|
|
17
17
|
provide: InjectionToken<IntlayerHTMLProvider>;
|
|
18
18
|
useValue: IntlayerHTMLProvider;
|
|
19
19
|
};
|
|
20
20
|
/**
|
|
21
21
|
* Injectable service for HTML rendering
|
|
22
22
|
*/
|
|
23
|
-
declare class IntlayerHTMLService {
|
|
23
|
+
export declare class IntlayerHTMLService {
|
|
24
24
|
private htmlProvider;
|
|
25
25
|
renderHTML(html: string, overrides?: any): string | TemplateRef<any> | Promise<string | TemplateRef<any>>;
|
|
26
26
|
}
|
|
27
27
|
/**
|
|
28
28
|
* Function to inject HTML provider
|
|
29
29
|
*/
|
|
30
|
-
declare const useHTML: () => IntlayerHTMLProvider;
|
|
30
|
+
export declare const useHTML: () => IntlayerHTMLProvider;
|
|
31
31
|
//#endregion
|
|
32
|
-
export { INTLAYER_HTML_TOKEN, IntlayerHTMLProvider, IntlayerHTMLService, createIntlayerHTMLProvider, useHTML };
|
|
33
32
|
//# sourceMappingURL=installIntlayerHTML.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"installIntlayerHTML.d.ts","names":[],"sources":["../../../src/html/installIntlayerHTML.ts"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"installIntlayerHTML.d.ts","names":[],"sources":["../../../src/html/installIntlayerHTML.ts"],"mappings":";;qBAOa,qBAAmB,eAAA;KAI3B;EACH;EACA;EACA;;KAGG,sBACH,cACA,kBAAkB,+BACN,mBAAmB,iBAAiB;YAEtC;EACV,YAAY;;;;;qBAYD,6BAA0B,aACzB;EAEZ,SAAO,eAAA;EACP,UAEK;;;;;qBASM;UACH;EAIR,WACE,cACA,2BACU,mBAAmB,iBAAiB;;;;;qBAWrC,eAAc"}
|
|
@@ -5,23 +5,23 @@ import { CompileOptions, MarkdownRuntime, ParsedMarkdown } from "@intlayer/core/
|
|
|
5
5
|
* Options accepted by `compileMarkdown` and `parseMarkdown` to customise
|
|
6
6
|
* rendering behaviour (custom components, sanitizer, slugify, rule hooks, …).
|
|
7
7
|
*/
|
|
8
|
-
type MarkdownRendererOptions = CompileOptions;
|
|
8
|
+
export type MarkdownRendererOptions = CompileOptions;
|
|
9
9
|
/**
|
|
10
10
|
* Angular `InjectionToken` used to provide a custom markdown renderer via the
|
|
11
11
|
* DI system. Use `createIntlayerMarkdownProvider` to create the provider value
|
|
12
12
|
* and register it in a module or component's `providers` array.
|
|
13
13
|
*/
|
|
14
|
-
declare const INTLAYER_MARKDOWN_TOKEN: InjectionToken<IntlayerMarkdownProvider>;
|
|
14
|
+
export declare const INTLAYER_MARKDOWN_TOKEN: InjectionToken<IntlayerMarkdownProvider>;
|
|
15
15
|
type RenderMarkdownOptions = {
|
|
16
16
|
components?: any;
|
|
17
17
|
wrapper?: string;
|
|
18
18
|
options?: any;
|
|
19
19
|
};
|
|
20
20
|
type RenderMarkdownFunction = (markdown: string | ParsedMarkdown, overrides?: any | RenderMarkdownOptions) => string | TemplateRef<any> | Promise<string | TemplateRef<any>>;
|
|
21
|
-
type IntlayerMarkdownProvider = {
|
|
21
|
+
export type IntlayerMarkdownProvider = {
|
|
22
22
|
renderMarkdown: RenderMarkdownFunction;
|
|
23
23
|
};
|
|
24
|
-
declare const htmlRuntime: MarkdownRuntime;
|
|
24
|
+
export declare const htmlRuntime: MarkdownRuntime;
|
|
25
25
|
/**
|
|
26
26
|
* **Step 1 of 2 — parse only.**
|
|
27
27
|
* Converts a raw markdown string into a `ParsedMarkdown` AST without rendering
|
|
@@ -40,7 +40,7 @@ declare const htmlRuntime: MarkdownRuntime;
|
|
|
40
40
|
* const html = compileMarkdown(ast);
|
|
41
41
|
* ```
|
|
42
42
|
*/
|
|
43
|
-
declare const parseMarkdown: (markdown?: string, options?: any) => ParsedMarkdown;
|
|
43
|
+
export declare const parseMarkdown: (markdown?: string, options?: any) => ParsedMarkdown;
|
|
44
44
|
/**
|
|
45
45
|
* **Steps 1 + 2 — parse and render in one shot.**
|
|
46
46
|
* Accepts a raw markdown string or a pre-parsed `ParsedMarkdown` AST and
|
|
@@ -56,7 +56,7 @@ declare const parseMarkdown: (markdown?: string, options?: any) => ParsedMarkdow
|
|
|
56
56
|
* const html = compileMarkdown('# Hello **world**');
|
|
57
57
|
* ```
|
|
58
58
|
*/
|
|
59
|
-
declare const compileMarkdown: (input?: string | ParsedMarkdown, options?: any) => string;
|
|
59
|
+
export declare const compileMarkdown: (input?: string | ParsedMarkdown, options?: any) => string;
|
|
60
60
|
/**
|
|
61
61
|
* Returns an Angular `Provider` object that registers a custom markdown render
|
|
62
62
|
* function under `INTLAYER_MARKDOWN_TOKEN`. Pass the returned provider to a
|
|
@@ -74,7 +74,7 @@ declare const compileMarkdown: (input?: string | ParsedMarkdown, options?: any)
|
|
|
74
74
|
* export class AppModule {}
|
|
75
75
|
* ```
|
|
76
76
|
*/
|
|
77
|
-
declare const createIntlayerMarkdownProvider: (renderMarkdown?: RenderMarkdownFunction) => {
|
|
77
|
+
export declare const createIntlayerMarkdownProvider: (renderMarkdown?: RenderMarkdownFunction) => {
|
|
78
78
|
provide: InjectionToken<IntlayerMarkdownProvider>;
|
|
79
79
|
useValue: IntlayerMarkdownProvider;
|
|
80
80
|
};
|
|
@@ -96,7 +96,7 @@ declare const createIntlayerMarkdownProvider: (renderMarkdown?: RenderMarkdownFu
|
|
|
96
96
|
* }
|
|
97
97
|
* ```
|
|
98
98
|
*/
|
|
99
|
-
declare class IntlayerMarkdownService {
|
|
99
|
+
export declare class IntlayerMarkdownService {
|
|
100
100
|
private markdownProvider;
|
|
101
101
|
renderMarkdown(markdown: string | ParsedMarkdown, overrides?: any): string | TemplateRef<any> | Promise<string | TemplateRef<any>>;
|
|
102
102
|
}
|
|
@@ -119,7 +119,7 @@ declare class IntlayerMarkdownService {
|
|
|
119
119
|
* }
|
|
120
120
|
* ```
|
|
121
121
|
*/
|
|
122
|
-
declare const useMarkdown: () => IntlayerMarkdownProvider;
|
|
122
|
+
export declare const useMarkdown: () => IntlayerMarkdownProvider;
|
|
123
123
|
//#endregion
|
|
124
|
-
export {
|
|
124
|
+
export type { ParsedMarkdown };
|
|
125
125
|
//# sourceMappingURL=installIntlayerMarkdown.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"installIntlayerMarkdown.d.ts","names":[],"sources":["../../../src/markdown/installIntlayerMarkdown.ts"],"mappings":";;;;;;;
|
|
1
|
+
{"version":3,"file":"installIntlayerMarkdown.d.ts","names":[],"sources":["../../../src/markdown/installIntlayerMarkdown.ts"],"mappings":";;;;;;;YAsBY,0BAA0B;;;;;;qBAOzB,yBAAuB,eAAA;KAG/B;EACH;EACA;EACA;;KAGG,0BACH,mBAAmB,gBACnB,kBAAkB,mCACN,mBAAmB,iBAAiB;YAEtC;EACV,gBAAgB;;qBAIL,aAAa;;;;;;;;;;;;;;;;;;;qBA0Eb,gBAAa,mBACR,kBAEf;;;;;;;;;;;;;;;;qBAmCU,kBAAe,iBACV,gBAAc;;;;;;;;;;;;;;;;;;qBAkDnB,iCAA8B,iBACzB;EAEhB,SAAO,eAAA;EACP,UAEK;;;;;;;;;;;;;;;;;;;;qBAwBM;UACH;EAIR,eACE,mBAAmB,gBACnB,2BACU,mBAAmB,iBAAiB;;;;;;;;;;;;;;;;;;;;;qBA2BrC,mBAAkB"}
|
package/dist/types/plugins.d.ts
CHANGED
|
@@ -6,23 +6,23 @@ import { NodeType } from "@intlayer/types/nodeType";
|
|
|
6
6
|
/** ---------------------------------------------
|
|
7
7
|
* INTLAYER NODE PLUGIN
|
|
8
8
|
* --------------------------------------------- */
|
|
9
|
-
type IntlayerNodeCond<T> = T extends number | string ? IntlayerNode<T> : never;
|
|
10
|
-
interface IntlayerNode<T, P = {}> {
|
|
9
|
+
export type IntlayerNodeCond<T> = T extends number | string ? IntlayerNode<T> : never;
|
|
10
|
+
export interface IntlayerNode<T, P = {}> {
|
|
11
11
|
value: T;
|
|
12
12
|
children?: any;
|
|
13
13
|
additionalProps?: P;
|
|
14
14
|
}
|
|
15
15
|
/** Translation plugin. Replaces node with a locale string if nodeType = Translation. */
|
|
16
|
-
declare const intlayerNodePlugins: Plugins;
|
|
16
|
+
export declare const intlayerNodePlugins: Plugins;
|
|
17
17
|
/**
|
|
18
18
|
* MARKDOWN PLUGIN
|
|
19
19
|
*/
|
|
20
|
-
type MarkdownStringCond<T> = T extends string ? IntlayerNode<string, {
|
|
20
|
+
export type MarkdownStringCond<T> = T extends string ? IntlayerNode<string, {
|
|
21
21
|
metadata: DeepTransformContent<string>;
|
|
22
22
|
}> : never;
|
|
23
23
|
/** Markdown string plugin. Replaces string node with a component that render the markdown. */
|
|
24
|
-
declare const markdownStringPlugin: Plugins;
|
|
25
|
-
type MarkdownCond<T, _S, _L extends LocalesValues> = T extends {
|
|
24
|
+
export declare const markdownStringPlugin: Plugins;
|
|
25
|
+
export type MarkdownCond<T, _S, _L extends LocalesValues> = T extends {
|
|
26
26
|
nodeType: NodeType | string;
|
|
27
27
|
[NodeTypes.MARKDOWN]: infer M;
|
|
28
28
|
tags?: infer U;
|
|
@@ -31,7 +31,7 @@ type MarkdownCond<T, _S, _L extends LocalesValues> = T extends {
|
|
|
31
31
|
use: (components?: Record<keyof U, any>) => any;
|
|
32
32
|
metadata: DeepTransformContent<V>;
|
|
33
33
|
}> : never;
|
|
34
|
-
declare const markdownPlugin: Plugins;
|
|
34
|
+
export declare const markdownPlugin: Plugins;
|
|
35
35
|
/** ---------------------------------------------
|
|
36
36
|
* HTML PLUGIN
|
|
37
37
|
* --------------------------------------------- */
|
|
@@ -41,7 +41,7 @@ declare const markdownPlugin: Plugins;
|
|
|
41
41
|
* This ensures type safety:
|
|
42
42
|
* - `html('<div>Hello <CustomComponent /></div>').use({ CustomComponent: ... })` - optional but typed
|
|
43
43
|
*/
|
|
44
|
-
type HTMLPluginCond<T, _S, _L> = T extends {
|
|
44
|
+
export type HTMLPluginCond<T, _S, _L> = T extends {
|
|
45
45
|
nodeType: NodeType | string;
|
|
46
46
|
[NodeTypes.HTML]: infer I;
|
|
47
47
|
tags?: infer U;
|
|
@@ -49,19 +49,19 @@ type HTMLPluginCond<T, _S, _L> = T extends {
|
|
|
49
49
|
use: (components?: Record<keyof U, any>) => any;
|
|
50
50
|
}> : never;
|
|
51
51
|
/** HTML plugin. Replaces node with a function that takes components => IntlayerNode. */
|
|
52
|
-
declare const htmlPlugin: Plugins;
|
|
52
|
+
export declare const htmlPlugin: Plugins;
|
|
53
53
|
/** ---------------------------------------------
|
|
54
54
|
* INSERTION PLUGIN
|
|
55
55
|
* --------------------------------------------- */
|
|
56
56
|
/**
|
|
57
57
|
* Insertion conditional type.
|
|
58
58
|
*/
|
|
59
|
-
type InsertionPluginCond<T> = T extends {
|
|
59
|
+
export type InsertionPluginCond<T> = T extends {
|
|
60
60
|
nodeType: NodeType | string;
|
|
61
61
|
[NodeTypes.INSERTION]: infer _I;
|
|
62
62
|
} ? (args: Record<string, string | number>) => string : never;
|
|
63
|
-
declare const insertionPlugin: Plugins;
|
|
64
|
-
interface IInterpreterPluginAngular<T, S, L extends LocalesValues> {
|
|
63
|
+
export declare const insertionPlugin: Plugins;
|
|
64
|
+
export interface IInterpreterPluginAngular<T, S, L extends LocalesValues> {
|
|
65
65
|
angularIntlayerNode: IntlayerNodeCond<T>;
|
|
66
66
|
angularMarkdown: MarkdownCond<T, S, L>;
|
|
67
67
|
angularHtml: HTMLPluginCond<T, S, L>;
|
|
@@ -72,18 +72,17 @@ interface IInterpreterPluginAngular<T, S, L extends LocalesValues> {
|
|
|
72
72
|
*
|
|
73
73
|
* Otherwise the the `angular-intlayer` plugins will override the types of `intlayer` functions.
|
|
74
74
|
*/
|
|
75
|
-
type IInterpreterPluginState = Omit<IInterpreterPluginState$1, 'insertion'> & {
|
|
75
|
+
export type IInterpreterPluginState = Omit<IInterpreterPluginState$1, 'insertion'> & {
|
|
76
76
|
angularIntlayerNode: true;
|
|
77
77
|
angularMarkdown: true;
|
|
78
78
|
angularHtml: true;
|
|
79
79
|
angularInsertion: true;
|
|
80
80
|
};
|
|
81
|
-
type DeepTransformContent<T, L extends LocalesValues = DeclaredLocales> = DeepTransformContent$1<T, IInterpreterPluginState, L>;
|
|
81
|
+
export type DeepTransformContent<T, L extends LocalesValues = DeclaredLocales> = DeepTransformContent$1<T, IInterpreterPluginState, L>;
|
|
82
82
|
/**
|
|
83
83
|
* Get the plugins array for Angular content transformation.
|
|
84
84
|
* This function is used by both getIntlayer and getDictionary to ensure consistent plugin configuration.
|
|
85
85
|
*/
|
|
86
|
-
declare const getPlugins: (locale?: LocalesValues, fallback?: boolean) => Plugins[];
|
|
86
|
+
export declare const getPlugins: (locale?: LocalesValues, fallback?: boolean) => Plugins[];
|
|
87
87
|
//#endregion
|
|
88
|
-
export { DeepTransformContent, HTMLPluginCond, IInterpreterPluginAngular, IInterpreterPluginState, InsertionPluginCond, IntlayerNode, IntlayerNodeCond, MarkdownCond, MarkdownStringCond, getPlugins, htmlPlugin, insertionPlugin, intlayerNodePlugins, markdownPlugin, markdownStringPlugin };
|
|
89
88
|
//# sourceMappingURL=plugins.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugins.d.ts","names":[],"sources":["../../src/plugins.ts"],"mappings":";;;;;;;;
|
|
1
|
+
{"version":3,"file":"plugins.d.ts","names":[],"sources":["../../src/plugins.ts"],"mappings":";;;;;;;;YA8EY,iBAAiB,KAAK,4BAC9B,aAAa;iBAGA,aAAa,GAAG;EAC/B,OAAO;EACP;EACA,kBAAkB;;;qBAIP,qBAAqB;;;;YAwCtB,mBAAmB,KAAK,mBAChC;EAAuB,UAAU;;;qBAIxB,sBAAsB;YA2HvB,aAAa,GAAG,IAAI,WAAW,iBAAiB;EAC1D,UAAU;GACT,UAAU,iBAAiB;EAC5B,aAAa;EACb,iBAAiB;IAEf,aACE;EAEE,MAAM,aAAa,aAAa;EAChC,UAAU,qBAAqB;;qBAK1B,gBAAgB;;;;;;;;;;YAoCjB,eAAe,GAAG,IAAI,MAAM;EACtC,UAAU;GACT,UAAU,aAAa;EACxB,aAAa;IAEX,aACE;EAEE,MAAM,aAAa,aAAa;;;qBAM3B,YAAY;;;;;;;YA0Gb,oBAAoB,KAAK;EACnC,UAAU;GACT,UAAU,kBAAkB;KAE1B,MAAM;qBAGE,iBAAiB;iBA+Cb,0BAA0B,GAAG,GAAG,UAAU;EACzD,qBAAqB,iBAAiB;EACtC,iBAAiB,aAAa,GAAG,GAAG;EACpC,aAAa,eAAe,GAAG,GAAG;EAClC,kBAAkB,oBAAoB;;;;;;;YAQ5B,0BAA0B,KACpC;EAGA;EACA;EACA;EACA;;YAGU,qBACV,GACA,UAAU,gBAAgB,mBACxB,uBAAyB,GAAG,yBAAyB;;;;;qBAQ5C,aAAU,SACZ,eAAa,uBAErB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ResolvedEditor } from "@intlayer/types/module_augmentation";
|
|
2
2
|
//#region src/renderIntlayerNode.d.ts
|
|
3
|
-
type IntlayerNode<T = string, AdditionalProps = {}> = ResolvedEditor<T, any> & {
|
|
3
|
+
export type IntlayerNode<T = string, AdditionalProps = {}> = ResolvedEditor<T, any> & {
|
|
4
4
|
value: T;
|
|
5
5
|
} & AdditionalProps & T;
|
|
6
6
|
type RenderIntlayerNodeProps<T> = {
|
|
@@ -10,7 +10,6 @@ type RenderIntlayerNodeProps<T> = {
|
|
|
10
10
|
[key: string]: any;
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
declare const renderIntlayerNode: <T>({ children, value, additionalProps }: RenderIntlayerNodeProps<T>) => IntlayerNode<T>;
|
|
13
|
+
export declare const renderIntlayerNode: <T>({ children, value, additionalProps }: RenderIntlayerNodeProps<T>) => IntlayerNode<T>;
|
|
14
14
|
//#endregion
|
|
15
|
-
export { IntlayerNode, renderIntlayerNode };
|
|
16
15
|
//# sourceMappingURL=renderIntlayerNode.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderIntlayerNode.d.ts","names":[],"sources":["../../src/renderIntlayerNode.ts"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"renderIntlayerNode.d.ts","names":[],"sources":["../../src/renderIntlayerNode.ts"],"mappings":";;YAEY,aAAa,YAAY,wBAAwB,eAC3D;EAGA,OAAO;IACL,kBACF;KAEG,wBAAwB;EAC3B,OAAO;EACP;EACA;KAAqB;;;qBAGV,qBACX,KAAC,UAAA,OAAA,mBAKA,wBAAwB,OAAK,aAAa"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
//#region src/webpack/mergeConfig.d.ts
|
|
2
|
-
declare const mergeConfig: (baseConfig: import('webpack').Configuration) => import('webpack').Configuration;
|
|
2
|
+
export declare const mergeConfig: (baseConfig: import('webpack').Configuration) => import('webpack').Configuration;
|
|
3
3
|
//#endregion
|
|
4
|
-
export { mergeConfig };
|
|
5
4
|
//# sourceMappingURL=mergeConfig.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mergeConfig.d.ts","names":[],"sources":["../../../src/webpack/mergeConfig.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"mergeConfig.d.ts","names":[],"sources":["../../../src/webpack/mergeConfig.ts"],"mappings":";qBASa,cAAW,8BACQ,oCACX"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "angular-intlayer",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.5.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Easily internationalize i18n your Angular applications with type-safe multilingual content management.",
|
|
6
6
|
"keywords": [
|
|
@@ -116,32 +116,32 @@
|
|
|
116
116
|
"typecheck": "tsc --noEmit --project tsconfig.types.json"
|
|
117
117
|
},
|
|
118
118
|
"dependencies": {
|
|
119
|
-
"@babel/core": "^
|
|
120
|
-
"@babel/plugin-syntax-import-attributes": "7.
|
|
121
|
-
"@babel/preset-env": "
|
|
122
|
-
"@intlayer/config": "9.
|
|
123
|
-
"@intlayer/core": "9.
|
|
124
|
-
"@intlayer/dictionaries-entry": "9.
|
|
125
|
-
"@intlayer/editor": "9.
|
|
126
|
-
"@intlayer/engine": "9.
|
|
127
|
-
"@intlayer/types": "9.
|
|
128
|
-
"@intlayer/webpack": "9.
|
|
119
|
+
"@babel/core": "^8.0.1",
|
|
120
|
+
"@babel/plugin-syntax-import-attributes": "7.29.7",
|
|
121
|
+
"@babel/preset-env": "8.0.2",
|
|
122
|
+
"@intlayer/config": "9.5.0",
|
|
123
|
+
"@intlayer/core": "9.5.0",
|
|
124
|
+
"@intlayer/dictionaries-entry": "9.5.0",
|
|
125
|
+
"@intlayer/editor": "9.5.0",
|
|
126
|
+
"@intlayer/engine": "9.5.0",
|
|
127
|
+
"@intlayer/types": "9.5.0",
|
|
128
|
+
"@intlayer/webpack": "9.5.0",
|
|
129
129
|
"babel-loader": "10.1.1",
|
|
130
130
|
"defu": "6.1.7"
|
|
131
131
|
},
|
|
132
132
|
"devDependencies": {
|
|
133
|
-
"@angular/common": "
|
|
134
|
-
"@angular/core": "
|
|
135
|
-
"@types/node": "26.
|
|
133
|
+
"@angular/common": "22.1.5",
|
|
134
|
+
"@angular/core": "22.1.5",
|
|
135
|
+
"@types/node": "26.5.0",
|
|
136
136
|
"@types/webpack": "5.28.5",
|
|
137
137
|
"@utils/ts-config": "1.0.4",
|
|
138
138
|
"@utils/ts-config-types": "1.0.4",
|
|
139
139
|
"@utils/tsdown-config": "1.0.4",
|
|
140
140
|
"esbuild": "0.28.2",
|
|
141
141
|
"rimraf": "6.1.3",
|
|
142
|
-
"tsdown": "0.
|
|
142
|
+
"tsdown": "0.23.0",
|
|
143
143
|
"typescript": "7.0.2",
|
|
144
|
-
"vitest": "
|
|
144
|
+
"vitest": "5.0.0"
|
|
145
145
|
},
|
|
146
146
|
"peerDependencies": {
|
|
147
147
|
"@angular/common": ">=15",
|
|
@@ -155,7 +155,7 @@
|
|
|
155
155
|
}
|
|
156
156
|
},
|
|
157
157
|
"optionalDependencies": {
|
|
158
|
-
"@intlayer/analytics": "9.
|
|
158
|
+
"@intlayer/analytics": "9.5.0"
|
|
159
159
|
},
|
|
160
160
|
"engines": {
|
|
161
161
|
"node": ">=14.18"
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { LocalesValues as LocalesValues$1 } from "@intlayer/types/module_augmentation";
|
|
2
|
-
import { Dictionary } from "@intlayer/types/dictionary";
|
|
3
|
-
import "@intlayer/core/interpreter";
|
|
4
|
-
import "@intlayer/types/config";
|
|
5
|
-
import { Locale } from "@intlayer/types/allLocales";
|
|
6
|
-
import "@intlayer/types/locales";
|
|
7
|
-
import "@intlayer/config/built";
|
|
8
|
-
import "@intlayer/core/file";
|
|
9
|
-
import "@intlayer/core/formatters";
|
|
10
|
-
import "@intlayer/core/localization";
|
|
11
|
-
import "@intlayer/core/markdown";
|
|
12
|
-
import "@intlayer/core/transpiler";
|
|
13
|
-
import "@intlayer/core/utils";
|
|
14
|
-
export type { Locale, LocalesValues$1 as LocalesValues };
|