@coolon/angular-ui-powerups 1.13.2 → 1.14.0

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 (83) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/bundles/coolon-angular-ui-powerups.umd.js +208 -169
  3. package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
  4. package/bundles/coolon-angular-ui-powerups.umd.min.js +1 -1
  5. package/bundles/coolon-angular-ui-powerups.umd.min.js.map +1 -1
  6. package/coolon-angular-ui-powerups.d.ts +49 -48
  7. package/coolon-angular-ui-powerups.metadata.json +1 -1
  8. package/esm2015/coolon-angular-ui-powerups.js +47 -46
  9. package/esm2015/coolon-angular-ui-powerups.js.map +1 -1
  10. package/esm2015/coolon-angular-ui-powerups.metadata.json +1 -1
  11. package/esm2015/lib/components/components.module.js +2 -0
  12. package/esm2015/lib/components/components.module.js.map +1 -1
  13. package/esm2015/lib/components/components.module.metadata.json +1 -1
  14. package/esm2015/lib/components/components.module.ngfactory.js.map +1 -1
  15. package/esm2015/lib/components/forms/abstract-input-activity.js +4 -3
  16. package/esm2015/lib/components/forms/abstract-input-activity.js.map +1 -1
  17. package/esm2015/lib/components/forms/abstract-input-activity.metadata.json +1 -1
  18. package/esm2015/lib/components/forms/input-activity-data.js +1 -0
  19. package/esm2015/lib/components/forms/input-activity-data.js.map +1 -0
  20. package/esm2015/lib/components/forms/input-activity-data.metadata.json +1 -0
  21. package/esm2015/lib/components/forms/select-input/select-input-activity-data.js +1 -0
  22. package/esm2015/lib/components/forms/select-input/select-input-activity-data.js.map +1 -0
  23. package/esm2015/lib/components/forms/select-input/select-input-activity-data.metadata.json +1 -0
  24. package/esm2015/lib/components/forms/select-input/select-input-activity.js +39 -0
  25. package/esm2015/lib/components/forms/select-input/select-input-activity.js.map +1 -0
  26. package/esm2015/lib/components/forms/select-input/select-input-activity.metadata.json +1 -0
  27. package/esm2015/lib/components/forms/select-input/select-input-activity.ngfactory.js.map +1 -0
  28. package/esm2015/lib/components/forms/string-input/string-input-activity.js.map +1 -1
  29. package/esm2015/lib/components/forms/string-input/string-input-activity.metadata.json +1 -1
  30. package/esm2015/lib/components/index.js +2 -0
  31. package/esm2015/lib/components/index.js.map +1 -1
  32. package/esm2015/lib/components/index.metadata.json +1 -1
  33. package/esm2015/lib/components/table/cell-protal-ref.js +89 -0
  34. package/esm2015/lib/components/table/cell-protal-ref.js.map +1 -0
  35. package/esm2015/lib/components/table/cell-protal-ref.metadata.json +1 -0
  36. package/esm2015/lib/components/table/column-model.js +1 -87
  37. package/esm2015/lib/components/table/column-model.js.map +1 -1
  38. package/esm2015/lib/components/table/column-model.metadata.json +1 -1
  39. package/esm2015/lib/components/table/table-cell-renderer/table-cell-renderer.component.js +2 -1
  40. package/esm2015/lib/components/table/table-cell-renderer/table-cell-renderer.component.js.map +1 -1
  41. package/esm2015/lib/components/table/table-cell-renderer/table-cell-renderer.component.metadata.json +1 -1
  42. package/esm2015/lib/components/table/table-header-cell-renderer/table-header-cell-renderer.component.js +2 -1
  43. package/esm2015/lib/components/table/table-header-cell-renderer/table-header-cell-renderer.component.js.map +1 -1
  44. package/esm2015/lib/components/table/table-header-cell-renderer/table-header-cell-renderer.component.metadata.json +1 -1
  45. package/esm5/coolon-angular-ui-powerups.js +47 -46
  46. package/esm5/coolon-angular-ui-powerups.js.map +1 -1
  47. package/esm5/lib/components/components.module.js +2 -0
  48. package/esm5/lib/components/components.module.js.map +1 -1
  49. package/esm5/lib/components/components.module.ngfactory.js.map +1 -1
  50. package/esm5/lib/components/forms/abstract-input-activity.js +4 -3
  51. package/esm5/lib/components/forms/abstract-input-activity.js.map +1 -1
  52. package/esm5/lib/components/forms/input-activity-data.js +1 -0
  53. package/esm5/lib/components/forms/input-activity-data.js.map +1 -0
  54. package/esm5/lib/components/forms/select-input/select-input-activity-data.js +1 -0
  55. package/esm5/lib/components/forms/select-input/select-input-activity-data.js.map +1 -0
  56. package/esm5/lib/components/forms/select-input/select-input-activity.js +38 -0
  57. package/esm5/lib/components/forms/select-input/select-input-activity.js.map +1 -0
  58. package/esm5/lib/components/forms/select-input/select-input-activity.ngfactory.js.map +1 -0
  59. package/esm5/lib/components/forms/string-input/string-input-activity.js.map +1 -1
  60. package/esm5/lib/components/index.js +2 -0
  61. package/esm5/lib/components/index.js.map +1 -1
  62. package/esm5/lib/components/table/cell-protal-ref.js +113 -0
  63. package/esm5/lib/components/table/cell-protal-ref.js.map +1 -0
  64. package/esm5/lib/components/table/column-model.js +2 -111
  65. package/esm5/lib/components/table/column-model.js.map +1 -1
  66. package/esm5/lib/components/table/table-cell-renderer/table-cell-renderer.component.js +2 -1
  67. package/esm5/lib/components/table/table-cell-renderer/table-cell-renderer.component.js.map +1 -1
  68. package/esm5/lib/components/table/table-header-cell-renderer/table-header-cell-renderer.component.js +2 -1
  69. package/esm5/lib/components/table/table-header-cell-renderer/table-header-cell-renderer.component.js.map +1 -1
  70. package/fesm2015/coolon-angular-ui-powerups.js +128 -90
  71. package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
  72. package/fesm5/coolon-angular-ui-powerups.js +144 -107
  73. package/fesm5/coolon-angular-ui-powerups.js.map +1 -1
  74. package/lib/components/forms/abstract-input-activity.d.ts +6 -12
  75. package/lib/components/forms/input-activity-data.d.ts +9 -0
  76. package/lib/components/forms/select-input/select-input-activity-data.d.ts +8 -0
  77. package/lib/components/forms/select-input/select-input-activity.d.ts +7 -0
  78. package/lib/components/index.d.ts +4 -0
  79. package/lib/components/table/cell-protal-ref.d.ts +53 -0
  80. package/lib/components/table/column-model.d.ts +2 -48
  81. package/lib/components/table/table-cell-renderer/table-cell-renderer.component.d.ts +2 -1
  82. package/lib/components/table/table-header-cell-renderer/table-header-cell-renderer.component.d.ts +2 -1
  83. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -2,6 +2,20 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ## [1.14.0](https://bitbucket.org/coolon/angular-ui-powerups/compare/v1.13.3...v1.14.0) (2020-06-15)
