@colijnit/corecomponents_v12 12.0.21 → 12.0.22

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 (73) hide show
  1. package/bundles/colijnit-corecomponents_v12.umd.js +724 -53
  2. package/bundles/colijnit-corecomponents_v12.umd.js.map +1 -1
  3. package/colijnit-corecomponents_v12.d.ts +13 -9
  4. package/colijnit-corecomponents_v12.metadata.json +1 -1
  5. package/esm2015/colijnit-corecomponents_v12.js +14 -10
  6. package/esm2015/lib/components/base/base-input.component.js +4 -2
  7. package/esm2015/lib/components/button/button.component.js +1 -1
  8. package/esm2015/lib/components/carousel-3d/carousel-3d.component.js +2 -6
  9. package/esm2015/lib/components/co-dialog-wizard/co-dialog-wizard.component.js +51 -0
  10. package/esm2015/lib/components/co-dialog-wizard/co-dialog-wizard.module.js +17 -0
  11. package/esm2015/lib/components/drop-down-list/drop-down-list.component.js +4 -1
  12. package/esm2015/lib/components/form/form.component.js +8 -3
  13. package/esm2015/lib/components/grid/base/base-grid.component.js +7 -3
  14. package/esm2015/lib/components/grid/base/base-inline-edit-grid.component.js +48 -3
  15. package/esm2015/lib/components/grid/base/base-selection-grid.component.js +12 -2
  16. package/esm2015/lib/components/grid/co-grid.component.js +36 -32
  17. package/esm2015/lib/components/grid/co-grid.module.js +4 -2
  18. package/esm2015/lib/components/grid-toolbar/grid-toolbar.component.js +41 -0
  19. package/esm2015/lib/components/grid-toolbar/grid-toolbar.module.js +23 -0
  20. package/esm2015/lib/components/input-checkbox/input-checkbox.component.js +4 -1
  21. package/esm2015/lib/components/input-checkbox-multi-select/input-checkbox-multi-select.component.js +4 -1
  22. package/esm2015/lib/components/input-combo-box/input-combo-box.component.js +5 -4
  23. package/esm2015/lib/components/input-date-picker/input-date-picker.component.js +4 -1
  24. package/esm2015/lib/components/input-listbox/input-listbox.component.js +4 -1
  25. package/esm2015/lib/components/input-number-picker/input-number-picker.component.js +4 -1
  26. package/esm2015/lib/components/input-radio-button/input-radio-button.component.js +4 -1
  27. package/esm2015/lib/components/input-text/input-text.component.js +4 -1
  28. package/esm2015/lib/components/input-textarea/input-textarea.component.js +4 -1
  29. package/esm2015/lib/components/multi-select-list/multi-select-list.component.js +4 -1
  30. package/esm2015/lib/components/simple-grid/base-simple-grid.component.js +78 -0
  31. package/esm2015/lib/components/simple-grid/simple-grid-cell.component.js +162 -0
  32. package/esm2015/lib/components/simple-grid/simple-grid-column.directive.js +29 -4
  33. package/esm2015/lib/components/simple-grid/simple-grid.component.js +252 -59
  34. package/esm2015/lib/components/simple-grid/simple-grid.module.js +11 -2
  35. package/esm2015/public-api.js +3 -1
  36. package/fesm2015/colijnit-corecomponents_v12.js +744 -74
  37. package/fesm2015/colijnit-corecomponents_v12.js.map +1 -1
  38. package/lib/components/base/base-input.component.d.ts +1 -1
  39. package/lib/components/co-dialog/style/_layout.scss +3 -0
  40. package/lib/components/co-dialog-wizard/co-dialog-wizard.component.d.ts +9 -0
  41. package/lib/components/co-dialog-wizard/co-dialog-wizard.module.d.ts +2 -0
  42. package/lib/components/co-dialog-wizard/style/_layout.scss +51 -0
  43. package/lib/components/co-dialog-wizard/style/_material-definition.scss +25 -0
  44. package/lib/components/co-dialog-wizard/style/_theme.scss +16 -0
  45. package/lib/components/co-dialog-wizard/style/material.scss +5 -0
  46. package/lib/components/collapsible/style/_layout.scss +1 -1
  47. package/lib/components/collapsible/style/_material-definition.scss +1 -0
  48. package/lib/components/form/form.component.d.ts +1 -0
  49. package/lib/components/grid/base/base-grid.component.d.ts +3 -0
  50. package/lib/components/grid/base/base-inline-edit-grid.component.d.ts +11 -2
  51. package/lib/components/grid/base/base-selection-grid.component.d.ts +4 -0
  52. package/lib/components/grid-toolbar/grid-toolbar.component.d.ts +13 -0
  53. package/lib/components/grid-toolbar/grid-toolbar.module.d.ts +2 -0
  54. package/lib/components/grid-toolbar/style/_layout.scss +10 -0
  55. package/lib/components/grid-toolbar/style/_material-definition.scss +0 -0
  56. package/lib/components/grid-toolbar/style/_theme.scss +5 -0
  57. package/lib/components/grid-toolbar/style/material.scss +5 -0
  58. package/lib/components/input-combo-box/input-combo-box.component.d.ts +0 -1
  59. package/lib/components/input-radio-button/style/_material-definition.scss +1 -1
  60. package/lib/components/input-text/style/_layout.scss +10 -3
  61. package/lib/components/input-text/style/_material-definition.scss +1 -0
  62. package/lib/components/simple-grid/base-simple-grid.component.d.ts +29 -0
  63. package/lib/components/simple-grid/simple-grid-cell.component.d.ts +28 -0
  64. package/lib/components/simple-grid/simple-grid-column.directive.d.ts +9 -0
  65. package/lib/components/simple-grid/simple-grid.component.d.ts +37 -22
  66. package/lib/components/simple-grid/style/_layout.scss +23 -0
  67. package/lib/components/simple-grid/style/_material-definition.scss +13 -4
  68. package/lib/components/simple-grid/style/_theme.scss +17 -0
  69. package/lib/components/simple-grid/style/material.scss +1 -0
  70. package/lib/style/_input.mixins.scss +1 -1
  71. package/lib/style/_variables.scss +5 -1
  72. package/package.json +1 -1
  73. package/public-api.d.ts +2 -0
