@svgrid/enterprise 1.0.1 → 1.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 CHANGED
@@ -1,36 +1,98 @@
1
- SV-GRID PRO COMMERCIAL LICENSE
1
+ SVGRID ENTERPRISE COMMERCIAL LICENSE
2
2
  Version 1.0
3
3
 
4
- Copyright (c) 2026 Boyko Markov <boikom@jqwidgets.com>
4
+ Copyright (c) 2011-2026 jQWidgets Ltd.
5
+ Author contact: Boyko Markov <boikom@jqwidgets.com>
5
6
  Project: @svgrid/enterprise
6
7
 
7
- This software is licensed, not sold. Use requires a valid, paid Pro
8
- license key issued by the Author. Without a license key, the runtime
9
- will throw at the first call to a Pro feature.
8
+ This software is licensed, not sold. It is the commercial Enterprise
9
+ Package of SvGrid. The free Community Edition (`@svgrid/grid` and
10
+ `@svgrid/mcp`) is licensed separately under the MIT License.
11
+
12
+ This file is a summary of the commercial terms. The full, authoritative
13
+ agreement is the SvGrid End User License Agreement (EULA). In case of any
14
+ conflict, the EULA governs.
15
+
16
+ EULA: https://svgrid.com/eula (also docs/legal/EULA.md in the repo)
10
17
 
11
18
  ------------------------------------------------------------------------
12
19
  1. GRANT (with valid license key)
13
20
  ------------------------------------------------------------------------
14
21
 
15
- Subject to the Subscriber's compliance with this License and continued
16
- payment of the applicable license fee, the Author grants the Subscriber
17
- a non-exclusive, non-transferable, non-sublicensable license to:
22
+ Subject to the Subscriber's compliance with this License and, where an
23
+ updates-and-support term is in effect, continued payment of the
24
+ applicable license fee, the Author grants the Subscriber a
25
+ non-exclusive, non-transferable, non-sublicensable license to:
18
26
 
19
- (a) install and use the Software on developer workstations and in
20
- production deployments belonging to the Subscriber;
27
+ (a) install and use the Software on developer workstations and in the
28
+ Subscriber's development, staging, and production deployments;
21
29
  (b) modify the Software for the Subscriber's internal use, provided
22
30
  that all copyright notices and license terms are preserved;
23
31
  (c) distribute the Software bundled inside the Subscriber's own
24
- compiled application, provided the Software is not the primary
25
- product distributed and remains under this License.
32
+ application, provided the Software is not the primary product
33
+ distributed and remains under this License.
34
+
35
+ Deployment scope is set by the Subscriber's order:
36
+
37
+ - Single Application Developer License: one (1) deployed production
38
+ application, plus unlimited internal dev / staging environments.
39
+ - Multiple Application Developer License: unlimited deployed
40
+ production applications within the Subscriber's organization.
41
+ - Enterprise / Custom (Site or Org-wide): scope per the negotiated
42
+ order or master agreement.
43
+
44
+ ------------------------------------------------------------------------
45
+ 2. SEATS
46
+ ------------------------------------------------------------------------
47
+
48
+ The Software is licensed per developer. The number of seats is set by
49
+ the Subscriber's order. A "developer" is any individual who writes or
50
+ modifies source code that imports `@svgrid/enterprise`. Read-only users
51
+ and end users do not count toward seats and are unlimited. One license
52
+ key activates every grid instance in scope; there is no per-page or
53
+ per-component accounting. A seat is tied to a role: if a developer
54
+ leaves and is replaced, the seat transfers to the replacement at no
55
+ additional cost.
56
+
57
+ ------------------------------------------------------------------------
58
+ 3. PERPETUAL LICENSE AND UPDATES/SUPPORT TERM
59
+ ------------------------------------------------------------------------
60
+
61
+ The license is perpetual: the Subscriber may use the versions released
62
+ during a paid term forever. Each order includes one (1) year of updates
63
+ and support, which renews automatically each year at the then-current
64
+ rate until cancelled. The Subscriber may cancel at any time. On
65
+ cancellation or lapse:
66
+
67
+ (a) every version released during a paid term keeps working and keeps
68
+ validating against the Subscriber's license key;
69
+ (b) the Subscriber stops receiving releases and support issued after
70
+ the paid term ends.
71
+
72
+ The Author will not disable working features of a paying or previously
73
+ paying Subscriber.
74
+
75
+ ------------------------------------------------------------------------
76
+ 4. EVALUATION, SOFT-GATE, AND OPEN SOURCE
77
+ ------------------------------------------------------------------------
78
+
79
+ The Software is soft-gated. Every feature is fully functional without a
80
+ license key for evaluation. While unlicensed, the grid shows a small
81
+ "Unlicensed @svgrid/enterprise" watermark and emits a one-time console
82
+ notice; setting a valid key removes both. There is no time limit and no
83
+ disabled functionality during evaluation. Time-limited evaluation keys
84
+ that remove the watermark are available on request.
85
+
86
+ Projects that are open source under an OSI-approved license, hosted in a
87
+ public repository, and not a paid product qualify for a free Enterprise
88
+ key with the full feature set and no watermark, renewable annually.
26
89
 
