@sunbird-cb/collection 1.0.31 → 1.0.33
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/sunbird-cb-collection.umd.js +214 -18
- package/bundles/sunbird-cb-collection.umd.js.map +1 -1
- package/bundles/sunbird-cb-collection.umd.min.js +2 -2
- package/bundles/sunbird-cb-collection.umd.min.js.map +1 -1
- package/esm2015/lib/ui-admin-table/interface/interfaces.js +2 -1
- package/esm2015/lib/ui-org-table/interface/interfaces.js +2 -1
- package/esm2015/lib/ui-org-table/org-user-table-v2/org-user-table-v2.component.js +191 -0
- package/esm2015/lib/ui-org-table/ui-org-table.module.js +4 -3
- package/esm2015/sunbird-cb-collection.js +18 -17
- package/esm5/lib/ui-admin-table/interface/interfaces.js +2 -1
- package/esm5/lib/ui-org-table/interface/interfaces.js +2 -1
- package/esm5/lib/ui-org-table/org-user-table-v2/org-user-table-v2.component.js +202 -0
- package/esm5/lib/ui-org-table/ui-org-table.module.js +4 -3
- package/esm5/sunbird-cb-collection.js +18 -17
- package/fesm2015/sunbird-cb-collection.js +189 -4
- package/fesm2015/sunbird-cb-collection.js.map +1 -1
- package/fesm5/sunbird-cb-collection.js +199 -4
- package/fesm5/sunbird-cb-collection.js.map +1 -1
- package/lib/ui-admin-table/interface/interfaces.d.ts +1 -0
- package/lib/ui-org-table/interface/interfaces.d.ts +1 -0
- package/lib/ui-org-table/org-user-table-v2/org-user-table-v2.component.d.ts +53 -0
- package/package.json +1 -1
- package/sunbird-cb-collection.d.ts +17 -16
- package/sunbird-cb-collection.metadata.json +1 -1
|
@@ -22617,12 +22617,207 @@
|
|
|
22617
22617
|
OrgUserTableComponent.prototype.selection;
|
|
22618
22618
|
}
|
|
22619
22619
|
|
|
22620
|
+
var OrgUserTableV2Component = (function () {
|
|
22621
|
+
function OrgUserTableV2Component(changeDetector) {
|
|
22622
|
+
this.changeDetector = changeDetector;
|
|
22623
|
+
this.eOnRowClick = new core.EventEmitter();
|
|
22624
|
+
this.eOnButtonClick = new core.EventEmitter();
|
|
22625
|
+
this.searchByEnterKey = new core.EventEmitter();
|
|
22626
|
+
this.pageChangeClick = new core.EventEmitter();
|
|
22627
|
+
this.isSearchBar = true;
|
|
22628
|
+
this.bodyHeight = document.body.clientHeight - 125;
|
|
22629
|
+
this.pageSize = 20;
|
|
22630
|
+
this.pageSizeOptions = [20, 30, 40];
|
|
22631
|
+
this.selection = new collections.SelectionModel(true, []);
|
|
22632
|
+
this.dataSource = new table.MatTableDataSource();
|
|
22633
|
+
this.actionsClick = new core.EventEmitter();
|
|
22634
|
+
this.clicked = new core.EventEmitter();
|
|
22635
|
+
}
|
|
22636
|
+
Object.defineProperty(OrgUserTableV2Component.prototype, "matPaginator", {
|
|
22637
|
+
set: function (paginator) {
|
|
22638
|
+
this.paginator = paginator;
|
|
22639
|
+
},
|
|
22640
|
+
enumerable: true,
|
|
22641
|
+
configurable: true
|
|
22642
|
+
});
|
|
22643
|
+
Object.defineProperty(OrgUserTableV2Component.prototype, "matSort", {
|
|
22644
|
+
set: function (sort) {
|
|
22645
|
+
if (!this.dataSource.sort) {
|
|
22646
|
+
this.dataSource.sort = sort;
|
|
22647
|
+
}
|
|
22648
|
+
},
|
|
22649
|
+
enumerable: true,
|
|
22650
|
+
configurable: true
|
|
22651
|
+
});
|
|
22652
|
+
OrgUserTableV2Component.prototype.ngOnInit = function () {
|
|
22653
|
+
if (this.tableData) {
|
|
22654
|
+
this.displayedColumns = this.tableData.columns;
|
|
22655
|
+
}
|
|
22656
|
+
this.dataSource.data = this.data;
|
|
22657
|
+
this.dataSource = new table.MatTableDataSource(this.data);
|
|
22658
|
+
this.pageLength = this.totalRecords;
|
|
22659
|
+
};
|
|
22660
|
+
OrgUserTableV2Component.prototype.ngOnChanges = function (changes) {
|
|
22661
|
+
if (changes.data && changes.data.currentValue) {
|
|
22662
|
+
this.dataSource.data = ___default.get(changes, 'data.currentValue');
|
|
22663
|
+
}
|
|
22664
|
+
};
|
|
22665
|
+
OrgUserTableV2Component.prototype.ngAfterViewInit = function () {
|
|
22666
|
+
if (this.data) {
|
|
22667
|
+
this.dataSource.data = this.data;
|
|
22668
|
+
}
|
|
22669
|
+
};
|
|
22670
|
+
OrgUserTableV2Component.prototype.ngAfterViewChecked = function () {
|
|
22671
|
+
if (this.totalRecords !== undefined && this.totalRecords !== '') {
|
|
22672
|
+
if (this.dataSource && this.dataSource.paginator && this.dataSource.paginator.length !== this.totalRecords) {
|
|
22673
|
+
this.dataSource.paginator.length = this.totalRecords;
|
|
22674
|
+
}
|
|
22675
|
+
this.pageLength = this.totalRecords;
|
|
22676
|
+
this.changeDetector.detectChanges();
|
|
22677
|
+
}
|
|
22678
|
+
};
|
|
22679
|
+
OrgUserTableV2Component.prototype.applyFilter = function (filterValue) {
|
|
22680
|
+
if (filterValue) {
|
|
22681
|
+
var fValue = filterValue.trim();
|
|
22682
|
+
fValue = filterValue.toLowerCase();
|
|
22683
|
+
this.dataSource.filter = fValue;
|
|
22684
|
+
}
|
|
22685
|
+
else {
|
|
22686
|
+
this.dataSource.filter = '';
|
|
22687
|
+
}
|
|
22688
|
+
};
|
|
22689
|
+
OrgUserTableV2Component.prototype.buttonClick = function (action, row) {
|
|
22690
|
+
if (this.tableData) {
|
|
22691
|
+
var isDisabled = ___default.get(___default.find(this.tableData.actions, (function (ac) { return ac.name === action; })), 'disabled') || false;
|
|
22692
|
+
if (!isDisabled && this.actionsClick) {
|
|
22693
|
+
this.actionsClick.emit({ action: action, row: row });
|
|
22694
|
+
}
|
|
22695
|
+
}
|
|
22696
|
+
};
|
|
22697
|
+
OrgUserTableV2Component.prototype.getFinalColumns = function () {
|
|
22698
|
+
if (this.tableData !== undefined) {
|
|
22699
|
+
var columns = ___default.map(this.tableData.columns, (function (c) { return c.key; }));
|
|
22700
|
+
if (this.tableData.needCheckBox) {
|
|
22701
|
+
columns.splice(0, 0, 'select');
|
|
22702
|
+
}
|
|
22703
|
+
if (this.tableData.needHash) {
|
|
22704
|
+
columns.splice(0, 0, 'SR');
|
|
22705
|
+
}
|
|
22706
|
+
if (this.tableData.actions && this.tableData.actions.length > 0) {
|
|
22707
|
+
columns.push('Actions');
|
|
22708
|
+
}
|
|
22709
|
+
if (this.tableData.needUserMenus) {
|
|
22710
|
+
columns.push('Menu');
|
|
22711
|
+
}
|
|
22712
|
+
return columns;
|
|
22713
|
+
}
|
|
22714
|
+
return '';
|
|
22715
|
+
};
|
|
22716
|
+
OrgUserTableV2Component.prototype.isAllSelected = function () {
|
|
22717
|
+
var numSelected = this.selection.selected.length;
|
|
22718
|
+
var numRows = this.dataSource.data.length;
|
|
22719
|
+
return numSelected === numRows;
|
|
22720
|
+
};
|
|
22721
|
+
OrgUserTableV2Component.prototype.filterList = function (list, key) {
|
|
22722
|
+
return list.map((function (lst) { return lst[key]; }));
|
|
22723
|
+
};
|
|
22724
|
+
OrgUserTableV2Component.prototype.masterToggle = function () {
|
|
22725
|
+
var _this = this;
|
|
22726
|
+
this.isAllSelected() ?
|
|
22727
|
+
this.selection.clear() :
|
|
22728
|
+
this.dataSource.data.forEach((function (row) { return _this.selection.select(row); }));
|
|
22729
|
+
};
|
|
22730
|
+
OrgUserTableV2Component.prototype.checkboxLabel = function (row) {
|
|
22731
|
+
if (!row) {
|
|
22732
|
+
return (this.isAllSelected() ? 'select' : 'deselect') + " all";
|
|
22733
|
+
}
|
|
22734
|
+
return (this.selection.isSelected(row) ? 'deselect' : 'select') + " row " + (row.position + 1);
|
|
22735
|
+
};
|
|
22736
|
+
OrgUserTableV2Component.prototype.onRowClick = function (e) {
|
|
22737
|
+
this.eOnRowClick.emit(e);
|
|
22738
|
+
};
|
|
22739
|
+
OrgUserTableV2Component.prototype.onButtonClick = function (type, event) {
|
|
22740
|
+
this.eOnButtonClick.emit({ type: type, event: event });
|
|
22741
|
+
};
|
|
22742
|
+
OrgUserTableV2Component.prototype.onSearchEnter = function (event) {
|
|
22743
|
+
this.searchByEnterKey.emit(event.target.value);
|
|
22744
|
+
};
|
|
22745
|
+
OrgUserTableV2Component.prototype.onPageChange = function (event) {
|
|
22746
|
+
this.pageSize = event.pageSize;
|
|
22747
|
+
this.pageChangeClick.emit(event);
|
|
22748
|
+
};
|
|
22749
|
+
OrgUserTableV2Component.decorators = [
|
|
22750
|
+
{ type: core.Component, args: [{
|
|
22751
|
+
selector: 'ws-widget-org-user-table-v2',
|
|
22752
|
+
template: "<div class=\"example-container margin-top-m\">\n <div class=\"example-loading-shade\"></div>\n\n <div class=\"example-table-container\">\n <div class=\"container-balanced\">\n <div class=\"flex flex-1 custom\">\n <div class=\"flex-1\">\n <div class=\"search\" *ngIf=\"isSearchBar\">\n <div class=rsearch>\n <mat-icon class=\"color-60 search-icon\">search</mat-icon>\n <input class=\"sinput color-60\" type=\"Standard\" label=\"\"\n (input)=\"applyFilter($event.target.value)\" (keydown.enter)=\"onSearchEnter($event)\"\n placeholder=\"Search\">\n </div>\n </div>\n </div>\n <div class=\"flex-2 right-align\">\n <!-- <button type=\"button\" mat-button class=\"upload-btn\" *ngIf=\"isUpload\"\n (click)=\"onButtonClick('upload', $event)\">\n <mat-icon>vertical_align_top</mat-icon> File upload\n </button> -->\n <button type=\"button\" mat-button class=\"upload-btn\" *ngIf=\"isDownload\"\n (click)=\"onButtonClick('download', $event)\">\n <mat-icon>vertical_align_bottom</mat-icon> Users Report\n </button>\n <button type=\"button\" mat-button class=\"upload-btn\" *ngIf=\"isConsumptionReport\"\n (click)=\"onButtonClick('consumptionReport', $event)\">\n <mat-icon>vertical_align_bottom</mat-icon> Consumption Report\n </button>\n <button type=\"button\" mat-button class=\"create-btn\" *ngIf=\"isCreate\"\n (click)=\"onButtonClick('createUser', $event)\">\n Create new\n </button>\n </div>\n </div>\n </div>\n\n <!-- </mat-form-field> -->\n <mat-table #table matSort [ngStyle]=\"{'height': bodyHeight}\" [matSortActive]=\"tableData!.sortColumn\"\n [matSortDirection]=\"tableData!.sortState\" [dataSource]=\"dataSource\"\n class=\"example-table table1 responsiveTable\" *ngIf=\"dataSource.data.length > 0\">\n\n <ng-container matColumnDef=\"{{col.key}}\" *ngFor=\"let col of tableData!.columns\">\n <mat-header-cell *matHeaderCellDef mat-sort-header class=\".h-400-r-14-l color-60\"> {{col.displayName}}\n </mat-header-cell>\n <mat-cell *matCellDef=\"let element\" (click)=\"onRowClick(element)\">\n <img *ngIf=\"col?.imageUrl\" src=\"{{element.posterImage}}\" class=\"pb-image\">\n <span *ngIf=\"col?.isList\" class=\"h-400-r-14-l color-87 textclass\">\n <div innerHTML=\"{{element[col.key]}}\"></div>\n </span>\n <span *ngIf=\"!col?.isList\" class=\"h-400-r-14-l color-87 textclass\">\n {{(col.key === 'dateCreatedOn' || col.key === 'dateUpdatedOn') ? (element[col.key] | date:'dd\n MMM yyy h:mm a') : element[col.key]}} {{col?.isList}}\n </span>\n </mat-cell>\n </ng-container>\n <ng-container matColumnDef=\"Actions\" *ngIf=\"tableData!.actions && tableData!.actions.length > 0\">\n <mat-header-cell *matHeaderCellDef class=\"clr-darkish-blue action-header\"> {{\n tableData!.actionColumnName || \"Actions\"}}\n </mat-header-cell>\n <mat-cell *matCellDef=\"let row\" class=\"action-cell\">\n <div *ngFor=\"let ac of tableData!.actions\">\n <div *ngIf=\"ac.optional\">\n <ws-widget-app-button *ngIf=\"row[ac.optional_key] === ac.optional_Value\" [type]=\"ac.type\"\n [icon]=\"ac.icon\" [disabled]=\"ac.disabled || false\" [label]=\"ac.label\"\n (click)=\"buttonClick(ac.name,row)\"></ws-widget-app-button>\n </div>\n <div *ngIf=\"!ac.optional\">\n <ws-widget-app-button [type]=\"ac.type\" [icon]=\"ac.icon\" [label]=\"ac.label\"\n [disabled]=\"ac.disabled || false\" (click)=\"buttonClick(ac.name,row)\">\n </ws-widget-app-button>\n </div>\n </div>\n </mat-cell>\n </ng-container>\n <ng-container matColumnDef=\"Menu\">\n <mat-header-cell *matHeaderCellDef class=\"clr-darkish-blue action-header\">\n <!-- {{'Actions'}} -->\n </mat-header-cell>\n <mat-cell *matCellDef=\"let row\" class=\"action-cell\">\n <button type=\"button\" mat-icon-button i18n-aria-label aria-label=\"action items\"\n [matMenuTriggerFor]=\"cardMenu\" [matMenuTriggerData]=\"{'data':row}\" class=\"action-btn\">\n <mat-icon>more_horiz</mat-icon>\n </button>\n </mat-cell>\n </ng-container>\n\n <mat-header-row *matHeaderRowDef=\"getFinalColumns()\"></mat-header-row>\n\n <mat-row *matRowDef=\"let row; columns: getFinalColumns();\" (click)=\"selection.toggle(row);\">\n </mat-row>\n\n <!-- <div *ngIf=\"dataSource.filteredData.length <= 0\">\n <mat-row *matRowDef=\"let row; columns: getFinalColumns();\"\n (click)=\"selection.toggle(row); onRowClick(row)\">\n ssss\n </mat-row>\n </div> -->\n </mat-table>\n <mat-card class=\"flex-1\" role=\"none\" *ngIf=\"dataSource.data.length == 0\">\n <span class=\"mat-subtitle\">No data found</span>\n </mat-card>\n </div>\n <mat-paginator [length]=\"pageLength\" [pageSize]=\"pageSize\" [pageSizeOptions]=\"pageSizeOptions\" showFirstLastButtons=\"true\"\n (page)=\"onPageChange($event)\"> </mat-paginator>\n</div>\n\n<mat-menu #cardMenu=\"matMenu\">\n <ng-template matMenuContent let-rowData=\"data\">\n <!-- <div > -->\n <button (click)=\"buttonClick('editInfo',rowData)\" mat-menu-item name=\"channel-analytics-button\"\n class=\"ws-mat-primary-text\" i18n-aria-label aria-label=\"Analytics\"\n *ngIf=\"rowData.allowEditUser && showEditOnCondition\">\n <mat-icon>edit</mat-icon> <span>Edit Info</span>\n </button>\n <button (click)=\"buttonClick('editInfo',rowData)\" mat-menu-item name=\"channel-analytics-button\"\n class=\"ws-mat-primary-text\" i18n-aria-label aria-label=\"Analytics\" *ngIf=\"!showEditOnCondition\">\n <mat-icon>edit</mat-icon> <span>Edit Info</span>\n </button>\n <button (click)=\"buttonClick('showOnKarma',rowData)\" mat-menu-item name=\"channel-analytics-button\"\n class=\"ws-mat-primary-text\" i18n-aria-label aria-label=\"Analytics\">\n <mat-icon>input</mat-icon> <span>Show on Karmayogi</span>\n </button>\n <!-- </div> -->\n <!-- <div mat-menu-item> -->\n <!-- <button (click)=\"rowData && rowData.blocked ? buttonClick('unblock',rowData): buttonClick('block',rowData)\"\n mat-menu-item name=\"channel-analytics-button\" class=\"ws-mat-primary-text\" i18n-aria-label\n aria-label=\"Analytics\">\n <mat-icon>block</mat-icon><span>{{rowData && rowData.blocked ? 'Unblock user':'Block user' }}</span>\n </button> -->\n <!-- </div> -->\n <!-- <div mat-menu-item> -->\n <button *ngIf=\"userId != rowData.userId\"\n (click)=\"rowData && rowData.active ? buttonClick('deactive',rowData): buttonClick('active',rowData)\"\n mat-menu-item name=\"channel-analytics-button\" class=\"ws-mat-primary-text\" i18n-aria-label\n aria-label=\"Analytics\">\n <mat-icon>toggle_off_sharp</mat-icon>\n <span>{{rowData && rowData.active? 'Deactivate user':'Activate user'}}</span>\n </button>\n </ng-template>\n</mat-menu>",
|
|
22753
|
+
styles: [".card-minimal-container{position:relative}.card-minimal-container .card-link{width:265px;height:150px;display:block}.card-minimal-container .card-link .card-thumbnail{object-fit:contain;width:100%;height:100%}.card-minimal-container .card-overlay{position:absolute;bottom:4px;background-color:rgba(0,0,0,.55);color:#fff;padding:4px 12px;box-sizing:border-box;width:100%}.card-minimal-container .card-overlay .card-title{margin-bottom:-6px}.status-danger{width:16px;height:16px;position:absolute;border-radius:50%;top:16px;left:16px;pointer-events:auto;cursor:pointer;background:#ce3939}.card-space-saving-container{position:relative;width:265px;height:100%;box-sizing:border-box}.card-space-saving-container .progress-bar{display:block;width:calc(100% + 32px);margin-left:-16px;margin-top:-16px}.card-space-saving-container mat-card-content{margin:0 -4px;min-height:120px}.card-space-saving-container .card-img{height:150px;display:block}.card-space-saving-container .card-header-meta{margin-top:8px}.card-space-saving-container .title-text{display:block;margin:12px 0}.card-space-saving-container .flip-desc-text{position:relative;overflow:hidden;line-height:1.4em;height:5.6em;margin-bottom:36px}.card-space-saving-container .flip-actions{position:absolute;bottom:0;left:0;width:100%;padding:12px;box-sizing:border-box}.card-space-saving-container .flip-actions .source-name{margin-bottom:0;font-weight:400}.card-ford-container{padding:16px 16px 0;position:relative;width:220px;height:243px;overflow:hidden;box-sizing:border-box}.card-ford-container .progress-bar{display:block;width:calc(100% + 32px);margin-left:-16px;margin-top:-16px}.card-ford-container mat-card-content{margin:160px}.card-ford-container .card-img{height:125px;display:block;object-fit:contain}@media only screen and (max-width:599px){.card-ford-container{width:200px;height:240px}.card-ford-container .card-img{height:115px}}.card-ford-container .complexity{display:flex;font-size:14px}.card-ford-container .duration{height:1.6em;display:flex}.card-ford-container .duration .resource-type{order:3;margin-left:auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.card-ford-container .duration .duration-time{order:2;margin-left:auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.card-ford-container .title-text{margin:12px 0;position:relative;overflow:hidden;height:1.3em;line-height:1.3em;text-overflow:ellipsis;white-space:nowrap}.card-ford-container .mode-tag{border-radius:5px;color:#fff}.card-ford-container .description-text{position:relative;overflow:hidden;height:4.2em;line-height:1.4em}.card-ford-container .mat-chip-list-wrapper{padding:8px 0 16px!important}.card-ford-container .text-description-trim{overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:9;display:-webkit-box;-webkit-box-orient:vertical;text-align:justify}.card-standard-container{position:relative;width:268px;height:100%;min-height:346px;border-radius:8px;box-sizing:border-box;box-shadow:0 10px 30px #99999933}.card-standard-container .progress-bar{display:block;width:calc(100% + 30px);margin-left:-15px;display:flex;margin-top:62px;background:bisque}.card-standard-container .source-div{position:relative;top:100px;background:#fff;z-index:3;border:1px solid #dedfe0;min-width:72px;min-height:72px;max-width:72px;max-height:72px;display:flex;border-radius:8px}.card-standard-container .source-div .source-icon{border-radius:8px;display:block;margin:auto;max-width:58px;max-height:-webkit-fill-available}.card-standard-container mat-card-content{margin:0 -4px}.card-standard-container .card-img{min-width:269px;max-width:269px;display:block;object-fit:contain;border-top-left-radius:8px;border-top-right-radius:8px}.card-standard-container .complexity{padding-top:7px;display:flex;font-size:14px;line-height:27px;padding-bottom:10px}.card-standard-container .complexity .mode-tag{border-radius:5px;order:2;margin-left:auto;color:#fff;font-size:10px}.card-standard-container .complexity .duration{display:flex;margin-left:auto;order:3}.card-standard-container .complexity .time-text{margin:0 5px 0 6px}.card-standard-container .basic{margin:auto 0}.card-standard-container .title-text{margin:12px 0;position:relative;overflow:hidden;height:3.78em;line-height:1.89em}.card-standard-container .description-text{position:relative;overflow:hidden;height:5.7em;line-height:1.9em}.card-discussions-container{flex:1;display:flex;position:relative;height:100%;min-height:140px;border-radius:8px;box-sizing:border-box;box-shadow:0 10px 30px #99999933}.card-discussions-container .progress-bar{display:block;width:calc(100% + 30px);margin-left:-15px;display:flex;margin-top:62px;background:bisque}.card-discussions-container .source-div{position:relative;top:100px;background:#fff;z-index:3;border:1px solid #dedfe0;min-width:72px;min-height:72px;max-width:72px;max-height:72px;display:flex;border-radius:8px}.card-discussions-container .source-div .source-icon{border-radius:8px;display:block;margin:auto;max-width:58px;max-height:-webkit-fill-available}.card-discussions-container mat-card-content{margin:0 -4px;flex:1}.card-discussions-container .card-img{min-width:269px;max-width:269px;display:block;object-fit:contain;border-top-left-radius:8px;border-top-right-radius:8px}.card-discussions-container .complexity{padding-top:7px;display:flex;font-size:14px;line-height:27px;padding-bottom:10px}.card-discussions-container .complexity .mode-tag{border-radius:5px;order:2;margin-left:auto;color:#fff;font-size:10px}.card-discussions-container .complexity .duration{display:flex;margin-left:auto;order:3}.card-discussions-container .complexity .time-text{margin:0 5px 0 6px}.card-discussions-container .basic{margin:auto 0}.card-discussions-container .title-text{overflow:hidden}.card-discussions-container .description-text{position:relative;overflow:hidden;height:auto;line-height:1.9em}.card-basic-infomartion-container{position:relative;width:265px;height:100%;box-sizing:border-box;min-height:300px}.card-basic-infomartion-container .card-img{height:150px;display:block;margin-bottom:0!important;object-fit:contain}.card-basic-infomartion-container .source-name{margin-bottom:0;font-weight:400;line-height:1.25rem!important}.card-basic-infomartion-container .title-text{margin:12px 0 0;position:relative;overflow:hidden;height:2.6em;line-height:1.3em}.card-basic-infomartion-container .source-image{object-fit:contain;height:35px;width:55px;overflow:auto}.card-with-user-details-container{position:relative;width:265px;height:100%;box-sizing:border-box;min-height:270px}.card-with-user-details-container .card-img{height:150px;display:block;margin-bottom:0!important;object-fit:contain}.card-with-user-details-container .source-name{margin-bottom:0;font-weight:400}.card-with-user-details-container .title-text{margin:12px 0 0;position:relative;overflow:hidden;height:2.6em;line-height:1.3em}.card-with-user-details-container .author-image{margin-right:12px;height:44px;width:44px}.card-with-user-details-container .back-color{background-color:#7e0a80}.card-with-user-details-container .space-0{margin-top:0!important;padding-top:0!important;margin-bottom:0!important}.detail-button{position:absolute;top:12px;right:12px;z-index:1}.greyOut{filter:grayscale(1);opacity:.7;cursor:auto!important}.disableClick{pointer-events:none}.display-contents{display:contents}.title-truncate{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.typeofc{width:101px;height:30px;border:1px solid;border-radius:8px;opacity:.4;align-items:center;justify-content:center;display:flex}.flex-9{flex:9}.center-right{align-items:center;justify-content:flex-end}.no-box{box-shadow:none!important}.table1{width:100%;display:flex;flex-direction:column}.textclass{word-break:break-word;margin:5px;cursor:pointer}.search{display:flex;flex:1}.lsearch{display:flex;flex:3}.rsearch{display:flex;position:relative;flex:1 1 auto}.sinput{width:45%;border-radius:4px;border:1px solid #d5d0d0;padding:9px 9px 9px 35px;margin-bottom:20px;margin-top:0;font:400 14px Lato}.searchText{display:flex;flex-direction:row-reverse;margin:23px 0 0 auto}.action-btn{border:none;background:0 0}mat-header-row{min-height:40px}.mat-header-cell{background-color:#f5f5f5}.container-balanced{max-width:99%;margin-left:auto!important;margin-right:auto!important}.flex-3{flex:3}.flex-1{flex:1}.flex-2{flex:2}.flex-4{flex:4}.flex-update{flex-direction:row}@media only screen and (max-width:599px){.card-ford-container .text-description-trim{-webkit-line-clamp:8}.flex-update{flex-direction:row}}.flex-custom{display:flex;flex-direction:column}@media only screen and (max-width:599px){.flex-custom-m{flex-direction:column}}.right-align{text-align:right}.create-btn{width:107px;background:#0075b7!important;color:#fff!important;font-family:Lato;font-weight:700;font-size:14px}.upload-btn{border:1px solid #dedede;border-radius:4px;margin:0 12px;color:#848484!important;font-family:Lato;font-weight:700;font-size:14px}.search-icon{position:absolute;top:9px;font-size:20px;left:10px}.example-container{display:flex;flex-direction:column;flex:1}.linkTextColor{color:#0074b6!important}.pb-image{height:40px;width:64px;margin:10px 8px 10px 0}"]
|
|
22754
|
+
}] }
|
|
22755
|
+
];
|
|
22756
|
+
OrgUserTableV2Component.ctorParameters = function () { return [
|
|
22757
|
+
{ type: core.ChangeDetectorRef }
|
|
22758
|
+
]; };
|
|
22759
|
+
OrgUserTableV2Component.propDecorators = {
|
|
22760
|
+
tableData: [{ type: core.Input }],
|
|
22761
|
+
data: [{ type: core.Input }],
|
|
22762
|
+
isUpload: [{ type: core.Input }],
|
|
22763
|
+
isCreate: [{ type: core.Input }],
|
|
22764
|
+
isDownload: [{ type: core.Input }],
|
|
22765
|
+
isConsumptionReport: [{ type: core.Input }],
|
|
22766
|
+
userId: [{ type: core.Input }],
|
|
22767
|
+
clicked: [{ type: core.Output }],
|
|
22768
|
+
actionsClick: [{ type: core.Output }],
|
|
22769
|
+
eOnRowClick: [{ type: core.Output }],
|
|
22770
|
+
eOnButtonClick: [{ type: core.Output }],
|
|
22771
|
+
searchByEnterKey: [{ type: core.Output }],
|
|
22772
|
+
pageChangeClick: [{ type: core.Output }],
|
|
22773
|
+
showEditOnCondition: [{ type: core.Input }],
|
|
22774
|
+
isSearchBar: [{ type: core.Input }],
|
|
22775
|
+
paginationv1: [{ type: core.Input }],
|
|
22776
|
+
paginationv2: [{ type: core.Input }],
|
|
22777
|
+
totalRecords: [{ type: core.Input }],
|
|
22778
|
+
paginator: [{ type: core.ViewChild, args: [material.MatPaginator, { static: false },] }],
|
|
22779
|
+
matPaginator: [{ type: core.ViewChild, args: [material.MatPaginator, { static: false },] }],
|
|
22780
|
+
matSort: [{ type: core.ViewChild, args: [sort.MatSort, { static: false },] }]
|
|
22781
|
+
};
|
|
22782
|
+
return OrgUserTableV2Component;
|
|
22783
|
+
}());
|
|
22784
|
+
if (false) {
|
|
22785
|
+
OrgUserTableV2Component.prototype.tableData;
|
|
22786
|
+
OrgUserTableV2Component.prototype.data;
|
|
22787
|
+
OrgUserTableV2Component.prototype.isUpload;
|
|
22788
|
+
OrgUserTableV2Component.prototype.isCreate;
|
|
22789
|
+
OrgUserTableV2Component.prototype.isDownload;
|
|
22790
|
+
OrgUserTableV2Component.prototype.isConsumptionReport;
|
|
22791
|
+
OrgUserTableV2Component.prototype.userId;
|
|
22792
|
+
OrgUserTableV2Component.prototype.clicked;
|
|
22793
|
+
OrgUserTableV2Component.prototype.actionsClick;
|
|
22794
|
+
OrgUserTableV2Component.prototype.eOnRowClick;
|
|
22795
|
+
OrgUserTableV2Component.prototype.eOnButtonClick;
|
|
22796
|
+
OrgUserTableV2Component.prototype.searchByEnterKey;
|
|
22797
|
+
OrgUserTableV2Component.prototype.pageChangeClick;
|
|
22798
|
+
OrgUserTableV2Component.prototype.showEditOnCondition;
|
|
22799
|
+
OrgUserTableV2Component.prototype.isSearchBar;
|
|
22800
|
+
OrgUserTableV2Component.prototype.paginationv1;
|
|
22801
|
+
OrgUserTableV2Component.prototype.paginationv2;
|
|
22802
|
+
OrgUserTableV2Component.prototype.bodyHeight;
|
|
22803
|
+
OrgUserTableV2Component.prototype.displayedColumns;
|
|
22804
|
+
OrgUserTableV2Component.prototype.dataSource;
|
|
22805
|
+
OrgUserTableV2Component.prototype.widgetData;
|
|
22806
|
+
OrgUserTableV2Component.prototype.pageLength;
|
|
22807
|
+
OrgUserTableV2Component.prototype.pageSize;
|
|
22808
|
+
OrgUserTableV2Component.prototype.pageSizeOptions;
|
|
22809
|
+
OrgUserTableV2Component.prototype.totalRecords;
|
|
22810
|
+
OrgUserTableV2Component.prototype.paginator;
|
|
22811
|
+
OrgUserTableV2Component.prototype.selection;
|
|
22812
|
+
OrgUserTableV2Component.prototype.changeDetector;
|
|
22813
|
+
}
|
|
22814
|
+
|
|
22620
22815
|
var UIORGTableModule = (function () {
|
|
22621
22816
|
function UIORGTableModule() {
|
|
22622
22817
|
}
|
|
22623
22818
|
UIORGTableModule.decorators = [
|
|
22624
22819
|
{ type: core.NgModule, args: [{
|
|
22625
|
-
declarations: [OrgUserTableComponent],
|
|
22820
|
+
declarations: [OrgUserTableComponent, OrgUserTableV2Component],
|
|
22626
22821
|
imports: [
|
|
22627
22822
|
common.CommonModule,
|
|
22628
22823
|
table.MatTableModule,
|
|
@@ -22642,7 +22837,7 @@
|
|
|
22642
22837
|
material.MatCardModule,
|
|
22643
22838
|
AppButtonModule,
|
|
22644
22839
|
],
|
|
22645
|
-
exports: [OrgUserTableComponent],
|
|
22840
|
+
exports: [OrgUserTableComponent, OrgUserTableV2Component],
|
|
22646
22841
|
},] }
|
|
22647
22842
|
];
|
|
22648
22843
|
return UIORGTableModule;
|
|
@@ -25240,22 +25435,23 @@
|
|
|
25240
25435
|
exports.ɵhc = AppButtonComponent;
|
|
25241
25436
|
exports.ɵhd = LeftMenuComponent;
|
|
25242
25437
|
exports.ɵhe = OrgUserTableComponent;
|
|
25243
|
-
exports.ɵhf =
|
|
25244
|
-
exports.ɵhg =
|
|
25245
|
-
exports.ɵhh =
|
|
25246
|
-
exports.ɵhi =
|
|
25247
|
-
exports.ɵhj =
|
|
25248
|
-
exports.ɵhk =
|
|
25249
|
-
exports.ɵhl =
|
|
25250
|
-
exports.ɵhm =
|
|
25251
|
-
exports.ɵhn =
|
|
25252
|
-
exports.ɵho =
|
|
25253
|
-
exports.ɵhp =
|
|
25254
|
-
exports.ɵhq =
|
|
25255
|
-
exports.ɵhr =
|
|
25256
|
-
exports.ɵhs =
|
|
25257
|
-
exports.ɵht =
|
|
25258
|
-
exports.ɵhu =
|
|
25438
|
+
exports.ɵhf = OrgUserTableV2Component;
|
|
25439
|
+
exports.ɵhg = BreadcrumbsOrgComponent;
|
|
25440
|
+
exports.ɵhh = CompletionSpinnerComponent;
|
|
25441
|
+
exports.ɵhi = DisplayContentTypeIconComponent;
|
|
25442
|
+
exports.ɵhj = DisplayContentsComponent;
|
|
25443
|
+
exports.ɵhk = EmailInputComponent;
|
|
25444
|
+
exports.ɵhl = LocaleTranslatorComponent;
|
|
25445
|
+
exports.ɵhm = PlayerBriefComponent;
|
|
25446
|
+
exports.ɵhn = UserContentRatingComponent;
|
|
25447
|
+
exports.ɵho = StickyHeaderComponent;
|
|
25448
|
+
exports.ɵhp = ContentPickerV2Component;
|
|
25449
|
+
exports.ɵhq = ContentPickerV2Service;
|
|
25450
|
+
exports.ɵhr = SearchInputComponent;
|
|
25451
|
+
exports.ɵhs = FiltersComponent;
|
|
25452
|
+
exports.ɵht = LeftMenuWithoutLogoComponent;
|
|
25453
|
+
exports.ɵhu = GroupCheckboxComponent;
|
|
25454
|
+
exports.ɵhv = ScrollspyLeftMenuComponent;
|
|
25259
25455
|
exports.ɵi = TreeComponent;
|
|
25260
25456
|
exports.ɵj = BtnChannelAnalyticsComponent;
|
|
25261
25457
|
exports.ɵk = BtnContentDownloadComponent;
|