@betterportal/hello-view 0.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.
Files changed (86) hide show
  1. package/README.md +11 -0
  2. package/bsb-plugin.json +23 -0
  3. package/bsb-tests.json +14 -0
  4. package/lib/index.d.ts +2 -0
  5. package/lib/index.d.ts.map +1 -0
  6. package/lib/index.js +2 -0
  7. package/lib/index.js.map +1 -0
  8. package/lib/plugins/service-betterportal-hello-view/.bp-generated/registry.d.ts +3 -0
  9. package/lib/plugins/service-betterportal-hello-view/.bp-generated/registry.d.ts.map +1 -0
  10. package/lib/plugins/service-betterportal-hello-view/.bp-generated/registry.js +80 -0
  11. package/lib/plugins/service-betterportal-hello-view/.bp-generated/registry.js.map +1 -0
  12. package/lib/plugins/service-betterportal-hello-view/bp-routes/delayed/_theme.bootstrap1/index.d.ts +13 -0
  13. package/lib/plugins/service-betterportal-hello-view/bp-routes/delayed/_theme.bootstrap1/index.d.ts.map +1 -0
  14. package/lib/plugins/service-betterportal-hello-view/bp-routes/delayed/_theme.bootstrap1/index.js +11 -0
  15. package/lib/plugins/service-betterportal-hello-view/bp-routes/delayed/_theme.bootstrap1/index.js.map +1 -0
  16. package/lib/plugins/service-betterportal-hello-view/bp-routes/delayed/_theme.bootstrap1/index.stream.d.ts +12 -0
  17. package/lib/plugins/service-betterportal-hello-view/bp-routes/delayed/_theme.bootstrap1/index.stream.d.ts.map +1 -0
  18. package/lib/plugins/service-betterportal-hello-view/bp-routes/delayed/_theme.bootstrap1/index.stream.js +18 -0
  19. package/lib/plugins/service-betterportal-hello-view/bp-routes/delayed/_theme.bootstrap1/index.stream.js.map +1 -0
  20. package/lib/plugins/service-betterportal-hello-view/bp-routes/delayed/index.d.ts +34 -0
  21. package/lib/plugins/service-betterportal-hello-view/bp-routes/delayed/index.d.ts.map +1 -0
  22. package/lib/plugins/service-betterportal-hello-view/bp-routes/delayed/index.js +50 -0
  23. package/lib/plugins/service-betterportal-hello-view/bp-routes/delayed/index.js.map +1 -0
  24. package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/_nav.clock.d.ts +5 -0
  25. package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/_nav.clock.d.ts.map +1 -0
  26. package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/_nav.clock.js +5 -0
  27. package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/_nav.clock.js.map +1 -0
  28. package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/_nav.clock.sse.d.ts +5 -0
  29. package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/_nav.clock.sse.d.ts.map +1 -0
  30. package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/_nav.clock.sse.js +6 -0
  31. package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/_nav.clock.sse.js.map +1 -0
  32. package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/_nav.profile.d.ts +5 -0
  33. package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/_nav.profile.d.ts.map +1 -0
  34. package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/_nav.profile.js +15 -0
  35. package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/_nav.profile.js.map +1 -0
  36. package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/index.d.ts +5 -0
  37. package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/index.d.ts.map +1 -0
  38. package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/index.js +8 -0
  39. package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/index.js.map +1 -0
  40. package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-cards.d.ts +5 -0
  41. package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-cards.d.ts.map +1 -0
  42. package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-cards.js +13 -0
  43. package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-cards.js.map +1 -0
  44. package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-data.d.ts +5 -0
  45. package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-data.d.ts.map +1 -0
  46. package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-data.js +52 -0
  47. package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-data.js.map +1 -0
  48. package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-elements.d.ts +5 -0
  49. package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-elements.d.ts.map +1 -0
  50. package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-elements.js +8 -0
  51. package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-elements.js.map +1 -0
  52. package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-forms.d.ts +5 -0
  53. package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-forms.d.ts.map +1 -0
  54. package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-forms.js +8 -0
  55. package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-forms.js.map +1 -0
  56. package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-interactive.d.ts +5 -0
  57. package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-interactive.d.ts.map +1 -0
  58. package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-interactive.js +11 -0
  59. package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-interactive.js.map +1 -0
  60. package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-overlays.d.ts +5 -0
  61. package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-overlays.d.ts.map +1 -0
  62. package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-overlays.js +5 -0
  63. package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-overlays.js.map +1 -0
  64. package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-patterns.d.ts +5 -0
  65. package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-patterns.d.ts.map +1 -0
  66. package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-patterns.js +25 -0
  67. package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-patterns.js.map +1 -0
  68. package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.embedded/index.d.ts +5 -0
  69. package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.embedded/index.d.ts.map +1 -0
  70. package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.embedded/index.js +5 -0
  71. package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.embedded/index.js.map +1 -0
  72. package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/index.d.ts +23 -0
  73. package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/index.d.ts.map +1 -0
  74. package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/index.js +37 -0
  75. package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/index.js.map +1 -0
  76. package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/sse.d.ts +10 -0
  77. package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/sse.d.ts.map +1 -0
  78. package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/sse.js +20 -0
  79. package/lib/plugins/service-betterportal-hello-view/bp-routes/hello/sse.js.map +1 -0
  80. package/lib/plugins/service-betterportal-hello-view/index.d.ts +57 -0
  81. package/lib/plugins/service-betterportal-hello-view/index.d.ts.map +1 -0
  82. package/lib/plugins/service-betterportal-hello-view/index.js +66 -0
  83. package/lib/plugins/service-betterportal-hello-view/index.js.map +1 -0
  84. package/lib/schemas/service-betterportal-hello-view.json +109 -0
  85. package/lib/schemas/service-betterportal-hello-view.plugin.json +122 -0
  86. package/package.json +65 -0
