@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
@@ -14,7 +14,7 @@ import { MatCheckboxModule } from '@angular/material/checkbox';
14
14
  import { MatIconModule } from '@angular/material/icon';
15
15
  import { MatTableModule } from '@angular/material/table';
16
16
  import { DelegatingValueModel, assert, UnaryCommand, lang, Dsl, GarbageCollector, Logger, TrackExternal, Command, FocusManager, DelegatingFormListModel, DelegatingFormValueModel, ListModel, StoreInListModel, ValueModel, StoreInValueModel, MutableValueModel, MultipleSelectionModel, MutableListModel, Form, Deferred, Trace, Guard, DebugContext, Binding, Functions } from '@coolon/pectin';
17
- import { assert as assert$1, lang as lang$1, Opts, Klass } from '@coolon/typescript-utilities';
17
+ import { assert as assert$1, Opts, lang as lang$1, Klass } from '@coolon/typescript-utilities';
18
18
  import { Memoize } from '@typescript-plus/fast-memoize-decorator/dist/src';
19
19
  import ___default, { isEqual, isNil } from 'lodash';
20
20
  import produce from 'immer';
@@ -2511,8 +2511,8 @@ var ConfirmationDialogComponent = /** @class */ (function (_super) {
2511
2511
  var AbstractInteractionContext = /** @class */ (function () {
2512
2512
  function AbstractInteractionContext() {
2513
2513
  }
2514
- AbstractInteractionContext.prototype.startActivity = function (activityType, data) {
2515
- return this.createAndLaunchActivity(activityType, data, false);
2514
+ AbstractInteractionContext.prototype.startActivity = function (activityType, data, options) {
2515
+ return this.createAndLaunchActivity(activityType, data, Opts.get(options).getOptional('disableClose', false));
2516
2516
  };
2517
2517
  AbstractInteractionContext.prototype.confirm = function (confirm) {
2518
2518
  // Important: we have to implement confirmOrReject as the main entry point
@@ -3080,7 +3080,7 @@ var InPlaceInteractionContextComponent = /** @class */ (function (_super) {
3080
3080
  Object.defineProperty(InPlaceInteractionContextComponent.prototype, "animationDuration", {
3081
3081
  get: function () {
3082
3082
  var _a;
3083
- return this.animateFirstActivity ? (((_a = this.tabConfig) === null || _a === void 0 ? void 0 : _a.animationDuration) || '500ms') : "0ms";
3083
+ return this.animateFirstActivity ? (((_a = this.tabConfig) === null || _a === void 0 ? void 0 : _a.animationDuration) || '500ms') : '0ms';
3084
3084
  },
3085
3085
  enumerable: true,
3086
3086
  configurable: true
@@ -3116,8 +3116,8 @@ var InPlaceInteractionContextComponent = /** @class */ (function (_super) {
3116
3116
  InPlaceInteractionContextComponent.prototype.isActive = function () {
3117
3117
  return this.activityContainerComponent.isActive();
3118
3118
  };
3119
- InPlaceInteractionContextComponent.prototype.startActivity = function (activityType, data) {
3120
- return this.activityContainerComponent.startActivity(activityType, data);
3119
+ InPlaceInteractionContextComponent.prototype.startActivity = function (activityType, data, options) {
3120
+ return this.activityContainerComponent.startActivity(activityType, data, options);
3121
3121
  };
3122
3122
  InPlaceInteractionContextComponent.ctorParameters = function () { return [
3123
3123
  { type: InteractionService },
@@ -6108,7 +6108,7 @@ var DialogInteractionContextFactory = /** @class */ (function (_super) {
6108
6108
  assert$1.notNil(dialogService);
6109
6109
  return _this;
6110
6110
  }
6111
- DialogInteractionContextFactory.prototype.createInteractionContext = function (identifier, api) {
6111
+ DialogInteractionContextFactory.prototype.createInteractionContext = function (identifier, api, disableClose) {
6112
6112
  var config = __assign(__assign({ autoFocus: false, hasBackdrop: true, closeOnNavigation: false }, this.matDialogDefaultConfig), this.dialogServiceDefaults);
6113
6113
  return new DialogInteractionContext(identifier, api, this.dialogService, config);
6114
6114
  };