@syncfusion/ej2-angular-kanban 29.2.4-ngcc → 30.1.37-ngcc
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/@syncfusion/ej2-angular-kanban.es5.js +354 -354
- package/@syncfusion/ej2-angular-kanban.js +303 -303
- package/{license → LICENSE} +10 -10
- package/dist/ej2-angular-kanban.umd.js +345 -345
- package/dist/ej2-angular-kanban.umd.min.js +1 -1
- package/ej2-angular-kanban.d.ts +5 -5
- package/package.json +15 -46
- package/public_api.d.ts +1 -1
- package/schematics/utils/lib-details.d.ts +2 -2
- package/schematics/utils/lib-details.js +2 -2
- package/schematics/utils/lib-details.ts +4 -4
- package/src/index.d.ts +6 -6
- package/src/kanban/columns.directive.d.ts +90 -90
- package/src/kanban/kanban-all.module.d.ts +5 -5
- package/src/kanban/kanban.component.d.ts +59 -59
- package/src/kanban/kanban.module.d.ts +5 -5
- package/src/kanban/stackedheaders.directive.d.ts +36 -36
|
@@ -3,319 +3,319 @@ import { ArrayBase, ComplexBase, ComponentBase, ComponentMixins, Template, setVa
|
|
|
3
3
|
import { Kanban } from '@syncfusion/ej2-kanban';
|
|
4
4
|
import { CommonModule } from '@angular/common';
|
|
5
5
|
|
|
6
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
7
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
8
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
9
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
10
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
11
|
-
};
|
|
12
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
13
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
14
|
-
};
|
|
15
|
-
let input = ['allowDrag', 'allowDrop', 'allowToggle', 'headerText', 'isExpanded', 'keyField', 'maxCount', 'minCount', 'showAddButton', 'showItemCount', 'template', 'transitionColumns'];
|
|
16
|
-
let outputs = [];
|
|
17
|
-
/**
|
|
18
|
-
* `e-columns` directive represent a columns of the Kanban board.
|
|
19
|
-
* It must be contained in a Kanban component(`ejs-kanban`).
|
|
20
|
-
* ```html
|
|
21
|
-
* <ejs-kanban>
|
|
22
|
-
* <e-columns>
|
|
23
|
-
* <e-column keyField='Open' textField='To Do'></e-column>
|
|
24
|
-
* <e-column keyField='Close' textField='Completed'></e-column>
|
|
25
|
-
* </e-columns>
|
|
26
|
-
* </ejs-kanban>
|
|
27
|
-
* ```
|
|
28
|
-
*/
|
|
29
|
-
class ColumnDirective extends ComplexBase {
|
|
30
|
-
/**
|
|
31
|
-
* @param {?} viewContainerRef
|
|
32
|
-
*/
|
|
33
|
-
constructor(viewContainerRef) {
|
|
34
|
-
super();
|
|
35
|
-
this.viewContainerRef = viewContainerRef;
|
|
36
|
-
setValue('currentInstance', this, this.viewContainerRef);
|
|
37
|
-
this.registerEvents(outputs);
|
|
38
|
-
this.directivePropList = input;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
ColumnDirective.decorators = [
|
|
42
|
-
{ type: Directive, args: [{
|
|
43
|
-
selector: 'e-columns>e-column',
|
|
44
|
-
inputs: input,
|
|
45
|
-
outputs: outputs,
|
|
46
|
-
queries: {}
|
|
47
|
-
},] },
|
|
48
|
-
];
|
|
49
|
-
/**
|
|
50
|
-
* @nocollapse
|
|
51
|
-
*/
|
|
52
|
-
ColumnDirective.ctorParameters = () => [
|
|
53
|
-
{ type: ViewContainerRef, },
|
|
54
|
-
];
|
|
55
|
-
ColumnDirective.propDecorators = {
|
|
56
|
-
'template': [{ type: ContentChild, args: ['template',] },],
|
|
57
|
-
};
|
|
58
|
-
__decorate([
|
|
59
|
-
Template(),
|
|
60
|
-
__metadata("design:type", Object)
|
|
61
|
-
], ColumnDirective.prototype, "template", void 0);
|
|
62
|
-
/**
|
|
63
|
-
* Column Array Directive
|
|
64
|
-
*/
|
|
65
|
-
class ColumnsDirective extends ArrayBase {
|
|
66
|
-
constructor() {
|
|
67
|
-
super('columns');
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
ColumnsDirective.decorators = [
|
|
71
|
-
{ type: Directive, args: [{
|
|
72
|
-
selector: 'ejs-kanban>e-columns',
|
|
73
|
-
queries: {
|
|
74
|
-
children: new ContentChildren(ColumnDirective)
|
|
75
|
-
},
|
|
76
|
-
},] },
|
|
77
|
-
];
|
|
78
|
-
/**
|
|
79
|
-
* @nocollapse
|
|
80
|
-
*/
|
|
6
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
7
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
9
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
10
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
11
|
+
};
|
|
12
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
13
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
14
|
+
};
|
|
15
|
+
let input = ['allowDrag', 'allowDrop', 'allowToggle', 'headerText', 'isExpanded', 'keyField', 'maxCount', 'minCount', 'showAddButton', 'showItemCount', 'template', 'transitionColumns'];
|
|
16
|
+
let outputs = [];
|
|
17
|
+
/**
|
|
18
|
+
* `e-columns` directive represent a columns of the Kanban board.
|
|
19
|
+
* It must be contained in a Kanban component(`ejs-kanban`).
|
|
20
|
+
* ```html
|
|
21
|
+
* <ejs-kanban>
|
|
22
|
+
* <e-columns>
|
|
23
|
+
* <e-column keyField='Open' textField='To Do'></e-column>
|
|
24
|
+
* <e-column keyField='Close' textField='Completed'></e-column>
|
|
25
|
+
* </e-columns>
|
|
26
|
+
* </ejs-kanban>
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
class ColumnDirective extends ComplexBase {
|
|
30
|
+
/**
|
|
31
|
+
* @param {?} viewContainerRef
|
|
32
|
+
*/
|
|
33
|
+
constructor(viewContainerRef) {
|
|
34
|
+
super();
|
|
35
|
+
this.viewContainerRef = viewContainerRef;
|
|
36
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
|
37
|
+
this.registerEvents(outputs);
|
|
38
|
+
this.directivePropList = input;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
ColumnDirective.decorators = [
|
|
42
|
+
{ type: Directive, args: [{
|
|
43
|
+
selector: 'e-columns>e-column',
|
|
44
|
+
inputs: input,
|
|
45
|
+
outputs: outputs,
|
|
46
|
+
queries: {}
|
|
47
|
+
},] },
|
|
48
|
+
];
|
|
49
|
+
/**
|
|
50
|
+
* @nocollapse
|
|
51
|
+
*/
|
|
52
|
+
ColumnDirective.ctorParameters = () => [
|
|
53
|
+
{ type: ViewContainerRef, },
|
|
54
|
+
];
|
|
55
|
+
ColumnDirective.propDecorators = {
|
|
56
|
+
'template': [{ type: ContentChild, args: ['template',] },],
|
|
57
|
+
};
|
|
58
|
+
__decorate([
|
|
59
|
+
Template(),
|
|
60
|
+
__metadata("design:type", Object)
|
|
61
|
+
], ColumnDirective.prototype, "template", void 0);
|
|
62
|
+
/**
|
|
63
|
+
* Column Array Directive
|
|
64
|
+
*/
|
|
65
|
+
class ColumnsDirective extends ArrayBase {
|
|
66
|
+
constructor() {
|
|
67
|
+
super('columns');
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
ColumnsDirective.decorators = [
|
|
71
|
+
{ type: Directive, args: [{
|
|
72
|
+
selector: 'ejs-kanban>e-columns',
|
|
73
|
+
queries: {
|
|
74
|
+
children: new ContentChildren(ColumnDirective)
|
|
75
|
+
},
|
|
76
|
+
},] },
|
|
77
|
+
];
|
|
78
|
+
/**
|
|
79
|
+
* @nocollapse
|
|
80
|
+
*/
|
|
81
81
|
ColumnsDirective.ctorParameters = () => [];
|
|
82
82
|
|
|
83
|
-
let input$1 = ['keyFields', 'text'];
|
|
84
|
-
let outputs$1 = [];
|
|
85
|
-
/**
|
|
86
|
-
* `e-stackedHeaders` directive represent a stacked header of the Kanban board.
|
|
87
|
-
* It must be contained in a Kanban component(`ejs-kanban`).
|
|
88
|
-
* ```html
|
|
89
|
-
* <ejs-kanban>
|
|
90
|
-
* <e-stackedHeaders>
|
|
91
|
-
* <e-stackedHeader keyField='Open' text='To Do'></e-stackedHeader>
|
|
92
|
-
* <e-stackedHeader keyField='Close' text='Completed'></e-stackedHeader>
|
|
93
|
-
* </e-stackedHeaders>
|
|
94
|
-
* </ejs-kanban>
|
|
95
|
-
* ```
|
|
96
|
-
*/
|
|
97
|
-
class StackedHeaderDirective extends ComplexBase {
|
|
98
|
-
/**
|
|
99
|
-
* @param {?} viewContainerRef
|
|
100
|
-
*/
|
|
101
|
-
constructor(viewContainerRef) {
|
|
102
|
-
super();
|
|
103
|
-
this.viewContainerRef = viewContainerRef;
|
|
104
|
-
setValue('currentInstance', this, this.viewContainerRef);
|
|
105
|
-
this.registerEvents(outputs$1);
|
|
106
|
-
this.directivePropList = input$1;
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
StackedHeaderDirective.decorators = [
|
|
110
|
-
{ type: Directive, args: [{
|
|
111
|
-
selector: 'e-stackedHeaders>e-stackedHeader',
|
|
112
|
-
inputs: input$1,
|
|
113
|
-
outputs: outputs$1,
|
|
114
|
-
queries: {}
|
|
115
|
-
},] },
|
|
116
|
-
];
|
|
117
|
-
/**
|
|
118
|
-
* @nocollapse
|
|
119
|
-
*/
|
|
120
|
-
StackedHeaderDirective.ctorParameters = () => [
|
|
121
|
-
{ type: ViewContainerRef, },
|
|
122
|
-
];
|
|
123
|
-
/**
|
|
124
|
-
* StackedHeader Array Directive
|
|
125
|
-
*/
|
|
126
|
-
class StackedHeadersDirective extends ArrayBase {
|
|
127
|
-
constructor() {
|
|
128
|
-
super('stackedheaders');
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
StackedHeadersDirective.decorators = [
|
|
132
|
-
{ type: Directive, args: [{
|
|
133
|
-
selector: 'ejs-kanban>e-stackedHeaders',
|
|
134
|
-
queries: {
|
|
135
|
-
children: new ContentChildren(StackedHeaderDirective)
|
|
136
|
-
},
|
|
137
|
-
},] },
|
|
138
|
-
];
|
|
139
|
-
/**
|
|
140
|
-
* @nocollapse
|
|
141
|
-
*/
|
|
83
|
+
let input$1 = ['keyFields', 'text'];
|
|
84
|
+
let outputs$1 = [];
|
|
85
|
+
/**
|
|
86
|
+
* `e-stackedHeaders` directive represent a stacked header of the Kanban board.
|
|
87
|
+
* It must be contained in a Kanban component(`ejs-kanban`).
|
|
88
|
+
* ```html
|
|
89
|
+
* <ejs-kanban>
|
|
90
|
+
* <e-stackedHeaders>
|
|
91
|
+
* <e-stackedHeader keyField='Open' text='To Do'></e-stackedHeader>
|
|
92
|
+
* <e-stackedHeader keyField='Close' text='Completed'></e-stackedHeader>
|
|
93
|
+
* </e-stackedHeaders>
|
|
94
|
+
* </ejs-kanban>
|
|
95
|
+
* ```
|
|
96
|
+
*/
|
|
97
|
+
class StackedHeaderDirective extends ComplexBase {
|
|
98
|
+
/**
|
|
99
|
+
* @param {?} viewContainerRef
|
|
100
|
+
*/
|
|
101
|
+
constructor(viewContainerRef) {
|
|
102
|
+
super();
|
|
103
|
+
this.viewContainerRef = viewContainerRef;
|
|
104
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
|
105
|
+
this.registerEvents(outputs$1);
|
|
106
|
+
this.directivePropList = input$1;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
StackedHeaderDirective.decorators = [
|
|
110
|
+
{ type: Directive, args: [{
|
|
111
|
+
selector: 'e-stackedHeaders>e-stackedHeader',
|
|
112
|
+
inputs: input$1,
|
|
113
|
+
outputs: outputs$1,
|
|
114
|
+
queries: {}
|
|
115
|
+
},] },
|
|
116
|
+
];
|
|
117
|
+
/**
|
|
118
|
+
* @nocollapse
|
|
119
|
+
*/
|
|
120
|
+
StackedHeaderDirective.ctorParameters = () => [
|
|
121
|
+
{ type: ViewContainerRef, },
|
|
122
|
+
];
|
|
123
|
+
/**
|
|
124
|
+
* StackedHeader Array Directive
|
|
125
|
+
*/
|
|
126
|
+
class StackedHeadersDirective extends ArrayBase {
|
|
127
|
+
constructor() {
|
|
128
|
+
super('stackedheaders');
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
StackedHeadersDirective.decorators = [
|
|
132
|
+
{ type: Directive, args: [{
|
|
133
|
+
selector: 'ejs-kanban>e-stackedHeaders',
|
|
134
|
+
queries: {
|
|
135
|
+
children: new ContentChildren(StackedHeaderDirective)
|
|
136
|
+
},
|
|
137
|
+
},] },
|
|
138
|
+
];
|
|
139
|
+
/**
|
|
140
|
+
* @nocollapse
|
|
141
|
+
*/
|
|
142
142
|
StackedHeadersDirective.ctorParameters = () => [];
|
|
143
143
|
|
|
144
|
-
var __decorate$1 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
145
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
146
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
147
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
148
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
149
|
-
};
|
|
150
|
-
var __metadata$1 = (this && this.__metadata) || function (k, v) {
|
|
151
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
152
|
-
};
|
|
153
|
-
const inputs = ['allowDragAndDrop', 'allowKeyboard', 'cardHeight', 'cardSettings', 'columns', 'constraintType', 'cssClass', 'dataSource', 'dialogSettings', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'enableTooltip', 'enableVirtualization', 'externalDropId', 'height', 'keyField', 'locale', 'query', 'showEmptyColumn', 'sortSettings', 'stackedHeaders', 'swimlaneSettings', 'tooltipTemplate', 'width'];
|
|
154
|
-
const outputs$2 = ['actionBegin', 'actionComplete', 'actionFailure', 'cardClick', 'cardDoubleClick', 'cardRendered', 'created', 'dataBinding', 'dataBound', 'dataSourceChanged', 'dataStateChange', 'dialogClose', 'dialogOpen', 'drag', 'dragStart', 'dragStop', 'queryCellInfo'];
|
|
155
|
-
const twoWays = [''];
|
|
156
|
-
/**
|
|
157
|
-
* `ej-kanban` represents the Angular Kanban Component.
|
|
158
|
-
* ```html
|
|
159
|
-
* <ejs-kanban></ejs-kanban>
|
|
160
|
-
* ```
|
|
161
|
-
*/
|
|
162
|
-
let KanbanComponent = class KanbanComponent extends Kanban {
|
|
163
|
-
/**
|
|
164
|
-
* @param {?} ngEle
|
|
165
|
-
* @param {?} srenderer
|
|
166
|
-
* @param {?} viewContainerRef
|
|
167
|
-
* @param {?} injector
|
|
168
|
-
*/
|
|
169
|
-
constructor(ngEle, srenderer, viewContainerRef, injector) {
|
|
170
|
-
super();
|
|
171
|
-
this.ngEle = ngEle;
|
|
172
|
-
this.srenderer = srenderer;
|
|
173
|
-
this.viewContainerRef = viewContainerRef;
|
|
174
|
-
this.injector = injector;
|
|
175
|
-
this.tags = ['columns', 'stackedHeaders'];
|
|
176
|
-
this.element = this.ngEle.nativeElement;
|
|
177
|
-
this.injectedModules = this.injectedModules || [];
|
|
178
|
-
this.registerEvents(outputs$2);
|
|
179
|
-
this.addTwoWay.call(this, twoWays);
|
|
180
|
-
setValue('currentInstance', this, this.viewContainerRef);
|
|
181
|
-
this.context = new ComponentBase();
|
|
182
|
-
}
|
|
183
|
-
/**
|
|
184
|
-
* @return {?}
|
|
185
|
-
*/
|
|
186
|
-
ngOnInit() {
|
|
187
|
-
this.context.ngOnInit(this);
|
|
188
|
-
}
|
|
189
|
-
/**
|
|
190
|
-
* @return {?}
|
|
191
|
-
*/
|
|
192
|
-
ngAfterViewInit() {
|
|
193
|
-
this.context.ngAfterViewInit(this);
|
|
194
|
-
}
|
|
195
|
-
/**
|
|
196
|
-
* @return {?}
|
|
197
|
-
*/
|
|
198
|
-
ngOnDestroy() {
|
|
199
|
-
this.context.ngOnDestroy(this);
|
|
200
|
-
}
|
|
201
|
-
/**
|
|
202
|
-
* @return {?}
|
|
203
|
-
*/
|
|
204
|
-
ngAfterContentChecked() {
|
|
205
|
-
this.tagObjects[0].instance = this.childColumns;
|
|
206
|
-
if (this.childStackedHeaders) {
|
|
207
|
-
this.tagObjects[1].instance = /** @type {?} */ (this.childStackedHeaders);
|
|
208
|
-
}
|
|
209
|
-
this.context.ngAfterContentChecked(this);
|
|
210
|
-
}
|
|
211
|
-
};
|
|
212
|
-
KanbanComponent.decorators = [
|
|
213
|
-
{ type: Component, args: [{
|
|
214
|
-
selector: 'ejs-kanban',
|
|
215
|
-
inputs: inputs,
|
|
216
|
-
outputs: outputs$2,
|
|
217
|
-
template: '',
|
|
218
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
219
|
-
queries: {
|
|
220
|
-
childColumns: new ContentChild(ColumnsDirective),
|
|
221
|
-
childStackedHeaders: new ContentChild(StackedHeadersDirective)
|
|
222
|
-
}
|
|
223
|
-
},] },
|
|
224
|
-
];
|
|
225
|
-
/**
|
|
226
|
-
* @nocollapse
|
|
227
|
-
*/
|
|
228
|
-
KanbanComponent.ctorParameters = () => [
|
|
229
|
-
{ type: ElementRef, },
|
|
230
|
-
{ type: Renderer2, },
|
|
231
|
-
{ type: ViewContainerRef, },
|
|
232
|
-
{ type: Injector, },
|
|
233
|
-
];
|
|
234
|
-
KanbanComponent.propDecorators = {
|
|
235
|
-
'tooltipTemplate': [{ type: ContentChild, args: ['tooltipTemplate',] },],
|
|
236
|
-
'columns_template': [{ type: ContentChild, args: ['columnsTemplate',] },],
|
|
237
|
-
'swimlaneSettings_template': [{ type: ContentChild, args: ['swimlaneSettingsTemplate',] },],
|
|
238
|
-
'cardSettings_template': [{ type: ContentChild, args: ['cardSettingsTemplate',] },],
|
|
239
|
-
'dialogSettings_template': [{ type: ContentChild, args: ['dialogSettingsTemplate',] },],
|
|
240
|
-
};
|
|
241
|
-
__decorate$1([
|
|
242
|
-
Template(),
|
|
243
|
-
__metadata$1("design:type", Object)
|
|
244
|
-
], KanbanComponent.prototype, "tooltipTemplate", void 0);
|
|
245
|
-
__decorate$1([
|
|
246
|
-
Template(),
|
|
247
|
-
__metadata$1("design:type", Object)
|
|
248
|
-
], KanbanComponent.prototype, "columns_template", void 0);
|
|
249
|
-
__decorate$1([
|
|
250
|
-
Template(),
|
|
251
|
-
__metadata$1("design:type", Object)
|
|
252
|
-
], KanbanComponent.prototype, "swimlaneSettings_template", void 0);
|
|
253
|
-
__decorate$1([
|
|
254
|
-
Template(),
|
|
255
|
-
__metadata$1("design:type", Object)
|
|
256
|
-
], KanbanComponent.prototype, "cardSettings_template", void 0);
|
|
257
|
-
__decorate$1([
|
|
258
|
-
Template(),
|
|
259
|
-
__metadata$1("design:type", Object)
|
|
260
|
-
], KanbanComponent.prototype, "dialogSettings_template", void 0);
|
|
261
|
-
KanbanComponent = __decorate$1([
|
|
262
|
-
ComponentMixins([ComponentBase]),
|
|
263
|
-
__metadata$1("design:paramtypes", [ElementRef,
|
|
264
|
-
Renderer2,
|
|
265
|
-
ViewContainerRef,
|
|
266
|
-
Injector])
|
|
144
|
+
var __decorate$1 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
145
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
146
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
147
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
148
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
149
|
+
};
|
|
150
|
+
var __metadata$1 = (this && this.__metadata) || function (k, v) {
|
|
151
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
152
|
+
};
|
|
153
|
+
const inputs = ['allowDragAndDrop', 'allowKeyboard', 'cardHeight', 'cardSettings', 'columns', 'constraintType', 'cssClass', 'dataSource', 'dialogSettings', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'enableTooltip', 'enableVirtualization', 'externalDropId', 'height', 'keyField', 'locale', 'query', 'showEmptyColumn', 'sortSettings', 'stackedHeaders', 'swimlaneSettings', 'tooltipTemplate', 'width'];
|
|
154
|
+
const outputs$2 = ['actionBegin', 'actionComplete', 'actionFailure', 'cardClick', 'cardDoubleClick', 'cardRendered', 'created', 'dataBinding', 'dataBound', 'dataSourceChanged', 'dataStateChange', 'dialogClose', 'dialogOpen', 'drag', 'dragStart', 'dragStop', 'queryCellInfo'];
|
|
155
|
+
const twoWays = [''];
|
|
156
|
+
/**
|
|
157
|
+
* `ej-kanban` represents the Angular Kanban Component.
|
|
158
|
+
* ```html
|
|
159
|
+
* <ejs-kanban></ejs-kanban>
|
|
160
|
+
* ```
|
|
161
|
+
*/
|
|
162
|
+
let KanbanComponent = class KanbanComponent extends Kanban {
|
|
163
|
+
/**
|
|
164
|
+
* @param {?} ngEle
|
|
165
|
+
* @param {?} srenderer
|
|
166
|
+
* @param {?} viewContainerRef
|
|
167
|
+
* @param {?} injector
|
|
168
|
+
*/
|
|
169
|
+
constructor(ngEle, srenderer, viewContainerRef, injector) {
|
|
170
|
+
super();
|
|
171
|
+
this.ngEle = ngEle;
|
|
172
|
+
this.srenderer = srenderer;
|
|
173
|
+
this.viewContainerRef = viewContainerRef;
|
|
174
|
+
this.injector = injector;
|
|
175
|
+
this.tags = ['columns', 'stackedHeaders'];
|
|
176
|
+
this.element = this.ngEle.nativeElement;
|
|
177
|
+
this.injectedModules = this.injectedModules || [];
|
|
178
|
+
this.registerEvents(outputs$2);
|
|
179
|
+
this.addTwoWay.call(this, twoWays);
|
|
180
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
|
181
|
+
this.context = new ComponentBase();
|
|
182
|
+
}
|
|
183
|
+
/**
|
|
184
|
+
* @return {?}
|
|
185
|
+
*/
|
|
186
|
+
ngOnInit() {
|
|
187
|
+
this.context.ngOnInit(this);
|
|
188
|
+
}
|
|
189
|
+
/**
|
|
190
|
+
* @return {?}
|
|
191
|
+
*/
|
|
192
|
+
ngAfterViewInit() {
|
|
193
|
+
this.context.ngAfterViewInit(this);
|
|
194
|
+
}
|
|
195
|
+
/**
|
|
196
|
+
* @return {?}
|
|
197
|
+
*/
|
|
198
|
+
ngOnDestroy() {
|
|
199
|
+
this.context.ngOnDestroy(this);
|
|
200
|
+
}
|
|
201
|
+
/**
|
|
202
|
+
* @return {?}
|
|
203
|
+
*/
|
|
204
|
+
ngAfterContentChecked() {
|
|
205
|
+
this.tagObjects[0].instance = this.childColumns;
|
|
206
|
+
if (this.childStackedHeaders) {
|
|
207
|
+
this.tagObjects[1].instance = /** @type {?} */ (this.childStackedHeaders);
|
|
208
|
+
}
|
|
209
|
+
this.context.ngAfterContentChecked(this);
|
|
210
|
+
}
|
|
211
|
+
};
|
|
212
|
+
KanbanComponent.decorators = [
|
|
213
|
+
{ type: Component, args: [{
|
|
214
|
+
selector: 'ejs-kanban',
|
|
215
|
+
inputs: inputs,
|
|
216
|
+
outputs: outputs$2,
|
|
217
|
+
template: '',
|
|
218
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
219
|
+
queries: {
|
|
220
|
+
childColumns: new ContentChild(ColumnsDirective),
|
|
221
|
+
childStackedHeaders: new ContentChild(StackedHeadersDirective)
|
|
222
|
+
}
|
|
223
|
+
},] },
|
|
224
|
+
];
|
|
225
|
+
/**
|
|
226
|
+
* @nocollapse
|
|
227
|
+
*/
|
|
228
|
+
KanbanComponent.ctorParameters = () => [
|
|
229
|
+
{ type: ElementRef, },
|
|
230
|
+
{ type: Renderer2, },
|
|
231
|
+
{ type: ViewContainerRef, },
|
|
232
|
+
{ type: Injector, },
|
|
233
|
+
];
|
|
234
|
+
KanbanComponent.propDecorators = {
|
|
235
|
+
'tooltipTemplate': [{ type: ContentChild, args: ['tooltipTemplate',] },],
|
|
236
|
+
'columns_template': [{ type: ContentChild, args: ['columnsTemplate',] },],
|
|
237
|
+
'swimlaneSettings_template': [{ type: ContentChild, args: ['swimlaneSettingsTemplate',] },],
|
|
238
|
+
'cardSettings_template': [{ type: ContentChild, args: ['cardSettingsTemplate',] },],
|
|
239
|
+
'dialogSettings_template': [{ type: ContentChild, args: ['dialogSettingsTemplate',] },],
|
|
240
|
+
};
|
|
241
|
+
__decorate$1([
|
|
242
|
+
Template(),
|
|
243
|
+
__metadata$1("design:type", Object)
|
|
244
|
+
], KanbanComponent.prototype, "tooltipTemplate", void 0);
|
|
245
|
+
__decorate$1([
|
|
246
|
+
Template(),
|
|
247
|
+
__metadata$1("design:type", Object)
|
|
248
|
+
], KanbanComponent.prototype, "columns_template", void 0);
|
|
249
|
+
__decorate$1([
|
|
250
|
+
Template(),
|
|
251
|
+
__metadata$1("design:type", Object)
|
|
252
|
+
], KanbanComponent.prototype, "swimlaneSettings_template", void 0);
|
|
253
|
+
__decorate$1([
|
|
254
|
+
Template(),
|
|
255
|
+
__metadata$1("design:type", Object)
|
|
256
|
+
], KanbanComponent.prototype, "cardSettings_template", void 0);
|
|
257
|
+
__decorate$1([
|
|
258
|
+
Template(),
|
|
259
|
+
__metadata$1("design:type", Object)
|
|
260
|
+
], KanbanComponent.prototype, "dialogSettings_template", void 0);
|
|
261
|
+
KanbanComponent = __decorate$1([
|
|
262
|
+
ComponentMixins([ComponentBase]),
|
|
263
|
+
__metadata$1("design:paramtypes", [ElementRef,
|
|
264
|
+
Renderer2,
|
|
265
|
+
ViewContainerRef,
|
|
266
|
+
Injector])
|
|
267
267
|
], KanbanComponent);
|
|
268
268
|
|
|
269
|
-
/**
|
|
270
|
-
* NgModule definition for the Kanban component.
|
|
271
|
-
*/
|
|
272
|
-
class KanbanModule {
|
|
273
|
-
}
|
|
274
|
-
KanbanModule.decorators = [
|
|
275
|
-
{ type: NgModule, args: [{
|
|
276
|
-
imports: [CommonModule],
|
|
277
|
-
declarations: [
|
|
278
|
-
KanbanComponent,
|
|
279
|
-
ColumnDirective,
|
|
280
|
-
ColumnsDirective,
|
|
281
|
-
StackedHeaderDirective,
|
|
282
|
-
StackedHeadersDirective
|
|
283
|
-
],
|
|
284
|
-
exports: [
|
|
285
|
-
KanbanComponent,
|
|
286
|
-
ColumnDirective,
|
|
287
|
-
ColumnsDirective,
|
|
288
|
-
StackedHeaderDirective,
|
|
289
|
-
StackedHeadersDirective
|
|
290
|
-
]
|
|
291
|
-
},] },
|
|
292
|
-
];
|
|
293
|
-
/**
|
|
294
|
-
* @nocollapse
|
|
295
|
-
*/
|
|
269
|
+
/**
|
|
270
|
+
* NgModule definition for the Kanban component.
|
|
271
|
+
*/
|
|
272
|
+
class KanbanModule {
|
|
273
|
+
}
|
|
274
|
+
KanbanModule.decorators = [
|
|
275
|
+
{ type: NgModule, args: [{
|
|
276
|
+
imports: [CommonModule],
|
|
277
|
+
declarations: [
|
|
278
|
+
KanbanComponent,
|
|
279
|
+
ColumnDirective,
|
|
280
|
+
ColumnsDirective,
|
|
281
|
+
StackedHeaderDirective,
|
|
282
|
+
StackedHeadersDirective
|
|
283
|
+
],
|
|
284
|
+
exports: [
|
|
285
|
+
KanbanComponent,
|
|
286
|
+
ColumnDirective,
|
|
287
|
+
ColumnsDirective,
|
|
288
|
+
StackedHeaderDirective,
|
|
289
|
+
StackedHeadersDirective
|
|
290
|
+
]
|
|
291
|
+
},] },
|
|
292
|
+
];
|
|
293
|
+
/**
|
|
294
|
+
* @nocollapse
|
|
295
|
+
*/
|
|
296
296
|
KanbanModule.ctorParameters = () => [];
|
|
297
297
|
|
|
298
|
-
/**
|
|
299
|
-
* NgModule definition for the Kanban component with providers.
|
|
300
|
-
*/
|
|
301
|
-
class KanbanAllModule {
|
|
302
|
-
}
|
|
303
|
-
KanbanAllModule.decorators = [
|
|
304
|
-
{ type: NgModule, args: [{
|
|
305
|
-
imports: [CommonModule, KanbanModule],
|
|
306
|
-
exports: [
|
|
307
|
-
KanbanModule
|
|
308
|
-
],
|
|
309
|
-
providers: []
|
|
310
|
-
},] },
|
|
311
|
-
];
|
|
312
|
-
/**
|
|
313
|
-
* @nocollapse
|
|
314
|
-
*/
|
|
298
|
+
/**
|
|
299
|
+
* NgModule definition for the Kanban component with providers.
|
|
300
|
+
*/
|
|
301
|
+
class KanbanAllModule {
|
|
302
|
+
}
|
|
303
|
+
KanbanAllModule.decorators = [
|
|
304
|
+
{ type: NgModule, args: [{
|
|
305
|
+
imports: [CommonModule, KanbanModule],
|
|
306
|
+
exports: [
|
|
307
|
+
KanbanModule
|
|
308
|
+
],
|
|
309
|
+
providers: []
|
|
310
|
+
},] },
|
|
311
|
+
];
|
|
312
|
+
/**
|
|
313
|
+
* @nocollapse
|
|
314
|
+
*/
|
|
315
315
|
KanbanAllModule.ctorParameters = () => [];
|
|
316
316
|
|
|
317
|
-
/**
|
|
318
|
-
* Generated bundle index. Do not edit.
|
|
317
|
+
/**
|
|
318
|
+
* Generated bundle index. Do not edit.
|
|
319
319
|
*/
|
|
320
320
|
|
|
321
321
|
export { ColumnDirective, ColumnsDirective, StackedHeaderDirective, StackedHeadersDirective, KanbanComponent, KanbanModule, KanbanAllModule, inputs as ɵa, outputs$2 as ɵb };
|
package/{license → LICENSE}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
Essential JS 2 library is available under the Syncfusion Essential Studio program, and can be licensed either under the Syncfusion Community License Program or the Syncfusion commercial license.
|
|
2
|
-
|
|
3
|
-
To be qualified for the Syncfusion Community License Program you must have a gross revenue of less than one (1) million U.S. dollars ($1,000,000.00 USD) per year and have less than five (5) developers in your organization, and agree to be bound by Syncfusion’s terms and conditions.
|
|
4
|
-
|
|
5
|
-
Customers who do not qualify for the community license can contact sales@syncfusion.com for commercial licensing options.
|
|
6
|
-
|
|
7
|
-
Under no circumstances can you use this product without (1) either a Community License or a commercial license and (2) without agreeing and abiding by Syncfusion’s license containing all terms and conditions.
|
|
8
|
-
|
|
9
|
-
The Syncfusion license that contains the terms and conditions can be found at
|
|
10
|
-
https://www.syncfusion.com/content/downloads/syncfusion_license.pdf
|
|
1
|
+
Essential JS 2 library is available under the Syncfusion Essential Studio program, and can be licensed either under the Syncfusion Community License Program or the Syncfusion commercial license.
|
|
2
|
+
|
|
3
|
+
To be qualified for the Syncfusion Community License Program you must have a gross revenue of less than one (1) million U.S. dollars ($1,000,000.00 USD) per year and have less than five (5) developers in your organization, and agree to be bound by Syncfusion’s terms and conditions.
|
|
4
|
+
|
|
5
|
+
Customers who do not qualify for the community license can contact sales@syncfusion.com for commercial licensing options.
|
|
6
|
+
|
|
7
|
+
Under no circumstances can you use this product without (1) either a Community License or a commercial license and (2) without agreeing and abiding by Syncfusion’s license containing all terms and conditions.
|
|
8
|
+
|
|
9
|
+
The Syncfusion license that contains the terms and conditions can be found at
|
|
10
|
+
https://www.syncfusion.com/content/downloads/syncfusion_license.pdf
|