@rxdrag/website-studio 0.0.78 → 0.0.80

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.
Files changed (35) hide show
  1. package/dist/components/DocCanvas/DocCanvas.d.ts +1 -1
  2. package/dist/{cssMode-b137ae06.js → cssMode-d1af77de.js} +2 -2
  3. package/dist/{cssMode-b137ae06.js.map → cssMode-d1af77de.js.map} +1 -1
  4. package/dist/{freemarker2-b418373b.js → freemarker2-d91cd881.js} +2 -2
  5. package/dist/{freemarker2-b418373b.js.map → freemarker2-d91cd881.js.map} +1 -1
  6. package/dist/{handlebars-a6c2c4c3.js → handlebars-61fc54ed.js} +2 -2
  7. package/dist/{handlebars-a6c2c4c3.js.map → handlebars-61fc54ed.js.map} +1 -1
  8. package/dist/{html-b6714726.js → html-1369577f.js} +2 -2
  9. package/dist/{html-b6714726.js.map → html-1369577f.js.map} +1 -1
  10. package/dist/{htmlMode-eec2a329.js → htmlMode-003f6b6d.js} +2 -2
  11. package/dist/{htmlMode-eec2a329.js.map → htmlMode-003f6b6d.js.map} +1 -1
  12. package/dist/{index-b0c38706.js → index-b3469a2e.js} +98 -30
  13. package/dist/{index-b0c38706.js.map → index-b3469a2e.js.map} +1 -1
  14. package/dist/index.mjs +1 -1
  15. package/dist/{javascript-d2dc0138.js → javascript-871e0438.js} +3 -3
  16. package/dist/{javascript-d2dc0138.js.map → javascript-871e0438.js.map} +1 -1
  17. package/dist/{jsonMode-de4e62c5.js → jsonMode-e9191c8f.js} +2 -2
  18. package/dist/{jsonMode-de4e62c5.js.map → jsonMode-e9191c8f.js.map} +1 -1
  19. package/dist/{liquid-5b672f51.js → liquid-a824c3eb.js} +2 -2
  20. package/dist/{liquid-5b672f51.js.map → liquid-a824c3eb.js.map} +1 -1
  21. package/dist/{mdx-9cdb8a93.js → mdx-2283616e.js} +2 -2
  22. package/dist/{mdx-9cdb8a93.js.map → mdx-2283616e.js.map} +1 -1
  23. package/dist/{python-588cad95.js → python-ce1955dc.js} +2 -2
  24. package/dist/{python-588cad95.js.map → python-ce1955dc.js.map} +1 -1
  25. package/dist/{razor-c607db8f.js → razor-ec8250d7.js} +2 -2
  26. package/dist/{razor-c607db8f.js.map → razor-ec8250d7.js.map} +1 -1
  27. package/dist/{tsMode-59a6dedd.js → tsMode-4781e831.js} +2 -2
  28. package/dist/{tsMode-59a6dedd.js.map → tsMode-4781e831.js.map} +1 -1
  29. package/dist/{typescript-7d3e36b8.js → typescript-595380e5.js} +2 -2
  30. package/dist/{typescript-7d3e36b8.js.map → typescript-595380e5.js.map} +1 -1
  31. package/dist/{xml-7d116d18.js → xml-c7352c89.js} +2 -2
  32. package/dist/{xml-7d116d18.js.map → xml-c7352c89.js.map} +1 -1
  33. package/dist/{yaml-e4b218e7.js → yaml-23b68cb5.js} +2 -2
  34. package/dist/{yaml-e4b218e7.js.map → yaml-23b68cb5.js.map} +1 -1
  35. package/package.json +23 -23
