@coolon/angular-ui-powerups 1.15.1 → 1.16.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 (30) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/bundles/coolon-angular-ui-powerups.umd.js +6 -6
  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.metadata.json +1 -1
  7. package/esm2015/lib/interaction/abstract-interaction-context.js +3 -2
  8. package/esm2015/lib/interaction/abstract-interaction-context.js.map +1 -1
  9. package/esm2015/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.js +3 -3
  10. package/esm2015/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.js.map +1 -1
  11. package/esm2015/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.metadata.json +1 -1
  12. package/esm2015/lib/interaction/interaction-context.js.map +1 -1
  13. package/esm2015/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.js +1 -1
  14. package/esm2015/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.js.map +1 -1
  15. package/esm5/lib/interaction/abstract-interaction-context.js +3 -2
  16. package/esm5/lib/interaction/abstract-interaction-context.js.map +1 -1
  17. package/esm5/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.js +3 -3
  18. package/esm5/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.js.map +1 -1
  19. package/esm5/lib/interaction/interaction-context.js.map +1 -1
  20. package/esm5/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.js +1 -1
  21. package/esm5/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.js.map +1 -1
  22. package/fesm2015/coolon-angular-ui-powerups.js +7 -7
  23. package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
  24. package/fesm5/coolon-angular-ui-powerups.js +7 -7
  25. package/fesm5/coolon-angular-ui-powerups.js.map +1 -1
  26. package/lib/interaction/abstract-interaction-context.d.ts +1 -1
  27. package/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.d.ts +1 -1
  28. package/lib/interaction/interaction-context.d.ts +6 -1
  29. package/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.d.ts +1 -1
  30. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
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.16.0](https://bitbucket.org/coolon/angular-ui-powerups/compare/v1.15.1...v1.16.0) (2020-06-19)
6
+
7
+
8
+ ### Features
9
+
10
+ * added disableClose support to startActivity ([500f16f](https://bitbucket.org/coolon/angular-ui-powerups/commit/500f16f61618aff3eeddb4b76f05791b6f5eaea1))
11
+
5
12
  ### [1.15.1](https://bitbucket.org/coolon/angular-ui-powerups/compare/v1.15.0...v1.15.1) (2020-06-17)
6
13
 
7
14
 
@@ -2683,8 +2683,8 @@
2683
2683
  var AbstractInteractionContext = /** @class */ (function () {
2684
2684
  function AbstractInteractionContext() {
2685
2685
  }
2686
- AbstractInteractionContext.prototype.startActivity = function (activityType, data) {
2687
- return this.createAndLaunchActivity(activityType, data, false);
2686
+ AbstractInteractionContext.prototype.startActivity = function (activityType, data, options) {
2687
+ return this.createAndLaunchActivity(activityType, data, typescriptUtilities.Opts.get(options).getOptional('disableClose', false));
2688
2688
  };
2689
2689
  AbstractInteractionContext.prototype.confirm = function (confirm) {
2690
2690
  // Important: we have to implement confirmOrReject as the main entry point
@@ -3252,7 +3252,7 @@
3252
3252
  Object.defineProperty(InPlaceInteractionContextComponent.prototype, "animationDuration", {
3253
3253
  get: function () {
3254
3254
  var _a;
3255
- return this.animateFirstActivity ? (((_a = this.tabConfig) === null || _a === void 0 ? void 0 : _a.animationDuration) || '500ms') : "0ms";
3255
+ return this.animateFirstActivity ? (((_a = this.tabConfig) === null || _a === void 0 ? void 0 : _a.animationDuration) || '500ms') : '0ms';
3256
3256
  },
3257
3257
  enumerable: true,
3258
3258
  configurable: true
@@ -3288,8 +3288,8 @@
3288
3288
  InPlaceInteractionContextComponent.prototype.isActive = function () {
3289
3289
  return this.activityContainerComponent.isActive();
3290
3290
  };
3291
- InPlaceInteractionContextComponent.prototype.startActivity = function (activityType, data) {
3292
- return this.activityContainerComponent.startActivity(activityType, data);
3291
+ InPlaceInteractionContextComponent.prototype.startActivity = function (activityType, data, options) {
3292
+ return this.activityContainerComponent.startActivity(activityType, data, options);
3293
3293
  };
3294
3294
  InPlaceInteractionContextComponent.ctorParameters = function () { return [
3295
3295
  { type: exports.ɵbu },
@@ -6280,7 +6280,7 @@
6280
6280
  typescriptUtilities.assert.notNil(dialogService);
6281
6281
  return _this;
6282
6282
  }
6283
- DialogInteractionContextFactory.prototype.createInteractionContext = function (identifier, api) {
6283
+ DialogInteractionContextFactory.prototype.createInteractionContext = function (identifier, api, disableClose) {
6284
6284
  var config = __assign(__assign({ autoFocus: false, hasBackdrop: true, closeOnNavigation: false }, this.matDialogDefaultConfig), this.dialogServiceDefaults);
6285
6285
  return new DialogInteractionContext(identifier, api, this.dialogService, config);
6286
6286
  };