6
+
7
+
8
+ ### Features
9
+
10
+ * added select-input-activity component ([96b2e79](https://bitbucket.org/coolon/angular-ui-powerups/commit/96b2e79451fc9eaceea8f18a25c1c6f8c867d3db))
11
+
12
+ ### [1.13.3](https://bitbucket.org/coolon/angular-ui-powerups/compare/v1.13.2...v1.13.3) (2020-06-15)
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * removed circular dep between columns and renderers ([4d952d8](https://bitbucket.org/coolon/angular-ui-powerups/commit/4d952d8f32eb2a6a80eb363501acb1c66e1ca3cb))
18
+
5
19
  ### [1.13.2](https://bitbucket.org/coolon/angular-ui-powerups/compare/v1.13.1...v1.13.2) (2020-06-13)
6
20
 
7
21
 
@@ -1148,7 +1148,7 @@
1148
1148
  }());
1149
1149
 
1150
1150
  var inplaceMonitorCount = 0;
1151
- exports.ɵbz = /** @class */ (function () {
1151
+ exports.ɵca = /** @class */ (function () {
1152
1152
  function InteractionService(modelInteractionContextFactory) {
1153
1153
  this.modelInteractionContextFactory = modelInteractionContextFactory;
1154
1154
  this.garbage = new pectin.GarbageCollector();
@@ -1293,7 +1293,7 @@
1293
1293
  return ApiAdapter;
1294
1294
  }());
1295
1295
  InteractionService.ApiAdapter = ApiAdapter;
1296
- })(exports.ɵbz || (exports.ɵbz = {}));
1296
+ })(exports.ɵca || (exports.ɵca = {}));
1297
1297
 
1298
1298
  var InPlaceInteractionContextComponent = /** @class */ (function (_super) {
1299
1299
  __extends(InPlaceInteractionContextComponent, _super);
@@ -1351,7 +1351,7 @@
1351
1351
  return this.activityContainerComponent.startActivity(activityType, data);
1352
1352
  };
1353
1353
  InPlaceInteractionContextComponent.ctorParameters = function () { return [
1354
- { type: exports.ɵbz },
1354
+ { type: exports.ɵca },
1355
1355
  { type: undefined, decorators: [{ type: core.Inject, args: [tabs.MAT_TABS_CONFIG,] }, { type: core.Optional }] }
1356
1356
  ]; };
1357
1357
  __decorate([
@@ -1369,7 +1369,7 @@
1369
1369
  styles: [":host{display:flex;flex-direction:column}mat-tab-group{flex:1}"]
1370
1370
  }),
1371
1371
  __param(1, core.Inject(tabs.MAT_TABS_CONFIG)), __param(1, core.Optional()),
1372
- __metadata("design:paramtypes", [exports.ɵbz, Object])
1372
+ __metadata("design:paramtypes", [exports.ɵca, Object])
1373
1373
  ], InPlaceInteractionContextComponent);