@@ -1,8 +1,8 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@angular/common/http'), require('@angular/platform-browser'), require('rxjs'), require('rxjs/operators'), require('@syncfusion/ej2-angular-splitbuttons'), require('@angular/animations'), require('@syncfusion/ej2-angular-popups'), require('@syncfusion/ej2-angular-kanban'), require('@syncfusion/ej2-angular-schedule'), require('@syncfusion/ej2-angular-navigations'), require('@syncfusion/ej2-angular-buttons'), require('@angular/forms'), require('@syncfusion/ej2-angular-dropdowns'), require('@syncfusion/ej2-angular-grids'), require('@syncfusion/ej2-base'), require('@syncfusion/ej2-angular-calendars'), require('@syncfusion/ej2-angular-inputs'), require('@syncfusion/ej2-angular-pivotview'), require('@angular/cdk/overlay'), require('@angular/cdk/portal'), require('@syncfusion/ej2-angular-richtexteditor'), require('@angular/cdk/drag-drop'), require('three'), require('three/examples/jsm/renderers/CSS3DRenderer'), require('@tweenjs/tween.js')) :
3
- typeof define === 'function' && define.amd ? define('@colijnit/corecomponents_v12', ['exports', '@angular/core', '@angular/common', '@angular/common/http', '@angular/platform-browser', 'rxjs', 'rxjs/operators', '@syncfusion/ej2-angular-splitbuttons', '@angular/animations', '@syncfusion/ej2-angular-popups', '@syncfusion/ej2-angular-kanban', '@syncfusion/ej2-angular-schedule', '@syncfusion/ej2-angular-navigations', '@syncfusion/ej2-angular-buttons', '@angular/forms', '@syncfusion/ej2-angular-dropdowns', '@syncfusion/ej2-angular-grids', '@syncfusion/ej2-base', '@syncfusion/ej2-angular-calendars', '@syncfusion/ej2-angular-inputs', '@syncfusion/ej2-angular-pivotview', '@angular/cdk/overlay', '@angular/cdk/portal', '@syncfusion/ej2-angular-richtexteditor', '@angular/cdk/drag-drop', 'three', 'three/examples/jsm/renderers/CSS3DRenderer', '@tweenjs/tween.js'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.colijnit = global.colijnit || {}, global.colijnit.corecomponents_v12 = {}), global.ng.core, global.ng.common, global.ng.common.http, global.ng.platformBrowser, global.rxjs, global.rxjs.operators, global.ej2AngularSplitbuttons, global.ng.animations, global.ej2AngularPopups, global.ej2AngularKanban, global.ej2AngularSchedule, global.ej2AngularNavigations, global.ej2AngularButtons, global.ng.forms, global.ej2AngularDropdowns, global.ej2AngularGrids, global.ej2Base, global.ej2AngularCalendars, global.ej2AngularInputs, global.ej2AngularPivotview, global.ng.cdk.overlay, global.ng.cdk.portal, global.ej2AngularRichtexteditor, global.ng.cdk.dragDrop, global.three, global.CSS3DRenderer, global.TWEEN));
5
- })(this, (function (exports, core, common, http, platformBrowser, rxjs, operators, ej2AngularSplitbuttons, animations, ej2AngularPopups, ej2AngularKanban, ej2AngularSchedule, ej2AngularNavigations, ej2AngularButtons, forms, ej2AngularDropdowns, ej2AngularGrids, ej2Base, ej2AngularCalendars, ej2AngularInputs, ej2AngularPivotview, overlay, portal, ej2AngularRichtexteditor, dragDrop, three, CSS3DRenderer, TWEEN) { 'use strict';
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@angular/common/http'), require('@angular/platform-browser'), require('rxjs'), require('rxjs/operators'), require('@syncfusion/ej2-angular-splitbuttons'), require('@angular/animations'), require('@syncfusion/ej2-angular-popups'), require('@syncfusion/ej2-angular-kanban'), require('@syncfusion/ej2-angular-schedule'), require('@syncfusion/ej2-angular-navigations'), require('@syncfusion/ej2-angular-buttons'), require('@angular/forms'), require('@syncfusion/ej2-angular-dropdowns'), require('@syncfusion/ej2-angular-grids'), require('rxjs/internal/observable/fromEvent'), require('@syncfusion/ej2-base'), require('@syncfusion/ej2-angular-calendars'), require('@syncfusion/ej2-angular-inputs'), require('@syncfusion/ej2-angular-pivotview'), require('@angular/cdk/overlay'), require('@angular/cdk/portal'), require('@syncfusion/ej2-angular-richtexteditor'), require('@angular/cdk/drag-drop'), require('three'), require('three/examples/jsm/renderers/CSS3DRenderer'), require('@tweenjs/tween.js')) :
3
+ typeof define === 'function' && define.amd ? define('@colijnit/corecomponents_v12', ['exports', '@angular/core', '@angular/common', '@angular/common/http', '@angular/platform-browser', 'rxjs', 'rxjs/operators', '@syncfusion/ej2-angular-splitbuttons', '@angular/animations', '@syncfusion/ej2-angular-popups', '@syncfusion/ej2-angular-kanban', '@syncfusion/ej2-angular-schedule', '@syncfusion/ej2-angular-navigations', '@syncfusion/ej2-angular-buttons', '@angular/forms', '@syncfusion/ej2-angular-dropdowns', '@syncfusion/ej2-angular-grids', 'rxjs/internal/observable/fromEvent', '@syncfusion/ej2-base', '@syncfusion/ej2-angular-calendars', '@syncfusion/ej2-angular-inputs', '@syncfusion/ej2-angular-pivotview', '@angular/cdk/overlay', '@angular/cdk/portal', '@syncfusion/ej2-angular-richtexteditor', '@angular/cdk/drag-drop', 'three', 'three/examples/jsm/renderers/CSS3DRenderer', '@tweenjs/tween.js'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.colijnit = global.colijnit || {}, global.colijnit.corecomponents_v12 = {}), global.ng.core, global.ng.common, global.ng.common.http, global.ng.platformBrowser, global.rxjs, global.rxjs.operators, global.ej2AngularSplitbuttons, global.ng.animations, global.ej2AngularPopups, global.ej2AngularKanban, global.ej2AngularSchedule, global.ej2AngularNavigations, global.ej2AngularButtons, global.ng.forms, global.ej2AngularDropdowns, global.ej2AngularGrids, global.rxjs["internal/observable/fromEvent"], global.ej2Base, global.ej2AngularCalendars, global.ej2AngularInputs, global.ej2AngularPivotview, global.ng.cdk.overlay, global.ng.cdk.portal, global.ej2AngularRichtexteditor, global.ng.cdk.dragDrop, global.three, global.CSS3DRenderer, global.TWEEN));
5
+ })(this, (function (exports, core, common, http, platformBrowser, rxjs, operators, ej2AngularSplitbuttons, animations, ej2AngularPopups, ej2AngularKanban, ej2AngularSchedule, ej2AngularNavigations, ej2AngularButtons, forms, ej2AngularDropdowns, ej2AngularGrids, fromEvent, ej2Base, ej2AngularCalendars, ej2AngularInputs, ej2AngularPivotview, overlay, portal, ej2AngularRichtexteditor, dragDrop, three, CSS3DRenderer, TWEEN) { 'use strict';
6
6
 
7
7
  function _interopNamespace(e) {
8
8
  if (e && e.__esModule) return e;
@@ -2677,6 +2677,56 @@
2677
2677
  },] }
2678
2678
  ];
2679
2679
 
2680
+ var CoDialogWizardComponent = /** @class */ (function () {
2681
+ function CoDialogWizardComponent() {
2682
+ this.icons = exports.CoreComponentsIcon;
2683
+ this.showCloseIcon = true;
2684
+ this.animation = true;
2685
+ this.closeClick = new core.EventEmitter();
2686
+ }
2687
+ CoDialogWizardComponent.prototype.showClass = function () {
2688
+ return true;
2689
+ };
2690
+ return CoDialogWizardComponent;
2691
+ }());
2692
+ CoDialogWizardComponent.decorators = [
2693
+ { type: core.Component, args: [{
2694
+ selector: 'co-dialog-wizard',
2695
+ template: "\n <div class=\"co-dialog-wizard-wrapper\" [@showHideDialog]=\"animation\">\n <div class=\"dialog-header\">\n <ng-content select=\"[header]\"></ng-content>\n <div class=\"dialog-close-button\" *ngIf=\"showCloseIcon\" (click)=\"closeClick.emit($event)\">\n <co-icon [icon]=\"icons.Cancel\"></co-icon>\n </div>\n </div>\n\n <hr class=\"co-dialog-wizard-divider\">\n\n <div class=\"dialog-content\">\n <ng-content></ng-content>\n </div>\n </div>\n ",
2696
+ animations: [
2697
+ animations.trigger('showHideDialog', [
2698
+ animations.state('*', animations.style({ opacity: 1 })),
2699
+ animations.state('void', animations.style({ opacity: 0 })),
2700
+ animations.transition('void => *', animations.animate('200ms 200ms')),
2701
+ animations.transition('* => void', animations.animate(200))
2702
+ ])
2703
+ ],
2704
+ encapsulation: core.ViewEncapsulation.None
2705
+ },] }
2706
+ ];
2707
+ CoDialogWizardComponent.propDecorators = {
2708
+ showCloseIcon: [{ type: core.Input }],
2709
+ animation: [{ type: core.Input }],
2710
+ closeClick: [{ type: core.Output }],
2711
+ showClass: [{ type: core.HostBinding, args: ["class.co-dialog-wizard",] }]
2712
+ };
2713
+
2714
+ var CoDialogWizardModule = /** @class */ (function () {
2715
+ function CoDialogWizardModule() {
2716
+ }
2717
+ return CoDialogWizardModule;
2718
+ }());
2719
+ CoDialogWizardModule.decorators = [
2720
+ { type: core.NgModule, args: [{
2721
+ imports: [
2722
+ common.CommonModule,
2723
+ IconModule
2724
+ ],
2725
+ declarations: [CoDialogWizardComponent],
2726
+ exports: [CoDialogWizardComponent]
2727
+ },] }
2728
+ ];
2729
+
2680
2730
  var CoKanbanComponent = /** @class */ (function () {
2681
2731
  function CoKanbanComponent() {
2682
2732
  this.allowDragAndDrop = true;
@@ -3616,7 +3666,9 @@
3616
3666
  return false;
3617
3667
  }
3618
3668
  _this.focused = false;
3619
- _this.input.blur();
3669
+ if (_this.input) {
3670
+ _this.input.blur();
3671
+ }
3620
3672
  _this.blur.next();
3621
3673
  }, 200);
3622
3674
  };
@@ -4118,6 +4170,7 @@
4118
4170
  function FormComponent(_formMaster) {
4119
4171
  this._formMaster = _formMaster;
4120
4172
  this.onChange = new core.EventEmitter();
4173
+ this.showClass = true;
4121
4174
  this.submitted = false;
4122
4175
  // Emits true after every valid submit.
4123
4176
  this.validSubmit = new core.EventEmitter();
@@ -4271,7 +4324,8 @@
4271
4324
  FormComponent.decorators = [
4272
4325
  { type: core.Component, args: [{
4273
4326
  selector: "co-form",
4274
- template: "<ng-content></ng-content>"
4327
+ template: "\n <ng-content></ng-content>\n ",
4328
+ encapsulation: core.ViewEncapsulation.None
4275
4329
  },] }
4276
4330
  ];
4277
4331
  FormComponent.ctorParameters = function () { return [
@@ -4281,6 +4335,7 @@
4281
4335
  readonly: [{ type: core.Input }],
4282
4336
  keepInView: [{ type: core.Input }],
4283
4337
  onChange: [{ type: core.Output }],
4338
+ showClass: [{ type: core.HostBinding, args: ["class.co-form",] }],
4284
4339
  submitted: [{ type: core.HostBinding, args: ["class.submitted",] }],
4285
4340
  validSubmit: [{ type: core.Output }],
4286
4341
  anySubmit: [{ type: core.Output }],
@@ -4326,6 +4381,9 @@
4326
4381
  {
4327
4382
  provide: COMPONENT_INTERFACE_NAME,
4328
4383
  useExisting: core.forwardRef(function () { return DropDownListComponent; })
4384
+ }, {
4385
+ provide: BaseInputComponent,
4386
+ useExisting: DropDownListComponent
4329
4387
  }
4330
4388
  ],
4331
4389
  encapsulation: core.ViewEncapsulation.None
@@ -4400,7 +4458,8 @@
4400
4458
  })(GridLines || (GridLines = {}));
4401
4459
 
