@elementor/editor-components 4.3.0-950 → 4.3.0-952
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 +4 -9
- package/dist/index.d.ts +4 -9
- package/dist/index.js.map +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +23 -23
- package/src/utils/tracking.ts +6 -14
package/dist/index.d.mts
CHANGED
|
@@ -1413,17 +1413,12 @@ declare function switchToComponent(componentId: number, componentInstanceId?: st
|
|
|
1413
1413
|
type ExecutedBy = 'user' | 'mcp_tool' | 'system';
|
|
1414
1414
|
/** @deprecated since 4.2.1 - use `ExecutedBy` instead */
|
|
1415
1415
|
type Source = ExecutedBy;
|
|
1416
|
-
type ExecutedByParam = {
|
|
1417
|
-
executedBy: ExecutedBy;
|
|
1418
|
-
source?: never;
|
|
1419
|
-
} | {
|
|
1420
|
-
/** @deprecated since 4.2.1 - use `executedBy` instead */
|
|
1421
|
-
source: ExecutedBy;
|
|
1422
|
-
executedBy?: never;
|
|
1423
|
-
};
|
|
1424
1416
|
type ComponentEventData = Record<string, unknown> & {
|
|
1425
1417
|
action: 'createClicked' | 'created' | 'createCancelled' | 'instanceAdded' | 'edited' | 'propertyExposed' | 'propertyRemoved' | 'propertiesPanelOpened' | 'propertiesGroupCreated' | 'detached';
|
|
1426
|
-
|
|
1418
|
+
executedBy?: ExecutedBy;
|
|
1419
|
+
/** @deprecated since 4.2.1 - use `executedBy` instead */
|
|
1420
|
+
source?: Source;
|
|
1421
|
+
};
|
|
1427
1422
|
declare const trackComponentEvent: ({ action, source, executedBy, ...data }: ComponentEventData) => void;
|
|
1428
1423
|
declare const onElementDrop: (_args: unknown, element: V1Element) => void;
|
|
1429
1424
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1413,17 +1413,12 @@ declare function switchToComponent(componentId: number, componentInstanceId?: st
|
|
|
1413
1413
|
type ExecutedBy = 'user' | 'mcp_tool' | 'system';
|
|
1414
1414
|
/** @deprecated since 4.2.1 - use `ExecutedBy` instead */
|
|
1415
1415
|
type Source = ExecutedBy;
|
|
1416
|
-
type ExecutedByParam = {
|
|
1417
|
-
executedBy: ExecutedBy;
|
|
1418
|
-
source?: never;
|
|
1419
|
-
} | {
|
|
1420
|
-
/** @deprecated since 4.2.1 - use `executedBy` instead */
|
|
1421
|
-
source: ExecutedBy;
|
|
1422
|
-
executedBy?: never;
|
|
1423
|
-
};
|
|
1424
1416
|
type ComponentEventData = Record<string, unknown> & {
|
|
1425
1417
|
action: 'createClicked' | 'created' | 'createCancelled' | 'instanceAdded' | 'edited' | 'propertyExposed' | 'propertyRemoved' | 'propertiesPanelOpened' | 'propertiesGroupCreated' | 'detached';
|
|
1426
|
-
|
|
1418
|
+
executedBy?: ExecutedBy;
|
|
1419
|
+
/** @deprecated since 4.2.1 - use `executedBy` instead */
|
|
1420
|
+
source?: Source;
|
|
1421
|
+
};
|
|
1427
1422
|
declare const trackComponentEvent: ({ action, source, executedBy, ...data }: ComponentEventData) => void;
|
|
1428
1423
|
declare const onElementDrop: (_args: unknown, element: V1Element) => void;
|
|
1429
1424
|
|