1374
1374
  return InPlaceInteractionContextComponent;
1375
1375
  }(DisposableComponent));
@@ -1678,7 +1678,7 @@
1678
1678
  AlertDialogComponent
1679
1679
  ],
1680
1680
  providers: [
1681
- exports.ɵbz
1681
+ exports.ɵca
1682
1682
  // {
1683
1683
  // provide: MAT_TABS_CONFIG, useValue: { animationDuration: "2s" }
1684
1684
  // }
@@ -1933,6 +1933,9 @@
1933
1933
  * @file Automatically generated by barrelsby.
1934
1934
  */
1935
1935
 
1936
+ // @see https://github.com/ng-packagr/ng-packagr/issues/641 and https://github.com/angular/angular/issues/21123
1937
+ // we're getting a metadata error for D for no reason that I can find and only during the build (ng serve works fine)
1938
+ // @dynamic
1936
1939
  var AbstractInputActivity = /** @class */ (function (_super) {
1937
1940
  __extends(AbstractInputActivity, _super);
1938
1941
  function AbstractInputActivity(data) {
@@ -1969,9 +1972,7 @@
1969
1972
  __metadata("design:type", Object)
1970
1973
  ], AbstractInputActivity.prototype, "class", void 0);
1971
1974
  AbstractInputActivity = __decorate([
1972
- core.Component({
1973
- template: ""
1974
- }),
1975
+ core.Component({ template: "" }),
1975
1976
  __param(0, core.Inject(ACTIVITY_DATA)),
1976
1977
  __metadata("design:paramtypes", [Object])
1977
1978
  ], AbstractInputActivity);
@@ -2277,6 +2278,40 @@
2277
2278
  return PasswordInputComponent;
2278
2279
  }(AbstractValueInputComponent));
2279
2280
 