27
- The number of developer seats covered is determined by the Subscriber's
28
- order. A "developer" is any individual who writes or modifies source
29
- code that imports `@svgrid/enterprise`. Read-only users and end users do not
30
- count toward seats.
90
+ License key validation is performed entirely client-side, signed against
91
+ the Author's public key. No network call is made to validate, and no
92
+ telemetry is sent. Air-gapped deployments are supported.
31
93
 
32
94
  ------------------------------------------------------------------------
33
- 2. RESTRICTIONS
95
+ 5. RESTRICTIONS
34
96
  ------------------------------------------------------------------------
35
97
 
36
98
  The Subscriber may NOT:
@@ -39,27 +101,25 @@ The Subscriber may NOT:
39
101
  component;
40
102
  (b) sublicense, rent, lease, or sell the Software to third parties;
41
103
  (c) remove, obscure, or disable the license-key check or any
42
- copyright notices;
43
- (d) use the Software to develop a directly competing data-grid or
44
- table component product for third parties;
104
+ copyright or proprietary notices;
105
+ (d) use the Software to develop a data-grid or table component product
106
+ that competes with the Software for distribution to third parties;
45
107
  (e) share license keys outside of the developer seats covered by the
46
108
  Subscriber's order.
47
109
 
48
110
  ------------------------------------------------------------------------
49
- 3. SUBSCRIPTION AND TERMINATION
111
+ 6. TERMINATION
50
112
  ------------------------------------------------------------------------
51
113
 
52
- The license is granted for the term specified in the Subscriber's
53
- order (typically one year, renewable). On non-renewal or material
54
- breach of Sections 1 or 2, the license terminates automatically and
55
- the Subscriber must cease all use of the Software, remove it from
56
- development environments, and stop deploying new versions of any
57
- application that depends on it. Existing deployed copies in production
58
- may continue to operate until the next release cycle, but no new
59
- deployments are permitted.
114
+ On material breach of Sections 1, 2, or 5, the license terminates
115
+ automatically and the Subscriber must cease all use of the Software,
116
+ remove it from development environments, and stop deploying new versions
117
+ of any application that depends on it. Existing deployed copies in
118
+ production may continue to operate, but no new deployments are permitted.
119
+ Fees for licenses cancelled due to violation are non-refundable.
60
120
 
61
121
  ------------------------------------------------------------------------
62
- 4. WARRANTY DISCLAIMER AND LIABILITY
122
+ 7. WARRANTY DISCLAIMER AND LIABILITY
63
123
  ------------------------------------------------------------------------
64
124
 
65
125
  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
@@ -74,7 +134,7 @@ exceed the license fees paid by the Subscriber in the twelve months
74
134
  preceding the event giving rise to the claim.
75
135
 
76
136
  ------------------------------------------------------------------------
77
- 5. THIRD-PARTY COMPONENTS
137
+ 8. THIRD-PARTY COMPONENTS
78
138
  ------------------------------------------------------------------------
79
139
 
80
140
  This Software includes a vendored copy of the data-export utility
@@ -87,11 +147,13 @@ respective authors under their own terms (MIT). They are not bundled
87
147
  into this package; consumers install them separately.
88
148
 
89
149
  ------------------------------------------------------------------------
90
- 6. CONTACT
150
+ 9. CONTACT
91
151
  ------------------------------------------------------------------------
92
152
 
93
- To purchase a license, request a quote, or report unauthorized use,
94
- contact: boikom@jqwidgets.com
95
- Pricing: https://sv-grid.dev/pricing
153
+ To purchase a license, request a quote, or report unauthorized use:
154
+ Sales: sales@jqwidgets.com
155
+ Support: support@jqwidgets.com
156
+ General: info@jqwidgets.com
157
+ Pricing: https://svgrid.com/pricing
96
158
 
97
159
  END OF LICENSE
package/README.md CHANGED
@@ -1,37 +1,69 @@
1
- # @svgrid/enterprise
1
+ <p align="center">
2
+ <img src="https://svgrid.com/brand/svgrid-logo-icon-1200.png" alt="SvGrid" width="100" height="100" />
3
+ </p>
2
4
 
