@elementor/editor-app-bar 0.9.8 → 0.10.1
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/CHANGELOG.md +19 -0
- package/dist/index.d.mts +9 -218
- package/dist/index.d.ts +9 -218
- package/dist/index.js +169 -641
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +142 -619
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -6
- package/src/extensions/documents-indicator/index.ts +1 -1
- package/src/extensions/documents-preview/index.ts +1 -1
- package/src/extensions/documents-save/components/__tests__/primary-action-menu.test.tsx +1 -1
- package/src/extensions/documents-save/components/primary-action-menu.tsx +2 -2
- package/src/extensions/documents-save/hooks/use-document-save-draft-props.ts +1 -1
- package/src/extensions/documents-save/hooks/use-document-save-template-props.ts +1 -1
- package/src/extensions/documents-save/index.ts +2 -1
- package/src/extensions/documents-save/locations.ts +3 -0
- package/src/extensions/elements/index.ts +1 -1
- package/src/extensions/finder/index.ts +1 -1
- package/src/extensions/help/index.ts +1 -1
- package/src/extensions/history/index.ts +1 -1
- package/src/extensions/keyboard-shortcuts/hooks/use-action-props.ts +1 -1
- package/src/extensions/keyboard-shortcuts/index.ts +1 -1
- package/src/extensions/site-settings/hooks/use-action-props.ts +1 -1
- package/src/extensions/site-settings/index.ts +1 -1
- package/src/extensions/structure/hooks/use-action-props.ts +1 -1
- package/src/extensions/structure/index.ts +1 -1
- package/src/extensions/theme-builder/hooks/use-action-props.ts +1 -1
- package/src/extensions/theme-builder/index.ts +1 -1
- package/src/extensions/user-preferences/hooks/use-action-props.ts +1 -1
- package/src/extensions/user-preferences/index.ts +1 -1
- package/src/extensions/wordpress/index.ts +1 -1
- package/src/index.ts +12 -9
- package/src/init.ts +1 -1
- package/src/components/__tests__/top-bar.test.tsx +0 -15
- package/src/components/actions/action.tsx +0 -33
- package/src/components/actions/link.tsx +0 -33
- package/src/components/actions/toggle-action.tsx +0 -35
- package/src/components/app-bar.tsx +0 -37
- package/src/components/locations/__tests__/locations-components.test.tsx +0 -37
- package/src/components/locations/__tests__/menus.test.tsx +0 -120
- package/src/components/locations/integrations-menu-location.tsx +0 -59
- package/src/components/locations/main-menu-location.tsx +0 -38
- package/src/components/locations/page-indication-location.tsx +0 -8
- package/src/components/locations/primary-action-location.tsx +0 -8
- package/src/components/locations/responsive-location.tsx +0 -8
- package/src/components/locations/tools-menu-location.tsx +0 -26
- package/src/components/locations/utilities-menu-location.tsx +0 -35
- package/src/components/ui/popover-menu-item.tsx +0 -44
- package/src/components/ui/popover-menu.tsx +0 -24
- package/src/components/ui/popover-sub-menu.tsx +0 -29
- package/src/components/ui/toolbar-logo.tsx +0 -84
- package/src/components/ui/toolbar-menu-item.tsx +0 -45
- package/src/components/ui/toolbar-menu-more.tsx +0 -29
- package/src/components/ui/toolbar-menu-toggle-item.tsx +0 -34
- package/src/components/ui/toolbar-menu.tsx +0 -15
- package/src/contexts/menu-context.tsx +0 -20
- package/src/locations/__tests__/menus.test.tsx +0 -212
- package/src/locations/index.ts +0 -29
- package/src/locations/menus.tsx +0 -129
- package/src/types.ts +0 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,25 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [0.10.1](https://github.com/elementor/elementor-packages/compare/@elementor/editor-app-bar@0.10.0...@elementor/editor-app-bar@0.10.1) (2024-02-15)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @elementor/editor-app-bar
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [0.10.0](https://github.com/elementor/elementor-packages/compare/@elementor/editor-app-bar@0.9.8...@elementor/editor-app-bar@0.10.0) (2024-02-15)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* **editor-app-bar-ui:** move the app-bar infra to a new package [ED-13690] ([#161](https://github.com/elementor/elementor-packages/issues/161)) ([bef961e](https://github.com/elementor/elementor-packages/commit/bef961e581ff5f0c603e816525d6a241eb647abe))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
## [0.9.8](https://github.com/elementor/elementor-packages/compare/@elementor/editor-app-bar@0.9.7...@elementor/editor-app-bar@0.9.8) (2024-01-29)
|
|
7
26
|
|
|
8
27
|
**Note:** Version bump only for package @elementor/editor-app-bar
|
package/dist/index.d.mts
CHANGED
|
@@ -1,216 +1,7 @@
|
|
|
1
|
+
import * as _elementor_editor_app_bar_ui from '@elementor/editor-app-bar-ui';
|
|
2
|
+
export { __privateInjectIntoPageIndication as injectIntoPageIndication, __privateInjectIntoPrimaryAction as injectIntoPrimaryAction, __privateInjectIntoResponsive as injectIntoResponsive, __privateIntegrationsMenu as integrationsMenu, __privateMainMenu as mainMenu, __privateToolsMenu as toolsMenu, __privateUtilitiesMenu as utilitiesMenu } from '@elementor/editor-app-bar-ui';
|
|
1
3
|
import * as react from 'react';
|
|
2
|
-
import { ElementType } from 'react';
|
|
3
|
-
import * as _elementor_locations from '@elementor/locations';
|
|
4
4
|
|
|
5
|
-
type Props$2 = {
|
|
6
|
-
title: string;
|
|
7
|
-
icon: ElementType;
|
|
8
|
-
disabled?: boolean;
|
|
9
|
-
visible?: boolean;
|
|
10
|
-
onClick?: () => void;
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
type Props$1 = {
|
|
14
|
-
title: string;
|
|
15
|
-
icon: ElementType;
|
|
16
|
-
selected?: boolean;
|
|
17
|
-
disabled?: boolean;
|
|
18
|
-
visible?: boolean;
|
|
19
|
-
onClick?: () => void;
|
|
20
|
-
value?: string;
|
|
21
|
-
};
|
|
22
|
-
|
|
23
|
-
type Props = {
|
|
24
|
-
title: string;
|
|
25
|
-
icon: ElementType;
|
|
26
|
-
href?: string;
|
|
27
|
-
visible?: boolean;
|
|
28
|
-
target?: string;
|
|
29
|
-
};
|
|
30
|
-
|
|
31
|
-
declare const injectIntoPageIndication: (args: _elementor_locations.InjectArgs<object>) => void;
|
|
32
|
-
declare const injectIntoResponsive: (args: _elementor_locations.InjectArgs<object>) => void;
|
|
33
|
-
declare const injectIntoPrimaryAction: (args: _elementor_locations.InjectArgs<object>) => void;
|
|
34
|
-
declare const mainMenu: {
|
|
35
|
-
registerAction: (args: {
|
|
36
|
-
id: string;
|
|
37
|
-
group?: ("default" | "exits") | undefined;
|
|
38
|
-
priority?: number | undefined;
|
|
39
|
-
overwrite?: boolean | undefined;
|
|
40
|
-
} & ({
|
|
41
|
-
props: Props$2;
|
|
42
|
-
useProps?: undefined;
|
|
43
|
-
} | {
|
|
44
|
-
useProps: () => Props$2;
|
|
45
|
-
props?: undefined;
|
|
46
|
-
})) => void;
|
|
47
|
-
registerToggleAction: (args: {
|
|
48
|
-
id: string;
|
|
49
|
-
group?: ("default" | "exits") | undefined;
|
|
50
|
-
priority?: number | undefined;
|
|
51
|
-
overwrite?: boolean | undefined;
|
|
52
|
-
} & ({
|
|
53
|
-
props: Props$1;
|
|
54
|
-
useProps?: undefined;
|
|
55
|
-
} | {
|
|
56
|
-
useProps: () => Props$1;
|
|
57
|
-
props?: undefined;
|
|
58
|
-
})) => void;
|
|
59
|
-
registerLink: (args: {
|
|
60
|
-
id: string;
|
|
61
|
-
group?: ("default" | "exits") | undefined;
|
|
62
|
-
priority?: number | undefined;
|
|
63
|
-
overwrite?: boolean | undefined;
|
|
64
|
-
} & ({
|
|
65
|
-
props: Props;
|
|
66
|
-
useProps?: undefined;
|
|
67
|
-
} | {
|
|
68
|
-
useProps: () => Props;
|
|
69
|
-
props?: undefined;
|
|
70
|
-
})) => void;
|
|
71
|
-
useMenuItems: () => {
|
|
72
|
-
default: {
|
|
73
|
-
id: string;
|
|
74
|
-
MenuItem: react.ElementType;
|
|
75
|
-
}[];
|
|
76
|
-
exits: {
|
|
77
|
-
id: string;
|
|
78
|
-
MenuItem: react.ElementType;
|
|
79
|
-
}[];
|
|
80
|
-
};
|
|
81
|
-
};
|
|
82
|
-
declare const toolsMenu: {
|
|
83
|
-
registerAction: (args: {
|
|
84
|
-
id: string;
|
|
85
|
-
group?: "default" | undefined;
|
|
86
|
-
priority?: number | undefined;
|
|
87
|
-
overwrite?: boolean | undefined;
|
|
88
|
-
} & ({
|
|
89
|
-
props: Props$2;
|
|
90
|
-
useProps?: undefined;
|
|
91
|
-
} | {
|
|
92
|
-
useProps: () => Props$2;
|
|
93
|
-
props?: undefined;
|
|
94
|
-
})) => void;
|
|
95
|
-
registerToggleAction: (args: {
|
|
96
|
-
id: string;
|
|
97
|
-
group?: "default" | undefined;
|
|
98
|
-
priority?: number | undefined;
|
|
99
|
-
overwrite?: boolean | undefined;
|
|
100
|
-
} & ({
|
|
101
|
-
props: Props$1;
|
|
102
|
-
useProps?: undefined;
|
|
103
|
-
} | {
|
|
104
|
-
useProps: () => Props$1;
|
|
105
|
-
props?: undefined;
|
|
106
|
-
})) => void;
|
|
107
|
-
registerLink: (args: {
|
|
108
|
-
id: string;
|
|
109
|
-
group?: "default" | undefined;
|
|
110
|
-
priority?: number | undefined;
|
|
111
|
-
overwrite?: boolean | undefined;
|
|
112
|
-
} & ({
|
|
113
|
-
props: Props;
|
|
114
|
-
useProps?: undefined;
|
|
115
|
-
} | {
|
|
116
|
-
useProps: () => Props;
|
|
117
|
-
props?: undefined;
|
|
118
|
-
})) => void;
|
|
119
|
-
useMenuItems: () => {
|
|
120
|
-
default: {
|
|
121
|
-
id: string;
|
|
122
|
-
MenuItem: react.ElementType;
|
|
123
|
-
}[];
|
|
124
|
-
};
|
|
125
|
-
};
|
|
126
|
-
declare const utilitiesMenu: {
|
|
127
|
-
registerAction: (args: {
|
|
128
|
-
id: string;
|
|
129
|
-
group?: "default" | undefined;
|
|
130
|
-
priority?: number | undefined;
|
|
131
|
-
overwrite?: boolean | undefined;
|
|
132
|
-
} & ({
|
|
133
|
-
props: Props$2;
|
|
134
|
-
useProps?: undefined;
|
|
135
|
-
} | {
|
|
136
|
-
useProps: () => Props$2;
|
|
137
|
-
props?: undefined;
|
|
138
|
-
})) => void;
|
|
139
|
-
registerToggleAction: (args: {
|
|
140
|
-
id: string;
|
|
141
|
-
group?: "default" | undefined;
|
|
142
|
-
priority?: number | undefined;
|
|
143
|
-
overwrite?: boolean | undefined;
|
|
144
|
-
} & ({
|
|
145
|
-
props: Props$1;
|
|
146
|
-
useProps?: undefined;
|
|
147
|
-
} | {
|
|
148
|
-
useProps: () => Props$1;
|
|
149
|
-
props?: undefined;
|
|
150
|
-
})) => void;
|
|
151
|
-
registerLink: (args: {
|
|
152
|
-
id: string;
|
|
153
|
-
group?: "default" | undefined;
|
|
154
|
-
priority?: number | undefined;
|
|
155
|
-
overwrite?: boolean | undefined;
|
|
156
|
-
} & ({
|
|
157
|
-
props: Props;
|
|
158
|
-
useProps?: undefined;
|
|
159
|
-
} | {
|
|
160
|
-
useProps: () => Props;
|
|
161
|
-
props?: undefined;
|
|
162
|
-
})) => void;
|
|
163
|
-
useMenuItems: () => {
|
|
164
|
-
default: {
|
|
165
|
-
id: string;
|
|
166
|
-
MenuItem: react.ElementType;
|
|
167
|
-
}[];
|
|
168
|
-
};
|
|
169
|
-
};
|
|
170
|
-
declare const integrationsMenu: {
|
|
171
|
-
registerAction: (args: {
|
|
172
|
-
id: string;
|
|
173
|
-
group?: "default" | undefined;
|
|
174
|
-
priority?: number | undefined;
|
|
175
|
-
overwrite?: boolean | undefined;
|
|
176
|
-
} & ({
|
|
177
|
-
props: Props$2;
|
|
178
|
-
useProps?: undefined;
|
|
179
|
-
} | {
|
|
180
|
-
useProps: () => Props$2;
|
|
181
|
-
props?: undefined;
|
|
182
|
-
})) => void;
|
|
183
|
-
registerToggleAction: (args: {
|
|
184
|
-
id: string;
|
|
185
|
-
group?: "default" | undefined;
|
|
186
|
-
priority?: number | undefined;
|
|
187
|
-
overwrite?: boolean | undefined;
|
|
188
|
-
} & ({
|
|
189
|
-
props: Props$1;
|
|
190
|
-
useProps?: undefined;
|
|
191
|
-
} | {
|
|
192
|
-
useProps: () => Props$1;
|
|
193
|
-
props?: undefined;
|
|
194
|
-
})) => void;
|
|
195
|
-
registerLink: (args: {
|
|
196
|
-
id: string;
|
|
197
|
-
group?: "default" | undefined;
|
|
198
|
-
priority?: number | undefined;
|
|
199
|
-
overwrite?: boolean | undefined;
|
|
200
|
-
} & ({
|
|
201
|
-
props: Props;
|
|
202
|
-
useProps?: undefined;
|
|
203
|
-
} | {
|
|
204
|
-
useProps: () => Props;
|
|
205
|
-
props?: undefined;
|
|
206
|
-
})) => void;
|
|
207
|
-
useMenuItems: () => {
|
|
208
|
-
default: {
|
|
209
|
-
id: string;
|
|
210
|
-
MenuItem: react.ElementType;
|
|
211
|
-
}[];
|
|
212
|
-
};
|
|
213
|
-
};
|
|
214
5
|
declare const documentOptionsMenu: {
|
|
215
6
|
registerAction: (args: {
|
|
216
7
|
id: string;
|
|
@@ -218,10 +9,10 @@ declare const documentOptionsMenu: {
|
|
|
218
9
|
priority?: number | undefined;
|
|
219
10
|
overwrite?: boolean | undefined;
|
|
220
11
|
} & ({
|
|
221
|
-
props:
|
|
12
|
+
props: _elementor_editor_app_bar_ui.ActionProps;
|
|
222
13
|
useProps?: undefined;
|
|
223
14
|
} | {
|
|
224
|
-
useProps: () =>
|
|
15
|
+
useProps: () => _elementor_editor_app_bar_ui.ActionProps;
|
|
225
16
|
props?: undefined;
|
|
226
17
|
})) => void;
|
|
227
18
|
registerToggleAction: (args: {
|
|
@@ -230,10 +21,10 @@ declare const documentOptionsMenu: {
|
|
|
230
21
|
priority?: number | undefined;
|
|
231
22
|
overwrite?: boolean | undefined;
|
|
232
23
|
} & ({
|
|
233
|
-
props:
|
|
24
|
+
props: _elementor_editor_app_bar_ui.ToggleActionProps;
|
|
234
25
|
useProps?: undefined;
|
|
235
26
|
} | {
|
|
236
|
-
useProps: () =>
|
|
27
|
+
useProps: () => _elementor_editor_app_bar_ui.ToggleActionProps;
|
|
237
28
|
props?: undefined;
|
|
238
29
|
})) => void;
|
|
239
30
|
registerLink: (args: {
|
|
@@ -242,10 +33,10 @@ declare const documentOptionsMenu: {
|
|
|
242
33
|
priority?: number | undefined;
|
|
243
34
|
overwrite?: boolean | undefined;
|
|
244
35
|
} & ({
|
|
245
|
-
props:
|
|
36
|
+
props: _elementor_editor_app_bar_ui.LinkProps;
|
|
246
37
|
useProps?: undefined;
|
|
247
38
|
} | {
|
|
248
|
-
useProps: () =>
|
|
39
|
+
useProps: () => _elementor_editor_app_bar_ui.LinkProps;
|
|
249
40
|
props?: undefined;
|
|
250
41
|
})) => void;
|
|
251
42
|
useMenuItems: () => {
|
|
@@ -260,4 +51,4 @@ declare const documentOptionsMenu: {
|
|
|
260
51
|
};
|
|
261
52
|
};
|
|
262
53
|
|
|
263
|
-
export { documentOptionsMenu
|
|
54
|
+
export { documentOptionsMenu };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,216 +1,7 @@
|
|
|
1
|
+
import * as _elementor_editor_app_bar_ui from '@elementor/editor-app-bar-ui';
|
|
2
|
+
export { __privateInjectIntoPageIndication as injectIntoPageIndication, __privateInjectIntoPrimaryAction as injectIntoPrimaryAction, __privateInjectIntoResponsive as injectIntoResponsive, __privateIntegrationsMenu as integrationsMenu, __privateMainMenu as mainMenu, __privateToolsMenu as toolsMenu, __privateUtilitiesMenu as utilitiesMenu } from '@elementor/editor-app-bar-ui';
|
|
1
3
|
import * as react from 'react';
|
|
2
|
-
import { ElementType } from 'react';
|
|
3
|
-
import * as _elementor_locations from '@elementor/locations';
|
|
4
4
|
|
|
5
|
-
type Props$2 = {
|
|
6
|
-
title: string;
|
|
7
|
-
icon: ElementType;
|
|
8
|
-
disabled?: boolean;
|
|
9
|
-
visible?: boolean;
|
|
10
|
-
onClick?: () => void;
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
type Props$1 = {
|
|
14
|
-
title: string;
|
|
15
|
-
icon: ElementType;
|
|
16
|
-
selected?: boolean;
|
|
17
|
-
disabled?: boolean;
|
|
18
|
-
visible?: boolean;
|
|
19
|
-
onClick?: () => void;
|
|
20
|
-
value?: string;
|
|
21
|
-
};
|
|
22
|
-
|
|
23
|
-
type Props = {
|
|
24
|
-
title: string;
|
|
25
|
-
icon: ElementType;
|
|
26
|
-
href?: string;
|
|
27
|
-
visible?: boolean;
|
|
28
|
-
target?: string;
|
|
29
|
-
};
|
|
30
|
-
|
|
31
|
-
declare const injectIntoPageIndication: (args: _elementor_locations.InjectArgs<object>) => void;
|
|
32
|
-
declare const injectIntoResponsive: (args: _elementor_locations.InjectArgs<object>) => void;
|
|
33
|
-
declare const injectIntoPrimaryAction: (args: _elementor_locations.InjectArgs<object>) => void;
|
|
34
|
-
declare const mainMenu: {
|
|
35
|
-
registerAction: (args: {
|
|
36
|
-
id: string;
|
|
37
|
-
group?: ("default" | "exits") | undefined;
|
|
38
|
-
priority?: number | undefined;
|
|
39
|
-
overwrite?: boolean | undefined;
|
|
40
|
-
} & ({
|
|
41
|
-
props: Props$2;
|
|
42
|
-
useProps?: undefined;
|
|
43
|
-
} | {
|
|
44
|
-
useProps: () => Props$2;
|
|
45
|
-
props?: undefined;
|
|
46
|
-
})) => void;
|
|
47
|
-
registerToggleAction: (args: {
|
|
48
|
-
id: string;
|
|
49
|
-
group?: ("default" | "exits") | undefined;
|
|
50
|
-
priority?: number | undefined;
|
|
51
|
-
overwrite?: boolean | undefined;
|
|
52
|
-
} & ({
|
|
53
|
-
props: Props$1;
|
|
54
|
-
useProps?: undefined;
|
|
55
|
-
} | {
|
|
56
|
-
useProps: () => Props$1;
|
|
57
|
-
props?: undefined;
|
|
58
|
-
})) => void;
|
|
59
|
-
registerLink: (args: {
|
|
60
|
-
id: string;
|
|
61
|
-
group?: ("default" | "exits") | undefined;
|
|
62
|
-
priority?: number | undefined;
|
|
63
|
-
overwrite?: boolean | undefined;
|
|
64
|
-
} & ({
|
|
65
|
-
props: Props;
|
|
66
|
-
useProps?: undefined;
|
|
67
|
-
} | {
|
|
68
|
-
useProps: () => Props;
|
|
69
|
-
props?: undefined;
|
|
70
|
-
})) => void;
|
|
71
|
-
useMenuItems: () => {
|
|
72
|
-
default: {
|
|
73
|
-
id: string;
|
|
74
|
-
MenuItem: react.ElementType;
|
|
75
|
-
}[];
|
|
76
|
-
exits: {
|
|
77
|
-
id: string;
|
|
78
|
-
MenuItem: react.ElementType;
|
|
79
|
-
}[];
|
|
80
|
-
};
|
|
81
|
-
};
|
|
82
|
-
declare const toolsMenu: {
|
|
83
|
-
registerAction: (args: {
|
|
84
|
-
id: string;
|
|
85
|
-
group?: "default" | undefined;
|
|
86
|
-
priority?: number | undefined;
|
|
87
|
-
overwrite?: boolean | undefined;
|
|
88
|
-
} & ({
|
|
89
|
-
props: Props$2;
|
|
90
|
-
useProps?: undefined;
|
|
91
|
-
} | {
|
|
92
|
-
useProps: () => Props$2;
|
|
93
|
-
props?: undefined;
|
|
94
|
-
})) => void;
|
|
95
|
-
registerToggleAction: (args: {
|
|
96
|
-
id: string;
|
|
97
|
-
group?: "default" | undefined;
|
|
98
|
-
priority?: number | undefined;
|
|
99
|
-
overwrite?: boolean | undefined;
|
|
100
|
-
} & ({
|
|
101
|
-
props: Props$1;
|
|
102
|
-
useProps?: undefined;
|
|
103
|
-
} | {
|
|
104
|
-
useProps: () => Props$1;
|
|
105
|
-
props?: undefined;
|
|
106
|
-
})) => void;
|
|
107
|
-
registerLink: (args: {
|
|
108
|
-
id: string;
|
|
109
|
-
group?: "default" | undefined;
|
|
110
|
-
priority?: number | undefined;
|
|
111
|
-
overwrite?: boolean | undefined;
|
|
112
|
-
} & ({
|
|
113
|
-
props: Props;
|
|
114
|
-
useProps?: undefined;
|
|
115
|
-
} | {
|
|
116
|
-
useProps: () => Props;
|
|
117
|
-
props?: undefined;
|
|
118
|
-
})) => void;
|
|
119
|
-
useMenuItems: () => {
|
|
120
|
-
default: {
|
|
121
|
-
id: string;
|
|
122
|
-
MenuItem: react.ElementType;
|
|
123
|
-
}[];
|
|
124
|
-
};
|
|
125
|
-
};
|
|
126
|
-
declare const utilitiesMenu: {
|
|
127
|
-
registerAction: (args: {
|
|
128
|
-
id: string;
|
|
129
|
-
group?: "default" | undefined;
|
|
130
|
-
priority?: number | undefined;
|
|
131
|
-
overwrite?: boolean | undefined;
|
|
132
|
-
} & ({
|
|
133
|
-
props: Props$2;
|
|
134
|
-
useProps?: undefined;
|
|
135
|
-
} | {
|
|
136
|
-
useProps: () => Props$2;
|
|
137
|
-
props?: undefined;
|
|
138
|
-
})) => void;
|
|
139
|
-
registerToggleAction: (args: {
|
|
140
|
-
id: string;
|
|
141
|
-
group?: "default" | undefined;
|
|
142
|
-
priority?: number | undefined;
|
|
143
|
-
overwrite?: boolean | undefined;
|
|
144
|
-
} & ({
|
|
145
|
-
props: Props$1;
|
|
146
|
-
useProps?: undefined;
|
|
147
|
-
} | {
|
|
148
|
-
useProps: () => Props$1;
|
|
149
|
-
props?: undefined;
|
|
150
|
-
})) => void;
|
|
151
|
-
registerLink: (args: {
|
|
152
|
-
id: string;
|
|
153
|
-
group?: "default" | undefined;
|
|
154
|
-
priority?: number | undefined;
|
|
155
|
-
overwrite?: boolean | undefined;
|
|
156
|
-
} & ({
|
|
157
|
-
props: Props;
|
|
158
|
-
useProps?: undefined;
|
|
159
|
-
} | {
|
|
160
|
-
useProps: () => Props;
|
|
161
|
-
props?: undefined;
|
|
162
|
-
})) => void;
|
|
163
|
-
useMenuItems: () => {
|
|
164
|
-
default: {
|
|
165
|
-
id: string;
|
|
166
|
-
MenuItem: react.ElementType;
|
|
167
|
-
}[];
|
|
168
|
-
};
|
|
169
|
-
};
|
|
170
|
-
declare const integrationsMenu: {
|
|
171
|
-
registerAction: (args: {
|
|
172
|
-
id: string;
|
|
173
|
-
group?: "default" | undefined;
|
|
174
|
-
priority?: number | undefined;
|
|
175
|
-
overwrite?: boolean | undefined;
|
|
176
|
-
} & ({
|
|
177
|
-
props: Props$2;
|
|
178
|
-
useProps?: undefined;
|
|
179
|
-
} | {
|
|
180
|
-
useProps: () => Props$2;
|
|
181
|
-
props?: undefined;
|
|
182
|
-
})) => void;
|
|
183
|
-
registerToggleAction: (args: {
|
|
184
|
-
id: string;
|
|
185
|
-
group?: "default" | undefined;
|
|
186
|
-
priority?: number | undefined;
|
|
187
|
-
overwrite?: boolean | undefined;
|
|
188
|
-
} & ({
|
|
189
|
-
props: Props$1;
|
|
190
|
-
useProps?: undefined;
|
|
191
|
-
} | {
|
|
192
|
-
useProps: () => Props$1;
|
|
193
|
-
props?: undefined;
|
|
194
|
-
})) => void;
|
|
195
|
-
registerLink: (args: {
|
|
196
|
-
id: string;
|
|
197
|
-
group?: "default" | undefined;
|
|
198
|
-
priority?: number | undefined;
|
|
199
|
-
overwrite?: boolean | undefined;
|
|
200
|
-
} & ({
|
|
201
|
-
props: Props;
|
|
202
|
-
useProps?: undefined;
|
|
203
|
-
} | {
|
|
204
|
-
useProps: () => Props;
|
|
205
|
-
props?: undefined;
|
|
206
|
-
})) => void;
|
|
207
|
-
useMenuItems: () => {
|
|
208
|
-
default: {
|
|
209
|
-
id: string;
|
|
210
|
-
MenuItem: react.ElementType;
|
|
211
|
-
}[];
|
|
212
|
-
};
|
|
213
|
-
};
|
|
214
5
|
declare const documentOptionsMenu: {
|
|
215
6
|
registerAction: (args: {
|
|
216
7
|
id: string;
|
|
@@ -218,10 +9,10 @@ declare const documentOptionsMenu: {
|
|
|
218
9
|
priority?: number | undefined;
|
|
219
10
|
overwrite?: boolean | undefined;
|
|
220
11
|
} & ({
|
|
221
|
-
props:
|
|
12
|
+
props: _elementor_editor_app_bar_ui.ActionProps;
|
|
222
13
|
useProps?: undefined;
|
|
223
14
|
} | {
|
|
224
|
-
useProps: () =>
|
|
15
|
+
useProps: () => _elementor_editor_app_bar_ui.ActionProps;
|
|
225
16
|
props?: undefined;
|
|
226
17
|
})) => void;
|
|
227
18
|
registerToggleAction: (args: {
|
|
@@ -230,10 +21,10 @@ declare const documentOptionsMenu: {
|
|
|
230
21
|
priority?: number | undefined;
|
|
231
22
|
overwrite?: boolean | undefined;
|
|
232
23
|
} & ({
|
|
233
|
-
props:
|
|
24
|
+
props: _elementor_editor_app_bar_ui.ToggleActionProps;
|
|
234
25
|
useProps?: undefined;
|
|
235
26
|
} | {
|
|
236
|
-
useProps: () =>
|
|
27
|
+
useProps: () => _elementor_editor_app_bar_ui.ToggleActionProps;
|
|
237
28
|
props?: undefined;
|
|
238
29
|
})) => void;
|
|
239
30
|
registerLink: (args: {
|
|
@@ -242,10 +33,10 @@ declare const documentOptionsMenu: {
|
|
|
242
33
|
priority?: number | undefined;
|
|
243
34
|
overwrite?: boolean | undefined;
|
|
244
35
|
} & ({
|
|
245
|
-
props:
|
|
36
|
+
props: _elementor_editor_app_bar_ui.LinkProps;
|
|
246
37
|
useProps?: undefined;
|
|
247
38
|
} | {
|
|
248
|
-
useProps: () =>
|
|
39
|
+
useProps: () => _elementor_editor_app_bar_ui.LinkProps;
|
|
249
40
|
props?: undefined;
|
|
250
41
|
})) => void;
|
|
251
42
|
useMenuItems: () => {
|
|
@@ -260,4 +51,4 @@ declare const documentOptionsMenu: {
|
|
|
260
51
|
};
|
|
261
52
|
};
|
|
262
53
|
|
|
263
|
-
export { documentOptionsMenu
|
|
54
|
+
export { documentOptionsMenu };
|