angular-intlayer 9.0.0-canary.12 → 9.0.0-canary.13
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/esm/esbuild/plugin.mjs +2 -2
- package/dist/esm/webpack/mergeConfig.mjs +1 -1
- package/dist/types/format/useCompact.d.ts +2 -2
- package/dist/types/format/useCompact.d.ts.map +1 -1
- package/dist/types/format/useCurrency.d.ts +2 -2
- package/dist/types/format/useCurrency.d.ts.map +1 -1
- package/dist/types/format/useDate.d.ts +2 -2
- package/dist/types/format/useDate.d.ts.map +1 -1
- package/dist/types/format/useList.d.ts +2 -2
- package/dist/types/format/useList.d.ts.map +1 -1
- package/dist/types/format/useNumber.d.ts +2 -2
- package/dist/types/format/useNumber.d.ts.map +1 -1
- package/dist/types/format/usePercentage.d.ts +2 -2
- package/dist/types/format/usePercentage.d.ts.map +1 -1
- package/dist/types/format/useRelativeTime.d.ts +2 -2
- package/dist/types/format/useRelativeTime.d.ts.map +1 -1
- package/dist/types/format/useUnit.d.ts +2 -2
- package/dist/types/format/useUnit.d.ts.map +1 -1
- package/dist/types/packages/intlayer/dist/types/index.d.ts +1 -2
- package/package.json +8 -8
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { join } from "node:path";
|
|
2
|
-
import { getConfiguration } from "@intlayer/config/node";
|
|
3
|
-
import { getAlias, getUnusedNodeTypesAsync } from "@intlayer/config/utils";
|
|
4
2
|
import { formatNodeTypeToEnvVar, getConfigEnvVars } from "@intlayer/config/envVars";
|
|
5
3
|
import { getAppLogger } from "@intlayer/config/logger";
|
|
4
|
+
import { getConfiguration } from "@intlayer/config/node";
|
|
5
|
+
import { getAlias, getUnusedNodeTypesAsync } from "@intlayer/config/utils";
|
|
6
6
|
import { getDictionaries } from "@intlayer/dictionaries-entry";
|
|
7
7
|
import { prepareIntlayer } from "@intlayer/engine/build";
|
|
8
8
|
import { logConfigDetails } from "@intlayer/engine/cli";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { __require } from "../_virtual/_rolldown/runtime.mjs";
|
|
2
|
-
import { createRequire } from "node:module";
|
|
3
2
|
import { resolve } from "node:path";
|
|
4
3
|
import { getConfiguration } from "@intlayer/config/node";
|
|
5
4
|
import { getAlias } from "@intlayer/config/utils";
|
|
5
|
+
import { createRequire } from "node:module";
|
|
6
6
|
import { IntlayerPlugin } from "@intlayer/webpack";
|
|
7
7
|
import { defu } from "defu";
|
|
8
8
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import { LocalesValues } from "../packages/intlayer/dist/types/index.js";
|
|
1
2
|
import * as _$_angular_core0 from "@angular/core";
|
|
2
|
-
import * as _$_intlayer_types0 from "@intlayer/types";
|
|
3
3
|
|
|
4
4
|
//#region src/format/useCompact.d.ts
|
|
5
5
|
declare const useCompact: () => _$_angular_core0.Signal<(value: string | number, options?: Intl.NumberFormatOptions & {
|
|
6
|
-
locale?:
|
|
6
|
+
locale?: LocalesValues;
|
|
7
7
|
}) => string>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { useCompact };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCompact.d.ts","names":[],"sources":["../../../src/format/useCompact.ts"],"mappings":";;;;cAIa,UAAA,yBAAU,MAAA,EAAA,KAAA,mBAAA,OAAA,GAAA,IAAA,CAAA,mBAAA;WAAA,
|
|
1
|
+
{"version":3,"file":"useCompact.d.ts","names":[],"sources":["../../../src/format/useCompact.ts"],"mappings":";;;;cAIa,UAAA,yBAAU,MAAA,EAAA,KAAA,mBAAA,OAAA,GAAA,IAAA,CAAA,mBAAA;WAAA,aAAA;AAAA"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import { LocalesValues } from "../packages/intlayer/dist/types/index.js";
|
|
1
2
|
import * as _$_angular_core0 from "@angular/core";
|
|
2
|
-
import * as _$_intlayer_types0 from "@intlayer/types";
|
|
3
3
|
|
|
4
4
|
//#region src/format/useCurrency.d.ts
|
|
5
5
|
declare const useCurrency: () => _$_angular_core0.Signal<(value: string | number, options?: Intl.NumberFormatOptions & {
|
|
6
|
-
locale?:
|
|
6
|
+
locale?: LocalesValues;
|
|
7
7
|
}) => string>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { useCurrency };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCurrency.d.ts","names":[],"sources":["../../../src/format/useCurrency.ts"],"mappings":";;;;cAIa,WAAA,yBAAW,MAAA,EAAA,KAAA,mBAAA,OAAA,GAAA,IAAA,CAAA,mBAAA;WAAA,
|
|
1
|
+
{"version":3,"file":"useCurrency.d.ts","names":[],"sources":["../../../src/format/useCurrency.ts"],"mappings":";;;;cAIa,WAAA,yBAAW,MAAA,EAAA,KAAA,mBAAA,OAAA,GAAA,IAAA,CAAA,mBAAA;WAAA,aAAA;AAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { LocalesValues } from "../packages/intlayer/dist/types/index.js";
|
|
1
2
|
import * as _$_angular_core0 from "@angular/core";
|
|
2
|
-
import * as _$_intlayer_types0 from "@intlayer/types";
|
|
3
3
|
import * as _$_intlayer_core_formatters0 from "@intlayer/core/formatters";
|
|
4
4
|
|
|
5
5
|
//#region src/format/useDate.d.ts
|
|
@@ -7,7 +7,7 @@ import * as _$_intlayer_core_formatters0 from "@intlayer/core/formatters";
|
|
|
7
7
|
* Angular client hook that provides a localized date/time formatter.
|
|
8
8
|
*/
|
|
9
9
|
declare const useDate: () => _$_angular_core0.Signal<(date: string | number | Date, options?: (Intl.DateTimeFormatOptions & {
|
|
10
|
-
locale?:
|
|
10
|
+
locale?: LocalesValues;
|
|
11
11
|
}) | _$_intlayer_core_formatters0.DateTimePreset) => string>;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { useDate };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDate.d.ts","names":[],"sources":["../../../src/format/useDate.ts"],"mappings":";;;;;;;;cAOa,OAAA,yBAAO,MAAA,EAAA,IAAA,oBAAA,IAAA,EAAA,OAAA,IAAA,IAAA,CAAA,qBAAA;WAAA,
|
|
1
|
+
{"version":3,"file":"useDate.d.ts","names":[],"sources":["../../../src/format/useDate.ts"],"mappings":";;;;;;;;cAOa,OAAA,yBAAO,MAAA,EAAA,IAAA,oBAAA,IAAA,EAAA,OAAA,IAAA,IAAA,CAAA,qBAAA;WAAA,aAAA;AAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { LocalesValues } from "../packages/intlayer/dist/types/index.js";
|
|
1
2
|
import * as _$_angular_core0 from "@angular/core";
|
|
2
|
-
import * as _$_intlayer_types0 from "@intlayer/types";
|
|
3
3
|
|
|
4
4
|
//#region src/format/useList.d.ts
|
|
5
5
|
declare const useList: () => _$_angular_core0.Signal<(values: (string | number)[], options?: {
|
|
@@ -7,7 +7,7 @@ declare const useList: () => _$_angular_core0.Signal<(values: (string | number)[
|
|
|
7
7
|
type?: "conjunction" | "disjunction" | "unit";
|
|
8
8
|
style?: "long" | "short" | "narrow";
|
|
9
9
|
} & {
|
|
10
|
-
locale?:
|
|
10
|
+
locale?: LocalesValues;
|
|
11
11
|
}) => string>;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { useList };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useList.d.ts","names":[],"sources":["../../../src/format/useList.ts"],"mappings":";;;;cAIa,OAAA,QAWZ,gBAAA,CAXmB,MAAA,EAAA,MAAA,uBAAA,OAAA;;;;;WAWnB,
|
|
1
|
+
{"version":3,"file":"useList.d.ts","names":[],"sources":["../../../src/format/useList.ts"],"mappings":";;;;cAIa,OAAA,QAWZ,gBAAA,CAXmB,MAAA,EAAA,MAAA,uBAAA,OAAA;;;;;WAWnB,aAAA;AAAA"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import { LocalesValues } from "../packages/intlayer/dist/types/index.js";
|
|
1
2
|
import * as _$_angular_core0 from "@angular/core";
|
|
2
|
-
import * as _$_intlayer_types0 from "@intlayer/types";
|
|
3
3
|
|
|
4
4
|
//#region src/format/useNumber.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Angular client hook that provides a localized number formatter.
|
|
7
7
|
*/
|
|
8
8
|
declare const useNumber: () => _$_angular_core0.Signal<(value: string | number, args_1?: Intl.NumberFormatOptions & {
|
|
9
|
-
locale?:
|
|
9
|
+
locale?: LocalesValues;
|
|
10
10
|
}) => string>;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { useNumber };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useNumber.d.ts","names":[],"sources":["../../../src/format/useNumber.ts"],"mappings":";;;;;;;cAOa,SAAA,yBAAS,MAAA,EAAA,KAAA,mBAAA,MAAA,GAAA,IAAA,CAAA,mBAAA;WAAA,
|
|
1
|
+
{"version":3,"file":"useNumber.d.ts","names":[],"sources":["../../../src/format/useNumber.ts"],"mappings":";;;;;;;cAOa,SAAA,yBAAS,MAAA,EAAA,KAAA,mBAAA,MAAA,GAAA,IAAA,CAAA,mBAAA;WAAA,aAAA;AAAA"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import { LocalesValues } from "../packages/intlayer/dist/types/index.js";
|
|
1
2
|
import * as _$_angular_core0 from "@angular/core";
|
|
2
|
-
import * as _$_intlayer_types0 from "@intlayer/types";
|
|
3
3
|
|
|
4
4
|
//#region src/format/usePercentage.d.ts
|
|
5
5
|
declare const usePercentage: () => _$_angular_core0.Signal<(value: string | number, args_1?: Intl.NumberFormatOptions & {
|
|
6
|
-
locale?:
|
|
6
|
+
locale?: LocalesValues;
|
|
7
7
|
}) => string>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { usePercentage };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usePercentage.d.ts","names":[],"sources":["../../../src/format/usePercentage.ts"],"mappings":";;;;cAIa,aAAA,yBAAa,MAAA,EAAA,KAAA,mBAAA,MAAA,GAAA,IAAA,CAAA,mBAAA;WAAA,
|
|
1
|
+
{"version":3,"file":"usePercentage.d.ts","names":[],"sources":["../../../src/format/usePercentage.ts"],"mappings":";;;;cAIa,aAAA,yBAAa,MAAA,EAAA,KAAA,mBAAA,MAAA,GAAA,IAAA,CAAA,mBAAA;WAAA,aAAA;AAAA"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import { LocalesValues } from "../packages/intlayer/dist/types/index.js";
|
|
1
2
|
import * as _$_angular_core0 from "@angular/core";
|
|
2
|
-
import * as _$_intlayer_types0 from "@intlayer/types";
|
|
3
3
|
|
|
4
4
|
//#region src/format/useRelativeTime.d.ts
|
|
5
5
|
declare const useRelativeTime: () => _$_angular_core0.Signal<(from: string | number | Date, to?: string | number | Date, options?: Intl.RelativeTimeFormatOptions & {
|
|
6
|
-
locale?:
|
|
6
|
+
locale?: LocalesValues;
|
|
7
7
|
unit?: Intl.RelativeTimeFormatUnit;
|
|
8
8
|
}) => string>;
|
|
9
9
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useRelativeTime.d.ts","names":[],"sources":["../../../src/format/useRelativeTime.ts"],"mappings":";;;;cAIa,eAAA,yBAAe,MAAA,EAAA,IAAA,oBAAA,IAAA,EAAA,EAAA,qBAAA,IAAA,EAAA,OAAA,GAAA,IAAA,CAAA,yBAAA;WAAA,
|
|
1
|
+
{"version":3,"file":"useRelativeTime.d.ts","names":[],"sources":["../../../src/format/useRelativeTime.ts"],"mappings":";;;;cAIa,eAAA,yBAAe,MAAA,EAAA,IAAA,oBAAA,IAAA,EAAA,EAAA,qBAAA,IAAA,EAAA,OAAA,GAAA,IAAA,CAAA,yBAAA;WAAA,aAAA"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import { LocalesValues } from "../packages/intlayer/dist/types/index.js";
|
|
1
2
|
import * as _$_angular_core0 from "@angular/core";
|
|
2
|
-
import * as _$_intlayer_types0 from "@intlayer/types";
|
|
3
3
|
|
|
4
4
|
//#region src/format/useUnit.d.ts
|
|
5
5
|
declare const useUnit: () => _$_angular_core0.Signal<(value: string | number, options?: Intl.NumberFormatOptions & {
|
|
6
|
-
locale?:
|
|
6
|
+
locale?: LocalesValues;
|
|
7
7
|
}) => string>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { useUnit };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useUnit.d.ts","names":[],"sources":["../../../src/format/useUnit.ts"],"mappings":";;;;cAIa,OAAA,yBAAO,MAAA,EAAA,KAAA,mBAAA,OAAA,GAAA,IAAA,CAAA,mBAAA;WAAA,
|
|
1
|
+
{"version":3,"file":"useUnit.d.ts","names":[],"sources":["../../../src/format/useUnit.ts"],"mappings":";;;;cAIa,OAAA,yBAAO,MAAA,EAAA,KAAA,mBAAA,OAAA,GAAA,IAAA,CAAA,mBAAA;WAAA,aAAA;AAAA"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import { LocalesValues as LocalesValues$1 } from "@intlayer/types/module_augmentation";
|
|
2
2
|
import { Dictionary } from "@intlayer/types/dictionary";
|
|
3
|
-
|
|
4
|
-
export { type Locale, type LocalesValues$1 as LocalesValues };
|
|
3
|
+
export { type LocalesValues$1 as LocalesValues };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "angular-intlayer",
|
|
3
|
-
"version": "9.0.0-canary.
|
|
3
|
+
"version": "9.0.0-canary.13",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Easily internationalize i18n your Angular applications with type-safe multilingual content management.",
|
|
6
6
|
"keywords": [
|
|
@@ -119,13 +119,13 @@
|
|
|
119
119
|
"@babel/core": "^7.26.9",
|
|
120
120
|
"@babel/plugin-syntax-import-attributes": "7.28.6",
|
|
121
121
|
"@babel/preset-env": "7.29.2",
|
|
122
|
-
"@intlayer/config": "9.0.0-canary.
|
|
123
|
-
"@intlayer/core": "9.0.0-canary.
|
|
124
|
-
"@intlayer/dictionaries-entry": "9.0.0-canary.
|
|
125
|
-
"@intlayer/editor": "9.0.0-canary.
|
|
126
|
-
"@intlayer/engine": "9.0.0-canary.
|
|
127
|
-
"@intlayer/types": "9.0.0-canary.
|
|
128
|
-
"@intlayer/webpack": "9.0.0-canary.
|
|
122
|
+
"@intlayer/config": "9.0.0-canary.13",
|
|
123
|
+
"@intlayer/core": "9.0.0-canary.13",
|
|
124
|
+
"@intlayer/dictionaries-entry": "9.0.0-canary.13",
|
|
125
|
+
"@intlayer/editor": "9.0.0-canary.13",
|
|
126
|
+
"@intlayer/engine": "9.0.0-canary.13",
|
|
127
|
+
"@intlayer/types": "9.0.0-canary.13",
|
|
128
|
+
"@intlayer/webpack": "9.0.0-canary.13",
|
|
129
129
|
"babel-loader": "10.1.1",
|
|
130
130
|
"defu": "6.1.7"
|
|
131
131
|
},
|