@colijnit/extendedcomponents 12.0.4 → 12.0.5

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.
Files changed (61) hide show
  1. package/README.md +24 -24
  2. package/bundles/colijnit-extendedcomponents.umd.js +119 -972
  3. package/bundles/colijnit-extendedcomponents.umd.js.map +1 -1
  4. package/esm2015/public-api.js +1 -9
  5. package/fesm2015/colijnit-extendedcomponents.js +5 -977
  6. package/fesm2015/colijnit-extendedcomponents.js.map +1 -1
  7. package/lib/style/_variables.scss +0 -27
  8. package/lib/style/extendedcomponents-globals.scss +0 -40
  9. package/package.json +1 -9
  10. package/public-api.d.ts +0 -8
  11. package/esm2015/lib/components/grid/base/base-grid.component.js +0 -71
  12. package/esm2015/lib/components/grid/base/base-inline-edit-grid.component.js +0 -86
  13. package/esm2015/lib/components/grid/base/base-selection-grid.component.js +0 -100
  14. package/esm2015/lib/components/grid/base/base-toolbar-grid.component.js +0 -74
  15. package/esm2015/lib/components/grid/co-grid.component.js +0 -102
  16. package/esm2015/lib/components/grid/co-grid.module.js +0 -59
  17. package/esm2015/lib/components/grid/enum/grid-lines.enum.js +0 -9
  18. package/esm2015/lib/components/grid/interface/grid-menu-event-args.js +0 -2
  19. package/esm2015/lib/components/grid/interface/grid-row-drag-event-args.js +0 -2
  20. package/esm2015/lib/components/grid/interface/grid-row-drop-event-args.js +0 -2
  21. package/esm2015/lib/components/kanban/co-kanban.component.js +0 -127
  22. package/esm2015/lib/components/kanban/co-kanban.module.js +0 -30
  23. package/esm2015/lib/components/pivot/co-pivot.component.js +0 -195
  24. package/esm2015/lib/components/pivot/co-pivot.module.js +0 -30
  25. package/esm2015/lib/components/schedule/co-schedule.component.js +0 -99
  26. package/esm2015/lib/components/schedule/co-schedule.module.js +0 -30
  27. package/esm2015/lib/core/enum/schedule-view.enum.js +0 -16
  28. package/lib/bin/postinstall.js +0 -3
  29. package/lib/components/grid/base/base-grid.component.d.ts +0 -30
  30. package/lib/components/grid/base/base-inline-edit-grid.component.d.ts +0 -21
  31. package/lib/components/grid/base/base-selection-grid.component.d.ts +0 -34
  32. package/lib/components/grid/base/base-toolbar-grid.component.d.ts +0 -20
  33. package/lib/components/grid/co-grid.component.d.ts +0 -9
  34. package/lib/components/grid/co-grid.module.d.ts +0 -10
  35. package/lib/components/grid/enum/grid-lines.enum.d.ts +0 -7
  36. package/lib/components/grid/interface/grid-menu-event-args.d.ts +0 -3
  37. package/lib/components/grid/interface/grid-row-drag-event-args.d.ts +0 -3
  38. package/lib/components/grid/interface/grid-row-drop-event-args.d.ts +0 -3
  39. package/lib/components/grid/style/_layout.scss +0 -36
  40. package/lib/components/grid/style/_material-definition.scss +0 -8
  41. package/lib/components/grid/style/_theme.scss +0 -3
  42. package/lib/components/grid/style/material.scss +0 -4
  43. package/lib/components/kanban/co-kanban.component.d.ts +0 -31
  44. package/lib/components/kanban/co-kanban.module.d.ts +0 -9
  45. package/lib/components/kanban/style/_layout.scss +0 -52
  46. package/lib/components/kanban/style/_material-definition.scss +0 -27
  47. package/lib/components/kanban/style/_theme.scss +0 -3
  48. package/lib/components/kanban/style/material.scss +0 -5
  49. package/lib/components/pivot/co-pivot.component.d.ts +0 -43
  50. package/lib/components/pivot/co-pivot.module.d.ts +0 -9
  51. package/lib/components/pivot/style/_layout.scss +0 -92
  52. package/lib/components/pivot/style/_material-definition.scss +0 -1
  53. package/lib/components/pivot/style/_theme.scss +0 -3
  54. package/lib/components/pivot/style/material.scss +0 -4
  55. package/lib/components/schedule/co-schedule.component.d.ts +0 -22
  56. package/lib/components/schedule/co-schedule.module.d.ts +0 -9
  57. package/lib/components/schedule/style/_layout.scss +0 -4
  58. package/lib/components/schedule/style/_material-definition.scss +0 -0
  59. package/lib/components/schedule/style/_theme.scss +0 -4
  60. package/lib/components/schedule/style/material.scss +0 -4
  61. package/lib/core/enum/schedule-view.enum.d.ts +0 -14
@@ -1,981 +1,9 @@
1
1
  import * as i0 from '@angular/core';
2
- import { EventEmitter, Component, ViewEncapsulation, ViewChild, Input, Output, HostBinding, NgModule, ChangeDetectionStrategy, Directive, Injectable, Pipe } from '@angular/core';
2
+ import { Component, ViewEncapsulation, HostBinding, Input, NgModule, Injectable, Pipe } from '@angular/core';
3
3
  import { CommonModule } from '@angular/common';
4
- import * as i1 from '@syncfusion/ej2-angular-kanban';
5
- import { KanbanModule } from '@syncfusion/ej2-angular-kanban';
6
- import * as i1$1 from '@syncfusion/ej2-angular-schedule';
7
- import { DayService, WeekService, WorkWeekService, MonthService, AgendaService, MonthAgendaService, TimelineViewsService, TimelineMonthService, ScheduleModule } from '@syncfusion/ej2-angular-schedule';
8
- import { FormsModule } from '@angular/forms';
9
- import * as i1$2 from '@syncfusion/ej2-angular-grids';
10
- import { RowDDService, GridModule, PageService, SortService, FilterService, GroupService, ReorderService, ResizeService, ExcelExportService, PdfExportService, EditService, ToolbarService, ColumnChooserService, ColumnMenuService, ContextMenuService } from '@syncfusion/ej2-angular-grids';
11
- import { __awaiter } from 'tslib';
12
- import { Observable, Subscription, fromEvent } from 'rxjs';
13
- import * as i1$3 from '@syncfusion/ej2-angular-pivotview';
14
- import { GroupingBarService, GroupingService, ToolbarService as ToolbarService$1, ConditionalFormattingService, FieldListService, NumberFormattingService, PivotViewModule } from '@syncfusion/ej2-angular-pivotview';
15
- import * as i1$4 from 'ngx-echarts';
4
+ import * as i1 from 'ngx-echarts';
16
5
  import { NgxEchartsModule } from 'ngx-echarts';
17
6
 