3
- The paid feature pack for [sv-grid](https://sv-grid.dev).
5
+ <h1 align="center">@svgrid/enterprise</h1>
4
6
 
5
- Ships data export to **Excel (xlsx), PDF, CSV, TSV, HTML** and a
6
- **Print** action that opens a paginated, printable view of the grid.
7
+ <p align="center"><strong>The commercial feature pack for SvGrid.</strong></p>
8
+
9
+ <p align="center">
10
+ <a href="https://svgrid.com">Website</a> ·
11
+ <a href="https://svgrid.com/docs">Docs</a> ·
12
+ <a href="https://svgrid.com/pricing">Pricing</a>
13
+ </p>
14
+
15
+ ---
16
+
17
+ `@svgrid/enterprise` layers production export, printing, and analytics on top of the MIT [`@svgrid/grid`](https://www.npmjs.com/package/@svgrid/grid) core. It attaches to the grid's public API without changing it - the same `api` object you already hold simply gains new methods.
18
+
19
+ ## What it adds
20
+
21
+ - **Data export** - Excel (`.xlsx`), PDF, CSV, TSV, and HTML, with theme-matched styling, headers/footers, and image support.
22
+ - **Paginated print** - opens a clean, paginated, printable view of the grid with title and page breaks.
23
+ - **Pivot tables** - drag-and-drop pivot Designer with row/column/value fields, aggregation, and drill-through to source rows.
24
+ - **AI helpers** - utilities for wiring the grid into LLM-driven workflows.
7
25
 
8
26
  ## Install
9
27
 
10
28
  ```bash
11
- pnpm add @svgrid/enterprise
12
- # optional peers - only needed for the formats you use:
13
- pnpm add jszip # for xlsx
14
- pnpm add pdfmake # for pdf
29
+ npm install @svgrid/enterprise
15
30
  ```
16
31
 
17
- ## Use
32
+ Format engines are optional peer dependencies - install only the ones you use:
33
+
34
+ ```bash
35
+ npm install jszip # Excel (.xlsx)
36
+ npm install pdfmake # PDF
37
+ ```
38
+
39
+ ## Usage
18
40
 
19
41
  ```ts
20
- import { setLicenseKey, installPro } from '@svgrid/enterprise'
42
+ import { setLicenseKey, installEnterprise } from '@svgrid/enterprise'
21
43
 
22
- setLicenseKey('SVPRO-XXXX-XXXX-XXXX') // your Pro key
44
+ setLicenseKey('SVENTERPRISE-XXXX-XXXX-XXXX') // your Enterprise key
23
45
 
24
- // inside <SvGrid onApiReady={...}>:
25
- const pro = installPro(api)
46
+ // Inside <SvGrid onApiReady={(api) => { ... }}>:
47
+ const pro = installEnterprise(api)
26
48
 
27
49
  await pro.exportData({ format: 'xlsx', filename: 'orders' })
28
50
  pro.print({ title: 'Q2 Orders' })
29
51
  ```
30
52
 
31
- The full grid API stays untouched - `installPro` returns the same
32
- object with `exportData` and `print` added on top.
53
+ `installEnterprise` returns the same grid API with the enterprise methods added on top, so the rest of your integration is unchanged.
54
+
55
+ ## Licensing
56
+
57
+ Commercial. A valid Enterprise key is required at runtime; calls throw without one. Purchase a key at [svgrid.com/pricing](https://svgrid.com/pricing).
58
+
59
+ OSS projects under an [OSI-approved license](https://opensource.org/licenses) qualify for a **free Enterprise key**.
60
+
61
+ The source in this package is published for evaluation and for paying customers; visibility does not grant a license. See [LICENSE](./LICENSE).
62
+
63
+ ## Support
64
+
65
+ Enterprise licenses include commercial and priority support. Open an issue at [github.com/sv-grid/sv-grid](https://github.com/sv-grid/sv-grid/issues) or reach the team via [svgrid.com](https://svgrid.com).
33
66
 
34
- ## License
67
+ ## Trademark
35
68
 
36
- Commercial. A valid Pro key is required at runtime; calls throw
37
- otherwise. Buy a key at <https://sv-grid.dev/pricing>.
69
+ SvGrid&trade; and sv-grid&trade; are trademarks of jQWidgets Ltd.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@svgrid/enterprise",
3
- "version": "1.0.1",
3
+ "version": "1.1.0",
4
4
  "description": "Pro feature pack for sv-grid: data export (Excel, PDF, CSV, TSV, HTML), import (xlsx, CSV, TSV, JSON), pivot table + designer, AI assistant (BYO model), and printing. Requires a paid license key.",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "author": "jQWidgets <sales@jqwidgets.com>",