@rxdrag/website-studio 0.0.77 → 0.0.79

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 (36) hide show
  1. package/dist/components/DocCanvas/DocCanvas.d.ts +1 -1
  2. package/dist/components/InsertDrawer/SectionsPanel/NewSectionList/resources.d.ts +41 -2
  3. package/dist/{cssMode-2fab6fd8.js → cssMode-df1a2138.js} +2 -2
  4. package/dist/{cssMode-2fab6fd8.js.map → cssMode-df1a2138.js.map} +1 -1
  5. package/dist/{freemarker2-985c1aab.js → freemarker2-7edb092b.js} +2 -2
  6. package/dist/{freemarker2-985c1aab.js.map → freemarker2-7edb092b.js.map} +1 -1
  7. package/dist/{handlebars-41f9e3d5.js → handlebars-feb05976.js} +2 -2
  8. package/dist/{handlebars-41f9e3d5.js.map → handlebars-feb05976.js.map} +1 -1
  9. package/dist/{html-4e07dfcb.js → html-870671b6.js} +2 -2
  10. package/dist/{html-4e07dfcb.js.map → html-870671b6.js.map} +1 -1
  11. package/dist/{htmlMode-f2256fc7.js → htmlMode-a2b081f4.js} +2 -2
  12. package/dist/{htmlMode-f2256fc7.js.map → htmlMode-a2b081f4.js.map} +1 -1
  13. package/dist/{index-c56cb64e.js → index-55da451c.js} +2333 -232
  14. package/dist/{index-c56cb64e.js.map → index-55da451c.js.map} +1 -1
  15. package/dist/index.mjs +1 -1
  16. package/dist/{javascript-b8a057c6.js → javascript-c26f93ec.js} +3 -3
  17. package/dist/{javascript-b8a057c6.js.map → javascript-c26f93ec.js.map} +1 -1
  18. package/dist/{jsonMode-a93a3066.js → jsonMode-9bb59d77.js} +2 -2
  19. package/dist/{jsonMode-a93a3066.js.map → jsonMode-9bb59d77.js.map} +1 -1
  20. package/dist/{liquid-545fa7e1.js → liquid-6ab364b9.js} +2 -2
  21. package/dist/{liquid-545fa7e1.js.map → liquid-6ab364b9.js.map} +1 -1
  22. package/dist/{mdx-23212856.js → mdx-c70a8a1c.js} +2 -2
  23. package/dist/{mdx-23212856.js.map → mdx-c70a8a1c.js.map} +1 -1
  24. package/dist/{python-571a1d38.js → python-31cd5a7c.js} +2 -2
  25. package/dist/{python-571a1d38.js.map → python-31cd5a7c.js.map} +1 -1
  26. package/dist/{razor-5d3d8972.js → razor-d5fae3eb.js} +2 -2
  27. package/dist/{razor-5d3d8972.js.map → razor-d5fae3eb.js.map} +1 -1
  28. package/dist/{tsMode-715919b3.js → tsMode-089b8a95.js} +2 -2
  29. package/dist/{tsMode-715919b3.js.map → tsMode-089b8a95.js.map} +1 -1
  30. package/dist/{typescript-70b501c4.js → typescript-84dc99fd.js} +2 -2
  31. package/dist/{typescript-70b501c4.js.map → typescript-84dc99fd.js.map} +1 -1
  32. package/dist/{xml-e3501494.js → xml-8852fbc1.js} +2 -2
  33. package/dist/{xml-e3501494.js.map → xml-8852fbc1.js.map} +1 -1
  34. package/dist/{yaml-9cffb366.js → yaml-38f98cba.js} +2 -2
  35. package/dist/{yaml-9cffb366.js.map → yaml-38f98cba.js.map} +1 -1
  36. package/package.json +22 -22
@@ -15,10 +15,10 @@ 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
- 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, PopoverIcon, ModalIcon, FormIcon, LeafNode, GroupNode, TreeView, DesignIcon, ResetIcon, ImportIcon, AstroIcon, AddFolderIcon, MediasIcon, LanguageIcon, SettingsMinimalisticIcon, CodeSquareIcon, DownloadIcon, UploadIcon } from "@rxdrag/rxcms-common";
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, StarsIcon, LanguageIcon, SettingsMinimalisticIcon, CodeSquareIcon, DownloadIcon, UploadIcon } from "@rxdrag/rxcms-common";
22
22
  import { create as create$4 } from "zustand";
23
23
  import { Card, CardBody, Button as Button$2, CircularProgress, addToast, CardHeader, Select, SelectItem, Dropdown, DropdownTrigger, DropdownMenu as DropdownMenu$1, DropdownItem, Accordion, AccordionItem, Input, Tabs, Tab, Divider, cn, Checkbox, Chip, Skeleton, CardFooter, Image, useDisclosure, Modal as Modal$2, ModalContent as ModalContent$2, ModalHeader as ModalHeader$1, ModalBody as ModalBody$1, ModalFooter as ModalFooter$1, Tooltip, RadioGroup, Radio } from "@heroui/react";
24
24
  import { Icon as Icon$1 } from "@iconify/react";
@@ -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))
@@ -81051,7 +81088,7 @@ class InputBox2 extends Widget$1 {
81051
81088
  return;
81052
81089
  }
81053
81090
  let div;
