@betterportal/hello-view 10.0.0 → 10.0.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/lib/plugins/service-betterportal-hello-view/.bp-generated/registry.d.ts.map +1 -1
- package/lib/plugins/service-betterportal-hello-view/.bp-generated/registry.js +43 -29
- package/lib/plugins/service-betterportal-hello-view/.bp-generated/registry.js.map +1 -1
- package/lib/plugins/service-betterportal-hello-view/bp-routes/delayed/GET.d.ts +3 -0
- package/lib/plugins/service-betterportal-hello-view/bp-routes/delayed/GET.d.ts.map +1 -0
- package/lib/plugins/service-betterportal-hello-view/bp-routes/delayed/GET.js +3 -0
- package/lib/plugins/service-betterportal-hello-view/bp-routes/delayed/GET.js.map +1 -0
- package/lib/plugins/service-betterportal-hello-view/bp-routes/delayed/_theme.bootstrap1/{index.d.ts → GET.d.ts} +2 -2
- package/lib/plugins/service-betterportal-hello-view/bp-routes/delayed/_theme.bootstrap1/GET.d.ts.map +1 -0
- package/lib/plugins/service-betterportal-hello-view/bp-routes/delayed/_theme.bootstrap1/{index.js → GET.js} +1 -1
- package/lib/plugins/service-betterportal-hello-view/bp-routes/delayed/_theme.bootstrap1/GET.js.map +1 -0
- package/lib/plugins/service-betterportal-hello-view/bp-routes/delayed/_theme.bootstrap1/index.stream.d.ts +1 -1
- package/lib/plugins/service-betterportal-hello-view/bp-routes/delayed/_theme.bootstrap1/index.stream.d.ts.map +1 -1
- package/lib/plugins/service-betterportal-hello-view/bp-routes/delayed/index.d.ts +1 -33
- package/lib/plugins/service-betterportal-hello-view/bp-routes/delayed/index.d.ts.map +1 -1
- package/lib/plugins/service-betterportal-hello-view/bp-routes/delayed/index.js +1 -49
- package/lib/plugins/service-betterportal-hello-view/bp-routes/delayed/index.js.map +1 -1
- package/lib/plugins/service-betterportal-hello-view/bp-routes/delayed/route.impl.d.ts +34 -0
- package/lib/plugins/service-betterportal-hello-view/bp-routes/delayed/route.impl.d.ts.map +1 -0
- package/lib/plugins/service-betterportal-hello-view/bp-routes/delayed/route.impl.js +50 -0
- package/lib/plugins/service-betterportal-hello-view/bp-routes/delayed/route.impl.js.map +1 -0
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/GET.d.ts +3 -0
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/GET.d.ts.map +1 -0
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/GET.js +3 -0
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/GET.js.map +1 -0
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/{sse.d.ts → GET.sse.d.ts} +1 -1
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/GET.sse.d.ts.map +1 -0
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/{sse.js → GET.sse.js} +1 -1
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/GET.sse.js.map +1 -0
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/{_theme.embedded/index.d.ts → _theme.bootstrap1/GET.d.ts} +2 -2
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/GET.d.ts.map +1 -0
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/{index.js → GET.js} +1 -1
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/GET.js.map +1 -0
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/{_nav.clock.d.ts → _nav.clock.GET.d.ts} +2 -2
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/_nav.clock.GET.d.ts.map +1 -0
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/{_nav.clock.js → _nav.clock.GET.js} +1 -1
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/_nav.clock.GET.js.map +1 -0
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/{_nav.clock.sse.d.ts → _nav.clock.GET.sse.d.ts} +2 -2
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/_nav.clock.GET.sse.d.ts.map +1 -0
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/{_nav.clock.sse.js → _nav.clock.GET.sse.js} +1 -1
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/_nav.clock.GET.sse.js.map +1 -0
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/{showcase-cards.d.ts → _nav.profile.GET.d.ts} +2 -2
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/_nav.profile.GET.d.ts.map +1 -0
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/{_nav.profile.js → _nav.profile.GET.js} +1 -1
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/_nav.profile.GET.js.map +1 -0
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/{showcase-elements.d.ts → showcase-cards.GET.d.ts} +2 -2
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-cards.GET.d.ts.map +1 -0
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/{showcase-cards.js → showcase-cards.GET.js} +1 -1
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-cards.GET.js.map +1 -0
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/{showcase-data.d.ts → showcase-data.GET.d.ts} +2 -2
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-data.GET.d.ts.map +1 -0
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/{showcase-data.js → showcase-data.GET.js} +1 -1
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-data.GET.js.map +1 -0
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-elements.GET.d.ts +5 -0
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-elements.GET.d.ts.map +1 -0
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/{showcase-elements.js → showcase-elements.GET.js} +1 -1
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-elements.GET.js.map +1 -0
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/{_nav.profile.d.ts → showcase-forms.GET.d.ts} +2 -2
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-forms.GET.d.ts.map +1 -0
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/{showcase-forms.js → showcase-forms.GET.js} +1 -1
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-forms.GET.js.map +1 -0
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-interactive.GET.d.ts +5 -0
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-interactive.GET.d.ts.map +1 -0
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/{showcase-interactive.js → showcase-interactive.GET.js} +1 -1
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-interactive.GET.js.map +1 -0
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-overlays.GET.d.ts +5 -0
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-overlays.GET.d.ts.map +1 -0
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/{showcase-overlays.js → showcase-overlays.GET.js} +1 -1
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-overlays.GET.js.map +1 -0
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-patterns.GET.d.ts +5 -0
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-patterns.GET.d.ts.map +1 -0
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/{showcase-patterns.js → showcase-patterns.GET.js} +1 -1
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-patterns.GET.js.map +1 -0
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/{_theme.bootstrap1/index.d.ts → _theme.embedded/GET.d.ts} +2 -2
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.embedded/GET.d.ts.map +1 -0
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.embedded/{index.js → GET.js} +1 -1
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.embedded/GET.js.map +1 -0
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/index.d.ts +1 -22
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/index.d.ts.map +1 -1
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/index.js +1 -36
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/index.js.map +1 -1
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/route.impl.d.ts +23 -0
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/route.impl.d.ts.map +1 -0
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/route.impl.js +37 -0
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/route.impl.js.map +1 -0
- package/lib/schemas/service-betterportal-hello-view.json +1 -1
- package/lib/schemas/service-betterportal-hello-view.plugin.json +1 -1
- package/package.json +3 -3
- package/lib/plugins/service-betterportal-hello-view/bp-routes/delayed/_theme.bootstrap1/index.d.ts.map +0 -1
- package/lib/plugins/service-betterportal-hello-view/bp-routes/delayed/_theme.bootstrap1/index.js.map +0 -1
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/_nav.clock.d.ts.map +0 -1
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/_nav.clock.js.map +0 -1
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/_nav.clock.sse.d.ts.map +0 -1
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/_nav.clock.sse.js.map +0 -1
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/_nav.profile.d.ts.map +0 -1
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/_nav.profile.js.map +0 -1
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/index.d.ts.map +0 -1
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/index.js.map +0 -1
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-cards.d.ts.map +0 -1
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-cards.js.map +0 -1
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-data.d.ts.map +0 -1
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-data.js.map +0 -1
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-elements.d.ts.map +0 -1
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-elements.js.map +0 -1
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-forms.d.ts +0 -5
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-forms.d.ts.map +0 -1
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-forms.js.map +0 -1
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-interactive.d.ts +0 -5
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-interactive.d.ts.map +0 -1
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-interactive.js.map +0 -1
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-overlays.d.ts +0 -5
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-overlays.d.ts.map +0 -1
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-overlays.js.map +0 -1
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-patterns.d.ts +0 -5
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-patterns.d.ts.map +0 -1
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-patterns.js.map +0 -1
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.embedded/index.d.ts.map +0 -1
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.embedded/index.js.map +0 -1
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/sse.d.ts.map +0 -1
- package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/sse.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** @jsxImportSource jsx-htmx */
|
|
2
2
|
import type { HtmlRenderable } from "@betterportal/framework";
|
|
3
|
-
import type { ResponseData } from "../
|
|
3
|
+
import type { ResponseData } from "../route.impl.js";
|
|
4
4
|
export declare function render(data: ResponseData): HtmlRenderable;
|
|
5
|
-
//# sourceMappingURL=showcase-
|
|
5
|
+
//# sourceMappingURL=showcase-cards.GET.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"showcase-cards.GET.d.ts","sourceRoot":"","sources":["../../../../../../src/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-cards.GET.tsx"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAMrD,wBAAgB,MAAM,CAAC,IAAI,EAAE,YAAY,GAAG,cAAc,CA6GzD"}
|
|
@@ -10,4 +10,4 @@ export function render(data) {
|
|
|
10
10
|
{ label: "Avg. Response", value: "124ms", change: "-12%", positive: true }
|
|
11
11
|
].map((stat) => (_jsx("div", { class: "col", children: _jsx("div", { class: "card h-100", children: _jsxs("div", { class: "card-body", children: [_jsx("div", { class: "small text-body-secondary mb-1", children: stat.label }), _jsx("div", { class: "h4 mb-1", children: stat.value }), _jsxs("div", { class: `small ${stat.positive ? "text-success" : "text-danger"}`, children: [stat.positive ? "^" : "v", " ", stat.change] })] }) }) }))) }), _jsx("h3", { class: "h5 mb-0", children: "Nested Content" }), _jsx("div", { class: "card", children: _jsxs("div", { class: "card-body", children: [_jsx("h5", { class: "card-title mb-3", children: "Parent Container" }), _jsxs("div", { class: "row g-3", children: [_jsx("div", { class: "col-md-6", children: _jsx("div", { class: "card", children: _jsxs("div", { class: "card-body", children: [_jsx("h6", { class: "card-title", children: "Nested Card A" }), _jsx("p", { class: "card-text text-body-secondary mb-0", children: "Cards inside cards maintain glass depth." })] }) }) }), _jsx("div", { class: "col-md-6", children: _jsx("div", { class: "card", children: _jsxs("div", { class: "card-body", children: [_jsx("h6", { class: "card-title", children: "Nested Card B" }), _jsx("p", { class: "card-text text-body-secondary mb-0", children: "Consistent styling regardless of nesting level." })] }) }) })] })] }) }), _jsx("h3", { class: "h5 mb-0", children: "Horizontal Layout" }), _jsx("div", { class: "card", children: _jsxs("div", { class: "row g-0", children: [_jsx("div", { class: "col-md-3 d-flex align-items-center justify-content-center p-4", children: _jsx("div", { class: "rounded-circle bg-primary text-white d-flex align-items-center justify-content-center", style: "width:4rem;height:4rem;font-size:1.5rem;", children: "BP" }) }), _jsx("div", { class: "col-md-9", children: _jsxs("div", { class: "card-body", children: [_jsx("h5", { class: "card-title", children: "Horizontal Card" }), _jsx("p", { class: "card-text text-body-secondary", children: "Useful for profile cards, feature highlights, or list items that need more visual weight." }), _jsx("p", { class: "card-text", children: _jsx("small", { class: "text-body-secondary", children: "Last updated 3 mins ago" }) })] }) })] }) })] }) }));
|
|
12
12
|
}
|
|
13
|
-
//# sourceMappingURL=showcase-cards.js.map
|
|
13
|
+
//# sourceMappingURL=showcase-cards.GET.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"showcase-cards.GET.js","sourceRoot":"","sources":["../../../../../../src/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-cards.GET.tsx"],"names":[],"mappings":";AAIA;;MAEM;AAEN,MAAM,UAAU,MAAM,CAAC,IAAkB;IACvC,OAAO,CACL,kBAAS,KAAK,EAAC,sBAAsB,YACnC,eAAK,KAAK,EAAC,0BAA0B,aAEnC,0BACE,aAAI,KAAK,EAAC,SAAS,mCAA4B,EAC/C,YAAG,KAAK,EAAC,qBAAqB,wFAA4E,IACtG,EAGN,eAAK,KAAK,EAAC,kCAAkC,aAC3C,cAAK,KAAK,EAAC,KAAK,YACd,cAAK,KAAK,EAAC,YAAY,YACrB,eAAK,KAAK,EAAC,WAAW,aACpB,aAAI,KAAK,EAAC,YAAY,2BAAgB,EACtC,YAAG,KAAK,EAAC,+BAA+B,wFAA4E,IAChH,GACF,GACF,EACN,cAAK,KAAK,EAAC,KAAK,YACd,eAAK,KAAK,EAAC,YAAY,aACrB,cAAK,KAAK,EAAC,aAAa,4BAAkB,EAC1C,cAAK,KAAK,EAAC,WAAW,YACpB,YAAG,KAAK,EAAC,+BAA+B,0FAA8E,GAClH,EACN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
|
3
|
-
import type { ResponseData } from "../
|
|
3
|
+
import type { ResponseData } from "../route.impl.js";
|
|
4
4
|
export declare function render(data: ResponseData, page?: number): HtmlRenderable;
|
|
5
|
-
//# sourceMappingURL=showcase-data.d.ts.map
|
|
5
|
+
//# sourceMappingURL=showcase-data.GET.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"showcase-data.GET.d.ts","sourceRoot":"","sources":["../../../../../../src/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-data.GET.tsx"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAwGrD,wBAAgB,MAAM,CAAC,IAAI,EAAE,YAAY,EAAE,IAAI,SAAI,GAAG,cAAc,CAoGnE"}
|
|
@@ -49,4 +49,4 @@ export function render(data, page = 1) {
|
|
|
49
49
|
const routePath = "/hello";
|
|
50
50
|
return (_jsx("section", { class: "container-fluid px-0", children: _jsxs("div", { class: "d-flex flex-column gap-4", children: [_jsxs("div", { children: [_jsx("h2", { class: "h4 mb-1", children: "Data Display" }), _jsx("p", { class: "text-body-secondary", children: "Functional table with HTMX pagination, list groups, progress bars, and tabs." })] }), _jsxs("div", { class: "card", children: [_jsxs("div", { class: "card-header d-flex justify-content-between align-items-center", children: [_jsx("span", { children: "User Directory" }), _jsx("button", { class: "btn btn-primary btn-sm", children: "Add User" })] }), _jsx("div", { class: "card-body p-0", id: "bp-c-user-table", children: renderDataTableFragment(page, routePath) })] }), _jsxs("div", { class: "row g-3", children: [_jsx("div", { class: "col-md-6", children: _jsx("div", { class: "card", children: _jsxs("div", { class: "card-body", children: [_jsx("h5", { class: "card-title mb-3", children: "List Group" }), _jsxs("div", { class: "list-group", children: [_jsx("a", { href: "javascript:;", class: "list-group-item list-group-item-action active", children: "Dashboard Overview" }), _jsxs("a", { href: "javascript:;", class: "list-group-item list-group-item-action d-flex justify-content-between align-items-center", children: ["Notifications ", _jsx("span", { class: "badge text-bg-primary rounded-pill", children: "14" })] }), _jsxs("a", { href: "javascript:;", class: "list-group-item list-group-item-action d-flex justify-content-between align-items-center", children: ["Messages ", _jsx("span", { class: "badge text-bg-primary rounded-pill", children: "3" })] }), _jsx("a", { href: "javascript:;", class: "list-group-item list-group-item-action", children: "Team Members" }), _jsx("a", { href: "javascript:;", class: "list-group-item list-group-item-action disabled", children: "Billing (Locked)" })] })] }) }) }), _jsx("div", { class: "col-md-6", children: _jsx("div", { class: "card", children: _jsxs("div", { class: "card-body", children: [_jsx("h5", { class: "card-title mb-3", children: "Progress Bars" }), _jsxs("div", { class: "d-flex flex-column gap-3", children: [_jsxs("div", { children: [_jsxs("div", { class: "d-flex justify-content-between mb-1", children: [_jsx("small", { class: "fw-semibold", children: "Storage" }), _jsx("small", { class: "text-body-secondary", children: "64%" })] }), _jsx("div", { class: "progress", children: _jsx("div", { class: "progress-bar", style: "width: 64%" }) })] }), _jsxs("div", { children: [_jsxs("div", { class: "d-flex justify-content-between mb-1", children: [_jsx("small", { class: "fw-semibold", children: "Bandwidth" }), _jsx("small", { class: "text-body-secondary", children: "28%" })] }), _jsx("div", { class: "progress", children: _jsx("div", { class: "progress-bar bg-success", style: "width: 28%" }) })] }), _jsxs("div", { children: [_jsxs("div", { class: "d-flex justify-content-between mb-1", children: [_jsx("small", { class: "fw-semibold", children: "CPU Usage" }), _jsx("small", { class: "text-body-secondary", children: "89%" })] }), _jsx("div", { class: "progress", children: _jsx("div", { class: "progress-bar bg-danger", style: "width: 89%" }) })] }), _jsxs("div", { children: [_jsxs("div", { class: "d-flex justify-content-between mb-1", children: [_jsx("small", { class: "fw-semibold", children: "Memory" }), _jsx("small", { class: "text-body-secondary", children: "52%" })] }), _jsx("div", { class: "progress", children: _jsx("div", { class: "progress-bar bg-warning", style: "width: 52%" }) })] }), _jsxs("div", { children: [_jsxs("div", { class: "d-flex justify-content-between mb-1", children: [_jsx("small", { class: "fw-semibold", children: "API Quota" }), _jsx("small", { class: "text-body-secondary", children: "15%" })] }), _jsx("div", { class: "progress", children: _jsx("div", { class: "progress-bar bg-info", style: "width: 15%" }) })] })] })] }) }) })] }), _jsx("div", { class: "card", children: _jsxs("div", { class: "card-body", children: [_jsx("h5", { class: "card-title mb-3", children: "Tabs" }), _jsxs("ul", { class: "nav nav-tabs mb-3", children: [_jsx("li", { class: "nav-item", children: _jsx("a", { class: "nav-link active", href: "javascript:;", children: "Overview" }) }), _jsx("li", { class: "nav-item", children: _jsx("a", { class: "nav-link", href: "javascript:;", children: "Analytics" }) }), _jsx("li", { class: "nav-item", children: _jsx("a", { class: "nav-link", href: "javascript:;", children: "Reports" }) }), _jsx("li", { class: "nav-item", children: _jsx("a", { class: "nav-link disabled", href: "javascript:;", children: "Export" }) })] }), _jsx("p", { class: "text-body-secondary mb-0", children: "Tab content area. Each tab would load different content via HTMX or show/hide panels." })] }) }), _jsx("div", { class: "card", children: _jsxs("div", { class: "card-body", children: [_jsx("h5", { class: "card-title mb-3", children: "Nav Pills" }), _jsxs("ul", { class: "nav nav-pills mb-3", children: [_jsx("li", { class: "nav-item", children: _jsx("a", { class: "nav-link active", href: "javascript:;", children: "All" }) }), _jsx("li", { class: "nav-item", children: _jsx("a", { class: "nav-link", href: "javascript:;", children: "Active" }) }), _jsx("li", { class: "nav-item", children: _jsx("a", { class: "nav-link", href: "javascript:;", children: "Archived" }) }), _jsx("li", { class: "nav-item", children: _jsx("a", { class: "nav-link", href: "javascript:;", children: "Deleted" }) })] }), _jsx("p", { class: "text-body-secondary mb-0", children: "Pill navigation for filtering or view switching within a page section." })] }) })] }) }));
|
|
51
51
|
}
|
|
52
|
-
//# sourceMappingURL=showcase-data.js.map
|
|
52
|
+
//# sourceMappingURL=showcase-data.GET.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"showcase-data.GET.js","sourceRoot":"","sources":["../../../../../../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IAAI,EAAC,cAAc,oBAAQ,GAAK,EAChF,aAAI,KAAK,EAAC,UAAU,YAAC,YAAG,KAAK,EAAC,UAAU,EAAC,IAAI,EAAC,cAAc,uBAAW,GAAK,EAC5E,aAAI,KAAK,EAAC,UAAU,YAAC,YAAG,KAAK,EAAC,UAAU,EAAC,IAAI,EAAC,cAAc,yBAAa,GAAK,EAC9E,aAAI,KAAK,EAAC,UAAU,YAAC,YAAG,KAAK,EAAC,UAAU,EAAC,IAAI,EAAC,cAAc,wBAAY,GAAK,IAC1E,EACL,YAAG,KAAK,EAAC,0BAA0B,uFAA2E,IAC1G,GACF,IAEF,GACE,CACX,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/** @jsxImportSource jsx-htmx */
|
|
2
|
+
import type { HtmlRenderable } from "@betterportal/framework";
|
|
3
|
+
import type { ResponseData } from "../route.impl.js";
|
|
4
|
+
export declare function render(data: ResponseData): HtmlRenderable;
|
|
5
|
+
//# sourceMappingURL=showcase-elements.GET.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"showcase-elements.GET.d.ts","sourceRoot":"","sources":["../../../../../../src/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-elements.GET.tsx"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAMrD,wBAAgB,MAAM,CAAC,IAAI,EAAE,YAAY,GAAG,cAAc,CA0JzD"}
|
|
@@ -5,4 +5,4 @@ import { jsx as _jsx, jsxs as _jsxs } from "jsx-htmx/jsx-runtime";
|
|
|
5
5
|
export function render(data) {
|
|
6
6
|
return (_jsx("section", { class: "container-fluid px-0", children: _jsxs("div", { class: "d-flex flex-column gap-4", children: [_jsxs("div", { children: [_jsx("h2", { class: "h4 mb-1", children: "UI Elements" }), _jsx("p", { class: "text-body-secondary", children: "Buttons, badges, alerts, typography, and other building blocks." })] }), _jsx("div", { class: "card", children: _jsxs("div", { class: "card-body", children: [_jsx("h5", { class: "card-title mb-3", children: "Buttons" }), _jsxs("div", { class: "d-flex flex-column gap-3", children: [_jsxs("div", { children: [_jsx("h6", { class: "small text-body-secondary mb-2", children: "Solid" }), _jsxs("div", { class: "d-flex flex-wrap gap-2", children: [_jsx("button", { class: "btn btn-primary", children: "Primary" }), _jsx("button", { class: "btn btn-secondary", children: "Secondary" }), _jsx("button", { class: "btn btn-success", children: "Success" }), _jsx("button", { class: "btn btn-danger", children: "Danger" }), _jsx("button", { class: "btn btn-warning", children: "Warning" }), _jsx("button", { class: "btn btn-info", children: "Info" }), _jsx("button", { class: "btn btn-light", children: "Light" }), _jsx("button", { class: "btn btn-dark", children: "Dark" })] })] }), _jsxs("div", { children: [_jsx("h6", { class: "small text-body-secondary mb-2", children: "Outline" }), _jsxs("div", { class: "d-flex flex-wrap gap-2", children: [_jsx("button", { class: "btn btn-outline-primary", children: "Primary" }), _jsx("button", { class: "btn btn-outline-secondary", children: "Secondary" }), _jsx("button", { class: "btn btn-outline-success", children: "Success" }), _jsx("button", { class: "btn btn-outline-danger", children: "Danger" })] })] }), _jsxs("div", { children: [_jsx("h6", { class: "small text-body-secondary mb-2", children: "Sizes" }), _jsxs("div", { class: "d-flex flex-wrap gap-2 align-items-center", children: [_jsx("button", { class: "btn btn-primary btn-sm", children: "Small" }), _jsx("button", { class: "btn btn-primary", children: "Default" }), _jsx("button", { class: "btn btn-primary btn-lg", children: "Large" }), _jsx("button", { class: "btn btn-primary", disabled: true, children: "Disabled" })] })] })] })] }) }), _jsx("div", { class: "card", children: _jsxs("div", { class: "card-body", children: [_jsx("h5", { class: "card-title mb-3", children: "Badges" }), _jsxs("div", { class: "d-flex flex-column gap-3", children: [_jsxs("div", { children: [_jsx("h6", { class: "small text-body-secondary mb-2", children: "Standard" }), _jsxs("div", { class: "d-flex flex-wrap gap-2", children: [_jsx("span", { class: "badge text-bg-primary", children: "Primary" }), _jsx("span", { class: "badge text-bg-secondary", children: "Secondary" }), _jsx("span", { class: "badge text-bg-success", children: "Success" }), _jsx("span", { class: "badge text-bg-danger", children: "Danger" }), _jsx("span", { class: "badge text-bg-warning text-dark", children: "Warning" }), _jsx("span", { class: "badge text-bg-info", children: "Info" }), _jsx("span", { class: "badge text-bg-light text-dark border", children: "Light" }), _jsx("span", { class: "badge text-bg-dark", children: "Dark" })] })] }), _jsxs("div", { children: [_jsx("h6", { class: "small text-body-secondary mb-2", children: "Pills" }), _jsxs("div", { class: "d-flex flex-wrap gap-2", children: [_jsx("span", { class: "badge rounded-pill text-bg-primary", children: "Messages 4" }), _jsx("span", { class: "badge rounded-pill text-bg-success", children: "Active" }), _jsx("span", { class: "badge rounded-pill text-bg-danger", children: "Critical 2" }), _jsx("span", { class: "badge rounded-pill text-bg-warning text-dark", children: "Pending" })] })] })] })] }) }), _jsx("div", { class: "card", children: _jsxs("div", { class: "card-body", children: [_jsx("h5", { class: "card-title mb-3", children: "Alerts" }), _jsxs("div", { class: "d-flex flex-column gap-2", children: [_jsxs("div", { class: "alert alert-primary mb-0", children: [_jsx("strong", { children: "Info:" }), " A new version is available. Consider upgrading your deployment."] }), _jsxs("div", { class: "alert alert-success mb-0", children: [_jsx("strong", { children: "Success:" }), " Configuration saved. Changes will take effect immediately."] }), _jsxs("div", { class: "alert alert-warning mb-0", children: [_jsx("strong", { children: "Warning:" }), " API quota is at 85%. Consider upgrading your plan."] }), _jsxs("div", { class: "alert alert-danger mb-0", children: [_jsx("strong", { children: "Error:" }), " Failed to connect to upstream service. Retrying in 30s."] }), _jsxs("div", { class: "alert alert-info mb-0", children: [_jsx("strong", { children: "Tip:" }), " You can configure keyboard shortcuts in Settings ", "->", " Preferences."] })] })] }) }), _jsx("div", { class: "card", children: _jsxs("div", { class: "card-body", children: [_jsx("h5", { class: "card-title mb-3", children: "Typography" }), _jsx("h1", { children: "Heading 1" }), _jsx("h2", { children: "Heading 2" }), _jsx("h3", { children: "Heading 3" }), _jsx("h4", { children: "Heading 4" }), _jsx("h5", { children: "Heading 5" }), _jsx("h6", { children: "Heading 6" }), _jsx("hr", {}), _jsx("p", { children: "Regular paragraph text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua." }), _jsx("p", { class: "lead", children: "Lead paragraph for introductions and emphasis. Stands out from regular body text." }), _jsx("p", { class: "text-body-secondary", children: "Secondary text for descriptions, hints, and less prominent content." }), _jsx("p", { children: _jsx("small", { children: "Small text for footnotes, timestamps, and metadata." }) }), _jsxs("p", { children: [_jsx("strong", { children: "Bold text" }), " and ", _jsx("em", { children: "italic text" }), " and ", _jsx("code", { children: "inline code" }), " and ", _jsx("mark", { children: "highlighted text" }), "."] })] }) }), _jsx("div", { class: "card", children: _jsxs("div", { class: "card-body", children: [_jsx("h5", { class: "card-title mb-3", children: "Dropdowns" }), _jsxs("div", { class: "d-flex flex-wrap gap-2", children: [_jsxs("div", { class: "dropdown", children: [_jsx("button", { class: "btn btn-primary dropdown-toggle", type: "button", "data-bs-toggle": "dropdown", children: "Actions" }), _jsxs("ul", { class: "dropdown-menu", children: [_jsx("li", { children: _jsx("a", { class: "dropdown-item", href: "javascript:;", children: "Edit" }) }), _jsx("li", { children: _jsx("a", { class: "dropdown-item", href: "javascript:;", children: "Duplicate" }) }), _jsx("li", { children: _jsx("a", { class: "dropdown-item", href: "javascript:;", children: "Export" }) }), _jsx("li", { children: _jsx("hr", { class: "dropdown-divider" }) }), _jsx("li", { children: _jsx("a", { class: "dropdown-item text-danger", href: "javascript:;", children: "Delete" }) })] })] }), _jsxs("div", { class: "dropdown", children: [_jsx("button", { class: "btn btn-outline-secondary dropdown-toggle", type: "button", "data-bs-toggle": "dropdown", children: "Filter by" }), _jsxs("ul", { class: "dropdown-menu", children: [_jsx("li", { children: _jsx("a", { class: "dropdown-item active", href: "javascript:;", children: "All" }) }), _jsx("li", { children: _jsx("a", { class: "dropdown-item", href: "javascript:;", children: "Active" }) }), _jsx("li", { children: _jsx("a", { class: "dropdown-item", href: "javascript:;", children: "Archived" }) })] })] })] })] }) })] }) }));
|
|
7
7
|
}
|
|
8
|
-
//# sourceMappingURL=showcase-elements.js.map
|
|
8
|
+
//# sourceMappingURL=showcase-elements.GET.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"showcase-elements.GET.js","sourceRoot":"","sources":["../../../../../../src/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-elements.GET.tsx"],"names":[],"mappings":";AAIA;;MAEM;AAEN,MAAM,UAAU,MAAM,CAAC,IAAkB;IACvC,OAAO,CACL,kBAAS,KAAK,EAAC,sBAAsB,YACnC,eAAK,KAAK,EAAC,0BAA0B,aAEnC,0BACE,aAAI,KAAK,EAAC,SAAS,4BAAiB,EACpC,YAAG,KAAK,EAAC,qBAAqB,gFAAoE,IAC9F,EAGN,cAAK,KAAK,EAAC,MAAM,YACf,eAAK,KAAK,EAAC,WAAW,aACpB,aAAI,KAAK,EAAC,iBAAiB,wBAAa,EACxC,eAAK,KAAK,EAAC,0BAA0B,aACnC,0BACE,aAAI,KAAK,EAAC,gCAAgC,sBAAW,EACrD,eAAK,KAAK,EAAC,wBAAwB,aACjC,iBAAQ,KAAK,EAAC,iBAAiB,wBAAiB,EAChD,iBAAQ,KAAK,EAAC,mBAAmB,0BAAmB,EACpD,iBAAQ,KAAK,EAAC,iBAAiB,wBAAiB,EAChD,iBAAQ,KAAK,EAAC,gBAAgB,uBAAgB,EAC9C,iBAAQ,KAAK,EAAC,iBAAiB,wBAAiB,EAChD,iBAAQ,KAAK,EAAC,cAAc,qBAAc,EAC1C,iBAAQ,KAAK,EAAC,eAAe,sBAAe,EAC5C,iBAAQ,KAAK,EAAC,cAAc,qBAAc,IACtC,IACF,EACN,0BACE,aAAI,KAAK,EAAC,gCAAgC,wBAAa,EACvD,eAAK,KAAK,EAAC,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K,EAC9D,uBAAI,YAAG,KAAK,EAAC,eAAe,EAAC,IAAI,EAAC,cAAc,0BAAc,GAAK,EACnE,uBAAI,YAAG,KAAK,EAAC,eAAe,EAAC,IAAI,EAAC,cAAc,uBAAW,GAAK,EAChE,uBAAI,aAAI,KAAK,EAAC,kBAAkB,GAAG,GAAK,EACxC,uBAAI,YAAG,KAAK,EAAC,2BAA2B,EAAC,IAAI,EAAC,cAAc,uBAAW,GAAK,IACzE,IACD,EACN,eAAK,KAAK,EAAC,UAAU,aACnB,iBAAQ,KAAK,EAAC,2CAA2C,EAAC,IAAI,EAAC,QAAQ,oBAAgB,UAAU,0BAAmB,EACpH,cAAI,KAAK,EAAC,eAAe,aACvB,uBAAI,YAAG,KAAK,EAAC,sBAAsB,EAAC,IAAI,EAAC,cAAc,oBAAQ,GAAK,EACpE,uBAAI,YAAG,KAAK,EAAC,eAAe,EAAC,IAAI,EAAC,cAAc,uBAAW,GAAK,EAChE,uBAAI,YAAG,KAAK,EAAC,eAAe,EAAC,IAAI,EAAC,cAAc,yBAAa,GAAK,IAC/D,IACD,IACF,IACF,GACF,IAEF,GACE,CACX,CAAC;AACJ,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** @jsxImportSource jsx-htmx */
|
|
2
2
|
import type { HtmlRenderable } from "@betterportal/framework";
|
|
3
|
-
import type { ResponseData } from "../
|
|
3
|
+
import type { ResponseData } from "../route.impl.js";
|
|
4
4
|
export declare function render(data: ResponseData): HtmlRenderable;
|
|
5
|
-
//# sourceMappingURL=
|
|
5
|
+
//# sourceMappingURL=showcase-forms.GET.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"showcase-forms.GET.d.ts","sourceRoot":"","sources":["../../../../../../src/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-forms.GET.tsx"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAMrD,wBAAgB,MAAM,CAAC,IAAI,EAAE,YAAY,GAAG,cAAc,CAyLzD"}
|
|
@@ -5,4 +5,4 @@ import { jsx as _jsx, jsxs as _jsxs } from "jsx-htmx/jsx-runtime";
|
|
|
5
5
|
export function render(data) {
|
|
6
6
|
return (_jsx("section", { class: "container-fluid px-0", children: _jsxs("div", { class: "d-flex flex-column gap-4", children: [_jsxs("div", { children: [_jsx("h2", { class: "h4 mb-1", children: "Forms & Inputs" }), _jsx("p", { class: "text-body-secondary", children: "Form controls with glass neumorphic styling. All standard Bootstrap form elements." })] }), _jsx("div", { class: "card", children: _jsxs("div", { class: "card-body", children: [_jsx("h5", { class: "card-title mb-3", children: "Text Inputs" }), _jsxs("div", { class: "row g-3", children: [_jsxs("div", { class: "col-md-6", children: [_jsx("label", { class: "form-label", children: "Full Name" }), _jsx("input", { type: "text", class: "form-control", placeholder: "Enter your name" }), _jsx("div", { class: "form-text", children: "Your display name across the platform." })] }), _jsxs("div", { class: "col-md-6", children: [_jsx("label", { class: "form-label", children: "Email Address" }), _jsx("input", { type: "email", class: "form-control", placeholder: "name@example.com" })] }), _jsxs("div", { class: "col-md-6", children: [_jsx("label", { class: "form-label", children: "Password" }), _jsx("input", { type: "password", class: "form-control", placeholder: "--------" })] }), _jsxs("div", { class: "col-md-6", children: [_jsx("label", { class: "form-label", children: "Disabled Input" }), _jsx("input", { type: "text", class: "form-control", placeholder: "Can't touch this", disabled: true })] }), _jsxs("div", { class: "col-12", children: [_jsx("label", { class: "form-label", children: "Message" }), _jsx("textarea", { class: "form-control", rows: "3", placeholder: "Write something..." })] })] })] }) }), _jsx("div", { class: "card", children: _jsxs("div", { class: "card-body", children: [_jsx("h5", { class: "card-title mb-3", children: "Selects & Dropdowns" }), _jsxs("div", { class: "row g-3", children: [_jsxs("div", { class: "col-md-6", children: [_jsx("label", { class: "form-label", children: "Region" }), _jsxs("select", { class: "form-select", children: [_jsx("option", { selected: true, children: "Choose a region..." }), _jsx("option", { children: "North America" }), _jsx("option", { children: "Europe" }), _jsx("option", { children: "Asia Pacific" }), _jsx("option", { children: "Latin America" })] })] }), _jsxs("div", { class: "col-md-6", children: [_jsx("label", { class: "form-label", children: "Size" }), _jsxs("select", { class: "form-select", children: [_jsx("option", { children: "Small" }), _jsx("option", { selected: true, children: "Medium" }), _jsx("option", { children: "Large" }), _jsx("option", { children: "Enterprise" })] })] })] })] }) }), _jsxs("div", { class: "row g-3", children: [_jsx("div", { class: "col-md-4", children: _jsx("div", { class: "card h-100", children: _jsxs("div", { class: "card-body", children: [_jsx("h5", { class: "card-title mb-3", children: "Checkboxes" }), _jsxs("div", { class: "form-check mb-2", children: [_jsx("input", { class: "form-check-input", type: "checkbox", id: "check1", checked: true }), _jsx("label", { class: "form-check-label", for: "check1", children: "Email notifications" })] }), _jsxs("div", { class: "form-check mb-2", children: [_jsx("input", { class: "form-check-input", type: "checkbox", id: "check2" }), _jsx("label", { class: "form-check-label", for: "check2", children: "SMS alerts" })] }), _jsxs("div", { class: "form-check mb-2", children: [_jsx("input", { class: "form-check-input", type: "checkbox", id: "check3", checked: true }), _jsx("label", { class: "form-check-label", for: "check3", children: "Push notifications" })] }), _jsxs("div", { class: "form-check", children: [_jsx("input", { class: "form-check-input", type: "checkbox", id: "check4", disabled: true }), _jsx("label", { class: "form-check-label", for: "check4", children: "Webhooks (Pro)" })] })] }) }) }), _jsx("div", { class: "col-md-4", children: _jsx("div", { class: "card h-100", children: _jsxs("div", { class: "card-body", children: [_jsx("h5", { class: "card-title mb-3", children: "Radio Buttons" }), _jsxs("div", { class: "form-check mb-2", children: [_jsx("input", { class: "form-check-input", type: "radio", name: "plan", id: "plan1", checked: true }), _jsx("label", { class: "form-check-label", for: "plan1", children: "Free" })] }), _jsxs("div", { class: "form-check mb-2", children: [_jsx("input", { class: "form-check-input", type: "radio", name: "plan", id: "plan2" }), _jsx("label", { class: "form-check-label", for: "plan2", children: "Pro - $19/mo" })] }), _jsxs("div", { class: "form-check mb-2", children: [_jsx("input", { class: "form-check-input", type: "radio", name: "plan", id: "plan3" }), _jsx("label", { class: "form-check-label", for: "plan3", children: "Business - $49/mo" })] }), _jsxs("div", { class: "form-check", children: [_jsx("input", { class: "form-check-input", type: "radio", name: "plan", id: "plan4" }), _jsx("label", { class: "form-check-label", for: "plan4", children: "Enterprise - Custom" })] })] }) }) }), _jsx("div", { class: "col-md-4", children: _jsx("div", { class: "card h-100", children: _jsxs("div", { class: "card-body", children: [_jsx("h5", { class: "card-title mb-3", children: "Switches" }), _jsxs("div", { class: "form-check form-switch mb-2", children: [_jsx("input", { class: "form-check-input", type: "checkbox", id: "sw1", checked: true }), _jsx("label", { class: "form-check-label", for: "sw1", children: "Dark mode" })] }), _jsxs("div", { class: "form-check form-switch mb-2", children: [_jsx("input", { class: "form-check-input", type: "checkbox", id: "sw2" }), _jsx("label", { class: "form-check-label", for: "sw2", children: "Compact view" })] }), _jsxs("div", { class: "form-check form-switch mb-2", children: [_jsx("input", { class: "form-check-input", type: "checkbox", id: "sw3", checked: true }), _jsx("label", { class: "form-check-label", for: "sw3", children: "Auto-refresh" })] }), _jsxs("div", { class: "form-check form-switch", children: [_jsx("input", { class: "form-check-input", type: "checkbox", id: "sw4", disabled: true }), _jsx("label", { class: "form-check-label", for: "sw4", children: "Beta features" })] })] }) }) })] }), _jsxs("div", { class: "card", children: [_jsx("div", { class: "card-header", children: "Create New User" }), _jsx("div", { class: "card-body", children: _jsx("form", { children: _jsxs("div", { class: "row g-3", children: [_jsxs("div", { class: "col-md-6", children: [_jsx("label", { class: "form-label", children: "First Name" }), _jsx("input", { type: "text", class: "form-control", value: "Jane" })] }), _jsxs("div", { class: "col-md-6", children: [_jsx("label", { class: "form-label", children: "Last Name" }), _jsx("input", { type: "text", class: "form-control", value: "Doe" })] }), _jsxs("div", { class: "col-md-8", children: [_jsx("label", { class: "form-label", children: "Email" }), _jsx("input", { type: "email", class: "form-control", value: "jane@example.com" })] }), _jsxs("div", { class: "col-md-4", children: [_jsx("label", { class: "form-label", children: "Role" }), _jsxs("select", { class: "form-select", children: [_jsx("option", { children: "Viewer" }), _jsx("option", { selected: true, children: "Editor" }), _jsx("option", { children: "Admin" })] })] }), _jsx("div", { class: "col-12", children: _jsxs("div", { class: "form-check", children: [_jsx("input", { class: "form-check-input", type: "checkbox", id: "terms", checked: true }), _jsx("label", { class: "form-check-label", for: "terms", children: "I agree to the terms and conditions" })] }) }), _jsxs("div", { class: "col-12", children: [_jsx("button", { type: "button", class: "btn btn-primary me-2", children: "Create User" }), _jsx("button", { type: "button", class: "btn btn-outline-secondary", children: "Cancel" })] })] }) }) })] })] }) }));
|
|
7
7
|
}
|
|
8
|
-
//# sourceMappingURL=showcase-forms.js.map
|
|
8
|
+
//# sourceMappingURL=showcase-forms.GET.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"showcase-forms.GET.js","sourceRoot":"","sources":["../../../../../../src/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-forms.GET.tsx"],"names":[],"mappings":";AAIA;;MAEM;AAEN,MAAM,UAAU,MAAM,CAAC,IAAkB;IACvC,OAAO,CACL,kBAAS,KAAK,EAAC,sBAAsB,YACnC,eAAK,KAAK,EAAC,0BAA0B,aAEnC,0BACE,aAAI,KAAK,EAAC,SAAS,+BAAwB,EAC3C,YAAG,KAAK,EAAC,qBAAqB,mGAAuF,IACjH,EAGN,cAAK,KAAK,EAAC,MAAM,YACf,eAAK,KAAK,EAAC,WAAW,aACpB,aAAI,KAAK,EAAC,iBAAiB,4BAAiB,EAC5C,eAAK,KAAK,EAAC,SAAS,aAClB,eAAK,KAAK,EAAC,UAAU,aACnB,gBAAO,KAAK,EAAC,YAAY,0BAAkB,EAC3C,gBAAO,IAAI,EAAC,MAAM,EAAC,KAAK,EAAC,cAAc,EAAC,WAAW,EAAC,iBAAiB,GAAG,EACxE,cAAK,KAAK,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AAa,aACzB,sCAAuB,EACvB,iBAAQ,QAAQ,6BAAgB,EAChC,qCAAsB,IACf,IACL,EACN,cAAK,KAAK,EAAC,QAAQ,YACjB,eAAK,KAAK,EAAC,YAAY,aACrB,gBAAO,KAAK,EAAC,kBAAkB,EAAC,IAAI,EAAC,UAAU,EAAC,EAAE,EAAC,OAAO,EAAC,OAAO,SAAG,EACrE,gBAAO,KAAK,EAAC,kBAAkB,EAAC,GAAG,EAAC,OAAO,oDAA4C,IACnF,GACF,EACN,eAAK,KAAK,EAAC,QAAQ,aACjB,iBAAQ,IAAI,EAAC,QAAQ,EAAC,KAAK,EAAC,sBAAsB,4BAAqB,EACvE,iBAAQ,IAAI,EAAC,QAAQ,EAAC,KAAK,EAAC,2BAA2B,uBAAgB,IACnE,IACF,GACD,GACH,IACF,IAEF,GACE,CACX,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/** @jsxImportSource jsx-htmx */
|
|
2
|
+
import type { HtmlRenderable } from "@betterportal/framework";
|
|
3
|
+
import type { ResponseData } from "../route.impl.js";
|
|
4
|
+
export declare function render(data: ResponseData): HtmlRenderable;
|
|
5
|
+
//# sourceMappingURL=showcase-interactive.GET.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"showcase-interactive.GET.d.ts","sourceRoot":"","sources":["../../../../../../src/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-interactive.GET.tsx"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAErD,wBAAgB,MAAM,CAAC,IAAI,EAAE,YAAY,GAAG,cAAc,CAsRzD"}
|
|
@@ -8,4 +8,4 @@ export function render(data) {
|
|
|
8
8
|
{ keys: ["^", "v"], action: "Navigate list items" }
|
|
9
9
|
].map((shortcut) => (_jsxs("div", { class: "d-flex justify-content-between align-items-center py-1", children: [_jsx("span", { class: "text-body-secondary", children: shortcut.action }), _jsx("span", { class: "d-flex gap-1", children: shortcut.keys.map((key) => (_jsx("kbd", { class: "bg-body-secondary text-body border rounded px-2 py-1", style: "font-size:0.78rem;", children: key }))) })] }))) })] }) })] }) }));
|
|
10
10
|
}
|
|
11
|
-
//# sourceMappingURL=showcase-interactive.js.map
|
|
11
|
+
//# sourceMappingURL=showcase-interactive.GET.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"showcase-interactive.GET.js","sourceRoot":"","sources":["../../../../../../src/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-interactive.GET.tsx"],"names":[],"mappings":";AAIA,MAAM,UAAU,MAAM,CAAC,IAAkB;IACvC,OAAO,CACL,kBAAS,KAAK,EAAC,sBAAsB,YACnC,eAAK,KAAK,EAAC,0BAA0B,aAEnC,0BACE,aAAI,KAAK,EAAC,SAAS,uCAA4B,EAC/C,YAAG,KAAK,EAAC,qBAAqB,6FAAiF,IAC3G,EAGN,cAAK,KAAK,EAAC,MAAM,YACf,eAAK,KAAK,EAAC,WAAW,aACpB,aAAI,KAAK,EAAC,iBAAiB,0BAAe,EAC1C,eAAK,KAAK,EAAC,WAAW,EAAC,EAAE,EAAC,oBAAoB,aAC5C,eAAK,KAAK,EAAC,gBAAgB,aACzB,aAAI,KAAK,EAAC,kBAAkB,YAC1B,iBAAQ,KAAK,EAAC,kBAAkB,EAAC,IAAI,EAAC,QAAQ,oBAAgB,UAAU,oBAAgB,QAAQ,mBAAe,MAAM,uCAE5G,GACN,EACL,cAAK,EAAE,EAAC,OAAO,EAAC,KAAK,EAAC,kCAAkC,oBAAgB,qBAAqB,YAC3F,cAAK,KAAK,EAAC,oCAAoC,2PAEzC,GACF,IACF,EACN,eAAK,KAAK,EAAC,gBAAgB,aACzB,aAAI,KAAK,EAAC,kBAAkB,YAC1B,iBAAQ,KAAK,EAAC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CAAC,GAAG,EAAE,EAAE,CAAC,CAC1B,cAAK,KAAK,EAAC,sDAAsD,EAAC,KAAK,EAAC,oBAAoB,YAAE,GAAG,GAAO,CACzG,CAAC,GACG,IACH,CACP,CAAC,GACE,IACF,GACF,IAEF,GACE,CACX,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/** @jsxImportSource jsx-htmx */
|
|
2
|
+
import type { HtmlRenderable } from "@betterportal/framework";
|
|
3
|
+
import type { ResponseData } from "../route.impl.js";
|
|
4
|
+
export declare function render(data: ResponseData): HtmlRenderable;
|
|
5
|
+
//# sourceMappingURL=showcase-overlays.GET.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"showcase-overlays.GET.d.ts","sourceRoot":"","sources":["../../../../../../src/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-overlays.GET.tsx"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAErD,wBAAgB,MAAM,CAAC,IAAI,EAAE,YAAY,GAAG,cAAc,CAoSzD"}
|
|
@@ -2,4 +2,4 @@ import { jsx as _jsx, jsxs as _jsxs } from "jsx-htmx/jsx-runtime";
|
|
|
2
2
|
export function render(data) {
|
|
3
3
|
return (_jsx("section", { class: "container-fluid px-0", children: _jsxs("div", { class: "bp-split-pane", "data-bp-detail-open": "false", children: [_jsx("div", { class: "bp-split-pane__content", children: _jsxs("div", { class: "d-flex flex-column gap-4", children: [_jsxs("div", { children: [_jsx("h2", { class: "h4 mb-1", children: "Overlays & Surfaces" }), _jsx("p", { class: "text-body-secondary", children: "Modals, split-pane detail panels, toasts, tooltips, and popovers." })] }), _jsx("div", { class: "card", children: _jsxs("div", { class: "card-body", children: [_jsx("h5", { class: "card-title mb-3", children: "Modals" }), _jsxs("div", { class: "d-flex flex-wrap gap-2", children: [_jsx("button", { class: "btn btn-primary", "data-bs-toggle": "modal", "data-bs-target": "#modal-default", children: "Default" }), _jsx("button", { class: "btn btn-outline-primary", "data-bs-toggle": "modal", "data-bs-target": "#modal-large", children: "Large" }), _jsx("button", { class: "btn btn-outline-primary", "data-bs-toggle": "modal", "data-bs-target": "#modal-small", children: "Small" }), _jsx("button", { class: "btn btn-outline-primary", "data-bs-toggle": "modal", "data-bs-target": "#modal-centered", children: "Centered" }), _jsx("button", { class: "btn btn-outline-primary", "data-bs-toggle": "modal", "data-bs-target": "#modal-scrollable", children: "Scrollable" }), _jsx("button", { class: "btn btn-outline-danger", "data-bs-toggle": "modal", "data-bs-target": "#modal-confirm", children: "Confirm Delete" })] })] }) }), _jsx("div", { class: "modal fade", id: "modal-default", tabindex: -1, children: _jsx("div", { class: "modal-dialog", children: _jsxs("div", { class: "modal-content", children: [_jsxs("div", { class: "modal-header", children: [_jsx("h5", { class: "modal-title", children: "Default Modal" }), _jsx("button", { type: "button", class: "btn-close", "data-bs-dismiss": "modal", "aria-label": "Close" })] }), _jsxs("div", { class: "modal-body", children: [_jsx("p", { children: "Standard modal with glass neumorphic treatment. Notice the frosted backdrop and rounded corners." }), _jsxs("div", { class: "mb-3", children: [_jsx("label", { class: "form-label", children: "Example Input" }), _jsx("input", { type: "text", class: "form-control", placeholder: "Type something..." })] }), _jsxs("div", { class: "mb-3", children: [_jsx("label", { class: "form-label", children: "Select" }), _jsxs("select", { class: "form-select", children: [_jsx("option", { children: "Option A" }), _jsx("option", { children: "Option B" }), _jsx("option", { children: "Option C" })] })] })] }), _jsxs("div", { class: "modal-footer", children: [_jsx("button", { type: "button", class: "btn btn-outline-secondary", "data-bs-dismiss": "modal", children: "Cancel" }), _jsx("button", { type: "button", class: "btn btn-primary", children: "Save Changes" })] })] }) }) }), _jsx("div", { class: "modal fade", id: "modal-large", tabindex: -1, children: _jsx("div", { class: "modal-dialog modal-lg", children: _jsxs("div", { class: "modal-content", children: [_jsxs("div", { class: "modal-header", children: [_jsx("h5", { class: "modal-title", children: "Large Modal" }), _jsx("button", { type: "button", class: "btn-close", "data-bs-dismiss": "modal", "aria-label": "Close" })] }), _jsxs("div", { class: "modal-body", children: [_jsx("p", { children: "Large modal for complex forms or detailed content. Two-column layout works well here." }), _jsxs("div", { class: "row g-3", children: [_jsxs("div", { class: "col-md-6", children: [_jsx("label", { class: "form-label", children: "First Name" }), _jsx("input", { type: "text", class: "form-control", value: "Jane" })] }), _jsxs("div", { class: "col-md-6", children: [_jsx("label", { class: "form-label", children: "Last Name" }), _jsx("input", { type: "text", class: "form-control", value: "Doe" })] }), _jsxs("div", { class: "col-md-8", children: [_jsx("label", { class: "form-label", children: "Email" }), _jsx("input", { type: "email", class: "form-control", value: "jane@example.com" })] }), _jsxs("div", { class: "col-md-4", children: [_jsx("label", { class: "form-label", children: "Role" }), _jsxs("select", { class: "form-select", children: [_jsx("option", { children: "Viewer" }), _jsx("option", { selected: true, children: "Editor" }), _jsx("option", { children: "Admin" })] })] }), _jsxs("div", { class: "col-12", children: [_jsx("label", { class: "form-label", children: "Notes" }), _jsx("textarea", { class: "form-control", rows: "3", placeholder: "Additional information..." })] })] })] }), _jsxs("div", { class: "modal-footer", children: [_jsx("button", { type: "button", class: "btn btn-outline-secondary", "data-bs-dismiss": "modal", children: "Cancel" }), _jsx("button", { type: "button", class: "btn btn-primary", children: "Create" })] })] }) }) }), _jsx("div", { class: "modal fade", id: "modal-small", tabindex: -1, children: _jsx("div", { class: "modal-dialog modal-sm", children: _jsxs("div", { class: "modal-content", children: [_jsxs("div", { class: "modal-header", children: [_jsx("h5", { class: "modal-title", children: "Small Modal" }), _jsx("button", { type: "button", class: "btn-close", "data-bs-dismiss": "modal", "aria-label": "Close" })] }), _jsx("div", { class: "modal-body", children: _jsx("p", { class: "mb-0", children: "Compact modal for quick actions or simple confirmations." }) }), _jsx("div", { class: "modal-footer", children: _jsx("button", { type: "button", class: "btn btn-primary btn-sm w-100", "data-bs-dismiss": "modal", children: "Got it" }) })] }) }) }), _jsx("div", { class: "modal fade", id: "modal-centered", tabindex: -1, children: _jsx("div", { class: "modal-dialog modal-dialog-centered", children: _jsxs("div", { class: "modal-content", children: [_jsxs("div", { class: "modal-header", children: [_jsx("h5", { class: "modal-title", children: "Vertically Centered" }), _jsx("button", { type: "button", class: "btn-close", "data-bs-dismiss": "modal", "aria-label": "Close" })] }), _jsx("div", { class: "modal-body", children: _jsx("p", { class: "mb-0", children: "Centered in the viewport. Good for important notices that need attention." }) }), _jsx("div", { class: "modal-footer", children: _jsx("button", { type: "button", class: "btn btn-outline-secondary", "data-bs-dismiss": "modal", children: "Dismiss" }) })] }) }) }), _jsx("div", { class: "modal fade", id: "modal-scrollable", tabindex: -1, children: _jsx("div", { class: "modal-dialog modal-dialog-scrollable", children: _jsxs("div", { class: "modal-content", children: [_jsxs("div", { class: "modal-header", children: [_jsx("h5", { class: "modal-title", children: "Scrollable Content" }), _jsx("button", { type: "button", class: "btn-close", "data-bs-dismiss": "modal", "aria-label": "Close" })] }), _jsxs("div", { class: "modal-body", children: [_jsx("h6", { children: "Terms of Service" }), _jsx("p", { children: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris." }), _jsx("p", { children: "Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum." }), _jsx("p", { children: "Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo." }), _jsx("p", { children: "Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt." }), _jsx("p", { children: "At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident." }), _jsx("p", { class: "mb-0", children: "Similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio." })] }), _jsxs("div", { class: "modal-footer", children: [_jsx("button", { type: "button", class: "btn btn-outline-secondary", "data-bs-dismiss": "modal", children: "Decline" }), _jsx("button", { type: "button", class: "btn btn-primary", "data-bs-dismiss": "modal", children: "Accept" })] })] }) }) }), _jsx("div", { class: "modal fade", id: "modal-confirm", tabindex: -1, children: _jsx("div", { class: "modal-dialog modal-dialog-centered modal-sm", children: _jsxs("div", { class: "modal-content", children: [_jsxs("div", { class: "modal-body text-center py-4", children: [_jsx("div", { class: "mb-3", children: _jsx("span", { class: "badge text-bg-danger rounded-circle d-inline-flex align-items-center justify-content-center", style: "width:3rem;height:3rem;font-size:1.25rem;", children: "X" }) }), _jsx("h5", { children: "Delete Item?" }), _jsx("p", { class: "text-body-secondary mb-0", children: "This action cannot be undone. The item and all associated data will be permanently removed." })] }), _jsxs("div", { class: "modal-footer justify-content-center border-0 pt-0", children: [_jsx("button", { type: "button", class: "btn btn-outline-secondary", "data-bs-dismiss": "modal", children: "Cancel" }), _jsx("button", { type: "button", class: "btn btn-danger", children: "Delete" })] })] }) }) }), _jsx("div", { class: "card", children: _jsxs("div", { class: "card-body", children: [_jsx("h5", { class: "card-title mb-3", children: "Detail Panel (Split-Pane)" }), _jsx("p", { class: "text-body-secondary mb-3", children: "Desktop: content shifts left, panel appears as card on right. Mobile: slides in as overlay." }), _jsxs("button", { class: "btn btn-primary", "data-bp-toggle-detail": true, children: ["Toggle Detail Panel ", "->"] })] }) }), _jsx("div", { class: "card", children: _jsxs("div", { class: "card-body", children: [_jsx("h5", { class: "card-title mb-3", children: "Toasts (Static Preview)" }), _jsx("p", { class: "text-body-secondary mb-3", children: "Toast notifications with glass styling. Shown inline for preview." }), _jsxs("div", { class: "d-flex flex-column gap-2", style: "max-width:360px;", children: [_jsxs("div", { class: "toast show", role: "alert", style: "position:static;", children: [_jsxs("div", { class: "toast-header", children: [_jsx("span", { class: "badge text-bg-success me-2", children: "\u00A0" }), _jsx("strong", { class: "me-auto", children: "Success" }), _jsx("small", { class: "text-body-secondary", children: "just now" }), _jsx("button", { type: "button", class: "btn-close btn-close-sm", "aria-label": "Close" })] }), _jsx("div", { class: "toast-body", children: "Configuration saved successfully." })] }), _jsxs("div", { class: "toast show", role: "alert", style: "position:static;", children: [_jsxs("div", { class: "toast-header", children: [_jsx("span", { class: "badge text-bg-danger me-2", children: "\u00A0" }), _jsx("strong", { class: "me-auto", children: "Error" }), _jsx("small", { class: "text-body-secondary", children: "2m ago" }), _jsx("button", { type: "button", class: "btn-close btn-close-sm", "aria-label": "Close" })] }), _jsx("div", { class: "toast-body", children: "Failed to deploy. Check build logs for details." })] }), _jsxs("div", { class: "toast show", role: "alert", style: "position:static;", children: [_jsxs("div", { class: "toast-header", children: [_jsx("span", { class: "badge text-bg-info me-2", children: "\u00A0" }), _jsx("strong", { class: "me-auto", children: "Info" }), _jsx("small", { class: "text-body-secondary", children: "5m ago" }), _jsx("button", { type: "button", class: "btn-close btn-close-sm", "aria-label": "Close" })] }), _jsxs("div", { class: "toast-body", children: ["New team member ", _jsx("strong", { children: "Alex" }), " joined the workspace."] })] })] })] }) }), _jsx("div", { class: "card", children: _jsxs("div", { class: "card-body", children: [_jsx("h5", { class: "card-title mb-3", children: "Tooltips & Popovers" }), _jsxs("div", { class: "d-flex flex-wrap gap-2 mb-3", children: [_jsx("button", { class: "btn btn-outline-primary btn-sm", "data-bs-toggle": "tooltip", "data-bs-placement": "top", title: "Tooltip on top", children: "Hover: Top" }), _jsx("button", { class: "btn btn-outline-primary btn-sm", "data-bs-toggle": "tooltip", "data-bs-placement": "right", title: "Tooltip on right", children: "Hover: Right" }), _jsx("button", { class: "btn btn-outline-primary btn-sm", "data-bs-toggle": "tooltip", "data-bs-placement": "bottom", title: "Tooltip on bottom", children: "Hover: Bottom" }), _jsx("button", { class: "btn btn-outline-primary btn-sm", "data-bs-toggle": "tooltip", "data-bs-placement": "left", title: "Tooltip on left", children: "Hover: Left" })] }), _jsxs("div", { class: "d-flex flex-wrap gap-2", children: [_jsx("button", { class: "btn btn-outline-secondary btn-sm", "data-bs-toggle": "popover", "data-bs-title": "Popover Title", "data-bs-content": "This is a popover with more detailed content. Popovers get the same glass treatment as dropdowns.", "data-bs-placement": "top", children: "Click: Popover Top" }), _jsx("button", { class: "btn btn-outline-secondary btn-sm", "data-bs-toggle": "popover", "data-bs-title": "Details", "data-bs-content": "Additional context, help text, or mini forms can live inside popovers.", "data-bs-placement": "bottom", children: "Click: Popover Bottom" })] })] }) })] }) }), _jsxs("div", { class: "bp-split-pane__detail", children: [_jsxs("div", { class: "d-flex justify-content-between align-items-center mb-3", children: [_jsx("h6", { class: "mb-0", children: "User Details" }), _jsx("button", { type: "button", class: "btn-close btn-sm", "data-bp-close-detail": true, "aria-label": "Close" })] }), _jsxs("div", { class: "text-center mb-3", children: [_jsx("div", { class: "rounded-circle bg-primary text-white d-inline-flex align-items-center justify-content-center mx-auto mb-2", style: "width:3.5rem;height:3.5rem;font-size:1.2rem;", children: "JD" }), _jsx("h6", { class: "mb-0", children: "Jane Doe" }), _jsx("small", { class: "text-body-secondary", children: "jane@example.com" })] }), _jsxs("div", { class: "d-flex flex-column gap-3", children: [_jsxs("div", { children: [_jsx("label", { class: "form-label", children: "Role" }), _jsxs("select", { class: "form-select form-select-sm", children: [_jsx("option", { children: "Viewer" }), _jsx("option", { selected: true, children: "Editor" }), _jsx("option", { children: "Admin" })] })] }), _jsxs("div", { children: [_jsx("label", { class: "form-label", children: "Status" }), _jsx("div", { children: _jsx("span", { class: "badge text-bg-success", children: "Active" }) })] }), _jsxs("div", { children: [_jsx("label", { class: "form-label", children: "Joined" }), _jsx("div", { class: "text-body-secondary small", children: "March 15, 2025" })] }), _jsxs("div", { children: [_jsx("label", { class: "form-label", children: "Last Login" }), _jsx("div", { class: "text-body-secondary small", children: "2 hours ago" })] }), _jsx("hr", {}), _jsxs("div", { class: "d-grid gap-2", children: [_jsx("button", { class: "btn btn-outline-primary btn-sm", children: "Send Message" }), _jsx("button", { class: "btn btn-outline-danger btn-sm", children: "Suspend User" })] })] })] })] }) }));
|
|
4
4
|
}
|
|
5
|
-
//# sourceMappingURL=showcase-overlays.js.map
|
|
5
|
+
//# sourceMappingURL=showcase-overlays.GET.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"showcase-overlays.GET.js","sourceRoot":"","sources":["../../../../../../src/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-overlays.GET.tsx"],"names":[],"mappings":";AAIA,MAAM,UAAU,MAAM,CAAC,IAAkB;IACvC,OAAO,CACL,kBAAS,KAAK,EAAC,sBAAsB,YACnC,eAAK,KAAK,EAAC,eAAe,yBAAqB,OAAO,aACtD,cAAK,KAAK,EAAC,wBAAwB,YACnC,eAAK,KAAK,EAAC,0BAA0B,aAEnC,0BACE,aAAI,KAAK,EAAC,SAAS,oCAA6B,EAChD,YAAG,KAAK,EAAC,qBAAqB,kFAAsE,IAChG,EAGN,cAAK,KAAK,EAAC,MAAM,YACf,eAAK,KAAK,EAAC,WAAW,aACpB,aAAI,KAAK,EAAC,iBAAiB,uBAAY,EACvC,eAAK,KAAK,EAAC,wBAAwB,aACjC,iBAAQ,KAAK,EAAC,iBAAiB,oBAAgB,OAAO,oBAAgB,gBAAgB,wBAAiB,EACvG,iBAAQ,KAAK,EAAC,yBAAyB,oBAAgB,OAAO,oBAAgB,cAAc,sBAAe,EAC3G,iBAAQ,KAAK,EAAC,yBAAyB,oBAAgB,OAAO,oBAAgB,cAAc,sBAAe,EAC3G,iBAAQ,KAAK,EAAC,yBAAyB,oBAAgB,OAAO,oBAAgB,iBAAiB,yBAAkB,EACjH,iBAAQ,KAAK,EAAC,yBAAyB,oBAAgB,OAAO,oBAAgB,mBAA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IACvD,EACN,eAAK,KAAK,EAAC,0BAA0B,aACnC,0BACE,gBAAO,KAAK,EAAC,YAAY,qBAAa,EACtC,kBAAQ,KAAK,EAAC,4BAA4B,aACxC,sCAAuB,EACvB,iBAAQ,QAAQ,6BAAgB,EAChC,qCAAsB,IACf,IACL,EACN,0BACE,gBAAO,KAAK,EAAC,YAAY,uBAAe,EACxC,wBAAK,eAAM,KAAK,EAAC,uBAAuB,uBAAc,GAAM,IACxD,EACN,0BACE,gBAAO,KAAK,EAAC,YAAY,uBAAe,EACxC,cAAK,KAAK,EAAC,2BAA2B,+BAAqB,IACvD,EACN,0BACE,gBAAO,KAAK,EAAC,YAAY,2BAAmB,EAC5C,cAAK,KAAK,EAAC,2BAA2B,4BAAkB,IACpD,EACN,cAAM,EACN,eAAK,KAAK,EAAC,cAAc,aACvB,iBAAQ,KAAK,EAAC,gCAAgC,6BAAsB,EACpE,iBAAQ,KAAK,EAAC,+BAA+B,6BAAsB,IAC/D,IACF,IACF,IAEA,GACE,CACX,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/** @jsxImportSource jsx-htmx */
|
|
2
|
+
import type { HtmlRenderable } from "@betterportal/framework";
|
|
3
|
+
import type { ResponseData } from "../route.impl.js";
|
|
4
|
+
export declare function render(data: ResponseData): HtmlRenderable;
|
|
5
|
+
//# sourceMappingURL=showcase-patterns.GET.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"showcase-patterns.GET.d.ts","sourceRoot":"","sources":["../../../../../../src/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-patterns.GET.tsx"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAErD,wBAAgB,MAAM,CAAC,IAAI,EAAE,YAAY,GAAG,cAAc,CAgTzD"}
|
|
@@ -22,4 +22,4 @@ export function render(data) {
|
|
|
22
22
|
{ num: "4", label: "Review", done: false }
|
|
23
23
|
].map((step, i) => (_jsxs("div", { class: "d-flex align-items-center gap-0 flex-grow-1", children: [_jsxs("div", { class: "text-center", children: [_jsx("div", { class: `rounded-circle d-inline-flex align-items-center justify-content-center fw-bold ${step.done ? "bg-success text-white" : step.active ? "bg-primary text-white" : "bg-light text-body-secondary border"}`, style: "width:2.2rem;height:2.2rem;font-size:0.8rem;", children: step.done ? "OK" : step.num }), _jsx("div", { class: `small mt-1 ${step.active ? "fw-semibold" : "text-body-secondary"}`, children: step.label })] }), i < 3 ? _jsx("div", { class: `flex-grow-1 mx-2 ${step.done ? "bg-success" : "bg-light"}`, style: "height:2px;" }) : ""] }))) }), _jsx("div", { class: "card", children: _jsxs("div", { class: "card-body", children: [_jsx("h6", { children: "Step 3: Settings" }), _jsx("p", { class: "text-body-secondary", children: "Configure your notification preferences and privacy settings." }), _jsxs("div", { class: "row g-3", children: [_jsxs("div", { class: "col-md-6", children: [_jsx("label", { class: "form-label", children: "Timezone" }), _jsxs("select", { class: "form-select", children: [_jsx("option", { children: "UTC-8 Pacific" }), _jsx("option", { selected: true, children: "UTC-5 Eastern" }), _jsx("option", { children: "UTC+0 London" }), _jsx("option", { children: "UTC+9 Tokyo" })] })] }), _jsxs("div", { class: "col-md-6", children: [_jsx("label", { class: "form-label", children: "Language" }), _jsxs("select", { class: "form-select", children: [_jsx("option", { selected: true, children: "English" }), _jsx("option", { children: "Spanish" }), _jsx("option", { children: "French" })] })] })] }), _jsxs("div", { class: "d-flex justify-content-between mt-4", children: [_jsxs("button", { class: "btn btn-outline-secondary", children: ["<-", " Back"] }), _jsxs("button", { class: "btn btn-primary", children: ["Continue ", "->"] })] })] }) })] }) }), _jsx("div", { class: "card", children: _jsxs("div", { class: "card-body", children: [_jsx("h5", { class: "card-title mb-3", children: "Input Groups" }), _jsxs("div", { class: "row g-3", children: [_jsxs("div", { class: "col-md-6", children: [_jsx("label", { class: "form-label", children: "URL" }), _jsxs("div", { class: "input-group", children: [_jsx("span", { class: "input-group-text", children: "https://" }), _jsx("input", { type: "text", class: "form-control", placeholder: "example.com" })] })] }), _jsxs("div", { class: "col-md-6", children: [_jsx("label", { class: "form-label", children: "Price" }), _jsxs("div", { class: "input-group", children: [_jsx("span", { class: "input-group-text", children: "$" }), _jsx("input", { type: "number", class: "form-control", placeholder: "0.00" }), _jsx("span", { class: "input-group-text", children: "USD" })] })] }), _jsxs("div", { class: "col-md-6", children: [_jsx("label", { class: "form-label", children: "Username" }), _jsxs("div", { class: "input-group", children: [_jsx("span", { class: "input-group-text", children: "@" }), _jsx("input", { type: "text", class: "form-control", placeholder: "username" })] })] }), _jsxs("div", { class: "col-md-6", children: [_jsx("label", { class: "form-label", children: "API Key" }), _jsxs("div", { class: "input-group", children: [_jsx("input", { type: "text", class: "form-control font-monospace", value: "sk_live_abc123...", readonly: true }), _jsx("button", { class: "btn btn-outline-secondary", type: "button", children: "Copy" })] })] })] })] }) })] }) }));
|
|
24
24
|
}
|
|
25
|
-
//# sourceMappingURL=showcase-patterns.js.map
|
|
25
|
+
//# sourceMappingURL=showcase-patterns.GET.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"showcase-patterns.GET.js","sourceRoot":"","sources":["../../../../../../src/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-patterns.GET.tsx"],"names":[],"mappings":";AAIA,MAAM,UAAU,MAAM,CAAC,IAAkB;IACvC,OAAO,CACL,kBAAS,KAAK,EAAC,sBAAsB,YACnC,eAAK,KAAK,EAAC,0BAA0B,aAEnC,0BACE,aAAI,KAAK,EAAC,SAAS,4BAAiB,EACpC,YAAG,KAAK,EAAC,qBAAqB,0GAA8F,IACxH,EAGN,cAAK,KAAK,EAAC,MAAM,YACf,eAAK,KAAK,EAAC,WAAW,aACpB,aAAI,KAAK,EAAC,iBAAiB,6BAAkB,EAC7C,eAAK,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S,EACvC,gBAAO,IAAI,EAAC,MAAM,EAAC,KAAK,EAAC,cAAc,EAAC,WAAW,EAAC,UAAU,GAAG,IAC7D,IACF,EACN,eAAK,KAAK,EAAC,UAAU,aACnB,gBAAO,KAAK,EAAC,YAAY,wBAAgB,EACzC,eAAK,KAAK,EAAC,aAAa,aACtB,gBAAO,IAAI,EAAC,MAAM,EAAC,KAAK,EAAC,6BAA6B,EAAC,KAAK,EAAC,mBAAmB,EAAC,QAAQ,SAAG,EAC5F,iBAAQ,KAAK,EAAC,2BAA2B,EAAC,IAAI,EAAC,QAAQ,qBAAc,IACjE,IACF,IACF,IACF,GACF,IAEF,GACE,CACX,CAAC;AACJ,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** @jsxImportSource jsx-htmx */
|
|
2
2
|
import type { HtmlRenderable } from "@betterportal/framework";
|
|
3
|
-
import type { ResponseData } from "../
|
|
3
|
+
import type { ResponseData } from "../route.impl.js";
|
|
4
4
|
export declare function render(data: ResponseData): HtmlRenderable;
|
|
5
|
-
//# sourceMappingURL=
|
|
5
|
+
//# sourceMappingURL=GET.d.ts.map
|
package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.embedded/GET.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GET.d.ts","sourceRoot":"","sources":["../../../../../../src/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.embedded/GET.tsx"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAErD,wBAAgB,MAAM,CAAC,IAAI,EAAE,YAAY,GAAG,cAAc,CASzD"}
|
|
@@ -2,4 +2,4 @@ import { jsx as _jsx, jsxs as _jsxs } from "jsx-htmx/jsx-runtime";
|
|
|
2
2
|
export function render(data) {
|
|
3
3
|
return (_jsx("div", { class: "card border-0 shadow-sm", children: _jsxs("div", { class: "card-body", children: [_jsx("div", { class: "h5 mb-2", children: data.greeting }), _jsx("div", { class: "text-body-secondary", children: "Rendered for lightweight embedded usage." })] }) }));
|
|
4
4
|
}
|
|
5
|
-
//# sourceMappingURL=
|
|
5
|
+
//# sourceMappingURL=GET.js.map
|
package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.embedded/GET.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GET.js","sourceRoot":"","sources":["../../../../../../src/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.embedded/GET.tsx"],"names":[],"mappings":";AAIA,MAAM,UAAU,MAAM,CAAC,IAAkB;IACvC,OAAO,CACL,cAAK,KAAK,EAAC,yBAAyB,YAClC,eAAK,KAAK,EAAC,WAAW,aACpB,cAAK,KAAK,EAAC,SAAS,YAAE,IAAI,CAAC,QAAQ,GAAO,EAC1C,cAAK,KAAK,EAAC,qBAAqB,yDAA+C,IAC3E,GACF,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1,23 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
import type { Infer } from "anyvali";
|
|
3
|
-
import { type DemoScenario, type ApiAuthRequirement, type CacheHints } from "@betterportal/framework";
|
|
4
|
-
export declare const QuerySchema: av.ObjectSchema<{
|
|
5
|
-
name: av.StringSchema;
|
|
6
|
-
}>;
|
|
7
|
-
export declare const HeadersSchema: av.ObjectSchema<{}>;
|
|
8
|
-
export declare const RequestSchema: av.ObjectSchema<{}>;
|
|
9
|
-
export declare const ResponseSchema: av.ObjectSchema<{
|
|
10
|
-
greeting: av.StringSchema;
|
|
11
|
-
}>;
|
|
12
|
-
export type ResponseData = Infer<typeof ResponseSchema>;
|
|
13
|
-
export declare const title = "Hello View";
|
|
14
|
-
export declare const description = "Example BetterPortal view with JSON, HTML, and metadata representations.";
|
|
15
|
-
export declare const auth: ApiAuthRequirement;
|
|
16
|
-
export declare const cacheHints: CacheHints;
|
|
17
|
-
export declare const demoScenarios: DemoScenario<ResponseData>[];
|
|
18
|
-
export declare const handleGet: import("@betterportal/framework").RouteHandler<Record<string, string>, {
|
|
19
|
-
name: string;
|
|
20
|
-
}, Record<string, string>, Record<string, unknown>, {
|
|
21
|
-
greeting: string;
|
|
22
|
-
}, unknown, Record<string, unknown>>;
|
|
1
|
+
export { title, description, auth, cacheHints, demoScenarios } from "./route.impl.js";
|
|
23
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/service-betterportal-hello-view/bp-routes/hello/index.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/service-betterportal-hello-view/bp-routes/hello/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,IAAI,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -1,37 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
import { createHandler } from "@betterportal/framework";
|
|
3
|
-
// -- Schemas ---------------------------------------------------------
|
|
4
|
-
export const QuerySchema = av.object({
|
|
5
|
-
name: av.string().minLength(1).default("World")
|
|
6
|
-
}, { unknownKeys: "strip" });
|
|
7
|
-
export const HeadersSchema = av.object({}, { unknownKeys: "strip" });
|
|
8
|
-
export const RequestSchema = av.object({}, { unknownKeys: "strip" });
|
|
9
|
-
export const ResponseSchema = av.object({
|
|
10
|
-
greeting: av.string().minLength(1)
|
|
11
|
-
}, { unknownKeys: "strip" });
|
|
12
|
-
// -- Metadata --------------------------------------------------------
|
|
13
|
-
export const title = "Hello View";
|
|
14
|
-
export const description = "Example BetterPortal view with JSON, HTML, and metadata representations.";
|
|
15
|
-
export const auth = {
|
|
16
|
-
required: false,
|
|
17
|
-
permissions: []
|
|
18
|
-
};
|
|
19
|
-
export const cacheHints = {
|
|
20
|
-
ttlSeconds: 60,
|
|
21
|
-
varyBy: ["accept", "origin", "referer", ":origin", ":referer"]
|
|
22
|
-
};
|
|
23
|
-
export const demoScenarios = [
|
|
24
|
-
{
|
|
25
|
-
id: "default",
|
|
26
|
-
title: "Default Greeting",
|
|
27
|
-
match: { query: { name: "World" } },
|
|
28
|
-
response: {
|
|
29
|
-
greeting: "Hello, Demo User"
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
];
|
|
33
|
-
// -- Handler ---------------------------------------------------------
|
|
34
|
-
export const handleGet = createHandler({ response: ResponseSchema, query: QuerySchema }, (ctx) => ({
|
|
35
|
-
greeting: `Hello, ${ctx.query.name}`
|
|
36
|
-
}));
|
|
1
|
+
export { title, description, auth, cacheHints, demoScenarios } from "./route.impl.js";
|
|
37
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/plugins/service-betterportal-hello-view/bp-routes/hello/index.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/plugins/service-betterportal-hello-view/bp-routes/hello/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,IAAI,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as av from "anyvali";
|
|
2
|
+
import type { Infer } from "anyvali";
|
|
3
|
+
import { type DemoScenario, type ApiAuthRequirement, type CacheHints } from "@betterportal/framework";
|
|
4
|
+
export declare const QuerySchema: av.ObjectSchema<{
|
|
5
|
+
name: av.StringSchema;
|
|
6
|
+
}>;
|
|
7
|
+
export declare const HeadersSchema: av.ObjectSchema<{}>;
|
|
8
|
+
export declare const RequestSchema: av.ObjectSchema<{}>;
|
|
9
|
+
export declare const ResponseSchema: av.ObjectSchema<{
|
|
10
|
+
greeting: av.StringSchema;
|
|
11
|
+
}>;
|
|
12
|
+
export type ResponseData = Infer<typeof ResponseSchema>;
|
|
13
|
+
export declare const title = "Hello View";
|
|
14
|
+
export declare const description = "Example BetterPortal view with JSON, HTML, and metadata representations.";
|
|
15
|
+
export declare const auth: ApiAuthRequirement;
|
|
16
|
+
export declare const cacheHints: CacheHints;
|
|
17
|
+
export declare const demoScenarios: DemoScenario<ResponseData>[];
|
|
18
|
+
export declare const handleGet: import("@betterportal/framework").RouteHandler<Record<string, string>, {
|
|
19
|
+
name: string;
|
|
20
|
+
}, Record<string, string>, Record<string, unknown>, {
|
|
21
|
+
greeting: string;
|
|
22
|
+
}, unknown, Record<string, unknown>>;
|
|
23
|
+
//# sourceMappingURL=route.impl.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"route.impl.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/service-betterportal-hello-view/bp-routes/hello/route.impl.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,SAAS,CAAC;AAC9B,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EAEL,KAAK,YAAY,EACjB,KAAK,kBAAkB,EACvB,KAAK,UAAU,EAChB,MAAM,yBAAyB,CAAC;AAIjC,eAAO,MAAM,WAAW;;EAEI,CAAC;AAE7B,eAAO,MAAM,aAAa,qBAA0C,CAAC;AAErE,eAAO,MAAM,aAAa,qBAA0C,CAAC;AAErE,eAAO,MAAM,cAAc;;EAEC,CAAC;AAC7B,MAAM,MAAM,YAAY,GAAG,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAIxD,eAAO,MAAM,KAAK,eAAe,CAAC;AAClC,eAAO,MAAM,WAAW,6EAA6E,CAAC;AAEtG,eAAO,MAAM,IAAI,EAAE,kBAGlB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,UAGxB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,YAAY,CAAC,YAAY,CAAC,EASrD,CAAC;AAIF,eAAO,MAAM,SAAS;;;;oCAKrB,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import * as av from "anyvali";
|
|
2
|
+
import { createHandler } from "@betterportal/framework";
|
|
3
|
+
// -- Schemas ---------------------------------------------------------
|
|
4
|
+
export const QuerySchema = av.object({
|
|
5
|
+
name: av.string().minLength(1).default("World")
|
|
6
|
+
}, { unknownKeys: "strip" });
|
|
7
|
+
export const HeadersSchema = av.object({}, { unknownKeys: "strip" });
|
|
8
|
+
export const RequestSchema = av.object({}, { unknownKeys: "strip" });
|
|
9
|
+
export const ResponseSchema = av.object({
|
|
10
|
+
greeting: av.string().minLength(1)
|
|
11
|
+
}, { unknownKeys: "strip" });
|
|
12
|
+
// -- Metadata --------------------------------------------------------
|
|
13
|
+
export const title = "Hello View";
|
|
14
|
+
export const description = "Example BetterPortal view with JSON, HTML, and metadata representations.";
|
|
15
|
+
export const auth = {
|
|
16
|
+
required: false,
|
|
17
|
+
permissions: []
|
|
18
|
+
};
|
|
19
|
+
export const cacheHints = {
|
|
20
|
+
ttlSeconds: 60,
|
|
21
|
+
varyBy: ["accept", "origin", "referer", ":origin", ":referer"]
|
|
22
|
+
};
|
|
23
|
+
export const demoScenarios = [
|
|
24
|
+
{
|
|
25
|
+
id: "default",
|
|
26
|
+
title: "Default Greeting",
|
|
27
|
+
match: { query: { name: "World" } },
|
|
28
|
+
response: {
|
|
29
|
+
greeting: "Hello, Demo User"
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
];
|
|
33
|
+
// -- Handler ---------------------------------------------------------
|
|
34
|
+
export const handleGet = createHandler({ response: ResponseSchema, query: QuerySchema }, (ctx) => ({
|
|
35
|
+
greeting: `Hello, ${ctx.query.name}`
|
|
36
|
+
}));
|
|
37
|
+
//# sourceMappingURL=route.impl.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"route.impl.js","sourceRoot":"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