2281
+ var SelectInputActivity = /** @class */ (function (_super) {
2282
+ __extends(SelectInputActivity, _super);
2283
+ function SelectInputActivity() {
2284
+ var _this = _super !== null && _super.apply(this, arguments) || this;
2285
+ _this.defaultOptionLabelFormat = function (option) {
2286
+ return _this.data.optionLabel ? option[_this.data.optionLabel] : option;
2287
+ };
2288
+ return _this;
2289
+ }
2290
+ Object.defineProperty(SelectInputActivity.prototype, "optionLabelFormat", {
2291
+ get: function () {
2292
+ var _a;
2293
+ return (_a = this.data.optionLabelFormat) !== null && _a !== void 0 ? _a : this.defaultOptionLabelFormat;
2294
+ },
2295
+ enumerable: true,
2296
+ configurable: true
2297
+ });
2298
+ Object.defineProperty(SelectInputActivity.prototype, "options", {
2299
+ get: function () {
2300
+ var _a;
2301
+ return ((_a = this.data.optionsModel) === null || _a === void 0 ? void 0 : _a.value) || this.data.options;
2302
+ },
2303
+ enumerable: true,
2304
+ configurable: true
2305
+ });
2306
+ SelectInputActivity = __decorate([
2307
+ core.Component({
2308
+ selector: 'aup-select-input-activity',
2309
+ template: "\n <aup-select-input [valueModel]=\"valueModel\"\n [label]=\"data.label\"\n [placeholder]=\"data.placeholder\"\n [command.enter]=\"confirmCommand\"\n [command.escape]=\"cancelCommand\"\n [options]=\"options\"\n [optionLabelFormat]=\"optionLabelFormat\"\n ></aup-select-input>\n <aup-activity-actions align=\"end\"\n [confirmCommand]=\"confirmCommand\"\n [cancelCommand]=\"cancelCommand\"></aup-activity-actions>\n "
2310
+ })
2311
+ ], SelectInputActivity);
2312
+ return SelectInputActivity;
2313
+ }(AbstractInputActivity));
2314
+
2280
2315
  var SelectInputComponent = /** @class */ (function (_super) {
2281
2316
  __extends(SelectInputComponent, _super);
2282
2317
  function SelectInputComponent() {
@@ -2578,6 +2613,110 @@
2578
2613
  return SwitchCaseComponent;
2579
2614
  }(DisposableComponent));
2580
2615
 
2616
+ var HEADER_CELL_RENDERER_PORTAL = Symbol('aup-cell-header-renderer-component-ref');
2617
+ var CELL_RENDERER_PORTAL = Symbol('aup-cell-renderer-component-ref');
2618
+ var CELL_EDITOR_PORTAL = Symbol('aup-cell-editor-component-ref');
2619
+ var PORTAL_RENDERER_COMPONENT = Symbol('aup-cell-renderer-portal-component');
2620
+ var PORTAL_EDITOR_COMPONENT = Symbol('aup-cell-editor-portal-component');
2621
+ var CellPortalRef = /** @class */ (function () {
2622
+ function CellPortalRef() {
2623
+ }
2624
+ return CellPortalRef;
2625
+ }());
2626
+ var CellHeaderPortalRef = /** @class */ (function (_super) {
2627
+ __extends(CellHeaderPortalRef, _super);
2628
+ function CellHeaderPortalRef(componentType, initialiseHeader) {
2629
+ var _this = _super.call(this) || this;
2630
+ _this.componentType = componentType;
2631
+ _this.initialiseHeader = initialiseHeader;
2632
+ return _this;
2633
+ }
2634
+ CellHeaderPortalRef.prototype.initialiseHost = function (host, columnModel) {
2635
+ typescriptUtilities.assert.isTruthy(host);
2636
+ host[HEADER_CELL_RENDERER_PORTAL] = new portal.ComponentPortal(this.componentType);
2637
+ };
2638
+ CellHeaderPortalRef.prototype.onPortalAttached = function (host, portalComponent) {
2639
+ this.initialiseHeader(portalComponent, host.column);
2640
+ };
2641
+ return CellHeaderPortalRef;
2642
+ }(CellPortalRef));
2643
+ var CellRendererPortalRef = /** @class */ (function (_super) {
2644
+ __extends(CellRendererPortalRef, _super);
2645
+ function CellRendererPortalRef() {
2646
+ return _super !== null && _super.apply(this, arguments) || this;
2647
+ }
2648
+ return CellRendererPortalRef;
2649
+ }(CellPortalRef));
2650
+ var ComponentCellRendererPortalRef = /** @class */ (function (_super) {
2651
+ __extends(ComponentCellRendererPortalRef, _super);
2652
+ function ComponentCellRendererPortalRef(componentType, updateComponent) {
2653
+ var _this = _super.call(this) || this;
2654
+ _this.componentType = componentType;
2655
+ _this.updateComponent = updateComponent;
2656
+ return _this;
2657
+ }
2658
+ ComponentCellRendererPortalRef.prototype.initialiseHost = function (host, columnModel) {
2659
+ host[CELL_RENDERER_PORTAL] = new portal.ComponentPortal(this.componentType);
2660
+ };
2661
+ ComponentCellRendererPortalRef.prototype.onPortalAttached = function (host, portalComponent) {
2662
+ host[PORTAL_RENDERER_COMPONENT] = portalComponent;
2663
+ this.updateComponent(portalComponent, host.getRowData());
2664
+ };
2665
+ ComponentCellRendererPortalRef.prototype.pushState = function (host) {
2666
+ if (host[PORTAL_RENDERER_COMPONENT]) {
2667
+ this.updateComponent(host[PORTAL_RENDERER_COMPONENT], host.getRowData());
2668
+ }
2669
+ };
2670
+ return ComponentCellRendererPortalRef;
2671
+ }(CellRendererPortalRef));
2672
+ var CellEditorPortalRef = /** @class */ (function (_super) {
2673
+ __extends(CellEditorPortalRef, _super);
2674
+ function CellEditorPortalRef(componentType, initialiseEditorSession) {
2675
+ var _this = _super.call(this) || this;
2676
+ _this.componentType = componentType;
2677
+ _this.initialiseEditorSession = initialiseEditorSession;
2678
+ return _this;
2679
+ }
2680
+ CellEditorPortalRef.prototype.initialiseHost = function (host, columnModel) {
2681
+ typescriptUtilities.assert.isTruthy(host);
2682
+ host[CELL_EDITOR_PORTAL] = new portal.ComponentPortal(this.componentType);
2683
+ };
2684
+ // @Trace()
2685
+ CellEditorPortalRef.prototype.onPortalAttached = function (host, portalComponent) {
2686
+ host[PORTAL_EDITOR_COMPONENT] = portalComponent;
2687
+ this.initialiseEditorSession(portalComponent, host.editSession);
2688
+ };
2689
+ return CellEditorPortalRef;
2690
+ }(CellPortalRef));
2691
+ var TemplateCellRendererPortalRef = /** @class */ (function (_super) {
2692
+ __extends(TemplateCellRendererPortalRef, _super);
2693
+ function TemplateCellRendererPortalRef() {
2694
+ return _super.call(this) || this;
2695
+ }
2696
+ TemplateCellRendererPortalRef.prototype.registerPortal = function (templateRef, viewContainer, fillCell, padChild) {
2697
+ this.templateRef = templateRef;
2698
+ this.viewContainer = viewContainer;
2699
+ this.fillCell = fillCell;
2700
+ this.padChild = padChild;
2701
+ };
2702
+ TemplateCellRendererPortalRef.prototype.initialiseHost = function (host, columnModel) {
2703
+ typescriptUtilities.assert.isTruthy(host);
2704
+ };
2705
+ // @Trace()
2706
+ TemplateCellRendererPortalRef.prototype.onPortalAttached = function (host, portalComponent) {
2707
+ // don't care
2708
+ };
2709
+ TemplateCellRendererPortalRef.prototype.pushState = function (host) {
2710
+ host[CELL_RENDERER_PORTAL] = this.createPortal(host.getRowData());
2711
+ host.fillCell = this.fillCell;
2712
+ host.padChild = this.padChild;
2713
+ };
2714
+ TemplateCellRendererPortalRef.prototype.createPortal = function (data) {
2715
+ return new portal.TemplatePortal(this.templateRef, this.viewContainer, __assign(__assign({}, (data)), { $implicit: data.row }));
2716
+ };
2717
+ return TemplateCellRendererPortalRef;
2718
+ }(CellRendererPortalRef));
2719
+
2581
2720
  var DefaultCellRendererComponent = /** @class */ (function () {
2582
2721
  function DefaultCellRendererComponent() {
2583
2722
  }
@@ -2755,112 +2894,9 @@
2755
2894
  return SelectHeaderCellRendererComponent;
2756
2895
  }(DisposableComponent));
2757
2896
 
2758
- var HEADER_CELL_RENDERER_PORTAL = Symbol('aup-cell-header-renderer-component-ref');
2759
- var CELL_RENDERER_PORTAL = Symbol('aup-cell-renderer-component-ref');
2760
- var CELL_EDITOR_PORTAL = Symbol('aup-cell-editor-component-ref');
2761
- var PORTAL_RENDERER_COMPONENT = Symbol('aup-cell-renderer-portal-component');
2762
- var PORTAL_EDITOR_COMPONENT = Symbol('aup-cell-editor-portal-component');
2763
2897
  var noop = function () {
2764
2898
  };
2765
2899
  var ɵ0 = noop;
2766
- var CellPortalRef = /** @class */ (function () {
2767
- function CellPortalRef() {
2768
- }
2769
- return CellPortalRef;
2770
- }());
2771
- var CellHeaderPortalRef = /** @class */ (function (_super) {
2772
- __extends(CellHeaderPortalRef, _super);
2773
- function CellHeaderPortalRef(componentType, initialiseHeader) {
2774
- var _this = _super.call(this) || this;
2775
- _this.componentType = componentType;
2776
- _this.initialiseHeader = initialiseHeader;
2777
- return _this;
2778
- }
2779
- CellHeaderPortalRef.prototype.initialiseHost = function (host, columnModel) {
2780
- typescriptUtilities.assert.isTruthy(host);
2781
- host[HEADER_CELL_RENDERER_PORTAL] = new portal.ComponentPortal(this.componentType);
2782
- };
2783
- CellHeaderPortalRef.prototype.onPortalAttached = function (host, portalComponent) {
2784
- this.initialiseHeader(portalComponent, host.column);
2785
- };
2786
- return CellHeaderPortalRef;
2787
- }(CellPortalRef));
2788
- var CellRendererPortalRef = /** @class */ (function (_super) {
2789
- __extends(CellRendererPortalRef, _super);
2790
- function CellRendererPortalRef() {
2791
- return _super !== null && _super.apply(this, arguments) || this;
2792
- }
2793
- return CellRendererPortalRef;
2794
- }(CellPortalRef));
2795
- var ComponentCellRendererPortalRef = /** @class */ (function (_super) {
2796
- __extends(ComponentCellRendererPortalRef, _super);
2797
- function ComponentCellRendererPortalRef(componentType, updateComponent) {
2798
- var _this = _super.call(this) || this;
2799
- _this.componentType = componentType;
2800
- _this.updateComponent = updateComponent;
2801
- return _this;
2802
- }
2803
- ComponentCellRendererPortalRef.prototype.initialiseHost = function (host, columnModel) {
2804
- host[CELL_RENDERER_PORTAL] = new portal.ComponentPortal(this.componentType);
2805
- };
2806
- ComponentCellRendererPortalRef.prototype.onPortalAttached = function (host, portalComponent) {
2807
- host[PORTAL_RENDERER_COMPONENT] = portalComponent;
2808
- this.updateComponent(portalComponent, host.getRowData());
2809
- };
2810
- ComponentCellRendererPortalRef.prototype.pushState = function (host) {
2811
- if (host[PORTAL_RENDERER_COMPONENT]) {
2812
- this.updateComponent(host[PORTAL_RENDERER_COMPONENT], host.getRowData());
2813
- }
2814
- };
2815
- return ComponentCellRendererPortalRef;
2816
- }(CellRendererPortalRef));
2817
- var CellEditorPortalRef = /** @class */ (function (_super) {
2818
- __extends(CellEditorPortalRef, _super);
2819
- function CellEditorPortalRef(componentType, initialiseEditorSession) {
2820
- var _this = _super.call(this) || this;
2821
- _this.componentType = componentType;
2822
- _this.initialiseEditorSession = initialiseEditorSession;
2823
- return _this;
2824
- }
2825
- CellEditorPortalRef.prototype.initialiseHost = function (host, columnModel) {
2826
- typescriptUtilities.assert.isTruthy(host);
2827
- host[CELL_EDITOR_PORTAL] = new portal.ComponentPortal(this.componentType);
2828
- };
2829
- // @Trace()
2830
- CellEditorPortalRef.prototype.onPortalAttached = function (host, portalComponent) {
2831
- host[PORTAL_EDITOR_COMPONENT] = portalComponent;
2832
- this.initialiseEditorSession(portalComponent, host.editSession);
2833
- };
2834
- return CellEditorPortalRef;
2835
- }(CellPortalRef));
2836
- var TemplateCellRendererPortalRef = /** @class */ (function (_super) {
2837
- __extends(TemplateCellRendererPortalRef, _super);
2838
- function TemplateCellRendererPortalRef() {
2839
- return _super.call(this) || this;
2840
- }
2841
- TemplateCellRendererPortalRef.prototype.registerPortal = function (templateRef, viewContainer, fillCell, padChild) {
2842
- this.templateRef = templateRef;
2843
- this.viewContainer = viewContainer;
2844
- this.fillCell = fillCell;
2845
- this.padChild = padChild;
2846
- };
2847
- TemplateCellRendererPortalRef.prototype.initialiseHost = function (host, columnModel) {
2848
- typescriptUtilities.assert.isTruthy(host);
2849
- };
2850
- // @Trace()
2851
- TemplateCellRendererPortalRef.prototype.onPortalAttached = function (host, portalComponent) {
2852
- // don't care
2853
- };
2854
- TemplateCellRendererPortalRef.prototype.pushState = function (host) {
2855
- host[CELL_RENDERER_PORTAL] = this.createPortal(host.getRowData());
2856
- host.fillCell = this.fillCell;
2857
- host.padChild = this.padChild;
2858
- };
2859
- TemplateCellRendererPortalRef.prototype.createPortal = function (data) {
2860
- return new portal.TemplatePortal(this.templateRef, this.viewContainer, __assign(__assign({}, (data)), { $implicit: data.row }));
2861
- };
2862
- return TemplateCellRendererPortalRef;
2863
- }(CellRendererPortalRef));
2864
2900
  var ColumnModel = /** @class */ (function () {
2865
2901
  function ColumnModel(columnId, defaults) {
2866
2902
  this.columnId = columnId;
@@ -3672,6 +3708,7 @@
3672
3708
  TextInputComponent,
3673
3709
  PasswordInputComponent,
3674
3710
  SelectInputComponent,
3711
+ SelectInputActivity,
3675
3712
  CheckboxInputComponent,
3676
3713
  ScrollContainerComponent,
3677
3714
  NoopComponent,
@@ -4851,7 +4888,7 @@
4851
4888
  return PopStateNavigation;
4852
4889
  }(AbstractPopStateNavigation));
4853
4890
 
4854
- exports.ɵcp = /** @class */ (function () {
4891
+ exports.ɵcq = /** @class */ (function () {
4855
4892
  function PlaceHistory() {
4856
4893
  this._archive = new Map();
4857
4894
  this.placeHistoryDepth = 4;
@@ -4988,7 +5025,7 @@
4988
5025
  // }
4989
5026
  //
4990
5027
  // }
4991
- })(exports.ɵcp || (exports.ɵcp = {}));
5028
+ })(exports.ɵcq || (exports.ɵcq = {}));
4992
5029
 
4993
5030
  exports.UrlSnapshot = /** @class */ (function () {
4994
5031
  // TODO: Update this accept a url Parser so it can be immutable and generate new trees on mutation using toString() are parseUrl.
@@ -5511,11 +5548,11 @@
5511
5548
  PlaceRouter.ctorParameters = function () { return [
5512
5549
  { type: router.Router },
5513
5550
  { type: common.Location },
5514
- { type: exports.ɵbz },
5551
+ { type: exports.ɵca },
5515
5552
  { type: UrlService },
5516
- { type: exports.ɵcp }
5553
+ { type: exports.ɵcq }
5517
5554
  ]; };
5518
- PlaceRouter.ɵprov = core.ɵɵdefineInjectable({ factory: function PlaceRouter_Factory() { return new PlaceRouter(core.ɵɵinject(router.Router), core.ɵɵinject(common.Location), core.ɵɵinject(exports.ɵbz), core.ɵɵinject(UrlService), core.ɵɵinject(exports.ɵcp)); }, token: PlaceRouter, providedIn: "root" });
5555
+ PlaceRouter.ɵprov = core.ɵɵdefineInjectable({ factory: function PlaceRouter_Factory() { return new PlaceRouter(core.ɵɵinject(router.Router), core.ɵɵinject(common.Location), core.ɵɵinject(exports.ɵca), core.ɵɵinject(UrlService), core.ɵɵinject(exports.ɵcq)); }, token: PlaceRouter, providedIn: "root" });
5519
5556
  __decorate([
5520
5557
  pectin.Trace(),
5521
5558
  __metadata("design:type", Function),
@@ -5528,9 +5565,9 @@
5528
5565
  }),
5529
5566
  __metadata("design:paramtypes", [router.Router,
5530
5567
  common.Location,
5531
- exports.ɵbz,
5568
+ exports.ɵca,
5532
5569
  UrlService,
5533
- exports.ɵcp])
5570
+ exports.ɵcq])
5534
5571
  ], PlaceRouter);
5535
5572
  return PlaceRouter;
5536
5573
  }(pectin.GarbageCollector));
