nuxeo-development-framework 4.5.7 → 4.5.8

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.
@@ -14323,9 +14323,10 @@
14323
14323
  } });
14324
14324
 
14325
14325
  var DynamicColumnComponent = /** @class */ (function () {
14326
- function DynamicColumnComponent(extensions, componentFactoryResolver) {
14326
+ function DynamicColumnComponent(extensions, componentFactoryResolver, cdr) {
14327
14327
  this.extensions = extensions;
14328
14328
  this.componentFactoryResolver = componentFactoryResolver;
14329
+ this.cdr = cdr;
14329
14330
  }
14330
14331
  DynamicColumnComponent.prototype.ngOnInit = function () {
14331
14332
  var componentType = this.extensions.getComponentById(this.id);
@@ -14351,26 +14352,29 @@
14351
14352
  if (this.componentRef && this.componentRef.instance) {
14352
14353
  this.componentRef.instance.context = this.context;
14353
14354
  this.componentRef.instance.column = this.column;
14355
+ if (this.componentRef.instance.update) {
14356
+ this.componentRef.instance.update();
14357
+ }
14354
14358
  }
14355
14359
  };
14356
14360
  return DynamicColumnComponent;
14357
14361
  }());
14358
- DynamicColumnComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: DynamicColumnComponent, deps: [{ token: ExtensionService }, { token: i0__namespace.ComponentFactoryResolver }], target: i0__namespace.ɵɵFactoryTarget.Component });
14359
- DynamicColumnComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: DynamicColumnComponent, selector: "cts-dynamic-column", inputs: { id: "id", context: "context", column: "column" }, host: { classAttribute: "cts-dynamic-column" }, viewQueries: [{ propertyName: "content", first: true, predicate: ["content"], descendants: true, read: i0.ViewContainerRef, static: true }], usesOnChanges: true, ngImport: i0__namespace, template: " <ng-container #content></ng-container> ", isInline: true, styles: ["\n .cts-dynamic-column {\n display: flex;\n align-items: center;\n }\n "], encapsulation: i0__namespace.ViewEncapsulation.None });
14362
+ DynamicColumnComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: DynamicColumnComponent, deps: [{ token: ExtensionService }, { token: i0__namespace.ComponentFactoryResolver }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
14363
+ DynamicColumnComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: DynamicColumnComponent, selector: "cts-dynamic-column", inputs: { id: "id", context: "context", column: "column" }, host: { classAttribute: "cts-dynamic-column" }, viewQueries: [{ propertyName: "content", first: true, predicate: ["content"], descendants: true, read: i0.ViewContainerRef, static: true }], usesOnChanges: true, ngImport: i0__namespace, template: " <ng-container #content></ng-container> ", isInline: true, styles: ["\n\t\t\t.cts-dynamic-column {\n\t\t\t\tdisplay: flex;\n\t\t\t\talign-items: center;\n\t\t\t}\n\t\t"], encapsulation: i0__namespace.ViewEncapsulation.None });
14360
14364
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: DynamicColumnComponent, decorators: [{
14361
14365
  type: i0.Component,
14362
14366
  args: [{
14363
- selector: "cts-dynamic-column",
14367
+ selector: 'cts-dynamic-column',
14364
14368
  template: " <ng-container #content></ng-container> ",
14365
14369
  encapsulation: i0.ViewEncapsulation.None,
14366
- host: { class: "cts-dynamic-column" },
14370
+ host: { class: 'cts-dynamic-column' },
14367
14371
  styles: [
14368
- "\n .cts-dynamic-column {\n display: flex;\n align-items: center;\n }\n ",
14369
- ],
14372
+ "\n\t\t\t.cts-dynamic-column {\n\t\t\t\tdisplay: flex;\n\t\t\t\talign-items: center;\n\t\t\t}\n\t\t"
14373
+ ]
14370
14374
  }]
14371
- }], ctorParameters: function () { return [{ type: ExtensionService }, { type: i0__namespace.ComponentFactoryResolver }]; }, propDecorators: { content: [{
14375
+ }], ctorParameters: function () { return [{ type: ExtensionService }, { type: i0__namespace.ComponentFactoryResolver }, { type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { content: [{
14372
14376
  type: i0.ViewChild,
14373
- args: ["content", { read: i0.ViewContainerRef, static: true }]
14377
+ args: ['content', { read: i0.ViewContainerRef, static: true }]
14374
14378
  }], id: [{
14375
14379
  type: i0.Input
14376
14380
  }], context: [{