@bryntum/engine-thin-trial 7.1.1 → 7.1.2

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 CHANGED
@@ -1,52 +1,139 @@
1
- # Bryntum Engine Thin Trial
1
+ <p align="center">
2
+ <a href="https://bryntum.com/" rel="noopener" target="_blank"><img width="350" src="https://bryntum.com/resources/bryntum_logo_blue.svg" alt="Bryntum logo"></a>
3
+ </p>
2
4
 
3
- Bryntum Scheduling Engine
4
- This package is designed for combining multiple Bryntum products with thin framework wrappers for Bryntum Engine.
5
- Please refer to the Bryntum Engine documentation.
5
+ # Bryntum Engine Thin (Trial)
6
6
 
7
- It integrates seamlessly with React, Vue, Angular, or plain vanilla JS.
7
+ Bryntum Scheduling Engine. It integrates smoothly with React, Vue, Angular, or plain vanilla JS.
8
8
 
9
- For more information about all features, visit the [Bryntum Engine site](https://bryntum.com/products/engine/).
9
+ Bryntum Engine provides foundational functionality used by other Bryntum components (Grid, Scheduler, Gantt, Calendar,
10
+ TaskBoard).
10
11
 
11
- # Bryntum repository access setup
12
+ In **regular packages**, Bryntum Engine is bundled within each product package. In **thin packages**, it must be
13
+ installed separately as a dependency, giving you precise control over which packages are included in your application.
12
14
 
13
- This npm package requires access to the private Bryntum npm repository. You must be logged in to this repository as a
14
- licensed or trial user to access it.
15
+ ## What is the Thin Package?
15
16
 
16
- Please check the [Online npm repository guide](https://bryntum.com/products/engine/docs/guide/Engine/npm-repository) for
17
- detailed information on the sign-up/login process.
17
+ The **Thin package** contains only product-specific code and styling, making it ideal for:
18
18
 
19
- # Installation
19
+ * **Combining multiple Bryntum products** in a single application
20
+ * **Reducing bundle size** - no duplicated code when using multiple products
21
+ * **Avoiding runtime conflicts** - prevents duplicate class registrations
20
22
 
21
- The installation is performed by issuing the installation command in the root of the application folder. The specific
22
- command depends on the package manager used by the application.
23
+ ## Package Contents
23
24
 
24
- The following are most frequently used:
25
+ | Path | Description |
26
+ |---------------------------------------|------------------------------------------------|
27
+ | `engine.module.js`, `engine.umd.js` | JavaScript bundles (ES module and UMD formats) |
28
+ | `engine.css` | Structural CSS (required) |
29
+ | `*.d.ts` | TypeScript type definitions |
30
+ | `*.css` | Theme stylesheets |
31
+
32
+ **Note:** Trial packages do not include minified bundles or source maps.
33
+
34
+ ## Installation
35
+
36
+ This is a **trial package** with limited functionality.
37
+
38
+ ### Why Use npm Aliasing?
39
+
40
+ Trial packages use npm aliasing to install `@bryntum/engine-thin-trial` under the `@bryntum/engine-thin` name. This
41
+ approach provides a seamless upgrade path - when you purchase a license, you only need to update the alias in
42
+ `package.json` without changing any application code.
25
43
 
26
44
  Install using `npm`:
27
45
 
28
46
  ```shell
29
- npm install @bryntum/engine-thin@npm:bryntum/engine-thin-trial
47
+ npm install @bryntum/engine-thin@npm:@bryntum/engine-thin-trial@latest
48
+ ```
49
+
50
+ Or using `yarn`:
51
+
52
+ ```shell
53
+ yarn add @bryntum/engine-thin@npm:@bryntum/engine-thin-trial@latest
30
54
  ```
31
55
 
32
- Install using `yarn`:
56
+ Alternatively, add to `package.json` dependencies:
57
+
58
+ ```json
59
+ "dependencies": {
60
+ "@bryntum/engine-thin": "npm:@bryntum/engine-thin-trial@latest"
61
+ }
62
+ ```
63
+
64
+ ## Combining Multiple Products
65
+
66
+ When combining multiple Bryntum products, install all needed thin packages with aliasing:
33
67
 
34
68
  ```shell
35
- yarn add @bryntum/engine-thin@npm:bryntum/engine-thin-trial
69
+ # Example: Using Grid and Scheduler together
70
+ npm install @bryntum/grid-thin@npm:@bryntum/grid-thin-trial@latest
71
+ npm install @bryntum/scheduler-thin@npm:@bryntum/scheduler-thin-trial@latest
72
+ npm install @bryntum/scheduler-react-thin@latest
36
73
  ```
37
74
 
38
- # Online references
75
+ ## Required Dependencies
76
+
77
+ Thin packages contain only product-specific code and **do not automatically install dependencies**. You must manually
78
+ install all required API packages for the underlying products.
79
+
80
+ ### Dependency Chain Overview
81
+
82
+ The following table shows which thin API packages are required for each Bryntum product:
83
+
84
+ | Product | Core | Engine | Grid | Scheduler | Scheduler Pro | Product Package |
85
+ |-------------------|:----:|:------:|:----:|:---------:|:-------------:|:----------------------------:|
86
+ | **Grid** | ✓ | | ✓ | | | `@bryntum/grid-thin` |
87
+ | **Scheduler** | ✓ | ✓ | ✓ | ✓ | | `@bryntum/scheduler-thin` |
88
+ | **Scheduler Pro** | ✓ | ✓ | ✓ | ✓ | ✓ | `@bryntum/schedulerpro-thin` |
89
+ | **Gantt** | ✓ | ✓ | ✓ | ✓ | ✓ | `@bryntum/gantt-thin` |
90
+ | **Calendar** | ✓ | ✓ | ✓ | ✓ | | `@bryntum/calendar-thin` |
91
+ | **TaskBoard** | ✓ | ✓ | | | | `@bryntum/taskboard-thin` |
92
+
93
+ ### Important Notes
94
+
95
+ **About Core Framework Wrappers:**
96
+
97
+ `@bryntum/core-[framework]-thin` packages (e.g., `@bryntum/core-react-thin`) are **optional** and only needed if you use
98
+ Bryntum Core UI widgets directly in your app, such as:
99
+
100
+ - `BryntumButton`
101
+ - `BryntumCombo`
102
+ - `BryntumTextField`
103
+ - Other Core widgets
104
+
105
+ If you only use the main product component (Grid, Scheduler, etc.), you don't need the Core framework wrapper.
106
+
107
+ ## Explore All Bryntum Products
108
+
109
+ * [Bryntum Grid](https://bryntum.com/products/grid/) - High-performance data grid
110
+ * [Bryntum Scheduler](https://bryntum.com/products/scheduler/) - Resource scheduling component
111
+ * [Bryntum Scheduler Pro](https://bryntum.com/products/schedulerpro/) - Advanced scheduling with dependencies
112
+ * [Bryntum Gantt](https://bryntum.com/products/gantt/) - Project planning and management
113
+ * [Bryntum Calendar](https://bryntum.com/products/calendar/) - Full-featured calendar component
114
+ * [Bryntum TaskBoard](https://bryntum.com/products/taskboard/) - Kanban-style task management
115
+
116
+ Explore our comprehensive collection of demos:
117
+
118
+ | Product | <img src="https://bryntum.com/products/grid/docs/data/Core/images/logo/js.svg" alt="JavaScript" width="30"><br>JavaScript | <img src="https://bryntum.com/products/grid/docs/data/Core/images/logo/react.svg" alt="React" width="30"><br>React | <img src="https://bryntum.com/products/grid/docs/data/Core/images/logo/vue.svg" alt="Vue" width="30"><br>Vue | <img src="https://bryntum.com/products/grid/docs/data/Core/images/logo/angular.svg" alt="Angular" width="30"><br>Angular |
119
+ |-------------------|:------------------------------------------------------------------------------------:|:--------------------------------------------------------------------------:|:----------------------------------------------------------------------:|:------------------------------------------------------------------------------:|
120
+ | **Grid** | [Grid JavaScript demos](https://bryntum.com/products/grid/examples/?framework=javascript) | [Grid React demos](https://bryntum.com/products/grid/examples/?framework=react) | [Grid Vue demos](https://bryntum.com/products/grid/examples/?framework=vue) | [Grid Angular demos](https://bryntum.com/products/grid/examples/?framework=angular) |
121
+ | **Scheduler** | [Scheduler JavaScript demos](https://bryntum.com/products/scheduler/examples/?framework=javascript) | [Scheduler React demos](https://bryntum.com/products/scheduler/examples/?framework=react) | [Scheduler Vue demos](https://bryntum.com/products/scheduler/examples/?framework=vue) | [Scheduler Angular demos](https://bryntum.com/products/scheduler/examples/?framework=angular) |
122
+ | **Scheduler Pro** | [Scheduler Pro JavaScript demos](https://bryntum.com/products/schedulerpro/examples/?framework=javascript) | [Scheduler Pro React demos](https://bryntum.com/products/schedulerpro/examples/?framework=react) | [Scheduler Pro Vue demos](https://bryntum.com/products/schedulerpro/examples/?framework=vue) | [Scheduler Pro Angular demos](https://bryntum.com/products/schedulerpro/examples/?framework=angular) |
123
+ | **Gantt** | [Gantt JavaScript demos](https://bryntum.com/products/gantt/examples/?framework=javascript) | [Gantt React demos](https://bryntum.com/products/gantt/examples/?framework=react) | [Gantt Vue demos](https://bryntum.com/products/gantt/examples/?framework=vue) | [Gantt Angular demos](https://bryntum.com/products/gantt/examples/?framework=angular) |
124
+ | **Calendar** | [Calendar JavaScript demos](https://bryntum.com/products/calendar/examples/?framework=javascript) | [Calendar React demos](https://bryntum.com/products/calendar/examples/?framework=react) | [Calendar Vue demos](https://bryntum.com/products/calendar/examples/?framework=vue) | [Calendar Angular demos](https://bryntum.com/products/calendar/examples/?framework=angular) |
125
+ | **TaskBoard** | [TaskBoard JavaScript demos](https://bryntum.com/products/taskboard/examples/?framework=javascript) | [TaskBoard React demos](https://bryntum.com/products/taskboard/examples/?framework=react) | [TaskBoard Vue demos](https://bryntum.com/products/taskboard/examples/?framework=vue) | [TaskBoard Angular demos](https://bryntum.com/products/taskboard/examples/?framework=angular) |
126
+
127
+ ## Online references
39
128
 
40
- * [Bryntum npm repository guide](https://bryntum.com/products/engine/docs/guide/Engine/npm-repository)
41
- * [Bryntum Engine documentation](https://bryntum.com/products/engine/docs/)
42
- * [Bryntum Engine examples](https://bryntum.com/products/engine/examples/)
43
129
  * [Bryntum Support Forum](https://forum.bryntum.com/)
44
130
  * [Contact us](https://bryntum.com/contact/)
45
131
 
46
- # License and copyright
132
+ ## License and copyright
47
133
 
48
134
  Bryntum Engine is commercial software and requires a paid license.
49
135
  Please visit the [Bryntum Engine End User License](https://bryntum.com/products/engine/license/) for the full text of the license.
50
136
 
51
137
  Copyright © 2009-2026, Bryntum
52
138
  All rights reserved.
139
+
@@ -1 +1 @@
1
- (function(a,b){function f(a,b){return _enb(a-0x3b6,b);}var c=a();while(!![]){try{var d=-parseInt(f(0x4a5,0x4ab))/0x1*(-parseInt(f(0x4a3,0x4a9))/0x2)+parseInt(f(0x49b,0x49d))/0x3*(-parseInt(f(0x4a1,0x4a7))/0x4)+parseInt(f(0x4a4,0x4a9))/0x5*(parseInt(f(0x4a0,0x4a6))/0x6)+-parseInt(f(0x4a7,0x4a2))/0x7*(-parseInt(f(0x49f,0x4a5))/0x8)+parseInt(f(0x49e,0x497))/0x9*(-parseInt(f(0x49d,0x49e))/0xa)+parseInt(f(0x49c,0x49a))/0xb+-parseInt(f(0x4a8,0x4a7))/0xc;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0x88107));import{Mixin}from'@bryntum/engine-thin/lib/ChronoGraph/class/BetterMixin.js';import{SchedulerBasicEvent}from'../model/scheduler_basic/SchedulerBasicEvent.js';function _ena(){var j=['9IsOXRh','8RCTcKj','321816cxWegB','59376nXwRWt','configurable','204930BwWDsG','65alpUek','9GpGQCu','afterEventRemoval','5195687XESbNZ','14269368baaXmP','129ziscxH','2246684yXhFBm','1812130llaThw'];_ena=function(){return j;};return _ena();}import{ChronoPartOfProjectStoreMixin}from'./mixin/ChronoPartOfProjectStoreMixin.js';function _enb(a,b){var c=_ena();_enb=function(d,e){d=d-0xe5;var f=c[d];return f;};return _enb(a,b);}import{AbstractEventStoreMixin}from'./AbstractEventStoreMixin.js';class ChronoEventStoreMixin extends Mixin([AbstractEventStoreMixin,ChronoPartOfProjectStoreMixin],a=>{class b extends a{constructor(){super(...arguments);this['removalOrder']=0x190;}['buildRootNode'](){return this['getProject']()||{};}set['data'](c){function g(a,b){return _enb(a-0x223,b);}super['data']=c;this[g(0x313,0x31a)]();}}function h(a,b){return _enb(a- -0x275,b);}b[h(-0x189,-0x182)]={'modelClass':SchedulerBasicEvent};return b;}){}class ChronoEventTreeStoreMixin extends Mixin([ChronoEventStoreMixin],a=>{function i(a,b){return _enb(a-0x6f,b);}class b extends a{}b[i(0x15b,0x157)]={'tree':!![]};return b;}){}export{ChronoEventStoreMixin,ChronoEventTreeStoreMixin};
1
+ function _enb(a,b){var c=_ena();_enb=function(d,e){d=d-0x177;var f=c[d];return f;};return _enb(a,b);}(function(a,b){function f(a,b){return _enb(b-0x10d,a);}var c=a();while(!![]){try{var d=parseInt(f(0x27e,0x286))/0x1+parseInt(f(0x299,0x293))/0x2+parseInt(f(0x293,0x292))/0x3*(-parseInt(f(0x28c,0x285))/0x4)+parseInt(f(0x284,0x287))/0x5+-parseInt(f(0x292,0x290))/0x6+parseInt(f(0x28a,0x28d))/0x7*(-parseInt(f(0x288,0x28e))/0x8)+parseInt(f(0x284,0x28b))/0x9*(parseInt(f(0x283,0x28a))/0xa);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0xecc3c));function _ena(){var k=['$name','14rHziwj','798752VVUvOs','buildRootNode','281850hLcoic','configurable','6spKLHJ','1013420NPRitA','ChronoEventStoreMixin','3500636DxLCzr','404971HBRHRq','8625740kqMJJX','removalOrder','getProject','18330TDUVfM','1620XyVmzU'];_ena=function(){return k;};return _ena();}import{Mixin}from'@bryntum/engine-thin/lib/ChronoGraph/class/BetterMixin.js';import{SchedulerBasicEvent}from'../model/scheduler_basic/SchedulerBasicEvent.js';import{ChronoPartOfProjectStoreMixin}from'./mixin/ChronoPartOfProjectStoreMixin.js';import{AbstractEventStoreMixin}from'./AbstractEventStoreMixin.js';class ChronoEventStoreMixin extends Mixin([AbstractEventStoreMixin,ChronoPartOfProjectStoreMixin],a=>{class b extends a{constructor(){function g(a,b){return _enb(b- -0x1a8,a);}super(...arguments);this[g(-0x29,-0x2d)]=0x190;}[h(0x43e,0x43d)](){function i(a,b){return h(a,b- -0x37);}return this[i(0x3fb,0x400)]()||{};}set['data'](c){super['data']=c;this['afterEventRemoval']();}}function h(a,b){return _enb(b-0x2bb,a);}b[h(0x433,0x43a)]=h(0x434,0x432);b[h(0x43f,0x43f)]={'modelClass':SchedulerBasicEvent};return b;}){}class ChronoEventTreeStoreMixin extends Mixin([ChronoEventStoreMixin],a=>{function j(a,b){return _enb(a- -0x3c1,b);}class b extends a{}b[j(-0x23d,-0x242)]={'tree':!![]};return b;}){}export{ChronoEventStoreMixin,ChronoEventTreeStoreMixin};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bryntum/engine-thin-trial",
3
- "version": "7.1.1",
3
+ "version": "7.1.2",
4
4
  "description": "Bryntum Engine JavaScript thin trial component package",
5
5
  "keywords": [
6
6
  "bryntum",
package/postinstall.cjs CHANGED
@@ -1,10 +1,9 @@
1
1
  const
2
- { spawn } = require('child_process'),
3
- path = require('path'),
4
- pkg = '@bryntum/engine-trial-lib',
5
- script = `${pkg}/build.js`;
2
+ { spawnSync } = require('child_process'),
3
+ pkg = '@bryntum/engine-trial-lib',
4
+ script = `${pkg}/build.js`;
6
5
  try {
7
- spawn('node', [require.resolve(script)], { cwd : path.join(process.cwd(), 'lib/helper'), stdio : 'inherit' });
6
+ spawnSync('node', [require.resolve(script)], { cwd : process.cwd(), stdio : 'inherit' });
8
7
  }
9
8
  catch (error) {
10
9
  console.log(`${pkg} is not installed\n${error.message}`.red);