@marimo-team/islands 0.25.3-dev170 → 0.25.3-dev175
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/{ConnectedDataExplorerComponent-BbSXV-Xa.js → ConnectedDataExplorerComponent-Le_OBfmt.js} +9 -9
- package/dist/{ErrorBoundary-NE86qEWZ.js → ErrorBoundary-DNvcAIsP.js} +8 -8
- package/dist/{abnfDiagram-VCTEODGH-D7n07nXf.js → abnfDiagram-VCTEODGH-Tf1ghyQQ.js} +2 -2
- package/dist/{any-language-editor-3E24SnCV.js → any-language-editor-BVFHDDQ3.js} +4 -4
- package/dist/{architectureDiagram-5GKGNRK7-D6CjRib5.js → architectureDiagram-5GKGNRK7-xlnbTG0T.js} +1 -1
- package/dist/{chat-ui-CC7GekpG.js → chat-ui-X-cWrL9u.js} +1218 -1218
- package/dist/{check-SpOMoCLP.js → check-C9Mp9eCK.js} +1 -1
- package/dist/{chunk-IMKFNOWR-6dtPz7uS.js → chunk-IMKFNOWR-Cmd4a5jy.js} +1 -1
- package/dist/{chunk-SHT3W25Y-BwnFNKDA.js → chunk-SHT3W25Y-mSNp-WpO.js} +1 -1
- package/dist/{chunk-SVP7TREG-D2eV4vBJ.js → chunk-SVP7TREG-CWC49D8X.js} +1 -1
- package/dist/{chunk-TICWLB2K-BDs4-_-r.js → chunk-TICWLB2K-De9FINtG.js} +1 -1
- package/dist/{classDiagram-ZZMXUADV-DCJnf_8v.js → classDiagram-ZZMXUADV-DweTkYdp.js} +2 -2
- package/dist/{classDiagram-v2-VYDZK3BY-BOmSzPBD.js → classDiagram-v2-VYDZK3BY-A6MR2TiE.js} +2 -2
- package/dist/{code-visibility-Bzvc6ajl.js → code-visibility-CH1lmM1h.js} +5 -5
- package/dist/{common-Ciw4zkh2.js → common-DIrS1UR9.js} +1081 -1085
- package/dist/{copy-icon-C1trdvVt.js → copy-icon-De584pZ4.js} +2 -2
- package/dist/{cynefinDiagram-5FMLGOSQ-Bln_Soky.js → cynefinDiagram-5FMLGOSQ-BSvo5le-.js} +1 -1
- package/dist/{dagre-GXQ25YYZ-D-nf7WzW.js → dagre-GXQ25YYZ-tXRQslO6.js} +1 -1
- package/dist/{data-grid-overlay-editor-AQREmxI7.js → data-grid-overlay-editor-DFLZvFK0.js} +1 -1
- package/dist/{diagram-S7CK7UJ4-PsgSMkY2.js → diagram-S7CK7UJ4-r3t5VtwI.js} +1 -1
- package/dist/{diagram-UQ7AKVKN-DfwfUuSw.js → diagram-UQ7AKVKN-qgbC8YnT.js} +1 -1
- package/dist/{diagram-VX7I27RA-C9_e-oMc.js → diagram-VX7I27RA-CiHxEwtp.js} +1 -1
- package/dist/{diagram-Z3DM3KII-CWLa5tuY.js → diagram-Z3DM3KII-D95u15Ev.js} +1 -1
- package/dist/{dialog-DgeqyrEZ.js → dialog-DVRfQuhD.js} +24 -24
- package/dist/{dist-F8Ep36rk.js → dist-B1M0bGO3.js} +1 -1
- package/dist/{dist-D6d86eNJ.js → dist-BA13RJj5.js} +1 -1
- package/dist/{dist-Bvs24R_E.js → dist-BJtmSgcE.js} +48 -48
- package/dist/{dist-CN_BeG2I.js → dist-Ba2VIn1K.js} +53 -53
- package/dist/{dist-PXYI_yuP.js → dist-Bj4bmwUm.js} +12 -12
- package/dist/{dist-DoE4XJBC.js → dist-BmS-ZGjl.js} +8626 -8626
- package/dist/{dist-BorMD-uX.js → dist-Bzogh7CW.js} +87 -87
- package/dist/{dist-CN8zI-XC.js → dist-CThPVKaP.js} +1385 -1382
- package/dist/{dist-DiDibOYr.js → dist-CTi5FTiV.js} +87 -87
- package/dist/{dist-diIx5qJW.js → dist-Ck_C32ye.js} +2 -2
- package/dist/{dist-BLfKmR-l.js → dist-D1fnFp1J.js} +1 -1
- package/dist/{dist-OR1OnN-y.js → dist-D3x9__Fu.js} +46 -46
- package/dist/{dist-BMQf5zIS.js → dist-D7mrh5sO.js} +36 -36
- package/dist/{dist-CSJ0MDRw.js → dist-D9Q3xjiP.js} +1 -1
- package/dist/{dist-BuaRHxOc.js → dist-DP60Ubh8.js} +2 -2
- package/dist/{dist-CSbh1PNP.js → dist-DTv9KkpW.js} +12 -12
- package/dist/{dist-D-wwqlzJ.js → dist-DVVwOfrD.js} +109 -109
- package/dist/{dist-C8fAKSH1.js → dist-DYXM73-k.js} +36 -36
- package/dist/{dist-DBtSl3sf.js → dist-DjeybPOb.js} +1 -1
- package/dist/{dist-CrSP_H1M.js → dist-DtGn9N4h.js} +197 -197
- package/dist/{dist-CLdpGQVr.js → dist-KN80qWCP.js} +2 -2
- package/dist/{dist-Cg7gzw-a.js → dist-O0qFpEJh.js} +56 -56
- package/dist/{dist-CkTTIdBe.js → dist-OUle2RT7.js} +207 -207
- package/dist/{dist-BK4Oj99o.js → dist-T5rh6JvL.js} +1 -1
- package/dist/{dropdown-menu-B6ftyzOg.js → dropdown-menu-DCMbbQ35.js} +691 -691
- package/dist/{ebnfDiagram-PWID7BFC-B1QRM58v.js → ebnfDiagram-PWID7BFC-P7e4bryK.js} +2 -2
- package/dist/{erDiagram-RLTQ6QDP-DJK_FqvW.js → erDiagram-RLTQ6QDP-CUHZcmRj.js} +1 -1
- package/dist/{error-banner-D40pmfQQ.js → error-banner-DxJ3s8YO.js} +57 -57
- package/dist/{error-entries-DgK3wUJR.js → error-entries-mpoD5t79.js} +4985 -5006
- package/dist/{esm-D2gTsXEV.js → esm-Bbw_Njjx.js} +575 -575
- package/dist/{esm-AMFssoNp.js → esm-mDQNEFe_.js} +354 -354
- package/dist/{feedback-button-8a6SETmT.js → feedback-button-DL0DJ-LB.js} +30 -30
- package/dist/{flowDiagram-HODETNUW-Uxc25XSJ.js → flowDiagram-HODETNUW-BGZ95AzI.js} +2 -2
- package/dist/{formats-DQCyPd5Z.js → formats-DI7HEVv7.js} +1 -1
- package/dist/{glide-data-editor-B70oke_v.js → glide-data-editor-n4wnx19S.js} +10 -10
- package/dist/{glide-utils-Dz_F4pAY.js → glide-utils-D98laidb.js} +2 -2
- package/dist/{globals-Cxd5hNlI.js → globals-NCsYyjpB.js} +3 -3
- package/dist/{html-to-image-D4yG5Ru0.js → html-to-image-BoZthB4P.js} +467 -458
- package/dist/{infoDiagram-27XIBGKW-DmjxqwL0.js → infoDiagram-27XIBGKW-BF0YX70D.js} +1 -1
- package/dist/{ishikawaDiagram-5VMMS53U-NgCLHqQi.js → ishikawaDiagram-5VMMS53U-_itsAAn-.js} +1 -1
- package/dist/{kanban-definition-UXKFOSKX-CZaG-iam.js → kanban-definition-UXKFOSKX-VNW2Beqh.js} +1 -1
- package/dist/{label-D9_-zSg-.js → label-Qvw1E97W.js} +1 -1
- package/dist/main.js +8257 -6606
- package/dist/{mermaid-CSvw7c71.js → mermaid-CZ6FrClS.js} +35 -35
- package/dist/{mindmap-definition-YA3MSWOX-DJYQBDH_.js → mindmap-definition-YA3MSWOX-DR4ripvd.js} +1 -1
- package/dist/{number-overlay-editor-ChK-SKUk.js → number-overlay-editor-rlvo4mo3.js} +1 -1
- package/dist/{pegDiagram-XKGWAZYB-CHKO_dAe.js → pegDiagram-XKGWAZYB-CFr3XlGl.js} +2 -2
- package/dist/{pieDiagram-E7YTZNPT-DVevbMAo.js → pieDiagram-E7YTZNPT-j91XYSLY.js} +1 -1
- package/dist/{process-output-DxvBAeL3.js → process-output-DLS4Mqg_.js} +4 -4
- package/dist/{railroadDiagram-O6MQD6OU-Detj1kcB.js → railroadDiagram-O6MQD6OU-Cd47ZV9E.js} +2 -2
- package/dist/{requirementDiagram-BXWQKSXE-BLFD0T_Z.js → requirementDiagram-BXWQKSXE-eJH6gLtX.js} +1 -1
- package/dist/{reveal-component-CXMXeDZD.js → reveal-component-BJfmRUzb.js} +9 -9
- package/dist/{select-CkF_GBxO.js → select-2KOiReNY.js} +324 -324
- package/dist/{sequenceDiagram-WJ2MYXX4-BZBgatQV.js → sequenceDiagram-WJ2MYXX4-DdfFEIrm.js} +1 -1
- package/dist/{spec-Mnkn3XEr.js → spec-h69nC3SI.js} +4 -4
- package/dist/{stateDiagram-D77RDMKH-4BZW9-6_.js → stateDiagram-D77RDMKH-DkjDvip8.js} +2 -2
- package/dist/{stateDiagram-v2-MP3YSRHH-C4sKC8Iq.js → stateDiagram-v2-MP3YSRHH-DBHACnOo.js} +2 -2
- package/dist/{swimlanes-42K2YHIH-SL5yeGe2.js → swimlanes-42K2YHIH-ogImlOmp.js} +1 -1
- package/dist/{swimlanesDiagram-VR7AAH4N-DqPmAYUv.js → swimlanesDiagram-VR7AAH4N-D6x-zsci.js} +2 -2
- package/dist/{timeline-definition-24CTP7MA-BfXUMWkq.js → timeline-definition-24CTP7MA-DQpLtsHD.js} +1 -1
- package/dist/{toDate-TMubKIVL.js → toDate-CDzoofJo.js} +2 -2
- package/dist/{toast-Btbve3Lm.js → toast-B5t9o6s_.js} +47 -47
- package/dist/{tooltip-CJ4Rqasp.js → tooltip-s4zZxwKe.js} +67 -67
- package/dist/{use-restore-focus-CmGwRNId.js → use-restore-focus-BgDTd2tc.js} +1 -1
- package/dist/{useAsyncData-DjMGFzFy.js → useAsyncData-Bn8SxUqM.js} +1 -1
- package/dist/{useDateFormatter-eCL_SdeG.js → useDateFormatter-D3Tkfzej.js} +2 -2
- package/dist/{useDeepCompareMemoize-BQR5TJot.js → useDeepCompareMemoize-CC2tnPCk.js} +1 -1
- package/dist/{useLifecycle-C_GvKWbQ.js → useLifecycle-BJlxHqWa.js} +2 -2
- package/dist/{useTheme-Bns2gJZ6.js → useTheme-DMfQYmlG.js} +85 -85
- package/dist/{vega-component-BsVptuhz.js → vega-component-CovWHi60.js} +7 -7
- package/dist/{vennDiagram-4TSXK5OY-CH65znGa.js → vennDiagram-4TSXK5OY-BD-SL_vq.js} +1 -1
- package/dist/{wardleyDiagram-VM6X3IG4-z9pWKb2_.js → wardleyDiagram-VM6X3IG4-BDgJV4ah.js} +1 -1
- package/dist/{xychartDiagram-S5SC5T6Z-MxyaWjjq.js → xychartDiagram-S5SC5T6Z-1hIHN6Rl.js} +1 -1
- package/package.json +1 -1
- package/src/__mocks__/document.tsx +54 -0
- package/src/__mocks__/notebook.ts +2 -1
- package/src/__mocks__/requests.ts +0 -2
- package/src/components/chat/chat-panel.tsx +3 -3
- package/src/components/datasources/__tests__/column-preview.test.tsx +6 -8
- package/src/components/datasources/column-preview.tsx +4 -8
- package/src/components/datasources/datasources.tsx +4 -3
- package/src/components/dependency-graph/minimap-content.tsx +2 -6
- package/src/components/dependency-graph/panels.tsx +2 -1
- package/src/components/editor/__tests__/Output.test.tsx +50 -32
- package/src/components/editor/__tests__/data-attributes.test.tsx +22 -11
- package/src/components/editor/__tests__/output-persistence.test.tsx +6 -1
- package/src/components/editor/actions/__tests__/name-cell-input.test.tsx +69 -0
- package/src/components/editor/actions/name-cell-input.tsx +4 -3
- package/src/components/editor/actions/useCellActionButton.tsx +20 -26
- package/src/components/editor/actions/useNotebookActions.tsx +13 -18
- package/src/components/editor/actions/useSetCodeVisibility.ts +10 -11
- package/src/components/editor/actions/useSetOutputsExpanded.ts +13 -18
- package/src/components/editor/cell/CreateCellButton.tsx +5 -9
- package/src/components/editor/cell/__tests__/StagedAICell.test.tsx +3 -1
- package/src/components/editor/cell/code/cell-editor.tsx +13 -20
- package/src/components/editor/cell/useAddCell.ts +4 -8
- package/src/components/editor/cell/useDeleteCell.tsx +10 -36
- package/src/components/editor/cell/useRunCells.ts +2 -5
- package/src/components/editor/cell/useSplitCell.tsx +2 -1
- package/src/components/editor/chrome/panels/logs-panel.tsx +2 -1
- package/src/components/editor/chrome/panels/snippets-panel.tsx +5 -11
- package/src/components/editor/chrome/wrapper/__tests__/pending-ai-cells.test.tsx +3 -1
- package/src/components/editor/columns/sortable-column.tsx +1 -1
- package/src/components/editor/connections/components.tsx +4 -9
- package/src/components/editor/controls/Controls.tsx +1 -1
- package/src/components/editor/controls/__tests__/notebook-menu-dropdown.test.tsx +9 -3
- package/src/components/editor/documentation.css +34 -11
- package/src/components/editor/errors/auto-fix.tsx +4 -8
- package/src/components/editor/file-tree/file-explorer.tsx +3 -7
- package/src/components/editor/links/__tests__/cell-link.test.tsx +3 -1
- package/src/components/editor/links/cell-link.tsx +2 -1
- package/src/components/editor/navigation/__tests__/clipboard.test.ts +60 -38
- package/src/components/editor/navigation/__tests__/navigation.test.ts +73 -64
- package/src/components/editor/navigation/clipboard.ts +12 -11
- package/src/components/editor/navigation/multi-cell-action-toolbar.tsx +11 -20
- package/src/components/editor/navigation/navigation.ts +20 -28
- package/src/components/editor/notebook-cell.tsx +7 -10
- package/src/components/editor/output/console/__tests__/ConsoleOutput.test.tsx +125 -69
- package/src/components/editor/renderers/cell-array.tsx +10 -17
- package/src/components/markdown/markdown-renderer.tsx +4 -8
- package/src/components/pages/edit-page.tsx +32 -17
- package/src/components/scratchpad/scratchpad.test.tsx +3 -1
- package/src/components/scratchpad/scratchpad.tsx +4 -7
- package/src/components/slides/__tests__/minimap-actions.test.tsx +9 -25
- package/src/components/slides/minimap.tsx +7 -3
- package/src/components/slides/slide-cell-view.tsx +3 -3
- package/src/components/sort/SortableCellsProvider.tsx +2 -1
- package/src/core/ai/__tests__/staged-cells.test.ts +18 -20
- package/src/core/ai/staged-cells.ts +8 -16
- package/src/core/ai/tools/__tests__/edit-notebook-tool.test.ts +2 -2
- package/src/core/ai/tools/__tests__/run-cells-tool.test.ts +2 -2
- package/src/core/ai/tools/base.ts +2 -2
- package/src/core/ai/tools/edit-notebook-tool.ts +13 -21
- package/src/core/cells/__tests__/actions.test.ts +474 -34
- package/src/core/cells/__tests__/add-missing-import.test.ts +7 -8
- package/src/core/cells/__tests__/cells.test.ts +251 -861
- package/src/core/cells/__tests__/document.test.ts +42 -38
- package/src/core/cells/__tests__/notebook-outline.test.ts +7 -1
- package/src/core/cells/__tests__/outputs.test.tsx +71 -53
- package/src/core/cells/actions.ts +391 -3
- package/src/core/cells/add-missing-import.ts +46 -42
- package/src/core/cells/cells.ts +73 -444
- package/src/core/cells/document.ts +38 -6
- package/src/core/cells/outputs.ts +12 -28
- package/src/core/codemirror/cells/extensions.ts +6 -6
- package/src/core/codemirror/cells/state.ts +1 -1
- package/src/core/codemirror/keymaps/vim.ts +2 -2
- package/src/core/edit-app.tsx +20 -25
- package/src/core/islands/__tests__/bootstrap.test.ts +56 -0
- package/src/core/islands/__tests__/bridge.test.ts +42 -0
- package/src/core/islands/bootstrap.ts +24 -1
- package/src/core/islands/bridge.ts +46 -5
- package/src/core/kernel/__tests__/handlers.test.ts +7 -153
- package/src/core/kernel/handlers.ts +18 -59
- package/src/core/network/__tests__/requests-lazy.test.ts +1 -3
- package/src/core/network/requests-lazy.ts +0 -2
- package/src/core/network/requests-network.ts +0 -16
- package/src/core/network/requests-static.ts +0 -2
- package/src/core/network/requests-toasting.tsx +0 -2
- package/src/core/network/types.ts +0 -7
- package/src/core/notebook/document/__tests__/codemirror.test.ts +5 -0
- package/src/core/notebook/document/__tests__/draft.test.ts +41 -0
- package/src/core/notebook/document/__tests__/state.test.ts +21 -0
- package/src/core/notebook/document/draft.ts +35 -5
- package/src/core/notebook/document/index.ts +1 -0
- package/src/core/notebook/document/state.ts +6 -2
- package/src/core/run-app.tsx +1 -7
- package/src/core/session/__tests__/useNotebookSession.hook.test.tsx +0 -6
- package/src/core/session/useNotebookSession.tsx +28 -35
- package/src/core/wasm/bridge.ts +0 -16
- package/src/css/globals.css +56 -22
- package/src/stories/runtime-story.tsx +22 -15
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as e } from "./rolldown-runtime-Cb76FRpK.js";
|
|
2
|
-
import {
|
|
3
|
-
import { n as m } from "./dist-
|
|
2
|
+
import { G as t, H as n, I as r, O as i, St as a, V as o, n as s, qt as c, r as l, s as u, u as d, v as f, w as p } from "./dist-BmS-ZGjl.js";
|
|
3
|
+
import { n as m } from "./dist-D7mrh5sO.js";
|
|
4
4
|
//#region ../node_modules/.pnpm/@codemirror+lang-liquid@6.2.3/node_modules/@codemirror/lang-liquid/dist/index.js
|
|
5
5
|
var h = /* @__PURE__ */ e({
|
|
6
6
|
closePercentBrace: () => U,
|
|
@@ -11,7 +11,7 @@ var h = /* @__PURE__ */ e({
|
|
|
11
11
|
function T(e) {
|
|
12
12
|
return e >= 65 && e <= 90 || e >= 97 && e <= 122;
|
|
13
13
|
}
|
|
14
|
-
var E = /*@__PURE__*/ new
|
|
14
|
+
var E = /*@__PURE__*/ new s((e) => {
|
|
15
15
|
let t = e.pos;
|
|
16
16
|
for (;;) {
|
|
17
17
|
let { next: n } = e;
|
|
@@ -48,7 +48,7 @@ var E = /*@__PURE__*/ new c((e) => {
|
|
|
48
48
|
e.pos > t && e.acceptToken(y);
|
|
49
49
|
});
|
|
50
50
|
function D(e, t, n) {
|
|
51
|
-
return new
|
|
51
|
+
return new s((r) => {
|
|
52
52
|
let i = r.pos;
|
|
53
53
|
for (;;) {
|
|
54
54
|
let { next: t } = r;
|
|
@@ -75,7 +75,7 @@ function D(e, t, n) {
|
|
|
75
75
|
r.pos > i && r.acceptToken(t);
|
|
76
76
|
});
|
|
77
77
|
}
|
|
78
|
-
var O = /*@__PURE__*/ D("endcomment", C, S), k = /*@__PURE__*/ D("endraw", x, b), A = /*@__PURE__*/ new
|
|
78
|
+
var O = /*@__PURE__*/ D("endcomment", C, S), k = /*@__PURE__*/ D("endraw", x, b), A = /*@__PURE__*/ new s((e) => {
|
|
79
79
|
if (e.next == 35) {
|
|
80
80
|
for (e.advance(); !(e.next == 10 || e.next < 0 || (e.next == 37 || e.next == 125) && e.peek(1) == 125);) e.advance();
|
|
81
81
|
e.acceptToken(w);
|
|
@@ -227,39 +227,39 @@ function P(e, t) {
|
|
|
227
227
|
}
|
|
228
228
|
var F = /*@__PURE__*/ P("abs append at_least at_most capitalize ceil compact concat date default divided_by downcase escape escape_once first floor join last lstrip map minus modulo newline_to_br plus prepend remove remove_first replace replace_first reverse round rstrip size slice sort sort_natural split strip strip_html strip_newlines sum times truncate truncatewords uniq upcase url_decode url_encode where", "function"), I = /*@__PURE__*/ P("cycle comment endcomment raw endraw echo increment decrement liquid if elsif else endif unless endunless case endcase for endfor tablerow endtablerow break continue assign capture endcapture render include", "keyword"), L = /*@__PURE__*/ P("empty forloop tablerowloop in with as contains", "keyword"), R = /*@__PURE__*/ P("first index index0 last length rindex", "property"), z = /*@__PURE__*/ P("col col0 col_first col_last first index index0 last length rindex rindex0 row", "property");
|
|
229
229
|
function B(e) {
|
|
230
|
-
let { state: t, pos: n } = e,
|
|
231
|
-
if (
|
|
230
|
+
let { state: t, pos: n } = e, i = r(t).resolveInner(n, -1).enterUnfinishedNodesBefore(n), a = i.childBefore(n)?.name || i.name;
|
|
231
|
+
if (i.name == "FilterName") return {
|
|
232
232
|
type: "filter",
|
|
233
|
-
node:
|
|
233
|
+
node: i
|
|
234
234
|
};
|
|
235
235
|
if (e.explicit && a == "|") return { type: "filter" };
|
|
236
|
-
if (
|
|
236
|
+
if (i.name == "TagName") return {
|
|
237
237
|
type: "tag",
|
|
238
|
-
node:
|
|
238
|
+
node: i
|
|
239
239
|
};
|
|
240
240
|
if (e.explicit && a == "{%") return { type: "tag" };
|
|
241
|
-
if (
|
|
241
|
+
if (i.name == "PropertyName" && i.parent.name == "MemberExpression") return {
|
|
242
242
|
type: "property",
|
|
243
|
-
node:
|
|
244
|
-
target:
|
|
243
|
+
node: i,
|
|
244
|
+
target: i.parent
|
|
245
245
|
};
|
|
246
|
-
if (
|
|
246
|
+
if (i.name == "." && i.parent.name == "MemberExpression") return {
|
|
247
247
|
type: "property",
|
|
248
|
-
target:
|
|
248
|
+
target: i.parent
|
|
249
249
|
};
|
|
250
|
-
if (
|
|
250
|
+
if (i.name == "MemberExpression" && a == ".") return {
|
|
251
251
|
type: "property",
|
|
252
|
-
target:
|
|
252
|
+
target: i
|
|
253
253
|
};
|
|
254
|
-
if (
|
|
254
|
+
if (i.name == "VariableName") return {
|
|
255
255
|
type: "expression",
|
|
256
|
-
from:
|
|
256
|
+
from: i.from
|
|
257
257
|
};
|
|
258
258
|
let o = e.matchBefore(/[\w\u00c0-\uffff]+$/);
|
|
259
259
|
return o ? {
|
|
260
260
|
type: "expression",
|
|
261
261
|
from: o.from
|
|
262
|
-
} : e.explicit &&
|
|
262
|
+
} : e.explicit && i.name != "CommentText" && i.name != "StringLiteral" && i.name != "NumberLiteral" && i.name != "InlineComment" ? { type: "expression" } : null;
|
|
263
263
|
}
|
|
264
264
|
function V(e, t, n, r) {
|
|
265
265
|
let i = [];
|
|
@@ -292,13 +292,13 @@ function H(e = {}) {
|
|
|
292
292
|
} : null;
|
|
293
293
|
};
|
|
294
294
|
}
|
|
295
|
-
var U = /*@__PURE__*/ t.inputHandler.of((e, t,
|
|
295
|
+
var U = /*@__PURE__*/ t.inputHandler.of((e, t, n, r) => r != "%" || t != n || e.state.doc.sliceString(t - 1, n + 1) != "{}" ? !1 : (e.dispatch(e.state.changeByRange((e) => ({
|
|
296
296
|
changes: {
|
|
297
297
|
from: e.from,
|
|
298
298
|
to: e.to,
|
|
299
299
|
insert: "%%"
|
|
300
300
|
},
|
|
301
|
-
range:
|
|
301
|
+
range: a.cursor(e.from + 1)
|
|
302
302
|
})), {
|
|
303
303
|
scrollIntoView: !0,
|
|
304
304
|
userEvent: "input.type"
|
|
@@ -313,30 +313,30 @@ var G = /*@__PURE__*/ u.define({
|
|
|
313
313
|
name: "liquid",
|
|
314
314
|
parser: /*@__PURE__*/ N.configure({ props: [
|
|
315
315
|
/*@__PURE__*/ o({
|
|
316
|
-
"cycle comment endcomment raw endraw echo increment decrement liquid in with as":
|
|
317
|
-
"empty forloop tablerowloop":
|
|
318
|
-
"if elsif else endif unless endunless case endcase for endfor tablerow endtablerow break continue":
|
|
319
|
-
"assign capture endcapture":
|
|
320
|
-
contains:
|
|
321
|
-
"render include":
|
|
322
|
-
VariableName:
|
|
323
|
-
TagName:
|
|
324
|
-
FilterName: /*@__PURE__*/
|
|
325
|
-
PropertyName:
|
|
326
|
-
CompareOp:
|
|
327
|
-
AssignOp:
|
|
328
|
-
LogicOp:
|
|
329
|
-
NumberLiteral:
|
|
330
|
-
StringLiteral:
|
|
331
|
-
BooleanLiteral:
|
|
332
|
-
InlineComment:
|
|
333
|
-
CommentText:
|
|
334
|
-
"{% %} {{ }}":
|
|
335
|
-
"( )":
|
|
336
|
-
".":
|
|
337
|
-
", .. : |":
|
|
316
|
+
"cycle comment endcomment raw endraw echo increment decrement liquid in with as": n.keyword,
|
|
317
|
+
"empty forloop tablerowloop": n.atom,
|
|
318
|
+
"if elsif else endif unless endunless case endcase for endfor tablerow endtablerow break continue": n.controlKeyword,
|
|
319
|
+
"assign capture endcapture": n.definitionKeyword,
|
|
320
|
+
contains: n.operatorKeyword,
|
|
321
|
+
"render include": n.moduleKeyword,
|
|
322
|
+
VariableName: n.variableName,
|
|
323
|
+
TagName: n.tagName,
|
|
324
|
+
FilterName: /*@__PURE__*/ n.function(n.variableName),
|
|
325
|
+
PropertyName: n.propertyName,
|
|
326
|
+
CompareOp: n.compareOperator,
|
|
327
|
+
AssignOp: n.definitionOperator,
|
|
328
|
+
LogicOp: n.logicOperator,
|
|
329
|
+
NumberLiteral: n.number,
|
|
330
|
+
StringLiteral: n.string,
|
|
331
|
+
BooleanLiteral: n.bool,
|
|
332
|
+
InlineComment: n.lineComment,
|
|
333
|
+
CommentText: n.blockComment,
|
|
334
|
+
"{% %} {{ }}": n.brace,
|
|
335
|
+
"( )": n.paren,
|
|
336
|
+
".": n.derefOperator,
|
|
337
|
+
", .. : |": n.punctuation
|
|
338
338
|
}),
|
|
339
|
-
/*@__PURE__*/
|
|
339
|
+
/*@__PURE__*/ i.add({
|
|
340
340
|
Tag: /*@__PURE__*/ f({ closing: "%}" }),
|
|
341
341
|
"UnlessDirective ForDirective TablerowDirective CaptureDirective": /*@__PURE__*/ W(/^\s*(\{%-?\s*)?end\w/),
|
|
342
342
|
IfDirective: /*@__PURE__*/ W(/^\s*(\{%-?\s*)?(endif|else|elsif)\b/),
|
|
@@ -356,7 +356,7 @@ var G = /*@__PURE__*/ u.define({
|
|
|
356
356
|
}
|
|
357
357
|
}), K = /*@__PURE__*/ m();
|
|
358
358
|
function q(e) {
|
|
359
|
-
return G.configure({ wrap:
|
|
359
|
+
return G.configure({ wrap: c((t) => t.type.isTop ? {
|
|
360
360
|
parser: e.parser,
|
|
361
361
|
overlay: (e) => e.name == "Text" || e.name == "RawText"
|
|
362
362
|
} : null) }, "liquid");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as e } from "./rolldown-runtime-Cb76FRpK.js";
|
|
2
|
-
import {
|
|
3
|
-
import { n as u, t as ae } from "./dist-
|
|
4
|
-
import { a as oe, i as se, n as ce, o as le, r as d } from "./dist-
|
|
2
|
+
import { G as t, H as n, I as r, O as i, St as a, V as o, m as s, n as c, qt as l, r as ee, s as te, t as ne, u as re, w as ie } from "./dist-BmS-ZGjl.js";
|
|
3
|
+
import { n as u, t as ae } from "./dist-Ba2VIn1K.js";
|
|
4
|
+
import { a as oe, i as se, n as ce, o as le, r as d } from "./dist-CTi5FTiV.js";
|
|
5
5
|
//#region ../node_modules/.pnpm/@lezer+html@1.3.10/node_modules/@lezer/html/dist/index.js
|
|
6
6
|
var ue = 54, de = 1, fe = 55, pe = 2, me = 56, he = 3, f = 4, ge = 5, p = 6, _e = 7, m = 8, h = 9, g = 10, ve = 11, ye = 12, be = 13, _ = 57, xe = 14, v = 58, y = 20, Se = 22, b = 23, Ce = 24, x = 26, S = 27, we = 28, Te = 31, Ee = 34, De = 36, Oe = 37, ke = 0, Ae = 1, je = {
|
|
7
7
|
area: !0,
|
|
@@ -145,7 +145,7 @@ var Le = [
|
|
|
145
145
|
return i == p || i == De ? new M(O(r, 1) || "", e) : e;
|
|
146
146
|
},
|
|
147
147
|
strict: !1
|
|
148
|
-
}), ze = new
|
|
148
|
+
}), ze = new c((e, t) => {
|
|
149
149
|
if (e.next != k) {
|
|
150
150
|
e.next < 0 && t.context && e.acceptToken(_);
|
|
151
151
|
return;
|
|
@@ -170,7 +170,7 @@ var Le = [
|
|
|
170
170
|
if (je.hasOwnProperty(r)) return e.acceptToken(g);
|
|
171
171
|
i && C[i] && C[i][r] ? e.acceptToken(_, -1) : e.acceptToken(p);
|
|
172
172
|
}
|
|
173
|
-
}, { contextual: !0 }), Be = new
|
|
173
|
+
}, { contextual: !0 }), Be = new c((e) => {
|
|
174
174
|
for (let t = 0, n = 0;; n++) {
|
|
175
175
|
if (e.next < 0) {
|
|
176
176
|
n && e.acceptToken(v);
|
|
@@ -188,7 +188,7 @@ function Ve(e) {
|
|
|
188
188
|
for (; e; e = e.parent) if (e.name == "svg" || e.name == "math") return !0;
|
|
189
189
|
return !1;
|
|
190
190
|
}
|
|
191
|
-
var He = new
|
|
191
|
+
var He = new c((e, t) => {
|
|
192
192
|
if (e.next == j && e.peek(1) == A) {
|
|
193
193
|
let n = t.dialectEnabled(Ae) || Ve(t.context);
|
|
194
194
|
e.acceptToken(n ? ge : f, 2);
|
|
@@ -196,7 +196,7 @@ var He = new l((e, t) => {
|
|
|
196
196
|
});
|
|
197
197
|
function N(e, t, n) {
|
|
198
198
|
let r = 2 + e.length;
|
|
199
|
-
return new
|
|
199
|
+
return new c((i) => {
|
|
200
200
|
for (let a = 0, o = 0, s = 0;; s++) {
|
|
201
201
|
if (i.next < 0) {
|
|
202
202
|
s && i.acceptToken(t);
|
|
@@ -216,17 +216,17 @@ function N(e, t, n) {
|
|
|
216
216
|
});
|
|
217
217
|
}
|
|
218
218
|
var Ue = N("script", ue, de), We = N("style", fe, pe), Ge = N("textarea", me, he), Ke = o({
|
|
219
|
-
"Text RawText":
|
|
220
|
-
"StartTag StartCloseTag SelfClosingEndTag EndTag":
|
|
221
|
-
TagName:
|
|
222
|
-
"MismatchedCloseTag/TagName": [
|
|
223
|
-
AttributeName:
|
|
224
|
-
"AttributeValue UnquotedAttributeValue":
|
|
225
|
-
Is:
|
|
226
|
-
"EntityReference CharacterReference":
|
|
227
|
-
Comment:
|
|
228
|
-
ProcessingInst:
|
|
229
|
-
DoctypeDecl:
|
|
219
|
+
"Text RawText": n.content,
|
|
220
|
+
"StartTag StartCloseTag SelfClosingEndTag EndTag": n.angleBracket,
|
|
221
|
+
TagName: n.tagName,
|
|
222
|
+
"MismatchedCloseTag/TagName": [n.tagName, n.invalid],
|
|
223
|
+
AttributeName: n.attributeName,
|
|
224
|
+
"AttributeValue UnquotedAttributeValue": n.attributeValue,
|
|
225
|
+
Is: n.definitionOperator,
|
|
226
|
+
"EntityReference CharacterReference": n.character,
|
|
227
|
+
Comment: n.blockComment,
|
|
228
|
+
ProcessingInst: n.processingInstruction,
|
|
229
|
+
DoctypeDecl: n.documentMeta
|
|
230
230
|
}), qe = ee.deserialize({
|
|
231
231
|
version: 14,
|
|
232
232
|
states: ",xOVO!rOOO!WQ#tO'#CqO!]Q#tO'#CzO!bQ#tO'#C}O!gQ#tO'#DQO!lQ#tO'#DSO!qOaO'#CpO!|ObO'#CpO#XOdO'#CpO$eO!rO'#CpOOO`'#Cp'#CpO$lO$fO'#DTO$tQ#tO'#DVO$yQ#tO'#DWOOO`'#Dk'#DkOOO`'#DY'#DYQVO!rOOO%OQ&rO,59]O%ZQ&rO,59fO%fQ&rO,59iO%qQ&rO,59lO%|Q&rO,59nOOOa'#D^'#D^O&XOaO'#CxO&dOaO,59[OOOb'#D_'#D_O&lObO'#C{O&wObO,59[OOOd'#D`'#D`O'POdO'#DOO'[OdO,59[OOO`'#Da'#DaO'dO!rO,59[O'kQ#tO'#DROOO`,59[,59[OOOp'#Db'#DbO'pO$fO,59oOOO`,59o,59oO'xQ#|O,59qO'}Q#|O,59rOOO`-E7W-E7WO(SQ&rO'#CsOOQW'#DZ'#DZO(bQ&rO1G.wOOOa1G.w1G.wOOO`1G/Y1G/YO(mQ&rO1G/QOOOb1G/Q1G/QO(xQ&rO1G/TOOOd1G/T1G/TO)TQ&rO1G/WOOO`1G/W1G/WO)`Q&rO1G/YOOOa-E7[-E7[O)kQ#tO'#CyOOO`1G.v1G.vOOOb-E7]-E7]O)pQ#tO'#C|OOOd-E7^-E7^O)uQ#tO'#DPOOO`-E7_-E7_O)zQ#|O,59mOOOp-E7`-E7`OOO`1G/Z1G/ZOOO`1G/]1G/]OOO`1G/^1G/^O*PQ,UO,59_OOQW-E7X-E7XOOOa7+$c7+$cOOO`7+$t7+$tOOOb7+$l7+$lOOOd7+$o7+$oOOO`7+$r7+$rO*[Q#|O,59eO*aQ#|O,59hO*fQ#|O,59kOOO`1G/X1G/XO*kO7[O'#CvO*|OMhO'#CvOOQW1G.y1G.yOOO`1G/P1G/POOO`1G/S1G/SOOO`1G/V1G/VOOOO'#D['#D[O+_O7[O,59bOOQW,59b,59bOOOO'#D]'#D]O+pOMhO,59bOOOO-E7Y-E7YOOQW1G.|1G.|OOOO-E7Z-E7Z",
|
|
@@ -362,7 +362,7 @@ function I(e = [], t = []) {
|
|
|
362
362
|
for (let t of e) (t.tag == "script" ? n : t.tag == "style" ? r : t.tag == "textarea" ? i : a).push(t);
|
|
363
363
|
let o = t.length ? Object.create(null) : null;
|
|
364
364
|
for (let e of t) (o[e.name] || (o[e.name] = [])).push(e);
|
|
365
|
-
return
|
|
365
|
+
return l((e, t) => {
|
|
366
366
|
let s = e.type.id;
|
|
367
367
|
if (s == we) return F(e, t, n);
|
|
368
368
|
if (s == Te) return F(e, t, r);
|
|
@@ -1182,13 +1182,13 @@ function et(e, t, n, r, i) {
|
|
|
1182
1182
|
};
|
|
1183
1183
|
}
|
|
1184
1184
|
function tt(e, t) {
|
|
1185
|
-
let { state: n, pos:
|
|
1186
|
-
for (let e =
|
|
1185
|
+
let { state: n, pos: i } = t, a = r(n).resolveInner(i, -1), o = a.resolve(i);
|
|
1186
|
+
for (let e = i, t; o == a && (t = a.childBefore(e));) {
|
|
1187
1187
|
let n = t.lastChild;
|
|
1188
1188
|
if (!n || !n.type.isError || n.from < n.to) break;
|
|
1189
1189
|
o = a = t, e = n.from;
|
|
1190
1190
|
}
|
|
1191
|
-
return a.name == "TagName" ? a.parent && /CloseTag$/.test(a.parent.name) ? Ze(n, a, a.from,
|
|
1191
|
+
return a.name == "TagName" ? a.parent && /CloseTag$/.test(a.parent.name) ? Ze(n, a, a.from, i) : Z(n, e, a, a.from, i) : a.name == "StartTag" ? Z(n, e, a, i, i) : a.name == "StartCloseTag" || a.name == "IncompleteCloseTag" ? Ze(n, a, i, i) : a.name == "OpenTag" || a.name == "SelfClosingTag" || a.name == "AttributeName" ? $e(n, e, a, a.name == "AttributeName" ? a.from : i, i) : a.name == "Is" || a.name == "AttributeValue" || a.name == "UnquotedAttributeValue" ? et(n, e, a, a.name == "Is" ? i : a.from, i) : t.explicit && (o.name == "Element" || o.name == "Text" || o.name == "Document") ? Qe(n, e, a, i) : null;
|
|
1192
1192
|
}
|
|
1193
1193
|
function nt(e) {
|
|
1194
1194
|
return tt(G.default, e);
|
|
@@ -1243,7 +1243,7 @@ var it = /*@__PURE__*/ d.parser.configure({ top: "SingleExpression" }), at = [
|
|
|
1243
1243
|
}))), Q = /*@__PURE__*/ te.define({
|
|
1244
1244
|
name: "html",
|
|
1245
1245
|
parser: /*@__PURE__*/ qe.configure({ props: [
|
|
1246
|
-
/*@__PURE__*/
|
|
1246
|
+
/*@__PURE__*/ i.add({
|
|
1247
1247
|
Element(e) {
|
|
1248
1248
|
let t = /^(\s*)(<\/)?/.exec(e.textAfter);
|
|
1249
1249
|
return e.node.to <= e.pos + t[0].length ? e.continue() : e.lineIndent(e.node.from) + (t[2] ? 0 : e.unit);
|
|
@@ -1269,7 +1269,7 @@ var it = /*@__PURE__*/ d.parser.configure({ top: "SingleExpression" }), at = [
|
|
|
1269
1269
|
to: n.name == "CloseTag" ? n.from : e.to
|
|
1270
1270
|
};
|
|
1271
1271
|
} }),
|
|
1272
|
-
/*@__PURE__*/
|
|
1272
|
+
/*@__PURE__*/ s.add({ "OpenTag CloseTag": (e) => e.getChild("TagName") })
|
|
1273
1273
|
] }),
|
|
1274
1274
|
languageData: {
|
|
1275
1275
|
commentTokens: { block: {
|
|
@@ -1294,28 +1294,28 @@ function st(e = {}) {
|
|
|
1294
1294
|
ae().support
|
|
1295
1295
|
]);
|
|
1296
1296
|
}
|
|
1297
|
-
var ct = /*@__PURE__*/ new Set(/*@__PURE__*/ "area base br col command embed frame hr img input keygen link meta param source track wbr menuitem".split(" ")), lt = /*@__PURE__*/ t.inputHandler.of((e, t,
|
|
1298
|
-
if (e.composing || e.state.readOnly || t !=
|
|
1297
|
+
var ct = /*@__PURE__*/ new Set(/*@__PURE__*/ "area base br col command embed frame hr img input keygen link meta param source track wbr menuitem".split(" ")), lt = /*@__PURE__*/ t.inputHandler.of((e, t, n, i, o) => {
|
|
1298
|
+
if (e.composing || e.state.readOnly || t != n || i != ">" && i != "/" || !$.isActiveAt(e.state, t, -1)) return !1;
|
|
1299
1299
|
let s = o(), { state: c } = s, l = c.changeByRange((e) => {
|
|
1300
|
-
let t = c.doc.sliceString(e.from - 1, e.to) ==
|
|
1301
|
-
if (t &&
|
|
1300
|
+
let t = c.doc.sliceString(e.from - 1, e.to) == i, { head: n } = e, o = r(c).resolveInner(n, -1), s;
|
|
1301
|
+
if (t && i == ">" && o.name == "EndTag") {
|
|
1302
1302
|
let t = o.parent;
|
|
1303
|
-
if (t.parent?.lastChild?.name != "CloseTag" && (s = K(c.doc, t.parent,
|
|
1303
|
+
if (t.parent?.lastChild?.name != "CloseTag" && (s = K(c.doc, t.parent, n)) && !ct.has(s)) return {
|
|
1304
1304
|
range: e,
|
|
1305
1305
|
changes: {
|
|
1306
|
-
from:
|
|
1307
|
-
to:
|
|
1306
|
+
from: n,
|
|
1307
|
+
to: n + +(c.doc.sliceString(n, n + 1) === ">"),
|
|
1308
1308
|
insert: `</${s}>`
|
|
1309
1309
|
}
|
|
1310
1310
|
};
|
|
1311
|
-
} else if (t &&
|
|
1311
|
+
} else if (t && i == "/" && o.name == "IncompleteCloseTag") {
|
|
1312
1312
|
let e = o.parent;
|
|
1313
|
-
if (o.from ==
|
|
1314
|
-
let e =
|
|
1313
|
+
if (o.from == n - 2 && e.lastChild?.name != "CloseTag" && (s = K(c.doc, e, n)) && !ct.has(s)) {
|
|
1314
|
+
let e = n + +(c.doc.sliceString(n, n + 1) === ">"), t = `${s}>`;
|
|
1315
1315
|
return {
|
|
1316
|
-
range:
|
|
1316
|
+
range: a.cursor(n + t.length, -1),
|
|
1317
1317
|
changes: {
|
|
1318
|
-
from:
|
|
1318
|
+
from: n,
|
|
1319
1319
|
to: e,
|
|
1320
1320
|
insert: t
|
|
1321
1321
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as e } from "./rolldown-runtime-Cb76FRpK.js";
|
|
2
|
-
import { H as t, O as n, S as r, V as i, h as a, n as o, r as s, s as c, u as l, w as u } from "./dist-
|
|
2
|
+
import { H as t, O as n, S as r, V as i, h as a, n as o, r as s, s as c, u as l, w as u } from "./dist-BmS-ZGjl.js";
|
|
3
3
|
//#region ../node_modules/.pnpm/@lezer+rust@1.0.2/node_modules/@lezer/rust/dist/index.js
|
|
4
4
|
var d = 1, f = 2, p = 3, m = 4, h = 5, g = 98, _ = 101, v = 102, y = 114, b = 69, x = 46, S = 43, C = 45, w = 35, T = 34, E = 124, D = 60, O = 62;
|
|
5
5
|
function k(e) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as e } from "./rolldown-runtime-Cb76FRpK.js";
|
|
2
|
-
import { H as t, O as n, S as r, V as i, h as a, n as o, r as s, s as c, u as l, w as u } from "./dist-
|
|
3
|
-
import { r as d } from "./dist-
|
|
2
|
+
import { H as t, O as n, S as r, V as i, h as a, n as o, r as s, s as c, u as l, w as u } from "./dist-BmS-ZGjl.js";
|
|
3
|
+
import { r as d } from "./dist-Ba2VIn1K.js";
|
|
4
4
|
//#region ../node_modules/.pnpm/@codemirror+lang-less@6.0.2/node_modules/@codemirror/lang-less/dist/index.js
|
|
5
5
|
var f = /* @__PURE__ */ e({
|
|
6
6
|
less: () => O,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as e } from "./rolldown-runtime-Cb76FRpK.js";
|
|
2
|
-
import { H as t, V as n,
|
|
3
|
-
import { n as c } from "./dist-
|
|
4
|
-
import { r as l } from "./dist-
|
|
2
|
+
import { H as t, V as n, i as r, qt as i, r as a, s as o, u as s } from "./dist-BmS-ZGjl.js";
|
|
3
|
+
import { n as c } from "./dist-D7mrh5sO.js";
|
|
4
|
+
import { r as l } from "./dist-CTi5FTiV.js";
|
|
5
5
|
//#region ../node_modules/.pnpm/@codemirror+lang-vue@0.1.3/node_modules/@codemirror/lang-vue/dist/index.js
|
|
6
6
|
var u = /* @__PURE__ */ e({
|
|
7
7
|
vue: () => C,
|
|
@@ -27,12 +27,12 @@ var u = /* @__PURE__ */ e({
|
|
|
27
27
|
tokenizers: [
|
|
28
28
|
6,
|
|
29
29
|
7,
|
|
30
|
-
/*@__PURE__*/ new
|
|
31
|
-
/*@__PURE__*/ new
|
|
32
|
-
/*@__PURE__*/ new
|
|
33
|
-
/*@__PURE__*/ new
|
|
34
|
-
/*@__PURE__*/ new
|
|
35
|
-
/*@__PURE__*/ new
|
|
30
|
+
/*@__PURE__*/ new r("b~RP#q#rU~XP#q#r[~aOT~~", 17, 4),
|
|
31
|
+
/*@__PURE__*/ new r("!k~RQvwX#o#p!_~^TU~Opmq!]m!^;'Sm;'S;=`!X<%lOm~pUOpmq!]m!]!^!S!^;'Sm;'S;=`!X<%lOm~!XOU~~![P;=`<%lm~!bP#o#p!e~!jOk~~", 72, 2),
|
|
32
|
+
/*@__PURE__*/ new r("[~RPwxU~ZOp~~", 11, 15),
|
|
33
|
+
/*@__PURE__*/ new r("[~RPrsU~ZOn~~", 11, 14),
|
|
34
|
+
/*@__PURE__*/ new r("!e~RQvwXwx!_~^Tc~Opmq!]m!^;'Sm;'S;=`!X<%lOm~pUOpmq!]m!]!^!S!^;'Sm;'S;=`!X<%lOm~!XOc~~![P;=`<%lm~!dOt~~", 66, 35),
|
|
35
|
+
/*@__PURE__*/ new r("!e~RQrsXvw^~^Or~~cTb~Oprq!]r!^;'Sr;'S;=`!^<%lOr~uUOprq!]r!]!^!X!^;'Sr;'S;=`!^<%lOr~!^Ob~~!aP;=`<%lr~", 66, 33)
|
|
36
36
|
],
|
|
37
37
|
topRules: {
|
|
38
38
|
Content: [0, 1],
|
|
@@ -49,14 +49,14 @@ var u = /* @__PURE__ */ e({
|
|
|
49
49
|
Entity: t.character,
|
|
50
50
|
"{{ }}": t.brace,
|
|
51
51
|
"@ :": t.punctuation
|
|
52
|
-
})] }), m = { parser: f }, h = /*@__PURE__*/ p.configure({ wrap: /*@__PURE__*/
|
|
53
|
-
wrap: /*@__PURE__*/
|
|
52
|
+
})] }), m = { parser: f }, h = /*@__PURE__*/ p.configure({ wrap: /*@__PURE__*/ i((e, t) => e.name == "InterpolationContent" ? m : null) }), g = /*@__PURE__*/ p.configure({
|
|
53
|
+
wrap: /*@__PURE__*/ i((e, t) => e.name == "AttributeScript" ? m : null),
|
|
54
54
|
top: "Attribute"
|
|
55
55
|
}), _ = { parser: h }, v = { parser: g }, y = /*@__PURE__*/ c();
|
|
56
56
|
function b(e) {
|
|
57
57
|
return e.configure({
|
|
58
58
|
dialect: "selfClosing",
|
|
59
|
-
wrap:
|
|
59
|
+
wrap: i(S)
|
|
60
60
|
}, "vue");
|
|
61
61
|
}
|
|
62
62
|
var x = /*@__PURE__*/ b(y.language);
|