@wordpress/edit-widgets 6.37.0 → 6.37.1-next.79a2f3cdd.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/CHANGELOG.md +0 -2
- package/LICENSE.md +1 -1
- package/build/blocks/widget-area/edit/{index.js → index.cjs} +4 -4
- package/build/blocks/widget-area/edit/{inner-blocks.js → inner-blocks.cjs} +2 -2
- package/build/blocks/widget-area/edit/{use-is-dragging-within.js → use-is-dragging-within.cjs} +1 -1
- package/build/blocks/widget-area/{index.js → index.cjs} +2 -2
- package/build/components/error-boundary/{index.js → index.cjs} +1 -1
- package/build/components/header/document-tools/{index.js → index.cjs} +5 -5
- package/build/components/header/{index.js → index.cjs} +4 -4
- package/build/components/header/undo-redo/{redo.js → redo.cjs} +1 -1
- package/build/components/header/undo-redo/{undo.js → undo.cjs} +1 -1
- package/build/components/keyboard-shortcut-help-modal/{config.js → config.cjs} +1 -1
- package/build/components/keyboard-shortcut-help-modal/{dynamic-shortcut.js → dynamic-shortcut.cjs} +2 -2
- package/build/components/keyboard-shortcut-help-modal/{index.js → index.cjs} +4 -4
- package/build/components/keyboard-shortcut-help-modal/{shortcut.js → shortcut.cjs} +1 -1
- package/build/components/keyboard-shortcuts/{index.js → index.cjs} +2 -2
- package/build/components/layout/{index.js → index.cjs} +7 -7
- package/build/components/layout/{interface.js → interface.cjs} +5 -5
- package/build/components/layout/{unsaved-changes-warning.js → unsaved-changes-warning.cjs} +2 -2
- package/build/components/more-menu/{index.js → index.cjs} +3 -3
- package/build/components/more-menu/{tools-more-menu-group.js → tools-more-menu-group.cjs} +1 -1
- package/build/components/notices/{index.js → index.cjs} +1 -1
- package/build/components/save-button/{index.js → index.cjs} +2 -2
- package/build/components/secondary-sidebar/{index.js → index.cjs} +4 -4
- package/build/components/secondary-sidebar/{inserter-sidebar.js → inserter-sidebar.cjs} +3 -3
- package/build/components/secondary-sidebar/{list-view-sidebar.js → list-view-sidebar.cjs} +3 -3
- package/build/components/sidebar/{index.js → index.cjs} +4 -4
- package/build/components/sidebar/{widget-areas.js → widget-areas.cjs} +2 -2
- package/build/components/welcome-guide/{index.js → index.cjs} +2 -2
- package/build/components/widget-areas-block-editor-content/{index.js → index.cjs} +3 -3
- package/build/components/widget-areas-block-editor-provider/{index.js → index.cjs} +7 -7
- package/build/{constants.js → constants.cjs} +1 -1
- package/build/filters/index.cjs +4 -0
- package/build/filters/{move-to-widget-area.js → move-to-widget-area.cjs} +2 -2
- package/build/filters/{replace-media-upload.js → replace-media-upload.cjs} +1 -1
- package/build/hooks/{use-last-selected-widget-area.js → use-last-selected-widget-area.cjs} +3 -3
- package/build/hooks/{use-widget-library-insertion-point.js → use-widget-library-insertion-point.cjs} +3 -3
- package/build/{index.js → index.cjs} +7 -7
- package/build/{lock-unlock.js → lock-unlock.cjs} +1 -1
- package/build/store/{actions.js → actions.cjs} +4 -4
- package/build/store/{constants.js → constants.cjs} +1 -1
- package/build/store/{index.js → index.cjs} +8 -8
- package/build/store/{private-selectors.js → private-selectors.cjs} +1 -1
- package/build/store/{reducer.js → reducer.cjs} +1 -1
- package/build/store/{resolvers.js → resolvers.cjs} +4 -4
- package/build/store/{selectors.js → selectors.cjs} +3 -3
- package/build/store/{transformers.js → transformers.cjs} +1 -1
- package/build/store/{utils.js → utils.cjs} +1 -1
- package/build-module/blocks/widget-area/edit/{index.js → index.mjs} +4 -4
- package/build-module/blocks/widget-area/edit/{inner-blocks.js → inner-blocks.mjs} +2 -2
- package/build-module/blocks/widget-area/edit/{use-is-dragging-within.js → use-is-dragging-within.mjs} +1 -1
- package/build-module/blocks/widget-area/{index.js → index.mjs} +2 -2
- package/build-module/components/error-boundary/{index.js → index.mjs} +1 -1
- package/build-module/components/header/document-tools/{index.js → index.mjs} +5 -5
- package/build-module/components/header/{index.js → index.mjs} +4 -4
- package/build-module/components/header/undo-redo/{redo.js → redo.mjs} +1 -1
- package/build-module/components/header/undo-redo/{undo.js → undo.mjs} +1 -1
- package/build-module/components/keyboard-shortcut-help-modal/{config.js → config.mjs} +1 -1
- package/build-module/components/keyboard-shortcut-help-modal/{dynamic-shortcut.js → dynamic-shortcut.mjs} +2 -2
- package/build-module/components/keyboard-shortcut-help-modal/{index.js → index.mjs} +4 -4
- package/build-module/components/keyboard-shortcut-help-modal/{shortcut.js → shortcut.mjs} +1 -1
- package/build-module/components/keyboard-shortcuts/{index.js → index.mjs} +2 -2
- package/build-module/components/layout/{index.js → index.mjs} +7 -7
- package/build-module/components/layout/{interface.js → interface.mjs} +5 -5
- package/build-module/components/layout/{unsaved-changes-warning.js → unsaved-changes-warning.mjs} +2 -2
- package/build-module/components/more-menu/{index.js → index.mjs} +3 -3
- package/build-module/components/more-menu/{tools-more-menu-group.js → tools-more-menu-group.mjs} +1 -1
- package/build-module/components/notices/{index.js → index.mjs} +1 -1
- package/build-module/components/save-button/{index.js → index.mjs} +2 -2
- package/build-module/components/secondary-sidebar/{index.js → index.mjs} +4 -4
- package/build-module/components/secondary-sidebar/{inserter-sidebar.js → inserter-sidebar.mjs} +3 -3
- package/build-module/components/secondary-sidebar/{list-view-sidebar.js → list-view-sidebar.mjs} +3 -3
- package/build-module/components/sidebar/{index.js → index.mjs} +4 -4
- package/build-module/components/sidebar/{widget-areas.js → widget-areas.mjs} +2 -2
- package/build-module/components/welcome-guide/{index.js → index.mjs} +2 -2
- package/build-module/components/widget-areas-block-editor-content/{index.js → index.mjs} +3 -3
- package/build-module/components/widget-areas-block-editor-provider/{index.js → index.mjs} +7 -7
- package/build-module/{constants.js → constants.mjs} +1 -1
- package/build-module/filters/index.mjs +4 -0
- package/build-module/filters/{move-to-widget-area.js → move-to-widget-area.mjs} +2 -2
- package/build-module/filters/{replace-media-upload.js → replace-media-upload.mjs} +1 -1
- package/build-module/hooks/{use-last-selected-widget-area.js → use-last-selected-widget-area.mjs} +3 -3
- package/build-module/hooks/{use-widget-library-insertion-point.js → use-widget-library-insertion-point.mjs} +3 -3
- package/build-module/{index.js → index.mjs} +7 -7
- package/build-module/{lock-unlock.js → lock-unlock.mjs} +1 -1
- package/build-module/store/{actions.js → actions.mjs} +4 -4
- package/build-module/store/{constants.js → constants.mjs} +1 -1
- package/build-module/store/{index.js → index.mjs} +8 -8
- package/build-module/store/{private-selectors.js → private-selectors.mjs} +1 -1
- package/build-module/store/{reducer.js → reducer.mjs} +1 -1
- package/build-module/store/{resolvers.js → resolvers.mjs} +4 -4
- package/build-module/store/{selectors.js → selectors.mjs} +3 -3
- package/build-module/store/{transformers.js → transformers.mjs} +1 -1
- package/build-module/store/{utils.js → utils.mjs} +1 -1
- package/build-style/style-rtl.css +12 -125
- package/build-style/style.css +12 -125
- package/package.json +44 -33
- package/src/style.scss +0 -2
- package/build/filters/index.js +0 -4
- package/build-module/filters/index.js +0 -4
- /package/build/blocks/widget-area/edit/{index.js.map → index.cjs.map} +0 -0
- /package/build/blocks/widget-area/edit/{inner-blocks.js.map → inner-blocks.cjs.map} +0 -0
- /package/build/blocks/widget-area/edit/{use-is-dragging-within.js.map → use-is-dragging-within.cjs.map} +0 -0
- /package/build/blocks/widget-area/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/error-boundary/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/header/document-tools/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/header/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/header/undo-redo/{redo.js.map → redo.cjs.map} +0 -0
- /package/build/components/header/undo-redo/{undo.js.map → undo.cjs.map} +0 -0
- /package/build/components/keyboard-shortcut-help-modal/{config.js.map → config.cjs.map} +0 -0
- /package/build/components/keyboard-shortcut-help-modal/{dynamic-shortcut.js.map → dynamic-shortcut.cjs.map} +0 -0
- /package/build/components/keyboard-shortcut-help-modal/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/keyboard-shortcut-help-modal/{shortcut.js.map → shortcut.cjs.map} +0 -0
- /package/build/components/keyboard-shortcuts/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/layout/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/layout/{interface.js.map → interface.cjs.map} +0 -0
- /package/build/components/layout/{unsaved-changes-warning.js.map → unsaved-changes-warning.cjs.map} +0 -0
- /package/build/components/more-menu/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/more-menu/{tools-more-menu-group.js.map → tools-more-menu-group.cjs.map} +0 -0
- /package/build/components/notices/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/save-button/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/secondary-sidebar/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/secondary-sidebar/{inserter-sidebar.js.map → inserter-sidebar.cjs.map} +0 -0
- /package/build/components/secondary-sidebar/{list-view-sidebar.js.map → list-view-sidebar.cjs.map} +0 -0
- /package/build/components/sidebar/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/sidebar/{widget-areas.js.map → widget-areas.cjs.map} +0 -0
- /package/build/components/welcome-guide/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/widget-areas-block-editor-content/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/widget-areas-block-editor-provider/{index.js.map → index.cjs.map} +0 -0
- /package/build/{constants.js.map → constants.cjs.map} +0 -0
- /package/build/filters/{index.js.map → index.cjs.map} +0 -0
- /package/build/filters/{move-to-widget-area.js.map → move-to-widget-area.cjs.map} +0 -0
- /package/build/filters/{replace-media-upload.js.map → replace-media-upload.cjs.map} +0 -0
- /package/build/hooks/{use-last-selected-widget-area.js.map → use-last-selected-widget-area.cjs.map} +0 -0
- /package/build/hooks/{use-widget-library-insertion-point.js.map → use-widget-library-insertion-point.cjs.map} +0 -0
- /package/build/{index.js.map → index.cjs.map} +0 -0
- /package/build/{lock-unlock.js.map → lock-unlock.cjs.map} +0 -0
- /package/build/store/{actions.js.map → actions.cjs.map} +0 -0
- /package/build/store/{constants.js.map → constants.cjs.map} +0 -0
- /package/build/store/{index.js.map → index.cjs.map} +0 -0
- /package/build/store/{private-selectors.js.map → private-selectors.cjs.map} +0 -0
- /package/build/store/{reducer.js.map → reducer.cjs.map} +0 -0
- /package/build/store/{resolvers.js.map → resolvers.cjs.map} +0 -0
- /package/build/store/{selectors.js.map → selectors.cjs.map} +0 -0
- /package/build/store/{transformers.js.map → transformers.cjs.map} +0 -0
- /package/build/store/{utils.js.map → utils.cjs.map} +0 -0
- /package/build-module/blocks/widget-area/edit/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/blocks/widget-area/edit/{inner-blocks.js.map → inner-blocks.mjs.map} +0 -0
- /package/build-module/blocks/widget-area/edit/{use-is-dragging-within.js.map → use-is-dragging-within.mjs.map} +0 -0
- /package/build-module/blocks/widget-area/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/error-boundary/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/header/document-tools/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/header/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/header/undo-redo/{redo.js.map → redo.mjs.map} +0 -0
- /package/build-module/components/header/undo-redo/{undo.js.map → undo.mjs.map} +0 -0
- /package/build-module/components/keyboard-shortcut-help-modal/{config.js.map → config.mjs.map} +0 -0
- /package/build-module/components/keyboard-shortcut-help-modal/{dynamic-shortcut.js.map → dynamic-shortcut.mjs.map} +0 -0
- /package/build-module/components/keyboard-shortcut-help-modal/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/keyboard-shortcut-help-modal/{shortcut.js.map → shortcut.mjs.map} +0 -0
- /package/build-module/components/keyboard-shortcuts/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/layout/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/layout/{interface.js.map → interface.mjs.map} +0 -0
- /package/build-module/components/layout/{unsaved-changes-warning.js.map → unsaved-changes-warning.mjs.map} +0 -0
- /package/build-module/components/more-menu/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/more-menu/{tools-more-menu-group.js.map → tools-more-menu-group.mjs.map} +0 -0
- /package/build-module/components/notices/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/save-button/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/secondary-sidebar/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/secondary-sidebar/{inserter-sidebar.js.map → inserter-sidebar.mjs.map} +0 -0
- /package/build-module/components/secondary-sidebar/{list-view-sidebar.js.map → list-view-sidebar.mjs.map} +0 -0
- /package/build-module/components/sidebar/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/sidebar/{widget-areas.js.map → widget-areas.mjs.map} +0 -0
- /package/build-module/components/welcome-guide/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/widget-areas-block-editor-content/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/widget-areas-block-editor-provider/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/{constants.js.map → constants.mjs.map} +0 -0
- /package/build-module/filters/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/filters/{move-to-widget-area.js.map → move-to-widget-area.mjs.map} +0 -0
- /package/build-module/filters/{replace-media-upload.js.map → replace-media-upload.mjs.map} +0 -0
- /package/build-module/hooks/{use-last-selected-widget-area.js.map → use-last-selected-widget-area.mjs.map} +0 -0
- /package/build-module/hooks/{use-widget-library-insertion-point.js.map → use-widget-library-insertion-point.mjs.map} +0 -0
- /package/build-module/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/{lock-unlock.js.map → lock-unlock.mjs.map} +0 -0
- /package/build-module/store/{actions.js.map → actions.mjs.map} +0 -0
- /package/build-module/store/{constants.js.map → constants.mjs.map} +0 -0
- /package/build-module/store/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/store/{private-selectors.js.map → private-selectors.mjs.map} +0 -0
- /package/build-module/store/{reducer.js.map → reducer.mjs.map} +0 -0
- /package/build-module/store/{resolvers.js.map → resolvers.mjs.map} +0 -0
- /package/build-module/store/{selectors.js.map → selectors.mjs.map} +0 -0
- /package/build-module/store/{transformers.js.map → transformers.mjs.map} +0 -0
- /package/build-module/store/{utils.js.map → utils.mjs.map} +0 -0
|
@@ -34,13 +34,13 @@ __export(store_exports, {
|
|
|
34
34
|
module.exports = __toCommonJS(store_exports);
|
|
35
35
|
var import_api_fetch = __toESM(require("@wordpress/api-fetch"));
|
|
36
36
|
var import_data = require("@wordpress/data");
|
|
37
|
-
var import_reducer = __toESM(require("./reducer"));
|
|
38
|
-
var resolvers = __toESM(require("./resolvers"));
|
|
39
|
-
var selectors = __toESM(require("./selectors"));
|
|
40
|
-
var actions = __toESM(require("./actions"));
|
|
41
|
-
var privateSelectors = __toESM(require("./private-selectors"));
|
|
42
|
-
var import_constants = require("./constants");
|
|
43
|
-
var import_lock_unlock = require("../lock-unlock");
|
|
37
|
+
var import_reducer = __toESM(require("./reducer.cjs"));
|
|
38
|
+
var resolvers = __toESM(require("./resolvers.cjs"));
|
|
39
|
+
var selectors = __toESM(require("./selectors.cjs"));
|
|
40
|
+
var actions = __toESM(require("./actions.cjs"));
|
|
41
|
+
var privateSelectors = __toESM(require("./private-selectors.cjs"));
|
|
42
|
+
var import_constants = require("./constants.cjs");
|
|
43
|
+
var import_lock_unlock = require("../lock-unlock.cjs");
|
|
44
44
|
var storeConfig = {
|
|
45
45
|
reducer: import_reducer.default,
|
|
46
46
|
selectors,
|
|
@@ -60,4 +60,4 @@ import_api_fetch.default.use(function(options, next) {
|
|
|
60
60
|
0 && (module.exports = {
|
|
61
61
|
store
|
|
62
62
|
});
|
|
63
|
-
//# sourceMappingURL=index.
|
|
63
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -25,9 +25,9 @@ __export(resolvers_exports, {
|
|
|
25
25
|
module.exports = __toCommonJS(resolvers_exports);
|
|
26
26
|
var import_blocks = require("@wordpress/blocks");
|
|
27
27
|
var import_core_data = require("@wordpress/core-data");
|
|
28
|
-
var import_actions = require("./actions");
|
|
29
|
-
var import_utils = require("./utils");
|
|
30
|
-
var import_transformers = require("./transformers");
|
|
28
|
+
var import_actions = require("./actions.cjs");
|
|
29
|
+
var import_utils = require("./utils.cjs");
|
|
30
|
+
var import_transformers = require("./transformers.cjs");
|
|
31
31
|
var getWidgetAreas = () => async ({ dispatch, registry }) => {
|
|
32
32
|
const query = (0, import_utils.buildWidgetAreasQuery)();
|
|
33
33
|
const widgetAreas = await registry.resolveSelect(import_core_data.store).getEntityRecords(import_utils.KIND, import_utils.WIDGET_AREA_ENTITY_TYPE, query);
|
|
@@ -91,4 +91,4 @@ var getWidgets = () => async ({ dispatch, registry }) => {
|
|
|
91
91
|
getWidgetAreas,
|
|
92
92
|
getWidgets
|
|
93
93
|
});
|
|
94
|
-
//# sourceMappingURL=resolvers.
|
|
94
|
+
//# sourceMappingURL=resolvers.cjs.map
|
|
@@ -39,8 +39,8 @@ var import_data = require("@wordpress/data");
|
|
|
39
39
|
var import_widgets = require("@wordpress/widgets");
|
|
40
40
|
var import_core_data = require("@wordpress/core-data");
|
|
41
41
|
var import_block_editor = require("@wordpress/block-editor");
|
|
42
|
-
var import_utils = require("./utils");
|
|
43
|
-
var import_constants = require("./constants");
|
|
42
|
+
var import_utils = require("./utils.cjs");
|
|
43
|
+
var import_constants = require("./constants.cjs");
|
|
44
44
|
var EMPTY_INSERTION_POINT = {
|
|
45
45
|
rootClientId: void 0,
|
|
46
46
|
insertionIndex: void 0
|
|
@@ -236,4 +236,4 @@ function isWidgetSavingLocked(state) {
|
|
|
236
236
|
isSavingWidgetAreas,
|
|
237
237
|
isWidgetSavingLocked
|
|
238
238
|
});
|
|
239
|
-
//# sourceMappingURL=selectors.
|
|
239
|
+
//# sourceMappingURL=selectors.cjs.map
|
|
@@ -8,9 +8,9 @@ import {
|
|
|
8
8
|
PanelBody
|
|
9
9
|
} from "@wordpress/components";
|
|
10
10
|
import { useBlockProps } from "@wordpress/block-editor";
|
|
11
|
-
import WidgetAreaInnerBlocks from "./inner-blocks";
|
|
12
|
-
import { store as editWidgetsStore } from "../../../store";
|
|
13
|
-
import useIsDraggingWithin from "./use-is-dragging-within";
|
|
11
|
+
import WidgetAreaInnerBlocks from "./inner-blocks.mjs";
|
|
12
|
+
import { store as editWidgetsStore } from "../../../store/index.mjs";
|
|
13
|
+
import useIsDraggingWithin from "./use-is-dragging-within.mjs";
|
|
14
14
|
import { jsx } from "react/jsx-runtime";
|
|
15
15
|
function WidgetAreaEdit({
|
|
16
16
|
clientId,
|
|
@@ -98,4 +98,4 @@ var useIsDragging = (elementRef) => {
|
|
|
98
98
|
export {
|
|
99
99
|
WidgetAreaEdit as default
|
|
100
100
|
};
|
|
101
|
-
//# sourceMappingURL=index.
|
|
101
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -3,7 +3,7 @@ import clsx from "clsx";
|
|
|
3
3
|
import { useEntityBlockEditor } from "@wordpress/core-data";
|
|
4
4
|
import { InnerBlocks, useInnerBlocksProps } from "@wordpress/block-editor";
|
|
5
5
|
import { useRef } from "@wordpress/element";
|
|
6
|
-
import useIsDraggingWithin from "./use-is-dragging-within";
|
|
6
|
+
import useIsDraggingWithin from "./use-is-dragging-within.mjs";
|
|
7
7
|
import { jsx } from "react/jsx-runtime";
|
|
8
8
|
function WidgetAreaInnerBlocks({ id }) {
|
|
9
9
|
const [blocks, onInput, onChange] = useEntityBlockEditor(
|
|
@@ -40,4 +40,4 @@ function WidgetAreaInnerBlocks({ id }) {
|
|
|
40
40
|
export {
|
|
41
41
|
WidgetAreaInnerBlocks as default
|
|
42
42
|
};
|
|
43
|
-
//# sourceMappingURL=inner-blocks.
|
|
43
|
+
//# sourceMappingURL=inner-blocks.mjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// packages/edit-widgets/src/blocks/widget-area/index.js
|
|
2
2
|
import { __ } from "@wordpress/i18n";
|
|
3
3
|
import metadata from "./block.json";
|
|
4
|
-
import edit from "./edit";
|
|
4
|
+
import edit from "./edit/index.mjs";
|
|
5
5
|
var { name } = metadata;
|
|
6
6
|
var settings = {
|
|
7
7
|
title: __("Widget Area"),
|
|
@@ -14,4 +14,4 @@ export {
|
|
|
14
14
|
name,
|
|
15
15
|
settings
|
|
16
16
|
};
|
|
17
|
-
//# sourceMappingURL=index.
|
|
17
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -6,10 +6,10 @@ import { NavigableToolbar } from "@wordpress/block-editor";
|
|
|
6
6
|
import { listView, plus } from "@wordpress/icons";
|
|
7
7
|
import { useCallback } from "@wordpress/element";
|
|
8
8
|
import { useViewportMatch } from "@wordpress/compose";
|
|
9
|
-
import UndoButton from "../undo-redo/undo";
|
|
10
|
-
import RedoButton from "../undo-redo/redo";
|
|
11
|
-
import { store as editWidgetsStore } from "../../../store";
|
|
12
|
-
import { unlock } from "../../../lock-unlock";
|
|
9
|
+
import UndoButton from "../undo-redo/undo.mjs";
|
|
10
|
+
import RedoButton from "../undo-redo/redo.mjs";
|
|
11
|
+
import { store as editWidgetsStore } from "../../../store/index.mjs";
|
|
12
|
+
import { unlock } from "../../../lock-unlock.mjs";
|
|
13
13
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
14
14
|
function DocumentTools() {
|
|
15
15
|
const isMediumViewport = useViewportMatch("medium");
|
|
@@ -93,4 +93,4 @@ var document_tools_default = DocumentTools;
|
|
|
93
93
|
export {
|
|
94
94
|
document_tools_default as default
|
|
95
95
|
};
|
|
96
|
-
//# sourceMappingURL=index.
|
|
96
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -7,9 +7,9 @@ import { Popover, VisuallyHidden } from "@wordpress/components";
|
|
|
7
7
|
import { PinnedItems } from "@wordpress/interface";
|
|
8
8
|
import { useViewportMatch } from "@wordpress/compose";
|
|
9
9
|
import { store as preferencesStore } from "@wordpress/preferences";
|
|
10
|
-
import DocumentTools from "./document-tools";
|
|
11
|
-
import SaveButton from "../save-button";
|
|
12
|
-
import MoreMenu from "../more-menu";
|
|
10
|
+
import DocumentTools from "./document-tools/index.mjs";
|
|
11
|
+
import SaveButton from "../save-button/index.mjs";
|
|
12
|
+
import MoreMenu from "../more-menu/index.mjs";
|
|
13
13
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
14
14
|
function Header() {
|
|
15
15
|
const isLargeViewport = useViewportMatch("medium");
|
|
@@ -57,4 +57,4 @@ var header_default = Header;
|
|
|
57
57
|
export {
|
|
58
58
|
header_default as default
|
|
59
59
|
};
|
|
60
|
-
//# sourceMappingURL=index.
|
|
60
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// packages/edit-widgets/src/components/keyboard-shortcut-help-modal/dynamic-shortcut.js
|
|
2
2
|
import { useSelect } from "@wordpress/data";
|
|
3
3
|
import { store as keyboardShortcutsStore } from "@wordpress/keyboard-shortcuts";
|
|
4
|
-
import Shortcut from "./shortcut";
|
|
4
|
+
import Shortcut from "./shortcut.mjs";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
function DynamicShortcut({ name }) {
|
|
7
7
|
const { keyCombination, description, aliases } = useSelect(
|
|
@@ -35,4 +35,4 @@ var dynamic_shortcut_default = DynamicShortcut;
|
|
|
35
35
|
export {
|
|
36
36
|
dynamic_shortcut_default as default
|
|
37
37
|
};
|
|
38
|
-
//# sourceMappingURL=dynamic-shortcut.
|
|
38
|
+
//# sourceMappingURL=dynamic-shortcut.mjs.map
|
|
@@ -7,9 +7,9 @@ import {
|
|
|
7
7
|
store as keyboardShortcutsStore
|
|
8
8
|
} from "@wordpress/keyboard-shortcuts";
|
|
9
9
|
import { useSelect } from "@wordpress/data";
|
|
10
|
-
import { textFormattingShortcuts } from "./config";
|
|
11
|
-
import Shortcut from "./shortcut";
|
|
12
|
-
import DynamicShortcut from "./dynamic-shortcut";
|
|
10
|
+
import { textFormattingShortcuts } from "./config.mjs";
|
|
11
|
+
import Shortcut from "./shortcut.mjs";
|
|
12
|
+
import DynamicShortcut from "./dynamic-shortcut.mjs";
|
|
13
13
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
14
14
|
var ShortcutList = ({ shortcuts }) => (
|
|
15
15
|
/*
|
|
@@ -143,4 +143,4 @@ function KeyboardShortcutHelpModal({
|
|
|
143
143
|
export {
|
|
144
144
|
KeyboardShortcutHelpModal as default
|
|
145
145
|
};
|
|
146
|
-
//# sourceMappingURL=index.
|
|
146
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -8,7 +8,7 @@ import { isAppleOS } from "@wordpress/keycodes";
|
|
|
8
8
|
import { useDispatch } from "@wordpress/data";
|
|
9
9
|
import { __ } from "@wordpress/i18n";
|
|
10
10
|
import { store as coreStore } from "@wordpress/core-data";
|
|
11
|
-
import { store as editWidgetsStore } from "../../store";
|
|
11
|
+
import { store as editWidgetsStore } from "../../store/index.mjs";
|
|
12
12
|
function KeyboardShortcuts() {
|
|
13
13
|
const { redo, undo } = useDispatch(coreStore);
|
|
14
14
|
const { saveEditedWidgetAreas } = useDispatch(editWidgetsStore);
|
|
@@ -117,4 +117,4 @@ var keyboard_shortcuts_default = KeyboardShortcuts;
|
|
|
117
117
|
export {
|
|
118
118
|
keyboard_shortcuts_default as default
|
|
119
119
|
};
|
|
120
|
-
//# sourceMappingURL=index.
|
|
120
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -4,12 +4,12 @@ import { useDispatch } from "@wordpress/data";
|
|
|
4
4
|
import { PluginArea } from "@wordpress/plugins";
|
|
5
5
|
import { store as noticesStore } from "@wordpress/notices";
|
|
6
6
|
import { __unstableUseNavigateRegions as useNavigateRegions } from "@wordpress/components";
|
|
7
|
-
import ErrorBoundary from "../error-boundary";
|
|
8
|
-
import WidgetAreasBlockEditorProvider from "../widget-areas-block-editor-provider";
|
|
9
|
-
import Sidebar from "../sidebar";
|
|
10
|
-
import Interface from "./interface";
|
|
11
|
-
import UnsavedChangesWarning from "./unsaved-changes-warning";
|
|
12
|
-
import WelcomeGuide from "../welcome-guide";
|
|
7
|
+
import ErrorBoundary from "../error-boundary/index.mjs";
|
|
8
|
+
import WidgetAreasBlockEditorProvider from "../widget-areas-block-editor-provider/index.mjs";
|
|
9
|
+
import Sidebar from "../sidebar/index.mjs";
|
|
10
|
+
import Interface from "./interface.mjs";
|
|
11
|
+
import UnsavedChangesWarning from "./unsaved-changes-warning.mjs";
|
|
12
|
+
import WelcomeGuide from "../welcome-guide/index.mjs";
|
|
13
13
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
14
14
|
function Layout({ blockEditorSettings }) {
|
|
15
15
|
const { createErrorNotice } = useDispatch(noticesStore);
|
|
@@ -51,4 +51,4 @@ var layout_default = Layout;
|
|
|
51
51
|
export {
|
|
52
52
|
layout_default as default
|
|
53
53
|
};
|
|
54
|
-
//# sourceMappingURL=index.
|
|
54
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -10,10 +10,10 @@ import {
|
|
|
10
10
|
} from "@wordpress/interface";
|
|
11
11
|
import { __ } from "@wordpress/i18n";
|
|
12
12
|
import { store as preferencesStore } from "@wordpress/preferences";
|
|
13
|
-
import Header from "../header";
|
|
14
|
-
import WidgetAreasBlockEditorContent from "../widget-areas-block-editor-content";
|
|
15
|
-
import { store as editWidgetsStore } from "../../store";
|
|
16
|
-
import SecondarySidebar from "../secondary-sidebar";
|
|
13
|
+
import Header from "../header/index.mjs";
|
|
14
|
+
import WidgetAreasBlockEditorContent from "../widget-areas-block-editor-content/index.mjs";
|
|
15
|
+
import { store as editWidgetsStore } from "../../store/index.mjs";
|
|
16
|
+
import SecondarySidebar from "../secondary-sidebar/index.mjs";
|
|
17
17
|
import { Fragment, jsx } from "react/jsx-runtime";
|
|
18
18
|
var interfaceLabels = {
|
|
19
19
|
/* translators: accessibility text for the widgets screen top bar landmark region. */
|
|
@@ -85,4 +85,4 @@ var interface_default = Interface;
|
|
|
85
85
|
export {
|
|
86
86
|
interface_default as default
|
|
87
87
|
};
|
|
88
|
-
//# sourceMappingURL=interface.
|
|
88
|
+
//# sourceMappingURL=interface.mjs.map
|
package/build-module/components/layout/{unsaved-changes-warning.js → unsaved-changes-warning.mjs}
RENAMED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { __ } from "@wordpress/i18n";
|
|
3
3
|
import { useEffect } from "@wordpress/element";
|
|
4
4
|
import { useSelect } from "@wordpress/data";
|
|
5
|
-
import { store as editWidgetsStore } from "../../store";
|
|
5
|
+
import { store as editWidgetsStore } from "../../store/index.mjs";
|
|
6
6
|
function UnsavedChangesWarning() {
|
|
7
7
|
const isDirty = useSelect((select) => {
|
|
8
8
|
const { getEditedWidgetAreas } = select(editWidgetsStore);
|
|
@@ -28,4 +28,4 @@ function UnsavedChangesWarning() {
|
|
|
28
28
|
export {
|
|
29
29
|
UnsavedChangesWarning as default
|
|
30
30
|
};
|
|
31
|
-
//# sourceMappingURL=unsaved-changes-warning.
|
|
31
|
+
//# sourceMappingURL=unsaved-changes-warning.mjs.map
|
|
@@ -12,8 +12,8 @@ import { PreferenceToggleMenuItem } from "@wordpress/preferences";
|
|
|
12
12
|
import { displayShortcut } from "@wordpress/keycodes";
|
|
13
13
|
import { useShortcut } from "@wordpress/keyboard-shortcuts";
|
|
14
14
|
import { useViewportMatch } from "@wordpress/compose";
|
|
15
|
-
import KeyboardShortcutHelpModal from "../keyboard-shortcut-help-modal";
|
|
16
|
-
import ToolsMoreMenuGroup from "./tools-more-menu-group";
|
|
15
|
+
import KeyboardShortcutHelpModal from "../keyboard-shortcut-help-modal/index.mjs";
|
|
16
|
+
import ToolsMoreMenuGroup from "./tools-more-menu-group.mjs";
|
|
17
17
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
18
18
|
function MoreMenu() {
|
|
19
19
|
const [
|
|
@@ -168,4 +168,4 @@ function MoreMenu() {
|
|
|
168
168
|
export {
|
|
169
169
|
MoreMenu as default
|
|
170
170
|
};
|
|
171
|
-
//# sourceMappingURL=index.
|
|
171
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { Button } from "@wordpress/components";
|
|
3
3
|
import { __ } from "@wordpress/i18n";
|
|
4
4
|
import { useDispatch, useSelect } from "@wordpress/data";
|
|
5
|
-
import { store as editWidgetsStore } from "../../store";
|
|
5
|
+
import { store as editWidgetsStore } from "../../store/index.mjs";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
function SaveButton() {
|
|
8
8
|
const { hasEditedWidgetAreaIds, isSaving, isWidgetSaveLocked } = useSelect(
|
|
@@ -38,4 +38,4 @@ var save_button_default = SaveButton;
|
|
|
38
38
|
export {
|
|
39
39
|
save_button_default as default
|
|
40
40
|
};
|
|
41
|
-
//# sourceMappingURL=index.
|
|
41
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// packages/edit-widgets/src/components/secondary-sidebar/index.js
|
|
2
2
|
import { useSelect } from "@wordpress/data";
|
|
3
|
-
import { store as editWidgetsStore } from "../../store";
|
|
4
|
-
import InserterSidebar from "./inserter-sidebar";
|
|
5
|
-
import ListViewSidebar from "./list-view-sidebar";
|
|
3
|
+
import { store as editWidgetsStore } from "../../store/index.mjs";
|
|
4
|
+
import InserterSidebar from "./inserter-sidebar.mjs";
|
|
5
|
+
import ListViewSidebar from "./list-view-sidebar.mjs";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
function SecondarySidebar() {
|
|
8
8
|
const { isInserterOpen, isListViewOpen } = useSelect((select) => {
|
|
@@ -23,4 +23,4 @@ function SecondarySidebar() {
|
|
|
23
23
|
export {
|
|
24
24
|
SecondarySidebar as default
|
|
25
25
|
};
|
|
26
|
-
//# sourceMappingURL=index.
|
|
26
|
+
//# sourceMappingURL=index.mjs.map
|
package/build-module/components/secondary-sidebar/{inserter-sidebar.js → inserter-sidebar.mjs}
RENAMED
|
@@ -3,8 +3,8 @@ import { __experimentalLibrary as Library } from "@wordpress/block-editor";
|
|
|
3
3
|
import { useViewportMatch } from "@wordpress/compose";
|
|
4
4
|
import { useCallback, useRef } from "@wordpress/element";
|
|
5
5
|
import { useDispatch } from "@wordpress/data";
|
|
6
|
-
import useWidgetLibraryInsertionPoint from "../../hooks/use-widget-library-insertion-point";
|
|
7
|
-
import { store as editWidgetsStore } from "../../store";
|
|
6
|
+
import useWidgetLibraryInsertionPoint from "../../hooks/use-widget-library-insertion-point.mjs";
|
|
7
|
+
import { store as editWidgetsStore } from "../../store/index.mjs";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
9
|
function InserterSidebar() {
|
|
10
10
|
const isMobileViewport = useViewportMatch("medium", "<");
|
|
@@ -29,4 +29,4 @@ function InserterSidebar() {
|
|
|
29
29
|
export {
|
|
30
30
|
InserterSidebar as default
|
|
31
31
|
};
|
|
32
|
-
//# sourceMappingURL=inserter-sidebar.
|
|
32
|
+
//# sourceMappingURL=inserter-sidebar.mjs.map
|
package/build-module/components/secondary-sidebar/{list-view-sidebar.js → list-view-sidebar.mjs}
RENAMED
|
@@ -7,8 +7,8 @@ import { useCallback, useState } from "@wordpress/element";
|
|
|
7
7
|
import { __ } from "@wordpress/i18n";
|
|
8
8
|
import { closeSmall } from "@wordpress/icons";
|
|
9
9
|
import { ESCAPE } from "@wordpress/keycodes";
|
|
10
|
-
import { store as editWidgetsStore } from "../../store";
|
|
11
|
-
import { unlock } from "../../lock-unlock";
|
|
10
|
+
import { store as editWidgetsStore } from "../../store/index.mjs";
|
|
11
|
+
import { unlock } from "../../lock-unlock.mjs";
|
|
12
12
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
13
13
|
function ListViewSidebar() {
|
|
14
14
|
const { setIsListViewOpened } = useDispatch(editWidgetsStore);
|
|
@@ -64,4 +64,4 @@ function ListViewSidebar() {
|
|
|
64
64
|
export {
|
|
65
65
|
ListViewSidebar as default
|
|
66
66
|
};
|
|
67
|
-
//# sourceMappingURL=list-view-sidebar.
|
|
67
|
+
//# sourceMappingURL=list-view-sidebar.mjs.map
|
|
@@ -17,9 +17,9 @@ import {
|
|
|
17
17
|
import { drawerLeft, drawerRight } from "@wordpress/icons";
|
|
18
18
|
import { privateApis as componentsPrivateApis } from "@wordpress/components";
|
|
19
19
|
import { useSelect, useDispatch } from "@wordpress/data";
|
|
20
|
-
import WidgetAreas from "./widget-areas";
|
|
21
|
-
import { store as editWidgetsStore } from "../../store";
|
|
22
|
-
import { unlock } from "../../lock-unlock";
|
|
20
|
+
import WidgetAreas from "./widget-areas.mjs";
|
|
21
|
+
import { store as editWidgetsStore } from "../../store/index.mjs";
|
|
22
|
+
import { unlock } from "../../lock-unlock.mjs";
|
|
23
23
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
24
24
|
var SIDEBAR_ACTIVE_BY_DEFAULT = Platform.select({
|
|
25
25
|
web: true,
|
|
@@ -175,4 +175,4 @@ function Sidebar() {
|
|
|
175
175
|
export {
|
|
176
176
|
Sidebar as default
|
|
177
177
|
};
|
|
178
|
-
//# sourceMappingURL=index.
|
|
178
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -7,7 +7,7 @@ import { Button } from "@wordpress/components";
|
|
|
7
7
|
import { __ } from "@wordpress/i18n";
|
|
8
8
|
import { addQueryArgs } from "@wordpress/url";
|
|
9
9
|
import { safeHTML } from "@wordpress/dom";
|
|
10
|
-
import { store as editWidgetsStore } from "../../store";
|
|
10
|
+
import { store as editWidgetsStore } from "../../store/index.mjs";
|
|
11
11
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
12
12
|
function WidgetAreas({ selectedWidgetAreaId }) {
|
|
13
13
|
const widgetAreas = useSelect(
|
|
@@ -65,4 +65,4 @@ function WidgetAreas({ selectedWidgetAreaId }) {
|
|
|
65
65
|
export {
|
|
66
66
|
WidgetAreas as default
|
|
67
67
|
};
|
|
68
|
-
//# sourceMappingURL=widget-areas.
|
|
68
|
+
//# sourceMappingURL=widget-areas.mjs.map
|
|
@@ -4,7 +4,7 @@ import { ExternalLink, Guide } from "@wordpress/components";
|
|
|
4
4
|
import { __, sprintf, _n } from "@wordpress/i18n";
|
|
5
5
|
import { createInterpolateElement } from "@wordpress/element";
|
|
6
6
|
import { store as preferencesStore } from "@wordpress/preferences";
|
|
7
|
-
import { store as editWidgetsStore } from "../../store";
|
|
7
|
+
import { store as editWidgetsStore } from "../../store/index.mjs";
|
|
8
8
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
9
9
|
function WelcomeGuide() {
|
|
10
10
|
const isActive = useSelect(
|
|
@@ -168,4 +168,4 @@ function WelcomeGuideImage({ nonAnimatedSrc, animatedSrc }) {
|
|
|
168
168
|
export {
|
|
169
169
|
WelcomeGuide as default
|
|
170
170
|
};
|
|
171
|
-
//# sourceMappingURL=index.
|
|
171
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -11,8 +11,8 @@ import { useViewportMatch } from "@wordpress/compose";
|
|
|
11
11
|
import { useSelect } from "@wordpress/data";
|
|
12
12
|
import { useMemo } from "@wordpress/element";
|
|
13
13
|
import { store as preferencesStore } from "@wordpress/preferences";
|
|
14
|
-
import Notices from "../notices";
|
|
15
|
-
import KeyboardShortcuts from "../keyboard-shortcuts";
|
|
14
|
+
import Notices from "../notices/index.mjs";
|
|
15
|
+
import KeyboardShortcuts from "../keyboard-shortcuts/index.mjs";
|
|
16
16
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
17
17
|
function WidgetAreasBlockEditorContent({
|
|
18
18
|
blockEditorSettings
|
|
@@ -47,4 +47,4 @@ function WidgetAreasBlockEditorContent({
|
|
|
47
47
|
export {
|
|
48
48
|
WidgetAreasBlockEditorContent as default
|
|
49
49
|
};
|
|
50
|
-
//# sourceMappingURL=index.
|
|
50
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -9,12 +9,12 @@ import { privateApis as blockEditorPrivateApis } from "@wordpress/block-editor";
|
|
|
9
9
|
import { privateApis as editPatternsPrivateApis } from "@wordpress/patterns";
|
|
10
10
|
import { store as preferencesStore } from "@wordpress/preferences";
|
|
11
11
|
import { privateApis as blockLibraryPrivateApis } from "@wordpress/block-library";
|
|
12
|
-
import KeyboardShortcuts from "../keyboard-shortcuts";
|
|
13
|
-
import { buildWidgetAreasPostId, KIND, POST_TYPE } from "../../store/utils";
|
|
14
|
-
import useLastSelectedWidgetArea from "../../hooks/use-last-selected-widget-area";
|
|
15
|
-
import { store as editWidgetsStore } from "../../store";
|
|
16
|
-
import { ALLOW_REUSABLE_BLOCKS } from "../../constants";
|
|
17
|
-
import { unlock } from "../../lock-unlock";
|
|
12
|
+
import KeyboardShortcuts from "../keyboard-shortcuts/index.mjs";
|
|
13
|
+
import { buildWidgetAreasPostId, KIND, POST_TYPE } from "../../store/utils.mjs";
|
|
14
|
+
import useLastSelectedWidgetArea from "../../hooks/use-last-selected-widget-area.mjs";
|
|
15
|
+
import { store as editWidgetsStore } from "../../store/index.mjs";
|
|
16
|
+
import { ALLOW_REUSABLE_BLOCKS } from "../../constants.mjs";
|
|
17
|
+
import { unlock } from "../../lock-unlock.mjs";
|
|
18
18
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
19
19
|
var { ExperimentalBlockEditorProvider } = unlock(blockEditorPrivateApis);
|
|
20
20
|
var { PatternsMenuItems } = unlock(editPatternsPrivateApis);
|
|
@@ -121,4 +121,4 @@ function WidgetAreasBlockEditorProvider({
|
|
|
121
121
|
export {
|
|
122
122
|
WidgetAreasBlockEditorProvider as default
|
|
123
123
|
};
|
|
124
|
-
//# sourceMappingURL=index.
|
|
124
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -4,7 +4,7 @@ import { createHigherOrderComponent } from "@wordpress/compose";
|
|
|
4
4
|
import { useDispatch, useSelect } from "@wordpress/data";
|
|
5
5
|
import { addFilter } from "@wordpress/hooks";
|
|
6
6
|
import { MoveToWidgetArea } from "@wordpress/widgets";
|
|
7
|
-
import { store as editWidgetsStore } from "../store";
|
|
7
|
+
import { store as editWidgetsStore } from "../store/index.mjs";
|
|
8
8
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
9
9
|
var withMoveToWidgetAreaToolbarItem = createHigherOrderComponent(
|
|
10
10
|
(BlockEdit) => (props) => {
|
|
@@ -51,4 +51,4 @@ addFilter(
|
|
|
51
51
|
"core/edit-widgets/block-edit",
|
|
52
52
|
withMoveToWidgetAreaToolbarItem
|
|
53
53
|
);
|
|
54
|
-
//# sourceMappingURL=move-to-widget-area.
|
|
54
|
+
//# sourceMappingURL=move-to-widget-area.mjs.map
|
package/build-module/hooks/{use-last-selected-widget-area.js → use-last-selected-widget-area.mjs}
RENAMED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import { useSelect } from "@wordpress/data";
|
|
3
3
|
import { store as blockEditorStore } from "@wordpress/block-editor";
|
|
4
4
|
import { store as coreStore } from "@wordpress/core-data";
|
|
5
|
-
import { store as widgetsEditorStore } from "../store";
|
|
6
|
-
import { buildWidgetAreasPostId, KIND, POST_TYPE } from "../store/utils";
|
|
5
|
+
import { store as widgetsEditorStore } from "../store/index.mjs";
|
|
6
|
+
import { buildWidgetAreasPostId, KIND, POST_TYPE } from "../store/utils.mjs";
|
|
7
7
|
var useLastSelectedWidgetArea = () => useSelect((select) => {
|
|
8
8
|
const { getBlockSelectionEnd, getBlockName } = select(blockEditorStore);
|
|
9
9
|
const selectionEndClientId = getBlockSelectionEnd();
|
|
@@ -28,4 +28,4 @@ var use_last_selected_widget_area_default = useLastSelectedWidgetArea;
|
|
|
28
28
|
export {
|
|
29
29
|
use_last_selected_widget_area_default as default
|
|
30
30
|
};
|
|
31
|
-
//# sourceMappingURL=use-last-selected-widget-area.
|
|
31
|
+
//# sourceMappingURL=use-last-selected-widget-area.mjs.map
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import { useSelect } from "@wordpress/data";
|
|
3
3
|
import { store as blockEditorStore } from "@wordpress/block-editor";
|
|
4
4
|
import { store as coreStore } from "@wordpress/core-data";
|
|
5
|
-
import { store as editWidgetsStore } from "../store";
|
|
6
|
-
import { buildWidgetAreasPostId, KIND, POST_TYPE } from "../store/utils";
|
|
5
|
+
import { store as editWidgetsStore } from "../store/index.mjs";
|
|
6
|
+
import { buildWidgetAreasPostId, KIND, POST_TYPE } from "../store/utils.mjs";
|
|
7
7
|
var useWidgetLibraryInsertionPoint = () => {
|
|
8
8
|
const firstRootId = useSelect((select) => {
|
|
9
9
|
const { getEntityRecord } = select(coreStore);
|
|
@@ -46,4 +46,4 @@ var use_widget_library_insertion_point_default = useWidgetLibraryInsertionPoint;
|
|
|
46
46
|
export {
|
|
47
47
|
use_widget_library_insertion_point_default as default
|
|
48
48
|
};
|
|
49
|
-
//# sourceMappingURL=use-widget-library-insertion-point.
|
|
49
|
+
//# sourceMappingURL=use-widget-library-insertion-point.mjs.map
|