@wodecorp/openui-vue-dashboard-library 0.0.0-stage → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +22 -0
- package/README.md +47 -2
- package/THIRD_PARTY_NOTICES.md +14 -0
- package/dist/index.cjs +4905 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +131 -0
- package/dist/index.d.mts +131 -0
- package/dist/index.mjs +4898 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +73 -3
package/LICENSE
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 WodeCorp / OpenUI Vue Contributors
|
|
4
|
+
Portions derived from OpenUI, Copyright (c) 2011-2026 Thesys Inc.
|
|
5
|
+
|
|
6
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
8
|
+
in the Software without restriction, including without limitation the rights
|
|
9
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
11
|
+
furnished to do so, subject to the following conditions:
|
|
12
|
+
|
|
13
|
+
The above copyright notice and this permission notice shall be included in
|
|
14
|
+
all copies or substantial portions of the Software.
|
|
15
|
+
|
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
22
|
+
THE SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,48 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @wodecorp/openui-vue-dashboard-library
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Interactive BI & Analytics Dashboard library for OpenUI Vue 3 — 45 components including KPI cards, filter bars, tables, comparisons, trends, funnels, cohorts, US/World TopoJSON geo maps, and click-to-source data provenance.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
pnpm add @wodecorp/openui-vue-dashboard-library @wodecorp/openui-vue-lang @wodecorp/openui-vue-ui vue zod
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
```vue
|
|
14
|
+
<script setup lang="ts">
|
|
15
|
+
import { Renderer } from "@wodecorp/openui-vue-lang";
|
|
16
|
+
import { library, ThemeProvider } from "@wodecorp/openui-vue-dashboard-library";
|
|
17
|
+
import "@wodecorp/openui-vue-ui/index.css";
|
|
18
|
+
|
|
19
|
+
const program = [
|
|
20
|
+
"root = Dashboard([",
|
|
21
|
+
" FilterBar([",
|
|
22
|
+
' PeriodPicker($period, [{value: "7d", label: "7D"}, {value: "30d", label: "30D"}])',
|
|
23
|
+
" ]),",
|
|
24
|
+
' Section("Overview", [',
|
|
25
|
+
' Kpis([Kpi("Revenue", 128400, "currency-compact", 112000), Kpi("Period", $period)]),',
|
|
26
|
+
' Card("Regions", [GeoMap("us", ["CA", "NY", "TX"], [42000, 38000, 29000], "currency-compact")])',
|
|
27
|
+
" ])",
|
|
28
|
+
"])",
|
|
29
|
+
'$period = "30d"',
|
|
30
|
+
].join("\n");
|
|
31
|
+
</script>
|
|
32
|
+
|
|
33
|
+
<template>
|
|
34
|
+
<ThemeProvider mode="light">
|
|
35
|
+
<Renderer :library="library" :response="program" :is-streaming="false" />
|
|
36
|
+
</ThemeProvider>
|
|
37
|
+
</template>
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
## Key Exports
|
|
41
|
+
|
|
42
|
+
- `library` — OpenUI `Library` rooted at `"Dashboard"` with `Format` / `Width` / `GoodWhen` schema `$defs`
|
|
43
|
+
- `ThemeProvider` — Scoped light/dark dashboard theme provider (bridges `@wodecorp/openui-vue-ui` tokens)
|
|
44
|
+
- `dashboardComponents`, `componentGroups`, `promptOptions` — Component definitions and prompt generation options
|
|
45
|
+
|
|
46
|
+
## License
|
|
47
|
+
|
|
48
|
+
MIT
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# Third-Party Notices
|
|
2
|
+
|
|
3
|
+
This repository implements Vue 3 counterpart packages for OpenUI and derives algorithms, styles, or component interaction semantics from the following open-source projects:
|
|
4
|
+
|
|
5
|
+
- **OpenUI** (`thesysdev/openui`, MIT License, Copyright (c) Thesys Inc.)
|
|
6
|
+
- **Radix Primitives** (`radix-ui/primitives`, MIT License, Copyright (c) WorkOS)
|
|
7
|
+
- **Floating UI** (`floating-ui/floating-ui`, MIT License, Copyright (c) Floating UI contributors)
|
|
8
|
+
- **React DayPicker** (`gpbl/react-day-picker`, MIT License, Copyright (c) Giampaolo Bellavite)
|
|
9
|
+
- **TanStack Table** (`TanStack/table`, MIT License, Copyright (c) Tanner Linsley)
|
|
10
|
+
- **Lucide Icons** (`lucide-icons/lucide`, ISC / MIT License, Copyright (c) Lucide Contributors)
|
|
11
|
+
- **KaTeX** (`KaTeX/KaTeX`, MIT License, Copyright (c) Khan Academy)
|
|
12
|
+
- **D3** (`d3/d3-scale`, `d3-selection`, `d3-shape`, `d3-geo`, ISC License)
|
|
13
|
+
- **Zustand** (`pmndrs/zustand`, MIT License)
|
|
14
|
+
- **aria-hidden** & **react-remove-scroll** (`theKashey`, MIT License)
|