4402
4460
  var BaseGridComponent = /** @class */ (function () {
4403
- function BaseGridComponent() {
4461
+ function BaseGridComponent(element) {
4462
+ this.element = element;
4404
4463
  this.gridLines = GridLines.None;
4405
4464
  this.contextMenuItems = [];
4406
4465
  this.sortingEnabled = false;
@@ -4437,6 +4496,9 @@
4437
4496
  BaseGridComponent.decorators = [
4438
4497
  { type: core.Directive }
4439
4498
  ];
4499
+ BaseGridComponent.ctorParameters = function () { return [
4500
+ { type: core.ElementRef }
4501
+ ]; };
4440
4502
  BaseGridComponent.propDecorators = {
4441
4503
  grid: [{ type: core.ViewChild, args: ['grid', { static: false },] }],
4442
4504
  data: [{ type: core.Input }],
@@ -4575,6 +4637,10 @@
4575
4637
  function BaseInlineEditGridComponent() {
4576
4638
  var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
4577
4639
  _this.rowSaved = new core.EventEmitter();
4640
+ _this.beforeRowDelete = new core.EventEmitter(false);
4641
+ _this.rowDeleted = new core.EventEmitter();
4642
+ _this.actionBeginObservable$ = new rxjs.Observable();
4643
+ _this.actionBeginObservableSub = new rxjs.Subscription();
4578
4644
  return _this;
4579
4645
  }
4580
4646
  Object.defineProperty(BaseInlineEditGridComponent.prototype, "inlineEdit", {
@@ -4594,13 +4660,61 @@
4594
4660
  enumerable: false,
4595
4661
  configurable: true
4596
4662
  });
4663
+ BaseInlineEditGridComponent.prototype.ngAfterViewInit = function () {
4664
+ var _this = this;
4665
+ if (this.grid) {
4666
+ this.actionBeginObservable$ = fromEvent.fromEvent(this.grid, 'actionBegin');
4667
+ this.actionBeginObservableSub = this.actionBeginObservable$.subscribe(function (action) {
4668
+ _this.handleActionBegin(action);
4669
+ });
4670
+ }
4671
+ };
4672
+ BaseInlineEditGridComponent.prototype.ngOnDestroy = function () {
4673
+ this.actionBeginObservableSub.unsubscribe();
4674
+ };
4675
+ BaseInlineEditGridComponent.prototype.handleActionBegin = function (action) {
4676
+ return __awaiter(this, void 0, void 0, function () {
4677
+ return __generator(this, function (_a) {
4678
+ switch (_a.label) {
4679
+ case 0:
4680
+ if (!action) return [3 /*break*/, 3];
4681
+ if (!(action.requestType === "delete")) return [3 /*break*/, 2];
4682
+ return [4 /*yield*/, this.waitForBeforeDelete(action)];
4683
+ case 1:
4684
+ _a.sent();
4685
+ _a.label = 2;
4686
+ case 2:
4687
+ if (action.requestType === "save") {
4688
+ this.rowSaved.next(action.data);
4689
+ }
4690
+ _a.label = 3;
4691
+ case 3: return [2 /*return*/];
4692
+ }
4693
+ });
4694
+ });
4695
+ };
4597
4696
  BaseInlineEditGridComponent.prototype.handleActionComplete = function (action) {
4598
4697
  if (action) {
4698
+ if (action.requestType === "delete") {
4699
+ this.rowDeleted.next(action.data);
4700
+ }
4599
4701
  if (action.requestType === "save") {
4600
4702
  this.rowSaved.next(action.data);
4601
4703
  }
4602
4704
  }
4603
4705
  };
4706
+ BaseInlineEditGridComponent.prototype.waitForBeforeDelete = function (action) {
4707
+ var _this = this;
4708
+ // @ts-ignore
4709
+ var beforeRowDelete$ = fromEvent.fromEvent(this.element, 'beforeRowDelete');
4710
+ return new Promise(function (resolve) {
4711
+ beforeRowDelete$.subscribe(function (result) {
4712
+ action = result;
4713
+ return resolve(action);
4714
+ }).unsubscribe();
4715
+ _this.beforeRowDelete.next(action);
4716
+ });
4717
+ };
4604
4718
  return BaseInlineEditGridComponent;
4605
4719
  }(BaseToolbarGridComponent));
4606
4720
  BaseInlineEditGridComponent.decorators = [
@@ -4608,7 +4722,9 @@
4608
4722
  ];
4609
4723
  BaseInlineEditGridComponent.propDecorators = {
4610
4724
  inlineEdit: [{ type: core.Input }],
4611
- rowSaved: [{ type: core.Output }]
4725
+ rowSaved: [{ type: core.Output }],
4726
+ beforeRowDelete: [{ type: core.Output }],
4727
+ rowDeleted: [{ type: core.Output }]
4612
4728
  };
4613
4729
  __decorate([
4614
4730
  InputBoolean()
@@ -4626,6 +4742,8 @@
4626
4742
  _this.contextMenuItemClick = new core.EventEmitter();
4627
4743
  _this.rowDragStartEvent = new core.EventEmitter();
4628
4744
  _this.rowDropEvent = new core.EventEmitter();
4745
+ _this.beforeRowsDelete = new core.EventEmitter();
4746
+ _this.rowsDeleted = new core.EventEmitter();
4629
4747
  _this.selectionOptions = { type: "Single" };
4630
4748
  return _this;
4631
4749
  }
@@ -4677,6 +4795,12 @@
4677
4795
  BaseSelectionGridComponent.prototype.rowDropClick = function (args) {
4678
4796
  this.rowDropEvent.next(args);
4679
4797
  };
4798
+ BaseSelectionGridComponent.prototype.handleBeforeBatchDelete = function (args) {
4799
+ this.beforeRowsDelete.next(args);
4800
+ };
4801
+ BaseSelectionGridComponent.prototype.handleBatchDelete = function (rows) {
4802
+ this.rowsDeleted.next(rows);
4803
+ };
4680
4804
  return BaseSelectionGridComponent;
4681
4805
  }(BaseInlineEditGridComponent));
4682
4806
  BaseSelectionGridComponent.decorators = [
@@ -4691,7 +4815,9 @@
4691
4815
  detailColumnClick: [{ type: core.Output }],
4692
4816
  contextMenuItemClick: [{ type: core.Output }],
4693
4817
  rowDragStartEvent: [{ type: core.Output }],
4694
- rowDropEvent: [{ type: core.Output }]
4818
+ rowDropEvent: [{ type: core.Output }],
4819
+ beforeRowsDelete: [{ type: core.Output }],
4820
+ rowsDeleted: [{ type: core.Output }]
4695
4821
  };
4696
4822
  __decorate([
4697
4823
  InputBoolean()
@@ -4716,7 +4842,7 @@
4716
4842
  CoGridComponent.decorators = [
4717
4843
  { type: core.Component, args: [{
4718
4844
  selector: 'co-grid',
4719
- template: "\n <ejs-grid #grid id=\"grid\"\n [dataSource]=\"data\"\n [columns]=\"columns\"\n [contextMenuItems]=\"contextMenuItems\"\n [pageSettings]=\"pageSettings\"\n [toolbar]=\"toolbarOptions\"\n [gridLines]=\"gridLines\"\n [frozenColumns]=\"frozenColumns\"\n [frozenRows]=\"frozenRows\"\n [selectionSettings]=\"selectionOptions\"\n [editSettings]=\"editSettings\"\n [allowPaging]=\"pagingEnabled\"\n [allowSorting]=\"sortingEnabled\"\n [allowFiltering]=\"filteringEnabled\"\n [allowGrouping]=\"groupingEnabled\"\n [allowReordering]=\"reorderingEnabled\"\n [allowResizing]=\"resizingEnabled\"\n [allowRowDragAndDrop]=\"rowDragAndDropEnabled\"\n [showColumnMenu]=\"showColumnMenu\"\n [showColumnChooser]=\"showColumnChooser\"\n [allowExcelExport]=\"exportExcelEnabled\"\n [allowPdfExport]=\"exportPdfEnabled\"\n (toolbarClick)=\"toolbarClick($event)\"\n (rowSelected)=\"handleRowSelected($event)\"\n (recordDoubleClick)=\"handleDoubleClick($event)\"\n (recordClick)=\"handleRecordClick($event)\"\n (actionComplete)=\"handleActionComplete($event)\"\n (contextMenuClick)=\"contextMenuClick($event)\"\n (rowDragStart)=\"rowDragStartClick($event)\"\n (rowDrop)=\"rowDropClick($event)\">\n </ejs-grid>\n ",
4845
+ template: "\n <co-grid-toolbar></co-grid-toolbar>\n <ejs-grid #grid id=\"grid\"\n [dataSource]=\"data\"\n [columns]=\"columns\"\n [contextMenuItems]=\"contextMenuItems\"\n [pageSettings]=\"pageSettings\"\n [toolbar]=\"toolbarOptions\"\n [gridLines]=\"gridLines\"\n [frozenColumns]=\"frozenColumns\"\n [frozenRows]=\"frozenRows\"\n [selectionSettings]=\"selectionOptions\"\n [editSettings]=\"editSettings\"\n [allowPaging]=\"pagingEnabled\"\n [allowSorting]=\"sortingEnabled\"\n [allowFiltering]=\"filteringEnabled\"\n [allowGrouping]=\"groupingEnabled\"\n [allowReordering]=\"reorderingEnabled\"\n [allowResizing]=\"resizingEnabled\"\n [allowRowDragAndDrop]=\"rowDragAndDropEnabled\"\n [showColumnMenu]=\"showColumnMenu\"\n [showColumnChooser]=\"showColumnChooser\"\n [allowExcelExport]=\"exportExcelEnabled\"\n [allowPdfExport]=\"exportPdfEnabled\"\n (toolbarClick)=\"toolbarClick($event)\"\n (rowSelected)=\"handleRowSelected($event)\"\n (recordDoubleClick)=\"handleDoubleClick($event)\"\n (recordClick)=\"handleRecordClick($event)\"\n (actionComplete)=\"handleActionComplete($event)\"\n (contextMenuClick)=\"contextMenuClick($event)\"\n (rowDragStart)=\"rowDragStartClick($event)\"\n (rowDrop)=\"rowDropClick($event)\"\n (beforeBatchDelete)=\"handleBeforeBatchDelete($event)\"\n (batchDelete)=\"handleBatchDelete($event)\"\n >\n </ejs-grid>\n ",
4720
4846
  providers: [
4721
4847
  ej2AngularGrids.RowDDService
4722
4848
  ],
@@ -4727,6 +4853,59 @@
4727
4853
  showClass: [{ type: core.HostBinding, args: ['class.co-grid',] }]
4728
4854
  };
4729
4855
 
4856
+ var GridToolbarComponent = /** @class */ (function () {
4857
+ function GridToolbarComponent(iconsService) {
4858
+ this.iconsService = iconsService;
4859
+ this.icons = exports.CoreComponentsIcon;
4860
+ this.editClick = new core.EventEmitter();
4861
+ this.cancelClick = new core.EventEmitter();
4862
+ this.saveClick = new core.EventEmitter();
4863
+ this.addClick = new core.EventEmitter();
4864
+ }
4865
+ GridToolbarComponent.prototype.showClass = function () {
4866
+ return true;
4867
+ };
4868
+ return GridToolbarComponent;
4869
+ }());
4870
+ GridToolbarComponent.decorators = [
4871
+ { type: core.Component, args: [{
4872
+ selector: "co-grid-toolbar",
4873
+ template: "\n <div class=\"grid-toolbar-wrapper\">\n <co-button [iconData]=\"iconsService.getIcon(icons.AddToCartDrop)\" [label]=\"'edit'\" (click)=\"editClick.emit($event)\"></co-button>\n <co-button [iconData]=\"iconsService.getIcon(icons.AddToCartDrop)\" [label]=\"'cancel'\" (click)=\"cancelClick.emit()\"></co-button>\n <co-button [iconData]=\"iconsService.getIcon(icons.AddToCartDrop)\" [label]=\"'save'\" (click)=\"saveClick.emit()\"></co-button>\n <co-button [iconData]=\"iconsService.getIcon(icons.AddToCartDrop)\" [label]=\"'add'\" (click)=\"addClick.emit()\"></co-button>\n </div>\n ",
4874
+ encapsulation: core.ViewEncapsulation.None
4875
+ },] }
4876
+ ];
4877
+ GridToolbarComponent.ctorParameters = function () { return [
4878
+ { type: IconCacheService }
4879
+ ]; };
4880
+ GridToolbarComponent.propDecorators = {
4881
+ editClick: [{ type: core.Output }],
4882
+ cancelClick: [{ type: core.Output }],
4883
+ saveClick: [{ type: core.Output }],
4884
+ addClick: [{ type: core.Output }],
4885
+ showClass: [{ type: core.HostBinding, args: ["class.co-grid-toolbar",] }]
4886
+ };
4887
+
4888
+ ej2Base.enableRipple(true);
4889
+ var GridToolbarModule = /** @class */ (function () {
4890
+ function GridToolbarModule() {
4891
+ }
4892
+ return GridToolbarModule;
4893
+ }());
4894
+ GridToolbarModule.decorators = [
4895
+ { type: core.NgModule, args: [{
4896
+ imports: [
4897
+ IconModule,
4898
+ ButtonModule
4899
+ ],
4900
+ declarations: [
4901
+ GridToolbarComponent
4902
+ ],
4903
+ exports: [
4904
+ GridToolbarComponent
4905
+ ]
4906
+ },] }
4907
+ ];
4908
+
4730
4909
  var CoGridModule = /** @class */ (function () {
4731
4910
  function CoGridModule() {
4732
4911
  }
@@ -4737,7 +4916,8 @@
4737
4916
  imports: [
4738
4917
  common.CommonModule,
4739
4918
  forms.FormsModule,
4740
- ej2AngularGrids.GridModule
4919
+ ej2AngularGrids.GridModule,
4920
+ GridToolbarModule
4741
4921
  ],
4742
4922
  declarations: [CoGridComponent],
4743
4923
  exports: [CoGridComponent],
@@ -4795,6 +4975,9 @@
4795
4975
  providers: [{
4796
4976
  provide: COMPONENT_INTERFACE_NAME,
4797
4977
  useExisting: core.forwardRef(function () { return InputCheckboxComponent; })
4978
+ }, {
4979
+ provide: BaseInputComponent,
4980
+ useExisting: InputCheckboxComponent
4798
4981
  }],
4799
4982
  changeDetection: core.ChangeDetectionStrategy.OnPush,
4800
4983
  encapsulation: core.ViewEncapsulation.None
@@ -4896,6 +5079,9 @@
4896
5079
  providers: [{
4897
5080
  provide: COMPONENT_INTERFACE_NAME,
4898
5081
  useExisting: core.forwardRef(function () { return InputCheckboxMultiSelectComponent; })
5082
+ }, {
5083
+ provide: BaseInputComponent,
5084
+ useExisting: InputCheckboxMultiSelectComponent
4899
5085
  }],
4900
5086
  changeDetection: core.ChangeDetectionStrategy.OnPush,
4901
5087
  encapsulation: core.ViewEncapsulation.None
@@ -4949,7 +5135,6 @@
4949
5135
  _this.ngZoneWrapper = ngZoneWrapper;
4950
5136
  _this.elementRef = elementRef;
4951
5137
  _this.shopPopup = true;
4952
- _this.customHeight = true;
4953
5138
  _super.prototype._markAsOnPush.call(_this);
4954
5139
  return _this;
4955
5140
  }
@@ -4970,6 +5155,9 @@
4970
5155
  providers: [{
4971
5156
  provide: COMPONENT_INTERFACE_NAME,
4972
5157
  useExisting: core.forwardRef(function () { return InputComboBoxComponent; })
5158
+ }, {
5159
+ provide: BaseInputComponent,
5160
+ useExisting: InputComboBoxComponent
4973
5161
  }],
4974
5162
  encapsulation: core.ViewEncapsulation.None
4975
5163
  },] }
@@ -4989,8 +5177,7 @@
4989
5177
  selected: [{ type: core.Input }],
4990
5178
  placeholder: [{ type: core.Input }],
4991
5179
  shopPopup: [{ type: core.Input }],
4992
- showClass: [{ type: core.HostBinding, args: ["class.co-input-combo-box",] }],
4993
- customHeight: [{ type: core.HostBinding, args: ["class.custom-height",] }]
5180
+ showClass: [{ type: core.HostBinding, args: ["class.co-input-combo-box",] }]
4994
5181
  };
4995
5182
 
4996
5183
  var InputComboBoxModule = /** @class */ (function () {
@@ -5072,6 +5259,9 @@
5072
5259
  template: "\n <ejs-datepicker #ejsDatePicker\n floatLabelType=\"Auto\"\n [format]=\"dateFormat\"\n [placeholder]=\"placeholder\"\n [ngModel]=\"model\"\n (ngModelChange)=\"modelChange.emit($event)\"\n ></ejs-datepicker>\n <div class=\"required-indicator\"></div>\n <ng-template #validationError></ng-template>\n ",
5073
5260
  providers: [{
5074
5261
  provide: COMPONENT_INTERFACE_NAME, useExisting: core.forwardRef(function () { return InputDatePickerComponent; })
5262
+ }, {
5263
+ provide: BaseInputComponent,
5264
+ useExisting: InputDatePickerComponent
5075
5265
  }],
5076
5266
  encapsulation: core.ViewEncapsulation.None
5077
5267
  },] }
@@ -5479,6 +5669,9 @@
5479
5669
  providers: [{
5480
5670
  provide: COMPONENT_INTERFACE_NAME,
5481
5671
  useExisting: core.forwardRef(function () { return InputTextComponent; })
5672
+ }, {
5673
+ provide: BaseInputComponent,
5674
+ useExisting: InputTextComponent
5482
5675
  }],
5483
5676
  animations: [
5484
5677
  animations.trigger('showHideSaveCancel', [
@@ -5770,6 +5963,9 @@
5770
5963
  template: "\n <div class=\"button-wrapper\">\n <co-button *ngIf=\"showButtons\" class=\"minus-operator circle\" [class.select]=\"minSelected\"\n [disabled]=\"readonly\"\n [iconData]=\"iconCacheService.getIcon(minusIcon)\"\n (mousedown)=\"onMinusMouseDown($event)\"\n (mouseup)=\"stopAutoCounting()\" (mouseleave)=\"stopAutoCounting()\"></co-button>\n </div>\n <input type=\"text\"\n [ngModel]=\"numberLogic.valueAsSting\"\n [readonly]=\"readonly\"\n [disabled]=\"disabled\"\n [required]=\"required\"\n (keydown)=\"handleKeyDown($event)\"/>\n <div class=\"button-wrapper\">\n <co-button *ngIf=\"showButtons\" class=\"plus-operator circle\" [class.select]=\"plusSelected\"\n [disabled]=\"readonly\"\n [iconData]=\"iconCacheService.getIcon(plusIcon)\"\n (mousedown)=\"onPlusMouseDown($event)\"\n (mouseup)=\"stopAutoCounting()\" (mouseleave)=\"stopAutoCounting()\"></co-button>\n </div>\n ",
5771
5964
  providers: [{
5772
5965
  provide: COMPONENT_INTERFACE_NAME, useExisting: core.forwardRef(function () { return InputNumberPickerComponent; })
5966
+ }, {
5967
+ provide: BaseInputComponent,
5968
+ useExisting: InputNumberPickerComponent
5773
5969
  }],
5774
5970
  changeDetection: core.ChangeDetectionStrategy.OnPush,
5775
5971
  encapsulation: core.ViewEncapsulation.None
@@ -5896,6 +6092,9 @@
5896
6092
  template: "\n <ejs-radiobutton\n [label]=\"label\"\n [name]=\"name\"\n [value]=\"value\"\n [checked]=\"checked\"\n (change)=\"handleModelChange($event)\"\n ></ejs-radiobutton>\n ",
5897
6093
  providers: [{
5898
6094
  provide: COMPONENT_INTERFACE_NAME, useExisting: core.forwardRef(function () { return InputRadioButtonComponent; })
6095
+ }, {
6096
+ provide: BaseInputComponent,
6097
+ useExisting: InputRadioButtonComponent
5899
6098
  }],
5900
6099
  changeDetection: core.ChangeDetectionStrategy.OnPush,
5901
6100
  encapsulation: core.ViewEncapsulation.None
@@ -5964,6 +6163,9 @@
5964
6163
  providers: [{
5965
6164
  provide: COMPONENT_INTERFACE_NAME,
5966
6165
  useExisting: core.forwardRef(function () { return InputTextareaComponent; })
6166
+ }, {
6167
+ provide: BaseInputComponent,
6168
+ useExisting: InputTextareaComponent
5967
6169
  }],
5968
6170
  encapsulation: core.ViewEncapsulation.None
5969
6171
  },] }
@@ -6055,6 +6257,9 @@
6055
6257
  {
6056
6258
  provide: COMPONENT_INTERFACE_NAME,
6057
6259
  useExisting: core.forwardRef(function () { return MultiSelectListComponent; })
6260
+ }, {
6261
+ provide: BaseInputComponent,
6262
+ useExisting: MultiSelectListComponent
6058
6263
  }
6059
6264
  ],
6060
6265
  encapsulation: core.ViewEncapsulation.None
@@ -7639,6 +7844,9 @@
7639
7844
  template: "\n <div class=\"co-input-listbox-header\" [textContent]=\"placeholder\"></div>\n <div class=\"co-input-listbox-content\">\n <ejs-listbox\n [ngModel]=\"value\"\n [dataSource]=\"collection\"\n [fields]=\"fields\"\n [selectionSettings]=\"selectionSettings\"\n (ngModelChange)=\"modelChange.emit($event)\"\n ></ejs-listbox>\n </div>\n <div class=\"required-indicator\"></div>\n <ng-template #validationError></ng-template>\n ",
7640
7845
  providers: [{
7641
7846
  provide: COMPONENT_INTERFACE_NAME, useExisting: core.forwardRef(function () { return InputListboxComponent; })
7847
+ }, {
7848
+ provide: BaseInputComponent,
7849
+ useExisting: InputListboxComponent
7642
7850
  }],
7643
7851
  encapsulation: core.ViewEncapsulation.None
7644
7852
  },] }
