@burdenoff/microfe-vibecontrols 2026.1023.4 → 2026.1023.6
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/components/shared/QuotaExhaustedDialog.js +22 -17
- package/dist/components/shared/VibeControlsDocsLink.js +40 -0
- package/dist/components/shared/index.js +1 -0
- package/dist/pages/ActionsPage.js +362 -330
- package/dist/pages/AgentsPage.js +255 -227
- package/dist/pages/CatalogPage.js +98 -79
- package/dist/pages/ComponentsPage.js +77 -49
- package/dist/pages/GettingStartedPage.js +109 -108
- package/dist/pages/PluginsCatalogPage.js +44 -29
- package/dist/pages/SessionsPage.js +774 -691
- package/dist/pages/TargetsPage.js +619 -572
- package/dist/pages/TunnelsLandingPage.js +46 -39
- package/dist/pages/VibeDeckPage.js +233 -230
- package/dist/pages/WebhooksPage.js +196 -181
- package/dist/utils/pageContext.js +1 -3
- package/package.json +1 -1
|
@@ -1,23 +1,28 @@
|
|
|
1
1
|
import { useTr as e } from "../../shared/hooks/useTr.js";
|
|
2
2
|
import { ConfirmDialog as t } from "./ConfirmDialog.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
3
|
+
import { VibeControlsDocsLink as n } from "./VibeControlsDocsLink.js";
|
|
4
|
+
import { useCallback as r } from "react";
|
|
5
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
6
|
+
import { useEventBus as a } from "@burdenoff/fe-libs/shared/events";
|
|
6
7
|
//#region src/components/shared/QuotaExhaustedDialog.tsx
|
|
7
|
-
function
|
|
8
|
-
let
|
|
9
|
-
return /* @__PURE__ */
|
|
10
|
-
isOpen:
|
|
11
|
-
onClose:
|
|
12
|
-
onConfirm:
|
|
13
|
-
|
|
14
|
-
}, [
|
|
15
|
-
title:
|
|
16
|
-
message:
|
|
17
|
-
confirmLabel:
|
|
18
|
-
cancelLabel:
|
|
19
|
-
variant: "warning"
|
|
8
|
+
function o({ isOpen: o, onClose: s, onConfirm: c, title: l, message: u, confirmLabel: d, cancelLabel: f }) {
|
|
9
|
+
let p = e(), m = a();
|
|
10
|
+
return /* @__PURE__ */ i(t, {
|
|
11
|
+
isOpen: o,
|
|
12
|
+
onClose: s,
|
|
13
|
+
onConfirm: r(() => {
|
|
14
|
+
m.emitCustom("vibecontrols.billing.upgrade_clicked", {}), c();
|
|
15
|
+
}, [m, c]),
|
|
16
|
+
title: l ?? p("vibecontrols.shared.quotaExhaustedDialog.title", "Quota Reached"),
|
|
17
|
+
message: u,
|
|
18
|
+
confirmLabel: d ?? p("vibecontrols.shared.quotaExhaustedDialog.viewBilling", "View Billing"),
|
|
19
|
+
cancelLabel: f ?? p("vibecontrols.shared.quotaExhaustedDialog.dismiss", "Dismiss"),
|
|
20
|
+
variant: "warning",
|
|
21
|
+
children: /* @__PURE__ */ i(n, {
|
|
22
|
+
topic: "plans",
|
|
23
|
+
children: p("vibecontrols.shared.quotaExhaustedDialog.plansGuide", "How plans and quotas work")
|
|
24
|
+
})
|
|
20
25
|
});
|
|
21
26
|
}
|
|
22
27
|
//#endregion
|
|
23
|
-
export {
|
|
28
|
+
export { o as QuotaExhaustedDialog };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { useTr as e } from "../../shared/hooks/useTr.js";
|
|
2
|
+
import { BookOpen as t } from "lucide-react";
|
|
3
|
+
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
4
|
+
import { DocsLink as i, useProductDocsUrl as a } from "@burdenoff/fe-libs/shared/components";
|
|
5
|
+
import { cn as o } from "@burdenoff/fe-libs/utils";
|
|
6
|
+
//#region src/components/shared/VibeControlsDocsLink.tsx
|
|
7
|
+
var s = {
|
|
8
|
+
gettingStarted: "/users/getting-started",
|
|
9
|
+
installAgent: "/users/installing-the-agent",
|
|
10
|
+
sessions: "/users/sessions-and-terminals",
|
|
11
|
+
tunnels: "/users/port-forwarding-and-tunnels",
|
|
12
|
+
vibedecks: "/users/vibedecks",
|
|
13
|
+
plans: "/users/plans-and-quotas"
|
|
14
|
+
}, c = "vibecontrols";
|
|
15
|
+
function l(e, t = {}) {
|
|
16
|
+
return a(s[e], {
|
|
17
|
+
productSlug: c,
|
|
18
|
+
environment: t.environment,
|
|
19
|
+
registry: t.registry
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
function u({ topic: a, children: l, className: u, hideIcon: d = !1, environment: f, registry: p, "data-tour": m }) {
|
|
23
|
+
let h = e(), g = l ?? h("vibecontrols.docs.learnMore", "Learn more");
|
|
24
|
+
return /* @__PURE__ */ r(i, {
|
|
25
|
+
productSlug: c,
|
|
26
|
+
path: s[a],
|
|
27
|
+
environment: f,
|
|
28
|
+
registry: p,
|
|
29
|
+
"data-docs-topic": a,
|
|
30
|
+
"data-tour": m,
|
|
31
|
+
title: h("vibecontrols.docs.opensInNewTab", "Opens the VibeControls guide in a new tab"),
|
|
32
|
+
className: o("inline-flex items-center gap-1 rounded-sm text-sm font-medium text-text-link underline-offset-4 hover:underline focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-border-focus focus-visible:ring-offset-2 focus-visible:ring-offset-bg-canvas", u),
|
|
33
|
+
children: [d ? null : /* @__PURE__ */ n(t, {
|
|
34
|
+
className: "size-3.5 shrink-0",
|
|
35
|
+
"aria-hidden": "true"
|
|
36
|
+
}), /* @__PURE__ */ n("span", { children: g })]
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
//#endregion
|
|
40
|
+
export { s as VIBECONTROLS_DOCS_PATHS, c as VIBECONTROLS_DOCS_PRODUCT, u as VibeControlsDocsLink, l as useVibeControlsDocsUrl };
|