@elementor/editor-elements 3.35.0-390 → 3.35.0-391
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 +12 -1
- package/dist/index.d.ts +12 -1
- package/package.json +7 -7
- package/src/sync/types.ts +13 -0
package/dist/index.d.mts
CHANGED
|
@@ -97,6 +97,10 @@ type NumberPropValue = {
|
|
|
97
97
|
$$type: 'number';
|
|
98
98
|
value: number;
|
|
99
99
|
};
|
|
100
|
+
type BooleanPropValue = {
|
|
101
|
+
$$type: 'boolean';
|
|
102
|
+
value: boolean;
|
|
103
|
+
};
|
|
100
104
|
type TimingConfigPropValue = {
|
|
101
105
|
$$type: 'timing-config';
|
|
102
106
|
value: {
|
|
@@ -104,6 +108,12 @@ type TimingConfigPropValue = {
|
|
|
104
108
|
delay: NumberPropValue;
|
|
105
109
|
};
|
|
106
110
|
};
|
|
111
|
+
type ConfigPropValue = {
|
|
112
|
+
$$type: 'config';
|
|
113
|
+
value: {
|
|
114
|
+
replay: BooleanPropValue;
|
|
115
|
+
};
|
|
116
|
+
};
|
|
107
117
|
type AnimationPresetPropValue = {
|
|
108
118
|
$$type: 'animation-preset-props';
|
|
109
119
|
value: {
|
|
@@ -111,6 +121,7 @@ type AnimationPresetPropValue = {
|
|
|
111
121
|
type: StringPropValue;
|
|
112
122
|
direction: StringPropValue;
|
|
113
123
|
timing_config: TimingConfigPropValue;
|
|
124
|
+
config: ConfigPropValue;
|
|
114
125
|
};
|
|
115
126
|
};
|
|
116
127
|
type InteractionItemPropValue = {
|
|
@@ -437,4 +448,4 @@ declare const updateElementInteractions: ({ elementId, interactions, }: {
|
|
|
437
448
|
}) => void;
|
|
438
449
|
declare const playElementInteractions: (elementId: string, animationId: string) => void;
|
|
439
450
|
|
|
440
|
-
export { type AnimationPresetPropValue, type Control, type ControlItem, type ControlLayout, type ControlsSection, type CreateElementParams, type CreateElementStyleArgs, type DropElementParams, type DuplicateElementParams, type DuplicateElementsParams, type DuplicatedElement, type DuplicatedElementsResult, ELEMENT_STYLE_CHANGE_EVENT, type Element, type ElementChildren, type ElementControl, type ElementID, type ElementInteractions, type ElementModel, type ElementType, type ExtendedWindow, type InteractionItemPropValue, type LinkInLinkRestriction, type MoveElementParams, type MoveElementsParams, type MovedElement, type MovedElementsResult, type NumberPropValue, type StringPropValue, type TimingConfigPropValue, type UpdateElementSettingsArgs, type UpdateElementStyleArgs, type V1Element, type V1ElementConfig, type V1ElementData, type V1ElementEditorSettingsProps, type V1ElementModelProps, type V1ElementSettingsProps, createElement, createElementStyle, createElements, deleteElement, deleteElementStyle, dropElement, duplicateElement, duplicateElements, generateElementId, getAnchoredAncestorId, getAnchoredDescendantId, getContainer, getCurrentDocumentContainer, getCurrentDocumentId, getElementEditorSettings, getElementInteractions, getElementLabel, getElementSetting, getElementSettings, getElementStyles, getElementType, getElements, getLinkInLinkRestriction, getSelectedElements, getWidgetsCache, isElementAnchored, moveElement, moveElements, playElementInteractions, removeElements, replaceElement, selectElement, shouldCreateNewLocalStyle, styleRerenderEvents, updateElementEditorSettings, updateElementInteractions, updateElementSettings, updateElementStyle, useElementChildren, useElementEditorSettings, useElementInteractions, useElementSetting, useElementSettings, useParentElement, useSelectedElement };
|
|
451
|
+
export { type AnimationPresetPropValue, type BooleanPropValue, type ConfigPropValue, type Control, type ControlItem, type ControlLayout, type ControlsSection, type CreateElementParams, type CreateElementStyleArgs, type DropElementParams, type DuplicateElementParams, type DuplicateElementsParams, type DuplicatedElement, type DuplicatedElementsResult, ELEMENT_STYLE_CHANGE_EVENT, type Element, type ElementChildren, type ElementControl, type ElementID, type ElementInteractions, type ElementModel, type ElementType, type ExtendedWindow, type InteractionItemPropValue, type LinkInLinkRestriction, type MoveElementParams, type MoveElementsParams, type MovedElement, type MovedElementsResult, type NumberPropValue, type StringPropValue, type TimingConfigPropValue, type UpdateElementSettingsArgs, type UpdateElementStyleArgs, type V1Element, type V1ElementConfig, type V1ElementData, type V1ElementEditorSettingsProps, type V1ElementModelProps, type V1ElementSettingsProps, createElement, createElementStyle, createElements, deleteElement, deleteElementStyle, dropElement, duplicateElement, duplicateElements, generateElementId, getAnchoredAncestorId, getAnchoredDescendantId, getContainer, getCurrentDocumentContainer, getCurrentDocumentId, getElementEditorSettings, getElementInteractions, getElementLabel, getElementSetting, getElementSettings, getElementStyles, getElementType, getElements, getLinkInLinkRestriction, getSelectedElements, getWidgetsCache, isElementAnchored, moveElement, moveElements, playElementInteractions, removeElements, replaceElement, selectElement, shouldCreateNewLocalStyle, styleRerenderEvents, updateElementEditorSettings, updateElementInteractions, updateElementSettings, updateElementStyle, useElementChildren, useElementEditorSettings, useElementInteractions, useElementSetting, useElementSettings, useParentElement, useSelectedElement };
|
package/dist/index.d.ts
CHANGED
|
@@ -97,6 +97,10 @@ type NumberPropValue = {
|
|
|
97
97
|
$$type: 'number';
|
|
98
98
|
value: number;
|
|
99
99
|
};
|
|
100
|
+
type BooleanPropValue = {
|
|
101
|
+
$$type: 'boolean';
|
|
102
|
+
value: boolean;
|
|
103
|
+
};
|
|
100
104
|
type TimingConfigPropValue = {
|
|
101
105
|
$$type: 'timing-config';
|
|
102
106
|
value: {
|
|
@@ -104,6 +108,12 @@ type TimingConfigPropValue = {
|
|
|
104
108
|
delay: NumberPropValue;
|
|
105
109
|
};
|
|
106
110
|
};
|
|
111
|
+
type ConfigPropValue = {
|
|
112
|
+
$$type: 'config';
|
|
113
|
+
value: {
|
|
114
|
+
replay: BooleanPropValue;
|
|
115
|
+
};
|
|
116
|
+
};
|
|
107
117
|
type AnimationPresetPropValue = {
|
|
108
118
|
$$type: 'animation-preset-props';
|
|
109
119
|
value: {
|
|
@@ -111,6 +121,7 @@ type AnimationPresetPropValue = {
|
|
|
111
121
|
type: StringPropValue;
|
|
112
122
|
direction: StringPropValue;
|
|
113
123
|
timing_config: TimingConfigPropValue;
|
|
124
|
+
config: ConfigPropValue;
|
|
114
125
|
};
|
|
115
126
|
};
|
|
116
127
|
type InteractionItemPropValue = {
|
|
@@ -437,4 +448,4 @@ declare const updateElementInteractions: ({ elementId, interactions, }: {
|
|
|
437
448
|
}) => void;
|
|
438
449
|
declare const playElementInteractions: (elementId: string, animationId: string) => void;
|
|
439
450
|
|
|
440
|
-
export { type AnimationPresetPropValue, type Control, type ControlItem, type ControlLayout, type ControlsSection, type CreateElementParams, type CreateElementStyleArgs, type DropElementParams, type DuplicateElementParams, type DuplicateElementsParams, type DuplicatedElement, type DuplicatedElementsResult, ELEMENT_STYLE_CHANGE_EVENT, type Element, type ElementChildren, type ElementControl, type ElementID, type ElementInteractions, type ElementModel, type ElementType, type ExtendedWindow, type InteractionItemPropValue, type LinkInLinkRestriction, type MoveElementParams, type MoveElementsParams, type MovedElement, type MovedElementsResult, type NumberPropValue, type StringPropValue, type TimingConfigPropValue, type UpdateElementSettingsArgs, type UpdateElementStyleArgs, type V1Element, type V1ElementConfig, type V1ElementData, type V1ElementEditorSettingsProps, type V1ElementModelProps, type V1ElementSettingsProps, createElement, createElementStyle, createElements, deleteElement, deleteElementStyle, dropElement, duplicateElement, duplicateElements, generateElementId, getAnchoredAncestorId, getAnchoredDescendantId, getContainer, getCurrentDocumentContainer, getCurrentDocumentId, getElementEditorSettings, getElementInteractions, getElementLabel, getElementSetting, getElementSettings, getElementStyles, getElementType, getElements, getLinkInLinkRestriction, getSelectedElements, getWidgetsCache, isElementAnchored, moveElement, moveElements, playElementInteractions, removeElements, replaceElement, selectElement, shouldCreateNewLocalStyle, styleRerenderEvents, updateElementEditorSettings, updateElementInteractions, updateElementSettings, updateElementStyle, useElementChildren, useElementEditorSettings, useElementInteractions, useElementSetting, useElementSettings, useParentElement, useSelectedElement };
|
|
451
|
+
export { type AnimationPresetPropValue, type BooleanPropValue, type ConfigPropValue, type Control, type ControlItem, type ControlLayout, type ControlsSection, type CreateElementParams, type CreateElementStyleArgs, type DropElementParams, type DuplicateElementParams, type DuplicateElementsParams, type DuplicatedElement, type DuplicatedElementsResult, ELEMENT_STYLE_CHANGE_EVENT, type Element, type ElementChildren, type ElementControl, type ElementID, type ElementInteractions, type ElementModel, type ElementType, type ExtendedWindow, type InteractionItemPropValue, type LinkInLinkRestriction, type MoveElementParams, type MoveElementsParams, type MovedElement, type MovedElementsResult, type NumberPropValue, type StringPropValue, type TimingConfigPropValue, type UpdateElementSettingsArgs, type UpdateElementStyleArgs, type V1Element, type V1ElementConfig, type V1ElementData, type V1ElementEditorSettingsProps, type V1ElementModelProps, type V1ElementSettingsProps, createElement, createElementStyle, createElements, deleteElement, deleteElementStyle, dropElement, duplicateElement, duplicateElements, generateElementId, getAnchoredAncestorId, getAnchoredDescendantId, getContainer, getCurrentDocumentContainer, getCurrentDocumentId, getElementEditorSettings, getElementInteractions, getElementLabel, getElementSetting, getElementSettings, getElementStyles, getElementType, getElements, getLinkInLinkRestriction, getSelectedElements, getWidgetsCache, isElementAnchored, moveElement, moveElements, playElementInteractions, removeElements, replaceElement, selectElement, shouldCreateNewLocalStyle, styleRerenderEvents, updateElementEditorSettings, updateElementInteractions, updateElementSettings, updateElementStyle, useElementChildren, useElementEditorSettings, useElementInteractions, useElementSetting, useElementSettings, useParentElement, useSelectedElement };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elementor/editor-elements",
|
|
3
3
|
"description": "This package contains the elements model for the Elementor editor",
|
|
4
|
-
"version": "3.35.0-
|
|
4
|
+
"version": "3.35.0-391",
|
|
5
5
|
"private": false,
|
|
6
6
|
"author": "Elementor Team",
|
|
7
7
|
"homepage": "https://elementor.com/",
|
|
@@ -40,12 +40,12 @@
|
|
|
40
40
|
"dev": "tsup --config=../../tsup.dev.ts"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@elementor/editor-mcp": "3.35.0-
|
|
44
|
-
"@elementor/editor-props": "3.35.0-
|
|
45
|
-
"@elementor/editor-styles": "3.35.0-
|
|
46
|
-
"@elementor/editor-v1-adapters": "3.35.0-
|
|
47
|
-
"@elementor/schema": "3.35.0-
|
|
48
|
-
"@elementor/utils": "3.35.0-
|
|
43
|
+
"@elementor/editor-mcp": "3.35.0-391",
|
|
44
|
+
"@elementor/editor-props": "3.35.0-391",
|
|
45
|
+
"@elementor/editor-styles": "3.35.0-391",
|
|
46
|
+
"@elementor/editor-v1-adapters": "3.35.0-391",
|
|
47
|
+
"@elementor/schema": "3.35.0-391",
|
|
48
|
+
"@elementor/utils": "3.35.0-391",
|
|
49
49
|
"@wordpress/i18n": "^3.1.0"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
package/src/sync/types.ts
CHANGED
|
@@ -54,6 +54,11 @@ export type NumberPropValue = {
|
|
|
54
54
|
value: number;
|
|
55
55
|
};
|
|
56
56
|
|
|
57
|
+
export type BooleanPropValue = {
|
|
58
|
+
$$type: 'boolean';
|
|
59
|
+
value: boolean;
|
|
60
|
+
};
|
|
61
|
+
|
|
57
62
|
export type TimingConfigPropValue = {
|
|
58
63
|
$$type: 'timing-config';
|
|
59
64
|
value: {
|
|
@@ -62,6 +67,13 @@ export type TimingConfigPropValue = {
|
|
|
62
67
|
};
|
|
63
68
|
};
|
|
64
69
|
|
|
70
|
+
export type ConfigPropValue = {
|
|
71
|
+
$$type: 'config';
|
|
72
|
+
value: {
|
|
73
|
+
replay: BooleanPropValue;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
|
|
65
77
|
export type AnimationPresetPropValue = {
|
|
66
78
|
$$type: 'animation-preset-props';
|
|
67
79
|
value: {
|
|
@@ -69,6 +81,7 @@ export type AnimationPresetPropValue = {
|
|
|
69
81
|
type: StringPropValue;
|
|
70
82
|
direction: StringPropValue;
|
|
71
83
|
timing_config: TimingConfigPropValue;
|
|
84
|
+
config: ConfigPropValue;
|
|
72
85
|
};
|
|
73
86
|
};
|
|
74
87
|
|