keevo-components 1.5.219 → 1.5.220
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/esm2020/lib/api/modules/primeng.module.mjs +8 -4
- package/esm2020/lib/avatar/avatar.component.mjs +2 -2
- package/fesm2015/keevo-components.mjs +8 -4
- package/fesm2015/keevo-components.mjs.map +1 -1
- package/fesm2020/keevo-components.mjs +8 -4
- package/fesm2020/keevo-components.mjs.map +1 -1
- package/lib/api/modules/primeng.module.d.ts +2 -1
- package/package.json +1 -1
|
@@ -93,6 +93,7 @@ import * as i14$1 from 'primeng/breadcrumb';
|
|
|
93
93
|
import { BreadcrumbModule } from 'primeng/breadcrumb';
|
|
94
94
|
import * as i10$1 from 'primeng/treetable';
|
|
95
95
|
import { TreeTableModule } from 'primeng/treetable';
|
|
96
|
+
import { ImageModule } from 'primeng/image';
|
|
96
97
|
import Quill from 'quill';
|
|
97
98
|
import { OrgChart } from 'd3-org-chart';
|
|
98
99
|
import * as d3 from 'd3';
|
|
@@ -1497,7 +1498,8 @@ PrimeNgModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version:
|
|
|
1497
1498
|
TreeModule,
|
|
1498
1499
|
StyleClassModule,
|
|
1499
1500
|
BreadcrumbModule,
|
|
1500
|
-
TreeTableModule
|
|
1501
|
+
TreeTableModule,
|
|
1502
|
+
ImageModule] });
|
|
1501
1503
|
PrimeNgModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: PrimeNgModule, providers: [
|
|
1502
1504
|
ConfirmationService,
|
|
1503
1505
|
DialogService,
|
|
@@ -1558,7 +1560,8 @@ PrimeNgModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version:
|
|
|
1558
1560
|
TreeModule,
|
|
1559
1561
|
StyleClassModule,
|
|
1560
1562
|
BreadcrumbModule,
|
|
1561
|
-
TreeTableModule
|
|
1563
|
+
TreeTableModule,
|
|
1564
|
+
ImageModule] });
|
|
1562
1565
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: PrimeNgModule, decorators: [{
|
|
1563
1566
|
type: NgModule,
|
|
1564
1567
|
args: [{
|
|
@@ -1617,7 +1620,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImpor
|
|
|
1617
1620
|
TreeModule,
|
|
1618
1621
|
StyleClassModule,
|
|
1619
1622
|
BreadcrumbModule,
|
|
1620
|
-
TreeTableModule
|
|
1623
|
+
TreeTableModule,
|
|
1624
|
+
ImageModule
|
|
1621
1625
|
],
|
|
1622
1626
|
providers: [
|
|
1623
1627
|
ConfirmationService,
|
|
@@ -4217,7 +4221,7 @@ class AvatarComponent {
|
|
|
4217
4221
|
this.height = 135;
|
|
4218
4222
|
}
|
|
4219
4223
|
getImageSrc() {
|
|
4220
|
-
if (this.imageUrl && this.imageUrl.startsWith('data:image')) {
|
|
4224
|
+
if (this.imageUrl && this.imageUrl.startsWith('data:image') || this.imageUrl.startsWith('http') || this.imageUrl.startsWith('https')) {
|
|
4221
4225
|
return this.imageUrl;
|
|
4222
4226
|
}
|
|
4223
4227
|
else if (this.imageUrl) {
|