@elementor/editor-elements 4.4.0-1111 → 4.4.0-1113
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/index.d.mts +9 -1
- package/dist/index.d.ts +9 -1
- package/dist/index.js +32 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +30 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +8 -8
- package/src/index.ts +2 -1
- package/src/sync/get-elements.ts +12 -3
- package/src/sync/get-host-document-container.ts +13 -0
- package/src/sync/get-host-document-id.ts +11 -0
- package/src/sync/types.ts +7 -0
package/src/sync/types.ts
CHANGED
|
@@ -28,6 +28,12 @@ export type ExtendedWindow = Window & {
|
|
|
28
28
|
}
|
|
29
29
|
| undefined;
|
|
30
30
|
getCurrentId?: () => number;
|
|
31
|
+
getInitialId?: () => number;
|
|
32
|
+
get?: ( id: number ) =>
|
|
33
|
+
| {
|
|
34
|
+
container: V1Element;
|
|
35
|
+
}
|
|
36
|
+
| undefined;
|
|
31
37
|
};
|
|
32
38
|
getContainer?: ( id: string ) => V1Element | undefined;
|
|
33
39
|
getPreviewContainer?: () => V1Element | undefined;
|
|
@@ -183,6 +189,7 @@ export type V1ElementEditorSettingsProps = {
|
|
|
183
189
|
component_uid?: string;
|
|
184
190
|
grid_outline?: boolean;
|
|
185
191
|
empty_state_preview?: boolean;
|
|
192
|
+
decorative?: boolean;
|
|
186
193
|
};
|
|
187
194
|
|
|
188
195
|
export type V1ElementSettingsProps = Record< string, PropValue >;
|