@sunbird-cb/collection 1.0.13 → 1.0.16
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 +3 -4
- package/bundles/sunbird-cb-collection.umd.js.map +1 -1
- package/bundles/sunbird-cb-collection.umd.min.js +1 -1
- package/bundles/sunbird-cb-collection.umd.min.js.map +1 -1
- package/esm2015/lib/btn-page-back-admin/btn-page-back.component.js +3 -3
- package/esm2015/lib/btn-profile/btn-profile.component.js +2 -2
- package/esm2015/lib/player-pdf/player-pdf.component.js +1 -2
- package/esm5/lib/btn-page-back-admin/btn-page-back.component.js +3 -3
- package/esm5/lib/btn-profile/btn-profile.component.js +2 -2
- package/esm5/lib/player-pdf/player-pdf.component.js +1 -2
- package/fesm2015/sunbird-cb-collection.js +3 -4
- package/fesm2015/sunbird-cb-collection.js.map +1 -1
- package/fesm5/sunbird-cb-collection.js +3 -4
- package/fesm5/sunbird-cb-collection.js.map +1 -1
- package/package.json +1 -1
- package/sunbird-cb-collection.metadata.json +1 -1
|
@@ -6498,7 +6498,7 @@ var BtnPageBackAdminComponent = (function (_super) {
|
|
|
6498
6498
|
BtnPageBackAdminComponent.decorators = [
|
|
6499
6499
|
{ type: Component, args: [{
|
|
6500
6500
|
selector: 'ws-widget-btn-page-back-admin',
|
|
6501
|
-
template: "<mat-card class=\"base-layout\" role=\"navigation\" id=\"back-nav\" aria-label=\"navigation\">\r\n <mat-card-content class=\"container-
|
|
6501
|
+
template: "<mat-card class=\"base-layout\" role=\"navigation\" id=\"back-nav\" aria-label=\"navigation\">\r\n <mat-card-content class=\"container-balanced1\">\r\n <div class=\"flex flex-1 flex-column\">\r\n\r\n <div class=\"flex flex-1 flex-column\">\r\n <div class=\"flex flex-1 flex-wrap margin-bottom-xs margin-top-xs\" role=\"menubar\">\r\n <!-- <a class=\"flex cursor-pointer simple-hubs-link margin-left-0\" (click)=\"toggleVisibility()\"\r\n href=\"javascript:void(0)\" role=\"menuitem\" accesskey=\"H\" i18n-aria-label i18n-aria-label>\r\n <mat-icon class=\"margin-right-xs ws-mat-default-text\">apps</mat-icon>\r\n <span class=\"margin-auto ws-mat-default-text mat-subheading-2\">HUBS</span>\r\n </a> -->\r\n\r\n <ng-container *ngIf=\"widgetData.titles && widgetData.titles.length>0\">\r\n <div class=\"flex\" *ngFor=\"let title of widgetData.titles\">\r\n <span *ngIf=\"title.title && title.url && title.url === 'none'\" i18n-aria-label i18n-aria-title\r\n i18n=\"page title: {{title.title}}\" class=\"flex margin-left-xs m-auto\">\r\n <mat-icon class=\"ws-mat-default-text icon-margin m-t-b\" *ngIf=\"title.icon\">{{title.icon}}</mat-icon>\r\n <span class=\"text-capitalize m-t-b mat-body-2 font-bold ws-mat-black60-text\">{{title.title}}</span>\r\n </span>\r\n <a class=\"flex m-auto ws-mat-default-text\" i18n-aria-label *ngIf=\"title.url && title.url !== 'none'\"\r\n [routerLink]=\"title.url\" role=\"menuitem\" i18n-aria-label [routerLink]=\"title.path\"\r\n [attr.accesskey]=\"title.accessKey\">\r\n <mat-icon class=\"ws-mat-default-text icon-margin\" *ngIf=\"title.icon\">{{title.icon}}</mat-icon>\r\n <span class=\"text-uppercase m-t-b mat-body-2 font-bold\"> {{title.title}}</span>\r\n </a>\r\n <mat-icon class=\"ws-mat-default-text icon-margin\">keyboard_arrow_right</mat-icon>\r\n </div>\r\n </ng-container>\r\n </div>\r\n <div class=\"flex flex-1\" *ngIf=\"visible\" [@enterAnimation]=\"visible\">\r\n <div class=\"flex flex-1\">\r\n <h3 class=\"mat-error text-center\" *ngIf=\"hubsList.length === 0\" i18n>\r\n No hubs Info Available\r\n </h3>\r\n <div class=\"grid grid-cols-1 margin-xs sm:grid-cols-2 md:grid-cols-3 md:grid-cols-4 col-gap-2\"\r\n role=\"menubar\">\r\n <ng-container *ngFor=\"let hubsObj of hubsList\" [ngTemplateOutlet]=\"userIndividualNew\"\r\n [ngTemplateOutletContext]=\"{ hubs: hubsObj }\">\r\n </ng-container>\r\n </div>\r\n </div>\r\n <div class=\"text-center\">\r\n\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </mat-card-content>\r\n</mat-card>\r\n\r\n\r\n<ng-template #userIndividualNew let-hubs=\"hubs\">\r\n <a class=\"flex flex-wrap mb-4\" [routerLink]=\"(hubs.path)\" role=\"menuitem\" i18n-aria-label\r\n [attr.aria-label]=\"'Hubs | navigate to-' + hubs.path\">\r\n <div class=\"icon ws-mat-primary-tags\">\r\n <mat-icon class=\"mat-icon1\">{{hubs.icon}}</mat-icon>\r\n </div>\r\n <div [ngClass]=\"{'cursor-pointer': enablePeopleSearch}\" class=\"width-expand padding-left-xs\">\r\n <div class=\"margin-0 mat-subheading-2\">\r\n {{hubs.hubname}}\r\n </div>\r\n <div class=\"mat-caption cohorts-desc ws-mat-black60-text\">{{hubs.desc}}</div>\r\n </div>\r\n </a>\r\n</ng-template>",
|
|
6502
6502
|
animations: [
|
|
6503
6503
|
trigger('enterAnimation', [
|
|
6504
6504
|
transition(':enter', [
|
|
@@ -6511,7 +6511,7 @@ var BtnPageBackAdminComponent = (function (_super) {
|
|
|
6511
6511
|
]),
|
|
6512
6512
|
]),
|
|
6513
6513
|
],
|
|
6514
|
-
styles: [".container-
|
|
6514
|
+
styles: [".container-balanced1{max-width:1202px;max-width:1230px;max-width:1202px;margin-left:auto!important;margin-right:auto!important;height:auto}.show{display:flex!important;visibility:visible;opacity:1;transition:visibility linear .33s,opacity .33s linear}.hide{display:none!important;visibility:hidden;opacity:0;transition:visibility linear .33s,opacity .33s linear}.base-layout{box-shadow:none!important;border:none!important;padding:0;margin-left:-600px}.fix-ww{margin-left:auto;margin-right:auto;max-width:1202px;display:flex;flex:1}.next-b{width:12px;height:16px;transform:matrix(0,1,-1,0,0,0);background:no-repeat padding-box #00a9f4}.m-t-b{margin-top:auto;margin-bottom:auto}.home-icon{margin:auto 20px}.main-back{font-size:32px}.icon-margin{margin:0 .5rem 0 .1rem}.mat-y-icon{color:#9acd32}.mat-y-icon svg path{fill:red}.top-fixed-menu{position:fixed;width:100%;z-index:99}.simple-hubs-link{margin:auto 12px}.center{text-align:center;padding-top:12px}mat-form-field{width:100%}mat-grid-list{margin-top:40px;margin-bottom:20px}.margin-0{margin:0!important}.icon{width:60px;height:60px;border-radius:3px;text-align:center}.base-header{margin-left:5px}.mat-grid-tile{display:inline;position:absolute}.mat-icon1{padding:16px;color:#347bb6!important}"]
|
|
6515
6515
|
}] }
|
|
6516
6516
|
];
|
|
6517
6517
|
BtnPageBackAdminComponent.ctorParameters = function () { return [
|
|
@@ -17526,7 +17526,6 @@ var PlayerPdfComponent = (function (_super) {
|
|
|
17526
17526
|
},
|
|
17527
17527
|
to: '',
|
|
17528
17528
|
data: {
|
|
17529
|
-
object: {},
|
|
17530
17529
|
eventSubType: eventType,
|
|
17531
17530
|
activityType: activity,
|
|
17532
17531
|
currentPage: this.currentPage.value,
|
|
@@ -18372,7 +18371,7 @@ var BtnProfileComponent = (function (_super) {
|
|
|
18372
18371
|
BtnProfileComponent.decorators = [
|
|
18373
18372
|
{ type: Component, args: [{
|
|
18374
18373
|
selector: 'ws-widget-btn-profile',
|
|
18375
|
-
template: "<!--\r\n Old\r\n <button mat-button (click)=\"getCatalog()\" i18n-matTooltip matTooltip=\"Explore Catalogue\" #rootTrigger=\"matMenuTrigger\"\r\n [matMenuTriggerFor]=\"rootMenu.childMenu\">\r\n <mat-icon>apps</mat-icon>\r\n <span class=\"padding-left-xs\" i18n>Browse Courses</span>\r\n</button>\r\n\r\n<ws-widget-tree-catalog-menu #rootMenu [rootTrigger]=\"rootTrigger\" [catalogItems]=\"catalogItems | slice: 0:10\"\r\n [fetchStatus]=\"catalogFetchStatus\" isRoot=\"true\">\r\n</ws-widget-tree-catalog-menu> -->\r\n\r\n<a href=\"javascript:void(0)\" mat-icon-button i18n-aria-label title=\"option\" class=\"new-margin\"\r\n #rootTrigger=\"matMenuTrigger\" [matMenuTriggerFor]=\"settingsMenu\" role=\"link\">\r\n <span class=\"flex flex-column flex-middle\">\r\n <ws-widget-avatar-photo [photoUrl]=\"profileImage\" [name]=\"givenName\" size=\"s\">\r\n </ws-widget-avatar-photo>\r\n </span>\r\n</a>\r\n\r\n<!-- <ws-widget-tree-catalog-menu #rootMenu [rootTrigger]=\"rootTrigger\" [catalogItems]=\"catalogItems | slice: 0:10\"\r\n [fetchStatus]=\"catalogFetchStatus\" isRoot=\"true\">\r\n</ws-widget-tree-catalog-menu> -->\r\n<mat-menu #settingsMenu=\"matMenu\" xPosition=\"before\">\r\n <!-- <div mat-menu-item>\r\n <mat-slide-toggle color=\"primary\" labelPosition=\"before\">\r\n <mat-icon>brightness_medium</mat-icon>\r\n <span i18n>Dark Mode</span>\r\n </mat-slide-toggle>\r\n </div> -->\r\n <!-- <section *ngIf=\"pinnedApps?.length && isPinFeatureAvailable\" class=\"p-4 md:p-4 sm:p-2\">\r\n <div class=\"flex justify-between\">\r\n <h2 class=\"mat-title margin-bottom-xs\" i18n>Pinned</h2>\r\n <a mat-button [routerLink]=\"widgetData?.allListingUrl\" *ngIf=\"widgetData?.allListingUrl\">\r\n <span class=\"flex items-center\">\r\n <span i18n>All</span> \r\n <mat-icon>chevron_right</mat-icon>\r\n </span>\r\n </a>\r\n </div>\r\n <div class=\"flex flex-wrap -mx-2 -mt-1\">\r\n <ng-container *ngFor=\"let pinnedWidget of pinnedApps\" [wsResolverWidget]=\"pinnedWidget\"></ng-container>\r\n </div>\r\n </section> -->\r\n\r\n <section class=\"padding-s border-bottom min-heig\">\r\n <a role=\"link\" routerLink=\"/app/person-profile/me\" class=\"all-features\"
|
|
18374
|
+
template: "<!--\r\n Old\r\n <button mat-button (click)=\"getCatalog()\" i18n-matTooltip matTooltip=\"Explore Catalogue\" #rootTrigger=\"matMenuTrigger\"\r\n [matMenuTriggerFor]=\"rootMenu.childMenu\">\r\n <mat-icon>apps</mat-icon>\r\n <span class=\"padding-left-xs\" i18n>Browse Courses</span>\r\n</button>\r\n\r\n<ws-widget-tree-catalog-menu #rootMenu [rootTrigger]=\"rootTrigger\" [catalogItems]=\"catalogItems | slice: 0:10\"\r\n [fetchStatus]=\"catalogFetchStatus\" isRoot=\"true\">\r\n</ws-widget-tree-catalog-menu> -->\r\n\r\n<a href=\"javascript:void(0)\" mat-icon-button i18n-aria-label title=\"option\" class=\"new-margin\"\r\n #rootTrigger=\"matMenuTrigger\" [matMenuTriggerFor]=\"settingsMenu\" role=\"link\">\r\n <span class=\"flex flex-column flex-middle\">\r\n <ws-widget-avatar-photo [photoUrl]=\"profileImage\" [name]=\"givenName\" size=\"s\">\r\n </ws-widget-avatar-photo>\r\n </span>\r\n</a>\r\n\r\n<!-- <ws-widget-tree-catalog-menu #rootMenu [rootTrigger]=\"rootTrigger\" [catalogItems]=\"catalogItems | slice: 0:10\"\r\n [fetchStatus]=\"catalogFetchStatus\" isRoot=\"true\">\r\n</ws-widget-tree-catalog-menu> -->\r\n<mat-menu #settingsMenu=\"matMenu\" xPosition=\"before\">\r\n <!-- <div mat-menu-item>\r\n <mat-slide-toggle color=\"primary\" labelPosition=\"before\">\r\n <mat-icon>brightness_medium</mat-icon>\r\n <span i18n>Dark Mode</span>\r\n </mat-slide-toggle>\r\n </div> -->\r\n <!-- <section *ngIf=\"pinnedApps?.length && isPinFeatureAvailable\" class=\"p-4 md:p-4 sm:p-2\">\r\n <div class=\"flex justify-between\">\r\n <h2 class=\"mat-title margin-bottom-xs\" i18n>Pinned</h2>\r\n <a mat-button [routerLink]=\"widgetData?.allListingUrl\" *ngIf=\"widgetData?.allListingUrl\">\r\n <span class=\"flex items-center\">\r\n <span i18n>All</span> \r\n <mat-icon>chevron_right</mat-icon>\r\n </span>\r\n </a>\r\n </div>\r\n <div class=\"flex flex-wrap -mx-2 -mt-1\">\r\n <ng-container *ngFor=\"let pinnedWidget of pinnedApps\" [wsResolverWidget]=\"pinnedWidget\"></ng-container>\r\n </div>\r\n </section> -->\r\n\r\n <section class=\"padding-s border-bottom min-heig\">\r\n <a role=\"link\" [routerLink]=\"disableViewProfile ? null: '/app/person-profile/me'\" class=\"all-features\"\r\n id=\"viewprofile\">\r\n <div class=\"float-left\">\r\n <ws-widget-avatar-photo [name]=\"givenName\" [size]=\"'m'\" [photoUrl]=\"profileImage\"></ws-widget-avatar-photo>\r\n </div>\r\n <div class=\"inline-block margin-left-s pfname margin-eight\">\r\n <p class=\"mat-subheading-2\">{{ givenName }}</p>\r\n <p i18n role=\"link\" class=\"ws-mat-default-text mat-body-2 font-medium\"></p>\r\n </div>\r\n </a>\r\n </section>\r\n\r\n <!-- portal links section-->\r\n <section *ngIf=\"givenName !== 'Guest' && portalLinks && portalLinks.length\"\r\n class=\"padding-top-xs padding-bottom-xs padding-left-s padding-right-s border-bottom\">\r\n <div class=\"margin-top-s margin-bottom-s\" *ngFor=\"let wdata of portalLinks\">\r\n <div class=\"box-sizing-box\" [attr.id]=\"wdata.widgetData.actionBtn.id\">\r\n <a role=\"button\" class=\"inline-block\" target=\"_blank\" href=\"{{wdata.widgetData.actionBtn.url}}\">\r\n <img src=\"{{wdata.widgetData.actionBtn.icon}}\" [attr.alt]=\"wdata.widgetData.actionBtn.name\">\r\n <div class=\"mb-2 mat-body-2 inline-block margin-left-s portal-name\"\r\n [attr.id]=\"wdata.widgetData.actionBtn.icon\">\r\n {{ wdata.widgetData.actionBtn.name }}\r\n </div>\r\n </a>\r\n </div>\r\n </div>\r\n </section>\r\n\r\n <section class=\"padding-xs\">\r\n <!-- <a mat-menu-item role=\"link\" routerLink=\"/app/profile/settings\" class=\"all-features\">\r\n <span i18n>Settings</span>\r\n </a> -->\r\n\r\n <!-- <a mat-menu-item role=\"link\" routerLink=\"/app/features\" class=\"all-features flex-wrap\">\r\n <mat-icon>apps</mat-icon>\r\n <span i18n>Explore all features</span>\r\n </a> -->\r\n\r\n <a *ngIf=\"givenName !== 'Guest'\" href=\"javascript:void(0)\" mat-menu-item role=\"link\" (click)=\"logout()\"\r\n class=\"log-o\">\r\n <!-- <mat-icon>power_settings_new</mat-icon> -->\r\n <span i18n>Sign-out</span>\r\n </a>\r\n <a *ngIf=\"givenName === 'Guest'\" href=\"javascript:void(0)\" mat-menu-item role=\"link\" (click)=\"logout()\"\r\n class=\"log-o\">\r\n <!-- <mat-icon>power_settings_new</mat-icon> -->\r\n <span i18n>Sign-in</span>\r\n </a>\r\n </section>\r\n</mat-menu>",
|
|
18376
18375
|
styles: [".log-o{flex:1;text-align:left}.new-margin{box-sizing:border-box}.min-heig{min-height:35px}.trnsform{transform:scale(1.3);height:-webkit-fill-available;max-height:-webkit-fill-available}.margin-eight{margin-top:8px}.text-new{line-height:normal}.border-bottom{border-bottom:1px solid rgba(0,0,0,.08)}section .pfname p{margin-bottom:0!important}section .portal-name{vertical-align:super;color:#000!important}::ng-deep.mat-menu-content{padding-bottom:0!important}::ng-deep.mat-menu-content .mat-menu-item{height:38px;padding:0 6px;font:400 14px/21px Lato!important}::ng-deep.circle-m{width:40px!important;height:40px!important}::ng-deep.circle-m img{width:40px!important;height:40px!important}.csicon{font-size:22px!important}"]
|
|
18377
18376
|
}] }
|
|
18378
18377
|
];
|