angular-intlayer 9.7.0 → 9.7.2
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 +9 -6
- package/dist/cjs/UI/IntlayerNode.component.cjs.map +1 -1
- package/dist/cjs/UI/index.cjs +2 -2
- package/dist/cjs/_virtual/{_@oxc-project_runtime@0.148.0 → _@oxc-project_runtime@0.157.0}/helpers/esm/decorate.cjs +1 -2
- package/dist/cjs/_virtual/{_@oxc-project_runtime@0.148.0 → _@oxc-project_runtime@0.157.0}/helpers/esm/decorateMetadata.cjs +1 -2
- package/dist/cjs/_virtual/_rolldown/runtime.cjs +1 -2
- package/dist/cjs/analytics/exposureSink.cjs +1 -2
- package/dist/cjs/analytics/index.cjs +3 -3
- package/dist/cjs/analytics/useAnalytics.cjs +3 -4
- package/dist/cjs/analytics/useConversion.cjs +1 -2
- package/dist/cjs/analytics/useExperiment.cjs +1 -2
- package/dist/cjs/client/index.cjs +9 -9
- package/dist/cjs/client/installIntlayer.cjs +4 -5
- package/dist/cjs/client/intlayerToken.cjs +2 -3
- package/dist/cjs/client/useDictionary.cjs +3 -4
- package/dist/cjs/client/useDictionary.cjs.map +1 -1
- package/dist/cjs/client/useDictionaryAsync.cjs +4 -5
- package/dist/cjs/client/useDictionaryDynamic.cjs +6 -7
- package/dist/cjs/client/useIntlayer.cjs +3 -4
- package/dist/cjs/client/useLoadDynamic.cjs +1 -2
- package/dist/cjs/client/useLocale.cjs +3 -4
- package/dist/cjs/client/useLocaleStorage.cjs +1 -2
- package/dist/cjs/client/usePathname.cjs +1 -2
- package/dist/cjs/editor/ContentSelector.component.cjs +4 -5
- package/dist/cjs/editor/EditorProvider.component.cjs +5 -6
- package/dist/cjs/editor/index.cjs +5 -5
- package/dist/cjs/editor/useEditor.cjs +3 -4
- package/dist/cjs/esbuild/hiddenDirectory.cjs +1 -2
- package/dist/cjs/esbuild/index.cjs +1 -1
- package/dist/cjs/esbuild/plugin.cjs +3 -4
- package/dist/cjs/esbuild/resolvePackageExport.cjs +1 -2
- package/dist/cjs/format/index.cjs +9 -9
- package/dist/cjs/format/useCompact.cjs +2 -3
- package/dist/cjs/format/useCurrency.cjs +2 -3
- package/dist/cjs/format/useDate.cjs +2 -3
- package/dist/cjs/format/useIntl.cjs +2 -3
- package/dist/cjs/format/useList.cjs +2 -3
- package/dist/cjs/format/useNumber.cjs +2 -3
- package/dist/cjs/format/usePercentage.cjs +2 -3
- package/dist/cjs/format/useRelativeTime.cjs +2 -3
- package/dist/cjs/format/useUnit.cjs +2 -3
- package/dist/cjs/getDictionary.cjs +2 -3
- package/dist/cjs/getDictionary.cjs.map +1 -1
- package/dist/cjs/getIntlayer.cjs +2 -3
- package/dist/cjs/html/index.cjs +2 -2
- package/dist/cjs/html/installIntlayerHTML.cjs +3 -4
- package/dist/cjs/index.cjs +17 -17
- package/dist/cjs/markdown/index.cjs +2 -2
- package/dist/cjs/markdown/installIntlayerMarkdown.cjs +3 -4
- package/dist/cjs/plugins.cjs +6 -7
- package/dist/cjs/renderIntlayerNode.cjs +1 -2
- package/dist/cjs/webpack/index.cjs +1 -1
- package/dist/cjs/webpack/mergeConfig.cjs +1 -2
- package/dist/esm/UI/IntlayerNode.component.mjs +8 -5
- package/dist/esm/UI/IntlayerNode.component.mjs.map +1 -1
- package/dist/esm/_virtual/{_@oxc-project_runtime@0.148.0 → _@oxc-project_runtime@0.157.0}/helpers/esm/decorate.mjs +1 -2
- package/dist/esm/_virtual/{_@oxc-project_runtime@0.148.0 → _@oxc-project_runtime@0.157.0}/helpers/esm/decorateMetadata.mjs +1 -2
- package/dist/esm/analytics/exposureSink.mjs +1 -2
- package/dist/esm/analytics/useAnalytics.mjs +2 -3
- package/dist/esm/analytics/useConversion.mjs +1 -2
- package/dist/esm/analytics/useExperiment.mjs +1 -2
- package/dist/esm/client/index.mjs +2 -2
- package/dist/esm/client/installIntlayer.mjs +2 -3
- package/dist/esm/client/intlayerToken.mjs +1 -2
- package/dist/esm/client/useDictionary.mjs +1 -2
- package/dist/esm/client/useDictionary.mjs.map +1 -1
- package/dist/esm/client/useDictionaryAsync.mjs +2 -3
- package/dist/esm/client/useDictionaryDynamic.mjs +2 -3
- package/dist/esm/client/useIntlayer.mjs +1 -2
- package/dist/esm/client/useLoadDynamic.mjs +1 -2
- package/dist/esm/client/useLocale.mjs +2 -3
- package/dist/esm/client/useLocaleStorage.mjs +1 -2
- package/dist/esm/client/usePathname.mjs +1 -2
- package/dist/esm/editor/ContentSelector.component.mjs +3 -4
- package/dist/esm/editor/EditorProvider.component.mjs +3 -4
- package/dist/esm/editor/index.mjs +1 -1
- package/dist/esm/editor/useEditor.mjs +2 -3
- package/dist/esm/esbuild/hiddenDirectory.mjs +1 -2
- package/dist/esm/esbuild/plugin.mjs +4 -5
- package/dist/esm/esbuild/resolvePackageExport.mjs +1 -2
- package/dist/esm/format/index.mjs +5 -5
- package/dist/esm/format/useCompact.mjs +1 -2
- package/dist/esm/format/useCurrency.mjs +1 -2
- package/dist/esm/format/useDate.mjs +1 -2
- package/dist/esm/format/useIntl.mjs +1 -2
- package/dist/esm/format/useList.mjs +1 -2
- package/dist/esm/format/useNumber.mjs +1 -2
- package/dist/esm/format/usePercentage.mjs +1 -2
- package/dist/esm/format/useRelativeTime.mjs +1 -2
- package/dist/esm/format/useUnit.mjs +1 -2
- package/dist/esm/getDictionary.mjs +1 -2
- package/dist/esm/getDictionary.mjs.map +1 -1
- package/dist/esm/getIntlayer.mjs +1 -2
- package/dist/esm/html/installIntlayerHTML.mjs +2 -3
- package/dist/esm/index.mjs +3 -3
- package/dist/esm/markdown/installIntlayerMarkdown.mjs +2 -3
- package/dist/esm/plugins.mjs +2 -3
- package/dist/esm/renderIntlayerNode.mjs +1 -2
- package/dist/esm/webpack/mergeConfig.mjs +1 -2
- package/dist/types/UI/IntlayerNode.component.d.ts +0 -2
- package/dist/types/UI/IntlayerNode.component.d.ts.map +1 -1
- package/dist/types/analytics/exposureSink.d.ts +0 -2
- package/dist/types/analytics/exposureSink.d.ts.map +1 -1
- package/dist/types/analytics/useAnalytics.d.ts +0 -2
- package/dist/types/analytics/useAnalytics.d.ts.map +1 -1
- package/dist/types/analytics/useConversion.d.ts +0 -2
- package/dist/types/analytics/useConversion.d.ts.map +1 -1
- package/dist/types/analytics/useExperiment.d.ts +0 -2
- package/dist/types/analytics/useExperiment.d.ts.map +1 -1
- package/dist/types/client/index.d.ts +1 -1
- package/dist/types/client/installIntlayer.d.ts +0 -2
- package/dist/types/client/installIntlayer.d.ts.map +1 -1
- package/dist/types/client/intlayerToken.d.ts +1 -3
- package/dist/types/client/intlayerToken.d.ts.map +1 -1
- package/dist/types/client/useDictionary.d.ts +1 -3
- package/dist/types/client/useDictionary.d.ts.map +1 -1
- package/dist/types/client/useDictionaryAsync.d.ts +0 -2
- package/dist/types/client/useDictionaryAsync.d.ts.map +1 -1
- package/dist/types/client/useDictionaryDynamic.d.ts +0 -2
- package/dist/types/client/useDictionaryDynamic.d.ts.map +1 -1
- package/dist/types/client/useIntlayer.d.ts +1 -3
- package/dist/types/client/useIntlayer.d.ts.map +1 -1
- package/dist/types/client/useLoadDynamic.d.ts +0 -2
- package/dist/types/client/useLoadDynamic.d.ts.map +1 -1
- package/dist/types/client/useLocale.d.ts +1 -3
- package/dist/types/client/useLocale.d.ts.map +1 -1
- package/dist/types/client/useLocaleStorage.d.ts +0 -2
- package/dist/types/client/useLocaleStorage.d.ts.map +1 -1
- package/dist/types/client/usePathname.d.ts +0 -2
- package/dist/types/client/usePathname.d.ts.map +1 -1
- package/dist/types/editor/ContentSelector.component.d.ts +0 -2
- package/dist/types/editor/ContentSelector.component.d.ts.map +1 -1
- package/dist/types/editor/EditorProvider.component.d.ts +0 -2
- package/dist/types/editor/EditorProvider.component.d.ts.map +1 -1
- package/dist/types/editor/useEditor.d.ts +0 -2
- package/dist/types/editor/useEditor.d.ts.map +1 -1
- package/dist/types/esbuild/hiddenDirectory.d.ts +0 -2
- package/dist/types/esbuild/hiddenDirectory.d.ts.map +1 -1
- package/dist/types/esbuild/plugin.d.ts +0 -2
- package/dist/types/esbuild/plugin.d.ts.map +1 -1
- package/dist/types/esbuild/resolvePackageExport.d.ts +0 -2
- package/dist/types/esbuild/resolvePackageExport.d.ts.map +1 -1
- package/dist/types/format/useCompact.d.ts +0 -2
- package/dist/types/format/useCompact.d.ts.map +1 -1
- package/dist/types/format/useCurrency.d.ts +0 -2
- package/dist/types/format/useCurrency.d.ts.map +1 -1
- package/dist/types/format/useDate.d.ts +0 -2
- package/dist/types/format/useDate.d.ts.map +1 -1
- package/dist/types/format/useIntl.d.ts +0 -2
- package/dist/types/format/useIntl.d.ts.map +1 -1
- package/dist/types/format/useList.d.ts +0 -2
- package/dist/types/format/useList.d.ts.map +1 -1
- package/dist/types/format/useNumber.d.ts +0 -2
- package/dist/types/format/useNumber.d.ts.map +1 -1
- package/dist/types/format/usePercentage.d.ts +0 -2
- package/dist/types/format/usePercentage.d.ts.map +1 -1
- package/dist/types/format/useRelativeTime.d.ts +0 -2
- package/dist/types/format/useRelativeTime.d.ts.map +1 -1
- package/dist/types/format/useUnit.d.ts +0 -2
- package/dist/types/format/useUnit.d.ts.map +1 -1
- package/dist/types/getDictionary.d.ts +0 -2
- package/dist/types/getDictionary.d.ts.map +1 -1
- package/dist/types/getIntlayer.d.ts +0 -2
- package/dist/types/getIntlayer.d.ts.map +1 -1
- package/dist/types/html/installIntlayerHTML.d.ts +1 -2
- package/dist/types/html/installIntlayerHTML.d.ts.map +1 -1
- package/dist/types/index.d.ts +4 -6
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/markdown/installIntlayerMarkdown.d.ts +0 -2
- package/dist/types/markdown/installIntlayerMarkdown.d.ts.map +1 -1
- package/dist/types/plugins.d.ts +0 -2
- package/dist/types/plugins.d.ts.map +1 -1
- package/dist/types/renderIntlayerNode.d.ts +1 -2
- package/dist/types/renderIntlayerNode.d.ts.map +1 -1
- package/dist/types/webpack/mergeConfig.d.ts +0 -2
- package/dist/types/webpack/mergeConfig.d.ts.map +1 -1
- package/package.json +59 -59
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { OnChanges, SimpleChanges } from "@angular/core";
|
|
2
|
-
//#region src/UI/IntlayerNode.component.d.ts
|
|
3
2
|
/**
|
|
4
3
|
* A transparent host element that renders Intlayer content nodes.
|
|
5
4
|
*
|
|
@@ -21,5 +20,4 @@ export declare class IntlayerNodeComponent implements OnChanges {
|
|
|
21
20
|
ngOnChanges(changes: SimpleChanges): void;
|
|
22
21
|
private render;
|
|
23
22
|
}
|
|
24
|
-
//#endregion
|
|
25
23
|
//# sourceMappingURL=IntlayerNode.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IntlayerNode.component.d.ts","names":[],"sources":["../../../src/UI/IntlayerNode.component.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"IntlayerNode.component.d.ts","names":[],"sources":["../../../src/UI/IntlayerNode.component.ts"],"mappings":";;;;;;;;;;;;;;qBAwCa,iCAAiC;EACnC;UAED;UACA;UACA;EAER,YAAY,SAAS;UAMb"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { KeyPath } from "@intlayer/types/keyPath";
|
|
2
|
-
//#region src/analytics/exposureSink.d.ts
|
|
3
2
|
/**
|
|
4
3
|
* Node metadata reported for a content exposure. Kept dependency-free (types
|
|
5
4
|
* only) so the interpreter hot path in `plugins.ts` never statically imports
|
|
@@ -27,5 +26,4 @@ export declare const setExposureSink: (next: ExposureSink | null) => void;
|
|
|
27
26
|
* @param input - The node metadata to report.
|
|
28
27
|
*/
|
|
29
28
|
export declare const reportExposure: (input: ExposureInput) => void;
|
|
30
|
-
//#endregion
|
|
31
29
|
//# sourceMappingURL=exposureSink.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"exposureSink.d.ts","names":[],"sources":["../../../src/analytics/exposureSink.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"exposureSink.d.ts","names":[],"sources":["../../../src/analytics/exposureSink.ts"],"mappings":";;;;;;YAOY;EACV;EACA,SAAS;EACT;EACA;;;YAIU,gBAAgB,OAAO;;;;;;;qBAUtB,kBAAe,MAAU;;;;;;;qBAUzB,iBAAc,OAAW"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { IntlayerProvider } from "../client/intlayerToken.js";
|
|
2
|
-
//#region src/analytics/useAnalytics.d.ts
|
|
3
2
|
/**
|
|
4
3
|
* Initializes the Intlayer analytics client singleton when analytics is
|
|
5
4
|
* enabled (mirrors {@link useEditor}). Records an initial page view, keeps the
|
|
@@ -31,5 +30,4 @@ export declare const useAnalytics: (client?: IntlayerProvider | null) => void;
|
|
|
31
30
|
* ```
|
|
32
31
|
*/
|
|
33
32
|
export declare const provideIntlayerAnalytics: (client?: IntlayerProvider | null) => import("@angular/core").EnvironmentProviders;
|
|
34
|
-
//#endregion
|
|
35
33
|
//# sourceMappingURL=useAnalytics.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useAnalytics.d.ts","names":[],"sources":["../../../src/analytics/useAnalytics.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"useAnalytics.d.ts","names":[],"sources":["../../../src/analytics/useAnalytics.ts"],"mappings":";;;;;;;;;;;;;qBA4Ba,eAAY,SAAa;;;;;;;;;;;;;;;;;;qBAkGzB,2BAAwB,SAAa,oDAAuB"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/analytics/useConversion.d.ts
|
|
2
1
|
/**
|
|
3
2
|
* Parameters describing a conversion to record.
|
|
4
3
|
*/
|
|
@@ -33,5 +32,4 @@ export type ConversionParams = {
|
|
|
33
32
|
* ```
|
|
34
33
|
*/
|
|
35
34
|
export declare const useConversion: () => (params: ConversionParams) => void;
|
|
36
|
-
//#endregion
|
|
37
35
|
//# sourceMappingURL=useConversion.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useConversion.d.ts","names":[],"sources":["../../../src/analytics/useConversion.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"useConversion.d.ts","names":[],"sources":["../../../src/analytics/useConversion.ts"],"mappings":";;;YAKY;;EAEV;;EAEA;;EAEA;;EAEA;;;;;;;;;;;;;;;;;;;;;;qBAuBW,sBAAa,QACR"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Signal } from "@angular/core";
|
|
2
|
-
//#region src/analytics/useExperiment.d.ts
|
|
3
2
|
/**
|
|
4
3
|
* The state of an A/B experiment for the current session.
|
|
5
4
|
*/
|
|
@@ -42,5 +41,4 @@ export type ExperimentState = {
|
|
|
42
41
|
* ```
|
|
43
42
|
*/
|
|
44
43
|
export declare const useExperiment: (experimentKey: string, variants: string[], weights?: number[]) => ExperimentState;
|
|
45
|
-
//#endregion
|
|
46
44
|
//# sourceMappingURL=useExperiment.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useExperiment.d.ts","names":[],"sources":["../../../src/analytics/useExperiment.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"useExperiment.d.ts","names":[],"sources":["../../../src/analytics/useExperiment.ts"],"mappings":";;;;YAMY;;;;;;EAMV,SAAS;;;;;;EAMT,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;qBA2BD,gBAAa,uBACH,oBACH,uBAEjB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { INTLAYER_TOKEN, IntlayerProvider, createIntlayerClient } from "./intlayerToken.js";
|
|
2
1
|
import { installIntlayer, provideIntlayer } from "./installIntlayer.js";
|
|
2
|
+
import { INTLAYER_TOKEN, IntlayerProvider, createIntlayerClient } from "./intlayerToken.js";
|
|
3
3
|
import { useDictionary } from "./useDictionary.js";
|
|
4
4
|
import { useDictionaryAsync } from "./useDictionaryAsync.js";
|
|
5
5
|
import { useDictionaryDynamic } from "./useDictionaryDynamic.js";
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { INTLAYER_TOKEN, IntlayerProvider, createIntlayerClient } from "./intlayerToken.js";
|
|
2
2
|
import { LocalesValues, ProviderVariant } from "@intlayer/types/module_augmentation";
|
|
3
|
-
//#region src/client/installIntlayer.d.ts
|
|
4
3
|
/**
|
|
5
4
|
* Provides Intlayer to your Angular application.
|
|
6
5
|
*
|
|
@@ -39,6 +38,5 @@ export declare const provideIntlayer: (locale?: LocalesValues, isCookieEnabled?:
|
|
|
39
38
|
* Helper to install the Intlayer provider.
|
|
40
39
|
*/
|
|
41
40
|
export declare const installIntlayer: (locale?: LocalesValues, isCookieEnabled?: boolean, variant?: ProviderVariant) => IntlayerProvider;
|
|
42
|
-
//#endregion
|
|
43
41
|
export { INTLAYER_TOKEN, IntlayerProvider, createIntlayerClient };
|
|
44
42
|
//# sourceMappingURL=installIntlayer.d.ts.map
|
|
@@ -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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBA4Ca,kBAAe,SACjB,eAAa,2BAAA,UAEZ,6CAAe;;;;;;;qBAcd,kBAAe,SACjB,eAAa,2BAAA,UAEZ,oBAAe"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { InjectionToken, Signal } from "@angular/core";
|
|
2
1
|
import { LocalesValues, ProviderVariant } from "@intlayer/types/module_augmentation";
|
|
3
|
-
|
|
2
|
+
import { InjectionToken, Signal } from "@angular/core";
|
|
4
3
|
export declare class IntlayerProvider {
|
|
5
4
|
isCookieEnabled: import("@angular/core").WritableSignal<boolean>;
|
|
6
5
|
private _locale;
|
|
@@ -20,5 +19,4 @@ export declare const INTLAYER_TOKEN: InjectionToken<IntlayerProvider>;
|
|
|
20
19
|
* Create and return a single IntlayerProvider instance
|
|
21
20
|
*/
|
|
22
21
|
export declare const createIntlayerClient: (locale?: LocalesValues, isCookieEnabled?: boolean, variant?: ProviderVariant) => IntlayerProvider;
|
|
23
|
-
//#endregion
|
|
24
22
|
//# sourceMappingURL=intlayerToken.d.ts.map
|
|
@@ -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":";;qBASa;EACX,yCAAe;UACP;UAIA;WAEC,QAAQ,OAAO;;;;;WAMf,SAAS,OAAO;EAGzB;EAIA,YAAS,QAAY;EAIrB,aAAU,SAAa;;qBAKZ,gBAAc,eAAA;;;;qBAUd,uBAAoB,SACtB,eAAa,2BAAA,UAEZ,oBACT"}
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import { DeepTransformContent } from "../plugins.js";
|
|
2
|
-
import { Signal } from "@angular/core";
|
|
3
2
|
import { DeclaredLocales, ExtractSelectorLocale, LocalesValues } from "@intlayer/types/module_augmentation";
|
|
3
|
+
import { Signal } from "@angular/core";
|
|
4
4
|
import { Dictionary, DictionarySelectorForGroup, QualifiedDictionaryGroup, ResolveQualifiedDictionaryContent } from "@intlayer/types/dictionary";
|
|
5
|
-
//#region src/client/useDictionary.d.ts
|
|
6
5
|
/**
|
|
7
6
|
* Angular hook that transforms a dictionary (or qualified dictionary group)
|
|
8
7
|
* and returns its reactive content for the given locale or selector.
|
|
9
8
|
*/
|
|
10
9
|
export declare const useDictionary: <const T extends Dictionary | QualifiedDictionaryGroup, const A extends LocalesValues | DictionarySelectorForGroup<T> = DeclaredLocales>(dictionary: T, localeOrSelector?: A) => Signal<DeepTransformContent<ResolveQualifiedDictionaryContent<T, A>, ExtractSelectorLocale<A>>>;
|
|
11
|
-
//#endregion
|
|
12
10
|
//# sourceMappingURL=useDictionary.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDictionary.d.ts","names":[],"sources":["../../../src/client/useDictionary.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"useDictionary.d.ts","names":[],"sources":["../../../src/client/useDictionary.ts"],"mappings":";;;;;;;;qBAqBa,sBACL,UAAU,aAAa,gCACvB,UAAU,gBAAgB,2BAA2B,KACzD,iBAAe,YAEL,GAAC,mBACM,MAClB,OACD,qBACE,kCAAkC,GAAG,IACrC,sBAAsB"}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { LocalesValues, StrictModeLocaleMap } from "@intlayer/types/module_augmentation";
|
|
2
2
|
import { Dictionary } from "@intlayer/types/dictionary";
|
|
3
|
-
//#region src/client/useDictionaryAsync.d.ts
|
|
4
3
|
/**
|
|
5
4
|
* On the server side, Hook that transform a dictionary and return the content
|
|
6
5
|
*
|
|
7
6
|
* If the locale is not provided, it will use the locale from the client context
|
|
8
7
|
*/
|
|
9
8
|
export declare const useDictionaryAsync: <const T extends Dictionary>(dictionaryPromise: StrictModeLocaleMap<() => Promise<T>>, locale?: LocalesValues) => Promise<import("@angular/core").Signal<unknown>>;
|
|
10
|
-
//#endregion
|
|
11
9
|
//# 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":";;;;;;;qBAiBa,2BAAkC,UAAU,YAAU,mBAC9C,0BAA0B,QAAQ,KAAG,SAC/C,kBAAa,gCAAA"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { DeclaredLocales, DictionaryKeys, DictionarySelectorForKey, LocalesValues, StrictModeLocaleMap } from "@intlayer/types/module_augmentation";
|
|
2
2
|
import { Dictionary } from "@intlayer/types/dictionary";
|
|
3
3
|
import { QualifiedDynamicLoaderMap } from "@intlayer/core/dictionaryManipulator";
|
|
4
|
-
//#region src/client/useDictionaryDynamic.d.ts
|
|
5
4
|
/**
|
|
6
5
|
* Lazily loads a dictionary (plain or qualified) and returns its reactive
|
|
7
6
|
* content.
|
|
@@ -14,5 +13,4 @@ import { QualifiedDynamicLoaderMap } from "@intlayer/core/dictionaryManipulator"
|
|
|
14
13
|
* the locale from the client context.
|
|
15
14
|
*/
|
|
16
15
|
export declare const useDictionaryDynamic: <const T extends Dictionary, const K extends DictionaryKeys, const A extends LocalesValues | DictionarySelectorForKey<K> = DeclaredLocales>(dictionaryPromise: StrictModeLocaleMap<() => Promise<T>> | QualifiedDynamicLoaderMap, key: K, localeOrSelector?: A) => import("@angular/core").Signal<any>;
|
|
17
|
-
//#endregion
|
|
18
16
|
//# 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":";;;;;;;;;;;;;;qBAoCa,6BACL,UAAU,kBACV,UAAU,sBACV,UAAU,gBAAgB,yBAAyB,KAAK,iBAAe,mBAGzE,0BAA0B,QAAQ,MAClC,2BAAyB,KACxB,GAAC,mBACa,8BAAC"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { DeepTransformContent } from "../plugins.js";
|
|
2
|
-
import { Signal } from "@angular/core";
|
|
3
2
|
import { DeclaredLocales, DictionaryKeys, DictionaryRegistryResult, DictionarySelectorForKey, ExtractSelectorLocale, LocalesValues } from "@intlayer/types/module_augmentation";
|
|
4
|
-
|
|
3
|
+
import { Signal } from "@angular/core";
|
|
5
4
|
/** guard utility - true only for objects generated by `renderIntlayerNode()` */
|
|
6
5
|
export declare const isUpdatableNode: (val: unknown) => val is {
|
|
7
6
|
__update: (n: unknown) => void;
|
|
@@ -32,5 +31,4 @@ export declare const isUpdatableNode: (val: unknown) => val is {
|
|
|
32
31
|
* ```
|
|
33
32
|
*/
|
|
34
33
|
export declare const useIntlayer: <const T extends DictionaryKeys, const A extends LocalesValues | DictionarySelectorForKey<T> = DeclaredLocales>(key: T, localeOrSelector?: A) => Signal<DeepTransformContent<DictionaryRegistryResult<T, A>, ExtractSelectorLocale<A>>>;
|
|
35
|
-
//#endregion
|
|
36
34
|
//# sourceMappingURL=useIntlayer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useIntlayer.d.ts","names":[],"sources":["../../../src/client/useIntlayer.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"useIntlayer.d.ts","names":[],"sources":["../../../src/client/useIntlayer.ts"],"mappings":";;;;qBAea,kBAAe,iBAEzB;EAAS,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;qBA8BV,oBACL,UAAU,sBACV,UAAU,gBAAgB,yBAAyB,KAAK,iBAAe,KAExE,GAAC,mBACa,MAClB,OACD,qBAAqB,yBAAyB,GAAG,IAAI,sBAAsB"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/client/useLoadDynamic.d.ts
|
|
2
1
|
/**
|
|
3
2
|
* A "synchronous" loader for a dynamically‐imported JSON (or anything).
|
|
4
3
|
*
|
|
@@ -6,5 +5,4 @@
|
|
|
6
5
|
* - When the Promise resolves, it replaces the signal's value with the real data.
|
|
7
6
|
*/
|
|
8
7
|
export declare const useLoadDynamic: <T extends Record<string, any>>(key: string, promise: Promise<T>) => T;
|
|
9
|
-
//#endregion
|
|
10
8
|
//# sourceMappingURL=useLoadDynamic.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useLoadDynamic.d.ts","names":[],"sources":["../../../src/client/useLoadDynamic.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"useLoadDynamic.d.ts","names":[],"sources":["../../../src/client/useLoadDynamic.ts"],"mappings":";;;;;;qBAQa,iBAAkB,UAAU,qBAAmB,aAC/C,SACF,QAAQ,OAChB"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { Signal } from "@angular/core";
|
|
2
1
|
import { DeclaredLocales, LocalesValues } from "@intlayer/types/module_augmentation";
|
|
3
|
-
|
|
2
|
+
import { Signal } from "@angular/core";
|
|
4
3
|
export type UseLocaleProps = {
|
|
5
4
|
isCookieEnabled?: boolean;
|
|
6
5
|
onLocaleChange?: (locale: DeclaredLocales) => void;
|
|
@@ -39,5 +38,4 @@ export type UseLocaleResult = {
|
|
|
39
38
|
* ```
|
|
40
39
|
*/
|
|
41
40
|
export declare const useLocale: ({ isCookieEnabled, onLocaleChange }?: UseLocaleProps) => UseLocaleResult;
|
|
42
|
-
//#endregion
|
|
43
41
|
//# sourceMappingURL=useLocale.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useLocale.d.ts","names":[],"sources":["../../../src/client/useLocale.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"useLocale.d.ts","names":[],"sources":["../../../src/client/useLocale.ts"],"mappings":";;YASY;EACV;EACA,kBAAkB,QAAQ;;YAGhB;EACV,QAAQ,OAAO;EACf,eAAe;EACf,kBAAkB;EAClB,YAAY,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAgCT,cAAS,iBAAA,mBAGnB,mBAAsB"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { LocalesValues } from "@intlayer/types/module_augmentation";
|
|
2
|
-
//#region src/client/useLocaleStorage.d.ts
|
|
3
2
|
/**
|
|
4
3
|
* Reads the locale persisted in the browser storage (cookie, localStorage…).
|
|
5
4
|
*
|
|
@@ -48,5 +47,4 @@ export declare const useLocaleCookie: (isCookieEnabled?: boolean) => {
|
|
|
48
47
|
localeCookie: import("@intlayer/types").Locale;
|
|
49
48
|
setLocaleCookie: (locale: LocalesValues) => void;
|
|
50
49
|
};
|
|
51
|
-
//#endregion
|
|
52
50
|
//# sourceMappingURL=useLocaleStorage.d.ts.map
|
|
@@ -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":";;;;;;;qBAea,oDAAkB;;;;;;;qBAQlB,2CAAe;;;;;;qBAOf,wCAAY;;;;qBAKZ,qBAAkB,QACrB,eAAa;;;;;;qBAaV,wBAAe;;;;qBAKf,mBAAgB;;;;;;;;;;;qBAahB,kBAAe;EAIxB,wCAAY;EACZ,kBAAe,QAAA"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Signal } from "@angular/core";
|
|
2
|
-
//#region src/client/usePathname.d.ts
|
|
3
2
|
/**
|
|
4
3
|
* Angular hook that returns a signal containing the current pathname with
|
|
5
4
|
* the locale segment removed.
|
|
@@ -30,5 +29,4 @@ import { Signal } from "@angular/core";
|
|
|
30
29
|
* ```
|
|
31
30
|
*/
|
|
32
31
|
export declare const usePathname: () => Signal<string>;
|
|
33
|
-
//#endregion
|
|
34
32
|
//# sourceMappingURL=usePathname.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usePathname.d.ts","names":[],"sources":["../../../src/client/usePathname.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"usePathname.d.ts","names":[],"sources":["../../../src/client/usePathname.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAsCa,mBAAkB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContentSelector.component.d.ts","names":[],"sources":["../../../src/editor/ContentSelector.component.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"ContentSelector.component.d.ts","names":[],"sources":["../../../src/editor/ContentSelector.component.ts"],"mappings":"A,qBAea;EACF;EACA;MAEL"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/editor/EditorProvider.component.d.ts
|
|
2
1
|
/**
|
|
3
2
|
* Drop-in Angular equivalent of React's `EditorProvider`.
|
|
4
3
|
*
|
|
@@ -28,5 +27,4 @@
|
|
|
28
27
|
export declare class EditorProviderComponent {
|
|
29
28
|
constructor();
|
|
30
29
|
}
|
|
31
|
-
//#endregion
|
|
32
30
|
//# sourceMappingURL=EditorProvider.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EditorProvider.component.d.ts","names":[],"sources":["../../../src/editor/EditorProvider.component.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"EditorProvider.component.d.ts","names":[],"sources":["../../../src/editor/EditorProvider.component.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;qBAkCa;EACX"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { IntlayerProvider } from "../client/intlayerToken.js";
|
|
2
|
-
//#region src/editor/useEditor.d.ts
|
|
3
2
|
/**
|
|
4
3
|
* Initialises the Intlayer editor client singleton when the editor is enabled.
|
|
5
4
|
* Syncs the current locale from the provided Intlayer client into the editor
|
|
@@ -31,5 +30,4 @@ export declare const useEditor: (client?: IntlayerProvider | null) => void;
|
|
|
31
30
|
* ```
|
|
32
31
|
*/
|
|
33
32
|
export declare const provideIntlayerEditor: (client?: IntlayerProvider | null) => import("@angular/core").EnvironmentProviders;
|
|
34
|
-
//#endregion
|
|
35
33
|
//# 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":";;;;;;;;;;;;;qBA6Ba,YAAS,SAAa;;;;;;;;;;;;;;;;;;qBAkFtB,wBAAqB,SAAa,oDAAuB"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/esbuild/hiddenDirectory.d.ts
|
|
2
1
|
/**
|
|
3
2
|
* Whether `directory` sits under a dot-directory (`.intlayer/…`) of `baseDir`.
|
|
4
3
|
*
|
|
@@ -11,5 +10,4 @@
|
|
|
11
10
|
* @param directory - Absolute directory to test.
|
|
12
11
|
*/
|
|
13
12
|
export declare const isInHiddenDirectory: (baseDir: string, directory: string) => boolean;
|
|
14
|
-
//#endregion
|
|
15
13
|
//# sourceMappingURL=hiddenDirectory.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hiddenDirectory.d.ts","names":[],"sources":["../../../src/esbuild/hiddenDirectory.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"hiddenDirectory.d.ts","names":[],"sources":["../../../src/esbuild/hiddenDirectory.ts"],"mappings":";;;;;;;;;;;qBAaa,sBAAmB,iBACf"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { GetConfigurationOptions } from "@intlayer/config/node";
|
|
2
|
-
//#region src/esbuild/plugin.d.ts
|
|
3
2
|
export type EsbuildResolveArgs = {
|
|
4
3
|
path: string;
|
|
5
4
|
importer: string;
|
|
@@ -92,5 +91,4 @@ export type IntlayerEsbuildPluginOptions = {
|
|
|
92
91
|
* ```
|
|
93
92
|
*/
|
|
94
93
|
export declare const intlayerEsbuildPlugin: (options?: IntlayerEsbuildPluginOptions) => EsbuildPlugin;
|
|
95
|
-
//#endregion
|
|
96
94
|
//# 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":";YAgEY;EACV;EACA;EACA;EACA;EACA;EACA;;YAGU;EACV;EACA;EACA;EACA;EACA;EACA;EACA;;YAGU;EACV;EACA;EACA;;YAGU;EACV;EACA;;EAEA;;iBAGe;EACf;IACE,QAAQ;IACR,SAAS;IACT;IACA;;IAEA;;EAEF,QAAQ,uBAAuB;;EAE/B,UACE;IAAW,QAAQ;IAAQ;KAC3B,WACE,MAAM,uBAEJ,0CAGA,QAAQ;;EAGd,QACE,cACA,SAAS,QAAQ,KAAK,+BACrB,QAAQ;IAAyB;IAAc;;;EAElD,OACE;IAAW,QAAQ;IAAQ;KAC3B,WACE,MAAM,oBAEJ,uCAGA,QAAQ;;iBAIC;EACf;EACA,MAAM,OAAO,4BAA4B;;YAG/B;EACV,gBAAgB;;;;;;;;EAQhB;;;;;;;;;;;;;;;;;;;;;;;;qBAqDW,wBAAqB,UACtB,iCACT"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/esbuild/resolvePackageExport.d.ts
|
|
2
1
|
export type ResolvedPackageExport = {
|
|
3
2
|
/** Absolute path of the file the specifier maps to. */
|
|
4
3
|
path: string;
|
|
@@ -33,5 +32,4 @@ export declare const findPackageManifest: (packageName: string, startDir: string
|
|
|
33
32
|
* or does not map the subpath — the caller then leaves the bundler to it.
|
|
34
33
|
*/
|
|
35
34
|
export declare const resolvePackageExport: (specifier: string, resolveDir: string, conditions: readonly string[]) => ResolvedPackageExport | undefined;
|
|
36
|
-
//#endregion
|
|
37
35
|
//# sourceMappingURL=resolvePackageExport.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolvePackageExport.d.ts","names":[],"sources":["../../../src/esbuild/resolvePackageExport.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"resolvePackageExport.d.ts","names":[],"sources":["../../../src/esbuild/resolvePackageExport.ts"],"mappings":"A,YAqBY;;EAEV;;EAEA;;;qBAIW,wBAAqB;EAE7B;EAAqB;;;;;;qBAab,sBAAmB,qBACX;;;;;;;;;;;;;;;;;;qBA6HR,uBAAoB,mBACd,oBACC,kCAEjB"}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
//#region src/format/useCompact.d.ts
|
|
2
1
|
export declare const useCompact: () => import("@angular/core").Signal<(value: string | number, options?: Intl.NumberFormatOptions & {
|
|
3
2
|
locale?: import("@intlayer/types").LocalesValues;
|
|
4
3
|
}) => string>;
|
|
5
|
-
//#endregion
|
|
6
4
|
//# 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":"A,qBAIa,0CAAU,QAAA,wBAAA,UAAA,KAAA"}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
//#region src/format/useCurrency.d.ts
|
|
2
1
|
export declare const useCurrency: () => import("@angular/core").Signal<(value: string | number, options?: Intl.NumberFormatOptions & {
|
|
3
2
|
locale?: import("@intlayer/types").LocalesValues;
|
|
4
3
|
}) => string>;
|
|
5
|
-
//#endregion
|
|
6
4
|
//# 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":"A,qBAIa,2CAAW,QAAA,wBAAA,UAAA,KAAA"}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
//#region src/format/useDate.d.ts
|
|
2
1
|
/**
|
|
3
2
|
* Angular client hook that provides a localized date/time formatter.
|
|
4
3
|
*/
|
|
5
4
|
export declare const useDate: () => import("@angular/core").Signal<(date: string | number | Date, options?: import("@intlayer/core/formatters").DateTimePreset | (Intl.DateTimeFormatOptions & {
|
|
6
5
|
locale?: import("@intlayer/types").LocalesValues;
|
|
7
6
|
})) => string>;
|
|
8
|
-
//#endregion
|
|
9
7
|
//# 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"}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { LocalesValues } from "@intlayer/types/module_augmentation";
|
|
2
2
|
import { WrappedIntl } from "@intlayer/core/formatters";
|
|
3
|
-
//#region src/format/useIntl.d.ts
|
|
4
3
|
/**
|
|
5
4
|
* Angular composable that provides a locale-bound `Intl` object as a Signal.
|
|
6
5
|
*/
|
|
7
6
|
export declare const useIntl: (locale?: LocalesValues) => import("@angular/core").Signal<WrappedIntl>;
|
|
8
|
-
//#endregion
|
|
9
7
|
//# 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,6 +1,4 @@
|
|
|
1
|
-
//#region src/format/useList.d.ts
|
|
2
1
|
export declare const useList: () => import("@angular/core").Signal<(values: (string | number)[], options?: import("@intlayer/core/formatters").ListFormatOptions & {
|
|
3
2
|
locale?: import("@intlayer/types").LocalesValues;
|
|
4
3
|
}) => string>;
|
|
5
|
-
//#endregion
|
|
6
4
|
//# 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":"A,qBAIa,uCAAO,QAAA,6BAAA,8CAAA"}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
//#region src/format/useNumber.d.ts
|
|
2
1
|
/**
|
|
3
2
|
* Angular client hook that provides a localized number formatter.
|
|
4
3
|
*/
|
|
5
4
|
export declare const useNumber: () => import("@angular/core").Signal<(value: string | number, args_1?: Intl.NumberFormatOptions & {
|
|
6
5
|
locale?: import("@intlayer/types").LocalesValues;
|
|
7
6
|
}) => string>;
|
|
8
|
-
//#endregion
|
|
9
7
|
//# 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,6 +1,4 @@
|
|
|
1
|
-
//#region src/format/usePercentage.d.ts
|
|
2
1
|
export declare const usePercentage: () => import("@angular/core").Signal<(value: string | number, args_1?: Intl.NumberFormatOptions & {
|
|
3
2
|
locale?: import("@intlayer/types").LocalesValues;
|
|
4
3
|
}) => string>;
|
|
5
|
-
//#endregion
|
|
6
4
|
//# 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":"A,qBAIa,6CAAa,QAAA,wBAAA,SAAA,KAAA"}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
//#region src/format/useRelativeTime.d.ts
|
|
2
1
|
export declare const useRelativeTime: () => import("@angular/core").Signal<(from: string | number | Date, to?: string | number | Date, options?: Intl.RelativeTimeFormatOptions & {
|
|
3
2
|
locale?: import("@intlayer/types").LocalesValues;
|
|
4
3
|
unit?: Intl.RelativeTimeFormatUnit;
|
|
5
4
|
}) => string>;
|
|
6
|
-
//#endregion
|
|
7
5
|
//# 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":"A,qBAIa,+CAAe,QAAA,wBAAA,MAAA,uBAAA,MAAA,UAAA,KAAA"}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
//#region src/format/useUnit.d.ts
|
|
2
1
|
export declare const useUnit: () => import("@angular/core").Signal<(value: string | number, options?: Intl.NumberFormatOptions & {
|
|
3
2
|
locale?: import("@intlayer/types").LocalesValues;
|
|
4
3
|
}) => string>;
|
|
5
|
-
//#endregion
|
|
6
4
|
//# 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":"A,qBAIa,uCAAO,QAAA,wBAAA,UAAA,KAAA"}
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import { DeepTransformContent } from "./plugins.js";
|
|
2
2
|
import { DeclaredLocales, ExtractSelectorLocale, LocalesValues } from "@intlayer/types/module_augmentation";
|
|
3
3
|
import { Dictionary, DictionarySelectorForGroup, QualifiedDictionaryGroup, ResolveQualifiedDictionaryContent } from "@intlayer/types/dictionary";
|
|
4
|
-
//#region src/getDictionary.d.ts
|
|
5
4
|
/**
|
|
6
5
|
* Transforms a dictionary (or qualified dictionary group) and returns its
|
|
7
6
|
* content for the given locale or selector (`{ item }`, `{ variant }`,
|
|
8
7
|
* optionally combined with `locale`).
|
|
9
8
|
*/
|
|
10
9
|
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
|
-
//#endregion
|
|
12
10
|
//# 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,UAAU,gBAAgB,2BAA2B,KACzD,iBAAe,YAEL,GAAC,mBACM,MAClB,qBACD,kCAAkC,GAAG,IACrC,sBAAsB"}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { DeepTransformContent } from "./plugins.js";
|
|
2
2
|
import { DeclaredLocales, DictionaryKeys, DictionaryRegistryResult, DictionarySelectorForKey, ExtractSelectorLocale, LocalesValues } from "@intlayer/types/module_augmentation";
|
|
3
|
-
//#region src/getIntlayer.d.ts
|
|
4
3
|
/**
|
|
5
4
|
* Picks one dictionary by its key and returns its content for the given
|
|
6
5
|
* locale or selector (`{ item }`, `{ variant }`,
|
|
7
6
|
* optionally combined with `locale`).
|
|
8
7
|
*/
|
|
9
8
|
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
|
-
//#endregion
|
|
11
9
|
//# 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,5 +1,4 @@
|
|
|
1
1
|
import { InjectionToken, TemplateRef } from "@angular/core";
|
|
2
|
-
//#region src/html/installIntlayerHTML.d.ts
|
|
3
2
|
export declare const INTLAYER_HTML_TOKEN: InjectionToken<IntlayerHTMLProvider>;
|
|
4
3
|
type RenderHTMLOptions = {
|
|
5
4
|
components?: any;
|
|
@@ -28,5 +27,5 @@ export declare class IntlayerHTMLService {
|
|
|
28
27
|
* Function to inject HTML provider
|
|
29
28
|
*/
|
|
30
29
|
export declare const useHTML: () => IntlayerHTMLProvider;
|
|
31
|
-
|
|
30
|
+
export {};
|
|
32
31
|
//# 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"}
|