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.
- package/dist/cjs/client/useDictionary.cjs +1 -1
- package/dist/cjs/client/useIntlayer.cjs +1 -1
- package/dist/cjs/client/useLocaleStorage.cjs +1 -1
- package/dist/cjs/editor/ContentSelector.component.cjs +9 -0
- package/dist/cjs/editor/ContentSelector.component.cjs.map +1 -0
- package/dist/cjs/editor/useEditor.cjs +1 -1
- package/dist/cjs/editor/useEditor.cjs.map +1 -1
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/plugins.cjs +1 -1
- package/dist/cjs/plugins.cjs.map +1 -1
- package/dist/esm/client/useDictionary.mjs +1 -1
- package/dist/esm/client/useIntlayer.mjs +1 -1
- package/dist/esm/client/useLocaleStorage.mjs +1 -1
- package/dist/esm/editor/ContentSelector.component.mjs +9 -0
- package/dist/esm/editor/ContentSelector.component.mjs.map +1 -0
- package/dist/esm/editor/useEditor.mjs +1 -1
- package/dist/esm/editor/useEditor.mjs.map +1 -1
- package/dist/esm/index.mjs +1 -1
- package/dist/esm/plugins.mjs +1 -1
- package/dist/esm/plugins.mjs.map +1 -1
- package/dist/types/client/useDictionaryDynamic.d.ts +2 -2
- package/dist/types/client/useDictionaryDynamic.d.ts.map +1 -1
- package/dist/types/client/useLocale.d.ts +3 -3
- package/dist/types/client/useLocaleStorage.d.ts +5 -5
- package/dist/types/client/useLocaleStorage.d.ts.map +1 -1
- package/dist/types/editor/ContentSelector.component.d.ts +9 -0
- package/dist/types/editor/ContentSelector.component.d.ts.map +1 -0
- package/dist/types/editor/useEditor.d.ts.map +1 -1
- package/package.json +8 -8
- package/dist/cjs/UI/ContentSelector.component.cjs +0 -20
- package/dist/cjs/UI/ContentSelector.component.cjs.map +0 -1
- package/dist/cjs/editor/ContentSelectorWrapper.component.cjs +0 -16
- package/dist/cjs/editor/ContentSelectorWrapper.component.cjs.map +0 -1
- package/dist/cjs/editor/EditedContentRenderer.component.cjs +0 -2
- package/dist/cjs/editor/EditedContentRenderer.component.cjs.map +0 -1
- package/dist/cjs/editor/EditorSelectorRenderer.component.cjs +0 -14
- package/dist/cjs/editor/EditorSelectorRenderer.component.cjs.map +0 -1
- package/dist/cjs/editor/communicator.cjs +0 -2
- package/dist/cjs/editor/communicator.cjs.map +0 -1
- package/dist/cjs/editor/configuration.cjs +0 -2
- package/dist/cjs/editor/configuration.cjs.map +0 -1
- package/dist/cjs/editor/createSharedComposable.cjs +0 -2
- package/dist/cjs/editor/createSharedComposable.cjs.map +0 -1
- package/dist/cjs/editor/dictionariesRecord.cjs +0 -2
- package/dist/cjs/editor/dictionariesRecord.cjs.map +0 -1
- package/dist/cjs/editor/editedContent.cjs +0 -2
- package/dist/cjs/editor/editedContent.cjs.map +0 -1
- package/dist/cjs/editor/editorEnabled.cjs +0 -2
- package/dist/cjs/editor/editorEnabled.cjs.map +0 -1
- package/dist/cjs/editor/editorLocale.cjs +0 -2
- package/dist/cjs/editor/editorLocale.cjs.map +0 -1
- package/dist/cjs/editor/focusDictionary.cjs +0 -2
- package/dist/cjs/editor/focusDictionary.cjs.map +0 -1
- package/dist/cjs/editor/index.cjs +0 -1
- package/dist/cjs/editor/installIntlayerEditor.cjs +0 -2
- package/dist/cjs/editor/installIntlayerEditor.cjs.map +0 -1
- package/dist/cjs/editor/useCrossFrameMessageListener.cjs +0 -2
- package/dist/cjs/editor/useCrossFrameMessageListener.cjs.map +0 -1
- package/dist/cjs/editor/useCrossFrameState.cjs +0 -2
- package/dist/cjs/editor/useCrossFrameState.cjs.map +0 -1
- package/dist/cjs/editor/useCrossURLPathState.cjs +0 -2
- package/dist/cjs/editor/useCrossURLPathState.cjs.map +0 -1
- package/dist/cjs/editor/useEditedContentRenderer.cjs +0 -2
- package/dist/cjs/editor/useEditedContentRenderer.cjs.map +0 -1
- package/dist/cjs/editor/useIframeClickInterceptor.cjs +0 -2
- package/dist/cjs/editor/useIframeClickInterceptor.cjs.map +0 -1
- package/dist/esm/UI/ContentSelector.component.mjs +0 -20
- package/dist/esm/UI/ContentSelector.component.mjs.map +0 -1
- package/dist/esm/editor/ContentSelectorWrapper.component.mjs +0 -16
- package/dist/esm/editor/ContentSelectorWrapper.component.mjs.map +0 -1
- package/dist/esm/editor/EditedContentRenderer.component.mjs +0 -2
- package/dist/esm/editor/EditedContentRenderer.component.mjs.map +0 -1
- package/dist/esm/editor/EditorSelectorRenderer.component.mjs +0 -14
- package/dist/esm/editor/EditorSelectorRenderer.component.mjs.map +0 -1
- package/dist/esm/editor/communicator.mjs +0 -2
- package/dist/esm/editor/communicator.mjs.map +0 -1
- package/dist/esm/editor/configuration.mjs +0 -2
- package/dist/esm/editor/configuration.mjs.map +0 -1
- package/dist/esm/editor/createSharedComposable.mjs +0 -2
- package/dist/esm/editor/createSharedComposable.mjs.map +0 -1
- package/dist/esm/editor/dictionariesRecord.mjs +0 -2
- package/dist/esm/editor/dictionariesRecord.mjs.map +0 -1
- package/dist/esm/editor/editedContent.mjs +0 -2
- package/dist/esm/editor/editedContent.mjs.map +0 -1
- package/dist/esm/editor/editorEnabled.mjs +0 -2
- package/dist/esm/editor/editorEnabled.mjs.map +0 -1
- package/dist/esm/editor/editorLocale.mjs +0 -2
- package/dist/esm/editor/editorLocale.mjs.map +0 -1
- package/dist/esm/editor/focusDictionary.mjs +0 -2
- package/dist/esm/editor/focusDictionary.mjs.map +0 -1
- package/dist/esm/editor/index.mjs +0 -1
- package/dist/esm/editor/installIntlayerEditor.mjs +0 -2
- package/dist/esm/editor/installIntlayerEditor.mjs.map +0 -1
- package/dist/esm/editor/useCrossFrameMessageListener.mjs +0 -2
- package/dist/esm/editor/useCrossFrameMessageListener.mjs.map +0 -1
- package/dist/esm/editor/useCrossFrameState.mjs +0 -2
- package/dist/esm/editor/useCrossFrameState.mjs.map +0 -1
- package/dist/esm/editor/useCrossURLPathState.mjs +0 -2
- package/dist/esm/editor/useCrossURLPathState.mjs.map +0 -1
- package/dist/esm/editor/useEditedContentRenderer.mjs +0 -2
- package/dist/esm/editor/useEditedContentRenderer.mjs.map +0 -1
- package/dist/esm/editor/useIframeClickInterceptor.mjs +0 -2
- package/dist/esm/editor/useIframeClickInterceptor.mjs.map +0 -1
- package/dist/types/UI/ContentSelector.component.d.ts +0 -34
- package/dist/types/UI/ContentSelector.component.d.ts.map +0 -1
- package/dist/types/editor/ContentSelectorWrapper.component.d.ts +0 -21
- package/dist/types/editor/ContentSelectorWrapper.component.d.ts.map +0 -1
- package/dist/types/editor/EditedContentRenderer.component.d.ts +0 -24
- package/dist/types/editor/EditedContentRenderer.component.d.ts.map +0 -1
- package/dist/types/editor/EditorSelectorRenderer.component.d.ts +0 -17
- package/dist/types/editor/EditorSelectorRenderer.component.d.ts.map +0 -1
- package/dist/types/editor/communicator.d.ts +0 -8
- package/dist/types/editor/communicator.d.ts.map +0 -1
- package/dist/types/editor/configuration.d.ts +0 -8
- package/dist/types/editor/configuration.d.ts.map +0 -1
- package/dist/types/editor/createSharedComposable.d.ts +0 -16
- package/dist/types/editor/createSharedComposable.d.ts.map +0 -1
- package/dist/types/editor/dictionariesRecord.d.ts +0 -13
- package/dist/types/editor/dictionariesRecord.d.ts.map +0 -1
- package/dist/types/editor/editedContent.d.ts +0 -34
- package/dist/types/editor/editedContent.d.ts.map +0 -1
- package/dist/types/editor/editorEnabled.d.ts +0 -9
- package/dist/types/editor/editorEnabled.d.ts.map +0 -1
- package/dist/types/editor/editorLocale.d.ts +0 -6
- package/dist/types/editor/editorLocale.d.ts.map +0 -1
- package/dist/types/editor/focusDictionary.d.ts +0 -13
- package/dist/types/editor/focusDictionary.d.ts.map +0 -1
- package/dist/types/editor/index.d.ts +0 -16
- package/dist/types/editor/installIntlayerEditor.d.ts +0 -9
- package/dist/types/editor/installIntlayerEditor.d.ts.map +0 -1
- package/dist/types/editor/useCrossFrameMessageListener.d.ts +0 -7
- package/dist/types/editor/useCrossFrameMessageListener.d.ts.map +0 -1
- package/dist/types/editor/useCrossFrameState.d.ts +0 -12
- package/dist/types/editor/useCrossFrameState.d.ts.map +0 -1
- package/dist/types/editor/useCrossURLPathState.d.ts +0 -6
- package/dist/types/editor/useCrossURLPathState.d.ts.map +0 -1
- package/dist/types/editor/useEditedContentRenderer.d.ts +0 -21
- package/dist/types/editor/useEditedContentRenderer.d.ts.map +0 -1
- package/dist/types/editor/useIframeClickInterceptor.d.ts +0 -6
- package/dist/types/editor/useIframeClickInterceptor.d.ts.map +0 -1
- 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 +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 +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"}
|