angular-intlayer 8.3.4 → 8.4.0-canary.0

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.
Files changed (141) hide show
  1. package/dist/cjs/client/useDictionary.cjs +1 -1
  2. package/dist/cjs/client/useIntlayer.cjs +1 -1
  3. package/dist/cjs/client/useLocaleStorage.cjs +1 -1
  4. package/dist/cjs/editor/ContentSelector.component.cjs +9 -0
  5. package/dist/cjs/editor/ContentSelector.component.cjs.map +1 -0
  6. package/dist/cjs/editor/useEditor.cjs +1 -1
  7. package/dist/cjs/editor/useEditor.cjs.map +1 -1
  8. package/dist/cjs/index.cjs +1 -1
  9. package/dist/cjs/plugins.cjs +1 -1
  10. package/dist/cjs/plugins.cjs.map +1 -1
  11. package/dist/esm/client/useDictionary.mjs +1 -1
  12. package/dist/esm/client/useIntlayer.mjs +1 -1
  13. package/dist/esm/client/useLocaleStorage.mjs +1 -1
  14. package/dist/esm/editor/ContentSelector.component.mjs +9 -0
  15. package/dist/esm/editor/ContentSelector.component.mjs.map +1 -0
  16. package/dist/esm/editor/useEditor.mjs +1 -1
  17. package/dist/esm/editor/useEditor.mjs.map +1 -1
  18. package/dist/esm/index.mjs +1 -1
  19. package/dist/esm/plugins.mjs +1 -1
  20. package/dist/esm/plugins.mjs.map +1 -1
  21. package/dist/types/client/useDictionaryDynamic.d.ts +2 -2
  22. package/dist/types/client/useDictionaryDynamic.d.ts.map +1 -1
  23. package/dist/types/client/useLocale.d.ts +3 -3
  24. package/dist/types/client/useLocaleStorage.d.ts +5 -5
  25. package/dist/types/client/useLocaleStorage.d.ts.map +1 -1
  26. package/dist/types/editor/ContentSelector.component.d.ts +9 -0
  27. package/dist/types/editor/ContentSelector.component.d.ts.map +1 -0
  28. package/dist/types/editor/useEditor.d.ts.map +1 -1
  29. package/package.json +8 -8
  30. package/dist/cjs/UI/ContentSelector.component.cjs +0 -20
  31. package/dist/cjs/UI/ContentSelector.component.cjs.map +0 -1
  32. package/dist/cjs/editor/ContentSelectorWrapper.component.cjs +0 -16
  33. package/dist/cjs/editor/ContentSelectorWrapper.component.cjs.map +0 -1
  34. package/dist/cjs/editor/EditedContentRenderer.component.cjs +0 -2
  35. package/dist/cjs/editor/EditedContentRenderer.component.cjs.map +0 -1
  36. package/dist/cjs/editor/EditorSelectorRenderer.component.cjs +0 -14
  37. package/dist/cjs/editor/EditorSelectorRenderer.component.cjs.map +0 -1
  38. package/dist/cjs/editor/communicator.cjs +0 -2
  39. package/dist/cjs/editor/communicator.cjs.map +0 -1
  40. package/dist/cjs/editor/configuration.cjs +0 -2
  41. package/dist/cjs/editor/configuration.cjs.map +0 -1
  42. package/dist/cjs/editor/createSharedComposable.cjs +0 -2
  43. package/dist/cjs/editor/createSharedComposable.cjs.map +0 -1
  44. package/dist/cjs/editor/dictionariesRecord.cjs +0 -2
  45. package/dist/cjs/editor/dictionariesRecord.cjs.map +0 -1
  46. package/dist/cjs/editor/editedContent.cjs +0 -2
  47. package/dist/cjs/editor/editedContent.cjs.map +0 -1
  48. package/dist/cjs/editor/editorEnabled.cjs +0 -2
  49. package/dist/cjs/editor/editorEnabled.cjs.map +0 -1
  50. package/dist/cjs/editor/editorLocale.cjs +0 -2
  51. package/dist/cjs/editor/editorLocale.cjs.map +0 -1
  52. package/dist/cjs/editor/focusDictionary.cjs +0 -2
  53. package/dist/cjs/editor/focusDictionary.cjs.map +0 -1
  54. package/dist/cjs/editor/index.cjs +0 -1
  55. package/dist/cjs/editor/installIntlayerEditor.cjs +0 -2
  56. package/dist/cjs/editor/installIntlayerEditor.cjs.map +0 -1
  57. package/dist/cjs/editor/useCrossFrameMessageListener.cjs +0 -2
  58. package/dist/cjs/editor/useCrossFrameMessageListener.cjs.map +0 -1
  59. package/dist/cjs/editor/useCrossFrameState.cjs +0 -2
  60. package/dist/cjs/editor/useCrossFrameState.cjs.map +0 -1
  61. package/dist/cjs/editor/useCrossURLPathState.cjs +0 -2
  62. package/dist/cjs/editor/useCrossURLPathState.cjs.map +0 -1
  63. package/dist/cjs/editor/useEditedContentRenderer.cjs +0 -2
  64. package/dist/cjs/editor/useEditedContentRenderer.cjs.map +0 -1
  65. package/dist/cjs/editor/useIframeClickInterceptor.cjs +0 -2
  66. package/dist/cjs/editor/useIframeClickInterceptor.cjs.map +0 -1
  67. package/dist/esm/UI/ContentSelector.component.mjs +0 -20
  68. package/dist/esm/UI/ContentSelector.component.mjs.map +0 -1
  69. package/dist/esm/editor/ContentSelectorWrapper.component.mjs +0 -16
  70. package/dist/esm/editor/ContentSelectorWrapper.component.mjs.map +0 -1
  71. package/dist/esm/editor/EditedContentRenderer.component.mjs +0 -2
  72. package/dist/esm/editor/EditedContentRenderer.component.mjs.map +0 -1
  73. package/dist/esm/editor/EditorSelectorRenderer.component.mjs +0 -14
  74. package/dist/esm/editor/EditorSelectorRenderer.component.mjs.map +0 -1
  75. package/dist/esm/editor/communicator.mjs +0 -2
  76. package/dist/esm/editor/communicator.mjs.map +0 -1
  77. package/dist/esm/editor/configuration.mjs +0 -2
  78. package/dist/esm/editor/configuration.mjs.map +0 -1
  79. package/dist/esm/editor/createSharedComposable.mjs +0 -2
  80. package/dist/esm/editor/createSharedComposable.mjs.map +0 -1
  81. package/dist/esm/editor/dictionariesRecord.mjs +0 -2
  82. package/dist/esm/editor/dictionariesRecord.mjs.map +0 -1
  83. package/dist/esm/editor/editedContent.mjs +0 -2
  84. package/dist/esm/editor/editedContent.mjs.map +0 -1
  85. package/dist/esm/editor/editorEnabled.mjs +0 -2
  86. package/dist/esm/editor/editorEnabled.mjs.map +0 -1
  87. package/dist/esm/editor/editorLocale.mjs +0 -2
  88. package/dist/esm/editor/editorLocale.mjs.map +0 -1
  89. package/dist/esm/editor/focusDictionary.mjs +0 -2
  90. package/dist/esm/editor/focusDictionary.mjs.map +0 -1
  91. package/dist/esm/editor/index.mjs +0 -1
  92. package/dist/esm/editor/installIntlayerEditor.mjs +0 -2
  93. package/dist/esm/editor/installIntlayerEditor.mjs.map +0 -1
  94. package/dist/esm/editor/useCrossFrameMessageListener.mjs +0 -2
  95. package/dist/esm/editor/useCrossFrameMessageListener.mjs.map +0 -1
  96. package/dist/esm/editor/useCrossFrameState.mjs +0 -2
  97. package/dist/esm/editor/useCrossFrameState.mjs.map +0 -1
  98. package/dist/esm/editor/useCrossURLPathState.mjs +0 -2
  99. package/dist/esm/editor/useCrossURLPathState.mjs.map +0 -1
  100. package/dist/esm/editor/useEditedContentRenderer.mjs +0 -2
  101. package/dist/esm/editor/useEditedContentRenderer.mjs.map +0 -1
  102. package/dist/esm/editor/useIframeClickInterceptor.mjs +0 -2
  103. package/dist/esm/editor/useIframeClickInterceptor.mjs.map +0 -1
  104. package/dist/types/UI/ContentSelector.component.d.ts +0 -34
  105. package/dist/types/UI/ContentSelector.component.d.ts.map +0 -1
  106. package/dist/types/editor/ContentSelectorWrapper.component.d.ts +0 -21
  107. package/dist/types/editor/ContentSelectorWrapper.component.d.ts.map +0 -1
  108. package/dist/types/editor/EditedContentRenderer.component.d.ts +0 -24
  109. package/dist/types/editor/EditedContentRenderer.component.d.ts.map +0 -1
  110. package/dist/types/editor/EditorSelectorRenderer.component.d.ts +0 -17
  111. package/dist/types/editor/EditorSelectorRenderer.component.d.ts.map +0 -1
  112. package/dist/types/editor/communicator.d.ts +0 -8
  113. package/dist/types/editor/communicator.d.ts.map +0 -1
  114. package/dist/types/editor/configuration.d.ts +0 -8
  115. package/dist/types/editor/configuration.d.ts.map +0 -1
  116. package/dist/types/editor/createSharedComposable.d.ts +0 -16
  117. package/dist/types/editor/createSharedComposable.d.ts.map +0 -1
  118. package/dist/types/editor/dictionariesRecord.d.ts +0 -13
  119. package/dist/types/editor/dictionariesRecord.d.ts.map +0 -1
  120. package/dist/types/editor/editedContent.d.ts +0 -34
  121. package/dist/types/editor/editedContent.d.ts.map +0 -1
  122. package/dist/types/editor/editorEnabled.d.ts +0 -9
  123. package/dist/types/editor/editorEnabled.d.ts.map +0 -1
  124. package/dist/types/editor/editorLocale.d.ts +0 -6
  125. package/dist/types/editor/editorLocale.d.ts.map +0 -1
  126. package/dist/types/editor/focusDictionary.d.ts +0 -13
  127. package/dist/types/editor/focusDictionary.d.ts.map +0 -1
  128. package/dist/types/editor/index.d.ts +0 -16
  129. package/dist/types/editor/installIntlayerEditor.d.ts +0 -9
  130. package/dist/types/editor/installIntlayerEditor.d.ts.map +0 -1
  131. package/dist/types/editor/useCrossFrameMessageListener.d.ts +0 -7
  132. package/dist/types/editor/useCrossFrameMessageListener.d.ts.map +0 -1
  133. package/dist/types/editor/useCrossFrameState.d.ts +0 -12
  134. package/dist/types/editor/useCrossFrameState.d.ts.map +0 -1
  135. package/dist/types/editor/useCrossURLPathState.d.ts +0 -6
  136. package/dist/types/editor/useCrossURLPathState.d.ts.map +0 -1
  137. package/dist/types/editor/useEditedContentRenderer.d.ts +0 -21
  138. package/dist/types/editor/useEditedContentRenderer.d.ts.map +0 -1
  139. package/dist/types/editor/useIframeClickInterceptor.d.ts +0 -6
  140. package/dist/types/editor/useIframeClickInterceptor.d.ts.map +0 -1
  141. package/dist/types/intlayer/dist/types/index.d.ts +0 -3
