raise-common-lib 0.0.178 → 0.0.180

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.
@@ -3929,9 +3929,10 @@
3929
3929
  * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
3930
3930
  */
3931
3931
  var DrawerComponent = /** @class */ (function () {
3932
- function DrawerComponent(resolver, service) {
3932
+ function DrawerComponent(resolver, service, ref) {
3933
3933
  this.resolver = resolver;
3934
3934
  this.service = service;
3935
+ this.ref = ref;
3935
3936
  this.config = DefaultDrawerConfig;
3936
3937
  this.useAnimation = "yes";
3937
3938
  this.isOpened = false;
@@ -4160,19 +4161,20 @@
4160
4161
  };
4161
4162
  /**
4162
4163
  * @param {?} isOpen
4163
- * @param {?=} useTransition
4164
+ * @param {?=} useAnimation
4164
4165
  * @return {?}
4165
4166
  */
4166
4167
  DrawerComponent.prototype.toggleOpenStatus = /**
4167
4168
  * @param {?} isOpen
4168
- * @param {?=} useTransition
4169
+ * @param {?=} useAnimation
4169
4170
  * @return {?}
4170
4171
  */
4171
- function (isOpen, useTransition) {
4172
- if (useTransition === void 0) { useTransition = false; }
4172
+ function (isOpen, useAnimation) {
4173
+ if (useAnimation === void 0) { useAnimation = false; }
4173
4174
  this.isOpened = isOpen;
4174
- this.useAnimation = useTransition ? "yes" : "no";
4175
- this.hiddenDrawer = !isOpen && !useTransition;
4175
+ this.useAnimation = useAnimation ? "yes" : "no";
4176
+ this.hiddenDrawer = !isOpen && !useAnimation;
4177
+ this.ref.markForCheck();
4176
4178
  };
4177
4179
  /**
4178
4180
  * @return {?}
@@ -4183,6 +4185,7 @@
4183
4185
  function () {
4184
4186
  if (!this.isOpened) {
4185
4187
  this.hiddenDrawer = true;
4188
+ this.ref.markForCheck();
4186
4189
  }
4187
4190
  };
4188
4191
  DrawerComponent.decorators = [
@@ -4195,7 +4198,8 @@
4195
4198
  /** @nocollapse */
4196
4199
  DrawerComponent.ctorParameters = function () { return [
4197
4200
  { type: core.ComponentFactoryResolver },
4198
- { type: DrawerService }
4201
+ { type: DrawerService },
4202
+ { type: core.ChangeDetectorRef }
4199
4203
  ]; };
4200
4204
  DrawerComponent.propDecorators = {
4201
4205
  element: [{ type: core.ViewChild, args: ["element", { static: false },] }],
@@ -4255,6 +4259,11 @@
4255
4259
  * @private
4256
4260
  */
4257
4261
  DrawerComponent.prototype.service;
4262
+ /**
4263
+ * @type {?}
4264
+ * @private
4265
+ */
4266
+ DrawerComponent.prototype.ref;
4258
4267
  }
4259
4268
 
4260
4269
  /**
@@ -23472,7 +23481,9 @@
23472
23481
  */
23473
23482
  function () {
23474
23483
  this.selectedItems = JSON.parse(JSON.stringify(this.value || []));
23475
- this.comfirmSelect.value = this.selectedItems;
23484
+ if (this.comfirmSelect) {
23485
+ this.comfirmSelect.value = this.selectedItems;
23486
+ }
23476
23487
  };
23477
23488
  /**
23478
23489
  * @return {?}