@@ -6678,7 +6715,7 @@
6678
6715
  exports.InPlaceInteractionContextComponent = InPlaceInteractionContextComponent;
6679
6716
  exports.InteractionContextTriggerFor = InteractionContextTriggerFor;
6680
6717
  exports.InteractionModule = InteractionModule;
6681
- exports.InteractionService = exports.ɵbz;
6718
+ exports.InteractionService = exports.ɵca;
6682
6719
  exports.InteractionServiceRoutingAdapter = InteractionServiceRoutingAdapter;
6683
6720
  exports.LEFT_RIGHT_PLACE_ANIMATION = LEFT_RIGHT_PLACE_ANIMATION;
6684
6721
  exports.ListPlaceNavComponent = ListPlaceNavComponent;
@@ -6698,7 +6735,7 @@
6698
6735
  exports.PlaceComponentDeactivationHandler = PlaceComponentDeactivationHandler;
6699
6736
  exports.PlaceDefinition = PlaceDefinition;
6700
6737
  exports.PlaceGuard = PlaceGuard;
6701
- exports.PlaceHistory = exports.ɵcp;
6738
+ exports.PlaceHistory = exports.ɵcq;
6702
6739
  exports.PlaceModule = PlaceModule;
6703
6740
  exports.PlaceOutletComponent = PlaceOutletComponent;
