@bryntum/taskboard-angular-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 +289 -15
- package/package.json +1 -1
- package/src/lib/bryntum-column-combo.component.ts +1646 -0
- package/src/lib/bryntum-column-filter-field.component.ts +1361 -0
- package/src/lib/bryntum-column-picker-button.component.ts +1201 -0
- package/src/lib/bryntum-column-scroll-button.component.ts +1201 -0
- package/src/lib/bryntum-project-combo.component.ts +1649 -0
- package/src/lib/bryntum-resources-combo.component.ts +1645 -0
- package/src/lib/bryntum-swimlane-combo.component.ts +1645 -0
- package/src/lib/bryntum-swimlane-filter-field.component.ts +1378 -0
- package/src/lib/bryntum-swimlane-picker-button.component.ts +1201 -0
- package/src/lib/bryntum-swimlane-scroll-button.component.ts +1201 -0
- package/src/lib/bryntum-tag-combo.component.ts +1652 -0
- package/src/lib/bryntum-task-board-base.component.ts +2389 -0
- package/src/lib/bryntum-task-board-field-filter-picker-group.component.ts +1317 -0
- package/src/lib/bryntum-task-board-field-filter-picker.component.ts +1255 -0
- package/src/lib/bryntum-task-board-project-model.component.ts +1027 -0
- package/src/lib/bryntum-task-board.component.ts +2393 -0
- package/src/lib/bryntum-task-color-combo.component.ts +1335 -0
- package/src/lib/bryntum-task-filter-field.component.ts +1378 -0
- package/src/lib/bryntum-todo-list-field.component.ts +1319 -0
- package/src/lib/bryntum-undo-redo.component.ts +1180 -0
- package/src/lib/bryntum-zoom-slider.component.ts +1123 -0
- package/src/lib/taskboard.module.ts +79 -0
- package/src/lib/wrapper.helper.ts +89 -0
- package/src/public-api.ts +26 -0
package/README.md
CHANGED
|
@@ -1,37 +1,310 @@
|
|
|
1
|
-
|
|
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/angular.svg" alt="Angular" width="100">
|
|
6
|
+
</div>
|
|
2
7
|
|
|
3
|
-
|
|
4
|
-
|
|
8
|
+
# Angular wrapper for Bryntum TaskBoard Thin packages
|
|
9
|
+
|
|
10
|
+
This package provides a wrapper that turns Bryntum TaskBoard into an Angular component, exposing configuration options,
|
|
11
|
+
properties, features, and events.
|
|
12
|
+
|
|
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
|
+
> [Angular Multiple Products](https://bryntum.com/products/taskboard/docs/guide/TaskBoard/integration/angular/multiple-products).
|
|
16
|
+
|
|
17
|
+
## Version Requirement
|
|
18
|
+
|
|
19
|
+
Wrapper is compiled for the **Angular Ivy** rendering engine (Angular 12+).
|
|
20
|
+
|
|
21
|
+
* Angular: `12` with Ivy support or higher
|
|
22
|
+
* TypeScript: `4.2` or higher
|
|
23
|
+
* Vite `5` or higher (starting with Angular `17`)
|
|
24
|
+
|
|
25
|
+
## Package Contents
|
|
26
|
+
|
|
27
|
+
| Path | Description |
|
|
28
|
+
|--------|----------------------------------|
|
|
29
|
+
| `lib/` | Component type definitions |
|
|
30
|
+
| `src/` | Original TypeScript source files |
|
|
5
31
|
|
|
6
32
|
## Installation
|
|
7
33
|
|
|
8
|
-
|
|
9
|
-
The specific command depends on the package manager used by the application.
|
|
34
|
+
### Angular Wrapper
|
|
10
35
|
|
|
11
|
-
|
|
36
|
+
```bash
|
|
37
|
+
npm install @bryntum/taskboard-angular-thin@latest
|
|
38
|
+
```
|
|
12
39
|
|
|
13
|
-
|
|
40
|
+
### Component Package (Required)
|
|
14
41
|
|
|
15
|
-
```
|
|
16
|
-
npm install @bryntum/taskboard-
|
|
42
|
+
```bash
|
|
43
|
+
npm install @bryntum/taskboard-thin@latest
|
|
17
44
|
```
|
|
18
45
|
|
|
19
|
-
|
|
46
|
+
## Try Bryntum Online Demos
|
|
47
|
+
|
|
48
|
+
* [View Online Angular Demos](https://bryntum.com/products/taskboard/examples/?framework=angular)
|
|
20
49
|
|
|
21
|
-
|
|
22
|
-
|
|
50
|
+
## Quick Start
|
|
51
|
+
|
|
52
|
+
Edit the `src/app/app-module.ts` file and add the following import:
|
|
53
|
+
|
|
54
|
+
```typescript
|
|
55
|
+
import { NgModule } from '@angular/core';
|
|
56
|
+
import { BrowserModule } from '@angular/platform-browser';
|
|
57
|
+
|
|
58
|
+
import { BryntumCoreModule } from '@bryntum/core-angular-thin';
|
|
59
|
+
import { BryntumTaskBoardModule } from '@bryntum/taskboard-angular-thin';
|
|
60
|
+
|
|
61
|
+
import { AppComponent } from './app';
|
|
62
|
+
|
|
63
|
+
@NgModule({
|
|
64
|
+
declarations : [
|
|
65
|
+
AppComponent
|
|
66
|
+
],
|
|
67
|
+
imports : [
|
|
68
|
+
BrowserModule,
|
|
69
|
+
BryntumCoreModule,
|
|
70
|
+
BryntumTaskBoardModule
|
|
71
|
+
],
|
|
72
|
+
providers : [],
|
|
73
|
+
bootstrap : [AppComponent]
|
|
74
|
+
})
|
|
75
|
+
export class AppModule {}
|
|
23
76
|
```
|
|
24
77
|
|
|
25
|
-
|
|
78
|
+
Create `src/app/app.config.ts` file with the following content:
|
|
79
|
+
|
|
80
|
+
```typescript
|
|
81
|
+
import { BryntumTaskBoardProps, BryntumTaskBoardProjectModelProps } from '@bryntum/taskboard-angular-thin';
|
|
82
|
+
|
|
83
|
+
export const projectProps: BryntumTaskBoardProjectModelProps = {
|
|
84
|
+
loadUrl : 'data/data.json',
|
|
85
|
+
autoLoad : true
|
|
86
|
+
};
|
|
87
|
+
|
|
88
|
+
export const taskBoardProps: BryntumTaskBoardProps = {
|
|
89
|
+
columns : [
|
|
90
|
+
{ id : 'todo', text : 'Todo', color : 'deep-orange' },
|
|
91
|
+
{ id : 'doing', text : 'Doing', color : 'orange' },
|
|
92
|
+
{ id : 'done', text : 'Done', color : 'light-green' }
|
|
93
|
+
],
|
|
94
|
+
columnField : 'status'
|
|
95
|
+
};
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
Update the `src/app/app.ts` file with the following content:
|
|
99
|
+
|
|
100
|
+
```typescript
|
|
101
|
+
import { Component, ViewChild } from '@angular/core';
|
|
102
|
+
import { BryntumTaskBoardComponent, BryntumTaskBoardProjectModelComponent } from '@bryntum/taskboard-angular-thin';
|
|
103
|
+
import { taskBoardProps, projectProps } from './app.config';
|
|
104
|
+
|
|
105
|
+
@Component({
|
|
106
|
+
selector : 'app-root',
|
|
107
|
+
standalone : false,
|
|
108
|
+
templateUrl : './app.html',
|
|
109
|
+
styleUrl : './app.css'
|
|
110
|
+
})
|
|
111
|
+
export class AppComponent {
|
|
112
|
+
|
|
113
|
+
taskBoardProps = taskBoardProps;
|
|
114
|
+
projectProps = projectProps;
|
|
115
|
+
|
|
116
|
+
@ViewChild('taskboard') taskBoardComponent!: BryntumTaskBoardComponent;
|
|
117
|
+
@ViewChild('project') projectComponent!: BryntumTaskBoardProjectModelComponent;
|
|
118
|
+
}
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
Edit the `src/app/app.html` file and replace the content with the following:
|
|
122
|
+
|
|
123
|
+
```html
|
|
124
|
+
<bryntum-task-board-project-model
|
|
125
|
+
#project
|
|
126
|
+
[loadUrl] = "projectProps.loadUrl!"
|
|
127
|
+
[autoLoad] = "projectProps.autoLoad!"
|
|
128
|
+
></bryntum-task-board-project-model>
|
|
129
|
+
|
|
130
|
+
<bryntum-task-board
|
|
131
|
+
#taskboard
|
|
132
|
+
[project] = "project"
|
|
133
|
+
[columns] = "taskBoardProps.columns!"
|
|
134
|
+
[columnField] = "taskBoardProps.columnField!"
|
|
135
|
+
></bryntum-task-board>
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
<details>
|
|
139
|
+
<summary>Create sample data (click to expand)</summary>
|
|
140
|
+
|
|
141
|
+
Create a `public/data/data.json` file for example data and add the following JSON data to it:
|
|
142
|
+
```javascript
|
|
143
|
+
{
|
|
144
|
+
"success": true,
|
|
145
|
+
"tasks": {
|
|
146
|
+
"rows": [
|
|
147
|
+
{ "id": 1, "name": "Design landing page", "status": "doing", "description": "Creating layout for the new landing page" },
|
|
148
|
+
{ "id": 2, "name": "Set up database schema", "status": "todo", "description": "Define tables and relationships for user data" },
|
|
149
|
+
{ "id": 3, "name": "Write API documentation", "status": "done", "description": "Document the REST endpoints for the project" },
|
|
150
|
+
{ "id": 4, "name": "Create login screen", "status": "doing", "description": "Implement authentication UI with validation" },
|
|
151
|
+
{ "id": 5, "name": "Integrate payment gateway", "status": "todo", "description": "Connect Stripe API to the backend" },
|
|
152
|
+
{ "id": 6, "name": "Fix navigation bugs", "status": "done", "description": "Resolve reported issues with navbar links" },
|
|
153
|
+
{ "id": 7, "name": "Build notification system", "status": "doing", "description": "Real-time push notifications for events" },
|
|
154
|
+
{ "id": 8, "name": "Add unit tests", "status": "todo", "description": "Write tests for services and components" },
|
|
155
|
+
{ "id": 9, "name": "Optimize image loading", "status": "done", "description": "Implement lazy loading for large images" },
|
|
156
|
+
{ "id": 10, "name": "Deploy staging server", "status": "doing", "description": "Set up CI/CD pipeline for staging environment" },
|
|
157
|
+
{ "id": 11, "name": "Create user profile page", "status": "todo", "description": "Design and implement profile management UI" },
|
|
158
|
+
{ "id": 12, "name": "Implement role-based access control", "status": "todo", "description": "Restrict features based on user roles" },
|
|
159
|
+
{ "id": 13, "name": "Set up error logging", "status": "todo", "description": "Integrate centralized error monitoring tool" },
|
|
160
|
+
{ "id": 14, "name": "Improve form validation", "status": "todo", "description": "Enhance validation rules for all forms" },
|
|
161
|
+
{ "id": 15, "name": "Add search functionality", "status": "todo", "description": "Implement search bar with filtering options" }
|
|
162
|
+
]
|
|
163
|
+
},
|
|
164
|
+
"resources": {
|
|
165
|
+
"rows": [
|
|
166
|
+
{ "id": 1, "name": "Angelo" },
|
|
167
|
+
{ "id": 2, "name": "Celia" },
|
|
168
|
+
{ "id": 3, "name": "Dave" },
|
|
169
|
+
{ "id": 4, "name": "Emilia" },
|
|
170
|
+
{ "id": 5, "name": "Gloria" },
|
|
171
|
+
{ "id": 6, "name": "Henrik" },
|
|
172
|
+
{ "id": 7, "name": "Kate" }
|
|
173
|
+
]
|
|
174
|
+
},
|
|
175
|
+
"assignments": {
|
|
176
|
+
"rows": [
|
|
177
|
+
{ "id": 1, "event": 1, "resource": 1 },
|
|
178
|
+
{ "id": 2, "event": 2, "resource": 2 },
|
|
179
|
+
{ "id": 3, "event": 3, "resource": 3 },
|
|
180
|
+
{ "id": 4, "event": 4, "resource": 4 },
|
|
181
|
+
{ "id": 5, "event": 5, "resource": 5 },
|
|
182
|
+
{ "id": 6, "event": 6, "resource": 6 },
|
|
183
|
+
{ "id": 7, "event": 7, "resource": 7 },
|
|
184
|
+
{ "id": 8, "event": 8, "resource": 1 },
|
|
185
|
+
{ "id": 9, "event": 9, "resource": 2 },
|
|
186
|
+
{ "id": 10, "event": 10, "resource": 3 },
|
|
187
|
+
{ "id": 11, "event": 11, "resource": 4 },
|
|
188
|
+
{ "id": 12, "event": 12, "resource": 5 },
|
|
189
|
+
{ "id": 13, "event": 1, "resource": 5 },
|
|
190
|
+
{ "id": 14, "event": 2, "resource": 5 },
|
|
191
|
+
{ "id": 15, "event": 3, "resource": 5 },
|
|
192
|
+
{ "id": 16, "event": 4, "resource": 5 },
|
|
193
|
+
{ "id": 17, "event": 6, "resource": 5 },
|
|
194
|
+
{ "id": 18, "event": 7, "resource": 5 }
|
|
195
|
+
]
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
```
|
|
199
|
+
|
|
200
|
+
This is the data the Bryntum TaskBoard will use.
|
|
201
|
+
|
|
202
|
+
</details>
|
|
203
|
+
|
|
204
|
+
## Project Structure
|
|
205
|
+
|
|
206
|
+
### Product Dependencies
|
|
207
|
+
|
|
208
|
+
API packages:
|
|
209
|
+
|
|
210
|
+
```json
|
|
211
|
+
{
|
|
212
|
+
"dependencies": {
|
|
213
|
+
"@bryntum/core-thin": "7.1.2",
|
|
214
|
+
"@bryntum/engine-thin": "7.1.2",
|
|
215
|
+
"@bryntum/taskboard-thin": "7.1.2"
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
```
|
|
219
|
+
|
|
220
|
+
Framework wrapper packages:
|
|
221
|
+
|
|
222
|
+
```json
|
|
223
|
+
{
|
|
224
|
+
"dependencies": {
|
|
225
|
+
"@bryntum/core-angular-thin": "7.1.2",
|
|
226
|
+
"@bryntum/taskboard-angular-thin": "7.1.2"
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
```
|
|
230
|
+
|
|
231
|
+
### Product Configuration
|
|
232
|
+
|
|
233
|
+
```typescript
|
|
234
|
+
import { BryntumTaskBoardProps } from '@bryntum/taskboard-angular-thin';
|
|
235
|
+
|
|
236
|
+
const taskBoardProps : BryntumTaskBoardProps = {
|
|
237
|
+
// TaskBoard configuration
|
|
238
|
+
};
|
|
239
|
+
```
|
|
240
|
+
|
|
241
|
+
### Product Styling
|
|
242
|
+
|
|
243
|
+
**SCSS/CSS:**
|
|
244
|
+
|
|
245
|
+
```css
|
|
246
|
+
/* FontAwesome is used for icons */
|
|
247
|
+
@import '@bryntum/core-thin/fontawesome/css/fontawesome.css';
|
|
248
|
+
@import "@bryntum/core-thin/fontawesome/css/solid.css";
|
|
249
|
+
/* Structural CSS */
|
|
250
|
+
@import '@bryntum/core-thin/core.css';
|
|
251
|
+
@import '@bryntum/taskboard-thin/taskboard.css';
|
|
252
|
+
/* Theme */
|
|
253
|
+
@import '@bryntum/core-thin/material3-light.css';
|
|
254
|
+
```
|
|
255
|
+
|
|
256
|
+
### Product Localization
|
|
257
|
+
|
|
258
|
+
```javascript
|
|
259
|
+
import '@bryntum/taskboard-thin/lib/localization/De.js'
|
|
260
|
+
```
|
|
261
|
+
|
|
262
|
+
## Integration Guide
|
|
26
263
|
|
|
27
264
|
For details on installing and using this package, see the
|
|
28
265
|
[Angular Integration Guide](https://bryntum.com/products/taskboard/docs/guide/TaskBoard/integration/angular/guide).
|
|
29
266
|
|
|
30
|
-
|
|
267
|
+
## Wrappers
|
|
268
|
+
|
|
269
|
+
Angular wrappers encapsulate Bryntum components as native Angular components, exposing all configuration options,
|
|
270
|
+
properties, features, and events through Angular-familiar patterns like inputs, outputs, and templates.
|
|
271
|
+
|
|
272
|
+
Visit [Wrappers documentation](https://bryntum.com/products/taskboard/docs/guide/TaskBoard/integration/angular/guide#wrappers) for the complete list of available
|
|
273
|
+
wrapper components.
|
|
274
|
+
|
|
275
|
+
## Features
|
|
276
|
+
|
|
277
|
+
Features are optional modules that extend Bryntum TaskBoard functionality. Each feature is suffixed with `Feature` and
|
|
278
|
+
can be enabled and configured through standard Angular inputs.
|
|
279
|
+
|
|
280
|
+
Visit [Features documentation](https://bryntum.com/products/taskboard/docs/guide/TaskBoard/integration/angular/guide#features) for the complete list of available
|
|
281
|
+
features and their configuration options.
|
|
282
|
+
|
|
283
|
+
## Explore All Bryntum Products
|
|
284
|
+
|
|
285
|
+
* [Bryntum Grid](https://bryntum.com/products/grid/) - High-performance data grid
|
|
286
|
+
* [Bryntum Scheduler](https://bryntum.com/products/scheduler/) - Resource scheduling component
|
|
287
|
+
* [Bryntum Scheduler Pro](https://bryntum.com/products/schedulerpro/) - Advanced scheduling with dependencies
|
|
288
|
+
* [Bryntum Gantt](https://bryntum.com/products/gantt/) - Project planning and management
|
|
289
|
+
* [Bryntum Calendar](https://bryntum.com/products/calendar/) - Full-featured calendar component
|
|
290
|
+
* [Bryntum TaskBoard](https://bryntum.com/products/taskboard/) - Kanban-style task management
|
|
291
|
+
|
|
292
|
+
Explore our comprehensive collection of demos:
|
|
293
|
+
|
|
294
|
+
| 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 |
|
|
295
|
+
|-------------------|:------------------------------------------------------------------------------------:|:--------------------------------------------------------------------------:|:----------------------------------------------------------------------:|:------------------------------------------------------------------------------:|
|
|
296
|
+
| **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) |
|
|
297
|
+
| **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) |
|
|
298
|
+
| **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) |
|
|
299
|
+
| **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) |
|
|
300
|
+
| **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) |
|
|
301
|
+
| **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) |
|
|
302
|
+
|
|
303
|
+
## Online references
|
|
31
304
|
|
|
32
|
-
* [Bryntum npm repository guide](https://bryntum.com/products/taskboard/docs/guide/TaskBoard/npm-repository)
|
|
33
305
|
* [Bryntum TaskBoard documentation](https://bryntum.com/products/taskboard/docs/)
|
|
34
306
|
* [Bryntum TaskBoard examples](https://bryntum.com/products/taskboard/examples/)
|
|
307
|
+
|
|
35
308
|
* [Bryntum Support Forum](https://forum.bryntum.com/)
|
|
36
309
|
* [Contact us](https://bryntum.com/contact/)
|
|
37
310
|
|
|
@@ -42,3 +315,4 @@ Please visit the [Bryntum TaskBoard End User License](https://bryntum.com/produc
|
|
|
42
315
|
|
|
43
316
|
Copyright © 2009-2026, Bryntum
|
|
44
317
|
All rights reserved.
|
|
318
|
+
|