@@ -7694,6 +7902,8 @@
7694
7902
  var SimpleGridColumnDirective = /** @class */ (function () {
7695
7903
  function SimpleGridColumnDirective() {
7696
7904
  this.resizable = true;
7905
+ this.required = false;
7906
+ this.readonly = false;
7697
7907
  }
7698
7908
  Object.defineProperty(SimpleGridColumnDirective.prototype, "template", {
7699
7909
  get: function () {
@@ -7707,6 +7917,28 @@
7707
7917
  enumerable: false,
7708
7918
  configurable: true
7709
7919
  });
7920
+ Object.defineProperty(SimpleGridColumnDirective.prototype, "editTemplate", {
7921
+ get: function () {
7922
+ return this._editTemplate;
7923
+ },
7924
+ set: function (template) {
7925
+ if (template) {
7926
+ this._editTemplate = template;
7927
+ }
7928
+ },
7929
+ enumerable: false,
7930
+ configurable: true
7931
+ });
7932
+ SimpleGridColumnDirective.prototype.getFieldValue = function (value) {
7933
+ var _this = this;
7934
+ if (this.collection && this.displayField) {
7935
+ var result = this.collection.find(function (c) { return c[_this.codeField] === value; });
7936
+ if (result) {
7937
+ return result[this.displayField];
7938
+ }
7939
+ }
7940
+ return value;
7941
+ };
7710
7942
  return SimpleGridColumnDirective;
7711
7943
  }());
7712
7944
  SimpleGridColumnDirective._MinManualResizeWidthPx = 50;
@@ -7716,39 +7948,46 @@
7716
7948
  },] }
