@sd-angular/core 1.3.161 → 1.3.163
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/sd-angular-core-header-title.umd.js +1 -1
- package/bundles/sd-angular-core-header-title.umd.min.js +1 -1
- package/bundles/sd-angular-core-table.umd.js +30 -49
- package/bundles/sd-angular-core-table.umd.js.map +1 -1
- package/bundles/sd-angular-core-table.umd.min.js +1 -1
- package/bundles/sd-angular-core-table.umd.min.js.map +1 -1
- package/esm2015/header-title/src/lib/header-title.component.js +1 -1
- package/esm2015/table/sd-angular-core-table.js +17 -18
- package/esm2015/table/src/lib/components/desktop-cell/desktop-cell.component.js +2 -2
- package/esm2015/table/src/lib/directives/sd-table-cell-def.directive.js +18 -0
- package/esm2015/table/src/lib/table.component.js +5 -7
- package/esm2015/table/src/lib/table.module.js +4 -7
- package/fesm2015/sd-angular-core-header-title.js +1 -1
- package/fesm2015/sd-angular-core-table.js +13 -30
- package/fesm2015/sd-angular-core-table.js.map +1 -1
- package/header-title/sd-angular-core-header-title.metadata.json +1 -1
- package/package.json +1 -1
- package/{sd-angular-core-1.3.161.tgz → sd-angular-core-1.3.163.tgz} +0 -0
- package/table/sd-angular-core-table.d.ts +16 -17
- package/table/sd-angular-core-table.metadata.json +1 -1
- package/table/src/lib/components/desktop-cell/desktop-cell.component.d.ts +2 -2
- package/table/src/lib/directives/{sd-material-empty-data-def.directive.d.ts → sd-table-cell-def.directive.d.ts} +2 -1
- package/table/src/lib/table.component.d.ts +3 -5
- package/esm2015/table/src/lib/directives/sd-material-cell-def.directive.js +0 -18
- package/esm2015/table/src/lib/directives/sd-material-empty-data-def.directive.js +0 -15
- package/table/src/lib/directives/sd-material-cell-def.directive.d.ts +0 -6
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
SdHeaderTitleComponent.decorators = [
|
|
15
15
|
{ type: core.Component, args: [{
|
|
16
16
|
selector: 'sd-header-title',
|
|
17
|
-
template: "<div class=\"d-flex\">\r\n <div *ngIf=\"icon\" class=\"flex-shrink-1 c-header-icon\">\r\n <mat-icon class=\"material-symbols-outlined text-grey\">{{icon}}</mat-icon>\r\n </div>\r\n <div class=\"d-flex flex-column w-100 overflow-hidden\">\r\n <div class=\"d-flex
|
|
17
|
+
template: "<div class=\"d-flex align-items-center\">\r\n <div *ngIf=\"icon\" class=\"flex-shrink-1 c-header-icon\">\r\n <mat-icon class=\"material-symbols-outlined text-grey\">{{icon}}</mat-icon>\r\n </div>\r\n <div class=\"d-flex flex-column w-100 overflow-hidden\">\r\n <div class=\"d-flex\">\r\n <span class=\"T16M\">{{title}}</span>\r\n <ng-container *ngIf=\"tooltip\">\r\n <mat-icon\r\n [matTooltip]=\"tooltip\"\r\n class=\"material-icons-outlined c-header-icon-tooltip\"> info </mat-icon>\r\n </ng-container>\r\n </div>\r\n <span *ngIf=\"description\" class=\"c-header-description\">{{description}}</span>\r\n </div>\r\n <div class=\"flex-shrink-1\">\r\n <ng-content select=\"[sdHeaderRight]\"></ng-content>\r\n </div>\r\n</div>\r\n",
|
|
18
18
|
styles: [".c-header-icon{align-items:center;display:flex;height:28px;margin-right:8px;width:28px}.c-header-icon-tooltip{align-items:center;color:#757575;display:flex;font-size:20px;height:28px!important;margin-left:10px}.c-header-description{font-size:14px;line-height:20px}"]
|
|
19
19
|
},] }
|
|
20
20
|
];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("@angular/core"),require("@angular/common"),require("@angular/material/icon"),require("@angular/material/tooltip")):"function"==typeof define&&define.amd?define("@sd-angular/core/header-title",["exports","@angular/core","@angular/common","@angular/material/icon","@angular/material/tooltip"],n):n(((e="undefined"!=typeof globalThis?globalThis:e||self)["sd-angular"]=e["sd-angular"]||{},e["sd-angular"].core=e["sd-angular"].core||{},e["sd-angular"].core["header-title"]={}),e.ng.core,e.ng.common,e.ng.material.icon,e.ng.material.tooltip)}(this,(function(e,n,t,r,o){"use strict";var i=function(){function e(){}return e.prototype.ngOnInit=function(){},e}();i.decorators=[{type:n.Component,args:[{selector:"sd-header-title",template:'<div class="d-flex">\r\n <div *ngIf="icon" class="flex-shrink-1 c-header-icon">\r\n <mat-icon class="material-symbols-outlined text-grey">{{icon}}</mat-icon>\r\n </div>\r\n <div class="d-flex flex-column w-100 overflow-hidden">\r\n <div class="d-flex
|
|
1
|
+
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("@angular/core"),require("@angular/common"),require("@angular/material/icon"),require("@angular/material/tooltip")):"function"==typeof define&&define.amd?define("@sd-angular/core/header-title",["exports","@angular/core","@angular/common","@angular/material/icon","@angular/material/tooltip"],n):n(((e="undefined"!=typeof globalThis?globalThis:e||self)["sd-angular"]=e["sd-angular"]||{},e["sd-angular"].core=e["sd-angular"].core||{},e["sd-angular"].core["header-title"]={}),e.ng.core,e.ng.common,e.ng.material.icon,e.ng.material.tooltip)}(this,(function(e,n,t,r,o){"use strict";var i=function(){function e(){}return e.prototype.ngOnInit=function(){},e}();i.decorators=[{type:n.Component,args:[{selector:"sd-header-title",template:'<div class="d-flex align-items-center">\r\n <div *ngIf="icon" class="flex-shrink-1 c-header-icon">\r\n <mat-icon class="material-symbols-outlined text-grey">{{icon}}</mat-icon>\r\n </div>\r\n <div class="d-flex flex-column w-100 overflow-hidden">\r\n <div class="d-flex">\r\n <span class="T16M">{{title}}</span>\r\n <ng-container *ngIf="tooltip">\r\n <mat-icon\r\n [matTooltip]="tooltip"\r\n class="material-icons-outlined c-header-icon-tooltip"> info </mat-icon>\r\n </ng-container>\r\n </div>\r\n <span *ngIf="description" class="c-header-description">{{description}}</span>\r\n </div>\r\n <div class="flex-shrink-1">\r\n <ng-content select="[sdHeaderRight]"></ng-content>\r\n </div>\r\n</div>\r\n',styles:[".c-header-icon{align-items:center;display:flex;height:28px;margin-right:8px;width:28px}.c-header-icon-tooltip{align-items:center;color:#757575;display:flex;font-size:20px;height:28px!important;margin-left:10px}.c-header-description{font-size:14px;line-height:20px}"]}]}],i.ctorParameters=function(){return[]},i.propDecorators={title:[{type:n.Input}],icon:[{type:n.Input}],description:[{type:n.Input}],tooltip:[{type:n.Input}]};var a=function(){};a.decorators=[{type:n.NgModule,args:[{imports:[t.CommonModule,r.MatIconModule,o.MatTooltipModule],declarations:[i],exports:[i]}]}],e.SdHeaderTitleModule=a,e.ɵa=i,Object.defineProperty(e,"__esModule",{value:!0})}));
|
|
2
2
|
//# sourceMappingURL=sd-angular-core-header-title.umd.min.js.map
|
|
@@ -356,22 +356,22 @@
|
|
|
356
356
|
};
|
|
357
357
|
var TABLE_CONFIG = new core.InjectionToken('sd-table.configuration');
|
|
358
358
|
|
|
359
|
-
var
|
|
360
|
-
function
|
|
359
|
+
var SdTabelCellDefDirective = /** @class */ (function () {
|
|
360
|
+
function SdTabelCellDefDirective(templateRef) {
|
|
361
361
|
this.templateRef = templateRef;
|
|
362
362
|
}
|
|
363
|
-
return
|
|
363
|
+
return SdTabelCellDefDirective;
|
|
364
364
|
}());
|
|
365
|
-
|
|
365
|
+
SdTabelCellDefDirective.decorators = [
|
|
366
366
|
{ type: core.Directive, args: [{
|
|
367
|
-
selector: '[
|
|
367
|
+
selector: '[sdTableCellDef]'
|
|
368
368
|
},] }
|
|
369
369
|
];
|
|
370
|
-
|
|
370
|
+
SdTabelCellDefDirective.ctorParameters = function () { return [
|
|
371
371
|
{ type: core.TemplateRef }
|
|
372
372
|
]; };
|
|
373
|
-
|
|
374
|
-
|
|
373
|
+
SdTabelCellDefDirective.propDecorators = {
|
|
374
|
+
sdTableCellDef: [{ type: core.Input }]
|
|
375
375
|
};
|
|
376
376
|
|
|
377
377
|
var _filterRegister;
|
|
@@ -623,21 +623,6 @@
|
|
|
623
623
|
sdMaterialFooterDef: [{ type: core.Input }]
|
|
624
624
|
};
|
|
625
625
|
|
|
626
|
-
var SdMaterialEmptyDataDefDirective = /** @class */ (function () {
|
|
627
|
-
function SdMaterialEmptyDataDefDirective(templateRef) {
|
|
628
|
-
this.templateRef = templateRef;
|
|
629
|
-
}
|
|
630
|
-
return SdMaterialEmptyDataDefDirective;
|
|
631
|
-
}());
|
|
632
|
-
SdMaterialEmptyDataDefDirective.decorators = [
|
|
633
|
-
{ type: core.Directive, args: [{
|
|
634
|
-
selector: '[sdMaterialEmptyDataDef]'
|
|
635
|
-
},] }
|
|
636
|
-
];
|
|
637
|
-
SdMaterialEmptyDataDefDirective.ctorParameters = function () { return [
|
|
638
|
-
{ type: core.TemplateRef }
|
|
639
|
-
]; };
|
|
640
|
-
|
|
641
626
|
var _COLUMNS, _prefix, _getSetting, _default;
|
|
642
627
|
var SdTableConfigurationService = /** @class */ (function () {
|
|
643
628
|
function SdTableConfigurationService(settingService, gridMaterialConfiguration) {
|
|
@@ -1246,8 +1231,8 @@
|
|
|
1246
1231
|
try {
|
|
1247
1232
|
for (var _9 = __values(_this.sdCellDefs), _10 = _9.next(); !_10.done; _10 = _9.next()) {
|
|
1248
1233
|
var cellDef = _10.value;
|
|
1249
|
-
if (cellDef.
|
|
1250
|
-
_this.cellDef[cellDef.
|
|
1234
|
+
if (cellDef.sdTableCellDef) {
|
|
1235
|
+
_this.cellDef[cellDef.sdTableCellDef] = cellDef;
|
|
1251
1236
|
}
|
|
1252
1237
|
}
|
|
1253
1238
|
}
|
|
@@ -2512,8 +2497,7 @@
|
|
|
2512
2497
|
paginator: [{ type: core.ViewChild, args: [paginator.MatPaginator,] }],
|
|
2513
2498
|
sort: [{ type: core.ViewChild, args: [sort.MatSort,] }],
|
|
2514
2499
|
sdSubInformation: [{ type: core.ContentChild, args: [SdMaterialSubInformationDefDirective,] }],
|
|
2515
|
-
|
|
2516
|
-
sdCellDefs: [{ type: core.ContentChildren, args: [SdMaterialCellDefDirective,] }],
|
|
2500
|
+
sdCellDefs: [{ type: core.ContentChildren, args: [SdTabelCellDefDirective,] }],
|
|
2517
2501
|
sdFooterDefs: [{ type: core.ContentChildren, args: [SdMaterialFooterDefDirective,] }],
|
|
2518
2502
|
sdFilterDefs: [{ type: core.ContentChildren, args: [SdMaterialFilterDefDirective,] }]
|
|
2519
2503
|
};
|
|
@@ -3112,7 +3096,7 @@
|
|
|
3112
3096
|
SdDesktopCell.decorators = [
|
|
3113
3097
|
{ type: core.Component, args: [{
|
|
3114
3098
|
selector: 'sd-desktop-cell',
|
|
3115
|
-
template: "<ng-container *ngIf=\"cellDef[column.field]\">\r\n <ng-container *ngTemplateOutlet=\"cellDef[column.field].templateRef; context: { item: item, column: column, idx: idx }\"> </ng-container>\r\n</ng-container>\r\n<sd-desktop-cell-view\r\n *ngIf=\"!cellDef[column.field]\"\r\n [sdId]=\"item.meta.id\"\r\n [key]=\"key\"\r\n [column]=\"column\"\r\n [gridOption]=\"gridOption\"\r\n [item]=\"item\">\r\n</sd-desktop-cell-view>\r\n",
|
|
3099
|
+
template: "<ng-container *ngIf=\"cellDef[column.field]\">\r\n <ng-container *ngTemplateOutlet=\"cellDef[column.field].templateRef; context: { item: item.data, column: column, idx: idx }\"> </ng-container>\r\n</ng-container>\r\n<sd-desktop-cell-view\r\n *ngIf=\"!cellDef[column.field]\"\r\n [sdId]=\"item.meta.id\"\r\n [key]=\"key\"\r\n [column]=\"column\"\r\n [gridOption]=\"gridOption\"\r\n [item]=\"item\">\r\n</sd-desktop-cell-view>\r\n",
|
|
3116
3100
|
changeDetection: core.ChangeDetectionStrategy.OnPush
|
|
3117
3101
|
},] }
|
|
3118
3102
|
];
|
|
@@ -3591,10 +3575,9 @@
|
|
|
3591
3575
|
SdColumnInlineFilter,
|
|
3592
3576
|
SdTable,
|
|
3593
3577
|
SdMaterialFooterDefDirective,
|
|
3594
|
-
|
|
3578
|
+
SdTabelCellDefDirective,
|
|
3595
3579
|
SdMaterialFilterDefDirective,
|
|
3596
3580
|
SdMaterialSubInformationDefDirective,
|
|
3597
|
-
SdMaterialEmptyDataDefDirective,
|
|
3598
3581
|
SdPopupConfiguration,
|
|
3599
3582
|
SdTableFilter,
|
|
3600
3583
|
SdPopupFilter,
|
|
@@ -3615,9 +3598,8 @@
|
|
|
3615
3598
|
exports: [
|
|
3616
3599
|
SdTable,
|
|
3617
3600
|
SdMaterialFooterDefDirective,
|
|
3618
|
-
|
|
3601
|
+
SdTabelCellDefDirective,
|
|
3619
3602
|
SdMaterialFilterDefDirective,
|
|
3620
|
-
SdMaterialEmptyDataDefDirective,
|
|
3621
3603
|
SdMaterialSubInformationDefDirective,
|
|
3622
3604
|
],
|
|
3623
3605
|
providers: [
|
|
@@ -3646,9 +3628,8 @@
|
|
|
3646
3628
|
exports.TABLE_CONFIG = TABLE_CONFIG;
|
|
3647
3629
|
exports.ɵa = SdTableQuickAction;
|
|
3648
3630
|
exports.ɵb = SdDesktopCell;
|
|
3649
|
-
exports.ɵba =
|
|
3650
|
-
exports.ɵbb =
|
|
3651
|
-
exports.ɵbc = SdGroupPipe;
|
|
3631
|
+
exports.ɵba = SdSelectionVisibleSelectAllPipe;
|
|
3632
|
+
exports.ɵbb = SdGroupPipe;
|
|
3652
3633
|
exports.ɵc = SdDesktopCellView;
|
|
3653
3634
|
exports.ɵd = SdDesktopCommand;
|
|
3654
3635
|
exports.ɵe = SdColumnInlineFilter;
|
|
@@ -3658,20 +3639,20 @@
|
|
|
3658
3639
|
exports.ɵj = SdTableFilter;
|
|
3659
3640
|
exports.ɵk = SdPopupFilter;
|
|
3660
3641
|
exports.ɵl = SdMaterialSubInformationDefDirective;
|
|
3661
|
-
exports.ɵm =
|
|
3662
|
-
exports.ɵn =
|
|
3663
|
-
exports.ɵo =
|
|
3664
|
-
exports.ɵp =
|
|
3665
|
-
exports.ɵq =
|
|
3666
|
-
exports.ɵr =
|
|
3667
|
-
exports.ɵs =
|
|
3668
|
-
exports.ɵt =
|
|
3669
|
-
exports.ɵu =
|
|
3670
|
-
exports.ɵv =
|
|
3671
|
-
exports.ɵw =
|
|
3672
|
-
exports.ɵx =
|
|
3673
|
-
exports.ɵy =
|
|
3674
|
-
exports.ɵz =
|
|
3642
|
+
exports.ɵm = SdTabelCellDefDirective;
|
|
3643
|
+
exports.ɵn = SdMaterialFooterDefDirective;
|
|
3644
|
+
exports.ɵo = SdMaterialFilterDefDirective;
|
|
3645
|
+
exports.ɵp = SdTableFilterService;
|
|
3646
|
+
exports.ɵq = SdCommandFilterPipe;
|
|
3647
|
+
exports.ɵr = SdCommandDisablePipe;
|
|
3648
|
+
exports.ɵs = SdCommandIconPipe;
|
|
3649
|
+
exports.ɵt = SdCommandTitlePipe;
|
|
3650
|
+
exports.ɵu = SdColumnTooltipPipe;
|
|
3651
|
+
exports.ɵv = SdFilterColumnPipe;
|
|
3652
|
+
exports.ɵw = SdFilterExternalPipe;
|
|
3653
|
+
exports.ɵx = SdSelectionActionFilterPipe;
|
|
3654
|
+
exports.ɵy = SdSelectionVisiblePipe;
|
|
3655
|
+
exports.ɵz = SdSelectionDisablePipe;
|
|
3675
3656
|
|
|
3676
3657
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
3677
3658
|
|