nuxeo-development-framework 3.4.4 → 3.4.5
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.
- package/bundles/nuxeo-development-framework.umd.js +132 -30
- package/bundles/nuxeo-development-framework.umd.js.map +1 -1
- package/esm2015/lib/Core/services/nuxeo/new-nuxeo-overide.js +41 -3
- package/esm2015/lib/components/comments/components/comments-list/comments-list.component.js +4 -3
- package/esm2015/lib/components/correspondence-relation/components/correspondence-relation/correspondence-relation.component.js +2 -2
- package/esm2015/lib/components/correspondence-relation/components/correspondence-relation-reply/correspondence-relation-reply.component.js +5 -4
- package/esm2015/lib/components/correspondence-relation/components/versions/versions.component.js +1 -1
- package/esm2015/lib/components/cts-tags/components/correspondence-tags/correspondence-tags.component.js +2 -2
- package/esm2015/lib/components/latest-activity/components/latest-activity/latest-activity.component.js +4 -3
- package/esm2015/lib/components/latest-activity/components/single-activity/single-activity.component.js +2 -2
- package/esm2015/lib/components/pdf-tron/pdftron/pdftron.component.js +38 -18
- package/esm2015/lib/shared/components/item-list/item-list.component.js +2 -2
- package/esm2015/lib/shared/components/no-data/no-data.component.js +7 -3
- package/fesm2015/nuxeo-development-framework.js +133 -31
- package/fesm2015/nuxeo-development-framework.js.map +1 -1
- package/lib/Core/services/nuxeo/new-nuxeo-overide.d.ts +1 -0
- package/lib/components/pdf-tron/pdftron/pdftron.component.d.ts +6 -2
- package/lib/shared/components/no-data/no-data.component.d.ts +2 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Component, Input } from '@angular/core';
|
|
1
|
+
import { Component, Input, ViewEncapsulation } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
import * as i1 from "@angular/common";
|
|
4
4
|
import * as i2 from "@ngx-translate/core";
|
|
@@ -17,21 +17,25 @@ export class NoDataComponent {
|
|
|
17
17
|
/** tralsnation path to the message to be shown */
|
|
18
18
|
this.message = 'noData';
|
|
19
19
|
this.border = true;
|
|
20
|
+
this.img = '';
|
|
20
21
|
}
|
|
21
22
|
ngOnInit() { }
|
|
22
23
|
}
|
|
23
24
|
NoDataComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: NoDataComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
24
|
-
NoDataComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.4", type: NoDataComponent, selector: "cts-no-data", inputs: { message: "message", border: "border" }, ngImport: i0, template: "<div class=\"container\" [ngClass]=\"{'no-data-border':border}\">\r\n {{ message || \"noData\" | translate }}\r\n</div>\r\n", styles: [".container{display:grid;place-items:center;height:100%;width:100%;font-size:14px;color:gray;padding:10px}.no-data-border{border:1px solid #d9dce2}\n"], directives: [{ type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], pipes: { "translate": i2.TranslatePipe } });
|
|
25
|
+
NoDataComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.4", type: NoDataComponent, selector: "cts-no-data", inputs: { message: "message", border: "border", img: "img" }, ngImport: i0, template: "<div class=\"container\" [ngClass]=\"{'no-data-border':border}\">\r\n <img class=\"empty-state-img\" [src]=\"img\" *ngIf=\"img\">\r\n <div class=\"empty-state-test\">\r\n {{ message || \"noData\" | translate }}\r\n </div>\r\n</div>\r\n", styles: [".container{display:grid;place-items:center;height:100%;width:100%;font-size:14px;color:gray;padding:10px}.container .empty-state-img{display:none}.no-data-border{border:1px solid #d9dce2}\n"], directives: [{ type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "translate": i2.TranslatePipe }, encapsulation: i0.ViewEncapsulation.None });
|
|
25
26
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: NoDataComponent, decorators: [{
|
|
26
27
|
type: Component,
|
|
27
28
|
args: [{
|
|
28
29
|
selector: 'cts-no-data',
|
|
29
30
|
templateUrl: './no-data.component.html',
|
|
30
31
|
styleUrls: ['./no-data.component.scss'],
|
|
32
|
+
encapsulation: ViewEncapsulation.None
|
|
31
33
|
}]
|
|
32
34
|
}], ctorParameters: function () { return []; }, propDecorators: { message: [{
|
|
33
35
|
type: Input
|
|
34
36
|
}], border: [{
|
|
35
37
|
type: Input
|
|
38
|
+
}], img: [{
|
|
39
|
+
type: Input
|
|
36
40
|
}] } });
|
|
37
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
41
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm8tZGF0YS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9udXhlby1kZXZlbG9wbWVudC1mcmFtZXdvcmsvc3JjL2xpYi9zaGFyZWQvY29tcG9uZW50cy9uby1kYXRhL25vLWRhdGEuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbnV4ZW8tZGV2ZWxvcG1lbnQtZnJhbWV3b3JrL3NyYy9saWIvc2hhcmVkL2NvbXBvbmVudHMvbm8tZGF0YS9uby1kYXRhLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFVLGlCQUFpQixFQUFFLE1BQU0sZUFBZSxDQUFDOzs7O0FBQzVFOzs7Ozs7Ozs7R0FTRztBQU9ILE1BQU0sT0FBTyxlQUFlO0lBTzFCO1FBTkEsbURBQW1EO1FBRW5ELFlBQU8sR0FBSSxRQUFRLENBQUM7UUFFcEIsV0FBTSxHQUFHLElBQUksQ0FBQztRQUNMLFFBQUcsR0FBRyxFQUFFLEN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