@pstdio/ui 0.8.0 → 0.9.0
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/{MermaidComponent-D7Baqkwx.js → MermaidComponent-Cz_Iob5U.js} +56 -53
- package/dist/MermaidComponent-Cz_Iob5U.js.map +1 -0
- package/dist/chat-ui.js +117 -117
- package/dist/chat-ui.js.map +1 -1
- package/dist/components/data-renderer/data-renderer-board.d.ts +1 -0
- package/dist/components/data-renderer/data-renderer-card.d.ts +5 -20
- package/dist/components/data-renderer/data-renderer-grouping.d.ts +11 -10
- package/dist/components/data-renderer/data-renderer-helpers.d.ts +63 -15
- package/dist/components/data-renderer/data-renderer-list.d.ts +5 -8
- package/dist/components/data-renderer/data-renderer-toolbar.d.ts +12 -0
- package/dist/components/data-renderer/data-renderer.d.ts +12 -23
- package/dist/components/data-renderer/display-menu.d.ts +9 -8
- package/dist/components/data-renderer/filter-menu.d.ts +5 -4
- package/dist/components/data-renderer/types.d.ts +83 -49
- package/dist/components/data-renderer/use-data-renderer-store.d.ts +15 -11
- package/dist/components/data-renderer/use-resolved-attributes.d.ts +14 -0
- package/dist/components/diff-viewer/diff-card-body.d.ts +10 -0
- package/dist/components/diff-viewer/diff-card-content.d.ts +1 -0
- package/dist/components/diff-viewer/diff-card.d.ts +1 -0
- package/dist/components/diff-viewer/diff-size.d.ts +2 -0
- package/dist/components/icon-color-picker.d.ts +13 -0
- package/dist/components/list-row/list-row-content.d.ts +9 -0
- package/dist/components/list-row/list-row.types.d.ts +1 -0
- package/dist/components/rich-text/shared/lexical-code.d.ts +2 -0
- package/dist/components/rich-text/shared/plugins/CodePlugin/CodeBlockPlugin.d.ts +1 -1
- package/dist/components/rich-text/shared/prism-global.d.ts +2 -0
- package/dist/components/status-option-editor/index.d.ts +2 -0
- package/dist/components/status-option-editor/status-option-editor.d.ts +2 -0
- package/dist/components/status-option-editor/status-option-editor.types.d.ts +39 -0
- package/dist/components/status-option-editor/status-option-row.d.ts +16 -0
- package/dist/components/tab-strip/tab-visibility-filter.d.ts +19 -0
- package/dist/components/tab-strip/tab-visibility.store.d.ts +41 -0
- package/dist/components/tree-list/tree-list-model.d.ts +58 -0
- package/dist/components/tree-list/tree-list-node-row.d.ts +20 -0
- package/dist/components/tree-list/tree-list-order-filter.d.ts +3 -0
- package/dist/components/tree-list/tree-list-order.store.d.ts +42 -0
- package/dist/components/tree-list/tree-list-reorder.d.ts +13 -0
- package/dist/components/tree-list/tree-list-section-header.d.ts +14 -0
- package/dist/components/tree-list/tree-list-sortable.d.ts +22 -0
- package/dist/components/tree-list/tree-list-visibility-filter.d.ts +17 -0
- package/dist/components/tree-list/tree-list-visibility.store.d.ts +45 -0
- package/dist/components/tree-list/tree-list.d.ts +7 -27
- package/dist/components/tree-list/tree-list.types.d.ts +2 -0
- package/dist/components/tree-list/use-tree-list-keyboard-navigation.d.ts +15 -0
- package/dist/get-file-type-icon-ufFb0IkR.js +102 -0
- package/dist/get-file-type-icon-ufFb0IkR.js.map +1 -0
- package/dist/index.d.ts +22 -3
- package/dist/index.js +5171 -3890
- package/dist/index.js.map +1 -1
- package/dist/{rich-message-33DPxuWJ.js → rich-message-CEOSsdR2.js} +428 -421
- package/dist/rich-message-CEOSsdR2.js.map +1 -0
- package/dist/rich-text.js +26 -26
- package/dist/rich-text.js.map +1 -1
- package/dist/theme/custom/index.d.ts +0 -3
- package/dist/theme/index.d.ts +1 -1
- package/dist/theme/recipes/tabs.d.ts +30 -0
- package/dist/theme/tokens/colors.d.ts +6 -0
- package/dist/{theme-D-aCJqTf.js → theme-qP4YOZ2R.js} +197 -148
- package/dist/theme-qP4YOZ2R.js.map +1 -0
- package/dist/theme.js +2 -4
- package/dist/utils/browser-storage.d.ts +7 -0
- package/dist/utils/prism.d.ts +1 -0
- package/package.json +8 -3
- package/dist/MermaidComponent-D7Baqkwx.js.map +0 -1
- package/dist/components/data-renderer/tag-badge.d.ts +0 -10
- package/dist/components/data-renderer/tag-option-icon.d.ts +0 -2
- package/dist/get-file-type-icon-Bwqf1WXA.js +0 -101
- package/dist/get-file-type-icon-Bwqf1WXA.js.map +0 -1
- package/dist/rich-message-33DPxuWJ.js.map +0 -1
- package/dist/theme/custom/monokai.json.d.ts +0 -80
- package/dist/theme-D-aCJqTf.js.map +0 -1
package/dist/rich-text.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as n, jsxs as ie, Fragment as ft } from "react/jsx-runtime";
|
|
2
2
|
import { c as te } from "react/compiler-runtime";
|
|
3
|
-
import { T as Ke, e as We, a as Ve, C as Ge, I as qe, E as Ye, b as Xe, s as mt, n as ut, c as He, d as pt, f as ht } from "./rich-message-
|
|
4
|
-
import { D as co, g as fo, R as mo, P as uo, R as po, h as ho, i as go } from "./rich-message-
|
|
3
|
+
import { T as Ke, e as We, a as Ve, C as Ge, I as qe, E as Ye, b as Xe, s as mt, n as ut, c as He, d as pt, f as ht } from "./rich-message-CEOSsdR2.js";
|
|
4
|
+
import { D as co, g as fo, R as mo, P as uo, R as po, h as ho, i as go } from "./rich-message-CEOSsdR2.js";
|
|
5
5
|
import { IconButton as F, Text as me, Stack as Pe, Box as $e, Flex as Ae, Input as gt, Link as bt } from "@chakra-ui/react";
|
|
6
6
|
import { LexicalCollaboration as vt } from "@lexical/react/LexicalCollaborationContext";
|
|
7
7
|
import { CollaborationPluginV2__EXPERIMENTAL as Ct } from "@lexical/react/LexicalCollaborationPlugin";
|
|
@@ -15,13 +15,13 @@ import { TabIndentationPlugin as ot } from "@lexical/react/LexicalTabIndentation
|
|
|
15
15
|
import { useState as B, useRef as oe, useEffect as q, useLayoutEffect as _t } from "react";
|
|
16
16
|
import { WebsocketProvider as Et } from "y-websocket";
|
|
17
17
|
import * as kt from "yjs";
|
|
18
|
-
import { $isCodeNode as Te, $createCodeNode as Lt } from "@lexical/code";
|
|
19
18
|
import { useLexicalComposerContext as De } from "@lexical/react/LexicalComposerContext";
|
|
20
19
|
import { mergeRegister as Le, $findMatchingParent as Z } from "@lexical/utils";
|
|
21
|
-
import { SELECTION_CHANGE_COMMAND as Se, COMMAND_PRIORITY_CRITICAL as Oe, $getSelection as ee, $isRangeSelection as Q, FORMAT_TEXT_COMMAND as
|
|
22
|
-
import { Check as rt, Copy as
|
|
20
|
+
import { SELECTION_CHANGE_COMMAND as Se, COMMAND_PRIORITY_CRITICAL as Oe, $getSelection as ee, $isRangeSelection as Q, FORMAT_TEXT_COMMAND as Te, $isRootOrShadowRoot as Lt, CLICK_COMMAND as it, COMMAND_PRIORITY_HIGH as lt, $createParagraphNode as Fe, COMMAND_PRIORITY_LOW as Be, KEY_ESCAPE_COMMAND as St, $isLineBreakNode as yt, $setSelection as xt, $getRoot as Tt } from "lexical";
|
|
21
|
+
import { Check as rt, Copy as Rt, Link as wt, Code2 as Nt, List as It, ListOrdered as Pt, ListTodo as At, X as Bt, Pencil as zt, Trash2 as Mt } from "lucide-react";
|
|
23
22
|
import { createPortal as Ue } from "react-dom";
|
|
24
|
-
import { T as j } from "./get-file-type-icon-
|
|
23
|
+
import { T as j } from "./get-file-type-icon-ufFb0IkR.js";
|
|
24
|
+
import { $isCodeNode as Re, $createCodeNode as $t } from "@lexical/code";
|
|
25
25
|
import { $isLinkNode as le, $isAutoLinkNode as pe, TOGGLE_LINK_COMMAND as ze, $createLinkNode as Dt } from "@lexical/link";
|
|
26
26
|
import { $isListNode as we, REMOVE_LIST_COMMAND as Ot, INSERT_CHECK_LIST_COMMAND as Ut, INSERT_ORDERED_LIST_COMMAND as Ht, INSERT_UNORDERED_LIST_COMMAND as Ft } from "@lexical/list";
|
|
27
27
|
import { $isHeadingNode as jt, $createHeadingNode as Kt } from "@lexical/rich-text";
|
|
@@ -35,8 +35,8 @@ function Ne(t) {
|
|
|
35
35
|
const e = ee();
|
|
36
36
|
if (!Q(e))
|
|
37
37
|
return null;
|
|
38
|
-
const r = e.anchor.getNode(), o =
|
|
39
|
-
if (!
|
|
38
|
+
const r = e.anchor.getNode(), o = Re(r) ? r : Z(r, (m) => Re(m));
|
|
39
|
+
if (!Re(o))
|
|
40
40
|
return null;
|
|
41
41
|
const l = t.getElementByKey(o.getKey());
|
|
42
42
|
return l instanceof HTMLElement ? l : null;
|
|
@@ -117,7 +117,7 @@ function st(t) {
|
|
|
117
117
|
}
|
|
118
118
|
}, e[14] = l.textContent, e[15] = i) : i = e[15];
|
|
119
119
|
let s;
|
|
120
|
-
e[16] !== L ? (s = L ? /* @__PURE__ */ n(rt, { size: 14 }) : /* @__PURE__ */ n(
|
|
120
|
+
e[16] !== L ? (s = L ? /* @__PURE__ */ n(rt, { size: 14 }) : /* @__PURE__ */ n(Rt, { size: 14 }), e[16] = L, e[17] = s) : s = e[17];
|
|
121
121
|
let f;
|
|
122
122
|
e[18] !== d || e[19] !== i || e[20] !== s ? (f = /* @__PURE__ */ n(F, { "aria-label": d, variant: "surface", size: "xs", onClick: i, children: s }), e[18] = d, e[19] = i, e[20] = s, e[21] = f) : f = e[21];
|
|
123
123
|
let y;
|
|
@@ -169,28 +169,28 @@ function nn(t) {
|
|
|
169
169
|
insertLink: b
|
|
170
170
|
} = t, h = l || void 0;
|
|
171
171
|
let C;
|
|
172
|
-
e[0] !== r ? (C = () => r.dispatchCommand(
|
|
172
|
+
e[0] !== r ? (C = () => r.dispatchCommand(Te, "bold"), e[0] = r, e[1] = C) : C = e[1];
|
|
173
173
|
let R;
|
|
174
174
|
e[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (R = /* @__PURE__ */ n(me, { fontWeight: "bold", fontSize: ".75rem", children: "B" }), e[2] = R) : R = e[2];
|
|
175
175
|
let c;
|
|
176
176
|
e[3] !== h || e[4] !== C ? (c = /* @__PURE__ */ n(j, { content: "Bold", children: /* @__PURE__ */ n(F, { "data-active": h, onClick: C, variant: "ghost", "aria-label": "Bold", size: "xs", children: R }) }), e[3] = h, e[4] = C, e[5] = c) : c = e[5];
|
|
177
177
|
const w = m || void 0;
|
|
178
178
|
let v;
|
|
179
|
-
e[6] !== r ? (v = () => r.dispatchCommand(
|
|
179
|
+
e[6] !== r ? (v = () => r.dispatchCommand(Te, "italic"), e[6] = r, e[7] = v) : v = e[7];
|
|
180
180
|
let S;
|
|
181
181
|
e[8] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (S = /* @__PURE__ */ n(me, { fontStyle: "italic", fontSize: ".75rem", children: "I" }), e[8] = S) : S = e[8];
|
|
182
182
|
let g;
|
|
183
183
|
e[9] !== w || e[10] !== v ? (g = /* @__PURE__ */ n(j, { content: "Italic", children: /* @__PURE__ */ n(F, { "data-active": w, onClick: v, variant: "ghost", "aria-label": "Italic", size: "xs", children: S }) }), e[9] = w, e[10] = v, e[11] = g) : g = e[11];
|
|
184
184
|
const d = L || void 0;
|
|
185
185
|
let i;
|
|
186
|
-
e[12] !== r ? (i = () => r.dispatchCommand(
|
|
186
|
+
e[12] !== r ? (i = () => r.dispatchCommand(Te, "underline"), e[12] = r, e[13] = i) : i = e[13];
|
|
187
187
|
let s;
|
|
188
188
|
e[14] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (s = /* @__PURE__ */ n(me, { textDecoration: "underline", fontSize: ".75rem", children: "U" }), e[14] = s) : s = e[14];
|
|
189
189
|
let f;
|
|
190
190
|
e[15] !== d || e[16] !== i ? (f = /* @__PURE__ */ n(j, { content: "Underline", children: /* @__PURE__ */ n(F, { "data-active": d, onClick: i, variant: "ghost", "aria-label": "Underline", size: "xs", children: s }) }), e[15] = d, e[16] = i, e[17] = f) : f = e[17];
|
|
191
191
|
const y = u ? "Remove Link" : "Insert Link", x = u || void 0, T = u ? "Remove Link" : "Insert Link";
|
|
192
192
|
let _;
|
|
193
|
-
e[18] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (_ = /* @__PURE__ */ n(
|
|
193
|
+
e[18] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (_ = /* @__PURE__ */ n(wt, { size: 14 }), e[18] = _) : _ = e[18];
|
|
194
194
|
let k;
|
|
195
195
|
e[19] !== b || e[20] !== x || e[21] !== T ? (k = /* @__PURE__ */ n(F, { "data-active": x, variant: "ghost", "aria-label": T, size: "xs", onClick: b, children: _ }), e[19] = b, e[20] = x, e[21] = T, e[22] = k) : k = e[22];
|
|
196
196
|
let N;
|
|
@@ -222,7 +222,7 @@ function nn(t) {
|
|
|
222
222
|
e[45] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (G = /* @__PURE__ */ n(Ie, {}), e[45] = G) : G = e[45];
|
|
223
223
|
const J = o === "code" || void 0;
|
|
224
224
|
let Y;
|
|
225
|
-
e[46] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Y = /* @__PURE__ */ n(
|
|
225
|
+
e[46] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Y = /* @__PURE__ */ n(Nt, { size: 14 }), e[46] = Y) : Y = e[46];
|
|
226
226
|
let X;
|
|
227
227
|
e[47] !== E || e[48] !== J ? (X = /* @__PURE__ */ n(j, { content: "Code Block", children: /* @__PURE__ */ n(F, { "data-active": J, variant: "ghost", "aria-label": "Code Block", size: "xs", onClick: E, children: Y }) }), e[47] = E, e[48] = J, e[49] = X) : X = e[49];
|
|
228
228
|
let re;
|
|
@@ -231,21 +231,21 @@ function nn(t) {
|
|
|
231
231
|
let ne;
|
|
232
232
|
e[51] !== p ? (ne = () => p("bullet"), e[51] = p, e[52] = ne) : ne = e[52];
|
|
233
233
|
let ge;
|
|
234
|
-
e[53] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (ge = /* @__PURE__ */ n(
|
|
234
|
+
e[53] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (ge = /* @__PURE__ */ n(It, { size: 14 }), e[53] = ge) : ge = e[53];
|
|
235
235
|
let se;
|
|
236
236
|
e[54] !== ue || e[55] !== ne ? (se = /* @__PURE__ */ n(j, { content: "Bulleted List", children: /* @__PURE__ */ n(F, { "data-active": ue, variant: "ghost", "aria-label": "Bulleted List", size: "xs", onClick: ne, children: ge }) }), e[54] = ue, e[55] = ne, e[56] = se) : se = e[56];
|
|
237
237
|
const ye = o === "number" || void 0;
|
|
238
238
|
let ae;
|
|
239
239
|
e[57] !== p ? (ae = () => p("number"), e[57] = p, e[58] = ae) : ae = e[58];
|
|
240
240
|
let be;
|
|
241
|
-
e[59] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (be = /* @__PURE__ */ n(
|
|
241
|
+
e[59] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (be = /* @__PURE__ */ n(Pt, { size: 14 }), e[59] = be) : be = e[59];
|
|
242
242
|
let ce;
|
|
243
243
|
e[60] !== ye || e[61] !== ae ? (ce = /* @__PURE__ */ n(j, { content: "Numbered List", children: /* @__PURE__ */ n(F, { "data-active": ye, variant: "ghost", "aria-label": "Numbered List", size: "xs", onClick: ae, children: be }) }), e[60] = ye, e[61] = ae, e[62] = ce) : ce = e[62];
|
|
244
244
|
const xe = o === "check" || void 0;
|
|
245
245
|
let de;
|
|
246
246
|
e[63] !== p ? (de = () => p("check"), e[63] = p, e[64] = de) : de = e[64];
|
|
247
247
|
let ve;
|
|
248
|
-
e[65] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (ve = /* @__PURE__ */ n(
|
|
248
|
+
e[65] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (ve = /* @__PURE__ */ n(At, { size: 14 }), e[65] = ve) : ve = e[65];
|
|
249
249
|
let fe;
|
|
250
250
|
e[66] !== xe || e[67] !== de ? (fe = /* @__PURE__ */ n(j, { content: "Check List", children: /* @__PURE__ */ n(F, { "data-active": xe, variant: "ghost", "aria-label": "Check List", size: "xs", onClick: de, children: ve }) }), e[66] = xe, e[67] = de, e[68] = fe) : fe = e[68];
|
|
251
251
|
let Ce;
|
|
@@ -281,7 +281,7 @@ const on = {
|
|
|
281
281
|
quote: "Quote"
|
|
282
282
|
}, ln = (t) => t in on ? t : null, rn = (t) => (t.getKey() === "root" ? t : Z(t, (r) => {
|
|
283
283
|
const o = r.getParent();
|
|
284
|
-
return o !== null &&
|
|
284
|
+
return o !== null && Lt(o);
|
|
285
285
|
})) ?? t.getTopLevelElementOrThrow(), sn = (t) => {
|
|
286
286
|
const e = rn(t);
|
|
287
287
|
if (we(e))
|
|
@@ -342,7 +342,7 @@ function dn({
|
|
|
342
342
|
_e(i, Fe);
|
|
343
343
|
return;
|
|
344
344
|
}
|
|
345
|
-
_e(i, () =>
|
|
345
|
+
_e(i, () => $t());
|
|
346
346
|
}
|
|
347
347
|
});
|
|
348
348
|
}, g = () => {
|
|
@@ -562,7 +562,7 @@ function pn(t) {
|
|
|
562
562
|
let f;
|
|
563
563
|
e[2] !== l || e[3] !== a || e[4] !== E || e[5] !== i || e[6] !== s ? (f = /* @__PURE__ */ n(gt, { ref: a, className: "link-editor-url-field", size: "sm", fontSize: "sm", value: l, placeholder: "https://", "aria-label": "Link URL", "aria-invalid": i, onChange: s, onKeyDown: E }), e[2] = l, e[3] = a, e[4] = E, e[5] = i, e[6] = s, e[7] = f) : f = e[7];
|
|
564
564
|
let y;
|
|
565
|
-
e[8] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (y = /* @__PURE__ */ n(
|
|
565
|
+
e[8] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (y = /* @__PURE__ */ n(Bt, { size: 14 }), e[8] = y) : y = e[8];
|
|
566
566
|
let x;
|
|
567
567
|
e[9] !== b ? (x = /* @__PURE__ */ n(j, { content: "Cancel", children: /* @__PURE__ */ n(F, { variant: "ghost", size: "xs", "aria-label": "Cancel link edit", onMouseDown: Ee, onClick: b, children: y }) }), e[9] = b, e[10] = x) : x = e[10];
|
|
568
568
|
const T = !m;
|
|
@@ -580,11 +580,11 @@ function pn(t) {
|
|
|
580
580
|
let c;
|
|
581
581
|
e[19] !== u || e[20] !== L ? (c = /* @__PURE__ */ n(bt, { href: u, target: "_blank", rel: "noopener noreferrer", className: "link-editor-url-field", fontSize: "sm", textDecoration: "underline", px: "2", truncate: !0, children: L }), e[19] = u, e[20] = L, e[21] = c) : c = e[21];
|
|
582
582
|
let w;
|
|
583
|
-
e[22] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (w = /* @__PURE__ */ n(
|
|
583
|
+
e[22] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (w = /* @__PURE__ */ n(zt, { size: 14 }), e[22] = w) : w = e[22];
|
|
584
584
|
let v;
|
|
585
585
|
e[23] !== C ? (v = /* @__PURE__ */ n(j, { content: "Edit link", children: /* @__PURE__ */ n(F, { variant: "ghost", size: "xs", "aria-label": "Edit link", onMouseDown: Ee, onClick: C, children: w }) }), e[23] = C, e[24] = v) : v = e[24];
|
|
586
586
|
let S;
|
|
587
|
-
e[25] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (S = /* @__PURE__ */ n(
|
|
587
|
+
e[25] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (S = /* @__PURE__ */ n(Mt, { size: 14 }), e[25] = S) : S = e[25];
|
|
588
588
|
let g;
|
|
589
589
|
e[26] !== R ? (g = /* @__PURE__ */ n(j, { content: "Remove link", children: /* @__PURE__ */ n(F, { variant: "ghost", size: "xs", "aria-label": "Remove link", onMouseDown: Ee, onClick: R, children: S }) }), e[26] = R, e[27] = g) : g = e[27];
|
|
590
590
|
let d;
|
|
@@ -663,7 +663,7 @@ function vn({
|
|
|
663
663
|
d.read(() => {
|
|
664
664
|
a.current();
|
|
665
665
|
});
|
|
666
|
-
}), t.registerCommand(Se, () => (a.current(), !0), Be), t.registerCommand(
|
|
666
|
+
}), t.registerCommand(Se, () => (a.current(), !0), Be), t.registerCommand(St, () => e ? (r(!1), !0) : !1, lt)), [t, r, e]), q(() => {
|
|
667
667
|
t.getEditorState().read(() => {
|
|
668
668
|
a.current();
|
|
669
669
|
});
|
|
@@ -680,7 +680,7 @@ function vn({
|
|
|
680
680
|
h("https://"), m(!1);
|
|
681
681
|
}, g = () => {
|
|
682
682
|
C === null || !w || (t.update(() => {
|
|
683
|
-
|
|
683
|
+
xt(C);
|
|
684
684
|
}), t.dispatchCommand(ze, Me(b)), t.update(() => {
|
|
685
685
|
const d = ee();
|
|
686
686
|
if (Q(d)) {
|
|
@@ -745,7 +745,7 @@ function _n(t) {
|
|
|
745
745
|
return !1;
|
|
746
746
|
}
|
|
747
747
|
function En(t) {
|
|
748
|
-
return !
|
|
748
|
+
return !yt(t);
|
|
749
749
|
}
|
|
750
750
|
function kn(t) {
|
|
751
751
|
const {
|
|
@@ -816,7 +816,7 @@ function io(t) {
|
|
|
816
816
|
let H;
|
|
817
817
|
e[33] !== c || e[34] !== a || e[35] !== v ? (H = v ? /* @__PURE__ */ n(Xt, { ignoreSelectionChange: !0, ignoreHistoryMergeTagChange: !1, onChange: (re) => {
|
|
818
818
|
re.read(() => {
|
|
819
|
-
const ue =
|
|
819
|
+
const ue = Tt(), ne = Vt(He, ue);
|
|
820
820
|
a?.(c + ne);
|
|
821
821
|
});
|
|
822
822
|
} }) : null, e[33] = c, e[34] = a, e[35] = v, e[36] = H) : H = e[36];
|