@wodecorp/openui-vue-dashboard-library 0.0.0-stage → 0.1.0
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 +25 -2
- package/THIRD_PARTY_NOTICES.md +14 -0
- package/dist/index.cjs +4740 -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 +4733 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +67 -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,26 @@
|
|
|
1
|
-
#
|
|
1
|
+
# `@wodecorp/openui-vue-dashboard-library`
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Vue 3 port of OpenUI's interactive Dashboard library (`@openuidev/dashboard-library`), providing **45 structured analytics & visualization components** keyed on `Dashboard` as root, with D3 charts, `d3-geo` + `topojson-client` maps, interactive filters, comparison toggles, and data provenance binding.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
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
|
+
```ts
|
|
14
|
+
import { Renderer } from "@wodecorp/openui-vue-lang";
|
|
15
|
+
import { library, promptOptions, ThemeProvider } from "@wodecorp/openui-vue-dashboard-library";
|
|
16
|
+
import "@wodecorp/openui-vue-ui/index.css";
|
|
17
|
+
|
|
18
|
+
const systemPrompt = library.prompt(promptOptions);
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## Highlights
|
|
22
|
+
|
|
23
|
+
- **45 components** across Structure, Metrics/KPIs, Filters, Trends, Comparison, Composition, Flow, Relationships, Geo/Point Maps, and Sortable Tables.
|
|
24
|
+
- Named Zod schema `$defs` (`Format`, `Width`, `GoodWhen`) via `tagSchemaId`.
|
|
25
|
+
- Real vector choropleth (`GeoMap`) and bubble (`PointMap`) maps using `d3-geo`, `topojson-client`, `world-atlas`, and `us-atlas`.
|
|
26
|
+
- Reactive filter state (`PeriodPicker`, `DateRangeFilter`, `ChipFilter`, `SelectFilter`, `MultiSelectFilter`, `CompareToggle`) and DOM provenance via `bindSource`.
|
|
@@ -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)
|