@@ -15,7 +15,7 @@ import { compileAstroToReact, transformSchemaToCode, extractVariables, isExpress
15
15
  import clsx$1 from "clsx";
16
16
  import { useDesignerEngine, useActivedDocumentId, Designer, useDocumentModified, useClearModified, useDocConfig, useDocumentCode, useViewMode, useGetDocSchemaTree, ViewMode, useRootNode, IFrameCanvasImpl, KeyboardDriver, DragDropDriver, DragOverDriver, MouseClickDriver, MouseMoveDriver, MouseOverOutDriver, CanvasResizeDriver, CanvasScrollDriver, MouseUpDriver, useDragStore, RelativePosition, AcceptType, useCurrentNode, useSelectedElementsRectsInIframe, useActivedElementRect, useActivedId, useTreeNode, useChangeNodeMeta, useNodeMeta, createNodeHandlerProps, useSelection, useBackup, useSetInsertTargetWithPosition, useComponentOperationStore, NodeRelativePosition, TabType, InsertMode, useGetNode, useNodeMove, useClone, useRemoveSelectedNodes, useSelectedNode, useSelectedParent, useSelectParent, MouseMoveEvent, useCodeModified, RXID_ATTR_NAME, useSchemaTree, useSetChildren, useSetDocConfig, useDeviceType, DeviceType, useHistory, useResourceNode, useCanAccept, useConfigModified, useCreateDocument, useRemoveDocument, ContainerImpl, DocumentRoot } from "@rxdrag/rxcraft";
17
17
  import { staticMaterials, AddablePlaceHolder, ViewKeyProvider, ComponentTreeWidget, VariableProvider, setters, DEFUALT_DEVICE_MAP, DEFAULT_SMALLEST_DEVICE, MetaEdittingProvider, useVariables, useExecuteExpression, classListToClassName, expressionAndName, expressionTernaryName, expressionLoopName, useViewKey, slotContentName } from "@rxdrag/website-materials";
18
- import { Icon, Entify, PageLoader, PopoverController, ModalController, AnimateController, TabsController, NumberController, FlipController, CollapseController, AosController, DEFAULT_SAMLL, DEFAULT_MEDIUM, DEFAULT_LARGE, DEFAULT_PRODUCT_IMAGE_SIZE, DEFAULT_PRODUCT_THUMBNAIL_IMAGE_SIZE, DEFAULT_POST_IMAGE_SIZE, DEFAULT_POST_THUMBNAIL_IMAGE_SIZE } from "@rxdrag/website-lib-core";
18
+ import { Icon, Entify, useScroll, PageLoader, PopoverController, ModalController, AnimateController, TabsController, NumberController, FlipController, CollapseController, AosController, DEFAULT_SAMLL, DEFAULT_MEDIUM, DEFAULT_LARGE, DEFAULT_PRODUCT_IMAGE_SIZE, DEFAULT_PRODUCT_THUMBNAIL_IMAGE_SIZE, DEFAULT_POST_IMAGE_SIZE, DEFAULT_POST_THUMBNAIL_IMAGE_SIZE } from "@rxdrag/website-lib-core";
19
19
  import gsap$2 from "gsap";
20
20
  import { useCreateEntityClient, useLazyQueryOneEntity, emitEntityChange, useEntifyEndpoint, useEntifyToken } from "@rxdrag/entify-hooks";
21
21
  import { CheckCircleIcon as CheckCircleIcon$1, CloseIcon, ModalBody, AddIcon as AddIcon$1, TaskStopIcon, AiStarIcon, ConfirmDialog, SettingsIcon, ModalFooter, FavouriteIcon, LightIcon, DarkIcon, EditIcon, TextInput, Drawer, ModalHeader, ModalClose, SearchIcon, ModalContent as ModalContent$1, Modal as Modal$1, ModalOverlay as ModalOverlay$1, WarningIcon, PinIcon, ErrorBoundary, CloneIcon, RemoveIcon, MonacoEditor, RunningIcon, StyledTooltip, PlayIcon, getTheFile, useSave, MoreIcon, CodeSyncIcon, Logo, PagesIcon, WidgetIcon, SeoIcon, TextIcon, HeadingIcon, StarIcon, ImageIcon, VideoIcon, SplineIcon, CardIcon, TableIcon, GridIcon, BoxIcon, DividerIcon, SpacerIcon, SlotIcon, LinkIcon, BreadcrumbIcon, TabsIcon, CarouselIcon, PopoverIcon, ModalIcon, FormIcon, LeafNode, GroupNode, TreeView, DesignIcon, ResetIcon, ImportIcon, AstroIcon, AddFolderIcon, MediasIcon, LanguageIcon, SettingsMinimalisticIcon, CodeSquareIcon, DownloadIcon, UploadIcon } from "@rxdrag/rxcms-common";
@@ -1142,7 +1142,9 @@ const createAstroRuntime = () => {
1142
1142
  const propName = attrKey === "class" ? "className" : attrKey;
1143
1143
  props[propName] = attrValue;
1144
1144
  });
