@bryntum/schedulerpro-vue-3-thin 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,53 +1,294 @@
1
- # Vue 3 wrapper for Bryntum Scheduler Pro
1
+ <div style="display: flex; justify-content: space-between; align-items: center; margin: 0 50px;">
2
+ <a href="https://bryntum.com/" rel="noopener" target="_blank">
3
+ <img width="350" src="https://bryntum.com/resources/bryntum_logo_blue.svg" alt="Bryntum logo">
4
+ </a>
5
+ <img src="https://bryntum.com/products/grid/docs/data/Core/images/logo/vue.svg" alt="Vue" width="100">
6
+ </div>
2
7
 
3
- This package contains a wrapper that encapsulates Bryntum Scheduler Pro and turns it into a Vue 3 component, exposing
4
- configuration options, properties, features, and events.
8
+ # Vue 3 wrapper for Bryntum Scheduler Pro Thin packages
5
9
 
6
- # Bryntum repository access setup
10
+ This package provides a wrapper that turns Bryntum Scheduler Pro into a Vue 3 component, exposing configuration options,
11
+ properties, features, and events.
7
12
 
8
- This npm package requires access to the private Bryntum npm repository.
9
- You must be logged in to this repository as a licensed or trial user to access it.
10
- Please check the [Online npm repository guide](https://bryntum.com/products/schedulerpro/docs/guide/SchedulerPro/npm-repository) for detailed information on the sign-up/login
11
- process.
13
+ > **Thin Package:** This is a thin wrapper package designed for applications that use multiple Bryntum products.
14
+ > Thin packages exclude bundled dependencies to avoid duplication. For details, see
15
+ > [Vue Multiple Products](https://bryntum.com/products/schedulerpro/docs/guide/SchedulerPro/integration/vue/multiple-products).
12
16
 
13
- # Installation
17
+ ## Version Requirement
14
18
 
15
- The installation is performed by running the installation command in the root of your application folder. The specific
16
- command depends on the package manager used in your application.
19
+ * Vue: `3.2` or higher
20
+ * TypeScript: `4.2` or higher
21
+ * Vite `5` or higher
17
22
 
18
- The following commands are most frequently used:
23
+ ## Package Contents
19
24
 
20
- Install using `npm`:
25
+ | Path | Description |
26
+ |--------------|------------------------------------------------|
27
+ | `lib/` | Vue 3 wrapper components (BryntumSchedulerPro etc.) |
28
+ | `src/` | Original Vue source files |
29
+ | `src/*.d.ts` | TypeScript type definitions |
21
30
 
22
- ```shell
23
- npm install @bryntum/schedulerpro-vue-3@7.1.1
31
+ ## Installation
32
+
33
+ ### Vue 3 Wrapper
34
+
35
+ ```bash
36
+ npm install @bryntum/schedulerpro-vue-3-thin@latest
37
+ ```
38
+
39
+ ### Component Package (Required)
40
+
41
+ ```bash
42
+ npm install @bryntum/schedulerpro-thin@latest
43
+ ```
44
+
45
+ ## Try Bryntum Online Demos
46
+
47
+ * [View Online Vue Demos](https://bryntum.com/products/schedulerpro/examples/?framework=vue)
48
+
49
+ ## Quick Start
50
+
51
+ Edit the `src/App.vue` file and replace the content with the following:
52
+
53
+ ```typescript
54
+ <script setup>
55
+ import { createApp, ref } from 'vue';
56
+
57
+ import { BryntumSchedulerPro, BryntumSchedulerProProjectModel } from '@bryntum/schedulerpro-vue-3-thin';
58
+ import { schedulerProProjectProps, schedulerProProps } from './configs/schedulerrpo';
59
+
60
+ import './App.scss';
61
+
62
+ const schedulerProProject = ref(null);
63
+
64
+ createApp({
65
+ setup() {
66
+ return {
67
+ schedulerProProject
68
+ };
69
+ }
70
+ });
71
+ </script>
72
+
73
+ <template>
74
+ <bryntum-scheduler-pro-project-model
75
+ ref="schedulerProProject"
76
+ v-bind=schedulerProProjectProps
77
+ />
78
+ <bryntum-scheduler-pro
79
+ :project="schedulerProProject"
80
+ v-bind="schedulerProProps"
81
+ />
82
+ </template>
83
+
84
+ <style lang="scss">
85
+ </style>
86
+ ```
87
+
88
+ Create a `SchedulerProConfig.ts` file in the `src/` directory with the following content:
89
+
90
+ ```typescript
91
+ import { type BryntumSchedulerProProps } from '@bryntum/schedulerpro-vue-3';
92
+
93
+ export const schedulerProConfig : BryntumSchedulerProProps = {
94
+ startDate : new Date(2026, 0, 1),
95
+ endDate : new Date(2026, 1, 10),
96
+ viewPreset : 'hourAndDay',
97
+ rowHeight : 50,
98
+ barMargin : 5,
99
+ multiEventSelect : true,
100
+ // Uncomment this line, if you have a public/users/ path for images
101
+ // resourceImagePath : 'users/',
102
+ columns : [{ text : 'Name', field : 'name', width : 130 }],
103
+ // Project arranges loading and syncing of data in JSON form from/to a web service
104
+ project : {
105
+ loadUrl : 'data/data.json',
106
+ autoLoad : true
107
+ }
108
+ };
24
109
  ```
25
110
 
26
- Install using `yarn`:
111
+ <details>
112
+ <summary>Create sample data (click to expand)</summary>
27
113
 
28
- ```shell
29
- yarn add @bryntum/schedulerpro-vue-3@7.1.1
114
+ Create a `public/data/data.json` file for example data and add the following JSON data to it:
115
+
116
+ ```json
117
+ {
118
+ "success": true,
119
+ "resources": {
120
+ "rows": [
121
+ { "id": 1, "name": "Dan Stevenson" },
122
+ { "id": 2, "name": "Talisha Babin" },
123
+ { "id": 3, "name": "Michael Chen" },
124
+ { "id": 4, "name": "Sophia Rodriguez" },
125
+ { "id": 5, "name": "Arjun Mehta" }
126
+ ]
127
+ },
128
+ "events": {
129
+ "rows": [
130
+ { "id": 1, "startDate": "2026-01-01", "duration": 3, "durationUnit": "d", "name": "Project Kickoff" },
131
+ { "id": 2, "startDate": "2026-01-04", "duration": 4, "durationUnit": "d", "name": "Requirement Gathering" },
132
+ { "id": 3, "startDate": "2026-01-08", "duration": 5, "durationUnit": "d", "name": "UI/UX Design" },
133
+ { "id": 4, "startDate": "2026-01-13", "duration": 7, "durationUnit": "d", "name": "Backend Development" },
134
+ { "id": 5, "startDate": "2026-01-20", "duration": 6, "durationUnit": "d", "name": "Frontend Development" },
135
+ { "id": 6, "startDate": "2026-01-26", "duration": 4, "durationUnit": "d", "name": "API Integration" },
136
+ { "id": 7, "startDate": "2026-01-30", "duration": 3, "durationUnit": "d", "name": "Testing & QA" },
137
+ { "id": 8, "startDate": "2026-02-02", "duration": 2, "durationUnit": "d", "name": "Client Review" },
138
+ { "id": 9, "startDate": "2026-02-04", "duration": 3, "durationUnit": "d", "name": "Bug Fixing" },
139
+ { "id": 10, "startDate": "2026-02-07", "duration": 2, "durationUnit": "d", "name": "Final Deployment" }
140
+ ]
141
+ },
142
+ "assignments": {
143
+ "rows": [
144
+ { "event": 1, "resource": 1 },
145
+ { "event": 2, "resource": 2 },
146
+ { "event": 3, "resource": 3 },
147
+ { "event": 4, "resource": 4 },
148
+ { "event": 5, "resource": 5 },
149
+ { "event": 6, "resource": 3 },
150
+ { "event": 7, "resource": 2 },
151
+ { "event": 8, "resource": 1 },
152
+ { "event": 9, "resource": 4 },
153
+ { "event": 10, "resource": 5 }
154
+ ]
155
+ },
156
+ "dependencies": {
157
+ "rows": [
158
+ { "fromEvent": 1, "toEvent": 2 },
159
+ { "fromEvent": 2, "toEvent": 3 },
160
+ { "fromEvent": 3, "toEvent": 4 },
161
+ { "fromEvent": 4, "toEvent": 5 },
162
+ { "fromEvent": 5, "toEvent": 6 },
163
+ { "fromEvent": 6, "toEvent": 7 },
164
+ { "fromEvent": 7, "toEvent": 8 },
165
+ { "fromEvent": 8, "toEvent": 9 },
166
+ { "fromEvent": 9, "toEvent": 10 }
167
+ ]
168
+ }
169
+ }
30
170
  ```
31
171
 
32
- # Integration guide
172
+ This is the data the Bryntum SchedulerPro will use.
173
+
174
+ </details>
175
+
176
+ ## Project Structure
177
+
178
+ ### Product Dependencies
179
+
180
+ API packages:
181
+
182
+ ```json
183
+ {
184
+ "dependencies": {
185
+ "@bryntum/core-thin": "7.1.2",
186
+ "@bryntum/engine-thin": "7.1.2",
187
+ "@bryntum/grid-thin": "7.1.2",
188
+ "@bryntum/scheduler-thin": "7.1.2",
189
+ "@bryntum/schedulerpro-thin": "7.1.2"
190
+ }
191
+ }
192
+ ```
193
+
194
+ Framework wrapper packages:
195
+
196
+ ```json
197
+ {
198
+ "dependencies": {
199
+ "@bryntum/core-vue-3-thin": "7.1.2",
200
+ "@bryntum/schedulerpro-vue-3-thin": "7.1.2"
201
+ }
202
+ }
203
+ ```
204
+
205
+ ### Product Configuration
206
+
207
+ ```typescript
208
+ import { BryntumSchedulerProProps } from '@bryntum/schedulerpro-vue-3-thin';
209
+
210
+ const schedulerProProps : BryntumSchedulerProProps = {
211
+ // Scheduler Pro configuration
212
+ };
213
+ ```
214
+
215
+ ### Product Styling
216
+
217
+ **SCSS/CSS:**
218
+
219
+ ```css
220
+ /* FontAwesome is used for icons */
221
+ @import '@bryntum/core-thin/fontawesome/css/fontawesome.css';
222
+ @import "@bryntum/core-thin/fontawesome/css/solid.css";
223
+ /* Structural CSS */
224
+ @import '@bryntum/core-thin/core.css';
225
+ @import '@bryntum/grid-thin/grid.css';
226
+ @import '@bryntum/scheduler-thin/scheduler.css';
227
+ @import '@bryntum/schedulerpro-thin/schedulerpro.css';
228
+ /* Theme */
229
+ @import '@bryntum/core-thin/svalbard-light.css';
230
+ ```
231
+
232
+ ### Product Localization
233
+
234
+ ```javascript
235
+ import '@bryntum/schedulerpro-thin/lib/localization/De.js'
236
+ ```
237
+
238
+ ## Integration Guide
33
239
 
34
240
  For details on installing and using this package, see the
35
241
  [Vue Integration Guide](https://bryntum.com/products/schedulerpro/docs/guide/SchedulerPro/integration/vue/guide).
36
242
 
37
- # Online references
243
+ ## Wrappers
244
+
245
+ Vue wrappers encapsulate Bryntum components as native Vue components, exposing all configuration options,
246
+ properties, features, and events through Vue-familiar patterns like props, events, and slots.
247
+
248
+ Visit [Wrappers documentation](https://bryntum.com/products/schedulerpro/docs/guide/SchedulerPro/integration/vue/guide#wrappers) for the complete list of available
249
+ wrapper components.
250
+
251
+ ## Features
252
+
253
+ Features are optional modules that extend Bryntum Scheduler Pro functionality. Each feature is suffixed with `Feature` and
254
+ can be enabled and configured through standard Vue props.
255
+
256
+ Visit [Features documentation](https://bryntum.com/products/schedulerpro/docs/guide/SchedulerPro/integration/vue/guide#features) for the complete list of available
257
+ features and their configuration options.
258
+
259
+ ## Explore All Bryntum Products
260
+
261
+ * [Bryntum Grid](https://bryntum.com/products/grid/) - High-performance data grid
262
+ * [Bryntum Scheduler](https://bryntum.com/products/scheduler/) - Resource scheduling component
263
+ * [Bryntum Scheduler Pro](https://bryntum.com/products/schedulerpro/) - Advanced scheduling with dependencies
264
+ * [Bryntum Gantt](https://bryntum.com/products/gantt/) - Project planning and management
265
+ * [Bryntum Calendar](https://bryntum.com/products/calendar/) - Full-featured calendar component
266
+ * [Bryntum TaskBoard](https://bryntum.com/products/taskboard/) - Kanban-style task management
267
+
268
+ Explore our comprehensive collection of demos:
269
+
270
+ | 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 |
271
+ |-------------------|:------------------------------------------------------------------------------------:|:--------------------------------------------------------------------------:|:----------------------------------------------------------------------:|:------------------------------------------------------------------------------:|
272
+ | **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) |
273
+ | **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) |
274
+ | **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) |
275
+ | **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) |
276
+ | **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) |
277
+ | **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) |
278
+
279
+ ## Online references
38
280
 
39
- * [Bryntum Vue Quick Start Guide](https://bryntum.com/products/schedulerpro/docs/guide/SchedulerPro/quick-start/vue-3)
40
- * [Bryntum Vue Integration Guide](https://bryntum.com/products/schedulerpro/docs/guide/SchedulerPro/integration/vue/guide)
41
- * [Bryntum npm repository guide](https://bryntum.com/products/schedulerpro/docs/guide/SchedulerPro/npm-repository)
42
281
  * [Bryntum Scheduler Pro documentation](https://bryntum.com/products/schedulerpro/docs/)
43
282
  * [Bryntum Scheduler Pro examples](https://bryntum.com/products/schedulerpro/examples/)
283
+
44
284
  * [Bryntum Support Forum](https://forum.bryntum.com/)
45
285
  * [Contact us](https://bryntum.com/contact/)
46
286
 
47
- # License and copyright
287
+ ## License and copyright
48
288
 
49
289
  This wrapper depends on Bryntum Scheduler Pro, which is commercial software and requires a paid license.
50
290
  Please visit the [Bryntum Scheduler Pro End User License](https://bryntum.com/products/schedulerpro/license/) for the full text of the license.
51
291
 
52
292
  Copyright © 2009-2026, Bryntum
53
293
  All rights reserved.
294
+