@pagehub/sdk 0.1.4 → 0.1.6
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/README.md +1 -1
- package/dist/chrome/viewport/Viewport/hooks/usePageLoadIndicator.d.ts +2 -2
- package/dist/chrome/viewport/design-system/hooks/useDesignSystem.d.ts +2 -2
- package/dist/chrome/viewport/design-system/hooks/usePaletteState.d.ts +2 -2
- package/dist/chunks/ActionEditorPanel-9v50QUwu.js +89 -0
- package/dist/chunks/ActionInput-CTt7sOs6.js +929 -0
- package/dist/chunks/ActionsAddPicker-BeTPUUor.js +51 -0
- package/dist/chunks/ActionsInput-D0h-zLYj.js +174 -0
- package/dist/chunks/AnchoredPopover-CckPTxXu.js +2676 -0
- package/dist/chunks/AnimationEditorPanel-CXNmsTqV.js +26 -0
- package/dist/chunks/AnimationsInput-Djyz0uXG.js +292 -0
- package/dist/chunks/AnimationsInputPopover-B2-oNebx.js +71 -0
- package/dist/chunks/AnimationsPanel-DungA9qb.js +25 -0
- package/dist/chunks/Audio.render-CsR69fZ9.js +22 -0
- package/dist/chunks/AudioMainTab-BljM2NMQ.js +70 -0
- package/dist/chunks/BackdropEditorPanel-CA2k-6SR.js +26 -0
- package/dist/chunks/BackgroundImageInputPopover-vB_217Ig.js +94 -0
- package/dist/chunks/BackgroundImagePanel-BvMhF9eU.js +100 -0
- package/dist/chunks/BackgroundMainTab-CI4c5DEF.js +10 -0
- package/dist/chunks/BundleRowPanel-BcYfyfGQ.js +33 -0
- package/dist/chunks/ButtonMainTab-Civy_DoA.js +43 -0
- package/dist/chunks/CSSEditorInput-C1ITwAh3.js +73 -0
- package/dist/chunks/ClassNameInput-Ce0fGQES.js +720 -0
- package/dist/chunks/CodeEditor-axBXmPH8.js +33370 -0
- package/dist/chunks/ColorInput-BSfMNt86.js +187 -0
- package/dist/chunks/ColorPanel-DOLrT-gS.js +562 -0
- package/dist/chunks/ComponentImportExportPanel-DVcnGhGx.js +161 -0
- package/dist/chunks/ComponentImportExportPopover-BY1_oxU8.js +26 -0
- package/dist/chunks/ConditionEditorPanel-DLbqYaSF.js +43 -0
- package/dist/chunks/ConditionsAddPicker-SsHJlc1E.js +54 -0
- package/dist/chunks/ConditionsInput-B_5Nge8o.js +474 -0
- package/dist/chunks/ContainerMainTab-kkktm1Ns.js +1107 -0
- package/dist/chunks/ContainerOverflowSectionPanel-ibKXf-1N.js +120 -0
- package/dist/chunks/ContainerOverflowSectionPopover-CRQ9EPsn.js +24 -0
- package/dist/chunks/ContainerPaddingOverlay-Cd3xOv-S.js +340 -0
- package/dist/chunks/ContainerScrollEffectSection-Dbztqdnr.js +123 -0
- package/dist/chunks/ContainerStateSection-DY_gjBJL.js +478 -0
- package/dist/chunks/ConversionFields-Bpfl-SGP.js +135 -0
- package/dist/chunks/CraftListEditor-_TIy1ogW.js +73 -0
- package/dist/chunks/CreateTokenDialog-DNWtWqJd.js +147 -0
- package/dist/chunks/Data.render-DTmaqSyz.js +10 -0
- package/dist/chunks/DataAttributesPanel-mYhisO_O.js +125 -0
- package/dist/chunks/DataMainTab-Batm515E.js +23 -0
- package/dist/chunks/DataSourceSectionSlot-BKoO6Vxn.js +10 -0
- package/dist/chunks/EditorEmptyLeafHintView-D3E3UN_0.js +78 -0
- package/dist/chunks/EffectRowInputPopover-CYhfjFwJ.js +323 -0
- package/dist/chunks/EffectsClassInput-Yujuchwy.js +315 -0
- package/dist/chunks/Embed.render-BgKpUV8n.js +17 -0
- package/dist/chunks/EmbedMainTab-d_-Bnkug.js +225 -0
- package/dist/chunks/FilterEditorPanel-CRa0IpLr.js +26 -0
- package/dist/chunks/FlexDirectionInput-C5gYjk5W.js +78 -0
- package/dist/chunks/FloatingPanel-DJP5Vhua.js +553 -0
- package/dist/chunks/FontFamilyInput-CVNnVylt.js +111 -0
- package/dist/chunks/Form.render-6GjcmL2u.js +54 -0
- package/dist/chunks/FormElement.render-DWrG-2ID.js +36 -0
- package/dist/chunks/FormElementMainTab-DSbF3F6e.js +470 -0
- package/dist/chunks/FormMainTab-SHny1HxF.js +240 -0
- package/dist/chunks/GradientInputPopover-1K6O9jBq.js +103 -0
- package/dist/chunks/GradientPanel-DSRQKkaB.js +194 -0
- package/dist/chunks/HTMLCodeInput-CCe4Bj5z.js +69 -0
- package/dist/chunks/HandlerEditorPanel-DiOXobsl.js +93 -0
- package/dist/chunks/HandlersAddPicker-DWTgjKgo.js +101 -0
- package/dist/chunks/HandlersInput-p49STTn8.js +132 -0
- package/dist/chunks/IconDialogInput-C-81_L2n.js +105 -0
- package/dist/chunks/IconInput-D2Gy7Hvf.js +182 -0
- package/dist/chunks/IconMainTab-CNrVjDWP.js +26 -0
- package/dist/chunks/IconPickerPanel-BjNOlCh6.js +670 -0
- package/dist/chunks/ImageMainTab-C4O7RjX0.js +66 -0
- package/dist/chunks/ImageSettingsPanel-dvOmGg3C.js +485 -0
- package/dist/chunks/LayoutPresetPanel-CNAVAcvw.js +81 -0
- package/dist/chunks/LayoutPresetSlot-BqMTdE33.js +16 -0
- package/dist/chunks/LinkMainTab-BfFZx0AU.js +13 -0
- package/dist/chunks/ListEditor-mD-CmRNE.js +178 -0
- package/dist/chunks/Map.render-DFkmncHz.js +82 -0
- package/dist/chunks/MapLeaflet-DOfmZ3Pk.js +6588 -0
- package/dist/chunks/MapMainTab-CxI7IS1_.js +165 -0
- package/dist/chunks/MapPoint.render-0OAfCZTp.js +16 -0
- package/dist/chunks/MapPointMainTab-CmLcaSR5.js +60 -0
- package/dist/chunks/MediaInput-DHs3D8TJ.js +672 -0
- package/dist/chunks/MediaManagerModal-Dc5PK3dn.js +240 -0
- package/dist/chunks/MiniPreviewTile-B4zxTj9Y.js +32 -0
- package/dist/chunks/ModifierChipList-CwsWklih.js +33 -0
- package/dist/chunks/ModifiersAddPicker-D-vSYw7O.js +74 -0
- package/dist/chunks/ModifiersPickerPanel-CTefidBx.js +243 -0
- package/dist/chunks/NodeAiContextInputPopover-D5bn5o_T.js +66 -0
- package/dist/chunks/NodeAiContextPanel-Bx4rcjiM.js +81 -0
- package/dist/chunks/NumberSettingsPanel-DASi_l6V.js +56 -0
- package/dist/chunks/PageSettingsModal-D6o450IR.js +2678 -0
- package/dist/chunks/PatternInputPopover-qMWBv_nl.js +100 -0
- package/dist/chunks/PatternPanel-D2fgWDd-.js +352 -0
- package/dist/chunks/PeekTargetButton-ClrJX7zh.js +26 -0
- package/dist/chunks/PermissionsSection-DwobrV40.js +82 -0
- package/dist/chunks/PresetAddChildList-D6a0xdt8.js +35 -0
- package/dist/chunks/PropertiesInput-9O39ngbb.js +125 -0
- package/dist/chunks/PropertiesPanel-DO0RlalO.js +76 -0
- package/dist/chunks/SaveModifierPanel-B6mjKyrT.js +130 -0
- package/dist/chunks/ScrollEffectEditorPanel-CllGUhui.js +26 -0
- package/dist/chunks/SearchInput-DRUztbM0.js +76 -0
- package/dist/chunks/SearchableMenuPopover-DZKVXiEl.js +1251 -0
- package/dist/chunks/SlotRenderer-CaLf_2_C.js +38 -0
- package/dist/chunks/StateBindingEditorPanel-DKdcG5py.js +101 -0
- package/dist/chunks/StateBindingsAddPicker-DxMNAWAD.js +91 -0
- package/dist/chunks/StateBindingsInput-iWiqvAVB.js +103 -0
- package/dist/chunks/TailwindInput-660FZtyK.js +24 -0
- package/dist/chunks/TextEditor-B2O7DlN8.js +22032 -0
- package/dist/chunks/TextMainTab-B5udsXsk.js +260 -0
- package/dist/chunks/TextStyleEditorPanel-GRNPGzUL.js +381 -0
- package/dist/chunks/TextStylePickerPanel-l108SmGQ.js +140 -0
- package/dist/chunks/TextareaSettingsPanel-C1rQuF1O.js +50 -0
- package/dist/chunks/TokenPicker-Q0LToF_p.js +291 -0
- package/dist/chunks/ToolbarDashedButton-DbUxGmDg.js +23 -0
- package/dist/chunks/TransformEditorPanel-BGwyznZ6.js +26 -0
- package/dist/chunks/TransitionEditorPanel-BSvk58Ow.js +26 -0
- package/dist/chunks/TypographyPresetInput-DqnGSgR2.js +296 -0
- package/dist/chunks/ValidationPanel-CmA9SfoF.js +56 -0
- package/dist/chunks/Video.render-Dg6xvis4.js +21 -0
- package/dist/chunks/VideoMainTab-v5UFhUm-.js +174 -0
- package/dist/chunks/YouTube.esm-EbHnLU1Z.js +744 -0
- package/dist/chunks/dialogAtoms-CeQ2G05l.js +59 -0
- package/dist/chunks/extends-hS2Bh-Yp.js +12 -0
- package/dist/chunks/formatStorage-C3o2s3dk.js +22 -0
- package/dist/chunks/googleFonts-Dj4AntNi.js +323 -0
- package/dist/chunks/helpers-Cll72tMn.js +18 -0
- package/dist/chunks/index-B-GJd039.js +2875 -0
- package/dist/chunks/index-C66dAl3Q.js +32177 -0
- package/dist/chunks/index.esm-mqFx3NOs.js +644 -0
- package/dist/chunks/popoverOpenRequestAtom-hBS_siXv.js +22 -0
- package/dist/chunks/propertyRegistry-CMhVNOgl.js +38 -0
- package/dist/chunks/resolveAnchorsViaCraft-Cixm6ZyJ.js +31 -0
- package/dist/chunks/toolboxUtils-DjTMslSn.js +370 -0
- package/dist/chunks/uiPrimitives-BtohldWg.js +15 -0
- package/dist/chunks/use-event-listener-DO3Sk7g0.js +15 -0
- package/dist/chunks/useElementPicker-DoNuXNMQ.js +41 -0
- package/dist/chunks/useLayoutPreset-wOMV5YnO.js +528 -0
- package/dist/chunks/useMediaManager-CmKDbFfw.js +4629 -0
- package/dist/chunks/usePopoverAutoOpen-CxIjt0ez.js +25 -0
- package/dist/chunks/usePopoverPosition-83Vti7Aw.js +15 -0
- package/dist/render/static/index.js +9 -0
- package/package.json +22 -13
- package/dist/pagehub-viewer.umd.cjs +0 -574
- package/dist/pagehub.umd.cjs +0 -1130
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { jsxs as c, Fragment as g, jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import { useEditor as f, useNode as p } from "@craftjs/core";
|
|
3
|
+
import { useEffect as h } from "react";
|
|
4
|
+
import { u as M, M as P, a as v, I as y, C } from "./useMediaManager-CmKDbFfw.js";
|
|
5
|
+
import { F as I } from "./FloatingPanel-DJP5Vhua.js";
|
|
6
|
+
import { W as k, aP as x, aS as S } from "./index-C66dAl3Q.js";
|
|
7
|
+
const w = 480, F = 600;
|
|
8
|
+
function D({ initialPosition: s, onClose: a }) {
|
|
9
|
+
const { query: r, actions: l } = f(), {
|
|
10
|
+
actions: { setProp: m },
|
|
11
|
+
id: u
|
|
12
|
+
} = p((i) => ({ id: i.id })), d = (i) => {
|
|
13
|
+
if (!i) return;
|
|
14
|
+
const t = x(r, i);
|
|
15
|
+
m((o) => {
|
|
16
|
+
o.background || (o.background = {}), o.background.image = i, o.background.imageType = (t == null ? void 0 : t.type) || "cdn";
|
|
17
|
+
}), S(
|
|
18
|
+
r,
|
|
19
|
+
l,
|
|
20
|
+
i,
|
|
21
|
+
(t == null ? void 0 : t.type) || "cdn",
|
|
22
|
+
u
|
|
23
|
+
), a();
|
|
24
|
+
}, e = M({
|
|
25
|
+
isOpen: !0,
|
|
26
|
+
onClose: a,
|
|
27
|
+
onSelect: d,
|
|
28
|
+
selectionMode: !0
|
|
29
|
+
});
|
|
30
|
+
return h(() => {
|
|
31
|
+
e.kindFilter !== "all" && e.setKindFilter("all");
|
|
32
|
+
}, [e.kindFilter, e.setKindFilter]), /* @__PURE__ */ c(g, { children: [
|
|
33
|
+
/* @__PURE__ */ n(
|
|
34
|
+
I,
|
|
35
|
+
{
|
|
36
|
+
isOpen: !0,
|
|
37
|
+
onClose: a,
|
|
38
|
+
title: "Select Image",
|
|
39
|
+
storageKey: "background-image-picker",
|
|
40
|
+
autoSize: !1,
|
|
41
|
+
defaultWidth: w,
|
|
42
|
+
defaultHeight: F,
|
|
43
|
+
minWidth: 360,
|
|
44
|
+
maxWidth: 720,
|
|
45
|
+
minHeight: 420,
|
|
46
|
+
initialPosition: s,
|
|
47
|
+
persistSize: !1,
|
|
48
|
+
zIndex: k,
|
|
49
|
+
children: /* @__PURE__ */ n(
|
|
50
|
+
P,
|
|
51
|
+
{
|
|
52
|
+
manager: e,
|
|
53
|
+
selectionMode: !0,
|
|
54
|
+
onSelect: d,
|
|
55
|
+
onClose: a,
|
|
56
|
+
popover: !0
|
|
57
|
+
}
|
|
58
|
+
)
|
|
59
|
+
}
|
|
60
|
+
),
|
|
61
|
+
/* @__PURE__ */ n(
|
|
62
|
+
v,
|
|
63
|
+
{
|
|
64
|
+
previewMedia: e.previewMedia,
|
|
65
|
+
filteredMedia: e.filteredMedia,
|
|
66
|
+
onClose: () => e.setPreviewMedia(null),
|
|
67
|
+
onPrevious: e.handlePreviewPrevious,
|
|
68
|
+
onNext: e.handlePreviewNext
|
|
69
|
+
}
|
|
70
|
+
),
|
|
71
|
+
/* @__PURE__ */ n(
|
|
72
|
+
y,
|
|
73
|
+
{
|
|
74
|
+
isOpen: e.cropMedia !== null,
|
|
75
|
+
onClose: () => e.setCropMedia(null),
|
|
76
|
+
media: e.cropMedia,
|
|
77
|
+
onSave: e.handleSaveCroppedImage,
|
|
78
|
+
settings: e.settings
|
|
79
|
+
},
|
|
80
|
+
"image-crop-modal"
|
|
81
|
+
),
|
|
82
|
+
/* @__PURE__ */ n(
|
|
83
|
+
C,
|
|
84
|
+
{
|
|
85
|
+
isOpen: e.deleteConfirm.isOpen,
|
|
86
|
+
onClose: () => e.setDeleteConfirm({ isOpen: !1, mediaIds: [] }),
|
|
87
|
+
onConfirm: e.confirmDelete,
|
|
88
|
+
title: "Delete Media",
|
|
89
|
+
message: e.deleteConfirm.mediaIds.length > 1 ? `Are you sure you want to delete ${e.deleteConfirm.mediaIds.length} media items? This action cannot be undone.` : "Are you sure you want to delete this media item? This action cannot be undone.",
|
|
90
|
+
confirmText: "Delete",
|
|
91
|
+
cancelText: "Cancel",
|
|
92
|
+
variant: "danger"
|
|
93
|
+
},
|
|
94
|
+
"delete-confirm-dialog"
|
|
95
|
+
)
|
|
96
|
+
] });
|
|
97
|
+
}
|
|
98
|
+
export {
|
|
99
|
+
D as default
|
|
100
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { w as r } from "./index-C66dAl3Q.js";
|
|
3
|
+
import { r as t } from "./helpers-Cll72tMn.js";
|
|
4
|
+
import { S as e } from "./SlotRenderer-CaLf_2_C.js";
|
|
5
|
+
const m = () => t({
|
|
6
|
+
Content: /* @__PURE__ */ o(r, { collapsible: !1, children: /* @__PURE__ */ o(e, { id: "settings/ai-button" }) })
|
|
7
|
+
});
|
|
8
|
+
export {
|
|
9
|
+
m as BackgroundMainTab
|
|
10
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { F as d } from "./FloatingPanel-DJP5Vhua.js";
|
|
3
|
+
import { P as l } from "./ContainerMainTab-kkktm1Ns.js";
|
|
4
|
+
import { W as p } from "./index-C66dAl3Q.js";
|
|
5
|
+
function x({
|
|
6
|
+
title: t,
|
|
7
|
+
icon: o,
|
|
8
|
+
storageKey: i,
|
|
9
|
+
initialPosition: n,
|
|
10
|
+
onClose: m,
|
|
11
|
+
properties: a
|
|
12
|
+
}) {
|
|
13
|
+
return /* @__PURE__ */ e(
|
|
14
|
+
d,
|
|
15
|
+
{
|
|
16
|
+
isOpen: !0,
|
|
17
|
+
onClose: m,
|
|
18
|
+
title: t,
|
|
19
|
+
icon: o,
|
|
20
|
+
storageKey: i,
|
|
21
|
+
minWidth: 260,
|
|
22
|
+
maxWidth: 480,
|
|
23
|
+
minHeight: 120,
|
|
24
|
+
initialPosition: n,
|
|
25
|
+
zIndex: p,
|
|
26
|
+
scrollable: !0,
|
|
27
|
+
children: a.map((r) => /* @__PURE__ */ e(l, { def: r }, r.id))
|
|
28
|
+
}
|
|
29
|
+
);
|
|
30
|
+
}
|
|
31
|
+
export {
|
|
32
|
+
x as default
|
|
33
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { jsxs as l, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { useNode as p } from "@craftjs/core";
|
|
3
|
+
import { w as s, n as i, C as m, T as u } from "./index-C66dAl3Q.js";
|
|
4
|
+
import { I as b } from "./IconInput-D2Gy7Hvf.js";
|
|
5
|
+
import { r as c } from "./helpers-Cll72tMn.js";
|
|
6
|
+
const y = [
|
|
7
|
+
{ value: "button", label: "Button" },
|
|
8
|
+
{ value: "submit", label: "Submit" },
|
|
9
|
+
{ value: "reset", label: "Reset" }
|
|
10
|
+
];
|
|
11
|
+
function T() {
|
|
12
|
+
const {
|
|
13
|
+
actions: { setProp: r },
|
|
14
|
+
type: a
|
|
15
|
+
} = p((o) => {
|
|
16
|
+
var t, n;
|
|
17
|
+
return {
|
|
18
|
+
type: ((n = (t = o.data) == null ? void 0 : t.props) == null ? void 0 : n.type) || "button"
|
|
19
|
+
};
|
|
20
|
+
});
|
|
21
|
+
return /* @__PURE__ */ e(m, { label: "Type", frame: "bare", children: /* @__PURE__ */ e("div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ e(
|
|
22
|
+
u,
|
|
23
|
+
{
|
|
24
|
+
dense: !0,
|
|
25
|
+
"aria-label": "Button type",
|
|
26
|
+
value: a,
|
|
27
|
+
onChange: (o) => r((t) => {
|
|
28
|
+
t.type = o;
|
|
29
|
+
}, 0),
|
|
30
|
+
options: y
|
|
31
|
+
}
|
|
32
|
+
) }) });
|
|
33
|
+
}
|
|
34
|
+
const v = () => c({
|
|
35
|
+
Content: /* @__PURE__ */ l(s, { collapsible: !1, children: [
|
|
36
|
+
/* @__PURE__ */ e(i, { propKey: "text", type: "text", label: "Text", propType: "component" }),
|
|
37
|
+
/* @__PURE__ */ e(b, { propKey: "icon" }),
|
|
38
|
+
/* @__PURE__ */ e(T, {})
|
|
39
|
+
] })
|
|
40
|
+
});
|
|
41
|
+
export {
|
|
42
|
+
v as ButtonMainTab
|
|
43
|
+
};
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { jsx as p } from "react/jsx-runtime";
|
|
2
|
+
import { C as h, l as u } from "./CodeEditor-axBXmPH8.js";
|
|
3
|
+
import { useEditor as m, useNode as g } from "@craftjs/core";
|
|
4
|
+
import { u as y, V as f, g as S, w as v, c as C } from "./index-C66dAl3Q.js";
|
|
5
|
+
const P = u((i) => {
|
|
6
|
+
const s = [], e = i.state.doc.toString();
|
|
7
|
+
try {
|
|
8
|
+
const n = (e.match(/{/g) || []).length, a = (e.match(/}/g) || []).length;
|
|
9
|
+
n !== a && s.push({
|
|
10
|
+
from: 0,
|
|
11
|
+
to: e.length,
|
|
12
|
+
severity: "error",
|
|
13
|
+
message: "Unmatched braces in CSS"
|
|
14
|
+
}), e.split(`
|
|
15
|
+
`).forEach((r, l) => {
|
|
16
|
+
const t = r.trim();
|
|
17
|
+
if (t && t.includes(":") && !t.endsWith(";") && !t.endsWith("{") && !t.endsWith("}") && !t.startsWith("/*") && !t.startsWith("//")) {
|
|
18
|
+
const o = e.split(`
|
|
19
|
+
`).slice(0, l).join(`
|
|
20
|
+
`).length + l;
|
|
21
|
+
s.push({
|
|
22
|
+
from: o,
|
|
23
|
+
to: o + r.length,
|
|
24
|
+
severity: "warning",
|
|
25
|
+
message: "Missing semicolon"
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
});
|
|
29
|
+
} catch {
|
|
30
|
+
}
|
|
31
|
+
return s;
|
|
32
|
+
}), V = () => {
|
|
33
|
+
const i = y(f), { query: s, actions: e } = m(), {
|
|
34
|
+
actions: { setProp: n },
|
|
35
|
+
nodeProps: a,
|
|
36
|
+
id: c
|
|
37
|
+
} = g((o) => {
|
|
38
|
+
var d;
|
|
39
|
+
return {
|
|
40
|
+
nodeProps: ((d = o.data) == null ? void 0 : d.props) || {},
|
|
41
|
+
id: o.id
|
|
42
|
+
};
|
|
43
|
+
}), { value: r } = S({ propKey: "style", propType: "root" }, i, a);
|
|
44
|
+
return /* @__PURE__ */ p(v, { title: "Inline Style", nested: !0, collapsible: !0, defaultOpen: !1, accordionPassive: !0, children: /* @__PURE__ */ p(
|
|
45
|
+
h,
|
|
46
|
+
{
|
|
47
|
+
value: r,
|
|
48
|
+
onChange: (o) => {
|
|
49
|
+
C({
|
|
50
|
+
propKey: "style",
|
|
51
|
+
value: o,
|
|
52
|
+
setProp: n,
|
|
53
|
+
view: "root",
|
|
54
|
+
propType: "root",
|
|
55
|
+
query: s,
|
|
56
|
+
actions: e,
|
|
57
|
+
nodeId: c
|
|
58
|
+
});
|
|
59
|
+
},
|
|
60
|
+
language: "css",
|
|
61
|
+
extensions: [P],
|
|
62
|
+
height: "150px",
|
|
63
|
+
lineNumbers: !1,
|
|
64
|
+
theme: "auto",
|
|
65
|
+
placeholder: "color: tomato; border-style: dotted;",
|
|
66
|
+
autoFormatOnMount: !0,
|
|
67
|
+
autoFormatMountKey: c
|
|
68
|
+
}
|
|
69
|
+
) });
|
|
70
|
+
};
|
|
71
|
+
export {
|
|
72
|
+
V as CSSEditorInput
|
|
73
|
+
};
|