@wordpress/edit-widgets 6.57.0 → 7.1.0
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/build/blocks/widget-area/edit/index.cjs +106 -116
- package/build/blocks/widget-area/edit/index.cjs.map +1 -7
- package/build/blocks/widget-area/edit/inner-blocks.cjs +44 -62
- package/build/blocks/widget-area/edit/inner-blocks.cjs.map +1 -7
- package/build/blocks/widget-area/edit/use-is-dragging-within.cjs +41 -53
- package/build/blocks/widget-area/edit/use-is-dragging-within.cjs.map +1 -7
- package/build/blocks/widget-area/index.cjs +40 -44
- package/build/blocks/widget-area/index.cjs.map +1 -7
- package/build/components/error-boundary/index.cjs +115 -155
- package/build/components/error-boundary/index.cjs.map +1 -7
- package/build/components/header/document-tools/index.cjs +80 -115
- package/build/components/header/document-tools/index.cjs.map +1 -7
- package/build/components/header/index.cjs +72 -80
- package/build/components/header/index.cjs.map +1 -7
- package/build/components/header/undo-redo/redo.cjs +30 -52
- package/build/components/header/undo-redo/redo.cjs.map +1 -7
- package/build/components/header/undo-redo/undo.cjs +29 -51
- package/build/components/header/undo-redo/undo.cjs.map +1 -7
- package/build/components/keyboard-shortcut-help-modal/config.cjs +88 -85
- package/build/components/keyboard-shortcut-help-modal/config.cjs.map +1 -7
- package/build/components/keyboard-shortcut-help-modal/dynamic-shortcut.cjs +40 -57
- package/build/components/keyboard-shortcut-help-modal/dynamic-shortcut.cjs.map +1 -7
- package/build/components/keyboard-shortcut-help-modal/index.cjs +94 -161
- package/build/components/keyboard-shortcut-help-modal/index.cjs.map +1 -7
- package/build/components/keyboard-shortcut-help-modal/shortcut.cjs +37 -75
- package/build/components/keyboard-shortcut-help-modal/shortcut.cjs.map +1 -7
- package/build/components/keyboard-shortcuts/index.cjs +107 -140
- package/build/components/keyboard-shortcuts/index.cjs.map +1 -7
- package/build/components/layout/index.cjs +65 -74
- package/build/components/layout/index.cjs.map +1 -7
- package/build/components/layout/interface.cjs +82 -102
- package/build/components/layout/interface.cjs.map +1 -7
- package/build/components/layout/unsaved-changes-warning.cjs +44 -48
- package/build/components/layout/unsaved-changes-warning.cjs.map +1 -7
- package/build/components/more-menu/index.cjs +125 -191
- package/build/components/more-menu/index.cjs.map +1 -7
- package/build/components/more-menu/tools-more-menu-group.cjs +9 -29
- package/build/components/more-menu/tools-more-menu-group.cjs.map +1 -7
- package/build/components/notices/index.cjs +19 -39
- package/build/components/notices/index.cjs.map +1 -7
- package/build/components/save-button/index.cjs +31 -58
- package/build/components/save-button/index.cjs.map +1 -7
- package/build/components/secondary-sidebar/index.cjs +38 -45
- package/build/components/secondary-sidebar/index.cjs.map +1 -7
- package/build/components/secondary-sidebar/inserter-sidebar.cjs +50 -51
- package/build/components/secondary-sidebar/inserter-sidebar.cjs.map +1 -7
- package/build/components/secondary-sidebar/list-view-sidebar.cjs +51 -82
- package/build/components/secondary-sidebar/list-view-sidebar.cjs.map +1 -7
- package/build/components/sidebar/index.cjs +117 -180
- package/build/components/sidebar/index.cjs.map +1 -7
- package/build/components/sidebar/widget-areas.cjs +43 -85
- package/build/components/sidebar/widget-areas.cjs.map +1 -7
- package/build/components/welcome-guide/index.cjs +110 -186
- package/build/components/welcome-guide/index.cjs.map +1 -7
- package/build/components/widget-areas-block-editor-content/index.cjs +59 -63
- package/build/components/widget-areas-block-editor-content/index.cjs.map +1 -7
- package/build/components/widget-areas-block-editor-provider/index.cjs +105 -140
- package/build/components/widget-areas-block-editor-provider/index.cjs.map +1 -7
- package/build/constants.cjs +11 -32
- package/build/constants.cjs.map +1 -7
- package/build/filters/index.cjs +7 -4
- package/build/filters/move-to-widget-area.cjs +38 -53
- package/build/filters/move-to-widget-area.cjs.map +1 -7
- package/build/filters/replace-media-upload.cjs +11 -9
- package/build/filters/replace-media-upload.cjs.map +1 -7
- package/build/hooks/use-last-selected-widget-area.cjs +28 -49
- package/build/hooks/use-last-selected-widget-area.cjs.map +1 -7
- package/build/hooks/use-widget-library-insertion-point.cjs +33 -67
- package/build/hooks/use-widget-library-insertion-point.cjs.map +1 -7
- package/build/index.cjs +96 -97
- package/build/index.cjs.map +1 -7
- package/build/lock-unlock.cjs +10 -35
- package/build/lock-unlock.cjs.map +1 -7
- package/build/store/actions.cjs +269 -278
- package/build/store/actions.cjs.map +1 -7
- package/build/store/constants.cjs +12 -29
- package/build/store/constants.cjs.map +1 -7
- package/build/store/index.cjs +61 -52
- package/build/store/index.cjs.map +1 -7
- package/build/store/private-selectors.cjs +11 -32
- package/build/store/private-selectors.cjs.map +1 -7
- package/build/store/reducer.cjs +107 -88
- package/build/store/reducer.cjs.map +1 -7
- package/build/store/resolvers.cjs +60 -91
- package/build/store/resolvers.cjs.map +1 -7
- package/build/store/selectors.cjs +196 -229
- package/build/store/selectors.cjs.map +1 -7
- package/build/store/transformers.cjs +51 -82
- package/build/store/transformers.cjs.map +1 -7
- package/build/store/utils.cjs +76 -63
- package/build/store/utils.cjs.map +1 -7
- package/build-module/blocks/widget-area/edit/index.mjs +82 -94
- package/build-module/blocks/widget-area/edit/index.mjs.map +1 -7
- package/build-module/blocks/widget-area/edit/inner-blocks.mjs +19 -35
- package/build-module/blocks/widget-area/edit/inner-blocks.mjs.map +1 -7
- package/build-module/blocks/widget-area/edit/use-is-dragging-within.mjs +36 -33
- package/build-module/blocks/widget-area/edit/use-is-dragging-within.mjs.map +1 -7
- package/build-module/blocks/widget-area/index.mjs +12 -15
- package/build-module/blocks/widget-area/index.mjs.map +1 -7
- package/build-module/components/error-boundary/index.mjs +103 -128
- package/build-module/components/error-boundary/index.mjs.map +1 -7
- package/build-module/components/header/document-tools/index.mjs +51 -84
- package/build-module/components/header/document-tools/index.mjs.map +1 -7
- package/build-module/components/header/index.mjs +40 -47
- package/build-module/components/header/index.mjs.map +1 -7
- package/build-module/components/header/undo-redo/redo.mjs +20 -27
- package/build-module/components/header/undo-redo/redo.mjs.map +1 -7
- package/build-module/components/header/undo-redo/undo.mjs +19 -26
- package/build-module/components/header/undo-redo/undo.mjs.map +1 -7
- package/build-module/components/keyboard-shortcut-help-modal/config.mjs +83 -61
- package/build-module/components/keyboard-shortcut-help-modal/config.mjs.map +1 -7
- package/build-module/components/keyboard-shortcut-help-modal/dynamic-shortcut.mjs +19 -33
- package/build-module/components/keyboard-shortcut-help-modal/dynamic-shortcut.mjs.map +1 -7
- package/build-module/components/keyboard-shortcut-help-modal/index.mjs +67 -136
- package/build-module/components/keyboard-shortcut-help-modal/index.mjs.map +1 -7
- package/build-module/components/keyboard-shortcut-help-modal/shortcut.mjs +31 -54
- package/build-module/components/keyboard-shortcut-help-modal/shortcut.mjs.map +1 -7
- package/build-module/components/keyboard-shortcuts/index.mjs +99 -119
- package/build-module/components/keyboard-shortcuts/index.mjs.map +1 -7
- package/build-module/components/layout/index.mjs +29 -40
- package/build-module/components/layout/index.mjs.map +1 -7
- package/build-module/components/layout/interface.mjs +53 -76
- package/build-module/components/layout/interface.mjs.map +1 -7
- package/build-module/components/layout/unsaved-changes-warning.mjs +37 -26
- package/build-module/components/layout/unsaved-changes-warning.mjs.map +1 -7
- package/build-module/components/more-menu/index.mjs +95 -162
- package/build-module/components/more-menu/index.mjs.map +1 -7
- package/build-module/components/more-menu/tools-more-menu-group.mjs +5 -9
- package/build-module/components/more-menu/tools-more-menu-group.mjs.map +1 -7
- package/build-module/components/notices/index.mjs +12 -17
- package/build-module/components/notices/index.mjs.map +1 -7
- package/build-module/components/save-button/index.mjs +23 -35
- package/build-module/components/save-button/index.mjs.map +1 -7
- package/build-module/components/secondary-sidebar/index.mjs +15 -20
- package/build-module/components/secondary-sidebar/index.mjs.map +1 -7
- package/build-module/components/secondary-sidebar/inserter-sidebar.mjs +27 -25
- package/build-module/components/secondary-sidebar/inserter-sidebar.mjs.map +1 -7
- package/build-module/components/secondary-sidebar/list-view-sidebar.mjs +39 -55
- package/build-module/components/secondary-sidebar/list-view-sidebar.mjs.map +1 -7
- package/build-module/components/sidebar/index.mjs +96 -162
- package/build-module/components/sidebar/index.mjs.map +1 -7
- package/build-module/components/sidebar/widget-areas.mjs +30 -57
- package/build-module/components/sidebar/widget-areas.mjs.map +1 -7
- package/build-module/components/welcome-guide/index.mjs +103 -164
- package/build-module/components/welcome-guide/index.mjs.map +1 -7
- package/build-module/components/widget-areas-block-editor-content/index.mjs +35 -44
- package/build-module/components/widget-areas-block-editor-content/index.mjs.map +1 -7
- package/build-module/components/widget-areas-block-editor-provider/index.mjs +76 -109
- package/build-module/components/widget-areas-block-editor-provider/index.mjs.map +1 -7
- package/build-module/constants.mjs +5 -7
- package/build-module/constants.mjs.map +1 -7
- package/build-module/filters/index.mjs +0 -2
- package/build-module/filters/move-to-widget-area.mjs +28 -48
- package/build-module/filters/move-to-widget-area.mjs.map +1 -7
- package/build-module/filters/replace-media-upload.mjs +5 -8
- package/build-module/filters/replace-media-upload.mjs.map +1 -7
- package/build-module/hooks/use-last-selected-widget-area.mjs +23 -29
- package/build-module/hooks/use-last-selected-widget-area.mjs.map +1 -7
- package/build-module/hooks/use-widget-library-insertion-point.mjs +28 -47
- package/build-module/hooks/use-widget-library-insertion-point.mjs.map +1 -7
- package/build-module/index.mjs +62 -79
- package/build-module/index.mjs.map +1 -7
- package/build-module/lock-unlock.mjs +5 -10
- package/build-module/lock-unlock.mjs.map +1 -7
- package/build-module/store/actions.mjs +250 -247
- package/build-module/store/actions.mjs.map +1 -7
- package/build-module/store/constants.mjs +7 -5
- package/build-module/store/constants.mjs.map +1 -7
- package/build-module/store/index.mjs +18 -16
- package/build-module/store/index.mjs.map +1 -7
- package/build-module/store/private-selectors.mjs +5 -7
- package/build-module/store/private-selectors.mjs.map +1 -7
- package/build-module/store/reducer.mjs +95 -58
- package/build-module/store/reducer.mjs.map +1 -7
- package/build-module/store/resolvers.mjs +52 -71
- package/build-module/store/resolvers.mjs.map +1 -7
- package/build-module/store/selectors.mjs +178 -199
- package/build-module/store/selectors.mjs.map +1 -7
- package/build-module/store/transformers.mjs +44 -56
- package/build-module/store/transformers.mjs.map +1 -7
- package/build-module/store/utils.mjs +64 -32
- package/build-module/store/utils.mjs.map +1 -7
- package/build-style/style-rtl.css +12 -12
- package/build-style/style.css +12 -12
- package/package.json +35 -36
- package/src/components/header/index.jsx +2 -2
- package/src/components/layout/interface.jsx +4 -1
- package/src/components/layout/style.scss +11 -0
- package/src/components/notices/style.scss +2 -2
- package/src/components/sidebar/index.jsx +18 -18
- package/src/components/welcome-guide/index.jsx +4 -2
- package/src/components/widget-areas-block-editor-content/index.jsx +4 -3
- package/CHANGELOG.md +0 -325
- package/build/filters/index.cjs.map +0 -7
- package/build-module/filters/index.mjs.map +0 -7
|
@@ -1,91 +1,83 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, {
|
|
3
|
+
__esModule: { value: true },
|
|
4
|
+
[Symbol.toStringTag]: { value: "Module" }
|
|
5
|
+
});
|
|
6
|
+
// \0rolldown/runtime.js
|
|
1
7
|
var __create = Object.create;
|
|
2
8
|
var __defProp = Object.defineProperty;
|
|
3
9
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
10
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
11
|
var __getProtoOf = Object.getPrototypeOf;
|
|
6
12
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
-
var __export = (target, all) => {
|
|
8
|
-
for (var name in all)
|
|
9
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
-
};
|
|
11
13
|
var __copyProps = (to, from, except, desc) => {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
14
|
+
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
15
|
+
key = keys[i];
|
|
16
|
+
if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
17
|
+
get: ((k) => from[k]).bind(null, key),
|
|
18
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
return to;
|
|
18
22
|
};
|
|
19
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
)
|
|
27
|
-
|
|
28
|
-
|
|
23
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
24
|
+
value: mod,
|
|
25
|
+
enumerable: true
|
|
26
|
+
}) : target, mod));
|
|
27
|
+
let _wordpress_block_editor = require("@wordpress/block-editor");
|
|
28
|
+
let _wordpress_data = require("@wordpress/data");
|
|
29
|
+
let _wordpress_element = require("@wordpress/element");
|
|
30
|
+
let _wordpress_i18n = require("@wordpress/i18n");
|
|
31
|
+
let _wordpress_components = require("@wordpress/components");
|
|
32
|
+
let _wordpress_interface = require("@wordpress/interface");
|
|
33
|
+
let _wordpress_compose = require("@wordpress/compose");
|
|
34
|
+
let _wordpress_preferences = require("@wordpress/preferences");
|
|
35
|
+
let _wordpress_ui = require("@wordpress/ui");
|
|
36
|
+
let __document_tools_index_jsx = require("./document-tools/index.cjs");
|
|
37
|
+
__document_tools_index_jsx = __toESM(__document_tools_index_jsx);
|
|
38
|
+
let ___save_button_index_jsx = require("../save-button/index.cjs");
|
|
39
|
+
___save_button_index_jsx = __toESM(___save_button_index_jsx);
|
|
40
|
+
let ___more_menu_index_jsx = require("../more-menu/index.cjs");
|
|
41
|
+
___more_menu_index_jsx = __toESM(___more_menu_index_jsx);
|
|
42
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
29
43
|
// packages/edit-widgets/src/components/header/index.jsx
|
|
30
|
-
var header_exports = {};
|
|
31
|
-
__export(header_exports, {
|
|
32
|
-
default: () => header_default
|
|
33
|
-
});
|
|
34
|
-
module.exports = __toCommonJS(header_exports);
|
|
35
|
-
var import_block_editor = require("@wordpress/block-editor");
|
|
36
|
-
var import_data = require("@wordpress/data");
|
|
37
|
-
var import_element = require("@wordpress/element");
|
|
38
|
-
var import_i18n = require("@wordpress/i18n");
|
|
39
|
-
var import_components = require("@wordpress/components");
|
|
40
|
-
var import_interface = require("@wordpress/interface");
|
|
41
|
-
var import_compose = require("@wordpress/compose");
|
|
42
|
-
var import_preferences = require("@wordpress/preferences");
|
|
43
|
-
var import_ui = require("@wordpress/ui");
|
|
44
|
-
var import_document_tools = __toESM(require("./document-tools/index.cjs"));
|
|
45
|
-
var import_save_button = __toESM(require("../save-button/index.cjs"));
|
|
46
|
-
var import_more_menu = __toESM(require("../more-menu/index.cjs"));
|
|
47
|
-
var import_jsx_runtime = require("react/jsx-runtime");
|
|
48
44
|
function Header() {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_interface.PinnedItems.Slot, { scope: "core/edit-widgets" }),
|
|
85
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_save_button.default, {}),
|
|
86
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_more_menu.default, {})
|
|
87
|
-
] })
|
|
88
|
-
] }) });
|
|
45
|
+
const isLargeViewport = (0, _wordpress_compose.useViewportMatch)("medium");
|
|
46
|
+
const blockToolbarRef = (0, _wordpress_element.useRef)();
|
|
47
|
+
const { hasFixedToolbar } = (0, _wordpress_data.useSelect)((select) => ({ hasFixedToolbar: !!select(_wordpress_preferences.store).get("core/edit-widgets", "fixedToolbar") }), []);
|
|
48
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(react_jsx_runtime.Fragment, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
49
|
+
className: "edit-widgets-header",
|
|
50
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
51
|
+
className: "edit-widgets-header__navigable-toolbar-wrapper",
|
|
52
|
+
children: [
|
|
53
|
+
isLargeViewport && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("h1", {
|
|
54
|
+
className: "edit-widgets-header__title",
|
|
55
|
+
children: (0, _wordpress_i18n.__)("Widgets")
|
|
56
|
+
}),
|
|
57
|
+
!isLargeViewport && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_wordpress_ui.VisuallyHidden, {
|
|
58
|
+
className: "edit-widgets-header__title",
|
|
59
|
+
render: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("h1", {}),
|
|
60
|
+
children: (0, _wordpress_i18n.__)("Widgets")
|
|
61
|
+
}),
|
|
62
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(__document_tools_index_jsx.default, {}),
|
|
63
|
+
hasFixedToolbar && isLargeViewport && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
64
|
+
className: "selected-block-tools-wrapper",
|
|
65
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_wordpress_block_editor.BlockToolbar, { hideDragHandle: true })
|
|
66
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_wordpress_components.Popover.Slot, {
|
|
67
|
+
ref: blockToolbarRef,
|
|
68
|
+
name: "block-toolbar"
|
|
69
|
+
})] })
|
|
70
|
+
]
|
|
71
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
72
|
+
className: "edit-widgets-header__actions",
|
|
73
|
+
children: [
|
|
74
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_wordpress_interface.PinnedItems.Slot, { scope: "core/edit-widgets" }),
|
|
75
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(___save_button_index_jsx.default, {}),
|
|
76
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(___more_menu_index_jsx.default, {})
|
|
77
|
+
]
|
|
78
|
+
})]
|
|
79
|
+
}) });
|
|
89
80
|
}
|
|
90
|
-
|
|
91
|
-
|
|
81
|
+
exports.default = Header;
|
|
82
|
+
|
|
83
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/components/header/index.jsx"],
|
|
4
|
-
"sourcesContent": ["import { BlockToolbar } from '@wordpress/block-editor';\nimport { useSelect } from '@wordpress/data';\nimport { useRef } from '@wordpress/element';\nimport { __ } from '@wordpress/i18n';\nimport { Popover } from '@wordpress/components';\nimport { PinnedItems } from '@wordpress/interface';\nimport { useViewportMatch } from '@wordpress/compose';\nimport { store as preferencesStore } from '@wordpress/preferences';\nimport { VisuallyHidden } from '@wordpress/ui';\nimport DocumentTools from './document-tools';\nimport SaveButton from '../save-button';\nimport MoreMenu from '../more-menu';\n\nfunction Header() {\n\tconst isLargeViewport = useViewportMatch( 'medium' );\n\tconst blockToolbarRef = useRef();\n\tconst { hasFixedToolbar } = useSelect(\n\t\t( select ) => ( {\n\t\t\thasFixedToolbar: !! select( preferencesStore ).get(\n\t\t\t\t'core/edit-widgets',\n\t\t\t\t'fixedToolbar'\n\t\t\t),\n\t\t} ),\n\t\t[]\n\t);\n\n\treturn (\n\t\t<>\n\t\t\t<div className=\"edit-widgets-header\">\n\t\t\t\t<div className=\"edit-widgets-header__navigable-toolbar-wrapper\">\n\t\t\t\t\t{ isLargeViewport && (\n\t\t\t\t\t\t<h1 className=\"edit-widgets-header__title\">\n\t\t\t\t\t\t\t{ __( 'Widgets' ) }\n\t\t\t\t\t\t</h1>\n\t\t\t\t\t) }\n\t\t\t\t\t{ ! isLargeViewport && (\n\t\t\t\t\t\t<VisuallyHidden\n\t\t\t\t\t\t\tclassName=\"edit-widgets-header__title\"\n\t\t\t\t\t\t\trender={ <h1 /> }\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{ __( 'Widgets' ) }\n\t\t\t\t\t\t</VisuallyHidden>\n\t\t\t\t\t) }\n\t\t\t\t\t<DocumentTools />\n\t\t\t\t\t{ hasFixedToolbar && isLargeViewport && (\n\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t<div className=\"selected-block-tools-wrapper\">\n\t\t\t\t\t\t\t\t<BlockToolbar hideDragHandle />\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<Popover.Slot\n\t\t\t\t\t\t\t\tref={ blockToolbarRef }\n\t\t\t\t\t\t\t\tname=\"block-toolbar\"\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t</>\n\t\t\t\t\t) }\n\t\t\t\t</div>\n\t\t\t\t<div className=\"edit-widgets-header__actions\">\n\t\t\t\t\t<PinnedItems.Slot scope=\"core/edit-widgets\" />\n\t\t\t\t\t<SaveButton />\n\t\t\t\t\t<MoreMenu />\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</>\n\t);\n}\n\nexport default Header;\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,0BAA6B;AAC7B,kBAA0B;AAC1B,qBAAuB;AACvB,kBAAmB;AACnB,wBAAwB;AACxB,uBAA4B;AAC5B,qBAAiC;AACjC,yBAA0C;AAC1C,gBAA+B;AAC/B,4BAA0B;AAC1B,yBAAuB;AACvB,uBAAqB;AAoBf;AAlBN,SAAS,SAAS;AACjB,QAAM,sBAAkB,iCAAkB,QAAS;AACnD,QAAM,sBAAkB,uBAAO;AAC/B,QAAM,EAAE,gBAAgB,QAAI;AAAA,IAC3B,CAAE,YAAc;AAAA,MACf,iBAAiB,CAAC,CAAE,OAAQ,mBAAAA,KAAiB,EAAE;AAAA,QAC9C;AAAA,QACA;AAAA,MACD;AAAA,IACD;AAAA,IACA,CAAC;AAAA,EACF;AAEA,SACC,2EACC,uDAAC,SAAI,WAAU,uBACd;AAAA,iDAAC,SAAI,WAAU,kDACZ;AAAA,yBACD,4CAAC,QAAG,WAAU,8BACX,8BAAI,SAAU,GACjB;AAAA,MAEC,CAAE,mBACH;AAAA,QAAC;AAAA;AAAA,UACA,WAAU;AAAA,UACV,QAAS,4CAAC,QAAG;AAAA,UAEX,8BAAI,SAAU;AAAA;AAAA,MACjB;AAAA,MAED,4CAAC,sBAAAC,SAAA,EAAc;AAAA,MACb,mBAAmB,mBACpB,4EACC;AAAA,oDAAC,SAAI,WAAU,gCACd,sDAAC,oCAAa,gBAAc,MAAC,GAC9B;AAAA,QACA;AAAA,UAAC,0BAAQ;AAAA,UAAR;AAAA,YACA,KAAM;AAAA,YACN,MAAK;AAAA;AAAA,QACN;AAAA,SACD;AAAA,OAEF;AAAA,IACA,6CAAC,SAAI,WAAU,gCACd;AAAA,kDAAC,6BAAY,MAAZ,EAAiB,OAAM,qBAAoB;AAAA,MAC5C,4CAAC,mBAAAC,SAAA,EAAW;AAAA,MACZ,4CAAC,iBAAAC,SAAA,EAAS;AAAA,OACX;AAAA,KACD,GACD;AAEF;AAEA,IAAO,iBAAQ;",
|
|
6
|
-
"names": ["preferencesStore", "DocumentTools", "SaveButton", "MoreMenu"]
|
|
7
|
-
}
|
|
1
|
+
{"version":3,"file":"index.cjs","names":["useViewportMatch","useRef","useSelect","preferencesStore","__","VisuallyHidden","DocumentTools","BlockToolbar","WCPopover","PinnedItems","SaveButton","MoreMenu"],"sources":["../../../src/components/header/index.jsx"],"sourcesContent":["import { BlockToolbar } from '@wordpress/block-editor';\nimport { useSelect } from '@wordpress/data';\nimport { useRef } from '@wordpress/element';\nimport { __ } from '@wordpress/i18n';\nimport { Popover as WCPopover } from '@wordpress/components';\nimport { PinnedItems } from '@wordpress/interface';\nimport { useViewportMatch } from '@wordpress/compose';\nimport { store as preferencesStore } from '@wordpress/preferences';\nimport { VisuallyHidden } from '@wordpress/ui';\nimport DocumentTools from './document-tools';\nimport SaveButton from '../save-button';\nimport MoreMenu from '../more-menu';\n\nfunction Header() {\n\tconst isLargeViewport = useViewportMatch( 'medium' );\n\tconst blockToolbarRef = useRef();\n\tconst { hasFixedToolbar } = useSelect(\n\t\t( select ) => ( {\n\t\t\thasFixedToolbar: !! select( preferencesStore ).get(\n\t\t\t\t'core/edit-widgets',\n\t\t\t\t'fixedToolbar'\n\t\t\t),\n\t\t} ),\n\t\t[]\n\t);\n\n\treturn (\n\t\t<>\n\t\t\t<div className=\"edit-widgets-header\">\n\t\t\t\t<div className=\"edit-widgets-header__navigable-toolbar-wrapper\">\n\t\t\t\t\t{ isLargeViewport && (\n\t\t\t\t\t\t<h1 className=\"edit-widgets-header__title\">\n\t\t\t\t\t\t\t{ __( 'Widgets' ) }\n\t\t\t\t\t\t</h1>\n\t\t\t\t\t) }\n\t\t\t\t\t{ ! isLargeViewport && (\n\t\t\t\t\t\t<VisuallyHidden\n\t\t\t\t\t\t\tclassName=\"edit-widgets-header__title\"\n\t\t\t\t\t\t\trender={ <h1 /> }\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{ __( 'Widgets' ) }\n\t\t\t\t\t\t</VisuallyHidden>\n\t\t\t\t\t) }\n\t\t\t\t\t<DocumentTools />\n\t\t\t\t\t{ hasFixedToolbar && isLargeViewport && (\n\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t<div className=\"selected-block-tools-wrapper\">\n\t\t\t\t\t\t\t\t<BlockToolbar hideDragHandle />\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<WCPopover.Slot\n\t\t\t\t\t\t\t\tref={ blockToolbarRef }\n\t\t\t\t\t\t\t\tname=\"block-toolbar\"\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t</>\n\t\t\t\t\t) }\n\t\t\t\t</div>\n\t\t\t\t<div className=\"edit-widgets-header__actions\">\n\t\t\t\t\t<PinnedItems.Slot scope=\"core/edit-widgets\" />\n\t\t\t\t\t<SaveButton />\n\t\t\t\t\t<MoreMenu />\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</>\n\t);\n}\n\nexport default Header;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAaA,SAAS,SAAS;CACjB,MAAM,mBAAA,GAAkBA,mBAAAA,iBAAAA,CAAkB,QAAS;CACnD,MAAM,mBAAA,GAAkBC,mBAAAA,OAAAA,CAAO;CAC/B,MAAM,EAAE,qBAAA,GAAoBC,gBAAAA,UAAAA,EACzB,YAAc,EACf,iBAAiB,CAAC,CAAE,OAAQC,uBAAAA,KAAiB,CAAC,CAAC,IAC9C,qBACA,cACD,EACD,IACA,CAAC,CACF;CAEA,OACC,iBAAA,GAAA,kBAAA,IAAA,CAAA,kBAAA,UAAA,EAAA,UACC,iBAAA,GAAA,kBAAA,KAAA,CAAC,OAAD;EAAK,WAAU;EAAf,UAAA,CACC,iBAAA,GAAA,kBAAA,KAAA,CAAC,OAAD;GAAK,WAAU;GAAf,UAAA;IACG,mBACD,iBAAA,GAAA,kBAAA,IAAA,CAAC,MAAD;KAAI,WAAU;KACXC,WAAAA,GAAAA,gBAAAA,GAAAA,CAAI,SAAU;IACb,CAAA;IAEH,CAAE,mBACH,iBAAA,GAAA,kBAAA,IAAA,CAACC,cAAAA,gBAAD;KACC,WAAU;KACV,QAAS,iBAAA,GAAA,kBAAA,IAAA,CAAC,MAAD,CAAK,CAAA;KAEZD,WAAAA,GAAAA,gBAAAA,GAAAA,CAAI,SAAU;IACD,CAAA;IAEjB,iBAAA,GAAA,kBAAA,IAAA,CAACE,2BAAAA,SAAD,CAAgB,CAAA;IACd,mBAAmB,mBACpB,iBAAA,GAAA,kBAAA,KAAA,CAAA,kBAAA,UAAA,EAAA,UAAA,CACC,iBAAA,GAAA,kBAAA,IAAA,CAAC,OAAD;KAAK,WAAU;KACd,UAAA,iBAAA,GAAA,kBAAA,IAAA,CAACC,wBAAAA,cAAD,EAAc,gBAAA,KAAgB,CAAA;IAC1B,CAAA,GACL,iBAAA,GAAA,kBAAA,IAAA,CAACC,sBAAAA,QAAU,MAAX;KACC,KAAM;KACN,MAAK;IACL,CAAA,CACA,EAAA,CAAA;GAEC;EACL,CAAA,GAAA,iBAAA,GAAA,kBAAA,KAAA,CAAC,OAAD;GAAK,WAAU;GAAf,UAAA;IACC,iBAAA,GAAA,kBAAA,IAAA,CAACC,qBAAAA,YAAY,MAAb,EAAkB,OAAM,oBAAqB,CAAA;IAC7C,iBAAA,GAAA,kBAAA,IAAA,CAACC,yBAAAA,SAAD,CAAa,CAAA;IACb,iBAAA,GAAA,kBAAA,IAAA,CAACC,uBAAAA,SAAD,CAAW,CAAA;GACP;EACD,CAAA,CAAA;CACJ,CAAA,EAAA,CAAA;AAEJ"}
|
|
@@ -1,55 +1,33 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all)
|
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
-
};
|
|
9
|
-
var __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
-
for (let key of __getOwnPropNames(from))
|
|
12
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
-
}
|
|
15
|
-
return to;
|
|
16
|
-
};
|
|
17
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
-
|
|
19
|
-
// packages/edit-widgets/src/components/header/undo-redo/redo.jsx
|
|
20
|
-
var redo_exports = {};
|
|
21
|
-
__export(redo_exports, {
|
|
22
|
-
default: () => redo_default
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, {
|
|
3
|
+
__esModule: { value: true },
|
|
4
|
+
[Symbol.toStringTag]: { value: "Module" }
|
|
23
5
|
});
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
6
|
+
let _wordpress_i18n = require("@wordpress/i18n");
|
|
7
|
+
let _wordpress_components = require("@wordpress/components");
|
|
8
|
+
let _wordpress_data = require("@wordpress/data");
|
|
9
|
+
let _wordpress_icons = require("@wordpress/icons");
|
|
10
|
+
let _wordpress_keycodes = require("@wordpress/keycodes");
|
|
11
|
+
let _wordpress_core_data = require("@wordpress/core-data");
|
|
12
|
+
let _wordpress_element = require("@wordpress/element");
|
|
13
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
14
|
+
// packages/edit-widgets/src/components/header/undo-redo/redo.jsx
|
|
33
15
|
function RedoButton(props, ref) {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
shortcut,
|
|
48
|
-
"aria-disabled": !hasRedo,
|
|
49
|
-
onClick: hasRedo ? redo : void 0,
|
|
50
|
-
size: "compact"
|
|
51
|
-
}
|
|
52
|
-
);
|
|
16
|
+
const shortcut = (0, _wordpress_keycodes.isAppleOS)() ? _wordpress_keycodes.displayShortcut.primaryShift("z") : _wordpress_keycodes.displayShortcut.primary("y");
|
|
17
|
+
const hasRedo = (0, _wordpress_data.useSelect)((select) => select(_wordpress_core_data.store).hasRedo(), []);
|
|
18
|
+
const { redo } = (0, _wordpress_data.useDispatch)(_wordpress_core_data.store);
|
|
19
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_wordpress_components.Button, {
|
|
20
|
+
...props,
|
|
21
|
+
ref,
|
|
22
|
+
icon: !(0, _wordpress_i18n.isRTL)() ? _wordpress_icons.redo : _wordpress_icons.undo,
|
|
23
|
+
label: (0, _wordpress_i18n.__)("Redo"),
|
|
24
|
+
shortcut,
|
|
25
|
+
"aria-disabled": !hasRedo,
|
|
26
|
+
onClick: hasRedo ? redo : void 0,
|
|
27
|
+
size: "compact"
|
|
28
|
+
});
|
|
53
29
|
}
|
|
54
|
-
var redo_default = (0,
|
|
55
|
-
|
|
30
|
+
var redo_default = (0, _wordpress_element.forwardRef)(RedoButton);
|
|
31
|
+
exports.default = redo_default;
|
|
32
|
+
|
|
33
|
+
//# sourceMappingURL=redo.cjs.map
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../../src/components/header/undo-redo/redo.jsx"],
|
|
4
|
-
"sourcesContent": ["import { __, isRTL } from '@wordpress/i18n';\nimport { Button } from '@wordpress/components';\nimport { useSelect, useDispatch } from '@wordpress/data';\nimport { redo as redoIcon, undo as undoIcon } from '@wordpress/icons';\nimport { displayShortcut, isAppleOS } from '@wordpress/keycodes';\nimport { store as coreStore } from '@wordpress/core-data';\nimport { forwardRef } from '@wordpress/element';\n\nfunction RedoButton( props, ref ) {\n\tconst shortcut = isAppleOS()\n\t\t? displayShortcut.primaryShift( 'z' )\n\t\t: displayShortcut.primary( 'y' );\n\n\tconst hasRedo = useSelect(\n\t\t( select ) => select( coreStore ).hasRedo(),\n\t\t[]\n\t);\n\tconst { redo } = useDispatch( coreStore );\n\treturn (\n\t\t<Button\n\t\t\t{ ...props }\n\t\t\tref={ ref }\n\t\t\ticon={ ! isRTL() ? redoIcon : undoIcon }\n\t\t\tlabel={ __( 'Redo' ) }\n\t\t\tshortcut={ shortcut }\n\t\t\t// If there are no undo levels we don't want to actually disable this\n\t\t\t// button, because it will remove focus for keyboard users.\n\t\t\t// See: https://github.com/WordPress/gutenberg/issues/3486\n\t\t\taria-disabled={ ! hasRedo }\n\t\t\tonClick={ hasRedo ? redo : undefined }\n\t\t\tsize=\"compact\"\n\t\t/>\n\t);\n}\n\nexport default forwardRef( RedoButton );\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAA0B;AAC1B,wBAAuB;AACvB,kBAAuC;AACvC,mBAAmD;AACnD,sBAA2C;AAC3C,uBAAmC;AACnC,qBAA2B;AAazB;AAXF,SAAS,WAAY,OAAO,KAAM;AACjC,QAAM,eAAW,2BAAU,IACxB,gCAAgB,aAAc,GAAI,IAClC,gCAAgB,QAAS,GAAI;AAEhC,QAAM,cAAU;AAAA,IACf,CAAE,WAAY,OAAQ,iBAAAA,KAAU,EAAE,QAAQ;AAAA,IAC1C,CAAC;AAAA,EACF;AACA,QAAM,EAAE,KAAK,QAAI,yBAAa,iBAAAA,KAAU;AACxC,SACC;AAAA,IAAC;AAAA;AAAA,MACE,GAAG;AAAA,MACL;AAAA,MACA,MAAO,KAAE,mBAAM,IAAI,aAAAC,OAAW,aAAAC;AAAA,MAC9B,WAAQ,gBAAI,MAAO;AAAA,MACnB;AAAA,MAIA,iBAAgB,CAAE;AAAA,MAClB,SAAU,UAAU,OAAO;AAAA,MAC3B,MAAK;AAAA;AAAA,EACN;AAEF;AAEA,IAAO,mBAAQ,2BAAY,UAAW;",
|
|
6
|
-
"names": ["coreStore", "redoIcon", "undoIcon"]
|
|
7
|
-
}
|
|
1
|
+
{"version":3,"file":"redo.cjs","names":["isAppleOS","displayShortcut","useSelect","coreStore","useDispatch","Button","isRTL","redoIcon","undoIcon","__","forwardRef"],"sources":["../../../../src/components/header/undo-redo/redo.jsx"],"sourcesContent":["import { __, isRTL } from '@wordpress/i18n';\nimport { Button } from '@wordpress/components';\nimport { useSelect, useDispatch } from '@wordpress/data';\nimport { redo as redoIcon, undo as undoIcon } from '@wordpress/icons';\nimport { displayShortcut, isAppleOS } from '@wordpress/keycodes';\nimport { store as coreStore } from '@wordpress/core-data';\nimport { forwardRef } from '@wordpress/element';\n\nfunction RedoButton( props, ref ) {\n\tconst shortcut = isAppleOS()\n\t\t? displayShortcut.primaryShift( 'z' )\n\t\t: displayShortcut.primary( 'y' );\n\n\tconst hasRedo = useSelect(\n\t\t( select ) => select( coreStore ).hasRedo(),\n\t\t[]\n\t);\n\tconst { redo } = useDispatch( coreStore );\n\treturn (\n\t\t<Button\n\t\t\t{ ...props }\n\t\t\tref={ ref }\n\t\t\ticon={ ! isRTL() ? redoIcon : undoIcon }\n\t\t\tlabel={ __( 'Redo' ) }\n\t\t\tshortcut={ shortcut }\n\t\t\t// If there are no undo levels we don't want to actually disable this\n\t\t\t// button, because it will remove focus for keyboard users.\n\t\t\t// See: https://github.com/WordPress/gutenberg/issues/3486\n\t\t\taria-disabled={ ! hasRedo }\n\t\t\tonClick={ hasRedo ? redo : undefined }\n\t\t\tsize=\"compact\"\n\t\t/>\n\t);\n}\n\nexport default forwardRef( RedoButton );\n"],"mappings":";;;;;;;;;;;;;;AAQA,SAAS,WAAY,OAAO,KAAM;CACjC,MAAM,YAAA,GAAWA,oBAAAA,UAAAA,CAAU,IACxBC,oBAAAA,gBAAgB,aAAc,GAAI,IAClCA,oBAAAA,gBAAgB,QAAS,GAAI;CAEhC,MAAM,WAAA,GAAUC,gBAAAA,UAAAA,EACb,WAAY,OAAQC,qBAAAA,KAAU,CAAC,CAAC,QAAQ,GAC1C,CAAC,CACF;CACA,MAAM,EAAE,UAAA,GAASC,gBAAAA,YAAAA,CAAaD,qBAAAA,KAAU;CACxC,OACC,iBAAA,GAAA,kBAAA,IAAA,CAACE,sBAAAA,QAAD;EACC,GAAK;EACC;EACN,MAAO,EAAA,GAAEC,gBAAAA,MAAAA,CAAM,IAAIC,iBAAAA,OAAWC,iBAAAA;EAC9B,QAAA,GAAQC,gBAAAA,GAAAA,CAAI,MAAO;EACR;EAIX,iBAAgB,CAAE;EAClB,SAAU,UAAU,OAAO,KAAA;EAC3B,MAAK;CACL,CAAA;AAEH;AAEA,IAAA,gBAAA,GAAeC,mBAAAA,WAAAA,CAAY,UAAW"}
|
|
@@ -1,54 +1,32 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all)
|
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
-
};
|
|
9
|
-
var __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
-
for (let key of __getOwnPropNames(from))
|
|
12
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
-
}
|
|
15
|
-
return to;
|
|
16
|
-
};
|
|
17
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
-
|
|
19
|
-
// packages/edit-widgets/src/components/header/undo-redo/undo.jsx
|
|
20
|
-
var undo_exports = {};
|
|
21
|
-
__export(undo_exports, {
|
|
22
|
-
default: () => undo_default
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, {
|
|
3
|
+
__esModule: { value: true },
|
|
4
|
+
[Symbol.toStringTag]: { value: "Module" }
|
|
23
5
|
});
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
6
|
+
let _wordpress_i18n = require("@wordpress/i18n");
|
|
7
|
+
let _wordpress_components = require("@wordpress/components");
|
|
8
|
+
let _wordpress_data = require("@wordpress/data");
|
|
9
|
+
let _wordpress_icons = require("@wordpress/icons");
|
|
10
|
+
let _wordpress_keycodes = require("@wordpress/keycodes");
|
|
11
|
+
let _wordpress_core_data = require("@wordpress/core-data");
|
|
12
|
+
let _wordpress_element = require("@wordpress/element");
|
|
13
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
14
|
+
// packages/edit-widgets/src/components/header/undo-redo/undo.jsx
|
|
33
15
|
function UndoButton(props, ref) {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
shortcut: import_keycodes.displayShortcut.primary("z"),
|
|
47
|
-
"aria-disabled": !hasUndo,
|
|
48
|
-
onClick: hasUndo ? undo : void 0,
|
|
49
|
-
size: "compact"
|
|
50
|
-
}
|
|
51
|
-
);
|
|
16
|
+
const hasUndo = (0, _wordpress_data.useSelect)((select) => select(_wordpress_core_data.store).hasUndo(), []);
|
|
17
|
+
const { undo } = (0, _wordpress_data.useDispatch)(_wordpress_core_data.store);
|
|
18
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_wordpress_components.Button, {
|
|
19
|
+
...props,
|
|
20
|
+
ref,
|
|
21
|
+
icon: !(0, _wordpress_i18n.isRTL)() ? _wordpress_icons.undo : _wordpress_icons.redo,
|
|
22
|
+
label: (0, _wordpress_i18n.__)("Undo"),
|
|
23
|
+
shortcut: _wordpress_keycodes.displayShortcut.primary("z"),
|
|
24
|
+
"aria-disabled": !hasUndo,
|
|
25
|
+
onClick: hasUndo ? undo : void 0,
|
|
26
|
+
size: "compact"
|
|
27
|
+
});
|
|
52
28
|
}
|
|
53
|
-
var undo_default = (0,
|
|
54
|
-
|
|
29
|
+
var undo_default = (0, _wordpress_element.forwardRef)(UndoButton);
|
|
30
|
+
exports.default = undo_default;
|
|
31
|
+
|
|
32
|
+
//# sourceMappingURL=undo.cjs.map
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../../src/components/header/undo-redo/undo.jsx"],
|
|
4
|
-
"sourcesContent": ["import { __, isRTL } from '@wordpress/i18n';\nimport { Button } from '@wordpress/components';\nimport { useSelect, useDispatch } from '@wordpress/data';\nimport { undo as undoIcon, redo as redoIcon } from '@wordpress/icons';\nimport { displayShortcut } from '@wordpress/keycodes';\nimport { store as coreStore } from '@wordpress/core-data';\nimport { forwardRef } from '@wordpress/element';\n\nfunction UndoButton( props, ref ) {\n\tconst hasUndo = useSelect(\n\t\t( select ) => select( coreStore ).hasUndo(),\n\t\t[]\n\t);\n\tconst { undo } = useDispatch( coreStore );\n\treturn (\n\t\t<Button\n\t\t\t{ ...props }\n\t\t\tref={ ref }\n\t\t\ticon={ ! isRTL() ? undoIcon : redoIcon }\n\t\t\tlabel={ __( 'Undo' ) }\n\t\t\tshortcut={ displayShortcut.primary( 'z' ) }\n\t\t\t// If there are no undo levels we don't want to actually disable this\n\t\t\t// button, because it will remove focus for keyboard users.\n\t\t\t// See: https://github.com/WordPress/gutenberg/issues/3486\n\t\t\taria-disabled={ ! hasUndo }\n\t\t\tonClick={ hasUndo ? undo : undefined }\n\t\t\tsize=\"compact\"\n\t\t/>\n\t);\n}\n\nexport default forwardRef( UndoButton );\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAA0B;AAC1B,wBAAuB;AACvB,kBAAuC;AACvC,mBAAmD;AACnD,sBAAgC;AAChC,uBAAmC;AACnC,qBAA2B;AASzB;AAPF,SAAS,WAAY,OAAO,KAAM;AACjC,QAAM,cAAU;AAAA,IACf,CAAE,WAAY,OAAQ,iBAAAA,KAAU,EAAE,QAAQ;AAAA,IAC1C,CAAC;AAAA,EACF;AACA,QAAM,EAAE,KAAK,QAAI,yBAAa,iBAAAA,KAAU;AACxC,SACC;AAAA,IAAC;AAAA;AAAA,MACE,GAAG;AAAA,MACL;AAAA,MACA,MAAO,KAAE,mBAAM,IAAI,aAAAC,OAAW,aAAAC;AAAA,MAC9B,WAAQ,gBAAI,MAAO;AAAA,MACnB,UAAW,gCAAgB,QAAS,GAAI;AAAA,MAIxC,iBAAgB,CAAE;AAAA,MAClB,SAAU,UAAU,OAAO;AAAA,MAC3B,MAAK;AAAA;AAAA,EACN;AAEF;AAEA,IAAO,mBAAQ,2BAAY,UAAW;",
|
|
6
|
-
"names": ["coreStore", "undoIcon", "redoIcon"]
|
|
7
|
-
}
|
|
1
|
+
{"version":3,"file":"undo.cjs","names":["useSelect","coreStore","useDispatch","Button","isRTL","undoIcon","redoIcon","__","displayShortcut","forwardRef"],"sources":["../../../../src/components/header/undo-redo/undo.jsx"],"sourcesContent":["import { __, isRTL } from '@wordpress/i18n';\nimport { Button } from '@wordpress/components';\nimport { useSelect, useDispatch } from '@wordpress/data';\nimport { undo as undoIcon, redo as redoIcon } from '@wordpress/icons';\nimport { displayShortcut } from '@wordpress/keycodes';\nimport { store as coreStore } from '@wordpress/core-data';\nimport { forwardRef } from '@wordpress/element';\n\nfunction UndoButton( props, ref ) {\n\tconst hasUndo = useSelect(\n\t\t( select ) => select( coreStore ).hasUndo(),\n\t\t[]\n\t);\n\tconst { undo } = useDispatch( coreStore );\n\treturn (\n\t\t<Button\n\t\t\t{ ...props }\n\t\t\tref={ ref }\n\t\t\ticon={ ! isRTL() ? undoIcon : redoIcon }\n\t\t\tlabel={ __( 'Undo' ) }\n\t\t\tshortcut={ displayShortcut.primary( 'z' ) }\n\t\t\t// If there are no undo levels we don't want to actually disable this\n\t\t\t// button, because it will remove focus for keyboard users.\n\t\t\t// See: https://github.com/WordPress/gutenberg/issues/3486\n\t\t\taria-disabled={ ! hasUndo }\n\t\t\tonClick={ hasUndo ? undo : undefined }\n\t\t\tsize=\"compact\"\n\t\t/>\n\t);\n}\n\nexport default forwardRef( UndoButton );\n"],"mappings":";;;;;;;;;;;;;;AAQA,SAAS,WAAY,OAAO,KAAM;CACjC,MAAM,WAAA,GAAUA,gBAAAA,UAAAA,EACb,WAAY,OAAQC,qBAAAA,KAAU,CAAC,CAAC,QAAQ,GAC1C,CAAC,CACF;CACA,MAAM,EAAE,UAAA,GAASC,gBAAAA,YAAAA,CAAaD,qBAAAA,KAAU;CACxC,OACC,iBAAA,GAAA,kBAAA,IAAA,CAACE,sBAAAA,QAAD;EACC,GAAK;EACC;EACN,MAAO,EAAA,GAAEC,gBAAAA,MAAAA,CAAM,IAAIC,iBAAAA,OAAWC,iBAAAA;EAC9B,QAAA,GAAQC,gBAAAA,GAAAA,CAAI,MAAO;EACnB,UAAWC,oBAAAA,gBAAgB,QAAS,GAAI;EAIxC,iBAAgB,CAAE;EAClB,SAAU,UAAU,OAAO,KAAA;EAC3B,MAAK;CACL,CAAA;AAEH;AAEA,IAAA,gBAAA,GAAeC,mBAAAA,WAAAA,CAAY,UAAW"}
|
|
@@ -1,87 +1,90 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all)
|
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
-
};
|
|
9
|
-
var __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
-
for (let key of __getOwnPropNames(from))
|
|
12
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
-
}
|
|
15
|
-
return to;
|
|
16
|
-
};
|
|
17
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
-
|
|
19
|
-
// packages/edit-widgets/src/components/keyboard-shortcut-help-modal/config.js
|
|
20
|
-
var config_exports = {};
|
|
21
|
-
__export(config_exports, {
|
|
22
|
-
textFormattingShortcuts: () => textFormattingShortcuts
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, {
|
|
3
|
+
__esModule: { value: true },
|
|
4
|
+
[Symbol.toStringTag]: { value: "Module" }
|
|
23
5
|
});
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
6
|
+
let _wordpress_i18n = require("@wordpress/i18n");
|
|
7
|
+
// packages/edit-widgets/src/components/keyboard-shortcut-help-modal/config.js
|
|
8
|
+
const textFormattingShortcuts = [
|
|
9
|
+
{
|
|
10
|
+
keyCombination: {
|
|
11
|
+
modifier: "primary",
|
|
12
|
+
character: "b"
|
|
13
|
+
},
|
|
14
|
+
description: (0, _wordpress_i18n.__)("Make the selected text bold.")
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
keyCombination: {
|
|
18
|
+
modifier: "primary",
|
|
19
|
+
character: "i"
|
|
20
|
+
},
|
|
21
|
+
description: (0, _wordpress_i18n.__)("Make the selected text italic.")
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
keyCombination: {
|
|
25
|
+
modifier: "primary",
|
|
26
|
+
character: "k"
|
|
27
|
+
},
|
|
28
|
+
description: (0, _wordpress_i18n.__)("Convert the selected text into a link.")
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
keyCombination: {
|
|
32
|
+
modifier: "primaryShift",
|
|
33
|
+
character: "k"
|
|
34
|
+
},
|
|
35
|
+
description: (0, _wordpress_i18n.__)("Remove a link.")
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
keyCombination: { character: "[[" },
|
|
39
|
+
description: (0, _wordpress_i18n.__)("Insert a link to a post or page.")
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
keyCombination: {
|
|
43
|
+
modifier: "primary",
|
|
44
|
+
character: "u"
|
|
45
|
+
},
|
|
46
|
+
description: (0, _wordpress_i18n.__)("Underline the selected text.")
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
keyCombination: {
|
|
50
|
+
modifier: "access",
|
|
51
|
+
character: "d"
|
|
52
|
+
},
|
|
53
|
+
description: (0, _wordpress_i18n.__)("Strikethrough the selected text.")
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
keyCombination: {
|
|
57
|
+
modifier: "access",
|
|
58
|
+
character: "x"
|
|
59
|
+
},
|
|
60
|
+
description: (0, _wordpress_i18n.__)("Make the selected text inline code.")
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
keyCombination: {
|
|
64
|
+
modifier: "access",
|
|
65
|
+
character: "0"
|
|
66
|
+
},
|
|
67
|
+
aliases: [{
|
|
68
|
+
modifier: "access",
|
|
69
|
+
character: "7"
|
|
70
|
+
}],
|
|
71
|
+
description: (0, _wordpress_i18n.__)("Convert the current heading to a paragraph.")
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
keyCombination: {
|
|
75
|
+
modifier: "access",
|
|
76
|
+
character: "1-6"
|
|
77
|
+
},
|
|
78
|
+
description: (0, _wordpress_i18n.__)("Convert the current paragraph or heading to a heading of level 1 to 6.")
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
keyCombination: {
|
|
82
|
+
modifier: "primaryShift",
|
|
83
|
+
character: "SPACE"
|
|
84
|
+
},
|
|
85
|
+
description: (0, _wordpress_i18n.__)("Add non breaking space.")
|
|
86
|
+
}
|
|
82
87
|
];
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
});
|
|
87
|
-
//# sourceMappingURL=config.cjs.map
|
|
88
|
+
exports.textFormattingShortcuts = textFormattingShortcuts;
|
|
89
|
+
|
|
90
|
+
//# sourceMappingURL=config.cjs.map
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/components/keyboard-shortcut-help-modal/config.js"],
|
|
4
|
-
"sourcesContent": ["import { __ } from '@wordpress/i18n';\n\nexport const textFormattingShortcuts = [\n\t{\n\t\tkeyCombination: { modifier: 'primary', character: 'b' },\n\t\tdescription: __( 'Make the selected text bold.' ),\n\t},\n\t{\n\t\tkeyCombination: { modifier: 'primary', character: 'i' },\n\t\tdescription: __( 'Make the selected text italic.' ),\n\t},\n\t{\n\t\tkeyCombination: { modifier: 'primary', character: 'k' },\n\t\tdescription: __( 'Convert the selected text into a link.' ),\n\t},\n\t{\n\t\tkeyCombination: { modifier: 'primaryShift', character: 'k' },\n\t\tdescription: __( 'Remove a link.' ),\n\t},\n\t{\n\t\tkeyCombination: { character: '[[' },\n\t\tdescription: __( 'Insert a link to a post or page.' ),\n\t},\n\t{\n\t\tkeyCombination: { modifier: 'primary', character: 'u' },\n\t\tdescription: __( 'Underline the selected text.' ),\n\t},\n\t{\n\t\tkeyCombination: { modifier: 'access', character: 'd' },\n\t\tdescription: __( 'Strikethrough the selected text.' ),\n\t},\n\t{\n\t\tkeyCombination: { modifier: 'access', character: 'x' },\n\t\tdescription: __( 'Make the selected text inline code.' ),\n\t},\n\t{\n\t\tkeyCombination: {\n\t\t\tmodifier: 'access',\n\t\t\tcharacter: '0',\n\t\t},\n\t\taliases: [\n\t\t\t{\n\t\t\t\tmodifier: 'access',\n\t\t\t\tcharacter: '7',\n\t\t\t},\n\t\t],\n\t\tdescription: __( 'Convert the current heading to a paragraph.' ),\n\t},\n\t{\n\t\tkeyCombination: { modifier: 'access', character: '1-6' },\n\t\tdescription: __(\n\t\t\t'Convert the current paragraph or heading to a heading of level 1 to 6.'\n\t\t),\n\t},\n\t{\n\t\tkeyCombination: { modifier: 'primaryShift', character: 'SPACE' },\n\t\tdescription: __( 'Add non breaking space.' ),\n\t},\n];\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAAmB;AAEZ,IAAM,0BAA0B;AAAA,EACtC;AAAA,IACC,gBAAgB,EAAE,UAAU,WAAW,WAAW,IAAI;AAAA,IACtD,iBAAa,gBAAI,8BAA+B;AAAA,EACjD;AAAA,EACA;AAAA,IACC,gBAAgB,EAAE,UAAU,WAAW,WAAW,IAAI;AAAA,IACtD,iBAAa,gBAAI,gCAAiC;AAAA,EACnD;AAAA,EACA;AAAA,IACC,gBAAgB,EAAE,UAAU,WAAW,WAAW,IAAI;AAAA,IACtD,iBAAa,gBAAI,wCAAyC;AAAA,EAC3D;AAAA,EACA;AAAA,IACC,gBAAgB,EAAE,UAAU,gBAAgB,WAAW,IAAI;AAAA,IAC3D,iBAAa,gBAAI,gBAAiB;AAAA,EACnC;AAAA,EACA;AAAA,IACC,gBAAgB,EAAE,WAAW,KAAK;AAAA,IAClC,iBAAa,gBAAI,kCAAmC;AAAA,EACrD;AAAA,EACA;AAAA,IACC,gBAAgB,EAAE,UAAU,WAAW,WAAW,IAAI;AAAA,IACtD,iBAAa,gBAAI,8BAA+B;AAAA,EACjD;AAAA,EACA;AAAA,IACC,gBAAgB,EAAE,UAAU,UAAU,WAAW,IAAI;AAAA,IACrD,iBAAa,gBAAI,kCAAmC;AAAA,EACrD;AAAA,EACA;AAAA,IACC,gBAAgB,EAAE,UAAU,UAAU,WAAW,IAAI;AAAA,IACrD,iBAAa,gBAAI,qCAAsC;AAAA,EACxD;AAAA,EACA;AAAA,IACC,gBAAgB;AAAA,MACf,UAAU;AAAA,MACV,WAAW;AAAA,IACZ;AAAA,IACA,SAAS;AAAA,MACR;AAAA,QACC,UAAU;AAAA,QACV,WAAW;AAAA,MACZ;AAAA,IACD;AAAA,IACA,iBAAa,gBAAI,6CAA8C;AAAA,EAChE;AAAA,EACA;AAAA,IACC,gBAAgB,EAAE,UAAU,UAAU,WAAW,MAAM;AAAA,IACvD,iBAAa;AAAA,MACZ;AAAA,IACD;AAAA,EACD;AAAA,EACA;AAAA,IACC,gBAAgB,EAAE,UAAU,gBAAgB,WAAW,QAAQ;AAAA,IAC/D,iBAAa,gBAAI,yBAA0B;AAAA,EAC5C;AACD;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
1
|
+
{"version":3,"file":"config.cjs","names":["__"],"sources":["../../../src/components/keyboard-shortcut-help-modal/config.js"],"sourcesContent":["import { __ } from '@wordpress/i18n';\n\nexport const textFormattingShortcuts = [\n\t{\n\t\tkeyCombination: { modifier: 'primary', character: 'b' },\n\t\tdescription: __( 'Make the selected text bold.' ),\n\t},\n\t{\n\t\tkeyCombination: { modifier: 'primary', character: 'i' },\n\t\tdescription: __( 'Make the selected text italic.' ),\n\t},\n\t{\n\t\tkeyCombination: { modifier: 'primary', character: 'k' },\n\t\tdescription: __( 'Convert the selected text into a link.' ),\n\t},\n\t{\n\t\tkeyCombination: { modifier: 'primaryShift', character: 'k' },\n\t\tdescription: __( 'Remove a link.' ),\n\t},\n\t{\n\t\tkeyCombination: { character: '[[' },\n\t\tdescription: __( 'Insert a link to a post or page.' ),\n\t},\n\t{\n\t\tkeyCombination: { modifier: 'primary', character: 'u' },\n\t\tdescription: __( 'Underline the selected text.' ),\n\t},\n\t{\n\t\tkeyCombination: { modifier: 'access', character: 'd' },\n\t\tdescription: __( 'Strikethrough the selected text.' ),\n\t},\n\t{\n\t\tkeyCombination: { modifier: 'access', character: 'x' },\n\t\tdescription: __( 'Make the selected text inline code.' ),\n\t},\n\t{\n\t\tkeyCombination: {\n\t\t\tmodifier: 'access',\n\t\t\tcharacter: '0',\n\t\t},\n\t\taliases: [\n\t\t\t{\n\t\t\t\tmodifier: 'access',\n\t\t\t\tcharacter: '7',\n\t\t\t},\n\t\t],\n\t\tdescription: __( 'Convert the current heading to a paragraph.' ),\n\t},\n\t{\n\t\tkeyCombination: { modifier: 'access', character: '1-6' },\n\t\tdescription: __(\n\t\t\t'Convert the current paragraph or heading to a heading of level 1 to 6.'\n\t\t),\n\t},\n\t{\n\t\tkeyCombination: { modifier: 'primaryShift', character: 'SPACE' },\n\t\tdescription: __( 'Add non breaking space.' ),\n\t},\n];\n"],"mappings":";;;;;;;AAEA,MAAa,0BAA0B;CACtC;EACC,gBAAgB;GAAE,UAAU;GAAW,WAAW;EAAI;EACtD,cAAA,GAAaA,gBAAAA,GAAAA,CAAI,8BAA+B;CACjD;CACA;EACC,gBAAgB;GAAE,UAAU;GAAW,WAAW;EAAI;EACtD,cAAA,GAAaA,gBAAAA,GAAAA,CAAI,gCAAiC;CACnD;CACA;EACC,gBAAgB;GAAE,UAAU;GAAW,WAAW;EAAI;EACtD,cAAA,GAAaA,gBAAAA,GAAAA,CAAI,wCAAyC;CAC3D;CACA;EACC,gBAAgB;GAAE,UAAU;GAAgB,WAAW;EAAI;EAC3D,cAAA,GAAaA,gBAAAA,GAAAA,CAAI,gBAAiB;CACnC;CACA;EACC,gBAAgB,EAAE,WAAW,KAAK;EAClC,cAAA,GAAaA,gBAAAA,GAAAA,CAAI,kCAAmC;CACrD;CACA;EACC,gBAAgB;GAAE,UAAU;GAAW,WAAW;EAAI;EACtD,cAAA,GAAaA,gBAAAA,GAAAA,CAAI,8BAA+B;CACjD;CACA;EACC,gBAAgB;GAAE,UAAU;GAAU,WAAW;EAAI;EACrD,cAAA,GAAaA,gBAAAA,GAAAA,CAAI,kCAAmC;CACrD;CACA;EACC,gBAAgB;GAAE,UAAU;GAAU,WAAW;EAAI;EACrD,cAAA,GAAaA,gBAAAA,GAAAA,CAAI,qCAAsC;CACxD;CACA;EACC,gBAAgB;GACf,UAAU;GACV,WAAW;EACZ;EACA,SAAS,CACR;GACC,UAAU;GACV,WAAW;EACZ,CACD;EACA,cAAA,GAAaA,gBAAAA,GAAAA,CAAI,6CAA8C;CAChE;CACA;EACC,gBAAgB;GAAE,UAAU;GAAU,WAAW;EAAM;EACvD,cAAA,GAAaA,gBAAAA,GAAAA,CACZ,wEACD;CACD;CACA;EACC,gBAAgB;GAAE,UAAU;GAAgB,WAAW;EAAQ;EAC/D,cAAA,GAAaA,gBAAAA,GAAAA,CAAI,yBAA0B;CAC5C;AACD"}
|