@@ -1,21 +0,0 @@
1
- import * as _angular_core0 from "@angular/core";
2
- import { OnInit } from "@angular/core";
3
-
4
- //#region src/editor/ContentSelectorWrapper.component.d.ts
5
- declare class ContentSelectorWrapperComponent implements OnInit {
6
- dictionaryKey: string;
7
- keyPath: any[];
8
- private focusDictionary;
9
- private editorEnabled;
10
- private manager;
11
- ngOnInit(): void;
12
- get filteredKeyPath(): any[];
13
- isSelected: _angular_core0.Signal<boolean>;
14
- enabled: _angular_core0.Signal<boolean>;
15
- handlePress(): void;
16
- handleHover(): void;
17
- handleUnhover(): void;
18
- }
19
- //#endregion
20
- export { ContentSelectorWrapperComponent };
21
- //# sourceMappingURL=ContentSelectorWrapper.component.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ContentSelectorWrapper.component.d.ts","names":[],"sources":["../../../src/editor/ContentSelectorWrapper.component.ts"],"mappings":";;;;cA+Ba,+BAAA,YAA2C,MAAA;EAC7C,aAAA;EACA,OAAA;EAAA,QAED,eAAA;EAAA,QACA,aAAA;EAAA,QACA,OAAA;EAER,QAAA,CAAA;EAAA,IAII,eAAA,CAAA;EAIJ,UAAA,EAhB2C,cAAA,CAgBjC,MAAA;EASV,OAAA,EATU,cAAA,CASH,MAAA;EAEP,WAAA,CAAA;EAOA,WAAA,CAAA;EAOA,aAAA,CAAA;AAAA"}
@@ -1,24 +0,0 @@
1
- import * as _angular_core0 from "@angular/core";
2
- import { Locale } from "@intlayer/types/allLocales";
3
- import { KeyPath } from "@intlayer/types/keyPath";
4
-
5
- //#region src/editor/EditedContentRenderer.component.d.ts
6
- interface EditedContentRendererProps {
7
- dictionaryKey: string;
8
- keyPath: KeyPath[];
9
- locale?: Locale;
10
- }
11
- declare class EditedContentRendererComponent {
12
- dictionaryKey: string;
13
- keyPath: KeyPath[];
14
- locale?: Locale;
15
- private fallback;
16
- private rawContent;
17
- /**
18
- * Object → getContent → string, same as the React version.
19
- */
20
- renderedContent: _angular_core0.Signal<string>;
21
- }
22
- //#endregion
23
- export { EditedContentRendererComponent, EditedContentRendererProps };
24
- //# sourceMappingURL=EditedContentRenderer.component.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"EditedContentRenderer.component.d.ts","names":[],"sources":["../../../src/editor/EditedContentRenderer.component.ts"],"mappings":";;;;;UAQiB,0BAAA;EACf,aAAA;EACA,OAAA,EAAS,OAAA;EACT,MAAA,GAAS,MAAA;AAAA;AAAA,cASE,8BAAA;EACF,aAAA;EACA,OAAA,EAAU,OAAA;EACV,MAAA,GAAS,MAAA;EAAA,QAEV,QAAA;EAAA,QAEA,UAAA;EAhBC;;;EA2BT,eAAA,EAfwB,cAAA,CAeT,MAAA;AAAA"}
@@ -1,17 +0,0 @@
1
- import { NodeProps } from "@intlayer/core/interpreter";
2
-
3
- //#region src/editor/EditorSelectorRenderer.component.d.ts
4
- /**
5
- * Combine your NodeProps (which include dictionaryKey & keyPath)
6
- * with any other div-like attributes.
7
- */
8
- interface EditorSelectorRendererProps extends NodeProps {
9
- [key: string]: any;
10
- }
11
- declare class EditorSelectorRendererComponent {
12
- dictionaryKey: string;
13
- keyPath: any[];
14
- }
15
- //#endregion
16
- export { EditorSelectorRendererComponent, EditorSelectorRendererProps };
17
- //# sourceMappingURL=EditorSelectorRenderer.component.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"EditorSelectorRenderer.component.d.ts","names":[],"sources":["../../../src/editor/EditorSelectorRenderer.component.ts"],"mappings":";;;;;AAUA;;UAAiB,2BAAA,SAAoC,SAAA;EAAA,CAClD,GAAA;AAAA;AAAA,cAyBU,+BAAA;EACF,aAAA;EACA,OAAA;AAAA"}
@@ -1,8 +0,0 @@
1
- //#region src/editor/communicator.d.ts
2
- declare const useCommunicator: () => {
3
- postMessage: (data: any) => void;
4
- senderId: string;
5
- };
6
- //#endregion
7
- export { useCommunicator };
8
- //# sourceMappingURL=communicator.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"communicator.d.ts","names":[],"sources":["../../../src/editor/communicator.ts"],"mappings":";cAEa,eAAA"}
@@ -1,8 +0,0 @@
1
- import * as _angular_core0 from "@angular/core";
2
- import { IntlayerConfig } from "@intlayer/types/config";
3
-
4
- //#region src/editor/configuration.d.ts
5
- declare const useConfiguration: () => _angular_core0.Signal<IntlayerConfig>;
6
- //#endregion
7
- export { useConfiguration };
8
- //# sourceMappingURL=configuration.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"configuration.d.ts","names":[],"sources":["../../../src/editor/configuration.ts"],"mappings":";;;;cAIa,gBAAA,QAAgB,cAAA,CAAA,MAAA,CAAA,cAAA"}
@@ -1,16 +0,0 @@
1
- //#region src/editor/createSharedComposable.d.ts
2
- type AnyFn = (...args: any[]) => any;
3
- type SharedComposableReturn<T extends AnyFn = AnyFn> = T;
4
- /**
5
- * Angular replacement for Vue's tryOnScopeDispose
6
- * Uses Angular's DestroyRef to handle cleanup when the injection context is destroyed
7
- */
8
- declare function tryOnScopeDispose(fn: () => void): boolean;
9
- /**
10
- * Angular equivalent of Vue's createSharedComposable
11
- * Creates a singleton pattern for services/composables
12
- */
13
- declare const createSharedComposable: <Fn extends AnyFn>(composable: Fn) => SharedComposableReturn<Fn>;
14
- //#endregion
15
- export { SharedComposableReturn, createSharedComposable, tryOnScopeDispose };
16
- //# sourceMappingURL=createSharedComposable.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createSharedComposable.d.ts","names":[],"sources":["../../../src/editor/createSharedComposable.ts"],"mappings":";KAEK,KAAA,OAAY,IAAA;AAAA,KAEL,sBAAA,WAAiC,KAAA,GAAQ,KAAA,IAAS,CAAA;;;;;iBAM9C,iBAAA,CAAkB,EAAA;;;;;cAkBrB,sBAAA,cAAqC,KAAA,EAChD,UAAA,EAAY,EAAA,KACX,sBAAA,CAAuB,EAAA"}
@@ -1,13 +0,0 @@
1
- import * as _angular_core0 from "@angular/core";
2
- import { Dictionary } from "@intlayer/types/dictionary";
3
- import { DictionaryContent } from "@intlayer/editor";
4
-
5
- //#region src/editor/dictionariesRecord.d.ts
6
- declare const useDictionariesRecord: () => {
7
- localeDictionaries: _angular_core0.Signal<DictionaryContent>;
8
- setLocaleDictionaries: (value: DictionaryContent) => void;
9
- setLocaleDictionary: (dictionary: Dictionary) => void;
10
- };
11
- //#endregion
12
- export { type DictionaryContent, useDictionariesRecord };
13
- //# sourceMappingURL=dictionariesRecord.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dictionariesRecord.d.ts","names":[],"sources":["../../../src/editor/dictionariesRecord.ts"],"mappings":";;;;;cAOa,qBAAA;;iCAuBsB,iBAAA;oCAEG,UAAA;AAAA"}
@@ -1,34 +0,0 @@
1
- import * as _angular_core0 from "@angular/core";
2
- import { ContentNode, Dictionary, LocalDictionaryId } from "@intlayer/types/dictionary";
3
- import { KeyPath } from "@intlayer/types/keyPath";
4
- import { DictionaryContent } from "@intlayer/editor";
5
-
6
- //#region src/editor/editedContent.d.ts
7
- declare const useEditedContent: () => {
8
- editedContent: _angular_core0.Signal<DictionaryContent>;
9
- setEditedContentState: (value: DictionaryContent) => void;
10
- setEditedDictionary: (dict: Dictionary) => void;
11
- setEditedContent: (localId: LocalDictionaryId, value: Dictionary["content"]) => void;
12
- addEditedContent: (localId: LocalDictionaryId, value: ContentNode, keyPath?: KeyPath[], overwrite?: boolean) => void;
13
- renameEditedContent: (localId: LocalDictionaryId, newKey: KeyPath["key"], keyPath?: KeyPath[]) => void;
14
- removeEditedContent: (localId: LocalDictionaryId, keyPath: KeyPath[]) => void;
15
- restoreEditedContent: (localId: LocalDictionaryId) => void;
16
- clearEditedDictionaryContent: (localId: LocalDictionaryId) => void;
17
- clearEditedContent: () => void;
18
- getEditedContentValue: (localIdOrKey: LocalDictionaryId | string, keyPath: KeyPath[]) => ContentNode | undefined;
19
- };
20
- declare const useEditedContentActions: () => {
21
- setEditedContentState: (value: DictionaryContent) => void;
22
- setEditedDictionary: (dict: Dictionary) => void;
23
- setEditedContent: (localId: LocalDictionaryId, value: Dictionary["content"]) => void;
24
- addEditedContent: (localId: LocalDictionaryId, value: ContentNode, keyPath?: KeyPath[], overwrite?: boolean) => void;
25
- renameEditedContent: (localId: LocalDictionaryId, newKey: KeyPath["key"], keyPath?: KeyPath[]) => void;
26
- removeEditedContent: (localId: LocalDictionaryId, keyPath: KeyPath[]) => void;
27
- restoreEditedContent: (localId: LocalDictionaryId) => void;
28
- clearEditedDictionaryContent: (localId: LocalDictionaryId) => void;
29
- clearEditedContent: () => void;
30
- getEditedContentValue: (localIdOrKey: LocalDictionaryId | string, keyPath: KeyPath[]) => ContentNode | undefined;
31
- };
32
- //#endregion
33
- export { useEditedContent, useEditedContentActions };
34
- //# sourceMappingURL=editedContent.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"editedContent.d.ts","names":[],"sources":["../../../src/editor/editedContent.ts"],"mappings":";;;;;;cAUa,gBAAA;;iCAqBsB,iBAAA;8BAEH,UAAA;8BAGjB,iBAAA,EAAiB,KAAA,EACnB,UAAA;8BAGE,iBAAA,EAAiB,KAAA,EACnB,WAAA,EAAW,OAAA,GACR,OAAA,IAAS,SAAA;iCAIV,iBAAA,EAAiB,MAAA,EAClB,OAAA,SAAc,OAAA,GACZ,OAAA;iCAEmB,iBAAA,EAAiB,OAAA,EAAW,OAAA;kCAE3B,iBAAA;0CAEQ,iBAAA;;wCAIxB,iBAAA,WAA0B,OAAA,EAC/B,OAAA,OACR,WAAA;AAAA;AAAA,cAKM,uBAAA;iCAlCsB,iBAAA;8BAEH,UAAA;8BAGjB,iBAAA,EAAiB,KAAA,EACnB,UAAA;8BAGE,iBAAA,EAAiB,KAAA,EACnB,WAAA,EAAW,OAAA,GACR,OAAA,IAAS,SAAA;iCAIV,iBAAA,EAAiB,MAAA,EAClB,OAAA,SAAc,OAAA,GACZ,OAAA;iCAEmB,iBAAA,EAAiB,OAAA,EAAW,OAAA;kCAE3B,iBAAA;0CAEQ,iBAAA;;wCAIxB,iBAAA,WAA0B,OAAA,EAC/B,OAAA,OACR,WAAA;AAAA"}
@@ -1,9 +0,0 @@
1
- import * as _angular_core0 from "@angular/core";
2
-
3
- //#region src/editor/editorEnabled.d.ts
4
- declare const useEditorEnabled: () => {
5
- enabled: _angular_core0.Signal<boolean>;
6
- };
7
- //#endregion
8
- export { useEditorEnabled };
9
- //# sourceMappingURL=editorEnabled.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"editorEnabled.d.ts","names":[],"sources":["../../../src/editor/editorEnabled.ts"],"mappings":";;;cAGa,gBAAA;WAkBZ,cAAA,CAAA,MAAA;AAAA"}
@@ -1,6 +0,0 @@
1
- import { IntlayerProvider } from "../client/installIntlayer.js";
2
- //#region src/editor/editorLocale.d.ts
3
- declare const useEditorLocale: () => IntlayerProvider;
4
- //#endregion
5
- export { useEditorLocale };
6
- //# sourceMappingURL=editorLocale.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"editorLocale.d.ts","names":[],"sources":["../../../src/editor/editorLocale.ts"],"mappings":";;cAKa,eAAA,QAAe,gBAAA"}
@@ -1,13 +0,0 @@
1
- import * as _angular_core0 from "@angular/core";
2
- import { KeyPath } from "@intlayer/types/keyPath";
3
- import { FileContent } from "@intlayer/editor";
4
-
5
- //#region src/editor/focusDictionary.d.ts
6
- declare const useFocusDictionary: () => {
7
- focusedContent: _angular_core0.Signal<FileContent>;
8
- setFocusedContent: (value: FileContent | null) => void;
9
- setFocusedContentKeyPath: (keyPath: KeyPath[]) => void;
10
- };
11
- //#endregion
12
- export { type FileContent, useFocusDictionary };
13
- //# sourceMappingURL=focusDictionary.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"focusDictionary.d.ts","names":[],"sources":["../../../src/editor/focusDictionary.ts"],"mappings":";;;;;cAOa,kBAAA;;6BAqBkB,WAAA;sCAES,OAAA;AAAA"}
@@ -1,16 +0,0 @@
1
- import { ContentSelectorWrapperComponent } from "./ContentSelectorWrapper.component.js";
2
- import { EditedContentRendererComponent } from "./EditedContentRenderer.component.js";
3
- import { EditorSelectorRendererComponent } from "./EditorSelectorRenderer.component.js";
4
- import { useCommunicator } from "./communicator.js";
5
- import { useConfiguration } from "./configuration.js";
6
- import { DictionaryContent, useDictionariesRecord } from "./dictionariesRecord.js";
7
- import { useEditedContent, useEditedContentActions } from "./editedContent.js";
8
- import { useEditorEnabled } from "./editorEnabled.js";
9
- import { useEditorLocale } from "./editorLocale.js";
10
- import { FileContent, useFocusDictionary } from "./focusDictionary.js";
11
- import { getEditorStateManager, installIntlayerEditor } from "./installIntlayerEditor.js";
12
- import { useCrossFrameMessageListener } from "./useCrossFrameMessageListener.js";
13
- import { CrossFrameStateOptions, useCrossFrameState } from "./useCrossFrameState.js";
14
- import { useEditor } from "./useEditor.js";
15
- import { useIframeClickInterceptor, useIframeClickMerger } from "./useIframeClickInterceptor.js";
16
- export { ContentSelectorWrapperComponent, CrossFrameStateOptions, DictionaryContent, EditedContentRendererComponent, EditorSelectorRendererComponent, FileContent, getEditorStateManager, installIntlayerEditor, useCommunicator, useConfiguration, useCrossFrameMessageListener, useCrossFrameState, useDictionariesRecord, useEditedContent, useEditedContentActions, useEditor, useEditorEnabled, useEditorLocale, useFocusDictionary, useIframeClickInterceptor, useIframeClickMerger };
@@ -1,9 +0,0 @@
1
- import { Injector } from "@angular/core";
2
- import { EditorStateManager } from "@intlayer/editor";
3
-
4
- //#region src/editor/installIntlayerEditor.d.ts
5
- declare const installIntlayerEditor: (_injector: Injector) => void;
6
- declare const getEditorStateManager: () => EditorStateManager | null;
7
- //#endregion
8
- export { getEditorStateManager, installIntlayerEditor };
9
- //# sourceMappingURL=installIntlayerEditor.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"installIntlayerEditor.d.ts","names":[],"sources":["../../../src/editor/installIntlayerEditor.ts"],"mappings":";;;;cA2Ba,qBAAA,GAAyB,SAAA,EAAW,QAAA;AAAA,cAcpC,qBAAA,QAA4B,kBAAA"}
@@ -1,7 +0,0 @@
1
- import { MessageKey } from "@intlayer/editor";
2
-
3
- //#region src/editor/useCrossFrameMessageListener.d.ts
4
- declare const useCrossFrameMessageListener: <S>(key: `${MessageKey}` | `${MessageKey}/post` | `${MessageKey}/get`, onEventTriggered?: (data: S) => void) => (data?: S) => void;
5
- //#endregion
6
- export { useCrossFrameMessageListener };
7
- //# sourceMappingURL=useCrossFrameMessageListener.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useCrossFrameMessageListener.d.ts","names":[],"sources":["../../../src/editor/useCrossFrameMessageListener.ts"],"mappings":";;;cAIa,4BAAA,MACX,GAAA,KAAQ,UAAA,QAAkB,UAAA,aAAuB,UAAA,QACjD,gBAAA,IAAoB,IAAA,EAAM,CAAA,eAgBlB,IAAA,GAAO,CAAA"}
@@ -1,12 +0,0 @@
1
- import { Signal } from "@angular/core";
2
- import { MessageKey } from "@intlayer/editor";
3
-
4
- //#region src/editor/useCrossFrameState.d.ts
5
- type CrossFrameStateOptions = {
6
- emit?: boolean;
7
- receive?: boolean;
8
- };
9
- declare const useCrossFrameState: <S>(key: `${MessageKey}`, initialState?: S, options?: CrossFrameStateOptions) => [Signal<S | undefined>, (value: S) => void, () => void];
10
- //#endregion
11
- export { CrossFrameStateOptions, useCrossFrameState };
12
- //# sourceMappingURL=useCrossFrameState.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useCrossFrameState.d.ts","names":[],"sources":["../../../src/editor/useCrossFrameState.ts"],"mappings":";;;;KAIY,sBAAA;EACV,IAAA;EACA,OAAA;AAAA;AAAA,cAGW,kBAAA,MACX,GAAA,KAAQ,UAAA,IACR,YAAA,GAAe,CAAA,EACf,OAAA,GAAS,sBAAA,MACP,MAAA,CAAO,CAAA,gBAAiB,KAAA,EAAO,CAAA"}
@@ -1,6 +0,0 @@
1
- //#region src/editor/useCrossURLPathState.d.ts
2
- declare const useCrossURLPathSetter: () => void;
3
- declare const useCrossURLPathState: () => void;
4
- //#endregion
5
- export { useCrossURLPathSetter, useCrossURLPathState };
6
- //# sourceMappingURL=useCrossURLPathState.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useCrossURLPathState.d.ts","names":[],"sources":["../../../src/editor/useCrossURLPathState.ts"],"mappings":";cAEa,qBAAA;AAAA,cAIA,oBAAA"}
@@ -1,21 +0,0 @@
1
- import { InjectionToken, Signal } from "@angular/core";
2
- import { KeyPath } from "@intlayer/types/keyPath";
3
-
4
- //#region src/editor/useEditedContentRenderer.d.ts
5
- interface EditedContentActions {
6
- getEditedContentValue(dictionaryKey: string, keyPath: KeyPath[]): unknown;
7
- }
8
- declare const EDITED_CONTENT_ACTIONS_TOKEN: InjectionToken<EditedContentActions>;
9
- declare class EditedContentRendererService {
10
- /**
11
- * Mirrors the React hook one-for-one.
12
- */
13
- useEditedContentRenderer(dictionaryKey: string, keyPath: KeyPath[], fallback: unknown): Signal<unknown>;
14
- }
15
- /**
16
- * Standalone function that can be used like the Vue composable
17
- */
18
- declare const useEditedContentRenderer: (dictionaryKey: string, keyPath: KeyPath[], fallback: unknown) => Signal<unknown>;
19
- //#endregion
20
- export { EDITED_CONTENT_ACTIONS_TOKEN, EditedContentActions, EditedContentRendererService, useEditedContentRenderer };
21
- //# sourceMappingURL=useEditedContentRenderer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useEditedContentRenderer.d.ts","names":[],"sources":["../../../src/editor/useEditedContentRenderer.ts"],"mappings":";;;;UASiB,oBAAA;EACf,qBAAA,CAAsB,aAAA,UAAuB,OAAA,EAAS,OAAA;AAAA;AAAA,cAG3C,4BAAA,EAA4B,cAAA,CAAA,oBAAA;AAAA,cAM5B,4BAAA;EATkD;;;EAa7D,wBAAA,CACE,aAAA,UACA,OAAA,EAAS,OAAA,IACT,QAAA,YACC,MAAA;AAAA;;;AAdL;cAiCa,wBAAA,GACX,aAAA,UACA,OAAA,EAAS,OAAA,IACT,QAAA,cACC,MAAA"}
@@ -1,6 +0,0 @@
1
- //#region src/editor/useIframeClickInterceptor.d.ts
2
- declare const useIframeClickInterceptor: () => void;
3
- declare const useIframeClickMerger: () => void;
4
- //#endregion
5
- export { useIframeClickInterceptor, useIframeClickMerger };
6
- //# sourceMappingURL=useIframeClickInterceptor.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useIframeClickInterceptor.d.ts","names":[],"sources":["../../../src/editor/useIframeClickInterceptor.ts"],"mappings":";cAGa,yBAAA;AAAA,cAIA,oBAAA"}
@@ -1,3 +0,0 @@
1
- import { Dictionary } from "@intlayer/types/dictionary";
2
- import { Locale as Locale$1 } from "@intlayer/types/allLocales";
3
- export { type Locale$1 as Locale };