angular-intlayer 8.0.0-canary.2 → 8.0.0-canary.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.
@@ -1,6 +1,6 @@
1
1
  import { IInterpreterPluginState as IInterpreterPluginState$1 } from "../plugins.js";
2
2
  import "../index.js";
3
- import * as _intlayer_types0 from "@intlayer/types";
3
+ import * as _intlayer_types5 from "@intlayer/types";
4
4
  import { Dictionary, DictionaryKeys, LocalesValues, StrictModeLocaleMap } from "@intlayer/types";
5
5
  import * as _intlayer_core1 from "@intlayer/core";
6
6
 
@@ -10,7 +10,7 @@ import * as _intlayer_core1 from "@intlayer/core";
10
10
  *
11
11
  * If the locale is not provided, it will use the locale from the client context
12
12
  */
13
- declare const useDictionaryDynamic: <T extends Dictionary, K extends DictionaryKeys>(dictionaryPromise: StrictModeLocaleMap<() => Promise<T>>, key: K, locale?: LocalesValues) => _intlayer_core1.DeepTransformContent<T["content"], IInterpreterPluginState$1, _intlayer_types0.Locale>;
13
+ declare const useDictionaryDynamic: <T extends Dictionary, K extends DictionaryKeys>(dictionaryPromise: StrictModeLocaleMap<() => Promise<T>>, key: K, locale?: LocalesValues) => _intlayer_core1.DeepTransformContent<T["content"], IInterpreterPluginState$1, _intlayer_types5.Locale>;
14
14
  //#endregion
15
15
  export { useDictionaryDynamic };
16
16
  //# sourceMappingURL=useDictionaryDynamic.d.ts.map
@@ -1,4 +1,4 @@
1
- import * as _angular_core1 from "@angular/core";
1
+ import * as _angular_core4 from "@angular/core";
2
2
  import { LocalesValues } from "@intlayer/types";
3
3
 
4
4
  //#region src/client/useIntl.d.ts
@@ -26,7 +26,7 @@ import { LocalesValues } from "@intlayer/types";
26
26
  * }