@@ -0,0 +1,52 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "jsx-htmx/jsx-runtime";
2
+ /*
3
+ Data Table (paginated sub-component)
4
+ */
5
+ const ALL_USERS = [
6
+ { name: "Alice Johnson", email: "alice@example.com", role: "Admin", status: "Active", statusColor: "success", joined: "Jan 15, 2025" },
7
+ { name: "Bob Smith", email: "bob@example.com", role: "Editor", status: "Active", statusColor: "success", joined: "Jan 22, 2025" },
8
+ { name: "Carol White", email: "carol@example.com", role: "Viewer", status: "Pending", statusColor: "warning", joined: "Feb 3, 2025" },
9
+ { name: "Dave Brown", email: "dave@example.com", role: "Editor", status: "Active", statusColor: "success", joined: "Feb 14, 2025" },
10
+ { name: "Eve Davis", email: "eve@example.com", role: "Admin", status: "Suspended", statusColor: "danger", joined: "Feb 28, 2025" },
11
+ { name: "Frank Miller", email: "frank@example.com", role: "Viewer", status: "Active", statusColor: "success", joined: "Mar 5, 2025" },
12
+ { name: "Grace Lee", email: "grace@example.com", role: "Editor", status: "Active", statusColor: "success", joined: "Mar 12, 2025" },
13
+ { name: "Henry Wilson", email: "henry@example.com", role: "Viewer", status: "Pending", statusColor: "warning", joined: "Mar 18, 2025" },
14
+ { name: "Ivy Chen", email: "ivy@example.com", role: "Admin", status: "Active", statusColor: "success", joined: "Mar 22, 2025" },
15
+ { name: "Jack Taylor", email: "jack@example.com", role: "Editor", status: "Active", statusColor: "success", joined: "Mar 28, 2025" },
16
+ { name: "Kate Moore", email: "kate@example.com", role: "Viewer", status: "Suspended", statusColor: "danger", joined: "Apr 1, 2025" },
17
+ { name: "Leo Garcia", email: "leo@example.com", role: "Editor", status: "Active", statusColor: "success", joined: "Apr 5, 2025" },
18
+ { name: "Mia Robinson", email: "mia@example.com", role: "Viewer", status: "Active", statusColor: "success", joined: "Apr 8, 2025" },
19
+ { name: "Noah Clark", email: "noah@example.com", role: "Admin", status: "Active", statusColor: "success", joined: "Apr 10, 2025" },
20
+ { name: "Olivia Hall", email: "olivia@example.com", role: "Viewer", status: "Pending", statusColor: "warning", joined: "Apr 12, 2025" },
21
+ { name: "Paul King", email: "paul@example.com", role: "Editor", status: "Active", statusColor: "success", joined: "Apr 14, 2025" },
22
+ { name: "Quinn Adams", email: "quinn@example.com", role: "Viewer", status: "Active", statusColor: "success", joined: "Apr 15, 2025" },
23
+ { name: "Ruby Scott", email: "ruby@example.com", role: "Editor", status: "Suspended", statusColor: "danger", joined: "Apr 16, 2025" },
24
+ ];
25
+ const PAGE_SIZE = 6;
26
+ const TOTAL_PAGES = Math.ceil(ALL_USERS.length / PAGE_SIZE);
27
+ /**
28
+ * Render the user table component.
29
+ * @param page - current page number
30
+ * @param routePath - the PARENT route's internal path (e.g., "/showcase/data")
31
+ * pagination uses ?_c=user-table&page=N against this path
32
+ */
33
+ function renderDataTableFragment(page, routePath) {
34
+ const safePage = Math.max(1, Math.min(page, TOTAL_PAGES));
35
+ const start = (safePage - 1) * PAGE_SIZE;
36
+ const users = ALL_USERS.slice(start, start + PAGE_SIZE);
37
+ function pageBtn(p, label, disabled) {
38
+ if (disabled) {
39
+ return (_jsx("li", { class: "page-item disabled", children: _jsx("span", { class: "page-link", children: label }) }));
40
+ }
41
+ return (_jsx("li", { class: `page-item${p === safePage ? " active" : ""}`, children: _jsx("button", { type: "button", class: "page-link", "hx-get": `${routePath}?_c=user-table&page=${p}`, "hx-target": "#bp-c-user-table", "hx-swap": "innerHTML", children: label }) }));
42
+ }
43
+ return (_jsxs("div", { children: [_jsx("div", { class: "table-responsive", children: _jsxs("table", { class: "table table-hover mb-0", children: [_jsx("thead", { children: _jsxs("tr", { children: [_jsx("th", { children: "Name" }), _jsx("th", { children: "Email" }), _jsx("th", { children: "Role" }), _jsx("th", { children: "Status" }), _jsx("th", { class: "text-end", children: "Joined" })] }) }), _jsx("tbody", { children: users.map((user) => (_jsxs("tr", { children: [_jsx("td", { class: "fw-semibold", children: user.name }), _jsx("td", { children: user.email }), _jsx("td", { children: user.role }), _jsx("td", { children: _jsx("span", { class: `badge text-bg-${user.statusColor}${user.statusColor === "warning" ? " text-dark" : ""}`, children: user.status }) }), _jsx("td", { class: "text-end text-body-secondary", children: user.joined })] }))) })] }) }), _jsxs("div", { class: "card-footer d-flex justify-content-between align-items-center", children: [_jsxs("span", { class: "text-body-secondary small", children: ["Showing ", start + 1, "-", Math.min(start + PAGE_SIZE, ALL_USERS.length), " of ", ALL_USERS.length] }), _jsx("nav", { children: _jsxs("ul", { class: "pagination pagination-sm mb-0", children: [pageBtn(safePage - 1, "<-", safePage <= 1), Array.from({ length: TOTAL_PAGES }, (_, i) => i + 1).map((p) => pageBtn(p, String(p), false)), pageBtn(safePage + 1, "->", safePage >= TOTAL_PAGES)] }) })] })] }));
44
+ }
45
+ /*
46
+ Showcase: Data Display
47
+ */
48
+ export function render(data, page = 1) {
49
+ const routePath = "/hello";
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
+ }
52
+ //# sourceMappingURL=showcase-data.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"showcase-data.js","sourceRoot":"","sources":["../../../../../../src/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-data.tsx"],"names":[],"mappings":";AAIA;;MAEM;AAEN,MAAM,SAAS,GAAG;IAChB,EAAE,IAAI,EAAE,eAAe,EAAE,KAAK,EAAE,mBAAmB,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,EAAE,cAAc,EAAE;IACtI,EAAE,IAAI,EAAE,WAAW,EAAE,KAAK,EAAE,iBAAiB,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,EAAE,cAAc,EAAE;IACjI,EAAE,IAAI,EAAE,aAAa,EAAE,KAAK,EAAE,mBAAmB,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,EAAE,aAAa,EAAE;IACrI,EAAE,IAAI,EAAE,YAAY,EAAE,KAAK,EAAE,kBAAkB,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,EAAE,cAAc,EAAE;IACnI,EAAE,IAAI,EAAE,WAAW,EAAE,KAAK,EAAE,iBAAiB,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,EAAE,cAAc,EAAE;IAClI,EAAE,IAAI,EAAE,cAAc,EAAE,KA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cAAc,uBAAW,GAAK,IAClF,EACL,YAAG,KAAK,EAAC,0BAA0B,sGAA0F,IACzH,GACF,EAGN,cAAK,KAAK,EAAC,MAAM,YACf,eAAK,KAAK,EAAC,WAAW,aACpB,aAAI,KAAK,EAAC,iBAAiB,0BAAe,EAC1C,cAAI,KAAK,EAAC,oBAAoB,aAC5B,aAAI,KAAK,EAAC,UAAU,YAAC,YAAG,KAAK,EAAC,iBAAiB,EAAC,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 "../index.js";
4
+ export declare function render(data: ResponseData): HtmlRenderable;
5
+ //# sourceMappingURL=showcase-elements.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"showcase-elements.d.ts","sourceRoot":"","sources":["../../../../../../src/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-elements.tsx"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAMhD,wBAAgB,MAAM,CAAC,IAAI,EAAE,YAAY,GAAG,cAAc,CA0JzD"}
@@ -0,0 +1,8 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "jsx-htmx/jsx-runtime";
2
+ /*
3
+ Showcase: Elements (buttons, badges, alerts, typography)
4
+ */
5
+ export function render(data) {
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
+ }
8
+ //# sourceMappingURL=showcase-elements.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"showcase-elements.js","sourceRoot":"","sources":["../../../../../../src/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-elements.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,EAC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CAAiC,EAAC,IAAI,EAAC,QAAQ,oBAAgB,UAAU,wBAAiB,EACxG,cAAI,KAAK,EAAC,eAAe,aACvB,uBAAI,YAAG,KAAK,EAAC,eAAe,EAAC,IAAI,EAAC,cAAc,qBAAS,GAAK,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"}
@@ -0,0 +1,5 @@
1
+ /** @jsxImportSource jsx-htmx */
2
+ import type { HtmlRenderable } from "@betterportal/framework";
3
+ import type { ResponseData } from "../index.js";
4
+ export declare function render(data: ResponseData): HtmlRenderable;
5
+ //# sourceMappingURL=showcase-forms.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"showcase-forms.d.ts","sourceRoot":"","sources":["../../../../../../src/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-forms.tsx"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAMhD,wBAAgB,MAAM,CAAC,IAAI,EAAE,YAAY,GAAG,cAAc,CAyLzD"}
@@ -0,0 +1,8 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "jsx-htmx/jsx-runtime";
2
+ /*
3
+ Showcase: Forms & Inputs
4
+ */
5
+ export function render(data) {
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
+ }
8
+ //# sourceMappingURL=showcase-forms.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"showcase-forms.js","sourceRoot":"","sources":["../../../../../../src/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-forms.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,EAAC,WAAW,uDAA6C,IAC/D,E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AQ,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 "../index.js";
4
+ export declare function render(data: ResponseData): HtmlRenderable;
5
+ //# sourceMappingURL=showcase-interactive.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"showcase-interactive.d.ts","sourceRoot":"","sources":["../../../../../../src/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-interactive.tsx"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhD,wBAAgB,MAAM,CAAC,IAAI,EAAE,YAAY,GAAG,cAAc,CAsRzD"}
@@ -0,0 +1,11 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "jsx-htmx/jsx-runtime";
2
+ export function render(data) {
3
+ 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: "Interactive Components" }), _jsx("p", { class: "text-body-secondary", children: "Accordions, collapse, spinners, placeholders, breadcrumbs, and range inputs." })] }), _jsx("div", { class: "card", children: _jsxs("div", { class: "card-body", children: [_jsx("h5", { class: "card-title mb-3", children: "Accordion" }), _jsxs("div", { class: "accordion", id: "showcase-accordion", children: [_jsxs("div", { class: "accordion-item", children: [_jsx("h2", { class: "accordion-header", children: _jsx("button", { class: "accordion-button", type: "button", "data-bs-toggle": "collapse", "data-bs-target": "#acc-1", "aria-expanded": "true", children: "How does theming work?" }) }), _jsx("div", { id: "acc-1", class: "accordion-collapse collapse show", "data-bs-parent": "#showcase-accordion", children: _jsx("div", { class: "accordion-body text-body-secondary", children: "BetterPortal uses a theme plugin system. Each theme provides renderers for standard Bootstrap components. Services write vanilla Bootstrap HTML and the theme's CSS overrides handle the visual treatment - glass neumorphic in this case." }) })] }), _jsxs("div", { class: "accordion-item", children: [_jsx("h2", { class: "accordion-header", children: _jsx("button", { class: "accordion-button collapsed", type: "button", "data-bs-toggle": "collapse", "data-bs-target": "#acc-2", "aria-expanded": "false", children: "Can I customize the color palette?" }) }), _jsx("div", { id: "acc-2", class: "accordion-collapse collapse", "data-bs-parent": "#showcase-accordion", children: _jsxs("div", { class: "accordion-body text-body-secondary", children: ["Yes. Colors are configured in ", _jsx("code", { children: "bp-config.yaml" }), " per-app. You can override the accent, surface, text, and border colors. Bootstrap color tokens are also mapped so ", _jsx("code", { children: ".btn-primary" }), ", ", _jsx("code", { children: ".text-bg-success" }), ", etc. all follow your palette."] }) })] }), _jsxs("div", { class: "accordion-item", children: [_jsx("h2", { class: "accordion-header", children: _jsx("button", { class: "accordion-button collapsed", type: "button", "data-bs-toggle": "collapse", "data-bs-target": "#acc-3", "aria-expanded": "false", children: "What about dark mode?" }) }), _jsx("div", { id: "acc-3", class: "accordion-collapse collapse", "data-bs-parent": "#showcase-accordion", children: _jsxs("div", { class: "accordion-body text-body-secondary", children: ["The theme supports ", _jsx("code", { children: "light" }), ", ", _jsx("code", { children: "dark" }), ", and ", _jsx("code", { children: "system" }), " modes. Each mode has its own surface, shadow, and overlay values. Glass effects adapt automatically - lighter translucency in dark mode, frosted white in light mode."] }) })] }), _jsxs("div", { class: "accordion-item", children: [_jsx("h2", { class: "accordion-header", children: _jsx("button", { class: "accordion-button collapsed", type: "button", "data-bs-toggle": "collapse", "data-bs-target": "#acc-4", "aria-expanded": "false", children: "How do HTMX navigations work?" }) }), _jsx("div", { id: "acc-4", class: "accordion-collapse collapse", "data-bs-parent": "#showcase-accordion", children: _jsxs("div", { class: "accordion-body text-body-secondary", children: ["Navigation links use ", _jsx("code", { children: "hx-get" }), " to fetch content from service endpoints. The shell runtime manages loading indicators (topbar progress, content overlay, nav shimmer) and error states. Content is swapped into ", _jsx("code", { children: "#bp-main" }), " with ", _jsx("code", { children: "innerHTML" }), " strategy."] }) })] })] })] }) }), _jsx("div", { class: "card", children: _jsxs("div", { class: "card-body", children: [_jsx("h5", { class: "card-title mb-3", children: "Collapse / Show-Hide" }), _jsxs("div", { class: "d-flex flex-wrap gap-2 mb-3", children: [_jsx("button", { class: "btn btn-primary btn-sm", "data-bs-toggle": "collapse", "data-bs-target": "#collapse-demo", children: "Toggle Content" }), _jsx("button", { class: "btn btn-outline-secondary btn-sm", "data-bs-toggle": "collapse", "data-bs-target": "#collapse-multi-1", children: "Panel A" }), _jsx("button", { class: "btn btn-outline-secondary btn-sm", "data-bs-toggle": "collapse", "data-bs-target": "#collapse-multi-2", children: "Panel B" })] }), _jsx("div", { class: "collapse show mb-3", id: "collapse-demo", children: _jsx("div", { class: "card", children: _jsx("div", { class: "card-body", children: _jsx("p", { class: "mb-0", children: "This content can be toggled. Useful for advanced options, details panels, or progressive disclosure." }) }) }) }), _jsxs("div", { class: "row g-3", children: [_jsx("div", { class: "col-md-6", children: _jsx("div", { class: "collapse", id: "collapse-multi-1", children: _jsx("div", { class: "card", children: _jsxs("div", { class: "card-body", children: [_jsx("h6", { children: "Panel A" }), _jsx("p", { class: "text-body-secondary mb-0", children: "Independent collapse panels can be toggled individually." })] }) }) }) }), _jsx("div", { class: "col-md-6", children: _jsx("div", { class: "collapse", id: "collapse-multi-2", children: _jsx("div", { class: "card", children: _jsxs("div", { class: "card-body", children: [_jsx("h6", { children: "Panel B" }), _jsx("p", { class: "text-body-secondary mb-0", children: "Multiple collapse targets work independently." })] }) }) }) })] })] }) }), _jsx("div", { class: "card", children: _jsxs("div", { class: "card-body", children: [_jsx("h5", { class: "card-title mb-3", children: "Spinners & Loading" }), _jsxs("div", { class: "row g-3", children: [_jsxs("div", { class: "col-md-6", children: [_jsx("h6", { class: "small text-body-secondary mb-2", children: "Border Spinners" }), _jsxs("div", { class: "d-flex align-items-center gap-3", children: [_jsx("div", { class: "spinner-border text-primary", role: "status", children: _jsx("span", { class: "visually-hidden", children: "Loading..." }) }), _jsx("div", { class: "spinner-border text-secondary", role: "status" }), _jsx("div", { class: "spinner-border text-success", role: "status" }), _jsx("div", { class: "spinner-border text-danger", role: "status" }), _jsx("div", { class: "spinner-border spinner-border-sm text-primary", role: "status" })] })] }), _jsxs("div", { class: "col-md-6", children: [_jsx("h6", { class: "small text-body-secondary mb-2", children: "Growing Spinners" }), _jsxs("div", { class: "d-flex align-items-center gap-3", children: [_jsx("div", { class: "spinner-grow text-primary", role: "status", children: _jsx("span", { class: "visually-hidden", children: "Loading..." }) }), _jsx("div", { class: "spinner-grow text-secondary", role: "status" }), _jsx("div", { class: "spinner-grow text-success", role: "status" }), _jsx("div", { class: "spinner-grow text-info", role: "status" }), _jsx("div", { class: "spinner-grow spinner-grow-sm text-primary", role: "status" })] })] }), _jsxs("div", { class: "col-md-6", children: [_jsx("h6", { class: "small text-body-secondary mb-2", children: "Button with Spinner" }), _jsxs("div", { class: "d-flex gap-2", children: [_jsxs("button", { class: "btn btn-primary", disabled: true, children: [_jsx("span", { class: "spinner-border spinner-border-sm me-1", role: "status" }), "Saving..."] }), _jsxs("button", { class: "btn btn-outline-secondary", disabled: true, children: [_jsx("span", { class: "spinner-grow spinner-grow-sm me-1", role: "status" }), "Loading"] })] })] }), _jsxs("div", { class: "col-md-6", children: [_jsx("h6", { class: "small text-body-secondary mb-2", children: "Full Card Loading" }), _jsx("div", { class: "card", children: _jsxs("div", { class: "card-body text-center py-4", children: [_jsx("div", { class: "spinner-border text-primary mb-2", role: "status" }), _jsx("div", { class: "text-body-secondary small", children: "Loading dashboard data..." })] }) })] })] })] }) }), _jsx("div", { class: "card", children: _jsxs("div", { class: "card-body", children: [_jsx("h5", { class: "card-title mb-3", children: "Placeholders / Skeletons" }), _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 placeholder-glow", children: _jsx("span", { class: "placeholder col-6" }) }), _jsxs("p", { class: "card-text placeholder-glow", children: [_jsx("span", { class: "placeholder col-7" }), _jsx("span", { class: "placeholder col-4" }), _jsx("span", { class: "placeholder col-4" }), _jsx("span", { class: "placeholder col-6" }), _jsx("span", { class: "placeholder col-8" })] }), _jsx("a", { class: "btn btn-primary disabled placeholder col-4", "aria-disabled": "true", href: "javascript:;" })] }) }) }), _jsx("div", { class: "col-md-6", children: _jsx("div", { class: "card", children: _jsxs("div", { class: "card-body", children: [_jsxs("div", { class: "d-flex align-items-center gap-3 placeholder-glow mb-3", children: [_jsx("span", { class: "placeholder rounded-circle", style: "width:3rem;height:3rem;" }), _jsxs("div", { class: "flex-grow-1", children: [_jsx("span", { class: "placeholder col-5 d-block mb-1" }), _jsx("span", { class: "placeholder col-3" })] })] }), _jsxs("div", { class: "placeholder-glow", children: [_jsx("span", { class: "placeholder col-12 mb-1" }), _jsx("span", { class: "placeholder col-10 mb-1" }), _jsx("span", { class: "placeholder col-8" })] })] }) }) })] })] }) }), _jsx("div", { class: "card", children: _jsxs("div", { class: "card-body", children: [_jsx("h5", { class: "card-title mb-3", children: "Breadcrumbs" }), _jsx("nav", { "aria-label": "breadcrumb", class: "mb-2", children: _jsxs("ol", { class: "breadcrumb mb-0", children: [_jsx("li", { class: "breadcrumb-item", children: _jsx("a", { href: "javascript:;", children: "Home" }) }), _jsx("li", { class: "breadcrumb-item", children: _jsx("a", { href: "javascript:;", children: "Projects" }) }), _jsx("li", { class: "breadcrumb-item active", "aria-current": "page", children: "Alpha" })] }) }), _jsx("nav", { "aria-label": "breadcrumb", children: _jsxs("ol", { class: "breadcrumb mb-0", children: [_jsx("li", { class: "breadcrumb-item", children: _jsx("a", { href: "javascript:;", children: "Dashboard" }) }), _jsx("li", { class: "breadcrumb-item", children: _jsx("a", { href: "javascript:;", children: "Settings" }) }), _jsx("li", { class: "breadcrumb-item", children: _jsx("a", { href: "javascript:;", children: "Security" }) }), _jsx("li", { class: "breadcrumb-item active", "aria-current": "page", children: "API Keys" })] }) })] }) }), _jsx("div", { class: "card", children: _jsxs("div", { class: "card-body", children: [_jsx("h5", { class: "card-title mb-3", children: "Range Inputs" }), _jsxs("div", { class: "row g-3", children: [_jsxs("div", { class: "col-md-6", children: [_jsx("label", { class: "form-label", children: "Volume" }), _jsx("input", { type: "range", class: "form-range", min: "0", max: "100", value: "65" })] }), _jsxs("div", { class: "col-md-6", children: [_jsx("label", { class: "form-label", children: "Brightness" }), _jsx("input", { type: "range", class: "form-range", min: "0", max: "100", value: "40" })] }), _jsxs("div", { class: "col-md-6", children: [_jsx("label", { class: "form-label", children: "Opacity (disabled)" }), _jsx("input", { type: "range", class: "form-range", min: "0", max: "100", value: "50", disabled: true })] }), _jsxs("div", { class: "col-md-6", children: [_jsx("label", { class: "form-label", children: "Steps (0-5)" }), _jsx("input", { type: "range", class: "form-range", min: "0", max: "5", step: "1", value: "3" })] })] })] }) }), _jsx("div", { class: "card", children: _jsxs("div", { class: "card-body", children: [_jsx("h5", { class: "card-title mb-3", children: "Keyboard Shortcuts" }), _jsx("div", { class: "d-flex flex-column gap-2", children: [
4
+ { keys: ["Ctrl", "K"], action: "Open command palette" },
5
+ { keys: ["Ctrl", "S"], action: "Save current document" },
6
+ { keys: ["Ctrl", "Shift", "P"], action: "Open settings" },
7
+ { keys: ["Esc"], action: "Close modal / cancel" },
8
+ { keys: ["^", "v"], action: "Navigate list items" }
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
+ }
11
+ //# sourceMappingURL=showcase-interactive.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"showcase-interactive.js","sourceRoot":"","sources":["../../../../../../src/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-interactive.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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AAc,YACvB,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,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 "../index.js";
4
+ export declare function render(data: ResponseData): HtmlRenderable;
5
+ //# sourceMappingURL=showcase-overlays.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"showcase-overlays.d.ts","sourceRoot":"","sources":["../../../../../../src/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-overlays.tsx"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhD,wBAAgB,MAAM,CAAC,IAAI,EAAE,YAAY,GAAG,cAAc,CAoSzD"}
@@ -0,0 +1,5 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "jsx-htmx/jsx-runtime";
2
+ export function render(data) {
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
+ }
5
+ //# sourceMappingURL=showcase-overlays.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"showcase-overlays.js","sourceRoot":"","sources":["../../../../../../src/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-overlays.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,mBAAmB,2BAAoB,EACrH,iBAAQ,KAAK,EAAC,wBAAwB,oBAAgB,OAAO,oBAAgB,gBAAgB,+BAAwB,IACjH,IACF,GACF,EAGN,cAAK,KAAK,E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,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 "../index.js";
4
+ export declare function render(data: ResponseData): HtmlRenderable;
5
+ //# sourceMappingURL=showcase-patterns.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"showcase-patterns.d.ts","sourceRoot":"","sources":["../../../../../../src/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-patterns.tsx"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhD,wBAAgB,MAAM,CAAC,IAAI,EAAE,YAAY,GAAG,cAAc,CAgTzD"}
@@ -0,0 +1,25 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "jsx-htmx/jsx-runtime";
2
+ export function render(data) {
3
+ 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 Patterns" }), _jsx("p", { class: "text-body-secondary", children: "Common UI patterns: empty states, search, avatars, timelines, toolbars, and step wizards." })] }), _jsx("div", { class: "card", children: _jsxs("div", { class: "card-body", children: [_jsx("h5", { class: "card-title mb-3", children: "Empty States" }), _jsxs("div", { class: "row g-3", children: [_jsx("div", { class: "col-md-6", children: _jsx("div", { class: "card h-100", children: _jsxs("div", { class: "card-body text-center py-5", children: [_jsx("div", { class: "mb-3", style: "font-size:2.5rem;opacity:0.3;" }), _jsx("h6", { children: "No Projects Yet" }), _jsx("p", { class: "text-body-secondary small mb-3", children: "Create your first project to get started." }), _jsx("button", { class: "btn btn-primary btn-sm", children: "Create Project" })] }) }) }), _jsx("div", { class: "col-md-6", children: _jsx("div", { class: "card h-100", children: _jsxs("div", { class: "card-body text-center py-5", children: [_jsx("div", { class: "mb-3", style: "font-size:2.5rem;opacity:0.3;" }), _jsx("h6", { children: "No Results Found" }), _jsx("p", { class: "text-body-secondary small mb-3", children: "Try adjusting your search or filter criteria." }), _jsx("button", { class: "btn btn-outline-secondary btn-sm", children: "Clear Filters" })] }) }) })] })] }) }), _jsx("div", { class: "card", children: _jsxs("div", { class: "card-body", children: [_jsx("h5", { class: "card-title mb-3", children: "Search Patterns" }), _jsxs("div", { class: "row g-3", children: [_jsxs("div", { class: "col-md-6", children: [_jsx("label", { class: "form-label", children: "Basic Search" }), _jsxs("div", { class: "input-group", children: [_jsx("span", { class: "input-group-text" }), _jsx("input", { type: "search", class: "form-control", placeholder: "Search users, projects, settings..." })] })] }), _jsxs("div", { class: "col-md-6", children: [_jsx("label", { class: "form-label", children: "Search with Button" }), _jsxs("div", { class: "input-group", children: [_jsx("input", { type: "search", class: "form-control", placeholder: "Find anything..." }), _jsx("button", { class: "btn btn-primary", type: "button", children: "Search" })] })] }), _jsxs("div", { class: "col-12", children: [_jsx("label", { class: "form-label", children: "Search Results Preview" }), _jsx("div", { class: "card", children: _jsxs("div", { class: "list-group list-group-flush", children: [_jsx("a", { href: "javascript:;", class: "list-group-item list-group-item-action", children: _jsxs("div", { class: "d-flex justify-content-between align-items-center", children: [_jsxs("div", { children: [_jsx("div", { class: "fw-semibold", children: "Jane Doe" }), _jsx("small", { class: "text-body-secondary", children: "jane@example.com - Admin" })] }), _jsx("span", { class: "badge text-bg-primary rounded-pill", children: "User" })] }) }), _jsx("a", { href: "javascript:;", class: "list-group-item list-group-item-action", children: _jsxs("div", { class: "d-flex justify-content-between align-items-center", children: [_jsxs("div", { children: [_jsx("div", { class: "fw-semibold", children: "Dashboard Settings" }), _jsxs("small", { class: "text-body-secondary", children: ["Settings ", "->", " Dashboard ", "->", " Layout"] })] }), _jsx("span", { class: "badge text-bg-secondary rounded-pill", children: "Setting" })] }) }), _jsx("a", { href: "javascript:;", class: "list-group-item list-group-item-action", children: _jsxs("div", { class: "d-flex justify-content-between align-items-center", children: [_jsxs("div", { children: [_jsx("div", { class: "fw-semibold", children: "Project Alpha" }), _jsx("small", { class: "text-body-secondary", children: "Created Mar 15, 2025 - 12 members" })] }), _jsx("span", { class: "badge text-bg-success rounded-pill", children: "Project" })] }) })] }) })] })] })] }) }), _jsx("div", { class: "card", children: _jsxs("div", { class: "card-body", children: [_jsx("h5", { class: "card-title mb-3", children: "Avatars & User Chips" }), _jsxs("div", { class: "d-flex flex-column gap-3", children: [_jsxs("div", { children: [_jsx("h6", { class: "small text-body-secondary mb-2", children: "Sizes" }), _jsx("div", { class: "d-flex align-items-center gap-3", children: [
4
+ { size: "1.5rem", fs: "0.55rem", initials: "SM" },
5
+ { size: "2rem", fs: "0.7rem", initials: "MD" },
6
+ { size: "2.5rem", fs: "0.85rem", initials: "LG" },
7
+ { size: "3.5rem", fs: "1.1rem", initials: "XL" }
8
+ ].map((a) => (_jsx("div", { class: "rounded-circle bg-primary text-white d-inline-flex align-items-center justify-content-center fw-semibold", style: `width:${a.size};height:${a.size};font-size:${a.fs};`, children: a.initials }))) })] }), _jsxs("div", { children: [_jsx("h6", { class: "small text-body-secondary mb-2", children: "Avatar Group (stacked)" }), _jsx("div", { class: "d-flex", style: "margin-left:0.5rem;", children: ["JD", "AS", "BW", "CL", "+4"].map((initials, i) => (_jsx("div", { class: `rounded-circle ${initials.startsWith("+") ? "bg-secondary" : "bg-primary"} text-white d-inline-flex align-items-center justify-content-center fw-semibold border border-2 border-white`, style: `width:2.2rem;height:2.2rem;font-size:0.68rem;margin-left:-0.5rem;z-index:${5 - i};position:relative;`, children: initials }))) })] }), _jsxs("div", { children: [_jsx("h6", { class: "small text-body-secondary mb-2", children: "User Chips" }), _jsx("div", { class: "d-flex flex-wrap gap-2", children: [
9
+ { name: "Jane Doe", role: "Admin", color: "primary" },
10
+ { name: "Bob Smith", role: "Editor", color: "success" },
11
+ { name: "Carol White", role: "Viewer", color: "info" }
12
+ ].map((user) => (_jsxs("span", { class: "d-inline-flex align-items-center gap-2 border rounded-pill px-2 py-1", children: [_jsx("span", { class: `rounded-circle bg-${user.color} text-white d-inline-flex align-items-center justify-content-center fw-semibold`, style: "width:1.5rem;height:1.5rem;font-size:0.55rem;", children: user.name.split(" ").map((n) => n[0]).join("") }), _jsx("span", { class: "small fw-semibold", children: user.name }), _jsx("span", { class: `badge text-bg-${user.color} rounded-pill`, style: "font-size:0.65rem;", children: user.role })] }))) })] })] })] }) }), _jsx("div", { class: "card", children: _jsxs("div", { class: "card-body", children: [_jsx("h5", { class: "card-title mb-3", children: "Activity Timeline" }), _jsx("div", { class: "d-flex flex-column gap-0", children: [
13
+ { time: "2 min ago", icon: "", title: "Deployment completed", desc: "Production v2.4.1 deployed successfully.", badge: "Success", color: "success" },
14
+ { time: "15 min ago", icon: "", title: "New user registered", desc: "alex@example.com joined the workspace.", badge: "User", color: "primary" },
15
+ { time: "1 hr ago", icon: "", title: "Config updated", desc: "SMTP settings changed by admin@example.com.", badge: "Config", color: "secondary" },
16
+ { time: "3 hr ago", icon: "", title: "Alert triggered", desc: "CPU usage exceeded 90% on node-3.", badge: "Critical", color: "danger" },
17
+ { time: "6 hr ago", icon: "", title: "Backup completed", desc: "Daily backup finished. Size: 2.4GB.", badge: "System", color: "info" }
18
+ ].map((event, i) => (_jsxs("div", { class: "d-flex gap-3 position-relative", style: "padding-bottom:1.5rem;", children: [i < 4 ? _jsx("div", { class: "position-absolute", style: "left:1rem;top:2.2rem;bottom:0;width:2px;background:var(--bp-border,rgba(0,0,0,0.06));" }) : "", _jsx("div", { class: "flex-shrink-0 d-flex align-items-center justify-content-center rounded-circle bg-white border", style: "width:2.2rem;height:2.2rem;font-size:0.85rem;z-index:1;", children: event.icon }), _jsxs("div", { class: "flex-grow-1", children: [_jsxs("div", { class: "d-flex justify-content-between align-items-start mb-1", children: [_jsx("div", { class: "fw-semibold", children: event.title }), _jsx("small", { class: "text-body-secondary text-nowrap ms-2", children: event.time })] }), _jsx("div", { class: "text-body-secondary small", children: event.desc }), _jsx("span", { class: `badge text-bg-${event.color} mt-1`, style: "font-size:0.65rem;", children: event.badge })] })] }))) })] }) }), _jsx("div", { class: "card", children: _jsxs("div", { class: "card-body", children: [_jsx("h5", { class: "card-title mb-3", children: "Toolbars" }), _jsxs("div", { class: "d-flex flex-column gap-3", children: [_jsxs("div", { class: "d-flex flex-wrap justify-content-between align-items-center gap-2 p-2 border rounded", children: [_jsxs("div", { class: "d-flex gap-2", children: [_jsx("button", { class: "btn btn-sm btn-primary", children: "New" }), _jsx("button", { class: "btn btn-sm btn-outline-secondary", children: "Import" }), _jsx("button", { class: "btn btn-sm btn-outline-secondary", children: "Export" })] }), _jsxs("div", { class: "d-flex gap-2 align-items-center", children: [_jsx("input", { type: "search", class: "form-control form-control-sm", placeholder: "Filter...", style: "max-width:200px;" }), _jsxs("div", { class: "dropdown", children: [_jsx("button", { class: "btn btn-sm btn-outline-secondary dropdown-toggle", "data-bs-toggle": "dropdown", children: "Sort" }), _jsxs("ul", { class: "dropdown-menu dropdown-menu-end", children: [_jsx("li", { children: _jsx("a", { class: "dropdown-item", href: "javascript:;", children: "Name A-Z" }) }), _jsx("li", { children: _jsx("a", { class: "dropdown-item", href: "javascript:;", children: "Date Created" }) }), _jsx("li", { children: _jsx("a", { class: "dropdown-item", href: "javascript:;", children: "Last Modified" }) })] })] })] })] }), _jsxs("div", { class: "d-flex flex-wrap justify-content-between align-items-center gap-2 p-2 border rounded bg-primary bg-opacity-10", children: [_jsx("span", { class: "small fw-semibold", children: "3 items selected" }), _jsxs("div", { class: "d-flex gap-2", children: [_jsx("button", { class: "btn btn-sm btn-outline-primary", children: "Move" }), _jsx("button", { class: "btn btn-sm btn-outline-primary", children: "Tag" }), _jsx("button", { class: "btn btn-sm btn-outline-danger", children: "Delete" })] })] })] })] }) }), _jsx("div", { class: "card", children: _jsxs("div", { class: "card-body", children: [_jsx("h5", { class: "card-title mb-3", children: "Steps / Wizard" }), _jsx("div", { class: "d-flex justify-content-between align-items-center mb-4", style: "max-width:600px;", children: [
19
+ { num: "1", label: "Account", done: true },
20
+ { num: "2", label: "Profile", done: true },
21
+ { num: "3", label: "Settings", done: false, active: true },
22
+ { num: "4", label: "Review", done: false }
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
+ }
25
+ //# sourceMappingURL=showcase-patterns.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"showcase-patterns.js","sourceRoot":"","sources":["../../../../../../src/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.bootstrap1/showcase-patterns.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,KAAK,EAAC,SAAS,aAClB,cAAK,KAAK,EAAC,UAAU,YACnB,cAAK,KAAK,EAAC,YAAY,YACrB,eAAK,KAAK,EAAC,4BAA4B,aACrC,cAAK,KAAK,EAAC,MAAM,EAAC,KAAK,EAAC,+BAA+B,GAAO,EAC9D,2CAAwB,EACxB,YAAG,KAAK,EAAC,gCAAgC,0DAA8C,EACvF,iBAAQ,KAAK,EAAC,wBAAwB,+BAAwB,IAC1D,GACF,GACF,EACN,cAAK,KAAK,EAAC,UAAU,YACnB,cAAK,KAAK,EAAC,YAAY,YACrB,eAAK,KAAK,EAAC,4BAA4B,aACrC,cAAK,KAAK,EAAC,MAAM,EAAC,KAAK,EAAC,+BAA+B,GAAO,EAC9D,4CAAyB,EACzB,YAAG,KAAK,EAAC,gCAAgC,8DAAkD,EAC3F,iBAAQ,KAAK,EAAC,kCAAkC,8BAAuB,IACnE,GACF,GACF,IACF,IACF,GACF,EAGN,cAAK,KAAK,EAAC,MAAM,YACf,eAAK,KAAK,EAAC,WAAW,aACpB,aAAI,KAAK,EAAC,iBAAiB,gCAAqB,EAChD,eAAK,KAAK,EAAC,SAAS,aAClB,eAAK,KAAK,EAAC,UAAU,aACnB,gBAAO,KA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AM,EAAC,KAAK,EAAC,cAAc,EAAC,WAAW,EAAC,aAAa,GAAG,IAChE,IACF,EACN,eAAK,KAAK,EAAC,UAAU,aACnB,gBAAO,KAAK,EAAC,YAAY,sBAAc,EACvC,eAAK,KAAK,EAAC,aAAa,aACtB,eAAM,KAAK,EAAC,kBAAkB,kBAAS,EACvC,gBAAO,IAAI,EAAC,QAAQ,EAAC,KAAK,EAAC,cAAc,EAAC,WAAW,EAAC,MAAM,GAAG,EAC/D,eAAM,KAAK,EAAC,kBAAkB,oBAAW,IACrC,IACF,EACN,eAAK,KAAK,EAAC,UAAU,aACnB,gBAAO,KAAK,EAAC,YAAY,yBAAiB,EAC1C,eAAK,KAAK,EAAC,aAAa,aACtB,eAAM,KAAK,EAAC,kBAAkB,kBAAS,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"}
@@ -0,0 +1,5 @@
1
+ /** @jsxImportSource jsx-htmx */
2
+ import type { HtmlRenderable } from "@betterportal/framework";
3
+ import type { ResponseData } from "../index.js";
4
+ export declare function render(data: ResponseData): HtmlRenderable;
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.embedded/index.tsx"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhD,wBAAgB,MAAM,CAAC,IAAI,EAAE,YAAY,GAAG,cAAc,CASzD"}
@@ -0,0 +1,5 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "jsx-htmx/jsx-runtime";
2
+ export function render(data) {
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
+ }
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/plugins/service-betterportal-hello-view/bp-routes/hello/_theme.embedded/index.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"}
@@ -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=index.d.ts.map
@@ -0,0 +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,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=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/plugins/service-betterportal-hello-view/bp-routes/hello/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,SAAS,CAAC;AAE9B,OAAO,EACL,aAAa,EAId,MAAM,yBAAyB,CAAC;AAEjC,uEAAuE;AAEvE,MAAM,CAAC,MAAM,WAAW,GAAG,EAAE,CAAC,MAAM,CAAC;IACnC,IAAI,EAAE,EAAE,CAAC,MAAM,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC;CAChD,EAAE,EAAE,WAAW,EAAE,OAAO,EAAE,CAAC,CAAC;AAE7B,MAAM,CAAC,MAAM,aAAa,GAAG,EAAE,CAAC,MAAM,CAAC,EAAE,EAAE,EAAE,WAAW,EAAE,OAAO,EAAE,CAAC,CAAC;AAErE,MAAM,CAAC,MAAM,aAAa,GAAG,EAAE,CAAC,M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