@tgoliveira/outpost 1.1.0 → 1.2.1
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/AGENTS.md +22 -0
- package/dist/adapters/drizzle/index.cjs +57 -0
- package/dist/adapters/drizzle/index.cjs.map +1 -1
- package/dist/adapters/drizzle/index.d.cts +165 -3
- package/dist/adapters/drizzle/index.d.ts +165 -3
- package/dist/adapters/drizzle/index.js +57 -2
- package/dist/adapters/drizzle/index.js.map +1 -1
- package/dist/admin/index.cjs +641 -0
- package/dist/admin/index.cjs.map +1 -0
- package/dist/admin/index.d.cts +119 -0
- package/dist/admin/index.d.ts +119 -0
- package/dist/admin/index.js +638 -0
- package/dist/admin/index.js.map +1 -0
- package/dist/config-override-repository-BHIGX3DJ.d.cts +14 -0
- package/dist/config-override-repository-BHIGX3DJ.d.ts +14 -0
- package/dist/http/index.d.cts +3 -3
- package/dist/http/index.d.ts +3 -3
- package/dist/{index-Dmt-aLH2.d.cts → index-BO0GiZmP.d.cts} +1 -1
- package/dist/{index-CVUvaJms.d.ts → index-c6caPsUG.d.ts} +1 -1
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/modules/ui/index.cjs +942 -0
- package/dist/modules/ui/index.cjs.map +1 -0
- package/dist/modules/ui/index.d.cts +17 -0
- package/dist/modules/ui/index.d.ts +17 -0
- package/dist/modules/ui/index.js +885 -0
- package/dist/modules/ui/index.js.map +1 -0
- package/dist/modules/ui/layouts/page-shell.cjs +58 -0
- package/dist/modules/ui/layouts/page-shell.cjs.map +1 -0
- package/dist/modules/ui/layouts/page-shell.d.cts +13 -0
- package/dist/modules/ui/layouts/page-shell.d.ts +13 -0
- package/dist/modules/ui/layouts/page-shell.js +32 -0
- package/dist/modules/ui/layouts/page-shell.js.map +1 -0
- package/dist/modules/ui/lib/cn.cjs +33 -0
- package/dist/modules/ui/lib/cn.cjs.map +1 -0
- package/dist/modules/ui/lib/cn.d.cts +3 -0
- package/dist/modules/ui/lib/cn.d.ts +3 -0
- package/dist/modules/ui/lib/cn.js +8 -0
- package/dist/modules/ui/lib/cn.js.map +1 -0
- package/dist/modules/ui/lib/main-content.cjs +31 -0
- package/dist/modules/ui/lib/main-content.cjs.map +1 -0
- package/dist/modules/ui/lib/main-content.d.cts +3 -0
- package/dist/modules/ui/lib/main-content.d.ts +3 -0
- package/dist/modules/ui/lib/main-content.js +6 -0
- package/dist/modules/ui/lib/main-content.js.map +1 -0
- package/dist/modules/ui/outpost-ui-provider.cjs +52 -0
- package/dist/modules/ui/outpost-ui-provider.cjs.map +1 -0
- package/dist/modules/ui/outpost-ui-provider.d.cts +15 -0
- package/dist/modules/ui/outpost-ui-provider.d.ts +15 -0
- package/dist/modules/ui/outpost-ui-provider.js +27 -0
- package/dist/modules/ui/outpost-ui-provider.js.map +1 -0
- package/dist/modules/ui/pages/admin/admin-config-page.cjs +429 -0
- package/dist/modules/ui/pages/admin/admin-config-page.cjs.map +1 -0
- package/dist/modules/ui/pages/admin/admin-config-page.d.cts +8 -0
- package/dist/modules/ui/pages/admin/admin-config-page.d.ts +8 -0
- package/dist/modules/ui/pages/admin/admin-config-page.js +395 -0
- package/dist/modules/ui/pages/admin/admin-config-page.js.map +1 -0
- package/dist/modules/ui/pages/admin/admin-observability-page.cjs +344 -0
- package/dist/modules/ui/pages/admin/admin-observability-page.cjs.map +1 -0
- package/dist/modules/ui/pages/admin/admin-observability-page.d.cts +8 -0
- package/dist/modules/ui/pages/admin/admin-observability-page.d.ts +8 -0
- package/dist/modules/ui/pages/admin/admin-observability-page.js +310 -0
- package/dist/modules/ui/pages/admin/admin-observability-page.js.map +1 -0
- package/dist/modules/ui/pages/admin/admin-panel-page.cjs +160 -0
- package/dist/modules/ui/pages/admin/admin-panel-page.cjs.map +1 -0
- package/dist/modules/ui/pages/admin/admin-panel-page.d.cts +9 -0
- package/dist/modules/ui/pages/admin/admin-panel-page.d.ts +9 -0
- package/dist/modules/ui/pages/admin/admin-panel-page.js +126 -0
- package/dist/modules/ui/pages/admin/admin-panel-page.js.map +1 -0
- package/dist/modules/ui/pages/admin/admin-queue-page.cjs +565 -0
- package/dist/modules/ui/pages/admin/admin-queue-page.cjs.map +1 -0
- package/dist/modules/ui/pages/admin/admin-queue-page.d.cts +8 -0
- package/dist/modules/ui/pages/admin/admin-queue-page.d.ts +8 -0
- package/dist/modules/ui/pages/admin/admin-queue-page.js +531 -0
- package/dist/modules/ui/pages/admin/admin-queue-page.js.map +1 -0
- package/dist/modules/ui/pages/index.cjs +909 -0
- package/dist/modules/ui/pages/index.cjs.map +1 -0
- package/dist/modules/ui/pages/index.d.cts +6 -0
- package/dist/modules/ui/pages/index.d.ts +6 -0
- package/dist/modules/ui/pages/index.js +869 -0
- package/dist/modules/ui/pages/index.js.map +1 -0
- package/dist/modules/ui/pages/types.cjs +38 -0
- package/dist/modules/ui/pages/types.cjs.map +1 -0
- package/dist/modules/ui/pages/types.d.cts +9 -0
- package/dist/modules/ui/pages/types.d.ts +9 -0
- package/dist/modules/ui/pages/types.js +12 -0
- package/dist/modules/ui/pages/types.js.map +1 -0
- package/dist/modules/ui/pages/use-page-ui.cjs +55 -0
- package/dist/modules/ui/pages/use-page-ui.cjs.map +1 -0
- package/dist/modules/ui/pages/use-page-ui.d.cts +6 -0
- package/dist/modules/ui/pages/use-page-ui.d.ts +6 -0
- package/dist/modules/ui/pages/use-page-ui.js +29 -0
- package/dist/modules/ui/pages/use-page-ui.js.map +1 -0
- package/dist/modules/ui/primitives/alert.cjs +63 -0
- package/dist/modules/ui/primitives/alert.cjs.map +1 -0
- package/dist/modules/ui/primitives/alert.d.cts +10 -0
- package/dist/modules/ui/primitives/alert.d.ts +10 -0
- package/dist/modules/ui/primitives/alert.js +36 -0
- package/dist/modules/ui/primitives/alert.js.map +1 -0
- package/dist/modules/ui/primitives/badge.cjs +60 -0
- package/dist/modules/ui/primitives/badge.cjs.map +1 -0
- package/dist/modules/ui/primitives/badge.d.cts +9 -0
- package/dist/modules/ui/primitives/badge.d.ts +9 -0
- package/dist/modules/ui/primitives/badge.js +33 -0
- package/dist/modules/ui/primitives/badge.js.map +1 -0
- package/dist/modules/ui/primitives/button.cjs +61 -0
- package/dist/modules/ui/primitives/button.cjs.map +1 -0
- package/dist/modules/ui/primitives/button.d.cts +9 -0
- package/dist/modules/ui/primitives/button.d.ts +9 -0
- package/dist/modules/ui/primitives/button.js +37 -0
- package/dist/modules/ui/primitives/button.js.map +1 -0
- package/dist/modules/ui/primitives/card.cjs +71 -0
- package/dist/modules/ui/primitives/card.cjs.map +1 -0
- package/dist/modules/ui/primitives/card.d.cts +11 -0
- package/dist/modules/ui/primitives/card.d.ts +11 -0
- package/dist/modules/ui/primitives/card.js +41 -0
- package/dist/modules/ui/primitives/card.js.map +1 -0
- package/dist/modules/ui/primitives/empty-state.cjs +37 -0
- package/dist/modules/ui/primitives/empty-state.cjs.map +1 -0
- package/dist/modules/ui/primitives/empty-state.d.cts +9 -0
- package/dist/modules/ui/primitives/empty-state.d.ts +9 -0
- package/dist/modules/ui/primitives/empty-state.js +12 -0
- package/dist/modules/ui/primitives/empty-state.js.map +1 -0
- package/dist/modules/ui/primitives/input.cjs +55 -0
- package/dist/modules/ui/primitives/input.cjs.map +1 -0
- package/dist/modules/ui/primitives/input.d.cts +6 -0
- package/dist/modules/ui/primitives/input.d.ts +6 -0
- package/dist/modules/ui/primitives/input.js +30 -0
- package/dist/modules/ui/primitives/input.js.map +1 -0
- package/dist/modules/ui/primitives/loading-state.cjs +55 -0
- package/dist/modules/ui/primitives/loading-state.cjs.map +1 -0
- package/dist/modules/ui/primitives/loading-state.d.cts +8 -0
- package/dist/modules/ui/primitives/loading-state.d.ts +8 -0
- package/dist/modules/ui/primitives/loading-state.js +30 -0
- package/dist/modules/ui/primitives/loading-state.js.map +1 -0
- package/dist/modules/ui/primitives/page-header.cjs +40 -0
- package/dist/modules/ui/primitives/page-header.cjs.map +1 -0
- package/dist/modules/ui/primitives/page-header.d.cts +10 -0
- package/dist/modules/ui/primitives/page-header.d.ts +10 -0
- package/dist/modules/ui/primitives/page-header.js +15 -0
- package/dist/modules/ui/primitives/page-header.js.map +1 -0
- package/dist/{outpost-client-ymTJISpu.d.ts → outpost-client-BItbgqIo.d.ts} +2 -2
- package/dist/{outpost-client-yUijE00q.d.cts → outpost-client-BlVf4gjo.d.cts} +2 -2
- package/dist/react/client.cjs +14 -0
- package/dist/react/client.cjs.map +1 -0
- package/dist/react/client.d.cts +5 -0
- package/dist/react/client.d.ts +5 -0
- package/dist/react/client.js +11 -0
- package/dist/react/client.js.map +1 -0
- package/dist/react/index.cjs +943 -0
- package/dist/react/index.cjs.map +1 -0
- package/dist/react/index.d.cts +17 -0
- package/dist/react/index.d.ts +17 -0
- package/dist/react/index.js +887 -0
- package/dist/react/index.js.map +1 -0
- package/dist/{repositories-DhUe8f2R.d.cts → repositories-CHIOFGn3.d.cts} +2 -0
- package/dist/{repositories-Bck6wJNS.d.ts → repositories-WyhvxzyY.d.ts} +2 -0
- package/dist/testing/index.cjs +41 -0
- package/dist/testing/index.cjs.map +1 -1
- package/dist/testing/index.d.cts +13 -3
- package/dist/testing/index.d.ts +13 -3
- package/dist/testing/index.js +41 -1
- package/dist/testing/index.js.map +1 -1
- package/dist/workers/index.d.cts +2 -2
- package/dist/workers/index.d.ts +2 -2
- package/package.json +45 -3
- package/styles.css +4 -0
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/modules/ui/primitives/card.tsx
|
|
21
|
+
var card_exports = {};
|
|
22
|
+
__export(card_exports, {
|
|
23
|
+
Card: () => Card,
|
|
24
|
+
CardDescription: () => CardDescription,
|
|
25
|
+
CardHeader: () => CardHeader,
|
|
26
|
+
CardTitle: () => CardTitle
|
|
27
|
+
});
|
|
28
|
+
module.exports = __toCommonJS(card_exports);
|
|
29
|
+
|
|
30
|
+
// src/modules/ui/lib/cn.ts
|
|
31
|
+
function cn(...classes) {
|
|
32
|
+
return classes.filter(Boolean).join(" ");
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
// src/modules/ui/primitives/card.tsx
|
|
36
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
37
|
+
function Card({ className, muted, children, ...props }) {
|
|
38
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
39
|
+
"div",
|
|
40
|
+
{
|
|
41
|
+
className: cn(
|
|
42
|
+
"rounded-[var(--radius)] border border-[var(--border)] p-5 shadow-[var(--shadow-sm)]",
|
|
43
|
+
muted ? "bg-[var(--card-muted)]" : "bg-[var(--card)]",
|
|
44
|
+
className
|
|
45
|
+
),
|
|
46
|
+
...props,
|
|
47
|
+
children
|
|
48
|
+
}
|
|
49
|
+
);
|
|
50
|
+
}
|
|
51
|
+
function CardHeader({ className, children, ...props }) {
|
|
52
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: cn("mb-4 space-y-1", className), ...props, children });
|
|
53
|
+
}
|
|
54
|
+
function CardTitle({ className, children, ...props }) {
|
|
55
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("h2", { className: cn("text-lg font-medium text-[var(--foreground)]", className), ...props, children });
|
|
56
|
+
}
|
|
57
|
+
function CardDescription({
|
|
58
|
+
className,
|
|
59
|
+
children,
|
|
60
|
+
...props
|
|
61
|
+
}) {
|
|
62
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { className: cn("text-sm leading-relaxed text-[var(--muted)]", className), ...props, children });
|
|
63
|
+
}
|
|
64
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
65
|
+
0 && (module.exports = {
|
|
66
|
+
Card,
|
|
67
|
+
CardDescription,
|
|
68
|
+
CardHeader,
|
|
69
|
+
CardTitle
|
|
70
|
+
});
|
|
71
|
+
//# sourceMappingURL=card.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/modules/ui/primitives/card.tsx","../../../../src/modules/ui/lib/cn.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAO,SAAS,MAAM,SAA2D;AAC/E,SAAO,QAAQ,OAAO,OAAO,EAAE,KAAK,GAAG;AACzC;;;ADMI;AAFG,SAAS,KAAK,EAAE,WAAW,OAAO,UAAU,GAAG,MAAM,GAAc;AACxE,SACE;AAAA,IAAC;AAAA;AAAA,MACC,WAAW;AAAA,QACT;AAAA,QACA,QAAQ,2BAA2B;AAAA,QACnC;AAAA,MACF;AAAA,MACC,GAAG;AAAA,MAEH;AAAA;AAAA,EACH;AAEJ;AAEO,SAAS,WAAW,EAAE,WAAW,UAAU,GAAG,MAAM,GAAyC;AAClG,SACE,4CAAC,SAAI,WAAW,GAAG,kBAAkB,SAAS,GAAI,GAAG,OAClD,UACH;AAEJ;AAEO,SAAS,UAAU,EAAE,WAAW,UAAU,GAAG,MAAM,GAA6C;AACrG,SACE,4CAAC,QAAG,WAAW,GAAG,gDAAgD,SAAS,GAAI,GAAG,OAC/E,UACH;AAEJ;AAEO,SAAS,gBAAgB;AAAA,EAC9B;AAAA,EACA;AAAA,EACA,GAAG;AACL,GAA+C;AAC7C,SACE,4CAAC,OAAE,WAAW,GAAG,+CAA+C,SAAS,GAAI,GAAG,OAC7E,UACH;AAEJ;","names":[]}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
|
|
3
|
+
type CardProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
4
|
+
muted?: boolean;
|
|
5
|
+
};
|
|
6
|
+
declare function Card({ className, muted, children, ...props }: CardProps): react.JSX.Element;
|
|
7
|
+
declare function CardHeader({ className, children, ...props }: React.HTMLAttributes<HTMLDivElement>): react.JSX.Element;
|
|
8
|
+
declare function CardTitle({ className, children, ...props }: React.HTMLAttributes<HTMLHeadingElement>): react.JSX.Element;
|
|
9
|
+
declare function CardDescription({ className, children, ...props }: React.HTMLAttributes<HTMLParagraphElement>): react.JSX.Element;
|
|
10
|
+
|
|
11
|
+
export { Card, CardDescription, CardHeader, CardTitle };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
|
|
3
|
+
type CardProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
4
|
+
muted?: boolean;
|
|
5
|
+
};
|
|
6
|
+
declare function Card({ className, muted, children, ...props }: CardProps): react.JSX.Element;
|
|
7
|
+
declare function CardHeader({ className, children, ...props }: React.HTMLAttributes<HTMLDivElement>): react.JSX.Element;
|
|
8
|
+
declare function CardTitle({ className, children, ...props }: React.HTMLAttributes<HTMLHeadingElement>): react.JSX.Element;
|
|
9
|
+
declare function CardDescription({ className, children, ...props }: React.HTMLAttributes<HTMLParagraphElement>): react.JSX.Element;
|
|
10
|
+
|
|
11
|
+
export { Card, CardDescription, CardHeader, CardTitle };
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
// src/modules/ui/lib/cn.ts
|
|
2
|
+
function cn(...classes) {
|
|
3
|
+
return classes.filter(Boolean).join(" ");
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
// src/modules/ui/primitives/card.tsx
|
|
7
|
+
import { jsx } from "react/jsx-runtime";
|
|
8
|
+
function Card({ className, muted, children, ...props }) {
|
|
9
|
+
return /* @__PURE__ */ jsx(
|
|
10
|
+
"div",
|
|
11
|
+
{
|
|
12
|
+
className: cn(
|
|
13
|
+
"rounded-[var(--radius)] border border-[var(--border)] p-5 shadow-[var(--shadow-sm)]",
|
|
14
|
+
muted ? "bg-[var(--card-muted)]" : "bg-[var(--card)]",
|
|
15
|
+
className
|
|
16
|
+
),
|
|
17
|
+
...props,
|
|
18
|
+
children
|
|
19
|
+
}
|
|
20
|
+
);
|
|
21
|
+
}
|
|
22
|
+
function CardHeader({ className, children, ...props }) {
|
|
23
|
+
return /* @__PURE__ */ jsx("div", { className: cn("mb-4 space-y-1", className), ...props, children });
|
|
24
|
+
}
|
|
25
|
+
function CardTitle({ className, children, ...props }) {
|
|
26
|
+
return /* @__PURE__ */ jsx("h2", { className: cn("text-lg font-medium text-[var(--foreground)]", className), ...props, children });
|
|
27
|
+
}
|
|
28
|
+
function CardDescription({
|
|
29
|
+
className,
|
|
30
|
+
children,
|
|
31
|
+
...props
|
|
32
|
+
}) {
|
|
33
|
+
return /* @__PURE__ */ jsx("p", { className: cn("text-sm leading-relaxed text-[var(--muted)]", className), ...props, children });
|
|
34
|
+
}
|
|
35
|
+
export {
|
|
36
|
+
Card,
|
|
37
|
+
CardDescription,
|
|
38
|
+
CardHeader,
|
|
39
|
+
CardTitle
|
|
40
|
+
};
|
|
41
|
+
//# sourceMappingURL=card.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/modules/ui/lib/cn.ts","../../../../src/modules/ui/primitives/card.tsx"],"mappings":";AAAO,SAAS,MAAM,SAA2D;AAC/E,SAAO,QAAQ,OAAO,OAAO,EAAE,KAAK,GAAG;AACzC;;;ACMI;AAFG,SAAS,KAAK,EAAE,WAAW,OAAO,UAAU,GAAG,MAAM,GAAc;AACxE,SACE;AAAA,IAAC;AAAA;AAAA,MACC,WAAW;AAAA,QACT;AAAA,QACA,QAAQ,2BAA2B;AAAA,QACnC;AAAA,MACF;AAAA,MACC,GAAG;AAAA,MAEH;AAAA;AAAA,EACH;AAEJ;AAEO,SAAS,WAAW,EAAE,WAAW,UAAU,GAAG,MAAM,GAAyC;AAClG,SACE,oBAAC,SAAI,WAAW,GAAG,kBAAkB,SAAS,GAAI,GAAG,OAClD,UACH;AAEJ;AAEO,SAAS,UAAU,EAAE,WAAW,UAAU,GAAG,MAAM,GAA6C;AACrG,SACE,oBAAC,QAAG,WAAW,GAAG,gDAAgD,SAAS,GAAI,GAAG,OAC/E,UACH;AAEJ;AAEO,SAAS,gBAAgB;AAAA,EAC9B;AAAA,EACA;AAAA,EACA,GAAG;AACL,GAA+C;AAC7C,SACE,oBAAC,OAAE,WAAW,GAAG,+CAA+C,SAAS,GAAI,GAAG,OAC7E,UACH;AAEJ;","names":[]}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/modules/ui/primitives/empty-state.tsx
|
|
21
|
+
var empty_state_exports = {};
|
|
22
|
+
__export(empty_state_exports, {
|
|
23
|
+
EmptyState: () => EmptyState
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(empty_state_exports);
|
|
26
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
27
|
+
function EmptyState({ title, description }) {
|
|
28
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "py-8 text-center", children: [
|
|
29
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { className: "text-sm font-medium text-[var(--foreground)]", children: title }),
|
|
30
|
+
description && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { className: "mt-1 text-sm text-[var(--muted)]", children: description })
|
|
31
|
+
] });
|
|
32
|
+
}
|
|
33
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
34
|
+
0 && (module.exports = {
|
|
35
|
+
EmptyState
|
|
36
|
+
});
|
|
37
|
+
//# sourceMappingURL=empty-state.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/modules/ui/primitives/empty-state.tsx"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAOI;AAFG,SAAS,WAAW,EAAE,OAAO,YAAY,GAAoB;AAClE,SACE,6CAAC,SAAI,WAAU,oBACb;AAAA,gDAAC,OAAE,WAAU,gDAAgD,iBAAM;AAAA,IAClE,eAAe,4CAAC,OAAE,WAAU,oCAAoC,uBAAY;AAAA,KAC/E;AAEJ;","names":[]}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/modules/ui/primitives/empty-state.tsx
|
|
2
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
function EmptyState({ title, description }) {
|
|
4
|
+
return /* @__PURE__ */ jsxs("div", { className: "py-8 text-center", children: [
|
|
5
|
+
/* @__PURE__ */ jsx("p", { className: "text-sm font-medium text-[var(--foreground)]", children: title }),
|
|
6
|
+
description && /* @__PURE__ */ jsx("p", { className: "mt-1 text-sm text-[var(--muted)]", children: description })
|
|
7
|
+
] });
|
|
8
|
+
}
|
|
9
|
+
export {
|
|
10
|
+
EmptyState
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=empty-state.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/modules/ui/primitives/empty-state.tsx"],"mappings":";AAOI,SACE,KADF;AAFG,SAAS,WAAW,EAAE,OAAO,YAAY,GAAoB;AAClE,SACE,qBAAC,SAAI,WAAU,oBACb;AAAA,wBAAC,OAAE,WAAU,gDAAgD,iBAAM;AAAA,IAClE,eAAe,oBAAC,OAAE,WAAU,oCAAoC,uBAAY;AAAA,KAC/E;AAEJ;","names":[]}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/modules/ui/primitives/input.tsx
|
|
21
|
+
var input_exports = {};
|
|
22
|
+
__export(input_exports, {
|
|
23
|
+
Input: () => Input
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(input_exports);
|
|
26
|
+
var import_react = require("react");
|
|
27
|
+
|
|
28
|
+
// src/modules/ui/lib/cn.ts
|
|
29
|
+
function cn(...classes) {
|
|
30
|
+
return classes.filter(Boolean).join(" ");
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
// src/modules/ui/primitives/input.tsx
|
|
34
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
35
|
+
var Input = (0, import_react.forwardRef)(
|
|
36
|
+
function Input2({ className, ...props }, ref) {
|
|
37
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
38
|
+
"input",
|
|
39
|
+
{
|
|
40
|
+
ref,
|
|
41
|
+
className: cn(
|
|
42
|
+
"w-full rounded-[var(--radius)] border border-[var(--border)] bg-[var(--card)] px-3 py-2 text-sm text-[var(--foreground)]",
|
|
43
|
+
"placeholder:text-[var(--muted)] focus:outline-none focus:ring-2 focus:ring-[var(--primary)]",
|
|
44
|
+
className
|
|
45
|
+
),
|
|
46
|
+
...props
|
|
47
|
+
}
|
|
48
|
+
);
|
|
49
|
+
}
|
|
50
|
+
);
|
|
51
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
52
|
+
0 && (module.exports = {
|
|
53
|
+
Input
|
|
54
|
+
});
|
|
55
|
+
//# sourceMappingURL=input.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/modules/ui/primitives/input.tsx","../../../../src/modules/ui/lib/cn.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAqD;;;ACA9C,SAAS,MAAM,SAA2D;AAC/E,SAAO,QAAQ,OAAO,OAAO,EAAE,KAAK,GAAG;AACzC;;;ADIM;AAHC,IAAM,YAAQ;AAAA,EACnB,SAASA,OAAM,EAAE,WAAW,GAAG,MAAM,GAAG,KAAK;AAC3C,WACE;AAAA,MAAC;AAAA;AAAA,QACC;AAAA,QACA,WAAW;AAAA,UACT;AAAA,UACA;AAAA,UACA;AAAA,QACF;AAAA,QACC,GAAG;AAAA;AAAA,IACN;AAAA,EAEJ;AACF;","names":["Input"]}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
// src/modules/ui/primitives/input.tsx
|
|
2
|
+
import { forwardRef } from "react";
|
|
3
|
+
|
|
4
|
+
// src/modules/ui/lib/cn.ts
|
|
5
|
+
function cn(...classes) {
|
|
6
|
+
return classes.filter(Boolean).join(" ");
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
// src/modules/ui/primitives/input.tsx
|
|
10
|
+
import { jsx } from "react/jsx-runtime";
|
|
11
|
+
var Input = forwardRef(
|
|
12
|
+
function Input2({ className, ...props }, ref) {
|
|
13
|
+
return /* @__PURE__ */ jsx(
|
|
14
|
+
"input",
|
|
15
|
+
{
|
|
16
|
+
ref,
|
|
17
|
+
className: cn(
|
|
18
|
+
"w-full rounded-[var(--radius)] border border-[var(--border)] bg-[var(--card)] px-3 py-2 text-sm text-[var(--foreground)]",
|
|
19
|
+
"placeholder:text-[var(--muted)] focus:outline-none focus:ring-2 focus:ring-[var(--primary)]",
|
|
20
|
+
className
|
|
21
|
+
),
|
|
22
|
+
...props
|
|
23
|
+
}
|
|
24
|
+
);
|
|
25
|
+
}
|
|
26
|
+
);
|
|
27
|
+
export {
|
|
28
|
+
Input
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=input.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/modules/ui/primitives/input.tsx","../../../../src/modules/ui/lib/cn.ts"],"mappings":";AAAA,SAAS,kBAA4C;;;ACA9C,SAAS,MAAM,SAA2D;AAC/E,SAAO,QAAQ,OAAO,OAAO,EAAE,KAAK,GAAG;AACzC;;;ADIM;AAHC,IAAM,QAAQ;AAAA,EACnB,SAASA,OAAM,EAAE,WAAW,GAAG,MAAM,GAAG,KAAK;AAC3C,WACE;AAAA,MAAC;AAAA;AAAA,QACC;AAAA,QACA,WAAW;AAAA,UACT;AAAA,UACA;AAAA,UACA;AAAA,QACF;AAAA,QACC,GAAG;AAAA;AAAA,IACN;AAAA,EAEJ;AACF;","names":["Input"]}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/modules/ui/primitives/loading-state.tsx
|
|
21
|
+
var loading_state_exports = {};
|
|
22
|
+
__export(loading_state_exports, {
|
|
23
|
+
LoadingState: () => LoadingState
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(loading_state_exports);
|
|
26
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
27
|
+
function LoadingState({ label = "Loading" }) {
|
|
28
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
29
|
+
"div",
|
|
30
|
+
{
|
|
31
|
+
className: "flex flex-col items-center justify-center gap-3 py-16 text-center",
|
|
32
|
+
role: "status",
|
|
33
|
+
"aria-live": "polite",
|
|
34
|
+
"aria-busy": "true",
|
|
35
|
+
children: [
|
|
36
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
37
|
+
"div",
|
|
38
|
+
{
|
|
39
|
+
className: "h-8 w-8 animate-pulse rounded-full border-2 border-[var(--border)] border-t-[var(--primary)]",
|
|
40
|
+
"aria-hidden": "true"
|
|
41
|
+
}
|
|
42
|
+
),
|
|
43
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("p", { className: "text-sm text-[var(--muted)]", children: [
|
|
44
|
+
label,
|
|
45
|
+
"\u2026"
|
|
46
|
+
] })
|
|
47
|
+
]
|
|
48
|
+
}
|
|
49
|
+
);
|
|
50
|
+
}
|
|
51
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
52
|
+
0 && (module.exports = {
|
|
53
|
+
LoadingState
|
|
54
|
+
});
|
|
55
|
+
//# sourceMappingURL=loading-state.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/modules/ui/primitives/loading-state.tsx"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAYM;AARC,SAAS,aAAa,EAAE,QAAQ,UAAU,GAAsB;AACrE,SACE;AAAA,IAAC;AAAA;AAAA,MACC,WAAU;AAAA,MACV,MAAK;AAAA,MACL,aAAU;AAAA,MACV,aAAU;AAAA,MAEV;AAAA;AAAA,UAAC;AAAA;AAAA,YACC,WAAU;AAAA,YACV,eAAY;AAAA;AAAA,QACd;AAAA,QACA,6CAAC,OAAE,WAAU,+BAA+B;AAAA;AAAA,UAAM;AAAA,WAAC;AAAA;AAAA;AAAA,EACrD;AAEJ;","names":[]}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
// src/modules/ui/primitives/loading-state.tsx
|
|
2
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
function LoadingState({ label = "Loading" }) {
|
|
4
|
+
return /* @__PURE__ */ jsxs(
|
|
5
|
+
"div",
|
|
6
|
+
{
|
|
7
|
+
className: "flex flex-col items-center justify-center gap-3 py-16 text-center",
|
|
8
|
+
role: "status",
|
|
9
|
+
"aria-live": "polite",
|
|
10
|
+
"aria-busy": "true",
|
|
11
|
+
children: [
|
|
12
|
+
/* @__PURE__ */ jsx(
|
|
13
|
+
"div",
|
|
14
|
+
{
|
|
15
|
+
className: "h-8 w-8 animate-pulse rounded-full border-2 border-[var(--border)] border-t-[var(--primary)]",
|
|
16
|
+
"aria-hidden": "true"
|
|
17
|
+
}
|
|
18
|
+
),
|
|
19
|
+
/* @__PURE__ */ jsxs("p", { className: "text-sm text-[var(--muted)]", children: [
|
|
20
|
+
label,
|
|
21
|
+
"\u2026"
|
|
22
|
+
] })
|
|
23
|
+
]
|
|
24
|
+
}
|
|
25
|
+
);
|
|
26
|
+
}
|
|
27
|
+
export {
|
|
28
|
+
LoadingState
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=loading-state.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/modules/ui/primitives/loading-state.tsx"],"mappings":";AAYM,cAIA,YAJA;AARC,SAAS,aAAa,EAAE,QAAQ,UAAU,GAAsB;AACrE,SACE;AAAA,IAAC;AAAA;AAAA,MACC,WAAU;AAAA,MACV,MAAK;AAAA,MACL,aAAU;AAAA,MACV,aAAU;AAAA,MAEV;AAAA;AAAA,UAAC;AAAA;AAAA,YACC,WAAU;AAAA,YACV,eAAY;AAAA;AAAA,QACd;AAAA,QACA,qBAAC,OAAE,WAAU,+BAA+B;AAAA;AAAA,UAAM;AAAA,WAAC;AAAA;AAAA;AAAA,EACrD;AAEJ;","names":[]}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/modules/ui/primitives/page-header.tsx
|
|
21
|
+
var page_header_exports = {};
|
|
22
|
+
__export(page_header_exports, {
|
|
23
|
+
PageHeader: () => PageHeader
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(page_header_exports);
|
|
26
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
27
|
+
function PageHeader({ title, description, action }) {
|
|
28
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "mb-8 flex flex-col gap-4 sm:flex-row sm:items-start sm:justify-between", children: [
|
|
29
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "space-y-2", children: [
|
|
30
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("h1", { className: "text-2xl font-semibold tracking-tight text-[var(--foreground)]", children: title }),
|
|
31
|
+
description && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { className: "max-w-prose text-sm leading-relaxed text-[var(--muted)]", children: description })
|
|
32
|
+
] }),
|
|
33
|
+
action && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "shrink-0", children: action })
|
|
34
|
+
] });
|
|
35
|
+
}
|
|
36
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
37
|
+
0 && (module.exports = {
|
|
38
|
+
PageHeader
|
|
39
|
+
});
|
|
40
|
+
//# sourceMappingURL=page-header.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/modules/ui/primitives/page-header.tsx"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AASM;AAHC,SAAS,WAAW,EAAE,OAAO,aAAa,OAAO,GAAoB;AAC1E,SACE,6CAAC,SAAI,WAAU,0EACb;AAAA,iDAAC,SAAI,WAAU,aACb;AAAA,kDAAC,QAAG,WAAU,kEAAkE,iBAAM;AAAA,MACrF,eACC,4CAAC,OAAE,WAAU,2DAA2D,uBAAY;AAAA,OAExF;AAAA,IACC,UAAU,4CAAC,SAAI,WAAU,YAAY,kBAAO;AAAA,KAC/C;AAEJ;","names":[]}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
|
|
3
|
+
interface PageHeaderProps {
|
|
4
|
+
title: string;
|
|
5
|
+
description?: string;
|
|
6
|
+
action?: React.ReactNode;
|
|
7
|
+
}
|
|
8
|
+
declare function PageHeader({ title, description, action }: PageHeaderProps): react.JSX.Element;
|
|
9
|
+
|
|
10
|
+
export { PageHeader };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
|
|
3
|
+
interface PageHeaderProps {
|
|
4
|
+
title: string;
|
|
5
|
+
description?: string;
|
|
6
|
+
action?: React.ReactNode;
|
|
7
|
+
}
|
|
8
|
+
declare function PageHeader({ title, description, action }: PageHeaderProps): react.JSX.Element;
|
|
9
|
+
|
|
10
|
+
export { PageHeader };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// src/modules/ui/primitives/page-header.tsx
|
|
2
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
function PageHeader({ title, description, action }) {
|
|
4
|
+
return /* @__PURE__ */ jsxs("div", { className: "mb-8 flex flex-col gap-4 sm:flex-row sm:items-start sm:justify-between", children: [
|
|
5
|
+
/* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
6
|
+
/* @__PURE__ */ jsx("h1", { className: "text-2xl font-semibold tracking-tight text-[var(--foreground)]", children: title }),
|
|
7
|
+
description && /* @__PURE__ */ jsx("p", { className: "max-w-prose text-sm leading-relaxed text-[var(--muted)]", children: description })
|
|
8
|
+
] }),
|
|
9
|
+
action && /* @__PURE__ */ jsx("div", { className: "shrink-0", children: action })
|
|
10
|
+
] });
|
|
11
|
+
}
|
|
12
|
+
export {
|
|
13
|
+
PageHeader
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=page-header.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/modules/ui/primitives/page-header.tsx"],"mappings":";AASM,SACE,KADF;AAHC,SAAS,WAAW,EAAE,OAAO,aAAa,OAAO,GAAoB;AAC1E,SACE,qBAAC,SAAI,WAAU,0EACb;AAAA,yBAAC,SAAI,WAAU,aACb;AAAA,0BAAC,QAAG,WAAU,kEAAkE,iBAAM;AAAA,MACrF,eACC,oBAAC,OAAE,WAAU,2DAA2D,uBAAY;AAAA,OAExF;AAAA,IACC,UAAU,oBAAC,SAAI,WAAU,YAAY,kBAAO;AAAA,KAC/C;AAEJ;","names":[]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { C as CoreDeps, S as SendWorker, R as RetentionWorker } from './index-
|
|
1
|
+
import { C as CoreDeps, S as SendWorker, R as RetentionWorker } from './index-c6caPsUG.js';
|
|
2
2
|
import { M as Message, W as WebhookEvent } from './webhook-kp6CiXk-.js';
|
|
3
3
|
import { R as RawWebhook } from './services-CfTEsetF.js';
|
|
4
|
-
import { j as SuppressionEntry, k as SuppressionReason, d as ApiScope, c as ApiKey, L as ListMessagesQuery } from './repositories-
|
|
4
|
+
import { j as SuppressionEntry, k as SuppressionReason, d as ApiScope, c as ApiKey, L as ListMessagesQuery } from './repositories-WyhvxzyY.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Input accepted by `outpost.send(...)` and `POST /messages` (TDR §4.3).
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { C as CoreDeps, S as SendWorker, R as RetentionWorker } from './index-
|
|
1
|
+
import { C as CoreDeps, S as SendWorker, R as RetentionWorker } from './index-BO0GiZmP.cjs';
|
|
2
2
|
import { M as Message, W as WebhookEvent } from './webhook-kp6CiXk-.cjs';
|
|
3
3
|
import { R as RawWebhook } from './services-CQINhAGo.cjs';
|
|
4
|
-
import { j as SuppressionEntry, k as SuppressionReason, d as ApiScope, c as ApiKey, L as ListMessagesQuery } from './repositories-
|
|
4
|
+
import { j as SuppressionEntry, k as SuppressionReason, d as ApiScope, c as ApiKey, L as ListMessagesQuery } from './repositories-CHIOFGn3.cjs';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Input accepted by `outpost.send(...)` and `POST /messages` (TDR §4.3).
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
// src/modules/ui/lib/cn.ts
|
|
4
|
+
function cn(...classes) {
|
|
5
|
+
return classes.filter(Boolean).join(" ");
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
// src/modules/ui/lib/main-content.ts
|
|
9
|
+
var MAIN_CONTENT_ID = "outpost-main-content";
|
|
10
|
+
|
|
11
|
+
exports.MAIN_CONTENT_ID = MAIN_CONTENT_ID;
|
|
12
|
+
exports.cn = cn;
|
|
13
|
+
//# sourceMappingURL=client.cjs.map
|
|
14
|
+
//# sourceMappingURL=client.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/modules/ui/lib/cn.ts","../../src/modules/ui/lib/main-content.ts"],"names":[],"mappings":";;;AAAO,SAAS,MAAM,OAAA,EAA2D;AAC/E,EAAA,OAAO,OAAA,CAAQ,MAAA,CAAO,OAAO,CAAA,CAAE,KAAK,GAAG,CAAA;AACzC;;;ACFO,IAAM,eAAA,GAAkB","file":"client.cjs","sourcesContent":["export function cn(...classes: Array<string | false | null | undefined>): string {\n return classes.filter(Boolean).join(\" \");\n}\n","export const MAIN_CONTENT_ID = \"outpost-main-content\";\n"]}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// src/modules/ui/lib/cn.ts
|
|
2
|
+
function cn(...classes) {
|
|
3
|
+
return classes.filter(Boolean).join(" ");
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
// src/modules/ui/lib/main-content.ts
|
|
7
|
+
var MAIN_CONTENT_ID = "outpost-main-content";
|
|
8
|
+
|
|
9
|
+
export { MAIN_CONTENT_ID, cn };
|
|
10
|
+
//# sourceMappingURL=client.js.map
|
|
11
|
+
//# sourceMappingURL=client.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/modules/ui/lib/cn.ts","../../src/modules/ui/lib/main-content.ts"],"names":[],"mappings":";AAAO,SAAS,MAAM,OAAA,EAA2D;AAC/E,EAAA,OAAO,OAAA,CAAQ,MAAA,CAAO,OAAO,CAAA,CAAE,KAAK,GAAG,CAAA;AACzC;;;ACFO,IAAM,eAAA,GAAkB","file":"client.js","sourcesContent":["export function cn(...classes: Array<string | false | null | undefined>): string {\n return classes.filter(Boolean).join(\" \");\n}\n","export const MAIN_CONTENT_ID = \"outpost-main-content\";\n"]}
|