6704
6741
  exports.PlaceRouter = PlaceRouter;
@@ -6714,6 +6751,7 @@
6714
6751
  exports.ScrollContainerComponent = ScrollContainerComponent;
6715
6752
  exports.SelectCellRendererComponent = SelectCellRendererComponent;
6716
6753
  exports.SelectHeaderCellRendererComponent = SelectHeaderCellRendererComponent;
6754
+ exports.SelectInputActivity = SelectInputActivity;
6717
6755
  exports.SelectInputComponent = SelectInputComponent;
6718
6756
  exports.SelectionColumnModel = SelectionColumnModel;
6719
6757
  exports.SidePlaceNavigationComponent = SidePlaceNavigationComponent;
@@ -6746,48 +6784,49 @@
6746
6784
  exports.ɵ0 = ɵ0;
6747
6785
  exports.ɵa = DirectivesModule;
6748
6786
  exports.ɵb = CommandDirective;
6749
- exports.ɵba = VerticalFocusContainerComponent;
6750
- exports.ɵbb = FocusableComponent;
6751
- exports.ɵbc = CardContainerComponent;
6752
- exports.ɵbd = TableComponent;
6753
- exports.ɵbe = EditRowControls;
6754
- exports.ɵbf = ColumnTemplateDirective;
6755
- exports.ɵbg = DefaultCellRendererComponent;
6756
- exports.ɵbh = TableCellRendererComponent;
6757
- exports.ɵbi = SelectCellRendererComponent;
6758
- exports.ɵbj = SelectHeaderCellRendererComponent;
6759
- exports.ɵbk = DefaultHeaderCellRendererComponent;
6760
- exports.ɵbl = TableHeaderCellRendererComponent;
6761
- exports.ɵbm = MultipleSelectInputComponent;
6762
- exports.ɵbn = InteractionModule;
6763
- exports.ɵbo = ActivityContainerComponent;
6764
- exports.ɵbp = AbstractInteractionContext;
6765
- exports.ɵbq = ActivityOutletComponent;
6766
- exports.ɵbr = ConfirmationDialogComponent;
6767
- exports.ɵbs = ACTIVITY_DATA;
6768
- exports.ɵbt = Activity;
6769
- exports.ɵbv = ConfirmThenDialogComponent;
6770
- exports.ɵbw = AlertDialogComponent;
6771
- exports.ɵby = InPlaceInteractionContextComponent;
6787
+ exports.ɵba = FocusContainerComponent;
6788
+ exports.ɵbb = VerticalFocusContainerComponent;
6789
+ exports.ɵbc = FocusableComponent;
6790
+ exports.ɵbd = CardContainerComponent;
6791
+ exports.ɵbe = TableComponent;
6792
+ exports.ɵbf = EditRowControls;
6793
+ exports.ɵbg = ColumnTemplateDirective;
6794
+ exports.ɵbh = DefaultCellRendererComponent;
6795
+ exports.ɵbi = TableCellRendererComponent;
6796
+ exports.ɵbj = SelectCellRendererComponent;
6797
+ exports.ɵbk = SelectHeaderCellRendererComponent;
6798
+ exports.ɵbl = DefaultHeaderCellRendererComponent;
6799
+ exports.ɵbm = TableHeaderCellRendererComponent;
6800
+ exports.ɵbn = MultipleSelectInputComponent;
6801
+ exports.ɵbo = InteractionModule;
6802
+ exports.ɵbp = ActivityContainerComponent;
6803
+ exports.ɵbq = AbstractInteractionContext;
6804
+ exports.ɵbr = ActivityOutletComponent;
6805
+ exports.ɵbs = ConfirmationDialogComponent;
6806
+ exports.ɵbt = ACTIVITY_DATA;
6807
+ exports.ɵbu = Activity;
6808
+ exports.ɵbw = ConfirmThenDialogComponent;
6809
+ exports.ɵbx = AlertDialogComponent;
6810
+ exports.ɵbz = InPlaceInteractionContextComponent;
6772
6811
  exports.ɵc = FocusBindingDirective;
