eddev 2.2.12 → 2.3.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/dist/app/entry/boot-admin.d.ts.map +1 -1
- package/dist/app/entry/boot-admin.js +2 -0
- package/dist/app/lib/admin/installFieldTypes.js +2 -2
- package/dist/app/lib/blocks/builtin-blocks.d.ts.map +1 -1
- package/dist/app/lib/blocks/builtin-blocks.js +1 -0
- package/dist/app/lib/blocks/editor/{EditorSupport.d.ts → EditableBlock.d.ts} +1 -1
- package/dist/app/lib/blocks/editor/EditableBlock.d.ts.map +1 -0
- package/dist/app/lib/blocks/editor/{EditorSupport.js → EditableBlock.js} +2 -2
- package/dist/app/lib/blocks/editor/EditorHighlights.d.ts.map +1 -1
- package/dist/app/lib/blocks/editor/EditorHighlights.js +7 -4
- package/dist/app/lib/blocks/editor/editor-config.d.ts.map +1 -1
- package/dist/app/lib/blocks/editor/editor-config.js +10 -5
- package/dist/app/lib/blocks/editor/get-editor-document.d.ts +3 -0
- package/dist/app/lib/blocks/editor/get-editor-document.d.ts.map +1 -0
- package/dist/app/lib/blocks/editor/get-editor-document.js +10 -0
- package/dist/app/lib/blocks/editor/installGutenbergHooks.d.ts.map +1 -1
- package/dist/app/lib/blocks/editor/installGutenbergHooks.js +34 -7
- package/dist/app/lib/devtools/hooks/usePersistState.d.ts.map +1 -1
- package/dist/app/lib/devtools/hooks/usePersistState.js +8 -1
- package/dist/app/lib/devtools/hooks/useTailwind.d.ts +65 -65
- package/dist/app/lib/devtools/hooks/useTailwind.d.ts.map +1 -1
- package/dist/app/lib/legacy-stitches/createStitches.d.ts +7 -7
- package/dist/app/lib/legacy-stitches/createStitches.d.ts.map +1 -1
- package/dist/app/lib/routing/components/Link.d.ts.map +1 -1
- package/dist/app/lib/routing/components/Link.js +2 -0
- package/dist/app/server/proxy-wp-admin.d.ts.map +1 -1
- package/dist/app/server/proxy-wp-admin.js +2 -2
- package/dist/node/cli/version.d.ts +1 -1
- package/dist/node/cli/version.d.ts.map +1 -1
- package/dist/node/cli/version.js +1 -1
- package/dist/node/compiler/get-vite-config.d.ts.map +1 -1
- package/dist/node/compiler/get-vite-config.js +3 -0
- package/dist/node/project/config.d.ts +1 -1
- package/dist/node/project/eddev-build-file.d.ts.map +1 -1
- package/dist/node/project/eddev-build-file.js +2 -0
- package/dist/node/project/project.d.ts +1 -0
- package/dist/node/project/project.d.ts.map +1 -1
- package/dist/node/project/wp-info.d.ts +1 -0
- package/dist/node/project/wp-info.d.ts.map +1 -1
- package/dist/node/project/wp-info.js +2 -0
- package/dist/node/types/block-type.d.ts +1 -1
- package/dist/node/utils/fs.d.ts +1 -1
- package/dist/node/utils/fs.d.ts.map +1 -1
- package/package.json +2 -3
- package/.yarnrc.yml +0 -1
- package/dist/app/lib/blocks/editor/EditorSupport.d.ts.map +0 -1
- package/dist/app/lib/devtools/components/panels/monaco-graphql.worker.d.ts +0 -2
- package/dist/app/lib/devtools/components/panels/monaco-graphql.worker.d.ts.map +0 -1
- package/dist/app/lib/devtools/components/panels/monaco-graphql.worker.js +0 -9
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"boot-admin.d.ts","sourceRoot":"","sources":["../../../src/app/entry/boot-admin.tsx"],"names":[],"mappings":"AAIA,MAAM,CAAC,OAAO,UAAU,SAAS,
|
|
1
|
+
{"version":3,"file":"boot-admin.d.ts","sourceRoot":"","sources":["../../../src/app/entry/boot-admin.tsx"],"names":[],"mappings":"AAIA,MAAM,CAAC,OAAO,UAAU,SAAS,SAShC"}
|
|
@@ -3,6 +3,8 @@ import { runWidgets } from "../lib/admin/runWidgets.js";
|
|
|
3
3
|
import { installEDGutenbergHooks } from "../lib/blocks/editor/installGutenbergHooks.js";
|
|
4
4
|
export default function bootAdmin() {
|
|
5
5
|
if (window.name === "editor-canvas") {
|
|
6
|
+
installFieldTypes();
|
|
7
|
+
runWidgets();
|
|
6
8
|
}
|
|
7
9
|
else {
|
|
8
10
|
installEDGutenbergHooks();
|
|
@@ -32,8 +32,8 @@ export function installFieldTypes() {
|
|
|
32
32
|
ReactDOM.createRoot(container).render(_jsx(FieldInstance, { field: data, input: input[0], settings: input.data("settings") }));
|
|
33
33
|
};
|
|
34
34
|
// Register with ACF
|
|
35
|
-
acf.addAction("
|
|
36
|
-
acf.addAction("append_field/type=" + name, init)
|
|
35
|
+
acf.addAction("new_field/type=" + name, init);
|
|
36
|
+
// acf.addAction("append_field/type=" + name, init)
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"builtin-blocks.d.ts","sourceRoot":"","sources":["../../../../src/app/lib/blocks/builtin-blocks.tsx"],"names":[],"mappings":"AAEA,wBAAgB,qBAAqB,
|
|
1
|
+
{"version":3,"file":"builtin-blocks.d.ts","sourceRoot":"","sources":["../../../../src/app/lib/blocks/builtin-blocks.tsx"],"names":[],"mappings":"AAEA,wBAAgB,qBAAqB,SAsDpC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export declare function EditableBlock({ payload }: any): import("react/jsx-runtime").JSX.Element | null;
|
|
2
|
-
//# sourceMappingURL=
|
|
2
|
+
//# sourceMappingURL=EditableBlock.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EditableBlock.d.ts","sourceRoot":"","sources":["../../../../../src/app/lib/blocks/editor/EditableBlock.tsx"],"names":[],"mappings":"AASA,wBAAgB,aAAa,CAAC,EAAE,OAAO,EAAE,EAAE,GAAG,kDAoC7C"}
|
|
@@ -5,7 +5,7 @@ import { APIProvider } from "../../../utils/APIProvider.js";
|
|
|
5
5
|
import { useBlockMutation } from "../BlockPropMutator.js";
|
|
6
6
|
import { useBlockContext } from "../inline-editing.js";
|
|
7
7
|
import { ErrorBoundaryEditor } from "./ErrorBoundaryEditor.js";
|
|
8
|
-
|
|
8
|
+
import { EditorHighlights } from "./EditorHighlights.js";
|
|
9
9
|
export function EditableBlock({ payload }) {
|
|
10
10
|
if (!env.admin)
|
|
11
11
|
throw new Error("`EditableBlock` can only be used in the admin environment");
|
|
@@ -28,5 +28,5 @@ export function EditableBlock({ payload }) {
|
|
|
28
28
|
const BlockComponent = blockManifestReader.value[info.editorBlock?.name ?? ""];
|
|
29
29
|
if (!BlockComponent)
|
|
30
30
|
return _jsx("div", { children: "Unable to load block component" });
|
|
31
|
-
return (_jsx(ErrorBoundaryEditor, { children: _jsx(APIProvider, { children: _jsx(Suspense, { children: _jsx(BlockComponent, { ...props }) }) }) }));
|
|
31
|
+
return (_jsx(EditorHighlights, { enabled: true, clientId: block?.clientId ?? "", children: _jsx(ErrorBoundaryEditor, { children: _jsx(APIProvider, { children: _jsx(Suspense, { children: _jsx(BlockComponent, { ...props }) }) }) }) }));
|
|
32
32
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EditorHighlights.d.ts","sourceRoot":"","sources":["../../../../../src/app/lib/blocks/editor/EditorHighlights.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAwC,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"EditorHighlights.d.ts","sourceRoot":"","sources":["../../../../../src/app/lib/blocks/editor/EditorHighlights.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAwC,MAAM,OAAO,CAAA;AAG/E,KAAK,KAAK,GAAG,iBAAiB,CAAC;IAC7B,OAAO,EAAE,OAAO,CAAA;IAChB,QAAQ,EAAE,MAAM,CAAA;CACjB,CAAC,CAAA;AAEF,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,KAAK,2CA4D5C"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { Fragment as _Fragment, jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useEffect, useState } from "react";
|
|
3
|
+
import { getEditorDocument } from "./get-editor-document";
|
|
3
4
|
export function EditorHighlights(props) {
|
|
4
5
|
const [element, setElement] = useState(null);
|
|
5
6
|
const [controller, setController] = useState(null);
|
|
7
|
+
const document = getEditorDocument();
|
|
6
8
|
// wp.data.select('core/editor').isBlockSelected
|
|
7
9
|
// const isSelected = wp.data.useSelect(
|
|
8
10
|
// (select) => (select("core/editor") as any).isBlockSelected(props.clientId),
|
|
@@ -30,7 +32,7 @@ export function EditorHighlights(props) {
|
|
|
30
32
|
else {
|
|
31
33
|
setElement(null);
|
|
32
34
|
}
|
|
33
|
-
}, [props.clientId]);
|
|
35
|
+
}, [props.clientId, document]);
|
|
34
36
|
useEffect(() => {
|
|
35
37
|
if (controller && element) {
|
|
36
38
|
const onPointerEnter = () => controller.enable();
|
|
@@ -69,10 +71,10 @@ class HighlightController {
|
|
|
69
71
|
this.teardown();
|
|
70
72
|
const updateElements = () => {
|
|
71
73
|
let editables = Array.from(this.root.querySelectorAll("[contenteditable=true], .editable-slot"));
|
|
72
|
-
let childBlocks = Array.from(this.root.querySelectorAll(".wp-block"));
|
|
73
|
-
const childIsSelected = this.root.querySelectorAll("
|
|
74
|
+
let childBlocks = Array.from(this.root.querySelectorAll(".wp-block")).filter((el) => el !== this.root);
|
|
75
|
+
const childIsSelected = this.root.querySelectorAll("[data-editor-highlighted='true']").length > 0;
|
|
74
76
|
this.block = this.root;
|
|
75
|
-
childBlocks = childBlocks.slice(1)
|
|
77
|
+
// childBlocks = childBlocks.slice(1)
|
|
76
78
|
editables = childIsSelected
|
|
77
79
|
? []
|
|
78
80
|
: editables.filter((element) => !childBlocks.some((block) => block.contains(element)));
|
|
@@ -121,6 +123,7 @@ class HighlightController {
|
|
|
121
123
|
item.overlay.classList.toggle("editor-highlight-selected", this.isSelected);
|
|
122
124
|
}
|
|
123
125
|
this.root.classList.toggle("editor-highlighter-root-selected", this.enabled);
|
|
126
|
+
this.root.setAttribute("data-editor-highlighted", this.enabled ? "true" : "false");
|
|
124
127
|
}
|
|
125
128
|
createOverlay(target) {
|
|
126
129
|
const el = document.createElement("div");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"editor-config.d.ts","sourceRoot":"","sources":["../../../../../src/app/lib/blocks/editor/editor-config.tsx"],"names":[],"mappings":"AACA,OAAO,EAEL,aAAa,EAId,MAAM,sBAAsB,CAAA;
|
|
1
|
+
{"version":3,"file":"editor-config.d.ts","sourceRoot":"","sources":["../../../../../src/app/lib/blocks/editor/editor-config.tsx"],"names":[],"mappings":"AACA,OAAO,EAEL,aAAa,EAId,MAAM,sBAAsB,CAAA;AAK7B,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;;QAGI;IACJ,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB;;;;;;;;QAQI;IACJ,UAAU,CAAC,EAAE,CAAC,kBAAkB,GAAG,YAAY,CAAC,EAAE,CAAA;IAClD,4FAA4F;IAC5F,sBAAsB,CAAC,EAAE,0BAA0B,CAAA;IACnD,4EAA4E;IAC5E,aAAa,CAAC,EAAE,aAAa,CAAA;IAC7B,2DAA2D;IAC3D,cAAc,CAAC,EAAE,aAAa,CAAA;IAC9B,8DAA8D;IAC9D,cAAc,CAAC,EAAE,aAAa,CAAA;IAC9B,iCAAiC;IACjC,QAAQ,CAAC,EAAE,aAAa,CAAA;CACzB,CAAA;AAED,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,aAAa,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAA;IACnC,UAAU,EAAE,GAAG,CAAA;IACf,QAAQ,EAAE,MAAM,CAAA;IAChB,YAAY,EAAE,MAAM,CAAA;IACpB,WAAW,EAAE,OAAO,CAAA;IACpB,SAAS,EAAE,MAAM,WAAW,GAAG,IAAI,CAAA;IACnC,OAAO,EAAE,OAAO,CAAA;IAChB,SAAS,EAAE,OAAO,CAAA;IAClB,UAAU,EAAE,OAAO,CAAA;IACnB,kBAAkB,EAAE,OAAO,CAAA;IAC3B,IAAI,CAAC,EAAE,CAAC,MAAM,gBAAgB,CAAC,EAAE,CAAA;IACjC,KA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G;IAC3B,IAAI,EAAE,kBAAkB,EAAE,CAAA;IAC1B,EAAE,EAAE,kBAAkB,CAAA;CACvB,CAAA;AAED,MAAM,MAAM,oBAAoB,GAAG;IACjC,iDAAiD;IACjD,EAAE,EAAE,MAAM,CAAA;IACV,oDAAoD;IACpD,KAAK,EAAE,MAAM,CAAA;IACb;;;QAGI;IACJ,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB;;;QAGI;IACJ,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAA;CAC5B,CAAA;AAID,KAAK,YAAY,GAAG;IAClB,qBAAqB,CAAC,EAAE,oBAAoB,EAAE,CAAA;IAC9C,8FAA8F;IAC9F,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAA;CACrB,CAAA;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,YAAY,QAKtD;AAED,wBAAgB,kBAAkB,IAiBb,QAAQ,CAC5B;AAED,wBAAgB,oBAAoB,CAAC,QAAQ,WAAuB,QA4BnE;AAED,wBAAgB,mBAAmB,SAgBlC"}
|
|
@@ -2,6 +2,7 @@ import { proxy } from "valtio";
|
|
|
2
2
|
import { applyTemplateBlocks, resolveAcfBlockName, transformBlockTemplate, transformTemplateToBlocks, } from "./block-templates.js";
|
|
3
3
|
import { hash } from "object-code";
|
|
4
4
|
import { adminManifestReader } from "../../internal/read-admin-manifest.js";
|
|
5
|
+
import { getEditorDocument, getEditorType } from "./get-editor-document.js";
|
|
5
6
|
export const editorConfigStore = proxy({
|
|
6
7
|
config: null,
|
|
7
8
|
currentBlocksConfig: {},
|
|
@@ -9,17 +10,18 @@ export const editorConfigStore = proxy({
|
|
|
9
10
|
export function configureEditorBlocks(config) {
|
|
10
11
|
const wp = window.wp;
|
|
11
12
|
editorConfigStore.currentBlocksConfig = config;
|
|
12
|
-
|
|
13
|
+
const doc = getEditorDocument();
|
|
14
|
+
let hideStyles = doc.getElementById("title-hider");
|
|
13
15
|
hideStyles?.remove();
|
|
14
16
|
if (config.hideTitle) {
|
|
15
|
-
hideStyles =
|
|
17
|
+
hideStyles = doc.createElement("style");
|
|
16
18
|
hideStyles.id = "title-hider";
|
|
17
19
|
hideStyles.innerHTML = `
|
|
18
20
|
.edit-post-visual-editor__post-title-wrapper {
|
|
19
21
|
display: none !important;
|
|
20
22
|
}
|
|
21
23
|
`;
|
|
22
|
-
|
|
24
|
+
doc.head?.appendChild(hideStyles);
|
|
23
25
|
}
|
|
24
26
|
if (config.template) {
|
|
25
27
|
setTemplate(config.template);
|
|
@@ -30,7 +32,10 @@ export function configureEditorBlocks(config) {
|
|
|
30
32
|
}
|
|
31
33
|
const currentBlocks = wp.data.select("core/block-editor").getBlocks();
|
|
32
34
|
const newBlocks = applyTemplateBlocks(currentBlocks, config);
|
|
33
|
-
|
|
35
|
+
// Check if newBlocks is different from currentBlocks, to avoid unnecessary updates which can cause block selection to be lost
|
|
36
|
+
if (hash(currentBlocks) !== hash(newBlocks)) {
|
|
37
|
+
wp.data.dispatch("core/block-editor").resetBlocks(newBlocks);
|
|
38
|
+
}
|
|
34
39
|
}
|
|
35
40
|
/**
|
|
36
41
|
* This call should be placed in blocks/_editor.tsx
|
|
@@ -94,7 +99,7 @@ export function watchEditorTemplate() {
|
|
|
94
99
|
let timer = 0;
|
|
95
100
|
const update = () => {
|
|
96
101
|
const info = getEditingPostInfo();
|
|
97
|
-
const key = hash({ ...info, content: "", blocks: "", selection: "" });
|
|
102
|
+
const key = hash({ ...info, content: "", blocks: "", selection: "", editorType: getEditorType() });
|
|
98
103
|
if (key !== lastKey) {
|
|
99
104
|
lastKey = key;
|
|
100
105
|
clearTimeout(timer);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-editor-document.d.ts","sourceRoot":"","sources":["../../../../../src/app/lib/blocks/editor/get-editor-document.tsx"],"names":[],"mappings":"AAAA,wBAAgB,iBAAiB,aAGhC;AAED,wBAAgB,aAAa,yBAI5B"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export function getEditorDocument() {
|
|
2
|
+
const iframe = document.getElementsByName("editor-canvas")?.[0];
|
|
3
|
+
return iframe?.contentDocument ?? iframe?.contentWindow.document ?? document;
|
|
4
|
+
}
|
|
5
|
+
export function getEditorType() {
|
|
6
|
+
const iframe = document.getElementsByName("editor-canvas")?.[0];
|
|
7
|
+
if (!iframe)
|
|
8
|
+
return "iframe";
|
|
9
|
+
return "default";
|
|
10
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"installGutenbergHooks.d.ts","sourceRoot":"","sources":["../../../../../src/app/lib/blocks/editor/installGutenbergHooks.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"installGutenbergHooks.d.ts","sourceRoot":"","sources":["../../../../../src/app/lib/blocks/editor/installGutenbergHooks.tsx"],"names":[],"mappings":"AA2BA,eAAO,MAAM,oBAAoB;;CAAgC,CAAA;AAEjE,wBAAgB,iBAAiB,kBAsBhC;AAED,wBAAgB,uBAAuB,SAqTtC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import { createElement as _createElement } from "react";
|
|
1
2
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { useEffect } from "react";
|
|
3
|
-
import { subscribe, useSnapshot } from "valtio";
|
|
3
|
+
import { forwardRef, Fragment, useEffect, useMemo } from "react";
|
|
4
|
+
import { ref, subscribe, useSnapshot } from "valtio";
|
|
4
5
|
import { proxyMap } from "valtio/utils";
|
|
5
6
|
import { addBlockMetadata, getBlockMetadata } from "../block-utils.js";
|
|
6
7
|
import { registerBuiltinBlocks } from "../builtin-blocks.js";
|
|
7
|
-
import { InlineEditingContextProvider } from "../inline-editing.js";
|
|
8
|
-
import {
|
|
9
|
-
import { EditableBlock } from "./EditorSupport.js";
|
|
8
|
+
import { InlineEditingContextProvider, useBlockContext } from "../inline-editing.js";
|
|
9
|
+
import { EditableBlock } from "./EditableBlock.js";
|
|
10
10
|
import { resolveAcfBlockName } from "./block-templates.js";
|
|
11
11
|
import { blocksByTag } from "./blocks-by-tag.js";
|
|
12
12
|
import { editorConfigStore, getEditingPostInfo, watchEditorTemplate } from "./editor-config.js";
|
|
@@ -117,7 +117,7 @@ export function installEDGutenbergHooks() {
|
|
|
117
117
|
return null;
|
|
118
118
|
return (_jsx(InlineEditingContextProvider, { values: props.attributes.inline || {}, innerBlocks: children, block: [props.name, props], editorBlock: block, index: index ?? -1, onChange: (attrs) => {
|
|
119
119
|
props.setAttributes({ ...props.attributes, inline: attrs });
|
|
120
|
-
}, insertBlocksAfter: props.insertBlocksAfter, clientId: props.clientId, children:
|
|
120
|
+
}, insertBlocksAfter: props.insertBlocksAfter, clientId: props.clientId, children: _createElement(BlockEdit, { ...props, key: "edit" }) }));
|
|
121
121
|
};
|
|
122
122
|
}, "withMyPluginControls");
|
|
123
123
|
wp.hooks.addFilter("editor.BlockEdit", "ed", withBlockContext);
|
|
@@ -211,7 +211,7 @@ export function installEDGutenbergHooks() {
|
|
|
211
211
|
;
|
|
212
212
|
wp.data.dispatch("core/block-editor").setTemplateValidity(true);
|
|
213
213
|
}, []);
|
|
214
|
-
return
|
|
214
|
+
return _jsx(Fragment, { children: edit.call(self, props) });
|
|
215
215
|
};
|
|
216
216
|
}
|
|
217
217
|
// Find PHP-defined 'tags' for core blocks.
|
|
@@ -278,4 +278,31 @@ export function installEDGutenbergHooks() {
|
|
|
278
278
|
}
|
|
279
279
|
return _jsx(EditableBlock, { payload: payload ?? {} });
|
|
280
280
|
};
|
|
281
|
+
acf.addFilter("blocks/preview/render", (data) => {
|
|
282
|
+
try {
|
|
283
|
+
const key = String(data);
|
|
284
|
+
const existing = BlockPropsStore.get(data.__clientId);
|
|
285
|
+
if (!existing || existing.key !== data.__key) {
|
|
286
|
+
const payload = JSON.parse(data);
|
|
287
|
+
BlockPropsStore.set(payload.__clientId, {
|
|
288
|
+
payload: ref(payload),
|
|
289
|
+
key: key,
|
|
290
|
+
});
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
catch (err) {
|
|
294
|
+
console.error(err);
|
|
295
|
+
// throw new Error("eddev: Error parsing block data from: \n" + data)
|
|
296
|
+
return "<edblock />";
|
|
297
|
+
}
|
|
298
|
+
return "<edblock />";
|
|
299
|
+
});
|
|
300
|
+
if (acf.jsxNameReplacements) {
|
|
301
|
+
acf.jsxNameReplacements["edblock"] = forwardRef(function EDBlock(props, ref) {
|
|
302
|
+
const block = useBlockContext();
|
|
303
|
+
const payload = useSnapshot(BlockPropsStore).get(block?.clientId)?.payload;
|
|
304
|
+
return useMemo(() => _jsx(EditableBlock, { payload: payload }), [payload]);
|
|
305
|
+
});
|
|
306
|
+
}
|
|
281
307
|
}
|
|
308
|
+
const BlockPropsStore = proxyMap();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usePersistState.d.ts","sourceRoot":"","sources":["../../../../../src/app/lib/devtools/hooks/usePersistState.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"usePersistState.d.ts","sourceRoot":"","sources":["../../../../../src/app/lib/devtools/hooks/usePersistState.tsx"],"names":[],"mappings":"AA2BA,wBAAgB,eAAe,CAAC,CAAC,EAAE,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,CAAC,KAAK,CAAC,CAAC,KAAK,IAAI,CAAC,CAiBxG;yBAjBe,eAAe"}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { useState } from "react";
|
|
2
|
+
function hasLocalStorage() {
|
|
3
|
+
return typeof localStorage !== "undefined" && typeof localStorage.getItem === "function";
|
|
4
|
+
}
|
|
2
5
|
const get = (id, fallback = undefined) => {
|
|
3
|
-
if (
|
|
6
|
+
if (!hasLocalStorage()) {
|
|
4
7
|
return fallback;
|
|
5
8
|
}
|
|
6
9
|
const value = localStorage.getItem("devui_" + id);
|
|
@@ -17,6 +20,8 @@ const get = (id, fallback = undefined) => {
|
|
|
17
20
|
}
|
|
18
21
|
};
|
|
19
22
|
const set = (id, value) => {
|
|
23
|
+
if (!hasLocalStorage())
|
|
24
|
+
return;
|
|
20
25
|
localStorage.setItem("devui_" + id, JSON.stringify(value));
|
|
21
26
|
};
|
|
22
27
|
export function usePersistState(id, initial) {
|
|
@@ -39,6 +44,8 @@ export function usePersistState(id, initial) {
|
|
|
39
44
|
];
|
|
40
45
|
}
|
|
41
46
|
usePersistState.clearAll = () => {
|
|
47
|
+
if (!hasLocalStorage())
|
|
48
|
+
return;
|
|
42
49
|
for (const key in localStorage) {
|
|
43
50
|
if (key.startsWith("devui_")) {
|
|
44
51
|
localStorage.removeItem(key);
|
|
@@ -85,12 +85,12 @@ export declare function useTailwindConfig(): {
|
|
|
85
85
|
readonly max: string;
|
|
86
86
|
})[];
|
|
87
87
|
} | undefined;
|
|
88
|
-
readonly supports?:
|
|
88
|
+
readonly supports?: {
|
|
89
89
|
readonly [x: string]: string;
|
|
90
|
-
} | undefined;
|
|
91
|
-
readonly data?:
|
|
90
|
+
} | ((utils: import("tailwindcss/types/config.js").PluginUtils) => Record<string, string>) | undefined;
|
|
91
|
+
readonly data?: {
|
|
92
92
|
readonly [x: string]: string;
|
|
93
|
-
} | undefined;
|
|
93
|
+
} | ((utils: import("tailwindcss/types/config.js").PluginUtils) => Record<string, string>) | undefined;
|
|
94
94
|
readonly colors?: ((utils: import("tailwindcss/types/config.js").PluginUtils) => import("tailwindcss/types/config.js").RecursiveKeyValuePair<string, string>) | {
|
|
95
95
|
readonly [x: string]: string | /*elided*/ any;
|
|
96
96
|
} | undefined;
|
|
@@ -368,8 +368,8 @@ export declare function useTailwindConfig(): {
|
|
|
368
368
|
readonly opacity?: ((utils: import("tailwindcss/types/config.js").PluginUtils) => import("tailwindcss/types/config.js").KeyValuePair<string, string>) | {
|
|
369
369
|
readonly [x: string]: string;
|
|
370
370
|
} | undefined;
|
|
371
|
-
readonly boxShadow?: ((utils: import("tailwindcss/types/config.js").PluginUtils) => import("tailwindcss/types/config.js").KeyValuePair<string, string>) | {
|
|
372
|
-
readonly [x: string]: string;
|
|
371
|
+
readonly boxShadow?: ((utils: import("tailwindcss/types/config.js").PluginUtils) => import("tailwindcss/types/config.js").KeyValuePair<string, string | string[]>) | {
|
|
372
|
+
readonly [x: string]: string | readonly string[];
|
|
373
373
|
} | undefined;
|
|
374
374
|
readonly boxShadowColor?: ((utils: import("tailwindcss/types/config.js").PluginUtils) => import("tailwindcss/types/config.js").RecursiveKeyValuePair<string, string>) | {
|
|
375
375
|
readonly [x: string]: string | /*elided*/ any;
|
|
@@ -493,12 +493,12 @@ export declare function useTailwindConfig(): {
|
|
|
493
493
|
readonly max: string;
|
|
494
494
|
})[];
|
|
495
495
|
} | undefined;
|
|
496
|
-
readonly supports?:
|
|
496
|
+
readonly supports?: {
|
|
497
497
|
readonly [x: string]: string;
|
|
498
|
-
} | undefined;
|
|
499
|
-
readonly data?:
|
|
498
|
+
} | ((utils: import("tailwindcss/types/config.js").PluginUtils) => Record<string, string>) | undefined;
|
|
499
|
+
readonly data?: {
|
|
500
500
|
readonly [x: string]: string;
|
|
501
|
-
} | undefined;
|
|
501
|
+
} | ((utils: import("tailwindcss/types/config.js").PluginUtils) => Record<string, string>) | undefined;
|
|
502
502
|
readonly colors?: ((utils: import("tailwindcss/types/config.js").PluginUtils) => import("tailwindcss/types/config.js").RecursiveKeyValuePair<string, string>) | {
|
|
503
503
|
readonly [x: string]: string | /*elided*/ any;
|
|
504
504
|
} | undefined;
|
|
@@ -776,8 +776,8 @@ export declare function useTailwindConfig(): {
|
|
|
776
776
|
readonly opacity?: ((utils: import("tailwindcss/types/config.js").PluginUtils) => import("tailwindcss/types/config.js").KeyValuePair<string, string>) | {
|
|
777
777
|
readonly [x: string]: string;
|
|
778
778
|
} | undefined;
|
|
779
|
-
readonly boxShadow?: ((utils: import("tailwindcss/types/config.js").PluginUtils) => import("tailwindcss/types/config.js").KeyValuePair<string, string>) | {
|
|
780
|
-
readonly [x: string]: string;
|
|
779
|
+
readonly boxShadow?: ((utils: import("tailwindcss/types/config.js").PluginUtils) => import("tailwindcss/types/config.js").KeyValuePair<string, string | string[]>) | {
|
|
780
|
+
readonly [x: string]: string | readonly string[];
|
|
781
781
|
} | undefined;
|
|
782
782
|
readonly boxShadowColor?: ((utils: import("tailwindcss/types/config.js").PluginUtils) => import("tailwindcss/types/config.js").RecursiveKeyValuePair<string, string>) | {
|
|
783
783
|
readonly [x: string]: string | /*elided*/ any;
|
|
@@ -1064,7 +1064,7 @@ export declare function useTailwindConfig(): {
|
|
|
1064
1064
|
readonly plugins?: readonly (import("tailwindcss/types/config.js").PluginCreator | {
|
|
1065
1065
|
(options: any): {
|
|
1066
1066
|
handler: import("tailwindcss/types/config.js").PluginCreator;
|
|
1067
|
-
config?: Partial<import("tailwindcss/types/config.js").Config
|
|
1067
|
+
config?: Partial<import("tailwindcss/types/config.js").Config> | undefined;
|
|
1068
1068
|
};
|
|
1069
1069
|
__isOptionsFunction: true;
|
|
1070
1070
|
} | {
|
|
@@ -1130,12 +1130,12 @@ export declare function useTailwindConfig(): {
|
|
|
1130
1130
|
readonly max: string;
|
|
1131
1131
|
})[];
|
|
1132
1132
|
} | undefined;
|
|
1133
|
-
readonly supports?:
|
|
1133
|
+
readonly supports?: {
|
|
1134
1134
|
readonly [x: string]: string;
|
|
1135
|
-
} | undefined;
|
|
1136
|
-
readonly data?:
|
|
1135
|
+
} | ((utils: import("tailwindcss/types/config.js").PluginUtils) => Record<string, string>) | undefined;
|
|
1136
|
+
readonly data?: {
|
|
1137
1137
|
readonly [x: string]: string;
|
|
1138
|
-
} | undefined;
|
|
1138
|
+
} | ((utils: import("tailwindcss/types/config.js").PluginUtils) => Record<string, string>) | undefined;
|
|
1139
1139
|
readonly colors?: ((utils: import("tailwindcss/types/config.js").PluginUtils) => import("tailwindcss/types/config.js").RecursiveKeyValuePair<string, string>) | {
|
|
1140
1140
|
readonly [x: string]: string | /*elided*/ any;
|
|
1141
1141
|
} | undefined;
|
|
@@ -1413,8 +1413,8 @@ export declare function useTailwindConfig(): {
|
|
|
1413
1413
|
readonly opacity?: ((utils: import("tailwindcss/types/config.js").PluginUtils) => import("tailwindcss/types/config.js").KeyValuePair<string, string>) | {
|
|
1414
1414
|
readonly [x: string]: string;
|
|
1415
1415
|
} | undefined;
|
|
1416
|
-
readonly boxShadow?: ((utils: import("tailwindcss/types/config.js").PluginUtils) => import("tailwindcss/types/config.js").KeyValuePair<string, string>) | {
|
|
1417
|
-
readonly [x: string]: string;
|
|
1416
|
+
readonly boxShadow?: ((utils: import("tailwindcss/types/config.js").PluginUtils) => import("tailwindcss/types/config.js").KeyValuePair<string, string | string[]>) | {
|
|
1417
|
+
readonly [x: string]: string | readonly string[];
|
|
1418
1418
|
} | undefined;
|
|
1419
1419
|
readonly boxShadowColor?: ((utils: import("tailwindcss/types/config.js").PluginUtils) => import("tailwindcss/types/config.js").RecursiveKeyValuePair<string, string>) | {
|
|
1420
1420
|
readonly [x: string]: string | /*elided*/ any;
|
|
@@ -1538,12 +1538,12 @@ export declare function useTailwindConfig(): {
|
|
|
1538
1538
|
readonly max: string;
|
|
1539
1539
|
})[];
|
|
1540
1540
|
} | undefined;
|
|
1541
|
-
readonly supports?:
|
|
1541
|
+
readonly supports?: {
|
|
1542
1542
|
readonly [x: string]: string;
|
|
1543
|
-
} | undefined;
|
|
1544
|
-
readonly data?:
|
|
1543
|
+
} | ((utils: import("tailwindcss/types/config.js").PluginUtils) => Record<string, string>) | undefined;
|
|
1544
|
+
readonly data?: {
|
|
1545
1545
|
readonly [x: string]: string;
|
|
1546
|
-
} | undefined;
|
|
1546
|
+
} | ((utils: import("tailwindcss/types/config.js").PluginUtils) => Record<string, string>) | undefined;
|
|
1547
1547
|
readonly colors?: ((utils: import("tailwindcss/types/config.js").PluginUtils) => import("tailwindcss/types/config.js").RecursiveKeyValuePair<string, string>) | {
|
|
1548
1548
|
readonly [x: string]: string | /*elided*/ any;
|
|
1549
1549
|
} | undefined;
|
|
@@ -1821,8 +1821,8 @@ export declare function useTailwindConfig(): {
|
|
|
1821
1821
|
readonly opacity?: ((utils: import("tailwindcss/types/config.js").PluginUtils) => import("tailwindcss/types/config.js").KeyValuePair<string, string>) | {
|
|
1822
1822
|
readonly [x: string]: string;
|
|
1823
1823
|
} | undefined;
|
|
1824
|
-
readonly boxShadow?: ((utils: import("tailwindcss/types/config.js").PluginUtils) => import("tailwindcss/types/config.js").KeyValuePair<string, string>) | {
|
|
1825
|
-
readonly [x: string]: string;
|
|
1824
|
+
readonly boxShadow?: ((utils: import("tailwindcss/types/config.js").PluginUtils) => import("tailwindcss/types/config.js").KeyValuePair<string, string | string[]>) | {
|
|
1825
|
+
readonly [x: string]: string | readonly string[];
|
|
1826
1826
|
} | undefined;
|
|
1827
1827
|
readonly boxShadowColor?: ((utils: import("tailwindcss/types/config.js").PluginUtils) => import("tailwindcss/types/config.js").RecursiveKeyValuePair<string, string>) | {
|
|
1828
1828
|
readonly [x: string]: string | /*elided*/ any;
|
|
@@ -2109,7 +2109,7 @@ export declare function useTailwindConfig(): {
|
|
|
2109
2109
|
readonly plugins?: readonly (import("tailwindcss/types/config.js").PluginCreator | {
|
|
2110
2110
|
(options: any): {
|
|
2111
2111
|
handler: import("tailwindcss/types/config.js").PluginCreator;
|
|
2112
|
-
config?: Partial<import("tailwindcss/types/config.js").Config
|
|
2112
|
+
config?: Partial<import("tailwindcss/types/config.js").Config> | undefined;
|
|
2113
2113
|
};
|
|
2114
2114
|
__isOptionsFunction: true;
|
|
2115
2115
|
} | /*elided*/ any | undefined)[] | undefined;
|
|
@@ -2150,12 +2150,12 @@ export declare function useTailwindConfig(): {
|
|
|
2150
2150
|
readonly max: string;
|
|
2151
2151
|
})[];
|
|
2152
2152
|
} | undefined;
|
|
2153
|
-
readonly supports?:
|
|
2153
|
+
readonly supports?: {
|
|
2154
2154
|
readonly [x: string]: string;
|
|
2155
|
-
} | undefined;
|
|
2156
|
-
readonly data?:
|
|
2155
|
+
} | ((utils: import("tailwindcss/types/config.js").PluginUtils) => Record<string, string>) | undefined;
|
|
2156
|
+
readonly data?: {
|
|
2157
2157
|
readonly [x: string]: string;
|
|
2158
|
-
} | undefined;
|
|
2158
|
+
} | ((utils: import("tailwindcss/types/config.js").PluginUtils) => Record<string, string>) | undefined;
|
|
2159
2159
|
readonly colors?: ((utils: import("tailwindcss/types/config.js").PluginUtils) => import("tailwindcss/types/config.js").RecursiveKeyValuePair<string, string>) | {
|
|
2160
2160
|
readonly [x: string]: string | /*elided*/ any;
|
|
2161
2161
|
} | undefined;
|
|
@@ -2433,8 +2433,8 @@ export declare function useTailwindConfig(): {
|
|
|
2433
2433
|
readonly opacity?: ((utils: import("tailwindcss/types/config.js").PluginUtils) => import("tailwindcss/types/config.js").KeyValuePair<string, string>) | {
|
|
2434
2434
|
readonly [x: string]: string;
|
|
2435
2435
|
} | undefined;
|
|
2436
|
-
readonly boxShadow?: ((utils: import("tailwindcss/types/config.js").PluginUtils) => import("tailwindcss/types/config.js").KeyValuePair<string, string>) | {
|
|
2437
|
-
readonly [x: string]: string;
|
|
2436
|
+
readonly boxShadow?: ((utils: import("tailwindcss/types/config.js").PluginUtils) => import("tailwindcss/types/config.js").KeyValuePair<string, string | string[]>) | {
|
|
2437
|
+
readonly [x: string]: string | readonly string[];
|
|
2438
2438
|
} | undefined;
|
|
2439
2439
|
readonly boxShadowColor?: ((utils: import("tailwindcss/types/config.js").PluginUtils) => import("tailwindcss/types/config.js").RecursiveKeyValuePair<string, string>) | {
|
|
2440
2440
|
readonly [x: string]: string | /*elided*/ any;
|
|
@@ -2558,12 +2558,12 @@ export declare function useTailwindConfig(): {
|
|
|
2558
2558
|
readonly max: string;
|
|
2559
2559
|
})[];
|
|
2560
2560
|
} | undefined;
|
|
2561
|
-
readonly supports?:
|
|
2561
|
+
readonly supports?: {
|
|
2562
2562
|
readonly [x: string]: string;
|
|
2563
|
-
} | undefined;
|
|
2564
|
-
readonly data?:
|
|
2563
|
+
} | ((utils: import("tailwindcss/types/config.js").PluginUtils) => Record<string, string>) | undefined;
|
|
2564
|
+
readonly data?: {
|
|
2565
2565
|
readonly [x: string]: string;
|
|
2566
|
-
} | undefined;
|
|
2566
|
+
} | ((utils: import("tailwindcss/types/config.js").PluginUtils) => Record<string, string>) | undefined;
|
|
2567
2567
|
readonly colors?: ((utils: import("tailwindcss/types/config.js").PluginUtils) => import("tailwindcss/types/config.js").RecursiveKeyValuePair<string, string>) | {
|
|
2568
2568
|
readonly [x: string]: string | /*elided*/ any;
|
|
2569
2569
|
} | undefined;
|
|
@@ -2841,8 +2841,8 @@ export declare function useTailwindConfig(): {
|
|
|
2841
2841
|
readonly opacity?: ((utils: import("tailwindcss/types/config.js").PluginUtils) => import("tailwindcss/types/config.js").KeyValuePair<string, string>) | {
|
|
2842
2842
|
readonly [x: string]: string;
|
|
2843
2843
|
} | undefined;
|
|
2844
|
-
readonly boxShadow?: ((utils: import("tailwindcss/types/config.js").PluginUtils) => import("tailwindcss/types/config.js").KeyValuePair<string, string>) | {
|
|
2845
|
-
readonly [x: string]: string;
|
|
2844
|
+
readonly boxShadow?: ((utils: import("tailwindcss/types/config.js").PluginUtils) => import("tailwindcss/types/config.js").KeyValuePair<string, string | string[]>) | {
|
|
2845
|
+
readonly [x: string]: string | readonly string[];
|
|
2846
2846
|
} | undefined;
|
|
2847
2847
|
readonly boxShadowColor?: ((utils: import("tailwindcss/types/config.js").PluginUtils) => import("tailwindcss/types/config.js").RecursiveKeyValuePair<string, string>) | {
|
|
2848
2848
|
readonly [x: string]: string | /*elided*/ any;
|
|
@@ -3129,7 +3129,7 @@ export declare function useTailwindConfig(): {
|
|
|
3129
3129
|
readonly plugins?: readonly (import("tailwindcss/types/config.js").PluginCreator | {
|
|
3130
3130
|
(options: any): {
|
|
3131
3131
|
handler: import("tailwindcss/types/config.js").PluginCreator;
|
|
3132
|
-
config?: Partial<import("tailwindcss/types/config.js").Config
|
|
3132
|
+
config?: Partial<import("tailwindcss/types/config.js").Config> | undefined;
|
|
3133
3133
|
};
|
|
3134
3134
|
__isOptionsFunction: true;
|
|
3135
3135
|
} | {
|
|
@@ -3221,12 +3221,12 @@ export declare function useTailwindConfig(): {
|
|
|
3221
3221
|
readonly max: string;
|
|
3222
3222
|
})[];
|
|
3223
3223
|
} | undefined;
|
|
3224
|
-
readonly supports?:
|
|
3224
|
+
readonly supports?: {
|
|
3225
3225
|
readonly [x: string]: string;
|
|
3226
|
-
} | undefined;
|
|
3227
|
-
readonly data?:
|
|
3226
|
+
} | ((utils: import("tailwindcss/types/config.js").PluginUtils) => Record<string, string>) | undefined;
|
|
3227
|
+
readonly data?: {
|
|
3228
3228
|
readonly [x: string]: string;
|
|
3229
|
-
} | undefined;
|
|
3229
|
+
} | ((utils: import("tailwindcss/types/config.js").PluginUtils) => Record<string, string>) | undefined;
|
|
3230
3230
|
readonly colors?: ((utils: import("tailwindcss/types/config.js").PluginUtils) => import("tailwindcss/types/config.js").RecursiveKeyValuePair<string, string>) | {
|
|
3231
3231
|
readonly [x: string]: string | /*elided*/ any;
|
|
3232
3232
|
} | undefined;
|
|
@@ -3504,8 +3504,8 @@ export declare function useTailwindConfig(): {
|
|
|
3504
3504
|
readonly opacity?: ((utils: import("tailwindcss/types/config.js").PluginUtils) => import("tailwindcss/types/config.js").KeyValuePair<string, string>) | {
|
|
3505
3505
|
readonly [x: string]: string;
|
|
3506
3506
|
} | undefined;
|
|
3507
|
-
readonly boxShadow?: ((utils: import("tailwindcss/types/config.js").PluginUtils) => import("tailwindcss/types/config.js").KeyValuePair<string, string>) | {
|
|
3508
|
-
readonly [x: string]: string;
|
|
3507
|
+
readonly boxShadow?: ((utils: import("tailwindcss/types/config.js").PluginUtils) => import("tailwindcss/types/config.js").KeyValuePair<string, string | string[]>) | {
|
|
3508
|
+
readonly [x: string]: string | readonly string[];
|
|
3509
3509
|
} | undefined;
|
|
3510
3510
|
readonly boxShadowColor?: ((utils: import("tailwindcss/types/config.js").PluginUtils) => import("tailwindcss/types/config.js").RecursiveKeyValuePair<string, string>) | {
|
|
3511
3511
|
readonly [x: string]: string | /*elided*/ any;
|
|
@@ -3629,12 +3629,12 @@ export declare function useTailwindConfig(): {
|
|
|
3629
3629
|
readonly max: string;
|
|
3630
3630
|
})[];
|
|
3631
3631
|
} | undefined;
|
|
3632
|
-
readonly supports?:
|
|
3632
|
+
readonly supports?: {
|
|
3633
3633
|
readonly [x: string]: string;
|
|
3634
|
-
} | undefined;
|
|
3635
|
-
readonly data?:
|
|
3634
|
+
} | ((utils: import("tailwindcss/types/config.js").PluginUtils) => Record<string, string>) | undefined;
|
|
3635
|
+
readonly data?: {
|
|
3636
3636
|
readonly [x: string]: string;
|
|
3637
|
-
} | undefined;
|
|
3637
|
+
} | ((utils: import("tailwindcss/types/config.js").PluginUtils) => Record<string, string>) | undefined;
|
|
3638
3638
|
readonly colors?: ((utils: import("tailwindcss/types/config.js").PluginUtils) => import("tailwindcss/types/config.js").RecursiveKeyValuePair<string, string>) | {
|
|
3639
3639
|
readonly [x: string]: string | /*elided*/ any;
|
|
3640
3640
|
} | undefined;
|
|
@@ -3912,8 +3912,8 @@ export declare function useTailwindConfig(): {
|
|
|
3912
3912
|
readonly opacity?: ((utils: import("tailwindcss/types/config.js").PluginUtils) => import("tailwindcss/types/config.js").KeyValuePair<string, string>) | {
|
|
3913
3913
|
readonly [x: string]: string;
|
|
3914
3914
|
} | undefined;
|
|
3915
|
-
readonly boxShadow?: ((utils: import("tailwindcss/types/config.js").PluginUtils) => import("tailwindcss/types/config.js").KeyValuePair<string, string>) | {
|
|
3916
|
-
readonly [x: string]: string;
|
|
3915
|
+
readonly boxShadow?: ((utils: import("tailwindcss/types/config.js").PluginUtils) => import("tailwindcss/types/config.js").KeyValuePair<string, string | string[]>) | {
|
|
3916
|
+
readonly [x: string]: string | readonly string[];
|
|
3917
3917
|
} | undefined;
|
|
3918
3918
|
readonly boxShadowColor?: ((utils: import("tailwindcss/types/config.js").PluginUtils) => import("tailwindcss/types/config.js").RecursiveKeyValuePair<string, string>) | {
|
|
3919
3919
|
readonly [x: string]: string | /*elided*/ any;
|
|
@@ -4200,7 +4200,7 @@ export declare function useTailwindConfig(): {
|
|
|
4200
4200
|
readonly plugins?: readonly (import("tailwindcss/types/config.js").PluginCreator | {
|
|
4201
4201
|
(options: any): {
|
|
4202
4202
|
handler: import("tailwindcss/types/config.js").PluginCreator;
|
|
4203
|
-
config?: Partial<import("tailwindcss/types/config.js").Config
|
|
4203
|
+
config?: Partial<import("tailwindcss/types/config.js").Config> | undefined;
|
|
4204
4204
|
};
|
|
4205
4205
|
__isOptionsFunction: true;
|
|
4206
4206
|
} | /*elided*/ any | undefined)[] | undefined;
|
|
@@ -4239,12 +4239,12 @@ export declare function useTailwindConfig(): {
|
|
|
4239
4239
|
readonly max: string;
|
|
4240
4240
|
})[];
|
|
4241
4241
|
} | undefined;
|
|
4242
|
-
readonly supports?:
|
|
4242
|
+
readonly supports?: {
|
|
4243
4243
|
readonly [x: string]: string;
|
|
4244
|
-
} | undefined;
|
|
4245
|
-
readonly data?:
|
|
4244
|
+
} | ((utils: import("tailwindcss/types/config.js").PluginUtils) => Record<string, string>) | undefined;
|
|
4245
|
+
readonly data?: {
|
|
4246
4246
|
readonly [x: string]: string;
|
|
4247
|
-
} | undefined;
|
|
4247
|
+
} | ((utils: import("tailwindcss/types/config.js").PluginUtils) => Record<string, string>) | undefined;
|
|
4248
4248
|
readonly colors?: ((utils: import("tailwindcss/types/config.js").PluginUtils) => import("tailwindcss/types/config.js").RecursiveKeyValuePair<string, string>) | {
|
|
4249
4249
|
readonly [x: string]: string | /*elided*/ any;
|
|
4250
4250
|
} | undefined;
|
|
@@ -4522,8 +4522,8 @@ export declare function useTailwindConfig(): {
|
|
|
4522
4522
|
readonly opacity?: ((utils: import("tailwindcss/types/config.js").PluginUtils) => import("tailwindcss/types/config.js").KeyValuePair<string, string>) | {
|
|
4523
4523
|
readonly [x: string]: string;
|
|
4524
4524
|
} | undefined;
|
|
4525
|
-
readonly boxShadow?: ((utils: import("tailwindcss/types/config.js").PluginUtils) => import("tailwindcss/types/config.js").KeyValuePair<string, string>) | {
|
|
4526
|
-
readonly [x: string]: string;
|
|
4525
|
+
readonly boxShadow?: ((utils: import("tailwindcss/types/config.js").PluginUtils) => import("tailwindcss/types/config.js").KeyValuePair<string, string | string[]>) | {
|
|
4526
|
+
readonly [x: string]: string | readonly string[];
|
|
4527
4527
|
} | undefined;
|
|
4528
4528
|
readonly boxShadowColor?: ((utils: import("tailwindcss/types/config.js").PluginUtils) => import("tailwindcss/types/config.js").RecursiveKeyValuePair<string, string>) | {
|
|
4529
4529
|
readonly [x: string]: string | /*elided*/ any;
|
|
@@ -4647,12 +4647,12 @@ export declare function useTailwindConfig(): {
|
|
|
4647
4647
|
readonly max: string;
|
|
4648
4648
|
})[];
|
|
4649
4649
|
} | undefined;
|
|
4650
|
-
readonly supports?:
|
|
4650
|
+
readonly supports?: {
|
|
4651
4651
|
readonly [x: string]: string;
|
|
4652
|
-
} | undefined;
|
|
4653
|
-
readonly data?:
|
|
4652
|
+
} | ((utils: import("tailwindcss/types/config.js").PluginUtils) => Record<string, string>) | undefined;
|
|
4653
|
+
readonly data?: {
|
|
4654
4654
|
readonly [x: string]: string;
|
|
4655
|
-
} | undefined;
|
|
4655
|
+
} | ((utils: import("tailwindcss/types/config.js").PluginUtils) => Record<string, string>) | undefined;
|
|
4656
4656
|
readonly colors?: ((utils: import("tailwindcss/types/config.js").PluginUtils) => import("tailwindcss/types/config.js").RecursiveKeyValuePair<string, string>) | {
|
|
4657
4657
|
readonly [x: string]: string | /*elided*/ any;
|
|
4658
4658
|
} | undefined;
|
|
@@ -4930,8 +4930,8 @@ export declare function useTailwindConfig(): {
|
|
|
4930
4930
|
readonly opacity?: ((utils: import("tailwindcss/types/config.js").PluginUtils) => import("tailwindcss/types/config.js").KeyValuePair<string, string>) | {
|
|
4931
4931
|
readonly [x: string]: string;
|
|
4932
4932
|
} | undefined;
|
|
4933
|
-
readonly boxShadow?: ((utils: import("tailwindcss/types/config.js").PluginUtils) => import("tailwindcss/types/config.js").KeyValuePair<string, string>) | {
|
|
4934
|
-
readonly [x: string]: string;
|
|
4933
|
+
readonly boxShadow?: ((utils: import("tailwindcss/types/config.js").PluginUtils) => import("tailwindcss/types/config.js").KeyValuePair<string, string | string[]>) | {
|
|
4934
|
+
readonly [x: string]: string | readonly string[];
|
|
4935
4935
|
} | undefined;
|
|
4936
4936
|
readonly boxShadowColor?: ((utils: import("tailwindcss/types/config.js").PluginUtils) => import("tailwindcss/types/config.js").RecursiveKeyValuePair<string, string>) | {
|
|
4937
4937
|
readonly [x: string]: string | /*elided*/ any;
|
|
@@ -5218,7 +5218,7 @@ export declare function useTailwindConfig(): {
|
|
|
5218
5218
|
readonly plugins?: readonly (import("tailwindcss/types/config.js").PluginCreator | {
|
|
5219
5219
|
(options: any): {
|
|
5220
5220
|
handler: import("tailwindcss/types/config.js").PluginCreator;
|
|
5221
|
-
config?: Partial<import("tailwindcss/types/config.js").Config
|
|
5221
|
+
config?: Partial<import("tailwindcss/types/config.js").Config> | undefined;
|
|
5222
5222
|
};
|
|
5223
5223
|
__isOptionsFunction: true;
|
|
5224
5224
|
} | /*elided*/ any | undefined)[] | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useTailwind.d.ts","sourceRoot":"","sources":["../../../../../src/app/lib/devtools/hooks/useTailwind.tsx"],"names":[],"mappings":"AAIA,wBAAgB,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0BAAD,CAAC;;;;;;SAD76W"}
|
|
@@ -137,7 +137,7 @@ export declare function createStitches<Prefix extends string = "", Media extends
|
|
|
137
137
|
media: {
|
|
138
138
|
initial: "";
|
|
139
139
|
} & Media;
|
|
140
|
-
theme: Theme & { [Scale_1 in keyof Responsive]: { [
|
|
140
|
+
theme: Theme & { [Scale_1 in keyof Responsive]: { [T_1 in keyof Responsive[Scale_1]]: string; }; };
|
|
141
141
|
themeMap: ThemeMap;
|
|
142
142
|
utils: {
|
|
143
143
|
typography: (key: keyof Typography) => { [key in keyof TypographyConfig<Theme, Media & {
|
|
@@ -205,7 +205,7 @@ export declare function createStitches<Prefix extends string = "", Media extends
|
|
|
205
205
|
} & { [K in keyof Styles]: K extends "@import" ? string | string[] : K extends "@font-face" ? import("../../../../stitches-archive/css.js").AtRule.FontFace | import("../../../../stitches-archive/css.js").AtRule.FontFace[] : K extends `@keyframes ${string}` ? {
|
|
206
206
|
[x: string]: import("../../../../stitches-archive/css-util.js").CSS<{
|
|
207
207
|
initial: "";
|
|
208
|
-
} & Media, Theme & { [Scale_1 in keyof Responsive]: { [
|
|
208
|
+
} & Media, Theme & { [Scale_1 in keyof Responsive]: { [T_1 in keyof Responsive[Scale_1]]: string; }; }, ThemeMap, {
|
|
209
209
|
typography: (key: keyof Typography) => { [key in keyof TypographyConfig<Theme, Media & {
|
|
210
210
|
initial: string;
|
|
211
211
|
editor: string;
|
|
@@ -263,7 +263,7 @@ export declare function createStitches<Prefix extends string = "", Media extends
|
|
|
263
263
|
}>;
|
|
264
264
|
} : K extends `@property ${string}` ? import("../../../../stitches-archive/css.js").AtRule.Property : import("../../../../stitches-archive/css-util.js").CSS<{
|
|
265
265
|
initial: "";
|
|
266
|
-
} & Media, Theme & { [Scale_1 in keyof Responsive]: { [
|
|
266
|
+
} & Media, Theme & { [Scale_1 in keyof Responsive]: { [T_1 in keyof Responsive[Scale_1]]: string; }; }, ThemeMap, {
|
|
267
267
|
typography: (key: keyof Typography) => { [key in keyof TypographyConfig<Theme, Media & {
|
|
268
268
|
initial: string;
|
|
269
269
|
editor: string;
|
|
@@ -324,7 +324,7 @@ export declare function createStitches<Prefix extends string = "", Media extends
|
|
|
324
324
|
keyframes: (style: {
|
|
325
325
|
[offset: string]: import("../../../../stitches-archive/css-util.js").CSS<{
|
|
326
326
|
initial: "";
|
|
327
|
-
} & Media, Theme & { [Scale_1 in keyof Responsive]: { [
|
|
327
|
+
} & Media, Theme & { [Scale_1 in keyof Responsive]: { [T_1 in keyof Responsive[Scale_1]]: string; }; }, ThemeMap, {
|
|
328
328
|
typography: (key: keyof Typography) => { [key in keyof TypographyConfig<Theme, Media & {
|
|
329
329
|
initial: string;
|
|
330
330
|
editor: string;
|
|
@@ -384,12 +384,12 @@ export declare function createStitches<Prefix extends string = "", Media extends
|
|
|
384
384
|
(): string;
|
|
385
385
|
name: string;
|
|
386
386
|
};
|
|
387
|
-
createTheme: <Argument0 extends string | ((Theme & { [Scale_1 in keyof Responsive]: { [T_1 in keyof Responsive[Scale_1]]: string; }; } extends infer
|
|
387
|
+
createTheme: <Argument0 extends string | ((Theme & { [Scale_1 in keyof Responsive]: { [T_1 in keyof Responsive[Scale_1]]: string; }; } extends infer T_2 ? { [Scale_2 in keyof T_2]?: { [Token in keyof (Theme & { [Scale_1 in keyof Responsive]: { [T_1 in keyof Responsive[Scale_1]]: string; }; })[Scale_2]]?: string | number | boolean | undefined; } | undefined; } : never) & {
|
|
388
388
|
[x: string]: {
|
|
389
389
|
[x: string]: string | number | boolean;
|
|
390
390
|
[x: number]: string | number | boolean;
|
|
391
391
|
};
|
|
392
|
-
}), Argument1 extends string | ((Theme & { [Scale_1 in keyof Responsive]: { [
|
|
392
|
+
}), Argument1 extends string | ((Theme & { [Scale_1 in keyof Responsive]: { [T_1 in keyof Responsive[Scale_1]]: string; }; } extends infer T_3 ? { [Scale_3 in keyof T_3]?: { [Token_1 in keyof (Theme & { [Scale_1 in keyof Responsive]: { [T_1 in keyof Responsive[Scale_1]]: string; }; })[Scale_3]]?: string | number | boolean | undefined; } | undefined; } : never) & {
|
|
393
393
|
[x: string]: {
|
|
394
394
|
[x: string]: string | number | boolean;
|
|
395
395
|
[x: number]: string | number | boolean;
|
|
@@ -401,7 +401,7 @@ export declare function createStitches<Prefix extends string = "", Media extends
|
|
|
401
401
|
theme: string & {
|
|
402
402
|
className: string;
|
|
403
403
|
selector: string;
|
|
404
|
-
} & (Theme & { [Scale_1 in keyof Responsive]: { [T_1 in keyof Responsive[Scale_1]]: string; }; } extends infer
|
|
404
|
+
} & (Theme & { [Scale_1 in keyof Responsive]: { [T_1 in keyof Responsive[Scale_1]]: string; }; } extends infer T_2 extends {} ? { [Scale_2 in keyof T_2]: { [Token in keyof (Theme & { [Scale_1 in keyof Responsive]: { [T_1 in keyof Responsive[Scale_1]]: string; }; })[Scale_2]]: import("../../../../stitches-archive/theme.js").Token<Extract<Token, string | number>, string, Extract<Scale_2, string | void>, "">; }; } : never);
|
|
405
405
|
reset: {
|
|
406
406
|
(): void;
|
|
407
407
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createStitches.d.ts","sourceRoot":"","sources":["../../../../src/app/lib/legacy-stitches/createStitches.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wCAAwC,CAAA;AACxE,OAAO,EAEL,eAAe,EAEhB,MAAM,uCAAuC,CAAA;AAC9C,OAAO,EAAE,UAAU,IAAI,GAAG,EAAE,MAAM,SAAS,CAAA;AAI3C,KAAK,SAAS,CAAC,KAAK,SAAS,UAAU,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE,KAAK,SAAS,MAAM,EAAE,QAAQ,IAAI,KAAK,SAAS,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,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACpB,uBAAuB;IACvB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB,mHAAmH;IACnH,UAAU,CAAC,EAAE,OAAO,GAAG,OAAO,CAAA;IAC9B,iFAAiF;IACjF,QAAQ,CAAC,EAAE,aAAa,CAAA;CACzB,CAAA;AAED,wBAAgB,YAAY,CAAC,CAAC,SAAS,WAAW,GAAG,GAAG,EACtD,KAAK,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,EAC9B,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,iBAAiB,CAAC;;;;;;;sBAyBd,UAAU;uBAOT,YAAY;iBAOlB,UAAU;;;;;iBA9BR,UAAU;GAwC5B;AAED,eAAO,MAAM,IAAI,EAIX,CAAC,CAAC,SAAS,WAAW,GAAG,GAAG,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,KAAK,YAAY,CAAA;AAKpE;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM;;;;;;;;;;;;EA6BxC"}
|
|
@@ -7,6 +7,8 @@ import { useRoute } from "../hooks/useRoute.js";
|
|
|
7
7
|
import { useRouterState } from "../hooks/useRouterState.js";
|
|
8
8
|
export function useLinkProps(props, ref) {
|
|
9
9
|
if (env.admin) {
|
|
10
|
+
delete props.preferBack;
|
|
11
|
+
delete props.linkData;
|
|
10
12
|
return {
|
|
11
13
|
ref: ref,
|
|
12
14
|
...props,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"proxy-wp-admin.d.ts","sourceRoot":"","sources":["../../../src/app/server/proxy-wp-admin.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAwD,OAAO,EAAE,MAAM,YAAY,CAAA;AAI/G,wBAAsB,YAAY,CAAC,KAAK,EAAE,OAAO,CAAC,mBAAmB,CAAC,
|
|
1
|
+
{"version":3,"file":"proxy-wp-admin.d.ts","sourceRoot":"","sources":["../../../src/app/server/proxy-wp-admin.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAwD,OAAO,EAAE,MAAM,YAAY,CAAA;AAI/G,wBAAsB,YAAY,CAAC,KAAK,EAAE,OAAO,CAAC,mBAAmB,CAAC,qBAsHrE"}
|
|
@@ -92,8 +92,8 @@ export async function proxyWpAdmin(event) {
|
|
|
92
92
|
const baseDirective = `<base href="${reqUrl.origin}">`;
|
|
93
93
|
body = body.replaceAll("<!---VITE_HEADER--->", viteHeader);
|
|
94
94
|
body = body.replaceAll("<!---VITE_FOOTER--->", viteFooter);
|
|
95
|
-
body = body.replaceAll("
|
|
96
|
-
body = body.replaceAll("
|
|
95
|
+
body = body.replaceAll("\\u003Cscript id='vite-iframe-header'\\u003E\\u003C/script\\u003E", encodeForJSON(baseDirective + viteHeader));
|
|
96
|
+
body = body.replaceAll("\\u003Cscript id='vite-iframe-footer'\\u003E\\u003C/script\\u003E", encodeForJSON(viteFooter));
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
99
|
else {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "2.
|
|
1
|
+
export declare const VERSION = "2.3.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../../src/node/cli/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../../src/node/cli/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,UAAU,CAAA"}
|
package/dist/node/cli/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = "2.
|
|
1
|
+
export const VERSION = "2.3.0";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-vite-config.d.ts","sourceRoot":"","sources":["../../../src/node/compiler/get-vite-config.ts"],"names":[],"mappings":"AAMA,OAAO,EAAgB,YAAY,EAAE,YAAY,EAAE,MAAM,MAAM,CAAA;AAG/D,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAA;AAEtD,MAAM,MAAM,IAAI,GAAG;IACjB,IAAI,EAAE,aAAa,GAAG,YAAY,CAAA;IAClC,UAAU,EAAE,OAAO,CAAA;IACnB,MAAM,EAAE,UAAU,GAAG,KAAK,CAAA;IAC1B,OAAO,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,SAAS,EAAE,MAAM,CAAA;IACjB,OAAO,EAAE,WAAW,CAAC,GAAG,CAAC,CAAA;IACzB,MAAM,EAAE,OAAO,CAAA;CAChB,CAAA;AAED,wBAAgB,SAAS,CAAC,IAAI,EAAE,IAAI,GAAG,YAAY,CAoDlD;AAED,KAAK,eAAe,GAAG;IACrB,eAAe,CAAC,EAAE,OAAO,CAAA;CAC1B,CAAA;AAED,wBAAgB,WAAW,CAAC,IAAI,GAAE,eAAoB,kBA4FrD;AAED;;GAEG;AACH,wBAAgB,SAAS,IAAI,YAAY,CA4CxC;AAwBD,wBAAgB,aAAa,IAAI,YAAY,CAW5C;AAED,wBAAgB,WAAW,CAAC,IAAI,EAAE,IAAI,GAAG,YAAY,EAAE,CAatD;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,IAAI,GAAG,YAAY,EAAE,CAE/D;AAED,wBAAgB,wBAAwB,IAAI,YAAY,CA8BvD;AAED,wBAAgB,YAAY,CAAC,IAAI,EAAE;IAAE,OAAO,EAAE,WAAW,CAAC,GAAG,CAAC,CAAA;CAAE,GAAG,YAAY,CA4B9E;AAED,wBAAgB,aAAa,CAAC,IAAI,EAAE,IAAI,GAAG,YAAY,
|
|
1
|
+
{"version":3,"file":"get-vite-config.d.ts","sourceRoot":"","sources":["../../../src/node/compiler/get-vite-config.ts"],"names":[],"mappings":"AAMA,OAAO,EAAgB,YAA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", z.core.$ZodTypeInternals<"2", "1" | "2">>;
|
|
43
43
|
favicon: z.ZodOptional<z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
44
44
|
mode: z.ZodLiteral<"auto">;
|
|
45
45
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eddev-build-file.d.ts","sourceRoot":"","sources":["../../../src/node/project/eddev-build-file.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;
|
|
1
|
+
{"version":3,"file":"eddev-build-file.d.ts","sourceRoot":"","sources":["../../../src/node/project/eddev-build-file.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AAI3C;;GAEG;AACH,qBAAa,eAAe;IACP,OAAO,EAAE,OAAO;gBAAhB,OAAO,EAAE,OAAO;IAEnC,KAAK;IAUC,KAAK;CAkEZ"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { join } from "path";
|
|
2
2
|
import { fs } from "../utils/fs.js";
|
|
3
3
|
import { kebabCase, snakeCase } from "change-case-all";
|
|
4
|
+
import { VERSION } from "../cli/version.js";
|
|
4
5
|
/**
|
|
5
6
|
* This class writes theme info to the theme-manifest.json file, which is then consumed by PHP code.
|
|
6
7
|
*/
|
|
@@ -26,6 +27,7 @@ export class BuildInfoWriter {
|
|
|
26
27
|
return name;
|
|
27
28
|
};
|
|
28
29
|
const data = {
|
|
30
|
+
version: VERSION,
|
|
29
31
|
blocks: Object.values(blockManifest.blocks)
|
|
30
32
|
.sort((a, b) => b.fileName.localeCompare(a.fileName))
|
|
31
33
|
.map((block) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project.d.ts","sourceRoot":"","sources":["../../../src/node/project/project.ts"],"names":[],"mappings":"AAMA,OAAO,EAAgB,QAAQ,EAAE,MAAM,aAAa,CAAA;AAEpD,OAA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AE,CAAA;IACH,OAAO,EAAE;QACP,IAAI,EAAE,MAAM,CAAA;QACZ,IAAI,EAAE,MAAM,CAAA;QACZ,OAAO,EAAE,MAAM,CAAA;QACf,GAAG,EAAE,MAAM,CAAA;KACZ,EAAE,CAAA;IACH,UAAU,EAAE,MAAM,EAAE,CAAA;IACpB,SAAS,EAAE,MAAM,EAAE,CAAA;IACnB,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IACnC,aAAa,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,OAAO,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;IACrE,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAA;CAC7B,CAAA;AAED,qBAAa,MAAM;IAEE,OAAO,EAAE,MAAM;IADlC,OAAO,CAAC,MAAM,CAAC,CAAY;gBACR,OAAO,EAAE,MAAM;IAE5B,IAAI;IASJ,OAAO,CAAC,KAAK,GAAE,OAAe;IAe9B,eAAe;CAkBtB"}
|
|
@@ -39,6 +39,8 @@ export class WPInfo {
|
|
|
39
39
|
issues.push(`The "Better Admin Bar" plugin is not needed, as this functionality is handled by the stack.`);
|
|
40
40
|
}
|
|
41
41
|
});
|
|
42
|
+
if (!info.eddevPhpVersion || info.eddevPhpVersion.startsWith("1."))
|
|
43
|
+
issues.push(`The "eddev-php" package is not fully compatible with this version of eddev!`);
|
|
42
44
|
return issues;
|
|
43
45
|
}
|
|
44
46
|
}
|
|
@@ -31,8 +31,8 @@ export declare const BlockMetaSchema: z.ZodObject<{
|
|
|
31
31
|
fieldName: z.ZodString;
|
|
32
32
|
}, z.core.$strip>>;
|
|
33
33
|
frontendMode: z.ZodDefault<z.ZodEnum<{
|
|
34
|
-
default: "default";
|
|
35
34
|
hidden: "hidden";
|
|
35
|
+
default: "default";
|
|
36
36
|
childrenOnly: "childrenOnly";
|
|
37
37
|
}>>;
|
|
38
38
|
inserter: z.ZodDefault<z.ZodBoolean>;
|
package/dist/node/utils/fs.d.ts
CHANGED
|
@@ -76,7 +76,7 @@ export declare const fs: {
|
|
|
76
76
|
mkdtemp(prefix: string, options?: import("fs").ObjectEncodingOptions | BufferEncoding | null): Promise<string>;
|
|
77
77
|
mkdtemp(prefix: string, options: import("fs").BufferEncodingOption): Promise<Buffer>;
|
|
78
78
|
mkdtemp(prefix: string, options?: import("fs").ObjectEncodingOptions | BufferEncoding | null): Promise<string | Buffer>;
|
|
79
|
-
writeFile(file: import("fs").PathLike | nodeFs.FileHandle, data: string | NodeJS.ArrayBufferView | Iterable<string | NodeJS.ArrayBufferView> | AsyncIterable<string | NodeJS.ArrayBufferView> | import("stream")
|
|
79
|
+
writeFile(file: import("fs").PathLike | nodeFs.FileHandle, data: string | NodeJS.ArrayBufferView | Iterable<string | NodeJS.ArrayBufferView> | AsyncIterable<string | NodeJS.ArrayBufferView> | import("stream"), options?: (import("fs").ObjectEncodingOptions & {
|
|
80
80
|
mode?: import("fs").Mode | undefined;
|
|
81
81
|
flag?: import("fs").OpenMode | undefined;
|
|
82
82
|
flush?: boolean | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fs.d.ts","sourceRoot":"","sources":["../../../src/node/utils/fs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,aAAa,CAAA;AAGrC,eAAO,MAAM,EAAE;6BAEkB,MAAM,WAAW,MAAM;iCAWnB,MAAM,WAAW,GAAG;sBAW/B,MAAM,WAAW,GAAG;qBAGrB,MAAM;mBAIR,MAAM;mBAQN,MAAM;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"fs.d.ts","sourceRoot":"","sources":["../../../src/node/utils/fs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,aAAa,CAAA;AAGrC,eAAO,MAAM,EAAE;6BAEkB,MAAM,WAAW,MAAM;iCAWnB,MAAM,WAAW,GAAG;sBAW/B,MAAM,WAAW,GAAG;qBAGrB,MAAM;mBAIR,MAAM;mBAQN,MAAM;;;;;;;;;;;;iBAQgw0B,CAAC;;;;qBAAqkD,CAAC;iBAA8C,CAAC;;;;qBAAmjB,CAAC;iBAA8C,CAAC;;;qBAA+gB,CAAC;iBAA8C,CAAC;;;;iBAAkhB,CAAC;;;;;;;cAA65F,CAAC;;;;;;;cAAoe,CAAC;;;;;;;cAAif,CAAC;;;;;;;;;;;;;;;;;;;;;YAAkoT,CAAC;YAAwC,CAAC;aAAoR,CAAC;;;aAAi2B,CAAC;;;gBAAosE,CAAC;YAAwC,CAAC;;;;YAA4nB,CAAC;;;YAAwrB,CAAC;;;;;;;;;;;;;;CADnw/C,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eddev",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.3.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -146,6 +146,5 @@
|
|
|
146
146
|
"react": "^18.3.1",
|
|
147
147
|
"react-dom": "^18.3.1",
|
|
148
148
|
"tailwindcss": "^3.4.4"
|
|
149
|
-
}
|
|
150
|
-
"packageManager": "yarn@4.11.0"
|
|
149
|
+
}
|
|
151
150
|
}
|
package/.yarnrc.yml
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
nodeLinker: node-modules
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EditorSupport.d.ts","sourceRoot":"","sources":["../../../../../src/app/lib/blocks/editor/EditorSupport.tsx"],"names":[],"mappings":"AAUA,wBAAgB,aAAa,CAAC,EAAE,OAAO,EAAE,EAAE,GAAG,kDAkC7C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"monaco-graphql.worker.d.ts","sourceRoot":"","sources":["../../../../../../src/app/lib/devtools/components/panels/monaco-graphql.worker.ts"],"names":[],"mappings":""}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
// @ts-expect-error: worker entry
|
|
2
|
-
import { initialize } from "monaco-editor/esm/vs/editor/editor.worker";
|
|
3
|
-
import { GraphQLWorker } from "monaco-graphql/esm/GraphQLWorker.js";
|
|
4
|
-
globalThis.onmessage = () => {
|
|
5
|
-
initialize((ctx, createData) => {
|
|
6
|
-
// optional: tweak createData.languageConfig here
|
|
7
|
-
return new GraphQLWorker(ctx, createData);
|
|
8
|
-
});
|
|
9
|
-
};
|