18
- class CoKanbanComponent {
19
- constructor() {
20
- this.allowDragAndDrop = true;
21
- this.allowKeyboard = true;
22
- this.enablePersistence = false;
23
- this.enableTooltip = false;
24
- this.keyField = "";
25
- this.showEmptyColumn = false;
26
- this.cardClickEvent = new EventEmitter();
27
- this.cardDoubleClickEvent = new EventEmitter();
28
- this.dragStartEvent = new EventEmitter();
29
- this.dragStopEvent = new EventEmitter();
30
- }
31
- showClass() {
32
- return true;
33
- }
34
- ngOnInit() {
35
- }
36
- ngAfterViewInit() {
37
- if (this.columns) {
38
- this.kanban.columns = this.columns;
39
- }
40
- }
41
- dialogOpen(args) {
42
- args.cancel = true;
43
- }
44
- handleCardClick(args) {
45
- this.cardClickEvent.next(args);
46
- }
47
- handleCardDoubleClick(args) {
48
- this.cardDoubleClickEvent.next(args);
49
- }
50
- handleDragStart(args) {
51
- this.dragStartEvent.next(args);
52
- }
53
- handleDragStop(args) {
54
- this.dragStopEvent.next(args);
55
- }
56
- }
57
- CoKanbanComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: CoKanbanComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
58
- CoKanbanComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: CoKanbanComponent, selector: "co-kanban", inputs: { allowDragAndDrop: "allowDragAndDrop", allowKeyboard: "allowKeyboard", cardSettings: "cardSettings", enablePersistence: "enablePersistence", enableTooltip: "enableTooltip", keyField: "keyField", showEmptyColumn: "showEmptyColumn", swimlaneSettings: "swimlaneSettings", columns: "columns", data: "data" }, outputs: { cardClickEvent: "cardClickEvent", cardDoubleClickEvent: "cardDoubleClickEvent", dragStartEvent: "dragStartEvent", dragStopEvent: "dragStopEvent" }, host: { properties: { "class.co-kanban": "this.showClass" } }, viewQueries: [{ propertyName: "kanban", first: true, predicate: ["kanban"], descendants: true }], ngImport: i0, template: `
59
- <ejs-kanban
60
- #kanban
61
- id="kanban"
62
- [allowDragAndDrop]="allowDragAndDrop"
63
- [allowKeyboard]="allowKeyboard"
64
- [cardSettings]="cardSettings"
65
- [enablePersistence]="enablePersistence"
66
- [enableTooltip]="enableTooltip"
67
- [keyField]="keyField"
68
- [showEmptyColumn]="showEmptyColumn"
69
- [swimlaneSettings]="swimlaneSettings"
70
- [dataSource]="data"
71
- (cardClick)="handleCardClick($event)"
72
- (cardDoubleClick)="handleCardDoubleClick($event)"
73
- (dialogOpen)="dialogOpen($event)"
74
- (dragStart)="handleDragStart($event)"
75
- (dragStop)="handleDragStop($event)"
76
- >
77
- </ejs-kanban>
78
- `, isInline: true, components: [{ type: i1.KanbanComponent, selector: "ejs-kanban", inputs: ["allowDragAndDrop", "allowKeyboard", "cardSettings", "columns", "constraintType", "cssClass", "dataSource", "dialogSettings", "enableHtmlSanitizer", "enablePersistence", "enableRtl", "enableTooltip", "externalDropId", "height", "keyField", "locale", "query", "showEmptyColumn", "sortSettings", "stackedHeaders", "swimlaneSettings", "tooltipTemplate", "width"], outputs: ["actionBegin", "actionComplete", "actionFailure", "cardClick", "cardDoubleClick", "cardRendered", "created", "dataBinding", "dataBound", "dataSourceChanged", "dataStateChange", "dialogClose", "dialogOpen", "drag", "dragStart", "dragStop", "queryCellInfo"] }], encapsulation: i0.ViewEncapsulation.None });
79
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: CoKanbanComponent, decorators: [{
80
- type: Component,
81
- args: [{
82
- selector: 'co-kanban',
83
- template: `
84
- <ejs-kanban
85
- #kanban
86
- id="kanban"
87
- [allowDragAndDrop]="allowDragAndDrop"
88
- [allowKeyboard]="allowKeyboard"
89
- [cardSettings]="cardSettings"
90
- [enablePersistence]="enablePersistence"
91
- [enableTooltip]="enableTooltip"
92
- [keyField]="keyField"
93
- [showEmptyColumn]="showEmptyColumn"
94
- [swimlaneSettings]="swimlaneSettings"
95
- [dataSource]="data"
96
- (cardClick)="handleCardClick($event)"
97
- (cardDoubleClick)="handleCardDoubleClick($event)"
98
- (dialogOpen)="dialogOpen($event)"
99
- (dragStart)="handleDragStart($event)"
100
- (dragStop)="handleDragStop($event)"
101
- >
102
- </ejs-kanban>
103
- `,
104
- encapsulation: ViewEncapsulation.None
105
- }]
106
- }], ctorParameters: function () { return []; }, propDecorators: { kanban: [{
107
- type: ViewChild,
108
- args: ['kanban', { static: false }]
109
- }], allowDragAndDrop: [{
110
- type: Input
111
- }], allowKeyboard: [{
112
- type: Input
113
- }], cardSettings: [{
114
- type: Input
115
- }], enablePersistence: [{
116
- type: Input
117
- }], enableTooltip: [{
118
- type: Input
119
- }], keyField: [{
120
- type: Input
121
- }], showEmptyColumn: [{
122
- type: Input
123
- }], swimlaneSettings: [{
124
- type: Input
125
- }], columns: [{
126
- type: Input
127
- }], data: [{
128
- type: Input
129
- }], cardClickEvent: [{
130
- type: Output
131
- }], cardDoubleClickEvent: [{
132
- type: Output
133
- }], dragStartEvent: [{
134
- type: Output
135
- }], dragStopEvent: [{
136
- type: Output
137
- }], showClass: [{
138
- type: HostBinding,
139
- args: ["class.co-kanban"]
140
- }] } });
141
-
142
- class CoKanbanModule {
143
- }
144
- CoKanbanModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: CoKanbanModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
145
- CoKanbanModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: CoKanbanModule, declarations: [CoKanbanComponent], imports: [CommonModule,
146
- KanbanModule], exports: [CoKanbanComponent] });
147
- CoKanbanModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: CoKanbanModule, imports: [[
148
- CommonModule,
149
- KanbanModule
150
- ]] });
151
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: CoKanbanModule, decorators: [{
152
- type: NgModule,
153
- args: [{
154
- imports: [
155
- CommonModule,
156
- KanbanModule
157
- ],
158
- declarations: [
159
- CoKanbanComponent
160
- ],
161
- exports: [
162
- CoKanbanComponent
163
- ]
164
- }]
165
- }] });
166
-
167
- class CoScheduleComponent {
168
- constructor() {
169
- this.enablePersistence = false;
170
- this.actionBegin = new EventEmitter();
171
- this.actionComplete = new EventEmitter();
172
- this.actionFailure = new EventEmitter();
173
- this.showClass = true;
174
- }
175
- ngOnInit() {
176
- }
177
- onActionBegin(args) {
178
- this.actionBegin.emit(args);
179
- }
180
- onActionComplete(args) {
181
- this.actionComplete.emit(args);
182
- }
183
- onActionFailure(args) {
184
- this.actionFailure.emit(args);
185
- }
186
- }
187
- CoScheduleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: CoScheduleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
188
- CoScheduleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: CoScheduleComponent, selector: "co-schedule", inputs: { selectedDate: "selectedDate", currentView: "currentView", eventSettings: "eventSettings", enablePersistence: "enablePersistence" }, outputs: { actionBegin: "actionBegin", actionComplete: "actionComplete", actionFailure: "actionFailure" }, host: { properties: { "class.co-schedule": "this.showClass" } }, providers: [
189
- DayService,
190
- WeekService,
191
- WorkWeekService,
192
- MonthService,
193
- AgendaService,
194
- MonthAgendaService,
195
- TimelineViewsService,
196
- TimelineMonthService
197
- ], viewQueries: [{ propertyName: "scheduleObj", first: true, predicate: ["ejsSchedule"], descendants: true, static: true }], ngImport: i0, template: `
198
- <ejs-schedule
199
- #ejsSchedule
200
- [selectedDate]="selectedDate"
201
- [currentView]="currentView"
202
- [eventSettings]="eventSettings"
203
- [enablePersistence]="enablePersistence"
204
- (actionBegin)="onActionBegin($event)"
205
- (actionComplete)="onActionComplete($event)"
206
- (actionFailure)="onActionFailure($event)"
207
- ><ng-content></ng-content>
208
- </ejs-schedule>
209
- `, isInline: true, components: [{ type: i1$1.ScheduleComponent, selector: "ejs-schedule", inputs: ["agendaDaysCount", "allowDragAndDrop", "allowInline", "allowKeyboardInteraction", "allowMultiCellSelection", "allowMultiDrag", "allowMultiRowSelection", "allowResizing", "allowSwiping", "calendarMode", "cellHeaderTemplate", "cellTemplate", "cssClass", "currentView", "dateFormat", "dateHeaderTemplate", "dateRangeTemplate", "dayHeaderTemplate", "editorTemplate", "enableAdaptiveUI", "enableAllDayScroll", "enableHtmlSanitizer", "enablePersistence", "enableRecurrenceValidation", "enableRtl", "endHour", "eventDragArea", "eventSettings", "firstDayOfWeek", "firstMonthOfYear", "group", "headerIndentTemplate", "headerRows", "height", "hideEmptyAgendaDays", "locale", "maxDate", "minDate", "monthHeaderTemplate", "monthsCount", "quickInfoOnSelectionEnd", "quickInfoTemplates", "readonly", "resourceHeaderTemplate", "resources", "rowAutoHeight", "selectedDate", "showHeaderBar", "showQuickInfo", "showTimeIndicator", "showWeekNumber", "showWeekend", "startHour", "timeFormat", "timeScale", "timezone", "timezoneDataSource", "views", "weekRule", "width", "workDays", "workHours"], outputs: ["actionBegin", "actionComplete", "actionFailure", "cellClick", "cellDoubleClick", "created", "dataBinding", "dataBound", "destroyed", "drag", "dragStart", "dragStop", "eventClick", "eventRendered", "hover", "moreEventsClick", "navigating", "popupClose", "popupOpen", "renderCell", "resizeStart", "resizeStop", "resizing", "select", "currentViewChange", "selectedDateChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
210
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: CoScheduleComponent, decorators: [{
211
- type: Component,
212
- args: [{
213
- selector: 'co-schedule',
214
- template: `
215
- <ejs-schedule
216
- #ejsSchedule
217
- [selectedDate]="selectedDate"
218
- [currentView]="currentView"
219
- [eventSettings]="eventSettings"
220
- [enablePersistence]="enablePersistence"
221
- (actionBegin)="onActionBegin($event)"
222
- (actionComplete)="onActionComplete($event)"
223
- (actionFailure)="onActionFailure($event)"
224
- ><ng-content></ng-content>
225
- </ejs-schedule>
226
- `,
227
- providers: [
228
- DayService,
229
- WeekService,
230
- WorkWeekService,
231
- MonthService,
232
- AgendaService,
233
- MonthAgendaService,
234
- TimelineViewsService,
235
- TimelineMonthService
236
- ],
237
- encapsulation: ViewEncapsulation.None,
238
- changeDetection: ChangeDetectionStrategy.OnPush
239
- }]
240
- }], ctorParameters: function () { return []; }, propDecorators: { scheduleObj: [{
241
- type: ViewChild,
242
- args: ['ejsSchedule', { static: true }]
243
- }], selectedDate: [{
244
- type: Input
245
- }], currentView: [{
246
- type: Input
247
- }], eventSettings: [{
248
- type: Input
249
- }], enablePersistence: [{
250
- type: Input
251
- }], actionBegin: [{
252
- type: Output
253
- }], actionComplete: [{
254
- type: Output
255
- }], actionFailure: [{
256
- type: Output
257
- }], showClass: [{
258
- type: HostBinding,
259
- args: ['class.co-schedule']
260
- }] } });
261
-
262
- class CoScheduleModule {
263
- }
264
- CoScheduleModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: CoScheduleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
265
- CoScheduleModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: CoScheduleModule, declarations: [CoScheduleComponent], imports: [CommonModule,
266
- ScheduleModule], exports: [CoScheduleComponent] });
267
- CoScheduleModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: CoScheduleModule, imports: [[
268
- CommonModule,
269
- ScheduleModule
270
- ]] });
271
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: CoScheduleModule, decorators: [{
272
- type: NgModule,
273
- args: [{
274
- declarations: [
275
- CoScheduleComponent
276
- ],
277
- imports: [
278
- CommonModule,
279
- ScheduleModule
280
- ],
281
- exports: [
282
- CoScheduleComponent
283
- ]
284
- }]
285
- }] });
286
-
287
- var GridLines;
288
- (function (GridLines) {
289
- GridLines["None"] = "None";
290
- GridLines["Horizontal"] = "Horizontal";
291
- GridLines["Vertical"] = "Vertical";
292
- GridLines["Both"] = "Both";
293
- GridLines["Default"] = "Default";
294
- })(GridLines || (GridLines = {}));
295
-
296
- class BaseGridComponent {
297
- constructor(element) {
298
- this.element = element;
299
- this.gridLines = GridLines.None;
300
- this.contextMenuItems = [];
301
- this.sortingEnabled = false;
302
- this.filteringEnabled = false;
303
- this.pagingEnabled = false;
304
- this.groupingEnabled = false;
305
- this.reorderingEnabled = false;
306
- this.rowDragAndDropEnabled = false;
307
- this.resizingEnabled = false;
308
- this.showColumnMenu = false;
309
- this.pageSettings = {};
310
- }
311
- set maxNumberOfRows(value) {
312
- if (value) {
313
- this.pageSettings.pageSize = value;
314
- }
315
- }
316
- set columns(value) {
317
- this._columns = value;
318
- }
319
- get columns() {
320
- return this._columns;
321
- }
322
- }
323
- BaseGridComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: BaseGridComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
324
- BaseGridComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: BaseGridComponent, inputs: { data: "data", gridLines: "gridLines", contextMenuItems: "contextMenuItems", frozenColumns: "frozenColumns", frozenRows: "frozenRows", sortingEnabled: "sortingEnabled", filteringEnabled: "filteringEnabled", pagingEnabled: "pagingEnabled", groupingEnabled: "groupingEnabled", reorderingEnabled: "reorderingEnabled", rowDragAndDropEnabled: "rowDragAndDropEnabled", rowDropSettings: "rowDropSettings", resizingEnabled: "resizingEnabled", showColumnMenu: "showColumnMenu", maxNumberOfRows: "maxNumberOfRows", columns: "columns" }, viewQueries: [{ propertyName: "grid", first: true, predicate: ["grid"], descendants: true }], ngImport: i0 });
325
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: BaseGridComponent, decorators: [{
326
- type: Directive
327
- }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { grid: [{
328
- type: ViewChild,
329
- args: ['grid', { static: false }]
330
- }], data: [{
331
- type: Input
332
- }], gridLines: [{
333
- type: Input
334
- }], contextMenuItems: [{
335
- type: Input
336
- }], frozenColumns: [{
337
- type: Input
338
- }], frozenRows: [{
339
- type: Input
340
- }], sortingEnabled: [{
341
- type: Input
342
- }], filteringEnabled: [{
343
- type: Input
344
- }], pagingEnabled: [{
345
- type: Input
346
- }], groupingEnabled: [{
347
- type: Input
348
- }], reorderingEnabled: [{
349
- type: Input
350
- }], rowDragAndDropEnabled: [{
351
- type: Input
352
- }], rowDropSettings: [{
353
- type: Input
354
- }], resizingEnabled: [{
355
- type: Input
356
- }], showColumnMenu: [{
357
- type: Input
358
- }], maxNumberOfRows: [{
359
- type: Input
360
- }], columns: [{
361
- type: Input
362
- }] } });
363
-
364
- class BaseToolbarGridComponent extends BaseGridComponent {
365
- constructor() {
366
- super(...arguments);
367
- this._exportExcelEnabled = false;
368
- this._exportPdfEnabled = false;
369
- this._showColumnChooser = false;
370
- }
371
- set showColumnChooser(value) {
372
- this._showColumnChooser = value;
373
- this.updateToolbar("ColumnChooser", this._showColumnChooser);
374
- }
375
- get showColumnChooser() {
376
- return this._showColumnChooser;
377
- }
378
- set exportExcelEnabled(value) {
379
- this._exportExcelEnabled = value;
380
- this.updateToolbar("ExcelExport", this._exportExcelEnabled);
381
- }
382
- get exportExcelEnabled() {
383
- return this._exportExcelEnabled;
384
- }
385
- set exportPdfEnabled(value) {
386
- this._exportPdfEnabled = value;
387
- this.updateToolbar("PdfExport", this._exportPdfEnabled);
388
- }
389
- get exportPdfEnabled() {
390
- return this._exportPdfEnabled;
391
- }
392
- toolbarClick(args) {
393
- if (this.grid) {
394
- if (args.item.id === 'grid_excelexport') {
395
- this.grid.excelExport();
396
- }
397
- else if (args.item.id === 'grid_pdfexport') {
398
- this.grid.pdfExport();
399
- }
400
- }
401
- }
402
- updateToolbar(option, add) {
403
- if (add) {
404
- if (!this.toolbarOptions) {
405
- this.toolbarOptions = [];
406
- }
407
- this.toolbarOptions.push(option);
408
- }
409
- else {
410
- if (this.toolbarOptions) {
411
- let index = this.toolbarOptions.indexOf(option);
412
- this.toolbarOptions.splice(index, 1);
413
- }
414
- }
415
- if (this.toolbarOptions && this.toolbarOptions.length > 0) {
416
- this.toolbarOptions = this.toolbarOptions.slice();
417
- }
418
- else {
419
- this.toolbarOptions = undefined;
420
- }
421
- }
422
- }
423
- BaseToolbarGridComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: BaseToolbarGridComponent, deps: null, target: i0.ɵɵFactoryTarget.Directive });
424
- BaseToolbarGridComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: BaseToolbarGridComponent, inputs: { showColumnChooser: "showColumnChooser", exportExcelEnabled: "exportExcelEnabled", exportPdfEnabled: "exportPdfEnabled" }, usesInheritance: true, ngImport: i0 });
425
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: BaseToolbarGridComponent, decorators: [{
426
- type: Directive
427
- }], propDecorators: { showColumnChooser: [{
428
- type: Input
429
- }], exportExcelEnabled: [{
430
- type: Input
431
- }], exportPdfEnabled: [{
432
- type: Input
433
- }] } });
434
-
435
- class BaseInlineEditGridComponent extends BaseToolbarGridComponent {
436
- constructor() {
437
- super(...arguments);
438
- this.rowSaved = new EventEmitter();
439
- this.beforeRowDelete = new EventEmitter(false);
440
- this.rowDeleted = new EventEmitter();
441
- this.actionBeginObservable$ = new Observable();
442
- this.actionBeginObservableSub = new Subscription();
443
- }
444
- set inlineEdit(value) {
445
- if (value) {
446
- this.editSettings = { allowEditing: true, allowAdding: true, allowDeleting: true };
447
- }
448
- else {
449
- this.editSettings = {};
450
- }
451
- this.updateToolbar("Add", value);
452
- this.updateToolbar("Edit", value);
453
- this.updateToolbar("Delete", value);
454
- this.updateToolbar("Update", value);
455
- this.updateToolbar("Cancel", value);
456
- }
457
- ngAfterViewInit() {
458
- if (this.grid) {
459
- this.actionBeginObservable$ = fromEvent(this.grid, 'actionBegin');
460
- this.actionBeginObservableSub = this.actionBeginObservable$.subscribe((action) => {
461
- this.handleActionBegin(action);
462
- });
463
- }
464
- }
465
- ngOnDestroy() {
466
- this.actionBeginObservableSub.unsubscribe();
467
- }
468
- handleActionBegin(action) {
469
- return __awaiter(this, void 0, void 0, function* () {
470
- if (action) {
471
- if (action.requestType === "delete") {
472
- yield this.waitForBeforeDelete(action);
473
- }
474
- if (action.requestType === "save") {
475
- this.rowSaved.next(action.data);
476
- }
477
- }
478
- });
479
- }
480
- handleActionComplete(action) {
481
- if (action) {
482
- if (action.requestType === "delete") {
483
- this.rowDeleted.next(action.data);
484
- }
485
- if (action.requestType === "save") {
486
- this.rowSaved.next(action.data);
487
- }
488
- }
489
- }
490
- waitForBeforeDelete(action) {
491
- // @ts-ignore
492
- const beforeRowDelete$ = fromEvent(this.element, 'beforeRowDelete');
493
- return new Promise((resolve) => {
494
- beforeRowDelete$.subscribe((result) => {
495
- action = result;
496
- return resolve(action);
497
- }).unsubscribe();
498
- this.beforeRowDelete.next(action);
499
- });
500
- }
501
- }
502
- BaseInlineEditGridComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: BaseInlineEditGridComponent, deps: null, target: i0.ɵɵFactoryTarget.Directive });
503
- BaseInlineEditGridComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: BaseInlineEditGridComponent, inputs: { inlineEdit: "inlineEdit" }, outputs: { rowSaved: "rowSaved", beforeRowDelete: "beforeRowDelete", rowDeleted: "rowDeleted" }, usesInheritance: true, ngImport: i0 });
504
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: BaseInlineEditGridComponent, decorators: [{
505
- type: Directive
506
- }], propDecorators: { inlineEdit: [{
507
- type: Input
508
- }], rowSaved: [{
509
- type: Output
510
- }], beforeRowDelete: [{
511
- type: Output
512
- }], rowDeleted: [{
513
- type: Output
514
- }] } });
515
-
516
- const defaultColumn = `<div class="detail-wrapper"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50"><polygon points="34.55 26.18 34.55 37.49 12.44 37.49 12.44 15.38 24.68 15.38 25.59 14.48 24.05 12.94 10 12.94 10 39.94 36.99 39.94 36.99 25.88 35.92 24.81 34.55 26.18" fill="#484f60"/><polygon points="40 10.4 27.92 10.4 32 14.48 22.24 26.23 24.16 28.15 35.92 18.4 40 22.48 40 10.4" fill="#484f60"/></svg></div>`;
517
- class BaseSelectionGridComponent extends BaseInlineEditGridComponent {
518
- constructor() {
519
- super(...arguments);
520
- this.includeDetailColumn = false;
521
- this.rowsSelected = new EventEmitter();
522
- this.rowDoubleClick = new EventEmitter();
523
- this.detailColumnClick = new EventEmitter();
524
- this.contextMenuItemClick = new EventEmitter();
525
- this.rowDragStartEvent = new EventEmitter();
526
- this.rowDropEvent = new EventEmitter();
527
- this.beforeRowsDelete = new EventEmitter();
528
- this.rowsDeleted = new EventEmitter();
529
- this.selectionOptions = { type: "Single" };
530
- }
531
- set multipleSelect(value) {
532
- this.selectionOptions = { type: value ? "Multiple" : "Single" };
533
- }
534
- ngOnInit() {
535
- if (this.includeDetailColumn) {
536
- this.columns.unshift({
537
- field: "", headerText: "", lockColumn: true, maxWidth: 30, width: 30,
538
- allowFiltering: false, allowResizing: false, allowReordering: false, allowEditing: false, allowSearching: false,
539
- showColumnMenu: false, showInColumnChooser: false,
540
- template: this.detailColumnTemplate ? this.detailColumnTemplate : defaultColumn,
541
- headerTemplate: this.detailColumnTemplate ? this.detailColumnTemplate : defaultColumn
542
- });
543
- }
544
- }
545
- handleRowSelected(rowData) {
546
- if (this.grid) {
547
- const rows = this.grid.getSelectedRecords();
548
- this.rowsSelected.next(rows);
549
- }
550
- }
551
- handleDoubleClick(clickData) {
552
- this.rowDoubleClick.next(clickData.rowData);
553
- }
554
- handleRecordClick(clickData) {
555
- if (clickData && this.includeDetailColumn && clickData.cellIndex === 0) {
556
- this.detailColumnClick.next(clickData.rowData);
557
- }
558
- }
559
- selectRow(index) {
560
- if (this.grid) {
561
- const rowIndexes = [];
562
- rowIndexes.push(index);
563
- this.grid.selectionModule.selectRows(rowIndexes);
564
- }
565
- }
566
- contextMenuClick(args) {
567
- this.contextMenuItemClick.next(args);
568
- }
569
- rowDragStartClick(args) {
570
- this.rowDragStartEvent.next(args);
571
- }
572
- rowDropClick(args) {
573
- this.rowDropEvent.next(args);
574
- }
575
- handleBeforeBatchDelete(args) {
576
- this.beforeRowsDelete.next(args);
577
- }
578
- handleBatchDelete(rows) {
579
- this.rowsDeleted.next(rows);
580
- }
581
- }
582
- BaseSelectionGridComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: BaseSelectionGridComponent, deps: null, target: i0.ɵɵFactoryTarget.Directive });
583
- BaseSelectionGridComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: BaseSelectionGridComponent, inputs: { multipleSelect: "multipleSelect", includeDetailColumn: "includeDetailColumn", detailColumnTemplate: "detailColumnTemplate" }, outputs: { rowsSelected: "rowsSelected", rowDoubleClick: "rowDoubleClick", detailColumnClick: "detailColumnClick", contextMenuItemClick: "contextMenuItemClick", rowDragStartEvent: "rowDragStartEvent", rowDropEvent: "rowDropEvent", beforeRowsDelete: "beforeRowsDelete", rowsDeleted: "rowsDeleted" }, host: { properties: { "class.detail-column": "this.includeDetailColumn" } }, usesInheritance: true, ngImport: i0 });
584
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: BaseSelectionGridComponent, decorators: [{
585
- type: Directive
586
- }], propDecorators: { multipleSelect: [{
587
- type: Input
588
- }], includeDetailColumn: [{
589
- type: HostBinding,
590
- args: ["class.detail-column"]
591
- }, {
592
- type: Input
593
- }], detailColumnTemplate: [{
594
- type: Input
595
- }], rowsSelected: [{
596
- type: Output
597
- }], rowDoubleClick: [{
598
- type: Output
599
- }], detailColumnClick: [{
600
- type: Output
601
- }], contextMenuItemClick: [{
602
- type: Output
603
- }], rowDragStartEvent: [{
604
- type: Output
605
- }], rowDropEvent: [{
606
- type: Output
607
- }], beforeRowsDelete: [{
608
- type: Output
609
- }], rowsDeleted: [{
610
- type: Output
611
- }] } });
612
-
613
- class CoGridComponent extends BaseSelectionGridComponent {
614
- showClass() {
615
- return true;
616
- }
617
- ngOnInit() {
618
- super.ngOnInit();
619
- }
620
- }
621
- CoGridComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: CoGridComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
622
- CoGridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: CoGridComponent, selector: "co-grid", host: { properties: { "class.co-grid": "this.showClass" } }, providers: [
623
- RowDDService
624
- ], usesInheritance: true, ngImport: i0, template: `
625
- <ejs-grid #grid id="grid"
626
- [dataSource]="data"
627
- [columns]="columns"
628
- [contextMenuItems]="contextMenuItems"
629
- [pageSettings]="pageSettings"
630
- [toolbar]="toolbarOptions"
631
- [gridLines]="gridLines"
632
- [frozenColumns]="frozenColumns"
633
- [frozenRows]="frozenRows"
634
- [selectionSettings]="selectionOptions"
635
- [editSettings]="editSettings"
636
- [allowPaging]="pagingEnabled"
637
- [allowSorting]="sortingEnabled"
638
- [allowFiltering]="filteringEnabled"
639
- [allowGrouping]="groupingEnabled"
640
- [allowReordering]="reorderingEnabled"
641
- [allowResizing]="resizingEnabled"
642
- [allowRowDragAndDrop]="rowDragAndDropEnabled"
643
- [showColumnMenu]="showColumnMenu"
644
- [showColumnChooser]="showColumnChooser"
645
- [allowExcelExport]="exportExcelEnabled"
646
- [allowPdfExport]="exportPdfEnabled"
647
- (toolbarClick)="toolbarClick($event)"
648
- (rowSelected)="handleRowSelected($event)"
649
- (recordDoubleClick)="handleDoubleClick($event)"
650
- (recordClick)="handleRecordClick($event)"
651
- (actionComplete)="handleActionComplete($event)"
652
- (contextMenuClick)="contextMenuClick($event)"
653
- (rowDragStart)="rowDragStartClick($event)"
654
- (rowDrop)="rowDropClick($event)"
655
- (beforeBatchDelete)="handleBeforeBatchDelete($event)"
656
- (batchDelete)="handleBatchDelete($event)"
657
- >
658
- </ejs-grid>
659
- `, isInline: true, components: [{ type: i1$2.GridComponent, selector: "ejs-grid", inputs: ["aggregates", "allowExcelExport", "allowFiltering", "allowGrouping", "allowKeyboard", "allowMultiSorting", "allowPaging", "allowPdfExport", "allowReordering", "allowResizing", "allowRowDragAndDrop", "allowSelection", "allowSorting", "allowTextWrap", "autoFit", "childGrid", "clipMode", "columnChooserSettings", "columnMenuItems", "columnQueryMode", "columns", "contextMenuItems", "cssClass", "currencyCode", "currentAction", "currentViewData", "dataSource", "detailTemplate", "editSettings", "ej2StatePersistenceVersion", "enableAdaptiveUI", "enableAltRow", "enableAutoFill", "enableColumnVirtualization", "enableHeaderFocus", "enableHover", "enableHtmlSanitizer", "enableImmutableMode", "enableInfiniteScrolling", "enablePersistence", "enableRtl", "enableStickyHeader", "enableVirtualMaskRow", "enableVirtualization", "filterSettings", "frozenColumns", "frozenRows", "gridLines", "groupSettings", "height", "hierarchyPrintMode", "infiniteScrollSettings", "loadingIndicator", "locale", "pageSettings", "pagerTemplate", "parentDetails", "printMode", "query", "queryString", "resizeSettings", "rowDropSettings", "rowHeight", "rowRenderingMode", "rowTemplate", "searchSettings", "selectedRowIndex", "selectionSettings", "showColumnChooser", "showColumnMenu", "showHider", "sortSettings", "textWrapSettings", "toolbar", "toolbarTemplate", "width"], outputs: ["actionBegin", "actionComplete", "actionFailure", "batchAdd", "batchCancel", "batchDelete", "beforeAutoFill", "beforeBatchAdd", "beforeBatchDelete", "beforeBatchSave", "beforeCopy", "beforeDataBound", "beforeExcelExport", "beforeOpenAdaptiveDialog", "beforeOpenColumnChooser", "beforePaste", "beforePdfExport", "beforePrint", "beginEdit", "cellDeselected", "cellDeselecting", "cellEdit", "cellSave", "cellSaved", "cellSelected", "cellSelecting", "checkBoxChange", "columnDataStateChange", "columnDeselected", "columnDeselecting", "columnDrag", "columnDragStart", "columnDrop", "columnMenuClick", "columnMenuOpen", "columnSelected", "columnSelecting", "commandClick", "contextMenuClick", "contextMenuOpen", "created", "dataBound", "dataSourceChanged", "dataStateChange", "destroyed", "detailDataBound", "excelAggregateQueryCellInfo", "excelExportComplete", "excelHeaderQueryCellInfo", "excelQueryCellInfo", "exportDetailDataBound", "exportGroupCaption", "headerCellInfo", "keyPressed", "lazyLoadGroupCollapse", "lazyLoadGroupExpand", "load", "pdfAggregateQueryCellInfo", "pdfExportComplete", "pdfHeaderQueryCellInfo", "pdfQueryCellInfo", "printComplete", "queryCellInfo", "recordClick", "recordDoubleClick", "resizeStart", "resizeStop", "resizing", "rowDataBound", "rowDeselected", "rowDeselecting", "rowDrag", "rowDragStart", "rowDragStartHelper", "rowDrop", "rowSelected", "rowSelecting", "toolbarClick", "dataSourceChange"] }], encapsulation: i0.ViewEncapsulation.None });
660
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: CoGridComponent, decorators: [{
661
- type: Component,
662
- args: [{
663
- selector: 'co-grid',
664
- template: `
665
- <ejs-grid #grid id="grid"
666
- [dataSource]="data"
667
- [columns]="columns"
668
- [contextMenuItems]="contextMenuItems"
669
- [pageSettings]="pageSettings"
670
- [toolbar]="toolbarOptions"
671
- [gridLines]="gridLines"
672
- [frozenColumns]="frozenColumns"
673
- [frozenRows]="frozenRows"
674
- [selectionSettings]="selectionOptions"
675
- [editSettings]="editSettings"
676
- [allowPaging]="pagingEnabled"
677
- [allowSorting]="sortingEnabled"
678
- [allowFiltering]="filteringEnabled"
679
- [allowGrouping]="groupingEnabled"
680
- [allowReordering]="reorderingEnabled"
681
- [allowResizing]="resizingEnabled"
682
- [allowRowDragAndDrop]="rowDragAndDropEnabled"
683
- [showColumnMenu]="showColumnMenu"
684
- [showColumnChooser]="showColumnChooser"
685
- [allowExcelExport]="exportExcelEnabled"
686
- [allowPdfExport]="exportPdfEnabled"
687
- (toolbarClick)="toolbarClick($event)"
688
- (rowSelected)="handleRowSelected($event)"
689
- (recordDoubleClick)="handleDoubleClick($event)"
690
- (recordClick)="handleRecordClick($event)"
691
- (actionComplete)="handleActionComplete($event)"
692
- (contextMenuClick)="contextMenuClick($event)"
693
- (rowDragStart)="rowDragStartClick($event)"
694
- (rowDrop)="rowDropClick($event)"
695
- (beforeBatchDelete)="handleBeforeBatchDelete($event)"
696
- (batchDelete)="handleBatchDelete($event)"
697
- >
698
- </ejs-grid>
699
- `,
700
- providers: [
701
- RowDDService
702
- ],
703
- encapsulation: ViewEncapsulation.None
704
- }]
705
- }], propDecorators: { showClass: [{
706
- type: HostBinding,
707
- args: ['class.co-grid']
708
- }] } });
709
-
710
- class CoGridModule {
711
- }
712
- CoGridModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: CoGridModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
713
- CoGridModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: CoGridModule, declarations: [CoGridComponent], imports: [CommonModule,
714
- FormsModule,
715
- GridModule], exports: [CoGridComponent] });
716
- CoGridModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: CoGridModule, providers: [
717
- PageService,
718
- SortService,
719
- FilterService,
720
- GroupService,
721
- ReorderService,
722
- ResizeService,
723
- ExcelExportService,
724
- PdfExportService,
725
- EditService,
726
- ToolbarService,
727
- ColumnChooserService,
728
- ColumnMenuService,
729
- ContextMenuService
730
- ], imports: [[
731
- CommonModule,
732
- FormsModule,
733
- GridModule
734
- ]] });
735
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: CoGridModule, decorators: [{
736
- type: NgModule,
737
- args: [{
738
- imports: [
739
- CommonModule,
740
- FormsModule,
741
- GridModule
742
- ],
743
- declarations: [CoGridComponent],
744
- exports: [CoGridComponent],
745
- providers: [
746
- PageService,
747
- SortService,
748
- FilterService,
749
- GroupService,
750
- ReorderService,
751
- ResizeService,
752
- ExcelExportService,
753
- PdfExportService,
754
- EditService,
755
- ToolbarService,
756
- ColumnChooserService,
757
- ColumnMenuService,
758
- ContextMenuService
759
- ]
760
- }]
761
- }] });
762
-
763
- class CoPivotComponent {
764
- constructor() {
765
- this.showGroupingBar = false;
766
- this.allowGrouping = false;
767
- this.enablePersistence = false;
768
- this.showFieldList = false;
769
- this.showToolbar = false;
770
- this.allowExcelExport = false;
771
- this.allowPdfExport = false;
772
- this.allowConditionalFormatting = true;
773
- this.allowNumberFormatting = true;
774
- this.allowCalculatedField = false;
775
- this.height = "100%";
776
- this.saveReportClick = new EventEmitter();
777
- this.loadReportClick = new EventEmitter();
778
- this.fetchReportClick = new EventEmitter();
779
- this.renameReportClick = new EventEmitter();
780
- this.removeReportClick = new EventEmitter();
781
- this.newReportClick = new EventEmitter();
782
- this.beforeToolbarRenderClick = new EventEmitter();
783
- this.enginePopulated = new EventEmitter();
784
- }
785
- showClass() {
786
- return true;
787
- }
788
- ngOnInit() {
789
- }
790
- ngAfterViewInit() {
791
- setTimeout(() => {
792
- this.pivot.refresh();
793
- this.pivot.refreshData();
794
- this.pivot.layoutRefresh();
795
- }, 3000);
796
- }
797
- saveReport(args) {
798
- if (args) {
799
- this.saveReportClick.next(args);
800
- }
801
- }
802
- loadReport(args) {
803
- if (args) {
804
- this.loadReportClick.next(args);
805
- }
806
- }
807
- fetchReport(args) {
808
- if (args) {
809
- this.fetchReportClick.next(args);
810
- }
811
- }
812
- renameReport(args) {
813
- if (args) {
814
- this.renameReportClick.next(args);
815
- }
816
- }
817
- removeReport(args) {
818
- if (args) {
819
- this.removeReportClick.next(args);
820
- }
821
- }
822
- newReport() {
823
- this.newReportClick.next();
824
- }
825
- beforeToolbarRender(args) {
826
- if (args) {
827
- this.beforeToolbarRenderClick.next(args);
828
- }
829
- }
830
- hanldeEnginePopulated(args) {
831
- if (args) {
832
- this.enginePopulated.next(args);
833
- }
834
- }
835
- }
836
- CoPivotComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: CoPivotComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
837
- CoPivotComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: CoPivotComponent, selector: "co-pivot", inputs: { dataSourceSettings: "dataSourceSettings", gridSettings: "gridSettings", toolbarOptions: "toolbarOptions", showGroupingBar: "showGroupingBar", allowGrouping: "allowGrouping", enablePersistence: "enablePersistence", showFieldList: "showFieldList", showToolbar: "showToolbar", allowExcelExport: "allowExcelExport", allowPdfExport: "allowPdfExport", allowConditionalFormatting: "allowConditionalFormatting", allowNumberFormatting: "allowNumberFormatting", allowCalculatedField: "allowCalculatedField", height: "height" }, outputs: { saveReportClick: "saveReportClick", loadReportClick: "loadReportClick", fetchReportClick: "fetchReportClick", renameReportClick: "renameReportClick", removeReportClick: "removeReportClick", newReportClick: "newReportClick", beforeToolbarRenderClick: "beforeToolbarRenderClick", enginePopulated: "enginePopulated" }, host: { properties: { "class.co-pivot": "this.showClass" } }, providers: [GroupingBarService, GroupingService, ToolbarService$1, ConditionalFormattingService, FieldListService, NumberFormattingService], viewQueries: [{ propertyName: "pivot", first: true, predicate: ["pivot"], descendants: true }], ngImport: i0, template: `
838
- <ejs-pivotview
839
- #pivot
840
- id="Pivot"
841
- [dataSourceSettings]="dataSourceSettings"
842
- [gridSettings]="gridSettings"
843
- [showGroupingBar]="showGroupingBar"
844
- [allowGrouping]="allowGrouping"
845
- [enablePersistence]="enablePersistence"
846
- [showFieldList]="showFieldList"
847
- [showToolbar]="showToolbar"
848
- [toolbar]="toolbarOptions"
849
- [allowExcelExport]="allowExcelExport"
850
- [allowConditionalFormatting]="allowConditionalFormatting"
851
- [allowNumberFormatting]="allowNumberFormatting"
852
- [allowPdfExport]="allowPdfExport"
853
- [allowCalculatedField]="allowCalculatedField"
854
- [height]="height"
855
- (saveReport)="saveReport($event)"
856
- (loadReport)="loadReport($event)"
857
- (fetchReport)="fetchReport($event)"
858
- (renameReport)="renameReport($event)"
859
- (removeReport)="removeReport($event)"
860
- (newReport)="newReport()"
861
- (toolbarRender)="beforeToolbarRender($event)"
862
- (enginePopulated)="hanldeEnginePopulated($event)"
863
- >
864
- </ejs-pivotview>
865
- `, isInline: true, components: [{ type: i1$3.PivotViewComponent, selector: "ejs-pivotview", inputs: ["aggregateTypes", "allowCalculatedField", "allowConditionalFormatting", "allowDataCompression", "allowDeferLayoutUpdate", "allowDrillThrough", "allowExcelExport", "allowGrouping", "allowNumberFormatting", "allowPdfExport", "cellTemplate", "chartSettings", "chartTypes", "cssClass", "dataSourceSettings", "displayOption", "editSettings", "enableFieldSearching", "enableHtmlSanitizer", "enablePaging", "enablePersistence", "enableRtl", "enableValueSorting", "enableVirtualization", "exportAllPages", "gridSettings", "groupingBarSettings", "height", "hyperlinkSettings", "loadOnDemandInMemberEditor", "locale", "maxNodeLimitInMemberEditor", "maxRowsInDrillThrough", "pageSettings", "pagerSettings", "pivotValues", "showFieldList", "showGroupingBar", "showToolbar", "showTooltip", "showValuesButton", "spinnerTemplate", "toolbar", "toolbarTemplate", "tooltipTemplate", "width"], outputs: ["actionBegin", "actionComplete", "actionFailure", "aggregateCellInfo", "aggregateMenuOpen", "beforeExport", "beforeServiceInvoke", "beginDrillThrough", "calculatedFieldCreate", "cellClick", "cellSelected", "cellSelecting", "chartSeriesCreated", "conditionalFormatting", "created", "dataBound", "destroyed", "drill", "drillThrough", "editCompleted", "enginePopulated", "enginePopulating", "exportComplete", "fetchReport", "fieldDragStart", "fieldDrop", "fieldListRefreshed", "fieldRemove", "hyperlinkCellClick", "load", "loadReport", "memberEditorOpen", "memberFiltering", "newReport", "numberFormatting", "onFieldDropped", "onHeadersSort", "onPdfCellRender", "removeReport", "renameReport", "saveReport", "toolbarClick", "toolbarRender"] }], encapsulation: i0.ViewEncapsulation.None });
866
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: CoPivotComponent, decorators: [{
867
- type: Component,
868
- args: [{
869
- selector: 'co-pivot',
870
- template: `
871
- <ejs-pivotview
872
- #pivot
873
- id="Pivot"
874
- [dataSourceSettings]="dataSourceSettings"
875
- [gridSettings]="gridSettings"
876
- [showGroupingBar]="showGroupingBar"
877
- [allowGrouping]="allowGrouping"
878
- [enablePersistence]="enablePersistence"
879
- [showFieldList]="showFieldList"
880
- [showToolbar]="showToolbar"
881
- [toolbar]="toolbarOptions"
882
- [allowExcelExport]="allowExcelExport"
883
- [allowConditionalFormatting]="allowConditionalFormatting"
884
- [allowNumberFormatting]="allowNumberFormatting"
885
- [allowPdfExport]="allowPdfExport"
886
- [allowCalculatedField]="allowCalculatedField"
887
- [height]="height"
888
- (saveReport)="saveReport($event)"
889
- (loadReport)="loadReport($event)"
890
- (fetchReport)="fetchReport($event)"
891
- (renameReport)="renameReport($event)"
892
- (removeReport)="removeReport($event)"
893
- (newReport)="newReport()"
894
- (toolbarRender)="beforeToolbarRender($event)"
895
- (enginePopulated)="hanldeEnginePopulated($event)"
896
- >
897
- </ejs-pivotview>
898
- `,
899
- providers: [GroupingBarService, GroupingService, ToolbarService$1, ConditionalFormattingService, FieldListService, NumberFormattingService],
900
- encapsulation: ViewEncapsulation.None
901
- }]
902
- }], ctorParameters: function () { return []; }, propDecorators: { pivot: [{
903
- type: ViewChild,
904
- args: ['pivot', { static: false }]
905
- }], dataSourceSettings: [{
906
- type: Input
907
- }], gridSettings: [{
908
- type: Input
909
- }], toolbarOptions: [{
910
- type: Input
911
- }], showGroupingBar: [{
912
- type: Input
913
- }], allowGrouping: [{
914
- type: Input
915
- }], enablePersistence: [{
916
- type: Input
917
- }], showFieldList: [{
918
- type: Input
919
- }], showToolbar: [{
920
- type: Input
921
- }], allowExcelExport: [{
922
- type: Input
923
- }], allowPdfExport: [{
924
- type: Input
925
- }], allowConditionalFormatting: [{
926
- type: Input
927
- }], allowNumberFormatting: [{
928
- type: Input
929
- }], allowCalculatedField: [{
930
- type: Input
931
- }], height: [{
932
- type: Input
933
- }], saveReportClick: [{
934
- type: Output
935
- }], loadReportClick: [{
936
- type: Output
937
- }], fetchReportClick: [{
938
- type: Output
939
- }], renameReportClick: [{
940
- type: Output
941
- }], removeReportClick: [{
942
- type: Output
943
- }], newReportClick: [{
944
- type: Output
945
- }], beforeToolbarRenderClick: [{
946
- type: Output
947
- }], enginePopulated: [{
948
- type: Output
949
- }], showClass: [{
950
- type: HostBinding,
951
- args: ["class.co-pivot"]
952
- }] } });
953
-
954
- class CoPivotModule {
955
- }
956
- CoPivotModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: CoPivotModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
957
- CoPivotModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: CoPivotModule, declarations: [CoPivotComponent], imports: [CommonModule,
958
- PivotViewModule], exports: [CoPivotComponent] });
959
- CoPivotModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: CoPivotModule, imports: [[
960
- CommonModule,
961
- PivotViewModule
962
- ]] });
963
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: CoPivotModule, decorators: [{
964
- type: NgModule,
965
- args: [{
966
- imports: [
967
- CommonModule,
968
- PivotViewModule
969
- ],
970
- declarations: [
971
- CoPivotComponent
972
- ],
973
- exports: [
974
- CoPivotComponent
975
- ]
976
- }]
977
- }] });
978
-
979
7
  class StackedLineChartComponent {
980
8
  constructor() {
981
9
  this.chartData = [];
@@ -1028,7 +56,7 @@ StackedLineChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
1028
56
  width: chartWidth,
1029
57
  height: chartHeight}" class="chart"></div>
1030
58
 
1031
- `, isInline: true, directives: [{ type: i1$4.NgxEchartsDirective, selector: "echarts, [echarts]", inputs: ["autoResize", "loadingType", "options", "theme", "loading", "initOpts", "merge", "loadingOpts"], outputs: ["chartInit", "optionsError", "chartClick", "chartDblClick", "chartMouseDown", "chartMouseMove", "chartMouseUp", "chartMouseOver", "chartMouseOut", "chartGlobalOut", "chartContextMenu", "chartLegendSelectChanged", "chartLegendSelected", "chartLegendUnselected", "chartLegendScroll", "chartDataZoom", "chartDataRangeSelected", "chartTimelineChanged", "chartTimelinePlayChanged", "chartRestore", "chartDataViewChanged", "chartMagicTypeChanged", "chartPieSelectChanged", "chartPieSelected", "chartPieUnselected", "chartMapSelectChanged", "chartMapSelected", "chartMapUnselected", "chartAxisAreaSelected", "chartFocusNodeAdjacency", "chartUnfocusNodeAdjacency", "chartBrush", "chartBrushEnd", "chartBrushSelected", "chartRendered", "chartFinished"], exportAs: ["echarts"] }], encapsulation: i0.ViewEncapsulation.None });
59
+ `, isInline: true, directives: [{ type: i1.NgxEchartsDirective, selector: "echarts, [echarts]", inputs: ["autoResize", "loadingType", "options", "theme", "loading", "initOpts", "merge", "loadingOpts"], outputs: ["chartInit", "optionsError", "chartClick", "chartDblClick", "chartMouseDown", "chartMouseMove", "chartMouseUp", "chartMouseOver", "chartMouseOut", "chartGlobalOut", "chartContextMenu", "chartLegendSelectChanged", "chartLegendSelected", "chartLegendUnselected", "chartLegendScroll", "chartDataZoom", "chartDataRangeSelected", "chartTimelineChanged", "chartTimelinePlayChanged", "chartRestore", "chartDataViewChanged", "chartMagicTypeChanged", "chartPieSelectChanged", "chartPieSelected", "chartPieUnselected", "chartMapSelectChanged", "chartMapSelected", "chartMapUnselected", "chartAxisAreaSelected", "chartFocusNodeAdjacency", "chartUnfocusNodeAdjacency", "chartBrush", "chartBrushEnd", "chartBrushSelected", "chartRendered", "chartFinished"], exportAs: ["echarts"] }], encapsulation: i0.ViewEncapsulation.None });
1032
60
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: StackedLineChartComponent, decorators: [{
1033
61
  type: Component,
1034
62
  args: [{
@@ -1064,7 +92,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
1064
92
  class StackedLineChartModule {
1065
93
  }
1066
94
  StackedLineChartModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: StackedLineChartModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1067
- StackedLineChartModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: StackedLineChartModule, declarations: [StackedLineChartComponent], imports: [CommonModule, i1$4.NgxEchartsModule], exports: [StackedLineChartComponent] });
95
+ StackedLineChartModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: StackedLineChartModule, declarations: [StackedLineChartComponent], imports: [CommonModule, i1.NgxEchartsModule], exports: [StackedLineChartComponent] });
1068
96
  StackedLineChartModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: StackedLineChartModule, imports: [[
1069
97
  CommonModule,
1070
98
  NgxEchartsModule.forRoot({
@@ -1197,5 +225,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
1197
225
  * Generated bundle index. Do not edit.
1198
226
  */
1199
227
 
1200
- export { CoGridComponent, CoGridModule, CoKanbanComponent, CoKanbanModule, CoPivotComponent, CoPivotModule, CoScheduleComponent, CoScheduleModule, ExtendedComponentsTranslationModule, ExtendedComponentsTranslationService, StackedLineChartComponent, StackedLineChartModule };
228
+ export { ExtendedComponentsTranslationModule, ExtendedComponentsTranslationService, StackedLineChartComponent, StackedLineChartModule };
1201
229
  //# sourceMappingURL=colijnit-extendedcomponents.js.map