angular-intlayer 9.4.3 → 9.4.4
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/_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/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 +16 -16
- package/dist/types/intlayer/dist/types/index.d.ts +0 -14
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_decorateMetadata = require('../_virtual/_@oxc-project_runtime@0.
|
|
3
|
-
const require_decorate = require('../_virtual/_@oxc-project_runtime@0.
|
|
2
|
+
const require_decorateMetadata = require('../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/decorateMetadata.cjs');
|
|
3
|
+
const require_decorate = require('../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/decorate.cjs');
|
|
4
4
|
let _angular_core = require("@angular/core");
|
|
5
5
|
|
|
6
6
|
//#region src/UI/IntlayerNode.component.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region \0@oxc-project+runtime@0.
|
|
1
|
+
//#region \0@oxc-project+runtime@0.148.0/helpers/esm/decorate.js
|
|
2
2
|
function __decorate(decorators, target, key, desc) {
|
|
3
3
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
4
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region \0@oxc-project+runtime@0.
|
|
1
|
+
//#region \0@oxc-project+runtime@0.148.0/helpers/esm/decorateMetadata.js
|
|
2
2
|
function __decorateMetadata(k, v) {
|
|
3
3
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
4
4
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_decorateMetadata = require('../_virtual/_@oxc-project_runtime@0.
|
|
3
|
-
const require_decorate = require('../_virtual/_@oxc-project_runtime@0.
|
|
2
|
+
const require_decorateMetadata = require('../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/decorateMetadata.cjs');
|
|
3
|
+
const require_decorate = require('../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/decorate.cjs');
|
|
4
4
|
let _angular_core = require("@angular/core");
|
|
5
5
|
|
|
6
6
|
//#region src/editor/ContentSelector.component.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_decorateMetadata = require('../_virtual/_@oxc-project_runtime@0.
|
|
3
|
-
const require_decorate = require('../_virtual/_@oxc-project_runtime@0.
|
|
2
|
+
const require_decorateMetadata = require('../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/decorateMetadata.cjs');
|
|
3
|
+
const require_decorate = require('../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/decorate.cjs');
|
|
4
4
|
const require_editor_useEditor = require('./useEditor.cjs');
|
|
5
5
|
let _angular_core = require("@angular/core");
|
|
6
6
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_decorate = require('../_virtual/_@oxc-project_runtime@0.
|
|
2
|
+
const require_decorate = require('../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/decorate.cjs');
|
|
3
3
|
let _angular_core = require("@angular/core");
|
|
4
4
|
|
|
5
5
|
//#region src/html/installIntlayerHTML.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_decorate = require('../_virtual/_@oxc-project_runtime@0.
|
|
2
|
+
const require_decorate = require('../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/decorate.cjs');
|
|
3
3
|
let _intlayer_core_markdown = require("@intlayer/core/markdown");
|
|
4
4
|
let _angular_core = require("@angular/core");
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import __decorateMetadata from "../_virtual/_@oxc-project_runtime@0.
|
|
2
|
-
import __decorate from "../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import __decorateMetadata from "../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/decorateMetadata.mjs";
|
|
2
|
+
import __decorate from "../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/decorate.mjs";
|
|
3
3
|
import { ChangeDetectorRef, Component, ElementRef, Input, ViewContainerRef, inject } from "@angular/core";
|
|
4
4
|
|
|
5
5
|
//#region src/UI/IntlayerNode.component.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region \0@oxc-project+runtime@0.
|
|
1
|
+
//#region \0@oxc-project+runtime@0.148.0/helpers/esm/decorate.js
|
|
2
2
|
function __decorate(decorators, target, key, desc) {
|
|
3
3
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
4
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region \0@oxc-project+runtime@0.
|
|
1
|
+
//#region \0@oxc-project+runtime@0.148.0/helpers/esm/decorateMetadata.js
|
|
2
2
|
function __decorateMetadata(k, v) {
|
|
3
3
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
4
4
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import __decorateMetadata from "../_virtual/_@oxc-project_runtime@0.
|
|
2
|
-
import __decorate from "../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import __decorateMetadata from "../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/decorateMetadata.mjs";
|
|
2
|
+
import __decorate from "../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/decorate.mjs";
|
|
3
3
|
import { CUSTOM_ELEMENTS_SCHEMA, Component, Input } from "@angular/core";
|
|
4
4
|
|
|
5
5
|
//#region src/editor/ContentSelector.component.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import __decorateMetadata from "../_virtual/_@oxc-project_runtime@0.
|
|
2
|
-
import __decorate from "../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import __decorateMetadata from "../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/decorateMetadata.mjs";
|
|
2
|
+
import __decorate from "../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/decorate.mjs";
|
|
3
3
|
import { useEditor } from "./useEditor.mjs";
|
|
4
4
|
import { Component } from "@angular/core";
|
|
5
5
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import __decorate from "../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import __decorate from "../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/decorate.mjs";
|
|
2
2
|
import { Injectable, InjectionToken, inject } from "@angular/core";
|
|
3
3
|
|
|
4
4
|
//#region src/html/installIntlayerHTML.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import __decorate from "../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import __decorate from "../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/decorate.mjs";
|
|
2
2
|
import { compile, parseMarkdown as parseMarkdown$1, renderMarkdownAst } from "@intlayer/core/markdown";
|
|
3
3
|
import { Injectable, InjectionToken, inject } from "@angular/core";
|
|
4
4
|
|
|
@@ -13,7 +13,7 @@ import { OnChanges, SimpleChanges } from "@angular/core";
|
|
|
13
13
|
* <h1><intlayer-node [node]="content().title"></intlayer-node></h1>
|
|
14
14
|
* ```
|
|
15
15
|
*/
|
|
16
|
-
declare class IntlayerNodeComponent implements OnChanges {
|
|
16
|
+
export declare class IntlayerNodeComponent implements OnChanges {
|
|
17
17
|
node: any;
|
|
18
18
|
private vcr;
|
|
19
19
|
private elRef;
|
|
@@ -22,5 +22,4 @@ declare class IntlayerNodeComponent implements OnChanges {
|
|
|
22
22
|
private render;
|
|
23
23
|
}
|
|
24
24
|
//#endregion
|
|
25
|
-
export { IntlayerNodeComponent };
|
|
26
25
|
//# 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":";;;;;;;;;;;;;;;qBAkCa,iCAAiC;EACnC;UAED;UACA;UACA;EAER,YAAY,SAAS;UAMb"}
|
|
@@ -5,28 +5,27 @@ import { KeyPath } from "@intlayer/types/keyPath";
|
|
|
5
5
|
* only) so the interpreter hot path in `plugins.ts` never statically imports
|
|
6
6
|
* `@intlayer/analytics` — the package stays optional and tree-shakeable.
|
|
7
7
|
*/
|
|
8
|
-
type ExposureInput = {
|
|
8
|
+
export type ExposureInput = {
|
|
9
9
|
dictionaryKey: string;
|
|
10
10
|
keyPath: KeyPath[];
|
|
11
11
|
locale?: string;
|
|
12
12
|
nodeType?: string;
|
|
13
13
|
};
|
|
14
14
|
/** Consumer of exposure reports, installed by `useAnalytics` after init. */
|
|
15
|
-
type ExposureSink = (input: ExposureInput) => void;
|
|
15
|
+
export type ExposureSink = (input: ExposureInput) => void;
|
|
16
16
|
/**
|
|
17
17
|
* Installs (or clears) the exposure sink. `useAnalytics` sets this once the
|
|
18
18
|
* analytics client has loaded, and clears it on unmount.
|
|
19
19
|
*
|
|
20
20
|
* @param next - The sink to install, or `null` to clear.
|
|
21
21
|
*/
|
|
22
|
-
declare const setExposureSink: (next: ExposureSink | null) => void;
|
|
22
|
+
export declare const setExposureSink: (next: ExposureSink | null) => void;
|
|
23
23
|
/**
|
|
24
24
|
* Forwards a content exposure to the installed sink. A cheap null-check when
|
|
25
25
|
* analytics is not running, so it is safe to call from every node resolution.
|
|
26
26
|
*
|
|
27
27
|
* @param input - The node metadata to report.
|
|
28
28
|
*/
|
|
29
|
-
declare const reportExposure: (input: ExposureInput) => void;
|
|
29
|
+
export declare const reportExposure: (input: ExposureInput) => void;
|
|
30
30
|
//#endregion
|
|
31
|
-
export { ExposureInput, ExposureSink, reportExposure, setExposureSink };
|
|
32
31
|
//# 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"}
|
|
@@ -12,7 +12,7 @@ import { IntlayerProvider } from "../client/intlayerToken.js";
|
|
|
12
12
|
* When omitted the function injects `INTLAYER_TOKEN` from the DI tree,
|
|
13
13
|
* so it still works when called directly from a component.
|
|
14
14
|
*/
|
|
15
|
-
declare const useAnalytics: (client?: IntlayerProvider | null) => void;
|
|
15
|
+
export declare const useAnalytics: (client?: IntlayerProvider | null) => void;
|
|
16
16
|
/**
|
|
17
17
|
* Angular provider that wires `useAnalytics` into the application
|
|
18
18
|
* initialisation phase via `provideAppInitializer`.
|
|
@@ -30,7 +30,6 @@ declare const useAnalytics: (client?: IntlayerProvider | null) => void;
|
|
|
30
30
|
* };
|
|
31
31
|
* ```
|
|
32
32
|
*/
|
|
33
|
-
declare const provideIntlayerAnalytics: (client?: IntlayerProvider | null) => import("@angular/core").EnvironmentProviders;
|
|
33
|
+
export declare const provideIntlayerAnalytics: (client?: IntlayerProvider | null) => import("@angular/core").EnvironmentProviders;
|
|
34
34
|
//#endregion
|
|
35
|
-
export { provideIntlayerAnalytics, useAnalytics };
|
|
36
35
|
//# 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"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* Parameters describing a conversion to record.
|
|
4
4
|
*/
|
|
5
|
-
type ConversionParams = {
|
|
5
|
+
export type ConversionParams = {
|
|
6
6
|
/** The experiment this conversion is attributed to. */
|
|
7
7
|
experimentKey: string;
|
|
8
8
|
/** The variant the session was assigned. */
|
|
@@ -32,7 +32,6 @@ type ConversionParams = {
|
|
|
32
32
|
* }
|
|
33
33
|
* ```
|
|
34
34
|
*/
|
|
35
|
-
declare const useConversion: () => (params: ConversionParams) => void;
|
|
35
|
+
export declare const useConversion: () => (params: ConversionParams) => void;
|
|
36
36
|
//#endregion
|
|
37
|
-
export { ConversionParams, useConversion };
|
|
38
37
|
//# 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"}
|
|
@@ -3,7 +3,7 @@ import { Signal } from "@angular/core";
|
|
|
3
3
|
/**
|
|
4
4
|
* The state of an A/B experiment for the current session.
|
|
5
5
|
*/
|
|
6
|
-
type ExperimentState = {
|
|
6
|
+
export type ExperimentState = {
|
|
7
7
|
/**
|
|
8
8
|
* The variant assigned to this session. Until assignment resolves (and on
|
|
9
9
|
* the server, or when analytics is disabled), this is the first variant —
|
|
@@ -41,7 +41,6 @@ type ExperimentState = {
|
|
|
41
41
|
* }
|
|
42
42
|
* ```
|
|
43
43
|
*/
|
|
44
|
-
declare const useExperiment: (experimentKey: string, variants: string[], weights?: number[]) => ExperimentState;
|
|
44
|
+
export declare const useExperiment: (experimentKey: string, variants: string[], weights?: number[]) => ExperimentState;
|
|
45
45
|
//#endregion
|
|
46
|
-
export { ExperimentState, useExperiment };
|
|
47
46
|
//# 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"}
|
|
@@ -31,14 +31,14 @@ import { LocalesValues, ProviderVariant } from "@intlayer/types/module_augmentat
|
|
|
31
31
|
* };
|
|
32
32
|
* ```
|
|
33
33
|
*/
|
|
34
|
-
declare const provideIntlayer: (locale?: LocalesValues, isCookieEnabled?: boolean, variant?: ProviderVariant) => (import("@angular/core").EnvironmentProviders | {
|
|
34
|
+
export declare const provideIntlayer: (locale?: LocalesValues, isCookieEnabled?: boolean, variant?: ProviderVariant) => (import("@angular/core").EnvironmentProviders | {
|
|
35
35
|
provide: import("@angular/core").InjectionToken<IntlayerProvider>;
|
|
36
36
|
useValue: IntlayerProvider;
|
|
37
37
|
})[];
|
|
38
38
|
/**
|
|
39
39
|
* Helper to install the Intlayer provider.
|
|
40
40
|
*/
|
|
41
|
-
declare const installIntlayer: (locale?: LocalesValues, isCookieEnabled?: boolean, variant?: ProviderVariant) => IntlayerProvider;
|
|
41
|
+
export declare const installIntlayer: (locale?: LocalesValues, isCookieEnabled?: boolean, variant?: ProviderVariant) => IntlayerProvider;
|
|
42
42
|
//#endregion
|
|
43
|
-
export { INTLAYER_TOKEN, IntlayerProvider, createIntlayerClient
|
|
43
|
+
export { INTLAYER_TOKEN, IntlayerProvider, createIntlayerClient };
|
|
44
44
|
//# 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,7 +1,7 @@
|
|
|
1
1
|
import { InjectionToken, Signal } from "@angular/core";
|
|
2
2
|
import { LocalesValues, ProviderVariant } from "@intlayer/types/module_augmentation";
|
|
3
3
|
//#region src/client/intlayerToken.d.ts
|
|
4
|
-
declare class IntlayerProvider {
|
|
4
|
+
export declare class IntlayerProvider {
|
|
5
5
|
isCookieEnabled: import("@angular/core").WritableSignal<boolean>;
|
|
6
6
|
private _locale;
|
|
7
7
|
private _variant;
|
|
@@ -15,11 +15,10 @@ declare class IntlayerProvider {
|
|
|
15
15
|
setLocale: (locale: LocalesValues) => void;
|
|
16
16
|
setVariant: (variant: ProviderVariant | undefined) => void;
|
|
17
17
|
}
|
|
18
|
-
declare const INTLAYER_TOKEN: InjectionToken<IntlayerProvider>;
|
|
18
|
+
export declare const INTLAYER_TOKEN: InjectionToken<IntlayerProvider>;
|
|
19
19
|
/**
|
|
20
20
|
* Create and return a single IntlayerProvider instance
|
|
21
21
|
*/
|
|
22
|
-
declare const createIntlayerClient: (locale?: LocalesValues, isCookieEnabled?: boolean, variant?: ProviderVariant) => IntlayerProvider;
|
|
22
|
+
export declare const createIntlayerClient: (locale?: LocalesValues, isCookieEnabled?: boolean, variant?: ProviderVariant) => IntlayerProvider;
|
|
23
23
|
//#endregion
|
|
24
|
-
export { INTLAYER_TOKEN, IntlayerProvider, createIntlayerClient };
|
|
25
24
|
//# 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":";;;qBAQa;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"}
|
|
@@ -7,7 +7,6 @@ import { Dictionary, DictionarySelectorForGroup, QualifiedDictionaryGroup, Resol
|
|
|
7
7
|
* Angular hook that transforms a dictionary (or qualified dictionary group)
|
|
8
8
|
* and returns its reactive content for the given locale or selector.
|
|
9
9
|
*/
|
|
10
|
-
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>>>;
|
|
10
|
+
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
11
|
//#endregion
|
|
12
|
-
export { useDictionary };
|
|
13
12
|
//# 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,UACF,gBACA,2BAA2B,KAAK,iBAAe,YAEvC,GAAC,mBACM,MAClB,OACD,qBACE,kCAAkC,GAAG,IACrC,sBAAsB"}
|
|
@@ -6,7 +6,6 @@ import { Dictionary } from "@intlayer/types/dictionary";
|
|
|
6
6
|
*
|
|
7
7
|
* If the locale is not provided, it will use the locale from the client context
|
|
8
8
|
*/
|
|
9
|
-
declare const useDictionaryAsync: <const T extends Dictionary>(dictionaryPromise: StrictModeLocaleMap<() => Promise<T>>, locale?: LocalesValues) => Promise<import("@angular/core").Signal<unknown>>;
|
|
9
|
+
export declare const useDictionaryAsync: <const T extends Dictionary>(dictionaryPromise: StrictModeLocaleMap<() => Promise<T>>, locale?: LocalesValues) => Promise<import("@angular/core").Signal<unknown>>;
|
|
10
10
|
//#endregion
|
|
11
|
-
export { useDictionaryAsync };
|
|
12
11
|
//# 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"}
|
|
@@ -13,7 +13,6 @@ import { QualifiedDynamicLoaderMap } from "@intlayer/core/dictionaryManipulator"
|
|
|
13
13
|
* If the locale is not provided (directly or through the selector), it will use
|
|
14
14
|
* the locale from the client context.
|
|
15
15
|
*/
|
|
16
|
-
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>;
|
|
16
|
+
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
17
|
//#endregion
|
|
18
|
-
export { useDictionaryDynamic };
|
|
19
18
|
//# 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"}
|
|
@@ -3,7 +3,7 @@ import { Signal } from "@angular/core";
|
|
|
3
3
|
import { DeclaredLocales, DictionaryKeys, DictionaryRegistryResult, DictionarySelectorForKey, ExtractSelectorLocale, LocalesValues } from "@intlayer/types/module_augmentation";
|
|
4
4
|
//#region src/client/useIntlayer.d.ts
|
|
5
5
|
/** guard utility - true only for objects generated by `renderIntlayerNode()` */
|
|
6
|
-
declare const isUpdatableNode: (val: unknown) => val is {
|
|
6
|
+
export declare const isUpdatableNode: (val: unknown) => val is {
|
|
7
7
|
__update: (n: unknown) => void;
|
|
8
8
|
};
|
|
9
9
|
/**
|
|
@@ -31,7 +31,6 @@ declare const isUpdatableNode: (val: unknown) => val is {
|
|
|
31
31
|
* }
|
|
32
32
|
* ```
|
|
33
33
|
*/
|
|
34
|
-
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>>>;
|
|
34
|
+
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
35
|
//#endregion
|
|
36
|
-
export { isUpdatableNode, useIntlayer };
|
|
37
36
|
//# 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"}
|
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
* - Immediately returns a reactive signal so that Angular can properly track changes.
|
|
6
6
|
* - When the Promise resolves, it replaces the signal's value with the real data.
|
|
7
7
|
*/
|
|
8
|
-
declare const useLoadDynamic: <T extends Record<string, any>>(key: string, promise: Promise<T>) => T;
|
|
8
|
+
export declare const useLoadDynamic: <T extends Record<string, any>>(key: string, promise: Promise<T>) => T;
|
|
9
9
|
//#endregion
|
|
10
|
-
export { useLoadDynamic };
|
|
11
10
|
//# 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,11 +1,11 @@
|
|
|
1
1
|
import { Signal } from "@angular/core";
|
|
2
2
|
import { DeclaredLocales, LocalesValues } from "@intlayer/types/module_augmentation";
|
|
3
3
|
//#region src/client/useLocale.d.ts
|
|
4
|
-
type UseLocaleProps = {
|
|
4
|
+
export type UseLocaleProps = {
|
|
5
5
|
isCookieEnabled?: boolean;
|
|
6
6
|
onLocaleChange?: (locale: DeclaredLocales) => void;
|
|
7
7
|
};
|
|
8
|
-
type UseLocaleResult = {
|
|
8
|
+
export type UseLocaleResult = {
|
|
9
9
|
locale: Signal<DeclaredLocales>;
|
|
10
10
|
defaultLocale: DeclaredLocales;
|
|
11
11
|
availableLocales: DeclaredLocales[];
|
|
@@ -38,7 +38,6 @@ type UseLocaleResult = {
|
|
|
38
38
|
* }
|
|
39
39
|
* ```
|
|
40
40
|
*/
|
|
41
|
-
declare const useLocale: ({ isCookieEnabled, onLocaleChange }?: UseLocaleProps) => UseLocaleResult;
|
|
41
|
+
export declare const useLocale: ({ isCookieEnabled, onLocaleChange }?: UseLocaleProps) => UseLocaleResult;
|
|
42
42
|
//#endregion
|
|
43
|
-
export { UseLocaleProps, UseLocaleResult, useLocale };
|
|
44
43
|
//# 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBA8BT,cAAS,iBAAA,mBAGnB,mBAAsB"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Locale } from "../intlayer/dist/types/index.js";
|
|
2
1
|
import { LocalesValues } from "@intlayer/types/module_augmentation";
|
|
3
2
|
//#region src/client/useLocaleStorage.d.ts
|
|
4
3
|
/**
|
|
@@ -7,28 +6,28 @@ import { LocalesValues } from "@intlayer/types/module_augmentation";
|
|
|
7
6
|
/**
|
|
8
7
|
* Get the locale cookie
|
|
9
8
|
*/
|
|
10
|
-
declare const localeInStorage: Locale;
|
|
9
|
+
export declare const localeInStorage: import("@intlayer/types").Locale;
|
|
11
10
|
/**
|
|
12
11
|
* @deprecated Use localeInStorage instead
|
|
13
12
|
*
|
|
14
13
|
* Get the locale cookie
|
|
15
14
|
*/
|
|
16
|
-
declare const localeCookie: Locale;
|
|
15
|
+
export declare const localeCookie: import("@intlayer/types").Locale;
|
|
17
16
|
/**
|
|
18
17
|
* Set the locale cookie
|
|
19
18
|
*/
|
|
20
|
-
declare const setLocaleInStorage: (locale: LocalesValues, isCookieEnabled: boolean) => void;
|
|
19
|
+
export declare const setLocaleInStorage: (locale: LocalesValues, isCookieEnabled: boolean) => void;
|
|
21
20
|
/**
|
|
22
21
|
* @deprecated Use setLocaleInStorage instead
|
|
23
22
|
*
|
|
24
23
|
* Set the locale cookie
|
|
25
24
|
*/
|
|
26
|
-
declare const setLocaleCookie: typeof setLocaleInStorage;
|
|
25
|
+
export declare const setLocaleCookie: typeof setLocaleInStorage;
|
|
27
26
|
/**
|
|
28
27
|
* Hook that provides the locale storage and a function to set it
|
|
29
28
|
*/
|
|
30
|
-
declare const useLocaleStorage: (isCookieEnabled?: boolean) => {
|
|
31
|
-
getLocale: () => Locale;
|
|
29
|
+
export declare const useLocaleStorage: (isCookieEnabled?: boolean) => {
|
|
30
|
+
getLocale: () => import("@intlayer/types").Locale;
|
|
32
31
|
setLocale: (locale: LocalesValues) => void;
|
|
33
32
|
};
|
|
34
33
|
/**
|
|
@@ -38,10 +37,9 @@ declare const useLocaleStorage: (isCookieEnabled?: boolean) => {
|
|
|
38
37
|
*
|
|
39
38
|
* Hook that provides the locale cookie and a function to set it
|
|
40
39
|
*/
|
|
41
|
-
declare const useLocaleCookie: (isCookieEnabled?: boolean) => {
|
|
42
|
-
localeCookie: Locale;
|
|
40
|
+
export declare const useLocaleCookie: (isCookieEnabled?: boolean) => {
|
|
41
|
+
localeCookie: import("@intlayer/types").Locale;
|
|
43
42
|
setLocaleCookie: (locale: LocalesValues) => void;
|
|
44
43
|
};
|
|
45
44
|
//#endregion
|
|
46
|
-
export { localeCookie, localeInStorage, setLocaleCookie, setLocaleInStorage, useLocaleCookie, useLocaleStorage };
|
|
47
45
|
//# 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":";;;;;;;;qBAca,2CAAe;;;;;;qBAMf,wCAAY;;;;qBAKZ,qBAAkB,QACrB,eAAa;;;;;;qBAaV,wBAAe;;;;qBAKf,mBAAgB;;sBAAhB;;;;;;;;;qBAaA,kBAAe;EAIxB,wCAAY;EACZ,kBAAe,QAAA"}
|
|
@@ -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,9 +1,8 @@
|
|
|
1
1
|
//#region src/editor/ContentSelector.component.d.ts
|
|
2
|
-
declare class ContentSelectorWrapperComponent {
|
|
2
|
+
export declare class ContentSelectorWrapperComponent {
|
|
3
3
|
dictionaryKey: string;
|
|
4
4
|
keyPath: any[];
|
|
5
5
|
get keyPathJson(): string;
|
|
6
6
|
}
|
|
7
7
|
//#endregion
|
|
8
|
-
export { ContentSelectorWrapperComponent };
|
|
9
8
|
//# sourceMappingURL=ContentSelector.component.d.ts.map
|
|
@@ -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":";qBAea;EACF;EACA;MAEL"}
|
|
@@ -25,9 +25,8 @@
|
|
|
25
25
|
* export class AppComponent {}
|
|
26
26
|
* ```
|
|
27
27
|
*/
|
|
28
|
-
declare class EditorProviderComponent {
|
|
28
|
+
export declare class EditorProviderComponent {
|
|
29
29
|
constructor();
|
|
30
30
|
}
|
|
31
31
|
//#endregion
|
|
32
|
-
export { EditorProviderComponent };
|
|
33
32
|
//# 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"}
|
|
@@ -12,7 +12,7 @@ import { IntlayerProvider } from "../client/intlayerToken.js";
|
|
|
12
12
|
* When omitted the function injects `INTLAYER_TOKEN` from the DI tree,
|
|
13
13
|
* so it still works when called directly from a component.
|
|
14
14
|
*/
|
|
15
|
-
declare const useEditor: (client?: IntlayerProvider | null) => void;
|
|
15
|
+
export declare const useEditor: (client?: IntlayerProvider | null) => void;
|
|
16
16
|
/**
|
|
17
17
|
* Angular provider that wires `useEditor` into the application initialisation
|
|
18
18
|
* phase via `provideAppInitializer`.
|
|
@@ -30,7 +30,6 @@ declare const useEditor: (client?: IntlayerProvider | null) => void;
|
|
|
30
30
|
* };
|
|
31
31
|
* ```
|
|
32
32
|
*/
|
|
33
|
-
declare const provideIntlayerEditor: (client?: IntlayerProvider | null) => import("@angular/core").EnvironmentProviders;
|
|
33
|
+
export declare const provideIntlayerEditor: (client?: IntlayerProvider | null) => import("@angular/core").EnvironmentProviders;
|
|
34
34
|
//#endregion
|
|
35
|
-
export { provideIntlayerEditor, useEditor };
|
|
36
35
|
//# 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":";;;;;;;;;;;;;;qBA4Ba,YAAS,SAAa;;;;;;;;;;;;;;;;;;qBAiEtB,wBAAqB,SAAa,oDAAuB"}
|
|
@@ -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
|