@springmicro/page 0.7.19 → 0.7.21
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/{ArrowDownward-BBFybLel.js → ArrowDownward-BnRDy_XN.js} +25 -25
- package/dist/AutoField-Bj2Tndkn.js +6 -0
- package/dist/{AutoFields-C68bZIjJ.js → AutoFields-CJ1-dOUd.js} +8 -8
- package/dist/{AutoForm-CyisvBU7.js → AutoForm-V3OOPRU5.js} +109 -92
- package/dist/{CarouselPlugin-swMZbFLU.js → CarouselPlugin-CKHfCNZs.js} +1 -1
- package/dist/{Code-WyZGt6uJ.js → Code-BR8nO_AH.js} +3 -3
- package/dist/{CodeSnippet-FdJk-mBV.js → CodeSnippet-CqaOU28k.js} +481 -490
- package/dist/{ColorPicker-BCt_07hn.js → ColorPicker-9X0b3Zso.js} +7 -7
- package/dist/{ColorPickerField-BkW_vVyz.js → ColorPickerField-CnYhRzSp.js} +4 -4
- package/dist/{ContactFormExample-Dmm6SO5g.js → ContactFormExample-DDeNrwaC.js} +1 -1
- package/dist/{Controls-ChaYC_F2.js → Controls-9KvRVhx0.js} +9 -9
- package/dist/{CropLandscape-C2pqoTvV.js → CropLandscape-Cbtv7MJl.js} +3 -3
- package/dist/{DailyMotion-ByRMGcPP.js → DailyMotion-DjJdDKL8.js} +2 -2
- package/dist/{Error-Dsr70u_Q.js → Error-CmSLUcbF.js} +3 -3
- package/dist/{Facebook-DY4TPgmC.js → Facebook-BlVtRpfs.js} +26 -26
- package/dist/{FilePlayer-DgWSZMO9.js → FilePlayer-BqfUb-ez.js} +2 -2
- package/dist/{FormatAlignCenter-DwkuzF2q.js → FormatAlignCenter-YRUxB1uR.js} +3 -3
- package/dist/{FormatAlignJustify-bqureh8H.js → FormatAlignJustify-0mBurus5.js} +3 -3
- package/dist/{FormatAlignLeft-DmHjcrBw.js → FormatAlignLeft-D3umhEh4.js} +3 -3
- package/dist/{FormatAlignRight-5IeRHAy_.js → FormatAlignRight-C8aUVdcO.js} +3 -3
- package/dist/{FormatBold-C--DiqO6.js → FormatBold-Cwr0KkDu.js} +3 -3
- package/dist/{FormatIndentDecrease-BfoGxe6e.js → FormatIndentDecrease-DCoXJAUS.js} +3 -3
- package/dist/{FormatIndentIncrease-Dg0zEWbS.js → FormatIndentIncrease-CSBrd8LP.js} +3 -3
- package/dist/{FormatItalic-Dr4TA8Gq.js → FormatItalic-SMUhtiRS.js} +3 -3
- package/dist/{FormatListBulleted-CVgyjLmg.js → FormatListBulleted-DhQ4rL9v.js} +3 -3
- package/dist/{FormatListNumbered-BHgYyWvD.js → FormatListNumbered-tuf8eRiT.js} +3 -3
- package/dist/{FormatQuote-BliiLOab.js → FormatQuote-fKgnvpqf.js} +3 -3
- package/dist/{FormatUnderlined-CFdmrbsn.js → FormatUnderlined-DBm9l7oC.js} +3 -3
- package/dist/{HtmlToSlate-CR02E1J1.js → HtmlToSlate-D6kWoqWJ.js} +3 -3
- package/dist/{ImageControls-CHw3IdvT.js → ImageControls-bO-uYWWd.js} +1 -1
- package/dist/{ImageUpload-DPNg4z4S.js → ImageUpload-7rfRcqoC.js} +19 -19
- package/dist/{Kaltura-CM3qyOON.js → Kaltura-qFuUWco0.js} +2 -2
- package/dist/{Landscape-guK6QtVP.js → Landscape-Du3gd8mR.js} +3 -3
- package/dist/{Link-BK24pTZa.js → Link-C4T0iHNP.js} +3 -3
- package/dist/{LongTextField-BQP1mWax.js → LongTextField-C1VUD6dW.js} +10 -10
- package/dist/{Looks3-x-E_Cel-.js → Looks3-nhMJssLL.js} +3 -3
- package/dist/{Looks4-CQBNufZ8.js → Looks4-Cq9PmdlL.js} +3 -3
- package/dist/{Looks5-Cu6OuOc-.js → Looks5-Bd9jrCuc.js} +3 -3
- package/dist/{Looks6-DhMsWwkZ.js → Looks6-BVr3sdCD.js} +3 -3
- package/dist/{LooksOne-CHxgmX-s.js → LooksOne-BYmFze2M.js} +3 -3
- package/dist/{LooksTwo-hKbmwJ7I.js → LooksTwo-DXo9Y57C.js} +3 -3
- package/dist/{Mixcloud-DYKoYs7M.js → Mixcloud-B79eQ1Fe.js} +10 -10
- package/dist/{Mux-BcIw0c8s.js → Mux-BFNcghx9.js} +2 -2
- package/dist/{Panorama-BhWpHcDd.js → Panorama-BxdkQz0w.js} +3 -3
- package/dist/{Preview-CxahswBt.js → Preview-DRmMS4jS.js} +7 -7
- package/dist/{Remove-Dj6dIvbk.js → Remove-DBYfX9h_.js} +3 -3
- package/dist/{Slider-D8UczuuR.js → Slider-BU95hnz8.js} +62 -62
- package/dist/{SoundCloud-WWm5U08w.js → SoundCloud-CbYRMFRI.js} +14 -14
- package/dist/SpacerResizable-BlWB6wi5.js +1537 -0
- package/dist/{Streamable-jvCj723H.js → Streamable-Decfivez.js} +2 -2
- package/dist/{Subject-BjQeSBNr.js → Subject-CIuruH0k.js} +3 -3
- package/dist/{TablePlugin-Cm834mDF.js → TablePlugin-DPbe5d0p.js} +1 -1
- package/dist/{Twitch-D1qB6Zei.js → Twitch-DdVI_RRp.js} +6 -6
- package/dist/{Vidyard-D0RfxYqE.js → Vidyard-oboYO-Il.js} +2 -2
- package/dist/{Vimeo-WmVi19ym.js → Vimeo-Bm49A6tp.js} +2 -2
- package/dist/{Wistia-C4jsMxVz.js → Wistia-DykYWgBF.js} +4 -4
- package/dist/{YouTube-C6mW1rrV.js → YouTube-DKZzbMf_.js} +4 -4
- package/dist/forEach-D_oorS9P.js +8 -0
- package/dist/{index-CdfOIHyB.js → index-BivlsO2j.js} +16 -16
- package/dist/{index-B4fFBBmm.js → index-C5VhRobO.js} +12 -12
- package/dist/{index-CahS4ecH.js → index-CcvdOXK9.js} +39197 -39227
- package/dist/index.js +1 -1
- package/dist/index.umd.cjs +408 -399
- package/dist/{listUtils-6dc59Hwz.js → listUtils-DbC_YZRh.js} +10 -10
- package/dist/{react-katex-ChGehxId.js → react-katex-Ie-Pnt6_.js} +2427 -2501
- package/dist/style.css +1 -1
- package/package.json +4 -4
- package/dist/AutoField-CahqCCD2.js +0 -6
- package/dist/SpacerResizable-DByW7hvQ.js +0 -1507
- package/dist/forEach-_623SsSU.js +0 -8
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { bd as a, be as i, bf as c, a1 as T, bg as L, bh as N } from "./index-CcvdOXK9.js";
|
|
2
2
|
const d = (t) => {
|
|
3
3
|
const [n] = a.nodes(t, {
|
|
4
4
|
match: (e) => {
|
|
@@ -16,7 +16,7 @@ const d = (t) => {
|
|
|
16
16
|
match: (o) => o.type === n,
|
|
17
17
|
mode: "lowest"
|
|
18
18
|
});
|
|
19
|
-
return e && e[1][e[1].length - 1] > 0 ? a.node(t,
|
|
19
|
+
return e && e[1][e[1].length - 1] > 0 ? a.node(t, i.previous(e[1])) : null;
|
|
20
20
|
}, f = (t, n, e) => {
|
|
21
21
|
const s = w(t), o = x(t, n.listItemType);
|
|
22
22
|
c.setNodes(t, {
|
|
@@ -53,10 +53,10 @@ const d = (t) => {
|
|
|
53
53
|
at: n,
|
|
54
54
|
to: e
|
|
55
55
|
}), !s) {
|
|
56
|
-
const
|
|
56
|
+
const r = a.node(t, e);
|
|
57
57
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
58
|
-
((o = (
|
|
59
|
-
(
|
|
58
|
+
((o = (r == null ? void 0 : r[0]).children) == null ? void 0 : o.every(
|
|
59
|
+
(p) => T.isText(p) || a.isInline(t, p)
|
|
60
60
|
)) ? c.setNodes(
|
|
61
61
|
t,
|
|
62
62
|
{
|
|
@@ -73,17 +73,17 @@ const d = (t) => {
|
|
|
73
73
|
const [e] = a.nodes(t, {
|
|
74
74
|
match: (m) => m.type === n.listItemType,
|
|
75
75
|
mode: "lowest"
|
|
76
|
-
}), s = e[1], o =
|
|
76
|
+
}), s = e[1], o = i.parent(s), r = i.parent(o), l = a.node(t, r), p = (l == null ? void 0 : l[0].type) === n.listItemType, v = s[s.length - 1] === 0, y = p ? i.next(r) : i.next(o);
|
|
77
77
|
let u;
|
|
78
78
|
do
|
|
79
79
|
u = a.next(t, {
|
|
80
80
|
at: s
|
|
81
|
-
}), u && I(t, u[1], y,
|
|
81
|
+
}), u && I(t, u[1], y, p);
|
|
82
82
|
while (u);
|
|
83
|
-
if (I(t, s, y,
|
|
83
|
+
if (I(t, s, y, p), v && (c.removeNodes(t, {
|
|
84
84
|
at: o
|
|
85
|
-
}),
|
|
86
|
-
const m = [...
|
|
85
|
+
}), p)) {
|
|
86
|
+
const m = [...i.previous(y), 0], h = a.node(t, m);
|
|
87
87
|
h != null && h[0].type || c.unwrapNodes(t, {
|
|
88
88
|
at: m,
|
|
89
89
|
split: !0
|