@tangle-network/sandbox-ui 0.137.0 → 0.137.2
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/{WorkflowGraph-BcuJ0kgt.js → WorkflowGraph-DXmu60At.js} +4 -7
- package/dist/assets.d.ts +0 -18
- package/dist/assets.js +9 -17
- package/dist/{auth-CWe17Hly.js → auth-BDpoZ_2f.js} +1 -2
- package/dist/auth.d.ts +1 -1
- package/dist/auth.js +1 -2
- package/dist/{chat-_aHUfqtH.js → chat-Cw13rqn9.js} +7 -13
- package/dist/chat.d.ts +1 -1
- package/dist/chat.js +1 -2
- package/dist/{connections-C5DxYxvz.js → connections-DymjzHe_.js} +1 -2
- package/dist/connections.d.ts +1 -1
- package/dist/connections.js +1 -2
- package/dist/connectors.d.ts +0 -10
- package/dist/connectors.js +5 -9
- package/dist/{dashboard-SFakZEtu.js → dashboard-ClKA3opr.js} +31 -55
- package/dist/dashboard.d.ts +3 -3
- package/dist/dashboard.js +3 -3
- package/dist/editor.js +1 -2
- package/dist/{embedded-app-view-CYb9hevq.js → embedded-app-view-DXsoPale.js} +5 -8
- package/dist/{embedded-app-view-B_vMTtJn.d.ts → embedded-app-view-Ta5GI4hx.d.ts} +0 -4
- package/dist/files.js +1 -2
- package/dist/hooks.d.ts +3 -7
- package/dist/hooks.js +4 -6
- package/dist/{index-QBCEflyf.d.ts → index-4KFqFK1f.d.ts} +0 -6
- package/dist/{index-C61CTrhx.d.ts → index-B1oEiBks.d.ts} +0 -36
- package/dist/{index-DsU8ts9f.d.ts → index-BAEvGqrn.d.ts} +0 -4
- package/dist/{index-DvmZLMT1.d.ts → index-BbfWVtZq.d.ts} +0 -2
- package/dist/{index-ClRHbsoX.d.ts → index-DLX35YAa.d.ts} +0 -2
- package/dist/{index-AVDzT8Jw.d.ts → index-DRDtTgb0.d.ts} +2 -54
- package/dist/{index-ByzdHyte.d.ts → index-T4-5mWTq.d.ts} +2 -24
- package/dist/{index-DGil6iqm.d.ts → index-y2OPUSoY.d.ts} +0 -4
- package/dist/index.d.ts +15 -15
- package/dist/index.js +15 -16
- package/dist/integrations.d.ts +0 -14
- package/dist/integrations.js +6 -11
- package/dist/markdown.js +1 -2
- package/dist/{model-brand-B57CV8Lg.d.ts → model-brand-ZwVS49Fq.d.ts} +0 -2
- package/dist/{model-brand-BSr9on8C.js → model-brand-bTcMjQtB.js} +34 -67
- package/dist/{motion-D4njYpys.js → motion-Bn7ESHrj.js} +1 -2
- package/dist/{node-output-fuk0NV0V.js → node-output-udnwhShN.js} +9 -16
- package/dist/openui.js +1 -2
- package/dist/{page-layout-2IRtfx51.js → page-layout-CuOpvZys.js} +5 -9
- package/dist/pages.d.ts +2 -14
- package/dist/pages.js +9 -15
- package/dist/{primitives-CLOVnjWz.js → primitives-CiwDp4-0.js} +4 -7
- package/dist/primitives.d.ts +1 -1
- package/dist/primitives.js +1 -2
- package/dist/{provider-logo-BGCziCbM.js → provider-logo-CPKRPHcS.js} +1 -2
- package/dist/{rolldown-runtime-BBjsoOtd.js → rolldown-runtime-782esTHO.js} +1 -2
- package/dist/run.js +1 -2
- package/dist/sdk-hooks.d.ts +1 -1
- package/dist/sdk-hooks.js +1 -1
- package/dist/{shell-header-CTh3oV_e.js → shell-header-CwqDzC4I.js} +2 -3
- package/dist/{sidecar-DgH_vQ6m.d.ts → sidecar-CNP4zXop.d.ts} +0 -2
- package/dist/stores.d.ts +0 -2
- package/dist/stores.js +1 -2
- package/dist/{terminal-X6r5pjgv.js → terminal-nUCznZRj.js} +3 -5
- package/dist/terminal.d.ts +1 -3
- package/dist/terminal.js +1 -2
- package/dist/{tree-data-DtoCNNBJ.js → tree-data-YXtcK6Ld.js} +2 -4
- package/dist/types.d.ts +1 -1
- package/dist/{usage-chart-BjM8ShvX.d.ts → usage-chart-BFpdkqNq.d.ts} +0 -6
- package/dist/{use-pty-session-B5Q_i9RI.js → use-pty-session-BHVQlSs-.js} +1 -2
- package/dist/{use-pty-session-DbAYO5uH.d.ts → use-pty-session-DSgtQyYX.d.ts} +0 -2
- package/dist/{use-sidecar-auth-CCTJcrq7.d.ts → use-sidecar-auth-CPevSSEj.d.ts} +0 -4
- package/dist/{use-sidecar-auth-DkdcufOz.js → use-sidecar-auth-DpG0aWQ3.js} +3 -6
- package/dist/utils-BER_bdgE.js +1 -0
- package/dist/utils.js +1 -2
- package/dist/vault-tree.d.ts +1 -1
- package/dist/vault-tree.js +1 -2
- package/dist/workbench/embedded-app.d.ts +1 -1
- package/dist/workbench/embedded-app.js +1 -2
- package/dist/{workbench-BdW-YQ68.js → workbench-GDuy3rB5.js} +96 -185
- package/dist/workbench.d.ts +2 -2
- package/dist/workbench.js +2 -2
- package/dist/workflows.d.ts +1 -13
- package/dist/workflows.js +4 -5
- package/dist/{workspace-Bg1MFr9I.js → workspace-Cpgyw5N7.js} +25 -39
- package/dist/workspace.d.ts +1 -1
- package/dist/workspace.js +2 -2
- package/package.json +28 -28
- package/dist/utils-DzWbktWG.js +0 -2
|
@@ -1,18 +1,17 @@
|
|
|
1
|
-
import { t as __exportAll } from "./rolldown-runtime-
|
|
2
|
-
import { t as cn$1 } from "./utils-
|
|
3
|
-
import { a as PortsList } from "./dashboard-
|
|
4
|
-
import { n as TerminalView } from "./terminal-
|
|
1
|
+
import { t as __exportAll } from "./rolldown-runtime-782esTHO.js";
|
|
2
|
+
import { t as cn$1 } from "./utils-BER_bdgE.js";
|
|
3
|
+
import { a as PortsList } from "./dashboard-ClKA3opr.js";
|
|
4
|
+
import { n as TerminalView } from "./terminal-nUCznZRj.js";
|
|
5
5
|
import { RichFileTree } from "./files.js";
|
|
6
|
-
import { n as PreviewView } from "./embedded-app-view-
|
|
6
|
+
import { n as PreviewView } from "./embedded-app-view-DXsoPale.js";
|
|
7
7
|
import { Button, Skeleton, Textarea } from "@tangle-network/ui/primitives";
|
|
8
8
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
9
|
-
import * as React$1 from "react";
|
|
10
|
-
import React from "react";
|
|
9
|
+
import React, * as React$1 from "react";
|
|
11
10
|
import { Check, ChevronRight, Code2, Copy, FileCode2, GitBranch, GitCompare, Globe, Network, RefreshCw, SquareTerminal } from "lucide-react";
|
|
12
11
|
import { focusRing, focusRingInset } from "@tangle-network/ui/utils";
|
|
13
12
|
import { FileDiff, getSingularPatch } from "@pierre/diffs";
|
|
14
13
|
import { createTwoFilesPatch, diffLines } from "diff";
|
|
15
|
-
|
|
14
|
+
// src/workbench/pill-tabs.tsx
|
|
16
15
|
/**
|
|
17
16
|
* Sliding-pill segmented control. Reimplemented from blueprint-agent's
|
|
18
17
|
* framer-motion `PillTabs` with a measured CSS transform instead — no motion
|
|
@@ -126,8 +125,7 @@ function PillTabs({ items, value, onChange, className, "aria-label": ariaLabel,
|
|
|
126
125
|
})]
|
|
127
126
|
});
|
|
128
127
|
}
|
|
129
|
-
|
|
130
|
-
//#region src/workbench/panel-header.tsx
|
|
128
|
+
// src/workbench/panel-header.tsx
|
|
131
129
|
const GIT_STATUS_META = {
|
|
132
130
|
added: {
|
|
133
131
|
label: "Added",
|
|
@@ -222,8 +220,7 @@ function PanelHeader({ filename, gitStatus, stats, copyText, children, className
|
|
|
222
220
|
]
|
|
223
221
|
});
|
|
224
222
|
}
|
|
225
|
-
|
|
226
|
-
//#region node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
|
|
223
|
+
// node_modules/.pnpm/@babel+runtime@7.29.10/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
|
|
227
224
|
function _objectWithoutPropertiesLoose(r, e) {
|
|
228
225
|
if (null == r) return {};
|
|
229
226
|
var t = {};
|
|
@@ -233,8 +230,7 @@ function _objectWithoutPropertiesLoose(r, e) {
|
|
|
233
230
|
}
|
|
234
231
|
return t;
|
|
235
232
|
}
|
|
236
|
-
|
|
237
|
-
//#region node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
|
|
233
|
+
// node_modules/.pnpm/@babel+runtime@7.29.10/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
|
|
238
234
|
function _objectWithoutProperties(e, t) {
|
|
239
235
|
if (null == e) return {};
|
|
240
236
|
var o, r, i = _objectWithoutPropertiesLoose(e, t);
|
|
@@ -244,25 +240,21 @@ function _objectWithoutProperties(e, t) {
|
|
|
244
240
|
}
|
|
245
241
|
return i;
|
|
246
242
|
}
|
|
247
|
-
|
|
248
|
-
//#region node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
|
|
243
|
+
// node_modules/.pnpm/@babel+runtime@7.29.10/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
|
|
249
244
|
function _arrayLikeToArray(r, a) {
|
|
250
245
|
(null == a || a > r.length) && (a = r.length);
|
|
251
246
|
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
|
|
252
247
|
return n;
|
|
253
248
|
}
|
|
254
|
-
|
|
255
|
-
//#region node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
|
|
249
|
+
// node_modules/.pnpm/@babel+runtime@7.29.10/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
|
|
256
250
|
function _arrayWithoutHoles(r) {
|
|
257
251
|
if (Array.isArray(r)) return _arrayLikeToArray(r);
|
|
258
252
|
}
|
|
259
|
-
|
|
260
|
-
//#region node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/iterableToArray.js
|
|
253
|
+
// node_modules/.pnpm/@babel+runtime@7.29.10/node_modules/@babel/runtime/helpers/esm/iterableToArray.js
|
|
261
254
|
function _iterableToArray(r) {
|
|
262
255
|
if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
|
|
263
256
|
}
|
|
264
|
-
|
|
265
|
-
//#region node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
|
257
|
+
// node_modules/.pnpm/@babel+runtime@7.29.10/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
|
266
258
|
function _unsupportedIterableToArray(r, a) {
|
|
267
259
|
if (r) {
|
|
268
260
|
if ("string" == typeof r) return _arrayLikeToArray(r, a);
|
|
@@ -270,18 +262,15 @@ function _unsupportedIterableToArray(r, a) {
|
|
|
270
262
|
return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
|
|
271
263
|
}
|
|
272
264
|
}
|
|
273
|
-
|
|
274
|
-
//#region node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
|
|
265
|
+
// node_modules/.pnpm/@babel+runtime@7.29.10/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
|
|
275
266
|
function _nonIterableSpread() {
|
|
276
267
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
277
268
|
}
|
|
278
|
-
|
|
279
|
-
//#region node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
|
|
269
|
+
// node_modules/.pnpm/@babel+runtime@7.29.10/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
|
|
280
270
|
function _toConsumableArray(r) {
|
|
281
271
|
return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
|
|
282
272
|
}
|
|
283
|
-
|
|
284
|
-
//#region node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
273
|
+
// node_modules/.pnpm/@babel+runtime@7.29.10/node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
285
274
|
function _typeof(o) {
|
|
286
275
|
"@babel/helpers - typeof";
|
|
287
276
|
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
|
|
@@ -290,26 +279,23 @@ function _typeof(o) {
|
|
|
290
279
|
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
291
280
|
}, _typeof(o);
|
|
292
281
|
}
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
function toPrimitive(t, r) {
|
|
282
|
+
// node_modules/.pnpm/@babel+runtime@7.29.10/node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
|
283
|
+
function toPrimitive(t, e) {
|
|
296
284
|
if ("object" != _typeof(t) || !t) return t;
|
|
297
|
-
var
|
|
298
|
-
if (void 0 !==
|
|
299
|
-
var i =
|
|
285
|
+
var r;
|
|
286
|
+
if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) {
|
|
287
|
+
var i = r.call(t, e || "default");
|
|
300
288
|
if ("object" != _typeof(i)) return i;
|
|
301
289
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
302
290
|
}
|
|
303
|
-
return ("string" ===
|
|
291
|
+
return ("string" === e ? String : Number)(t);
|
|
304
292
|
}
|
|
305
|
-
|
|
306
|
-
//#region node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
|
293
|
+
// node_modules/.pnpm/@babel+runtime@7.29.10/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
|
307
294
|
function toPropertyKey(t) {
|
|
308
295
|
var i = toPrimitive(t, "string");
|
|
309
296
|
return "symbol" == _typeof(i) ? i : i + "";
|
|
310
297
|
}
|
|
311
|
-
|
|
312
|
-
//#region node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
298
|
+
// node_modules/.pnpm/@babel+runtime@7.29.10/node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
313
299
|
function _defineProperty(e, r, t) {
|
|
314
300
|
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
315
301
|
value: t,
|
|
@@ -318,8 +304,7 @@ function _defineProperty(e, r, t) {
|
|
|
318
304
|
writable: !0
|
|
319
305
|
}) : e[r] = t, e;
|
|
320
306
|
}
|
|
321
|
-
|
|
322
|
-
//#region node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js
|
|
307
|
+
// node_modules/.pnpm/@babel+runtime@7.29.10/node_modules/@babel/runtime/helpers/esm/extends.js
|
|
323
308
|
function _extends() {
|
|
324
309
|
return _extends = Object.assign ? Object.assign.bind() : function(n) {
|
|
325
310
|
for (var e = 1; e < arguments.length; e++) {
|
|
@@ -329,8 +314,7 @@ function _extends() {
|
|
|
329
314
|
return n;
|
|
330
315
|
}, _extends.apply(null, arguments);
|
|
331
316
|
}
|
|
332
|
-
|
|
333
|
-
//#region node_modules/.pnpm/react-syntax-highlighter@16.1.1_react@19.3.0/node_modules/react-syntax-highlighter/dist/esm/create-element.js
|
|
317
|
+
// node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/esm/create-element.js
|
|
334
318
|
function ownKeys$1(e, r) {
|
|
335
319
|
var t = Object.keys(e);
|
|
336
320
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -506,13 +490,11 @@ function createElement(_ref) {
|
|
|
506
490
|
return /*#__PURE__*/ React.createElement(TagName, _extends({ key }, props), children);
|
|
507
491
|
}
|
|
508
492
|
}
|
|
509
|
-
|
|
510
|
-
//#region node_modules/.pnpm/react-syntax-highlighter@16.1.1_react@19.3.0/node_modules/react-syntax-highlighter/dist/esm/checkForListedLanguage.js
|
|
493
|
+
// node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/esm/checkForListedLanguage.js
|
|
511
494
|
var checkForListedLanguage_default = (function(astGenerator, language) {
|
|
512
495
|
return astGenerator.listLanguages().indexOf(language) !== -1;
|
|
513
496
|
});
|
|
514
|
-
|
|
515
|
-
//#region node_modules/.pnpm/react-syntax-highlighter@16.1.1_react@19.3.0/node_modules/react-syntax-highlighter/dist/esm/highlight.js
|
|
497
|
+
// node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/esm/highlight.js
|
|
516
498
|
var _excluded = [
|
|
517
499
|
"language",
|
|
518
500
|
"children",
|
|
@@ -810,8 +792,7 @@ function highlight_default(defaultAstGenerator, defaultStyle) {
|
|
|
810
792
|
})));
|
|
811
793
|
};
|
|
812
794
|
}
|
|
813
|
-
|
|
814
|
-
//#region node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/util/schema.js
|
|
795
|
+
// node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/util/schema.js
|
|
815
796
|
/**
|
|
816
797
|
* @import {Schema as SchemaType, Space} from 'property-information'
|
|
817
798
|
*/
|
|
@@ -836,8 +817,7 @@ var Schema = class {
|
|
|
836
817
|
Schema.prototype.normal = {};
|
|
837
818
|
Schema.prototype.property = {};
|
|
838
819
|
Schema.prototype.space = void 0;
|
|
839
|
-
|
|
840
|
-
//#region node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/util/merge.js
|
|
820
|
+
// node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/util/merge.js
|
|
841
821
|
/**
|
|
842
822
|
* @import {Info, Space} from 'property-information'
|
|
843
823
|
*/
|
|
@@ -860,8 +840,7 @@ function merge(definitions, space) {
|
|
|
860
840
|
}
|
|
861
841
|
return new Schema(property, normal, space);
|
|
862
842
|
}
|
|
863
|
-
|
|
864
|
-
//#region node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/normalize.js
|
|
843
|
+
// node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/normalize.js
|
|
865
844
|
/**
|
|
866
845
|
* Get the cleaned case insensitive form of an attribute or property.
|
|
867
846
|
*
|
|
@@ -874,8 +853,7 @@ function merge(definitions, space) {
|
|
|
874
853
|
function normalize(value) {
|
|
875
854
|
return value.toLowerCase();
|
|
876
855
|
}
|
|
877
|
-
|
|
878
|
-
//#region node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/util/info.js
|
|
856
|
+
// node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/util/info.js
|
|
879
857
|
/**
|
|
880
858
|
* @import {Info as InfoType} from 'property-information'
|
|
881
859
|
*/
|
|
@@ -906,8 +884,7 @@ Info.prototype.overloadedBoolean = false;
|
|
|
906
884
|
Info.prototype.property = "";
|
|
907
885
|
Info.prototype.spaceSeparated = false;
|
|
908
886
|
Info.prototype.space = void 0;
|
|
909
|
-
|
|
910
|
-
//#region node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/util/types.js
|
|
887
|
+
// node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/util/types.js
|
|
911
888
|
var types_exports = /* @__PURE__ */ __exportAll({
|
|
912
889
|
boolean: () => boolean,
|
|
913
890
|
booleanish: () => booleanish,
|
|
@@ -928,8 +905,7 @@ const commaOrSpaceSeparated = increment();
|
|
|
928
905
|
function increment() {
|
|
929
906
|
return 2 ** ++powers;
|
|
930
907
|
}
|
|
931
|
-
|
|
932
|
-
//#region node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/util/defined-info.js
|
|
908
|
+
// node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/util/defined-info.js
|
|
933
909
|
/**
|
|
934
910
|
* @import {Space} from 'property-information'
|
|
935
911
|
*/
|
|
@@ -974,8 +950,7 @@ DefinedInfo.prototype.defined = true;
|
|
|
974
950
|
function mark(values, key, value) {
|
|
975
951
|
if (value) values[key] = value;
|
|
976
952
|
}
|
|
977
|
-
|
|
978
|
-
//#region node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/util/create.js
|
|
953
|
+
// node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/util/create.js
|
|
979
954
|
/**
|
|
980
955
|
* @import {Info, Space} from 'property-information'
|
|
981
956
|
*/
|
|
@@ -1023,8 +998,7 @@ function create(definition) {
|
|
|
1023
998
|
}
|
|
1024
999
|
return new Schema(properties, normals, definition.space);
|
|
1025
1000
|
}
|
|
1026
|
-
|
|
1027
|
-
//#region node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/aria.js
|
|
1001
|
+
// node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/aria.js
|
|
1028
1002
|
const aria = create({
|
|
1029
1003
|
properties: {
|
|
1030
1004
|
ariaActiveDescendant: null,
|
|
@@ -1081,8 +1055,7 @@ const aria = create({
|
|
|
1081
1055
|
return property === "role" ? property : "aria-" + property.slice(4).toLowerCase();
|
|
1082
1056
|
}
|
|
1083
1057
|
});
|
|
1084
|
-
|
|
1085
|
-
//#region node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/util/case-sensitive-transform.js
|
|
1058
|
+
// node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/util/case-sensitive-transform.js
|
|
1086
1059
|
/**
|
|
1087
1060
|
* @param {Record<string, string>} attributes
|
|
1088
1061
|
* Attributes.
|
|
@@ -1094,8 +1067,7 @@ const aria = create({
|
|
|
1094
1067
|
function caseSensitiveTransform(attributes, attribute) {
|
|
1095
1068
|
return attribute in attributes ? attributes[attribute] : attribute;
|
|
1096
1069
|
}
|
|
1097
|
-
|
|
1098
|
-
//#region node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/util/case-insensitive-transform.js
|
|
1070
|
+
// node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/util/case-insensitive-transform.js
|
|
1099
1071
|
/**
|
|
1100
1072
|
* @param {Record<string, string>} attributes
|
|
1101
1073
|
* Attributes.
|
|
@@ -1107,8 +1079,7 @@ function caseSensitiveTransform(attributes, attribute) {
|
|
|
1107
1079
|
function caseInsensitiveTransform(attributes, property) {
|
|
1108
1080
|
return caseSensitiveTransform(attributes, property.toLowerCase());
|
|
1109
1081
|
}
|
|
1110
|
-
|
|
1111
|
-
//#region node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/html.js
|
|
1082
|
+
// node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/html.js
|
|
1112
1083
|
const html$1 = create({
|
|
1113
1084
|
attributes: {
|
|
1114
1085
|
acceptcharset: "accept-charset",
|
|
@@ -1429,8 +1400,7 @@ const html$1 = create({
|
|
|
1429
1400
|
space: "html",
|
|
1430
1401
|
transform: caseInsensitiveTransform
|
|
1431
1402
|
});
|
|
1432
|
-
|
|
1433
|
-
//#region node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/svg.js
|
|
1403
|
+
// node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/svg.js
|
|
1434
1404
|
const svg$1 = create({
|
|
1435
1405
|
attributes: {
|
|
1436
1406
|
accentHeight: "accent-height",
|
|
@@ -1989,8 +1959,7 @@ const svg$1 = create({
|
|
|
1989
1959
|
space: "svg",
|
|
1990
1960
|
transform: caseSensitiveTransform
|
|
1991
1961
|
});
|
|
1992
|
-
|
|
1993
|
-
//#region node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/xlink.js
|
|
1962
|
+
// node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/xlink.js
|
|
1994
1963
|
const xlink = create({
|
|
1995
1964
|
properties: {
|
|
1996
1965
|
xLinkActuate: null,
|
|
@@ -2006,8 +1975,7 @@ const xlink = create({
|
|
|
2006
1975
|
return "xlink:" + property.slice(5).toLowerCase();
|
|
2007
1976
|
}
|
|
2008
1977
|
});
|
|
2009
|
-
|
|
2010
|
-
//#region node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/xmlns.js
|
|
1978
|
+
// node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/xmlns.js
|
|
2011
1979
|
const xmlns = create({
|
|
2012
1980
|
attributes: { xmlnsxlink: "xmlns:xlink" },
|
|
2013
1981
|
properties: {
|
|
@@ -2017,8 +1985,7 @@ const xmlns = create({
|
|
|
2017
1985
|
space: "xmlns",
|
|
2018
1986
|
transform: caseInsensitiveTransform
|
|
2019
1987
|
});
|
|
2020
|
-
|
|
2021
|
-
//#region node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/xml.js
|
|
1988
|
+
// node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/xml.js
|
|
2022
1989
|
const xml = create({
|
|
2023
1990
|
properties: {
|
|
2024
1991
|
xmlBase: null,
|
|
@@ -2030,8 +1997,7 @@ const xml = create({
|
|
|
2030
1997
|
return "xml:" + property.slice(3).toLowerCase();
|
|
2031
1998
|
}
|
|
2032
1999
|
});
|
|
2033
|
-
|
|
2034
|
-
//#region node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/find.js
|
|
2000
|
+
// node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/find.js
|
|
2035
2001
|
/**
|
|
2036
2002
|
* @import {Schema} from 'property-information'
|
|
2037
2003
|
*/
|
|
@@ -2107,8 +2073,7 @@ function kebab($0) {
|
|
|
2107
2073
|
function camelcase($0) {
|
|
2108
2074
|
return $0.charAt(1).toUpperCase();
|
|
2109
2075
|
}
|
|
2110
|
-
|
|
2111
|
-
//#region node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/index.js
|
|
2076
|
+
// node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/index.js
|
|
2112
2077
|
const html = merge([
|
|
2113
2078
|
aria,
|
|
2114
2079
|
html$1,
|
|
@@ -2123,8 +2088,7 @@ const svg = merge([
|
|
|
2123
2088
|
xmlns,
|
|
2124
2089
|
xml
|
|
2125
2090
|
], "svg");
|
|
2126
|
-
|
|
2127
|
-
//#region node_modules/.pnpm/comma-separated-tokens@2.0.3/node_modules/comma-separated-tokens/index.js
|
|
2091
|
+
// node_modules/.pnpm/comma-separated-tokens@2.0.3/node_modules/comma-separated-tokens/index.js
|
|
2128
2092
|
/**
|
|
2129
2093
|
* @typedef Options
|
|
2130
2094
|
* Configuration for `stringify`.
|
|
@@ -2165,8 +2129,7 @@ function parse$1(value) {
|
|
|
2165
2129
|
}
|
|
2166
2130
|
return tokens;
|
|
2167
2131
|
}
|
|
2168
|
-
|
|
2169
|
-
//#region node_modules/.pnpm/hast-util-parse-selector@4.0.0/node_modules/hast-util-parse-selector/lib/index.js
|
|
2132
|
+
// node_modules/.pnpm/hast-util-parse-selector@4.0.0/node_modules/hast-util-parse-selector/lib/index.js
|
|
2170
2133
|
/**
|
|
2171
2134
|
* @typedef {import('hast').Element} Element
|
|
2172
2135
|
* @typedef {import('hast').Properties} Properties
|
|
@@ -2240,8 +2203,7 @@ function parseSelector(selector, defaultTagName) {
|
|
|
2240
2203
|
children: []
|
|
2241
2204
|
};
|
|
2242
2205
|
}
|
|
2243
|
-
|
|
2244
|
-
//#region node_modules/.pnpm/space-separated-tokens@2.0.2/node_modules/space-separated-tokens/index.js
|
|
2206
|
+
// node_modules/.pnpm/space-separated-tokens@2.0.2/node_modules/space-separated-tokens/index.js
|
|
2245
2207
|
/**
|
|
2246
2208
|
* Parse space-separated tokens to an array of strings.
|
|
2247
2209
|
*
|
|
@@ -2254,8 +2216,7 @@ function parse(value) {
|
|
|
2254
2216
|
const input = String(value || "").trim();
|
|
2255
2217
|
return input ? input.split(/[ \t\n\r\f]+/g) : [];
|
|
2256
2218
|
}
|
|
2257
|
-
|
|
2258
|
-
//#region node_modules/.pnpm/hastscript@9.0.1/node_modules/hastscript/lib/create-h.js
|
|
2219
|
+
// node_modules/.pnpm/hastscript@9.0.1/node_modules/hastscript/lib/create-h.js
|
|
2259
2220
|
/**
|
|
2260
2221
|
* @import {Element, Nodes, RootContent, Root} from 'hast'
|
|
2261
2222
|
* @import {Info, Schema} from 'property-information'
|
|
@@ -2501,8 +2462,7 @@ function createAdjustMap(values) {
|
|
|
2501
2462
|
for (const value of values) result.set(value.toLowerCase(), value);
|
|
2502
2463
|
return result;
|
|
2503
2464
|
}
|
|
2504
|
-
|
|
2505
|
-
//#region node_modules/.pnpm/hastscript@9.0.1/node_modules/hastscript/lib/svg-case-sensitive-tag-names.js
|
|
2465
|
+
// node_modules/.pnpm/hastscript@9.0.1/node_modules/hastscript/lib/svg-case-sensitive-tag-names.js
|
|
2506
2466
|
/**
|
|
2507
2467
|
* List of case-sensitive SVG tag names.
|
|
2508
2468
|
*
|
|
@@ -2549,8 +2509,7 @@ const svgCaseSensitiveTagNames = [
|
|
|
2549
2509
|
"textArea",
|
|
2550
2510
|
"textPath"
|
|
2551
2511
|
];
|
|
2552
|
-
|
|
2553
|
-
//#region node_modules/.pnpm/hastscript@9.0.1/node_modules/hastscript/lib/index.js
|
|
2512
|
+
// node_modules/.pnpm/hastscript@9.0.1/node_modules/hastscript/lib/index.js
|
|
2554
2513
|
/**
|
|
2555
2514
|
* @typedef {import('./jsx-classic.js').Element} h.JSX.Element
|
|
2556
2515
|
* @typedef {import('./jsx-classic.js').ElementChildrenAttribute} h.JSX.ElementChildrenAttribute
|
|
@@ -2566,8 +2525,7 @@ const svgCaseSensitiveTagNames = [
|
|
|
2566
2525
|
/** @type {ReturnType<createH>} */
|
|
2567
2526
|
const h = createH(html, "div");
|
|
2568
2527
|
createH(svg, "g", svgCaseSensitiveTagNames);
|
|
2569
|
-
|
|
2570
|
-
//#region node_modules/.pnpm/character-entities-legacy@3.0.0/node_modules/character-entities-legacy/index.js
|
|
2528
|
+
// node_modules/.pnpm/character-entities-legacy@3.0.0/node_modules/character-entities-legacy/index.js
|
|
2571
2529
|
/**
|
|
2572
2530
|
* List of legacy HTML named character references that don’t need a trailing semicolon.
|
|
2573
2531
|
*
|
|
@@ -2681,8 +2639,7 @@ const characterEntitiesLegacy = [
|
|
|
2681
2639
|
"yen",
|
|
2682
2640
|
"yuml"
|
|
2683
2641
|
];
|
|
2684
|
-
|
|
2685
|
-
//#region node_modules/.pnpm/character-reference-invalid@2.0.1/node_modules/character-reference-invalid/index.js
|
|
2642
|
+
// node_modules/.pnpm/character-reference-invalid@2.0.1/node_modules/character-reference-invalid/index.js
|
|
2686
2643
|
/**
|
|
2687
2644
|
* Map of invalid numeric character references to their replacements, according to HTML.
|
|
2688
2645
|
*
|
|
@@ -2718,8 +2675,7 @@ const characterReferenceInvalid = {
|
|
|
2718
2675
|
158: "ž",
|
|
2719
2676
|
159: "Ÿ"
|
|
2720
2677
|
};
|
|
2721
|
-
|
|
2722
|
-
//#region node_modules/.pnpm/is-decimal@2.0.1/node_modules/is-decimal/index.js
|
|
2678
|
+
// node_modules/.pnpm/is-decimal@2.0.1/node_modules/is-decimal/index.js
|
|
2723
2679
|
/**
|
|
2724
2680
|
* Check if the given character code, or the character code at the first
|
|
2725
2681
|
* character, is decimal.
|
|
@@ -2731,8 +2687,7 @@ function isDecimal(character) {
|
|
|
2731
2687
|
const code = typeof character === "string" ? character.charCodeAt(0) : character;
|
|
2732
2688
|
return code >= 48 && code <= 57;
|
|
2733
2689
|
}
|
|
2734
|
-
|
|
2735
|
-
//#region node_modules/.pnpm/is-hexadecimal@2.0.1/node_modules/is-hexadecimal/index.js
|
|
2690
|
+
// node_modules/.pnpm/is-hexadecimal@2.0.1/node_modules/is-hexadecimal/index.js
|
|
2736
2691
|
/**
|
|
2737
2692
|
* Check if the given character code, or the character code at the first
|
|
2738
2693
|
* character, is hexadecimal.
|
|
@@ -2744,8 +2699,7 @@ function isHexadecimal(character) {
|
|
|
2744
2699
|
const code = typeof character === "string" ? character.charCodeAt(0) : character;
|
|
2745
2700
|
return code >= 97 && code <= 102 || code >= 65 && code <= 70 || code >= 48 && code <= 57;
|
|
2746
2701
|
}
|
|
2747
|
-
|
|
2748
|
-
//#region node_modules/.pnpm/is-alphabetical@2.0.1/node_modules/is-alphabetical/index.js
|
|
2702
|
+
// node_modules/.pnpm/is-alphabetical@2.0.1/node_modules/is-alphabetical/index.js
|
|
2749
2703
|
/**
|
|
2750
2704
|
* Check if the given character code, or the character code at the first
|
|
2751
2705
|
* character, is alphabetical.
|
|
@@ -2757,8 +2711,7 @@ function isAlphabetical(character) {
|
|
|
2757
2711
|
const code = typeof character === "string" ? character.charCodeAt(0) : character;
|
|
2758
2712
|
return code >= 97 && code <= 122 || code >= 65 && code <= 90;
|
|
2759
2713
|
}
|
|
2760
|
-
|
|
2761
|
-
//#region node_modules/.pnpm/is-alphanumerical@2.0.1/node_modules/is-alphanumerical/index.js
|
|
2714
|
+
// node_modules/.pnpm/is-alphanumerical@2.0.1/node_modules/is-alphanumerical/index.js
|
|
2762
2715
|
/**
|
|
2763
2716
|
* Check if the given character code, or the character code at the first
|
|
2764
2717
|
* character, is alphanumerical.
|
|
@@ -2769,8 +2722,7 @@ function isAlphabetical(character) {
|
|
|
2769
2722
|
function isAlphanumerical(character) {
|
|
2770
2723
|
return isAlphabetical(character) || isDecimal(character);
|
|
2771
2724
|
}
|
|
2772
|
-
|
|
2773
|
-
//#region node_modules/.pnpm/character-entities@2.0.2/node_modules/character-entities/index.js
|
|
2725
|
+
// node_modules/.pnpm/character-entities@2.0.2/node_modules/character-entities/index.js
|
|
2774
2726
|
/**
|
|
2775
2727
|
* Map of named character references.
|
|
2776
2728
|
*
|
|
@@ -4903,8 +4855,7 @@ const characterEntities = {
|
|
|
4903
4855
|
zwj: "",
|
|
4904
4856
|
zwnj: ""
|
|
4905
4857
|
};
|
|
4906
|
-
|
|
4907
|
-
//#region node_modules/.pnpm/decode-named-character-reference@1.3.0/node_modules/decode-named-character-reference/index.js
|
|
4858
|
+
// node_modules/.pnpm/decode-named-character-reference@1.3.0/node_modules/decode-named-character-reference/index.js
|
|
4908
4859
|
const own = {}.hasOwnProperty;
|
|
4909
4860
|
/**
|
|
4910
4861
|
* Decode a single character reference (without the `&` or `;`).
|
|
@@ -4920,8 +4871,7 @@ const own = {}.hasOwnProperty;
|
|
|
4920
4871
|
function decodeNamedCharacterReference(value) {
|
|
4921
4872
|
return own.call(characterEntities, value) ? characterEntities[value] : false;
|
|
4922
4873
|
}
|
|
4923
|
-
|
|
4924
|
-
//#region node_modules/.pnpm/parse-entities@4.0.2/node_modules/parse-entities/lib/index.js
|
|
4874
|
+
// node_modules/.pnpm/parse-entities@4.0.2/node_modules/parse-entities/lib/index.js
|
|
4925
4875
|
/**
|
|
4926
4876
|
* @import {Point} from 'unist'
|
|
4927
4877
|
* @import {Options} from '../index.js'
|
|
@@ -5147,8 +5097,7 @@ function prohibited(code) {
|
|
|
5147
5097
|
function disallowed(code) {
|
|
5148
5098
|
return code >= 1 && code <= 8 || code === 11 || code >= 13 && code <= 31 || code >= 127 && code <= 159 || code >= 64976 && code <= 65007 || (code & 65535) === 65535 || (code & 65535) === 65534;
|
|
5149
5099
|
}
|
|
5150
|
-
|
|
5151
|
-
//#region node_modules/.pnpm/refractor@5.0.0/node_modules/refractor/lib/prism-core.js
|
|
5100
|
+
// node_modules/.pnpm/refractor@5.0.0/node_modules/refractor/lib/prism-core.js
|
|
5152
5101
|
var uniqueId = 0;
|
|
5153
5102
|
var plainTextGrammar = {};
|
|
5154
5103
|
var _ = {
|
|
@@ -5741,8 +5690,7 @@ function toArray(list) {
|
|
|
5741
5690
|
return array;
|
|
5742
5691
|
}
|
|
5743
5692
|
const Prism = _;
|
|
5744
|
-
|
|
5745
|
-
//#region node_modules/.pnpm/refractor@5.0.0/node_modules/refractor/lib/core.js
|
|
5693
|
+
// node_modules/.pnpm/refractor@5.0.0/node_modules/refractor/lib/core.js
|
|
5746
5694
|
/**
|
|
5747
5695
|
* @import {Element, Root, Text} from 'hast'
|
|
5748
5696
|
* @import {Grammar, Languages} from 'prismjs'
|
|
@@ -5951,8 +5899,7 @@ function attributes(record) {
|
|
|
5951
5899
|
for (key in record) if (Object.hasOwn(record, key)) record[key] = parseEntities(record[key]);
|
|
5952
5900
|
return record;
|
|
5953
5901
|
}
|
|
5954
|
-
|
|
5955
|
-
//#region node_modules/.pnpm/react-syntax-highlighter@16.1.1_react@19.3.0/node_modules/react-syntax-highlighter/dist/esm/prism-light.js
|
|
5902
|
+
// node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/esm/prism-light.js
|
|
5956
5903
|
var SyntaxHighlighter = highlight_default(refractor, {});
|
|
5957
5904
|
SyntaxHighlighter.registerLanguage = function(_, language) {
|
|
5958
5905
|
return refractor.register(language);
|
|
@@ -5960,8 +5907,7 @@ SyntaxHighlighter.registerLanguage = function(_, language) {
|
|
|
5960
5907
|
SyntaxHighlighter.alias = function(name, aliases) {
|
|
5961
5908
|
return refractor.alias(name, aliases);
|
|
5962
5909
|
};
|
|
5963
|
-
|
|
5964
|
-
//#region node_modules/.pnpm/refractor@5.0.0/node_modules/refractor/lang/bash.js
|
|
5910
|
+
// node_modules/.pnpm/refractor@5.0.0/node_modules/refractor/lang/bash.js
|
|
5965
5911
|
/**
|
|
5966
5912
|
* @import {Refractor} from '../lib/core.js'
|
|
5967
5913
|
*/
|
|
@@ -6149,11 +6095,9 @@ function bash(Prism) {
|
|
|
6149
6095
|
Prism.languages.shell = Prism.languages.bash;
|
|
6150
6096
|
})(Prism);
|
|
6151
6097
|
}
|
|
6152
|
-
|
|
6153
|
-
//#region node_modules/.pnpm/react-syntax-highlighter@16.1.1_react@19.3.0/node_modules/react-syntax-highlighter/dist/esm/languages/prism/bash.js
|
|
6098
|
+
// node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/esm/languages/prism/bash.js
|
|
6154
6099
|
var bash_default = bash;
|
|
6155
|
-
|
|
6156
|
-
//#region node_modules/.pnpm/refractor@5.0.0/node_modules/refractor/lang/css.js
|
|
6100
|
+
// node_modules/.pnpm/refractor@5.0.0/node_modules/refractor/lang/css.js
|
|
6157
6101
|
/**
|
|
6158
6102
|
* @import {Refractor} from '../lib/core.js'
|
|
6159
6103
|
*/
|
|
@@ -6219,11 +6163,9 @@ function css(Prism) {
|
|
|
6219
6163
|
}
|
|
6220
6164
|
})(Prism);
|
|
6221
6165
|
}
|
|
6222
|
-
|
|
6223
|
-
//#region node_modules/.pnpm/react-syntax-highlighter@16.1.1_react@19.3.0/node_modules/react-syntax-highlighter/dist/esm/languages/prism/css.js
|
|
6166
|
+
// node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/esm/languages/prism/css.js
|
|
6224
6167
|
var css_default = css;
|
|
6225
|
-
|
|
6226
|
-
//#region node_modules/.pnpm/refractor@5.0.0/node_modules/refractor/lang/clike.js
|
|
6168
|
+
// node_modules/.pnpm/refractor@5.0.0/node_modules/refractor/lang/clike.js
|
|
6227
6169
|
/**
|
|
6228
6170
|
* @import {Refractor} from '../lib/core.js'
|
|
6229
6171
|
*/
|
|
@@ -6258,8 +6200,7 @@ function clike(Prism) {
|
|
|
6258
6200
|
punctuation: /[{}[\];(),.:]/
|
|
6259
6201
|
};
|
|
6260
6202
|
}
|
|
6261
|
-
|
|
6262
|
-
//#region node_modules/.pnpm/refractor@5.0.0/node_modules/refractor/lang/javascript.js
|
|
6203
|
+
// node_modules/.pnpm/refractor@5.0.0/node_modules/refractor/lang/javascript.js
|
|
6263
6204
|
/**
|
|
6264
6205
|
* @import {Refractor} from '../lib/core.js'
|
|
6265
6206
|
*/
|
|
@@ -6378,11 +6319,9 @@ function javascript(Prism) {
|
|
|
6378
6319
|
}
|
|
6379
6320
|
Prism.languages.js = Prism.languages.javascript;
|
|
6380
6321
|
}
|
|
6381
|
-
|
|
6382
|
-
//#region node_modules/.pnpm/react-syntax-highlighter@16.1.1_react@19.3.0/node_modules/react-syntax-highlighter/dist/esm/languages/prism/javascript.js
|
|
6322
|
+
// node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/esm/languages/prism/javascript.js
|
|
6383
6323
|
var javascript_default = javascript;
|
|
6384
|
-
|
|
6385
|
-
//#region node_modules/.pnpm/refractor@5.0.0/node_modules/refractor/lang/json.js
|
|
6324
|
+
// node_modules/.pnpm/refractor@5.0.0/node_modules/refractor/lang/json.js
|
|
6386
6325
|
/**
|
|
6387
6326
|
* @import {Refractor} from '../lib/core.js'
|
|
6388
6327
|
*/
|
|
@@ -6416,11 +6355,9 @@ function json(Prism) {
|
|
|
6416
6355
|
};
|
|
6417
6356
|
Prism.languages.webmanifest = Prism.languages.json;
|
|
6418
6357
|
}
|
|
6419
|
-
|
|
6420
|
-
//#region node_modules/.pnpm/react-syntax-highlighter@16.1.1_react@19.3.0/node_modules/react-syntax-highlighter/dist/esm/languages/prism/json.js
|
|
6358
|
+
// node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/esm/languages/prism/json.js
|
|
6421
6359
|
var json_default = json;
|
|
6422
|
-
|
|
6423
|
-
//#region node_modules/.pnpm/refractor@5.0.0/node_modules/refractor/lang/markup.js
|
|
6360
|
+
// node_modules/.pnpm/refractor@5.0.0/node_modules/refractor/lang/markup.js
|
|
6424
6361
|
/**
|
|
6425
6362
|
* @import {Refractor} from '../lib/core.js'
|
|
6426
6363
|
*/
|
|
@@ -6590,8 +6527,7 @@ value: function(attrName, lang) {
|
|
|
6590
6527
|
Prism.languages.atom = Prism.languages.xml;
|
|
6591
6528
|
Prism.languages.rss = Prism.languages.xml;
|
|
6592
6529
|
}
|
|
6593
|
-
|
|
6594
|
-
//#region node_modules/.pnpm/refractor@5.0.0/node_modules/refractor/lang/jsx.js
|
|
6530
|
+
// node_modules/.pnpm/refractor@5.0.0/node_modules/refractor/lang/jsx.js
|
|
6595
6531
|
/**
|
|
6596
6532
|
* @import {Refractor} from '../lib/core.js'
|
|
6597
6533
|
*/
|
|
@@ -6689,11 +6625,9 @@ function jsx$1(Prism) {
|
|
|
6689
6625
|
});
|
|
6690
6626
|
})(Prism);
|
|
6691
6627
|
}
|
|
6692
|
-
|
|
6693
|
-
//#region node_modules/.pnpm/react-syntax-highlighter@16.1.1_react@19.3.0/node_modules/react-syntax-highlighter/dist/esm/languages/prism/jsx.js
|
|
6628
|
+
// node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/esm/languages/prism/jsx.js
|
|
6694
6629
|
var jsx_default = jsx$1;
|
|
6695
|
-
|
|
6696
|
-
//#region node_modules/.pnpm/refractor@5.0.0/node_modules/refractor/lang/markdown.js
|
|
6630
|
+
// node_modules/.pnpm/refractor@5.0.0/node_modules/refractor/lang/markdown.js
|
|
6697
6631
|
/**
|
|
6698
6632
|
* @import {Refractor} from '../lib/core.js'
|
|
6699
6633
|
*/
|
|
@@ -6966,11 +6900,9 @@ function markdown(Prism) {
|
|
|
6966
6900
|
Prism.languages.md = Prism.languages.markdown;
|
|
6967
6901
|
})(Prism);
|
|
6968
6902
|
}
|
|
6969
|
-
|
|
6970
|
-
//#region node_modules/.pnpm/react-syntax-highlighter@16.1.1_react@19.3.0/node_modules/react-syntax-highlighter/dist/esm/languages/prism/markdown.js
|
|
6903
|
+
// node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/esm/languages/prism/markdown.js
|
|
6971
6904
|
var markdown_default = markdown;
|
|
6972
|
-
|
|
6973
|
-
//#region node_modules/.pnpm/refractor@5.0.0/node_modules/refractor/lang/python.js
|
|
6905
|
+
// node_modules/.pnpm/refractor@5.0.0/node_modules/refractor/lang/python.js
|
|
6974
6906
|
/**
|
|
6975
6907
|
* @import {Refractor} from '../lib/core.js'
|
|
6976
6908
|
*/
|
|
@@ -7039,11 +6971,9 @@ function python(Prism) {
|
|
|
7039
6971
|
Prism.languages.python["string-interpolation"].inside["interpolation"].inside.rest = Prism.languages.python;
|
|
7040
6972
|
Prism.languages.py = Prism.languages.python;
|
|
7041
6973
|
}
|
|
7042
|
-
|
|
7043
|
-
//#region node_modules/.pnpm/react-syntax-highlighter@16.1.1_react@19.3.0/node_modules/react-syntax-highlighter/dist/esm/languages/prism/python.js
|
|
6974
|
+
// node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/esm/languages/prism/python.js
|
|
7044
6975
|
var python_default = python;
|
|
7045
|
-
|
|
7046
|
-
//#region node_modules/.pnpm/refractor@5.0.0/node_modules/refractor/lang/typescript.js
|
|
6976
|
+
// node_modules/.pnpm/refractor@5.0.0/node_modules/refractor/lang/typescript.js
|
|
7047
6977
|
/**
|
|
7048
6978
|
* @import {Refractor} from '../lib/core.js'
|
|
7049
6979
|
*/
|
|
@@ -7095,8 +7025,7 @@ function typescript(Prism) {
|
|
|
7095
7025
|
Prism.languages.ts = Prism.languages.typescript;
|
|
7096
7026
|
})(Prism);
|
|
7097
7027
|
}
|
|
7098
|
-
|
|
7099
|
-
//#region node_modules/.pnpm/refractor@5.0.0/node_modules/refractor/lang/tsx.js
|
|
7028
|
+
// node_modules/.pnpm/refractor@5.0.0/node_modules/refractor/lang/tsx.js
|
|
7100
7029
|
/**
|
|
7101
7030
|
* @import {Refractor} from '../lib/core.js'
|
|
7102
7031
|
*/
|
|
@@ -7116,14 +7045,11 @@ function tsx(Prism) {
|
|
|
7116
7045
|
tag.lookbehind = true;
|
|
7117
7046
|
})(Prism);
|
|
7118
7047
|
}
|
|
7119
|
-
|
|
7120
|
-
//#region node_modules/.pnpm/react-syntax-highlighter@16.1.1_react@19.3.0/node_modules/react-syntax-highlighter/dist/esm/languages/prism/tsx.js
|
|
7048
|
+
// node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/esm/languages/prism/tsx.js
|
|
7121
7049
|
var tsx_default = tsx;
|
|
7122
|
-
|
|
7123
|
-
//#region node_modules/.pnpm/react-syntax-highlighter@16.1.1_react@19.3.0/node_modules/react-syntax-highlighter/dist/esm/languages/prism/typescript.js
|
|
7050
|
+
// node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/esm/languages/prism/typescript.js
|
|
7124
7051
|
var typescript_default = typescript;
|
|
7125
|
-
|
|
7126
|
-
//#region node_modules/.pnpm/refractor@5.0.0/node_modules/refractor/lang/yaml.js
|
|
7052
|
+
// node_modules/.pnpm/refractor@5.0.0/node_modules/refractor/lang/yaml.js
|
|
7127
7053
|
/**
|
|
7128
7054
|
* @import {Refractor} from '../lib/core.js'
|
|
7129
7055
|
*/
|
|
@@ -7209,11 +7135,9 @@ function yaml(Prism) {
|
|
|
7209
7135
|
Prism.languages.yml = Prism.languages.yaml;
|
|
7210
7136
|
})(Prism);
|
|
7211
7137
|
}
|
|
7212
|
-
|
|
7213
|
-
//#region node_modules/.pnpm/react-syntax-highlighter@16.1.1_react@19.3.0/node_modules/react-syntax-highlighter/dist/esm/languages/prism/yaml.js
|
|
7138
|
+
// node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/esm/languages/prism/yaml.js
|
|
7214
7139
|
var yaml_default = yaml;
|
|
7215
|
-
|
|
7216
|
-
//#region src/workbench/syntax.tsx
|
|
7140
|
+
// src/workbench/syntax.tsx
|
|
7217
7141
|
let registered = false;
|
|
7218
7142
|
function ensureLanguages() {
|
|
7219
7143
|
if (registered) return;
|
|
@@ -7365,8 +7289,7 @@ function CodeSurface({ code, filename, language, showLineNumbers = true, classNa
|
|
|
7365
7289
|
})
|
|
7366
7290
|
});
|
|
7367
7291
|
}
|
|
7368
|
-
|
|
7369
|
-
//#region src/workbench/file-breadcrumb.tsx
|
|
7292
|
+
// src/workbench/file-breadcrumb.tsx
|
|
7370
7293
|
/**
|
|
7371
7294
|
* Slim path breadcrumb for the code panel. Reimplemented (not ported) from
|
|
7372
7295
|
* blueprint-agent's `FileBreadcrumb` — that one nests a `FileTree` dropdown per
|
|
@@ -7393,8 +7316,7 @@ function FileBreadcrumb({ path, className }) {
|
|
|
7393
7316
|
]
|
|
7394
7317
|
});
|
|
7395
7318
|
}
|
|
7396
|
-
|
|
7397
|
-
//#region src/workbench/code-view.tsx
|
|
7319
|
+
// src/workbench/code-view.tsx
|
|
7398
7320
|
/**
|
|
7399
7321
|
* Code surface: a fixed-width `RichFileTree` rail (with git-status
|
|
7400
7322
|
* decorations) beside a breadcrumb-topped, syntax-highlighted read-only file
|
|
@@ -7461,8 +7383,7 @@ function CodeView({ path, filename, content, language, paths, gitStatus, onFileS
|
|
|
7461
7383
|
})
|
|
7462
7384
|
});
|
|
7463
7385
|
}
|
|
7464
|
-
|
|
7465
|
-
//#region src/workbench/diff-utils.ts
|
|
7386
|
+
// src/workbench/diff-utils.ts
|
|
7466
7387
|
/**
|
|
7467
7388
|
* Count added / removed lines between two file revisions.
|
|
7468
7389
|
*
|
|
@@ -7510,8 +7431,7 @@ function buildUnifiedPatch(filename, baseline, current) {
|
|
|
7510
7431
|
if (baseline === current) return "";
|
|
7511
7432
|
return createTwoFilesPatch(filename, filename, baseline, current, "", "");
|
|
7512
7433
|
}
|
|
7513
|
-
|
|
7514
|
-
//#region src/workbench/diff-view.tsx
|
|
7434
|
+
// src/workbench/diff-view.tsx
|
|
7515
7435
|
const DIFF_OPTIONS = {
|
|
7516
7436
|
diffStyle: "unified",
|
|
7517
7437
|
diffIndicators: "classic",
|
|
@@ -7538,7 +7458,6 @@ function DiffView({ filename, baseline, current, showFileHeader = true, defaultW
|
|
|
7538
7458
|
current
|
|
7539
7459
|
]);
|
|
7540
7460
|
const [wrap, setWrap] = React$1.useState(defaultWrap);
|
|
7541
|
-
const hintId = React$1.useId();
|
|
7542
7461
|
const hostRef = React$1.useRef(null);
|
|
7543
7462
|
const instanceRef = React$1.useRef(null);
|
|
7544
7463
|
const latestThemeType = React$1.useRef(themeType);
|
|
@@ -7592,27 +7511,22 @@ function DiffView({ filename, baseline, current, showFileHeader = true, defaultW
|
|
|
7592
7511
|
return /* @__PURE__ */ jsxs("div", {
|
|
7593
7512
|
className: cn$1("flex h-full min-h-0 min-w-0 max-w-full flex-col overflow-hidden bg-surface-container", className),
|
|
7594
7513
|
children: [
|
|
7595
|
-
/* @__PURE__ */
|
|
7514
|
+
/* @__PURE__ */ jsx("div", {
|
|
7596
7515
|
className: "flex shrink-0 flex-wrap items-center gap-2 border-b border-border px-3 py-2",
|
|
7597
|
-
children:
|
|
7516
|
+
children: /* @__PURE__ */ jsx(Button, {
|
|
7598
7517
|
type: "button",
|
|
7599
7518
|
variant: "outline",
|
|
7600
7519
|
size: "sm",
|
|
7601
7520
|
"aria-pressed": wrap,
|
|
7602
7521
|
onClick: () => setWrap((value) => !value),
|
|
7603
7522
|
children: "Wrap lines"
|
|
7604
|
-
})
|
|
7605
|
-
id: hintId,
|
|
7606
|
-
className: "min-w-0 flex-1 text-xs text-muted-foreground",
|
|
7607
|
-
children: wrap ? "Long lines wrap within this pane." : "Long lines scroll horizontally. Turn on Wrap lines to read without scrolling."
|
|
7608
|
-
})]
|
|
7523
|
+
})
|
|
7609
7524
|
}),
|
|
7610
7525
|
/* @__PURE__ */ jsx("div", {
|
|
7611
7526
|
ref: hostRef,
|
|
7612
7527
|
"data-testid": "diff-view",
|
|
7613
7528
|
role: "region",
|
|
7614
7529
|
"aria-label": `Diff for ${filename}`,
|
|
7615
|
-
"aria-describedby": hintId,
|
|
7616
7530
|
tabIndex: 0,
|
|
7617
7531
|
className: "min-h-0 min-w-0 max-w-full flex-1 overflow-auto text-[13px]"
|
|
7618
7532
|
}),
|
|
@@ -7633,8 +7547,7 @@ function DiffView({ filename, baseline, current, showFileHeader = true, defaultW
|
|
|
7633
7547
|
]
|
|
7634
7548
|
});
|
|
7635
7549
|
}
|
|
7636
|
-
|
|
7637
|
-
//#region src/workbench/sandbox-artifact-pane.tsx
|
|
7550
|
+
// src/workbench/sandbox-artifact-pane.tsx
|
|
7638
7551
|
const VIEW_ORDER = [
|
|
7639
7552
|
"code",
|
|
7640
7553
|
"diff",
|
|
@@ -7790,8 +7703,7 @@ function SandboxArtifactPane({ artifact, paths, gitStatus, showTree, ports, prev
|
|
|
7790
7703
|
]
|
|
7791
7704
|
});
|
|
7792
7705
|
}
|
|
7793
|
-
|
|
7794
|
-
//#region src/workbench/changes-pane.tsx
|
|
7706
|
+
// src/workbench/changes-pane.tsx
|
|
7795
7707
|
const BORDER = "border-[var(--md3-outline-variant)]";
|
|
7796
7708
|
function splitPath(path) {
|
|
7797
7709
|
const at = path.lastIndexOf("/");
|
|
@@ -8138,5 +8050,4 @@ function ChangesPane({ branch, ahead = 0, behind = 0, files, selectedPath, onSel
|
|
|
8138
8050
|
]
|
|
8139
8051
|
});
|
|
8140
8052
|
}
|
|
8141
|
-
//#endregion
|
|
8142
8053
|
export { computeDiffStats as a, BRAND_PRISM_THEME as c, DiffStatsBadge as d, GitStatusBadge as f, buildUnifiedPatch as i, CodeSurface as l, PillTabs as m, SandboxArtifactPane as n, CodeView as o, PanelHeader as p, DiffView as r, FileBreadcrumb as s, ChangesPane as t, resolveLanguage as u };
|