7717
7949
  ];
7718
7950
  SimpleGridColumnDirective.propDecorators = {
7719
- template: [{ type: core.ContentChild, args: [core.TemplateRef,] }],
7951
+ template: [{ type: core.ContentChild, args: ['template',] }],
7952
+ editTemplate: [{ type: core.ContentChild, args: ['editTemplate',] }],
7720
7953
  headerText: [{ type: core.Input }],
7721
7954
  field: [{ type: core.Input }],
7955
+ codeField: [{ type: core.Input }],
7956
+ displayField: [{ type: core.Input }],
7722
7957
  textAlign: [{ type: core.Input }],
7723
7958
  format: [{ type: core.Input }],
7724
7959
  resizable: [{ type: core.Input }],
7725
- width: [{ type: core.Input }]
7960
+ required: [{ type: core.Input }],
7961
+ width: [{ type: core.Input }],
7962
+ readonly: [{ type: core.Input }],
7963
+ collection: [{ type: core.Input }]
7726
7964
  };
7727
7965
 
7728
- var SimpleGridComponent = /** @class */ (function () {
7729
- function SimpleGridComponent() {
7730
- this.defaultTextAlign = exports.ColumnAlign.Left;
7966
+ var BaseSimpleGridComponent = /** @class */ (function () {
7967
+ function BaseSimpleGridComponent() {
7731
7968
  this.data = [];
7732
7969
  this.dragDropEnabled = false;
7970
+ this.inlineEdit = false;
7971
+ this.showToolbar = false;
7733
7972
  /**
7734
7973
  * Should component emit drag and drop actions instead of handle
7735
7974
  * (update collection) by itself
7736
7975
  */
7737
7976
  this.emitDragDrop = false;
7738
7977
  this.onDrop = new core.EventEmitter();
7978
+ this.selectRow = new core.EventEmitter();
7979
+ this.dblClickRow = new core.EventEmitter();
7980
+ this.saveRow = new core.EventEmitter();
7739
7981
  this.columns = [];
7740
7982
  }
7741
- Object.defineProperty(SimpleGridComponent.prototype, "content", {
7983
+ Object.defineProperty(BaseSimpleGridComponent.prototype, "content", {
7742
7984
  set: function (columnComponents) {
7743
7985
  this.columns = columnComponents.toArray();
7744
7986
  },
7745
7987
  enumerable: false,
7746
7988
  configurable: true
7747
7989
  });
7748
- SimpleGridComponent.prototype.showClass = function () {
7749
- return true;
7750
- };
7751
- SimpleGridComponent.prototype.handleMouseMove = function (event) {
7990
+ BaseSimpleGridComponent.prototype.handleMouseMove = function (event) {
7752
7991
  if (event.buttons === 1 && this._columnForResize) {
7753
7992
  if (!this._columnForResize.width) {
7754
7993
  var rect = event.target.parentElement.getBoundingClientRect();
@@ -7757,16 +7996,16 @@
7757
7996
  this._columnForResize.width += event.movementX;
7758
7997
  }
7759
7998
  };
7760
- SimpleGridComponent.prototype.handleMouseUp = function (event) {
7999
+ BaseSimpleGridComponent.prototype.handleMouseUp = function (event) {
7761
8000
  this._columnForResize = undefined;
7762
8001
  };
7763
- SimpleGridComponent.prototype.handleSizerMouseDown = function (event, column) {
8002
+ BaseSimpleGridComponent.prototype.handleSizerMouseDown = function (event, column) {
7764
8003
  this._columnForResize = column;
7765
8004
  };
7766
- SimpleGridComponent.prototype.handleCanDragDrop = function (drag, drop) {
8005
+ BaseSimpleGridComponent.prototype.handleCanDragDrop = function (drag, drop) {
7767
8006
  return true;
7768
8007
  };
7769
- SimpleGridComponent.prototype.handleDrop = function (event) {
8008
+ BaseSimpleGridComponent.prototype.handleDrop = function (event) {
7770
8009
  try {
7771
8010
  var from = event.previousIndex;
7772
8011
  var to = event.currentIndex;
@@ -7784,27 +8023,452 @@
7784
8023
  console.error(e);
7785
8024
  }
7786
8025
  };
7787
- return SimpleGridComponent;
8026
+ return BaseSimpleGridComponent;
7788
8027
  }());
7789
- SimpleGridComponent.decorators = [
7790
- { type: core.Component, args: [{
7791
- selector: "co-simple-grid",
7792
- template: "\n <div class=\"simple-grid-column-header-wrapper\">\n <div class=\"simple-grid-column-header\" *ngFor=\"let column of columns; let index = index\"\n [style.min-width.px]=\"column.width\" [style.max-width.px]=\"column.width\">\n <div class=\"simple-grid-column-header-label\" [ngClass]=\"column.textAlign ? column.textAlign : defaultTextAlign\"\n [textContent]=\"column.headerText\"\n ></div>\n <div *ngIf=\"column.resizable\" class=\"simple-grid-column-sizer\"\n (mousedown)=\"handleSizerMouseDown($event, column)\"\n ></div>\n </div>\n </div>\n <div cdkDropListGroup class=\"drop-list-group\">\n <div #dropList cdkDropList cdkDropListOrientation=\"vertical\"\n class=\"simple-grid-drag-drop-list\"\n [cdkDropListDisabled]=\"!dragDropEnabled\"\n [cdkDropListData]=\"data\"\n [cdkDropListEnterPredicate]=\"handleCanDragDrop\"\n (cdkDropListDropped)=\"handleDrop($event)\"\n >\n <div class=\"simple-grid-row\" *ngFor=\"let row of data\" cdkDrag>\n <div class=\"simple-grid-column-cell\" *ngFor=\"let column of columns\"\n [style.min-width.px]=\"column.width\" [style.max-width.px]=\"column.width\">\n <div class=\"simple-grid-column-cell-value\" [ngClass]=\"column.textAlign ? column.textAlign : defaultTextAlign\">\n <ng-container *ngIf=\"column.template\">\n <ng-container [ngTemplateOutlet]=\"column.template\" [ngTemplateOutletContext]=\"{value: row[column.field], row: row}\"></ng-container>\n </ng-container>\n <div *ngIf=\"!column.template\" [textContent]=\"row[column.field]\"></div>\n </div>\n <div *ngIf=\"column.resizable\" class=\"simple-grid-column-sizer-placeholder\"></div>\n </div>\n </div>\n </div>\n </div>\n ",
7793
- changeDetection: core.ChangeDetectionStrategy.OnPush,
7794
- encapsulation: core.ViewEncapsulation.None
7795
- },] }
8028
+ BaseSimpleGridComponent.decorators = [
8029
+ { type: core.Directive }
7796
8030
  ];
7797
- SimpleGridComponent.propDecorators = {
8031
+ BaseSimpleGridComponent.propDecorators = {
7798
8032
  content: [{ type: core.ContentChildren, args: [SimpleGridColumnDirective,] }],
7799
8033
  data: [{ type: core.Input }],
7800
8034
  dragDropEnabled: [{ type: core.Input }],
8035
+ inlineEdit: [{ type: core.Input }],
8036
+ showToolbar: [{ type: core.Input }],
7801
8037
  emitDragDrop: [{ type: core.Input }],
7802
8038
  onDrop: [{ type: core.Output }],
7803
- showClass: [{ type: core.HostBinding, args: ["class.co-simple-grid",] }],
8039
+ selectRow: [{ type: core.Output }],
8040
+ dblClickRow: [{ type: core.Output }],
8041
+ saveRow: [{ type: core.Output }],
7804
8042
  handleMouseMove: [{ type: core.HostListener, args: ['document:mousemove', ['$event'],] }],
7805
8043
  handleMouseUp: [{ type: core.HostListener, args: ['document:mouseup', ['$event'],] }]
7806
8044
  };
7807
8045
 
8046
+ var SimpleGridComponent = /** @class */ (function (_super) {
8047
+ __extends(SimpleGridComponent, _super);
8048
+ function SimpleGridComponent(_changeDetection, _formMaster) {
8049
+ var _this = _super.call(this) || this;
8050
+ _this._changeDetection = _changeDetection;
8051
+ _this._formMaster = _formMaster;
8052
+ _this.defaultTextAlign = exports.ColumnAlign.Left;
8053
+ _this.editting = false;
8054
+ _this.editRowIndex = -1;
8055
+ _this.editCellIndex = -1;
8056
+ _this.selectedRowIndex = -1;
8057
+ _this._doubleClicked = false;
8058
+ _this._newRow = false;
8059
+ return _this;
8060
+ }
8061
+ SimpleGridComponent.prototype.showClass = function () {
8062
+ return true;
8063
+ };
8064
+ SimpleGridComponent.prototype.handleKeyDown = function (event) {
8065
+ var _this = this;
8066
+ if (!this.inlineEdit) {
8067
+ return;
8068
+ }
8069
+ if (event.code === 'Tab') {
8070
+ event.preventDefault();
8071
+ this._nextAvailableCellToEdit(!event.shiftKey, this.editCellIndex)
8072
+ .then(function (index) {
8073
+ _this.editCellIndex = index;
8074
+ });
8075
+ this._detectChanges();
8076
+ }
8077
+ if (event.code === 'Escape') {
8078
+ this.cancelEditRow();
8079
+ }
8080
+ if (event.code === 'Enter') {
8081
+ this.validateAndSave();
8082
+ }
8083
+ };
8084
+ SimpleGridComponent.prototype.addRow = function () {
8085
+ var _this = this;
8086
+ var valid = this.validateAndSave();
8087
+ this._detectChanges();
8088
+ if (valid) {
8089
+ this.data.unshift({});
8090
+ this._newRow = true;
8091
+ this.editRowIndex = 0;
8092
+ this._nextAvailableCellToEdit(true).then(function (index) {
8093
+ _this.editCellIndex = index;
8094
+ });
8095
+ this.editting = true;
8096
+ this.rowToEdit = this.data[0];
8097
+ this._detectChanges();
8098
+ }
8099
+ };
8100
+ SimpleGridComponent.prototype.validateAndSave = function (stopEditting) {
8101
+ if (stopEditting === void 0) { stopEditting = true; }
8102
+ if (!this.editting) {
8103
+ return true;
8104
+ }
8105
+ var valid = this._formMaster.submitSlaves();
8106
+ this._detectChanges();
8107
+ if (valid) {
8108
+ this._saveRow(stopEditting);
8109
+ return true;
8110
+ }
8111
+ };
8112
+ SimpleGridComponent.prototype.cancelEditRow = function () {
8113
+ if (!this.editting) {
8114
+ return;
8115
+ }
8116
+ if (this._newRow) {
8117
+ this.data.shift();
8118
+ }
8119
+ else {
8120
+ this.data[this.editRowIndex] = this.rowToEdit;
8121
+ }
8122
+ this._newRow = false;
8123
+ this.editting = false;
8124
+ this._detectChanges();
8125
+ };
8126
+ SimpleGridComponent.prototype.handleClickRow = function (event, index) {
8127
+ var _this = this;
8128
+ setTimeout(function () {
8129
+ if (_this._doubleClicked) {
8130
+ return;
8131
+ }
8132
+ _this.selectTheRow(index);
8133
+ }, 200);
8134
+ };
8135
+ SimpleGridComponent.prototype.selectTheRow = function (index, emit) {
8136
+ if (emit === void 0) { emit = true; }
8137
+ if (this.selectedRowIndex !== index && ((this.editting && this.validateAndSave()) || !this.editting)) {
8138
+ this.selectedRowIndex = index;
8139
+ if (emit) {
8140
+ this.selectRow.next(this.data[this.selectedRowIndex]);
8141
+ }
8142
+ }
8143
+ this._detectChanges();
8144
+ };
8145
+ SimpleGridComponent.prototype.handleDblClickRow = function (event, index) {
8146
+ this._doubleClicked = true;
8147
+ this.dblClickRow.next(this.data[index]);
8148
+ this.selectTheRow(index, false);
8149
+ if (this.inlineEdit) {
8150
+ this.editRow(event);
8151
+ }
8152
+ this._resetDblClick();
8153
+ };
8154
+ SimpleGridComponent.prototype.editRow = function (event) {
8155
+ var _this = this;
8156
+ this.editRowIndex = this.selectedRowIndex;
8157
+ this.rowToEdit = this.data[this.editRowIndex];
8158
+ this.editting = true;
8159
+ this._nextAvailableCellToEdit(true).then(function (index) {
8160
+ _this.editCellIndex = index;
8161
+ });
8162
+ this._detectChanges();
8163
+ };
8164
+ SimpleGridComponent.prototype.handleCellClick = function (index) {
8165
+ this.editCellIndex = index;
8166
+ this._detectChanges();
8167
+ };
8168
+ SimpleGridComponent.prototype._resetDblClick = function () {
8169
+ var _this = this;
8170
+ setTimeout(function () {
8171
+ _this._doubleClicked = false;
8172
+ }, 500);
8173
+ };
8174
+ /**
8175
+ *
8176
+ * @param next; Move to next or previous cell
8177
+ * @param start; Start from cellindex
8178
+ * @private
8179
+ */
8180
+ SimpleGridComponent.prototype._nextAvailableCellToEdit = function (next, start) {
8181
+ var _this = this;
8182
+ if (start === void 0) { start = -1; }
8183
+ return new Promise(function (resolve, reject) {
8184
+ var numEditableColumns = _this.columns.filter(function (c) { return !c.readonly; }).length;
8185
+ var wantedIndex = start + (next ? 1 : -1);
8186
+ if (wantedIndex >= numEditableColumns) {
8187
+ _this._getNextEditRowIndex()
8188
+ .then(function (index) {
8189
+ _this.editRowIndex = index;
8190
+ resolve(_this._getNextEditCellIndex(0));
8191
+ })
8192
+ .catch(function (e) {
8193
+ reject();
8194
+ });
8195
+ }
8196
+ else if (wantedIndex < 0) {
8197
+ _this._getPreviousEditRowIndex()
8198
+ .then(function (index) {
8199
+ _this.editRowIndex = index;
8200
+ resolve(_this._getPreviousEditCellIndex(_this.columns.length - 1));
8201
+ })
8202
+ .catch(function (e) {
8203
+ reject();
8204
+ });
8205
+ }
8206
+ else {
8207
+ resolve(next ? _this._getNextEditCellIndex(start + 1) : _this._getPreviousEditCellIndex(start - 1));
8208
+ }
8209
+ });
8210
+ };
8211
+ SimpleGridComponent.prototype._getNextEditCellIndex = function (start) {
8212
+ for (var i = start; i < this.columns.length; i++) {
8213
+ if (!this.columns[i].readonly) {
8214
+ return i;
8215
+ }
8216
+ }
8217
+ };
8218
+ SimpleGridComponent.prototype._getPreviousEditCellIndex = function (start) {
8219
+ for (var i = start; i >= 0; i--) {
8220
+ if (!this.columns[i].readonly) {
8221
+ return i;
8222
+ }
8223
+ }
8224
+ };
8225
+ SimpleGridComponent.prototype._getNextEditRowIndex = function () {
8226
+ var _this = this;
8227
+ return new Promise(function (resolve, reject) {
8228
+ var newRowIndex = 0;
8229
+ if (_this.editRowIndex + 1 >= _this.data.length) {
8230
+ newRowIndex = 0;
8231
+ }
8232
+ else {
8233
+ newRowIndex = _this.editRowIndex + 1;
8234
+ }
8235
+ if (newRowIndex !== _this.editRowIndex) { // go to different row validate current one first
8236
+ if (_this.validateAndSave(false)) {
8237
+ _this.rowToEdit = _this.data[newRowIndex];
8238
+ resolve(newRowIndex);
8239
+ }
8240
+ else {
8241
+ reject();
8242
+ }
8243
+ }
8244
+ else {
8245
+ resolve(newRowIndex);
8246
+ }
8247
+ });
8248
+ };
8249
+ SimpleGridComponent.prototype._getPreviousEditRowIndex = function () {
8250
+ var _this = this;
8251
+ return new Promise(function (resolve, reject) {
8252
+ var newRowIndex = 0;
8253
+ if (_this.editRowIndex - 1 < 0) {
8254
+ newRowIndex = _this.data.length - 1;
8255
+ }
8256
+ else {
8257
+ newRowIndex = _this.editRowIndex - 1;
8258
+ }
8259
+ if (newRowIndex !== _this.editRowIndex) { // go to different row validate current one first
8260
+ if (_this.validateAndSave(false)) {
8261
+ _this.rowToEdit = _this.data[newRowIndex];
8262
+ resolve(newRowIndex);
8263
+ }
8264
+ else {
8265
+ reject();
8266
+ }
8267
+ }
8268
+ else {
8269
+ resolve(newRowIndex);
8270
+ }
8271
+ });
8272
+ };
8273
+ SimpleGridComponent.prototype._saveRow = function (stopEditting) {
8274
+ if (stopEditting === void 0) { stopEditting = true; }
8275
+ // emit saveEvent
8276
+ if (this.rowToEdit) {
8277
+ this.saveRow.next(this.rowToEdit);
8278
+ }
8279
+ this._newRow = false;
8280
+ if (stopEditting) {
8281
+ this.editRowIndex = -1;
8282
+ this.editCellIndex = -1;
8283
+ this.editting = false;
8284
+ this.rowToEdit = undefined;
8285
+ }
8286
+ this._detectChanges();
8287
+ };
8288
+ SimpleGridComponent.prototype._detectChanges = function () {
8289
+ // setTimeout(() => {
8290
+ // this._changeDetection.markForCheck();
8291
+ // this._changeDetection.reattach();
8292
+ this._changeDetection.detectChanges();
8293
+ // this._changeDetection.detach();
8294
+ // });
8295
+ };
8296
+ return SimpleGridComponent;
8297
+ }(BaseSimpleGridComponent));
8298
+ SimpleGridComponent.decorators = [
8299
+ { type: core.Component, args: [{
8300
+ selector: "co-simple-grid",
8301
+ template: "\n <co-grid-toolbar *ngIf=\"inlineEdit && showToolbar\"\n (addClick)=\"addRow()\"\n (editClick)=\"editRow($event)\"\n (saveClick)=\"validateAndSave()\"\n (cancelClick)=\"cancelEditRow()\"\n ></co-grid-toolbar>\n <div class=\"simple-grid-column-header-wrapper\">\n <div class=\"simple-grid-column-header\" *ngFor=\"let column of columns; let index = index\"\n [style.min-width.px]=\"column.width\" [style.max-width.px]=\"column.width\">\n <div class=\"simple-grid-column-header-label\" [ngClass]=\"column.textAlign ? column.textAlign : defaultTextAlign\"\n [textContent]=\"column.headerText\"\n ></div>\n <div *ngIf=\"column.resizable\" class=\"simple-grid-column-sizer\"\n (mousedown)=\"handleSizerMouseDown($event, column)\"\n ></div>\n </div>\n </div>\n <div cdkDropListGroup class=\"drop-list-group\">\n <div #dropList cdkDropList cdkDropListOrientation=\"vertical\"\n class=\"simple-grid-drag-drop-list\"\n [cdkDropListDisabled]=\"!dragDropEnabled\"\n [cdkDropListData]=\"data\"\n [cdkDropListEnterPredicate]=\"handleCanDragDrop\"\n (cdkDropListDropped)=\"handleDrop($event)\"\n >\n <div class=\"simple-grid-row\" [class.selected]=\"rowIndex === selectedRowIndex\" [class.editting]=\"rowIndex === editRowIndex\" *ngFor=\"let row of data; let rowIndex = index\" cdkDrag\n (click)=\"handleClickRow($event, rowIndex)\" (dblclick)=\"handleDblClickRow($event, rowIndex)\">\n <co-form class=\"simple-grid-row-form\">\n <div class=\"simple-grid-column-cell\" *ngFor=\"let column of columns; let columnIndex = index\"\n [style.min-width.px]=\"column.width\" [style.max-width.px]=\"column.width\">\n <co-simple-grid-cell\n [column]=\"column\"\n [row]=\"row\"\n [editMode]=\"inlineEdit && editting && rowIndex === editRowIndex\"\n [fieldEditMode]=\"editCellIndex === columnIndex\"\n (cellClick)=\"handleCellClick(columnIndex)\"\n ></co-simple-grid-cell>\n <div *ngIf=\"column.resizable\" class=\"simple-grid-column-sizer-placeholder\"></div>\n </div>\n </co-form>\n </div>\n </div>\n </div>\n ",
8302
+ providers: [
8303
+ FormMasterService
8304
+ ],
8305
+ // changeDetection: ChangeDetectionStrategy.OnPush,
8306
+ encapsulation: core.ViewEncapsulation.None
8307
+ },] }
8308
+ ];
8309
+ SimpleGridComponent.ctorParameters = function () { return [
8310
+ { type: core.ChangeDetectorRef },
8311
+ { type: FormMasterService }
8312
+ ]; };
8313
+ SimpleGridComponent.propDecorators = {
8314
+ showClass: [{ type: core.HostBinding, args: ["class.co-simple-grid",] }],
8315
+ handleKeyDown: [{ type: core.HostListener, args: ['keydown', ['$event'],] }]
8316
+ };
8317
+
8318
+ var SimpleGridCellComponent = /** @class */ (function () {
8319
+ function SimpleGridCellComponent(_changeDetector) {
8320
+ this._changeDetector = _changeDetector;
8321
+ this.defaultTextAlign = exports.ColumnAlign.Left;
8322
+ this.editMode = false;
8323
+ this.cellClick = new core.EventEmitter();
8324
+ this._fieldEditMode = false;
8325
+ this._focused = false;
8326
+ }
8327
+ Object.defineProperty(SimpleGridCellComponent.prototype, "editTemplateContent", {
8328
+ set: function (template) {
8329
+ if (template) {
8330
+ this._editTemplate = template;
8331
+ this._setFocusComponent();
8332
+ }
8333
+ },
8334
+ enumerable: false,
8335
+ configurable: true
8336
+ });
8337
+ Object.defineProperty(SimpleGridCellComponent.prototype, "noEditTemplateContent", {
8338
+ set: function (template) {
8339
+ if (template) {
8340
+ this._template = template;
8341
+ this._setFocusComponent();
8342
+ }
8343
+ },
8344
+ enumerable: false,
8345
+ configurable: true
8346
+ });
8347
+ Object.defineProperty(SimpleGridCellComponent.prototype, "noTemplateContent", {
8348
+ set: function (template) {
8349
+ if (template) {
8350
+ this._inputTemplate = template;
8351
+ this._setFocusComponent();
8352
+ }
8353
+ },
8354
+ enumerable: false,
8355
+ configurable: true
8356
+ });
8357
+ Object.defineProperty(SimpleGridCellComponent.prototype, "fieldEditMode", {
8358
+ get: function () {
8359
+ return this._fieldEditMode;
8360
+ },
8361
+ set: function (value) {
8362
+ this._fieldEditMode = value;
8363
+ this._setFocusComponent();
8364
+ },
8365
+ enumerable: false,
8366
+ configurable: true
8367
+ });
8368
+ SimpleGridCellComponent.prototype.showClass = function () {
8369
+ return true;
8370
+ };
8371
+ SimpleGridCellComponent.prototype.handleClick = function (event) {
8372
+ if (this.column && !this.column.readonly) {
8373
+ this.cellClick.next();
8374
+ }
8375
+ };
8376
+ SimpleGridCellComponent.prototype._setFocusComponent = function () {
8377
+ if (this.editMode && this.fieldEditMode) {
8378
+ var element = this._getElement();
8379
+ if (element) {
8380
+ var focusEvent = this._createNewEvent(element, 'focus');
8381
+ element.focus();
8382
+ element.dispatchEvent(focusEvent);
8383
+ this._focused = true;
8384
+ }
8385
+ }
8386
+ else {
8387
+ if (this._focused) {
8388
+ var element = this._getElement();
8389
+ if (element) {
8390
+ var blurEvent = this._createNewEvent(element, 'blur');
8391
+ element.blur();
8392
+ element.dispatchEvent(blurEvent);
8393
+ }
8394
+ this._focused = false;
8395
+ }
8396
+ }
8397
+ this._detectChanges();
8398
+ };
8399
+ SimpleGridCellComponent.prototype._getFirstFormInput = function (parent) {
8400
+ if (parent) {
8401
+ var collection_1 = Array.from(parent.getElementsByTagName('input'));
8402
+ var otherCollection = Array.from(parent.getElementsByTagName('textarea'));
8403
+ otherCollection.map(function (o) { return collection_1.push(o); });
8404
+ if (collection_1.length > 0) {
8405
+ return collection_1[0];
8406
+ }
8407
+ }
8408
+ };
8409
+ SimpleGridCellComponent.prototype._createNewEvent = function (element, eventType) {
8410
+ var event;
8411
+ if ("createEvent" in document) {
8412
+ event = document.createEvent("Event");
8413
+ event.initEvent(eventType, true, true);
8414
+ }
8415
+ else if ("Event" in window) {
8416
+ event = new Event(eventType, { bubbles: true, cancelable: true });
8417
+ }
8418
+ return event;
8419
+ };
8420
+ SimpleGridCellComponent.prototype._getElement = function () {
8421
+ var templ;
8422
+ if (this._editTemplate) {
8423
+ templ = this._editTemplate;
8424
+ }
8425
+ else if (this._template) {
8426
+ templ = this._template;
8427
+ }
8428
+ else {
8429
+ templ = this._inputTemplate;
8430
+ }
8431
+ if (templ) {
8432
+ if (templ && templ.elementRef) {
8433
+ var inputElement = this._getFirstFormInput(templ.elementRef.nativeElement.parentElement);
8434
+ if (inputElement) {
8435
+ return inputElement;
8436
+ }
8437
+ }
8438
+ }
8439
+ };
8440
+ SimpleGridCellComponent.prototype._detectChanges = function () {
8441
+ // setTimeout(() => {
8442
+ this._changeDetector.markForCheck();
8443
+ // this._changeDetector.detectChanges();
8444
+ // });
8445
+ };
8446
+ return SimpleGridCellComponent;
8447
+ }());
8448
+ SimpleGridCellComponent.decorators = [
8449
+ { type: core.Component, args: [{
8450
+ selector: "co-simple-grid-cell",
8451
+ template: "\n <div class=\"simple-grid-column-cell-value\" [ngClass]=\"column.textAlign ? column.textAlign : defaultTextAlign\">\n <ng-container *ngIf=\"editMode; else noInlineEdit\">\n <ng-container #editTemplate *ngIf=\"column.editTemplate; else noEditTemplate\" [ngTemplateOutlet]=\"column.editTemplate\" [ngTemplateOutletContext]=\"{value: row[column.field], row: row}\"></ng-container>\n <ng-template #noEditTemplate>\n <ng-container *ngIf=\"column.template; else noTemplate\">\n <ng-container [ngTemplateOutlet]=\"column.template\" [ngTemplateOutletContext]=\"{value: row[column.field], row: row}\"></ng-container>\n </ng-container>\n <ng-template #noTemplate>\n <co-input-text [(model)]=\"row[column.field]\" [required]=\"column.required\"></co-input-text>\n </ng-template>\n </ng-template>\n </ng-container>\n <ng-template #noInlineEdit>\n <ng-container *ngIf=\"column.template; else noTemplate\">\n <ng-container [ngTemplateOutlet]=\"column.template\" [ngTemplateOutletContext]=\"{value: row[column.field], row: row}\"></ng-container>\n </ng-container>\n <ng-template #noTemplate>\n <div [textContent]=\"column.getFieldValue(row[column.field])\"></div>\n </ng-template>\n </ng-template>\n </div>\n ",
8452
+ encapsulation: core.ViewEncapsulation.None //,
8453
+ // changeDetection: ChangeDetectionStrategy.OnPush
8454
+ },] }
8455
+ ];
8456
+ SimpleGridCellComponent.ctorParameters = function () { return [
8457
+ { type: core.ChangeDetectorRef }
8458
+ ]; };
8459
+ SimpleGridCellComponent.propDecorators = {
8460
+ editTemplateContent: [{ type: core.ViewChild, args: ["editTemplate", { read: BaseInputComponent },] }],
8461
+ noEditTemplateContent: [{ type: core.ViewChild, args: ["noEditTemplate",] }],
8462
+ noTemplateContent: [{ type: core.ViewChild, args: ["noTemplate",] }],
8463
+ column: [{ type: core.Input }],
8464
+ row: [{ type: core.Input }],
8465
+ editMode: [{ type: core.Input }],
8466
+ fieldEditMode: [{ type: core.Input }],
8467
+ cellClick: [{ type: core.Output }],
8468
+ showClass: [{ type: core.HostBinding, args: ["class.co-simple-grid-cell",] }],
8469
+ handleClick: [{ type: core.HostListener, args: ['click', ['$event'],] }]
8470
+ };
8471
+
7808
8472
  var SimpleGridModule = /** @class */ (function () {
7809
8473
  function SimpleGridModule() {
7810
8474
  }
@@ -7814,14 +8478,19 @@
7814
8478
  { type: core.NgModule, args: [{
7815
8479
  imports: [
7816
8480
  common.CommonModule,
7817
- dragDrop.DragDropModule
8481
+ dragDrop.DragDropModule,
8482
+ GridToolbarModule,
8483
+ InputTextModule,
8484
+ FormModule
7818
8485
  ],
7819
8486
  declarations: [
7820
8487
  SimpleGridComponent,
8488
+ SimpleGridCellComponent,
7821
8489
  SimpleGridColumnDirective
7822
8490
  ],
7823
8491
  exports: [
7824
8492
  SimpleGridComponent,
8493
+ SimpleGridCellComponent,
7825
8494
  SimpleGridColumnDirective
7826
8495
  ]
7827
8496
  },] }
@@ -8085,11 +8754,7 @@
8085
8754
  boundingBox.getSize(size);
8086
8755
  // get the max side of the bounding box (fits to width OR height as needed )
8087
8756
  var maxDim = Math.max(size.x, size.y, size.z);
8088
- var fov = this._camera.fov * (Math.PI / 180);
8089
- // let cameraZ = Math.abs(maxDim / 4 * Math.tan(fov * 200));
8090
- var cameraZ = Math.abs((maxDim / 2) / Math.tan(fov / 2));
8091
- // cameraZ *= offset; // zoom out a little so that objects don't fill the screen
8092
- this._camera.position.z = cameraZ;
8757
+ this._camera.position.z = Math.abs((maxDim / 2) * Math.atan(this._camera.fov / 2));
8093
8758
  this._camera.lookAt(center);
8094
8759
  };
8095
8760
  Carousel3dComponent.prototype._checkNavigationButtons = function () {
@@ -8226,6 +8891,8 @@
8226
8891
  exports.CoDialogModule = CoDialogModule;
8227
8892
  exports.CoDialogPromptComponent = CoDialogPromptComponent;
8228
8893
  exports.CoDialogPromptModule = CoDialogPromptModule;
8894
+ exports.CoDialogWizardComponent = CoDialogWizardComponent;
8895
+ exports.CoDialogWizardModule = CoDialogWizardModule;
8229
8896
  exports.CoGridComponent = CoGridComponent;
8230
8897
  exports.CoGridModule = CoGridModule;
8231
8898
  exports.CoKanbanComponent = CoKanbanComponent;
@@ -8300,15 +8967,19 @@
8300
8967
  exports["ɵk"] = FormInputUserModelChangeListenerService;
8301
8968
  exports["ɵl"] = NgZoneWrapperService;
8302
8969
  exports["ɵm"] = BaseInputComponent;
8303
- exports["ɵn"] = BaseSelectionGridComponent;
8304
- exports["ɵo"] = BaseInlineEditGridComponent;
8305
- exports["ɵp"] = BaseToolbarGridComponent;
8306
- exports["ɵq"] = BaseGridComponent;
8307
- exports["ɵr"] = AppendPipeModule;
8308
- exports["ɵs"] = AppendPipe;
8309
- exports["ɵt"] = ValidationErrorModule;
8310
- exports["ɵu"] = ValidationErrorComponent;
8311
- exports["ɵv"] = PopupShowerService;
8970
+ exports["ɵn"] = GridToolbarModule;
8971
+ exports["ɵo"] = GridToolbarComponent;
8972
+ exports["ɵp"] = BaseSelectionGridComponent;
8973
+ exports["ɵq"] = BaseInlineEditGridComponent;
8974
+ exports["ɵr"] = BaseToolbarGridComponent;
8975
+ exports["ɵs"] = BaseGridComponent;
8976
+ exports["ɵt"] = AppendPipeModule;
8977
+ exports["ɵu"] = AppendPipe;
8978
+ exports["ɵv"] = ValidationErrorModule;
8979
+ exports["ɵw"] = ValidationErrorComponent;
8980
+ exports["ɵx"] = PopupShowerService;
8981
+ exports["ɵy"] = BaseSimpleGridComponent;
8982
+ exports["ɵz"] = SimpleGridCellComponent;
8312
8983
 
8313
8984
  Object.defineProperty(exports, '__esModule', { value: true });
8314
8985