6773
- exports.ɵca = ModalInteractionContextFactory;
6774
- exports.ɵcb = AddItemInteractionContextComponent;
6775
- exports.ɵcc = ActivityActionsComponent;
6776
- exports.ɵcd = PopupInteractionContextComponent;
6777
- exports.ɵce = InteractionContextTriggerFor;
6778
- exports.ɵcf = PlaceModule;
6779
- exports.ɵcg = EmptyStateComponent;
6780
- exports.ɵch = BusyOverlayComponent;
6781
- exports.ɵci = PlaceOutletComponent;
6782
- exports.ɵcj = leftRightPlaceAnimation;
6783
- exports.ɵck = LEFT_RIGHT_PLACE_ANIMATION;
6784
- exports.ɵcl = AUP_PLACE_CONFIG;
6785
- exports.ɵcn = PlaceRouter;
6786
- exports.ɵco = UrlService;
6787
- exports.ɵcq = TabbedPlaceNavigationComponent;
6788
- exports.ɵcr = AbstractPlaceNavigationComponent;
6789
- exports.ɵcs = ListPlaceNavComponent;
6790
- exports.ɵct = SidePlaceNavigationComponent;
6812
+ exports.ɵcb = ModalInteractionContextFactory;
6813
+ exports.ɵcc = AddItemInteractionContextComponent;
6814
+ exports.ɵcd = ActivityActionsComponent;
6815
+ exports.ɵce = PopupInteractionContextComponent;
6816
+ exports.ɵcf = InteractionContextTriggerFor;
6817
+ exports.ɵcg = PlaceModule;
6818
+ exports.ɵch = EmptyStateComponent;
6819
+ exports.ɵci = BusyOverlayComponent;
6820
+ exports.ɵcj = PlaceOutletComponent;
6821
+ exports.ɵck = leftRightPlaceAnimation;
6822
+ exports.ɵcl = LEFT_RIGHT_PLACE_ANIMATION;
6823
+ exports.ɵcm = AUP_PLACE_CONFIG;
6824
+ exports.ɵco = PlaceRouter;
6825
+ exports.ɵcp = UrlService;
6826
+ exports.ɵcr = TabbedPlaceNavigationComponent;
6827
+ exports.ɵcs = AbstractPlaceNavigationComponent;
6828
+ exports.ɵct = ListPlaceNavComponent;
6829
+ exports.ɵcu = SidePlaceNavigationComponent;
6791
6830
  exports.ɵd = DisposableComponent;
