bi-components-library 1.3.2-next.27 → 1.3.2-next.28
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.es.js +19 -1
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -39353,6 +39353,25 @@ function LI(e, t, n = /* @__PURE__ */ new Set()) {
|
|
|
39353
39353
|
for (const l of e) {
|
|
39354
39354
|
if ((l.type === "markdown" || l.type === "markdown-name") && l.key) {
|
|
39355
39355
|
const i = t.markdownModules[l.key], s = n.has(l.key), o = !!i && i.length > 0;
|
|
39356
|
+
if (l.type === "markdown-name") {
|
|
39357
|
+
r.push(l), s && !o && r.push({
|
|
39358
|
+
type: "text",
|
|
39359
|
+
className: "rte-markdown-parsing",
|
|
39360
|
+
text: "解析中...",
|
|
39361
|
+
exclusionGroup: l.exclusionGroup
|
|
39362
|
+
}), o && i.forEach((u, c) => {
|
|
39363
|
+
r.push({
|
|
39364
|
+
type: "markdown-module",
|
|
39365
|
+
key: l.key,
|
|
39366
|
+
moduleIndex: c,
|
|
39367
|
+
text: u.title,
|
|
39368
|
+
placeholder: "可编辑,内容不能为空",
|
|
39369
|
+
exclusionGroup: l.exclusionGroup,
|
|
39370
|
+
required: l.required
|
|
39371
|
+
});
|
|
39372
|
+
});
|
|
39373
|
+
continue;
|
|
39374
|
+
}
|
|
39356
39375
|
if (s && !o) {
|
|
39357
39376
|
r.push({
|
|
39358
39377
|
type: "text",
|
|
@@ -39369,7 +39388,6 @@ function LI(e, t, n = /* @__PURE__ */ new Set()) {
|
|
|
39369
39388
|
moduleIndex: c,
|
|
39370
39389
|
text: u.title,
|
|
39371
39390
|
placeholder: "可编辑,内容不能为空",
|
|
39372
|
-
// 模块继承父节点的互斥组 + 必填语义
|
|
39373
39391
|
exclusionGroup: l.exclusionGroup,
|
|
39374
39392
|
required: l.required
|
|
39375
39393
|
});
|