@tenorlab/vue-dashboard 1.5.44 → 1.5.45
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 +43 -0
- package/README.md +23 -13
- package/package.json +5 -2
package/LICENSE
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
TENORLAB DASHBOARD FRAMEWORK LICENSE
|
|
2
|
+
Version 1.0.0
|
|
3
|
+
|
|
4
|
+
Copyright (c) 2026 Tenorlab. All rights reserved.
|
|
5
|
+
|
|
6
|
+
1. DUAL-LICENSE MODEL
|
|
7
|
+
This Software is licensed under a dual-license model. By accessing or using the
|
|
8
|
+
source code, you agree to be bound by one of the following licenses:
|
|
9
|
+
|
|
10
|
+
(a) NON-COMMERCIAL USE: If your use is Non-Commercial (as defined by the
|
|
11
|
+
Polyform Non-Commercial License 1.0.0), your use is governed by that license.
|
|
12
|
+
A copy can be found at: https://polyformproject.org/licenses/non-commercial/1.0.0/
|
|
13
|
+
|
|
14
|
+
(b) COMMERCIAL USE: If your use is Commercial, you must obtain a valid
|
|
15
|
+
Tenorlab Commercial License. Commercial use includes, but is not limited to:
|
|
16
|
+
building for a client, use within a for-profit entity (internal or external),
|
|
17
|
+
or use in any revenue-generating product. Licenses are available at:
|
|
18
|
+
https://www.tenorlab.com
|
|
19
|
+
|
|
20
|
+
2. REDISTRIBUTION RESTRICTIONS
|
|
21
|
+
Notwithstanding the terms of any sub-license mentioned above, the
|
|
22
|
+
redistribution of the Software's source code—whether in its original form
|
|
23
|
+
or as a modified derivative work—is STRICTLY PROHIBITED.
|
|
24
|
+
|
|
25
|
+
You may not include this Software, or any portion thereof, in any:
|
|
26
|
+
- Software Development Kit (SDK)
|
|
27
|
+
- UI Component Library or Framework
|
|
28
|
+
- Website/Dashboard Starter Template or Boilerplate
|
|
29
|
+
- "Dashboard Builder" or similar tool intended for use by other developers.
|
|
30
|
+
|
|
31
|
+
3. DERIVATIVE WORKS & MODIFICATIONS
|
|
32
|
+
You are permitted to modify and extend the Software for the sole purpose of
|
|
33
|
+
building a specific "End Product" application. Modifying the code does not
|
|
34
|
+
transfer ownership of the underlying logic, nor does it grant permission
|
|
35
|
+
to bypass the Commercial License requirement or the Redistribution Restrictions.
|
|
36
|
+
|
|
37
|
+
4. TERMINATION
|
|
38
|
+
Failure to comply with these terms automatically terminates your right to
|
|
39
|
+
use the Software. Tenorlab reserves all rights not expressly granted herein.
|
|
40
|
+
|
|
41
|
+
5. CONTACT & INQUIRIES
|
|
42
|
+
For licensing questions or professional inquiries, please visit:
|
|
43
|
+
https://www.tenorlab.com
|
package/README.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# @tenorlab/vue-dashboard
|
|
2
2
|
|
|
3
|
+
[](https://polyformproject.org/licenses/non-commercial/1.0.0/)
|
|
4
|
+
[](https://payhip.com/b/gPBpo)
|
|
5
|
+
[](#-distribution-restrictions)
|
|
6
|
+
|
|
3
7
|
Foundation components for creating user-configurable, high-performance dashboards in Vue. Built on top of **@tenorlab/dashboard-core**.
|
|
4
8
|
|
|
5
9
|
## 🏗 Relationship to Core
|
|
@@ -74,8 +78,6 @@ import type {
|
|
|
74
78
|
} from '@tenorlab/vue-dashboard'
|
|
75
79
|
import { DashboardWidgetBase, WrapperColumnContent, useWidgetEmits } from '@tenorlab/vue-dashboard'
|
|
76
80
|
|
|
77
|
-
const WidgetKey: TDashboardWidgetKey = 'WidgetTotalOrders'
|
|
78
|
-
|
|
79
81
|
defineProps<IDashboardWidgetProps>()
|
|
80
82
|
const emits = defineEmits<TWidgetEmits>()
|
|
81
83
|
const { removeClick: onRemoveClick, moveClick: onMoveClick } = useWidgetEmits(emits)
|
|
@@ -83,12 +85,9 @@ const { removeClick: onRemoveClick, moveClick: onMoveClick } = useWidgetEmits(em
|
|
|
83
85
|
|
|
84
86
|
<template>
|
|
85
87
|
<DashboardWidgetBase
|
|
86
|
-
|
|
88
|
+
v-bind="props"
|
|
89
|
+
widgetKey="WidgetTotalOrders"
|
|
87
90
|
title="Total Orders"
|
|
88
|
-
:parentWidgetKey="parentWidgetKey"
|
|
89
|
-
:index="index"
|
|
90
|
-
:maxIndex="maxIndex"
|
|
91
|
-
:isEditing="isEditing"
|
|
92
91
|
@removeClick="onRemoveClick"
|
|
93
92
|
@moveClick="onMoveClick"
|
|
94
93
|
>
|
|
@@ -400,7 +399,7 @@ For a complete example including **Undo/Redo**, **Zooming**, **Catalog Flyouts**
|
|
|
400
399
|
|
|
401
400
|
### Hooks & State
|
|
402
401
|
|
|
403
|
-
- **`useDashboardStore`**: Access the underlying
|
|
402
|
+
- **`useDashboardStore`**: Access the underlying reactive store to manage widget state, layout, and configuration.
|
|
404
403
|
- **`useDashboardUndoService`**: Provides `undo` and `redo` functionality for user layout changes.
|
|
405
404
|
|
|
406
405
|
|
|
@@ -420,12 +419,23 @@ For a complete example including **Undo/Redo**, **Zooming**, **Catalog Flyouts**
|
|
|
420
419
|
------
|
|
421
420
|
|
|
422
421
|
|
|
423
|
-
## ⚖️ Licensing
|
|
422
|
+
## ⚖️ Licensing & Usage
|
|
423
|
+
|
|
424
|
+
This project is **Source-Available**. You are free to view, learn from, and experiment with the source code. However, use in professional or revenue-generating settings requires a license.
|
|
424
425
|
|
|
425
|
-
|
|
426
|
+
### 🏠 Non-Commercial Use (Free)
|
|
427
|
+
If you are a student, hobbyist, or working on a non-profit open-source project, you may use this library for free under the terms of the **Polyform Non-Commercial 1.0.0** license.
|
|
426
428
|
|
|
427
|
-
|
|
428
|
-
|
|
429
|
+
### 💼 Commercial Use (Requires License)
|
|
430
|
+
A **Tenorlab Commercial License** is required if you are:
|
|
431
|
+
* Building a dashboard for company internal or external use, including all company websites and applications.
|
|
432
|
+
* Building a dashboard for a paying client.
|
|
433
|
+
* Using the library within a for-profit company or startup.
|
|
434
|
+
* Including the library in a product that is sold or requires a subscription.
|
|
429
435
|
|
|
430
|
-
|
|
436
|
+
**Purchase a Commercial License here:** [https://www.tenorlab.com](https://www.tenorlab.com)
|
|
431
437
|
|
|
438
|
+
### 🚫 Distribution Restrictions
|
|
439
|
+
To protect the integrity of this framework, **redistribution of the source code is strictly prohibited**.
|
|
440
|
+
* You **may** use and modify the code to build an "End Product" (e.g., a dashboard for a specific app).
|
|
441
|
+
* You **may NOT** redistribute the source code (original or modified) as a standalone library, UI kit, starter template, or "dashboard builder" for other developers to use.
|
package/package.json
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tenorlab/vue-dashboard",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.45",
|
|
4
4
|
"description": "Foundation components for creating user-configurable dashboards in Vue",
|
|
5
5
|
"author": "Damiano Fusco",
|
|
6
|
+
"license": "SEE LICENSE IN LICENSE",
|
|
6
7
|
"type": "module",
|
|
7
8
|
"repository": {
|
|
8
9
|
"type": "git",
|
|
@@ -30,7 +31,9 @@
|
|
|
30
31
|
"push": "npm run pretty; git add .; git commit -m \"Latest\"; git push"
|
|
31
32
|
},
|
|
32
33
|
"files": [
|
|
33
|
-
"dist"
|
|
34
|
+
"dist",
|
|
35
|
+
"LICENSE",
|
|
36
|
+
"README.md"
|
|
34
37
|
],
|
|
35
38
|
"exports": {
|
|
36
39
|
".": {
|