1145
- } else {
1145
+ } else if (attr.name === "style")
1146
+ ;
1147
+ else {
1146
1148
  const name = attr.name === "class" ? "className" : attr.name;
1147
1149
  const lowerName = attr.name.toLowerCase();
1148
1150
  if (booleanAttrs.has(lowerName)) {
@@ -1152,6 +1154,19 @@ const createAstroRuntime = () => {
1152
1154
  }
1153
1155
  }
1154
1156
  });
1157
+ if (element2.style.length > 0) {
1158
+ const styleObj = {};
1159
+ for (let i2 = 0; i2 < element2.style.length; i2++) {
1160
+ const key22 = element2.style[i2];
1161
+ const value = element2.style.getPropertyValue(key22);
1162
+ const camelKey = key22.replace(
1163
+ /-([a-z])/g,
1164
+ (g2) => g2[1].toUpperCase()
1165
+ );
1166
+ styleObj[camelKey] = value;
1167
+ }
1168
+ props.style = styleObj;
1169
+ }
1155
1170
  if (element2.tagName.toLowerCase() === "video") {
1156
1171
  if (props.autoplay || props.autoPlay) {
1157
1172
  props.muted = true;
@@ -1217,12 +1232,34 @@ const createAstroRuntime = () => {
1217
1232
  }
1218
1233
  });
1219
1234
  if (Component2 && typeof Component2 === "object" && "$$typeof" in Component2) {
1235
+ if (finalProps.style && typeof finalProps.style === "string") {
1236
+ const styleObj = {};
1237
+ finalProps.style.split(";").forEach((rule) => {
1238
+ const [key2, value] = rule.split(":");
1239
+ if (key2 && value) {
1240
+ const camelKey = key2.trim().replace(/-([a-z])/g, (g2) => g2[1].toUpperCase());
1241
+ styleObj[camelKey] = value.trim();
1242
+ }
1243
+ });
1244
+ finalProps.style = styleObj;
1245
+ }
1220
1246
  return React__default.createElement(
1221
1247
  Component2,
1222
1248
  finalProps
1223
1249
  );
1224
1250
  }
