angular-intlayer 8.9.7 → 8.9.8
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/cjs/UI/IntlayerNode.component.cjs +2 -2
- package/dist/cjs/UI/IntlayerNode.component.cjs.map +1 -1
- package/dist/cjs/_virtual/{_@oxc-project_runtime@0.129.0 → _@oxc-project_runtime@0.130.0}/helpers/decorate.cjs +1 -1
- package/dist/cjs/_virtual/{_@oxc-project_runtime@0.129.0 → _@oxc-project_runtime@0.130.0}/helpers/decorateMetadata.cjs +1 -1
- package/dist/cjs/client/installIntlayer.cjs.map +1 -1
- package/dist/cjs/client/intlayerToken.cjs.map +1 -1
- package/dist/cjs/client/useDictionary.cjs.map +1 -1
- package/dist/cjs/client/useDictionaryAsync.cjs.map +1 -1
- package/dist/cjs/client/useDictionaryDynamic.cjs.map +1 -1
- package/dist/cjs/client/useIntlayer.cjs.map +1 -1
- package/dist/cjs/client/useLoadDynamic.cjs.map +1 -1
- package/dist/cjs/client/useLocale.cjs.map +1 -1
- package/dist/cjs/client/useLocaleStorage.cjs.map +1 -1
- package/dist/cjs/editor/ContentSelector.component.cjs +2 -2
- package/dist/cjs/editor/ContentSelector.component.cjs.map +1 -1
- package/dist/cjs/editor/EditorProvider.component.cjs +2 -2
- package/dist/cjs/editor/EditorProvider.component.cjs.map +1 -1
- package/dist/cjs/editor/useEditor.cjs.map +1 -1
- package/dist/cjs/format/useCompact.cjs.map +1 -1
- package/dist/cjs/format/useCurrency.cjs.map +1 -1
- package/dist/cjs/format/useDate.cjs.map +1 -1
- package/dist/cjs/format/useIntl.cjs.map +1 -1
- package/dist/cjs/format/useList.cjs.map +1 -1
- package/dist/cjs/format/useNumber.cjs.map +1 -1
- package/dist/cjs/format/usePercentage.cjs.map +1 -1
- package/dist/cjs/format/useRelativeTime.cjs.map +1 -1
- package/dist/cjs/format/useUnit.cjs.map +1 -1
- package/dist/cjs/getDictionary.cjs.map +1 -1
- package/dist/cjs/getIntlayer.cjs.map +1 -1
- package/dist/cjs/html/installIntlayerHTML.cjs +1 -1
- package/dist/cjs/html/installIntlayerHTML.cjs.map +1 -1
- package/dist/cjs/markdown/installIntlayerMarkdown.cjs +1 -1
- package/dist/cjs/markdown/installIntlayerMarkdown.cjs.map +1 -1
- package/dist/cjs/plugins.cjs.map +1 -1
- package/dist/cjs/renderIntlayerNode.cjs.map +1 -1
- package/dist/cjs/webpack/mergeConfig.cjs.map +1 -1
- package/dist/esm/UI/IntlayerNode.component.mjs +2 -2
- package/dist/esm/UI/IntlayerNode.component.mjs.map +1 -1
- package/dist/esm/_virtual/{_@oxc-project_runtime@0.129.0 → _@oxc-project_runtime@0.130.0}/helpers/decorate.mjs +1 -1
- package/dist/esm/_virtual/{_@oxc-project_runtime@0.129.0 → _@oxc-project_runtime@0.130.0}/helpers/decorateMetadata.mjs +1 -1
- package/dist/esm/client/installIntlayer.mjs.map +1 -1
- package/dist/esm/client/intlayerToken.mjs.map +1 -1
- package/dist/esm/client/useDictionary.mjs.map +1 -1
- package/dist/esm/client/useDictionaryAsync.mjs.map +1 -1
- package/dist/esm/client/useDictionaryDynamic.mjs.map +1 -1
- package/dist/esm/client/useIntlayer.mjs.map +1 -1
- package/dist/esm/client/useLoadDynamic.mjs.map +1 -1
- package/dist/esm/client/useLocale.mjs.map +1 -1
- package/dist/esm/client/useLocaleStorage.mjs.map +1 -1
- package/dist/esm/editor/ContentSelector.component.mjs +2 -2
- package/dist/esm/editor/ContentSelector.component.mjs.map +1 -1
- package/dist/esm/editor/EditorProvider.component.mjs +2 -2
- package/dist/esm/editor/EditorProvider.component.mjs.map +1 -1
- package/dist/esm/editor/useEditor.mjs.map +1 -1
- package/dist/esm/format/useCompact.mjs.map +1 -1
- package/dist/esm/format/useCurrency.mjs.map +1 -1
- package/dist/esm/format/useDate.mjs.map +1 -1
- package/dist/esm/format/useIntl.mjs.map +1 -1
- package/dist/esm/format/useList.mjs.map +1 -1
- package/dist/esm/format/useNumber.mjs.map +1 -1
- package/dist/esm/format/usePercentage.mjs.map +1 -1
- package/dist/esm/format/useRelativeTime.mjs.map +1 -1
- package/dist/esm/format/useUnit.mjs.map +1 -1
- package/dist/esm/getDictionary.mjs.map +1 -1
- package/dist/esm/getIntlayer.mjs.map +1 -1
- package/dist/esm/html/installIntlayerHTML.mjs +1 -1
- package/dist/esm/html/installIntlayerHTML.mjs.map +1 -1
- package/dist/esm/markdown/installIntlayerMarkdown.mjs +1 -1
- package/dist/esm/markdown/installIntlayerMarkdown.mjs.map +1 -1
- package/dist/esm/plugins.mjs.map +1 -1
- package/dist/esm/renderIntlayerNode.mjs.map +1 -1
- package/dist/esm/webpack/mergeConfig.mjs.map +1 -1
- package/dist/types/UI/IntlayerNode.component.d.ts.map +1 -1
- package/dist/types/client/installIntlayer.d.ts +2 -3
- package/dist/types/client/installIntlayer.d.ts.map +1 -1
- package/dist/types/client/intlayerToken.d.ts +1 -2
- package/dist/types/client/intlayerToken.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 +2 -5
- package/dist/types/client/useDictionaryDynamic.d.ts.map +1 -1
- package/dist/types/client/useIntlayer.d.ts.map +1 -1
- package/dist/types/client/useLocale.d.ts.map +1 -1
- package/dist/types/client/useLocaleStorage.d.ts +4 -5
- package/dist/types/client/useLocaleStorage.d.ts.map +1 -1
- package/dist/types/editor/useEditor.d.ts +1 -2
- package/dist/types/editor/useEditor.d.ts.map +1 -1
- package/dist/types/format/useCompact.d.ts +2 -5
- package/dist/types/format/useCompact.d.ts.map +1 -1
- package/dist/types/format/useCurrency.d.ts +2 -5
- package/dist/types/format/useCurrency.d.ts.map +1 -1
- package/dist/types/format/useDate.d.ts +3 -7
- 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 -5
- package/dist/types/format/useList.d.ts.map +1 -1
- package/dist/types/format/useNumber.d.ts +2 -5
- package/dist/types/format/useNumber.d.ts.map +1 -1
- package/dist/types/format/usePercentage.d.ts +2 -5
- package/dist/types/format/usePercentage.d.ts.map +1 -1
- package/dist/types/format/useRelativeTime.d.ts +2 -5
- package/dist/types/format/useRelativeTime.d.ts.map +1 -1
- package/dist/types/format/useUnit.d.ts +2 -5
- 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/html/installIntlayerHTML.d.ts.map +1 -1
- package/dist/types/markdown/installIntlayerMarkdown.d.ts.map +1 -1
- package/dist/types/plugins.d.ts.map +1 -1
- package/dist/types/renderIntlayerNode.d.ts.map +1 -1
- package/dist/types/webpack/mergeConfig.d.ts.map +1 -1
- package/package.json +8 -8
- package/dist/types/intlayer/dist/types/index.d.ts +0 -4
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { INTLAYER_TOKEN, IntlayerProvider, createIntlayerClient } from "./intlayerToken.js";
|
|
2
|
-
import * as _$_angular_core0 from "@angular/core";
|
|
3
2
|
import { LocalesValues } from "@intlayer/types/module_augmentation";
|
|
4
3
|
|
|
5
4
|
//#region src/client/installIntlayer.d.ts
|
|
@@ -26,8 +25,8 @@ import { LocalesValues } from "@intlayer/types/module_augmentation";
|
|
|
26
25
|
* };
|
|
27
26
|
* ```
|
|
28
27
|
*/
|
|
29
|
-
declare const provideIntlayer: (locale?: LocalesValues, isCookieEnabled?: boolean) => (
|
|
30
|
-
provide:
|
|
28
|
+
declare const provideIntlayer: (locale?: LocalesValues, isCookieEnabled?: boolean) => (import("@angular/core").EnvironmentProviders | {
|
|
29
|
+
provide: import("@angular/core").InjectionToken<IntlayerProvider>;
|
|
31
30
|
useValue: IntlayerProvider;
|
|
32
31
|
})[];
|
|
33
32
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"installIntlayer.d.ts","names":[],"sources":["../../../src/client/installIntlayer.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"installIntlayer.d.ts","names":[],"sources":["../../../src/client/installIntlayer.ts"],"mappings":";;;;;AAiCA;;;;;;;;;;;;;;;;;;;AAeA;;;cAfa,eAAA,GACX,MAAA,GAAS,aAAA,EACT,eAAA,wCAAsB,oBAAA;;;;;;AAkBvB;cALY,eAAA,GACX,MAAA,GAAS,aAAA,EACT,eAAA,eAAsB,gBAGvB"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import * as _$_angular_core0 from "@angular/core";
|
|
2
1
|
import { InjectionToken, Signal } from "@angular/core";
|
|
3
2
|
import { LocalesValues } from "@intlayer/types/module_augmentation";
|
|
4
3
|
|
|
5
4
|
//#region src/client/intlayerToken.d.ts
|
|
6
5
|
declare class IntlayerProvider {
|
|
7
|
-
isCookieEnabled:
|
|
6
|
+
isCookieEnabled: import("@angular/core").WritableSignal<boolean>;
|
|
8
7
|
private _locale;
|
|
9
8
|
readonly locale: Signal<LocalesValues>;
|
|
10
9
|
constructor();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"intlayerToken.d.ts","names":[],"sources":["../../../src/client/intlayerToken.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"intlayerToken.d.ts","names":[],"sources":["../../../src/client/intlayerToken.ts"],"mappings":";;;;cAKa,gBAAA;EACX,eAAA,0BAAe,cAAA;EAAA,QACP,OAAA;EAAA,SAIC,MAAA,EAAQ,MAAA,CAAO,aAAA;;EAMxB,SAAA,GAAa,MAAA,EAAQ,aAAA;AAAA;AAAA,cAKV,cAAA,EAAc,cAAA,CAAA,gBAAA;;;;cAUd,oBAAA,GACX,MAAA,GAAS,aAAA,EACT,eAAA,eACC,gBAWF"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as _$_angular_core0 from "@angular/core";
|
|
2
1
|
import { LocalesValues, StrictModeLocaleMap } from "@intlayer/types/module_augmentation";
|
|
3
2
|
import { Dictionary } from "@intlayer/types/dictionary";
|
|
4
3
|
|
|
@@ -8,7 +7,7 @@ import { Dictionary } from "@intlayer/types/dictionary";
|
|
|
8
7
|
*
|
|
9
8
|
* If the locale is not provided, it will use the locale from the client context
|
|
10
9
|
*/
|
|
11
|
-
declare const useDictionaryAsync: <T extends Dictionary>(dictionaryPromise: StrictModeLocaleMap<() => Promise<T>>, locale?: LocalesValues) => Promise<
|
|
10
|
+
declare const useDictionaryAsync: <T extends Dictionary>(dictionaryPromise: StrictModeLocaleMap<() => Promise<T>>, locale?: LocalesValues) => Promise<import("@angular/core").Signal<any>>;
|
|
12
11
|
//#endregion
|
|
13
12
|
export { useDictionaryAsync };
|
|
14
13
|
//# sourceMappingURL=useDictionaryAsync.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDictionaryAsync.d.ts","names":[],"sources":["../../../src/client/useDictionaryAsync.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"useDictionaryAsync.d.ts","names":[],"sources":["../../../src/client/useDictionaryAsync.ts"],"mappings":";;;;;;AAiBA;;;cAAa,kBAAA,aAAsC,UAAA,EACjD,iBAAA,EAAmB,mBAAA,OAA0B,OAAA,CAAQ,CAAA,IACrD,MAAA,GAAS,aAAA,KAAa,OAAA,yBAAA,MAAA"}
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
import { IInterpreterPluginState
|
|
2
|
-
import { Locale } from "../intlayer/dist/types/index.js";
|
|
3
|
-
import * as _$_angular_core0 from "@angular/core";
|
|
1
|
+
import { IInterpreterPluginState } from "../plugins.js";
|
|
4
2
|
import { DictionaryKeys, LocalesValues, StrictModeLocaleMap } from "@intlayer/types/module_augmentation";
|
|
5
3
|
import { Dictionary } from "@intlayer/types/dictionary";
|
|
6
|
-
import * as _$_intlayer_core_interpreter0 from "@intlayer/core/interpreter";
|
|
7
4
|
|
|
8
5
|
//#region src/client/useDictionaryDynamic.d.ts
|
|
9
6
|
/**
|
|
@@ -11,7 +8,7 @@ import * as _$_intlayer_core_interpreter0 from "@intlayer/core/interpreter";
|
|
|
11
8
|
*
|
|
12
9
|
* If the locale is not provided, it will use the locale from the client context
|
|
13
10
|
*/
|
|
14
|
-
declare const useDictionaryDynamic: <T extends Dictionary, K extends DictionaryKeys>(dictionaryPromise: StrictModeLocaleMap<() => Promise<T>>, key: K, locale?: LocalesValues) =>
|
|
11
|
+
declare const useDictionaryDynamic: <T extends Dictionary, K extends DictionaryKeys>(dictionaryPromise: StrictModeLocaleMap<() => Promise<T>>, key: K, locale?: LocalesValues) => import("@angular/core").Signal<import("@intlayer/core/interpreter").DeepTransformContent<T["content"], IInterpreterPluginState, import("@intlayer/types").Locale>>;
|
|
15
12
|
//#endregion
|
|
16
13
|
export { useDictionaryDynamic };
|
|
17
14
|
//# sourceMappingURL=useDictionaryDynamic.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDictionaryDynamic.d.ts","names":[],"sources":["../../../src/client/useDictionaryDynamic.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"useDictionaryDynamic.d.ts","names":[],"sources":["../../../src/client/useDictionaryDynamic.ts"],"mappings":";;;;;;;;;AAmBA;cAAa,oBAAA,aACD,UAAA,YACA,cAAA,EAEV,iBAAA,EAAmB,mBAAA,OAA0B,OAAA,CAAQ,CAAA,IACrD,GAAA,EAAK,CAAA,EACL,MAAA,GAAS,aAAA,6BAAa,MAAA,sCAAA,oBAAA,CAAA,CAAA,aAAA,uBAAA,4BAAA,MAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useIntlayer.d.ts","names":[],"sources":["../../../src/client/useIntlayer.ts"],"mappings":";;;;;;cAWa,eAAA,GACX,GAAA,cACC,GAAA;EAAS,QAAA,GAAW,CAAA;AAAA
|
|
1
|
+
{"version":3,"file":"useIntlayer.d.ts","names":[],"sources":["../../../src/client/useIntlayer.ts"],"mappings":";;;;;;cAWa,eAAA,GACX,GAAA,cACC,GAAA;EAAS,QAAA,GAAW,CAAA;AAAA;;;;;;;;AAAU;AA8BjC;;;;;;;;;;;;;;;;;cAAa,WAAA,aAAyB,cAAA,YAA0B,aAAA,EAC9D,GAAA,EAAK,CAAA,EACL,MAAA,GAAS,aAAA,KACR,MAAA,CAAO,oBAAA,CAAqB,yBAAA,CAA0B,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useLocale.d.ts","names":[],"sources":["../../../src/client/useLocale.ts"],"mappings":";;;;KASY,cAAA;EACV,eAAA;EACA,cAAA,IAAkB,MAAA,EAAQ,
|
|
1
|
+
{"version":3,"file":"useLocale.d.ts","names":[],"sources":["../../../src/client/useLocale.ts"],"mappings":";;;;KASY,cAAA;EACV,eAAA;EACA,cAAA,IAAkB,MAAA,EAAQ,eAAe;AAAA;AAAA,KAG/B,eAAA;EACV,MAAA,EAAQ,MAAA,CAAO,eAAA;EACf,aAAA,EAAe,eAAA;EACf,gBAAA,EAAkB,eAAA;EAClB,SAAA,GAAY,MAAA,EAAQ,aAAA;AAAA;;AAPqB;AAG3C;;;;;;;;;;;;;;;;;;;;;AAImC;AA8BnC;;;cAAa,SAAA;EAAa,eAAA;EAAA;AAAA,IAGvB,cAAA,KAAsB,eAAA"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Locale } from "../intlayer/dist/types/index.js";
|
|
2
1
|
import { LocalesValues } from "@intlayer/types/module_augmentation";
|
|
3
2
|
|
|
4
3
|
//#region src/client/useLocaleStorage.d.ts
|
|
@@ -8,13 +7,13 @@ import { LocalesValues } from "@intlayer/types/module_augmentation";
|
|
|
8
7
|
/**
|
|
9
8
|
* Get the locale cookie
|
|
10
9
|
*/
|
|
11
|
-
declare const localeInStorage: Locale;
|
|
10
|
+
declare const localeInStorage: import("@intlayer/types").Locale;
|
|
12
11
|
/**
|
|
13
12
|
* @deprecated Use localeInStorage instead
|
|
14
13
|
*
|
|
15
14
|
* Get the locale cookie
|
|
16
15
|
*/
|
|
17
|
-
declare const localeCookie: Locale;
|
|
16
|
+
declare const localeCookie: import("@intlayer/types").Locale;
|
|
18
17
|
/**
|
|
19
18
|
* Set the locale cookie
|
|
20
19
|
*/
|
|
@@ -29,7 +28,7 @@ declare const setLocaleCookie: (locale: LocalesValues, isCookieEnabled: boolean)
|
|
|
29
28
|
* Hook that provides the locale storage and a function to set it
|
|
30
29
|
*/
|
|
31
30
|
declare const useLocaleStorage: (isCookieEnabled?: boolean) => {
|
|
32
|
-
getLocale: () => Locale;
|
|
31
|
+
getLocale: () => import("@intlayer/types").Locale;
|
|
33
32
|
setLocale: (locale: LocalesValues) => void;
|
|
34
33
|
};
|
|
35
34
|
/**
|
|
@@ -40,7 +39,7 @@ declare const useLocaleStorage: (isCookieEnabled?: boolean) => {
|
|
|
40
39
|
* Hook that provides the locale cookie and a function to set it
|
|
41
40
|
*/
|
|
42
41
|
declare const useLocaleCookie: (isCookieEnabled?: boolean) => {
|
|
43
|
-
localeCookie: Locale;
|
|
42
|
+
localeCookie: import("@intlayer/types").Locale;
|
|
44
43
|
setLocaleCookie: (locale: LocalesValues) => void;
|
|
45
44
|
};
|
|
46
45
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useLocaleStorage.d.ts","names":[],"sources":["../../../src/client/useLocaleStorage.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"useLocaleStorage.d.ts","names":[],"sources":["../../../src/client/useLocaleStorage.ts"],"mappings":";;;;;AAcA;;;;cAAa,eAAA,4BAAe,MAAmD;AAM/E;;;;AAA2C;AAA3C,cAAa,YAAA,4BAAY,MAAkB;;;;cAK9B,kBAAA,GACX,MAAA,EAAQ,aAAa,EACrB,eAAA;;;;AAAwB;AAY1B;cAAa,eAAA,GAAe,MAAA,EAblB,aAAa,EAAA,eAAA;;;;cAkBV,gBAAA,GAAoB,eAAA;;sBAI7B,aAAA;AAAA;AAJJ;;;;;;;AAAA,cAaa,eAAA,GAAmB,eAAA;;4BAO/B,aAAA;AAAA"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { IntlayerProvider } from "../client/intlayerToken.js";
|
|
2
|
-
import * as _$_angular_core0 from "@angular/core";
|
|
3
2
|
|
|
4
3
|
//#region src/editor/useEditor.d.ts
|
|
5
4
|
/**
|
|
@@ -32,7 +31,7 @@ declare const useEditor: (client?: IntlayerProvider | null) => void;
|
|
|
32
31
|
* };
|
|
33
32
|
* ```
|
|
34
33
|
*/
|
|
35
|
-
declare const provideIntlayerEditor: (client?: IntlayerProvider | null) =>
|
|
34
|
+
declare const provideIntlayerEditor: (client?: IntlayerProvider | null) => import("@angular/core").EnvironmentProviders;
|
|
36
35
|
//#endregion
|
|
37
36
|
export { provideIntlayerEditor, useEditor };
|
|
38
37
|
//# sourceMappingURL=useEditor.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useEditor.d.ts","names":[],"sources":["../../../src/editor/useEditor.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"useEditor.d.ts","names":[],"sources":["../../../src/editor/useEditor.ts"],"mappings":";;;;;AA4BA;;;;AAA0D;AA6D1D;;;;;cA7Da,SAAA,GAAa,MAAgC,GAAvB,gBAAgB;;;AA8DH;;;;;;;;;;;;;;;cADnC,qBAAA,GAAyB,MAAA,GAAS,gBAAgB,oCAAO,oBAAA"}
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
import { LocalesValues } from "../intlayer/dist/types/index.js";
|
|
2
|
-
import * as _$_angular_core0 from "@angular/core";
|
|
3
|
-
|
|
4
1
|
//#region src/format/useCompact.d.ts
|
|
5
|
-
declare const useCompact: () =>
|
|
6
|
-
locale?: LocalesValues;
|
|
2
|
+
declare const useCompact: () => import("@angular/core").Signal<(value: string | number, options?: Intl.NumberFormatOptions & {
|
|
3
|
+
locale?: import("@intlayer/types").LocalesValues;
|
|
7
4
|
}) => string>;
|
|
8
5
|
//#endregion
|
|
9
6
|
export { useCompact };
|
|
@@ -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":";cAIa,UAAA,gCAAU,MAAA,EAAA,KAAA,mBAAA,OAAA,GAAA,IAAA,CAAA,mBAAA"}
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
import { LocalesValues } from "../intlayer/dist/types/index.js";
|
|
2
|
-
import * as _$_angular_core0 from "@angular/core";
|
|
3
|
-
|
|
4
1
|
//#region src/format/useCurrency.d.ts
|
|
5
|
-
declare const useCurrency: () =>
|
|
6
|
-
locale?: LocalesValues;
|
|
2
|
+
declare const useCurrency: () => import("@angular/core").Signal<(value: string | number, options?: Intl.NumberFormatOptions & {
|
|
3
|
+
locale?: import("@intlayer/types").LocalesValues;
|
|
7
4
|
}) => string>;
|
|
8
5
|
//#endregion
|
|
9
6
|
export { useCurrency };
|
|
@@ -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":";cAIa,WAAA,gCAAW,MAAA,EAAA,KAAA,mBAAA,OAAA,GAAA,IAAA,CAAA,mBAAA"}
|
|
@@ -1,14 +1,10 @@
|
|
|
1
|
-
import { LocalesValues } from "../intlayer/dist/types/index.js";
|
|
2
|
-
import * as _$_angular_core0 from "@angular/core";
|
|
3
|
-
import * as _$_intlayer_core_formatters0 from "@intlayer/core/formatters";
|
|
4
|
-
|
|
5
1
|
//#region src/format/useDate.d.ts
|
|
6
2
|
/**
|
|
7
3
|
* Angular client hook that provides a localized date/time formatter.
|
|
8
4
|
*/
|
|
9
|
-
declare const useDate: () =>
|
|
10
|
-
locale?: LocalesValues;
|
|
11
|
-
}) |
|
|
5
|
+
declare const useDate: () => import("@angular/core").Signal<(date: string | number | Date, options?: (Intl.DateTimeFormatOptions & {
|
|
6
|
+
locale?: import("@intlayer/types").LocalesValues;
|
|
7
|
+
}) | import("@intlayer/core/formatters").DateTimePreset) => string>;
|
|
12
8
|
//#endregion
|
|
13
9
|
export { useDate };
|
|
14
10
|
//# 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":";;AAOA;;cAAa,OAAA,gCAAO,MAAA,EAAA,IAAA,oBAAA,IAAA,EAAA,OAAA,IAAA,IAAA,CAAA,qBAAA"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as _$_angular_core0 from "@angular/core";
|
|
2
1
|
import { LocalesValues } from "@intlayer/types/module_augmentation";
|
|
3
2
|
import { WrappedIntl } from "@intlayer/core/formatters";
|
|
4
3
|
|
|
@@ -6,7 +5,7 @@ import { WrappedIntl } from "@intlayer/core/formatters";
|
|
|
6
5
|
/**
|
|
7
6
|
* Angular composable that provides a locale-bound `Intl` object as a Signal.
|
|
8
7
|
*/
|
|
9
|
-
declare const useIntl: (locale?: LocalesValues) =>
|
|
8
|
+
declare const useIntl: (locale?: LocalesValues) => import("@angular/core").Signal<WrappedIntl>;
|
|
10
9
|
//#endregion
|
|
11
10
|
export { useIntl };
|
|
12
11
|
//# 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":";;;;;;AAQA;cAAa,OAAA,GAAW,MAAA,GAAS,aAAA,6BAAa,MAAA,CAAA,WAAA"}
|
|
@@ -1,13 +1,10 @@
|
|
|
1
|
-
import { LocalesValues } from "../intlayer/dist/types/index.js";
|
|
2
|
-
import * as _$_angular_core0 from "@angular/core";
|
|
3
|
-
|
|
4
1
|
//#region src/format/useList.d.ts
|
|
5
|
-
declare const useList: () =>
|
|
2
|
+
declare const useList: () => import("@angular/core").Signal<(values: (string | number)[], options?: {
|
|
6
3
|
localeMatcher?: "lookup" | "best fit";
|
|
7
4
|
type?: "conjunction" | "disjunction" | "unit";
|
|
8
5
|
style?: "long" | "short" | "narrow";
|
|
9
6
|
} & {
|
|
10
|
-
locale?: LocalesValues;
|
|
7
|
+
locale?: import("@intlayer/types").LocalesValues;
|
|
11
8
|
}) => string>;
|
|
12
9
|
//#endregion
|
|
13
10
|
export { useList };
|
|
@@ -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":";cAIa,OAAA,gCAAO,MAAA,EAAA,MAAA,uBAAA,OAAA"}
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { LocalesValues } from "../intlayer/dist/types/index.js";
|
|
2
|
-
import * as _$_angular_core0 from "@angular/core";
|
|
3
|
-
|
|
4
1
|
//#region src/format/useNumber.d.ts
|
|
5
2
|
/**
|
|
6
3
|
* Angular client hook that provides a localized number formatter.
|
|
7
4
|
*/
|
|
8
|
-
declare const useNumber: () =>
|
|
9
|
-
locale?: LocalesValues;
|
|
5
|
+
declare const useNumber: () => import("@angular/core").Signal<(value: string | number, args_1?: Intl.NumberFormatOptions & {
|
|
6
|
+
locale?: import("@intlayer/types").LocalesValues;
|
|
10
7
|
}) => string>;
|
|
11
8
|
//#endregion
|
|
12
9
|
export { useNumber };
|
|
@@ -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":";;AAOA;;cAAa,SAAA,gCAAS,MAAA,EAAA,KAAA,mBAAA,MAAA,GAAA,IAAA,CAAA,mBAAA"}
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
import { LocalesValues } from "../intlayer/dist/types/index.js";
|
|
2
|
-
import * as _$_angular_core0 from "@angular/core";
|
|
3
|
-
|
|
4
1
|
//#region src/format/usePercentage.d.ts
|
|
5
|
-
declare const usePercentage: () =>
|
|
6
|
-
locale?: LocalesValues;
|
|
2
|
+
declare const usePercentage: () => import("@angular/core").Signal<(value: string | number, args_1?: Intl.NumberFormatOptions & {
|
|
3
|
+
locale?: import("@intlayer/types").LocalesValues;
|
|
7
4
|
}) => string>;
|
|
8
5
|
//#endregion
|
|
9
6
|
export { usePercentage };
|
|
@@ -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":";cAIa,aAAA,gCAAa,MAAA,EAAA,KAAA,mBAAA,MAAA,GAAA,IAAA,CAAA,mBAAA"}
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
import { LocalesValues } from "../intlayer/dist/types/index.js";
|
|
2
|
-
import * as _$_angular_core0 from "@angular/core";
|
|
3
|
-
|
|
4
1
|
//#region src/format/useRelativeTime.d.ts
|
|
5
|
-
declare const useRelativeTime: () =>
|
|
6
|
-
locale?: LocalesValues;
|
|
2
|
+
declare const useRelativeTime: () => import("@angular/core").Signal<(from: string | number | Date, to?: string | number | Date, options?: Intl.RelativeTimeFormatOptions & {
|
|
3
|
+
locale?: import("@intlayer/types").LocalesValues;
|
|
7
4
|
unit?: Intl.RelativeTimeFormatUnit;
|
|
8
5
|
}) => string>;
|
|
9
6
|
//#endregion
|
|
@@ -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":";cAIa,eAAA,gCAAe,MAAA,EAAA,IAAA,oBAAA,IAAA,EAAA,EAAA,qBAAA,IAAA,EAAA,OAAA,GAAA,IAAA,CAAA,yBAAA"}
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
import { LocalesValues } from "../intlayer/dist/types/index.js";
|
|
2
|
-
import * as _$_angular_core0 from "@angular/core";
|
|
3
|
-
|
|
4
1
|
//#region src/format/useUnit.d.ts
|
|
5
|
-
declare const useUnit: () =>
|
|
6
|
-
locale?: LocalesValues;
|
|
2
|
+
declare const useUnit: () => import("@angular/core").Signal<(value: string | number, options?: Intl.NumberFormatOptions & {
|
|
3
|
+
locale?: import("@intlayer/types").LocalesValues;
|
|
7
4
|
}) => string>;
|
|
8
5
|
//#endregion
|
|
9
6
|
export { useUnit };
|
|
@@ -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":";cAIa,OAAA,gCAAO,MAAA,EAAA,KAAA,mBAAA,OAAA,GAAA,IAAA,CAAA,mBAAA"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { DeclaredLocales, LocalesValues } from "@intlayer/types/module_augmentation";
|
|
2
2
|
import { Dictionary } from "@intlayer/types/dictionary";
|
|
3
|
-
import * as _$_intlayer_core_interpreter0 from "@intlayer/core/interpreter";
|
|
4
3
|
|
|
5
4
|
//#region src/getDictionary.d.ts
|
|
6
|
-
declare const getDictionary: <T extends Dictionary, L extends LocalesValues = DeclaredLocales>(dictionary: T, locale?: L) =>
|
|
5
|
+
declare const getDictionary: <T extends Dictionary, L extends LocalesValues = DeclaredLocales>(dictionary: T, locale?: L) => import("@intlayer/core/interpreter").DeepTransformContent<T["content"], import("@intlayer/core/interpreter").IInterpreterPluginState, L>;
|
|
7
6
|
//#endregion
|
|
8
7
|
export { getDictionary };
|
|
9
8
|
//# 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":";;;;cAQa,aAAA,aACD,UAAA,YACA,aAAA,GAAgB,eAAA,EAE1B,UAAA,EAAY,CAAA,EACZ,MAAA,GAAS,CAAA,0CAAC,oBAAA,CAAA,CAAA,kDAAA,uBAAA,EAAA,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"installIntlayerHTML.d.ts","names":[],"sources":["../../../src/html/installIntlayerHTML.ts"],"mappings":";;;cAOa,mBAAA,EAAmB,cAAA,CAAA,oBAAA;AAAA,KAI3B,iBAAA;EACH,UAAA;EACA,OAAA;EACA,OAAA;AAAA;AAAA,KAGG,kBAAA,IACH,IAAA,UACA,SAAA,SAAkB,iBAAA,cACN,WAAA,QAAmB,OAAA,UAAiB,WAAA;AAAA,KAEtC,oBAAA;EACV,UAAA,EAAY,
|
|
1
|
+
{"version":3,"file":"installIntlayerHTML.d.ts","names":[],"sources":["../../../src/html/installIntlayerHTML.ts"],"mappings":";;;cAOa,mBAAA,EAAmB,cAAA,CAAA,oBAAA;AAAA,KAI3B,iBAAA;EACH,UAAA;EACA,OAAA;EACA,OAAA;AAAA;AAAA,KAGG,kBAAA,IACH,IAAA,UACA,SAAA,SAAkB,iBAAA,cACN,WAAA,QAAmB,OAAA,UAAiB,WAAA;AAAA,KAEtC,oBAAA;EACV,UAAA,EAAY,kBAAkB;AAAA;;;;cAYnB,0BAAA,GACX,UAAA,GAAY,kBAAA;;YAKP,oBAAA;AAAA;;;;cASM,mBAAA;EAAA,QACH,YAAA;EAIR,UAAA,CACE,IAAA,UACA,SAAA,kBACU,WAAA,QAAmB,OAAA,UAAiB,WAAA;AAAA;;;;cAWrC,OAAA,QAAc,oBAU1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"installIntlayerMarkdown.d.ts","names":[],"sources":["../../../src/markdown/installIntlayerMarkdown.ts"],"mappings":";;;;cASa,uBAAA,EAAuB,cAAA,CAAA,wBAAA;AAAA,KAG/B,qBAAA;EACH,UAAA;EACA,OAAA;EACA,OAAA;AAAA;AAAA,KAGG,sBAAA,IACH,QAAA,UACA,SAAA,SAAkB,qBAAA,cACN,WAAA,QAAmB,OAAA,UAAiB,WAAA;AAAA,KAEtC,wBAAA;EACV,cAAA,EAAgB,
|
|
1
|
+
{"version":3,"file":"installIntlayerMarkdown.d.ts","names":[],"sources":["../../../src/markdown/installIntlayerMarkdown.ts"],"mappings":";;;;cASa,uBAAA,EAAuB,cAAA,CAAA,wBAAA;AAAA,KAG/B,qBAAA;EACH,UAAA;EACA,OAAA;EACA,OAAA;AAAA;AAAA,KAGG,sBAAA,IACH,QAAA,UACA,SAAA,SAAkB,qBAAA,cACN,WAAA,QAAmB,OAAA,UAAiB,WAAA;AAAA,KAEtC,wBAAA;EACV,cAAA,EAAgB,sBAAsB;AAAA;AAAA,cAI3B,WAAA,EAAa,eA+CzB;;;;cAWY,8BAAA,GACX,cAAA,GAAgB,sBAAA;;YAKX,wBAAA;AAAA;;;;cASM,uBAAA;EAAA,QACH,gBAAA;EAIR,cAAA,CACE,QAAA,UACA,SAAA,kBACU,WAAA,QAAmB,OAAA,UAAiB,WAAA;AAAA;;;;cAWrC,WAAA,QAAkB,wBAU9B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugins.d.ts","names":[],"sources":["../../src/plugins.ts"],"mappings":";;;;;;;;AAwEA;KAAY,gBAAA,MAAsB,CAAA,2BAC9B,YAAA,CAAa,CAAA;AAAA,UAGA,YAAA;EACf,KAAA,EAAO,CAAA;EACP,QAAA;EACA,eAAA,GAAkB,
|
|
1
|
+
{"version":3,"file":"plugins.d.ts","names":[],"sources":["../../src/plugins.ts"],"mappings":";;;;;;;;AAwEA;KAAY,gBAAA,MAAsB,CAAA,2BAC9B,YAAA,CAAa,CAAA;AAAA,UAGA,YAAA;EACf,KAAA,EAAO,CAAA;EACP,QAAA;EACA,eAAA,GAAkB,CAAC;AAAA;;cAIR,mBAAA,EAAqB,OAsBjC;;;;KAMW,kBAAA,MAAwB,CAAA,kBAChC,YAAA;EAAuB,QAAA,EAAU,oBAAA;AAAA;;cAIxB,oBAAA,EAAsB,OAyH5B;AAAA,KAEK,YAAA,mBAA+B,aAAA,IAAiB,CAAA;EAC1D,QAAA,EAAU,QAAA;EAAA,CACT,SAAA,CAAU,QAAA;EACX,IAAA;EACA,QAAA;AAAA,IAEE,YAAA,CACE,CAAA;EAEE,GAAA,GAAM,UAAA,GAAa,MAAA,OAAa,CAAA;EAChC,QAAA,EAAU,oBAAA,CAAqB,CAAA;AAAA;AAAA,cAK1B,cAAA,EAAgB,OAwBtB;AAnMP;;;;AAsBC;AAMD;;;;KAmLY,cAAA,cAA4B,CAAA;EACtC,QAAA,EAAU,QAAA;EAAA,CACT,SAAA,CAAU,IAAA;EACX,IAAA;AAAA,IAEE,YAAA,CACE,CAAA;EAEE,GAAA,GAAM,UAAA,GAAa,MAAA,OAAa,CAAA;AAAA;;cAM3B,UAAA,EAAY,OAiGlB;;AAjSkD;AAIzD;;;;KAsSY,mBAAA,MAAyB,CAAA;EACnC,QAAA,EAAU,QAAA;EAAA,CACT,SAAA,CAAU,SAAA;AAAA,KAER,IAAA,EAAM,MAAA;AAAA,cAGE,eAAA,EAAiB,OA8BvB;AAAA,UAEU,yBAAA,iBAA0C,aAAA;EACzD,mBAAA,EAAqB,gBAAA,CAAiB,CAAA;EACtC,eAAA,EAAiB,YAAA,CAAa,CAAA,EAAG,CAAA,EAAG,CAAA;EACpC,WAAA,EAAa,cAAA,CAAe,CAAA,EAAG,CAAA,EAAG,CAAA;EAClC,gBAAA,EAAkB,mBAAA,CAAoB,CAAA;AAAA;;;;;;KAQ5B,uBAAA,GAA0B,IAAI,CACxC,yBAAA;EAGA,mBAAA;EACA,eAAA;EACA,WAAA;EACA,gBAAA;AAAA;AAAA,KAGU,oBAAA,cAEA,aAAA,GAAgB,eAAA,IACxB,sBAAA,CAAyB,CAAA,EAAG,uBAAA,EAAyB,CAAA;;;;;cAQ5C,UAAA,GACX,MAAA,GAAS,aAAA,EACT,QAAA,eACC,OAAO"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderIntlayerNode.d.ts","names":[],"sources":["../../src/renderIntlayerNode.ts"],"mappings":";;;KAEY,YAAA,qCAAiD,cAAA,CAC3D,CAAA;EAGA,KAAA,EAAO,CAAA;AAAA,IACL,eAAA,GACF,CAAA;AAAA,KAEG,uBAAA;EACH,KAAA,EAAO,
|
|
1
|
+
{"version":3,"file":"renderIntlayerNode.d.ts","names":[],"sources":["../../src/renderIntlayerNode.ts"],"mappings":";;;KAEY,YAAA,qCAAiD,cAAA,CAC3D,CAAA;EAGA,KAAA,EAAO,CAAA;AAAA,IACL,eAAA,GACF,CAAA;AAAA,KAEG,uBAAA;EACH,KAAA,EAAO,CAAC;EACR,QAAA;EACA,eAAA;IAAA,CAAqB,GAAA;EAAA;AAAA;AAAA,cAGV,kBAAA;EAEX,QAAA;EAAA,KAAA;EAAA;AAAA,GAIC,uBAAA,CAAwB,CAAA,MAAK,YAAA,CAAa,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mergeConfig.d.ts","names":[],"sources":["../../../src/webpack/mergeConfig.ts"],"mappings":";cAMa,WAAA,GACX,UAAA,EAkDD,SAAA,KAlD4C,
|
|
1
|
+
{"version":3,"file":"mergeConfig.d.ts","names":[],"sources":["../../../src/webpack/mergeConfig.ts"],"mappings":";cAMa,WAAA,GACX,UAAA,EAkDD,SAAA,KAlD4C,SAkD5C"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "angular-intlayer",
|
|
3
|
-
"version": "8.9.
|
|
3
|
+
"version": "8.9.8",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Easily internationalize i18n your Angular applications with type-safe multilingual content management.",
|
|
6
6
|
"keywords": [
|
|
@@ -110,13 +110,13 @@
|
|
|
110
110
|
"dependencies": {
|
|
111
111
|
"@babel/plugin-syntax-import-attributes": "^7.28.6",
|
|
112
112
|
"@babel/preset-env": "^7.29.2",
|
|
113
|
-
"@intlayer/chokidar": "8.9.
|
|
114
|
-
"@intlayer/config": "8.9.
|
|
115
|
-
"@intlayer/core": "8.9.
|
|
116
|
-
"@intlayer/dictionaries-entry": "8.9.
|
|
117
|
-
"@intlayer/editor": "8.9.
|
|
118
|
-
"@intlayer/types": "8.9.
|
|
119
|
-
"@intlayer/webpack": "8.9.
|
|
113
|
+
"@intlayer/chokidar": "8.9.8",
|
|
114
|
+
"@intlayer/config": "8.9.8",
|
|
115
|
+
"@intlayer/core": "8.9.8",
|
|
116
|
+
"@intlayer/dictionaries-entry": "8.9.8",
|
|
117
|
+
"@intlayer/editor": "8.9.8",
|
|
118
|
+
"@intlayer/types": "8.9.8",
|
|
119
|
+
"@intlayer/webpack": "8.9.8",
|
|
120
120
|
"babel-loader": "^10.1.1",
|
|
121
121
|
"defu": "6.1.7"
|
|
122
122
|
},
|