survey-creator-angular 2.2.2 → 2.2.4

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.
@@ -586,18 +586,22 @@
586
586
  TabbledMenuComponent.prototype.getModel = function () {
587
587
  return this.model;
588
588
  };
589
- TabbledMenuComponent.prototype.ngAfterViewInit = function () {
589
+ TabbledMenuComponent.prototype.initResponsivityManager = function () {
590
590
  var _a;
591
591
  if ((_a = this.container) === null || _a === void 0 ? void 0 : _a.nativeElement) {
592
592
  this.model.initResponsivityManager(this.container.nativeElement);
593
593
  }
594
594
  };
595
+ TabbledMenuComponent.prototype.ngAfterViewInit = function () {
596
+ this.initResponsivityManager();
597
+ };
598
+ TabbledMenuComponent.prototype.afterUpdate = function (isSync) {
599
+ _super.prototype.afterUpdate.call(this, isSync);
600
+ this.initResponsivityManager();
601
+ };
595
602
  TabbledMenuComponent.prototype.ngAfterViewChecked = function () {
596
- var _a;
597
603
  _super.prototype.ngAfterViewChecked.call(this);
598
- if ((_a = this.container) === null || _a === void 0 ? void 0 : _a.nativeElement) {
599
- this.model.initResponsivityManager(this.container.nativeElement);
600
- }
604
+ this.initResponsivityManager();
601
605
  };
602
606
  TabbledMenuComponent.prototype.ngOnDestroy = function () {
603
607
  _super.prototype.ngOnDestroy.call(this);
@@ -934,19 +938,22 @@
934
938
  enumerable: false,
935
939
  configurable: true
936
940
  });
937
- AdaptiveToolboxComponent.prototype.ngAfterViewInit = function () {
941
+ AdaptiveToolboxComponent.prototype.afterRender = function () {
938
942
  var _a;
939
- this.toolbox.afterRender(this.container.nativeElement);
940
943
  if ((_a = this.container) === null || _a === void 0 ? void 0 : _a.nativeElement) {
941
944
  this.toolbox.afterRender(this.container.nativeElement);
942
945
  }
943
946
  };
947
+ AdaptiveToolboxComponent.prototype.ngAfterViewInit = function () {
948
+ this.afterRender();
949
+ };
944
950
  AdaptiveToolboxComponent.prototype.ngAfterViewChecked = function () {
945
- var _a;
946
951
  _super.prototype.ngAfterViewChecked.call(this);
947
- if ((_a = this.container) === null || _a === void 0 ? void 0 : _a.nativeElement) {
948
- this.toolbox.afterRender(this.container.nativeElement);
949
- }
952
+ this.afterRender();
953
+ };
954
+ AdaptiveToolboxComponent.prototype.afterUpdate = function (isSync) {
955
+ _super.prototype.afterUpdate.call(this, isSync);
956
+ this.afterRender();
950
957
  };
951
958
  AdaptiveToolboxComponent.prototype.getModel = function () {
952
959
  return this.toolbox;
@@ -2817,7 +2824,7 @@
2817
2824
  return StringEditorComponent;
2818
2825
  }(CreatorModelComponent));
2819
2826
  StringEditorComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: StringEditorComponent, deps: [{ token: i0__namespace.ChangeDetectorRef }, { token: i0__namespace.ViewContainerRef }, { token: i0__namespace.NgZone }], target: i0__namespace.ɵɵFactoryTarget.Component });
