@burdenoff/fe-libs 2026.1003.4 → 2026.1004.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/shared/graphql/client.d.ts.map +1 -1
- package/dist/shared/graphql/client.js +153 -140
- package/dist/shared/providers/AppShellProvider.d.ts +2 -0
- package/dist/shared/providers/AppShellProvider.d.ts.map +1 -1
- package/dist/shared/providers/AppShellProvider.js +154 -147
- package/dist/shared/providers/shell/MultiGatewayProvider.d.ts.map +1 -1
- package/dist/shared/providers/shell/MultiGatewayProvider.js +6 -0
- package/dist/shared/tours/TourPermissionsBoundary.d.ts +7 -0
- package/dist/shared/tours/TourPermissionsBoundary.d.ts.map +1 -0
- package/dist/shared/tours/TourPermissionsBoundary.js +17 -0
- package/dist/shared/tours/TourPlayerProvider.d.ts +1 -1
- package/dist/shared/tours/TourPlayerProvider.d.ts.map +1 -1
- package/dist/shared/tours/TourPlayerProvider.js +52 -51
- package/dist/shared/tours/TourTrigger.js +30 -26
- package/dist/shared/tours/ToursContext.d.ts +4 -1
- package/dist/shared/tours/ToursContext.d.ts.map +1 -1
- package/dist/shared/tours/ToursContext.js +100 -80
- package/dist/shared/tours/permissions.d.ts +9 -0
- package/dist/shared/tours/permissions.d.ts.map +1 -0
- package/dist/shared/tours/permissions.js +7 -0
- package/dist/shared/tours/progress.d.ts +6 -1
- package/dist/shared/tours/progress.d.ts.map +1 -1
- package/dist/shared/tours/progress.js +11 -1
- package/dist/shared/tours/routeCatalog.d.ts.map +1 -1
- package/dist/shared/tours/routeCatalog.js +51 -0
- package/dist/shared/tours/tourTrigger/DesktopTourDropdown.d.ts +2 -0
- package/dist/shared/tours/tourTrigger/DesktopTourDropdown.d.ts.map +1 -1
- package/dist/shared/tours/tourTrigger/DesktopTourDropdown.js +32 -31
- package/dist/shared/tours/tourTrigger/MobileTourSheet.d.ts +2 -0
- package/dist/shared/tours/tourTrigger/MobileTourSheet.d.ts.map +1 -1
- package/dist/shared/tours/tourTrigger/MobileTourSheet.js +42 -41
- package/dist/shared/tours/tourTrigger/TourLoadError.d.ts +4 -0
- package/dist/shared/tours/tourTrigger/TourLoadError.d.ts.map +1 -0
- package/dist/shared/tours/tourTrigger/TourLoadError.js +21 -0
- package/dist/shared/tours/toursContext/gql.d.ts.map +1 -1
- package/dist/shared/tours/toursContext/gql.js +2 -0
- package/dist/shared/tours/toursContext/progressWriteQueue.d.ts +6 -0
- package/dist/shared/tours/toursContext/progressWriteQueue.d.ts.map +1 -0
- package/dist/shared/tours/toursContext/progressWriteQueue.js +19 -0
- package/dist/shared/tours/toursContext/useTourMutations.d.ts.map +1 -1
- package/dist/shared/tours/toursContext/useTourMutations.js +155 -73
- package/dist/shared/tours/types.d.ts +4 -0
- package/dist/shared/tours/types.d.ts.map +1 -1
- package/dist/shared/tours/useTourPlayer.d.ts +1 -0
- package/dist/shared/tours/useTourPlayer.d.ts.map +1 -1
- package/dist/shared/tours/useTourPlayer.js +152 -141
- package/dist/shared-tours.js +9 -9
- package/dist/shared.js +9 -9
- package/package.json +2 -2
|
@@ -368,6 +368,57 @@ var e = {
|
|
|
368
368
|
isModuleHome: !0
|
|
369
369
|
}
|
|
370
370
|
],
|
|
371
|
+
bigconsole: [
|
|
372
|
+
{
|
|
373
|
+
productId: "bigconsole",
|
|
374
|
+
moduleId: "bigconsole",
|
|
375
|
+
moduleLabel: "BigConsole",
|
|
376
|
+
pageId: "home",
|
|
377
|
+
pageLabel: "Overview",
|
|
378
|
+
path: "/bigconsole",
|
|
379
|
+
isModuleHome: !0
|
|
380
|
+
},
|
|
381
|
+
{
|
|
382
|
+
productId: "bigconsole",
|
|
383
|
+
moduleId: "bigconsole",
|
|
384
|
+
moduleLabel: "BigConsole",
|
|
385
|
+
pageId: "dashboards",
|
|
386
|
+
pageLabel: "Dashboards",
|
|
387
|
+
path: "/bigconsole/dashboards"
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
productId: "bigconsole",
|
|
391
|
+
moduleId: "bigconsole",
|
|
392
|
+
moduleLabel: "BigConsole",
|
|
393
|
+
pageId: "datasink-builder",
|
|
394
|
+
pageLabel: "Create DataSink",
|
|
395
|
+
path: "/bigconsole/datasinks/new"
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
productId: "bigconsole",
|
|
399
|
+
moduleId: "bigconsole",
|
|
400
|
+
moduleLabel: "BigConsole",
|
|
401
|
+
pageId: "parser-builder",
|
|
402
|
+
pageLabel: "Create Parser",
|
|
403
|
+
path: "/bigconsole/parsers/new"
|
|
404
|
+
},
|
|
405
|
+
{
|
|
406
|
+
productId: "bigconsole",
|
|
407
|
+
moduleId: "bigconsole",
|
|
408
|
+
moduleLabel: "BigConsole",
|
|
409
|
+
pageId: "workflows",
|
|
410
|
+
pageLabel: "Workflows",
|
|
411
|
+
path: "/bigconsole/workflows/list"
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
productId: "bigconsole",
|
|
415
|
+
moduleId: "bigconsole",
|
|
416
|
+
moduleLabel: "BigConsole",
|
|
417
|
+
pageId: "insights",
|
|
418
|
+
pageLabel: "AI Insights",
|
|
419
|
+
path: "/bigconsole/insights"
|
|
420
|
+
}
|
|
421
|
+
],
|
|
371
422
|
fluidgrids: [
|
|
372
423
|
{
|
|
373
424
|
productId: "fluidgrids",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DesktopTourDropdown.d.ts","sourceRoot":"","sources":["../../../../src/shared/tours/tourTrigger/DesktopTourDropdown.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DesktopTourDropdown.d.ts","sourceRoot":"","sources":["../../../../src/shared/tours/tourTrigger/DesktopTourDropdown.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,IAAI,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAIxD,UAAU,wBAAwB;IAChC,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,KAAK,EAAE,IAAI,EAAE,CAAC;IACd,WAAW,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAC;IAClC,OAAO,CAAC,EAAE,iBAAiB,EAAE,CAAC;IAC9B,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,iBAAiB,KAAK,IAAI,CAAC;CAChD;AAED,eAAO,MAAM,mBAAmB,qHAgF/B,CAAC"}
|
|
@@ -1,68 +1,69 @@
|
|
|
1
1
|
import { useShellLabel as e } from "../../providers/shell/useShellLabel.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
2
|
+
import { TourLoadError as t } from "./TourLoadError.js";
|
|
3
|
+
import { TourListItemDesktop as n } from "./TourListItemDesktop.js";
|
|
4
|
+
import { forwardRef as r } from "react";
|
|
5
|
+
import { ExternalLink as i, Sparkles as a } from "lucide-react";
|
|
6
|
+
import { jsx as o, jsxs as s } from "react/jsx-runtime";
|
|
6
7
|
//#region src/shared/tours/tourTrigger/DesktopTourDropdown.tsx
|
|
7
|
-
var
|
|
8
|
-
let
|
|
9
|
-
return /* @__PURE__ */
|
|
10
|
-
ref:
|
|
8
|
+
var c = r(function({ loading: r, error: c, onRetry: l, tours: u, onStartTour: d, actions: f, onAction: p }, m) {
|
|
9
|
+
let h = e(), g = !!(f && f.length > 0);
|
|
10
|
+
return /* @__PURE__ */ s("div", {
|
|
11
|
+
ref: m,
|
|
11
12
|
className: "absolute right-0 top-full mt-2 w-80 bg-bg-elevated rounded-lg shadow-[var(--shadow-elevation-4)] border border-border-subtle z-50 animate-in fade-in slide-in-from-top-2 duration-200",
|
|
12
13
|
children: [
|
|
13
|
-
/* @__PURE__ */
|
|
14
|
+
/* @__PURE__ */ s("div", {
|
|
14
15
|
className: "flex items-center gap-2 px-4 py-3 border-b border-border-subtle",
|
|
15
|
-
children: [/* @__PURE__ */ a
|
|
16
|
+
children: [/* @__PURE__ */ o(a, { className: "size-4 text-action-primary-bg" }), /* @__PURE__ */ o("h3", {
|
|
16
17
|
className: "font-medium text-text-primary",
|
|
17
|
-
children:
|
|
18
|
+
children: h("tours.helpAndTours", "Help & tours")
|
|
18
19
|
})]
|
|
19
20
|
}),
|
|
20
|
-
/* @__PURE__ */
|
|
21
|
+
/* @__PURE__ */ o("div", {
|
|
21
22
|
className: "max-h-80 overflow-y-auto",
|
|
22
|
-
children:
|
|
23
|
+
children: r ? /* @__PURE__ */ o("div", {
|
|
23
24
|
className: "flex items-center justify-center py-6",
|
|
24
|
-
children: /* @__PURE__ */
|
|
25
|
-
}) :
|
|
25
|
+
children: /* @__PURE__ */ o("div", { className: "animate-spin rounded-full size-5 border-2 border-action-primary-bg border-t-transparent" })
|
|
26
|
+
}) : c ? /* @__PURE__ */ o(t, { onRetry: l }) : u.length > 0 ? /* @__PURE__ */ o("div", {
|
|
26
27
|
className: "p-2",
|
|
27
|
-
children:
|
|
28
|
+
children: u.map((e) => /* @__PURE__ */ o(n, {
|
|
28
29
|
tour: e,
|
|
29
|
-
onStart:
|
|
30
|
+
onStart: d
|
|
30
31
|
}, e.id))
|
|
31
|
-
}) : /* @__PURE__ */
|
|
32
|
+
}) : /* @__PURE__ */ o("div", {
|
|
32
33
|
className: "px-4 py-4",
|
|
33
|
-
children: /* @__PURE__ */
|
|
34
|
+
children: /* @__PURE__ */ o("p", {
|
|
34
35
|
className: "text-sm text-text-secondary",
|
|
35
|
-
children:
|
|
36
|
+
children: h("tours.noneForPage", "No guided tours for this page yet.")
|
|
36
37
|
})
|
|
37
38
|
})
|
|
38
39
|
}),
|
|
39
|
-
|
|
40
|
+
g && /* @__PURE__ */ o("div", {
|
|
40
41
|
className: "border-t border-border-subtle p-2",
|
|
41
|
-
children:
|
|
42
|
+
children: f.map((e) => e.href ? /* @__PURE__ */ s("a", {
|
|
42
43
|
href: e.href,
|
|
43
44
|
target: "_blank",
|
|
44
45
|
rel: "noreferrer",
|
|
45
|
-
onClick: () =>
|
|
46
|
+
onClick: () => p?.(e),
|
|
46
47
|
className: "flex items-center gap-3 rounded-button px-3 py-2 text-sm text-text-secondary hover:bg-bg-sunken hover:text-text-primary transition-colors",
|
|
47
48
|
children: [
|
|
48
|
-
e.icon && /* @__PURE__ */
|
|
49
|
+
e.icon && /* @__PURE__ */ o("span", {
|
|
49
50
|
className: "flex size-4 items-center justify-center text-text-muted",
|
|
50
51
|
children: e.icon
|
|
51
52
|
}),
|
|
52
|
-
/* @__PURE__ */
|
|
53
|
+
/* @__PURE__ */ o("span", {
|
|
53
54
|
className: "flex-1 truncate",
|
|
54
55
|
children: e.label
|
|
55
56
|
}),
|
|
56
|
-
/* @__PURE__ */
|
|
57
|
+
/* @__PURE__ */ o(i, { className: "size-3.5 text-text-muted" })
|
|
57
58
|
]
|
|
58
|
-
}, e.id) : /* @__PURE__ */
|
|
59
|
+
}, e.id) : /* @__PURE__ */ s("button", {
|
|
59
60
|
type: "button",
|
|
60
|
-
onClick: () =>
|
|
61
|
+
onClick: () => p?.(e),
|
|
61
62
|
className: "flex w-full items-center gap-3 rounded-button px-3 py-2 text-left text-sm text-text-secondary hover:bg-bg-sunken hover:text-text-primary transition-colors",
|
|
62
|
-
children: [e.icon && /* @__PURE__ */
|
|
63
|
+
children: [e.icon && /* @__PURE__ */ o("span", {
|
|
63
64
|
className: "flex size-4 items-center justify-center text-text-muted",
|
|
64
65
|
children: e.icon
|
|
65
|
-
}), /* @__PURE__ */
|
|
66
|
+
}), /* @__PURE__ */ o("span", {
|
|
66
67
|
className: "flex-1 truncate",
|
|
67
68
|
children: e.label
|
|
68
69
|
})]
|
|
@@ -72,4 +73,4 @@ var s = n(function({ loading: n, tours: s, onStartTour: c, actions: l, onAction:
|
|
|
72
73
|
});
|
|
73
74
|
});
|
|
74
75
|
//#endregion
|
|
75
|
-
export {
|
|
76
|
+
export { c as DesktopTourDropdown };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MobileTourSheet.d.ts","sourceRoot":"","sources":["../../../../src/shared/tours/tourTrigger/MobileTourSheet.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MobileTourSheet.d.ts","sourceRoot":"","sources":["../../../../src/shared/tours/tourTrigger/MobileTourSheet.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,IAAI,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAGxD,UAAU,oBAAoB;IAC5B,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,KAAK,EAAE,IAAI,EAAE,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,WAAW,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAC;IAClC,OAAO,CAAC,EAAE,iBAAiB,EAAE,CAAC;IAC9B,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,iBAAiB,KAAK,IAAI,CAAC;CAChD;AAED,eAAO,MAAM,eAAe,iHAoG3B,CAAC"}
|
|
@@ -1,93 +1,94 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { TourLoadError as e } from "./TourLoadError.js";
|
|
2
|
+
import { TourListItemMobile as t } from "./TourListItemMobile.js";
|
|
3
|
+
import { forwardRef as n } from "react";
|
|
4
|
+
import { ExternalLink as r, HelpCircle as i, Sparkles as a, X as o } from "lucide-react";
|
|
5
|
+
import { Fragment as s, jsx as c, jsxs as l } from "react/jsx-runtime";
|
|
5
6
|
//#region src/shared/tours/tourTrigger/MobileTourSheet.tsx
|
|
6
|
-
var
|
|
7
|
-
let
|
|
8
|
-
return /* @__PURE__ */
|
|
7
|
+
var u = n(function({ loading: n, error: u, onRetry: d, tours: f, onClose: p, onStartTour: m, actions: h, onAction: g }, _) {
|
|
8
|
+
let v = !!(h && h.length > 0);
|
|
9
|
+
return /* @__PURE__ */ l(s, { children: [/* @__PURE__ */ c("div", {
|
|
9
10
|
className: "fixed inset-0 bg-black/50 z-[100] animate-in fade-in duration-200",
|
|
10
|
-
onClick:
|
|
11
|
-
}), /* @__PURE__ */
|
|
12
|
-
ref:
|
|
11
|
+
onClick: p
|
|
12
|
+
}), /* @__PURE__ */ l("div", {
|
|
13
|
+
ref: _,
|
|
13
14
|
className: "fixed inset-x-0 bottom-0 z-[101] bg-bg-surface rounded-t-2xl shadow-xl animate-in slide-in-from-bottom duration-300 max-h-[80vh] flex flex-col",
|
|
14
15
|
children: [
|
|
15
|
-
/* @__PURE__ */
|
|
16
|
+
/* @__PURE__ */ c("div", {
|
|
16
17
|
className: "flex justify-center pt-3 pb-2",
|
|
17
|
-
children: /* @__PURE__ */
|
|
18
|
+
children: /* @__PURE__ */ c("div", { className: "w-10 h-1 bg-border-default rounded-full" })
|
|
18
19
|
}),
|
|
19
|
-
/* @__PURE__ */
|
|
20
|
+
/* @__PURE__ */ l("div", {
|
|
20
21
|
className: "flex items-center justify-between px-4 pb-3 border-b border-border-subtle",
|
|
21
|
-
children: [/* @__PURE__ */
|
|
22
|
+
children: [/* @__PURE__ */ l("div", {
|
|
22
23
|
className: "flex items-center gap-2",
|
|
23
|
-
children: [/* @__PURE__ */
|
|
24
|
+
children: [/* @__PURE__ */ c(a, { className: "size-5 text-action-primary-bg" }), /* @__PURE__ */ c("h2", {
|
|
24
25
|
className: "text-lg font-semibold text-text-primary",
|
|
25
26
|
children: "Help & tours"
|
|
26
27
|
})]
|
|
27
|
-
}), /* @__PURE__ */
|
|
28
|
+
}), /* @__PURE__ */ c("button", {
|
|
28
29
|
type: "button",
|
|
29
|
-
onClick:
|
|
30
|
+
onClick: p,
|
|
30
31
|
className: "p-2 hover:bg-action-ghost-bg-hover rounded-full",
|
|
31
32
|
"aria-label": "Close",
|
|
32
|
-
children: /* @__PURE__ */
|
|
33
|
+
children: /* @__PURE__ */ c(o, { className: "size-5" })
|
|
33
34
|
})]
|
|
34
35
|
}),
|
|
35
|
-
/* @__PURE__ */
|
|
36
|
+
/* @__PURE__ */ l("div", {
|
|
36
37
|
className: "flex-1 overflow-y-auto p-4",
|
|
37
|
-
children: [
|
|
38
|
+
children: [n ? /* @__PURE__ */ c("div", {
|
|
38
39
|
className: "flex items-center justify-center py-8",
|
|
39
|
-
children: /* @__PURE__ */
|
|
40
|
-
}) :
|
|
40
|
+
children: /* @__PURE__ */ c("div", { className: "animate-spin rounded-full size-6 border-2 border-action-primary-bg border-t-transparent" })
|
|
41
|
+
}) : u ? /* @__PURE__ */ c(e, { onRetry: d }) : f.length > 0 ? /* @__PURE__ */ l("div", {
|
|
41
42
|
className: "space-y-3",
|
|
42
|
-
children: [/* @__PURE__ */
|
|
43
|
+
children: [/* @__PURE__ */ c("p", {
|
|
43
44
|
className: "text-sm text-text-secondary mb-4",
|
|
44
45
|
children: "Take a guided tour. Current-page tours are shown first."
|
|
45
|
-
}),
|
|
46
|
-
tour:
|
|
47
|
-
onStart:
|
|
48
|
-
},
|
|
49
|
-
}) : /* @__PURE__ */
|
|
46
|
+
}), f.map((e) => /* @__PURE__ */ c(t, {
|
|
47
|
+
tour: e,
|
|
48
|
+
onStart: m
|
|
49
|
+
}, e.id))]
|
|
50
|
+
}) : /* @__PURE__ */ l("div", {
|
|
50
51
|
className: "text-center py-6",
|
|
51
|
-
children: [/* @__PURE__ */
|
|
52
|
+
children: [/* @__PURE__ */ c(i, { className: "size-10 mx-auto text-text-tertiary mb-2" }), /* @__PURE__ */ c("p", {
|
|
52
53
|
className: "text-text-secondary",
|
|
53
54
|
children: "No guided tours for this page yet"
|
|
54
55
|
})]
|
|
55
|
-
}),
|
|
56
|
+
}), v && /* @__PURE__ */ c("div", {
|
|
56
57
|
className: "mt-4 border-t border-border-subtle pt-3 space-y-1",
|
|
57
|
-
children:
|
|
58
|
+
children: h.map((e) => e.href ? /* @__PURE__ */ l("a", {
|
|
58
59
|
href: e.href,
|
|
59
60
|
target: "_blank",
|
|
60
61
|
rel: "noreferrer",
|
|
61
|
-
onClick: () =>
|
|
62
|
+
onClick: () => g?.(e),
|
|
62
63
|
className: "flex items-center gap-3 rounded-button px-3 py-3 text-sm text-text-secondary hover:bg-bg-sunken hover:text-text-primary transition-colors",
|
|
63
64
|
children: [
|
|
64
|
-
e.icon && /* @__PURE__ */
|
|
65
|
+
e.icon && /* @__PURE__ */ c("span", {
|
|
65
66
|
className: "flex size-5 items-center justify-center text-text-muted",
|
|
66
67
|
children: e.icon
|
|
67
68
|
}),
|
|
68
|
-
/* @__PURE__ */
|
|
69
|
+
/* @__PURE__ */ c("span", {
|
|
69
70
|
className: "flex-1 truncate",
|
|
70
71
|
children: e.label
|
|
71
72
|
}),
|
|
72
|
-
/* @__PURE__ */
|
|
73
|
+
/* @__PURE__ */ c(r, { className: "size-4 text-text-muted" })
|
|
73
74
|
]
|
|
74
|
-
}, e.id) : /* @__PURE__ */
|
|
75
|
+
}, e.id) : /* @__PURE__ */ l("button", {
|
|
75
76
|
type: "button",
|
|
76
|
-
onClick: () =>
|
|
77
|
+
onClick: () => g?.(e),
|
|
77
78
|
className: "flex w-full items-center gap-3 rounded-button px-3 py-3 text-left text-sm text-text-secondary hover:bg-bg-sunken hover:text-text-primary transition-colors",
|
|
78
|
-
children: [e.icon && /* @__PURE__ */
|
|
79
|
+
children: [e.icon && /* @__PURE__ */ c("span", {
|
|
79
80
|
className: "flex size-5 items-center justify-center text-text-muted",
|
|
80
81
|
children: e.icon
|
|
81
|
-
}), /* @__PURE__ */
|
|
82
|
+
}), /* @__PURE__ */ c("span", {
|
|
82
83
|
className: "flex-1 truncate",
|
|
83
84
|
children: e.label
|
|
84
85
|
})]
|
|
85
86
|
}, e.id))
|
|
86
87
|
})]
|
|
87
88
|
}),
|
|
88
|
-
/* @__PURE__ */
|
|
89
|
+
/* @__PURE__ */ c("div", { className: "h-safe-area-inset-bottom" })
|
|
89
90
|
]
|
|
90
91
|
})] });
|
|
91
92
|
});
|
|
92
93
|
//#endregion
|
|
93
|
-
export {
|
|
94
|
+
export { u as MobileTourSheet };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TourLoadError.d.ts","sourceRoot":"","sources":["../../../../src/shared/tours/tourTrigger/TourLoadError.tsx"],"names":[],"mappings":"AAEA,wBAAgB,aAAa,CAAC,EAAE,OAAO,EAAE,EAAE;IAAE,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;CAAE,2CAkBlE"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { useShellLabel as e } from "../../providers/shell/useShellLabel.js";
|
|
2
|
+
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
3
|
+
//#region src/shared/tours/tourTrigger/TourLoadError.tsx
|
|
4
|
+
function r({ onRetry: r }) {
|
|
5
|
+
let i = e();
|
|
6
|
+
return /* @__PURE__ */ n("div", {
|
|
7
|
+
role: "alert",
|
|
8
|
+
className: "space-y-3 px-4 py-4",
|
|
9
|
+
children: [/* @__PURE__ */ t("p", {
|
|
10
|
+
className: "text-sm text-text-secondary",
|
|
11
|
+
children: i("tours.loadError", "Guided tours could not be loaded. Try again.")
|
|
12
|
+
}), r ? /* @__PURE__ */ t("button", {
|
|
13
|
+
type: "button",
|
|
14
|
+
onClick: r,
|
|
15
|
+
className: "min-h-11 rounded-button border border-border-default px-3 py-2 text-sm text-text-primary hover:bg-bg-sunken focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-border-focus",
|
|
16
|
+
children: i("tours.retry", "Retry tours")
|
|
17
|
+
}) : null]
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
//#endregion
|
|
21
|
+
export { r as TourLoadError };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gql.d.ts","sourceRoot":"","sources":["../../../../src/shared/tours/toursContext/gql.ts"],"names":[],"mappings":"AA2EA,eAAO,MAAM,qBAAqB,
|
|
1
|
+
{"version":3,"file":"gql.d.ts","sourceRoot":"","sources":["../../../../src/shared/tours/toursContext/gql.ts"],"names":[],"mappings":"AA2EA,eAAO,MAAM,qBAAqB,gCAejC,CAAC;AAEF,eAAO,MAAM,sCAAsC,gCASlD,CAAC;AAEF,eAAO,MAAM,UAAU,gCActB,CAAC;AAEF,eAAO,MAAM,aAAa,gCAczB,CAAC;AAEF,eAAO,MAAM,SAAS,gCAcrB,CAAC;AAEF,eAAO,MAAM,aAAa,gCAczB,CAAC;AAEF,eAAO,MAAM,gBAAgB,gCAW5B,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/** Keep read/modify/write progress mutations ordered independently for each tour. */
|
|
2
|
+
export declare function createTourProgressWriteQueue(): {
|
|
3
|
+
clear: () => void;
|
|
4
|
+
enqueue(tourId: string, isCurrent: () => boolean, write: () => Promise<void>): Promise<void>;
|
|
5
|
+
};
|
|
6
|
+
//# sourceMappingURL=progressWriteQueue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"progressWriteQueue.d.ts","sourceRoot":"","sources":["../../../../src/shared/tours/toursContext/progressWriteQueue.ts"],"names":[],"mappings":"AAAA,qFAAqF;AACrF,wBAAgB,4BAA4B;;oBAIxB,MAAM,aAAa,MAAM,OAAO,SAAS,MAAM,OAAO,CAAC,IAAI,CAAC;EAgB/E"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
//#region src/shared/tours/toursContext/progressWriteQueue.ts
|
|
2
|
+
function e() {
|
|
3
|
+
let e = /* @__PURE__ */ new Map();
|
|
4
|
+
return {
|
|
5
|
+
clear: () => e.clear(),
|
|
6
|
+
enqueue(t, n, r) {
|
|
7
|
+
let i = (e.get(t) ?? Promise.resolve()).catch(() => void 0).then(async () => {
|
|
8
|
+
n() && await r();
|
|
9
|
+
});
|
|
10
|
+
e.set(t, i);
|
|
11
|
+
let a = () => {
|
|
12
|
+
e.get(t) === i && e.delete(t);
|
|
13
|
+
};
|
|
14
|
+
return i.then(a, a), i;
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
//#endregion
|
|
19
|
+
export { e as createTourProgressWriteQueue };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useTourMutations.d.ts","sourceRoot":"","sources":["../../../../src/shared/tours/toursContext/useTourMutations.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"useTourMutations.d.ts","sourceRoot":"","sources":["../../../../src/shared/tours/toursContext/useTourMutations.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,QAAQ,EACb,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACpB,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAMrC,UAAU,oBAAoB;IAC5B,YAAY,EAAE,YAAY,GAAG,IAAI,GAAG,SAAS,CAAC;IAC9C,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,WAAW,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,WAAW,EAAE,QAAQ,CAAC,cAAc,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;IAC9C,WAAW,EAAE,gBAAgB,CAAC,IAAI,EAAE,CAAC,CAAC;IACtC,0BAA0B,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAC;IACrD,+BAA+B,EAAE,gBAAgB,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;CACxE;AAED,MAAM,MAAM,cAAc,GACtB,cAAc,GACd,gBAAgB,GAChB,cAAc,GACd,gBAAgB,GAChB,aAAa,GACb,gBAAgB,GAChB,cAAc,GACd,aAAa,CAAC;AAElB,MAAM,WAAW,iBAAiB;IAChC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACpC;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,YAAY,EACZ,MAAM,EACN,WAAW,EACX,QAAQ,EACR,MAAM,EACN,WAAW,EACX,WAAW,EACX,WAAW,EACX,0BAA0B,EAC1B,+BAA+B,GAChC,EAAE,oBAAoB;4BAmCJ,MAAM,UAAU,SAAS,GAAG,WAAW,GAAG,SAAS,YAAY,MAAM;mCA6GrE,MAAM,UAAU,MAAM;4BAiDnB,cAAc,UAAU,MAAM,YAAY,iBAAiB;EA4ChF"}
|