@marimo-team/islands 0.23.10-dev23 → 0.23.10-dev25
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-DdeG-Hi-.js → ConnectedDataExplorerComponent-DmBropAy.js} +11 -11
- package/dist/{ErrorBoundary-rULOrC_p.js → ErrorBoundary-DpbaKVv7.js} +1 -1
- package/dist/{any-language-editor-CiES2a2h.js → any-language-editor-DNmoSiWL.js} +20 -20
- package/dist/{chat-ui-BTobdMRF.js → chat-ui-D6oraHT2.js} +22 -22
- package/dist/{check-DTbrK0zt.js → check-BCaJeT-J.js} +1 -1
- package/dist/{code-visibility-D4SjRKRB.js → code-visibility-CXkMXcdB.js} +20 -20
- package/dist/{copy-5jQ_kGE1.js → copy-UqRYxiOg.js} +1 -1
- package/dist/dist-7QfXoMdB.js +5 -0
- package/dist/{dist-DgnE8F-r.js → dist-A2846XWO.js} +1 -1
- package/dist/dist-BEXXyZig.js +5 -0
- package/dist/{dist-B3pZ0Ab6.js → dist-BR_gyG9L.js} +3 -3
- package/dist/{dist-CcXxepx6.js → dist-BSAt6RhH.js} +27 -27
- package/dist/{dist-Bde4a2kU.js → dist-BY018Paw.js} +8 -8
- package/dist/dist-BYj57OV4.js +5 -0
- package/dist/{dist-CUCNs1ja.js → dist-BaoDKvdy.js} +2 -2
- package/dist/{dist-Cy1WxgBD.js → dist-Bf7SHuNp.js} +5 -5
- package/dist/{dist-Bz_sYWbr.js → dist-Bk75fBZA.js} +2 -2
- package/dist/dist-BlSvQzNr.js +5 -0
- package/dist/{dist-C5VC_yzu.js → dist-BzEzfugY.js} +1 -1
- package/dist/dist-CCBlxAgS.js +8 -0
- package/dist/dist-CIDTVIUf.js +5 -0
- package/dist/{dist-CLUtPrdy.js → dist-CIYBwstr.js} +1 -1
- package/dist/{dist-BotSqB48.js → dist-C_Y3oV3C.js} +12 -12
- package/dist/{dist-BTfv03uy.js → dist-CcWX6tmx.js} +2 -2
- package/dist/{dist-BhM8gdSO.js → dist-CoXAujgg.js} +4 -4
- package/dist/{dist-4j4c7bjm.js → dist-CpxNdDkw.js} +3 -3
- package/dist/dist-CqQyhAM8.js +8 -0
- package/dist/dist-CwRu2Xzh.js +5 -0
- package/dist/{dist-BcuoonNH.js → dist-CxJDU6Bh.js} +9 -9
- package/dist/{dist-DxvORzUR.js → dist-D-W5ny5a.js} +8 -8
- package/dist/dist-D8CDTVgf.js +6 -0
- package/dist/dist-D8DNB0nO.js +8 -0
- package/dist/dist-DL6N_q-A.js +5 -0
- package/dist/{dist-BbbIBDiQ.js → dist-DMjWuVs8.js} +1 -1
- package/dist/dist-DOFbNV_b.js +8 -0
- package/dist/dist-DPrYzMY0.js +6 -0
- package/dist/{dist-h2c8sZvT.js → dist-DZORgqKY.js} +1 -1
- package/dist/{dist-B3P2fFpz.js → dist-DZo4nSS0.js} +14 -14
- package/dist/{dist-D4CewLk6.js → dist-Dax--nl9.js} +1 -1
- package/dist/{dist-DRfcqpxJ.js → dist-DgGbNavJ.js} +2 -2
- package/dist/{dist-C1BYNeCR.js → dist-Dk6PV_d3.js} +10 -10
- package/dist/{dist-fQ0ViXGs.js → dist-Dv_Y15yk.js} +107 -107
- package/dist/{dist-Bfwsv11D.js → dist-DyyjKEYf.js} +2 -2
- package/dist/{dist-p2qyWijU.js → dist-GZXUmt0b.js} +2 -2
- package/dist/{dist-CLJWPTX2.js → dist-LTU8Hdvn.js} +3 -3
- package/dist/{dist-DqAWR3CS.js → dist-M9Vag9Y0.js} +20 -20
- package/dist/{dist-DNdhYsgW.js → dist-U4F-tbMs.js} +79 -62
- package/dist/{dist-RqXTaiir.js → dist-abid3KgM.js} +11 -11
- package/dist/dist-cdmMjgsn.js +5 -0
- package/dist/dist-hT4QzYX-.js +1247 -0
- package/dist/{dist-luvabDEB.js → dist-t9Kf7xqC.js} +2 -2
- package/dist/{error-banner-5bz0L9hS.js → error-banner-Cc0I3C9e.js} +1 -1
- package/dist/esm-BaH2eg5-.js +1171 -0
- package/dist/{esm-Duie8iU-.js → esm-ga2Bf3O2.js} +43 -43
- package/dist/{extends-CkydH1Q5.js → extends-D_hDsj6R.js} +4 -4
- package/dist/{formats-DHxc-FdY.js → formats-C4wO47tk.js} +1 -1
- package/dist/{glide-data-editor-CRvL2R9l.js → glide-data-editor-Qhu8oCX-.js} +8 -8
- package/dist/{html-to-image-CjsdUYrb.js → html-to-image-UEH5lFDZ.js} +2173 -2150
- package/dist/{input-DVkbXbIX.js → input-CMYy4hzj.js} +5 -5
- package/dist/{label-LWtdw5i8.js → label-CC4ytI1X.js} +1 -1
- package/dist/main.js +46 -46
- package/dist/{mermaid-lXOw5Py9.js → mermaid-zuLgJ8J8.js} +4 -4
- package/dist/{process-output-CI8a-CUx.js → process-output-CyMLTogj.js} +3 -3
- package/dist/{reveal-component-CQUEth_r.js → reveal-component-dIolR_34.js} +567 -566
- package/dist/{spec-DMRQmLOc.js → spec-X7FwLJni.js} +4 -4
- package/dist/{strings-GCJA9n6d.js → strings-J57tzLr3.js} +22 -22
- package/dist/style.css +1 -1
- package/dist/{toDate-x-WRDCH7.js → toDate-d8RCRrRd.js} +2 -2
- package/dist/{tooltip-C5FYOpQc.js → tooltip-DpcyNkQ2.js} +2 -2
- package/dist/{types-CVvp1fKr.js → types-ChtMFmZ2.js} +1 -1
- package/dist/{useAsyncData-iRgKDT5s.js → useAsyncData-PonK__yh.js} +1 -1
- package/dist/{useDateFormatter-BRcO_TGJ.js → useDateFormatter-QB-3MpYr.js} +2 -2
- package/dist/{useDeepCompareMemoize-CkQ57VS2.js → useDeepCompareMemoize-D3NGWke6.js} +1 -1
- package/dist/{useLifecycle-BBO9PIph.js → useLifecycle-00mO3OSS.js} +2 -2
- package/dist/{useTheme-DHIrRQOe.js → useTheme-DEhDzATN.js} +1 -1
- package/dist/{vega-component-Dq-SH463.js → vega-component-9h1ACS78.js} +8 -8
- package/dist/{zod-CoBiJ5v4.js → zod-aLSua2NL.js} +24 -23
- package/package.json +1 -1
- package/src/components/editor/documentation.css +19 -0
- package/src/components/slides/reveal-component.tsx +4 -0
- package/src/core/codemirror/language/languages/python.ts +2 -0
- package/src/core/codemirror/lsp/__tests__/markdown-renderer.test.ts +41 -0
- package/src/core/codemirror/lsp/markdown-renderer.ts +59 -0
- package/dist/dist-0Fif7jnk.js +0 -5
- package/dist/dist-B5h_9sHB.js +0 -6
- package/dist/dist-B9M6R5ye.js +0 -5
- package/dist/dist-BCt3tnck.js +0 -8
- package/dist/dist-BUIJwMwn.js +0 -8
- package/dist/dist-BpquMd3k.js +0 -5
- package/dist/dist-BzJsqYfz.js +0 -5
- package/dist/dist-CA5ELXAf.js +0 -6
- package/dist/dist-CLBRs6Uv.js +0 -5
- package/dist/dist-CStVCMbq.js +0 -5
- package/dist/dist-CZRIEY3Y.js +0 -8
- package/dist/dist-CuUHbFD0.js +0 -5
- package/dist/dist-DV7Iabxb.js +0 -8
- package/dist/dist-DhHh0jLg.js +0 -1247
- package/dist/dist-DuEeHMvL.js +0 -5
- package/dist/esm-CCuYCd3R.js +0 -1171
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "./dist-
|
|
2
|
-
import { a as htmlLanguage, i as htmlCompletionSourceWith, n as html, o as htmlPlain, r as htmlCompletionSource, t as autoCloseTags } from "./dist-
|
|
3
|
-
import "./dist-
|
|
4
|
-
import "./dist-
|
|
1
|
+
import "./dist-U4F-tbMs.js";
|
|
2
|
+
import { a as htmlLanguage, i as htmlCompletionSourceWith, n as html, o as htmlPlain, r as htmlCompletionSource, t as autoCloseTags } from "./dist-BSAt6RhH.js";
|
|
3
|
+
import "./dist-D-W5ny5a.js";
|
|
4
|
+
import "./dist-M9Vag9Y0.js";
|
|
5
5
|
export {
|
|
6
6
|
html
|
|
7
7
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as html } from "./dist-
|
|
1
|
+
import { $ as EditorView, H as tags, I as syntaxTree, O as indentNodeProp, Ot as EditorSelection, V as styleTags, X as parseMixed, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport, v as delimitedIndent, w as foldNodeProp } from "./dist-U4F-tbMs.js";
|
|
2
|
+
import { n as html } from "./dist-BSAt6RhH.js";
|
|
3
3
|
var interpolationStart = 1, tagStart = 2, endTagStart = 3, text = 180, endrawTagStart = 4, rawText = 181, endcommentTagStart = 5, commentText = 182, InlineComment = 6;
|
|
4
4
|
function wordChar(_) {
|
|
5
5
|
return _ >= 65 && _ <= 90 || _ >= 97 && _ <= 122;
|
|
@@ -284,7 +284,7 @@ function liquidCompletionSource(_ = {}) {
|
|
|
284
284
|
} : null;
|
|
285
285
|
};
|
|
286
286
|
}
|
|
287
|
-
var closePercentBrace = /* @__PURE__ */ EditorView.inputHandler.of((_, H, U
|
|
287
|
+
var closePercentBrace = /* @__PURE__ */ EditorView.inputHandler.of((_, V, H, U) => U != "%" || V != H || _.state.doc.sliceString(V - 1, H + 1) != "{}" ? false : (_.dispatch(_.state.changeByRange((_2) => ({
|
|
288
288
|
changes: {
|
|
289
289
|
from: _2.from,
|
|
290
290
|
to: _2.to,
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import "./dist-U4F-tbMs.js";
|
|
2
|
+
import "./dist-BSAt6RhH.js";
|
|
3
|
+
import "./dist-D-W5ny5a.js";
|
|
4
|
+
import "./dist-M9Vag9Y0.js";
|
|
5
|
+
import { i as liquidLanguage, n as liquid, r as liquidCompletionSource, t as closePercentBrace } from "./dist-CpxNdDkw.js";
|
|
6
|
+
export {
|
|
7
|
+
liquid
|
|
8
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as html } from "./dist-
|
|
3
|
-
import "./dist-
|
|
4
|
-
import { r as javascriptLanguage } from "./dist-
|
|
1
|
+
import { H as tags, V as styleTags, X as parseMixed, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport } from "./dist-U4F-tbMs.js";
|
|
2
|
+
import { n as html } from "./dist-BSAt6RhH.js";
|
|
3
|
+
import "./dist-D-W5ny5a.js";
|
|
4
|
+
import { r as javascriptLanguage } from "./dist-M9Vag9Y0.js";
|
|
5
5
|
var Text = 1, attributeContentSingle = 33, attributeContentDouble = 34, scriptAttributeContentSingle = 35, scriptAttributeContentDouble = 36, text = /* @__PURE__ */ new ExternalTokenizer((p) => {
|
|
6
6
|
let A = p.pos;
|
|
7
7
|
for (; ; ) {
|
|
@@ -13,11 +13,11 @@ var Text = 1, attributeContentSingle = 33, attributeContentDouble = 34, scriptAt
|
|
|
13
13
|
}
|
|
14
14
|
p.pos > A && p.acceptToken(Text);
|
|
15
15
|
});
|
|
16
|
-
function attrContent(p, A,
|
|
17
|
-
return new ExternalTokenizer((
|
|
18
|
-
let N =
|
|
19
|
-
for (;
|
|
20
|
-
|
|
16
|
+
function attrContent(p, A, j) {
|
|
17
|
+
return new ExternalTokenizer((M) => {
|
|
18
|
+
let N = M.pos;
|
|
19
|
+
for (; M.next != p && M.next >= 0 && (j || M.next != 38 && (M.next != 123 || M.peek(1) != 123)); ) M.advance();
|
|
20
|
+
M.pos > N && M.acceptToken(A);
|
|
21
21
|
});
|
|
22
22
|
}
|
|
23
23
|
var attrSingle = /* @__PURE__ */ attrContent(39, attributeContentSingle, false), attrDouble = /* @__PURE__ */ attrContent(34, attributeContentDouble, false), scriptAttrSingle = /* @__PURE__ */ attrContent(39, scriptAttributeContentSingle, true), scriptAttrDouble = /* @__PURE__ */ attrContent(34, scriptAttributeContentDouble, true), parser = /* @__PURE__ */ LRParser.deserialize({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { H as tags$1, I as syntaxTree, O as indentNodeProp, S as foldInside, U as IterMode, V as styleTags, h as continuedIndent, i as LocalTokenGroup, n as ExternalTokenizer, q as NodeWeakMap, r as LRParser, s as LRLanguage, u as LanguageSupport, w as foldNodeProp } from "./dist-U4F-tbMs.js";
|
|
2
2
|
var descendantOp = 122, Unit = 1, identifier$1 = 123, callee = 124, VariableName = 2, queryIdentifier = 125, queryVariableName = 3, QueryCallee = 4, space = [
|
|
3
3
|
9,
|
|
4
4
|
10,
|
|
@@ -283,11 +283,11 @@ function variableNames(_, K, q) {
|
|
|
283
283
|
if (K.to - K.from > 4096) {
|
|
284
284
|
let J = VariablesByNode.get(K);
|
|
285
285
|
if (J) return J;
|
|
286
|
-
let
|
|
286
|
+
let X = [], Z = /* @__PURE__ */ new Set(), Q = K.cursor(IterMode.IncludeAnonymous);
|
|
287
287
|
if (Q.firstChild()) do
|
|
288
|
-
for (let K2 of variableNames(_, Q.node, q)) Z.has(K2.label) || (Z.add(K2.label),
|
|
288
|
+
for (let K2 of variableNames(_, Q.node, q)) Z.has(K2.label) || (Z.add(K2.label), X.push(K2));
|
|
289
289
|
while (Q.nextSibling());
|
|
290
|
-
return VariablesByNode.set(K,
|
|
290
|
+
return VariablesByNode.set(K, X), X;
|
|
291
291
|
} else {
|
|
292
292
|
let J = [], Y = /* @__PURE__ */ new Set();
|
|
293
293
|
return K.cursor().iterate((K2) => {
|
|
@@ -302,8 +302,8 @@ function variableNames(_, K, q) {
|
|
|
302
302
|
}), J;
|
|
303
303
|
}
|
|
304
304
|
}
|
|
305
|
-
var defineCSSCompletionSource = (_) => (
|
|
306
|
-
let { state: J, pos: Y } =
|
|
305
|
+
var defineCSSCompletionSource = (_) => (q) => {
|
|
306
|
+
let { state: J, pos: Y } = q, X = syntaxTree(J).resolveInner(Y, -1), Z = X.type.isError && X.from == X.to - 1 && J.doc.sliceString(X.from, X.to) == "-";
|
|
307
307
|
if (X.name == "PropertyName" || (Z || X.name == "TagName") && /^(Block|Styles)$/.test(X.resolve(X.to).name)) return {
|
|
308
308
|
from: X.from,
|
|
309
309
|
options: properties(),
|
|
@@ -319,7 +319,7 @@ var defineCSSCompletionSource = (_) => (K) => {
|
|
|
319
319
|
options: pseudoClasses,
|
|
320
320
|
validFor: identifier
|
|
321
321
|
};
|
|
322
|
-
if (_(X) || (
|
|
322
|
+
if (_(X) || (q.explicit || Z) && isVarArg(X, J.doc)) return {
|
|
323
323
|
from: _(X) || Z ? X.from : Y,
|
|
324
324
|
options: variableNames(J.doc, astTop(X), _),
|
|
325
325
|
validFor: variable
|
|
@@ -341,7 +341,7 @@ var defineCSSCompletionSource = (_) => (K) => {
|
|
|
341
341
|
options: atRules,
|
|
342
342
|
validFor: identifier
|
|
343
343
|
};
|
|
344
|
-
if (!
|
|
344
|
+
if (!q.explicit) return null;
|
|
345
345
|
let Q = X.resolve(Y), $ = Q.childBefore(Y);
|
|
346
346
|
return $ && $.name == ":" && Q.name == "PseudoClassSelector" ? {
|
|
347
347
|
from: Y,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { H as tags, O as indentNodeProp, S as foldInside, V as styleTags, r as LRParser, s as LRLanguage, u as LanguageSupport, v as delimitedIndent, w as foldNodeProp } from "./dist-U4F-tbMs.js";
|
|
2
2
|
var spec_Keyword = {
|
|
3
3
|
__proto__: null,
|
|
4
4
|
anyref: 34,
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import "./dist-U4F-tbMs.js";
|
|
2
|
+
import "./dist-BSAt6RhH.js";
|
|
3
|
+
import "./dist-D-W5ny5a.js";
|
|
4
|
+
import "./dist-M9Vag9Y0.js";
|
|
5
|
+
import { i as jinjaLanguage, n as jinja, r as jinjaCompletionSource, t as closePercentBrace } from "./dist-BR_gyG9L.js";
|
|
6
|
+
export {
|
|
7
|
+
jinja
|
|
8
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { H as tags, O as indentNodeProp, S as foldInside, V as styleTags, h as continuedIndent, r as LRParser, s as LRLanguage, u as LanguageSupport, w as foldNodeProp } from "./dist-U4F-tbMs.js";
|
|
2
2
|
var jsonHighlighting = styleTags({
|
|
3
3
|
String: tags.string,
|
|
4
4
|
Number: tags.number,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $ as EditorView, H as tags, I as syntaxTree, O as indentNodeProp, Ot as EditorSelection, V as styleTags, m as bracketMatchingHandle, n as ExternalTokenizer, r as LRParser, s as LRLanguage, t as ContextTracker, u as LanguageSupport, w as foldNodeProp } from "./dist-U4F-tbMs.js";
|
|
2
2
|
var StartTag = 1, StartCloseTag = 2, MissingCloseTag = 3, mismatchedStartCloseTag = 4, incompleteStartCloseTag = 5, commentContent$1 = 36, piContent$1 = 37, cdataContent$1 = 38, Element$1 = 11, OpenTag = 13;
|
|
3
3
|
function nameChar(m) {
|
|
4
4
|
return m == 45 || m == 46 || m == 58 || m >= 65 && m <= 90 || m == 95 || m >= 97 && m <= 122 || m >= 161;
|
|
@@ -334,29 +334,29 @@ function elementName(m, V, H = m.length) {
|
|
|
334
334
|
let U = V.firstChild, W = U && U.getChild("TagName");
|
|
335
335
|
return W ? m.sliceString(W.from, Math.min(W.to, H)) : "";
|
|
336
336
|
}
|
|
337
|
-
var autoCloseTags = /* @__PURE__ */ EditorView.inputHandler.of((m,
|
|
338
|
-
if (m.composing || m.state.readOnly ||
|
|
337
|
+
var autoCloseTags = /* @__PURE__ */ EditorView.inputHandler.of((m, V, U, G, K) => {
|
|
338
|
+
if (m.composing || m.state.readOnly || V != U || G != ">" && G != "/" || !xmlLanguage.isActiveAt(m.state, V, -1)) return false;
|
|
339
339
|
let q = K(), { state: J } = q, Y = J.changeByRange((m2) => {
|
|
340
340
|
var _a, _b, _c;
|
|
341
|
-
let { head:
|
|
342
|
-
if (
|
|
343
|
-
let
|
|
344
|
-
if (((_b = (_a =
|
|
341
|
+
let { head: V2 } = m2, U2 = J.doc.sliceString(V2 - 1, V2) == G, K2 = syntaxTree(J).resolveInner(V2, -1), q2;
|
|
342
|
+
if (U2 && G == ">" && K2.name == "EndTag") {
|
|
343
|
+
let H = K2.parent;
|
|
344
|
+
if (((_b = (_a = H.parent) == null ? void 0 : _a.lastChild) == null ? void 0 : _b.name) != "CloseTag" && (q2 = elementName(J.doc, H.parent, V2))) return {
|
|
345
345
|
range: m2,
|
|
346
346
|
changes: {
|
|
347
|
-
from:
|
|
348
|
-
to:
|
|
347
|
+
from: V2,
|
|
348
|
+
to: V2 + (J.doc.sliceString(V2, V2 + 1) === ">" ? 1 : 0),
|
|
349
349
|
insert: `</${q2}>`
|
|
350
350
|
}
|
|
351
351
|
};
|
|
352
|
-
} else if (
|
|
352
|
+
} else if (U2 && G == "/" && K2.name == "StartCloseTag") {
|
|
353
353
|
let m3 = K2.parent;
|
|
354
|
-
if (K2.from ==
|
|
355
|
-
let m4 =
|
|
354
|
+
if (K2.from == V2 - 2 && ((_c = m3.lastChild) == null ? void 0 : _c.name) != "CloseTag" && (q2 = elementName(J.doc, m3, V2))) {
|
|
355
|
+
let m4 = V2 + (J.doc.sliceString(V2, V2 + 1) === ">" ? 1 : 0), H = `${q2}>`;
|
|
356
356
|
return {
|
|
357
|
-
range: EditorSelection.cursor(
|
|
357
|
+
range: EditorSelection.cursor(V2 + H.length, -1),
|
|
358
358
|
changes: {
|
|
359
|
-
from:
|
|
359
|
+
from: V2,
|
|
360
360
|
to: m4,
|
|
361
361
|
insert: H
|
|
362
362
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { H as tags, O as indentNodeProp, S as foldInside, V as styleTags, h as continuedIndent, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport, w as foldNodeProp } from "./dist-U4F-tbMs.js";
|
|
2
2
|
var closureParamDelim = 1, tpOpen = 2, tpClose = 3, RawString = 4, Float = 5, _b = 98, _e = 101, _f = 102, _r = 114, _E = 69, Zero = 48, Dot = 46, Plus = 43, Minus = 45, Hash = 35, Quote = 34, Pipe = 124, LessThan = 60, GreaterThan = 62;
|
|
3
3
|
function isNum(h) {
|
|
4
4
|
return h >= 48 && h <= 57;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./dist-
|
|
2
|
-
import { i as xmlLanguage, n as completeFromSchema, r as xml, t as autoCloseTags } from "./dist-
|
|
1
|
+
import "./dist-U4F-tbMs.js";
|
|
2
|
+
import { i as xmlLanguage, n as completeFromSchema, r as xml, t as autoCloseTags } from "./dist-DZo4nSS0.js";
|
|
3
3
|
export {
|
|
4
4
|
xml
|
|
5
5
|
};
|
|
@@ -3,7 +3,7 @@ import { m as useComposedRefs } from "./button-C5K9fIPF.js";
|
|
|
3
3
|
import { t as require_react } from "./react-DA-nE2FX.js";
|
|
4
4
|
import { t as require_react_dom } from "./react-dom-BTJzcVJ9.js";
|
|
5
5
|
import { t as require_jsx_runtime } from "./jsx-runtime-DebpN0FN.js";
|
|
6
|
-
import { _t as
|
|
6
|
+
import { _t as createContextScope, mt as useLayoutEffect2, ut as useCallbackRef, vt as Primitive } from "./zod-aLSua2NL.js";
|
|
7
7
|
/**
|
|
8
8
|
* @license lucide-react v0.563.0 - ISC
|
|
9
9
|
*
|
|
@@ -1180,9 +1180,9 @@ var arrow$1$1 = (e) => {
|
|
|
1180
1180
|
...arrow$1$1(e),
|
|
1181
1181
|
options: [e, a]
|
|
1182
1182
|
}), NAME = "Arrow", Arrow$1 = import_react.forwardRef((e, a) => {
|
|
1183
|
-
let { children: o, width: s = 10, height: c = 5, ...
|
|
1183
|
+
let { children: o, width: s = 10, height: c = 5, ...l } = e;
|
|
1184
1184
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Primitive.svg, {
|
|
1185
|
-
...
|
|
1185
|
+
...l,
|
|
1186
1186
|
ref: a,
|
|
1187
1187
|
width: s,
|
|
1188
1188
|
height: c,
|
|
@@ -1203,19 +1203,19 @@ var Root = Arrow$1, POPPER_NAME = "Popper", [createPopperContext, createPopperSc
|
|
|
1203
1203
|
};
|
|
1204
1204
|
Popper.displayName = POPPER_NAME;
|
|
1205
1205
|
var ANCHOR_NAME = "PopperAnchor", PopperAnchor = import_react.forwardRef((e, o) => {
|
|
1206
|
-
let { __scopePopper: s, virtualRef: c, ...
|
|
1206
|
+
let { __scopePopper: s, virtualRef: c, ...l } = e, u = usePopperContext(ANCHOR_NAME, s), d = import_react.useRef(null), p = useComposedRefs(o, d), m = import_react.useRef(null);
|
|
1207
1207
|
return import_react.useEffect(() => {
|
|
1208
1208
|
let e2 = m.current;
|
|
1209
|
-
m.current = (c == null ? void 0 : c.current) ||
|
|
1209
|
+
m.current = (c == null ? void 0 : c.current) || d.current, e2 !== m.current && u.onAnchorChange(m.current);
|
|
1210
1210
|
}), c ? null : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Primitive.div, {
|
|
1211
|
-
...
|
|
1211
|
+
...l,
|
|
1212
1212
|
ref: p
|
|
1213
1213
|
});
|
|
1214
1214
|
});
|
|
1215
1215
|
PopperAnchor.displayName = ANCHOR_NAME;
|
|
1216
1216
|
var CONTENT_NAME = "PopperContent", [PopperContentProvider, useContentContext] = createPopperContext(CONTENT_NAME), PopperContent = import_react.forwardRef((e, o) => {
|
|
1217
1217
|
var _a, _b, _c, _d, _e, _f;
|
|
1218
|
-
let { __scopePopper: s, side: c = "bottom", sideOffset:
|
|
1218
|
+
let { __scopePopper: s, side: c = "bottom", sideOffset: l = 0, align: p = "center", alignOffset: m = 0, arrowPadding: h = 0, avoidCollisions: g = true, collisionBoundary: _ = [], collisionPadding: v = 0, sticky: b = "partial", hideWhenDetached: x = false, updatePositionStrategy: C = "optimized", onPlaced: w, ...T } = e, E = usePopperContext(CONTENT_NAME, s), [O, k] = import_react.useState(null), A = useComposedRefs(o, (e2) => k(e2)), [j, M] = import_react.useState(null), N = useSize(j), P = (N == null ? void 0 : N.width) ?? 0, F = (N == null ? void 0 : N.height) ?? 0, I = c + (p === "center" ? "" : "-" + p), L = typeof v == "number" ? v : {
|
|
1219
1219
|
top: 0,
|
|
1220
1220
|
right: 0,
|
|
1221
1221
|
bottom: 0,
|
|
@@ -1232,7 +1232,7 @@ var CONTENT_NAME = "PopperContent", [PopperContentProvider, useContentContext] =
|
|
|
1232
1232
|
elements: { reference: E.anchor },
|
|
1233
1233
|
middleware: [
|
|
1234
1234
|
offset({
|
|
1235
|
-
mainAxis:
|
|
1235
|
+
mainAxis: l + F,
|
|
1236
1236
|
alignmentAxis: m
|
|
1237
1237
|
}),
|
|
1238
1238
|
g && shift({
|
|
@@ -1245,8 +1245,8 @@ var CONTENT_NAME = "PopperContent", [PopperContentProvider, useContentContext] =
|
|
|
1245
1245
|
size({
|
|
1246
1246
|
...B,
|
|
1247
1247
|
apply: ({ elements: e2, rects: a, availableWidth: o2, availableHeight: s2 }) => {
|
|
1248
|
-
let { width: c2, height:
|
|
1249
|
-
|
|
1248
|
+
let { width: c2, height: l2 } = a.reference, u = e2.floating.style;
|
|
1249
|
+
u.setProperty("--radix-popper-available-width", `${o2}px`), u.setProperty("--radix-popper-available-height", `${s2}px`), u.setProperty("--radix-popper-anchor-width", `${c2}px`), u.setProperty("--radix-popper-anchor-height", `${l2}px`);
|
|
1250
1250
|
}
|
|
1251
1251
|
}),
|
|
1252
1252
|
j && arrow({
|