81054
- const layout3 = () => div.style.width = getTotalWidth(this.element) + "px";
81091
+ const layout2 = () => div.style.width = getTotalWidth(this.element) + "px";
81055
81092
  this.contextViewProvider.showContextView({
81056
81093
  getAnchor: () => this.element,
81057
81094
  anchorAlignment: 1,
@@ -81060,7 +81097,7 @@ class InputBox2 extends Widget$1 {
81060
81097
  return null;
81061
81098
  }
81062
81099
  div = append$1(container, $$a(".monaco-inputbox-container"));
81063
- layout3();
81100
+ layout2();
81064
81101
  const renderOptions = {
81065
81102
  inline: true,
81066
81103
  className: "monaco-inputbox-message"
@@ -81077,7 +81114,7 @@ class InputBox2 extends Widget$1 {
81077
81114
  onHide: () => {
81078
81115
  this.state = "closed";
81079
81116
  },
81080
- layout: layout3
81117
+ layout: layout2
81081
81118
  });
81082
81119
  let alertText;
81083
81120
  if (this.message.type === 3) {
@@ -112393,8 +112430,8 @@ class RenderData {
112393
112430
  /**
112394
112431
  * Check if the current RenderData matches accurately the new desired layout and no painting is needed.
112395
112432
  */
112396
- linesEquals(layout3) {
112397
- if (!this.scrollEquals(layout3)) {
112433
+ linesEquals(layout2) {
112434
+ if (!this.scrollEquals(layout2)) {
112398
112435
  return false;
112399
112436
  }
112400
112437
  const tmp = this._renderedLines._get();
@@ -112409,8 +112446,8 @@ class RenderData {
112409
112446
  /**
112410
112447
  * Check if the current RenderData matches the new layout's scroll position
112411
112448
  */
112412
- scrollEquals(layout3) {
112413
- return this.renderedLayout.startLineNumber === layout3.startLineNumber && this.renderedLayout.endLineNumber === layout3.endLineNumber;
112449
+ scrollEquals(layout2) {
112450
+ return this.renderedLayout.startLineNumber === layout2.startLineNumber && this.renderedLayout.endLineNumber === layout2.endLineNumber;
112414
112451
  }
112415
112452
  _get() {
112416
112453
  const tmp = this._renderedLines._get();
@@ -113179,23 +113216,23 @@ class InnerMinimap extends Disposable {
113179
113216
  } else {
113180
113217
  this._shadow.setClassName("minimap-shadow-visible");
113181
113218
  }
113182
- const layout3 = MinimapLayout.create(this._model.options, renderingCtx.viewportStartLineNumber, renderingCtx.viewportEndLineNumber, renderingCtx.viewportStartLineNumberVerticalOffset, renderingCtx.viewportHeight, renderingCtx.viewportContainsWhitespaceGaps, this._model.getLineCount(), this._model.getRealLineCount(), renderingCtx.scrollTop, renderingCtx.scrollHeight, this._lastRenderData ? this._lastRenderData.renderedLayout : null);
113183
- this._slider.setDisplay(layout3.sliderNeeded ? "block" : "none");
113184
- this._slider.setTop(layout3.sliderTop);
113185
- this._slider.setHeight(layout3.sliderHeight);
113219
+ const layout2 = MinimapLayout.create(this._model.options, renderingCtx.viewportStartLineNumber, renderingCtx.viewportEndLineNumber, renderingCtx.viewportStartLineNumberVerticalOffset, renderingCtx.viewportHeight, renderingCtx.viewportContainsWhitespaceGaps, this._model.getLineCount(), this._model.getRealLineCount(), renderingCtx.scrollTop, renderingCtx.scrollHeight, this._lastRenderData ? this._lastRenderData.renderedLayout : null);
113220
+ this._slider.setDisplay(layout2.sliderNeeded ? "block" : "none");
113221
+ this._slider.setTop(layout2.sliderTop);
113222
+ this._slider.setHeight(layout2.sliderHeight);
113186
113223
  this._sliderHorizontal.setLeft(0);
113187
113224
  this._sliderHorizontal.setWidth(this._model.options.minimapWidth);
113188
113225
  this._sliderHorizontal.setTop(0);
113189
- this._sliderHorizontal.setHeight(layout3.sliderHeight);
113190
- this.renderDecorations(layout3);
113191
- this._lastRenderData = this.renderLines(layout3);
113226
+ this._sliderHorizontal.setHeight(layout2.sliderHeight);
113227
+ this.renderDecorations(layout2);
113228
+ this._lastRenderData = this.renderLines(layout2);
113192
113229
  }
113193
- renderDecorations(layout3) {
113230
+ renderDecorations(layout2) {
113194
113231
  if (this._renderDecorations) {
113195
113232
  this._renderDecorations = false;
113196
113233
  const selections2 = this._model.getSelections();
113197
113234
  selections2.sort(Range$2.compareRangesUsingStarts);
113198
- const decorations2 = this._model.getMinimapDecorationsInViewport(layout3.startLineNumber, layout3.endLineNumber);
113235
+ const decorations2 = this._model.getMinimapDecorationsInViewport(layout2.startLineNumber, layout2.endLineNumber);
113199
113236
  decorations2.sort((a2, b) => (a2.options.zIndex || 0) - (b.options.zIndex || 0));
113200
113237
  const { canvasInnerWidth, canvasInnerHeight } = this._model.options;
113201
113238
  const minimapLineHeight = this._model.options.minimapLineHeight;
@@ -113203,16 +113240,16 @@ class InnerMinimap extends Disposable {
113203
113240
  const tabSize = this._model.getOptions().tabSize;
113204
113241
  const canvasContext = this._decorationsCanvas.domNode.getContext("2d");
113205
113242
  canvasContext.clearRect(0, 0, canvasInnerWidth, canvasInnerHeight);
113206
- const highlightedLines = new ContiguousLineMap(layout3.startLineNumber, layout3.endLineNumber, false);
113207
- this._renderSelectionLineHighlights(canvasContext, selections2, highlightedLines, layout3, minimapLineHeight);
113208
- this._renderDecorationsLineHighlights(canvasContext, decorations2, highlightedLines, layout3, minimapLineHeight);
113209
- const lineOffsetMap = new ContiguousLineMap(layout3.startLineNumber, layout3.endLineNumber, null);
113210
- this._renderSelectionsHighlights(canvasContext, selections2, lineOffsetMap, layout3, minimapLineHeight, tabSize, minimapCharWidth, canvasInnerWidth);
113211
- this._renderDecorationsHighlights(canvasContext, decorations2, lineOffsetMap, layout3, minimapLineHeight, tabSize, minimapCharWidth, canvasInnerWidth);
113212
- this._renderSectionHeaders(layout3);
113243
+ const highlightedLines = new ContiguousLineMap(layout2.startLineNumber, layout2.endLineNumber, false);
113244
+ this._renderSelectionLineHighlights(canvasContext, selections2, highlightedLines, layout2, minimapLineHeight);
113245
+ this._renderDecorationsLineHighlights(canvasContext, decorations2, highlightedLines, layout2, minimapLineHeight);
113246
+ const lineOffsetMap = new ContiguousLineMap(layout2.startLineNumber, layout2.endLineNumber, null);
113247
+ this._renderSelectionsHighlights(canvasContext, selections2, lineOffsetMap, layout2, minimapLineHeight, tabSize, minimapCharWidth, canvasInnerWidth);
113248
+ this._renderDecorationsHighlights(canvasContext, decorations2, lineOffsetMap, layout2, minimapLineHeight, tabSize, minimapCharWidth, canvasInnerWidth);
113249
+ this._renderSectionHeaders(layout2);
113213
113250
  }
113214
113251
  }
113215
- _renderSelectionLineHighlights(canvasContext, selections2, highlightedLines, layout3, minimapLineHeight) {
113252
+ _renderSelectionLineHighlights(canvasContext, selections2, highlightedLines, layout2, minimapLineHeight) {
113216
113253
  if (!this._selectionColor || this._selectionColor.isTransparent()) {
113217
113254
  return;
113218
113255
  }
@@ -113220,7 +113257,7 @@ class InnerMinimap extends Disposable {
113220
113257
  let y1 = 0;
113221
113258
  let y2 = 0;
113222
113259
  for (const selection of selections2) {
113223
- const intersection2 = layout3.intersectWithViewport(selection);
113260
+ const intersection2 = layout2.intersectWithViewport(selection);
113224
113261
  if (!intersection2) {
113225
113262
  continue;
113226
113263
  }
@@ -113228,8 +113265,8 @@ class InnerMinimap extends Disposable {
113228
113265
  for (let line = startLineNumber; line <= endLineNumber; line++) {
113229
113266
  highlightedLines.set(line, true);
113230
113267
  }
113231
- const yy1 = layout3.getYForLineNumber(startLineNumber, minimapLineHeight);
113232
- const yy2 = layout3.getYForLineNumber(endLineNumber, minimapLineHeight);
113268
+ const yy1 = layout2.getYForLineNumber(startLineNumber, minimapLineHeight);
113269
+ const yy2 = layout2.getYForLineNumber(endLineNumber, minimapLineHeight);
113233
113270
  if (y2 >= yy1) {
113234
113271
  y2 = yy2;
113235
113272
  } else {
@@ -113244,7 +113281,7 @@ class InnerMinimap extends Disposable {
113244
113281
  canvasContext.fillRect(MINIMAP_GUTTER_WIDTH, y1, canvasContext.canvas.width, y2 - y1);
113245
113282
  }
113246
113283
  }
113247
- _renderDecorationsLineHighlights(canvasContext, decorations2, highlightedLines, layout3, minimapLineHeight) {
113284
+ _renderDecorationsLineHighlights(canvasContext, decorations2, highlightedLines, layout2, minimapLineHeight) {
113248
113285
  const highlightColors = /* @__PURE__ */ new Map();
113249
113286
  for (let i2 = decorations2.length - 1; i2 >= 0; i2--) {
113250
113287
  const decoration2 = decorations2[i2];
@@ -113252,7 +113289,7 @@ class InnerMinimap extends Disposable {
113252
113289
  if (!minimapOptions || minimapOptions.position !== 1) {
113253
113290
  continue;
113254
113291
  }
113255
- const intersection2 = layout3.intersectWithViewport(decoration2.range);
113292
+ const intersection2 = layout2.intersectWithViewport(decoration2.range);
113256
113293
  if (!intersection2) {
113257
113294
  continue;
113258
113295
  }
@@ -113272,33 +113309,33 @@ class InnerMinimap extends Disposable {
113272
113309
  continue;
113273
113310
  }
113274
113311
  highlightedLines.set(line, true);
113275
- const y2 = layout3.getYForLineNumber(startLineNumber, minimapLineHeight);
113312
+ const y2 = layout2.getYForLineNumber(startLineNumber, minimapLineHeight);
113276
113313
  canvasContext.fillRect(MINIMAP_GUTTER_WIDTH, y2, canvasContext.canvas.width, minimapLineHeight);
113277
113314
  }
113278
113315
  }
113279
113316
  }
113280
- _renderSelectionsHighlights(canvasContext, selections2, lineOffsetMap, layout3, lineHeight, tabSize, characterWidth, canvasInnerWidth) {
113317
+ _renderSelectionsHighlights(canvasContext, selections2, lineOffsetMap, layout2, lineHeight, tabSize, characterWidth, canvasInnerWidth) {
113281
113318
  if (!this._selectionColor || this._selectionColor.isTransparent()) {
113282
113319
  return;
113283
113320
  }
113284
113321
  for (const selection of selections2) {
113285
- const intersection2 = layout3.intersectWithViewport(selection);
113322
+ const intersection2 = layout2.intersectWithViewport(selection);
113286
113323
  if (!intersection2) {
113287
113324
  continue;
113288
113325
  }
113289
113326
  const [startLineNumber, endLineNumber] = intersection2;
113290
113327
  for (let line = startLineNumber; line <= endLineNumber; line++) {
113291
- this.renderDecorationOnLine(canvasContext, lineOffsetMap, selection, this._selectionColor, layout3, line, lineHeight, lineHeight, tabSize, characterWidth, canvasInnerWidth);
113328
+ this.renderDecorationOnLine(canvasContext, lineOffsetMap, selection, this._selectionColor, layout2, line, lineHeight, lineHeight, tabSize, characterWidth, canvasInnerWidth);
113292
113329
  }
113293
113330
  }
113294
113331
  }
113295
- _renderDecorationsHighlights(canvasContext, decorations2, lineOffsetMap, layout3, minimapLineHeight, tabSize, characterWidth, canvasInnerWidth) {
113332
+ _renderDecorationsHighlights(canvasContext, decorations2, lineOffsetMap, layout2, minimapLineHeight, tabSize, characterWidth, canvasInnerWidth) {
113296
113333
  for (const decoration2 of decorations2) {
113297
113334
  const minimapOptions = decoration2.options.minimap;
113298
113335
  if (!minimapOptions) {
113299
113336
  continue;
113300
113337
  }
113301
- const intersection2 = layout3.intersectWithViewport(decoration2.range);
113338
+ const intersection2 = layout2.intersectWithViewport(decoration2.range);
113302
113339
  if (!intersection2) {
113303
113340
  continue;
113304
113341
  }
@@ -113310,10 +113347,10 @@ class InnerMinimap extends Disposable {
113310
113347
  for (let line = startLineNumber; line <= endLineNumber; line++) {
113311
113348
  switch (minimapOptions.position) {
113312
113349
  case 1:
113313
- this.renderDecorationOnLine(canvasContext, lineOffsetMap, decoration2.range, decorationColor, layout3, line, minimapLineHeight, minimapLineHeight, tabSize, characterWidth, canvasInnerWidth);
113350
+ this.renderDecorationOnLine(canvasContext, lineOffsetMap, decoration2.range, decorationColor, layout2, line, minimapLineHeight, minimapLineHeight, tabSize, characterWidth, canvasInnerWidth);
113314
113351
  continue;
113315
113352
  case 2: {
113316
- const y2 = layout3.getYForLineNumber(line, minimapLineHeight);
113353
+ const y2 = layout2.getYForLineNumber(line, minimapLineHeight);
113317
113354
  const x2 = 2;
113318
113355
  this.renderDecoration(canvasContext, decorationColor, x2, y2, GUTTER_DECORATION_WIDTH, minimapLineHeight);
113319
113356
  continue;
@@ -113322,8 +113359,8 @@ class InnerMinimap extends Disposable {
113322
113359
  }
113323
113360
  }
113324
113361
  }
113325
- renderDecorationOnLine(canvasContext, lineOffsetMap, decorationRange, decorationColor, layout3, lineNumber, height, minimapLineHeight, tabSize, charWidth, canvasInnerWidth) {
113326
- const y2 = layout3.getYForLineNumber(lineNumber, minimapLineHeight);
113362
+ renderDecorationOnLine(canvasContext, lineOffsetMap, decorationRange, decorationColor, layout2, lineNumber, height, minimapLineHeight, tabSize, charWidth, canvasInnerWidth) {
113363
+ const y2 = layout2.getYForLineNumber(lineNumber, minimapLineHeight);
113327
113364
  if (y2 + height < 0 || y2 > this._model.options.canvasInnerHeight) {
113328
113365
  return;
113329
113366
  }
@@ -113369,7 +113406,7 @@ class InnerMinimap extends Disposable {
113369
113406
  canvasContext.fillStyle = decorationColor && decorationColor.toString() || "";
113370
113407
  canvasContext.fillRect(x2, y2, width2, height);
113371
113408
  }
113372
- _renderSectionHeaders(layout3) {
113409
+ _renderSectionHeaders(layout2) {
113373
113410
  var _a3;
113374
113411
  const minimapLineHeight = this._model.options.minimapLineHeight;
113375
113412
  const sectionHeaderFontSize = this._model.options.sectionHeaderFontSize;
@@ -113386,11 +113423,11 @@ class InnerMinimap extends Disposable {
113386
113423
  canvasContext.font = "500 " + sectionHeaderFontSize + "px " + this._model.options.sectionHeaderFontFamily;
113387
113424
  canvasContext.strokeStyle = separatorStroke;
113388
113425
  canvasContext.lineWidth = 0.2;
113389
- const decorations2 = this._model.getSectionHeaderDecorationsInViewport(layout3.startLineNumber, layout3.endLineNumber);
113426
+ const decorations2 = this._model.getSectionHeaderDecorationsInViewport(layout2.startLineNumber, layout2.endLineNumber);
113390
113427
  decorations2.sort((a2, b) => a2.range.startLineNumber - b.range.startLineNumber);
113391
113428
  const fitWidth = InnerMinimap._fitSectionHeader.bind(null, canvasContext, canvasInnerWidth - MINIMAP_GUTTER_WIDTH);
113392
113429
  for (const decoration2 of decorations2) {
113393
- const y2 = layout3.getYForLineNumber(decoration2.range.startLineNumber, minimapLineHeight) + sectionHeaderFontSize;
113430
+ const y2 = layout2.getYForLineNumber(decoration2.range.startLineNumber, minimapLineHeight) + sectionHeaderFontSize;
113394
113431
  const backgroundFillY = y2 - sectionHeaderFontSize;
113395
113432
  const separatorY = backgroundFillY + 2;
113396
113433
  const headerText = this._model.getSectionHeaderText(decoration2, fitWidth);
@@ -113431,19 +113468,19 @@ class InnerMinimap extends Disposable {
113431
113468
  target.stroke();
113432
113469
  }
113433
113470
  }
113434
- renderLines(layout3) {
113435
- const startLineNumber = layout3.startLineNumber;
113436
- const endLineNumber = layout3.endLineNumber;
113471
+ renderLines(layout2) {
113472
+ const startLineNumber = layout2.startLineNumber;
113473
+ const endLineNumber = layout2.endLineNumber;
113437
113474
  const minimapLineHeight = this._model.options.minimapLineHeight;
113438
- if (this._lastRenderData && this._lastRenderData.linesEquals(layout3)) {
113475
+ if (this._lastRenderData && this._lastRenderData.linesEquals(layout2)) {
113439
113476
  const _lastData = this._lastRenderData._get();
113440
- return new RenderData(layout3, _lastData.imageData, _lastData.lines);
113477
+ return new RenderData(layout2, _lastData.imageData, _lastData.lines);
113441
113478
  }
113442
113479
  const imageData = this._getBuffer();
113443
113480
  if (!imageData) {
113444
113481
  return null;
113445
113482
  }
113446
- const [_dirtyY1, _dirtyY2, needed] = InnerMinimap._renderUntouchedLines(imageData, layout3.topPaddingLineCount, startLineNumber, endLineNumber, minimapLineHeight, this._lastRenderData);
113483
+ const [_dirtyY1, _dirtyY2, needed] = InnerMinimap._renderUntouchedLines(imageData, layout2.topPaddingLineCount, startLineNumber, endLineNumber, minimapLineHeight, this._lastRenderData);
113447
113484
  const lineInfo = this._model.getMinimapLinesRenderingData(startLineNumber, endLineNumber, needed);
113448
113485
  const tabSize = this._model.getOptions().tabSize;
113449
113486
  const defaultBackground = this._model.options.defaultBackgroundColor;
@@ -113460,7 +113497,7 @@ class InnerMinimap extends Disposable {
113460
113497
  const innerLinePadding = minimapLineHeight > renderMinimapLineHeight ? Math.floor((minimapLineHeight - renderMinimapLineHeight) / 2) : 0;
113461
113498
  const backgroundA = background.a / 255;
113462
113499
  const renderBackground = new RGBA8(Math.round((background.r - defaultBackground.r) * backgroundA + defaultBackground.r), Math.round((background.g - defaultBackground.g) * backgroundA + defaultBackground.g), Math.round((background.b - defaultBackground.b) * backgroundA + defaultBackground.b), 255);
113463
- let dy = layout3.topPaddingLineCount * minimapLineHeight;
113500
+ let dy = layout2.topPaddingLineCount * minimapLineHeight;
113464
113501
  const renderedLines = [];
113465
113502
  for (let lineIndex = 0, lineCount = endLineNumber - startLineNumber + 1; lineIndex < lineCount; lineIndex++) {
113466
113503
  if (needed[lineIndex]) {
@@ -113474,7 +113511,7 @@ class InnerMinimap extends Disposable {
113474
113511
  const dirtyHeight = dirtyY2 - dirtyY1;
113475
113512
  const ctx = this._canvas.domNode.getContext("2d");
113476
113513
  ctx.putImageData(imageData, 0, 0, 0, dirtyY1, imageData.width, dirtyHeight);
113477
- return new RenderData(layout3, imageData, renderedLines);
113514
+ return new RenderData(layout2, imageData, renderedLines);
113478
113515
  }
113479
113516
  static _renderUntouchedLines(target, topPaddingLineCount, startLineNumber, endLineNumber, minimapLineHeight, lastRenderData) {
113480
113517
  const needed = [];
@@ -127383,14 +127420,14 @@ const _MovedBlocksLinesFeature = class _MovedBlocksLinesFeature extends Disposab
127383
127420
  return { range: new OffsetRange(top, bottom), from, to, fromWithoutScroll: start, toWithoutScroll: end, move };
127384
127421
  });
127385
127422
  lines.sort(tieBreakComparators(compareBy((l2) => l2.fromWithoutScroll > l2.toWithoutScroll, booleanComparator), compareBy((l2) => l2.fromWithoutScroll > l2.toWithoutScroll ? l2.fromWithoutScroll : -l2.toWithoutScroll, numberComparator)));
127386
- const layout3 = LinesLayout.compute(lines.map((l2) => l2.range));
127423
+ const layout2 = LinesLayout.compute(lines.map((l2) => l2.range));
127387
127424
  const padding = 10;
127388
127425
  const lineAreaLeft = infoOrig.verticalScrollbarWidth;
127389
- const lineAreaWidth = (layout3.getTrackCount() - 1) * 10 + padding * 2;
127426
+ const lineAreaWidth = (layout2.getTrackCount() - 1) * 10 + padding * 2;
127390
127427
  const width2 = lineAreaLeft + lineAreaWidth + (infoMod.contentLeft - _MovedBlocksLinesFeature.movedCodeBlockPadding);
127391
127428
  let idx = 0;
127392
127429
  for (const line of lines) {
127393
- const track = layout3.getTrack(idx);
127430
+ const track = layout2.getTrack(idx);
127394
127431
  const verticalY = lineAreaLeft + padding + track * 10;
127395
127432
  const arrowHeight = 15;
127396
127433
  const arrowWidth = 15;
@@ -133476,7 +133513,7 @@ registerLanguage({
133476
133513
  aliases: ["FreeMarker2", "Apache FreeMarker2"],
133477
133514
  loader: () => {
133478
133515
  {
133479
- return import("./freemarker2-985c1aab.js").then((m2) => m2.TagAutoInterpolationDollar);
133516
+ return import("./freemarker2-7edb092b.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-985c1aab.js").then((m2) => m2.TagAngleInterpolationDollar);
133525
+ return import("./freemarker2-7edb092b.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-985c1aab.js").then((m2) => m2.TagBracketInterpolationDollar);
133534
+ return import("./freemarker2-7edb092b.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-985c1aab.js").then((m2) => m2.TagAngleInterpolationBracket);
133543
+ return import("./freemarker2-7edb092b.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-985c1aab.js").then((m2) => m2.TagBracketInterpolationBracket);
133552
+ return import("./freemarker2-7edb092b.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-985c1aab.js").then((m2) => m2.TagAutoInterpolationDollar);
133561
+ return import("./freemarker2-7edb092b.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-985c1aab.js").then((m2) => m2.TagAutoInterpolationBracket);
133570
+ return import("./freemarker2-7edb092b.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-41f9e3d5.js");
133620
+ return import("./handlebars-feb05976.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-4e07dfcb.js");
133653
+ return import("./html-870671b6.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-b8a057c6.js");
133706
+ return import("./javascript-c26f93ec.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-545fa7e1.js");
133805
+ return import("./liquid-6ab364b9.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-23212856.js");
133853
+ return import("./mdx-c70a8a1c.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-571a1d38.js");
134112
+ return import("./python-31cd5a7c.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-5d3d8972.js");
134161
+ return import("./razor-d5fae3eb.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-70b501c4.js");
134497
+ return import("./typescript-84dc99fd.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-e3501494.js");
134581
+ return import("./xml-8852fbc1.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-9cffb366.js");
134598
+ return import("./yaml-38f98cba.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-2fab6fd8.js");
134722
+ return import("./cssMode-df1a2138.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-f2256fc7.js");
134853
+ return import("./htmlMode-a2b081f4.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-a93a3066.js");
134951
+ return import("./jsonMode-9bb59d77.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-715919b3.js");
135227
+ return import("./tsMode-089b8a95.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 = [];
@@ -199073,10 +199123,7 @@ function StyleConfigModal(props) {
199073
199123
  ) }),
199074
199124
  /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "w-[480px] flex flex-col min-h-0 h-full bg-default-100 rounded-lg overflow-hidden", children: [
199075
199125
  /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "p-4 border-b border-divider flex items-center justify-between", children: [
199076
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex items-center gap-2", children: [
199077
- /* @__PURE__ */ jsxRuntimeExports.jsx(Icon$1, { icon: "solar:palette-bold", className: "text-primary" }),
199078
- /* @__PURE__ */ jsxRuntimeExports.jsx("h3", { className: "text-sm font-medium", children: "预览" })
199079
- ] }),
199126
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex items-center gap-2", children: /* @__PURE__ */ jsxRuntimeExports.jsx("h3", { className: "text-sm font-medium", children: "预览" }) }),
199080
199127
  /* @__PURE__ */ jsxRuntimeExports.jsx(
199081
199128
  Button$2,
199082
199129
  {
@@ -199924,123 +199971,129 @@ function LeftBar(props) {
199924
199971
  setOpenInsertDrawer(true);
199925
199972
  onSelectDrawerType == null ? void 0 : onSelectDrawerType(null);
199926
199973
  };
199927
- return /* @__PURE__ */ jsxRuntimeExports.jsxs(Sheet, { className: `w-14 flex flex-col border-r shrink-0 relative z-50 pb-2 items-center`, children: [
199928
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex-1 flex flex-col items-center gap-1 py-2", children: [
199929
- selectedContent && viewMode === ViewMode.Design && /* @__PURE__ */ jsxRuntimeExports.jsx(
199930
- LeftbarButtion,
199931
- {
199932
- title: "插入",
199933
- selected: openInsertDrawer,
199934
- onPress: handleOpenInsertDrawer,
199935
- children: /* @__PURE__ */ jsxRuntimeExports.jsx(AddIcon$1, { className: "size-6" })
199936
- }
199937
- ),
199938
- /* @__PURE__ */ jsxRuntimeExports.jsx(
199939
- LeftbarButtion,
199940
- {
199941
- title: "页面",
199942
- selected: selectedDrawerType === DrawerConentType.Pages,
199943
- onPress: () => handleOpenDrawer(DrawerConentType.Pages),
199944
- children: /* @__PURE__ */ jsxRuntimeExports.jsx(PagesIcon, { className: "size-5" })
199945
- }
199946
- ),
199947
- /* @__PURE__ */ jsxRuntimeExports.jsx(
199948
- LeftbarButtion,
199949
- {
199950
- title: titles[DrawerConentType.Components],
199951
- selected: selectedDrawerType === DrawerConentType.Components,
199952
- onPress: () => handleOpenDrawer(DrawerConentType.Components),
199953
- children: /* @__PURE__ */ jsxRuntimeExports.jsx(WidgetIcon, { className: "size-5" })
199954
- }
199955
- ),
199956
- ((selectedContent == null ? void 0 : selectedContent.type) === ContentType.Page || (selectedContent == null ? void 0 : selectedContent.type) === ContentType.PredefinedPage) && /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
199957
- /* @__PURE__ */ jsxRuntimeExports.jsx(
199958
- LeftbarButtion,
199959
- {
199960
- title: titles[DrawerConentType.SEO],
199961
- selected: selectedDrawerType === DrawerConentType.SEO,
199962
- onPress: () => handleOpenDrawer(DrawerConentType.SEO),
199963
- children: /* @__PURE__ */ jsxRuntimeExports.jsx(SeoIcon, { className: "size-5" })
199964
- }
199965
- ),
199966
- /* @__PURE__ */ jsxRuntimeExports.jsx(
199967
- LeftbarButtion,
199968
- {
199969
- title: titles[DrawerConentType.SNS],
199970
- selected: selectedDrawerType === DrawerConentType.SNS,
199971
- onPress: () => handleOpenDrawer(DrawerConentType.SNS),
199972
- children: /* @__PURE__ */ jsxRuntimeExports.jsx(
199973
- "svg",
199974
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs(
199975
+ Sheet,
199976
+ {
199977
+ className: `w-14 flex flex-col border-r shrink-0 relative z-50 pb-2 items-center`,
199978
+ children: [
199979
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex-1 flex flex-col items-center gap-1 py-2", children: [
199980
+ selectedContent && viewMode === ViewMode.Design && /* @__PURE__ */ jsxRuntimeExports.jsx(
199981
+ LeftbarButtion,
199982
+ {
199983
+ title: "插入",
199984
+ selected: openInsertDrawer,
199985
+ onPress: handleOpenInsertDrawer,
199986
+ children: /* @__PURE__ */ jsxRuntimeExports.jsx(AddIcon$1, { className: "size-6" })
199987
+ }
199988
+ ),
199989
+ /* @__PURE__ */ jsxRuntimeExports.jsx(
199990
+ LeftbarButtion,
199991
+ {
199992
+ title: "页面",
199993
+ selected: selectedDrawerType === DrawerConentType.Pages,
199994
+ onPress: () => handleOpenDrawer(DrawerConentType.Pages),
199995
+ children: /* @__PURE__ */ jsxRuntimeExports.jsx(PagesIcon, { className: "size-5" })
199996
+ }
199997
+ ),
199998
+ /* @__PURE__ */ jsxRuntimeExports.jsx(
199999
+ LeftbarButtion,
200000
+ {
200001
+ title: titles[DrawerConentType.Components],
200002
+ selected: selectedDrawerType === DrawerConentType.Components,
200003
+ onPress: () => handleOpenDrawer(DrawerConentType.Components),
200004
+ children: /* @__PURE__ */ jsxRuntimeExports.jsx(WidgetIcon, { className: "size-5" })
200005
+ }
200006
+ ),
200007
+ (selectedContent == null ? void 0 : selectedContent.type) === ContentType.Page && /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
200008
+ /* @__PURE__ */ jsxRuntimeExports.jsx(
200009
+ LeftbarButtion,
199974
200010
  {
199975
- xmlns: "http://www.w3.org/2000/svg",
199976
- className: "size-5",
199977
- viewBox: "0 0 24 24",
199978
- children: /* @__PURE__ */ jsxRuntimeExports.jsxs("g", { fill: "none", stroke: "currentColor", strokeWidth: 1.5, children: [
199979
- /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M9 12a2.5 2.5 0 1 1-5 0a2.5 2.5 0 0 1 5 0Z" }),
199980
- /* @__PURE__ */ jsxRuntimeExports.jsx(
199981
- "path",
199982
- {
199983
- strokeLinecap: "round",
199984
- d: "M14 6.5L9 10m5 7.5L9 14"
199985
- }
199986
- ),
199987
- /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M19 18.5a2.5 2.5 0 1 1-5 0a2.5 2.5 0 0 1 5 0Zm0-13a2.5 2.5 0 1 1-5 0a2.5 2.5 0 0 1 5 0Z" })
199988
- ] })
200011
+ title: titles[DrawerConentType.SEO],
200012
+ selected: selectedDrawerType === DrawerConentType.SEO,
200013
+ onPress: () => handleOpenDrawer(DrawerConentType.SEO),
200014
+ children: /* @__PURE__ */ jsxRuntimeExports.jsx(SeoIcon, { className: "size-5" })
199989
200015
  }
199990
- )
199991
- }
199992
- )
199993
- ] }),
199994
- (selectedContent == null ? void 0 : selectedContent.type) === ContentType.Component && /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
199995
- /* @__PURE__ */ jsxRuntimeExports.jsx(
199996
- LeftbarButtion,
199997
- {
199998
- title: titles[DrawerConentType.ComponentSchema],
199999
- selected: selectedDrawerType === DrawerConentType.ComponentSchema,
200000
- onPress: () => handleOpenDrawer(DrawerConentType.ComponentSchema),
200001
- children: /* @__PURE__ */ jsxRuntimeExports.jsx(
200002
- "svg",
200016
+ ),
200017
+ /* @__PURE__ */ jsxRuntimeExports.jsx(
200018
+ LeftbarButtion,
200003
200019
  {
200004
- xmlns: "http://www.w3.org/2000/svg",
200005
- className: "size-5",
200006
- viewBox: "0 0 24 24",
200007
- children: /* @__PURE__ */ jsxRuntimeExports.jsxs("g", { fill: "currentColor", fillRule: "evenodd", clipRule: "evenodd", children: [
200008
- /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M12 8.25a3.75 3.75 0 1 0 0 7.5a3.75 3.75 0 0 0 0-7.5M9.75 12a2.25 2.25 0 1 1 4.5 0a2.25 2.25 0 0 1-4.5 0" }),
200009
- /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M12 1.25c-.705 0-1.348.194-2.051.52c-.68.317-1.469.783-2.454 1.367l-.754.446c-.986.584-1.773 1.05-2.38 1.496c-.628.462-1.11.934-1.458 1.553s-.505 1.279-.58 2.063c-.073.76-.073 1.691-.073 2.861v.888c0 1.17 0 2.1.073 2.86c.075.785.232 1.446.58 2.064c.349.619.83 1.091 1.458 1.553c.607.446 1.394.912 2.38 1.496l.754.446c.985.584 1.773 1.05 2.454 1.367c.703.326 1.346.52 2.051.52s1.348-.194 2.051-.52c.68-.317 1.469-.783 2.454-1.367l.754-.446c.986-.584 1.773-1.05 2.38-1.496c.628-.462 1.11-.934 1.458-1.553s.505-1.279.58-2.063c.073-.76.073-1.691.073-2.86v-.889c0-1.17 0-2.1-.073-2.86c-.075-.785-.232-1.446-.58-2.064c-.349-.619-.83-1.091-1.458-1.553c-.607-.446-1.394-.912-2.38-1.496l-.754-.446c-.985-.584-1.773-1.05-2.454-1.367c-.703-.326-1.346-.52-2.051-.52M8.225 4.447c1.027-.608 1.751-1.035 2.356-1.316c.59-.274 1.01-.381 1.419-.381s.83.107 1.42.38c.604.282 1.328.71 2.355 1.317l.686.407c1.027.608 1.75 1.037 2.29 1.434c.526.387.83.71 1.038 1.08c.21.371.33.806.395 1.47c.065.68.066 1.54.066 2.756v.812c0 1.216 0 2.075-.066 2.755c-.064.665-.185 1.1-.395 1.471c-.208.37-.512.693-1.038 1.08c-.54.397-1.263.826-2.29 1.434l-.686.407c-1.027.608-1.751 1.035-2.356 1.316c-.59.274-1.01.381-1.419.381s-.83-.107-1.42-.38c-.604-.282-1.328-.71-2.355-1.317l-.686-.407c-1.027-.608-1.75-1.037-2.29-1.434c-.526-.387-.83-.71-1.038-1.08c-.21-.371-.331-.806-.395-1.47c-.065-.68-.066-1.54-.066-2.756v-.812c0-1.216 0-2.075.066-2.755c.064-.665.185-1.1.394-1.471c.209-.37.513-.693 1.04-1.08c.54-.397 1.262-.826 2.29-1.434z" })
200010
- ] })
200020
+ title: titles[DrawerConentType.SNS],
200021
+ selected: selectedDrawerType === DrawerConentType.SNS,
200022
+ onPress: () => handleOpenDrawer(DrawerConentType.SNS),
200023
+ children: /* @__PURE__ */ jsxRuntimeExports.jsx(
200024
+ "svg",
200025
+ {
200026
+ xmlns: "http://www.w3.org/2000/svg",
200027
+ className: "size-5",
200028
+ viewBox: "0 0 24 24",
200029
+ children: /* @__PURE__ */ jsxRuntimeExports.jsxs("g", { fill: "none", stroke: "currentColor", strokeWidth: 1.5, children: [
200030
+ /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M9 12a2.5 2.5 0 1 1-5 0a2.5 2.5 0 0 1 5 0Z" }),
200031
+ /* @__PURE__ */ jsxRuntimeExports.jsx(
200032
+ "path",
200033
+ {
200034
+ strokeLinecap: "round",
200035
+ d: "M14 6.5L9 10m5 7.5L9 14"
200036
+ }
200037
+ ),
200038
+ /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M19 18.5a2.5 2.5 0 1 1-5 0a2.5 2.5 0 0 1 5 0Zm0-13a2.5 2.5 0 1 1-5 0a2.5 2.5 0 0 1 5 0Z" })
200039
+ ] })
200040
+ }
200041
+ )
200011
200042
  }
200012
200043
  )
200013
- }
200014
- ),
200015
- /* @__PURE__ */ jsxRuntimeExports.jsx(
200016
- LeftbarButtion,
200017
- {
200018
- title: titles[DrawerConentType.ComponentTest],
200019
- selected: selectedDrawerType === DrawerConentType.ComponentTest,
200020
- onPress: () => handleOpenDrawer(DrawerConentType.ComponentTest),
200021
- children: /* @__PURE__ */ jsxRuntimeExports.jsx(
200022
- "svg",
200044
+ ] }),
200045
+ (selectedContent == null ? void 0 : selectedContent.type) === ContentType.Component && /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
200046
+ /* @__PURE__ */ jsxRuntimeExports.jsx(
200047
+ LeftbarButtion,
200023
200048
  {
200024
- xmlns: "http://www.w3.org/2000/svg",
200025
- className: "size-5",
200026
- viewBox: "0 0 24 24",
200049
+ title: titles[DrawerConentType.ComponentSchema],
200050
+ selected: selectedDrawerType === DrawerConentType.ComponentSchema,
200051
+ onPress: () => handleOpenDrawer(DrawerConentType.ComponentSchema),
200027
200052
  children: /* @__PURE__ */ jsxRuntimeExports.jsx(
200028
- "path",
200053
+ "svg",
200029
200054
  {
200030
- fill: "currentColor",
200031
- fillRule: "evenodd",
200032
- d: "M9.295 1.354a.75.75 0 0 0-.764 1.292l.196.116L2.002 14.37a5.577 5.577 0 0 0 2.051 7.632a5.61 5.61 0 0 0 7.652-2.045l6.729-11.614l.192.11a.75.75 0 0 0 .748-1.3l-.84-.483l-8.408-4.824zM3.3 15.122l6.723-11.606l7.11 4.08l-1.505 2.597l-1.91-1.098a.75.75 0 0 0-.748 1.3l1.906 1.096l-.961 1.66l-3.555-2.045a.75.75 0 1 0-.748 1.3l3.55 2.043l-.885 1.528l-1.964-1.13a.75.75 0 0 0-.748 1.3l1.96 1.128l-1.118 1.93a4.11 4.11 0 0 1-5.606 1.496a4.077 4.077 0 0 1-1.501-5.58m17.875-3.019a1.61 1.61 0 0 0-2.35 0a9 9 0 0 0-.986 1.214c-.284.43-.589 1.008-.589 1.6c0 1.536 1.203 2.834 2.75 2.834s2.75-1.298 2.75-2.833c0-.593-.304-1.17-.589-1.601a9 9 0 0 0-.986-1.214m-1.261 1.031c.029-.03.06-.04.086-.04a.12.12 0 0 1 .087.04c.278.294.587.653.823 1.01c.253.383.34.646.34.774c0 .765-.588 1.333-1.25 1.333s-1.25-.568-1.25-1.333c0-.128.087-.39.34-.775c.236-.356.545-.715.824-1.009",
200033
- clipRule: "evenodd"
200055
+ xmlns: "http://www.w3.org/2000/svg",
200056
+ className: "size-5",
200057
+ viewBox: "0 0 24 24",
200058
+ children: /* @__PURE__ */ jsxRuntimeExports.jsxs("g", { fill: "currentColor", fillRule: "evenodd", clipRule: "evenodd", children: [
200059
+ /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M12 8.25a3.75 3.75 0 1 0 0 7.5a3.75 3.75 0 0 0 0-7.5M9.75 12a2.25 2.25 0 1 1 4.5 0a2.25 2.25 0 0 1-4.5 0" }),
200060
+ /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M12 1.25c-.705 0-1.348.194-2.051.52c-.68.317-1.469.783-2.454 1.367l-.754.446c-.986.584-1.773 1.05-2.38 1.496c-.628.462-1.11.934-1.458 1.553s-.505 1.279-.58 2.063c-.073.76-.073 1.691-.073 2.861v.888c0 1.17 0 2.1.073 2.86c.075.785.232 1.446.58 2.064c.349.619.83 1.091 1.458 1.553c.607.446 1.394.912 2.38 1.496l.754.446c.985.584 1.773 1.05 2.454 1.367c.703.326 1.346.52 2.051.52s1.348-.194 2.051-.52c.68-.317 1.469-.783 2.454-1.367l.754-.446c.986-.584 1.773-1.05 2.38-1.496c.628-.462 1.11-.934 1.458-1.553s.505-1.279.58-2.063c.073-.76.073-1.691.073-2.86v-.889c0-1.17 0-2.1-.073-2.86c-.075-.785-.232-1.446-.58-2.064c-.349-.619-.83-1.091-1.458-1.553c-.607-.446-1.394-.912-2.38-1.496l-.754-.446c-.985-.584-1.773-1.05-2.454-1.367c-.703-.326-1.346-.52-2.051-.52M8.225 4.447c1.027-.608 1.751-1.035 2.356-1.316c.59-.274 1.01-.381 1.419-.381s.83.107 1.42.38c.604.282 1.328.71 2.355 1.317l.686.407c1.027.608 1.75 1.037 2.29 1.434c.526.387.83.71 1.038 1.08c.21.371.33.806.395 1.47c.065.68.066 1.54.066 2.756v.812c0 1.216 0 2.075-.066 2.755c-.064.665-.185 1.1-.395 1.471c-.208.37-.512.693-1.038 1.08c-.54.397-1.263.826-2.29 1.434l-.686.407c-1.027.608-1.751 1.035-2.356 1.316c-.59.274-1.01.381-1.419.381s-.83-.107-1.42-.38c-.604-.282-1.328-.71-2.355-1.317l-.686-.407c-1.027-.608-1.75-1.037-2.29-1.434c-.526-.387-.83-.71-1.038-1.08c-.21-.371-.331-.806-.395-1.47c-.065-.68-.066-1.54-.066-2.756v-.812c0-1.216 0-2.075.066-2.755c.064-.665.185-1.1.394-1.471c.209-.37.513-.693 1.04-1.08c.54-.397 1.262-.826 2.29-1.434z" })
200061
+ ] })
200062
+ }
200063
+ )
200064
+ }
200065
+ ),
200066
+ /* @__PURE__ */ jsxRuntimeExports.jsx(
200067
+ LeftbarButtion,
200068
+ {
200069
+ title: titles[DrawerConentType.ComponentTest],
200070
+ selected: selectedDrawerType === DrawerConentType.ComponentTest,
200071
+ onPress: () => handleOpenDrawer(DrawerConentType.ComponentTest),
200072
+ children: /* @__PURE__ */ jsxRuntimeExports.jsx(
200073
+ "svg",
200074
+ {
200075
+ xmlns: "http://www.w3.org/2000/svg",
200076
+ className: "size-5",
200077
+ viewBox: "0 0 24 24",
200078
+ children: /* @__PURE__ */ jsxRuntimeExports.jsx(
200079
+ "path",
200080
+ {
200081
+ fill: "currentColor",
200082
+ fillRule: "evenodd",
200083
+ d: "M9.295 1.354a.75.75 0 0 0-.764 1.292l.196.116L2.002 14.37a5.577 5.577 0 0 0 2.051 7.632a5.61 5.61 0 0 0 7.652-2.045l6.729-11.614l.192.11a.75.75 0 0 0 .748-1.3l-.84-.483l-8.408-4.824zM3.3 15.122l6.723-11.606l7.11 4.08l-1.505 2.597l-1.91-1.098a.75.75 0 0 0-.748 1.3l1.906 1.096l-.961 1.66l-3.555-2.045a.75.75 0 1 0-.748 1.3l3.55 2.043l-.885 1.528l-1.964-1.13a.75.75 0 0 0-.748 1.3l1.96 1.128l-1.118 1.93a4.11 4.11 0 0 1-5.606 1.496a4.077 4.077 0 0 1-1.501-5.58m17.875-3.019a1.61 1.61 0 0 0-2.35 0a9 9 0 0 0-.986 1.214c-.284.43-.589 1.008-.589 1.6c0 1.536 1.203 2.834 2.75 2.834s2.75-1.298 2.75-2.833c0-.593-.304-1.17-.589-1.601a9 9 0 0 0-.986-1.214m-1.261 1.031c.029-.03.06-.04.086-.04a.12.12 0 0 1 .087.04c.278.294.587.653.823 1.01c.253.383.34.646.34.774c0 .765-.588 1.333-1.25 1.333s-1.25-.568-1.25-1.333c0-.128.087-.39.34-.775c.236-.356.545-.715.824-1.009",
200084
+ clipRule: "evenodd"
200085
+ }
200086
+ )
200034
200087
  }
200035
200088
  )
200036
200089
  }
200037
200090
  )
200038
- }
200039
- )
200040
- ] })
200041
- ] }),
200042
- extra
200043
- ] });
200091
+ ] })
200092
+ ] }),
200093
+ extra
200094
+ ]
200095
+ }
200096
+ );
200044
200097
  }
200045
200098
  function LeftPanel(props) {
200046
200099
  const { hidden, className, children, ...rest } = props;
@@ -200235,7 +200288,7 @@ function NewSectionList(props) {
200235
200288
  ((_a3 = category == null ? void 0 : category.resources) == null ? void 0 : _a3.length) || 0,
200236
200289
  ")"
200237
200290
  ] }),
200238
- category == null ? void 0 : category.resources.map((resource) => /* @__PURE__ */ jsxRuntimeExports.jsx(ResourceCard, { resource }, resource.name))
200291
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "grid grid-cols-2 gap-3", children: category == null ? void 0 : category.resources.map((resource) => /* @__PURE__ */ jsxRuntimeExports.jsx(ResourceCard, { resource }, resource.name)) })
200239
200292
  ] });
200240
200293
  }
200241
200294
  function useRegisterComponent(component) {
@@ -200386,7 +200439,14 @@ function ThemeSectionList(props) {
200386
200439
  }
200387
200440
  function GridView(props) {
200388
200441
  const { className, children } = props;
200389
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: cn("grid gap-1", className || "grid-cols-12"), children });
200442
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(
200443
+ "div",
200444
+ {
200445
+ className: cn("grid gap-1", className || "grid-cols-12"),
200446
+ style: { gridAutoRows: "40px" },
200447
+ children
200448
+ }
200449
+ );
200390
200450
  }
200391
200451
  function CellView(props) {
200392
200452
  const { className, children } = props;
@@ -200394,7 +200454,7 @@ function CellView(props) {
200394
200454
  "div",
200395
200455
  {
200396
200456
  className: cn(
200397
- "bg-default-200 rounded-sm h-10",
200457
+ "bg-default-200 rounded-sm h-full",
200398
200458
  "group-hover:bg-blue-500",
200399
200459
  className
200400
200460
  ),
@@ -200402,8 +200462,8 @@ function CellView(props) {
200402
200462
  }
200403
200463
  );
200404
200464
  }
200405
- const layout1 = {
200406
- name: "Layout1",
200465
+ const layout1_1 = {
200466
+ name: "Layout1_1",
200407
200467
  title: "单行区块",
200408
200468
  elements: [
200409
200469
  {
@@ -200428,9 +200488,702 @@ const layout1 = {
200428
200488
  ],
200429
200489
  view: /* @__PURE__ */ jsxRuntimeExports.jsx(GridView, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-12" }) })
200430
200490
  };
200431
- const layout2 = {
200432
- name: "Layout2",
200433
- title: "双列区块",
200491
+ const layout1_2 = {
200492
+ name: "Layout1_2",
200493
+ title: "单行区块",
200494
+ elements: [
200495
+ {
200496
+ componentName: "Section",
200497
+ children: [
200498
+ {
200499
+ componentName: "Grid",
200500
+ props: {
200501
+ className: "grid-cols-12 gap-6"
200502
+ },
200503
+ children: [
200504
+ {
200505
+ componentName: "GridCell",
200506
+ props: {
200507
+ className: "col-span-6"
200508
+ }
200509
+ },
200510
+ {
200511
+ componentName: "GridCell",
200512
+ props: {
200513
+ className: "col-span-6"
200514
+ }
200515
+ }
200516
+ ]
200517
+ }
200518
+ ]
200519
+ }
200520
+ ],
200521
+ view: /* @__PURE__ */ jsxRuntimeExports.jsxs(GridView, { className: "grid-cols-12", children: [
200522
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-6" }),
200523
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-6" })
200524
+ ] })
200525
+ };
200526
+ const layout1_3 = {
200527
+ name: "Layout1_3",
200528
+ title: "单行区块",
200529
+ elements: [
200530
+ {
200531
+ componentName: "Section",
200532
+ children: [
200533
+ {
200534
+ componentName: "Grid",
200535
+ props: {
200536
+ className: "grid-cols-12 gap-6"
200537
+ },
200538
+ children: [
200539
+ {
200540
+ componentName: "GridCell",
200541
+ props: {
200542
+ className: "col-span-4"
200543
+ }
200544
+ },
200545
+ {
200546
+ componentName: "GridCell",
200547
+ props: {
200548
+ className: "col-span-8"
200549
+ }
200550
+ }
200551
+ ]
200552
+ }
200553
+ ]
200554
+ }
200555
+ ],
200556
+ view: /* @__PURE__ */ jsxRuntimeExports.jsxs(GridView, { className: "grid-cols-12", children: [
200557
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-4" }),
200558
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-8" })
200559
+ ] })
200560
+ };
200561
+ const layout1_4 = {
200562
+ name: "Layout1_4",
200563
+ title: "单行区块",
200564
+ elements: [
200565
+ {
200566
+ componentName: "Section",
200567
+ children: [
200568
+ {
200569
+ componentName: "Grid",
200570
+ props: {
200571
+ className: "grid-cols-12 gap-6"
200572
+ },
200573
+ children: [
200574
+ {
200575
+ componentName: "GridCell",
200576
+ props: {
200577
+ className: "col-span-8"
200578
+ }
200579
+ },
200580
+ {
200581
+ componentName: "GridCell",
200582
+ props: {
200583
+ className: "col-span-4"
200584
+ }
200585
+ }
200586
+ ]
200587
+ }
200588
+ ]
200589
+ }
200590
+ ],
200591
+ view: /* @__PURE__ */ jsxRuntimeExports.jsxs(GridView, { className: "grid-cols-12", children: [
200592
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-8" }),
200593
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-4" })
200594
+ ] })
200595
+ };
200596
+ const layout1_5 = {
200597
+ name: "Layout1_5",
200598
+ title: "单行区块",
200599
+ elements: [
200600
+ {
200601
+ componentName: "Section",
200602
+ children: [
200603
+ {
200604
+ componentName: "Grid",
200605
+ props: {
200606
+ className: "grid-cols-12 gap-6"
200607
+ },
200608
+ children: [
200609
+ {
200610
+ componentName: "GridCell",
200611
+ props: {
200612
+ className: "col-span-4"
200613
+ }
200614
+ },
200615
+ {
200616
+ componentName: "GridCell",
200617
+ props: {
200618
+ className: "col-span-4"
200619
+ }
200620
+ },
200621
+ {
200622
+ componentName: "GridCell",
200623
+ props: {
200624
+ className: "col-span-4"
200625
+ }
200626
+ }
200627
+ ]
200628
+ }
200629
+ ]
200630
+ }
200631
+ ],
200632
+ view: /* @__PURE__ */ jsxRuntimeExports.jsxs(GridView, { className: "grid-cols-12", children: [
200633
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-4" }),
200634
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-4" }),
200635
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-4" })
200636
+ ] })
200637
+ };
200638
+ const layout1_6 = {
200639
+ name: "Layout1_6",
200640
+ title: "单行区块",
200641
+ elements: [
200642
+ {
200643
+ componentName: "Section",
200644
+ children: [
200645
+ {
200646
+ componentName: "Grid",
200647
+ props: {
200648
+ className: "grid-cols-12 gap-6"
200649
+ },
200650
+ children: [
200651
+ {
200652
+ componentName: "GridCell",
200653
+ props: {
200654
+ className: "col-span-6"
200655
+ }
200656
+ },
200657
+ {
200658
+ componentName: "GridCell",
200659
+ props: {
200660
+ className: "col-span-3"
200661
+ }
200662
+ },
200663
+ {
200664
+ componentName: "GridCell",
200665
+ props: {
200666
+ className: "col-span-3"
200667
+ }
200668
+ }
200669
+ ]
200670
+ }
200671
+ ]
200672
+ }
200673
+ ],
200674
+ view: /* @__PURE__ */ jsxRuntimeExports.jsxs(GridView, { className: "grid-cols-12", children: [
200675
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-6" }),
200676
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-3" }),
200677
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-3" })
200678
+ ] })
200679
+ };
200680
+ const layout1_7 = {
200681
+ name: "Layout1_7",
200682
+ title: "单行区块",
200683
+ elements: [
200684
+ {
200685
+ componentName: "Section",
200686
+ children: [
200687
+ {
200688
+ componentName: "Grid",
200689
+ props: {
200690
+ className: "grid-cols-12 gap-6"
200691
+ },
200692
+ children: [
200693
+ {
200694
+ componentName: "GridCell",
200695
+ props: {
200696
+ className: "col-span-3"
200697
+ }
200698
+ },
200699
+ {
200700
+ componentName: "GridCell",
200701
+ props: {
200702
+ className: "col-span-3"
200703
+ }
200704
+ },
200705
+ {
200706
+ componentName: "GridCell",
200707
+ props: {
200708
+ className: "col-span-6"
200709
+ }
200710
+ }
200711
+ ]
200712
+ }
200713
+ ]
200714
+ }
200715
+ ],
200716
+ view: /* @__PURE__ */ jsxRuntimeExports.jsxs(GridView, { className: "grid-cols-12", children: [
200717
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-3" }),
200718
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-3" }),
200719
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-6" })
200720
+ ] })
200721
+ };
200722
+ const layout1_8 = {
200723
+ name: "Layout1_8",
200724
+ title: "单行区块",
200725
+ elements: [
200726
+ {
200727
+ componentName: "Section",
200728
+ children: [
200729
+ {
200730
+ componentName: "Grid",
200731
+ props: {
200732
+ className: "grid-cols-12 gap-6"
200733
+ },
200734
+ children: [
200735
+ {
200736
+ componentName: "GridCell",
200737
+ props: {
200738
+ className: "col-span-3"
200739
+ }
200740
+ },
200741
+ {
200742
+ componentName: "GridCell",
200743
+ props: {
200744
+ className: "col-span-3"
200745
+ }
200746
+ },
200747
+ {
200748
+ componentName: "GridCell",
200749
+ props: {
200750
+ className: "col-span-3"
200751
+ }
200752
+ },
200753
+ {
200754
+ componentName: "GridCell",
200755
+ props: {
200756
+ className: "col-span-3"
200757
+ }
200758
+ }
200759
+ ]
200760
+ }
200761
+ ]
200762
+ }
200763
+ ],
200764
+ view: /* @__PURE__ */ jsxRuntimeExports.jsxs(GridView, { className: "grid-cols-12", children: [
200765
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-3" }),
200766
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-3" }),
200767
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-3" }),
200768
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-3" })
200769
+ ] })
200770
+ };
200771
+ const layout1_9 = {
200772
+ name: "Layout1_9",
200773
+ title: "单行区块",
200774
+ elements: [
200775
+ {
200776
+ componentName: "Section",
200777
+ children: [
200778
+ {
200779
+ componentName: "Grid",
200780
+ props: {
200781
+ className: "grid-cols-10 gap-6"
200782
+ },
200783
+ children: [
200784
+ {
200785
+ componentName: "GridCell",
200786
+ props: {
200787
+ className: "col-span-2"
200788
+ }
200789
+ },
200790
+ {
200791
+ componentName: "GridCell",
200792
+ props: {
200793
+ className: "col-span-2"
200794
+ }
200795
+ },
200796
+ {
200797
+ componentName: "GridCell",
200798
+ props: {
200799
+ className: "col-span-2"
200800
+ }
200801
+ },
200802
+ {
200803
+ componentName: "GridCell",
200804
+ props: {
200805
+ className: "col-span-2"
200806
+ }
200807
+ },
200808
+ {
200809
+ componentName: "GridCell",
200810
+ props: {
200811
+ className: "col-span-2"
200812
+ }
200813
+ }
200814
+ ]
200815
+ }
200816
+ ]
200817
+ }
200818
+ ],
200819
+ view: /* @__PURE__ */ jsxRuntimeExports.jsxs(GridView, { className: "grid-cols-10", children: [
200820
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-2" }),
200821
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-2" }),
200822
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-2" }),
200823
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-2" }),
200824
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-2" })
200825
+ ] })
200826
+ };
200827
+ const layout1_10 = {
200828
+ name: "Layout1_10",
200829
+ title: "单行区块",
200830
+ elements: [
200831
+ {
200832
+ componentName: "Section",
200833
+ children: [
200834
+ {
200835
+ componentName: "Grid",
200836
+ props: {
200837
+ className: "grid-cols-12 gap-6"
200838
+ },
200839
+ children: [
200840
+ {
200841
+ componentName: "GridCell",
200842
+ props: {
200843
+ className: "col-span-2"
200844
+ }
200845
+ },
200846
+ {
200847
+ componentName: "GridCell",
200848
+ props: {
200849
+ className: "col-span-2"
200850
+ }
200851
+ },
200852
+ {
200853
+ componentName: "GridCell",
200854
+ props: {
200855
+ className: "col-span-2"
200856
+ }
200857
+ },
200858
+ {
200859
+ componentName: "GridCell",
200860
+ props: {
200861
+ className: "col-span-2"
200862
+ }
200863
+ },
200864
+ {
200865
+ componentName: "GridCell",
200866
+ props: {
200867
+ className: "col-span-2"
200868
+ }
200869
+ },
200870
+ {
200871
+ componentName: "GridCell",
200872
+ props: {
200873
+ className: "col-span-2"
200874
+ }
200875
+ }
200876
+ ]
200877
+ }
200878
+ ]
200879
+ }
200880
+ ],
200881
+ view: /* @__PURE__ */ jsxRuntimeExports.jsxs(GridView, { className: "grid-cols-12", children: [
200882
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-2" }),
200883
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-2" }),
200884
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-2" }),
200885
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-2" }),
200886
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-2" }),
200887
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-2" })
200888
+ ] })
200889
+ };
200890
+ const layout2_1 = {
200891
+ name: "Layout2_1",
200892
+ title: "两行区块",
200893
+ elements: [
200894
+ {
200895
+ componentName: "Section",
200896
+ children: [
200897
+ {
200898
+ componentName: "Grid",
200899
+ props: {
200900
+ className: "grid-cols-12 gap-6"
200901
+ },
200902
+ children: [
200903
+ {
200904
+ componentName: "GridCell",
200905
+ props: {
200906
+ className: "col-span-4 row-span-2"
200907
+ }
200908
+ },
200909
+ {
200910
+ componentName: "GridCell",
200911
+ props: {
200912
+ className: "col-span-8"
200913
+ }
200914
+ },
200915
+ {
200916
+ componentName: "GridCell",
200917
+ props: {
200918
+ className: "col-span-8"
200919
+ }
200920
+ }
200921
+ ]
200922
+ }
200923
+ ]
200924
+ }
200925
+ ],
200926
+ view: /* @__PURE__ */ jsxRuntimeExports.jsxs(GridView, { className: "grid-cols-12", children: [
200927
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-4 row-span-2" }),
200928
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-8" }),
200929
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-8" })
200930
+ ] })
200931
+ };
200932
+ const layout2_2 = {
200933
+ name: "Layout2_2",
200934
+ title: "两行区块",
200935
+ elements: [
200936
+ {
200937
+ componentName: "Section",
200938
+ children: [
200939
+ {
200940
+ componentName: "Grid",
200941
+ props: {
200942
+ className: "grid-cols-12 gap-6"
200943
+ },
200944
+ children: [
200945
+ {
200946
+ componentName: "GridCell",
200947
+ props: {
200948
+ className: "col-span-8"
200949
+ }
200950
+ },
200951
+ {
200952
+ componentName: "GridCell",
200953
+ props: {
200954
+ className: "col-span-4 row-span-2"
200955
+ }
200956
+ },
200957
+ {
200958
+ componentName: "GridCell",
200959
+ props: {
200960
+ className: "col-span-8"
200961
+ }
200962
+ }
200963
+ ]
200964
+ }
200965
+ ]
200966
+ }
200967
+ ],
200968
+ view: /* @__PURE__ */ jsxRuntimeExports.jsxs(GridView, { className: "grid-cols-12", children: [
200969
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-8" }),
200970
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-4 row-span-2" }),
200971
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-8" })
200972
+ ] })
200973
+ };
200974
+ const layout2_3 = {
200975
+ name: "Layout2_3",
200976
+ title: "两行区块",
200977
+ elements: [
200978
+ {
200979
+ componentName: "Section",
200980
+ children: [
200981
+ {
200982
+ componentName: "Grid",
200983
+ props: {
200984
+ className: "grid-cols-12 gap-6"
200985
+ },
200986
+ children: [
200987
+ {
200988
+ componentName: "GridCell",
200989
+ props: {
200990
+ className: "col-span-6 row-span-2"
200991
+ }
200992
+ },
200993
+ {
200994
+ componentName: "GridCell",
200995
+ props: {
200996
+ className: "col-span-6"
200997
+ }
200998
+ },
200999
+ {
201000
+ componentName: "GridCell",
201001
+ props: {
201002
+ className: "col-span-6"
201003
+ }
201004
+ }
201005
+ ]
201006
+ }
201007
+ ]
201008
+ }
201009
+ ],
201010
+ view: /* @__PURE__ */ jsxRuntimeExports.jsxs(GridView, { className: "grid-cols-12", children: [
201011
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-6 row-span-2" }),
201012
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-6" }),
201013
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-6" })
201014
+ ] })
201015
+ };
201016
+ const layout2_4 = {
201017
+ name: "Layout2_4",
201018
+ title: "两行区块",
201019
+ elements: [
201020
+ {
201021
+ componentName: "Section",
201022
+ children: [
201023
+ {
201024
+ componentName: "Grid",
201025
+ props: {
201026
+ className: "grid-cols-12 gap-6"
201027
+ },
201028
+ children: [
201029
+ {
201030
+ componentName: "GridCell",
201031
+ props: {
201032
+ className: "col-span-6"
201033
+ }
201034
+ },
201035
+ {
201036
+ componentName: "GridCell",
201037
+ props: {
201038
+ className: "col-span-6 row-span-2"
201039
+ }
201040
+ },
201041
+ {
201042
+ componentName: "GridCell",
201043
+ props: {
201044
+ className: "col-span-6"
201045
+ }
201046
+ }
201047
+ ]
201048
+ }
201049
+ ]
201050
+ }
201051
+ ],
201052
+ view: /* @__PURE__ */ jsxRuntimeExports.jsxs(GridView, { className: "grid-cols-12", children: [
201053
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-6" }),
201054
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-6 row-span-2" }),
201055
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-6" })
201056
+ ] })
201057
+ };
201058
+ const layout2_5 = {
201059
+ name: "Layout2_5",
201060
+ title: "两行区块",
201061
+ elements: [
201062
+ {
201063
+ componentName: "Section",
201064
+ children: [
201065
+ {
201066
+ componentName: "Grid",
201067
+ props: {
201068
+ className: "grid-cols-12 gap-6"
201069
+ },
201070
+ children: [
201071
+ {
201072
+ componentName: "GridCell",
201073
+ props: {
201074
+ className: "col-span-3 row-span-2"
201075
+ }
201076
+ },
201077
+ {
201078
+ componentName: "GridCell",
201079
+ props: {
201080
+ className: "col-span-9"
201081
+ }
201082
+ },
201083
+ {
201084
+ componentName: "GridCell",
201085
+ props: {
201086
+ className: "col-span-9"
201087
+ }
201088
+ }
201089
+ ]
201090
+ }
201091
+ ]
201092
+ }
201093
+ ],
201094
+ view: /* @__PURE__ */ jsxRuntimeExports.jsxs(GridView, { className: "grid-cols-12", children: [
201095
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-3 row-span-2" }),
201096
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-9" }),
201097
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-9" })
201098
+ ] })
201099
+ };
201100
+ const layout2_6 = {
201101
+ name: "Layout2_6",
201102
+ title: "两行区块",
201103
+ elements: [
201104
+ {
201105
+ componentName: "Section",
201106
+ children: [
201107
+ {
201108
+ componentName: "Grid",
201109
+ props: {
201110
+ className: "grid-cols-12 gap-6"
201111
+ },
201112
+ children: [
201113
+ {
201114
+ componentName: "GridCell",
201115
+ props: {
201116
+ className: "col-span-9"
201117
+ }
201118
+ },
201119
+ {
201120
+ componentName: "GridCell",
201121
+ props: {
201122
+ className: "col-span-3 row-span-2"
201123
+ }
201124
+ },
201125
+ {
201126
+ componentName: "GridCell",
201127
+ props: {
201128
+ className: "col-span-9"
201129
+ }
201130
+ }
201131
+ ]
201132
+ }
201133
+ ]
201134
+ }
201135
+ ],
201136
+ view: /* @__PURE__ */ jsxRuntimeExports.jsxs(GridView, { className: "grid-cols-12", children: [
201137
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-9" }),
201138
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-3 row-span-2" }),
201139
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-9" })
201140
+ ] })
201141
+ };
201142
+ const layout2_7 = {
201143
+ name: "Layout2_7",
201144
+ title: "两行区块",
201145
+ elements: [
201146
+ {
201147
+ componentName: "Section",
201148
+ children: [
201149
+ {
201150
+ componentName: "Grid",
201151
+ props: {
201152
+ className: "grid-cols-12 gap-6"
201153
+ },
201154
+ children: [
201155
+ {
201156
+ componentName: "GridCell",
201157
+ props: {
201158
+ className: "col-span-6"
201159
+ }
201160
+ },
201161
+ {
201162
+ componentName: "GridCell",
201163
+ props: {
201164
+ className: "col-span-6"
201165
+ }
201166
+ },
201167
+ {
201168
+ componentName: "GridCell",
201169
+ props: {
201170
+ className: "col-span-12"
201171
+ }
201172
+ }
201173
+ ]
201174
+ }
201175
+ ]
201176
+ }
201177
+ ],
201178
+ view: /* @__PURE__ */ jsxRuntimeExports.jsxs(GridView, { className: "grid-cols-12", children: [
201179
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-6" }),
201180
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-6" }),
201181
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-12" })
201182
+ ] })
201183
+ };
201184
+ const layout2_8 = {
201185
+ name: "Layout2_8",
201186
+ title: "两行区块",
200434
201187
  elements: [
200435
201188
  {
200436
201189
  componentName: "Section",
@@ -200441,6 +201194,12 @@ const layout2 = {
200441
201194
  className: "grid-cols-12 gap-6"
200442
201195
  },
200443
201196
  children: [
201197
+ {
201198
+ componentName: "GridCell",
201199
+ props: {
201200
+ className: "col-span-12"
201201
+ }
201202
+ },
200444
201203
  {
200445
201204
  componentName: "GridCell",
200446
201205
  props: {
@@ -200459,36 +201218,1327 @@ const layout2 = {
200459
201218
  }
200460
201219
  ],
200461
201220
  view: /* @__PURE__ */ jsxRuntimeExports.jsxs(GridView, { className: "grid-cols-12", children: [
201221
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-12" }),
200462
201222
  /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-6" }),
200463
201223
  /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-6" })
200464
201224
  ] })
200465
201225
  };
201226
+ const layout2_9 = {
201227
+ name: "Layout2_9",
201228
+ title: "两行区块",
201229
+ elements: [
201230
+ {
201231
+ componentName: "Section",
201232
+ children: [
201233
+ {
201234
+ componentName: "Grid",
201235
+ props: {
201236
+ className: "grid-cols-12 gap-6"
201237
+ },
201238
+ children: [
201239
+ {
201240
+ componentName: "GridCell",
201241
+ props: {
201242
+ className: "col-span-6 row-span-2"
201243
+ }
201244
+ },
201245
+ {
201246
+ componentName: "GridCell",
201247
+ props: {
201248
+ className: "col-span-3"
201249
+ }
201250
+ },
201251
+ {
201252
+ componentName: "GridCell",
201253
+ props: {
201254
+ className: "col-span-3"
201255
+ }
201256
+ },
201257
+ {
201258
+ componentName: "GridCell",
201259
+ props: {
201260
+ className: "col-span-3"
201261
+ }
201262
+ },
201263
+ {
201264
+ componentName: "GridCell",
201265
+ props: {
201266
+ className: "col-span-3"
201267
+ }
201268
+ }
201269
+ ]
201270
+ }
201271
+ ]
201272
+ }
201273
+ ],
201274
+ view: /* @__PURE__ */ jsxRuntimeExports.jsxs(GridView, { className: "grid-cols-12", children: [
201275
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-6 row-span-2" }),
201276
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-3" }),
201277
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-3" }),
201278
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-3" }),
201279
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-3" })
201280
+ ] })
201281
+ };
201282
+ const layout2_10 = {
201283
+ name: "Layout2_10",
201284
+ title: "两行区块",
201285
+ elements: [
201286
+ {
201287
+ componentName: "Section",
201288
+ children: [
201289
+ {
201290
+ componentName: "Grid",
201291
+ props: {
201292
+ className: "grid-cols-12 gap-6"
201293
+ },
201294
+ children: [
201295
+ {
201296
+ componentName: "GridCell",
201297
+ props: {
201298
+ className: "col-span-3"
201299
+ }
201300
+ },
201301
+ {
201302
+ componentName: "GridCell",
201303
+ props: {
201304
+ className: "col-span-3"
201305
+ }
201306
+ },
201307
+ {
201308
+ componentName: "GridCell",
201309
+ props: {
201310
+ className: "col-span-6 row-span-2"
201311
+ }
201312
+ },
201313
+ {
201314
+ componentName: "GridCell",
201315
+ props: {
201316
+ className: "col-span-3"
201317
+ }
201318
+ },
201319
+ {
201320
+ componentName: "GridCell",
201321
+ props: {
201322
+ className: "col-span-3"
201323
+ }
201324
+ }
201325
+ ]
201326
+ }
201327
+ ]
201328
+ }
201329
+ ],
201330
+ view: /* @__PURE__ */ jsxRuntimeExports.jsxs(GridView, { className: "grid-cols-12", children: [
201331
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-3" }),
201332
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-3" }),
201333
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-6 row-span-2" }),
201334
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-3" }),
201335
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-3" })
201336
+ ] })
201337
+ };
201338
+ const layout2_11 = {
201339
+ name: "Layout2_11",
201340
+ title: "两行区块",
201341
+ elements: [
201342
+ {
201343
+ componentName: "Section",
201344
+ children: [
201345
+ {
201346
+ componentName: "Grid",
201347
+ props: {
201348
+ className: "grid-cols-12 gap-6"
201349
+ },
201350
+ children: [
201351
+ {
201352
+ componentName: "GridCell",
201353
+ props: {
201354
+ className: "col-span-4"
201355
+ }
201356
+ },
201357
+ {
201358
+ componentName: "GridCell",
201359
+ props: {
201360
+ className: "col-span-4 row-span-2"
201361
+ }
201362
+ },
201363
+ {
201364
+ componentName: "GridCell",
201365
+ props: {
201366
+ className: "col-span-4 row-span-2"
201367
+ }
201368
+ },
201369
+ {
201370
+ componentName: "GridCell",
201371
+ props: {
201372
+ className: "col-span-4"
201373
+ }
201374
+ }
201375
+ ]
201376
+ }
201377
+ ]
201378
+ }
201379
+ ],
201380
+ view: /* @__PURE__ */ jsxRuntimeExports.jsxs(GridView, { className: "grid-cols-12", children: [
201381
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-4" }),
201382
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-4 row-span-2" }),
201383
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-4 row-span-2" }),
201384
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-4" })
201385
+ ] })
201386
+ };
201387
+ const layout2_12 = {
201388
+ name: "Layout2_12",
201389
+ title: "两行区块",
201390
+ elements: [
201391
+ {
201392
+ componentName: "Section",
201393
+ children: [
201394
+ {
201395
+ componentName: "Grid",
201396
+ props: {
201397
+ className: "grid-cols-12 gap-6"
201398
+ },
201399
+ children: [
201400
+ {
201401
+ componentName: "GridCell",
201402
+ props: {
201403
+ className: "col-span-4 row-span-2"
201404
+ }
201405
+ },
201406
+ {
201407
+ componentName: "GridCell",
201408
+ props: {
201409
+ className: "col-span-4 row-span-2"
201410
+ }
201411
+ },
201412
+ {
201413
+ componentName: "GridCell",
201414
+ props: {
201415
+ className: "col-span-4"
201416
+ }
201417
+ },
201418
+ {
201419
+ componentName: "GridCell",
201420
+ props: {
201421
+ className: "col-span-4"
201422
+ }
201423
+ }
201424
+ ]
201425
+ }
201426
+ ]
201427
+ }
201428
+ ],
201429
+ view: /* @__PURE__ */ jsxRuntimeExports.jsxs(GridView, { className: "grid-cols-12", children: [
201430
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-4 row-span-2" }),
201431
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-4 row-span-2" }),
201432
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-4" }),
201433
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-4" })
201434
+ ] })
201435
+ };
201436
+ const layout2_13 = {
201437
+ name: "Layout2_13",
201438
+ title: "两行区块",
201439
+ elements: [
201440
+ {
201441
+ componentName: "Section",
201442
+ children: [
201443
+ {
201444
+ componentName: "Grid",
201445
+ props: {
201446
+ className: "grid-cols-12 gap-6"
201447
+ },
201448
+ children: [
201449
+ {
201450
+ componentName: "GridCell",
201451
+ props: {
201452
+ className: "col-span-4 row-span-2"
201453
+ }
201454
+ },
201455
+ {
201456
+ componentName: "GridCell",
201457
+ props: {
201458
+ className: "col-span-4"
201459
+ }
201460
+ },
201461
+ {
201462
+ componentName: "GridCell",
201463
+ props: {
201464
+ className: "col-span-4 row-span-2"
201465
+ }
201466
+ },
201467
+ {
201468
+ componentName: "GridCell",
201469
+ props: {
201470
+ className: "col-span-4"
201471
+ }
201472
+ }
201473
+ ]
201474
+ }
201475
+ ]
201476
+ }
201477
+ ],
201478
+ view: /* @__PURE__ */ jsxRuntimeExports.jsxs(GridView, { className: "grid-cols-12", children: [
201479
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-4 row-span-2" }),
201480
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-4" }),
201481
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-4 row-span-2" }),
201482
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-4" })
201483
+ ] })
201484
+ };
201485
+ const layout2_14 = {
201486
+ name: "Layout2_14",
201487
+ title: "两行区块",
201488
+ elements: [
201489
+ {
201490
+ componentName: "Section",
201491
+ children: [
201492
+ {
201493
+ componentName: "Grid",
201494
+ props: {
201495
+ className: "grid-cols-12 gap-6"
201496
+ },
201497
+ children: [
201498
+ {
201499
+ componentName: "GridCell",
201500
+ props: {
201501
+ className: "col-span-6 row-span-2"
201502
+ }
201503
+ },
201504
+ {
201505
+ componentName: "GridCell",
201506
+ props: {
201507
+ className: "col-span-3"
201508
+ }
201509
+ },
201510
+ {
201511
+ componentName: "GridCell",
201512
+ props: {
201513
+ className: "col-span-3"
201514
+ }
201515
+ },
201516
+ {
201517
+ componentName: "GridCell",
201518
+ props: {
201519
+ className: "col-span-6"
201520
+ }
201521
+ }
201522
+ ]
201523
+ }
201524
+ ]
201525
+ }
201526
+ ],
201527
+ view: /* @__PURE__ */ jsxRuntimeExports.jsxs(GridView, { className: "grid-cols-12", children: [
201528
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-6 row-span-2" }),
201529
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-3" }),
201530
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-3" }),
201531
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-6" })
201532
+ ] })
201533
+ };
201534
+ const layout2_15 = {
201535
+ name: "Layout2_15",
201536
+ title: "两行区块",
201537
+ elements: [
201538
+ {
201539
+ componentName: "Section",
201540
+ children: [
201541
+ {
201542
+ componentName: "Grid",
201543
+ props: {
201544
+ className: "grid-cols-12 gap-6"
201545
+ },
201546
+ children: [
201547
+ {
201548
+ componentName: "GridCell",
201549
+ props: {
201550
+ className: "col-span-3"
201551
+ }
201552
+ },
201553
+ {
201554
+ componentName: "GridCell",
201555
+ props: {
201556
+ className: "col-span-3"
201557
+ }
201558
+ },
201559
+ {
201560
+ componentName: "GridCell",
201561
+ props: {
201562
+ className: "col-span-6 row-span-2"
201563
+ }
201564
+ },
201565
+ {
201566
+ componentName: "GridCell",
201567
+ props: {
201568
+ className: "col-span-6"
201569
+ }
201570
+ }
201571
+ ]
201572
+ }
201573
+ ]
201574
+ }
201575
+ ],
201576
+ view: /* @__PURE__ */ jsxRuntimeExports.jsxs(GridView, { className: "grid-cols-12", children: [
201577
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-3" }),
201578
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-3" }),
201579
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-6 row-span-2" }),
201580
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-6" })
201581
+ ] })
201582
+ };
201583
+ const layout2_16 = {
201584
+ name: "Layout2_16",
201585
+ title: "两行区块",
201586
+ elements: [
201587
+ {
201588
+ componentName: "Section",
201589
+ children: [
201590
+ {
201591
+ componentName: "Grid",
201592
+ props: {
201593
+ className: "grid-cols-12 gap-6"
201594
+ },
201595
+ children: [
201596
+ {
201597
+ componentName: "GridCell",
201598
+ props: {
201599
+ className: "col-span-3"
201600
+ }
201601
+ },
201602
+ {
201603
+ componentName: "GridCell",
201604
+ props: {
201605
+ className: "col-span-6 row-span-2"
201606
+ }
201607
+ },
201608
+ {
201609
+ componentName: "GridCell",
201610
+ props: {
201611
+ className: "col-span-3"
201612
+ }
201613
+ },
201614
+ {
201615
+ componentName: "GridCell",
201616
+ props: {
201617
+ className: "col-span-3"
201618
+ }
201619
+ },
201620
+ {
201621
+ componentName: "GridCell",
201622
+ props: {
201623
+ className: "col-span-3"
201624
+ }
201625
+ }
201626
+ ]
201627
+ }
201628
+ ]
201629
+ }
201630
+ ],
201631
+ view: /* @__PURE__ */ jsxRuntimeExports.jsxs(GridView, { className: "grid-cols-12", children: [
201632
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-3" }),
201633
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-6 row-span-2" }),
201634
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-3" }),
201635
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-3" }),
201636
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-3" })
201637
+ ] })
201638
+ };
201639
+ const layout2_17 = {
201640
+ name: "Layout2_17",
201641
+ title: "两行区块",
201642
+ elements: [
201643
+ {
201644
+ componentName: "Section",
201645
+ children: [
201646
+ {
201647
+ componentName: "Grid",
201648
+ props: {
201649
+ className: "grid-cols-12 gap-6"
201650
+ },
201651
+ children: [
201652
+ {
201653
+ componentName: "GridCell",
201654
+ props: {
201655
+ className: "col-span-8"
201656
+ }
201657
+ },
201658
+ {
201659
+ componentName: "GridCell",
201660
+ props: {
201661
+ className: "col-span-4"
201662
+ }
201663
+ },
201664
+ {
201665
+ componentName: "GridCell",
201666
+ props: {
201667
+ className: "col-span-4"
201668
+ }
201669
+ },
201670
+ {
201671
+ componentName: "GridCell",
201672
+ props: {
201673
+ className: "col-span-4"
201674
+ }
201675
+ },
201676
+ {
201677
+ componentName: "GridCell",
201678
+ props: {
201679
+ className: "col-span-4"
201680
+ }
201681
+ }
201682
+ ]
201683
+ }
201684
+ ]
201685
+ }
201686
+ ],
201687
+ view: /* @__PURE__ */ jsxRuntimeExports.jsxs(GridView, { className: "grid-cols-12", children: [
201688
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-8" }),
201689
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-4" }),
201690
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-4" }),
201691
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-4" }),
201692
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-4" })
201693
+ ] })
201694
+ };
201695
+ const layout2_18 = {
201696
+ name: "Layout2_18",
201697
+ title: "两行区块",
201698
+ elements: [
201699
+ {
201700
+ componentName: "Section",
201701
+ children: [
201702
+ {
201703
+ componentName: "Grid",
201704
+ props: {
201705
+ className: "grid-cols-12 gap-6"
201706
+ },
201707
+ children: [
201708
+ {
201709
+ componentName: "GridCell",
201710
+ props: {
201711
+ className: "col-span-4"
201712
+ }
201713
+ },
201714
+ {
201715
+ componentName: "GridCell",
201716
+ props: {
201717
+ className: "col-span-8"
201718
+ }
201719
+ },
201720
+ {
201721
+ componentName: "GridCell",
201722
+ props: {
201723
+ className: "col-span-4"
201724
+ }
201725
+ },
201726
+ {
201727
+ componentName: "GridCell",
201728
+ props: {
201729
+ className: "col-span-4"
201730
+ }
201731
+ },
201732
+ {
201733
+ componentName: "GridCell",
201734
+ props: {
201735
+ className: "col-span-4"
201736
+ }
201737
+ }
201738
+ ]
201739
+ }
201740
+ ]
201741
+ }
201742
+ ],
201743
+ view: /* @__PURE__ */ jsxRuntimeExports.jsxs(GridView, { className: "grid-cols-12", children: [
201744
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-4" }),
201745
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-8" }),
201746
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-4" }),
201747
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-4" }),
201748
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-4" })
201749
+ ] })
201750
+ };
201751
+ const layout2_19 = {
201752
+ name: "Layout2_19",
201753
+ title: "两行区块",
201754
+ elements: [
201755
+ {
201756
+ componentName: "Section",
201757
+ children: [
201758
+ {
201759
+ componentName: "Grid",
201760
+ props: {
201761
+ className: "grid-cols-12 gap-6"
201762
+ },
201763
+ children: [
201764
+ {
201765
+ componentName: "GridCell",
201766
+ props: {
201767
+ className: "col-span-4"
201768
+ }
201769
+ },
201770
+ {
201771
+ componentName: "GridCell",
201772
+ props: {
201773
+ className: "col-span-8"
201774
+ }
201775
+ },
201776
+ {
201777
+ componentName: "GridCell",
201778
+ props: {
201779
+ className: "col-span-8"
201780
+ }
201781
+ },
201782
+ {
201783
+ componentName: "GridCell",
201784
+ props: {
201785
+ className: "col-span-4"
201786
+ }
201787
+ }
201788
+ ]
201789
+ }
201790
+ ]
201791
+ }
201792
+ ],
201793
+ view: /* @__PURE__ */ jsxRuntimeExports.jsxs(GridView, { className: "grid-cols-12", children: [
201794
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-4" }),
201795
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-8" }),
201796
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-8" }),
201797
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-4" })
201798
+ ] })
201799
+ };
201800
+ const layout2_20 = {
201801
+ name: "Layout2_20",
201802
+ title: "两行区块",
201803
+ elements: [
201804
+ {
201805
+ componentName: "Section",
201806
+ children: [
201807
+ {
201808
+ componentName: "Grid",
201809
+ props: {
201810
+ className: "grid-cols-12 gap-6"
201811
+ },
201812
+ children: [
201813
+ {
201814
+ componentName: "GridCell",
201815
+ props: {
201816
+ className: "col-span-8"
201817
+ }
201818
+ },
201819
+ {
201820
+ componentName: "GridCell",
201821
+ props: {
201822
+ className: "col-span-4"
201823
+ }
201824
+ },
201825
+ {
201826
+ componentName: "GridCell",
201827
+ props: {
201828
+ className: "col-span-4"
201829
+ }
201830
+ },
201831
+ {
201832
+ componentName: "GridCell",
201833
+ props: {
201834
+ className: "col-span-8"
201835
+ }
201836
+ }
201837
+ ]
201838
+ }
201839
+ ]
201840
+ }
201841
+ ],
201842
+ view: /* @__PURE__ */ jsxRuntimeExports.jsxs(GridView, { className: "grid-cols-12", children: [
201843
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-8" }),
201844
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-4" }),
201845
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-4" }),
201846
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-8" })
201847
+ ] })
201848
+ };
201849
+ const layout2_21 = {
201850
+ name: "Layout2_21",
201851
+ title: "两行区块",
201852
+ elements: [
201853
+ {
201854
+ componentName: "Section",
201855
+ children: [
201856
+ {
201857
+ componentName: "Grid",
201858
+ props: {
201859
+ className: "grid-cols-12 gap-6"
201860
+ },
201861
+ children: [
201862
+ {
201863
+ componentName: "GridCell",
201864
+ props: {
201865
+ className: "col-span-4"
201866
+ }
201867
+ },
201868
+ {
201869
+ componentName: "GridCell",
201870
+ props: {
201871
+ className: "col-span-4"
201872
+ }
201873
+ },
201874
+ {
201875
+ componentName: "GridCell",
201876
+ props: {
201877
+ className: "col-span-4"
201878
+ }
201879
+ },
201880
+ {
201881
+ componentName: "GridCell",
201882
+ props: {
201883
+ className: "col-span-8"
201884
+ }
201885
+ },
201886
+ {
201887
+ componentName: "GridCell",
201888
+ props: {
201889
+ className: "col-span-4"
201890
+ }
201891
+ }
201892
+ ]
201893
+ }
201894
+ ]
201895
+ }
201896
+ ],
201897
+ view: /* @__PURE__ */ jsxRuntimeExports.jsxs(GridView, { className: "grid-cols-12", children: [
201898
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-4" }),
201899
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-4" }),
201900
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-4" }),
201901
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-8" }),
201902
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-4" })
201903
+ ] })
201904
+ };
201905
+ const layout2_22 = {
201906
+ name: "Layout2_22",
201907
+ title: "两行区块",
201908
+ elements: [
201909
+ {
201910
+ componentName: "Section",
201911
+ children: [
201912
+ {
201913
+ componentName: "Grid",
201914
+ props: {
201915
+ className: "grid-cols-12 gap-6"
201916
+ },
201917
+ children: [
201918
+ {
201919
+ componentName: "GridCell",
201920
+ props: {
201921
+ className: "col-span-4"
201922
+ }
201923
+ },
201924
+ {
201925
+ componentName: "GridCell",
201926
+ props: {
201927
+ className: "col-span-4"
201928
+ }
201929
+ },
201930
+ {
201931
+ componentName: "GridCell",
201932
+ props: {
201933
+ className: "col-span-4"
201934
+ }
201935
+ },
201936
+ {
201937
+ componentName: "GridCell",
201938
+ props: {
201939
+ className: "col-span-4"
201940
+ }
201941
+ },
201942
+ {
201943
+ componentName: "GridCell",
201944
+ props: {
201945
+ className: "col-span-8"
201946
+ }
201947
+ }
201948
+ ]
201949
+ }
201950
+ ]
201951
+ }
201952
+ ],
201953
+ view: /* @__PURE__ */ jsxRuntimeExports.jsxs(GridView, { className: "grid-cols-12", children: [
201954
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-4" }),
201955
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-4" }),
201956
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-4" }),
201957
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-4" }),
201958
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-8" })
201959
+ ] })
201960
+ };
201961
+ const layout2_23 = {
201962
+ name: "Layout2_23",
201963
+ title: "两行区块",
201964
+ elements: [
201965
+ {
201966
+ componentName: "Section",
201967
+ children: [
201968
+ {
201969
+ componentName: "Grid",
201970
+ props: {
201971
+ className: "grid-cols-12 gap-6"
201972
+ },
201973
+ children: [
201974
+ {
201975
+ componentName: "GridCell",
201976
+ props: {
201977
+ className: "col-span-12"
201978
+ }
201979
+ },
201980
+ {
201981
+ componentName: "GridCell",
201982
+ props: {
201983
+ className: "col-span-4"
201984
+ }
201985
+ },
201986
+ {
201987
+ componentName: "GridCell",
201988
+ props: {
201989
+ className: "col-span-4"
201990
+ }
201991
+ },
201992
+ {
201993
+ componentName: "GridCell",
201994
+ props: {
201995
+ className: "col-span-4"
201996
+ }
201997
+ }
201998
+ ]
201999
+ }
202000
+ ]
202001
+ }
202002
+ ],
202003
+ view: /* @__PURE__ */ jsxRuntimeExports.jsxs(GridView, { className: "grid-cols-12", children: [
202004
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-12" }),
202005
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-4" }),
202006
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-4" }),
202007
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-4" })
202008
+ ] })
202009
+ };
202010
+ const layout3_1 = {
202011
+ name: "Layout3_1",
202012
+ title: "三行区块",
202013
+ elements: [
202014
+ {
202015
+ componentName: "Section",
202016
+ children: [
202017
+ {
202018
+ componentName: "Grid",
202019
+ props: {
202020
+ className: "grid-cols-12 gap-6"
202021
+ },
202022
+ children: [
202023
+ {
202024
+ componentName: "GridCell",
202025
+ props: {
202026
+ className: "col-span-8"
202027
+ }
202028
+ },
202029
+ {
202030
+ componentName: "GridCell",
202031
+ props: {
202032
+ className: "col-span-4"
202033
+ }
202034
+ },
202035
+ {
202036
+ componentName: "GridCell",
202037
+ props: {
202038
+ className: "col-span-12"
202039
+ }
202040
+ },
202041
+ {
202042
+ componentName: "GridCell",
202043
+ props: {
202044
+ className: "col-span-4"
202045
+ }
202046
+ },
202047
+ {
202048
+ componentName: "GridCell",
202049
+ props: {
202050
+ className: "col-span-8"
202051
+ }
202052
+ }
202053
+ ]
202054
+ }
202055
+ ]
202056
+ }
202057
+ ],
202058
+ view: /* @__PURE__ */ jsxRuntimeExports.jsxs(GridView, { className: "grid-cols-12", children: [
202059
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-8" }),
202060
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-4" }),
202061
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-12" }),
202062
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-4" }),
202063
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-8" })
202064
+ ] })
202065
+ };
202066
+ const layout3_2 = {
202067
+ name: "Layout3_2",
202068
+ title: "三行区块",
202069
+ elements: [
202070
+ {
202071
+ componentName: "Section",
202072
+ children: [
202073
+ {
202074
+ componentName: "Grid",
202075
+ props: {
202076
+ className: "grid-cols-12 gap-6"
202077
+ },
202078
+ children: [
202079
+ {
202080
+ componentName: "GridCell",
202081
+ props: {
202082
+ className: "col-span-12"
202083
+ }
202084
+ },
202085
+ {
202086
+ componentName: "GridCell",
202087
+ props: {
202088
+ className: "col-span-4"
202089
+ }
202090
+ },
202091
+ {
202092
+ componentName: "GridCell",
202093
+ props: {
202094
+ className: "col-span-4"
202095
+ }
202096
+ },
202097
+ {
202098
+ componentName: "GridCell",
202099
+ props: {
202100
+ className: "col-span-4"
202101
+ }
202102
+ },
202103
+ {
202104
+ componentName: "GridCell",
202105
+ props: {
202106
+ className: "col-span-4"
202107
+ }
202108
+ },
202109
+ {
202110
+ componentName: "GridCell",
202111
+ props: {
202112
+ className: "col-span-4"
202113
+ }
202114
+ },
202115
+ {
202116
+ componentName: "GridCell",
202117
+ props: {
202118
+ className: "col-span-4"
202119
+ }
202120
+ }
202121
+ ]
202122
+ }
202123
+ ]
202124
+ }
202125
+ ],
202126
+ view: /* @__PURE__ */ jsxRuntimeExports.jsxs(GridView, { className: "grid-cols-12", children: [
202127
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-12" }),
202128
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-4" }),
202129
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-4" }),
202130
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-4" }),
202131
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-4" }),
202132
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-4" }),
202133
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-4" })
202134
+ ] })
202135
+ };
202136
+ const layout3_3 = {
202137
+ name: "Layout3_3",
202138
+ title: "三行区块",
202139
+ elements: [
202140
+ {
202141
+ componentName: "Section",
202142
+ children: [
202143
+ {
202144
+ componentName: "Grid",
202145
+ props: {
202146
+ className: "grid-cols-12 gap-6"
202147
+ },
202148
+ children: [
202149
+ {
202150
+ componentName: "GridCell",
202151
+ props: {
202152
+ className: "col-span-6"
202153
+ }
202154
+ },
202155
+ {
202156
+ componentName: "GridCell",
202157
+ props: {
202158
+ className: "col-span-6"
202159
+ }
202160
+ },
202161
+ {
202162
+ componentName: "GridCell",
202163
+ props: {
202164
+ className: "col-span-6"
202165
+ }
202166
+ },
202167
+ {
202168
+ componentName: "GridCell",
202169
+ props: {
202170
+ className: "col-span-6"
202171
+ }
202172
+ },
202173
+ {
202174
+ componentName: "GridCell",
202175
+ props: {
202176
+ className: "col-span-12"
202177
+ }
202178
+ }
202179
+ ]
202180
+ }
202181
+ ]
202182
+ }
202183
+ ],
202184
+ view: /* @__PURE__ */ jsxRuntimeExports.jsxs(GridView, { className: "grid-cols-12", children: [
202185
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-6" }),
202186
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-6" }),
202187
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-6" }),
202188
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-6" }),
202189
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-12" })
202190
+ ] })
202191
+ };
202192
+ const layout3_4 = {
202193
+ name: "Layout3_4",
202194
+ title: "三行区块",
202195
+ elements: [
202196
+ {
202197
+ componentName: "Section",
202198
+ children: [
202199
+ {
202200
+ componentName: "Grid",
202201
+ props: {
202202
+ className: "grid-cols-12 gap-6"
202203
+ },
202204
+ children: [
202205
+ {
202206
+ componentName: "GridCell",
202207
+ props: {
202208
+ className: "col-span-12"
202209
+ }
202210
+ },
202211
+ {
202212
+ componentName: "GridCell",
202213
+ props: {
202214
+ className: "col-span-6"
202215
+ }
202216
+ },
202217
+ {
202218
+ componentName: "GridCell",
202219
+ props: {
202220
+ className: "col-span-6"
202221
+ }
202222
+ },
202223
+ {
202224
+ componentName: "GridCell",
202225
+ props: {
202226
+ className: "col-span-6"
202227
+ }
202228
+ },
202229
+ {
202230
+ componentName: "GridCell",
202231
+ props: {
202232
+ className: "col-span-6"
202233
+ }
202234
+ }
202235
+ ]
202236
+ }
202237
+ ]
202238
+ }
202239
+ ],
202240
+ view: /* @__PURE__ */ jsxRuntimeExports.jsxs(GridView, { className: "grid-cols-12", children: [
202241
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-12" }),
202242
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-6" }),
202243
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-6" }),
202244
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-6" }),
202245
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-6" })
202246
+ ] })
202247
+ };
202248
+ const layout3_5 = {
202249
+ name: "Layout3_5",
202250
+ title: "三行区块",
202251
+ elements: [
202252
+ {
202253
+ componentName: "Section",
202254
+ children: [
202255
+ {
202256
+ componentName: "Grid",
202257
+ props: {
202258
+ className: "grid-cols-12 gap-6"
202259
+ },
202260
+ children: [
202261
+ {
202262
+ componentName: "GridCell",
202263
+ props: {
202264
+ className: "col-span-6"
202265
+ }
202266
+ },
202267
+ {
202268
+ componentName: "GridCell",
202269
+ props: {
202270
+ className: "col-span-6"
202271
+ }
202272
+ },
202273
+ {
202274
+ componentName: "GridCell",
202275
+ props: {
202276
+ className: "col-span-12"
202277
+ }
202278
+ },
202279
+ {
202280
+ componentName: "GridCell",
202281
+ props: {
202282
+ className: "col-span-6"
202283
+ }
202284
+ },
202285
+ {
202286
+ componentName: "GridCell",
202287
+ props: {
202288
+ className: "col-span-6"
202289
+ }
202290
+ }
202291
+ ]
202292
+ }
202293
+ ]
202294
+ }
202295
+ ],
202296
+ view: /* @__PURE__ */ jsxRuntimeExports.jsxs(GridView, { className: "grid-cols-12", children: [
202297
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-6" }),
202298
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-6" }),
202299
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-12" }),
202300
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-6" }),
202301
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-6" })
202302
+ ] })
202303
+ };
202304
+ const layout3_6 = {
202305
+ name: "Layout3_6",
202306
+ title: "三行区块",
202307
+ elements: [
202308
+ {
202309
+ componentName: "Section",
202310
+ children: [
202311
+ {
202312
+ componentName: "Grid",
202313
+ props: {
202314
+ className: "grid-cols-12 gap-6"
202315
+ },
202316
+ children: [
202317
+ {
202318
+ componentName: "GridCell",
202319
+ props: {
202320
+ className: "col-span-6"
202321
+ }
202322
+ },
202323
+ {
202324
+ componentName: "GridCell",
202325
+ props: {
202326
+ className: "col-span-6 row-span-2"
202327
+ }
202328
+ },
202329
+ {
202330
+ componentName: "GridCell",
202331
+ props: {
202332
+ className: "col-span-6"
202333
+ }
202334
+ },
202335
+ {
202336
+ componentName: "GridCell",
202337
+ props: {
202338
+ className: "col-span-6"
202339
+ }
202340
+ },
202341
+ {
202342
+ componentName: "GridCell",
202343
+ props: {
202344
+ className: "col-span-6"
202345
+ }
202346
+ }
202347
+ ]
202348
+ }
202349
+ ]
202350
+ }
202351
+ ],
202352
+ view: /* @__PURE__ */ jsxRuntimeExports.jsxs(GridView, { className: "grid-cols-12", children: [
202353
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-6" }),
202354
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-6 row-span-2" }),
202355
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-6" }),
202356
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-6" }),
202357
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-6" })
202358
+ ] })
202359
+ };
202360
+ const layout3_7 = {
202361
+ name: "Layout3_7",
202362
+ title: "三行区块",
202363
+ elements: [
202364
+ {
202365
+ componentName: "Section",
202366
+ children: [
202367
+ {
202368
+ componentName: "Grid",
202369
+ props: {
202370
+ className: "grid-cols-12 gap-6"
202371
+ },
202372
+ children: [
202373
+ {
202374
+ componentName: "GridCell",
202375
+ props: {
202376
+ className: "col-span-6 row-span-2"
202377
+ }
202378
+ },
202379
+ {
202380
+ componentName: "GridCell",
202381
+ props: {
202382
+ className: "col-span-6"
202383
+ }
202384
+ },
202385
+ {
202386
+ componentName: "GridCell",
202387
+ props: {
202388
+ className: "col-span-6"
202389
+ }
202390
+ },
202391
+ {
202392
+ componentName: "GridCell",
202393
+ props: {
202394
+ className: "col-span-6"
202395
+ }
202396
+ },
202397
+ {
202398
+ componentName: "GridCell",
202399
+ props: {
202400
+ className: "col-span-6"
202401
+ }
202402
+ }
202403
+ ]
202404
+ }
202405
+ ]
202406
+ }
202407
+ ],
202408
+ view: /* @__PURE__ */ jsxRuntimeExports.jsxs(GridView, { className: "grid-cols-12", children: [
202409
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-6 row-span-2" }),
202410
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-6" }),
202411
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-6" }),
202412
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-6" }),
202413
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-6" })
202414
+ ] })
202415
+ };
202416
+ const layout3_8 = {
202417
+ name: "Layout3_8",
202418
+ title: "三行区块",
202419
+ elements: [
202420
+ {
202421
+ componentName: "Section",
202422
+ children: [
202423
+ {
202424
+ componentName: "Grid",
202425
+ props: {
202426
+ className: "grid-cols-12 gap-6"
202427
+ },
202428
+ children: [
202429
+ {
202430
+ componentName: "GridCell",
202431
+ props: {
202432
+ className: "col-span-6"
202433
+ }
202434
+ },
202435
+ {
202436
+ componentName: "GridCell",
202437
+ props: {
202438
+ className: "col-span-6"
202439
+ }
202440
+ },
202441
+ {
202442
+ componentName: "GridCell",
202443
+ props: {
202444
+ className: "col-span-6"
202445
+ }
202446
+ },
202447
+ {
202448
+ componentName: "GridCell",
202449
+ props: {
202450
+ className: "col-span-6 row-span-2"
202451
+ }
202452
+ },
202453
+ {
202454
+ componentName: "GridCell",
202455
+ props: {
202456
+ className: "col-span-6"
202457
+ }
202458
+ }
202459
+ ]
202460
+ }
202461
+ ]
202462
+ }
202463
+ ],
202464
+ view: /* @__PURE__ */ jsxRuntimeExports.jsxs(GridView, { className: "grid-cols-12", children: [
202465
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-6" }),
202466
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-6" }),
202467
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-6" }),
202468
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-6 row-span-2" }),
202469
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CellView, { className: "col-span-6" })
202470
+ ] })
202471
+ };
200466
202472
  const newSectionCategories = [
200467
202473
  {
200468
202474
  id: "single",
200469
202475
  title: "单行",
200470
- resources: [layout1, layout2]
202476
+ resources: [
202477
+ layout1_1,
202478
+ layout1_2,
202479
+ layout1_3,
202480
+ layout1_4,
202481
+ layout1_5,
202482
+ layout1_6,
202483
+ layout1_7,
202484
+ layout1_8,
202485
+ layout1_9,
202486
+ layout1_10
202487
+ ]
200471
202488
  },
200472
202489
  {
200473
202490
  id: "double",
200474
202491
  title: "两行",
200475
- resources: [layout1, layout2]
202492
+ resources: [
202493
+ layout2_1,
202494
+ layout2_2,
202495
+ layout2_3,
202496
+ layout2_4,
202497
+ layout2_5,
202498
+ layout2_6,
202499
+ layout2_7,
202500
+ layout2_8,
202501
+ layout2_9,
202502
+ layout2_10,
202503
+ layout2_11,
202504
+ layout2_12,
202505
+ layout2_13,
202506
+ layout2_14,
202507
+ layout2_15,
202508
+ layout2_16,
202509
+ layout2_17,
202510
+ layout2_18,
202511
+ layout2_19,
202512
+ layout2_20,
202513
+ layout2_21,
202514
+ layout2_22,
202515
+ layout2_23
202516
+ ]
200476
202517
  },
200477
202518
  {
200478
202519
  id: "triple",
200479
202520
  title: "三行",
200480
- resources: [layout1, layout2]
200481
- },
200482
- {
200483
- id: "header",
200484
- title: "页眉",
200485
- resources: [layout1, layout2]
200486
- },
200487
- {
200488
- id: "footer",
200489
- title: "页脚",
200490
- resources: [layout1, layout2]
202521
+ resources: [
202522
+ layout3_1,
202523
+ layout3_2,
202524
+ layout3_3,
202525
+ layout3_4,
202526
+ layout3_5,
202527
+ layout3_6,
202528
+ layout3_7,
202529
+ layout3_8
202530
+ ]
200491
202531
  }
202532
+ // {
202533
+ // id: "header",
202534
+ // title: "页头",
202535
+ // resources: [layout1_1, layout1_2],
202536
+ // },
202537
+ // {
202538
+ // id: "footer",
202539
+ // title: "页脚",
202540
+ // resources: [layout1_1, layout1_2],
202541
+ // },
200492
202542
  ];
200493
202543
  function SectionsPanel(props) {
200494
202544
  const { hidden } = props;
@@ -201336,6 +203386,19 @@ const baseComponents = [
201336
203386
  }
201337
203387
  ]
201338
203388
  },
203389
+ {
203390
+ id: "carousel",
203391
+ name: "Carousel",
203392
+ title: "轮播",
203393
+ description: "轮播组件",
203394
+ categoryId: "navigation",
203395
+ icon: CarouselIcon,
203396
+ elements: [
203397
+ {
203398
+ componentName: "Carousel"
203399
+ }
203400
+ ]
203401
+ },
201339
203402
  // 反馈组件
201340
203403
  {
201341
203404
  id: "popover",
@@ -201960,8 +204023,8 @@ function PropsSchema(props) {
201960
204023
  const setDrawerType = useStudioStore((state) => state.setDrawerType);
201961
204024
  const setInitValue = useCallback(() => {
201962
204025
  var _a3;
201963
- if (editingComponent == null ? void 0 : editingComponent.props) {
201964
- setValue(JSON.stringify((_a3 = editingComponent == null ? void 0 : editingComponent.props) == null ? void 0 : _a3.tabs, null, 2));
204026
+ if (editingComponent == null ? void 0 : editingComponent.propsSchema) {
204027
+ setValue(JSON.stringify((_a3 = editingComponent == null ? void 0 : editingComponent.propsSchema) == null ? void 0 : _a3.tabs, null, 2));
201965
204028
  } else {
201966
204029
  setValue(JSON.stringify([], null, 2));
201967
204030
  }
@@ -201983,8 +204046,8 @@ function PropsSchema(props) {
201983
204046
  if (editingComponent) {
201984
204047
  onChangeComponent({
201985
204048
  ...editingComponent,
201986
- props: {
201987
- ...editingComponent.props,
204049
+ propsSchema: {
204050
+ ...editingComponent.propsSchema,
201988
204051
  tabs: (value == null ? void 0 : value.trim()) ? JSON.parse(value == null ? void 0 : value.trim()) : void 0
201989
204052
  }
201990
204053
  });
@@ -204207,7 +206270,16 @@ function ThemeDesigner() {
204207
206270
  docIdRef.current && removeDocument(docIdRef.current);
204208
206271
  setDocId(void 0);
204209
206272
  }
204210
- }, [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
+ ]);
204211
206283
  const handleRefChange = useCallback(
204212
206284
  (el) => {
204213
206285
  var _a3, _b3;
@@ -204252,15 +206324,25 @@ function ThemeDesigner() {
204252
206324
  selectedDrawerType: drawerType,
204253
206325
  selectedContent,
204254
206326
  onSelectDrawerType: handleDrawerTypeChange,
204255
- extra: website && /* @__PURE__ */ jsxRuntimeExports.jsx(
204256
- LeftbarButtion,
204257
- {
204258
- title: "媒体库",
204259
- selected: mediaLibOpen,
204260
- onPress: handleOpenMediaLib,
204261
- children: /* @__PURE__ */ jsxRuntimeExports.jsx(MediasIcon, { className: "size-5" })
204262
- }
204263
- )
206327
+ extra: website && /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
206328
+ /* @__PURE__ */ jsxRuntimeExports.jsx(
206329
+ LeftbarButtion,
206330
+ {
206331
+ title: "媒体库",
206332
+ selected: mediaLibOpen,
206333
+ onPress: handleOpenMediaLib,
206334
+ children: /* @__PURE__ */ jsxRuntimeExports.jsx(MediasIcon, { className: "size-5" })
206335
+ }
206336
+ ),
206337
+ /* @__PURE__ */ jsxRuntimeExports.jsx(
206338
+ LeftbarButtion,
206339
+ {
206340
+ title: "Svg图标库",
206341
+ selected: mediaLibOpen,
206342
+ children: /* @__PURE__ */ jsxRuntimeExports.jsx(StarsIcon, { className: "size-5" })
206343
+ }
206344
+ )
206345
+ ] })
204264
206346
  }
204265
206347
  ),
204266
206348
  /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -204834,7 +206916,16 @@ function WebsiteDesigner(props) {
204834
206916
  }
204835
206917
  setDocId(void 0);
204836
206918
  }
204837
- }, [code, config2, createDocument, engine, removeDocument, schema, onlyCode, setViewMode]);
206919
+ }, [
206920
+ code,
206921
+ config2,
206922
+ createDocument,
206923
+ engine,
206924
+ removeDocument,
206925
+ schema,
206926
+ onlyCode,
206927
+ setViewMode
206928
+ ]);
204838
206929
  const handleRefChange = useCallback(
204839
206930
  (el) => {
204840
206931
  var _a3, _b3;
@@ -204879,15 +206970,25 @@ function WebsiteDesigner(props) {
204879
206970
  selectedDrawerType: drawerType,
204880
206971
  selectedContent,
204881
206972
  onSelectDrawerType: handleDrawerTypeChange,
204882
- extra: /* @__PURE__ */ jsxRuntimeExports.jsx(
204883
- LeftbarButtion,
204884
- {
204885
- title: "媒体库",
204886
- selected: mediaLibOpen,
204887
- onPress: handleOpenMediaLib,
204888
- children: /* @__PURE__ */ jsxRuntimeExports.jsx(MediasIcon, { className: "size-5" })
204889
- }
204890
- )
206973
+ extra: /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
206974
+ /* @__PURE__ */ jsxRuntimeExports.jsx(
206975
+ LeftbarButtion,
206976
+ {
206977
+ title: "媒体库",
206978
+ selected: mediaLibOpen,
206979
+ onPress: handleOpenMediaLib,
206980
+ children: /* @__PURE__ */ jsxRuntimeExports.jsx(MediasIcon, { className: "size-5" })
206981
+ }
206982
+ ),
206983
+ /* @__PURE__ */ jsxRuntimeExports.jsx(
206984
+ LeftbarButtion,
206985
+ {
206986
+ title: "Svg图标库",
206987
+ selected: mediaLibOpen,
206988
+ children: /* @__PURE__ */ jsxRuntimeExports.jsx(StarsIcon, { className: "size-5" })
206989
+ }
206990
+ )
206991
+ ] })
204891
206992
  }
204892
206993
  ),
204893
206994
  /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -204977,4 +207078,4 @@ export {
204977
207078
  typescriptDefaults as t,
204978
207079
  useCustomizedMaterials as u
204979
207080
  };
204980
- //# sourceMappingURL=index-c56cb64e.js.map
207081
+ //# sourceMappingURL=index-55da451c.js.map