2820
- StringEditorComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: StringEditorComponent, selector: "svc-string-edtior", inputs: { model: "model" }, viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true }], usesInheritance: true, ngImport: i0__namespace, template: "<ng-template #template>\n <span [class]=\"className\">\n <span class=\"svc-string-editor__content\">\n <div class=\"svc-string-editor__border svc-string-editor__border--hover\"></div>\n <div class=\"svc-string-editor__border svc-string-editor__border--focus\"></div>\n <span class=\"svc-string-editor__input\">\n <span role=\"textbox\" *ngIf=\"!locString.hasHtml\" class=\"sv-string-editor\" spellcheck=\"false\"\n (focus)=\"onFocus($event)\" (paste)=\"onPaste($event)\" (blur)=\"onBlur($event)\" (input)=\"baseModel.onInput($event)\" (keydown)=\"baseModel.onKeyDown($event)\" (keyup)=\"baseModel.onKeyUp($event)\" (compositionstart)=\"baseModel.onCompositionStart($event)\" (compositionend)=\"baseModel.onCompositionEnd($event)\" (mouseup)=\"baseModel.onMouseUp($event)\" (click)=\"edit($event)\" [textContent]=\"locString.renderedHtml\" [attr.aria-placeholder]=\"placeholder\" [attr.aria-label]=\"ariaLabel\" [attr.contenteditable]=\"contentEditable\" [attr.tabIndex]=\"baseModel.tabIndex\" #container></span>\n <span role=\"textbox\" *ngIf=\"locString.hasHtml\" class=\"sv-string-editor sv-string-editor--html\" spellcheck=\"false\"\n (focus)=\"onFocus($event)\" (blur)=\"onBlur($event)\" (keydown)=\"baseModel.onKeyDown($event)\" (keyup)=\"baseModel.onKeyUp($event)\" (compositionstart)=\"baseModel.onCompositionStart($event)\" (compositionend)=\"baseModel.onCompositionEnd($event)\" (mouseup)=\"baseModel.onMouseUp($event)\"\n (click)=\"edit($event)\" [attr.aria-placeholder]=\"placeholder\" [attr.aria-label]=\"ariaLabel\" [attr.contenteditable]=\"contentEditable\" [attr.tabIndex]=\"baseModel.tabIndex\" [innerHtml]=\"locString.renderedHtml | safeHtml\" #container></span>\n <sv-ng-character-counter *ngIf=\"showCharacterCounter\" [counter]=\"characterCounter\" [remainingCharacterCounter]=\"getCharacterCounterClass\"></sv-ng-character-counter>\n </span>\n </span>\n <span *ngIf=\"errorText\" class=\"svc-string-editor__error\">{{errorText}}</span>\n </span>\n</ng-template>", styles: [":host { display: none; }"], components: [{ type: i1__namespace.CharacterCounterComponent, selector: "sv-ng-character-counter", inputs: ["counter", "remainingCharacterCounter"] }], directives: [{ type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "safeHtml": i1__namespace.SafeHtmlPipe } });
2827
+ StringEditorComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: StringEditorComponent, selector: "svc-string-edtior", inputs: { model: "model" }, viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true }], usesInheritance: true, ngImport: i0__namespace, template: "<ng-template #template>\n <span [class]=\"className\">\n <span class=\"svc-string-editor__content\">\n <div class=\"svc-string-editor__border svc-string-editor__border--hover\"></div>\n <div class=\"svc-string-editor__border svc-string-editor__border--focus\"></div>\n <span class=\"svc-string-editor__input\">\n <span role=\"textbox\" *ngIf=\"!locString.hasHtml\" class=\"sv-string-editor\" spellcheck=\"false\"\n (focus)=\"onFocus($event)\" (paste)=\"onPaste($event)\" (blur)=\"onBlur($event)\" (beforeinput)=\"baseModel.onBeforeInput($event)\" (input)=\"baseModel.onInput($event)\" (keydown)=\"baseModel.onKeyDown($event)\" (keyup)=\"baseModel.onKeyUp($event)\" (compositionstart)=\"baseModel.onCompositionStart($event)\" (compositionend)=\"baseModel.onCompositionEnd($event)\" (mouseup)=\"baseModel.onMouseUp($event)\" (click)=\"edit($event)\" [textContent]=\"locString.renderedHtml\" [attr.aria-placeholder]=\"placeholder\" [attr.aria-label]=\"ariaLabel\" [attr.contenteditable]=\"contentEditable\" [attr.tabIndex]=\"baseModel.tabIndex\" #container></span>\n <span role=\"textbox\" *ngIf=\"locString.hasHtml\" class=\"sv-string-editor sv-string-editor--html\" spellcheck=\"false\"\n (focus)=\"onFocus($event)\" (blur)=\"onBlur($event)\" (keydown)=\"baseModel.onKeyDown($event)\" (keyup)=\"baseModel.onKeyUp($event)\" (compositionstart)=\"baseModel.onCompositionStart($event)\" (compositionend)=\"baseModel.onCompositionEnd($event)\" (mouseup)=\"baseModel.onMouseUp($event)\"\n (click)=\"edit($event)\" [attr.aria-placeholder]=\"placeholder\" [attr.aria-label]=\"ariaLabel\" [attr.contenteditable]=\"contentEditable\" [attr.tabIndex]=\"baseModel.tabIndex\" [innerHtml]=\"locString.renderedHtml | safeHtml\" #container></span>\n <sv-ng-character-counter *ngIf=\"showCharacterCounter\" [counter]=\"characterCounter\" [remainingCharacterCounter]=\"getCharacterCounterClass\"></sv-ng-character-counter>\n </span>\n </span>\n <span *ngIf=\"errorText\" class=\"svc-string-editor__error\">{{errorText}}</span>\n </span>\n</ng-template>", styles: [":host { display: none; }"], components: [{ type: i1__namespace.CharacterCounterComponent, selector: "sv-ng-character-counter", inputs: ["counter", "remainingCharacterCounter"] }], directives: [{ type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "safeHtml": i1__namespace.SafeHtmlPipe } });
2821
2828
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: StringEditorComponent, decorators: [{
2822
2829
  type: i0.Component,
2823
2830
  args: [{