@carto/meridian-ds 1.4.8-alpha-external-link.5 → 1.4.8
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/CHANGELOG.md +0 -5
- package/dist/{Alert-CmDToT57.cjs → Alert-BiOR9aar.cjs} +1 -72
- package/dist/{Alert-2L0Hy8lT.js → Alert-CywtIMOj.js} +3 -74
- package/dist/{OpenDiagonallyRight-CSm5GYYJ.js → OpenDiagonallyRight-5HZXh46V.js} +0 -27
- package/dist/{OpenDiagonallyRight-CM1tojUq.cjs → OpenDiagonallyRight-BrRyCV4Q.cjs} +0 -27
- package/dist/{TablePaginationActions-CAmwcyTy.cjs → TablePaginationActions-CFGXm44W.cjs} +3 -6
- package/dist/{TablePaginationActions-b5wP_uRE.js → TablePaginationActions-KpTvhN4Y.js} +3 -6
- package/dist/components/index.cjs +21 -239
- package/dist/components/index.js +27 -246
- package/dist/custom-icons/index.cjs +55 -29
- package/dist/custom-icons/index.js +55 -29
- package/dist/theme/index.cjs +1 -1
- package/dist/theme/index.js +2 -2
- package/dist/types/components/atoms/Button.d.ts +0 -11
- package/dist/types/components/atoms/Button.d.ts.map +1 -1
- package/dist/types/components/atoms/index.d.ts +0 -4
- package/dist/types/components/atoms/index.d.ts.map +1 -1
- package/dist/types/components/organisms/CodeArea/CodeAreaInput.d.ts.map +1 -1
- package/dist/types/components/organisms/CodeArea/CodeAreaTheme.d.ts.map +1 -1
- package/dist/types/components/organisms/CodeArea/index.d.ts +0 -1
- package/dist/types/components/organisms/CodeArea/index.d.ts.map +1 -1
- package/dist/types/components/organisms/CodeArea/types.d.ts +0 -4
- package/dist/types/components/organisms/CodeArea/types.d.ts.map +1 -1
- package/dist/types/components/organisms/CodeArea/utils.d.ts +0 -34
- package/dist/types/components/organisms/CodeArea/utils.d.ts.map +1 -1
- package/dist/types/localization/en.d.ts +0 -1
- package/dist/types/localization/en.d.ts.map +1 -1
- package/dist/types/localization/es.d.ts +0 -1
- package/dist/types/localization/es.d.ts.map +1 -1
- package/dist/types/localization/id.d.ts +0 -1
- package/dist/types/localization/id.d.ts.map +1 -1
- package/dist/types/localization/index.d.ts +0 -3
- package/dist/types/localization/index.d.ts.map +1 -1
- package/dist/types/theme/types.d.ts +0 -6
- package/dist/types/theme/types.d.ts.map +1 -1
- package/dist/types/widgets/CategoryWidgetUI/CategoryWidgetUI.styled.d.ts +1 -1
- package/dist/types/widgets/CategoryWidgetUI/CategoryWidgetUI.styled.d.ts.map +1 -1
- package/dist/types/widgets/comparative/ComparativeCategoryWidgetUI/ComparativeCategoryWidgetUI.d.ts.map +1 -1
- package/dist/widgets/index.cjs +5 -5
- package/dist/widgets/index.js +5 -5
- package/package.json +1 -1
- package/dist/types/components/atoms/Link.d.ts +0 -14
- package/dist/types/components/atoms/Link.d.ts.map +0 -1
- package/dist/types/components/atoms/SplitButton.d.ts +0 -17
- package/dist/types/components/atoms/SplitButton.d.ts.map +0 -1
|
@@ -2,19 +2,19 @@
|
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
|
4
4
|
const React = require("react");
|
|
5
|
-
const reactIntl = require("react-intl");
|
|
6
5
|
const material = require("@mui/material");
|
|
6
|
+
const TablePaginationActions = require("../TablePaginationActions-CFGXm44W.cjs");
|
|
7
|
+
const reactIntl = require("react-intl");
|
|
7
8
|
const iconsMaterial = require("@mui/icons-material");
|
|
8
|
-
const
|
|
9
|
-
const ArrowDown = require("../ArrowDown-8fLj23Ge.cjs");
|
|
10
|
-
const OpenDiagonallyRight = require("../OpenDiagonallyRight-CM1tojUq.cjs");
|
|
11
|
-
const Alert$1 = require("../Alert-CmDToT57.cjs");
|
|
9
|
+
const Alert$1 = require("../Alert-BiOR9aar.cjs");
|
|
12
10
|
require("cartocolor");
|
|
13
11
|
const MenuItem = require("../MenuItem-Br2jY2lt.cjs");
|
|
12
|
+
const ArrowDown = require("../ArrowDown-8fLj23Ge.cjs");
|
|
14
13
|
const DatePicker$1 = require("@mui/x-date-pickers/DatePicker");
|
|
15
14
|
const xDatePickers = require("@mui/x-date-pickers");
|
|
16
15
|
const TimePicker$1 = require("@mui/x-date-pickers/TimePicker");
|
|
17
16
|
const DateTimePicker$1 = require("@mui/x-date-pickers/DateTimePicker");
|
|
17
|
+
const OpenDiagonallyRight = require("../OpenDiagonallyRight-BrRyCV4Q.cjs");
|
|
18
18
|
const reactCodemirror2 = require("react-codemirror2");
|
|
19
19
|
const colors = require("@mui/material/colors");
|
|
20
20
|
require("codemirror/lib/codemirror.css");
|
|
@@ -61,13 +61,8 @@ function _Button({
|
|
|
61
61
|
startIcon,
|
|
62
62
|
endIcon,
|
|
63
63
|
loadingPosition,
|
|
64
|
-
external,
|
|
65
|
-
showExternalIcon = true,
|
|
66
|
-
"aria-label": ariaLabel,
|
|
67
64
|
...otherProps
|
|
68
65
|
}, ref) {
|
|
69
|
-
const intl = reactIntl.useIntl();
|
|
70
|
-
const intlConfig = TablePaginationActions.useImperativeIntl(intl);
|
|
71
66
|
const defaultIconLoader = /* @__PURE__ */ jsxRuntime.jsx(material.CircularProgress, { size: 18, color: "inherit" });
|
|
72
67
|
const isDefaultLoading = loading && loadingPosition === void 0;
|
|
73
68
|
const renderContent = () => {
|
|
@@ -89,11 +84,7 @@ function _Button({
|
|
|
89
84
|
}
|
|
90
85
|
return void 0;
|
|
91
86
|
}
|
|
92
|
-
|
|
93
|
-
return startIcon;
|
|
94
|
-
} else {
|
|
95
|
-
return endIcon || (external && showExternalIcon && otherProps.href ? /* @__PURE__ */ jsxRuntime.jsx(iconsMaterial.OpenInNewOutlined, {}) : void 0);
|
|
96
|
-
}
|
|
87
|
+
return position === "start" ? startIcon : endIcon;
|
|
97
88
|
};
|
|
98
89
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
99
90
|
material.Button,
|
|
@@ -103,103 +94,12 @@ function _Button({
|
|
|
103
94
|
endIcon: getIconForPosition("end"),
|
|
104
95
|
...otherProps,
|
|
105
96
|
role: otherProps.href ? "link" : "button",
|
|
106
|
-
...otherProps.href && external && {
|
|
107
|
-
target: "_blank",
|
|
108
|
-
rel: "noopener noreferrer"
|
|
109
|
-
},
|
|
110
|
-
"aria-label": ariaLabel || (external && otherProps.href ? `${children == null ? void 0 : children.toString()} (${intlConfig.formatMessage({
|
|
111
|
-
id: "c4r.button.opensInNewTab"
|
|
112
|
-
})})` : void 0),
|
|
113
97
|
ref,
|
|
114
98
|
children: /* @__PURE__ */ jsxRuntime.jsx(TablePaginationActions.Typography, { variant: "inherit", color: "inherit", noWrap: true, component: "span", children: renderContent() })
|
|
115
99
|
}
|
|
116
100
|
);
|
|
117
101
|
}
|
|
118
102
|
const Button = React.forwardRef(_Button);
|
|
119
|
-
const ButtonGroup = material.styled(material.ButtonGroup)(({ theme, size }) => ({
|
|
120
|
-
"& .MuiButton-root:last-child": {
|
|
121
|
-
padding: 0,
|
|
122
|
-
minWidth: size === "small" ? theme.spacing(3) : size === "large" ? theme.spacing(6) : theme.spacing(4)
|
|
123
|
-
}
|
|
124
|
-
}));
|
|
125
|
-
function SplitButton({
|
|
126
|
-
options,
|
|
127
|
-
onClick,
|
|
128
|
-
variant,
|
|
129
|
-
size,
|
|
130
|
-
color,
|
|
131
|
-
...otherProps
|
|
132
|
-
}) {
|
|
133
|
-
var _a;
|
|
134
|
-
const [open, setOpen] = React.useState(false);
|
|
135
|
-
const anchorRef = React.useRef(null);
|
|
136
|
-
const [selectedIndex, setSelectedIndex] = React.useState(0);
|
|
137
|
-
const handleClick = () => {
|
|
138
|
-
onClick(options[selectedIndex]);
|
|
139
|
-
};
|
|
140
|
-
const handleMenuItemClick = (_, index) => {
|
|
141
|
-
setSelectedIndex(index);
|
|
142
|
-
setOpen(false);
|
|
143
|
-
};
|
|
144
|
-
const handleToggle = () => {
|
|
145
|
-
setOpen((prevOpen) => !prevOpen);
|
|
146
|
-
};
|
|
147
|
-
const handleClose = (event) => {
|
|
148
|
-
var _a2;
|
|
149
|
-
if ((_a2 = anchorRef.current) == null ? void 0 : _a2.contains(event.target)) {
|
|
150
|
-
return;
|
|
151
|
-
}
|
|
152
|
-
setOpen(false);
|
|
153
|
-
};
|
|
154
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
155
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
156
|
-
ButtonGroup,
|
|
157
|
-
{
|
|
158
|
-
"data-name": "split-button",
|
|
159
|
-
ref: anchorRef,
|
|
160
|
-
variant,
|
|
161
|
-
size,
|
|
162
|
-
color,
|
|
163
|
-
...otherProps,
|
|
164
|
-
children: [
|
|
165
|
-
/* @__PURE__ */ jsxRuntime.jsx(material.Button, { onClick: handleClick, children: (_a = options[selectedIndex]) == null ? void 0 : _a.label }),
|
|
166
|
-
/* @__PURE__ */ jsxRuntime.jsx(material.Button, { onClick: handleToggle, children: open ? /* @__PURE__ */ jsxRuntime.jsx(OpenDiagonallyRight.ArrowUp, {}) : /* @__PURE__ */ jsxRuntime.jsx(ArrowDown.ArrowDown, {}) })
|
|
167
|
-
]
|
|
168
|
-
}
|
|
169
|
-
),
|
|
170
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
171
|
-
material.Popper,
|
|
172
|
-
{
|
|
173
|
-
sx: { zIndex: 1 },
|
|
174
|
-
open,
|
|
175
|
-
anchorEl: anchorRef.current,
|
|
176
|
-
role: void 0,
|
|
177
|
-
transition: true,
|
|
178
|
-
disablePortal: true,
|
|
179
|
-
placement: "bottom-end",
|
|
180
|
-
children: ({ TransitionProps, placement }) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
181
|
-
material.Grow,
|
|
182
|
-
{
|
|
183
|
-
...TransitionProps,
|
|
184
|
-
style: {
|
|
185
|
-
transformOrigin: placement === "bottom" ? "center top" : "center bottom"
|
|
186
|
-
},
|
|
187
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(material.Paper, { elevation: 8, children: /* @__PURE__ */ jsxRuntime.jsx(material.ClickAwayListener, { onClickAway: handleClose, children: /* @__PURE__ */ jsxRuntime.jsx(material.MenuList, { autoFocusItem: true, sx: { paddingY: 1 }, children: options.map((option, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
188
|
-
material.MenuItem,
|
|
189
|
-
{
|
|
190
|
-
disabled: option.disabled,
|
|
191
|
-
selected: index === selectedIndex,
|
|
192
|
-
onClick: (event) => handleMenuItemClick(event, index),
|
|
193
|
-
children: option.label
|
|
194
|
-
},
|
|
195
|
-
option.label
|
|
196
|
-
)) }) }) })
|
|
197
|
-
}
|
|
198
|
-
)
|
|
199
|
-
}
|
|
200
|
-
)
|
|
201
|
-
] });
|
|
202
|
-
}
|
|
203
103
|
const Root$5 = material.styled(material.Box)(({ theme }) => ({
|
|
204
104
|
display: "flex",
|
|
205
105
|
alignItems: "center",
|
|
@@ -3214,9 +3114,8 @@ const CodeAreaTheme = material.styled(material.Box, {
|
|
|
3214
3114
|
right: 0,
|
|
3215
3115
|
zIndex: 1
|
|
3216
3116
|
},
|
|
3217
|
-
".
|
|
3218
|
-
color: theme.palette.text.primary
|
|
3219
|
-
fontVariantLigatures: "no-common-ligatures"
|
|
3117
|
+
"& .pre.CodeMirror-line, .CodeMirror pre.CodeMirror-line-like, & .cm-bracket": {
|
|
3118
|
+
color: theme.palette.text.primary
|
|
3220
3119
|
},
|
|
3221
3120
|
"& .CodeMirror pre.CodeMirror-placeholder": {
|
|
3222
3121
|
color: theme.palette.text.hint
|
|
@@ -3234,7 +3133,7 @@ const CodeAreaTheme = material.styled(material.Box, {
|
|
|
3234
3133
|
"& .cm-number, & .cm-property, & .cm-builtin": {
|
|
3235
3134
|
color: colors.red[700]
|
|
3236
3135
|
},
|
|
3237
|
-
"& .cm-comment
|
|
3136
|
+
"& .cm-comment": {
|
|
3238
3137
|
color: theme.palette.text.secondary
|
|
3239
3138
|
},
|
|
3240
3139
|
"& .cm-variable": {
|
|
@@ -3243,18 +3142,9 @@ const CodeAreaTheme = material.styled(material.Box, {
|
|
|
3243
3142
|
"& .cm-variable-2": {
|
|
3244
3143
|
color: theme.palette.text.primary
|
|
3245
3144
|
},
|
|
3246
|
-
"& .cm-punctuation, & .cm-def": {
|
|
3145
|
+
"& .cm-punctuation, & .cm-def, ": {
|
|
3247
3146
|
color: colors.blue[800]
|
|
3248
3147
|
},
|
|
3249
|
-
"& .cm-image-alt-text, & .cm-link": {
|
|
3250
|
-
color: colors.green[800],
|
|
3251
|
-
textDecoration: "none"
|
|
3252
|
-
},
|
|
3253
|
-
// Custom inline link styling .cm-inline-url
|
|
3254
|
-
"& .cm-url, & .cm-inline-url": {
|
|
3255
|
-
color: colors.blue[800],
|
|
3256
|
-
textDecoration: "none"
|
|
3257
|
-
},
|
|
3258
3148
|
"& .cm-variable-3, & .cm-type": {
|
|
3259
3149
|
color: colors.indigo[800]
|
|
3260
3150
|
},
|
|
@@ -3268,23 +3158,20 @@ const CodeAreaTheme = material.styled(material.Box, {
|
|
|
3268
3158
|
"& .CodeMirror-selected": {
|
|
3269
3159
|
background: colors.blue[800]
|
|
3270
3160
|
},
|
|
3271
|
-
"& .cm-header": {
|
|
3272
|
-
|
|
3273
|
-
...theme.typography.code3,
|
|
3274
|
-
fontWeight: theme.typography.fontWeightBold
|
|
3161
|
+
"& .cm-header-1": {
|
|
3162
|
+
fontSize: theme.typography.h2.fontSize
|
|
3275
3163
|
},
|
|
3276
|
-
"& .cm-header-
|
|
3277
|
-
|
|
3164
|
+
"& .cm-header-2": {
|
|
3165
|
+
fontSize: theme.typography.h3.fontSize
|
|
3278
3166
|
},
|
|
3279
|
-
|
|
3280
|
-
|
|
3281
|
-
backgroundColor: theme.palette.black[4],
|
|
3282
|
-
color: colors.purple[500]
|
|
3167
|
+
"& .cm-header-3": {
|
|
3168
|
+
fontSize: theme.typography.h4.fontSize
|
|
3283
3169
|
},
|
|
3284
|
-
|
|
3285
|
-
|
|
3286
|
-
|
|
3287
|
-
|
|
3170
|
+
"& .cm-header-4": {
|
|
3171
|
+
fontSize: theme.typography.h5.fontSize
|
|
3172
|
+
},
|
|
3173
|
+
"& .cm-header-5": {
|
|
3174
|
+
fontSize: theme.typography.h6.fontSize
|
|
3288
3175
|
},
|
|
3289
3176
|
...size === "small" && {
|
|
3290
3177
|
"& .CodeMirror": {
|
|
@@ -3320,100 +3207,6 @@ function findCodeAreaControlCodeOccurrences(content) {
|
|
|
3320
3207
|
}
|
|
3321
3208
|
return matches;
|
|
3322
3209
|
}
|
|
3323
|
-
const editorMarkers = /* @__PURE__ */ new WeakMap();
|
|
3324
|
-
function clearMarkersForClass(editor, className) {
|
|
3325
|
-
var _a, _b;
|
|
3326
|
-
const markers = (_a = editorMarkers.get(editor)) == null ? void 0 : _a.get(className);
|
|
3327
|
-
if (!markers) return;
|
|
3328
|
-
markers.forEach((marker) => {
|
|
3329
|
-
if (marker.find()) {
|
|
3330
|
-
marker.clear();
|
|
3331
|
-
}
|
|
3332
|
-
});
|
|
3333
|
-
(_b = editorMarkers.get(editor)) == null ? void 0 : _b.delete(className);
|
|
3334
|
-
}
|
|
3335
|
-
function storeMarkersForClass(editor, className, markers) {
|
|
3336
|
-
if (!editorMarkers.has(editor)) {
|
|
3337
|
-
editorMarkers.set(editor, /* @__PURE__ */ new Map());
|
|
3338
|
-
}
|
|
3339
|
-
const editorMap = editorMarkers.get(editor);
|
|
3340
|
-
if (editorMap) {
|
|
3341
|
-
editorMap.set(className, markers);
|
|
3342
|
-
}
|
|
3343
|
-
}
|
|
3344
|
-
function CodeAreaMarkTextPattern(editor, pattern, options, excludePatterns) {
|
|
3345
|
-
const { className } = options;
|
|
3346
|
-
clearMarkersForClass(editor, className);
|
|
3347
|
-
const doc = editor.getDoc();
|
|
3348
|
-
const content = doc.getValue();
|
|
3349
|
-
const excludeRanges = (excludePatterns == null ? void 0 : excludePatterns.flatMap(
|
|
3350
|
-
(excludePattern) => Array.from(content.matchAll(excludePattern), (match) => ({
|
|
3351
|
-
start: match.index,
|
|
3352
|
-
end: match.index + match[0].length
|
|
3353
|
-
}))
|
|
3354
|
-
)) ?? [];
|
|
3355
|
-
const markers = Array.from(content.matchAll(pattern)).filter((match) => {
|
|
3356
|
-
if (excludeRanges.some(
|
|
3357
|
-
(range) => match.index >= range.start && match.index < range.end
|
|
3358
|
-
)) {
|
|
3359
|
-
return false;
|
|
3360
|
-
}
|
|
3361
|
-
return !match[1] || match[1].trim().length > 0;
|
|
3362
|
-
}).map((match) => {
|
|
3363
|
-
const startPos = doc.posFromIndex(match.index);
|
|
3364
|
-
const endPos = doc.posFromIndex(match.index + match[0].length);
|
|
3365
|
-
return editor.markText(startPos, endPos, {
|
|
3366
|
-
atomic: false,
|
|
3367
|
-
clearOnEnter: false,
|
|
3368
|
-
...options
|
|
3369
|
-
});
|
|
3370
|
-
});
|
|
3371
|
-
if (markers.length > 0) {
|
|
3372
|
-
storeMarkersForClass(editor, className, markers);
|
|
3373
|
-
}
|
|
3374
|
-
}
|
|
3375
|
-
function markInlineCode(editor, className = "cm-inline-code") {
|
|
3376
|
-
const inlineCodePattern = /`([^`\n\r]+)`/g;
|
|
3377
|
-
const codeBlockPattern = /```[\s\S]*?```/g;
|
|
3378
|
-
CodeAreaMarkTextPattern(
|
|
3379
|
-
editor,
|
|
3380
|
-
inlineCodePattern,
|
|
3381
|
-
{
|
|
3382
|
-
className
|
|
3383
|
-
},
|
|
3384
|
-
[codeBlockPattern]
|
|
3385
|
-
);
|
|
3386
|
-
}
|
|
3387
|
-
function markInlineLinks(editor, className = "cm-inline-url") {
|
|
3388
|
-
const inlineLinkPattern = /<((?:https?:\/\/[^\s<>]+)|(?:[^\s<>@]+@[^\s<>@]+\.[^\s<>@]+))>/g;
|
|
3389
|
-
const codeBlockPattern = /```[\s\S]*?```/g;
|
|
3390
|
-
CodeAreaMarkTextPattern(
|
|
3391
|
-
editor,
|
|
3392
|
-
inlineLinkPattern,
|
|
3393
|
-
{
|
|
3394
|
-
className
|
|
3395
|
-
},
|
|
3396
|
-
[codeBlockPattern]
|
|
3397
|
-
);
|
|
3398
|
-
}
|
|
3399
|
-
function markCodeBlocks(editor, className = "cm-code-block") {
|
|
3400
|
-
const doc = editor.getDoc();
|
|
3401
|
-
const content = doc.getValue();
|
|
3402
|
-
const lineCount = content.split("\n").length;
|
|
3403
|
-
for (let i = 0; i < lineCount; i++) {
|
|
3404
|
-
["background", "wrap", "text"].forEach(
|
|
3405
|
-
(where) => editor.removeLineClass(i, where, className)
|
|
3406
|
-
);
|
|
3407
|
-
}
|
|
3408
|
-
const codeBlockPattern = /```[\s\S]*?(?:```|$)/g;
|
|
3409
|
-
Array.from(content.matchAll(codeBlockPattern)).forEach((match) => {
|
|
3410
|
-
const startPos = doc.posFromIndex(match.index);
|
|
3411
|
-
const endPos = doc.posFromIndex(match.index + match[0].length);
|
|
3412
|
-
for (let lineNum = startPos.line; lineNum <= endPos.line; lineNum++) {
|
|
3413
|
-
editor.addLineClass(lineNum, "wrap", className);
|
|
3414
|
-
}
|
|
3415
|
-
});
|
|
3416
|
-
}
|
|
3417
3210
|
function foldCode(editor, { from, to }) {
|
|
3418
3211
|
editor.foldCode(
|
|
3419
3212
|
0,
|
|
@@ -3454,7 +3247,6 @@ function CodeAreaInput({
|
|
|
3454
3247
|
const codeMirrorOptions = {
|
|
3455
3248
|
mode: "sql",
|
|
3456
3249
|
theme: "light",
|
|
3457
|
-
addModeClass: true,
|
|
3458
3250
|
lineNumbers: true,
|
|
3459
3251
|
lineWrapping: true,
|
|
3460
3252
|
extraKeys: { "Ctrl-Space": "autocomplete" },
|
|
@@ -3485,13 +3277,6 @@ function CodeAreaInput({
|
|
|
3485
3277
|
}
|
|
3486
3278
|
initialFoldingDoneRef.current = true;
|
|
3487
3279
|
}, [value, editor, autoFoldControlBlocks]);
|
|
3488
|
-
React.useEffect(() => {
|
|
3489
|
-
const mode = typeof (options == null ? void 0 : options.mode) === "object" && options.mode !== null ? options.mode.name : options == null ? void 0 : options.mode;
|
|
3490
|
-
if (mode !== "markdown" || !editor || !value) return;
|
|
3491
|
-
markInlineCode(editor);
|
|
3492
|
-
markInlineLinks(editor);
|
|
3493
|
-
markCodeBlocks(editor);
|
|
3494
|
-
}, [editor, value, options == null ? void 0 : options.mode]);
|
|
3495
3280
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
3496
3281
|
CodeAreaTheme,
|
|
3497
3282
|
{
|
|
@@ -4701,7 +4486,6 @@ exports.TablePaginationActions = TablePaginationActions.TablePaginationActions;
|
|
|
4701
4486
|
exports.Typography = TablePaginationActions.Typography;
|
|
4702
4487
|
exports.Alert = Alert$1.Alert;
|
|
4703
4488
|
exports.IconButton = Alert$1.IconButton;
|
|
4704
|
-
exports.Link = Alert$1.Link;
|
|
4705
4489
|
exports.MenuItem = MenuItem.MenuItem;
|
|
4706
4490
|
exports.AccordionGroup = AccordionGroup;
|
|
4707
4491
|
exports.AppBar = AppBar;
|
|
@@ -4716,7 +4500,6 @@ exports.CodeAreaField = CodeAreaField;
|
|
|
4716
4500
|
exports.CodeAreaFooter = CodeAreaFooter;
|
|
4717
4501
|
exports.CodeAreaHeader = CodeAreaHeader;
|
|
4718
4502
|
exports.CodeAreaInput = CodeAreaInput;
|
|
4719
|
-
exports.CodeAreaMarkTextPattern = CodeAreaMarkTextPattern;
|
|
4720
4503
|
exports.CopiableComponent = CopiableComponent;
|
|
4721
4504
|
exports.CreatableAutocomplete = CreatableAutocomplete;
|
|
4722
4505
|
exports.DatePicker = DatePicker;
|
|
@@ -4741,7 +4524,6 @@ exports.MultipleSelectField = MultipleSelectField;
|
|
|
4741
4524
|
exports.PasswordField = PasswordField;
|
|
4742
4525
|
exports.SelectField = SelectField;
|
|
4743
4526
|
exports.Snackbar = Snackbar;
|
|
4744
|
-
exports.SplitButton = SplitButton;
|
|
4745
4527
|
exports.Tag = Tag;
|
|
4746
4528
|
exports.TimePicker = TimePicker;
|
|
4747
4529
|
exports.ToggleButtonGroup = ToggleButtonGroup;
|