6792
6831
  exports.ɵe = FocusBindingFactory;
6793
6832
  exports.ɵf = ComponentsModule;
@@ -6803,14 +6842,14 @@
6803
6842
  exports.ɵp = TextInputComponent;
6804
6843
  exports.ɵq = PasswordInputComponent;
6805
6844
  exports.ɵr = SelectInputComponent;
6806
- exports.ɵs = CheckboxInputComponent;
6807
- exports.ɵt = ScrollContainerComponent;
6808
- exports.ɵu = NoopComponent;
6809
- exports.ɵv = SwitchCaseOption;
6810
- exports.ɵw = SwitchCaseWhenDirective;
6811
- exports.ɵx = SwitchCaseDefaultDirective;
6812
- exports.ɵy = SwitchCaseComponent;
6813
- exports.ɵz = FocusContainerComponent;
6845
+ exports.ɵs = SelectInputActivity;
6846
+ exports.ɵt = CheckboxInputComponent;
6847
+ exports.ɵu = ScrollContainerComponent;
6848
+ exports.ɵv = NoopComponent;
6849
+ exports.ɵw = SwitchCaseOption;
6850
+ exports.ɵx = SwitchCaseWhenDirective;
6851
+ exports.ɵy = SwitchCaseDefaultDirective;
6852
+ exports.ɵz = SwitchCaseComponent;
6814
6853
 
6815
6854
  Object.defineProperty(exports, '__esModule', { value: true });
6816
6855