@elementor/editor-elements 3.35.0-360 → 3.35.0-362
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 +34 -9
- package/dist/index.d.ts +34 -9
- package/package.json +7 -7
- package/src/sync/types.ts +37 -8
package/dist/index.d.mts
CHANGED
|
@@ -89,17 +89,42 @@ type V1Element = {
|
|
|
89
89
|
};
|
|
90
90
|
parent?: V1Element;
|
|
91
91
|
};
|
|
92
|
-
type
|
|
93
|
-
|
|
94
|
-
|
|
92
|
+
type StringPropValue = {
|
|
93
|
+
$$type: 'string';
|
|
94
|
+
value: string;
|
|
95
95
|
};
|
|
96
|
-
type
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
96
|
+
type NumberPropValue = {
|
|
97
|
+
$$type: 'number';
|
|
98
|
+
value: number;
|
|
99
|
+
};
|
|
100
|
+
type TimingConfigPropValue = {
|
|
101
|
+
$$type: 'timing-config';
|
|
102
|
+
value: {
|
|
103
|
+
duration: NumberPropValue;
|
|
104
|
+
delay: NumberPropValue;
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
type AnimationPresetPropValue = {
|
|
108
|
+
$$type: 'animation-preset-props';
|
|
109
|
+
value: {
|
|
110
|
+
effect: StringPropValue;
|
|
111
|
+
type: StringPropValue;
|
|
112
|
+
direction: StringPropValue;
|
|
113
|
+
timing_config: TimingConfigPropValue;
|
|
101
114
|
};
|
|
102
115
|
};
|
|
116
|
+
type InteractionItemPropValue = {
|
|
117
|
+
$$type: 'interaction-item';
|
|
118
|
+
value: {
|
|
119
|
+
interaction_id?: StringPropValue;
|
|
120
|
+
trigger: StringPropValue;
|
|
121
|
+
animation: AnimationPresetPropValue;
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
type ElementInteractions = {
|
|
125
|
+
version: number;
|
|
126
|
+
items: InteractionItemPropValue[];
|
|
127
|
+
};
|
|
103
128
|
type V1ElementModelProps = {
|
|
104
129
|
isLocked?: boolean;
|
|
105
130
|
widgetType?: string;
|
|
@@ -411,4 +436,4 @@ declare const updateElementInteractions: ({ elementId, interactions, }: {
|
|
|
411
436
|
}) => void;
|
|
412
437
|
declare const playElementInteractions: (elementId: string, animationId: string) => void;
|
|
413
438
|
|
|
414
|
-
export { 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
|
|
439
|
+
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 };
|
package/dist/index.d.ts
CHANGED
|
@@ -89,17 +89,42 @@ type V1Element = {
|
|
|
89
89
|
};
|
|
90
90
|
parent?: V1Element;
|
|
91
91
|
};
|
|
92
|
-
type
|
|
93
|
-
|
|
94
|
-
|
|
92
|
+
type StringPropValue = {
|
|
93
|
+
$$type: 'string';
|
|
94
|
+
value: string;
|
|
95
95
|
};
|
|
96
|
-
type
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
96
|
+
type NumberPropValue = {
|
|
97
|
+
$$type: 'number';
|
|
98
|
+
value: number;
|
|
99
|
+
};
|
|
100
|
+
type TimingConfigPropValue = {
|
|
101
|
+
$$type: 'timing-config';
|
|
102
|
+
value: {
|
|
103
|
+
duration: NumberPropValue;
|
|
104
|
+
delay: NumberPropValue;
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
type AnimationPresetPropValue = {
|
|
108
|
+
$$type: 'animation-preset-props';
|
|
109
|
+
value: {
|
|
110
|
+
effect: StringPropValue;
|
|
111
|
+
type: StringPropValue;
|
|
112
|
+
direction: StringPropValue;
|
|
113
|
+
timing_config: TimingConfigPropValue;
|
|
101
114
|
};
|
|
102
115
|
};
|
|
116
|
+
type InteractionItemPropValue = {
|
|
117
|
+
$$type: 'interaction-item';
|
|
118
|
+
value: {
|
|
119
|
+
interaction_id?: StringPropValue;
|
|
120
|
+
trigger: StringPropValue;
|
|
121
|
+
animation: AnimationPresetPropValue;
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
type ElementInteractions = {
|
|
125
|
+
version: number;
|
|
126
|
+
items: InteractionItemPropValue[];
|
|
127
|
+
};
|
|
103
128
|
type V1ElementModelProps = {
|
|
104
129
|
isLocked?: boolean;
|
|
105
130
|
widgetType?: string;
|
|
@@ -411,4 +436,4 @@ declare const updateElementInteractions: ({ elementId, interactions, }: {
|
|
|
411
436
|
}) => void;
|
|
412
437
|
declare const playElementInteractions: (elementId: string, animationId: string) => void;
|
|
413
438
|
|
|
414
|
-
export { 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
|
|
439
|
+
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 };
|
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-362",
|
|
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-362",
|
|
44
|
+
"@elementor/editor-props": "3.35.0-362",
|
|
45
|
+
"@elementor/editor-styles": "3.35.0-362",
|
|
46
|
+
"@elementor/editor-v1-adapters": "3.35.0-362",
|
|
47
|
+
"@elementor/schema": "3.35.0-362",
|
|
48
|
+
"@elementor/utils": "3.35.0-362",
|
|
49
49
|
"@wordpress/i18n": "^3.1.0"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
package/src/sync/types.ts
CHANGED
|
@@ -44,19 +44,48 @@ export type V1Element = {
|
|
|
44
44
|
parent?: V1Element;
|
|
45
45
|
};
|
|
46
46
|
|
|
47
|
-
export type
|
|
48
|
-
|
|
49
|
-
|
|
47
|
+
export type StringPropValue = {
|
|
48
|
+
$$type: 'string';
|
|
49
|
+
value: string;
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
export type NumberPropValue = {
|
|
53
|
+
$$type: 'number';
|
|
54
|
+
value: number;
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
export type TimingConfigPropValue = {
|
|
58
|
+
$$type: 'timing-config';
|
|
59
|
+
value: {
|
|
60
|
+
duration: NumberPropValue;
|
|
61
|
+
delay: NumberPropValue;
|
|
62
|
+
};
|
|
50
63
|
};
|
|
51
64
|
|
|
52
|
-
export type
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
65
|
+
export type AnimationPresetPropValue = {
|
|
66
|
+
$$type: 'animation-preset-props';
|
|
67
|
+
value: {
|
|
68
|
+
effect: StringPropValue;
|
|
69
|
+
type: StringPropValue;
|
|
70
|
+
direction: StringPropValue;
|
|
71
|
+
timing_config: TimingConfigPropValue;
|
|
57
72
|
};
|
|
58
73
|
};
|
|
59
74
|
|
|
75
|
+
export type InteractionItemPropValue = {
|
|
76
|
+
$$type: 'interaction-item';
|
|
77
|
+
value: {
|
|
78
|
+
interaction_id?: StringPropValue;
|
|
79
|
+
trigger: StringPropValue;
|
|
80
|
+
animation: AnimationPresetPropValue;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
|
|
84
|
+
export type ElementInteractions = {
|
|
85
|
+
version: number;
|
|
86
|
+
items: InteractionItemPropValue[];
|
|
87
|
+
};
|
|
88
|
+
|
|
60
89
|
export type V1ElementModelProps = {
|
|
61
90
|
isLocked?: boolean;
|
|
62
91
|
widgetType?: string;
|