1225
1251
  if (typeof Component2 === "function") {
1252
+ if (finalProps.style && typeof finalProps.style === "string") {
1253
+ const styleObj = {};
1254
+ finalProps.style.split(";").forEach((rule) => {
1255
+ const [key2, value] = rule.split(":");
1256
+ if (key2 && value) {
1257
+ const camelKey = key2.trim().replace(/-([a-z])/g, (g2) => g2[1].toUpperCase());
1258
+ styleObj[camelKey] = value.trim();
1259
+ }
1260
+ });
1261
+ finalProps.style = styleObj;
1262
+ }
1226
1263
  const Wrapped = (p2) => {
1227
1264
  const out = Component2(p2);
1228
1265
  if (React__default.isValidElement(out))
@@ -133476,7 +133513,7 @@ registerLanguage({
133476
133513
  aliases: ["FreeMarker2", "Apache FreeMarker2"],
133477
133514
  loader: () => {
133478
133515
  {
133479
- return import("./freemarker2-b418373b.js").then((m2) => m2.TagAutoInterpolationDollar);
133516
+ return import("./freemarker2-d91cd881.js").then((m2) => m2.TagAutoInterpolationDollar);
133480
133517
  }
133481
133518
  }
133482
133519
  });
@@ -133485,7 +133522,7 @@ registerLanguage({
133485
133522
  aliases: ["FreeMarker2 (Angle/Dollar)", "Apache FreeMarker2 (Angle/Dollar)"],
133486
133523
  loader: () => {
133487
133524
  {
133488
- return import("./freemarker2-b418373b.js").then((m2) => m2.TagAngleInterpolationDollar);
133525
+ return import("./freemarker2-d91cd881.js").then((m2) => m2.TagAngleInterpolationDollar);
133489
133526
  }
133490
133527
  }
133491
133528
  });
@@ -133494,7 +133531,7 @@ registerLanguage({
133494
133531
  aliases: ["FreeMarker2 (Bracket/Dollar)", "Apache FreeMarker2 (Bracket/Dollar)"],
133495
133532
  loader: () => {
133496
133533
  {
133497
- return import("./freemarker2-b418373b.js").then((m2) => m2.TagBracketInterpolationDollar);
133534
+ return import("./freemarker2-d91cd881.js").then((m2) => m2.TagBracketInterpolationDollar);
133498
133535
  }
133499
133536
  }
133500
133537
  });
@@ -133503,7 +133540,7 @@ registerLanguage({
133503
133540
  aliases: ["FreeMarker2 (Angle/Bracket)", "Apache FreeMarker2 (Angle/Bracket)"],
133504
133541
  loader: () => {
133505
133542
  {
133506
- return import("./freemarker2-b418373b.js").then((m2) => m2.TagAngleInterpolationBracket);
133543
+ return import("./freemarker2-d91cd881.js").then((m2) => m2.TagAngleInterpolationBracket);
133507
133544
  }
133508
133545
  }
133509
133546
  });
@@ -133512,7 +133549,7 @@ registerLanguage({
133512
133549
  aliases: ["FreeMarker2 (Bracket/Bracket)", "Apache FreeMarker2 (Bracket/Bracket)"],
133513
133550
  loader: () => {
133514
133551
  {
133515
- return import("./freemarker2-b418373b.js").then((m2) => m2.TagBracketInterpolationBracket);
133552
+ return import("./freemarker2-d91cd881.js").then((m2) => m2.TagBracketInterpolationBracket);
133516
133553
  }
133517
133554
  }
133518
133555
  });
@@ -133521,7 +133558,7 @@ registerLanguage({
133521
133558
  aliases: ["FreeMarker2 (Auto/Dollar)", "Apache FreeMarker2 (Auto/Dollar)"],
133522
133559
  loader: () => {
133523
133560
  {
133524
- return import("./freemarker2-b418373b.js").then((m2) => m2.TagAutoInterpolationDollar);
133561
+ return import("./freemarker2-d91cd881.js").then((m2) => m2.TagAutoInterpolationDollar);
133525
133562
  }
133526
133563
  }
133527
133564
  });
@@ -133530,7 +133567,7 @@ registerLanguage({
133530
133567
  aliases: ["FreeMarker2 (Auto/Bracket)", "Apache FreeMarker2 (Auto/Bracket)"],
133531
133568
  loader: () => {
133532
133569
  {
133533
- return import("./freemarker2-b418373b.js").then((m2) => m2.TagAutoInterpolationBracket);
133570
+ return import("./freemarker2-d91cd881.js").then((m2) => m2.TagAutoInterpolationBracket);
133534
133571
  }
133535
133572
  }
133536
133573
  });
@@ -133580,7 +133617,7 @@ registerLanguage({
133580
133617
  mimetypes: ["text/x-handlebars-template"],
133581
133618
  loader: () => {
133582
133619
  {
133583
- return import("./handlebars-a6c2c4c3.js");
133620
+ return import("./handlebars-61fc54ed.js");
133584
133621
  }
133585
133622
  }
133586
133623
  });
@@ -133613,7 +133650,7 @@ registerLanguage({
133613
133650
  mimetypes: ["text/html", "text/x-jshtm", "text/template", "text/ng-template"],
133614
133651
  loader: () => {
133615
133652
  {
133616
- return import("./html-b6714726.js");
133653
+ return import("./html-1369577f.js");
133617
133654
  }
133618
133655
  }
133619
133656
  });
@@ -133666,7 +133703,7 @@ registerLanguage({
133666
133703
  mimetypes: ["text/javascript"],
133667
133704
  loader: () => {
133668
133705
  {
133669
- return import("./javascript-d2dc0138.js");
133706
+ return import("./javascript-871e0438.js");
133670
133707
  }
133671
133708
  }
133672
133709
  });
@@ -133765,7 +133802,7 @@ registerLanguage({
133765
133802
  mimetypes: ["application/liquid"],
133766
133803
  loader: () => {
133767
133804
  {
133768
- return import("./liquid-5b672f51.js");
133805
+ return import("./liquid-a824c3eb.js");
133769
133806
  }
133770
133807
  }
133771
133808
  });
@@ -133813,7 +133850,7 @@ registerLanguage({
133813
133850
  aliases: ["MDX", "mdx"],
133814
133851
  loader: () => {
133815
133852
  {
133816
- return import("./mdx-9cdb8a93.js");
133853
+ return import("./mdx-2283616e.js");
133817
133854
  }
133818
133855
  }
133819
133856
  });
@@ -134072,7 +134109,7 @@ registerLanguage({
134072
134109
  firstLine: "^#!/.*\\bpython[0-9.-]*\\b",
134073
134110
  loader: () => {
134074
134111
  {
134075
- return import("./python-588cad95.js");
134112
+ return import("./python-ce1955dc.js");
134076
134113
  }
134077
134114
  }
134078
134115
  });
@@ -134121,7 +134158,7 @@ registerLanguage({
134121
134158
  mimetypes: ["text/x-cshtml"],
134122
134159
  loader: () => {
134123
134160
  {
134124
- return import("./razor-c607db8f.js");
134161
+ return import("./razor-ec8250d7.js");
134125
134162
  }
134126
134163
  }
134127
134164
  });
@@ -134457,7 +134494,7 @@ registerLanguage({
134457
134494
  mimetypes: ["text/typescript"],
134458
134495
  loader: () => {
134459
134496
  {
134460
- return import("./typescript-7d3e36b8.js");
134497
+ return import("./typescript-595380e5.js");
134461
134498
  }
134462
134499
  }
134463
134500
  });
@@ -134541,7 +134578,7 @@ registerLanguage({
134541
134578
  mimetypes: ["text/xml", "application/xml", "application/xaml+xml", "application/xml-dtd"],
134542
134579
  loader: () => {
134543
134580
  {
134544
- return import("./xml-7d116d18.js");
134581
+ return import("./xml-c7352c89.js");
134545
134582
  }
134546
134583
  }
134547
134584
  });
@@ -134558,7 +134595,7 @@ registerLanguage({
134558
134595
  mimetypes: ["application/x-yaml", "text/x-yaml"],
134559
134596
  loader: () => {
134560
134597
  {
134561
- return import("./yaml-e4b218e7.js");
134598
+ return import("./yaml-23b68cb5.js");
134562
134599
  }
134563
134600
  }
134564
134601
  });
@@ -134682,7 +134719,7 @@ var lessDefaults = new LanguageServiceDefaultsImpl$3(
134682
134719
  monaco_editor_core_exports$3.languages.css = { cssDefaults, lessDefaults, scssDefaults };
134683
134720
  function getMode$3() {
134684
134721
  {
134685
- return import("./cssMode-b137ae06.js");
134722
+ return import("./cssMode-d1af77de.js");
134686
134723
  }
134687
134724
  }
134688
134725
  monaco_editor_core_exports$3.languages.onLanguage("less", () => {
@@ -134813,7 +134850,7 @@ monaco_editor_core_exports$2.languages.html = {
134813
134850
  };
134814
134851
  function getMode$2() {
134815
134852
  {
134816
- return import("./htmlMode-eec2a329.js");
134853
+ return import("./htmlMode-003f6b6d.js");
134817
134854
  }
134818
134855
  }
134819
134856
  function registerHTMLLanguageService(languageId, options = optionsDefault, modeConfiguration = getConfigurationDefault(languageId)) {
@@ -134911,7 +134948,7 @@ var getWorker = () => getMode$1().then((mode) => mode.getWorker());
134911
134948
  monaco_editor_core_exports$1.languages.json = { jsonDefaults, getWorker };
134912
134949
  function getMode$1() {
134913
134950
  {
134914
- return import("./jsonMode-de4e62c5.js");
134951
+ return import("./jsonMode-e9191c8f.js");
134915
134952
  }
134916
134953
  }
134917
134954
  monaco_editor_core_exports$1.languages.register({
@@ -135187,7 +135224,7 @@ monaco_editor_core_exports.languages.typescript = {
135187
135224
  };
135188
135225
  function getMode() {
135189
135226
  {
135190
- return import("./tsMode-59a6dedd.js");
135227
+ return import("./tsMode-4781e831.js");
135191
135228
  }
135192
135229
  }
135193
135230
  monaco_editor_core_exports.languages.onLanguage("typescript", () => {
@@ -186140,6 +186177,11 @@ const DocFrame = memo(
186140
186177
  const initialHTML = useFrameInitialHTML({
186141
186178
  styleConfig
186142
186179
  });
186180
+ useScroll(
186181
+ 10,
186182
+ (iframeDoc == null ? void 0 : iframeDoc.defaultView) || void 0,
186183
+ iframeDoc || void 0
186184
+ );
186143
186185
  useEffect(() => {
186144
186186
  if (iframeDoc) {
186145
186187
  const styles = [];
@@ -187330,6 +187372,9 @@ const DocCanvas = memo((props) => {
187330
187372
  ...astroVariables
187331
187373
  };
187332
187374
  }, [variables, astroVariables]);
187375
+ if ((resource == null ? void 0 : resource.frontmatter) && variables === void 0) {
187376
+ return null;
187377
+ }
187333
187378
  return /* @__PURE__ */ jsxRuntimeExports.jsx(DocFrame, { ...props, children: /* @__PURE__ */ jsxRuntimeExports.jsx(ErrorBoundary, { children: documentId && /* @__PURE__ */ jsxRuntimeExports.jsx(VariableProvider, { value: allVariables, children: /* @__PURE__ */ jsxRuntimeExports.jsx(DocTreeView, {}) }) }) });
187334
187379
  });
187335
187380
  const InsertionCursor = () => {
@@ -190983,6 +191028,11 @@ const DocPreview = memo(() => {
190983
191028
  const initialHTML = useFrameInitialHTML({
190984
191029
  styleConfig
190985
191030
  });
191031
+ useScroll(
191032
+ 10,
191033
+ (iframeDoc == null ? void 0 : iframeDoc.defaultView) || void 0,
191034
+ iframeDoc || void 0
191035
+ );
190986
191036
  useEffect(() => {
190987
191037
  if (iframeDoc) {
190988
191038
  const styles = [];
@@ -206220,7 +206270,16 @@ function ThemeDesigner() {
206220
206270
  docIdRef.current && removeDocument(docIdRef.current);
206221
206271
  setDocId(void 0);
206222
206272
  }
206223
- }, [code, config2, createDocument, engine, removeDocument, schema, onlyCode, setViewMode]);
206273
+ }, [
206274
+ code,
206275
+ config2,
206276
+ createDocument,
206277
+ engine,
206278
+ removeDocument,
206279
+ schema,
206280
+ onlyCode,
206281
+ setViewMode
206282
+ ]);
206224
206283
  const handleRefChange = useCallback(
206225
206284
  (el) => {
206226
206285
  var _a3, _b3;
@@ -206265,7 +206324,7 @@ function ThemeDesigner() {
206265
206324
  selectedDrawerType: drawerType,
206266
206325
  selectedContent,
206267
206326
  onSelectDrawerType: handleDrawerTypeChange,
206268
- extra: website && /* @__PURE__ */ jsxRuntimeExports.jsx(
206327
+ extra: website && /* @__PURE__ */ jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(
206269
206328
  LeftbarButtion,
206270
206329
  {
206271
206330
  title: "媒体库",
@@ -206273,7 +206332,7 @@ function ThemeDesigner() {
206273
206332
  onPress: handleOpenMediaLib,
206274
206333
  children: /* @__PURE__ */ jsxRuntimeExports.jsx(MediasIcon, { className: "size-5" })
206275
206334
  }
206276
- )
206335
+ ) })
206277
206336
  }
206278
206337
  ),
206279
206338
  /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -206847,7 +206906,16 @@ function WebsiteDesigner(props) {
206847
206906
  }
206848
206907
  setDocId(void 0);
206849
206908
  }
206850
- }, [code, config2, createDocument, engine, removeDocument, schema, onlyCode, setViewMode]);
206909
+ }, [
206910
+ code,
206911
+ config2,
206912
+ createDocument,
206913
+ engine,
206914
+ removeDocument,
206915
+ schema,
206916
+ onlyCode,
206917
+ setViewMode
206918
+ ]);
206851
206919
  const handleRefChange = useCallback(
206852
206920
  (el) => {
206853
206921
  var _a3, _b3;
@@ -206892,7 +206960,7 @@ function WebsiteDesigner(props) {
206892
206960
  selectedDrawerType: drawerType,
206893
206961
  selectedContent,
206894
206962
  onSelectDrawerType: handleDrawerTypeChange,
206895
- extra: /* @__PURE__ */ jsxRuntimeExports.jsx(
206963
+ extra: /* @__PURE__ */ jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(
206896
206964
  LeftbarButtion,
206897
206965
  {
206898
206966
  title: "媒体库",
@@ -206900,7 +206968,7 @@ function WebsiteDesigner(props) {
206900
206968
  onPress: handleOpenMediaLib,
206901
206969
  children: /* @__PURE__ */ jsxRuntimeExports.jsx(MediasIcon, { className: "size-5" })
206902
206970
  }
206903
- )
206971
+ ) })
206904
206972
  }
206905
206973
  ),
206906
206974
  /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -206990,4 +207058,4 @@ export {
206990
207058
  typescriptDefaults as t,
206991
207059
  useCustomizedMaterials as u
206992
207060
  };
206993
- //# sourceMappingURL=index-b0c38706.js.map
207061
+ //# sourceMappingURL=index-b3469a2e.js.map