@parathantl/react-email-editor 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +260 -15
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +16 -4
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +260 -15
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1377,7 +1377,11 @@ function EditorProvider({
|
|
|
1377
1377
|
import { Component } from "react";
|
|
1378
1378
|
|
|
1379
1379
|
// src/styles/error-boundary.module.css
|
|
1380
|
-
var error_boundary_default = {
|
|
1380
|
+
var error_boundary_default = {
|
|
1381
|
+
"errorBoundary": "errorBoundary",
|
|
1382
|
+
"errorMessage": "errorMessage",
|
|
1383
|
+
"retryBtn": "retryBtn"
|
|
1384
|
+
};
|
|
1381
1385
|
|
|
1382
1386
|
// src/components/ErrorBoundary.tsx
|
|
1383
1387
|
import { jsx as jsx2, jsxs } from "react/jsx-runtime";
|
|
@@ -1428,7 +1432,15 @@ import { useEffect as useEffect4, useRef as useRef5, useCallback as useCallback5
|
|
|
1428
1432
|
import { createPortal } from "react-dom";
|
|
1429
1433
|
|
|
1430
1434
|
// src/styles/confirm-dialog.module.css
|
|
1431
|
-
var confirm_dialog_default = {
|
|
1435
|
+
var confirm_dialog_default = {
|
|
1436
|
+
"overlay": "overlay",
|
|
1437
|
+
"dialog": "dialog",
|
|
1438
|
+
"title": "title",
|
|
1439
|
+
"message": "message",
|
|
1440
|
+
"actions": "actions",
|
|
1441
|
+
"btnCancel": "btnCancel",
|
|
1442
|
+
"btnConfirm": "btnConfirm"
|
|
1443
|
+
};
|
|
1432
1444
|
|
|
1433
1445
|
// src/components/ConfirmDialog.tsx
|
|
1434
1446
|
import { jsx as jsx3, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
@@ -2750,10 +2762,64 @@ function parseMenuBlock(el) {
|
|
|
2750
2762
|
}
|
|
2751
2763
|
|
|
2752
2764
|
// src/styles/toolbar.module.css
|
|
2753
|
-
var toolbar_default = {
|
|
2765
|
+
var toolbar_default = {
|
|
2766
|
+
"toolbar": "toolbar",
|
|
2767
|
+
"toolbarGroup": "toolbarGroup",
|
|
2768
|
+
"toolbarSeparator": "toolbarSeparator",
|
|
2769
|
+
"toolbarSpacer": "toolbarSpacer",
|
|
2770
|
+
"toolbarBtn": "toolbarBtn",
|
|
2771
|
+
"toolbarBtnActive": "toolbarBtnActive",
|
|
2772
|
+
"toolbarBtnPrimary": "toolbarBtnPrimary",
|
|
2773
|
+
"tabBar": "tabBar",
|
|
2774
|
+
"tabBtn": "tabBtn",
|
|
2775
|
+
"tabBtnActive": "tabBtnActive",
|
|
2776
|
+
"panelToggleBtn": "panelToggleBtn toolbarBtn",
|
|
2777
|
+
"panelToggleBtnActive": "panelToggleBtnActive",
|
|
2778
|
+
"exportWrapper": "exportWrapper",
|
|
2779
|
+
"exportDropdown": "exportDropdown",
|
|
2780
|
+
"exportDropdownItem": "exportDropdownItem",
|
|
2781
|
+
"richTextToolbar": "richTextToolbar",
|
|
2782
|
+
"richTextBtn": "richTextBtn",
|
|
2783
|
+
"richTextBtnActive": "richTextBtnActive",
|
|
2784
|
+
"richTextSeparator": "richTextSeparator",
|
|
2785
|
+
"richTextSelect": "richTextSelect",
|
|
2786
|
+
"richTextSelectSmall": "richTextSelectSmall richTextSelect",
|
|
2787
|
+
"richTextColorWrapper": "richTextColorWrapper",
|
|
2788
|
+
"richTextColorLabel": "richTextColorLabel",
|
|
2789
|
+
"richTextColorIndicator": "richTextColorIndicator",
|
|
2790
|
+
"richTextColorDropdown": "richTextColorDropdown",
|
|
2791
|
+
"richTextColorGrid": "richTextColorGrid",
|
|
2792
|
+
"richTextColorSwatch": "richTextColorSwatch",
|
|
2793
|
+
"richTextColorActions": "richTextColorActions",
|
|
2794
|
+
"richTextColorInput": "richTextColorInput",
|
|
2795
|
+
"richTextColorClearBtn": "richTextColorClearBtn",
|
|
2796
|
+
"richTextLinkDropdown": "richTextLinkDropdown",
|
|
2797
|
+
"richTextLinkLabel": "richTextLinkLabel",
|
|
2798
|
+
"richTextLinkInput": "richTextLinkInput",
|
|
2799
|
+
"richTextLinkError": "richTextLinkError",
|
|
2800
|
+
"richTextLinkActions": "richTextLinkActions",
|
|
2801
|
+
"richTextLinkApply": "richTextLinkApply",
|
|
2802
|
+
"richTextLinkRemove": "richTextLinkRemove"
|
|
2803
|
+
};
|
|
2754
2804
|
|
|
2755
2805
|
// src/styles/editor.module.css
|
|
2756
|
-
var editor_default = {
|
|
2806
|
+
var editor_default = {
|
|
2807
|
+
"editorWrapper": "editorWrapper",
|
|
2808
|
+
"editorContainer": "editorContainer",
|
|
2809
|
+
"editorBody": "editorBody",
|
|
2810
|
+
"editorPanel": "editorPanel",
|
|
2811
|
+
"sidebarPanel": "sidebarPanel",
|
|
2812
|
+
"canvasPanel": "canvasPanel",
|
|
2813
|
+
"propertiesPanel": "propertiesPanel",
|
|
2814
|
+
"sourceLayout": "sourceLayout",
|
|
2815
|
+
"sourcePane": "sourcePane",
|
|
2816
|
+
"sourcePaneDivider": "sourcePaneDivider",
|
|
2817
|
+
"panelToggle": "panelToggle",
|
|
2818
|
+
"panelOverlay": "panelOverlay",
|
|
2819
|
+
"sidebarOpen": "sidebarOpen",
|
|
2820
|
+
"propertiesOpen": "propertiesOpen",
|
|
2821
|
+
"panelOverlayVisible": "panelOverlayVisible"
|
|
2822
|
+
};
|
|
2757
2823
|
|
|
2758
2824
|
// src/components/Toolbar/Toolbar.tsx
|
|
2759
2825
|
import { jsx as jsx4, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
@@ -3007,7 +3073,39 @@ function isDropAllowed(e) {
|
|
|
3007
3073
|
}
|
|
3008
3074
|
|
|
3009
3075
|
// src/styles/sidebar.module.css
|
|
3010
|
-
var sidebar_default = {
|
|
3076
|
+
var sidebar_default = {
|
|
3077
|
+
"sidebar": "sidebar",
|
|
3078
|
+
"sectionTitle": "sectionTitle",
|
|
3079
|
+
"blockPalette": "blockPalette",
|
|
3080
|
+
"blockCard": "blockCard",
|
|
3081
|
+
"blockCardIcon": "blockCardIcon",
|
|
3082
|
+
"blockCardLabel": "blockCardLabel",
|
|
3083
|
+
"variableList": "variableList",
|
|
3084
|
+
"variableHint": "variableHint",
|
|
3085
|
+
"variableGroup": "variableGroup",
|
|
3086
|
+
"variableGroupTitle": "variableGroupTitle",
|
|
3087
|
+
"variableChips": "variableChips",
|
|
3088
|
+
"variableChip": "variableChip",
|
|
3089
|
+
"variableChipInserted": "variableChipInserted",
|
|
3090
|
+
"variableChipCustom": "variableChipCustom",
|
|
3091
|
+
"variableChipDelete": "variableChipDelete",
|
|
3092
|
+
"variableChipIcon": "variableChipIcon",
|
|
3093
|
+
"addVariableSection": "addVariableSection",
|
|
3094
|
+
"addVariableBtn": "addVariableBtn",
|
|
3095
|
+
"addVariableForm": "addVariableForm",
|
|
3096
|
+
"addVariableField": "addVariableField",
|
|
3097
|
+
"addVariableLabel": "addVariableLabel",
|
|
3098
|
+
"addVariableInput": "addVariableInput",
|
|
3099
|
+
"addVariableError": "addVariableError",
|
|
3100
|
+
"addVariableActions": "addVariableActions",
|
|
3101
|
+
"addVariableCancelBtn": "addVariableCancelBtn",
|
|
3102
|
+
"addVariableSubmitBtn": "addVariableSubmitBtn",
|
|
3103
|
+
"layoutSection": "layoutSection",
|
|
3104
|
+
"layoutOption": "layoutOption",
|
|
3105
|
+
"layoutPreview": "layoutPreview",
|
|
3106
|
+
"layoutColumn": "layoutColumn",
|
|
3107
|
+
"layoutLabel": "layoutLabel"
|
|
3108
|
+
};
|
|
3011
3109
|
|
|
3012
3110
|
// src/components/Sidebar/BlockPalette.tsx
|
|
3013
3111
|
import { jsx as jsx5, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
@@ -4098,10 +4196,65 @@ function InlineColorPicker({ editor, type, title, label }) {
|
|
|
4098
4196
|
}
|
|
4099
4197
|
|
|
4100
4198
|
// src/styles/blocks.module.css
|
|
4101
|
-
var blocks_default = {
|
|
4199
|
+
var blocks_default = {
|
|
4200
|
+
"textBlock": "textBlock",
|
|
4201
|
+
"textBlockToolbar": "textBlockToolbar",
|
|
4202
|
+
"buttonBlock": "buttonBlock",
|
|
4203
|
+
"buttonBlockLeft": "buttonBlockLeft",
|
|
4204
|
+
"buttonBlockCenter": "buttonBlockCenter",
|
|
4205
|
+
"buttonBlockRight": "buttonBlockRight",
|
|
4206
|
+
"buttonPreview": "buttonPreview",
|
|
4207
|
+
"imageBlock": "imageBlock",
|
|
4208
|
+
"imageBlockLeft": "imageBlockLeft",
|
|
4209
|
+
"imageBlockCenter": "imageBlockCenter",
|
|
4210
|
+
"imageBlockRight": "imageBlockRight",
|
|
4211
|
+
"imagePreview": "imagePreview",
|
|
4212
|
+
"imagePlaceholder": "imagePlaceholder",
|
|
4213
|
+
"imagePlaceholderIcon": "imagePlaceholderIcon",
|
|
4214
|
+
"imageUploading": "imageUploading",
|
|
4215
|
+
"imageProgress": "imageProgress",
|
|
4216
|
+
"imageError": "imageError",
|
|
4217
|
+
"dividerBlock": "dividerBlock",
|
|
4218
|
+
"dividerLine": "dividerLine",
|
|
4219
|
+
"spacerBlock": "spacerBlock",
|
|
4220
|
+
"spacerLabel": "spacerLabel",
|
|
4221
|
+
"socialBlock": "socialBlock",
|
|
4222
|
+
"socialElement": "socialElement",
|
|
4223
|
+
"socialIcon": "socialIcon",
|
|
4224
|
+
"socialLabel": "socialLabel",
|
|
4225
|
+
"socialElementsContainer": "socialElementsContainer",
|
|
4226
|
+
"socialElementItem": "socialElementItem",
|
|
4227
|
+
"htmlBlock": "htmlBlock",
|
|
4228
|
+
"htmlPlaceholder": "htmlPlaceholder",
|
|
4229
|
+
"videoBlock": "videoBlock",
|
|
4230
|
+
"videoBlockLeft": "videoBlockLeft",
|
|
4231
|
+
"videoBlockCenter": "videoBlockCenter",
|
|
4232
|
+
"videoBlockRight": "videoBlockRight",
|
|
4233
|
+
"videoPreview": "videoPreview",
|
|
4234
|
+
"playOverlay": "playOverlay",
|
|
4235
|
+
"videoPlaceholder": "videoPlaceholder",
|
|
4236
|
+
"headingBlock": "headingBlock",
|
|
4237
|
+
"countdownBlock": "countdownBlock",
|
|
4238
|
+
"countdownLabel": "countdownLabel",
|
|
4239
|
+
"countdownDigits": "countdownDigits",
|
|
4240
|
+
"countdownUnit": "countdownUnit",
|
|
4241
|
+
"countdownDigitBox": "countdownDigitBox",
|
|
4242
|
+
"countdownUnitLabel": "countdownUnitLabel",
|
|
4243
|
+
"menuBlock": "menuBlock",
|
|
4244
|
+
"menuItems": "menuItems",
|
|
4245
|
+
"menuItem": "menuItem",
|
|
4246
|
+
"menuItemsContainer": "menuItemsContainer",
|
|
4247
|
+
"menuItemEntry": "menuItemEntry",
|
|
4248
|
+
"heroBlock": "heroBlock",
|
|
4249
|
+
"heroHeading": "heroHeading",
|
|
4250
|
+
"heroSubtext": "heroSubtext",
|
|
4251
|
+
"heroButton": "heroButton"
|
|
4252
|
+
};
|
|
4102
4253
|
|
|
4103
4254
|
// src/styles/tiptap.module.css
|
|
4104
|
-
var tiptap_default = {
|
|
4255
|
+
var tiptap_default = {
|
|
4256
|
+
"tiptapWrapper": "tiptapWrapper"
|
|
4257
|
+
};
|
|
4105
4258
|
|
|
4106
4259
|
// src/components/Canvas/blocks/TextBlock.tsx
|
|
4107
4260
|
import { jsx as jsx11, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
@@ -4798,7 +4951,36 @@ var BlockRenderer = React22.memo(function BlockRenderer2({ block }) {
|
|
|
4798
4951
|
import React23, { useState as useState10, useCallback as useCallback16, useRef as useRef14 } from "react";
|
|
4799
4952
|
|
|
4800
4953
|
// src/styles/canvas.module.css
|
|
4801
|
-
var canvas_default = {
|
|
4954
|
+
var canvas_default = {
|
|
4955
|
+
"canvasWrapper": "canvasWrapper",
|
|
4956
|
+
"canvasBody": "canvasBody",
|
|
4957
|
+
"canvasBodyDragOver": "canvasBodyDragOver",
|
|
4958
|
+
"section": "section",
|
|
4959
|
+
"sectionSelected": "sectionSelected",
|
|
4960
|
+
"sectionFullWidth": "sectionFullWidth",
|
|
4961
|
+
"sectionOverlay": "sectionOverlay",
|
|
4962
|
+
"sectionBtn": "sectionBtn",
|
|
4963
|
+
"sectionBtnDuplicate": "sectionBtnDuplicate",
|
|
4964
|
+
"sectionDragHandle": "sectionDragHandle",
|
|
4965
|
+
"sectionContent": "sectionContent",
|
|
4966
|
+
"column": "column",
|
|
4967
|
+
"blockWrapper": "blockWrapper",
|
|
4968
|
+
"blockSelected": "blockSelected",
|
|
4969
|
+
"blockOverlay": "blockOverlay",
|
|
4970
|
+
"blockBtn": "blockBtn",
|
|
4971
|
+
"blockBtnDuplicate": "blockBtnDuplicate",
|
|
4972
|
+
"blockDropBefore": "blockDropBefore",
|
|
4973
|
+
"blockDropAfter": "blockDropAfter",
|
|
4974
|
+
"dropZone": "dropZone",
|
|
4975
|
+
"dropZoneActive": "dropZoneActive",
|
|
4976
|
+
"dropZoneLabel": "dropZoneLabel",
|
|
4977
|
+
"emptyColumn": "emptyColumn",
|
|
4978
|
+
"emptyColumnActive": "emptyColumnActive",
|
|
4979
|
+
"sectionDropZone": "sectionDropZone",
|
|
4980
|
+
"sectionDropZoneActive": "sectionDropZoneActive",
|
|
4981
|
+
"sectionDropZoneLabel": "sectionDropZoneLabel",
|
|
4982
|
+
"addSectionBtn": "addSectionBtn"
|
|
4983
|
+
};
|
|
4802
4984
|
|
|
4803
4985
|
// src/components/Canvas/DropZone.tsx
|
|
4804
4986
|
import { jsx as jsx24 } from "react/jsx-runtime";
|
|
@@ -5388,7 +5570,54 @@ import React32 from "react";
|
|
|
5388
5570
|
import { useState as useState15, useCallback as useCallback21, useRef as useRef16, useEffect as useEffect12 } from "react";
|
|
5389
5571
|
|
|
5390
5572
|
// src/styles/properties.module.css
|
|
5391
|
-
var properties_default = {
|
|
5573
|
+
var properties_default = {
|
|
5574
|
+
"propertiesPanel": "propertiesPanel",
|
|
5575
|
+
"propertiesHeader": "propertiesHeader",
|
|
5576
|
+
"propertiesBody": "propertiesBody",
|
|
5577
|
+
"emptyProperties": "emptyProperties",
|
|
5578
|
+
"fieldHint": "fieldHint",
|
|
5579
|
+
"fieldGroup": "fieldGroup",
|
|
5580
|
+
"fieldLabel": "fieldLabel",
|
|
5581
|
+
"fieldInput": "fieldInput",
|
|
5582
|
+
"fieldTextarea": "fieldTextarea fieldInput",
|
|
5583
|
+
"fieldSelect": "fieldSelect fieldInput",
|
|
5584
|
+
"fieldRow": "fieldRow",
|
|
5585
|
+
"fieldHalf": "fieldHalf",
|
|
5586
|
+
"colorPickerWrapper": "colorPickerWrapper",
|
|
5587
|
+
"colorPickerTrigger": "colorPickerTrigger",
|
|
5588
|
+
"colorSwatch": "colorSwatch",
|
|
5589
|
+
"colorValue": "colorValue",
|
|
5590
|
+
"colorPresets": "colorPresets",
|
|
5591
|
+
"colorPresetBtn": "colorPresetBtn",
|
|
5592
|
+
"colorPresetBtnActive": "colorPresetBtnActive",
|
|
5593
|
+
"colorPresetBtnTransparent": "colorPresetBtnTransparent",
|
|
5594
|
+
"colorSwatchTransparent": "colorSwatchTransparent",
|
|
5595
|
+
"paddingGrid": "paddingGrid",
|
|
5596
|
+
"paddingField": "paddingField",
|
|
5597
|
+
"paddingLabel": "paddingLabel",
|
|
5598
|
+
"paddingInput": "paddingInput fieldInput",
|
|
5599
|
+
"alignmentPicker": "alignmentPicker",
|
|
5600
|
+
"alignmentBtn": "alignmentBtn",
|
|
5601
|
+
"alignmentBtnActive": "alignmentBtnActive",
|
|
5602
|
+
"sliderWrapper": "sliderWrapper",
|
|
5603
|
+
"sliderInput": "sliderInput",
|
|
5604
|
+
"sliderValue": "sliderValue",
|
|
5605
|
+
"itemActionBtn": "itemActionBtn",
|
|
5606
|
+
"itemActionBtnDanger": "itemActionBtnDanger itemActionBtn",
|
|
5607
|
+
"addItemBtn": "addItemBtn",
|
|
5608
|
+
"fieldInputFlex": "fieldInputFlex fieldInput",
|
|
5609
|
+
"fieldRowCompact": "fieldRowCompact",
|
|
5610
|
+
"fieldSelectNarrow": "fieldSelectNarrow fieldSelect",
|
|
5611
|
+
"fieldTextareaCode": "fieldTextareaCode fieldInput",
|
|
5612
|
+
"fieldBtnUpload": "fieldBtnUpload fieldInput",
|
|
5613
|
+
"fieldBtnUploadDisabled": "fieldBtnUploadDisabled fieldBtnUpload",
|
|
5614
|
+
"validationError": "validationError",
|
|
5615
|
+
"fieldInputStacked": "fieldInputStacked fieldInput",
|
|
5616
|
+
"checkboxLabel": "checkboxLabel fieldLabel",
|
|
5617
|
+
"colorPresetBtnFull": "colorPresetBtnFull",
|
|
5618
|
+
"colorNativeInput": "colorNativeInput",
|
|
5619
|
+
"separator": "separator"
|
|
5620
|
+
};
|
|
5392
5621
|
|
|
5393
5622
|
// src/components/Properties/controls/ColorPicker.tsx
|
|
5394
5623
|
import { jsx as jsx29, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
@@ -6058,7 +6287,7 @@ function SocialProperties({ block }) {
|
|
|
6058
6287
|
[block.properties.elements, update]
|
|
6059
6288
|
);
|
|
6060
6289
|
const addElement = useCallback29(() => {
|
|
6061
|
-
const elements = [...block.properties.elements, { name: "web", href: "#" }];
|
|
6290
|
+
const elements = [...block.properties.elements, { id: generateId("se"), name: "web", href: "#" }];
|
|
6062
6291
|
update({ elements });
|
|
6063
6292
|
}, [block.properties.elements, update]);
|
|
6064
6293
|
const removeElement = useCallback29(
|
|
@@ -6136,7 +6365,7 @@ function SocialProperties({ block }) {
|
|
|
6136
6365
|
placeholder: "Label (optional)"
|
|
6137
6366
|
}
|
|
6138
6367
|
)
|
|
6139
|
-
] }, index)) }),
|
|
6368
|
+
] }, element.id ?? `se-${index}`)) }),
|
|
6140
6369
|
/* @__PURE__ */ jsx43("button", { className: `ee-add-item ${properties_default.addItemBtn}`, onClick: addElement, children: "+ Add Element" })
|
|
6141
6370
|
] })
|
|
6142
6371
|
] });
|
|
@@ -6326,7 +6555,7 @@ function MenuProperties({ block }) {
|
|
|
6326
6555
|
[block.properties.items, update]
|
|
6327
6556
|
);
|
|
6328
6557
|
const addItem = useCallback32(() => {
|
|
6329
|
-
const items = [...block.properties.items, { text: "Link", href: "#" }];
|
|
6558
|
+
const items = [...block.properties.items, { id: generateId("mi"), text: "Link", href: "#" }];
|
|
6330
6559
|
update({ items });
|
|
6331
6560
|
}, [block.properties.items, update]);
|
|
6332
6561
|
const removeItem = useCallback32(
|
|
@@ -6383,7 +6612,7 @@ function MenuProperties({ block }) {
|
|
|
6383
6612
|
placeholder: "URL"
|
|
6384
6613
|
}
|
|
6385
6614
|
)
|
|
6386
|
-
] }, index)) }),
|
|
6615
|
+
] }, item.id ?? `mi-${index}`)) }),
|
|
6387
6616
|
/* @__PURE__ */ jsx48("button", { className: `ee-add-item ${properties_default.addItemBtn}`, onClick: addItem, children: "+ Add Item" })
|
|
6388
6617
|
] })
|
|
6389
6618
|
] });
|
|
@@ -6536,7 +6765,16 @@ function PropertiesPanel() {
|
|
|
6536
6765
|
import { useEffect as useEffect14, useState as useState17, useRef as useRef19 } from "react";
|
|
6537
6766
|
|
|
6538
6767
|
// src/styles/preview.module.css
|
|
6539
|
-
var preview_default = {
|
|
6768
|
+
var preview_default = {
|
|
6769
|
+
"preview": "preview",
|
|
6770
|
+
"previewToggles": "previewToggles",
|
|
6771
|
+
"previewToggle": "previewToggle",
|
|
6772
|
+
"previewToggleActive": "previewToggleActive",
|
|
6773
|
+
"previewToggleDesktop": "previewToggleDesktop",
|
|
6774
|
+
"previewToggleMobile": "previewToggleMobile",
|
|
6775
|
+
"previewContainer": "previewContainer",
|
|
6776
|
+
"previewIframe": "previewIframe"
|
|
6777
|
+
};
|
|
6540
6778
|
|
|
6541
6779
|
// src/components/Preview/PreviewPanel.tsx
|
|
6542
6780
|
import { jsx as jsx52, jsxs as jsxs42 } from "react/jsx-runtime";
|
|
@@ -6616,7 +6854,14 @@ function PreviewPanel() {
|
|
|
6616
6854
|
import { useState as useState18, useCallback as useCallback34, useEffect as useEffect15 } from "react";
|
|
6617
6855
|
|
|
6618
6856
|
// src/styles/source-editor.module.css
|
|
6619
|
-
var source_editor_default = {
|
|
6857
|
+
var source_editor_default = {
|
|
6858
|
+
"sourceEditor": "sourceEditor",
|
|
6859
|
+
"sourceHeader": "sourceHeader",
|
|
6860
|
+
"sourceLabel": "sourceLabel",
|
|
6861
|
+
"sourceApply": "sourceApply",
|
|
6862
|
+
"sourceError": "sourceError",
|
|
6863
|
+
"sourceTextarea": "sourceTextarea"
|
|
6864
|
+
};
|
|
6620
6865
|
|
|
6621
6866
|
// src/components/SourceEditor/SourceEditor.tsx
|
|
6622
6867
|
import { jsx as jsx53, jsxs as jsxs43 } from "react/jsx-runtime";
|