@frigear-nu/dashboard 0.0.0-stage → 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.
- package/README.md +4 -2
- package/dist/module.d.mts +104 -0
- package/dist/module.json +12 -0
- package/dist/module.mjs +175 -0
- package/dist/runtime/access.d.ts +1 -0
- package/dist/runtime/access.js +12 -0
- package/dist/runtime/app/components/ActionCard.d.vue.ts +19 -0
- package/dist/runtime/app/components/ActionCard.vue +54 -0
- package/dist/runtime/app/components/ActionCard.vue.d.ts +19 -0
- package/dist/runtime/app/components/ChartCard.d.vue.ts +28 -0
- package/dist/runtime/app/components/ChartCard.vue +53 -0
- package/dist/runtime/app/components/ChartCard.vue.d.ts +28 -0
- package/dist/runtime/app/components/Dashboard.d.vue.ts +27 -0
- package/dist/runtime/app/components/Dashboard.vue +156 -0
- package/dist/runtime/app/components/Dashboard.vue.d.ts +27 -0
- package/dist/runtime/app/components/DashboardGrid.d.vue.ts +15 -0
- package/dist/runtime/app/components/DashboardGrid.vue +11 -0
- package/dist/runtime/app/components/DashboardGrid.vue.d.ts +15 -0
- package/dist/runtime/app/components/DashboardItem.d.vue.ts +26 -0
- package/dist/runtime/app/components/DashboardItem.vue +175 -0
- package/dist/runtime/app/components/DashboardItem.vue.d.ts +26 -0
- package/dist/runtime/app/components/EmptyCard.d.vue.ts +18 -0
- package/dist/runtime/app/components/EmptyCard.vue +25 -0
- package/dist/runtime/app/components/EmptyCard.vue.d.ts +18 -0
- package/dist/runtime/app/composables/useDashboard.d.ts +46 -0
- package/dist/runtime/app/composables/useDashboard.js +59 -0
- package/dist/runtime/app/composables/useDashboardItem.d.ts +39 -0
- package/dist/runtime/app/composables/useDashboardItem.js +29 -0
- package/dist/runtime/app/composables/useDashboardLayout.d.ts +24 -0
- package/dist/runtime/app/composables/useDashboardLayout.js +67 -0
- package/dist/runtime/app/composables/useDashboardNav.d.ts +23 -0
- package/dist/runtime/app/composables/useDashboardNav.js +16 -0
- package/dist/runtime/app/composables/useDashboardPlatform.d.ts +10 -0
- package/dist/runtime/app/composables/useDashboardPlatform.js +17 -0
- package/dist/runtime/app/composables/useSavedDashboardLayouts.d.ts +20 -0
- package/dist/runtime/app/composables/useSavedDashboardLayouts.js +35 -0
- package/dist/runtime/app/layouts/dashboard.d.vue.ts +15 -0
- package/dist/runtime/app/layouts/dashboard.vue +32 -0
- package/dist/runtime/app/layouts/dashboard.vue.d.ts +15 -0
- package/dist/runtime/app/pages/home.d.vue.ts +3 -0
- package/dist/runtime/app/pages/home.vue +16 -0
- package/dist/runtime/app/pages/home.vue.d.ts +3 -0
- package/dist/runtime/app/pages/hub.d.vue.ts +3 -0
- package/dist/runtime/app/pages/hub.vue +63 -0
- package/dist/runtime/app/pages/hub.vue.d.ts +3 -0
- package/dist/runtime/app/utils/components.d.ts +8 -0
- package/dist/runtime/app/utils/components.js +19 -0
- package/dist/runtime/app/utils/span.d.ts +1 -0
- package/dist/runtime/app/utils/span.js +10 -0
- package/dist/runtime/i18n/lang/da.json +71 -0
- package/dist/runtime/i18n/lang/en.json +71 -0
- package/dist/runtime/menus.d.ts +2 -0
- package/dist/runtime/menus.js +26 -0
- package/dist/runtime/preferences.d.ts +37 -0
- package/dist/runtime/preferences.js +25 -0
- package/dist/runtime/server/layouts.d.ts +9 -0
- package/dist/runtime/server/layouts.js +25 -0
- package/dist/runtime/server/routes/me/layouts.get.d.ts +2 -0
- package/dist/runtime/server/routes/me/layouts.get.js +6 -0
- package/dist/runtime/server/routes/me/layouts.patch.d.ts +2 -0
- package/dist/runtime/server/routes/me/layouts.patch.js +10 -0
- package/dist/runtime/shared/home-tab.d.ts +31 -0
- package/dist/runtime/shared/home-tab.js +21 -0
- package/dist/runtime/shared/hub.d.ts +18 -0
- package/dist/runtime/shared/hub.js +8 -0
- package/dist/runtime/shared/layout.d.ts +62 -0
- package/dist/runtime/shared/layout.js +110 -0
- package/dist/runtime/shared/registry.d.ts +11 -0
- package/dist/runtime/shared/registry.js +15 -0
- package/dist/runtime/shared/stored-layouts.d.ts +12 -0
- package/dist/runtime/shared/stored-layouts.js +16 -0
- package/dist/runtime/utils/api.d.ts +11 -0
- package/dist/runtime/utils/api.js +11 -0
- package/dist/runtime/utils/dashboard.d.ts +22 -0
- package/dist/runtime/utils/dashboard.js +32 -0
- package/dist/runtime/utils/hub.d.ts +8 -0
- package/dist/runtime/utils/hub.js +5 -0
- package/dist/runtime/utils/index.d.ts +5 -0
- package/dist/runtime/utils/index.js +19 -0
- package/dist/types.d.mts +3 -0
- package/package.json +116 -3
package/package.json
CHANGED
|
@@ -1,6 +1,119 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frigear-nu/dashboard",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "Customisable dashboards: modules add items to a named dashboard (extendDashboard), pages render them with <Dashboard> or their own layout (useDashboard), and each user reorders, hides and collapses items.",
|
|
5
|
+
"homepage": "https://docs.frigear.dev/modules/interface/dashboard",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/Frigear-nu/frigear-nu.git",
|
|
9
|
+
"directory": "packages/dashboard"
|
|
10
|
+
},
|
|
11
|
+
"license": "MIT",
|
|
12
|
+
"type": "module",
|
|
13
|
+
"main": "./dist/module.mjs",
|
|
14
|
+
"types": "./dist/types.d.mts",
|
|
15
|
+
"exports": {
|
|
16
|
+
".": {
|
|
17
|
+
"types": "./dist/types.d.mts",
|
|
18
|
+
"import": "./dist/module.mjs",
|
|
19
|
+
"default": "./dist/module.mjs"
|
|
20
|
+
},
|
|
21
|
+
"./utils": {
|
|
22
|
+
"types": "./dist/runtime/utils/index.d.ts",
|
|
23
|
+
"import": "./dist/runtime/utils/index.js",
|
|
24
|
+
"default": "./dist/runtime/utils/index.js"
|
|
25
|
+
},
|
|
26
|
+
"./api": {
|
|
27
|
+
"types": "./dist/runtime/utils/api.d.ts",
|
|
28
|
+
"import": "./dist/runtime/utils/api.js",
|
|
29
|
+
"default": "./dist/runtime/utils/api.js"
|
|
30
|
+
},
|
|
31
|
+
"./types": {
|
|
32
|
+
"types": "./dist/types.d.mts"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"files": [
|
|
36
|
+
"dist"
|
|
37
|
+
],
|
|
38
|
+
"dependencies": {
|
|
39
|
+
"@frigear-nu/module-kit": "^1.3.8",
|
|
40
|
+
"@frigear-nu/ui": "^0.2.8",
|
|
41
|
+
"@frigear-nu/widget": "^0.4.1",
|
|
42
|
+
"@nuxt/kit": "^4.6.4",
|
|
43
|
+
"drizzle-orm": "^0.45.4",
|
|
44
|
+
"zod": "^4.6.7"
|
|
45
|
+
},
|
|
46
|
+
"peerDependencies": {
|
|
47
|
+
"@frigear-nu/auth": "^0.6.4",
|
|
48
|
+
"@frigear-nu/menu": "^0.4.0",
|
|
49
|
+
"@frigear-nu/mobile": "^0.6.2",
|
|
50
|
+
"@frigear-nu/preferences": "^0.3.2",
|
|
51
|
+
"@nuxt/ui": "^4.12.0",
|
|
52
|
+
"@nuxthub/core": "^0.10.12",
|
|
53
|
+
"vue": "3.x"
|
|
54
|
+
},
|
|
55
|
+
"peerDependenciesMeta": {
|
|
56
|
+
"@frigear-nu/auth": {
|
|
57
|
+
"optional": true
|
|
58
|
+
},
|
|
59
|
+
"@frigear-nu/menu": {
|
|
60
|
+
"optional": true
|
|
61
|
+
},
|
|
62
|
+
"@frigear-nu/mobile": {
|
|
63
|
+
"optional": true
|
|
64
|
+
},
|
|
65
|
+
"@frigear-nu/preferences": {
|
|
66
|
+
"optional": true
|
|
67
|
+
},
|
|
68
|
+
"@nuxthub/core": {
|
|
69
|
+
"optional": true
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
"devDependencies": {
|
|
73
|
+
"@frigear-nu/auth": "^0.6.4",
|
|
74
|
+
"@frigear-nu/authorization": "^0.6.2",
|
|
75
|
+
"@frigear-nu/menu": "^0.4.0",
|
|
76
|
+
"@frigear-nu/mobile": "^0.6.2",
|
|
77
|
+
"@frigear-nu/preferences": "^0.3.2",
|
|
78
|
+
"@frigear-nu/users": "^3.1.2",
|
|
79
|
+
"@libsql/client": "^0.18.0",
|
|
80
|
+
"@nuxt/eslint-config": "^1.17.0",
|
|
81
|
+
"@nuxt/module-builder": "^1.0.4",
|
|
82
|
+
"@nuxt/schema": "^4.6.4",
|
|
83
|
+
"@nuxt/test-utils": "^4.4.0",
|
|
84
|
+
"@nuxt/ui": "^4.12.0",
|
|
85
|
+
"@nuxthub/core": "^0.10.12",
|
|
86
|
+
"@types/node": "^26.6.6",
|
|
87
|
+
"drizzle-kit": "^0.31.11",
|
|
88
|
+
"eslint": "^10.15.0",
|
|
89
|
+
"nuxt": "^4.6.4",
|
|
90
|
+
"typescript": "^6.0.3",
|
|
91
|
+
"vitest": "^5.1.0",
|
|
92
|
+
"vue": "^3.5.45",
|
|
93
|
+
"vue-tsc": "^3.3.14"
|
|
94
|
+
},
|
|
95
|
+
"scripts": {
|
|
96
|
+
"dev:stub": "nuxt-module-build build --stub && nuxt-module-build prepare",
|
|
97
|
+
"build": "nuxt-module-build build",
|
|
98
|
+
"lint": "eslint .",
|
|
99
|
+
"lint:fix": "eslint . --fix",
|
|
100
|
+
"test": "vitest run",
|
|
101
|
+
"test:watch": "vitest watch"
|
|
102
|
+
},
|
|
103
|
+
"typesVersions": {
|
|
104
|
+
"*": {
|
|
105
|
+
".": [
|
|
106
|
+
"./dist/types.d.mts"
|
|
107
|
+
],
|
|
108
|
+
"utils": [
|
|
109
|
+
"./dist/runtime/utils/index.d.ts"
|
|
110
|
+
],
|
|
111
|
+
"api": [
|
|
112
|
+
"./dist/runtime/utils/api.d.ts"
|
|
113
|
+
],
|
|
114
|
+
"types": [
|
|
115
|
+
"./dist/types.d.mts"
|
|
116
|
+
]
|
|
117
|
+
}
|
|
118
|
+
}
|
|
6
119
|
}
|