27
27
  * ```
28
28
  */
29
- declare const useIntl: (locale?: LocalesValues) => _angular_core1.Signal<{
29
+ declare const useIntl: (locale?: LocalesValues) => _angular_core4.Signal<{
30
30
  Collator: {
31
31
  new (locales?: LocalesValues, options?: Intl.CollatorOptions): Intl.Collator;
32
32
  new (options?: Intl.CollatorOptions & {
@@ -1,4 +1,4 @@
1
- import * as _intlayer_types2 from "@intlayer/types";
1
+ import * as _intlayer_types1 from "@intlayer/types";
2
2
  import { LocalesValues } from "@intlayer/types";
3
3
 
4
4
  //#region src/client/useLocaleStorage.d.ts
@@ -8,13 +8,13 @@ import { LocalesValues } from "@intlayer/types";
8
8
  /**
9
9
  * Get the locale cookie
10
10
  */
11
- declare const localeInStorage: _intlayer_types2.Locale;
11
+ declare const localeInStorage: _intlayer_types1.Locale;
12
12
  /**
13
13
  * @deprecated Use localeInStorage instead
14
14
  *
15
15
  * Get the locale cookie
16
16
  */
17
- declare const localeCookie: _intlayer_types2.Locale;
17
+ declare const localeCookie: _intlayer_types1.Locale;
18
18
  /**
19
19
  * Set the locale cookie
20
20
  */
@@ -29,7 +29,7 @@ declare const setLocaleCookie: (locale: LocalesValues, isCookieEnabled: boolean)
29
29
  * Hook that provides the locale storage and a function to set it
30
30
  */
31
31
  declare const useLocaleStorage: (isCookieEnabled?: boolean) => {
32
- getLocale: () => _intlayer_types2.Locale;
32
+ getLocale: () => _intlayer_types1.Locale;
33
33
  setLocale: (locale: LocalesValues) => void;
34
34
  };
35
35
  /**
@@ -40,7 +40,7 @@ declare const useLocaleStorage: (isCookieEnabled?: boolean) => {
40
40
  * Hook that provides the locale cookie and a function to set it
41
41
  */
42
42
  declare const useLocaleCookie: (isCookieEnabled?: boolean) => {
43
- localeCookie: _intlayer_types2.Locale;
43
+ localeCookie: _intlayer_types1.Locale;
44
44
  setLocaleCookie: (locale: LocalesValues) => void;
45
45
  };
46
46
  //#endregion
@@ -1,4 +1,4 @@
1
- import * as _angular_core5 from "@angular/core";
1
+ import * as _angular_core2 from "@angular/core";
2
2
  import { NodeProps } from "@intlayer/core";
3
3
 
4
4
  //#region src/editor/ContentSelectorWrapper.component.d.ts
@@ -15,8 +15,8 @@ declare class ContentSelectorWrapperComponent {
15
15
  private focusDictionary;
16
16
  private editorEnabled;
17
17
  constructor();
18
- isSelected: _angular_core5.Signal<boolean>;
19
- enabled: _angular_core5.Signal<boolean>;
18
+ isSelected: _angular_core2.Signal<boolean>;
19
+ enabled: _angular_core2.Signal<boolean>;
20
20
  handleSelect(): void;
21
21
  }
22
22
  //#endregion
@@ -1,4 +1,4 @@
1
- import * as _angular_core2 from "@angular/core";
1
+ import * as _angular_core1 from "@angular/core";
2
2
  import { KeyPath, Locale } from "@intlayer/types";
3
3
 
4
4
  //#region src/editor/EditedContentRenderer.component.d.ts
@@ -16,7 +16,7 @@ declare class EditedContentRendererComponent {
16
16
  /**
17
17
  * Object → getContent → string, same as the React version.
18
18
  */
19
- renderedContent: _angular_core2.Signal<string>;
19
+ renderedContent: _angular_core1.Signal<string>;
20
20
  }
21
21
  //#endregion
22
22
  export { EditedContentRendererComponent, EditedContentRendererProps };
@@ -1,5 +1,5 @@
1
1
  import { useCrossFrameState } from "./useCrossFrameState.js";
2
- import * as _angular_core3 from "@angular/core";
2
+ import * as _angular_core5 from "@angular/core";
3
3
 
4
4
  //#region src/editor/useCrossURLPathState.d.ts
5
5
  /**
@@ -8,14 +8,14 @@ import * as _angular_core3 from "@angular/core";
8
8
  * @param opts - Options for controlling emit and receive behavior
9
9
  * @returns A tuple containing [state signal, setState function, forceSync function]
10
10
  */
11
- declare const useCrossURLPathState: (initial?: string, opts?: Parameters<typeof useCrossFrameState>[2]) => [_angular_core3.Signal<string>, (v: string | ((prev: string) => string)) => void, () => void];
11
+ declare const useCrossURLPathState: (initial?: string, opts?: Parameters<typeof useCrossFrameState>[2]) => [_angular_core5.Signal<string>, (v: string | ((prev: string) => string)) => void, () => void];
12
12
  /**
13
13
  * Hook for host applications to push URL path changes into the shared state
14
14
  * This also monkey patches history methods to capture navigation events
15
15
  * @param initial - The initial URL path
16
16
  * @returns A tuple containing [state signal, setState function]
17
17
  */
18
- declare const useCrossURLPathSetter: (initial?: string) => readonly [_angular_core3.Signal<string>, (v: string | ((prev: string) => string)) => void];
18
+ declare const useCrossURLPathSetter: (initial?: string) => readonly [_angular_core5.Signal<string>, (v: string | ((prev: string) => string)) => void];
19
19
  //#endregion
20
20
  export { useCrossURLPathSetter, useCrossURLPathState };
21
21
  //# sourceMappingURL=useCrossURLPathState.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "angular-intlayer",
3
- "version": "8.0.0-canary.2",
3
+ "version": "8.0.0-canary.4",
4
4
  "private": false,
5
5
  "description": "Easily internationalize i18n your Angular applications with type-safe multilingual content management.",
6
6
  "keywords": [
@@ -85,13 +85,13 @@
85
85
  "typecheck": "tsc --noEmit --project tsconfig.types.json"
86
86
  },
87
87
  "dependencies": {
88
- "@intlayer/chokidar": "8.0.0-canary.2",
89
- "@intlayer/config": "8.0.0-canary.2",
90
- "@intlayer/core": "8.0.0-canary.2",
91
- "@intlayer/dictionaries-entry": "8.0.0-canary.2",
92
- "@intlayer/editor": "8.0.0-canary.2",
93
- "@intlayer/types": "8.0.0-canary.2",
94
- "@intlayer/webpack": "8.0.0-canary.2",
88
+ "@intlayer/chokidar": "8.0.0-canary.4",
89
+ "@intlayer/config": "8.0.0-canary.4",
90
+ "@intlayer/core": "8.0.0-canary.4",
91
+ "@intlayer/dictionaries-entry": "8.0.0-canary.4",
92
+ "@intlayer/editor": "8.0.0-canary.4",
93
+ "@intlayer/types": "8.0.0-canary.4",
94
+ "@intlayer/webpack": "8.0.0-canary.4",
95
95
  "defu": "6.1.4"
96
96
  },
97
97
  "devDependencies": {