@sumaris-net/ngx-components 0.27.16 → 0.27.17
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/sumaris-net.ngx-components.umd.js +37 -1
- package/bundles/sumaris-net.ngx-components.umd.js.map +1 -1
- package/bundles/sumaris-net.ngx-components.umd.min.js +1 -1
- package/bundles/sumaris-net.ngx-components.umd.min.js.map +1 -1
- package/esm2015/src/app/core/core.module.js +5 -2
- package/esm2015/src/app/core/icon/icon.component.js +29 -0
- package/esm2015/src/app/core/menu/menu.model.js +1 -1
- package/esm2015/src/app/shared/colors.utils.js +2 -0
- package/esm2015/src/app/shared/types.js +1 -1
- package/esm2015/sumaris-net.ngx-components.js +2 -1
- package/fesm2015/sumaris-net.ngx-components.js +32 -2
- package/fesm2015/sumaris-net.ngx-components.js.map +1 -1
- package/package.json +1 -1
- package/src/app/core/icon/icon.component.d.ts +9 -0
- package/src/app/core/menu/menu.model.d.ts +0 -2
- package/src/app/shared/colors.utils.d.ts +3 -0
- package/src/app/shared/types.d.ts +1 -0
- package/src/assets/i18n/fr.json +2 -2
- package/sumaris-net.ngx-components.d.ts +1 -0
- package/sumaris-net.ngx-components.metadata.json +1 -1
|
@@ -22488,6 +22488,39 @@
|
|
|
22488
22488
|
forward: [{ type: i0.Output }]
|
|
22489
22489
|
};
|
|
22490
22490
|
|
|
22491
|
+
var AppIconComponent = /** @class */ (function () {
|
|
22492
|
+
function AppIconComponent() {
|
|
22493
|
+
this.icon = null;
|
|
22494
|
+
this.matIcon = null;
|
|
22495
|
+
this.matSvgIcon = null;
|
|
22496
|
+
this.color = null;
|
|
22497
|
+
}
|
|
22498
|
+
Object.defineProperty(AppIconComponent.prototype, "ref", {
|
|
22499
|
+
set: function (value) {
|
|
22500
|
+
this.icon = value.icon;
|
|
22501
|
+
this.matIcon = value.matIcon;
|
|
22502
|
+
this.matSvgIcon = value.matSvgIcon;
|
|
22503
|
+
},
|
|
22504
|
+
enumerable: false,
|
|
22505
|
+
configurable: true
|
|
22506
|
+
});
|
|
22507
|
+
;
|
|
22508
|
+
return AppIconComponent;
|
|
22509
|
+
}());
|
|
22510
|
+
AppIconComponent.decorators = [
|
|
22511
|
+
{ type: i0.Component, args: [{
|
|
22512
|
+
selector: 'app-icon',
|
|
22513
|
+
template: "<ion-icon *ngIf=\"icon; else matIcon\" slot=\"icon-only\"\n [color]=\"color\"\n [name]=\"icon\"\n></ion-icon>\n<ng-template #matIcon>\n <mat-icon [svgIcon]=\"matSvgIcon\"\n [style.color]=\"'var(--ion-color-'+color+')'\"\n >{{matIcon}}\n </mat-icon>\n</ng-template>\n\n"
|
|
22514
|
+
},] }
|
|
22515
|
+
];
|
|
22516
|
+
AppIconComponent.propDecorators = {
|
|
22517
|
+
icon: [{ type: i0.Input }],
|
|
22518
|
+
matIcon: [{ type: i0.Input }],
|
|
22519
|
+
matSvgIcon: [{ type: i0.Input }],
|
|
22520
|
+
color: [{ type: i0.Input }],
|
|
22521
|
+
ref: [{ type: i0.Input }]
|
|
22522
|
+
};
|
|
22523
|
+
|
|
22491
22524
|
var CoreModule = /** @class */ (function () {
|
|
22492
22525
|
function CoreModule() {
|
|
22493
22526
|
}
|
|
@@ -22540,7 +22573,8 @@
|
|
|
22540
22573
|
EntityMetadataComponent,
|
|
22541
22574
|
FormButtonsBarComponent,
|
|
22542
22575
|
AppPropertiesForm,
|
|
22543
|
-
AppListForm
|
|
22576
|
+
AppListForm,
|
|
22577
|
+
AppIconComponent
|
|
22544
22578
|
],
|
|
22545
22579
|
exports: [
|
|
22546
22580
|
SharedModule,
|
|
@@ -22566,6 +22600,7 @@
|
|
|
22566
22600
|
AppListForm,
|
|
22567
22601
|
AppInstallUpgradeCard,
|
|
22568
22602
|
DepartmentToStringPipe,
|
|
22603
|
+
AppIconComponent
|
|
22569
22604
|
]
|
|
22570
22605
|
},] }
|
|
22571
22606
|
];
|
|
@@ -28345,6 +28380,7 @@
|
|
|
28345
28380
|
exports["ɵi"] = RegisterModal;
|
|
28346
28381
|
exports["ɵj"] = UserSettingsValidatorService;
|
|
28347
28382
|
exports["ɵk"] = LocalSettingsValidatorService;
|
|
28383
|
+
exports["ɵl"] = AppIconComponent;
|
|
28348
28384
|
|
|
28349
28385
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
28350
28386
|
|